hubspot-api-client 15.0.2 → 16.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/CHANGELOG.md +11 -0
 - data/Gemfile.lock +2 -2
 - data/lib/hubspot/codegen/automation/actions/api/callbacks_api.rb +17 -9
 - data/lib/hubspot/codegen/automation/actions/api/definitions_api.rb +31 -20
 - data/lib/hubspot/codegen/automation/actions/api/functions_api.rb +37 -24
 - data/lib/hubspot/codegen/automation/actions/api/revisions_api.rb +9 -7
 - data/lib/hubspot/codegen/automation/actions/api_client.rb +56 -52
 - data/lib/hubspot/codegen/automation/actions/api_error.rb +1 -1
 - data/lib/hubspot/codegen/automation/actions/configuration.rb +44 -13
 - data/lib/hubspot/codegen/automation/actions/models/action_function.rb +20 -7
 - data/lib/hubspot/codegen/automation/actions/models/action_function_identifier.rb +20 -7
 - data/lib/hubspot/codegen/automation/actions/models/action_labels.rb +20 -7
 - data/lib/hubspot/codegen/automation/actions/models/action_revision.rb +21 -8
 - data/lib/hubspot/codegen/automation/actions/models/batch_input_callback_completion_batch_request.rb +20 -7
 - data/lib/hubspot/codegen/automation/actions/models/callback_completion_batch_request.rb +20 -7
 - data/lib/hubspot/codegen/automation/actions/models/callback_completion_request.rb +20 -7
 - data/lib/hubspot/codegen/automation/actions/models/collection_response_action_function_identifier_no_paging.rb +20 -7
 - data/lib/hubspot/codegen/automation/actions/models/collection_response_action_revision_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/automation/actions/models/collection_response_extension_action_definition_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/automation/actions/models/conditional_single_field_dependency.rb +20 -7
 - data/lib/hubspot/codegen/automation/actions/models/error.rb +20 -7
 - data/lib/hubspot/codegen/automation/actions/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/automation/actions/models/extension_action_definition.rb +21 -8
 - data/lib/hubspot/codegen/automation/actions/models/extension_action_definition_input.rb +21 -8
 - data/lib/hubspot/codegen/automation/actions/models/extension_action_definition_patch.rb +21 -8
 - data/lib/hubspot/codegen/automation/actions/models/extension_action_definition_patch_input_field_dependencies_inner.rb +108 -0
 - data/lib/hubspot/codegen/automation/actions/models/field_type_definition.rb +20 -7
 - data/lib/hubspot/codegen/automation/actions/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/automation/actions/models/input_field_definition.rb +20 -7
 - data/lib/hubspot/codegen/automation/actions/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/automation/actions/models/object_request_options.rb +20 -7
 - data/lib/hubspot/codegen/automation/actions/models/option.rb +20 -7
 - data/lib/hubspot/codegen/automation/actions/models/single_field_dependency.rb +20 -7
 - data/lib/hubspot/codegen/cms/audit-logs/api/audit_logs_api.rb +5 -4
 - data/lib/hubspot/codegen/cms/audit-logs/api_client.rb +56 -52
 - data/lib/hubspot/codegen/cms/audit-logs/api_error.rb +1 -1
 - data/lib/hubspot/codegen/cms/audit-logs/configuration.rb +43 -12
 - data/lib/hubspot/codegen/cms/audit-logs/models/collection_response_public_audit_log.rb +20 -7
 - data/lib/hubspot/codegen/cms/audit-logs/models/error.rb +20 -7
 - data/lib/hubspot/codegen/cms/audit-logs/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/cms/audit-logs/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/cms/audit-logs/models/paging.rb +20 -7
 - data/lib/hubspot/codegen/cms/audit-logs/models/public_audit_log.rb +21 -8
 - data/lib/hubspot/codegen/cms/blogs/authors/api/blog_authors_api.rb +113 -66
 - data/lib/hubspot/codegen/cms/blogs/authors/api_client.rb +56 -52
 - data/lib/hubspot/codegen/cms/blogs/authors/api_error.rb +1 -1
 - data/lib/hubspot/codegen/cms/blogs/authors/configuration.rb +43 -12
 - data/lib/hubspot/codegen/cms/blogs/authors/models/attach_to_lang_primary_request_v_next.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/authors/models/batch_input_blog_author.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/authors/models/batch_input_json_node.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/authors/models/batch_input_string.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/authors/models/batch_response_blog_author.rb +23 -10
 - data/lib/hubspot/codegen/cms/blogs/authors/models/batch_response_blog_author_with_errors.rb +23 -10
 - data/lib/hubspot/codegen/cms/blogs/authors/models/blog_author.rb +23 -10
 - data/lib/hubspot/codegen/cms/blogs/authors/models/blog_author_clone_request_v_next.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/authors/models/collection_response_with_total_blog_author_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/authors/models/detach_from_lang_group_request_v_next.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/authors/models/error.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/authors/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/authors/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/authors/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/authors/models/set_new_language_primary_request_v_next.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/authors/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/authors/models/update_languages_request_v_next.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/api/blog_posts_api.rb +165 -99
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/api_client.rb +56 -52
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/api_error.rb +1 -1
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/configuration.rb +43 -12
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/angle.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/attach_to_lang_primary_request_v_next.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/background_image.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/batch_input_blog_post.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/batch_input_json_node.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/batch_input_string.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/batch_response_blog_post.rb +23 -10
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/batch_response_blog_post_with_errors.rb +23 -10
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/blog_post.rb +24 -11
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/blog_post_language_clone_request_v_next.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/collection_response_with_total_blog_post_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/collection_response_with_total_version_blog_post.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/color_stop.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/content_clone_request_v_next.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/content_language_variation.rb +23 -10
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/content_schedule_request_v_next.rb +21 -8
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/detach_from_lang_group_request_v_next.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/error.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/gradient.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/layout_section.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/paging.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/previous_page.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/rgba_color.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/row_meta_data.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/set_new_language_primary_request_v_next.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/side_or_corner.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/styles.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/update_languages_request_v_next.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/version_blog_post.rb +21 -8
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/version_user.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/tags/api/blog_tags_api.rb +113 -66
 - data/lib/hubspot/codegen/cms/blogs/tags/api_client.rb +56 -52
 - data/lib/hubspot/codegen/cms/blogs/tags/api_error.rb +1 -1
 - data/lib/hubspot/codegen/cms/blogs/tags/configuration.rb +43 -12
 - data/lib/hubspot/codegen/cms/blogs/tags/models/attach_to_lang_primary_request_v_next.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/tags/models/batch_input_json_node.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/tags/models/batch_input_string.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/tags/models/batch_input_tag.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/tags/models/batch_response_tag.rb +23 -10
 - data/lib/hubspot/codegen/cms/blogs/tags/models/batch_response_tag_with_errors.rb +23 -10
 - data/lib/hubspot/codegen/cms/blogs/tags/models/collection_response_with_total_tag_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/tags/models/detach_from_lang_group_request_v_next.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/tags/models/error.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/tags/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/tags/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/tags/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/tags/models/set_new_language_primary_request_v_next.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/tags/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/tags/models/tag.rb +23 -10
 - data/lib/hubspot/codegen/cms/blogs/tags/models/tag_clone_request_v_next.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/tags/models/update_languages_request_v_next.rb +20 -7
 - data/lib/hubspot/codegen/cms/domains/api/domains_api.rb +23 -30
 - data/lib/hubspot/codegen/cms/domains/api_client.rb +56 -52
 - data/lib/hubspot/codegen/cms/domains/api_error.rb +1 -1
 - data/lib/hubspot/codegen/cms/domains/configuration.rb +43 -12
 - data/lib/hubspot/codegen/cms/domains/models/{collection_response_with_total_domain.rb → collection_response_with_total_domain_forward_paging.rb} +24 -11
 - data/lib/hubspot/codegen/cms/domains/models/domain.rb +42 -691
 - data/lib/hubspot/codegen/cms/domains/models/error.rb +20 -7
 - data/lib/hubspot/codegen/cms/domains/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/cms/domains/models/{paging.rb → forward_paging.rb} +23 -10
 - data/lib/hubspot/codegen/cms/domains/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/cms/hubdb/api/rows_api.rb +49 -31
 - data/lib/hubspot/codegen/cms/hubdb/api/rows_batch_api.rb +57 -29
 - data/lib/hubspot/codegen/cms/hubdb/api/tables_api.rb +97 -71
 - data/lib/hubspot/codegen/cms/hubdb/api_client.rb +56 -52
 - data/lib/hubspot/codegen/cms/hubdb/api_error.rb +1 -1
 - data/lib/hubspot/codegen/cms/hubdb/configuration.rb +43 -12
 - data/lib/hubspot/codegen/cms/hubdb/models/batch_input_hub_db_table_row_v3_request.rb +20 -7
 - data/lib/hubspot/codegen/cms/hubdb/models/batch_input_json_node.rb +20 -7
 - data/lib/hubspot/codegen/cms/hubdb/models/batch_input_string.rb +20 -7
 - data/lib/hubspot/codegen/cms/hubdb/models/batch_response_hub_db_table_row_v3.rb +23 -10
 - data/lib/hubspot/codegen/cms/hubdb/models/batch_response_hub_db_table_row_v3_with_errors.rb +23 -10
 - data/lib/hubspot/codegen/cms/hubdb/models/collection_response_with_total_hub_db_table_row_v3_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/cms/hubdb/models/collection_response_with_total_hub_db_table_v3_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/cms/hubdb/models/column.rb +20 -7
 - data/lib/hubspot/codegen/cms/hubdb/models/column_request.rb +20 -7
 - data/lib/hubspot/codegen/cms/hubdb/models/error.rb +20 -7
 - data/lib/hubspot/codegen/cms/hubdb/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/cms/hubdb/models/foreign_id.rb +20 -7
 - data/lib/hubspot/codegen/cms/hubdb/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_clone_request.rb +20 -7
 - data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3.rb +22 -9
 - data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3_request.rb +20 -7
 - data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_v3.rb +23 -10
 - data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_v3_request.rb +20 -7
 - data/lib/hubspot/codegen/cms/hubdb/models/import_result.rb +20 -7
 - data/lib/hubspot/codegen/cms/hubdb/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/cms/hubdb/models/option.rb +20 -7
 - data/lib/hubspot/codegen/cms/hubdb/models/simple_user.rb +20 -7
 - data/lib/hubspot/codegen/cms/hubdb/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/cms/performance/api/public_performance_api.rb +9 -7
 - data/lib/hubspot/codegen/cms/performance/api_client.rb +56 -52
 - data/lib/hubspot/codegen/cms/performance/api_error.rb +1 -1
 - data/lib/hubspot/codegen/cms/performance/configuration.rb +50 -12
 - data/lib/hubspot/codegen/cms/performance/models/error.rb +20 -7
 - data/lib/hubspot/codegen/cms/performance/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/cms/performance/models/performance_view.rb +20 -7
 - data/lib/hubspot/codegen/cms/performance/models/public_performance_response.rb +20 -7
 - data/lib/hubspot/codegen/cms/site-search/api/public_api.rb +9 -7
 - data/lib/hubspot/codegen/cms/site-search/api_client.rb +56 -52
 - data/lib/hubspot/codegen/cms/site-search/api_error.rb +1 -1
 - data/lib/hubspot/codegen/cms/site-search/configuration.rb +43 -12
 - data/lib/hubspot/codegen/cms/site-search/models/content_search_result.rb +20 -7
 - data/lib/hubspot/codegen/cms/site-search/models/error.rb +20 -7
 - data/lib/hubspot/codegen/cms/site-search/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/cms/site-search/models/indexed_data.rb +20 -7
 - data/lib/hubspot/codegen/cms/site-search/models/indexed_field.rb +20 -7
 - data/lib/hubspot/codegen/cms/site-search/models/public_search_results.rb +20 -7
 - data/lib/hubspot/codegen/cms/source-code/api/content_api.rb +25 -15
 - data/lib/hubspot/codegen/cms/source-code/api/extract_api.rb +5 -4
 - data/lib/hubspot/codegen/cms/source-code/api/metadata_api.rb +5 -4
 - data/lib/hubspot/codegen/cms/source-code/api/source_code_extract_api.rb +9 -7
 - data/lib/hubspot/codegen/cms/source-code/api/validation_api.rb +9 -5
 - data/lib/hubspot/codegen/cms/source-code/api_client.rb +56 -52
 - data/lib/hubspot/codegen/cms/source-code/api_error.rb +1 -1
 - data/lib/hubspot/codegen/cms/source-code/configuration.rb +43 -12
 - data/lib/hubspot/codegen/cms/source-code/models/action_response.rb +23 -10
 - data/lib/hubspot/codegen/cms/source-code/models/asset_file_metadata.rb +20 -7
 - data/lib/hubspot/codegen/cms/source-code/models/error.rb +20 -7
 - data/lib/hubspot/codegen/cms/source-code/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/cms/source-code/models/file_extract_request.rb +20 -7
 - data/lib/hubspot/codegen/cms/source-code/models/task_locator.rb +20 -7
 - data/lib/hubspot/codegen/cms/url-redirects/api/redirects_api.rb +41 -30
 - data/lib/hubspot/codegen/cms/url-redirects/api_client.rb +56 -52
 - data/lib/hubspot/codegen/cms/url-redirects/api_error.rb +1 -1
 - data/lib/hubspot/codegen/cms/url-redirects/configuration.rb +43 -12
 - data/lib/hubspot/codegen/cms/url-redirects/models/collection_response_with_total_url_mapping_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/cms/url-redirects/models/error.rb +20 -7
 - data/lib/hubspot/codegen/cms/url-redirects/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/cms/url-redirects/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/cms/url-redirects/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/cms/url-redirects/models/url_mapping.rb +22 -9
 - data/lib/hubspot/codegen/cms/url-redirects/models/url_mapping_create_request_body.rb +20 -7
 - data/lib/hubspot/codegen/communication_preferences/api/definition_api.rb +5 -4
 - data/lib/hubspot/codegen/communication_preferences/api/status_api.rb +21 -12
 - data/lib/hubspot/codegen/communication_preferences/api_client.rb +56 -52
 - data/lib/hubspot/codegen/communication_preferences/api_error.rb +1 -1
 - data/lib/hubspot/codegen/communication_preferences/configuration.rb +43 -12
 - data/lib/hubspot/codegen/communication_preferences/models/error.rb +20 -7
 - data/lib/hubspot/codegen/communication_preferences/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/communication_preferences/models/public_subscription_status.rb +20 -7
 - data/lib/hubspot/codegen/communication_preferences/models/public_subscription_statuses_response.rb +20 -7
 - data/lib/hubspot/codegen/communication_preferences/models/public_update_subscription_status_request.rb +20 -7
 - data/lib/hubspot/codegen/communication_preferences/models/subscription_definition.rb +22 -9
 - data/lib/hubspot/codegen/communication_preferences/models/subscription_definitions_response.rb +20 -7
 - data/lib/hubspot/codegen/conversations/visitor-identification/api/generate_api.rb +9 -5
 - data/lib/hubspot/codegen/conversations/visitor-identification/api_client.rb +56 -52
 - data/lib/hubspot/codegen/conversations/visitor-identification/api_error.rb +1 -1
 - data/lib/hubspot/codegen/conversations/visitor-identification/configuration.rb +43 -12
 - data/lib/hubspot/codegen/conversations/visitor-identification/models/error.rb +20 -7
 - data/lib/hubspot/codegen/conversations/visitor-identification/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/conversations/visitor-identification/models/identification_token_generation_request.rb +20 -7
 - data/lib/hubspot/codegen/conversations/visitor-identification/models/identification_token_response.rb +20 -7
 - data/lib/hubspot/codegen/crm/associations/api/batch_api.rb +25 -13
 - data/lib/hubspot/codegen/crm/associations/api/types_api.rb +5 -4
 - data/lib/hubspot/codegen/crm/associations/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/associations/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/associations/configuration.rb +43 -12
 - data/lib/hubspot/codegen/crm/associations/models/associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/associations/models/batch_input_public_association.rb +20 -7
 - data/lib/hubspot/codegen/crm/associations/models/batch_input_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/associations/models/batch_response_public_association.rb +23 -10
 - data/lib/hubspot/codegen/crm/associations/models/batch_response_public_association_multi.rb +23 -10
 - data/lib/hubspot/codegen/crm/associations/models/collection_response_public_association_definiton.rb +20 -7
 - data/lib/hubspot/codegen/crm/associations/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/associations/models/error_category.rb +20 -7
 - data/lib/hubspot/codegen/crm/associations/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/associations/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/associations/models/paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/associations/models/public_association.rb +20 -7
 - data/lib/hubspot/codegen/crm/associations/models/public_association_definiton.rb +20 -7
 - data/lib/hubspot/codegen/crm/associations/models/public_association_multi.rb +20 -7
 - data/lib/hubspot/codegen/crm/associations/models/public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/associations/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/api/associations_api.rb +17 -14
 - data/lib/hubspot/codegen/crm/companies/api/basic_api.rb +32 -21
 - data/lib/hubspot/codegen/crm/companies/api/batch_api.rb +34 -18
 - data/lib/hubspot/codegen/crm/companies/api/public_object_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/companies/api/search_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/companies/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/companies/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/companies/configuration.rb +43 -12
 - data/lib/hubspot/codegen/crm/companies/models/associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/batch_input_simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/batch_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/batch_input_simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/batch_read_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/batch_response_simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/companies/models/batch_response_simple_public_object_with_errors.rb +23 -10
 - data/lib/hubspot/codegen/crm/companies/models/collection_response_associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/collection_response_associated_id_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/collection_response_simple_public_object_with_associations_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/collection_response_with_total_simple_public_object_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/error_category.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/filter.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/filter_group.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/previous_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/public_merge_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/public_object_search_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/companies/models/simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/simple_public_object_with_associations.rb +23 -10
 - data/lib/hubspot/codegen/crm/companies/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/value_with_timestamp.rb +21 -8
 - data/lib/hubspot/codegen/crm/contacts/api/associations_api.rb +17 -14
 - data/lib/hubspot/codegen/crm/contacts/api/basic_api.rb +32 -21
 - data/lib/hubspot/codegen/crm/contacts/api/batch_api.rb +34 -18
 - data/lib/hubspot/codegen/crm/contacts/api/gdpr_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/contacts/api/public_object_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/contacts/api/search_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/contacts/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/contacts/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/contacts/configuration.rb +43 -12
 - data/lib/hubspot/codegen/crm/contacts/models/associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/batch_input_simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/batch_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/batch_input_simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/batch_read_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/batch_response_simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/contacts/models/batch_response_simple_public_object_with_errors.rb +23 -10
 - data/lib/hubspot/codegen/crm/contacts/models/collection_response_associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/collection_response_associated_id_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/collection_response_simple_public_object_with_associations_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/collection_response_with_total_simple_public_object_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/error_category.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/filter.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/filter_group.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/previous_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/public_gdpr_delete_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/public_merge_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/public_object_search_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_with_associations.rb +23 -10
 - data/lib/hubspot/codegen/crm/contacts/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/value_with_timestamp.rb +21 -8
 - data/lib/hubspot/codegen/crm/deals/api/associations_api.rb +17 -14
 - data/lib/hubspot/codegen/crm/deals/api/basic_api.rb +32 -21
 - data/lib/hubspot/codegen/crm/deals/api/batch_api.rb +34 -18
 - data/lib/hubspot/codegen/crm/deals/api/public_object_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/deals/api/search_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/deals/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/deals/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/deals/configuration.rb +43 -12
 - data/lib/hubspot/codegen/crm/deals/models/associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/batch_input_simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/batch_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/batch_input_simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/batch_read_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/batch_response_simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/deals/models/batch_response_simple_public_object_with_errors.rb +23 -10
 - data/lib/hubspot/codegen/crm/deals/models/collection_response_associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/collection_response_associated_id_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/collection_response_simple_public_object_with_associations_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/collection_response_with_total_simple_public_object_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/error_category.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/filter.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/filter_group.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/previous_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/public_merge_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/public_object_search_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/deals/models/simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/simple_public_object_with_associations.rb +23 -10
 - data/lib/hubspot/codegen/crm/deals/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/value_with_timestamp.rb +21 -8
 - data/lib/hubspot/codegen/crm/extensions/accounting/api/callbacks_api.rb +81 -41
 - data/lib/hubspot/codegen/crm/extensions/accounting/api/invoice_api.rb +21 -12
 - data/lib/hubspot/codegen/crm/extensions/accounting/api/settings_api.rb +13 -8
 - data/lib/hubspot/codegen/crm/extensions/accounting/api/sync_api.rb +17 -9
 - data/lib/hubspot/codegen/crm/extensions/accounting/api/user_accounts_api.rb +13 -8
 - data/lib/hubspot/codegen/crm/extensions/accounting/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/extensions/accounting/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/extensions/accounting/configuration.rb +43 -12
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/accounting_app_settings.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/accounting_app_urls.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/accounting_extension_customer.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/accounting_extension_invoice.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/accounting_extension_term.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/accounting_features.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/action_response.rb +23 -10
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/address.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/create_invoice_feature.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/create_invoice_sub_features.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/create_user_account_request_external.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/customer_search_response_external.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/exchange_rate_response.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/import_invoice_feature.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/invoice_create_payment_request.rb +21 -8
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/invoice_pdf_response.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/invoice_read_response.rb +23 -10
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/invoice_search_response.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/invoice_update_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/invoice_update_response.rb +23 -10
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/invoices_response_external.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/object_sync_feature.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/product.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/product_search_response.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/result_id_accounting_response.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/sync_contacts_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/sync_products_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/tax.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/tax_search_response.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/tax_type.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/terms_response.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/unit_price.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/updated_contact.rb +21 -8
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/updated_product.rb +21 -8
 - data/lib/hubspot/codegen/crm/extensions/calling/api/settings_api.rb +25 -15
 - data/lib/hubspot/codegen/crm/extensions/calling/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/extensions/calling/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/extensions/calling/configuration.rb +44 -13
 - data/lib/hubspot/codegen/crm/extensions/calling/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/calling/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/calling/models/settings_patch_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/calling/models/settings_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/calling/models/settings_response.rb +22 -9
 - data/lib/hubspot/codegen/crm/extensions/cards/api/cards_api.rb +29 -18
 - data/lib/hubspot/codegen/crm/extensions/cards/api/sample_response_api.rb +5 -4
 - data/lib/hubspot/codegen/crm/extensions/cards/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/extensions/cards/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/extensions/cards/configuration.rb +44 -13
 - data/lib/hubspot/codegen/crm/extensions/cards/models/action_confirmation_body.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/cards/models/action_hook_action_body.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/cards/models/card_actions.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/cards/models/card_create_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/cards/models/card_display_body.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/cards/models/card_display_property.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/cards/models/card_fetch_body.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/cards/models/card_fetch_body_patch.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/cards/models/card_list_response.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/cards/models/card_object_type_body.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/cards/models/card_patch_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/cards/models/card_response.rb +22 -9
 - data/lib/hubspot/codegen/crm/extensions/cards/models/display_option.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/cards/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/cards/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/cards/models/i_frame_action_body.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/cards/models/integrator_card_payload_response.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/cards/models/integrator_object_result.rb +21 -8
 - data/lib/hubspot/codegen/crm/extensions/cards/models/integrator_object_result_actions_inner.rb +110 -0
 - data/lib/hubspot/codegen/crm/extensions/cards/models/object_token.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/cards/models/top_level_actions.rb +22 -9
 - data/lib/hubspot/codegen/crm/extensions/videoconferencing/api/settings_api.rb +17 -11
 - data/lib/hubspot/codegen/crm/extensions/videoconferencing/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/extensions/videoconferencing/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/extensions/videoconferencing/configuration.rb +43 -12
 - data/lib/hubspot/codegen/crm/extensions/videoconferencing/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/videoconferencing/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/videoconferencing/models/external_settings.rb +20 -7
 - data/lib/hubspot/codegen/crm/imports/api/core_api.rb +21 -14
 - data/lib/hubspot/codegen/crm/imports/api/public_imports_api.rb +5 -4
 - data/lib/hubspot/codegen/crm/imports/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/imports/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/imports/configuration.rb +43 -12
 - data/lib/hubspot/codegen/crm/imports/models/action_response.rb +23 -10
 - data/lib/hubspot/codegen/crm/imports/models/collection_response_public_import_error_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/imports/models/collection_response_public_import_response.rb +20 -7
 - data/lib/hubspot/codegen/crm/imports/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/imports/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/imports/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/imports/models/import_row_core.rb +20 -7
 - data/lib/hubspot/codegen/crm/imports/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/imports/models/paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/imports/models/previous_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/imports/models/public_import_error.rb +20 -7
 - data/lib/hubspot/codegen/crm/imports/models/public_import_metadata.rb +20 -7
 - data/lib/hubspot/codegen/crm/imports/models/public_import_response.rb +22 -9
 - data/lib/hubspot/codegen/crm/imports/models/public_object_list_record.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/api/associations_api.rb +17 -14
 - data/lib/hubspot/codegen/crm/line_items/api/basic_api.rb +32 -21
 - data/lib/hubspot/codegen/crm/line_items/api/batch_api.rb +34 -18
 - data/lib/hubspot/codegen/crm/line_items/api/public_object_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/line_items/api/search_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/line_items/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/line_items/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/line_items/configuration.rb +43 -12
 - data/lib/hubspot/codegen/crm/line_items/models/associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/batch_input_simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/batch_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/batch_input_simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/batch_read_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/batch_response_simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/line_items/models/batch_response_simple_public_object_with_errors.rb +23 -10
 - data/lib/hubspot/codegen/crm/line_items/models/collection_response_associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/collection_response_associated_id_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/collection_response_simple_public_object_with_associations_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/collection_response_with_total_simple_public_object_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/error_category.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/filter.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/filter_group.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/previous_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/public_merge_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/public_object_search_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_with_associations.rb +23 -10
 - data/lib/hubspot/codegen/crm/line_items/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/value_with_timestamp.rb +21 -8
 - data/lib/hubspot/codegen/crm/objects/api/associations_api.rb +14 -11
 - data/lib/hubspot/codegen/crm/objects/api/basic_api.rb +32 -21
 - data/lib/hubspot/codegen/crm/objects/api/batch_api.rb +34 -18
 - data/lib/hubspot/codegen/crm/objects/api/gdpr_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/objects/api/public_object_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/objects/api/search_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/objects/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/objects/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/objects/calls/api/associations_api.rb +17 -14
 - data/lib/hubspot/codegen/crm/objects/calls/api/basic_api.rb +32 -21
 - data/lib/hubspot/codegen/crm/objects/calls/api/batch_api.rb +34 -18
 - data/lib/hubspot/codegen/crm/objects/calls/api/public_object_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/objects/calls/api/search_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/objects/calls/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/objects/calls/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/objects/calls/configuration.rb +43 -12
 - data/lib/hubspot/codegen/crm/objects/calls/models/associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/batch_input_simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/batch_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/batch_input_simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/batch_read_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/batch_response_simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/calls/models/batch_response_simple_public_object_with_errors.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/calls/models/collection_response_associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/collection_response_associated_id_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/collection_response_simple_public_object_with_associations_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/collection_response_with_total_simple_public_object_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/error_category.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/filter.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/filter_group.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/previous_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/public_merge_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/public_object_search_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_with_associations.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/calls/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/value_with_timestamp.rb +21 -8
 - data/lib/hubspot/codegen/crm/objects/configuration.rb +43 -12
 - data/lib/hubspot/codegen/crm/objects/emails/api/associations_api.rb +17 -14
 - data/lib/hubspot/codegen/crm/objects/emails/api/basic_api.rb +32 -21
 - data/lib/hubspot/codegen/crm/objects/emails/api/batch_api.rb +34 -18
 - data/lib/hubspot/codegen/crm/objects/emails/api/public_object_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/objects/emails/api/search_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/objects/emails/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/objects/emails/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/objects/emails/configuration.rb +43 -12
 - data/lib/hubspot/codegen/crm/objects/emails/models/associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/batch_input_simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/batch_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/batch_input_simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/batch_read_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/batch_response_simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/emails/models/batch_response_simple_public_object_with_errors.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/emails/models/collection_response_associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/collection_response_associated_id_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/collection_response_simple_public_object_with_associations_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/collection_response_with_total_simple_public_object_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/error_category.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/filter.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/filter_group.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/previous_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/public_merge_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/public_object_search_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_with_associations.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/emails/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/value_with_timestamp.rb +21 -8
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/associations_api.rb +17 -14
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/basic_api.rb +32 -21
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/batch_api.rb +34 -18
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/public_object_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/search_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/configuration.rb +43 -12
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/batch_input_simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/batch_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/batch_input_simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/batch_read_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/batch_response_simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/batch_response_simple_public_object_with_errors.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/collection_response_associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/collection_response_associated_id_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/collection_response_simple_public_object_with_associations_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/collection_response_with_total_simple_public_object_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/error_category.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/filter.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/filter_group.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/previous_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/public_merge_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/public_object_search_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/simple_public_object_with_associations.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/value_with_timestamp.rb +21 -8
 - data/lib/hubspot/codegen/crm/objects/meetings/api/associations_api.rb +17 -14
 - data/lib/hubspot/codegen/crm/objects/meetings/api/basic_api.rb +32 -21
 - data/lib/hubspot/codegen/crm/objects/meetings/api/batch_api.rb +34 -18
 - data/lib/hubspot/codegen/crm/objects/meetings/api/public_object_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/objects/meetings/api/search_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/objects/meetings/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/objects/meetings/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/objects/meetings/configuration.rb +43 -12
 - data/lib/hubspot/codegen/crm/objects/meetings/models/associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/batch_input_simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/batch_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/batch_input_simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/batch_read_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/batch_response_simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/meetings/models/batch_response_simple_public_object_with_errors.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/meetings/models/collection_response_associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/collection_response_associated_id_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/collection_response_simple_public_object_with_associations_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/collection_response_with_total_simple_public_object_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/error_category.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/filter.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/filter_group.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/previous_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/public_merge_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/public_object_search_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_with_associations.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/meetings/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/value_with_timestamp.rb +21 -8
 - data/lib/hubspot/codegen/crm/objects/models/associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/batch_input_simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/batch_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/batch_input_simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/batch_read_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/batch_response_simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/models/batch_response_simple_public_object_with_errors.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/models/collection_response_associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/collection_response_associated_id_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/collection_response_simple_public_object_with_associations_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/collection_response_with_total_simple_public_object_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/error_category.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/filter.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/filter_group.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/previous_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/public_gdpr_delete_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/public_merge_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/public_object_search_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/models/simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/simple_public_object_with_associations.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/value_with_timestamp.rb +21 -8
 - data/lib/hubspot/codegen/crm/objects/notes/api/associations_api.rb +17 -14
 - data/lib/hubspot/codegen/crm/objects/notes/api/basic_api.rb +32 -21
 - data/lib/hubspot/codegen/crm/objects/notes/api/batch_api.rb +34 -18
 - data/lib/hubspot/codegen/crm/objects/notes/api/public_object_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/objects/notes/api/search_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/objects/notes/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/objects/notes/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/objects/notes/configuration.rb +43 -12
 - data/lib/hubspot/codegen/crm/objects/notes/models/associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/batch_input_simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/batch_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/batch_input_simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/batch_read_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/batch_response_simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/notes/models/batch_response_simple_public_object_with_errors.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/notes/models/collection_response_associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/collection_response_associated_id_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/collection_response_simple_public_object_with_associations_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/collection_response_with_total_simple_public_object_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/error_category.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/filter.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/filter_group.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/previous_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/public_merge_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/public_object_search_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_with_associations.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/notes/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/value_with_timestamp.rb +21 -8
 - data/lib/hubspot/codegen/crm/objects/tasks/api/associations_api.rb +17 -14
 - data/lib/hubspot/codegen/crm/objects/tasks/api/basic_api.rb +32 -21
 - data/lib/hubspot/codegen/crm/objects/tasks/api/batch_api.rb +34 -18
 - data/lib/hubspot/codegen/crm/objects/tasks/api/public_object_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/objects/tasks/api/search_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/objects/tasks/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/objects/tasks/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/objects/tasks/configuration.rb +43 -12
 - data/lib/hubspot/codegen/crm/objects/tasks/models/associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/batch_input_simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/batch_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/batch_input_simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/batch_read_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/batch_response_simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/tasks/models/batch_response_simple_public_object_with_errors.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/tasks/models/collection_response_associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/collection_response_associated_id_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/collection_response_simple_public_object_with_associations_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/collection_response_with_total_simple_public_object_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/error_category.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/filter.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/filter_group.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/previous_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/public_merge_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/public_object_search_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_with_associations.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/tasks/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/value_with_timestamp.rb +21 -8
 - data/lib/hubspot/codegen/crm/owners/api/owners_api.rb +13 -11
 - data/lib/hubspot/codegen/crm/owners/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/owners/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/owners/configuration.rb +43 -12
 - data/lib/hubspot/codegen/crm/owners/models/collection_response_public_owner_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/owners/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/owners/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/owners/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/owners/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/owners/models/public_owner.rb +22 -9
 - data/lib/hubspot/codegen/crm/owners/models/public_team.rb +20 -7
 - data/lib/hubspot/codegen/crm/pipelines/api/pipeline_audits_api.rb +5 -4
 - data/lib/hubspot/codegen/crm/pipelines/api/pipeline_stage_audits_api.rb +5 -4
 - data/lib/hubspot/codegen/crm/pipelines/api/pipeline_stages_api.rb +37 -22
 - data/lib/hubspot/codegen/crm/pipelines/api/pipelines_api.rb +40 -25
 - data/lib/hubspot/codegen/crm/pipelines/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/pipelines/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/pipelines/configuration.rb +43 -12
 - data/lib/hubspot/codegen/crm/pipelines/models/collection_response_pipeline_no_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/pipelines/models/collection_response_pipeline_stage_no_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/pipelines/models/collection_response_public_audit_info_no_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/pipelines/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/pipelines/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/pipelines/models/pipeline.rb +23 -10
 - data/lib/hubspot/codegen/crm/pipelines/models/pipeline_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/pipelines/models/pipeline_patch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/pipelines/models/pipeline_stage.rb +23 -10
 - data/lib/hubspot/codegen/crm/pipelines/models/pipeline_stage_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/pipelines/models/pipeline_stage_patch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/pipelines/models/public_audit_info.rb +21 -8
 - data/lib/hubspot/codegen/crm/products/api/associations_api.rb +17 -14
 - data/lib/hubspot/codegen/crm/products/api/basic_api.rb +32 -21
 - data/lib/hubspot/codegen/crm/products/api/batch_api.rb +34 -18
 - data/lib/hubspot/codegen/crm/products/api/public_object_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/products/api/search_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/products/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/products/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/products/configuration.rb +43 -12
 - data/lib/hubspot/codegen/crm/products/models/associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/batch_input_simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/batch_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/batch_input_simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/batch_read_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/batch_response_simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/products/models/batch_response_simple_public_object_with_errors.rb +23 -10
 - data/lib/hubspot/codegen/crm/products/models/collection_response_associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/collection_response_associated_id_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/collection_response_simple_public_object_with_associations_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/collection_response_with_total_simple_public_object_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/error_category.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/filter.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/filter_group.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/previous_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/public_merge_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/public_object_search_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/products/models/simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/simple_public_object_with_associations.rb +23 -10
 - data/lib/hubspot/codegen/crm/products/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/value_with_timestamp.rb +21 -8
 - data/lib/hubspot/codegen/crm/properties/api/batch_api.rb +25 -13
 - data/lib/hubspot/codegen/crm/properties/api/core_api.rb +31 -20
 - data/lib/hubspot/codegen/crm/properties/api/groups_api.rb +29 -18
 - data/lib/hubspot/codegen/crm/properties/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/properties/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/properties/configuration.rb +43 -12
 - data/lib/hubspot/codegen/crm/properties/models/batch_input_property_create.rb +20 -7
 - data/lib/hubspot/codegen/crm/properties/models/batch_input_property_name.rb +20 -7
 - data/lib/hubspot/codegen/crm/properties/models/batch_read_input_property_name.rb +20 -7
 - data/lib/hubspot/codegen/crm/properties/models/batch_response_property.rb +23 -10
 - data/lib/hubspot/codegen/crm/properties/models/collection_response_property.rb +20 -7
 - data/lib/hubspot/codegen/crm/properties/models/collection_response_property_group.rb +20 -7
 - data/lib/hubspot/codegen/crm/properties/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/properties/models/error_category.rb +20 -7
 - data/lib/hubspot/codegen/crm/properties/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/properties/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/properties/models/option.rb +20 -7
 - data/lib/hubspot/codegen/crm/properties/models/option_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/properties/models/paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/properties/models/property.rb +23 -10
 - data/lib/hubspot/codegen/crm/properties/models/property_create.rb +20 -7
 - data/lib/hubspot/codegen/crm/properties/models/property_group.rb +20 -7
 - data/lib/hubspot/codegen/crm/properties/models/property_group_create.rb +20 -7
 - data/lib/hubspot/codegen/crm/properties/models/property_group_update.rb +20 -7
 - data/lib/hubspot/codegen/crm/properties/models/property_modification_metadata.rb +20 -7
 - data/lib/hubspot/codegen/crm/properties/models/property_name.rb +20 -7
 - data/lib/hubspot/codegen/crm/properties/models/property_update.rb +20 -7
 - data/lib/hubspot/codegen/crm/properties/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/api/associations_api.rb +17 -14
 - data/lib/hubspot/codegen/crm/quotes/api/basic_api.rb +32 -21
 - data/lib/hubspot/codegen/crm/quotes/api/batch_api.rb +34 -18
 - data/lib/hubspot/codegen/crm/quotes/api/public_object_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/quotes/api/search_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/quotes/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/quotes/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/quotes/configuration.rb +43 -12
 - data/lib/hubspot/codegen/crm/quotes/models/associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/batch_input_simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/batch_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/batch_input_simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/batch_read_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/batch_response_simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/quotes/models/batch_response_simple_public_object_with_errors.rb +23 -10
 - data/lib/hubspot/codegen/crm/quotes/models/collection_response_associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/collection_response_associated_id_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/collection_response_simple_public_object_with_associations_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/collection_response_with_total_simple_public_object_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/error_category.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/filter.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/filter_group.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/previous_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/public_merge_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/public_object_search_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_with_associations.rb +23 -10
 - data/lib/hubspot/codegen/crm/quotes/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/value_with_timestamp.rb +21 -8
 - data/lib/hubspot/codegen/crm/schemas/api/core_api.rb +43 -27
 - data/lib/hubspot/codegen/crm/schemas/api/public_object_schemas_api.rb +5 -4
 - data/lib/hubspot/codegen/crm/schemas/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/schemas/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/schemas/configuration.rb +43 -12
 - data/lib/hubspot/codegen/crm/schemas/models/association_definition.rb +22 -9
 - data/lib/hubspot/codegen/crm/schemas/models/association_definition_egg.rb +20 -7
 - data/lib/hubspot/codegen/crm/schemas/models/collection_response_object_schema_no_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/schemas/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/schemas/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/schemas/models/object_schema.rb +22 -9
 - data/lib/hubspot/codegen/crm/schemas/models/object_schema_egg.rb +20 -7
 - data/lib/hubspot/codegen/crm/schemas/models/object_type_definition.rb +22 -9
 - data/lib/hubspot/codegen/crm/schemas/models/object_type_definition_labels.rb +20 -7
 - data/lib/hubspot/codegen/crm/schemas/models/object_type_definition_patch.rb +20 -7
 - data/lib/hubspot/codegen/crm/schemas/models/object_type_property_create.rb +20 -7
 - data/lib/hubspot/codegen/crm/schemas/models/option.rb +20 -7
 - data/lib/hubspot/codegen/crm/schemas/models/option_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/schemas/models/property.rb +23 -10
 - data/lib/hubspot/codegen/crm/schemas/models/property_modification_metadata.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/api/associations_api.rb +17 -14
 - data/lib/hubspot/codegen/crm/tickets/api/basic_api.rb +32 -21
 - data/lib/hubspot/codegen/crm/tickets/api/batch_api.rb +34 -18
 - data/lib/hubspot/codegen/crm/tickets/api/public_object_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/tickets/api/search_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/tickets/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/tickets/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/tickets/configuration.rb +43 -12
 - data/lib/hubspot/codegen/crm/tickets/models/associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/batch_input_simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/batch_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/batch_input_simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/batch_read_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/batch_response_simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/tickets/models/batch_response_simple_public_object_with_errors.rb +23 -10
 - data/lib/hubspot/codegen/crm/tickets/models/collection_response_associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/collection_response_associated_id_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/collection_response_simple_public_object_with_associations_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/collection_response_with_total_simple_public_object_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/error_category.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/filter.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/filter_group.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/previous_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/public_merge_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/public_object_search_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_with_associations.rb +23 -10
 - data/lib/hubspot/codegen/crm/tickets/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/value_with_timestamp.rb +21 -8
 - data/lib/hubspot/codegen/crm/timeline/api/events_api.rb +29 -18
 - data/lib/hubspot/codegen/crm/timeline/api/templates_api.rb +29 -18
 - data/lib/hubspot/codegen/crm/timeline/api/tokens_api.rb +21 -12
 - data/lib/hubspot/codegen/crm/timeline/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/timeline/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/timeline/configuration.rb +44 -13
 - data/lib/hubspot/codegen/crm/timeline/models/batch_input_timeline_event.rb +20 -7
 - data/lib/hubspot/codegen/crm/timeline/models/batch_response_timeline_event_response.rb +23 -10
 - data/lib/hubspot/codegen/crm/timeline/models/batch_response_timeline_event_response_with_errors.rb +23 -10
 - data/lib/hubspot/codegen/crm/timeline/models/collection_response_timeline_event_template_no_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/timeline/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/timeline/models/error_category.rb +20 -7
 - data/lib/hubspot/codegen/crm/timeline/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/timeline/models/event_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/timeline/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/crm/timeline/models/timeline_event.rb +21 -8
 - data/lib/hubspot/codegen/crm/timeline/models/timeline_event_i_frame.rb +20 -7
 - data/lib/hubspot/codegen/crm/timeline/models/timeline_event_response.rb +22 -9
 - data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template.rb +22 -9
 - data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_create_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_token.rb +22 -9
 - data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_token_option.rb +20 -7
 - data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_token_update_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_update_request.rb +20 -7
 - data/lib/hubspot/codegen/events/api/events_api.rb +9 -8
 - data/lib/hubspot/codegen/events/api_client.rb +56 -52
 - data/lib/hubspot/codegen/events/api_error.rb +1 -1
 - data/lib/hubspot/codegen/events/configuration.rb +43 -12
 - data/lib/hubspot/codegen/events/models/collection_response_external_unified_event.rb +20 -7
 - data/lib/hubspot/codegen/events/models/error.rb +20 -7
 - data/lib/hubspot/codegen/events/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/events/models/external_unified_event.rb +21 -8
 - data/lib/hubspot/codegen/events/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/events/models/paging.rb +20 -7
 - data/lib/hubspot/codegen/files/files/api/files_api.rb +69 -47
 - data/lib/hubspot/codegen/files/files/api/folders_api.rb +53 -39
 - data/lib/hubspot/codegen/files/files/api_client.rb +56 -52
 - data/lib/hubspot/codegen/files/files/api_error.rb +1 -1
 - data/lib/hubspot/codegen/files/files/configuration.rb +43 -12
 - data/lib/hubspot/codegen/files/files/models/collection_response_file.rb +20 -7
 - data/lib/hubspot/codegen/files/files/models/collection_response_folder.rb +20 -7
 - data/lib/hubspot/codegen/files/files/models/error.rb +20 -7
 - data/lib/hubspot/codegen/files/files/models/error_category.rb +20 -7
 - data/lib/hubspot/codegen/files/files/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/files/files/models/file_action_response.rb +23 -10
 - data/lib/hubspot/codegen/files/files/models/file_update_input.rb +20 -7
 - data/lib/hubspot/codegen/files/files/models/folder.rb +23 -10
 - data/lib/hubspot/codegen/files/files/models/folder_action_response.rb +23 -10
 - data/lib/hubspot/codegen/files/files/models/folder_input.rb +20 -7
 - data/lib/hubspot/codegen/files/files/models/folder_update_input.rb +20 -7
 - data/lib/hubspot/codegen/files/files/models/folder_update_task_locator.rb +20 -7
 - data/lib/hubspot/codegen/files/files/models/hubspot_file.rb +23 -10
 - data/lib/hubspot/codegen/files/files/models/import_from_url_input.rb +20 -7
 - data/lib/hubspot/codegen/files/files/models/import_from_url_task_locator.rb +20 -7
 - data/lib/hubspot/codegen/files/files/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/files/files/models/paging.rb +20 -7
 - data/lib/hubspot/codegen/files/files/models/previous_page.rb +20 -7
 - data/lib/hubspot/codegen/files/files/models/signed_url.rb +21 -8
 - data/lib/hubspot/codegen/files/files/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/marketing/events/api/{subscriber_state_changes_api.rb → attendance_subscriber_state_changes_api.rb} +64 -64
 - data/lib/hubspot/codegen/marketing/events/api/marketing_events_external_api.rb +866 -0
 - data/lib/hubspot/codegen/marketing/events/api/{settings_api.rb → settings_external_api.rb} +27 -30
 - data/lib/hubspot/codegen/marketing/events/api_client.rb +56 -52
 - data/lib/hubspot/codegen/marketing/events/api_error.rb +1 -1
 - data/lib/hubspot/codegen/marketing/events/configuration.rb +44 -13
 - data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_create_request_params.rb +20 -7
 - data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_email_subscriber.rb +20 -7
 - data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_external_unique_identifier.rb +20 -7
 - data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_subscriber.rb +20 -7
 - data/lib/hubspot/codegen/marketing/events/models/batch_response_marketing_event_public_default_response.rb +23 -10
 - data/lib/hubspot/codegen/marketing/events/models/batch_response_subscriber_email_response.rb +346 -0
 - data/lib/hubspot/codegen/marketing/events/models/batch_response_subscriber_vid_response.rb +346 -0
 - data/lib/hubspot/codegen/marketing/events/models/collection_response_marketing_event_external_unique_identifier_no_paging.rb +20 -7
 - data/lib/hubspot/codegen/marketing/events/models/error.rb +20 -7
 - data/lib/hubspot/codegen/marketing/events/models/error_category.rb +40 -27
 - data/lib/hubspot/codegen/marketing/events/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/marketing/events/models/event_detail_settings.rb +20 -7
 - data/lib/hubspot/codegen/marketing/events/models/event_detail_settings_url.rb +20 -7
 - data/lib/hubspot/codegen/marketing/events/models/marketing_event_complete_request_params.rb +242 -0
 - data/lib/hubspot/codegen/marketing/events/models/marketing_event_create_request_params.rb +22 -9
 - data/lib/hubspot/codegen/marketing/events/models/marketing_event_default_response.rb +22 -9
 - data/lib/hubspot/codegen/marketing/events/models/marketing_event_email_subscriber.rb +46 -11
 - data/lib/hubspot/codegen/marketing/events/models/marketing_event_external_unique_identifier.rb +20 -7
 - data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_default_response.rb +24 -11
 - data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_read_response.rb +24 -11
 - data/lib/hubspot/codegen/marketing/events/models/marketing_event_subscriber.rb +32 -8
 - data/lib/hubspot/codegen/marketing/events/models/marketing_event_update_request_params.rb +22 -9
 - data/lib/hubspot/codegen/marketing/events/models/property_value.rb +22 -9
 - data/lib/hubspot/codegen/marketing/events/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/marketing/events/models/subscriber_email_response.rb +242 -0
 - data/lib/hubspot/codegen/{cms/domains/models/domain_setup_info.rb → marketing/events/models/subscriber_vid_response.rb} +37 -40
 - data/lib/hubspot/codegen/marketing/forms/api/forms_api.rb +37 -22
 - data/lib/hubspot/codegen/marketing/forms/api_client.rb +56 -52
 - data/lib/hubspot/codegen/marketing/forms/api_error.rb +1 -1
 - data/lib/hubspot/codegen/marketing/forms/configuration.rb +43 -12
 - data/lib/hubspot/codegen/marketing/forms/models/collection_response_form_definition_base_forward_paging.rb +21 -8
 - data/lib/hubspot/codegen/marketing/forms/models/collection_response_form_definition_base_forward_paging_results_inner.rb +107 -0
 - data/lib/hubspot/codegen/marketing/forms/models/datepicker_field.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/dependent_field.rb +21 -8
 - data/lib/hubspot/codegen/marketing/forms/models/dependent_field_dependent_field.rb +118 -0
 - data/lib/hubspot/codegen/marketing/forms/models/dependent_field_filter.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/dropdown_field.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/email_field.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/email_field_validation.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/enumerated_field_option.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/error.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/field_group.rb +21 -8
 - data/lib/hubspot/codegen/marketing/forms/models/file_field.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/form_definition_base.rb +74 -213
 - data/lib/hubspot/codegen/marketing/forms/models/form_definition_create_request_base.rb +74 -213
 - data/lib/hubspot/codegen/marketing/forms/models/form_display_options.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/form_post_submit_action.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/form_style.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_configuration.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition.rb +190 -16
 - data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition_all_of.rb +23 -10
 - data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition_create_request.rb +176 -16
 - data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition_create_request_all_of.rb +23 -10
 - data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition_patch_request.rb +21 -8
 - data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition_patch_request_legal_consent_options.rb +110 -0
 - data/lib/hubspot/codegen/marketing/forms/models/legal_consent_checkbox.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_explicit_consent_to_process.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_implicit_consent_to_process.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_legitimate_interest.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_none.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/mobile_phone_field.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/multi_line_text_field.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/multiple_checkboxes_field.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/number_field.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/number_field_validation.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/phone_field.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/phone_field_validation.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/radio_field.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/single_checkbox_field.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/single_line_text_field.rb +20 -7
 - data/lib/hubspot/codegen/marketing/transactional/api/public_smtp_tokens_api.rb +25 -17
 - data/lib/hubspot/codegen/marketing/transactional/api/single_send_api.rb +9 -5
 - data/lib/hubspot/codegen/marketing/transactional/api_client.rb +56 -52
 - data/lib/hubspot/codegen/marketing/transactional/api_error.rb +1 -1
 - data/lib/hubspot/codegen/marketing/transactional/configuration.rb +43 -12
 - data/lib/hubspot/codegen/marketing/transactional/models/collection_response_smtp_api_token_view_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/marketing/transactional/models/email_send_status_view.rb +23 -10
 - data/lib/hubspot/codegen/marketing/transactional/models/error.rb +20 -7
 - data/lib/hubspot/codegen/marketing/transactional/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/marketing/transactional/models/event_id_view.rb +21 -8
 - data/lib/hubspot/codegen/marketing/transactional/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/marketing/transactional/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/marketing/transactional/models/public_single_send_email.rb +20 -7
 - data/lib/hubspot/codegen/marketing/transactional/models/public_single_send_request_egg.rb +20 -7
 - data/lib/hubspot/codegen/marketing/transactional/models/smtp_api_token_request_egg.rb +20 -7
 - data/lib/hubspot/codegen/marketing/transactional/models/smtp_api_token_view.rb +21 -8
 - data/lib/hubspot/codegen/oauth/api/access_tokens_api.rb +5 -4
 - data/lib/hubspot/codegen/oauth/api/refresh_tokens_api.rb +9 -7
 - data/lib/hubspot/codegen/oauth/api/tokens_api.rb +9 -5
 - data/lib/hubspot/codegen/oauth/api_client.rb +56 -52
 - data/lib/hubspot/codegen/oauth/api_error.rb +1 -1
 - data/lib/hubspot/codegen/oauth/configuration.rb +43 -12
 - data/lib/hubspot/codegen/oauth/models/access_token_info_response.rb +20 -7
 - data/lib/hubspot/codegen/oauth/models/error.rb +20 -7
 - data/lib/hubspot/codegen/oauth/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/oauth/models/refresh_token_info_response.rb +20 -7
 - data/lib/hubspot/codegen/oauth/models/token_response_if.rb +20 -7
 - data/lib/hubspot/codegen/settings/users/api/roles_api.rb +5 -4
 - data/lib/hubspot/codegen/settings/users/api/teams_api.rb +5 -4
 - data/lib/hubspot/codegen/settings/users/api/users_api.rb +29 -18
 - data/lib/hubspot/codegen/settings/users/api_client.rb +56 -52
 - data/lib/hubspot/codegen/settings/users/api_error.rb +1 -1
 - data/lib/hubspot/codegen/settings/users/configuration.rb +43 -12
 - data/lib/hubspot/codegen/settings/users/models/collection_response_public_permission_set_no_paging.rb +20 -7
 - data/lib/hubspot/codegen/settings/users/models/collection_response_public_team_no_paging.rb +20 -7
 - data/lib/hubspot/codegen/settings/users/models/collection_response_public_user_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/settings/users/models/error.rb +20 -7
 - data/lib/hubspot/codegen/settings/users/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/settings/users/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/settings/users/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/settings/users/models/public_permission_set.rb +20 -7
 - data/lib/hubspot/codegen/settings/users/models/public_team.rb +20 -7
 - data/lib/hubspot/codegen/settings/users/models/public_user.rb +20 -7
 - data/lib/hubspot/codegen/settings/users/models/public_user_update.rb +20 -7
 - data/lib/hubspot/codegen/settings/users/models/user_provision_request.rb +20 -7
 - data/lib/hubspot/codegen/webhooks/api/settings_api.rb +17 -11
 - data/lib/hubspot/codegen/webhooks/api/subscriptions_api.rb +37 -22
 - data/lib/hubspot/codegen/webhooks/api_client.rb +56 -52
 - data/lib/hubspot/codegen/webhooks/api_error.rb +1 -1
 - data/lib/hubspot/codegen/webhooks/configuration.rb +44 -13
 - data/lib/hubspot/codegen/webhooks/models/batch_input_subscription_batch_update_request.rb +20 -7
 - data/lib/hubspot/codegen/webhooks/models/batch_response_subscription_response.rb +23 -10
 - data/lib/hubspot/codegen/webhooks/models/batch_response_subscription_response_with_errors.rb +23 -10
 - data/lib/hubspot/codegen/webhooks/models/error.rb +20 -7
 - data/lib/hubspot/codegen/webhooks/models/error_category.rb +20 -7
 - data/lib/hubspot/codegen/webhooks/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/webhooks/models/settings_change_request.rb +20 -7
 - data/lib/hubspot/codegen/webhooks/models/settings_response.rb +22 -9
 - data/lib/hubspot/codegen/webhooks/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/webhooks/models/subscription_batch_update_request.rb +20 -7
 - data/lib/hubspot/codegen/webhooks/models/subscription_create_request.rb +20 -7
 - data/lib/hubspot/codegen/webhooks/models/subscription_list_response.rb +20 -7
 - data/lib/hubspot/codegen/webhooks/models/subscription_patch_request.rb +20 -7
 - data/lib/hubspot/codegen/webhooks/models/subscription_response.rb +22 -9
 - data/lib/hubspot/codegen/webhooks/models/throttling_settings.rb +20 -7
 - data/lib/hubspot/discovery/base_api_client.rb +1 -15
 - data/lib/hubspot/discovery/marketing/events/api/{search_api.rb → attendance_subscriber_state_changes_api.rb} +1 -1
 - data/lib/hubspot/discovery/marketing/events/api/{subscriber_state_changes_api.rb → marketing_events_external_api.rb} +1 -1
 - data/lib/hubspot/discovery/marketing/events/api/{batch_api.rb → settings_external_api.rb} +1 -1
 - data/lib/hubspot/discovery/marketing/events/client.rb +3 -5
 - data/lib/hubspot/version.rb +1 -1
 - data/spec/discovery/marketing/events/attendance_subscriber_state_changes_api_spec.rb +8 -0
 - data/spec/discovery/marketing/events/marketing_events_external_api_spec.rb +19 -0
 - data/spec/discovery/marketing/events/{settings_api_spec.rb → settings_external_api_spec.rb} +2 -2
 - metadata +26 -26
 - data/lib/hubspot/codegen/cms/domains/models/domain_cdn_config.rb +0 -497
 - data/lib/hubspot/codegen/marketing/events/api/basic_api.rb +0 -446
 - data/lib/hubspot/codegen/marketing/events/api/batch_api.rb +0 -154
 - data/lib/hubspot/codegen/marketing/events/api/search_api.rb +0 -89
 - data/lib/hubspot/discovery/marketing/events/api/basic_api.rb +0 -14
 - data/lib/hubspot/discovery/marketing/events/api/settings_api.rb +0 -13
 - data/spec/discovery/marketing/events/basic_api_spec.rb +0 -12
 - data/spec/discovery/marketing/events/batch_api_spec.rb +0 -8
 - data/spec/discovery/marketing/events/search_api_spec.rb +0 -7
 - data/spec/discovery/marketing/events/subscriber_state_changes_api_spec.rb +0 -8
 
| 
         @@ -6,7 +6,7 @@ 
     | 
|
| 
       6 
6 
     | 
    
         
             
            The version of the OpenAPI document: v3
         
     | 
| 
       7 
7 
     | 
    
         | 
| 
       8 
8 
     | 
    
         
             
            Generated by: https://openapi-generator.tech
         
     | 
| 
       9 
     | 
    
         
            -
            OpenAPI Generator version:  
     | 
| 
      
 9 
     | 
    
         
            +
            OpenAPI Generator version: 6.2.1
         
     | 
| 
       10 
10 
     | 
    
         | 
| 
       11 
11 
     | 
    
         
             
            =end
         
     | 
| 
       12 
12 
     | 
    
         | 
| 
         @@ -14,6 +14,7 @@ require 'date' 
     | 
|
| 
       14 
14 
     | 
    
         
             
            require 'json'
         
     | 
| 
       15 
15 
     | 
    
         
             
            require 'logger'
         
     | 
| 
       16 
16 
     | 
    
         
             
            require 'tempfile'
         
     | 
| 
      
 17 
     | 
    
         
            +
            require 'time'
         
     | 
| 
       17 
18 
     | 
    
         
             
            require 'typhoeus'
         
     | 
| 
       18 
19 
     | 
    
         | 
| 
       19 
20 
     | 
    
         
             
            module Hubspot
         
     | 
| 
         @@ -103,12 +104,13 @@ module Hubspot 
     | 
|
| 
       103 
104 
     | 
    
         
             
                      # @option opts [Object] :body HTTP body (JSON/XML)
         
     | 
| 
       104 
105 
     | 
    
         
             
                      # @return [Typhoeus::Request] A Typhoeus Request
         
     | 
| 
       105 
106 
     | 
    
         
             
                      def build_request(http_method, path, opts = {})
         
     | 
| 
       106 
     | 
    
         
            -
                        url = build_request_url(path)
         
     | 
| 
      
 107 
     | 
    
         
            +
                        url = build_request_url(path, opts)
         
     | 
| 
       107 
108 
     | 
    
         
             
                        http_method = http_method.to_sym.downcase
         
     | 
| 
       108 
109 
     | 
    
         | 
| 
       109 
110 
     | 
    
         
             
                        header_params = @default_headers.merge(opts[:header_params] || {})
         
     | 
| 
       110 
111 
     | 
    
         
             
                        query_params = opts[:query_params] || {}
         
     | 
| 
       111 
112 
     | 
    
         
             
                        form_params = opts[:form_params] || {}
         
     | 
| 
      
 113 
     | 
    
         
            +
                        follow_location = opts[:follow_location] || true
         
     | 
| 
       112 
114 
     | 
    
         | 
| 
       113 
115 
     | 
    
         
             
                        update_params_for_auth! header_params, query_params, opts[:auth_names]
         
     | 
| 
       114 
116 
     | 
    
         | 
| 
         @@ -125,7 +127,8 @@ module Hubspot 
     | 
|
| 
       125 
127 
     | 
    
         
             
                          :ssl_verifyhost => _verify_ssl_host,
         
     | 
| 
       126 
128 
     | 
    
         
             
                          :sslcert => @config.cert_file,
         
     | 
| 
       127 
129 
     | 
    
         
             
                          :sslkey => @config.key_file,
         
     | 
| 
       128 
     | 
    
         
            -
                          :verbose => @config.debugging
         
     | 
| 
      
 130 
     | 
    
         
            +
                          :verbose => @config.debugging,
         
     | 
| 
      
 131 
     | 
    
         
            +
                          :followlocation => follow_location
         
     | 
| 
       129 
132 
     | 
    
         
             
                        }
         
     | 
| 
       130 
133 
     | 
    
         | 
| 
       131 
134 
     | 
    
         
             
                        # set custom cert, if provided
         
     | 
| 
         @@ -172,6 +175,44 @@ module Hubspot 
     | 
|
| 
       172 
175 
     | 
    
         
             
                        data
         
     | 
| 
       173 
176 
     | 
    
         
             
                      end
         
     | 
| 
       174 
177 
     | 
    
         | 
| 
      
 178 
     | 
    
         
            +
                      # Save response body into a file in (the defined) temporary folder, using the filename
         
     | 
| 
      
 179 
     | 
    
         
            +
                      # from the "Content-Disposition" header if provided, otherwise a random filename.
         
     | 
| 
      
 180 
     | 
    
         
            +
                      # The response body is written to the file in chunks in order to handle files which
         
     | 
| 
      
 181 
     | 
    
         
            +
                      # size is larger than maximum Ruby String or even larger than the maximum memory a Ruby
         
     | 
| 
      
 182 
     | 
    
         
            +
                      # process can use.
         
     | 
| 
      
 183 
     | 
    
         
            +
                      #
         
     | 
| 
      
 184 
     | 
    
         
            +
                      # @see Configuration#temp_folder_path
         
     | 
| 
      
 185 
     | 
    
         
            +
                      def download_file(request)
         
     | 
| 
      
 186 
     | 
    
         
            +
                        tempfile = nil
         
     | 
| 
      
 187 
     | 
    
         
            +
                        encoding = nil
         
     | 
| 
      
 188 
     | 
    
         
            +
                        request.on_headers do |response|
         
     | 
| 
      
 189 
     | 
    
         
            +
                          content_disposition = response.headers['Content-Disposition']
         
     | 
| 
      
 190 
     | 
    
         
            +
                          if content_disposition && content_disposition =~ /filename=/i
         
     | 
| 
      
 191 
     | 
    
         
            +
                            filename = content_disposition[/filename=['"]?([^'"\s]+)['"]?/, 1]
         
     | 
| 
      
 192 
     | 
    
         
            +
                            prefix = sanitize_filename(filename)
         
     | 
| 
      
 193 
     | 
    
         
            +
                          else
         
     | 
| 
      
 194 
     | 
    
         
            +
                            prefix = 'download-'
         
     | 
| 
      
 195 
     | 
    
         
            +
                          end
         
     | 
| 
      
 196 
     | 
    
         
            +
                          prefix = prefix + '-' unless prefix.end_with?('-')
         
     | 
| 
      
 197 
     | 
    
         
            +
                          encoding = response.body.encoding
         
     | 
| 
      
 198 
     | 
    
         
            +
                          tempfile = Tempfile.open(prefix, @config.temp_folder_path, encoding: encoding)
         
     | 
| 
      
 199 
     | 
    
         
            +
                          @tempfile = tempfile
         
     | 
| 
      
 200 
     | 
    
         
            +
                        end
         
     | 
| 
      
 201 
     | 
    
         
            +
                        request.on_body do |chunk|
         
     | 
| 
      
 202 
     | 
    
         
            +
                          chunk.force_encoding(encoding)
         
     | 
| 
      
 203 
     | 
    
         
            +
                          tempfile.write(chunk)
         
     | 
| 
      
 204 
     | 
    
         
            +
                        end
         
     | 
| 
      
 205 
     | 
    
         
            +
                        request.on_complete do |response|
         
     | 
| 
      
 206 
     | 
    
         
            +
                          if tempfile
         
     | 
| 
      
 207 
     | 
    
         
            +
                            tempfile.close
         
     | 
| 
      
 208 
     | 
    
         
            +
                            @config.logger.info "Temp file written to #{tempfile.path}, please copy the file to a proper folder "\
         
     | 
| 
      
 209 
     | 
    
         
            +
                                                "with e.g. `FileUtils.cp(tempfile.path, '/new/file/path')` otherwise the temp file "\
         
     | 
| 
      
 210 
     | 
    
         
            +
                                                "will be deleted automatically with GC. It's also recommended to delete the temp file "\
         
     | 
| 
      
 211 
     | 
    
         
            +
                                                "explicitly with `tempfile.delete`"
         
     | 
| 
      
 212 
     | 
    
         
            +
                          end
         
     | 
| 
      
 213 
     | 
    
         
            +
                        end
         
     | 
| 
      
 214 
     | 
    
         
            +
                      end
         
     | 
| 
      
 215 
     | 
    
         
            +
             
     | 
| 
       175 
216 
     | 
    
         
             
                      # Check if the given MIME is a JSON MIME.
         
     | 
| 
       176 
217 
     | 
    
         
             
                      # JSON MIME examples:
         
     | 
| 
       177 
218 
     | 
    
         
             
                      #   application/json
         
     | 
| 
         @@ -208,7 +249,7 @@ module Hubspot 
     | 
|
| 
       208 
249 
     | 
    
         
             
                        begin
         
     | 
| 
       209 
250 
     | 
    
         
             
                          data = JSON.parse("[#{body}]", :symbolize_names => true)[0]
         
     | 
| 
       210 
251 
     | 
    
         
             
                        rescue JSON::ParserError => e
         
     | 
| 
       211 
     | 
    
         
            -
                          if %w(String Date  
     | 
| 
      
 252 
     | 
    
         
            +
                          if %w(String Date Time).include?(return_type)
         
     | 
| 
       212 
253 
     | 
    
         
             
                            data = body
         
     | 
| 
       213 
254 
     | 
    
         
             
                          else
         
     | 
| 
       214 
255 
     | 
    
         
             
                            raise e
         
     | 
| 
         @@ -233,9 +274,9 @@ module Hubspot 
     | 
|
| 
       233 
274 
     | 
    
         
             
                          data.to_f
         
     | 
| 
       234 
275 
     | 
    
         
             
                        when 'Boolean'
         
     | 
| 
       235 
276 
     | 
    
         
             
                          data == true
         
     | 
| 
       236 
     | 
    
         
            -
                        when ' 
     | 
| 
      
 277 
     | 
    
         
            +
                        when 'Time'
         
     | 
| 
       237 
278 
     | 
    
         
             
                          # parse date time (expecting ISO 8601 format)
         
     | 
| 
       238 
     | 
    
         
            -
                           
     | 
| 
      
 279 
     | 
    
         
            +
                          Time.parse data
         
     | 
| 
       239 
280 
     | 
    
         
             
                        when 'Date'
         
     | 
| 
       240 
281 
     | 
    
         
             
                          # parse date time (expecting ISO 8601 format)
         
     | 
| 
       241 
282 
     | 
    
         
             
                          Date.parse data
         
     | 
| 
         @@ -253,46 +294,9 @@ module Hubspot 
     | 
|
| 
       253 
294 
     | 
    
         
             
                            data.each { |k, v| hash[k] = convert_to_type(v, sub_type) }
         
     | 
| 
       254 
295 
     | 
    
         
             
                          end
         
     | 
| 
       255 
296 
     | 
    
         
             
                        else
         
     | 
| 
       256 
     | 
    
         
            -
                          # models 
     | 
| 
       257 
     | 
    
         
            -
                          Hubspot::Cms::Blogs::Tags.const_get(return_type) 
     | 
| 
       258 
     | 
    
         
            -
             
     | 
| 
       259 
     | 
    
         
            -
                      end
         
     | 
| 
       260 
     | 
    
         
            -
             
     | 
| 
       261 
     | 
    
         
            -
                      # Save response body into a file in (the defined) temporary folder, using the filename
         
     | 
| 
       262 
     | 
    
         
            -
                      # from the "Content-Disposition" header if provided, otherwise a random filename.
         
     | 
| 
       263 
     | 
    
         
            -
                      # The response body is written to the file in chunks in order to handle files which
         
     | 
| 
       264 
     | 
    
         
            -
                      # size is larger than maximum Ruby String or even larger than the maximum memory a Ruby
         
     | 
| 
       265 
     | 
    
         
            -
                      # process can use.
         
     | 
| 
       266 
     | 
    
         
            -
                      #
         
     | 
| 
       267 
     | 
    
         
            -
                      # @see Configuration#temp_folder_path
         
     | 
| 
       268 
     | 
    
         
            -
                      def download_file(request)
         
     | 
| 
       269 
     | 
    
         
            -
                        tempfile = nil
         
     | 
| 
       270 
     | 
    
         
            -
                        encoding = nil
         
     | 
| 
       271 
     | 
    
         
            -
                        request.on_headers do |response|
         
     | 
| 
       272 
     | 
    
         
            -
                          content_disposition = response.headers['Content-Disposition']
         
     | 
| 
       273 
     | 
    
         
            -
                          if content_disposition && content_disposition =~ /filename=/i
         
     | 
| 
       274 
     | 
    
         
            -
                            filename = content_disposition[/filename=['"]?([^'"\s]+)['"]?/, 1]
         
     | 
| 
       275 
     | 
    
         
            -
                            prefix = sanitize_filename(filename)
         
     | 
| 
       276 
     | 
    
         
            -
                          else
         
     | 
| 
       277 
     | 
    
         
            -
                            prefix = 'download-'
         
     | 
| 
       278 
     | 
    
         
            -
                          end
         
     | 
| 
       279 
     | 
    
         
            -
                          prefix = prefix + '-' unless prefix.end_with?('-')
         
     | 
| 
       280 
     | 
    
         
            -
                          encoding = response.body.encoding
         
     | 
| 
       281 
     | 
    
         
            -
                          tempfile = Tempfile.open(prefix, @config.temp_folder_path, encoding: encoding)
         
     | 
| 
       282 
     | 
    
         
            -
                          @tempfile = tempfile
         
     | 
| 
       283 
     | 
    
         
            -
                        end
         
     | 
| 
       284 
     | 
    
         
            -
                        request.on_body do |chunk|
         
     | 
| 
       285 
     | 
    
         
            -
                          chunk.force_encoding(encoding)
         
     | 
| 
       286 
     | 
    
         
            -
                          tempfile.write(chunk)
         
     | 
| 
       287 
     | 
    
         
            -
                        end
         
     | 
| 
       288 
     | 
    
         
            -
                        request.on_complete do |response|
         
     | 
| 
       289 
     | 
    
         
            -
                          if tempfile
         
     | 
| 
       290 
     | 
    
         
            -
                            tempfile.close
         
     | 
| 
       291 
     | 
    
         
            -
                            @config.logger.info "Temp file written to #{tempfile.path}, please copy the file to a proper folder "\
         
     | 
| 
       292 
     | 
    
         
            -
                                                "with e.g. `FileUtils.cp(tempfile.path, '/new/file/path')` otherwise the temp file "\
         
     | 
| 
       293 
     | 
    
         
            -
                                                "will be deleted automatically with GC. It's also recommended to delete the temp file "\
         
     | 
| 
       294 
     | 
    
         
            -
                                                "explicitly with `tempfile.delete`"
         
     | 
| 
       295 
     | 
    
         
            -
                          end
         
     | 
| 
      
 297 
     | 
    
         
            +
                          # models (e.g. Pet) or oneOf
         
     | 
| 
      
 298 
     | 
    
         
            +
                          klass = Hubspot::Cms::Blogs::Tags.const_get(return_type)
         
     | 
| 
      
 299 
     | 
    
         
            +
                          klass.respond_to?(:openapi_one_of) ? klass.build(data) : klass.build_from_hash(data)
         
     | 
| 
       296 
300 
     | 
    
         
             
                        end
         
     | 
| 
       297 
301 
     | 
    
         
             
                      end
         
     | 
| 
       298 
302 
     | 
    
         | 
| 
         @@ -305,13 +309,13 @@ module Hubspot 
     | 
|
| 
       305 
309 
     | 
    
         
             
                        filename.gsub(/.*[\/\\]/, '')
         
     | 
| 
       306 
310 
     | 
    
         
             
                      end
         
     | 
| 
       307 
311 
     | 
    
         | 
| 
       308 
     | 
    
         
            -
                      def build_request_url(path)
         
     | 
| 
      
 312 
     | 
    
         
            +
                      def build_request_url(path, opts = {})
         
     | 
| 
       309 
313 
     | 
    
         
             
                        # Add leading and trailing slashes to path
         
     | 
| 
       310 
314 
     | 
    
         
             
                        path = "/#{path}".gsub(/\/+/, '/')
         
     | 
| 
       311 
     | 
    
         
            -
                        @config.base_url + path
         
     | 
| 
      
 315 
     | 
    
         
            +
                        @config.base_url(opts[:operation]) + path
         
     | 
| 
       312 
316 
     | 
    
         
             
                      end
         
     | 
| 
       313 
317 
     | 
    
         | 
| 
       314 
     | 
    
         
            -
                      # Update  
     | 
| 
      
 318 
     | 
    
         
            +
                      # Update header and query params based on authentication settings.
         
     | 
| 
       315 
319 
     | 
    
         
             
                      #
         
     | 
| 
       316 
320 
     | 
    
         
             
                      # @param [Hash] header_params Header parameters
         
     | 
| 
       317 
321 
     | 
    
         
             
                      # @param [Hash] query_params Query parameters
         
     | 
| 
         @@ -323,7 +327,7 @@ module Hubspot 
     | 
|
| 
       323 
327 
     | 
    
         
             
                          case auth_setting[:in]
         
     | 
| 
       324 
328 
     | 
    
         
             
                          when 'header' then header_params[auth_setting[:key]] = auth_setting[:value]
         
     | 
| 
       325 
329 
     | 
    
         
             
                          when 'query'  then query_params[auth_setting[:key]] = auth_setting[:value]
         
     | 
| 
       326 
     | 
    
         
            -
                          else fail ArgumentError, 'Authentication token must be in `query`  
     | 
| 
      
 330 
     | 
    
         
            +
                          else fail ArgumentError, 'Authentication token must be in `query` or `header`'
         
     | 
| 
       327 
331 
     | 
    
         
             
                          end
         
     | 
| 
       328 
332 
     | 
    
         
             
                        end
         
     | 
| 
       329 
333 
     | 
    
         
             
                      end
         
     | 
| 
         @@ -350,8 +354,8 @@ module Hubspot 
     | 
|
| 
       350 
354 
     | 
    
         
             
                      # @param [Array] content_types array for Content-Type
         
     | 
| 
       351 
355 
     | 
    
         
             
                      # @return [String] the Content-Type header  (e.g. application/json)
         
     | 
| 
       352 
356 
     | 
    
         
             
                      def select_header_content_type(content_types)
         
     | 
| 
       353 
     | 
    
         
            -
                        #  
     | 
| 
       354 
     | 
    
         
            -
                        return  
     | 
| 
      
 357 
     | 
    
         
            +
                        # return nil by default
         
     | 
| 
      
 358 
     | 
    
         
            +
                        return if content_types.nil? || content_types.empty?
         
     | 
| 
       355 
359 
     | 
    
         
             
                        # use JSON when present, otherwise use the first one
         
     | 
| 
       356 
360 
     | 
    
         
             
                        json_content_type = content_types.find { |s| json_mime?(s) }
         
     | 
| 
       357 
361 
     | 
    
         
             
                        json_content_type || content_types.first
         
     | 
| 
         @@ -6,7 +6,7 @@ 
     | 
|
| 
       6 
6 
     | 
    
         
             
            The version of the OpenAPI document: v3
         
     | 
| 
       7 
7 
     | 
    
         | 
| 
       8 
8 
     | 
    
         
             
            Generated by: https://openapi-generator.tech
         
     | 
| 
       9 
     | 
    
         
            -
            OpenAPI Generator version:  
     | 
| 
      
 9 
     | 
    
         
            +
            OpenAPI Generator version: 6.2.1
         
     | 
| 
       10 
10 
     | 
    
         | 
| 
       11 
11 
     | 
    
         
             
            =end
         
     | 
| 
       12 
12 
     | 
    
         | 
| 
         @@ -24,6 +24,18 @@ module Hubspot 
     | 
|
| 
       24 
24 
     | 
    
         
             
                      # Defines url base path
         
     | 
| 
       25 
25 
     | 
    
         
             
                      attr_accessor :base_path
         
     | 
| 
       26 
26 
     | 
    
         | 
| 
      
 27 
     | 
    
         
            +
                      # Define server configuration index
         
     | 
| 
      
 28 
     | 
    
         
            +
                      attr_accessor :server_index
         
     | 
| 
      
 29 
     | 
    
         
            +
             
     | 
| 
      
 30 
     | 
    
         
            +
                      # Define server operation configuration index
         
     | 
| 
      
 31 
     | 
    
         
            +
                      attr_accessor :server_operation_index
         
     | 
| 
      
 32 
     | 
    
         
            +
             
     | 
| 
      
 33 
     | 
    
         
            +
                      # Default server variables
         
     | 
| 
      
 34 
     | 
    
         
            +
                      attr_accessor :server_variables
         
     | 
| 
      
 35 
     | 
    
         
            +
             
     | 
| 
      
 36 
     | 
    
         
            +
                      # Default server operation variables
         
     | 
| 
      
 37 
     | 
    
         
            +
                      attr_accessor :server_operation_variables
         
     | 
| 
      
 38 
     | 
    
         
            +
             
     | 
| 
       27 
39 
     | 
    
         
             
                      # Defines API keys used with API Key authentications.
         
     | 
| 
       28 
40 
     | 
    
         
             
                      #
         
     | 
| 
       29 
41 
     | 
    
         
             
                      # @return [Hash] key: parameter name, value: parameter value (API key)
         
     | 
| 
         @@ -124,6 +136,7 @@ module Hubspot 
     | 
|
| 
       124 
136 
     | 
    
         
             
                      # https://github.com/typhoeus/ethon/blob/master/lib/ethon/easy/queryable.rb#L96
         
     | 
| 
       125 
137 
     | 
    
         
             
                      attr_accessor :params_encoding
         
     | 
| 
       126 
138 
     | 
    
         | 
| 
      
 139 
     | 
    
         
            +
             
     | 
| 
       127 
140 
     | 
    
         
             
                      attr_accessor :inject_format
         
     | 
| 
       128 
141 
     | 
    
         | 
| 
       129 
142 
     | 
    
         
             
                      attr_accessor :force_ending_format
         
     | 
| 
         @@ -134,15 +147,19 @@ module Hubspot 
     | 
|
| 
       134 
147 
     | 
    
         
             
                        @scheme = 'https'
         
     | 
| 
       135 
148 
     | 
    
         
             
                        @host = 'api.hubapi.com'
         
     | 
| 
       136 
149 
     | 
    
         
             
                        @base_path = ''
         
     | 
| 
      
 150 
     | 
    
         
            +
                        @server_index = 0
         
     | 
| 
      
 151 
     | 
    
         
            +
                        @server_operation_index = {}
         
     | 
| 
      
 152 
     | 
    
         
            +
                        @server_variables = {}
         
     | 
| 
      
 153 
     | 
    
         
            +
                        @server_operation_variables = {}
         
     | 
| 
       137 
154 
     | 
    
         
             
                        @api_key = {}
         
     | 
| 
       138 
155 
     | 
    
         
             
                        @api_key_prefix = {}
         
     | 
| 
       139 
     | 
    
         
            -
                        @timeout = 0
         
     | 
| 
       140 
156 
     | 
    
         
             
                        @client_side_validation = true
         
     | 
| 
       141 
157 
     | 
    
         
             
                        @verify_ssl = true
         
     | 
| 
       142 
158 
     | 
    
         
             
                        @verify_ssl_host = true
         
     | 
| 
       143 
     | 
    
         
            -
                        @params_encoding = nil
         
     | 
| 
       144 
159 
     | 
    
         
             
                        @cert_file = nil
         
     | 
| 
       145 
160 
     | 
    
         
             
                        @key_file = nil
         
     | 
| 
      
 161 
     | 
    
         
            +
                        @timeout = 0
         
     | 
| 
      
 162 
     | 
    
         
            +
                        @params_encoding = nil
         
     | 
| 
       146 
163 
     | 
    
         
             
                        @debugging = false
         
     | 
| 
       147 
164 
     | 
    
         
             
                        @inject_format = false
         
     | 
| 
       148 
165 
     | 
    
         
             
                        @force_ending_format = false
         
     | 
| 
         @@ -178,17 +195,23 @@ module Hubspot 
     | 
|
| 
       178 
195 
     | 
    
         
             
                        @base_path = '' if @base_path == '/'
         
     | 
| 
       179 
196 
     | 
    
         
             
                      end
         
     | 
| 
       180 
197 
     | 
    
         | 
| 
       181 
     | 
    
         
            -
                       
     | 
| 
       182 
     | 
    
         
            -
             
     | 
| 
      
 198 
     | 
    
         
            +
                      # Returns base URL for specified operation based on server settings
         
     | 
| 
      
 199 
     | 
    
         
            +
                      def base_url(operation = nil)
         
     | 
| 
      
 200 
     | 
    
         
            +
                        index = server_operation_index.fetch(operation, server_index)
         
     | 
| 
      
 201 
     | 
    
         
            +
                        return "#{scheme}://#{[host, base_path].join('/').gsub(/\/+/, '/')}".sub(/\/+\z/, '') if index == nil
         
     | 
| 
      
 202 
     | 
    
         
            +
             
     | 
| 
      
 203 
     | 
    
         
            +
                        server_url(index, server_operation_variables.fetch(operation, server_variables), operation_server_settings[operation])
         
     | 
| 
       183 
204 
     | 
    
         
             
                      end
         
     | 
| 
       184 
205 
     | 
    
         | 
| 
       185 
206 
     | 
    
         
             
                      # Gets API key (with prefix if set).
         
     | 
| 
       186 
207 
     | 
    
         
             
                      # @param [String] param_name the parameter name of API key auth
         
     | 
| 
       187 
     | 
    
         
            -
                      def api_key_with_prefix(param_name)
         
     | 
| 
      
 208 
     | 
    
         
            +
                      def api_key_with_prefix(param_name, param_alias = nil)
         
     | 
| 
      
 209 
     | 
    
         
            +
                        key = @api_key[param_name]
         
     | 
| 
      
 210 
     | 
    
         
            +
                        key = @api_key.fetch(param_alias, key) unless param_alias.nil?
         
     | 
| 
       188 
211 
     | 
    
         
             
                        if @api_key_prefix[param_name]
         
     | 
| 
       189 
     | 
    
         
            -
                          "#{@api_key_prefix[param_name]} #{ 
     | 
| 
      
 212 
     | 
    
         
            +
                          "#{@api_key_prefix[param_name]} #{key}"
         
     | 
| 
       190 
213 
     | 
    
         
             
                        else
         
     | 
| 
       191 
     | 
    
         
            -
                           
     | 
| 
      
 214 
     | 
    
         
            +
                          key
         
     | 
| 
       192 
215 
     | 
    
         
             
                        end
         
     | 
| 
       193 
216 
     | 
    
         
             
                      end
         
     | 
| 
       194 
217 
     | 
    
         | 
| 
         @@ -221,18 +244,23 @@ module Hubspot 
     | 
|
| 
       221 
244 
     | 
    
         
             
                      def server_settings
         
     | 
| 
       222 
245 
     | 
    
         
             
                        [
         
     | 
| 
       223 
246 
     | 
    
         
             
                          {
         
     | 
| 
       224 
     | 
    
         
            -
                            url: "https://api.hubapi.com 
     | 
| 
      
 247 
     | 
    
         
            +
                            url: "https://api.hubapi.com",
         
     | 
| 
       225 
248 
     | 
    
         
             
                            description: "No description provided",
         
     | 
| 
       226 
249 
     | 
    
         
             
                          }
         
     | 
| 
       227 
250 
     | 
    
         
             
                        ]
         
     | 
| 
       228 
251 
     | 
    
         
             
                      end
         
     | 
| 
       229 
252 
     | 
    
         | 
| 
      
 253 
     | 
    
         
            +
                      def operation_server_settings
         
     | 
| 
      
 254 
     | 
    
         
            +
                        {
         
     | 
| 
      
 255 
     | 
    
         
            +
                        }
         
     | 
| 
      
 256 
     | 
    
         
            +
                      end
         
     | 
| 
      
 257 
     | 
    
         
            +
             
     | 
| 
       230 
258 
     | 
    
         
             
                      # Returns URL based on server settings
         
     | 
| 
       231 
259 
     | 
    
         
             
                      #
         
     | 
| 
       232 
260 
     | 
    
         
             
                      # @param index array index of the server settings
         
     | 
| 
       233 
261 
     | 
    
         
             
                      # @param variables hash of variable and the corresponding value
         
     | 
| 
       234 
     | 
    
         
            -
                      def server_url(index, variables = {})
         
     | 
| 
       235 
     | 
    
         
            -
                        servers = server_settings
         
     | 
| 
      
 262 
     | 
    
         
            +
                      def server_url(index, variables = {}, servers = nil)
         
     | 
| 
      
 263 
     | 
    
         
            +
                        servers = server_settings if servers == nil
         
     | 
| 
       236 
264 
     | 
    
         | 
| 
       237 
265 
     | 
    
         
             
                        # check array index out of bound
         
     | 
| 
       238 
266 
     | 
    
         
             
                        if (index < 0 || index >= servers.size)
         
     | 
| 
         @@ -242,10 +270,12 @@ module Hubspot 
     | 
|
| 
       242 
270 
     | 
    
         
             
                        server = servers[index]
         
     | 
| 
       243 
271 
     | 
    
         
             
                        url = server[:url]
         
     | 
| 
       244 
272 
     | 
    
         | 
| 
      
 273 
     | 
    
         
            +
                        return url unless server.key? :variables
         
     | 
| 
      
 274 
     | 
    
         
            +
             
     | 
| 
       245 
275 
     | 
    
         
             
                        # go through variable and assign a value
         
     | 
| 
       246 
276 
     | 
    
         
             
                        server[:variables].each do |name, variable|
         
     | 
| 
       247 
277 
     | 
    
         
             
                          if variables.key?(name)
         
     | 
| 
       248 
     | 
    
         
            -
                            if (server[:variables][name][:enum_values].include? 
     | 
| 
      
 278 
     | 
    
         
            +
                            if (!server[:variables][name].key?(:enum_values) || server[:variables][name][:enum_values].include?(variables[name]))
         
     | 
| 
       249 
279 
     | 
    
         
             
                              url.gsub! "{" + name.to_s + "}", variables[name]
         
     | 
| 
       250 
280 
     | 
    
         
             
                            else
         
     | 
| 
       251 
281 
     | 
    
         
             
                              fail ArgumentError, "The variable `#{name}` in the server URL has invalid value #{variables[name]}. Must be #{server[:variables][name][:enum_values]}."
         
     | 
| 
         @@ -258,6 +288,7 @@ module Hubspot 
     | 
|
| 
       258 
288 
     | 
    
         | 
| 
       259 
289 
     | 
    
         
             
                        url
         
     | 
| 
       260 
290 
     | 
    
         
             
                      end
         
     | 
| 
      
 291 
     | 
    
         
            +
             
     | 
| 
       261 
292 
     | 
    
         
             
                    end
         
     | 
| 
       262 
293 
     | 
    
         
             
                  end
         
     | 
| 
       263 
294 
     | 
    
         
             
                end
         
     | 
| 
         @@ -6,11 +6,12 @@ 
     | 
|
| 
       6 
6 
     | 
    
         
             
            The version of the OpenAPI document: v3
         
     | 
| 
       7 
7 
     | 
    
         | 
| 
       8 
8 
     | 
    
         
             
            Generated by: https://openapi-generator.tech
         
     | 
| 
       9 
     | 
    
         
            -
            OpenAPI Generator version:  
     | 
| 
      
 9 
     | 
    
         
            +
            OpenAPI Generator version: 6.2.1
         
     | 
| 
       10 
10 
     | 
    
         | 
| 
       11 
11 
     | 
    
         
             
            =end
         
     | 
| 
       12 
12 
     | 
    
         | 
| 
       13 
13 
     | 
    
         
             
            require 'date'
         
     | 
| 
      
 14 
     | 
    
         
            +
            require 'time'
         
     | 
| 
       14 
15 
     | 
    
         | 
| 
       15 
16 
     | 
    
         
             
            module Hubspot
         
     | 
| 
       16 
17 
     | 
    
         
             
              module Cms
         
     | 
| 
         @@ -61,6 +62,11 @@ module Hubspot 
     | 
|
| 
       61 
62 
     | 
    
         
             
                        }
         
     | 
| 
       62 
63 
     | 
    
         
             
                      end
         
     | 
| 
       63 
64 
     | 
    
         | 
| 
      
 65 
     | 
    
         
            +
                      # Returns all the JSON keys this model knows about
         
     | 
| 
      
 66 
     | 
    
         
            +
                      def self.acceptable_attributes
         
     | 
| 
      
 67 
     | 
    
         
            +
                        attribute_map.values
         
     | 
| 
      
 68 
     | 
    
         
            +
                      end
         
     | 
| 
      
 69 
     | 
    
         
            +
             
     | 
| 
       64 
70 
     | 
    
         
             
                      # Attribute type mapping.
         
     | 
| 
       65 
71 
     | 
    
         
             
                      def self.openapi_types
         
     | 
| 
       66 
72 
     | 
    
         
             
                        {
         
     | 
| 
         @@ -196,8 +202,11 @@ module Hubspot 
     | 
|
| 
       196 
202 
     | 
    
         
             
                      # @return [Object] Returns the model itself
         
     | 
| 
       197 
203 
     | 
    
         
             
                      def build_from_hash(attributes)
         
     | 
| 
       198 
204 
     | 
    
         
             
                        return nil unless attributes.is_a?(Hash)
         
     | 
| 
      
 205 
     | 
    
         
            +
                        attributes = attributes.transform_keys(&:to_sym)
         
     | 
| 
       199 
206 
     | 
    
         
             
                        self.class.openapi_types.each_pair do |key, type|
         
     | 
| 
       200 
     | 
    
         
            -
                          if  
     | 
| 
      
 207 
     | 
    
         
            +
                          if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
         
     | 
| 
      
 208 
     | 
    
         
            +
                            self.send("#{key}=", nil)
         
     | 
| 
      
 209 
     | 
    
         
            +
                          elsif type =~ /\AArray<(.*)>/i
         
     | 
| 
       201 
210 
     | 
    
         
             
                            # check to ensure the input is an array given that the attribute
         
     | 
| 
       202 
211 
     | 
    
         
             
                            # is documented as an array but the input is not
         
     | 
| 
       203 
212 
     | 
    
         
             
                            if attributes[self.class.attribute_map[key]].is_a?(Array)
         
     | 
| 
         @@ -205,7 +214,7 @@ module Hubspot 
     | 
|
| 
       205 
214 
     | 
    
         
             
                            end
         
     | 
| 
       206 
215 
     | 
    
         
             
                          elsif !attributes[self.class.attribute_map[key]].nil?
         
     | 
| 
       207 
216 
     | 
    
         
             
                            self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
         
     | 
| 
       208 
     | 
    
         
            -
                          end 
     | 
| 
      
 217 
     | 
    
         
            +
                          end
         
     | 
| 
       209 
218 
     | 
    
         
             
                        end
         
     | 
| 
       210 
219 
     | 
    
         | 
| 
       211 
220 
     | 
    
         
             
                        self
         
     | 
| 
         @@ -217,8 +226,8 @@ module Hubspot 
     | 
|
| 
       217 
226 
     | 
    
         
             
                      # @return [Object] Deserialized data
         
     | 
| 
       218 
227 
     | 
    
         
             
                      def _deserialize(type, value)
         
     | 
| 
       219 
228 
     | 
    
         
             
                        case type.to_sym
         
     | 
| 
       220 
     | 
    
         
            -
                        when : 
     | 
| 
       221 
     | 
    
         
            -
                           
     | 
| 
      
 229 
     | 
    
         
            +
                        when :Time
         
     | 
| 
      
 230 
     | 
    
         
            +
                          Time.parse(value)
         
     | 
| 
       222 
231 
     | 
    
         
             
                        when :Date
         
     | 
| 
       223 
232 
     | 
    
         
             
                          Date.parse(value)
         
     | 
| 
       224 
233 
     | 
    
         
             
                        when :String
         
     | 
| 
         @@ -248,7 +257,9 @@ module Hubspot 
     | 
|
| 
       248 
257 
     | 
    
         
             
                            end
         
     | 
| 
       249 
258 
     | 
    
         
             
                          end
         
     | 
| 
       250 
259 
     | 
    
         
             
                        else # model
         
     | 
| 
       251 
     | 
    
         
            -
                           
     | 
| 
      
 260 
     | 
    
         
            +
                          # models (e.g. Pet) or oneOf
         
     | 
| 
      
 261 
     | 
    
         
            +
                          klass = Hubspot::Cms::Blogs::Tags.const_get(type)
         
     | 
| 
      
 262 
     | 
    
         
            +
                          klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
         
     | 
| 
       252 
263 
     | 
    
         
             
                        end
         
     | 
| 
       253 
264 
     | 
    
         
             
                      end
         
     | 
| 
       254 
265 
     | 
    
         | 
| 
         @@ -274,7 +285,7 @@ module Hubspot 
     | 
|
| 
       274 
285 
     | 
    
         
             
                            is_nullable = self.class.openapi_nullable.include?(attr)
         
     | 
| 
       275 
286 
     | 
    
         
             
                            next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
         
     | 
| 
       276 
287 
     | 
    
         
             
                          end
         
     | 
| 
       277 
     | 
    
         
            -
             
     | 
| 
      
 288 
     | 
    
         
            +
             
     | 
| 
       278 
289 
     | 
    
         
             
                          hash[param] = _to_hash(value)
         
     | 
| 
       279 
290 
     | 
    
         
             
                        end
         
     | 
| 
       280 
291 
     | 
    
         
             
                        hash
         
     | 
| 
         @@ -297,7 +308,9 @@ module Hubspot 
     | 
|
| 
       297 
308 
     | 
    
         
             
                          value
         
     | 
| 
       298 
309 
     | 
    
         
             
                        end
         
     | 
| 
       299 
310 
     | 
    
         
             
                      end
         
     | 
| 
      
 311 
     | 
    
         
            +
             
     | 
| 
       300 
312 
     | 
    
         
             
                    end
         
     | 
| 
      
 313 
     | 
    
         
            +
             
     | 
| 
       301 
314 
     | 
    
         
             
                  end
         
     | 
| 
       302 
315 
     | 
    
         
             
                end
         
     | 
| 
       303 
316 
     | 
    
         
             
              end
         
     | 
| 
         @@ -6,11 +6,12 @@ 
     | 
|
| 
       6 
6 
     | 
    
         
             
            The version of the OpenAPI document: v3
         
     | 
| 
       7 
7 
     | 
    
         | 
| 
       8 
8 
     | 
    
         
             
            Generated by: https://openapi-generator.tech
         
     | 
| 
       9 
     | 
    
         
            -
            OpenAPI Generator version:  
     | 
| 
      
 9 
     | 
    
         
            +
            OpenAPI Generator version: 6.2.1
         
     | 
| 
       10 
10 
     | 
    
         | 
| 
       11 
11 
     | 
    
         
             
            =end
         
     | 
| 
       12 
12 
     | 
    
         | 
| 
       13 
13 
     | 
    
         
             
            require 'date'
         
     | 
| 
      
 14 
     | 
    
         
            +
            require 'time'
         
     | 
| 
       14 
15 
     | 
    
         | 
| 
       15 
16 
     | 
    
         
             
            module Hubspot
         
     | 
| 
       16 
17 
     | 
    
         
             
              module Cms
         
     | 
| 
         @@ -27,6 +28,11 @@ module Hubspot 
     | 
|
| 
       27 
28 
     | 
    
         
             
                        }
         
     | 
| 
       28 
29 
     | 
    
         
             
                      end
         
     | 
| 
       29 
30 
     | 
    
         | 
| 
      
 31 
     | 
    
         
            +
                      # Returns all the JSON keys this model knows about
         
     | 
| 
      
 32 
     | 
    
         
            +
                      def self.acceptable_attributes
         
     | 
| 
      
 33 
     | 
    
         
            +
                        attribute_map.values
         
     | 
| 
      
 34 
     | 
    
         
            +
                      end
         
     | 
| 
      
 35 
     | 
    
         
            +
             
     | 
| 
       30 
36 
     | 
    
         
             
                      # Attribute type mapping.
         
     | 
| 
       31 
37 
     | 
    
         
             
                      def self.openapi_types
         
     | 
| 
       32 
38 
     | 
    
         
             
                        {
         
     | 
| 
         @@ -112,8 +118,11 @@ module Hubspot 
     | 
|
| 
       112 
118 
     | 
    
         
             
                      # @return [Object] Returns the model itself
         
     | 
| 
       113 
119 
     | 
    
         
             
                      def build_from_hash(attributes)
         
     | 
| 
       114 
120 
     | 
    
         
             
                        return nil unless attributes.is_a?(Hash)
         
     | 
| 
      
 121 
     | 
    
         
            +
                        attributes = attributes.transform_keys(&:to_sym)
         
     | 
| 
       115 
122 
     | 
    
         
             
                        self.class.openapi_types.each_pair do |key, type|
         
     | 
| 
       116 
     | 
    
         
            -
                          if  
     | 
| 
      
 123 
     | 
    
         
            +
                          if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
         
     | 
| 
      
 124 
     | 
    
         
            +
                            self.send("#{key}=", nil)
         
     | 
| 
      
 125 
     | 
    
         
            +
                          elsif type =~ /\AArray<(.*)>/i
         
     | 
| 
       117 
126 
     | 
    
         
             
                            # check to ensure the input is an array given that the attribute
         
     | 
| 
       118 
127 
     | 
    
         
             
                            # is documented as an array but the input is not
         
     | 
| 
       119 
128 
     | 
    
         
             
                            if attributes[self.class.attribute_map[key]].is_a?(Array)
         
     | 
| 
         @@ -121,7 +130,7 @@ module Hubspot 
     | 
|
| 
       121 
130 
     | 
    
         
             
                            end
         
     | 
| 
       122 
131 
     | 
    
         
             
                          elsif !attributes[self.class.attribute_map[key]].nil?
         
     | 
| 
       123 
132 
     | 
    
         
             
                            self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
         
     | 
| 
       124 
     | 
    
         
            -
                          end 
     | 
| 
      
 133 
     | 
    
         
            +
                          end
         
     | 
| 
       125 
134 
     | 
    
         
             
                        end
         
     | 
| 
       126 
135 
     | 
    
         | 
| 
       127 
136 
     | 
    
         
             
                        self
         
     | 
| 
         @@ -133,8 +142,8 @@ module Hubspot 
     | 
|
| 
       133 
142 
     | 
    
         
             
                      # @return [Object] Deserialized data
         
     | 
| 
       134 
143 
     | 
    
         
             
                      def _deserialize(type, value)
         
     | 
| 
       135 
144 
     | 
    
         
             
                        case type.to_sym
         
     | 
| 
       136 
     | 
    
         
            -
                        when : 
     | 
| 
       137 
     | 
    
         
            -
                           
     | 
| 
      
 145 
     | 
    
         
            +
                        when :Time
         
     | 
| 
      
 146 
     | 
    
         
            +
                          Time.parse(value)
         
     | 
| 
       138 
147 
     | 
    
         
             
                        when :Date
         
     | 
| 
       139 
148 
     | 
    
         
             
                          Date.parse(value)
         
     | 
| 
       140 
149 
     | 
    
         
             
                        when :String
         
     | 
| 
         @@ -164,7 +173,9 @@ module Hubspot 
     | 
|
| 
       164 
173 
     | 
    
         
             
                            end
         
     | 
| 
       165 
174 
     | 
    
         
             
                          end
         
     | 
| 
       166 
175 
     | 
    
         
             
                        else # model
         
     | 
| 
       167 
     | 
    
         
            -
                           
     | 
| 
      
 176 
     | 
    
         
            +
                          # models (e.g. Pet) or oneOf
         
     | 
| 
      
 177 
     | 
    
         
            +
                          klass = Hubspot::Cms::Blogs::Tags.const_get(type)
         
     | 
| 
      
 178 
     | 
    
         
            +
                          klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
         
     | 
| 
       168 
179 
     | 
    
         
             
                        end
         
     | 
| 
       169 
180 
     | 
    
         
             
                      end
         
     | 
| 
       170 
181 
     | 
    
         | 
| 
         @@ -190,7 +201,7 @@ module Hubspot 
     | 
|
| 
       190 
201 
     | 
    
         
             
                            is_nullable = self.class.openapi_nullable.include?(attr)
         
     | 
| 
       191 
202 
     | 
    
         
             
                            next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
         
     | 
| 
       192 
203 
     | 
    
         
             
                          end
         
     | 
| 
       193 
     | 
    
         
            -
             
     | 
| 
      
 204 
     | 
    
         
            +
             
     | 
| 
       194 
205 
     | 
    
         
             
                          hash[param] = _to_hash(value)
         
     | 
| 
       195 
206 
     | 
    
         
             
                        end
         
     | 
| 
       196 
207 
     | 
    
         
             
                        hash
         
     | 
| 
         @@ -213,7 +224,9 @@ module Hubspot 
     | 
|
| 
       213 
224 
     | 
    
         
             
                          value
         
     | 
| 
       214 
225 
     | 
    
         
             
                        end
         
     | 
| 
       215 
226 
     | 
    
         
             
                      end
         
     | 
| 
      
 227 
     | 
    
         
            +
             
     | 
| 
       216 
228 
     | 
    
         
             
                    end
         
     | 
| 
      
 229 
     | 
    
         
            +
             
     | 
| 
       217 
230 
     | 
    
         
             
                  end
         
     | 
| 
       218 
231 
     | 
    
         
             
                end
         
     | 
| 
       219 
232 
     | 
    
         
             
              end
         
     | 
| 
         @@ -6,11 +6,12 @@ 
     | 
|
| 
       6 
6 
     | 
    
         
             
            The version of the OpenAPI document: v3
         
     | 
| 
       7 
7 
     | 
    
         | 
| 
       8 
8 
     | 
    
         
             
            Generated by: https://openapi-generator.tech
         
     | 
| 
       9 
     | 
    
         
            -
            OpenAPI Generator version:  
     | 
| 
      
 9 
     | 
    
         
            +
            OpenAPI Generator version: 6.2.1
         
     | 
| 
       10 
10 
     | 
    
         | 
| 
       11 
11 
     | 
    
         
             
            =end
         
     | 
| 
       12 
12 
     | 
    
         | 
| 
       13 
13 
     | 
    
         
             
            require 'date'
         
     | 
| 
      
 14 
     | 
    
         
            +
            require 'time'
         
     | 
| 
       14 
15 
     | 
    
         | 
| 
       15 
16 
     | 
    
         
             
            module Hubspot
         
     | 
| 
       16 
17 
     | 
    
         
             
              module Cms
         
     | 
| 
         @@ -27,6 +28,11 @@ module Hubspot 
     | 
|
| 
       27 
28 
     | 
    
         
             
                        }
         
     | 
| 
       28 
29 
     | 
    
         
             
                      end
         
     | 
| 
       29 
30 
     | 
    
         | 
| 
      
 31 
     | 
    
         
            +
                      # Returns all the JSON keys this model knows about
         
     | 
| 
      
 32 
     | 
    
         
            +
                      def self.acceptable_attributes
         
     | 
| 
      
 33 
     | 
    
         
            +
                        attribute_map.values
         
     | 
| 
      
 34 
     | 
    
         
            +
                      end
         
     | 
| 
      
 35 
     | 
    
         
            +
             
     | 
| 
       30 
36 
     | 
    
         
             
                      # Attribute type mapping.
         
     | 
| 
       31 
37 
     | 
    
         
             
                      def self.openapi_types
         
     | 
| 
       32 
38 
     | 
    
         
             
                        {
         
     | 
| 
         @@ -112,8 +118,11 @@ module Hubspot 
     | 
|
| 
       112 
118 
     | 
    
         
             
                      # @return [Object] Returns the model itself
         
     | 
| 
       113 
119 
     | 
    
         
             
                      def build_from_hash(attributes)
         
     | 
| 
       114 
120 
     | 
    
         
             
                        return nil unless attributes.is_a?(Hash)
         
     | 
| 
      
 121 
     | 
    
         
            +
                        attributes = attributes.transform_keys(&:to_sym)
         
     | 
| 
       115 
122 
     | 
    
         
             
                        self.class.openapi_types.each_pair do |key, type|
         
     | 
| 
       116 
     | 
    
         
            -
                          if  
     | 
| 
      
 123 
     | 
    
         
            +
                          if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
         
     | 
| 
      
 124 
     | 
    
         
            +
                            self.send("#{key}=", nil)
         
     | 
| 
      
 125 
     | 
    
         
            +
                          elsif type =~ /\AArray<(.*)>/i
         
     | 
| 
       117 
126 
     | 
    
         
             
                            # check to ensure the input is an array given that the attribute
         
     | 
| 
       118 
127 
     | 
    
         
             
                            # is documented as an array but the input is not
         
     | 
| 
       119 
128 
     | 
    
         
             
                            if attributes[self.class.attribute_map[key]].is_a?(Array)
         
     | 
| 
         @@ -121,7 +130,7 @@ module Hubspot 
     | 
|
| 
       121 
130 
     | 
    
         
             
                            end
         
     | 
| 
       122 
131 
     | 
    
         
             
                          elsif !attributes[self.class.attribute_map[key]].nil?
         
     | 
| 
       123 
132 
     | 
    
         
             
                            self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
         
     | 
| 
       124 
     | 
    
         
            -
                          end 
     | 
| 
      
 133 
     | 
    
         
            +
                          end
         
     | 
| 
       125 
134 
     | 
    
         
             
                        end
         
     | 
| 
       126 
135 
     | 
    
         | 
| 
       127 
136 
     | 
    
         
             
                        self
         
     | 
| 
         @@ -133,8 +142,8 @@ module Hubspot 
     | 
|
| 
       133 
142 
     | 
    
         
             
                      # @return [Object] Deserialized data
         
     | 
| 
       134 
143 
     | 
    
         
             
                      def _deserialize(type, value)
         
     | 
| 
       135 
144 
     | 
    
         
             
                        case type.to_sym
         
     | 
| 
       136 
     | 
    
         
            -
                        when : 
     | 
| 
       137 
     | 
    
         
            -
                           
     | 
| 
      
 145 
     | 
    
         
            +
                        when :Time
         
     | 
| 
      
 146 
     | 
    
         
            +
                          Time.parse(value)
         
     | 
| 
       138 
147 
     | 
    
         
             
                        when :Date
         
     | 
| 
       139 
148 
     | 
    
         
             
                          Date.parse(value)
         
     | 
| 
       140 
149 
     | 
    
         
             
                        when :String
         
     | 
| 
         @@ -164,7 +173,9 @@ module Hubspot 
     | 
|
| 
       164 
173 
     | 
    
         
             
                            end
         
     | 
| 
       165 
174 
     | 
    
         
             
                          end
         
     | 
| 
       166 
175 
     | 
    
         
             
                        else # model
         
     | 
| 
       167 
     | 
    
         
            -
                           
     | 
| 
      
 176 
     | 
    
         
            +
                          # models (e.g. Pet) or oneOf
         
     | 
| 
      
 177 
     | 
    
         
            +
                          klass = Hubspot::Cms::Blogs::Tags.const_get(type)
         
     | 
| 
      
 178 
     | 
    
         
            +
                          klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
         
     | 
| 
       168 
179 
     | 
    
         
             
                        end
         
     | 
| 
       169 
180 
     | 
    
         
             
                      end
         
     | 
| 
       170 
181 
     | 
    
         | 
| 
         @@ -190,7 +201,7 @@ module Hubspot 
     | 
|
| 
       190 
201 
     | 
    
         
             
                            is_nullable = self.class.openapi_nullable.include?(attr)
         
     | 
| 
       191 
202 
     | 
    
         
             
                            next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
         
     | 
| 
       192 
203 
     | 
    
         
             
                          end
         
     | 
| 
       193 
     | 
    
         
            -
             
     | 
| 
      
 204 
     | 
    
         
            +
             
     | 
| 
       194 
205 
     | 
    
         
             
                          hash[param] = _to_hash(value)
         
     | 
| 
       195 
206 
     | 
    
         
             
                        end
         
     | 
| 
       196 
207 
     | 
    
         
             
                        hash
         
     | 
| 
         @@ -213,7 +224,9 @@ module Hubspot 
     | 
|
| 
       213 
224 
     | 
    
         
             
                          value
         
     | 
| 
       214 
225 
     | 
    
         
             
                        end
         
     | 
| 
       215 
226 
     | 
    
         
             
                      end
         
     | 
| 
      
 227 
     | 
    
         
            +
             
     | 
| 
       216 
228 
     | 
    
         
             
                    end
         
     | 
| 
      
 229 
     | 
    
         
            +
             
     | 
| 
       217 
230 
     | 
    
         
             
                  end
         
     | 
| 
       218 
231 
     | 
    
         
             
                end
         
     | 
| 
       219 
232 
     | 
    
         
             
              end
         
     | 
| 
         @@ -6,11 +6,12 @@ 
     | 
|
| 
       6 
6 
     | 
    
         
             
            The version of the OpenAPI document: v3
         
     | 
| 
       7 
7 
     | 
    
         | 
| 
       8 
8 
     | 
    
         
             
            Generated by: https://openapi-generator.tech
         
     | 
| 
       9 
     | 
    
         
            -
            OpenAPI Generator version:  
     | 
| 
      
 9 
     | 
    
         
            +
            OpenAPI Generator version: 6.2.1
         
     | 
| 
       10 
10 
     | 
    
         | 
| 
       11 
11 
     | 
    
         
             
            =end
         
     | 
| 
       12 
12 
     | 
    
         | 
| 
       13 
13 
     | 
    
         
             
            require 'date'
         
     | 
| 
      
 14 
     | 
    
         
            +
            require 'time'
         
     | 
| 
       14 
15 
     | 
    
         | 
| 
       15 
16 
     | 
    
         
             
            module Hubspot
         
     | 
| 
       16 
17 
     | 
    
         
             
              module Cms
         
     | 
| 
         @@ -27,6 +28,11 @@ module Hubspot 
     | 
|
| 
       27 
28 
     | 
    
         
             
                        }
         
     | 
| 
       28 
29 
     | 
    
         
             
                      end
         
     | 
| 
       29 
30 
     | 
    
         | 
| 
      
 31 
     | 
    
         
            +
                      # Returns all the JSON keys this model knows about
         
     | 
| 
      
 32 
     | 
    
         
            +
                      def self.acceptable_attributes
         
     | 
| 
      
 33 
     | 
    
         
            +
                        attribute_map.values
         
     | 
| 
      
 34 
     | 
    
         
            +
                      end
         
     | 
| 
      
 35 
     | 
    
         
            +
             
     | 
| 
       30 
36 
     | 
    
         
             
                      # Attribute type mapping.
         
     | 
| 
       31 
37 
     | 
    
         
             
                      def self.openapi_types
         
     | 
| 
       32 
38 
     | 
    
         
             
                        {
         
     | 
| 
         @@ -112,8 +118,11 @@ module Hubspot 
     | 
|
| 
       112 
118 
     | 
    
         
             
                      # @return [Object] Returns the model itself
         
     | 
| 
       113 
119 
     | 
    
         
             
                      def build_from_hash(attributes)
         
     | 
| 
       114 
120 
     | 
    
         
             
                        return nil unless attributes.is_a?(Hash)
         
     | 
| 
      
 121 
     | 
    
         
            +
                        attributes = attributes.transform_keys(&:to_sym)
         
     | 
| 
       115 
122 
     | 
    
         
             
                        self.class.openapi_types.each_pair do |key, type|
         
     | 
| 
       116 
     | 
    
         
            -
                          if  
     | 
| 
      
 123 
     | 
    
         
            +
                          if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
         
     | 
| 
      
 124 
     | 
    
         
            +
                            self.send("#{key}=", nil)
         
     | 
| 
      
 125 
     | 
    
         
            +
                          elsif type =~ /\AArray<(.*)>/i
         
     | 
| 
       117 
126 
     | 
    
         
             
                            # check to ensure the input is an array given that the attribute
         
     | 
| 
       118 
127 
     | 
    
         
             
                            # is documented as an array but the input is not
         
     | 
| 
       119 
128 
     | 
    
         
             
                            if attributes[self.class.attribute_map[key]].is_a?(Array)
         
     | 
| 
         @@ -121,7 +130,7 @@ module Hubspot 
     | 
|
| 
       121 
130 
     | 
    
         
             
                            end
         
     | 
| 
       122 
131 
     | 
    
         
             
                          elsif !attributes[self.class.attribute_map[key]].nil?
         
     | 
| 
       123 
132 
     | 
    
         
             
                            self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
         
     | 
| 
       124 
     | 
    
         
            -
                          end 
     | 
| 
      
 133 
     | 
    
         
            +
                          end
         
     | 
| 
       125 
134 
     | 
    
         
             
                        end
         
     | 
| 
       126 
135 
     | 
    
         | 
| 
       127 
136 
     | 
    
         
             
                        self
         
     | 
| 
         @@ -133,8 +142,8 @@ module Hubspot 
     | 
|
| 
       133 
142 
     | 
    
         
             
                      # @return [Object] Deserialized data
         
     | 
| 
       134 
143 
     | 
    
         
             
                      def _deserialize(type, value)
         
     | 
| 
       135 
144 
     | 
    
         
             
                        case type.to_sym
         
     | 
| 
       136 
     | 
    
         
            -
                        when : 
     | 
| 
       137 
     | 
    
         
            -
                           
     | 
| 
      
 145 
     | 
    
         
            +
                        when :Time
         
     | 
| 
      
 146 
     | 
    
         
            +
                          Time.parse(value)
         
     | 
| 
       138 
147 
     | 
    
         
             
                        when :Date
         
     | 
| 
       139 
148 
     | 
    
         
             
                          Date.parse(value)
         
     | 
| 
       140 
149 
     | 
    
         
             
                        when :String
         
     | 
| 
         @@ -164,7 +173,9 @@ module Hubspot 
     | 
|
| 
       164 
173 
     | 
    
         
             
                            end
         
     | 
| 
       165 
174 
     | 
    
         
             
                          end
         
     | 
| 
       166 
175 
     | 
    
         
             
                        else # model
         
     | 
| 
       167 
     | 
    
         
            -
                           
     | 
| 
      
 176 
     | 
    
         
            +
                          # models (e.g. Pet) or oneOf
         
     | 
| 
      
 177 
     | 
    
         
            +
                          klass = Hubspot::Cms::Blogs::Tags.const_get(type)
         
     | 
| 
      
 178 
     | 
    
         
            +
                          klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
         
     | 
| 
       168 
179 
     | 
    
         
             
                        end
         
     | 
| 
       169 
180 
     | 
    
         
             
                      end
         
     | 
| 
       170 
181 
     | 
    
         | 
| 
         @@ -190,7 +201,7 @@ module Hubspot 
     | 
|
| 
       190 
201 
     | 
    
         
             
                            is_nullable = self.class.openapi_nullable.include?(attr)
         
     | 
| 
       191 
202 
     | 
    
         
             
                            next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
         
     | 
| 
       192 
203 
     | 
    
         
             
                          end
         
     | 
| 
       193 
     | 
    
         
            -
             
     | 
| 
      
 204 
     | 
    
         
            +
             
     | 
| 
       194 
205 
     | 
    
         
             
                          hash[param] = _to_hash(value)
         
     | 
| 
       195 
206 
     | 
    
         
             
                        end
         
     | 
| 
       196 
207 
     | 
    
         
             
                        hash
         
     | 
| 
         @@ -213,7 +224,9 @@ module Hubspot 
     | 
|
| 
       213 
224 
     | 
    
         
             
                          value
         
     | 
| 
       214 
225 
     | 
    
         
             
                        end
         
     | 
| 
       215 
226 
     | 
    
         
             
                      end
         
     | 
| 
      
 227 
     | 
    
         
            +
             
     | 
| 
       216 
228 
     | 
    
         
             
                    end
         
     | 
| 
      
 229 
     | 
    
         
            +
             
     | 
| 
       217 
230 
     | 
    
         
             
                  end
         
     | 
| 
       218 
231 
     | 
    
         
             
                end
         
     | 
| 
       219 
232 
     | 
    
         
             
              end
         
     |