hubspot-api-client 17.2.0 → 18.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +195 -1
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/lib/hubspot/codegen/automation/actions/api/callbacks_api.rb +12 -16
- data/lib/hubspot/codegen/automation/actions/api/definitions_api.rb +54 -64
- data/lib/hubspot/codegen/automation/actions/api/functions_api.rb +73 -87
- data/lib/hubspot/codegen/automation/actions/api/revisions_api.rb +20 -24
- data/lib/hubspot/codegen/automation/actions/api_client.rb +2 -2
- data/lib/hubspot/codegen/automation/actions/api_error.rb +2 -2
- data/lib/hubspot/codegen/automation/actions/configuration.rb +2 -2
- data/lib/hubspot/codegen/automation/actions/models/batch_input_callback_completion_batch_request.rb +2 -2
- data/lib/hubspot/codegen/automation/actions/models/callback_completion_batch_request.rb +20 -23
- data/lib/hubspot/codegen/automation/actions/models/callback_completion_request.rb +2 -4
- data/lib/hubspot/codegen/automation/actions/models/{collection_response_extension_action_definition_forward_paging.rb → collection_response_public_action_definition_forward_paging.rb} +18 -18
- data/lib/hubspot/codegen/automation/actions/models/{collection_response_action_function_identifier_no_paging.rb → collection_response_public_action_function_identifier_no_paging.rb} +6 -6
- data/lib/hubspot/codegen/automation/actions/models/{collection_response_action_revision_forward_paging.rb → collection_response_public_action_revision_forward_paging.rb} +18 -18
- data/lib/hubspot/codegen/automation/actions/models/error.rb +52 -52
- data/lib/hubspot/codegen/automation/actions/models/error_detail.rb +30 -30
- data/lib/hubspot/codegen/automation/actions/models/field_type_definition.rb +87 -44
- data/lib/hubspot/codegen/automation/actions/models/forward_paging.rb +2 -2
- data/lib/hubspot/codegen/automation/actions/models/input_field_definition.rb +29 -23
- data/lib/hubspot/codegen/automation/actions/models/next_page.rb +15 -15
- data/lib/hubspot/codegen/automation/actions/models/option.rb +43 -46
- data/lib/hubspot/codegen/{files/files/models/next_page.rb → automation/actions/models/output_field_definition.rb} +19 -28
- data/lib/hubspot/codegen/automation/actions/models/{extension_action_definition.rb → public_action_definition.rb} +83 -71
- data/lib/hubspot/codegen/automation/actions/models/{extension_action_definition_input.rb → public_action_definition_egg.rb} +76 -63
- data/lib/hubspot/codegen/automation/actions/models/{extension_action_definition_patch_input_field_dependencies_inner.rb → public_action_definition_input_field_dependencies_inner.rb} +5 -5
- data/lib/hubspot/codegen/automation/actions/models/{extension_action_definition_patch.rb → public_action_definition_patch.rb} +59 -44
- data/lib/hubspot/codegen/automation/actions/models/{action_function.rb → public_action_function.rb} +7 -11
- data/lib/hubspot/codegen/automation/actions/models/{action_function_identifier.rb → public_action_function_identifier.rb} +7 -10
- data/lib/hubspot/codegen/automation/actions/models/{action_labels.rb → public_action_labels.rb} +62 -36
- data/lib/hubspot/codegen/automation/actions/models/{action_revision.rb → public_action_revision.rb} +32 -35
- data/lib/hubspot/codegen/automation/actions/models/{conditional_single_field_dependency.rb → public_conditional_single_field_dependency.rb} +5 -5
- data/lib/hubspot/codegen/automation/actions/models/public_execution_translation_rule.rb +244 -0
- data/lib/hubspot/codegen/automation/actions/models/{object_request_options.rb → public_object_request_options.rb} +5 -7
- data/lib/hubspot/codegen/automation/actions/models/{single_field_dependency.rb → public_single_field_dependency.rb} +5 -5
- data/lib/hubspot/codegen/cms/audit_logs/api/audit_logs_api.rb +14 -14
- data/lib/hubspot/codegen/cms/audit_logs/api_client.rb +1 -1
- data/lib/hubspot/codegen/cms/audit_logs/api_error.rb +1 -1
- data/lib/hubspot/codegen/cms/audit_logs/configuration.rb +1 -8
- data/lib/hubspot/codegen/cms/audit_logs/models/collection_response_public_audit_log.rb +15 -14
- data/lib/hubspot/codegen/cms/audit_logs/models/error.rb +51 -51
- data/lib/hubspot/codegen/cms/audit_logs/models/error_detail.rb +29 -29
- data/lib/hubspot/codegen/cms/audit_logs/models/next_page.rb +14 -14
- data/lib/hubspot/codegen/cms/audit_logs/models/paging.rb +14 -5
- data/lib/hubspot/codegen/{files/files → cms/audit_logs}/models/previous_page.rb +7 -7
- data/lib/hubspot/codegen/cms/audit_logs/models/public_audit_log.rb +60 -51
- data/lib/hubspot/codegen/cms/blogs/authors/api/blog_authors_api.rb +22 -16
- data/lib/hubspot/codegen/cms/blogs/authors/api_client.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/authors/api_error.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/authors/configuration.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/authors/models/attach_to_lang_primary_request_v_next.rb +18 -64
- data/lib/hubspot/codegen/cms/blogs/authors/models/batch_input_blog_author.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/authors/models/batch_input_json_node.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/authors/models/batch_input_string.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/authors/models/batch_response_blog_author.rb +45 -45
- data/lib/hubspot/codegen/cms/blogs/authors/models/batch_response_blog_author_with_errors.rb +57 -57
- data/lib/hubspot/codegen/cms/blogs/authors/models/blog_author.rb +142 -142
- data/lib/hubspot/codegen/cms/blogs/authors/models/blog_author_clone_request_v_next.rb +12 -12
- data/lib/hubspot/codegen/cms/blogs/authors/models/collection_response_with_total_blog_author_forward_paging.rb +14 -14
- data/lib/hubspot/codegen/cms/blogs/authors/models/detach_from_lang_group_request_v_next.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/authors/models/error.rb +51 -51
- data/lib/hubspot/codegen/cms/blogs/authors/models/error_detail.rb +29 -29
- data/lib/hubspot/codegen/cms/blogs/authors/models/forward_paging.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/authors/models/next_page.rb +16 -14
- data/lib/hubspot/codegen/cms/blogs/authors/models/set_new_language_primary_request_v_next.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/authors/models/standard_error.rb +53 -53
- data/lib/hubspot/codegen/cms/blogs/authors/models/update_languages_request_v_next.rb +19 -41
- data/lib/hubspot/codegen/cms/blogs/blog_posts/api/blog_posts_api.rb +46 -40
- data/lib/hubspot/codegen/cms/blogs/blog_posts/api_client.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog_posts/api_error.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog_posts/configuration.rb +1 -8
- data/lib/hubspot/codegen/cms/blogs/blog_posts/models/angle.rb +18 -52
- data/lib/hubspot/codegen/cms/blogs/blog_posts/models/attach_to_lang_primary_request_v_next.rb +18 -64
- data/lib/hubspot/codegen/cms/blogs/blog_posts/models/background_image.rb +1 -35
- data/lib/hubspot/codegen/cms/blogs/blog_posts/models/batch_input_blog_post.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog_posts/models/batch_input_json_node.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog_posts/models/batch_input_string.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog_posts/models/batch_response_blog_post.rb +45 -45
- data/lib/hubspot/codegen/cms/blogs/blog_posts/models/batch_response_blog_post_with_errors.rb +57 -57
- data/lib/hubspot/codegen/cms/blogs/blog_posts/models/blog_post.rb +571 -560
- data/lib/hubspot/codegen/cms/blogs/blog_posts/models/blog_post_language_clone_request_v_next.rb +15 -15
- data/lib/hubspot/codegen/cms/blogs/blog_posts/models/collection_response_with_total_blog_post_forward_paging.rb +14 -14
- data/lib/hubspot/codegen/cms/blogs/blog_posts/models/collection_response_with_total_version_blog_post.rb +14 -14
- data/lib/hubspot/codegen/cms/blogs/blog_posts/models/color_stop.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog_posts/models/content_clone_request_v_next.rb +15 -15
- data/lib/hubspot/codegen/cms/blogs/blog_posts/models/content_language_variation.rb +98 -98
- data/lib/hubspot/codegen/cms/blogs/blog_posts/models/content_schedule_request_v_next.rb +20 -20
- data/lib/hubspot/codegen/cms/blogs/blog_posts/models/detach_from_lang_group_request_v_next.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog_posts/models/error.rb +51 -51
- data/lib/hubspot/codegen/cms/blogs/blog_posts/models/error_detail.rb +29 -29
- data/lib/hubspot/codegen/cms/blogs/blog_posts/models/forward_paging.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog_posts/models/gradient.rb +16 -16
- data/lib/hubspot/codegen/cms/blogs/blog_posts/models/layout_section.rb +48 -48
- data/lib/hubspot/codegen/cms/blogs/blog_posts/models/next_page.rb +16 -14
- data/lib/hubspot/codegen/cms/blogs/blog_posts/models/paging.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog_posts/models/previous_page.rb +3 -1
- data/lib/hubspot/codegen/cms/blogs/blog_posts/models/rgba_color.rb +27 -27
- data/lib/hubspot/codegen/cms/blogs/blog_posts/models/row_meta_data.rb +19 -19
- data/lib/hubspot/codegen/cms/blogs/blog_posts/models/set_new_language_primary_request_v_next.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog_posts/models/side_or_corner.rb +18 -64
- data/lib/hubspot/codegen/cms/blogs/blog_posts/models/standard_error.rb +53 -53
- data/lib/hubspot/codegen/cms/blogs/blog_posts/models/styles.rb +47 -93
- data/lib/hubspot/codegen/cms/blogs/blog_posts/models/update_languages_request_v_next.rb +19 -41
- data/lib/hubspot/codegen/cms/blogs/blog_posts/models/version_blog_post.rb +21 -21
- data/lib/hubspot/codegen/cms/blogs/blog_posts/models/version_user.rb +20 -20
- data/lib/hubspot/codegen/cms/blogs/tags/api/blog_tags_api.rb +22 -16
- data/lib/hubspot/codegen/cms/blogs/tags/api_client.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/tags/api_error.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/tags/configuration.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/tags/models/attach_to_lang_primary_request_v_next.rb +18 -64
- data/lib/hubspot/codegen/cms/blogs/tags/models/batch_input_json_node.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/tags/models/batch_input_string.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/tags/models/batch_input_tag.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/tags/models/batch_response_tag.rb +45 -45
- data/lib/hubspot/codegen/cms/blogs/tags/models/batch_response_tag_with_errors.rb +57 -57
- data/lib/hubspot/codegen/cms/blogs/tags/models/collection_response_with_total_tag_forward_paging.rb +14 -14
- data/lib/hubspot/codegen/cms/blogs/tags/models/detach_from_lang_group_request_v_next.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/tags/models/error.rb +51 -51
- data/lib/hubspot/codegen/cms/blogs/tags/models/error_detail.rb +29 -29
- data/lib/hubspot/codegen/cms/blogs/tags/models/forward_paging.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/tags/models/next_page.rb +16 -14
- data/lib/hubspot/codegen/cms/blogs/tags/models/set_new_language_primary_request_v_next.rb +1 -1
- data/lib/hubspot/codegen/cms/blogs/tags/models/standard_error.rb +53 -53
- data/lib/hubspot/codegen/cms/blogs/tags/models/tag.rb +46 -46
- data/lib/hubspot/codegen/cms/blogs/tags/models/tag_clone_request_v_next.rb +27 -27
- data/lib/hubspot/codegen/cms/blogs/tags/models/update_languages_request_v_next.rb +19 -41
- data/lib/hubspot/codegen/cms/domains/api/domains_api.rb +1 -1
- data/lib/hubspot/codegen/cms/domains/api_client.rb +1 -1
- data/lib/hubspot/codegen/cms/domains/api_error.rb +1 -1
- data/lib/hubspot/codegen/cms/domains/configuration.rb +1 -1
- data/lib/hubspot/codegen/cms/domains/models/collection_response_with_total_domain_forward_paging.rb +14 -14
- data/lib/hubspot/codegen/cms/domains/models/domain.rb +111 -111
- data/lib/hubspot/codegen/cms/domains/models/error.rb +51 -51
- data/lib/hubspot/codegen/cms/domains/models/error_detail.rb +29 -29
- data/lib/hubspot/codegen/cms/domains/models/forward_paging.rb +1 -1
- data/lib/hubspot/codegen/cms/domains/models/next_page.rb +14 -14
- data/lib/hubspot/codegen/cms/hubdb/api/rows_api.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/api/rows_batch_api.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/api/tables_api.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/api_client.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/api_error.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/configuration.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/batch_input_hub_db_table_row_v3_batch_update_request.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/batch_input_hub_db_table_row_v3_request.rb +2 -1
- data/lib/hubspot/codegen/cms/hubdb/models/batch_input_string.rb +2 -1
- data/lib/hubspot/codegen/cms/hubdb/models/batch_response_hub_db_table_row_v3.rb +31 -31
- data/lib/hubspot/codegen/cms/hubdb/models/batch_response_hub_db_table_row_v3_with_errors.rb +61 -53
- data/lib/hubspot/codegen/cms/hubdb/models/collection_response_with_total_hub_db_table_row_v3_forward_paging.rb +16 -14
- data/lib/hubspot/codegen/cms/hubdb/models/collection_response_with_total_hub_db_table_v3_forward_paging.rb +16 -14
- data/lib/hubspot/codegen/cms/hubdb/models/column.rb +83 -83
- data/lib/hubspot/codegen/cms/hubdb/models/column_request.rb +41 -41
- data/lib/hubspot/codegen/cms/hubdb/models/error.rb +51 -51
- data/lib/hubspot/codegen/cms/hubdb/models/error_detail.rb +29 -29
- data/lib/hubspot/codegen/cms/hubdb/models/foreign_id.rb +19 -16
- data/lib/hubspot/codegen/cms/hubdb/models/forward_paging.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_clone_request.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3.rb +48 -48
- data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3_batch_update_request.rb +21 -21
- data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3_request.rb +12 -12
- data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_v3.rb +106 -106
- data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_v3_request.rb +48 -48
- data/lib/hubspot/codegen/cms/hubdb/models/import_result.rb +32 -32
- data/lib/hubspot/codegen/cms/hubdb/models/next_page.rb +16 -14
- data/lib/hubspot/codegen/cms/hubdb/models/option.rb +20 -16
- data/lib/hubspot/codegen/cms/hubdb/models/simple_user.rb +37 -33
- data/lib/hubspot/codegen/cms/hubdb/models/standard_error.rb +55 -47
- data/lib/hubspot/codegen/cms/performance/api/public_performance_api.rb +1 -1
- data/lib/hubspot/codegen/cms/performance/api_client.rb +1 -1
- data/lib/hubspot/codegen/cms/performance/api_error.rb +1 -1
- data/lib/hubspot/codegen/cms/performance/configuration.rb +1 -1
- data/lib/hubspot/codegen/cms/performance/models/error.rb +51 -51
- data/lib/hubspot/codegen/cms/performance/models/error_detail.rb +29 -29
- data/lib/hubspot/codegen/cms/performance/models/performance_view.rb +105 -120
- data/lib/hubspot/codegen/cms/performance/models/public_performance_response.rb +54 -54
- data/lib/hubspot/codegen/cms/site_search/api/public_api.rb +3 -3
- data/lib/hubspot/codegen/cms/site_search/configuration.rb +0 -7
- data/lib/hubspot/codegen/cms/site_search/models/content_search_result.rb +113 -113
- data/lib/hubspot/codegen/cms/site_search/models/error.rb +50 -50
- data/lib/hubspot/codegen/cms/site_search/models/error_detail.rb +28 -28
- data/lib/hubspot/codegen/cms/site_search/models/indexed_field.rb +17 -17
- data/lib/hubspot/codegen/cms/site_search/models/public_search_results.rb +27 -27
- data/lib/hubspot/codegen/cms/source_code/api/content_api.rb +48 -48
- data/lib/hubspot/codegen/cms/source_code/api/extract_api.rb +1 -1
- data/lib/hubspot/codegen/cms/source_code/api/metadata_api.rb +4 -1
- data/lib/hubspot/codegen/cms/source_code/api/source_code_extract_api.rb +9 -4
- data/lib/hubspot/codegen/cms/source_code/api/validation_api.rb +1 -1
- data/lib/hubspot/codegen/cms/source_code/configuration.rb +0 -7
- data/lib/hubspot/codegen/cms/source_code/models/action_response.rb +25 -25
- data/lib/hubspot/codegen/cms/source_code/models/asset_file_metadata.rb +56 -47
- data/lib/hubspot/codegen/cms/source_code/models/error.rb +50 -50
- data/lib/hubspot/codegen/cms/source_code/models/error_detail.rb +28 -28
- data/lib/hubspot/codegen/cms/source_code/models/task_locator.rb +13 -13
- data/lib/hubspot/codegen/cms/url_redirects/api/redirects_api.rb +6 -6
- data/lib/hubspot/codegen/cms/url_redirects/api_client.rb +1 -1
- data/lib/hubspot/codegen/cms/url_redirects/api_error.rb +1 -1
- data/lib/hubspot/codegen/cms/url_redirects/configuration.rb +1 -8
- data/lib/hubspot/codegen/cms/url_redirects/models/collection_response_with_total_url_mapping_forward_paging.rb +14 -14
- data/lib/hubspot/codegen/cms/url_redirects/models/error.rb +51 -51
- data/lib/hubspot/codegen/cms/url_redirects/models/error_detail.rb +29 -29
- data/lib/hubspot/codegen/cms/url_redirects/models/forward_paging.rb +1 -1
- data/lib/hubspot/codegen/cms/url_redirects/models/next_page.rb +14 -14
- data/lib/hubspot/codegen/cms/url_redirects/models/url_mapping.rb +91 -91
- data/lib/hubspot/codegen/cms/url_redirects/models/url_mapping_create_request_body.rb +58 -58
- data/lib/hubspot/codegen/communication_preferences/api/definition_api.rb +1 -1
- data/lib/hubspot/codegen/communication_preferences/api/status_api.rb +3 -3
- data/lib/hubspot/codegen/communication_preferences/configuration.rb +0 -7
- data/lib/hubspot/codegen/communication_preferences/models/error.rb +50 -50
- data/lib/hubspot/codegen/communication_preferences/models/error_detail.rb +28 -28
- data/lib/hubspot/codegen/communication_preferences/models/public_subscription_status.rb +62 -62
- data/lib/hubspot/codegen/communication_preferences/models/public_update_subscription_status_request.rb +12 -12
- data/lib/hubspot/codegen/communication_preferences/models/subscription_definition.rb +71 -71
- data/lib/hubspot/codegen/conversations/visitor_identification/api/generate_api.rb +1 -1
- data/lib/hubspot/codegen/conversations/visitor_identification/configuration.rb +0 -7
- data/lib/hubspot/codegen/conversations/visitor_identification/models/error.rb +50 -50
- data/lib/hubspot/codegen/conversations/visitor_identification/models/error_detail.rb +28 -28
- data/lib/hubspot/codegen/conversations/visitor_identification/models/identification_token_generation_request.rb +14 -14
- data/lib/hubspot/codegen/conversations/visitor_identification/models/identification_token_response.rb +1 -0
- data/lib/hubspot/codegen/crm/associations/api/batch_api.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/api_client.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/configuration.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/associated_id.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/batch_input_public_association.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/batch_input_public_object_id.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/batch_response_public_association.rb +42 -42
- data/lib/hubspot/codegen/crm/associations/models/batch_response_public_association_multi.rb +42 -42
- data/lib/hubspot/codegen/crm/associations/models/batch_response_public_association_multi_with_errors.rb +53 -53
- data/lib/hubspot/codegen/crm/associations/models/batch_response_public_association_with_errors.rb +53 -53
- data/lib/hubspot/codegen/crm/associations/models/error.rb +51 -51
- data/lib/hubspot/codegen/crm/associations/models/error_detail.rb +29 -29
- data/lib/hubspot/codegen/crm/associations/models/next_page.rb +14 -14
- data/lib/hubspot/codegen/crm/associations/models/paging.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/previous_page.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/public_association.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/public_association_multi.rb +14 -14
- data/lib/hubspot/codegen/crm/associations/models/public_object_id.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/standard_error.rb +48 -48
- data/lib/hubspot/codegen/crm/associations/schema/api/types_api.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/schema/api_client.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/schema/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/schema/configuration.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/schema/models/collection_response_public_association_definition_no_paging.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/schema/models/error.rb +51 -51
- data/lib/hubspot/codegen/crm/associations/schema/models/error_detail.rb +29 -29
- data/lib/hubspot/codegen/crm/associations/schema/models/public_association_definition.rb +19 -19
- data/lib/hubspot/codegen/crm/associations/v4/api/basic_api.rb +15 -15
- data/lib/hubspot/codegen/crm/associations/v4/api/batch_api.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/api_client.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/configuration.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/association_spec.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/association_spec_with_label.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_public_association_multi_archive.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_public_association_multi_post.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_public_default_association_multi_post.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_public_fetch_associations_batch_request.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_labels_between_object_pair.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_labels_between_object_pair_with_errors.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_public_association_multi_with_label.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_public_association_multi_with_label_with_errors.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_public_default_association.rb +2 -2
- data/lib/hubspot/codegen/crm/associations/v4/models/collection_response_multi_associated_object_with_label_forward_paging.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/error.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/forward_paging.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/labels_between_object_pair.rb +3 -3
- data/lib/hubspot/codegen/crm/associations/v4/models/multi_associated_object_with_label.rb +2 -2
- data/lib/hubspot/codegen/crm/associations/v4/models/next_page.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/paging.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/previous_page.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/public_association_multi_archive.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/public_association_multi_post.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/public_association_multi_with_label.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/public_default_association.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/public_default_association_multi_post.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/public_fetch_associations_batch_request.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/public_object_id.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/standard_error.rb +2 -2
- data/lib/hubspot/codegen/crm/associations/v4/schema/api/definitions_api.rb +56 -56
- data/lib/hubspot/codegen/crm/associations/v4/schema/api_client.rb +2 -2
- data/lib/hubspot/codegen/crm/associations/v4/schema/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/schema/configuration.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/association_spec_with_label.rb +22 -22
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/collection_response_association_spec_with_label_no_paging.rb +4 -4
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/error.rb +54 -54
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/error_detail.rb +32 -32
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_association_definition_create_request.rb +28 -19
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_association_definition_update_request.rb +28 -19
- data/lib/hubspot/codegen/crm/companies/api/gdpr_api.rb +94 -0
- data/lib/hubspot/codegen/crm/companies/models/batch_read_input_simple_public_object_id.rb +20 -20
- data/lib/hubspot/codegen/crm/companies/models/batch_response_simple_public_object.rb +41 -41
- data/lib/hubspot/codegen/crm/companies/models/batch_response_simple_public_object_with_errors.rb +52 -52
- data/lib/hubspot/codegen/crm/companies/models/collection_response_associated_id.rb +13 -13
- data/lib/hubspot/codegen/crm/companies/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
- data/lib/hubspot/codegen/crm/companies/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
- data/lib/hubspot/codegen/crm/companies/models/error.rb +50 -50
- data/lib/hubspot/codegen/crm/companies/models/error_detail.rb +28 -28
- data/lib/hubspot/codegen/crm/companies/models/filter.rb +16 -16
- data/lib/hubspot/codegen/crm/companies/models/next_page.rb +13 -13
- data/lib/hubspot/codegen/crm/companies/models/public_associations_for_object.rb +18 -18
- data/lib/hubspot/codegen/{files/files/models/folder_update_task_locator.rb → crm/companies/models/public_gdpr_delete_input.rb} +24 -29
- data/lib/hubspot/codegen/crm/companies/models/public_merge_input.rb +18 -18
- data/lib/hubspot/codegen/crm/companies/models/public_object_search_request.rb +44 -44
- data/lib/hubspot/codegen/crm/companies/models/simple_public_object.rb +44 -44
- data/lib/hubspot/codegen/crm/companies/models/simple_public_object_batch_input.rb +26 -17
- data/lib/hubspot/codegen/crm/companies/models/simple_public_object_input_for_create.rb +20 -20
- data/lib/hubspot/codegen/crm/companies/models/simple_public_object_with_associations.rb +49 -49
- data/lib/hubspot/codegen/crm/companies/models/standard_error.rb +46 -46
- data/lib/hubspot/codegen/crm/companies/models/value_with_timestamp.rb +33 -33
- data/lib/hubspot/codegen/crm/contacts/api/gdpr_api.rb +9 -9
- data/lib/hubspot/codegen/crm/contacts/models/batch_read_input_simple_public_object_id.rb +20 -20
- data/lib/hubspot/codegen/crm/contacts/models/batch_response_simple_public_object.rb +41 -41
- data/lib/hubspot/codegen/crm/contacts/models/batch_response_simple_public_object_with_errors.rb +52 -52
- data/lib/hubspot/codegen/crm/contacts/models/collection_response_associated_id.rb +13 -13
- data/lib/hubspot/codegen/crm/contacts/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
- data/lib/hubspot/codegen/crm/contacts/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
- data/lib/hubspot/codegen/crm/contacts/models/error.rb +50 -50
- data/lib/hubspot/codegen/crm/contacts/models/error_detail.rb +28 -28
- data/lib/hubspot/codegen/crm/contacts/models/filter.rb +16 -16
- data/lib/hubspot/codegen/crm/contacts/models/next_page.rb +13 -13
- data/lib/hubspot/codegen/crm/contacts/models/public_associations_for_object.rb +18 -18
- data/lib/hubspot/codegen/crm/contacts/models/public_gdpr_delete_input.rb +13 -13
- data/lib/hubspot/codegen/crm/contacts/models/public_merge_input.rb +18 -18
- data/lib/hubspot/codegen/crm/contacts/models/public_object_search_request.rb +44 -44
- data/lib/hubspot/codegen/crm/contacts/models/simple_public_object.rb +44 -44
- data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_batch_input.rb +26 -17
- data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_input_for_create.rb +20 -20
- data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_with_associations.rb +49 -49
- data/lib/hubspot/codegen/crm/contacts/models/standard_error.rb +46 -46
- data/lib/hubspot/codegen/crm/contacts/models/value_with_timestamp.rb +33 -33
- data/lib/hubspot/codegen/crm/deals/api/gdpr_api.rb +94 -0
- data/lib/hubspot/codegen/crm/deals/models/batch_read_input_simple_public_object_id.rb +20 -20
- data/lib/hubspot/codegen/crm/deals/models/batch_response_simple_public_object.rb +41 -41
- data/lib/hubspot/codegen/crm/deals/models/batch_response_simple_public_object_with_errors.rb +52 -52
- data/lib/hubspot/codegen/crm/deals/models/collection_response_associated_id.rb +13 -13
- data/lib/hubspot/codegen/crm/deals/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
- data/lib/hubspot/codegen/crm/deals/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
- data/lib/hubspot/codegen/crm/deals/models/error.rb +50 -50
- data/lib/hubspot/codegen/crm/deals/models/error_detail.rb +28 -28
- data/lib/hubspot/codegen/crm/deals/models/filter.rb +16 -16
- data/lib/hubspot/codegen/crm/deals/models/next_page.rb +13 -13
- data/lib/hubspot/codegen/crm/deals/models/public_associations_for_object.rb +18 -18
- data/lib/hubspot/codegen/{files/files/models/collection_response_folder.rb → crm/deals/models/public_gdpr_delete_input.rb} +24 -26
- data/lib/hubspot/codegen/crm/deals/models/public_merge_input.rb +18 -18
- data/lib/hubspot/codegen/crm/deals/models/public_object_search_request.rb +44 -44
- data/lib/hubspot/codegen/crm/deals/models/simple_public_object.rb +44 -44
- data/lib/hubspot/codegen/crm/deals/models/simple_public_object_batch_input.rb +26 -17
- data/lib/hubspot/codegen/crm/deals/models/simple_public_object_input_for_create.rb +20 -20
- data/lib/hubspot/codegen/crm/deals/models/simple_public_object_with_associations.rb +49 -49
- data/lib/hubspot/codegen/crm/deals/models/standard_error.rb +46 -46
- data/lib/hubspot/codegen/crm/deals/models/value_with_timestamp.rb +33 -33
- data/lib/hubspot/codegen/crm/extensions/calling/api/recording_settings_api.rb +227 -0
- data/lib/hubspot/codegen/crm/extensions/calling/api/settings_api.rb +1 -1
- data/lib/hubspot/codegen/crm/extensions/calling/api_client.rb +1 -1
- data/lib/hubspot/codegen/crm/extensions/calling/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/extensions/calling/configuration.rb +1 -1
- data/lib/hubspot/codegen/crm/extensions/calling/models/error.rb +51 -51
- data/lib/hubspot/codegen/crm/extensions/calling/models/error_detail.rb +29 -29
- data/lib/hubspot/codegen/crm/{associations/v4/models/public_associations_for_object.rb → extensions/calling/models/recording_settings_patch_request.rb} +16 -37
- data/lib/hubspot/codegen/crm/{associations/schema/models/batch_input_public_association.rb → extensions/calling/models/recording_settings_request.rb} +18 -20
- data/lib/hubspot/codegen/crm/{associations/schema/models/batch_input_public_object_id.rb → extensions/calling/models/recording_settings_response.rb} +18 -20
- data/lib/hubspot/codegen/crm/extensions/calling/models/settings_patch_request.rb +33 -33
- data/lib/hubspot/codegen/crm/extensions/calling/models/settings_request.rb +33 -33
- data/lib/hubspot/codegen/crm/extensions/calling/models/settings_response.rb +58 -58
- data/lib/hubspot/codegen/crm/extensions/cards/api/cards_api.rb +45 -45
- data/lib/hubspot/codegen/crm/extensions/cards/api/sample_response_api.rb +2 -2
- data/lib/hubspot/codegen/crm/extensions/cards/api_client.rb +1 -1
- data/lib/hubspot/codegen/crm/extensions/cards/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/extensions/cards/configuration.rb +1 -1
- data/lib/hubspot/codegen/crm/extensions/cards/models/action_confirmation_body.rb +1 -1
- data/lib/hubspot/codegen/crm/extensions/cards/models/action_hook_action_body.rb +1 -1
- data/lib/hubspot/codegen/crm/extensions/cards/models/card_actions.rb +1 -1
- data/lib/hubspot/codegen/crm/{associations/schema/models/batch_response_public_association_with_errors.rb → extensions/cards/models/card_audit_response.rb} +87 -89
- data/lib/hubspot/codegen/crm/extensions/cards/models/card_create_request.rb +17 -17
- data/lib/hubspot/codegen/crm/extensions/cards/models/card_display_body.rb +1 -1
- data/lib/hubspot/codegen/crm/extensions/cards/models/card_display_property.rb +35 -35
- data/lib/hubspot/codegen/crm/extensions/cards/models/card_fetch_body.rb +69 -17
- data/lib/hubspot/codegen/crm/extensions/cards/models/card_fetch_body_patch.rb +64 -12
- data/lib/hubspot/codegen/crm/extensions/cards/models/card_object_type_body.rb +3 -3
- data/lib/hubspot/codegen/crm/extensions/cards/models/card_patch_request.rb +12 -12
- data/lib/hubspot/codegen/crm/extensions/cards/models/display_option.rb +1 -1
- data/lib/hubspot/codegen/crm/extensions/cards/models/error.rb +51 -51
- data/lib/hubspot/codegen/crm/extensions/cards/models/error_detail.rb +29 -29
- data/lib/hubspot/codegen/crm/extensions/cards/models/i_frame_action_body.rb +42 -42
- data/lib/hubspot/codegen/crm/extensions/cards/models/integrator_card_payload_response.rb +29 -29
- data/lib/hubspot/codegen/crm/extensions/cards/models/integrator_object_result.rb +25 -25
- data/lib/hubspot/codegen/crm/extensions/cards/models/integrator_object_result_actions_inner.rb +1 -1
- data/lib/hubspot/codegen/crm/extensions/cards/models/object_token.rb +11 -11
- data/lib/hubspot/codegen/crm/{associations/schema/models/associated_id.rb → extensions/cards/models/public_card_fetch_body.rb} +29 -27
- data/lib/hubspot/codegen/crm/extensions/cards/models/{card_list_response.rb → public_card_list_response.rb} +5 -7
- data/lib/hubspot/codegen/crm/extensions/cards/models/{card_response.rb → public_card_response.rb} +62 -51
- data/lib/hubspot/codegen/crm/extensions/cards/models/top_level_actions.rb +16 -16
- data/lib/hubspot/codegen/crm/extensions/videoconferencing/api/settings_api.rb +4 -4
- data/lib/hubspot/codegen/crm/extensions/videoconferencing/api_client.rb +2 -1
- data/lib/hubspot/codegen/crm/extensions/videoconferencing/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/extensions/videoconferencing/configuration.rb +8 -1
- data/lib/hubspot/codegen/crm/extensions/videoconferencing/models/error.rb +51 -51
- data/lib/hubspot/codegen/crm/extensions/videoconferencing/models/error_detail.rb +29 -29
- data/lib/hubspot/codegen/crm/extensions/videoconferencing/models/external_settings.rb +24 -15
- data/lib/hubspot/codegen/crm/imports/api/core_api.rb +1 -1
- data/lib/hubspot/codegen/crm/imports/api/public_imports_api.rb +1 -1
- data/lib/hubspot/codegen/crm/imports/api_client.rb +1 -1
- data/lib/hubspot/codegen/crm/imports/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/imports/configuration.rb +1 -1
- data/lib/hubspot/codegen/crm/imports/models/action_response.rb +26 -26
- data/lib/hubspot/codegen/crm/imports/models/collection_response_public_import_error_forward_paging.rb +14 -14
- data/lib/hubspot/codegen/crm/imports/models/collection_response_public_import_response.rb +14 -14
- data/lib/hubspot/codegen/crm/imports/models/error.rb +51 -51
- data/lib/hubspot/codegen/crm/imports/models/error_detail.rb +29 -29
- data/lib/hubspot/codegen/crm/imports/models/forward_paging.rb +1 -1
- data/lib/hubspot/codegen/crm/imports/models/import_row_core.rb +25 -25
- data/lib/hubspot/codegen/{files/files/models/error_detail.rb → crm/imports/models/import_template.rb} +63 -58
- data/lib/hubspot/codegen/crm/imports/models/next_page.rb +14 -14
- data/lib/hubspot/codegen/crm/imports/models/paging.rb +1 -1
- data/lib/hubspot/codegen/crm/imports/models/previous_page.rb +1 -1
- data/lib/hubspot/codegen/crm/imports/models/public_import_error.rb +60 -65
- data/lib/hubspot/codegen/crm/imports/models/public_import_metadata.rb +22 -22
- data/lib/hubspot/codegen/crm/imports/models/public_import_response.rb +72 -42
- data/lib/hubspot/codegen/crm/imports/models/public_object_list_record.rb +1 -1
- data/lib/hubspot/codegen/crm/line_items/api/gdpr_api.rb +94 -0
- data/lib/hubspot/codegen/crm/line_items/models/batch_read_input_simple_public_object_id.rb +20 -20
- data/lib/hubspot/codegen/crm/line_items/models/batch_response_simple_public_object.rb +41 -41
- data/lib/hubspot/codegen/crm/line_items/models/batch_response_simple_public_object_with_errors.rb +52 -52
- data/lib/hubspot/codegen/crm/line_items/models/collection_response_associated_id.rb +13 -13
- data/lib/hubspot/codegen/crm/line_items/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
- data/lib/hubspot/codegen/crm/line_items/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
- data/lib/hubspot/codegen/crm/line_items/models/error.rb +50 -50
- data/lib/hubspot/codegen/crm/line_items/models/error_detail.rb +28 -28
- data/lib/hubspot/codegen/crm/line_items/models/filter.rb +16 -16
- data/lib/hubspot/codegen/crm/line_items/models/next_page.rb +13 -13
- data/lib/hubspot/codegen/crm/line_items/models/public_associations_for_object.rb +18 -18
- data/lib/hubspot/codegen/crm/line_items/models/public_gdpr_delete_input.rb +237 -0
- data/lib/hubspot/codegen/crm/line_items/models/public_merge_input.rb +18 -18
- data/lib/hubspot/codegen/crm/line_items/models/public_object_search_request.rb +44 -44
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_object.rb +44 -49
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_batch_input.rb +21 -17
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_input.rb +0 -5
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_input_for_create.rb +15 -20
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_with_associations.rb +49 -49
- data/lib/hubspot/codegen/crm/line_items/models/standard_error.rb +46 -46
- data/lib/hubspot/codegen/crm/line_items/models/value_with_timestamp.rb +33 -33
- data/lib/hubspot/codegen/crm/lists/api/memberships_api.rb +8 -8
- data/lib/hubspot/codegen/crm/objects/api/batch_api.rb +2 -2
- data/lib/hubspot/codegen/crm/objects/api/gdpr_api.rb +10 -10
- data/lib/hubspot/codegen/crm/objects/calls/api/gdpr_api.rb +96 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/batch_read_input_simple_public_object_id.rb +20 -20
- data/lib/hubspot/codegen/crm/objects/calls/models/batch_response_simple_public_object.rb +41 -41
- data/lib/hubspot/codegen/crm/objects/calls/models/batch_response_simple_public_object_with_errors.rb +52 -52
- data/lib/hubspot/codegen/crm/objects/calls/models/collection_response_associated_id.rb +13 -13
- data/lib/hubspot/codegen/crm/objects/calls/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
- data/lib/hubspot/codegen/crm/objects/calls/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
- data/lib/hubspot/codegen/crm/objects/calls/models/error.rb +50 -50
- data/lib/hubspot/codegen/crm/objects/calls/models/error_detail.rb +28 -28
- data/lib/hubspot/codegen/crm/objects/calls/models/filter.rb +16 -16
- data/lib/hubspot/codegen/crm/objects/calls/models/next_page.rb +13 -13
- data/lib/hubspot/codegen/crm/objects/calls/models/public_associations_for_object.rb +18 -18
- data/lib/hubspot/codegen/crm/{associations/v4 → objects/calls}/models/public_gdpr_delete_input.rb +7 -7
- data/lib/hubspot/codegen/crm/objects/calls/models/public_merge_input.rb +18 -18
- data/lib/hubspot/codegen/crm/objects/calls/models/public_object_search_request.rb +44 -44
- data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object.rb +44 -44
- data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_batch_input.rb +26 -17
- data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_input_for_create.rb +20 -20
- data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_with_associations.rb +49 -49
- data/lib/hubspot/codegen/crm/objects/calls/models/standard_error.rb +46 -46
- data/lib/hubspot/codegen/crm/objects/calls/models/value_with_timestamp.rb +33 -33
- data/lib/hubspot/codegen/crm/objects/communications/api/basic_api.rb +9 -9
- data/lib/hubspot/codegen/crm/objects/communications/api/batch_api.rb +12 -12
- data/lib/hubspot/codegen/crm/objects/communications/api/gdpr_api.rb +96 -0
- data/lib/hubspot/codegen/crm/objects/communications/api/public_object_api.rb +3 -3
- data/lib/hubspot/codegen/crm/objects/communications/api/search_api.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/communications/models/batch_read_input_simple_public_object_id.rb +20 -20
- data/lib/hubspot/codegen/crm/objects/communications/models/batch_response_simple_public_object.rb +41 -41
- data/lib/hubspot/codegen/crm/objects/communications/models/batch_response_simple_public_object_with_errors.rb +52 -52
- data/lib/hubspot/codegen/crm/objects/communications/models/collection_response_associated_id.rb +13 -13
- data/lib/hubspot/codegen/crm/objects/communications/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
- data/lib/hubspot/codegen/crm/objects/communications/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
- data/lib/hubspot/codegen/crm/objects/communications/models/error.rb +50 -50
- data/lib/hubspot/codegen/crm/objects/communications/models/error_detail.rb +28 -28
- data/lib/hubspot/codegen/crm/objects/communications/models/filter.rb +16 -16
- data/lib/hubspot/codegen/crm/objects/communications/models/next_page.rb +13 -13
- data/lib/hubspot/codegen/crm/objects/communications/models/public_associations_for_object.rb +18 -18
- data/lib/hubspot/codegen/crm/{associations/v4/models/collection_response_associated_id.rb → objects/communications/models/public_gdpr_delete_input.rb} +24 -26
- data/lib/hubspot/codegen/crm/objects/communications/models/public_merge_input.rb +18 -18
- data/lib/hubspot/codegen/crm/objects/communications/models/public_object_search_request.rb +44 -44
- data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object.rb +44 -44
- data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_batch_input.rb +26 -17
- data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_input_for_create.rb +20 -20
- data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_with_associations.rb +49 -49
- data/lib/hubspot/codegen/crm/objects/communications/models/standard_error.rb +46 -46
- data/lib/hubspot/codegen/crm/objects/communications/models/value_with_timestamp.rb +33 -33
- data/lib/hubspot/codegen/crm/objects/emails/api/gdpr_api.rb +96 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/batch_read_input_simple_public_object_id.rb +20 -20
- data/lib/hubspot/codegen/crm/objects/emails/models/batch_response_simple_public_object.rb +41 -41
- data/lib/hubspot/codegen/crm/objects/emails/models/batch_response_simple_public_object_with_errors.rb +52 -52
- data/lib/hubspot/codegen/crm/objects/emails/models/collection_response_associated_id.rb +13 -13
- data/lib/hubspot/codegen/crm/objects/emails/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
- data/lib/hubspot/codegen/crm/objects/emails/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
- data/lib/hubspot/codegen/crm/objects/emails/models/error.rb +50 -50
- data/lib/hubspot/codegen/crm/objects/emails/models/error_detail.rb +28 -28
- data/lib/hubspot/codegen/crm/objects/emails/models/filter.rb +16 -16
- data/lib/hubspot/codegen/crm/objects/emails/models/next_page.rb +13 -13
- data/lib/hubspot/codegen/crm/objects/emails/models/public_associations_for_object.rb +18 -18
- data/lib/hubspot/codegen/crm/{associations/v4/models/simple_public_object_id.rb → objects/emails/models/public_gdpr_delete_input.rb} +27 -18
- data/lib/hubspot/codegen/crm/objects/emails/models/public_merge_input.rb +18 -18
- data/lib/hubspot/codegen/crm/objects/emails/models/public_object_search_request.rb +44 -44
- data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object.rb +44 -44
- data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_batch_input.rb +26 -17
- data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_input_for_create.rb +20 -20
- data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_with_associations.rb +49 -49
- data/lib/hubspot/codegen/crm/objects/emails/models/standard_error.rb +46 -46
- data/lib/hubspot/codegen/crm/objects/emails/models/value_with_timestamp.rb +33 -33
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/gdpr_api.rb +96 -0
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/batch_read_input_simple_public_object_id.rb +20 -20
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/batch_response_simple_public_object.rb +41 -41
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/batch_response_simple_public_object_with_errors.rb +52 -52
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/collection_response_associated_id.rb +13 -13
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/error.rb +50 -50
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/error_detail.rb +28 -28
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/filter.rb +16 -16
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/next_page.rb +13 -13
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/public_associations_for_object.rb +18 -18
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/public_gdpr_delete_input.rb +239 -0
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/public_merge_input.rb +18 -18
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/public_object_search_request.rb +44 -44
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/simple_public_object.rb +44 -44
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/simple_public_object_batch_input.rb +26 -17
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/simple_public_object_input_for_create.rb +20 -20
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/simple_public_object_with_associations.rb +49 -49
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/standard_error.rb +46 -46
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/value_with_timestamp.rb +33 -33
- data/lib/hubspot/codegen/crm/objects/goals/api/gdpr_api.rb +9 -9
- data/lib/hubspot/codegen/crm/objects/goals/models/simple_public_object_batch_input.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/meetings/api/gdpr_api.rb +96 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/batch_read_input_simple_public_object_id.rb +20 -20
- data/lib/hubspot/codegen/crm/objects/meetings/models/batch_response_simple_public_object.rb +41 -41
- data/lib/hubspot/codegen/crm/objects/meetings/models/batch_response_simple_public_object_with_errors.rb +52 -52
- data/lib/hubspot/codegen/crm/objects/meetings/models/collection_response_associated_id.rb +13 -13
- data/lib/hubspot/codegen/crm/objects/meetings/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
- data/lib/hubspot/codegen/crm/objects/meetings/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
- data/lib/hubspot/codegen/crm/objects/meetings/models/error.rb +50 -50
- data/lib/hubspot/codegen/crm/objects/meetings/models/error_detail.rb +28 -28
- data/lib/hubspot/codegen/crm/objects/meetings/models/filter.rb +16 -16
- data/lib/hubspot/codegen/crm/objects/meetings/models/next_page.rb +13 -13
- data/lib/hubspot/codegen/crm/objects/meetings/models/public_associations_for_object.rb +18 -18
- data/lib/hubspot/codegen/crm/{associations/v4/models/simple_public_object_input.rb → objects/meetings/models/public_gdpr_delete_input.rb} +27 -20
- data/lib/hubspot/codegen/crm/objects/meetings/models/public_merge_input.rb +18 -18
- data/lib/hubspot/codegen/crm/objects/meetings/models/public_object_search_request.rb +44 -44
- data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object.rb +44 -44
- data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_batch_input.rb +26 -17
- data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_input_for_create.rb +20 -20
- data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_with_associations.rb +49 -49
- data/lib/hubspot/codegen/crm/objects/meetings/models/standard_error.rb +46 -46
- data/lib/hubspot/codegen/crm/objects/meetings/models/value_with_timestamp.rb +33 -33
- data/lib/hubspot/codegen/crm/objects/models/batch_read_input_simple_public_object_id.rb +20 -20
- data/lib/hubspot/codegen/crm/objects/models/batch_response_simple_public_object.rb +41 -41
- data/lib/hubspot/codegen/crm/objects/models/batch_response_simple_public_object_with_errors.rb +52 -52
- data/lib/hubspot/codegen/crm/objects/models/collection_response_associated_id.rb +13 -13
- data/lib/hubspot/codegen/crm/objects/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
- data/lib/hubspot/codegen/crm/objects/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
- data/lib/hubspot/codegen/crm/objects/models/error.rb +50 -50
- data/lib/hubspot/codegen/crm/objects/models/error_detail.rb +28 -28
- data/lib/hubspot/codegen/crm/objects/models/filter.rb +16 -16
- data/lib/hubspot/codegen/crm/objects/models/next_page.rb +13 -13
- data/lib/hubspot/codegen/crm/objects/models/public_associations_for_object.rb +18 -18
- data/lib/hubspot/codegen/crm/objects/models/public_gdpr_delete_input.rb +13 -13
- data/lib/hubspot/codegen/crm/objects/models/public_merge_input.rb +18 -18
- data/lib/hubspot/codegen/crm/objects/models/public_object_search_request.rb +44 -44
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object.rb +44 -44
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object_batch_input.rb +28 -17
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object_input_for_create.rb +20 -20
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object_with_associations.rb +49 -49
- data/lib/hubspot/codegen/crm/objects/models/standard_error.rb +46 -46
- data/lib/hubspot/codegen/crm/objects/models/value_with_timestamp.rb +33 -33
- data/lib/hubspot/codegen/crm/objects/notes/api/gdpr_api.rb +96 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/batch_read_input_simple_public_object_id.rb +20 -20
- data/lib/hubspot/codegen/crm/objects/notes/models/batch_response_simple_public_object.rb +41 -41
- data/lib/hubspot/codegen/crm/objects/notes/models/batch_response_simple_public_object_with_errors.rb +52 -52
- data/lib/hubspot/codegen/crm/objects/notes/models/collection_response_associated_id.rb +13 -13
- data/lib/hubspot/codegen/crm/objects/notes/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
- data/lib/hubspot/codegen/crm/objects/notes/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
- data/lib/hubspot/codegen/crm/objects/notes/models/error.rb +50 -50
- data/lib/hubspot/codegen/crm/objects/notes/models/error_detail.rb +28 -28
- data/lib/hubspot/codegen/crm/objects/notes/models/filter.rb +16 -16
- data/lib/hubspot/codegen/crm/objects/notes/models/next_page.rb +13 -13
- data/lib/hubspot/codegen/crm/objects/notes/models/public_associations_for_object.rb +18 -18
- data/lib/hubspot/codegen/crm/{associations/v4/models/associated_id.rb → objects/notes/models/public_gdpr_delete_input.rb} +24 -29
- data/lib/hubspot/codegen/crm/objects/notes/models/public_merge_input.rb +18 -18
- data/lib/hubspot/codegen/crm/objects/notes/models/public_object_search_request.rb +44 -44
- data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object.rb +44 -44
- data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_batch_input.rb +26 -17
- data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_input_for_create.rb +20 -20
- data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_with_associations.rb +49 -49
- data/lib/hubspot/codegen/crm/objects/notes/models/standard_error.rb +46 -46
- data/lib/hubspot/codegen/crm/objects/notes/models/value_with_timestamp.rb +33 -33
- data/lib/hubspot/codegen/crm/objects/postal_mail/api/basic_api.rb +33 -33
- data/lib/hubspot/codegen/crm/objects/postal_mail/api/gdpr_api.rb +96 -0
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/batch_read_input_simple_public_object_id.rb +20 -20
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/batch_response_simple_public_object.rb +41 -41
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/batch_response_simple_public_object_with_errors.rb +52 -52
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/collection_response_associated_id.rb +13 -13
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/error.rb +50 -50
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/error_detail.rb +28 -28
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/filter.rb +16 -16
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/next_page.rb +13 -13
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/public_associations_for_object.rb +18 -18
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/public_gdpr_delete_input.rb +239 -0
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/public_merge_input.rb +18 -18
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/public_object_search_request.rb +44 -44
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object.rb +44 -44
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_batch_input.rb +26 -17
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_input_for_create.rb +20 -20
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_with_associations.rb +49 -49
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/standard_error.rb +46 -46
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/value_with_timestamp.rb +33 -33
- data/lib/hubspot/codegen/crm/objects/tasks/api/gdpr_api.rb +96 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/batch_read_input_simple_public_object_id.rb +20 -20
- data/lib/hubspot/codegen/crm/objects/tasks/models/batch_response_simple_public_object.rb +41 -41
- data/lib/hubspot/codegen/crm/objects/tasks/models/batch_response_simple_public_object_with_errors.rb +52 -52
- data/lib/hubspot/codegen/crm/objects/tasks/models/collection_response_associated_id.rb +13 -13
- data/lib/hubspot/codegen/crm/objects/tasks/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
- data/lib/hubspot/codegen/crm/objects/tasks/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
- data/lib/hubspot/codegen/crm/objects/tasks/models/error.rb +50 -50
- data/lib/hubspot/codegen/crm/objects/tasks/models/error_detail.rb +28 -28
- data/lib/hubspot/codegen/crm/objects/tasks/models/filter.rb +16 -16
- data/lib/hubspot/codegen/crm/objects/tasks/models/next_page.rb +13 -13
- data/lib/hubspot/codegen/crm/objects/tasks/models/public_associations_for_object.rb +18 -18
- data/lib/hubspot/codegen/crm/{associations/v4/models/collection_response_association_spec_with_label_no_paging.rb → objects/tasks/models/public_gdpr_delete_input.rb} +27 -20
- data/lib/hubspot/codegen/crm/objects/tasks/models/public_merge_input.rb +18 -18
- data/lib/hubspot/codegen/crm/objects/tasks/models/public_object_search_request.rb +44 -44
- data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object.rb +44 -44
- data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_batch_input.rb +26 -17
- data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_input_for_create.rb +20 -20
- data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_with_associations.rb +49 -49
- data/lib/hubspot/codegen/crm/objects/tasks/models/standard_error.rb +46 -46
- data/lib/hubspot/codegen/crm/objects/tasks/models/value_with_timestamp.rb +33 -33
- data/lib/hubspot/codegen/crm/objects/taxes/api/gdpr_api.rb +9 -9
- data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object_batch_input.rb +10 -1
- data/lib/hubspot/codegen/crm/owners/api/owners_api.rb +1 -1
- data/lib/hubspot/codegen/crm/owners/api_client.rb +1 -1
- data/lib/hubspot/codegen/crm/owners/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/owners/configuration.rb +1 -1
- data/lib/hubspot/codegen/crm/owners/models/collection_response_public_owner_forward_paging.rb +14 -14
- data/lib/hubspot/codegen/crm/owners/models/error.rb +51 -51
- data/lib/hubspot/codegen/crm/owners/models/error_detail.rb +29 -29
- data/lib/hubspot/codegen/crm/owners/models/forward_paging.rb +1 -1
- data/lib/hubspot/codegen/crm/owners/models/next_page.rb +14 -14
- data/lib/hubspot/codegen/crm/owners/models/public_owner.rb +51 -51
- data/lib/hubspot/codegen/crm/owners/models/public_team.rb +16 -16
- data/lib/hubspot/codegen/crm/pipelines/api/pipeline_audits_api.rb +1 -1
- data/lib/hubspot/codegen/crm/pipelines/api/pipeline_stage_audits_api.rb +1 -1
- data/lib/hubspot/codegen/crm/pipelines/api/pipeline_stages_api.rb +1 -1
- data/lib/hubspot/codegen/crm/pipelines/api/pipelines_api.rb +10 -1
- data/lib/hubspot/codegen/crm/pipelines/api_client.rb +1 -1
- data/lib/hubspot/codegen/crm/pipelines/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/pipelines/configuration.rb +1 -1
- data/lib/hubspot/codegen/crm/pipelines/models/collection_response_pipeline_no_paging.rb +1 -1
- data/lib/hubspot/codegen/crm/pipelines/models/collection_response_pipeline_stage_no_paging.rb +1 -1
- data/lib/hubspot/codegen/crm/pipelines/models/collection_response_public_audit_info_no_paging.rb +1 -1
- data/lib/hubspot/codegen/crm/pipelines/models/error.rb +51 -51
- data/lib/hubspot/codegen/crm/pipelines/models/error_detail.rb +29 -29
- data/lib/hubspot/codegen/crm/pipelines/models/pipeline.rb +62 -62
- data/lib/hubspot/codegen/crm/pipelines/models/pipeline_input.rb +20 -20
- data/lib/hubspot/codegen/crm/pipelines/models/pipeline_patch_input.rb +16 -16
- data/lib/hubspot/codegen/crm/pipelines/models/pipeline_stage.rb +105 -62
- data/lib/hubspot/codegen/crm/pipelines/models/pipeline_stage_input.rb +24 -24
- data/lib/hubspot/codegen/crm/pipelines/models/pipeline_stage_patch_input.rb +21 -21
- data/lib/hubspot/codegen/crm/pipelines/models/public_audit_info.rb +40 -40
- data/lib/hubspot/codegen/crm/products/api/gdpr_api.rb +94 -0
- data/lib/hubspot/codegen/crm/products/models/batch_read_input_simple_public_object_id.rb +20 -20
- data/lib/hubspot/codegen/crm/products/models/batch_response_simple_public_object.rb +41 -41
- data/lib/hubspot/codegen/crm/products/models/batch_response_simple_public_object_with_errors.rb +52 -52
- data/lib/hubspot/codegen/crm/products/models/collection_response_associated_id.rb +13 -13
- data/lib/hubspot/codegen/crm/products/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
- data/lib/hubspot/codegen/crm/products/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
- data/lib/hubspot/codegen/crm/products/models/error.rb +50 -50
- data/lib/hubspot/codegen/crm/products/models/error_detail.rb +28 -28
- data/lib/hubspot/codegen/crm/products/models/filter.rb +16 -16
- data/lib/hubspot/codegen/crm/products/models/next_page.rb +13 -13
- data/lib/hubspot/codegen/crm/products/models/public_associations_for_object.rb +18 -18
- data/lib/hubspot/codegen/{files/files/models/collection_response_file.rb → crm/products/models/public_gdpr_delete_input.rb} +24 -27
- data/lib/hubspot/codegen/crm/products/models/public_merge_input.rb +18 -18
- data/lib/hubspot/codegen/crm/products/models/public_object_search_request.rb +44 -44
- data/lib/hubspot/codegen/crm/products/models/simple_public_object.rb +44 -49
- data/lib/hubspot/codegen/crm/products/models/simple_public_object_batch_input.rb +21 -22
- data/lib/hubspot/codegen/crm/products/models/simple_public_object_input.rb +1 -5
- data/lib/hubspot/codegen/crm/products/models/simple_public_object_input_for_create.rb +16 -25
- data/lib/hubspot/codegen/crm/products/models/simple_public_object_with_associations.rb +49 -49
- data/lib/hubspot/codegen/crm/products/models/standard_error.rb +46 -46
- data/lib/hubspot/codegen/crm/products/models/value_with_timestamp.rb +33 -33
- data/lib/hubspot/codegen/crm/properties/models/batch_response_property.rb +41 -41
- data/lib/hubspot/codegen/crm/properties/models/batch_response_property_with_errors.rb +52 -52
- data/lib/hubspot/codegen/crm/properties/models/error.rb +50 -50
- data/lib/hubspot/codegen/crm/properties/models/error_detail.rb +28 -28
- data/lib/hubspot/codegen/crm/properties/models/option.rb +34 -34
- data/lib/hubspot/codegen/crm/properties/models/option_input.rb +34 -34
- data/lib/hubspot/codegen/crm/properties/models/property.rb +152 -150
- data/lib/hubspot/codegen/crm/properties/models/property_create.rb +79 -79
- data/lib/hubspot/codegen/crm/properties/models/property_group.rb +25 -25
- data/lib/hubspot/codegen/crm/properties/models/property_group_create.rb +14 -14
- data/lib/hubspot/codegen/crm/properties/models/property_group_update.rb +14 -14
- data/lib/hubspot/codegen/crm/properties/models/property_modification_metadata.rb +28 -28
- data/lib/hubspot/codegen/crm/properties/models/property_update.rb +58 -58
- data/lib/hubspot/codegen/crm/properties/models/standard_error.rb +46 -46
- data/lib/hubspot/codegen/crm/quotes/api/gdpr_api.rb +94 -0
- data/lib/hubspot/codegen/crm/quotes/models/batch_read_input_simple_public_object_id.rb +20 -20
- data/lib/hubspot/codegen/crm/quotes/models/batch_response_simple_public_object.rb +41 -41
- data/lib/hubspot/codegen/crm/quotes/models/batch_response_simple_public_object_with_errors.rb +52 -52
- data/lib/hubspot/codegen/crm/quotes/models/collection_response_associated_id.rb +13 -13
- data/lib/hubspot/codegen/crm/quotes/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
- data/lib/hubspot/codegen/crm/quotes/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
- data/lib/hubspot/codegen/crm/quotes/models/error.rb +50 -50
- data/lib/hubspot/codegen/crm/quotes/models/error_detail.rb +28 -28
- data/lib/hubspot/codegen/crm/quotes/models/filter.rb +16 -16
- data/lib/hubspot/codegen/crm/quotes/models/next_page.rb +13 -13
- data/lib/hubspot/codegen/crm/quotes/models/public_associations_for_object.rb +18 -18
- data/lib/hubspot/codegen/crm/quotes/models/public_gdpr_delete_input.rb +237 -0
- data/lib/hubspot/codegen/crm/quotes/models/public_merge_input.rb +18 -18
- data/lib/hubspot/codegen/crm/quotes/models/public_object_search_request.rb +44 -44
- data/lib/hubspot/codegen/crm/quotes/models/simple_public_object.rb +44 -44
- data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_batch_input.rb +26 -17
- data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_input_for_create.rb +20 -20
- data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_with_associations.rb +49 -49
- data/lib/hubspot/codegen/crm/quotes/models/standard_error.rb +46 -46
- data/lib/hubspot/codegen/crm/quotes/models/value_with_timestamp.rb +33 -33
- data/lib/hubspot/codegen/crm/schemas/models/association_definition.rb +23 -23
- data/lib/hubspot/codegen/crm/schemas/models/association_definition_egg.rb +14 -14
- data/lib/hubspot/codegen/crm/schemas/models/error.rb +50 -50
- data/lib/hubspot/codegen/crm/schemas/models/error_detail.rb +28 -28
- data/lib/hubspot/codegen/crm/schemas/models/object_schema.rb +94 -110
- data/lib/hubspot/codegen/crm/schemas/models/object_schema_egg.rb +50 -51
- data/lib/hubspot/codegen/crm/schemas/models/object_type_definition.rb +82 -98
- data/lib/hubspot/codegen/crm/schemas/models/object_type_definition_labels.rb +14 -14
- data/lib/hubspot/codegen/crm/schemas/models/object_type_definition_patch.rb +28 -19
- data/lib/hubspot/codegen/crm/schemas/models/object_type_property_create.rb +152 -46
- data/lib/hubspot/codegen/crm/schemas/models/option.rb +34 -34
- data/lib/hubspot/codegen/crm/schemas/models/option_input.rb +39 -39
- data/lib/hubspot/codegen/crm/schemas/models/property.rb +150 -140
- data/lib/hubspot/codegen/crm/schemas/models/property_modification_metadata.rb +32 -28
- data/lib/hubspot/codegen/crm/tickets/api/gdpr_api.rb +94 -0
- data/lib/hubspot/codegen/crm/tickets/models/batch_read_input_simple_public_object_id.rb +20 -20
- data/lib/hubspot/codegen/crm/tickets/models/batch_response_simple_public_object.rb +41 -41
- data/lib/hubspot/codegen/crm/tickets/models/batch_response_simple_public_object_with_errors.rb +52 -52
- data/lib/hubspot/codegen/crm/tickets/models/collection_response_associated_id.rb +13 -13
- data/lib/hubspot/codegen/crm/tickets/models/collection_response_simple_public_object_with_associations_forward_paging.rb +13 -13
- data/lib/hubspot/codegen/crm/tickets/models/collection_response_with_total_simple_public_object_forward_paging.rb +13 -13
- data/lib/hubspot/codegen/crm/tickets/models/error.rb +50 -50
- data/lib/hubspot/codegen/crm/tickets/models/error_detail.rb +28 -28
- data/lib/hubspot/codegen/crm/tickets/models/filter.rb +16 -16
- data/lib/hubspot/codegen/crm/tickets/models/next_page.rb +13 -13
- data/lib/hubspot/codegen/crm/tickets/models/public_associations_for_object.rb +18 -18
- data/lib/hubspot/codegen/crm/tickets/models/public_gdpr_delete_input.rb +237 -0
- data/lib/hubspot/codegen/crm/tickets/models/public_merge_input.rb +18 -18
- data/lib/hubspot/codegen/crm/tickets/models/public_object_search_request.rb +44 -44
- data/lib/hubspot/codegen/crm/tickets/models/simple_public_object.rb +44 -44
- data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_batch_input.rb +26 -17
- data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_input_for_create.rb +20 -20
- data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_with_associations.rb +49 -49
- data/lib/hubspot/codegen/crm/tickets/models/standard_error.rb +46 -46
- data/lib/hubspot/codegen/crm/tickets/models/value_with_timestamp.rb +33 -33
- data/lib/hubspot/codegen/crm/timeline/api/events_api.rb +6 -6
- data/lib/hubspot/codegen/crm/timeline/api/templates_api.rb +1 -1
- data/lib/hubspot/codegen/crm/timeline/api/tokens_api.rb +1 -1
- data/lib/hubspot/codegen/crm/timeline/api_client.rb +1 -1
- data/lib/hubspot/codegen/crm/timeline/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/timeline/configuration.rb +1 -1
- data/lib/hubspot/codegen/crm/timeline/models/batch_input_timeline_event.rb +1 -1
- data/lib/hubspot/codegen/crm/timeline/models/batch_response_timeline_event_response.rb +45 -45
- data/lib/hubspot/codegen/crm/timeline/models/batch_response_timeline_event_response_with_errors.rb +53 -53
- data/lib/hubspot/codegen/crm/timeline/models/collection_response_timeline_event_template_no_paging.rb +1 -1
- data/lib/hubspot/codegen/crm/timeline/models/error.rb +51 -51
- data/lib/hubspot/codegen/crm/timeline/models/error_detail.rb +29 -29
- data/lib/hubspot/codegen/crm/timeline/models/event_detail.rb +1 -1
- data/lib/hubspot/codegen/crm/timeline/models/standard_error.rb +48 -48
- data/lib/hubspot/codegen/crm/timeline/models/timeline_event.rb +56 -56
- data/lib/hubspot/codegen/crm/timeline/models/timeline_event_i_frame.rb +17 -17
- data/lib/hubspot/codegen/crm/timeline/models/timeline_event_response.rb +70 -70
- data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template.rb +29 -29
- data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_create_request.rb +22 -22
- data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_token.rb +34 -39
- data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_token_option.rb +19 -19
- data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_token_update_request.rb +17 -22
- data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_update_request.rb +25 -25
- data/lib/hubspot/codegen/events/api/events_api.rb +35 -22
- data/lib/hubspot/codegen/events/api_client.rb +1 -1
- data/lib/hubspot/codegen/events/api_error.rb +1 -1
- data/lib/hubspot/codegen/events/configuration.rb +1 -1
- data/lib/hubspot/codegen/events/models/collection_response_external_unified_event.rb +15 -14
- data/lib/hubspot/codegen/events/models/error.rb +51 -51
- data/lib/hubspot/codegen/events/models/error_detail.rb +29 -29
- data/lib/hubspot/codegen/events/models/external_unified_event.rb +43 -48
- data/lib/hubspot/codegen/events/models/next_page.rb +16 -14
- data/lib/hubspot/codegen/events/models/paging.rb +14 -5
- data/lib/hubspot/codegen/events/models/previous_page.rb +235 -0
- data/lib/hubspot/codegen/events/send/api/{behavioral_events_tracking_api.rb → custom_event_data_api.rb} +9 -9
- data/lib/hubspot/codegen/files/api/files_api.rb +880 -0
- data/lib/hubspot/codegen/files/api/folders_api.rb +603 -0
- data/lib/hubspot/codegen/files/api_client.rb +408 -0
- data/lib/hubspot/codegen/files/api_error.rb +59 -0
- data/lib/hubspot/codegen/files/configuration.rb +285 -0
- data/lib/hubspot/codegen/files/models/collection_response_file.rb +238 -0
- data/lib/hubspot/codegen/files/models/collection_response_folder.rb +238 -0
- data/lib/hubspot/codegen/files/models/error.rb +303 -0
- data/lib/hubspot/codegen/files/models/error_detail.rb +269 -0
- data/lib/hubspot/codegen/files/models/file.rb +460 -0
- data/lib/hubspot/codegen/files/models/file_action_response.rb +359 -0
- data/lib/hubspot/codegen/files/models/file_stat.rb +230 -0
- data/lib/hubspot/codegen/{webhooks/models/error_category.rb → files/models/file_update_input.rb} +63 -32
- data/lib/hubspot/codegen/files/models/folder.rb +312 -0
- data/lib/hubspot/codegen/files/models/folder_action_response.rb +359 -0
- data/lib/hubspot/codegen/files/models/folder_input.rb +247 -0
- data/lib/hubspot/codegen/files/models/folder_update_input.rb +247 -0
- data/lib/hubspot/codegen/files/models/folder_update_task_locator.rb +244 -0
- data/lib/hubspot/codegen/files/models/import_from_url_input.rb +370 -0
- data/lib/hubspot/codegen/files/models/import_from_url_task_locator.rb +244 -0
- data/lib/hubspot/codegen/files/models/next_page.rb +235 -0
- data/lib/hubspot/codegen/files/models/paging.rb +230 -0
- data/lib/hubspot/codegen/files/models/previous_page.rb +235 -0
- data/lib/hubspot/codegen/files/models/signed_url.rb +322 -0
- data/lib/hubspot/codegen/files/models/standard_error.rb +320 -0
- data/lib/hubspot/codegen/marketing/events/api/attendance_subscriber_state_changes_api.rb +3 -3
- data/lib/hubspot/codegen/marketing/events/api/basic_api.rb +460 -0
- data/lib/hubspot/codegen/marketing/events/api/batch_api.rb +162 -0
- data/lib/hubspot/codegen/marketing/events/api/marketing_events_external_api.rb +1 -704
- data/lib/hubspot/codegen/marketing/events/api/search_api.rb +1 -1
- data/lib/hubspot/codegen/marketing/events/api/{settings_external_api.rb → settings_api.rb} +27 -19
- data/lib/hubspot/codegen/marketing/events/api/subscriber_state_changes_api.rb +200 -0
- data/lib/hubspot/codegen/marketing/events/api_client.rb +1 -1
- data/lib/hubspot/codegen/marketing/events/api_error.rb +1 -1
- data/lib/hubspot/codegen/marketing/events/configuration.rb +1 -8
- data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_create_request_params.rb +2 -1
- data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_email_subscriber.rb +1 -1
- data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_external_unique_identifier.rb +1 -1
- data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_subscriber.rb +1 -1
- data/lib/hubspot/codegen/marketing/events/models/batch_response_marketing_event_public_default_response.rb +61 -53
- data/lib/hubspot/codegen/marketing/events/models/batch_response_subscriber_email_response.rb +53 -53
- data/lib/hubspot/codegen/marketing/events/models/batch_response_subscriber_vid_response.rb +53 -53
- data/lib/hubspot/codegen/marketing/events/models/collection_response_marketing_event_external_unique_identifier_no_paging.rb +1 -1
- data/lib/hubspot/codegen/marketing/events/models/error.rb +51 -51
- data/lib/hubspot/codegen/marketing/events/models/error_detail.rb +29 -29
- data/lib/hubspot/codegen/marketing/events/models/event_detail_settings.rb +1 -1
- data/lib/hubspot/codegen/marketing/events/models/event_detail_settings_url.rb +1 -1
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_complete_request_params.rb +1 -1
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_create_request_params.rb +75 -75
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_default_response.rb +57 -57
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_email_subscriber.rb +23 -23
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_external_unique_identifier.rb +20 -20
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_default_response.rb +69 -66
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_read_response.rb +120 -117
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_subscriber.rb +15 -15
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_update_request_params.rb +52 -52
- data/lib/hubspot/codegen/marketing/events/models/property_value.rb +114 -95
- data/lib/hubspot/codegen/marketing/events/models/standard_error.rb +56 -48
- data/lib/hubspot/codegen/marketing/events/models/subscriber_email_response.rb +1 -1
- data/lib/hubspot/codegen/marketing/events/models/subscriber_vid_response.rb +1 -1
- data/lib/hubspot/codegen/marketing/forms/api/forms_api.rb +1 -1
- data/lib/hubspot/codegen/marketing/forms/api_client.rb +1 -1
- data/lib/hubspot/codegen/marketing/forms/api_error.rb +1 -1
- data/lib/hubspot/codegen/marketing/forms/configuration.rb +1 -1
- data/lib/hubspot/codegen/marketing/forms/models/collection_response_form_definition_base_forward_paging.rb +14 -14
- data/lib/hubspot/codegen/marketing/forms/models/collection_response_form_definition_base_forward_paging_results_inner.rb +1 -1
- data/lib/hubspot/codegen/marketing/forms/models/datepicker_field.rb +31 -1
- data/lib/hubspot/codegen/marketing/forms/models/dependent_field.rb +6 -1
- data/lib/hubspot/codegen/marketing/forms/models/dependent_field_dependent_field.rb +2 -1
- data/lib/hubspot/codegen/marketing/forms/models/dependent_field_filter.rb +1 -1
- data/lib/hubspot/codegen/marketing/forms/models/dropdown_field.rb +41 -1
- data/lib/hubspot/codegen/marketing/forms/models/email_field.rb +36 -1
- data/lib/hubspot/codegen/marketing/forms/models/email_field_validation.rb +1 -1
- data/lib/hubspot/codegen/marketing/forms/models/enumerated_field_option.rb +1 -1
- data/lib/hubspot/codegen/marketing/forms/models/error.rb +51 -51
- data/lib/hubspot/codegen/marketing/forms/models/error_detail.rb +29 -29
- data/lib/hubspot/codegen/marketing/forms/models/field_group.rb +12 -1
- data/lib/hubspot/codegen/marketing/forms/models/file_field.rb +36 -1
- data/lib/hubspot/codegen/marketing/forms/models/form_definition_base.rb +1 -1
- data/lib/hubspot/codegen/marketing/forms/models/form_definition_create_request_base.rb +1 -1
- data/lib/hubspot/codegen/marketing/forms/models/form_display_options.rb +17 -16
- data/lib/hubspot/codegen/marketing/forms/models/form_post_submit_action.rb +1 -1
- data/lib/hubspot/codegen/marketing/forms/models/form_style.rb +100 -88
- data/lib/hubspot/codegen/marketing/forms/models/forward_paging.rb +1 -1
- data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_configuration.rb +106 -95
- data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition.rb +3 -7
- data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition_all_of.rb +3 -7
- data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition_create_request.rb +3 -7
- data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition_create_request_all_of.rb +3 -7
- data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition_patch_request.rb +25 -25
- data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition_patch_request_legal_consent_options.rb +1 -1
- data/lib/hubspot/codegen/marketing/forms/models/legal_consent_checkbox.rb +1 -1
- data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_explicit_consent_to_process.rb +1 -1
- data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_implicit_consent_to_process.rb +1 -1
- data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_legitimate_interest.rb +3 -3
- data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_none.rb +1 -1
- data/lib/hubspot/codegen/{crm/associations/models/public_association_definition.rb → marketing/forms/models/lifecycle_stage.rb} +29 -27
- data/lib/hubspot/codegen/marketing/forms/models/mobile_phone_field.rb +36 -1
- data/lib/hubspot/codegen/marketing/forms/models/multi_line_text_field.rb +31 -1
- data/lib/hubspot/codegen/marketing/forms/models/multiple_checkboxes_field.rb +41 -1
- data/lib/hubspot/codegen/marketing/forms/models/next_page.rb +16 -14
- data/lib/hubspot/codegen/marketing/forms/models/number_field.rb +31 -1
- data/lib/hubspot/codegen/marketing/forms/models/number_field_validation.rb +1 -1
- data/lib/hubspot/codegen/{crm/companies/models/error_category.rb → marketing/forms/models/payment_link_radio_field.rb} +140 -25
- data/lib/hubspot/codegen/marketing/forms/models/phone_field.rb +41 -1
- data/lib/hubspot/codegen/marketing/forms/models/phone_field_validation.rb +1 -1
- data/lib/hubspot/codegen/marketing/forms/models/radio_field.rb +41 -1
- data/lib/hubspot/codegen/marketing/forms/models/single_checkbox_field.rb +31 -1
- data/lib/hubspot/codegen/marketing/forms/models/single_line_text_field.rb +31 -1
- data/lib/hubspot/codegen/marketing/transactional/api/public_smtp_tokens_api.rb +1 -1
- data/lib/hubspot/codegen/marketing/transactional/api/single_send_api.rb +1 -1
- data/lib/hubspot/codegen/marketing/transactional/api_client.rb +1 -1
- data/lib/hubspot/codegen/marketing/transactional/api_error.rb +1 -1
- data/lib/hubspot/codegen/marketing/transactional/configuration.rb +1 -1
- data/lib/hubspot/codegen/marketing/transactional/models/collection_response_smtp_api_token_view_forward_paging.rb +14 -14
- data/lib/hubspot/codegen/marketing/transactional/models/email_send_status_view.rb +26 -26
- data/lib/hubspot/codegen/marketing/transactional/models/error.rb +51 -51
- data/lib/hubspot/codegen/marketing/transactional/models/error_detail.rb +29 -29
- data/lib/hubspot/codegen/marketing/transactional/models/event_id_view.rb +1 -1
- data/lib/hubspot/codegen/marketing/transactional/models/forward_paging.rb +1 -1
- data/lib/hubspot/codegen/marketing/transactional/models/next_page.rb +16 -14
- data/lib/hubspot/codegen/marketing/transactional/models/public_single_send_email.rb +37 -37
- data/lib/hubspot/codegen/marketing/transactional/models/public_single_send_request_egg.rb +17 -17
- data/lib/hubspot/codegen/marketing/transactional/models/smtp_api_token_request_egg.rb +1 -1
- data/lib/hubspot/codegen/marketing/transactional/models/smtp_api_token_view.rb +47 -47
- data/lib/hubspot/codegen/oauth/api/access_tokens_api.rb +2 -0
- data/lib/hubspot/codegen/oauth/api/refresh_tokens_api.rb +2 -0
- data/lib/hubspot/codegen/oauth/api/tokens_api.rb +2 -0
- data/lib/hubspot/codegen/oauth/api_client.rb +2 -0
- data/lib/hubspot/codegen/oauth/api_error.rb +2 -0
- data/lib/hubspot/codegen/oauth/configuration.rb +2 -0
- data/lib/hubspot/codegen/oauth/models/access_token_info_response.rb +59 -96
- data/lib/hubspot/codegen/oauth/models/error.rb +52 -50
- data/lib/hubspot/codegen/oauth/models/error_detail.rb +30 -28
- data/lib/hubspot/codegen/oauth/models/refresh_token_info_response.rb +63 -53
- data/lib/hubspot/codegen/oauth/models/token_response_if.rb +28 -21
- data/lib/hubspot/codegen/settings/business_units/api/business_unit_api.rb +1 -1
- data/lib/hubspot/codegen/settings/business_units/api_client.rb +1 -1
- data/lib/hubspot/codegen/settings/business_units/api_error.rb +1 -1
- data/lib/hubspot/codegen/settings/business_units/configuration.rb +1 -1
- data/lib/hubspot/codegen/settings/business_units/models/collection_response_public_business_unit_no_paging.rb +1 -1
- data/lib/hubspot/codegen/settings/business_units/models/error.rb +1 -1
- data/lib/hubspot/codegen/settings/business_units/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/settings/business_units/models/public_business_unit.rb +1 -1
- data/lib/hubspot/codegen/settings/business_units/models/public_business_unit_logo_metadata.rb +1 -1
- data/lib/hubspot/codegen/settings/users/api/roles_api.rb +1 -1
- data/lib/hubspot/codegen/settings/users/api/teams_api.rb +1 -1
- data/lib/hubspot/codegen/settings/users/api/users_api.rb +1 -1
- data/lib/hubspot/codegen/settings/users/api_client.rb +1 -1
- data/lib/hubspot/codegen/settings/users/api_error.rb +1 -1
- data/lib/hubspot/codegen/settings/users/configuration.rb +1 -1
- data/lib/hubspot/codegen/settings/users/models/collection_response_public_permission_set_no_paging.rb +1 -1
- data/lib/hubspot/codegen/settings/users/models/collection_response_public_team_no_paging.rb +1 -1
- data/lib/hubspot/codegen/settings/users/models/collection_response_public_user_forward_paging.rb +14 -14
- data/lib/hubspot/codegen/settings/users/models/error.rb +51 -51
- data/lib/hubspot/codegen/settings/users/models/error_detail.rb +29 -29
- data/lib/hubspot/codegen/settings/users/models/forward_paging.rb +1 -1
- data/lib/hubspot/codegen/settings/users/models/next_page.rb +14 -14
- data/lib/hubspot/codegen/settings/users/models/public_permission_set.rb +22 -22
- data/lib/hubspot/codegen/settings/users/models/public_team.rb +24 -24
- data/lib/hubspot/codegen/settings/users/models/public_user.rb +58 -29
- data/lib/hubspot/codegen/settings/users/models/public_user_update.rb +12 -12
- data/lib/hubspot/codegen/settings/users/models/user_provision_request.rb +26 -31
- data/lib/hubspot/codegen/webhooks/api/settings_api.rb +1 -1
- data/lib/hubspot/codegen/webhooks/api/subscriptions_api.rb +1 -1
- data/lib/hubspot/codegen/webhooks/api_client.rb +1 -1
- data/lib/hubspot/codegen/webhooks/api_error.rb +1 -1
- data/lib/hubspot/codegen/webhooks/configuration.rb +1 -1
- data/lib/hubspot/codegen/webhooks/models/batch_input_subscription_batch_update_request.rb +1 -1
- data/lib/hubspot/codegen/webhooks/models/batch_response_subscription_response.rb +42 -42
- data/lib/hubspot/codegen/webhooks/models/batch_response_subscription_response_with_errors.rb +53 -53
- data/lib/hubspot/codegen/webhooks/models/error.rb +51 -51
- data/lib/hubspot/codegen/webhooks/models/error_detail.rb +29 -29
- data/lib/hubspot/codegen/webhooks/models/settings_change_request.rb +20 -20
- data/lib/hubspot/codegen/webhooks/models/settings_response.rb +22 -22
- data/lib/hubspot/codegen/webhooks/models/standard_error.rb +47 -47
- data/lib/hubspot/codegen/webhooks/models/subscription_batch_update_request.rb +19 -19
- data/lib/hubspot/codegen/webhooks/models/subscription_create_request.rb +15 -15
- data/lib/hubspot/codegen/webhooks/models/subscription_list_response.rb +1 -1
- data/lib/hubspot/codegen/webhooks/models/subscription_patch_request.rb +1 -1
- data/lib/hubspot/codegen/webhooks/models/subscription_response.rb +27 -27
- data/lib/hubspot/codegen/webhooks/models/throttling_settings.rb +20 -20
- data/lib/hubspot/discovery/crm/contacts/api/gdpr_api.rb +1 -1
- data/lib/hubspot/discovery/crm/extensions/accounting/client.rb +1 -0
- data/lib/hubspot/discovery/crm/extensions/calling/api/recording_settings_api.rb +15 -0
- data/lib/hubspot/discovery/crm/extensions/calling/client.rb +1 -0
- data/lib/hubspot/discovery/{files/files/api/folders_api.rb → crm/line_items/api/gdpr_api.rb} +3 -3
- data/lib/hubspot/discovery/crm/line_items/client.rb +1 -0
- data/lib/hubspot/discovery/crm/objects/api/gdpr_api.rb +1 -1
- data/lib/hubspot/discovery/crm/objects/calls/api/gdpr_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/calls/client.rb +1 -0
- data/lib/hubspot/discovery/crm/objects/communications/api/gdpr_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/communications/client.rb +1 -0
- data/lib/hubspot/discovery/crm/objects/emails/api/gdpr_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/emails/client.rb +1 -0
- data/lib/hubspot/discovery/crm/objects/feedback_submissions/api/gdpr_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/feedback_submissions/client.rb +1 -0
- data/lib/hubspot/discovery/crm/objects/goals/api/gdpr_api.rb +1 -1
- data/lib/hubspot/discovery/crm/objects/meetings/api/gdpr_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/meetings/client.rb +1 -0
- data/lib/hubspot/discovery/crm/objects/notes/api/gdpr_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/notes/client.rb +1 -0
- data/lib/hubspot/discovery/crm/objects/postal_mail/api/gdpr_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/postal_mail/client.rb +1 -0
- data/lib/hubspot/discovery/crm/objects/tasks/api/gdpr_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/tasks/client.rb +1 -0
- data/lib/hubspot/discovery/crm/objects/taxes/api/gdpr_api.rb +1 -1
- data/lib/hubspot/discovery/{files/files/api/files_api.rb → crm/products/api/gdpr_api.rb} +3 -3
- data/lib/hubspot/discovery/crm/products/client.rb +1 -0
- data/lib/hubspot/discovery/crm/quotes/api/gdpr_api.rb +13 -0
- data/lib/hubspot/discovery/crm/quotes/client.rb +1 -0
- data/lib/hubspot/discovery/crm/tickets/api/gdpr_api.rb +13 -0
- data/lib/hubspot/discovery/crm/tickets/client.rb +1 -0
- data/lib/hubspot/discovery/events/send/api/{behavioral_events_tracking_api.rb → custom_event_data_api.rb} +1 -1
- data/lib/hubspot/discovery/events/send/client.rb +1 -1
- data/lib/hubspot/discovery/files/api/files_api.rb +11 -0
- data/lib/hubspot/discovery/files/api/folders_api.rb +11 -0
- data/lib/hubspot/discovery/files/client.rb +2 -1
- data/lib/hubspot/discovery/marketing/events/api/{settings_external_api.rb → basic_api.rb} +1 -1
- data/lib/hubspot/discovery/marketing/events/api/batch_api.rb +13 -0
- data/lib/hubspot/discovery/marketing/events/api/settings_api.rb +13 -0
- data/lib/hubspot/discovery/marketing/events/api/subscriber_state_changes_api.rb +13 -0
- data/lib/hubspot/discovery/marketing/events/client.rb +4 -1
- data/lib/hubspot/helpers/camel_case.rb +4 -1
- data/lib/hubspot/version.rb +1 -1
- data/spec/discovery/cms/source-code/content_api_spec.rb +2 -2
- data/spec/discovery/crm/associations/v4/schema/definitions_api_spec.rb +1 -1
- data/spec/discovery/crm/contacts/gdpr_api_spec.rb +1 -1
- data/spec/discovery/crm/extensions/calling/recording_settings_api_spec.rb +9 -0
- data/spec/discovery/crm/line_items/gdpr_api_spec.rb +7 -0
- data/spec/discovery/crm/lists/memberships_api_spec.rb +1 -1
- data/spec/discovery/crm/objects/calls/gdpr_api_spec.rb +7 -0
- data/spec/discovery/crm/objects/communications/gdpr_api_spec.rb +7 -0
- data/spec/discovery/crm/objects/emails/gdpr_api_spec.rb +7 -0
- data/spec/discovery/crm/objects/feedback_submissions/gdpr_api_spec.rb +7 -0
- data/spec/discovery/crm/objects/meetings/gdpr_api_spec.rb +7 -0
- data/spec/discovery/crm/objects/notes/gdpr_api_spec.rb +7 -0
- data/spec/discovery/crm/objects/postal_mail/gdpr_api_spec.rb +7 -0
- data/spec/discovery/crm/objects/tasks/gdpr_api_spec.rb +7 -0
- data/spec/discovery/crm/products/gdpr_api_spec.rb +7 -0
- data/spec/discovery/crm/quotes/gdpr_api_spec.rb +7 -0
- data/spec/discovery/crm/tickets/gdpr_api_spec.rb +7 -0
- data/spec/discovery/events/send/{behavioral_events_tracking_api_spec.rb → custom_event_data_api_spec.rb} +2 -2
- data/spec/discovery/files/{files/files_api_spec.rb → files_api_spec.rb} +2 -2
- data/spec/discovery/files/{files/folders_api_spec.rb → folders_api_spec.rb} +2 -2
- data/spec/discovery/marketing/events/basic_api_spec.rb +12 -0
- data/spec/discovery/marketing/events/batch_api_spec.rb +8 -0
- data/spec/discovery/marketing/events/marketing_events_external_api_spec.rb +0 -11
- data/spec/discovery/marketing/events/{settings_external_api_spec.rb → settings_api_spec.rb} +2 -2
- data/spec/discovery/marketing/events/subscriber_state_changes_api_spec.rb +8 -0
- metadata +149 -145
- data/lib/hubspot/codegen/crm/associations/models/collection_response_public_association_definition_no_paging.rb +0 -230
- data/lib/hubspot/codegen/crm/associations/models/error_category.rb +0 -276
- data/lib/hubspot/codegen/crm/associations/schema/models/batch_response_public_association.rb +0 -328
- data/lib/hubspot/codegen/crm/associations/schema/models/batch_response_public_association_multi.rb +0 -328
- data/lib/hubspot/codegen/crm/associations/schema/models/batch_response_public_association_multi_with_errors.rb +0 -348
- data/lib/hubspot/codegen/crm/associations/schema/models/error_category.rb +0 -278
- data/lib/hubspot/codegen/crm/associations/schema/models/next_page.rb +0 -239
- data/lib/hubspot/codegen/crm/associations/schema/models/paging.rb +0 -234
- data/lib/hubspot/codegen/crm/associations/schema/models/previous_page.rb +0 -239
- data/lib/hubspot/codegen/crm/associations/schema/models/public_association.rb +0 -258
- data/lib/hubspot/codegen/crm/associations/schema/models/public_association_multi.rb +0 -256
- data/lib/hubspot/codegen/crm/associations/schema/models/public_object_id.rb +0 -231
- data/lib/hubspot/codegen/crm/associations/schema/models/standard_error.rb +0 -324
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_simple_public_object_batch_input.rb +0 -232
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_simple_public_object_id.rb +0 -232
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_simple_public_object_input_for_create.rb +0 -232
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_read_input_simple_public_object_id.rb +0 -273
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_simple_public_object.rb +0 -328
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_simple_public_object_with_errors.rb +0 -348
- data/lib/hubspot/codegen/crm/associations/v4/models/collection_response_simple_public_object_with_associations_forward_paging.rb +0 -241
- data/lib/hubspot/codegen/crm/associations/v4/models/error_category.rb +0 -278
- data/lib/hubspot/codegen/crm/associations/v4/models/public_association_definition_create_request.rb +0 -244
- data/lib/hubspot/codegen/crm/associations/v4/models/public_association_definition_update_request.rb +0 -244
- data/lib/hubspot/codegen/crm/associations/v4/models/simple_public_object.rb +0 -303
- data/lib/hubspot/codegen/crm/associations/v4/models/simple_public_object_batch_input.rb +0 -246
- data/lib/hubspot/codegen/crm/associations/v4/models/simple_public_object_input_for_create.rb +0 -248
- data/lib/hubspot/codegen/crm/associations/v4/models/simple_public_object_with_associations.rb +0 -314
- data/lib/hubspot/codegen/crm/associations/v4/models/standard_error1.rb +0 -324
- data/lib/hubspot/codegen/crm/associations/v4/models/value_with_timestamp.rb +0 -285
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/association_spec.rb +0 -280
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_input_public_association_multi_archive.rb +0 -234
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_input_public_association_multi_post.rb +0 -234
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_input_public_default_association_multi_post.rb +0 -234
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_input_public_fetch_associations_batch_request.rb +0 -234
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_response_labels_between_object_pair.rb +0 -330
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_response_labels_between_object_pair_with_errors.rb +0 -350
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_response_public_association_multi_with_label.rb +0 -330
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_response_public_association_multi_with_label_with_errors.rb +0 -350
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_response_public_default_association.rb +0 -350
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/error_category.rb +0 -280
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/labels_between_object_pair.rb +0 -290
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/multi_associated_object_with_label.rb +0 -248
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/next_page.rb +0 -241
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/paging.rb +0 -236
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/previous_page.rb +0 -241
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_association_multi_archive.rb +0 -248
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_association_multi_post.rb +0 -262
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_association_multi_with_label.rb +0 -257
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_default_association.rb +0 -260
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_default_association_multi_post.rb +0 -246
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_fetch_associations_batch_request.rb +0 -241
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_object_id.rb +0 -232
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/standard_error.rb +0 -326
- data/lib/hubspot/codegen/crm/contacts/models/error_category.rb +0 -276
- data/lib/hubspot/codegen/crm/deals/models/error_category.rb +0 -276
- data/lib/hubspot/codegen/crm/line_items/models/error_category.rb +0 -276
- data/lib/hubspot/codegen/crm/objects/api/associations_api.rb +0 -275
- data/lib/hubspot/codegen/crm/objects/calls/models/error_category.rb +0 -278
- data/lib/hubspot/codegen/crm/objects/communications/models/error_category.rb +0 -278
- data/lib/hubspot/codegen/crm/objects/emails/models/error_category.rb +0 -278
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/error_category.rb +0 -278
- data/lib/hubspot/codegen/crm/objects/meetings/models/error_category.rb +0 -278
- data/lib/hubspot/codegen/crm/objects/models/collection_response_associated_id_forward_paging.rb +0 -239
- data/lib/hubspot/codegen/crm/objects/models/error_category.rb +0 -276
- data/lib/hubspot/codegen/crm/objects/notes/models/error_category.rb +0 -278
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/error_category.rb +0 -278
- data/lib/hubspot/codegen/crm/objects/tasks/models/error_category.rb +0 -278
- data/lib/hubspot/codegen/crm/products/models/error_category.rb +0 -276
- data/lib/hubspot/codegen/crm/properties/models/error_category.rb +0 -276
- data/lib/hubspot/codegen/crm/quotes/models/error_category.rb +0 -276
- data/lib/hubspot/codegen/crm/tickets/models/error_category.rb +0 -276
- data/lib/hubspot/codegen/crm/timeline/models/error_category.rb +0 -276
- data/lib/hubspot/codegen/files/files/api/files_api.rb +0 -815
- data/lib/hubspot/codegen/files/files/api/folders_api.rb +0 -605
- data/lib/hubspot/codegen/files/files/api_client.rb +0 -410
- data/lib/hubspot/codegen/files/files/api_error.rb +0 -61
- data/lib/hubspot/codegen/files/files/configuration.rb +0 -287
- data/lib/hubspot/codegen/files/files/models/error.rb +0 -305
- data/lib/hubspot/codegen/files/files/models/error_category.rb +0 -276
- data/lib/hubspot/codegen/files/files/models/file_action_response.rb +0 -361
- data/lib/hubspot/codegen/files/files/models/file_update_input.rb +0 -299
- data/lib/hubspot/codegen/files/files/models/folder.rb +0 -314
- data/lib/hubspot/codegen/files/files/models/folder_action_response.rb +0 -361
- data/lib/hubspot/codegen/files/files/models/folder_input.rb +0 -250
- data/lib/hubspot/codegen/files/files/models/folder_update_input.rb +0 -250
- data/lib/hubspot/codegen/files/files/models/hubspot_file.rb +0 -454
- data/lib/hubspot/codegen/files/files/models/import_from_url_input.rb +0 -387
- data/lib/hubspot/codegen/files/files/models/import_from_url_task_locator.rb +0 -242
- data/lib/hubspot/codegen/files/files/models/paging.rb +0 -232
- data/lib/hubspot/codegen/files/files/models/signed_url.rb +0 -324
- data/lib/hubspot/codegen/files/files/models/standard_error.rb +0 -322
- data/lib/hubspot/codegen/marketing/events/models/error_category.rb +0 -276
- data/lib/hubspot/discovery/files/files/client.rb +0 -20
@@ -1,5 +1,5 @@
|
|
1
1
|
=begin
|
2
|
-
#Marketing Events
|
2
|
+
#Marketing Events
|
3
3
|
|
4
4
|
#These APIs allow you to interact with HubSpot's Marketing Events Extension. It allows you to: * Create, Read or update Marketing Event information in HubSpot * Specify whether a HubSpot contact has registered, attended or cancelled a registration to a Marketing Event. * Specify a URL that can be called to get the details of a Marketing Event.
|
5
5
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
=begin
|
2
|
-
#Marketing Events
|
2
|
+
#Marketing Events
|
3
3
|
|
4
4
|
#These APIs allow you to interact with HubSpot's Marketing Events Extension. It allows you to: * Create, Read or update Marketing Event information in HubSpot * Specify whether a HubSpot contact has registered, attended or cancelled a registration to a Marketing Event. * Specify a URL that can be called to get the details of a Marketing Event.
|
5
5
|
|
@@ -15,14 +15,16 @@ require 'cgi'
|
|
15
15
|
module Hubspot
|
16
16
|
module Marketing
|
17
17
|
module Events
|
18
|
-
class
|
18
|
+
class SettingsApi
|
19
19
|
attr_accessor :api_client
|
20
20
|
|
21
21
|
def initialize(api_client = ApiClient.default)
|
22
22
|
@api_client = api_client
|
23
23
|
end
|
24
|
-
#
|
25
|
-
#
|
24
|
+
# Update the application settings
|
25
|
+
# Create or update the current settings for the application.
|
26
|
+
# @param app_id [Integer] The id of the application to update the settings for.
|
27
|
+
# @param event_detail_settings_url [EventDetailSettingsUrl] The new application settings
|
26
28
|
# @param [Hash] opts the optional parameters
|
27
29
|
# @return [EventDetailSettings]
|
28
30
|
def create(app_id, event_detail_settings_url, opts = {})
|
@@ -30,21 +32,23 @@ module Hubspot
|
|
30
32
|
data
|
31
33
|
end
|
32
34
|
|
33
|
-
#
|
34
|
-
#
|
35
|
+
# Update the application settings
|
36
|
+
# Create or update the current settings for the application.
|
37
|
+
# @param app_id [Integer] The id of the application to update the settings for.
|
38
|
+
# @param event_detail_settings_url [EventDetailSettingsUrl] The new application settings
|
35
39
|
# @param [Hash] opts the optional parameters
|
36
40
|
# @return [Array<(EventDetailSettings, Integer, Hash)>] EventDetailSettings data, response status code and response headers
|
37
41
|
def create_with_http_info(app_id, event_detail_settings_url, opts = {})
|
38
42
|
if @api_client.config.debugging
|
39
|
-
@api_client.config.logger.debug 'Calling API:
|
43
|
+
@api_client.config.logger.debug 'Calling API: SettingsApi.create ...'
|
40
44
|
end
|
41
45
|
# verify the required parameter 'app_id' is set
|
42
46
|
if @api_client.config.client_side_validation && app_id.nil?
|
43
|
-
fail ArgumentError, "Missing the required parameter 'app_id' when calling
|
47
|
+
fail ArgumentError, "Missing the required parameter 'app_id' when calling SettingsApi.create"
|
44
48
|
end
|
45
49
|
# verify the required parameter 'event_detail_settings_url' is set
|
46
50
|
if @api_client.config.client_side_validation && event_detail_settings_url.nil?
|
47
|
-
fail ArgumentError, "Missing the required parameter 'event_detail_settings_url' when calling
|
51
|
+
fail ArgumentError, "Missing the required parameter 'event_detail_settings_url' when calling SettingsApi.create"
|
48
52
|
end
|
49
53
|
# resource path
|
50
54
|
local_var_path = '/marketing/v3/marketing-events/{appId}/settings'.sub('{' + 'appId' + '}', CGI.escape(app_id.to_s))
|
@@ -72,10 +76,10 @@ module Hubspot
|
|
72
76
|
return_type = opts[:debug_return_type] || 'EventDetailSettings'
|
73
77
|
|
74
78
|
# auth_names
|
75
|
-
auth_names = opts[:debug_auth_names] || ['developer_hapikey'
|
79
|
+
auth_names = opts[:debug_auth_names] || ['developer_hapikey']
|
76
80
|
|
77
81
|
new_options = opts.merge(
|
78
|
-
:operation => :"
|
82
|
+
:operation => :"SettingsApi.create",
|
79
83
|
:header_params => header_params,
|
80
84
|
:query_params => query_params,
|
81
85
|
:form_params => form_params,
|
@@ -86,12 +90,14 @@ module Hubspot
|
|
86
90
|
|
87
91
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
88
92
|
if @api_client.config.debugging
|
89
|
-
@api_client.config.logger.debug "API called:
|
93
|
+
@api_client.config.logger.debug "API called: SettingsApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
90
94
|
end
|
91
95
|
return data, status_code, headers
|
92
96
|
end
|
93
97
|
|
94
|
-
#
|
98
|
+
# Retrieve the application settings
|
99
|
+
# Retrieve the current settings for the application.
|
100
|
+
# @param app_id [Integer] The id of the application to retrieve the settings for.
|
95
101
|
# @param [Hash] opts the optional parameters
|
96
102
|
# @return [EventDetailSettings]
|
97
103
|
def get_all(app_id, opts = {})
|
@@ -99,16 +105,18 @@ module Hubspot
|
|
99
105
|
data
|
100
106
|
end
|
101
107
|
|
102
|
-
#
|
108
|
+
# Retrieve the application settings
|
109
|
+
# Retrieve the current settings for the application.
|
110
|
+
# @param app_id [Integer] The id of the application to retrieve the settings for.
|
103
111
|
# @param [Hash] opts the optional parameters
|
104
112
|
# @return [Array<(EventDetailSettings, Integer, Hash)>] EventDetailSettings data, response status code and response headers
|
105
113
|
def get_all_with_http_info(app_id, opts = {})
|
106
114
|
if @api_client.config.debugging
|
107
|
-
@api_client.config.logger.debug 'Calling API:
|
115
|
+
@api_client.config.logger.debug 'Calling API: SettingsApi.get_all ...'
|
108
116
|
end
|
109
117
|
# verify the required parameter 'app_id' is set
|
110
118
|
if @api_client.config.client_side_validation && app_id.nil?
|
111
|
-
fail ArgumentError, "Missing the required parameter 'app_id' when calling
|
119
|
+
fail ArgumentError, "Missing the required parameter 'app_id' when calling SettingsApi.get_all"
|
112
120
|
end
|
113
121
|
# resource path
|
114
122
|
local_var_path = '/marketing/v3/marketing-events/{appId}/settings'.sub('{' + 'appId' + '}', CGI.escape(app_id.to_s))
|
@@ -131,10 +139,10 @@ module Hubspot
|
|
131
139
|
return_type = opts[:debug_return_type] || 'EventDetailSettings'
|
132
140
|
|
133
141
|
# auth_names
|
134
|
-
auth_names = opts[:debug_auth_names] || ['developer_hapikey'
|
142
|
+
auth_names = opts[:debug_auth_names] || ['developer_hapikey']
|
135
143
|
|
136
144
|
new_options = opts.merge(
|
137
|
-
:operation => :"
|
145
|
+
:operation => :"SettingsApi.get_all",
|
138
146
|
:header_params => header_params,
|
139
147
|
:query_params => query_params,
|
140
148
|
:form_params => form_params,
|
@@ -145,7 +153,7 @@ module Hubspot
|
|
145
153
|
|
146
154
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
147
155
|
if @api_client.config.debugging
|
148
|
-
@api_client.config.logger.debug "API called:
|
156
|
+
@api_client.config.logger.debug "API called: SettingsApi#get_all\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
149
157
|
end
|
150
158
|
return data, status_code, headers
|
151
159
|
end
|
@@ -0,0 +1,200 @@
|
|
1
|
+
=begin
|
2
|
+
#Marketing Events
|
3
|
+
|
4
|
+
#These APIs allow you to interact with HubSpot's Marketing Events Extension. It allows you to: * Create, Read or update Marketing Event information in HubSpot * Specify whether a HubSpot contact has registered, attended or cancelled a registration to a Marketing Event. * Specify a URL that can be called to get the details of a Marketing Event.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 6.2.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'cgi'
|
14
|
+
|
15
|
+
module Hubspot
|
16
|
+
module Marketing
|
17
|
+
module Events
|
18
|
+
class SubscriberStateChangesApi
|
19
|
+
attr_accessor :api_client
|
20
|
+
|
21
|
+
def initialize(api_client = ApiClient.default)
|
22
|
+
@api_client = api_client
|
23
|
+
end
|
24
|
+
# Record
|
25
|
+
# Record a subscription state between multiple HubSpot contacts and a marketing event, using contact email addresses. Note that the contact must already exist in HubSpot; a contact will not be created.
|
26
|
+
# @param external_event_id [String] The id of the marketing event
|
27
|
+
# @param subscriber_state [String] The new subscriber state for the HubSpot contacts and the specified marketing event
|
28
|
+
# @param external_account_id [String] The account id associated with the marketing event
|
29
|
+
# @param batch_input_marketing_event_email_subscriber [BatchInputMarketingEventEmailSubscriber] The details of the contacts to subscribe to the event
|
30
|
+
# @param [Hash] opts the optional parameters
|
31
|
+
# @return [Error]
|
32
|
+
def do_email_upsert_by_id(external_event_id, subscriber_state, external_account_id, batch_input_marketing_event_email_subscriber, opts = {})
|
33
|
+
data, _status_code, _headers = do_email_upsert_by_id_with_http_info(external_event_id, subscriber_state, external_account_id, batch_input_marketing_event_email_subscriber, opts)
|
34
|
+
data
|
35
|
+
end
|
36
|
+
|
37
|
+
# Record
|
38
|
+
# Record a subscription state between multiple HubSpot contacts and a marketing event, using contact email addresses. Note that the contact must already exist in HubSpot; a contact will not be created.
|
39
|
+
# @param external_event_id [String] The id of the marketing event
|
40
|
+
# @param subscriber_state [String] The new subscriber state for the HubSpot contacts and the specified marketing event
|
41
|
+
# @param external_account_id [String] The account id associated with the marketing event
|
42
|
+
# @param batch_input_marketing_event_email_subscriber [BatchInputMarketingEventEmailSubscriber] The details of the contacts to subscribe to the event
|
43
|
+
# @param [Hash] opts the optional parameters
|
44
|
+
# @return [Array<(Error, Integer, Hash)>] Error data, response status code and response headers
|
45
|
+
def do_email_upsert_by_id_with_http_info(external_event_id, subscriber_state, external_account_id, batch_input_marketing_event_email_subscriber, opts = {})
|
46
|
+
if @api_client.config.debugging
|
47
|
+
@api_client.config.logger.debug 'Calling API: SubscriberStateChangesApi.do_email_upsert_by_id ...'
|
48
|
+
end
|
49
|
+
# verify the required parameter 'external_event_id' is set
|
50
|
+
if @api_client.config.client_side_validation && external_event_id.nil?
|
51
|
+
fail ArgumentError, "Missing the required parameter 'external_event_id' when calling SubscriberStateChangesApi.do_email_upsert_by_id"
|
52
|
+
end
|
53
|
+
# verify the required parameter 'subscriber_state' is set
|
54
|
+
if @api_client.config.client_side_validation && subscriber_state.nil?
|
55
|
+
fail ArgumentError, "Missing the required parameter 'subscriber_state' when calling SubscriberStateChangesApi.do_email_upsert_by_id"
|
56
|
+
end
|
57
|
+
# verify the required parameter 'external_account_id' is set
|
58
|
+
if @api_client.config.client_side_validation && external_account_id.nil?
|
59
|
+
fail ArgumentError, "Missing the required parameter 'external_account_id' when calling SubscriberStateChangesApi.do_email_upsert_by_id"
|
60
|
+
end
|
61
|
+
# verify the required parameter 'batch_input_marketing_event_email_subscriber' is set
|
62
|
+
if @api_client.config.client_side_validation && batch_input_marketing_event_email_subscriber.nil?
|
63
|
+
fail ArgumentError, "Missing the required parameter 'batch_input_marketing_event_email_subscriber' when calling SubscriberStateChangesApi.do_email_upsert_by_id"
|
64
|
+
end
|
65
|
+
# resource path
|
66
|
+
local_var_path = '/marketing/v3/marketing-events/events/{externalEventId}/{subscriberState}/email-upsert'.sub('{' + 'externalEventId' + '}', CGI.escape(external_event_id.to_s)).sub('{' + 'subscriberState' + '}', CGI.escape(subscriber_state.to_s))
|
67
|
+
|
68
|
+
# query parameters
|
69
|
+
query_params = opts[:query_params] || {}
|
70
|
+
query_params[:'externalAccountId'] = external_account_id
|
71
|
+
|
72
|
+
# header parameters
|
73
|
+
header_params = opts[:header_params] || {}
|
74
|
+
# HTTP header 'Accept' (if needed)
|
75
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
76
|
+
# HTTP header 'Content-Type'
|
77
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
78
|
+
if !content_type.nil?
|
79
|
+
header_params['Content-Type'] = content_type
|
80
|
+
end
|
81
|
+
|
82
|
+
# form parameters
|
83
|
+
form_params = opts[:form_params] || {}
|
84
|
+
|
85
|
+
# http body (model)
|
86
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(batch_input_marketing_event_email_subscriber)
|
87
|
+
|
88
|
+
# return_type
|
89
|
+
return_type = opts[:debug_return_type] || 'Error'
|
90
|
+
|
91
|
+
# auth_names
|
92
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
93
|
+
|
94
|
+
new_options = opts.merge(
|
95
|
+
:operation => :"SubscriberStateChangesApi.do_email_upsert_by_id",
|
96
|
+
:header_params => header_params,
|
97
|
+
:query_params => query_params,
|
98
|
+
:form_params => form_params,
|
99
|
+
:body => post_body,
|
100
|
+
:auth_names => auth_names,
|
101
|
+
:return_type => return_type
|
102
|
+
)
|
103
|
+
|
104
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
105
|
+
if @api_client.config.debugging
|
106
|
+
@api_client.config.logger.debug "API called: SubscriberStateChangesApi#do_email_upsert_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
107
|
+
end
|
108
|
+
return data, status_code, headers
|
109
|
+
end
|
110
|
+
|
111
|
+
# Record
|
112
|
+
# Record a subscription state between multiple HubSpot contacts and a marketing event, using HubSpot contact ids. Note that the contact must already exist in HubSpot; a contact will not be create.
|
113
|
+
# @param external_event_id [String] The id of the marketing event
|
114
|
+
# @param subscriber_state [String] The new subscriber state for the HubSpot contacts and the specified marketing event
|
115
|
+
# @param external_account_id [String] The account id associated with the marketing event
|
116
|
+
# @param batch_input_marketing_event_subscriber [BatchInputMarketingEventSubscriber] The details of the contacts to subscribe to the event
|
117
|
+
# @param [Hash] opts the optional parameters
|
118
|
+
# @return [Error]
|
119
|
+
def do_upsert_by_id(external_event_id, subscriber_state, external_account_id, batch_input_marketing_event_subscriber, opts = {})
|
120
|
+
data, _status_code, _headers = do_upsert_by_id_with_http_info(external_event_id, subscriber_state, external_account_id, batch_input_marketing_event_subscriber, opts)
|
121
|
+
data
|
122
|
+
end
|
123
|
+
|
124
|
+
# Record
|
125
|
+
# Record a subscription state between multiple HubSpot contacts and a marketing event, using HubSpot contact ids. Note that the contact must already exist in HubSpot; a contact will not be create.
|
126
|
+
# @param external_event_id [String] The id of the marketing event
|
127
|
+
# @param subscriber_state [String] The new subscriber state for the HubSpot contacts and the specified marketing event
|
128
|
+
# @param external_account_id [String] The account id associated with the marketing event
|
129
|
+
# @param batch_input_marketing_event_subscriber [BatchInputMarketingEventSubscriber] The details of the contacts to subscribe to the event
|
130
|
+
# @param [Hash] opts the optional parameters
|
131
|
+
# @return [Array<(Error, Integer, Hash)>] Error data, response status code and response headers
|
132
|
+
def do_upsert_by_id_with_http_info(external_event_id, subscriber_state, external_account_id, batch_input_marketing_event_subscriber, opts = {})
|
133
|
+
if @api_client.config.debugging
|
134
|
+
@api_client.config.logger.debug 'Calling API: SubscriberStateChangesApi.do_upsert_by_id ...'
|
135
|
+
end
|
136
|
+
# verify the required parameter 'external_event_id' is set
|
137
|
+
if @api_client.config.client_side_validation && external_event_id.nil?
|
138
|
+
fail ArgumentError, "Missing the required parameter 'external_event_id' when calling SubscriberStateChangesApi.do_upsert_by_id"
|
139
|
+
end
|
140
|
+
# verify the required parameter 'subscriber_state' is set
|
141
|
+
if @api_client.config.client_side_validation && subscriber_state.nil?
|
142
|
+
fail ArgumentError, "Missing the required parameter 'subscriber_state' when calling SubscriberStateChangesApi.do_upsert_by_id"
|
143
|
+
end
|
144
|
+
# verify the required parameter 'external_account_id' is set
|
145
|
+
if @api_client.config.client_side_validation && external_account_id.nil?
|
146
|
+
fail ArgumentError, "Missing the required parameter 'external_account_id' when calling SubscriberStateChangesApi.do_upsert_by_id"
|
147
|
+
end
|
148
|
+
# verify the required parameter 'batch_input_marketing_event_subscriber' is set
|
149
|
+
if @api_client.config.client_side_validation && batch_input_marketing_event_subscriber.nil?
|
150
|
+
fail ArgumentError, "Missing the required parameter 'batch_input_marketing_event_subscriber' when calling SubscriberStateChangesApi.do_upsert_by_id"
|
151
|
+
end
|
152
|
+
# resource path
|
153
|
+
local_var_path = '/marketing/v3/marketing-events/events/{externalEventId}/{subscriberState}/upsert'.sub('{' + 'externalEventId' + '}', CGI.escape(external_event_id.to_s)).sub('{' + 'subscriberState' + '}', CGI.escape(subscriber_state.to_s))
|
154
|
+
|
155
|
+
# query parameters
|
156
|
+
query_params = opts[:query_params] || {}
|
157
|
+
query_params[:'externalAccountId'] = external_account_id
|
158
|
+
|
159
|
+
# header parameters
|
160
|
+
header_params = opts[:header_params] || {}
|
161
|
+
# HTTP header 'Accept' (if needed)
|
162
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
163
|
+
# HTTP header 'Content-Type'
|
164
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
165
|
+
if !content_type.nil?
|
166
|
+
header_params['Content-Type'] = content_type
|
167
|
+
end
|
168
|
+
|
169
|
+
# form parameters
|
170
|
+
form_params = opts[:form_params] || {}
|
171
|
+
|
172
|
+
# http body (model)
|
173
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(batch_input_marketing_event_subscriber)
|
174
|
+
|
175
|
+
# return_type
|
176
|
+
return_type = opts[:debug_return_type] || 'Error'
|
177
|
+
|
178
|
+
# auth_names
|
179
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
180
|
+
|
181
|
+
new_options = opts.merge(
|
182
|
+
:operation => :"SubscriberStateChangesApi.do_upsert_by_id",
|
183
|
+
:header_params => header_params,
|
184
|
+
:query_params => query_params,
|
185
|
+
:form_params => form_params,
|
186
|
+
:body => post_body,
|
187
|
+
:auth_names => auth_names,
|
188
|
+
:return_type => return_type
|
189
|
+
)
|
190
|
+
|
191
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
192
|
+
if @api_client.config.debugging
|
193
|
+
@api_client.config.logger.debug "API called: SubscriberStateChangesApi#do_upsert_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
194
|
+
end
|
195
|
+
return data, status_code, headers
|
196
|
+
end
|
197
|
+
end
|
198
|
+
end
|
199
|
+
end
|
200
|
+
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
=begin
|
2
|
-
#Marketing Events
|
2
|
+
#Marketing Events
|
3
3
|
|
4
4
|
#These APIs allow you to interact with HubSpot's Marketing Events Extension. It allows you to: * Create, Read or update Marketing Event information in HubSpot * Specify whether a HubSpot contact has registered, attended or cancelled a registration to a Marketing Event. * Specify a URL that can be called to get the details of a Marketing Event.
|
5
5
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
=begin
|
2
|
-
#Marketing Events
|
2
|
+
#Marketing Events
|
3
3
|
|
4
4
|
#These APIs allow you to interact with HubSpot's Marketing Events Extension. It allows you to: * Create, Read or update Marketing Event information in HubSpot * Specify whether a HubSpot contact has registered, attended or cancelled a registration to a Marketing Event. * Specify a URL that can be called to get the details of a Marketing Event.
|
5
5
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
=begin
|
2
|
-
#Marketing Events
|
2
|
+
#Marketing Events
|
3
3
|
|
4
4
|
#These APIs allow you to interact with HubSpot's Marketing Events Extension. It allows you to: * Create, Read or update Marketing Event information in HubSpot * Specify whether a HubSpot contact has registered, attended or cancelled a registration to a Marketing Event. * Specify a URL that can be called to get the details of a Marketing Event.
|
5
5
|
|
@@ -229,13 +229,6 @@ module Hubspot
|
|
229
229
|
key: 'hapikey',
|
230
230
|
value: api_key_with_prefix('developer_hapikey')
|
231
231
|
},
|
232
|
-
'hapikey' =>
|
233
|
-
{
|
234
|
-
type: 'api_key',
|
235
|
-
in: 'query',
|
236
|
-
key: 'hapikey',
|
237
|
-
value: api_key_with_prefix('hapikey')
|
238
|
-
},
|
239
232
|
'oauth2' =>
|
240
233
|
{
|
241
234
|
type: 'oauth2',
|
@@ -1,5 +1,5 @@
|
|
1
1
|
=begin
|
2
|
-
#Marketing Events
|
2
|
+
#Marketing Events
|
3
3
|
|
4
4
|
#These APIs allow you to interact with HubSpot's Marketing Events Extension. It allows you to: * Create, Read or update Marketing Event information in HubSpot * Specify whether a HubSpot contact has registered, attended or cancelled a registration to a Marketing Event. * Specify a URL that can be called to get the details of a Marketing Event.
|
5
5
|
|
@@ -17,6 +17,7 @@ module Hubspot
|
|
17
17
|
module Marketing
|
18
18
|
module Events
|
19
19
|
class BatchInputMarketingEventCreateRequestParams
|
20
|
+
#
|
20
21
|
attr_accessor :inputs
|
21
22
|
|
22
23
|
# Attribute mapping from ruby-style variable name to JSON key.
|
data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_email_subscriber.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
=begin
|
2
|
-
#Marketing Events
|
2
|
+
#Marketing Events
|
3
3
|
|
4
4
|
#These APIs allow you to interact with HubSpot's Marketing Events Extension. It allows you to: * Create, Read or update Marketing Event information in HubSpot * Specify whether a HubSpot contact has registered, attended or cancelled a registration to a Marketing Event. * Specify a URL that can be called to get the details of a Marketing Event.
|
5
5
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
=begin
|
2
|
-
#Marketing Events
|
2
|
+
#Marketing Events
|
3
3
|
|
4
4
|
#These APIs allow you to interact with HubSpot's Marketing Events Extension. It allows you to: * Create, Read or update Marketing Event information in HubSpot * Specify whether a HubSpot contact has registered, attended or cancelled a registration to a Marketing Event. * Specify a URL that can be called to get the details of a Marketing Event.
|
5
5
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
=begin
|
2
|
-
#Marketing Events
|
2
|
+
#Marketing Events
|
3
3
|
|
4
4
|
#These APIs allow you to interact with HubSpot's Marketing Events Extension. It allows you to: * Create, Read or update Marketing Event information in HubSpot * Specify whether a HubSpot contact has registered, attended or cancelled a registration to a Marketing Event. * Specify a URL that can be called to get the details of a Marketing Event.
|
5
5
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
=begin
|
2
|
-
#Marketing Events
|
2
|
+
#Marketing Events
|
3
3
|
|
4
4
|
#These APIs allow you to interact with HubSpot's Marketing Events Extension. It allows you to: * Create, Read or update Marketing Event information in HubSpot * Specify whether a HubSpot contact has registered, attended or cancelled a registration to a Marketing Event. * Specify a URL that can be called to get the details of a Marketing Event.
|
5
5
|
|
@@ -17,22 +17,30 @@ module Hubspot
|
|
17
17
|
module Marketing
|
18
18
|
module Events
|
19
19
|
class BatchResponseMarketingEventPublicDefaultResponse
|
20
|
-
|
21
|
-
|
22
|
-
attr_accessor :results
|
20
|
+
#
|
21
|
+
attr_accessor :completed_at
|
23
22
|
|
23
|
+
#
|
24
24
|
attr_accessor :num_errors
|
25
25
|
|
26
|
-
|
27
|
-
|
26
|
+
#
|
28
27
|
attr_accessor :requested_at
|
29
28
|
|
29
|
+
#
|
30
30
|
attr_accessor :started_at
|
31
31
|
|
32
|
-
|
33
|
-
|
32
|
+
#
|
34
33
|
attr_accessor :links
|
35
34
|
|
35
|
+
#
|
36
|
+
attr_accessor :results
|
37
|
+
|
38
|
+
#
|
39
|
+
attr_accessor :errors
|
40
|
+
|
41
|
+
#
|
42
|
+
attr_accessor :status
|
43
|
+
|
36
44
|
class EnumAttributeValidator
|
37
45
|
attr_reader :datatype
|
38
46
|
attr_reader :allowable_values
|
@@ -58,14 +66,14 @@ module Hubspot
|
|
58
66
|
# Attribute mapping from ruby-style variable name to JSON key.
|
59
67
|
def self.attribute_map
|
60
68
|
{
|
61
|
-
:'
|
62
|
-
:'results' => :'results',
|
69
|
+
:'completed_at' => :'completedAt',
|
63
70
|
:'num_errors' => :'numErrors',
|
64
|
-
:'errors' => :'errors',
|
65
71
|
:'requested_at' => :'requestedAt',
|
66
72
|
:'started_at' => :'startedAt',
|
67
|
-
:'
|
68
|
-
:'
|
73
|
+
:'links' => :'links',
|
74
|
+
:'results' => :'results',
|
75
|
+
:'errors' => :'errors',
|
76
|
+
:'status' => :'status'
|
69
77
|
}
|
70
78
|
end
|
71
79
|
|
@@ -77,14 +85,14 @@ module Hubspot
|
|
77
85
|
# Attribute type mapping.
|
78
86
|
def self.openapi_types
|
79
87
|
{
|
80
|
-
:'
|
81
|
-
:'results' => :'Array<MarketingEventPublicDefaultResponse>',
|
88
|
+
:'completed_at' => :'Time',
|
82
89
|
:'num_errors' => :'Integer',
|
83
|
-
:'errors' => :'Array<StandardError>',
|
84
90
|
:'requested_at' => :'Time',
|
85
91
|
:'started_at' => :'Time',
|
86
|
-
:'
|
87
|
-
:'
|
92
|
+
:'links' => :'Hash<String, String>',
|
93
|
+
:'results' => :'Array<MarketingEventPublicDefaultResponse>',
|
94
|
+
:'errors' => :'Array<StandardError>',
|
95
|
+
:'status' => :'String'
|
88
96
|
}
|
89
97
|
end
|
90
98
|
|
@@ -109,26 +117,14 @@ module Hubspot
|
|
109
117
|
h[k.to_sym] = v
|
110
118
|
}
|
111
119
|
|
112
|
-
if attributes.key?(:'
|
113
|
-
self.
|
114
|
-
end
|
115
|
-
|
116
|
-
if attributes.key?(:'results')
|
117
|
-
if (value = attributes[:'results']).is_a?(Array)
|
118
|
-
self.results = value
|
119
|
-
end
|
120
|
+
if attributes.key?(:'completed_at')
|
121
|
+
self.completed_at = attributes[:'completed_at']
|
120
122
|
end
|
121
123
|
|
122
124
|
if attributes.key?(:'num_errors')
|
123
125
|
self.num_errors = attributes[:'num_errors']
|
124
126
|
end
|
125
127
|
|
126
|
-
if attributes.key?(:'errors')
|
127
|
-
if (value = attributes[:'errors']).is_a?(Array)
|
128
|
-
self.errors = value
|
129
|
-
end
|
130
|
-
end
|
131
|
-
|
132
128
|
if attributes.key?(:'requested_at')
|
133
129
|
self.requested_at = attributes[:'requested_at']
|
134
130
|
end
|
@@ -137,35 +133,47 @@ module Hubspot
|
|
137
133
|
self.started_at = attributes[:'started_at']
|
138
134
|
end
|
139
135
|
|
140
|
-
if attributes.key?(:'completed_at')
|
141
|
-
self.completed_at = attributes[:'completed_at']
|
142
|
-
end
|
143
|
-
|
144
136
|
if attributes.key?(:'links')
|
145
137
|
if (value = attributes[:'links']).is_a?(Hash)
|
146
138
|
self.links = value
|
147
139
|
end
|
148
140
|
end
|
141
|
+
|
142
|
+
if attributes.key?(:'results')
|
143
|
+
if (value = attributes[:'results']).is_a?(Array)
|
144
|
+
self.results = value
|
145
|
+
end
|
146
|
+
end
|
147
|
+
|
148
|
+
if attributes.key?(:'errors')
|
149
|
+
if (value = attributes[:'errors']).is_a?(Array)
|
150
|
+
self.errors = value
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
154
|
+
if attributes.key?(:'status')
|
155
|
+
self.status = attributes[:'status']
|
156
|
+
end
|
149
157
|
end
|
150
158
|
|
151
159
|
# Show invalid properties with the reasons. Usually used together with valid?
|
152
160
|
# @return Array for valid properties with the reasons
|
153
161
|
def list_invalid_properties
|
154
162
|
invalid_properties = Array.new
|
155
|
-
if @
|
156
|
-
invalid_properties.push('invalid value for "
|
157
|
-
end
|
158
|
-
|
159
|
-
if @results.nil?
|
160
|
-
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
163
|
+
if @completed_at.nil?
|
164
|
+
invalid_properties.push('invalid value for "completed_at", completed_at cannot be nil.')
|
161
165
|
end
|
162
166
|
|
163
167
|
if @started_at.nil?
|
164
168
|
invalid_properties.push('invalid value for "started_at", started_at cannot be nil.')
|
165
169
|
end
|
166
170
|
|
167
|
-
if @
|
168
|
-
invalid_properties.push('invalid value for "
|
171
|
+
if @results.nil?
|
172
|
+
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
173
|
+
end
|
174
|
+
|
175
|
+
if @status.nil?
|
176
|
+
invalid_properties.push('invalid value for "status", status cannot be nil.')
|
169
177
|
end
|
170
178
|
|
171
179
|
invalid_properties
|
@@ -174,12 +182,12 @@ module Hubspot
|
|
174
182
|
# Check to see if the all the properties in the model are valid
|
175
183
|
# @return true if the model is valid
|
176
184
|
def valid?
|
185
|
+
return false if @completed_at.nil?
|
186
|
+
return false if @started_at.nil?
|
187
|
+
return false if @results.nil?
|
177
188
|
return false if @status.nil?
|
178
189
|
status_validator = EnumAttributeValidator.new('String', ["PENDING", "PROCESSING", "CANCELED", "COMPLETE"])
|
179
190
|
return false unless status_validator.valid?(@status)
|
180
|
-
return false if @results.nil?
|
181
|
-
return false if @started_at.nil?
|
182
|
-
return false if @completed_at.nil?
|
183
191
|
true
|
184
192
|
end
|
185
193
|
|
@@ -198,14 +206,14 @@ module Hubspot
|
|
198
206
|
def ==(o)
|
199
207
|
return true if self.equal?(o)
|
200
208
|
self.class == o.class &&
|
201
|
-
|
202
|
-
results == o.results &&
|
209
|
+
completed_at == o.completed_at &&
|
203
210
|
num_errors == o.num_errors &&
|
204
|
-
errors == o.errors &&
|
205
211
|
requested_at == o.requested_at &&
|
206
212
|
started_at == o.started_at &&
|
207
|
-
|
208
|
-
|
213
|
+
links == o.links &&
|
214
|
+
results == o.results &&
|
215
|
+
errors == o.errors &&
|
216
|
+
status == o.status
|
209
217
|
end
|
210
218
|
|
211
219
|
# @see the `==` method
|
@@ -217,7 +225,7 @@ module Hubspot
|
|
217
225
|
# Calculates hash code according to all attributes.
|
218
226
|
# @return [Integer] Hash code
|
219
227
|
def hash
|
220
|
-
[
|
228
|
+
[completed_at, num_errors, requested_at, started_at, links, results, errors, status].hash
|
221
229
|
end
|
222
230
|
|
223
231
|
# Builds the object from hash
|