hubspot-api-client 17.2.0 → 19.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 +373 -14
- 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/automation/actions/models/output_field_definition.rb +228 -0
- 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/models/collection_response_folder.rb → cms/audit_logs/models/previous_page.rb} +24 -26
- 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 +48 -42
- 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 +20 -32
- 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 +567 -556
- data/lib/hubspot/codegen/cms/blogs/blog_posts/models/blog_post_language_clone_request_v_next.rb +15 -15
- data/lib/hubspot/codegen/{crm/associations/schema/models/associated_id.rb → cms/blogs/blog_posts/models/breakpoint_styles.rb} +42 -28
- 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 +109 -95
- 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 +58 -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 +53 -32
- data/lib/hubspot/codegen/cms/hubdb/api/rows_batch_api.rb +37 -37
- data/lib/hubspot/codegen/cms/hubdb/api/tables_api.rb +56 -41
- data/lib/hubspot/codegen/cms/hubdb/api_client.rb +2 -2
- data/lib/hubspot/codegen/cms/hubdb/api_error.rb +2 -2
- data/lib/hubspot/codegen/cms/hubdb/configuration.rb +2 -2
- data/lib/hubspot/codegen/cms/hubdb/models/batch_input_hub_db_table_row_batch_clone_request.rb +230 -0
- data/lib/hubspot/codegen/cms/hubdb/models/batch_input_hub_db_table_row_v3_batch_update_request.rb +2 -2
- data/lib/hubspot/codegen/cms/hubdb/models/batch_input_hub_db_table_row_v3_request.rb +3 -2
- data/lib/hubspot/codegen/cms/hubdb/models/batch_input_string.rb +3 -2
- data/lib/hubspot/codegen/cms/hubdb/models/batch_response_hub_db_table_row_v3.rb +32 -32
- data/lib/hubspot/codegen/cms/hubdb/models/batch_response_hub_db_table_row_v3_with_errors.rb +62 -54
- data/lib/hubspot/codegen/cms/hubdb/models/bounded_next_page.rb +237 -0
- data/lib/hubspot/codegen/cms/hubdb/models/bounded_paging.rb +223 -0
- data/lib/hubspot/codegen/cms/hubdb/models/collection_response_with_total_hub_db_table_v3_forward_paging.rb +17 -15
- data/lib/hubspot/codegen/cms/hubdb/models/column.rb +134 -80
- data/lib/hubspot/codegen/cms/hubdb/models/column_request.rb +44 -44
- data/lib/hubspot/codegen/cms/hubdb/models/error.rb +52 -52
- data/lib/hubspot/codegen/cms/hubdb/models/error_detail.rb +30 -30
- data/lib/hubspot/codegen/cms/hubdb/models/foreign_id.rb +20 -17
- data/lib/hubspot/codegen/cms/hubdb/models/forward_paging.rb +2 -2
- data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_clone_request.rb +17 -3
- data/lib/hubspot/codegen/{crm/associations/models/public_association_definition.rb → cms/hubdb/models/hub_db_table_row_batch_clone_request.rb} +21 -26
- data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3.rb +49 -49
- data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3_batch_update_request.rb +22 -22
- data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3_request.rb +13 -13
- data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_v3.rb +107 -107
- data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_v3_request.rb +49 -49
- data/lib/hubspot/codegen/cms/hubdb/models/import_result.rb +33 -33
- data/lib/hubspot/codegen/cms/hubdb/models/next_page.rb +17 -15
- data/lib/hubspot/codegen/cms/hubdb/models/option.rb +83 -15
- data/lib/hubspot/codegen/{files/files → cms/hubdb}/models/paging.rb +7 -7
- data/lib/hubspot/codegen/{files/files → cms/hubdb}/models/previous_page.rb +7 -7
- data/lib/hubspot/codegen/cms/hubdb/models/random_access_collection_response_with_total_hub_db_table_row_v3.rb +303 -0
- data/lib/hubspot/codegen/cms/hubdb/models/simple_user.rb +38 -34
- data/lib/hubspot/codegen/cms/hubdb/models/standard_error.rb +56 -48
- data/lib/hubspot/codegen/cms/hubdb/models/{collection_response_with_total_hub_db_table_row_v3_forward_paging.rb → streaming_collection_response_with_total_hub_db_table_row_v3.rb} +67 -17
- data/lib/hubspot/codegen/cms/hubdb/models/unified_collection_response_with_total_base_hub_db_table_row_v3.rb +108 -0
- 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 +51 -51
- data/lib/hubspot/codegen/cms/source_code/api/extract_api.rb +90 -27
- data/lib/hubspot/codegen/cms/source_code/api/metadata_api.rb +5 -2
- data/lib/hubspot/codegen/cms/source_code/api/validation_api.rb +4 -4
- data/lib/hubspot/codegen/cms/source_code/api_client.rb +1 -1
- data/lib/hubspot/codegen/cms/source_code/api_error.rb +1 -1
- data/lib/hubspot/codegen/cms/source_code/configuration.rb +1 -8
- data/lib/hubspot/codegen/cms/source_code/models/action_response.rb +26 -26
- data/lib/hubspot/codegen/cms/source_code/models/asset_file_metadata.rb +57 -48
- data/lib/hubspot/codegen/cms/source_code/models/error.rb +51 -51
- data/lib/hubspot/codegen/cms/source_code/models/error_detail.rb +29 -29
- data/lib/hubspot/codegen/cms/source_code/models/file_extract_request.rb +1 -1
- data/lib/hubspot/codegen/cms/source_code/models/task_locator.rb +14 -14
- 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 +3 -3
- data/lib/hubspot/codegen/communication_preferences/api/status_api.rb +5 -5
- data/lib/hubspot/codegen/communication_preferences/api_client.rb +2 -2
- data/lib/hubspot/codegen/communication_preferences/api_error.rb +2 -2
- data/lib/hubspot/codegen/communication_preferences/configuration.rb +2 -9
- data/lib/hubspot/codegen/communication_preferences/models/error.rb +52 -52
- data/lib/hubspot/codegen/communication_preferences/models/error_detail.rb +30 -30
- data/lib/hubspot/codegen/communication_preferences/models/public_subscription_status.rb +64 -64
- data/lib/hubspot/codegen/communication_preferences/models/public_subscription_statuses_response.rb +2 -2
- data/lib/hubspot/codegen/communication_preferences/models/public_update_subscription_status_request.rb +14 -14
- data/lib/hubspot/codegen/communication_preferences/models/subscription_definition.rb +79 -70
- data/lib/hubspot/codegen/communication_preferences/models/subscription_definitions_response.rb +2 -2
- data/lib/hubspot/codegen/conversations/visitor_identification/api/generate_api.rb +2 -2
- 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/basic_api.rb +6 -6
- data/lib/hubspot/codegen/crm/companies/api/batch_api.rb +70 -2
- data/lib/hubspot/codegen/crm/companies/api/{public_object_api.rb → merge_api.rb} +5 -5
- data/lib/hubspot/codegen/crm/companies/models/association_spec.rb +0 -10
- data/lib/hubspot/codegen/crm/companies/models/batch_input_simple_public_object_batch_input_upsert.rb +230 -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/batch_response_simple_public_upsert_object.rb +326 -0
- data/lib/hubspot/codegen/{files/files/models/file_action_response.rb → crm/companies/models/batch_response_simple_public_upsert_object_with_errors.rb} +52 -67
- 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 +13 -23
- data/lib/hubspot/codegen/crm/companies/models/public_merge_input.rb +18 -18
- data/lib/hubspot/codegen/crm/companies/models/public_object_id.rb +0 -5
- data/lib/hubspot/codegen/crm/companies/models/public_object_search_request.rb +33 -58
- 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 +35 -17
- data/lib/hubspot/codegen/crm/companies/models/simple_public_object_batch_input_upsert.rb +262 -0
- data/lib/hubspot/codegen/crm/companies/models/simple_public_object_input.rb +10 -1
- data/lib/hubspot/codegen/crm/companies/models/simple_public_object_input_for_create.rb +24 -20
- data/lib/hubspot/codegen/crm/companies/models/simple_public_object_with_associations.rb +49 -49
- data/lib/hubspot/codegen/crm/companies/models/simple_public_upsert_object.rb +315 -0
- 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/basic_api.rb +2 -2
- data/lib/hubspot/codegen/crm/contacts/api/batch_api.rb +70 -2
- data/lib/hubspot/codegen/crm/contacts/api/gdpr_api.rb +9 -9
- data/lib/hubspot/codegen/crm/contacts/api/{public_object_api.rb → merge_api.rb} +5 -5
- data/lib/hubspot/codegen/crm/contacts/models/association_spec.rb +0 -10
- data/lib/hubspot/codegen/crm/contacts/models/batch_input_simple_public_object_batch_input_upsert.rb +230 -0
- 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/batch_response_simple_public_upsert_object.rb +326 -0
- data/lib/hubspot/codegen/{files/files/models/folder_action_response.rb → crm/contacts/models/batch_response_simple_public_upsert_object_with_errors.rb} +52 -67
- 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 +13 -23
- 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_id.rb +0 -5
- data/lib/hubspot/codegen/crm/contacts/models/public_object_search_request.rb +33 -58
- 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 +35 -17
- data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_batch_input_upsert.rb +262 -0
- data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_input.rb +10 -1
- data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_input_for_create.rb +24 -20
- data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_with_associations.rb +49 -49
- data/lib/hubspot/codegen/crm/contacts/models/simple_public_upsert_object.rb +315 -0
- 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/basic_api.rb +6 -6
- data/lib/hubspot/codegen/crm/deals/api/batch_api.rb +70 -2
- data/lib/hubspot/codegen/crm/deals/api/{public_object_api.rb → merge_api.rb} +7 -7
- data/lib/hubspot/codegen/crm/deals/models/association_spec.rb +0 -10
- data/lib/hubspot/codegen/crm/deals/models/batch_input_simple_public_object_batch_input_upsert.rb +230 -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/{lists/models/public_unified_events_in_list_filter.rb → deals/models/batch_response_simple_public_upsert_object.rb} +73 -57
- data/lib/hubspot/codegen/crm/deals/models/{error_category.rb → batch_response_simple_public_upsert_object_with_errors.rb} +100 -30
- 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 +13 -23
- data/lib/hubspot/codegen/crm/deals/models/public_merge_input.rb +18 -18
- data/lib/hubspot/codegen/crm/deals/models/public_object_id.rb +0 -5
- data/lib/hubspot/codegen/crm/deals/models/public_object_search_request.rb +33 -58
- 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 +35 -17
- data/lib/hubspot/codegen/{files/files/models/folder_update_input.rb → crm/deals/models/simple_public_object_batch_input_upsert.rb} +40 -28
- data/lib/hubspot/codegen/crm/deals/models/simple_public_object_input.rb +10 -1
- data/lib/hubspot/codegen/crm/deals/models/simple_public_object_input_for_create.rb +24 -20
- data/lib/hubspot/codegen/crm/deals/models/simple_public_object_with_associations.rb +49 -49
- data/lib/hubspot/codegen/{files/files/models/folder.rb → crm/deals/models/simple_public_upsert_object.rb} +65 -64
- 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 +307 -0
- data/lib/hubspot/codegen/crm/extensions/calling/api/settings_api.rb +14 -14
- data/lib/hubspot/codegen/crm/extensions/calling/api_client.rb +2 -2
- data/lib/hubspot/codegen/crm/extensions/calling/api_error.rb +2 -2
- data/lib/hubspot/codegen/crm/extensions/calling/configuration.rb +9 -2
- data/lib/hubspot/codegen/crm/extensions/calling/models/error.rb +52 -52
- data/lib/hubspot/codegen/crm/extensions/calling/models/error_detail.rb +30 -30
- data/lib/hubspot/codegen/crm/extensions/calling/models/mark_recording_as_ready_request.rb +230 -0
- data/lib/hubspot/codegen/crm/extensions/calling/models/recording_settings_patch_request.rb +225 -0
- data/lib/hubspot/codegen/crm/extensions/calling/models/recording_settings_request.rb +230 -0
- data/lib/hubspot/codegen/crm/extensions/calling/models/recording_settings_response.rb +230 -0
- data/lib/hubspot/codegen/crm/extensions/calling/models/settings_patch_request.rb +44 -35
- data/lib/hubspot/codegen/crm/extensions/calling/models/settings_request.rb +44 -35
- data/lib/hubspot/codegen/crm/extensions/calling/models/settings_response.rb +70 -56
- 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/extensions/{accounting/models/updated_contact.rb → cards/models/card_audit_response.rb} +84 -71
- 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/{objects/meetings/models/public_merge_input.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/crm/imports/models/import_template.rb +276 -0
- 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/batch_api.rb +70 -2
- data/lib/hubspot/codegen/crm/line_items/models/batch_input_simple_public_object_batch_input_upsert.rb +230 -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/batch_response_simple_public_upsert_object.rb +326 -0
- data/lib/hubspot/codegen/crm/line_items/models/{error_category.rb → batch_response_simple_public_upsert_object_with_errors.rb} +100 -30
- 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_object_search_request.rb +33 -58
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_object.rb +44 -44
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_batch_input.rb +35 -17
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_batch_input_upsert.rb +262 -0
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_input.rb +10 -1
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_input_for_create.rb +29 -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/simple_public_upsert_object.rb +315 -0
- 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/folders_api.rb +420 -0
- data/lib/hubspot/codegen/crm/lists/api/lists_api.rb +15 -15
- data/lib/hubspot/codegen/crm/lists/api/mapping_api.rb +154 -0
- data/lib/hubspot/codegen/crm/lists/api/memberships_api.rb +177 -36
- data/lib/hubspot/codegen/crm/lists/api_client.rb +1 -1
- data/lib/hubspot/codegen/crm/lists/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/lists/configuration.rb +1 -1
- data/lib/hubspot/codegen/crm/lists/models/{collection_response_long.rb → api_collection_response_join_time_and_record_id.rb} +15 -7
- data/lib/hubspot/codegen/crm/{associations/models/collection_response_public_association_definition_no_paging.rb → lists/models/api_collection_response_record_list_membership_no_paging.rb} +18 -9
- data/lib/hubspot/codegen/crm/lists/models/error.rb +1 -1
- data/lib/hubspot/codegen/crm/lists/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/crm/{products/models/public_merge_input.rb → lists/models/join_time_and_record_id.rb} +25 -25
- data/lib/hubspot/codegen/crm/lists/models/list_create_request.rb +14 -2
- data/lib/hubspot/codegen/crm/lists/models/list_create_response.rb +1 -1
- data/lib/hubspot/codegen/crm/lists/models/list_fetch_response.rb +1 -1
- data/lib/hubspot/codegen/crm/lists/models/list_filter_update_request.rb +1 -1
- data/lib/hubspot/codegen/{files/files/models/folder_input.rb → crm/lists/models/list_folder_create_request.rb} +17 -28
- data/lib/hubspot/codegen/{files/files/models/collection_response_file.rb → crm/lists/models/list_folder_create_response.rb} +18 -30
- data/lib/hubspot/codegen/crm/lists/models/list_folder_fetch_response.rb +228 -0
- data/lib/hubspot/codegen/crm/{quotes/models/public_merge_input.rb → lists/models/list_move_request.rb} +27 -25
- data/lib/hubspot/codegen/crm/lists/models/list_search_request.rb +38 -15
- data/lib/hubspot/codegen/crm/lists/models/list_search_response.rb +1 -1
- data/lib/hubspot/codegen/crm/lists/models/list_update_response.rb +1 -1
- data/lib/hubspot/codegen/crm/lists/models/lists_by_id_response.rb +1 -1
- data/lib/hubspot/codegen/crm/lists/models/membership_change_request.rb +3 -3
- data/lib/hubspot/codegen/crm/lists/models/memberships_update_response.rb +4 -4
- data/lib/hubspot/codegen/crm/lists/models/next_page.rb +1 -1
- data/lib/hubspot/codegen/crm/lists/models/paging.rb +1 -1
- data/lib/hubspot/codegen/crm/lists/models/previous_page.rb +1 -1
- data/lib/hubspot/codegen/crm/lists/models/public_absolute_comparative_timestamp_refine_by.rb +16 -16
- data/lib/hubspot/codegen/crm/lists/models/public_absolute_ranged_timestamp_refine_by.rb +28 -28
- data/lib/hubspot/codegen/crm/lists/models/public_ads_search_filter.rb +39 -39
- data/lib/hubspot/codegen/crm/lists/models/public_ads_time_filter.rb +19 -19
- data/lib/hubspot/codegen/crm/lists/models/public_all_history_refine_by.rb +1 -1
- data/lib/hubspot/codegen/crm/lists/models/public_all_property_types_operation.rb +19 -19
- data/lib/hubspot/codegen/crm/lists/models/public_and_filter_branch.rb +19 -19
- data/lib/hubspot/codegen/crm/lists/models/public_association_filter_branch.rb +36 -36
- data/lib/hubspot/codegen/crm/lists/models/public_association_in_list_filter.rb +55 -55
- data/lib/hubspot/codegen/crm/lists/models/public_batch_migration_mapping.rb +247 -0
- data/lib/hubspot/codegen/crm/lists/models/public_bool_property_operation.rb +33 -33
- data/lib/hubspot/codegen/crm/lists/models/public_calendar_date_property_operation.rb +54 -54
- data/lib/hubspot/codegen/crm/lists/models/public_campaign_influenced_filter.rb +19 -19
- data/lib/hubspot/codegen/crm/lists/models/public_communication_subscription_filter.rb +31 -31
- data/lib/hubspot/codegen/crm/lists/models/public_comparative_date_property_operation.rb +35 -35
- data/lib/hubspot/codegen/crm/lists/models/public_comparative_property_updated_operation.rb +35 -35
- data/lib/hubspot/codegen/crm/lists/models/public_constant_filter.rb +21 -21
- data/lib/hubspot/codegen/crm/lists/models/public_cta_analytics_filter.rb +28 -28
- data/lib/hubspot/codegen/crm/lists/models/public_date_point.rb +56 -56
- data/lib/hubspot/codegen/crm/lists/models/public_date_property_operation.rb +45 -45
- data/lib/hubspot/codegen/crm/lists/models/public_date_time_property_operation.rb +30 -30
- data/lib/hubspot/codegen/crm/lists/models/public_email_event_filter.rb +44 -44
- data/lib/hubspot/codegen/crm/lists/models/public_email_subscription_filter.rb +27 -27
- data/lib/hubspot/codegen/crm/lists/models/public_enumeration_property_operation.rb +35 -35
- data/lib/hubspot/codegen/crm/lists/models/public_event_analytics_filter.rb +28 -28
- data/lib/hubspot/codegen/crm/lists/models/public_event_filter_metadata.rb +2 -2
- data/lib/hubspot/codegen/crm/lists/models/public_fiscal_quarter_reference.rb +42 -42
- data/lib/hubspot/codegen/crm/lists/models/public_fiscal_year_reference.rb +42 -42
- data/lib/hubspot/codegen/crm/lists/models/public_form_submission_filter.rb +20 -20
- data/lib/hubspot/codegen/crm/lists/models/{public_event_analytics_filter_coalescing_refine_by.rb → public_form_submission_filter_coalescing_refine_by.rb} +1 -1
- data/lib/hubspot/codegen/crm/lists/models/public_form_submission_on_page_filter.rb +37 -37
- data/lib/hubspot/codegen/crm/lists/models/public_in_list_filter.rb +19 -19
- data/lib/hubspot/codegen/crm/lists/models/public_in_list_filter_metadata.rb +1 -1
- data/lib/hubspot/codegen/crm/lists/models/public_index_offset.rb +44 -44
- data/lib/hubspot/codegen/crm/lists/models/public_indexed_time_point.rb +30 -30
- data/lib/hubspot/codegen/crm/lists/models/public_indexed_time_point_index_reference.rb +1 -1
- data/lib/hubspot/codegen/crm/lists/models/public_integration_event_filter.rb +22 -22
- data/lib/hubspot/codegen/crm/lists/models/public_list_folder.rb +327 -0
- data/lib/hubspot/codegen/crm/lists/models/public_migration_mapping.rb +244 -0
- data/lib/hubspot/codegen/crm/lists/models/public_month_reference.rb +29 -29
- data/lib/hubspot/codegen/crm/lists/models/public_multi_string_property_operation.rb +35 -35
- data/lib/hubspot/codegen/crm/lists/models/public_not_all_filter_branch.rb +16 -16
- data/lib/hubspot/codegen/crm/lists/models/public_not_any_filter_branch.rb +16 -16
- data/lib/hubspot/codegen/crm/lists/models/public_now_reference.rb +23 -23
- data/lib/hubspot/codegen/crm/lists/models/public_num_associations_filter.rb +23 -23
- data/lib/hubspot/codegen/crm/lists/models/public_num_occurrences_refine_by.rb +14 -14
- data/lib/hubspot/codegen/crm/lists/models/public_number_property_operation.rb +33 -33
- data/lib/hubspot/codegen/crm/lists/models/public_object_list.rb +14 -5
- data/lib/hubspot/codegen/crm/lists/models/public_object_list_search_result.rb +4 -4
- data/lib/hubspot/codegen/crm/lists/models/public_or_filter_branch.rb +19 -19
- data/lib/hubspot/codegen/crm/lists/models/public_page_view_analytics_filter.rb +37 -37
- data/lib/hubspot/codegen/crm/lists/models/public_privacy_analytics_filter.rb +16 -16
- data/lib/hubspot/codegen/crm/lists/models/public_property_association_filter_branch.rb +42 -42
- data/lib/hubspot/codegen/crm/lists/models/public_property_association_filter_branch_filter_branches_inner.rb +1 -1
- data/lib/hubspot/codegen/crm/lists/models/public_property_association_filter_branch_filters_inner.rb +1 -2
- data/lib/hubspot/codegen/crm/lists/models/public_property_association_in_list_filter.rb +39 -39
- data/lib/hubspot/codegen/crm/lists/models/public_property_filter.rb +17 -17
- data/lib/hubspot/codegen/crm/lists/models/public_property_referenced_time.rb +25 -25
- data/lib/hubspot/codegen/crm/lists/models/public_quarter_reference.rb +42 -42
- data/lib/hubspot/codegen/crm/lists/models/public_ranged_date_property_operation.rb +42 -42
- data/lib/hubspot/codegen/crm/lists/models/public_ranged_number_property_operation.rb +36 -36
- data/lib/hubspot/codegen/crm/lists/models/public_ranged_time_operation.rb +67 -67
- data/lib/hubspot/codegen/crm/lists/models/public_relative_comparative_timestamp_refine_by.rb +22 -22
- data/lib/hubspot/codegen/crm/lists/models/public_relative_ranged_timestamp_refine_by.rb +31 -31
- data/lib/hubspot/codegen/crm/lists/models/public_restricted_filter_branch.rb +16 -16
- data/lib/hubspot/codegen/crm/lists/models/public_rolling_date_range_property_operation.rb +36 -36
- data/lib/hubspot/codegen/crm/lists/models/public_rolling_property_updated_operation.rb +33 -33
- data/lib/hubspot/codegen/crm/lists/models/public_set_occurrences_refine_by.rb +1 -1
- data/lib/hubspot/codegen/crm/lists/models/public_string_property_operation.rb +33 -33
- data/lib/hubspot/codegen/crm/lists/models/public_survey_monkey_filter.rb +16 -16
- data/lib/hubspot/codegen/crm/lists/models/public_survey_monkey_value_filter.rb +26 -26
- data/lib/hubspot/codegen/crm/lists/models/{public_property_filter_operation.rb → public_survey_monkey_value_filter_value_comparison.rb} +1 -1
- data/lib/hubspot/codegen/crm/lists/models/public_time_offset.rb +19 -19
- data/lib/hubspot/codegen/crm/lists/models/public_time_point_operation.rb +47 -47
- data/lib/hubspot/codegen/crm/lists/models/public_time_point_operation_time_point.rb +1 -1
- data/lib/hubspot/codegen/crm/lists/models/public_today_reference.rb +23 -23
- data/lib/hubspot/codegen/crm/lists/models/public_unified_events_filter.rb +31 -31
- data/lib/hubspot/codegen/crm/lists/models/public_unified_events_filter_branch.rb +41 -32
- data/lib/hubspot/codegen/crm/lists/models/public_webinar_filter.rb +14 -14
- data/lib/hubspot/codegen/crm/lists/models/public_week_reference.rb +48 -48
- data/lib/hubspot/codegen/crm/lists/models/public_year_reference.rb +42 -42
- data/lib/hubspot/codegen/crm/lists/models/record_list_membership.rb +270 -0
- data/lib/hubspot/codegen/crm/objects/api/basic_api.rb +7 -7
- data/lib/hubspot/codegen/crm/objects/api/batch_api.rb +77 -3
- data/lib/hubspot/codegen/crm/objects/api/search_api.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/api_client.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/calls/api/batch_api.rb +70 -2
- data/lib/hubspot/codegen/crm/{associations/v4/models/batch_input_simple_public_object_input_for_create.rb → objects/calls/models/batch_input_simple_public_object_batch_input_upsert.rb} +9 -9
- 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/{associations/schema/models/batch_response_public_association.rb → objects/calls/models/batch_response_simple_public_upsert_object.rb} +49 -49
- data/lib/hubspot/codegen/crm/{associations/schema/models/batch_response_public_association_with_errors.rb → objects/calls/models/batch_response_simple_public_upsert_object_with_errors.rb} +60 -60
- 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/objects/calls/models/public_object_search_request.rb +33 -58
- 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 +35 -17
- data/lib/hubspot/codegen/crm/{associations/v4/models/simple_public_object_batch_input.rb → objects/calls/models/simple_public_object_batch_input_upsert.rb} +27 -9
- data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_input.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_input_for_create.rb +29 -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/simple_public_upsert_object.rb +317 -0
- 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 +80 -12
- data/lib/hubspot/codegen/crm/objects/communications/api/search_api.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/communications/models/batch_input_simple_public_object_batch_input_upsert.rb +232 -0
- 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/{associations/schema/models/batch_response_public_association_multi.rb → objects/communications/models/batch_response_simple_public_upsert_object.rb} +49 -49
- data/lib/hubspot/codegen/crm/{associations/schema/models/batch_response_public_association_multi_with_errors.rb → objects/communications/models/batch_response_simple_public_upsert_object_with_errors.rb} +60 -60
- 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/objects/communications/models/public_object_search_request.rb +33 -58
- 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 +35 -17
- data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_batch_input_upsert.rb +264 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_input.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_input_for_create.rb +29 -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/simple_public_upsert_object.rb +317 -0
- 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/configuration.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/emails/api/batch_api.rb +70 -2
- data/lib/hubspot/codegen/crm/{associations/v4/models/batch_input_simple_public_object_id.rb → objects/emails/models/batch_input_simple_public_object_batch_input_upsert.rb} +9 -9
- 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/batch_response_simple_public_upsert_object.rb +328 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
- 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/objects/emails/models/public_object_search_request.rb +33 -58
- 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 +35 -17
- data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_batch_input_upsert.rb +264 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_input.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_input_for_create.rb +29 -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/simple_public_upsert_object.rb +317 -0
- 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/{taxes → feedback_submissions}/api/gdpr_api.rb +12 -12
- 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/{goals → feedback_submissions}/models/public_gdpr_delete_input.rb +5 -5
- 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/basic_api.rb +4 -212
- data/lib/hubspot/codegen/crm/objects/goals/api/batch_api.rb +1 -199
- data/lib/hubspot/codegen/crm/objects/goals/api/search_api.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/goals/models/public_object_search_request.rb +0 -25
- data/lib/hubspot/codegen/crm/objects/leads/api/basic_api.rb +391 -0
- data/lib/hubspot/codegen/crm/objects/leads/api/batch_api.rb +363 -0
- data/lib/hubspot/codegen/crm/objects/{postal_mail/api/public_object_api.rb → leads/api/search_api.rb} +19 -21
- data/lib/hubspot/codegen/crm/{extensions/accounting → objects/leads}/api_client.rb +5 -5
- data/lib/hubspot/codegen/crm/{extensions/accounting → objects/leads}/api_error.rb +4 -4
- data/lib/hubspot/codegen/crm/{extensions/accounting → objects/leads}/configuration.rb +4 -4
- data/lib/hubspot/codegen/crm/{associations/v4 → objects/leads}/models/associated_id.rb +7 -7
- data/lib/hubspot/codegen/crm/objects/{goals → leads}/models/association_spec.rb +5 -5
- data/lib/hubspot/codegen/crm/objects/{goals → leads}/models/batch_input_simple_public_object_batch_input.rb +5 -5
- data/lib/hubspot/codegen/crm/objects/leads/models/batch_input_simple_public_object_batch_input_upsert.rb +232 -0
- data/lib/hubspot/codegen/crm/objects/{goals → leads}/models/batch_input_simple_public_object_id.rb +5 -5
- data/lib/hubspot/codegen/crm/objects/{goals → leads}/models/batch_input_simple_public_object_input_for_create.rb +5 -5
- data/lib/hubspot/codegen/crm/{associations/v4 → objects/leads}/models/batch_read_input_simple_public_object_id.rb +7 -7
- data/lib/hubspot/codegen/crm/{associations/v4 → objects/leads}/models/batch_response_simple_public_object.rb +7 -7
- data/lib/hubspot/codegen/crm/{associations/v4 → objects/leads}/models/batch_response_simple_public_object_with_errors.rb +8 -8
- data/lib/hubspot/codegen/crm/objects/leads/models/batch_response_simple_public_upsert_object.rb +328 -0
- data/lib/hubspot/codegen/crm/objects/leads/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
- data/lib/hubspot/codegen/crm/{associations/v4 → objects/leads}/models/collection_response_associated_id.rb +7 -7
- data/lib/hubspot/codegen/crm/{associations/v4 → objects/leads}/models/collection_response_simple_public_object_with_associations_forward_paging.rb +7 -7
- data/lib/hubspot/codegen/crm/{associations/v4/models/collection_response_association_spec_with_label_no_paging.rb → objects/leads/models/collection_response_with_total_simple_public_object_forward_paging.rb} +33 -10
- data/lib/hubspot/codegen/crm/{extensions/accounting → objects/leads}/models/error.rb +57 -57
- data/lib/hubspot/codegen/crm/{extensions/accounting → objects/leads}/models/error_detail.rb +35 -35
- data/lib/hubspot/codegen/crm/{extensions/accounting/models/invoice_pdf_response.rb → objects/leads/models/filter.rb} +65 -54
- data/lib/hubspot/codegen/crm/objects/leads/models/filter_group.rb +232 -0
- data/lib/hubspot/codegen/crm/objects/leads/models/forward_paging.rb +225 -0
- data/lib/hubspot/codegen/crm/{associations/schema → objects/leads}/models/next_page.rb +20 -20
- data/lib/hubspot/codegen/crm/{associations/schema → objects/leads}/models/paging.rb +7 -7
- data/lib/hubspot/codegen/crm/{associations/schema → objects/leads}/models/previous_page.rb +7 -7
- data/lib/hubspot/codegen/crm/objects/{goals → leads}/models/public_associations_for_object.rb +5 -5
- data/lib/hubspot/codegen/crm/objects/{goals → leads}/models/public_object_id.rb +5 -5
- data/lib/hubspot/codegen/crm/{associations/v4/models/simple_public_object_input.rb → objects/leads/models/public_object_search_request.rb} +62 -18
- data/lib/hubspot/codegen/crm/{associations/v4 → objects/leads}/models/simple_public_object.rb +7 -7
- data/lib/hubspot/codegen/crm/objects/{goals → leads}/models/simple_public_object_batch_input.rb +24 -6
- data/lib/hubspot/codegen/crm/{associations/v4/models/simple_public_object_input_for_create.rb → objects/leads/models/simple_public_object_batch_input_upsert.rb} +36 -20
- data/lib/hubspot/codegen/crm/{associations/v4 → objects/leads}/models/simple_public_object_id.rb +7 -7
- data/lib/hubspot/codegen/crm/objects/{goals → leads}/models/simple_public_object_input.rb +15 -6
- data/lib/hubspot/codegen/crm/objects/{goals → leads}/models/simple_public_object_input_for_create.rb +15 -6
- data/lib/hubspot/codegen/crm/{associations/v4 → objects/leads}/models/simple_public_object_with_associations.rb +7 -7
- data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_upsert_object.rb +317 -0
- data/lib/hubspot/codegen/crm/{associations/v4/models/standard_error1.rb → objects/leads/models/standard_error.rb} +8 -8
- data/lib/hubspot/codegen/crm/{associations/v4 → objects/leads}/models/value_with_timestamp.rb +7 -7
- data/lib/hubspot/codegen/crm/objects/meetings/api/batch_api.rb +70 -2
- data/lib/hubspot/codegen/crm/objects/meetings/models/batch_input_simple_public_object_batch_input_upsert.rb +232 -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/batch_response_simple_public_upsert_object.rb +328 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
- 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/objects/meetings/models/public_object_search_request.rb +33 -58
- 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 +35 -17
- data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_batch_input_upsert.rb +264 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_input.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_input_for_create.rb +29 -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/simple_public_upsert_object.rb +317 -0
- 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/associated_id.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/association_spec.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/batch_input_simple_public_object_batch_input.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/{public_gdpr_delete_input.rb → batch_input_simple_public_object_batch_input_upsert.rb} +16 -23
- data/lib/hubspot/codegen/crm/objects/models/batch_input_simple_public_object_id.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/batch_input_simple_public_object_input_for_create.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/batch_read_input_simple_public_object_id.rb +22 -21
- data/lib/hubspot/codegen/crm/objects/models/batch_response_simple_public_object.rb +42 -42
- data/lib/hubspot/codegen/crm/objects/models/batch_response_simple_public_object_with_errors.rb +53 -53
- data/lib/hubspot/codegen/crm/objects/models/{error_category.rb → batch_response_simple_public_upsert_object.rb} +81 -31
- data/lib/hubspot/codegen/crm/objects/models/batch_response_simple_public_upsert_object_with_errors.rb +346 -0
- data/lib/hubspot/codegen/crm/objects/models/collection_response_associated_id.rb +14 -14
- data/lib/hubspot/codegen/crm/objects/models/collection_response_simple_public_object_with_associations_forward_paging.rb +14 -14
- data/lib/hubspot/codegen/crm/objects/models/collection_response_with_total_simple_public_object_forward_paging.rb +14 -14
- data/lib/hubspot/codegen/crm/objects/models/error.rb +51 -51
- data/lib/hubspot/codegen/crm/objects/models/error_detail.rb +29 -29
- data/lib/hubspot/codegen/crm/objects/models/filter.rb +17 -17
- data/lib/hubspot/codegen/crm/objects/models/filter_group.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/forward_paging.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/next_page.rb +14 -14
- data/lib/hubspot/codegen/crm/objects/models/paging.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/previous_page.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/public_associations_for_object.rb +19 -19
- data/lib/hubspot/codegen/crm/objects/models/public_object_id.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/public_object_search_request.rb +34 -59
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object.rb +45 -45
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object_batch_input.rb +38 -18
- data/lib/hubspot/codegen/crm/objects/models/{collection_response_associated_id_forward_paging.rb → simple_public_object_batch_input_upsert.rb} +46 -22
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object_id.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object_input.rb +11 -2
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object_input_for_create.rb +30 -21
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object_with_associations.rb +50 -50
- data/lib/hubspot/codegen/crm/objects/models/{public_merge_input.rb → simple_public_upsert_object.rb} +96 -23
- data/lib/hubspot/codegen/crm/objects/models/standard_error.rb +47 -47
- data/lib/hubspot/codegen/crm/objects/models/value_with_timestamp.rb +34 -34
- data/lib/hubspot/codegen/crm/objects/notes/api/batch_api.rb +70 -2
- data/lib/hubspot/codegen/crm/objects/notes/models/batch_input_simple_public_object_batch_input_upsert.rb +232 -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/batch_response_simple_public_upsert_object.rb +328 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
- 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/objects/notes/models/public_object_search_request.rb +33 -58
- 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 +35 -17
- data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_batch_input_upsert.rb +264 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_input.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_input_for_create.rb +29 -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/simple_public_upsert_object.rb +317 -0
- 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/batch_api.rb +70 -2
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/batch_input_simple_public_object_batch_input_upsert.rb +232 -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/batch_response_simple_public_upsert_object.rb +328 -0
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
- 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_object_search_request.rb +33 -58
- 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 +35 -17
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_batch_input_upsert.rb +264 -0
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_input.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_input_for_create.rb +29 -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/simple_public_upsert_object.rb +317 -0
- 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/batch_api.rb +70 -2
- data/lib/hubspot/codegen/crm/objects/tasks/models/batch_input_simple_public_object_batch_input_upsert.rb +232 -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/batch_response_simple_public_upsert_object.rb +328 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
- 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/objects/tasks/models/public_object_search_request.rb +33 -58
- 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 +35 -17
- data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_batch_input_upsert.rb +264 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_input.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_input_for_create.rb +29 -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/simple_public_upsert_object.rb +317 -0
- 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/batch_api.rb +70 -2
- data/lib/hubspot/codegen/crm/objects/taxes/models/batch_input_simple_public_object_batch_input_upsert.rb +232 -0
- data/lib/hubspot/codegen/crm/objects/taxes/models/batch_response_simple_public_upsert_object.rb +328 -0
- data/lib/hubspot/codegen/crm/objects/taxes/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
- data/lib/hubspot/codegen/crm/objects/taxes/models/public_object_search_request.rb +0 -25
- data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object_batch_input.rb +19 -1
- data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object_batch_input_upsert.rb +264 -0
- data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object_input.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object_input_for_create.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_upsert_object.rb +317 -0
- data/lib/hubspot/codegen/crm/owners/api/owners_api.rb +1 -1
- data/lib/hubspot/codegen/crm/owners/api_client.rb +1 -1
- data/lib/hubspot/codegen/crm/owners/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/owners/configuration.rb +1 -1
- data/lib/hubspot/codegen/crm/owners/models/collection_response_public_owner_forward_paging.rb +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/pipelines_api.rb +9 -0
- data/lib/hubspot/codegen/crm/pipelines/models/error.rb +50 -50
- data/lib/hubspot/codegen/crm/pipelines/models/error_detail.rb +28 -28
- data/lib/hubspot/codegen/crm/pipelines/models/pipeline.rb +61 -61
- data/lib/hubspot/codegen/crm/pipelines/models/pipeline_input.rb +19 -19
- data/lib/hubspot/codegen/crm/pipelines/models/pipeline_patch_input.rb +15 -15
- data/lib/hubspot/codegen/crm/pipelines/models/pipeline_stage.rb +99 -61
- data/lib/hubspot/codegen/crm/pipelines/models/pipeline_stage_input.rb +20 -25
- data/lib/hubspot/codegen/crm/pipelines/models/pipeline_stage_patch_input.rb +20 -25
- data/lib/hubspot/codegen/crm/pipelines/models/public_audit_info.rb +39 -39
- data/lib/hubspot/codegen/crm/products/api/basic_api.rb +6 -6
- data/lib/hubspot/codegen/crm/products/api/batch_api.rb +70 -2
- data/lib/hubspot/codegen/crm/products/models/batch_input_simple_public_object_batch_input_upsert.rb +230 -0
- data/lib/hubspot/codegen/crm/products/models/batch_read_input_simple_public_object_id.rb +21 -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/batch_response_simple_public_upsert_object.rb +326 -0
- data/lib/hubspot/codegen/crm/products/models/{error_category.rb → batch_response_simple_public_upsert_object_with_errors.rb} +100 -30
- 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/crm/products/models/public_object_search_request.rb +33 -58
- data/lib/hubspot/codegen/crm/products/models/simple_public_object.rb +44 -44
- data/lib/hubspot/codegen/crm/products/models/simple_public_object_batch_input.rb +37 -17
- data/lib/hubspot/codegen/crm/products/models/simple_public_object_batch_input_upsert.rb +263 -0
- data/lib/hubspot/codegen/crm/products/models/simple_public_object_input.rb +10 -1
- data/lib/hubspot/codegen/crm/products/models/simple_public_object_input_for_create.rb +24 -25
- data/lib/hubspot/codegen/crm/products/models/simple_public_object_with_associations.rb +49 -49
- data/lib/hubspot/codegen/crm/products/models/simple_public_upsert_object.rb +315 -0
- 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/batch_api.rb +70 -2
- data/lib/hubspot/codegen/crm/quotes/models/batch_input_simple_public_object_batch_input_upsert.rb +230 -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/batch_response_simple_public_upsert_object.rb +326 -0
- data/lib/hubspot/codegen/crm/quotes/models/{error_category.rb → batch_response_simple_public_upsert_object_with_errors.rb} +100 -30
- 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_object_search_request.rb +33 -58
- 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 +35 -17
- data/lib/hubspot/codegen/{files/files/models/folder_update_task_locator.rb → crm/quotes/models/simple_public_object_batch_input_upsert.rb} +39 -19
- data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_input.rb +10 -1
- data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_input_for_create.rb +29 -20
- data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_with_associations.rb +49 -49
- data/lib/hubspot/codegen/{files/files/models/standard_error.rb → crm/quotes/models/simple_public_upsert_object.rb} +72 -79
- 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/api/core_api.rb +7 -7
- 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 +112 -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 +37 -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 +216 -152
- data/lib/hubspot/codegen/crm/schemas/models/property_modification_metadata.rb +32 -28
- data/lib/hubspot/codegen/crm/tickets/api/basic_api.rb +6 -6
- data/lib/hubspot/codegen/crm/tickets/api/batch_api.rb +70 -2
- data/lib/hubspot/codegen/crm/tickets/api/{public_object_api.rb → merge_api.rb} +5 -5
- data/lib/hubspot/codegen/crm/tickets/models/association_spec.rb +0 -10
- data/lib/hubspot/codegen/crm/tickets/models/batch_input_simple_public_object_batch_input_upsert.rb +230 -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/batch_response_simple_public_upsert_object.rb +326 -0
- data/lib/hubspot/codegen/crm/tickets/models/{error_category.rb → batch_response_simple_public_upsert_object_with_errors.rb} +100 -30
- 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 +13 -23
- data/lib/hubspot/codegen/crm/tickets/models/public_merge_input.rb +18 -18
- data/lib/hubspot/codegen/crm/tickets/models/public_object_id.rb +0 -5
- data/lib/hubspot/codegen/crm/tickets/models/public_object_search_request.rb +33 -58
- 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 +35 -17
- data/lib/hubspot/codegen/{files/files/models/import_from_url_task_locator.rb → crm/tickets/models/simple_public_object_batch_input_upsert.rb} +39 -19
- data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_input.rb +10 -1
- data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_input_for_create.rb +24 -20
- data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_with_associations.rb +49 -49
- data/lib/hubspot/codegen/crm/tickets/models/simple_public_upsert_object.rb +315 -0
- 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 +11 -11
- data/lib/hubspot/codegen/crm/timeline/api/templates_api.rb +6 -6
- data/lib/hubspot/codegen/crm/timeline/api/tokens_api.rb +4 -4
- 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 +92 -24
- data/lib/hubspot/codegen/events/api_client.rb +2 -2
- data/lib/hubspot/codegen/events/api_error.rb +2 -2
- data/lib/hubspot/codegen/events/configuration.rb +2 -2
- data/lib/hubspot/codegen/events/models/collection_response_external_unified_event.rb +16 -15
- data/lib/hubspot/codegen/events/models/error.rb +52 -52
- data/lib/hubspot/codegen/events/models/error_detail.rb +30 -30
- data/lib/hubspot/codegen/events/models/external_unified_event.rb +44 -49
- data/lib/hubspot/codegen/events/models/next_page.rb +17 -15
- data/lib/hubspot/codegen/events/models/paging.rb +15 -6
- data/lib/hubspot/codegen/events/models/previous_page.rb +235 -0
- data/lib/hubspot/codegen/events/models/visible_external_event_type_names.rb +229 -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 +46 -46
- data/lib/hubspot/codegen/marketing/events/api/{marketing_events_external_api.rb → basic_api.rb} +197 -262
- data/lib/hubspot/codegen/marketing/events/api/list_associations_api.rb +446 -0
- data/lib/hubspot/codegen/marketing/events/api/participant_state_api.rb +386 -0
- data/lib/hubspot/codegen/marketing/events/api/{settings_external_api.rb → settings_api.rb} +46 -38
- data/lib/hubspot/codegen/marketing/events/api/subscriber_state_changes_api.rb +200 -0
- data/lib/hubspot/codegen/marketing/events/api_client.rb +2 -2
- data/lib/hubspot/codegen/marketing/events/api_error.rb +2 -2
- data/lib/hubspot/codegen/marketing/events/configuration.rb +2 -9
- data/lib/hubspot/codegen/marketing/events/models/attendance_counters.rb +270 -0
- data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_create_request_params.rb +3 -2
- data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_email_subscriber.rb +2 -3
- data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_external_unique_identifier.rb +2 -2
- data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_subscriber.rb +2 -3
- data/lib/hubspot/codegen/marketing/events/models/batch_response_marketing_event_public_default_response.rb +62 -54
- data/lib/hubspot/codegen/marketing/events/models/batch_response_subscriber_email_response.rb +54 -54
- data/lib/hubspot/codegen/marketing/events/models/batch_response_subscriber_vid_response.rb +54 -54
- data/lib/hubspot/codegen/marketing/events/models/collection_response_marketing_event_external_unique_identifier_no_paging.rb +2 -2
- data/lib/hubspot/codegen/marketing/events/models/collection_response_with_total_participation_breakdown_forward_paging.rb +253 -0
- data/lib/hubspot/codegen/marketing/events/models/collection_response_with_total_public_list_no_paging.rb +244 -0
- data/lib/hubspot/codegen/marketing/events/models/contact_association.rb +260 -0
- data/lib/hubspot/codegen/marketing/events/models/error.rb +52 -52
- data/lib/hubspot/codegen/marketing/events/models/error_detail.rb +30 -30
- data/lib/hubspot/codegen/marketing/events/models/event_detail_settings.rb +2 -2
- data/lib/hubspot/codegen/marketing/events/models/event_detail_settings_url.rb +2 -2
- data/lib/hubspot/codegen/marketing/events/models/forward_paging.rb +223 -0
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_association.rb +260 -0
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_complete_request_params.rb +2 -2
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_create_request_params.rb +85 -76
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_default_response.rb +67 -58
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_email_subscriber.rb +24 -24
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_external_unique_identifier.rb +21 -21
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_default_response.rb +78 -66
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_read_response.rb +127 -115
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_subscriber.rb +16 -16
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_update_request_params.rb +62 -53
- data/lib/hubspot/codegen/{files/files → marketing/events}/models/next_page.rb +20 -20
- data/lib/hubspot/codegen/marketing/events/models/participation_associations.rb +242 -0
- data/lib/hubspot/codegen/marketing/events/models/participation_breakdown.rb +270 -0
- data/lib/hubspot/codegen/{files/files/models/file_update_input.rb → marketing/events/models/participation_properties.rb} +51 -56
- data/lib/hubspot/codegen/marketing/events/models/property_value.rb +162 -89
- data/lib/hubspot/codegen/{files/files/models/signed_url.rb → marketing/events/models/public_list.rb} +113 -76
- data/lib/hubspot/codegen/marketing/events/models/standard_error.rb +57 -49
- data/lib/hubspot/codegen/marketing/events/models/subscriber_email_response.rb +2 -2
- data/lib/hubspot/codegen/marketing/events/models/subscriber_vid_response.rb +2 -2
- 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 +81 -51
- 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 +39 -34
- data/lib/hubspot/codegen/marketing/forms/models/dropdown_field.rb +102 -62
- data/lib/hubspot/codegen/marketing/forms/models/email_field.rb +86 -51
- data/lib/hubspot/codegen/marketing/forms/models/email_field_validation.rb +20 -20
- data/lib/hubspot/codegen/marketing/forms/models/enumerated_field_option.rb +30 -29
- 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 +91 -56
- 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 +21 -20
- data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_explicit_consent_to_process.rb +43 -36
- data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_implicit_consent_to_process.rb +28 -23
- data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_legitimate_interest.rb +35 -31
- data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_none.rb +2 -1
- data/lib/hubspot/codegen/{crm/line_items/models/public_merge_input.rb → marketing/forms/models/lifecycle_stage.rb} +28 -26
- data/lib/hubspot/codegen/marketing/forms/models/mobile_phone_field.rb +86 -51
- data/lib/hubspot/codegen/marketing/forms/models/multi_line_text_field.rb +81 -51
- data/lib/hubspot/codegen/marketing/forms/models/multiple_checkboxes_field.rb +96 -56
- data/lib/hubspot/codegen/marketing/forms/models/next_page.rb +16 -14
- data/lib/hubspot/codegen/marketing/forms/models/number_field.rb +81 -51
- data/lib/hubspot/codegen/marketing/forms/models/number_field_validation.rb +3 -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 +96 -56
- data/lib/hubspot/codegen/marketing/forms/models/phone_field_validation.rb +3 -1
- data/lib/hubspot/codegen/marketing/forms/models/radio_field.rb +102 -62
- data/lib/hubspot/codegen/marketing/forms/models/single_checkbox_field.rb +81 -51
- data/lib/hubspot/codegen/marketing/forms/models/single_line_text_field.rb +81 -51
- data/lib/hubspot/codegen/marketing/transactional/api/public_smtp_tokens_api.rb +21 -21
- 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 +13 -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 +76 -29
- data/lib/hubspot/codegen/settings/users/models/public_user_update.rb +27 -9
- data/lib/hubspot/codegen/settings/users/models/user_provision_request.rb +41 -28
- 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/cms/source_code/client.rb +0 -1
- data/lib/hubspot/discovery/crm/companies/api/{public_object_api.rb → merge_api.rb} +1 -1
- data/lib/hubspot/discovery/crm/companies/client.rb +1 -1
- data/lib/hubspot/discovery/crm/contacts/api/gdpr_api.rb +1 -1
- data/lib/hubspot/discovery/crm/contacts/api/{public_object_api.rb → merge_api.rb} +1 -1
- data/lib/hubspot/discovery/crm/contacts/client.rb +1 -1
- data/lib/hubspot/discovery/crm/deals/api/{public_object_api.rb → merge_api.rb} +1 -1
- data/lib/hubspot/discovery/crm/deals/client.rb +1 -1
- data/lib/hubspot/discovery/crm/extensions/{accounting/api/callbacks_api.rb → calling/api/recording_settings_api.rb} +2 -2
- data/lib/hubspot/discovery/crm/extensions/calling/client.rb +1 -0
- data/lib/hubspot/discovery/crm/extensions/client.rb +0 -1
- data/lib/hubspot/discovery/crm/line_items/client.rb +0 -1
- data/lib/hubspot/discovery/{files/files → crm/lists}/api/folders_api.rb +2 -2
- data/lib/hubspot/discovery/crm/{objects/api/gdpr_api.rb → lists/api/mapping_api.rb} +2 -2
- data/lib/hubspot/discovery/crm/lists/client.rb +2 -0
- data/lib/hubspot/discovery/crm/objects/calls/client.rb +0 -1
- data/lib/hubspot/discovery/crm/objects/client.rb +1 -0
- data/lib/hubspot/discovery/crm/objects/communications/client.rb +0 -1
- data/lib/hubspot/discovery/crm/objects/emails/client.rb +0 -1
- data/lib/hubspot/discovery/crm/objects/{goals/api/public_object_api.rb → feedback_submissions/api/gdpr_api.rb} +2 -2
- data/lib/hubspot/discovery/crm/objects/feedback_submissions/client.rb +1 -0
- data/lib/hubspot/discovery/crm/objects/goals/client.rb +0 -2
- data/lib/hubspot/discovery/crm/objects/{taxes/api/gdpr_api.rb → leads/api/basic_api.rb} +2 -2
- data/lib/hubspot/discovery/crm/objects/{goals/api/gdpr_api.rb → leads/api/batch_api.rb} +2 -2
- data/lib/hubspot/discovery/crm/objects/{calls/api/public_object_api.rb → leads/api/search_api.rb} +2 -2
- data/lib/hubspot/discovery/crm/{extensions/accounting → objects/leads}/client.rb +5 -7
- data/lib/hubspot/discovery/crm/objects/meetings/client.rb +0 -1
- data/lib/hubspot/discovery/crm/objects/notes/client.rb +0 -1
- data/lib/hubspot/discovery/crm/objects/postal_mail/client.rb +0 -1
- data/lib/hubspot/discovery/crm/objects/tasks/client.rb +0 -1
- data/lib/hubspot/discovery/crm/objects/taxes/client.rb +0 -2
- data/lib/hubspot/discovery/crm/products/client.rb +0 -2
- data/lib/hubspot/discovery/crm/quotes/client.rb +0 -2
- data/lib/hubspot/discovery/crm/schemas/client.rb +0 -1
- data/lib/hubspot/discovery/crm/tickets/api/{associations_api.rb → merge_api.rb} +1 -1
- data/lib/hubspot/discovery/crm/tickets/client.rb +1 -2
- 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/{search_api.rb → basic_api.rb} +1 -1
- data/lib/hubspot/discovery/marketing/events/api/{settings_external_api.rb → list_associations_api.rb} +1 -1
- data/lib/hubspot/discovery/marketing/events/api/{marketing_events_external_api.rb → participant_state_api.rb} +1 -1
- 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 +5 -3
- data/lib/hubspot/discovery/marketing/transactional/api/public_smtp_tokens_api.rb +1 -1
- data/lib/hubspot/helpers/camel_case.rb +6 -1
- data/lib/hubspot/version.rb +1 -1
- data/spec/discovery/cms/source-code/content_api_spec.rb +2 -2
- data/spec/discovery/cms/source-code/extract_api_spec.rb +2 -1
- data/spec/discovery/crm/associations/v4/schema/definitions_api_spec.rb +1 -1
- data/spec/discovery/crm/companies/batch_api_spec.rb +1 -0
- data/spec/discovery/crm/{deals/public_object_api_spec.rb → companies/merge_api_spec.rb} +2 -2
- data/spec/discovery/crm/contacts/batch_api_spec.rb +1 -0
- data/spec/discovery/crm/contacts/gdpr_api_spec.rb +1 -1
- data/spec/discovery/crm/{quotes/public_object_api_spec.rb → contacts/merge_api_spec.rb} +2 -2
- data/spec/discovery/crm/deals/batch_api_spec.rb +1 -0
- data/spec/discovery/crm/{tickets/public_object_api_spec.rb → deals/merge_api_spec.rb} +2 -2
- data/spec/discovery/crm/extensions/calling/recording_settings_api_spec.rb +10 -0
- data/spec/discovery/crm/extensions/client_spec.rb +0 -1
- data/spec/discovery/crm/line_items/batch_api_spec.rb +1 -0
- data/spec/discovery/crm/lists/folders_api_spec.rb +12 -0
- data/spec/discovery/crm/lists/lists_api_spec.rb +4 -11
- data/spec/discovery/crm/lists/mapping_api_spec.rb +15 -0
- data/spec/discovery/crm/lists/memberships_api_spec.rb +2 -1
- data/spec/discovery/crm/objects/batch_api_spec.rb +1 -0
- data/spec/discovery/crm/objects/calls/batch_api_spec.rb +1 -0
- data/spec/discovery/crm/objects/client_spec.rb +2 -0
- data/spec/discovery/crm/objects/communications/batch_api_spec.rb +1 -0
- data/spec/discovery/crm/objects/emails/batch_api_spec.rb +1 -0
- data/spec/discovery/crm/objects/{taxes → feedback_submissions}/gdpr_api_spec.rb +2 -2
- data/spec/discovery/crm/objects/goals/basic_api_spec.rb +0 -3
- data/spec/discovery/crm/objects/goals/batch_api_spec.rb +0 -3
- data/spec/discovery/crm/objects/leads/basic_api_spec.rb +11 -0
- data/spec/discovery/crm/objects/leads/batch_api_spec.rb +11 -0
- data/spec/discovery/crm/objects/leads/search_api_spec.rb +7 -0
- data/spec/discovery/crm/objects/meetings/batch_api_spec.rb +1 -0
- data/spec/discovery/crm/objects/notes/batch_api_spec.rb +1 -0
- data/spec/discovery/crm/objects/postal_mail/batch_api_spec.rb +1 -0
- data/spec/discovery/crm/objects/tasks/batch_api_spec.rb +1 -0
- data/spec/discovery/crm/objects/taxes/batch_api_spec.rb +1 -0
- data/spec/discovery/crm/products/batch_api_spec.rb +1 -0
- data/spec/discovery/crm/quotes/basic_api_spec.rb +3 -0
- data/spec/discovery/crm/quotes/batch_api_spec.rb +4 -0
- data/spec/discovery/crm/tickets/batch_api_spec.rb +1 -0
- data/spec/discovery/crm/{objects/notes/public_object_api_spec.rb → tickets/merge_api_spec.rb} +2 -2
- data/spec/discovery/events/events_api_spec.rb +1 -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/attendance_subscriber_state_changes_api_spec.rb +2 -2
- data/spec/discovery/marketing/events/basic_api_spec.rb +16 -0
- data/spec/discovery/marketing/events/list_associations_api_spec.rb +12 -0
- data/spec/discovery/marketing/events/participant_state_api_spec.rb +11 -0
- data/spec/discovery/marketing/events/settings_api_spec.rb +8 -0
- data/spec/discovery/marketing/events/subscriber_state_changes_api_spec.rb +8 -0
- data/spec/discovery/marketing/transactional/public_smtp_tokens_api_spec.rb +1 -1
- metadata +285 -339
- data/lib/hubspot/codegen/cms/source_code/api/source_code_extract_api.rb +0 -144
- data/lib/hubspot/codegen/crm/associations/models/error_category.rb +0 -276
- data/lib/hubspot/codegen/crm/associations/schema/models/batch_input_public_association.rb +0 -232
- data/lib/hubspot/codegen/crm/associations/schema/models/batch_input_public_object_id.rb +0 -232
- data/lib/hubspot/codegen/crm/associations/schema/models/error_category.rb +0 -278
- 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/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/public_associations_for_object.rb +0 -246
- data/lib/hubspot/codegen/crm/associations/v4/models/public_gdpr_delete_input.rb +0 -239
- 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/extensions/accounting/api/callbacks_api.rb +0 -768
- data/lib/hubspot/codegen/crm/extensions/accounting/api/invoice_api.rb +0 -256
- data/lib/hubspot/codegen/crm/extensions/accounting/api/settings_api.rb +0 -165
- data/lib/hubspot/codegen/crm/extensions/accounting/api/sync_api.rb +0 -176
- data/lib/hubspot/codegen/crm/extensions/accounting/api/user_accounts_api.rb +0 -159
- data/lib/hubspot/codegen/crm/extensions/accounting/models/accounting_app_settings.rb +0 -255
- data/lib/hubspot/codegen/crm/extensions/accounting/models/accounting_app_urls.rb +0 -395
- data/lib/hubspot/codegen/crm/extensions/accounting/models/accounting_extension_customer.rb +0 -276
- data/lib/hubspot/codegen/crm/extensions/accounting/models/accounting_extension_invoice.rb +0 -371
- data/lib/hubspot/codegen/crm/extensions/accounting/models/accounting_extension_term.rb +0 -267
- data/lib/hubspot/codegen/crm/extensions/accounting/models/accounting_features.rb +0 -262
- data/lib/hubspot/codegen/crm/extensions/accounting/models/action_response.rb +0 -312
- data/lib/hubspot/codegen/crm/extensions/accounting/models/address.rb +0 -267
- data/lib/hubspot/codegen/crm/extensions/accounting/models/create_invoice_feature.rb +0 -246
- data/lib/hubspot/codegen/crm/extensions/accounting/models/create_invoice_sub_features.rb +0 -307
- data/lib/hubspot/codegen/crm/extensions/accounting/models/create_user_account_request_external.rb +0 -262
- data/lib/hubspot/codegen/crm/extensions/accounting/models/customer_search_response_external.rb +0 -283
- data/lib/hubspot/codegen/crm/extensions/accounting/models/exchange_rate_response.rb +0 -311
- data/lib/hubspot/codegen/crm/extensions/accounting/models/import_invoice_feature.rb +0 -232
- data/lib/hubspot/codegen/crm/extensions/accounting/models/invoice_create_payment_request.rb +0 -276
- data/lib/hubspot/codegen/crm/extensions/accounting/models/invoice_read_response.rb +0 -469
- data/lib/hubspot/codegen/crm/extensions/accounting/models/invoice_search_response.rb +0 -278
- data/lib/hubspot/codegen/crm/extensions/accounting/models/invoice_update_request.rb +0 -295
- data/lib/hubspot/codegen/crm/extensions/accounting/models/invoice_update_response.rb +0 -454
- data/lib/hubspot/codegen/crm/extensions/accounting/models/invoices_response_external.rb +0 -278
- data/lib/hubspot/codegen/crm/extensions/accounting/models/object_sync_feature.rb +0 -231
- data/lib/hubspot/codegen/crm/extensions/accounting/models/product.rb +0 -295
- data/lib/hubspot/codegen/crm/extensions/accounting/models/product_search_response.rb +0 -278
- data/lib/hubspot/codegen/crm/extensions/accounting/models/result_id_accounting_response.rb +0 -281
- data/lib/hubspot/codegen/crm/extensions/accounting/models/sync_contacts_request.rb +0 -249
- data/lib/hubspot/codegen/crm/extensions/accounting/models/sync_products_request.rb +0 -249
- data/lib/hubspot/codegen/crm/extensions/accounting/models/tax.rb +0 -262
- data/lib/hubspot/codegen/crm/extensions/accounting/models/tax_search_response.rb +0 -278
- data/lib/hubspot/codegen/crm/extensions/accounting/models/tax_type.rb +0 -242
- data/lib/hubspot/codegen/crm/extensions/accounting/models/terms_response.rb +0 -278
- data/lib/hubspot/codegen/crm/extensions/accounting/models/unit_price.rb +0 -242
- data/lib/hubspot/codegen/crm/extensions/accounting/models/updated_product.rb +0 -338
- data/lib/hubspot/codegen/crm/line_items/api/public_object_api.rb +0 -92
- data/lib/hubspot/codegen/crm/objects/api/associations_api.rb +0 -275
- data/lib/hubspot/codegen/crm/objects/api/gdpr_api.rb +0 -100
- data/lib/hubspot/codegen/crm/objects/api/public_object_api.rb +0 -98
- data/lib/hubspot/codegen/crm/objects/calls/api/public_object_api.rb +0 -94
- data/lib/hubspot/codegen/crm/objects/calls/models/error_category.rb +0 -278
- data/lib/hubspot/codegen/crm/objects/calls/models/public_merge_input.rb +0 -244
- data/lib/hubspot/codegen/crm/objects/communications/api/public_object_api.rb +0 -94
- data/lib/hubspot/codegen/crm/objects/communications/models/error_category.rb +0 -278
- data/lib/hubspot/codegen/crm/objects/communications/models/public_merge_input.rb +0 -244
- data/lib/hubspot/codegen/crm/objects/emails/api/public_object_api.rb +0 -94
- data/lib/hubspot/codegen/crm/objects/emails/models/error_category.rb +0 -278
- data/lib/hubspot/codegen/crm/objects/emails/models/public_merge_input.rb +0 -244
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/error_category.rb +0 -278
- data/lib/hubspot/codegen/crm/objects/goals/api/gdpr_api.rb +0 -96
- data/lib/hubspot/codegen/crm/objects/goals/api/public_object_api.rb +0 -94
- data/lib/hubspot/codegen/crm/objects/goals/models/public_merge_input.rb +0 -244
- data/lib/hubspot/codegen/crm/objects/meetings/api/public_object_api.rb +0 -94
- data/lib/hubspot/codegen/crm/objects/meetings/models/error_category.rb +0 -278
- data/lib/hubspot/codegen/crm/objects/notes/api/public_object_api.rb +0 -94
- data/lib/hubspot/codegen/crm/objects/notes/models/error_category.rb +0 -278
- data/lib/hubspot/codegen/crm/objects/notes/models/public_merge_input.rb +0 -244
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/error_category.rb +0 -278
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/public_merge_input.rb +0 -244
- data/lib/hubspot/codegen/crm/objects/tasks/api/public_object_api.rb +0 -94
- data/lib/hubspot/codegen/crm/objects/tasks/models/error_category.rb +0 -278
- data/lib/hubspot/codegen/crm/objects/tasks/models/public_merge_input.rb +0 -244
- data/lib/hubspot/codegen/crm/objects/taxes/api/public_object_api.rb +0 -94
- data/lib/hubspot/codegen/crm/objects/taxes/models/public_gdpr_delete_input.rb +0 -239
- data/lib/hubspot/codegen/crm/objects/taxes/models/public_merge_input.rb +0 -244
- data/lib/hubspot/codegen/crm/products/api/public_object_api.rb +0 -92
- data/lib/hubspot/codegen/crm/properties/models/error_category.rb +0 -276
- data/lib/hubspot/codegen/crm/quotes/api/public_object_api.rb +0 -92
- data/lib/hubspot/codegen/crm/schemas/api/public_object_schemas_api.rb +0 -85
- 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/error_detail.rb +0 -271
- 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/marketing/events/api/search_api.rb +0 -90
- data/lib/hubspot/codegen/marketing/events/models/error_category.rb +0 -276
- data/lib/hubspot/discovery/cms/source_code/api/source_code_extract_api.rb +0 -13
- data/lib/hubspot/discovery/crm/extensions/accounting/api/invoice_api.rb +0 -15
- data/lib/hubspot/discovery/crm/extensions/accounting/api/settings_api.rb +0 -15
- data/lib/hubspot/discovery/crm/extensions/accounting/api/sync_api.rb +0 -15
- data/lib/hubspot/discovery/crm/extensions/accounting/api/user_accounts_api.rb +0 -15
- data/lib/hubspot/discovery/crm/line_items/api/public_object_api.rb +0 -13
- data/lib/hubspot/discovery/crm/objects/api/associations_api.rb +0 -13
- data/lib/hubspot/discovery/crm/objects/api/public_object_api.rb +0 -13
- data/lib/hubspot/discovery/crm/objects/communications/api/public_object_api.rb +0 -15
- data/lib/hubspot/discovery/crm/objects/emails/api/public_object_api.rb +0 -15
- data/lib/hubspot/discovery/crm/objects/meetings/api/public_object_api.rb +0 -15
- data/lib/hubspot/discovery/crm/objects/notes/api/public_object_api.rb +0 -15
- data/lib/hubspot/discovery/crm/objects/postal_mail/api/public_object_api.rb +0 -15
- data/lib/hubspot/discovery/crm/objects/tasks/api/public_object_api.rb +0 -15
- data/lib/hubspot/discovery/crm/objects/taxes/api/public_object_api.rb +0 -15
- data/lib/hubspot/discovery/crm/products/api/associations_api.rb +0 -13
- data/lib/hubspot/discovery/crm/products/api/public_object_api.rb +0 -13
- data/lib/hubspot/discovery/crm/quotes/api/associations_api.rb +0 -13
- data/lib/hubspot/discovery/crm/quotes/api/public_object_api.rb +0 -13
- data/lib/hubspot/discovery/crm/schemas/api/public_object_schemas_api.rb +0 -13
- data/lib/hubspot/discovery/crm/tickets/api/public_object_api.rb +0 -13
- data/lib/hubspot/discovery/files/files/api/files_api.rb +0 -13
- data/lib/hubspot/discovery/files/files/client.rb +0 -20
- data/spec/discovery/cms/source-code/source_code_extract_api_spec.rb +0 -8
- data/spec/discovery/crm/companies/public_object_api_spec.rb +0 -7
- data/spec/discovery/crm/contacts/public_object_api_spec.rb +0 -7
- data/spec/discovery/crm/extensions/accounting/callbacks_api_spec.rb +0 -16
- data/spec/discovery/crm/extensions/accounting/invoice_api_spec.rb +0 -9
- data/spec/discovery/crm/extensions/accounting/settings_api_spec.rb +0 -8
- data/spec/discovery/crm/extensions/accounting/sync_api_spec.rb +0 -8
- data/spec/discovery/crm/extensions/accounting/user_accounts_api_spec.rb +0 -8
- data/spec/discovery/crm/line_items/public_object_api_spec.rb +0 -7
- data/spec/discovery/crm/objects/associations_api_spec.rb +0 -9
- data/spec/discovery/crm/objects/calls/public_object_api_spec.rb +0 -7
- data/spec/discovery/crm/objects/communications/public_object_api_spec.rb +0 -7
- data/spec/discovery/crm/objects/emails/public_object_api_spec.rb +0 -7
- data/spec/discovery/crm/objects/gdpr_api_spec.rb +0 -7
- data/spec/discovery/crm/objects/goals/gdpr_api_spec.rb +0 -7
- data/spec/discovery/crm/objects/goals/public_object_api_spec.rb +0 -7
- data/spec/discovery/crm/objects/meetings/public_object_api_spec.rb +0 -7
- data/spec/discovery/crm/objects/postal_mail/public_object_api_spec.rb +0 -7
- data/spec/discovery/crm/objects/public_object_api_spec.rb +0 -7
- data/spec/discovery/crm/objects/tasks/public_object_api_spec.rb +0 -7
- data/spec/discovery/crm/objects/taxes/public_object_api_spec.rb +0 -7
- data/spec/discovery/crm/products/public_object_api_spec.rb +0 -7
- data/spec/discovery/crm/schemas/public_object_schemas_api_spec.rb +0 -7
- data/spec/discovery/marketing/events/marketing_events_external_api_spec.rb +0 -18
- data/spec/discovery/marketing/events/search_api_spec.rb +0 -7
- data/spec/discovery/marketing/events/settings_external_api_spec.rb +0 -8
- data/spec/integration/contacts_spec.rb +0 -85
data/lib/hubspot/codegen/marketing/events/api/{marketing_events_external_api.rb → basic_api.rb}
RENAMED
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
|
-
#Marketing Events
|
2
|
+
#Marketing Events
|
3
3
|
|
4
|
-
#
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
@@ -15,14 +15,17 @@ require 'cgi'
|
|
15
15
|
module Hubspot
|
16
16
|
module Marketing
|
17
17
|
module Events
|
18
|
-
class
|
18
|
+
class BasicApi
|
19
|
+
|
19
20
|
attr_accessor :api_client
|
20
21
|
|
21
22
|
def initialize(api_client = ApiClient.default)
|
22
23
|
@api_client = api_client
|
23
24
|
end
|
24
|
-
#
|
25
|
-
#
|
25
|
+
# Delete a marketing event
|
26
|
+
# Deletes an existing Marketing Event with the specified id, if one exists.
|
27
|
+
# @param external_event_id [String] The id of the marketing event to delete
|
28
|
+
# @param external_account_id [String] The account id associated with the marketing event
|
26
29
|
# @param [Hash] opts the optional parameters
|
27
30
|
# @return [nil]
|
28
31
|
def archive(external_event_id, external_account_id, opts = {})
|
@@ -30,21 +33,23 @@ module Hubspot
|
|
30
33
|
nil
|
31
34
|
end
|
32
35
|
|
33
|
-
#
|
34
|
-
#
|
36
|
+
# Delete a marketing event
|
37
|
+
# Deletes an existing Marketing Event with the specified id, if one exists.
|
38
|
+
# @param external_event_id [String] The id of the marketing event to delete
|
39
|
+
# @param external_account_id [String] The account id associated with the marketing event
|
35
40
|
# @param [Hash] opts the optional parameters
|
36
41
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
37
42
|
def archive_with_http_info(external_event_id, external_account_id, opts = {})
|
38
43
|
if @api_client.config.debugging
|
39
|
-
@api_client.config.logger.debug 'Calling API:
|
44
|
+
@api_client.config.logger.debug 'Calling API: BasicApi.archive ...'
|
40
45
|
end
|
41
46
|
# verify the required parameter 'external_event_id' is set
|
42
47
|
if @api_client.config.client_side_validation && external_event_id.nil?
|
43
|
-
fail ArgumentError, "Missing the required parameter 'external_event_id' when calling
|
48
|
+
fail ArgumentError, "Missing the required parameter 'external_event_id' when calling BasicApi.archive"
|
44
49
|
end
|
45
50
|
# verify the required parameter 'external_account_id' is set
|
46
51
|
if @api_client.config.client_side_validation && external_account_id.nil?
|
47
|
-
fail ArgumentError, "Missing the required parameter 'external_account_id' when calling
|
52
|
+
fail ArgumentError, "Missing the required parameter 'external_account_id' when calling BasicApi.archive"
|
48
53
|
end
|
49
54
|
# resource path
|
50
55
|
local_var_path = '/marketing/v3/marketing-events/events/{externalEventId}'.sub('{' + 'externalEventId' + '}', CGI.escape(external_event_id.to_s))
|
@@ -71,7 +76,7 @@ module Hubspot
|
|
71
76
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
72
77
|
|
73
78
|
new_options = opts.merge(
|
74
|
-
:operation => :"
|
79
|
+
:operation => :"BasicApi.archive",
|
75
80
|
:header_params => header_params,
|
76
81
|
:query_params => query_params,
|
77
82
|
:form_params => form_params,
|
@@ -82,29 +87,33 @@ module Hubspot
|
|
82
87
|
|
83
88
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
84
89
|
if @api_client.config.debugging
|
85
|
-
@api_client.config.logger.debug "API called:
|
90
|
+
@api_client.config.logger.debug "API called: BasicApi#archive\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
86
91
|
end
|
87
92
|
return data, status_code, headers
|
88
93
|
end
|
89
94
|
|
95
|
+
# Delete multiple marketing events
|
96
|
+
# Bulk delete a number of marketing events in HubSpot
|
90
97
|
# @param batch_input_marketing_event_external_unique_identifier [BatchInputMarketingEventExternalUniqueIdentifier]
|
91
98
|
# @param [Hash] opts the optional parameters
|
92
99
|
# @return [Error]
|
93
|
-
def
|
94
|
-
data, _status_code, _headers =
|
100
|
+
def batch_archive(batch_input_marketing_event_external_unique_identifier, opts = {})
|
101
|
+
data, _status_code, _headers = batch_archive_with_http_info(batch_input_marketing_event_external_unique_identifier, opts)
|
95
102
|
data
|
96
103
|
end
|
97
104
|
|
105
|
+
# Delete multiple marketing events
|
106
|
+
# Bulk delete a number of marketing events in HubSpot
|
98
107
|
# @param batch_input_marketing_event_external_unique_identifier [BatchInputMarketingEventExternalUniqueIdentifier]
|
99
108
|
# @param [Hash] opts the optional parameters
|
100
109
|
# @return [Array<(Error, Integer, Hash)>] Error data, response status code and response headers
|
101
|
-
def
|
110
|
+
def batch_archive_with_http_info(batch_input_marketing_event_external_unique_identifier, opts = {})
|
102
111
|
if @api_client.config.debugging
|
103
|
-
@api_client.config.logger.debug 'Calling API:
|
112
|
+
@api_client.config.logger.debug 'Calling API: BasicApi.batch_archive ...'
|
104
113
|
end
|
105
114
|
# verify the required parameter 'batch_input_marketing_event_external_unique_identifier' is set
|
106
115
|
if @api_client.config.client_side_validation && batch_input_marketing_event_external_unique_identifier.nil?
|
107
|
-
fail ArgumentError, "Missing the required parameter 'batch_input_marketing_event_external_unique_identifier' when calling
|
116
|
+
fail ArgumentError, "Missing the required parameter 'batch_input_marketing_event_external_unique_identifier' when calling BasicApi.batch_archive"
|
108
117
|
end
|
109
118
|
# resource path
|
110
119
|
local_var_path = '/marketing/v3/marketing-events/events/delete'
|
@@ -135,84 +144,7 @@ module Hubspot
|
|
135
144
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
136
145
|
|
137
146
|
new_options = opts.merge(
|
138
|
-
:operation => :"
|
139
|
-
:header_params => header_params,
|
140
|
-
:query_params => query_params,
|
141
|
-
:form_params => form_params,
|
142
|
-
:body => post_body,
|
143
|
-
:auth_names => auth_names,
|
144
|
-
:return_type => return_type
|
145
|
-
)
|
146
|
-
|
147
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
148
|
-
if @api_client.config.debugging
|
149
|
-
@api_client.config.logger.debug "API called: MarketingEventsExternalApi#archive_batch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
150
|
-
end
|
151
|
-
return data, status_code, headers
|
152
|
-
end
|
153
|
-
|
154
|
-
# @param external_event_id [String]
|
155
|
-
# @param external_account_id [String]
|
156
|
-
# @param marketing_event_complete_request_params [MarketingEventCompleteRequestParams]
|
157
|
-
# @param [Hash] opts the optional parameters
|
158
|
-
# @return [MarketingEventDefaultResponse]
|
159
|
-
def complete(external_event_id, external_account_id, marketing_event_complete_request_params, opts = {})
|
160
|
-
data, _status_code, _headers = complete_with_http_info(external_event_id, external_account_id, marketing_event_complete_request_params, opts)
|
161
|
-
data
|
162
|
-
end
|
163
|
-
|
164
|
-
# @param external_event_id [String]
|
165
|
-
# @param external_account_id [String]
|
166
|
-
# @param marketing_event_complete_request_params [MarketingEventCompleteRequestParams]
|
167
|
-
# @param [Hash] opts the optional parameters
|
168
|
-
# @return [Array<(MarketingEventDefaultResponse, Integer, Hash)>] MarketingEventDefaultResponse data, response status code and response headers
|
169
|
-
def complete_with_http_info(external_event_id, external_account_id, marketing_event_complete_request_params, opts = {})
|
170
|
-
if @api_client.config.debugging
|
171
|
-
@api_client.config.logger.debug 'Calling API: MarketingEventsExternalApi.complete ...'
|
172
|
-
end
|
173
|
-
# verify the required parameter 'external_event_id' is set
|
174
|
-
if @api_client.config.client_side_validation && external_event_id.nil?
|
175
|
-
fail ArgumentError, "Missing the required parameter 'external_event_id' when calling MarketingEventsExternalApi.complete"
|
176
|
-
end
|
177
|
-
# verify the required parameter 'external_account_id' is set
|
178
|
-
if @api_client.config.client_side_validation && external_account_id.nil?
|
179
|
-
fail ArgumentError, "Missing the required parameter 'external_account_id' when calling MarketingEventsExternalApi.complete"
|
180
|
-
end
|
181
|
-
# verify the required parameter 'marketing_event_complete_request_params' is set
|
182
|
-
if @api_client.config.client_side_validation && marketing_event_complete_request_params.nil?
|
183
|
-
fail ArgumentError, "Missing the required parameter 'marketing_event_complete_request_params' when calling MarketingEventsExternalApi.complete"
|
184
|
-
end
|
185
|
-
# resource path
|
186
|
-
local_var_path = '/marketing/v3/marketing-events/events/{externalEventId}/complete'.sub('{' + 'externalEventId' + '}', CGI.escape(external_event_id.to_s))
|
187
|
-
|
188
|
-
# query parameters
|
189
|
-
query_params = opts[:query_params] || {}
|
190
|
-
query_params[:'externalAccountId'] = external_account_id
|
191
|
-
|
192
|
-
# header parameters
|
193
|
-
header_params = opts[:header_params] || {}
|
194
|
-
# HTTP header 'Accept' (if needed)
|
195
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json', '*/*'])
|
196
|
-
# HTTP header 'Content-Type'
|
197
|
-
content_type = @api_client.select_header_content_type(['application/json'])
|
198
|
-
if !content_type.nil?
|
199
|
-
header_params['Content-Type'] = content_type
|
200
|
-
end
|
201
|
-
|
202
|
-
# form parameters
|
203
|
-
form_params = opts[:form_params] || {}
|
204
|
-
|
205
|
-
# http body (model)
|
206
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(marketing_event_complete_request_params)
|
207
|
-
|
208
|
-
# return_type
|
209
|
-
return_type = opts[:debug_return_type] || 'MarketingEventDefaultResponse'
|
210
|
-
|
211
|
-
# auth_names
|
212
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
213
|
-
|
214
|
-
new_options = opts.merge(
|
215
|
-
:operation => :"MarketingEventsExternalApi.complete",
|
147
|
+
:operation => :"BasicApi.batch_archive",
|
216
148
|
:header_params => header_params,
|
217
149
|
:query_params => query_params,
|
218
150
|
:form_params => form_params,
|
@@ -223,32 +155,36 @@ module Hubspot
|
|
223
155
|
|
224
156
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
225
157
|
if @api_client.config.debugging
|
226
|
-
@api_client.config.logger.debug "API called:
|
158
|
+
@api_client.config.logger.debug "API called: BasicApi#batch_archive\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
227
159
|
end
|
228
160
|
return data, status_code, headers
|
229
161
|
end
|
230
162
|
|
231
|
-
#
|
163
|
+
# Create or update multiple marketing events
|
164
|
+
# Upsert multiple marketing events. If there is an existing Marketing event with the specified ID, it will be updated; otherwise a new event will be created.
|
165
|
+
# @param batch_input_marketing_event_create_request_params [BatchInputMarketingEventCreateRequestParams]
|
232
166
|
# @param [Hash] opts the optional parameters
|
233
|
-
# @return [
|
234
|
-
def
|
235
|
-
data, _status_code, _headers =
|
167
|
+
# @return [BatchResponseMarketingEventPublicDefaultResponse]
|
168
|
+
def batch_upsert(batch_input_marketing_event_create_request_params, opts = {})
|
169
|
+
data, _status_code, _headers = batch_upsert_with_http_info(batch_input_marketing_event_create_request_params, opts)
|
236
170
|
data
|
237
171
|
end
|
238
172
|
|
239
|
-
#
|
173
|
+
# Create or update multiple marketing events
|
174
|
+
# Upsert multiple marketing events. If there is an existing Marketing event with the specified ID, it will be updated; otherwise a new event will be created.
|
175
|
+
# @param batch_input_marketing_event_create_request_params [BatchInputMarketingEventCreateRequestParams]
|
240
176
|
# @param [Hash] opts the optional parameters
|
241
|
-
# @return [Array<(
|
242
|
-
def
|
177
|
+
# @return [Array<(BatchResponseMarketingEventPublicDefaultResponse, Integer, Hash)>] BatchResponseMarketingEventPublicDefaultResponse data, response status code and response headers
|
178
|
+
def batch_upsert_with_http_info(batch_input_marketing_event_create_request_params, opts = {})
|
243
179
|
if @api_client.config.debugging
|
244
|
-
@api_client.config.logger.debug 'Calling API:
|
180
|
+
@api_client.config.logger.debug 'Calling API: BasicApi.batch_upsert ...'
|
245
181
|
end
|
246
|
-
# verify the required parameter '
|
247
|
-
if @api_client.config.client_side_validation &&
|
248
|
-
fail ArgumentError, "Missing the required parameter '
|
182
|
+
# verify the required parameter 'batch_input_marketing_event_create_request_params' is set
|
183
|
+
if @api_client.config.client_side_validation && batch_input_marketing_event_create_request_params.nil?
|
184
|
+
fail ArgumentError, "Missing the required parameter 'batch_input_marketing_event_create_request_params' when calling BasicApi.batch_upsert"
|
249
185
|
end
|
250
186
|
# resource path
|
251
|
-
local_var_path = '/marketing/v3/marketing-events/events'
|
187
|
+
local_var_path = '/marketing/v3/marketing-events/events/upsert'
|
252
188
|
|
253
189
|
# query parameters
|
254
190
|
query_params = opts[:query_params] || {}
|
@@ -267,16 +203,16 @@ module Hubspot
|
|
267
203
|
form_params = opts[:form_params] || {}
|
268
204
|
|
269
205
|
# http body (model)
|
270
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
206
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(batch_input_marketing_event_create_request_params)
|
271
207
|
|
272
208
|
# return_type
|
273
|
-
return_type = opts[:debug_return_type] || '
|
209
|
+
return_type = opts[:debug_return_type] || 'BatchResponseMarketingEventPublicDefaultResponse'
|
274
210
|
|
275
211
|
# auth_names
|
276
212
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
277
213
|
|
278
214
|
new_options = opts.merge(
|
279
|
-
:operation => :"
|
215
|
+
:operation => :"BasicApi.batch_upsert",
|
280
216
|
:header_params => header_params,
|
281
217
|
:query_params => query_params,
|
282
218
|
:form_params => form_params,
|
@@ -287,35 +223,39 @@ module Hubspot
|
|
287
223
|
|
288
224
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
289
225
|
if @api_client.config.debugging
|
290
|
-
@api_client.config.logger.debug "API called:
|
226
|
+
@api_client.config.logger.debug "API called: BasicApi#batch_upsert\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
291
227
|
end
|
292
228
|
return data, status_code, headers
|
293
229
|
end
|
294
230
|
|
295
|
-
#
|
296
|
-
#
|
231
|
+
# Mark a marketing event as cancelled
|
232
|
+
# Mark a marketing event as cancelled.
|
233
|
+
# @param external_event_id [String] The id of the marketing event to mark as cancelled
|
234
|
+
# @param external_account_id [String] The account id associated with the marketing event
|
297
235
|
# @param [Hash] opts the optional parameters
|
298
236
|
# @return [MarketingEventDefaultResponse]
|
299
|
-
def
|
300
|
-
data, _status_code, _headers =
|
237
|
+
def cancel(external_event_id, external_account_id, opts = {})
|
238
|
+
data, _status_code, _headers = cancel_with_http_info(external_event_id, external_account_id, opts)
|
301
239
|
data
|
302
240
|
end
|
303
241
|
|
304
|
-
#
|
305
|
-
#
|
242
|
+
# Mark a marketing event as cancelled
|
243
|
+
# Mark a marketing event as cancelled.
|
244
|
+
# @param external_event_id [String] The id of the marketing event to mark as cancelled
|
245
|
+
# @param external_account_id [String] The account id associated with the marketing event
|
306
246
|
# @param [Hash] opts the optional parameters
|
307
247
|
# @return [Array<(MarketingEventDefaultResponse, Integer, Hash)>] MarketingEventDefaultResponse data, response status code and response headers
|
308
|
-
def
|
248
|
+
def cancel_with_http_info(external_event_id, external_account_id, opts = {})
|
309
249
|
if @api_client.config.debugging
|
310
|
-
@api_client.config.logger.debug 'Calling API:
|
250
|
+
@api_client.config.logger.debug 'Calling API: BasicApi.cancel ...'
|
311
251
|
end
|
312
252
|
# verify the required parameter 'external_event_id' is set
|
313
253
|
if @api_client.config.client_side_validation && external_event_id.nil?
|
314
|
-
fail ArgumentError, "Missing the required parameter 'external_event_id' when calling
|
254
|
+
fail ArgumentError, "Missing the required parameter 'external_event_id' when calling BasicApi.cancel"
|
315
255
|
end
|
316
256
|
# verify the required parameter 'external_account_id' is set
|
317
257
|
if @api_client.config.client_side_validation && external_account_id.nil?
|
318
|
-
fail ArgumentError, "Missing the required parameter 'external_account_id' when calling
|
258
|
+
fail ArgumentError, "Missing the required parameter 'external_account_id' when calling BasicApi.cancel"
|
319
259
|
end
|
320
260
|
# resource path
|
321
261
|
local_var_path = '/marketing/v3/marketing-events/events/{externalEventId}/cancel'.sub('{' + 'externalEventId' + '}', CGI.escape(external_event_id.to_s))
|
@@ -342,7 +282,7 @@ module Hubspot
|
|
342
282
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
343
283
|
|
344
284
|
new_options = opts.merge(
|
345
|
-
:operation => :"
|
285
|
+
:operation => :"BasicApi.cancel",
|
346
286
|
:header_params => header_params,
|
347
287
|
:query_params => query_params,
|
348
288
|
:form_params => form_params,
|
@@ -353,50 +293,48 @@ module Hubspot
|
|
353
293
|
|
354
294
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
355
295
|
if @api_client.config.debugging
|
356
|
-
@api_client.config.logger.debug "API called:
|
296
|
+
@api_client.config.logger.debug "API called: BasicApi#cancel\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
357
297
|
end
|
358
298
|
return data, status_code, headers
|
359
299
|
end
|
360
300
|
|
361
|
-
#
|
362
|
-
#
|
363
|
-
# @param
|
364
|
-
# @param
|
301
|
+
# Mark a marketing event as completed
|
302
|
+
# Mark a marketing event as completed
|
303
|
+
# @param external_event_id [String] The id of the marketing event in the external event application.
|
304
|
+
# @param external_account_id [String] The accountId that is associated with this marketing event in the external event application.
|
305
|
+
# @param marketing_event_complete_request_params [MarketingEventCompleteRequestParams]
|
365
306
|
# @param [Hash] opts the optional parameters
|
366
|
-
# @return [
|
367
|
-
def
|
368
|
-
data, _status_code, _headers =
|
307
|
+
# @return [MarketingEventDefaultResponse]
|
308
|
+
def complete(external_event_id, external_account_id, marketing_event_complete_request_params, opts = {})
|
309
|
+
data, _status_code, _headers = complete_with_http_info(external_event_id, external_account_id, marketing_event_complete_request_params, opts)
|
369
310
|
data
|
370
311
|
end
|
371
312
|
|
372
|
-
#
|
373
|
-
#
|
374
|
-
# @param
|
375
|
-
# @param
|
313
|
+
# Mark a marketing event as completed
|
314
|
+
# Mark a marketing event as completed
|
315
|
+
# @param external_event_id [String] The id of the marketing event in the external event application.
|
316
|
+
# @param external_account_id [String] The accountId that is associated with this marketing event in the external event application.
|
317
|
+
# @param marketing_event_complete_request_params [MarketingEventCompleteRequestParams]
|
376
318
|
# @param [Hash] opts the optional parameters
|
377
|
-
# @return [Array<(
|
378
|
-
def
|
319
|
+
# @return [Array<(MarketingEventDefaultResponse, Integer, Hash)>] MarketingEventDefaultResponse data, response status code and response headers
|
320
|
+
def complete_with_http_info(external_event_id, external_account_id, marketing_event_complete_request_params, opts = {})
|
379
321
|
if @api_client.config.debugging
|
380
|
-
@api_client.config.logger.debug 'Calling API:
|
322
|
+
@api_client.config.logger.debug 'Calling API: BasicApi.complete ...'
|
381
323
|
end
|
382
324
|
# verify the required parameter 'external_event_id' is set
|
383
325
|
if @api_client.config.client_side_validation && external_event_id.nil?
|
384
|
-
fail ArgumentError, "Missing the required parameter 'external_event_id' when calling
|
385
|
-
end
|
386
|
-
# verify the required parameter 'subscriber_state' is set
|
387
|
-
if @api_client.config.client_side_validation && subscriber_state.nil?
|
388
|
-
fail ArgumentError, "Missing the required parameter 'subscriber_state' when calling MarketingEventsExternalApi.do_email_upsert_by_id"
|
326
|
+
fail ArgumentError, "Missing the required parameter 'external_event_id' when calling BasicApi.complete"
|
389
327
|
end
|
390
328
|
# verify the required parameter 'external_account_id' is set
|
391
329
|
if @api_client.config.client_side_validation && external_account_id.nil?
|
392
|
-
fail ArgumentError, "Missing the required parameter 'external_account_id' when calling
|
330
|
+
fail ArgumentError, "Missing the required parameter 'external_account_id' when calling BasicApi.complete"
|
393
331
|
end
|
394
|
-
# verify the required parameter '
|
395
|
-
if @api_client.config.client_side_validation &&
|
396
|
-
fail ArgumentError, "Missing the required parameter '
|
332
|
+
# verify the required parameter 'marketing_event_complete_request_params' is set
|
333
|
+
if @api_client.config.client_side_validation && marketing_event_complete_request_params.nil?
|
334
|
+
fail ArgumentError, "Missing the required parameter 'marketing_event_complete_request_params' when calling BasicApi.complete"
|
397
335
|
end
|
398
336
|
# resource path
|
399
|
-
local_var_path = '/marketing/v3/marketing-events/events/{externalEventId}/
|
337
|
+
local_var_path = '/marketing/v3/marketing-events/events/{externalEventId}/complete'.sub('{' + 'externalEventId' + '}', CGI.escape(external_event_id.to_s))
|
400
338
|
|
401
339
|
# query parameters
|
402
340
|
query_params = opts[:query_params] || {}
|
@@ -405,7 +343,7 @@ module Hubspot
|
|
405
343
|
# header parameters
|
406
344
|
header_params = opts[:header_params] || {}
|
407
345
|
# HTTP header 'Accept' (if needed)
|
408
|
-
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
346
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', '*/*'])
|
409
347
|
# HTTP header 'Content-Type'
|
410
348
|
content_type = @api_client.select_header_content_type(['application/json'])
|
411
349
|
if !content_type.nil?
|
@@ -416,16 +354,16 @@ module Hubspot
|
|
416
354
|
form_params = opts[:form_params] || {}
|
417
355
|
|
418
356
|
# http body (model)
|
419
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
357
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(marketing_event_complete_request_params)
|
420
358
|
|
421
359
|
# return_type
|
422
|
-
return_type = opts[:debug_return_type] || '
|
360
|
+
return_type = opts[:debug_return_type] || 'MarketingEventDefaultResponse'
|
423
361
|
|
424
362
|
# auth_names
|
425
363
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
426
364
|
|
427
365
|
new_options = opts.merge(
|
428
|
-
:operation => :"
|
366
|
+
:operation => :"BasicApi.complete",
|
429
367
|
:header_params => header_params,
|
430
368
|
:query_params => query_params,
|
431
369
|
:form_params => form_params,
|
@@ -436,32 +374,36 @@ module Hubspot
|
|
436
374
|
|
437
375
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
438
376
|
if @api_client.config.debugging
|
439
|
-
@api_client.config.logger.debug "API called:
|
377
|
+
@api_client.config.logger.debug "API called: BasicApi#complete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
440
378
|
end
|
441
379
|
return data, status_code, headers
|
442
380
|
end
|
443
381
|
|
444
|
-
#
|
382
|
+
# Create a marketing event
|
383
|
+
# Creates a new marketing event in HubSpot
|
384
|
+
# @param marketing_event_create_request_params [MarketingEventCreateRequestParams]
|
445
385
|
# @param [Hash] opts the optional parameters
|
446
|
-
# @return [
|
447
|
-
def
|
448
|
-
data, _status_code, _headers =
|
386
|
+
# @return [MarketingEventDefaultResponse]
|
387
|
+
def create(marketing_event_create_request_params, opts = {})
|
388
|
+
data, _status_code, _headers = create_with_http_info(marketing_event_create_request_params, opts)
|
449
389
|
data
|
450
390
|
end
|
451
391
|
|
452
|
-
#
|
392
|
+
# Create a marketing event
|
393
|
+
# Creates a new marketing event in HubSpot
|
394
|
+
# @param marketing_event_create_request_params [MarketingEventCreateRequestParams]
|
453
395
|
# @param [Hash] opts the optional parameters
|
454
|
-
# @return [Array<(
|
455
|
-
def
|
396
|
+
# @return [Array<(MarketingEventDefaultResponse, Integer, Hash)>] MarketingEventDefaultResponse data, response status code and response headers
|
397
|
+
def create_with_http_info(marketing_event_create_request_params, opts = {})
|
456
398
|
if @api_client.config.debugging
|
457
|
-
@api_client.config.logger.debug 'Calling API:
|
399
|
+
@api_client.config.logger.debug 'Calling API: BasicApi.create ...'
|
458
400
|
end
|
459
|
-
# verify the required parameter '
|
460
|
-
if @api_client.config.client_side_validation &&
|
461
|
-
fail ArgumentError, "Missing the required parameter '
|
401
|
+
# verify the required parameter 'marketing_event_create_request_params' is set
|
402
|
+
if @api_client.config.client_side_validation && marketing_event_create_request_params.nil?
|
403
|
+
fail ArgumentError, "Missing the required parameter 'marketing_event_create_request_params' when calling BasicApi.create"
|
462
404
|
end
|
463
405
|
# resource path
|
464
|
-
local_var_path = '/marketing/v3/marketing-events/events
|
406
|
+
local_var_path = '/marketing/v3/marketing-events/events'
|
465
407
|
|
466
408
|
# query parameters
|
467
409
|
query_params = opts[:query_params] || {}
|
@@ -480,16 +422,16 @@ module Hubspot
|
|
480
422
|
form_params = opts[:form_params] || {}
|
481
423
|
|
482
424
|
# http body (model)
|
483
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
425
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(marketing_event_create_request_params)
|
484
426
|
|
485
427
|
# return_type
|
486
|
-
return_type = opts[:debug_return_type] || '
|
428
|
+
return_type = opts[:debug_return_type] || 'MarketingEventDefaultResponse'
|
487
429
|
|
488
430
|
# auth_names
|
489
431
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
490
432
|
|
491
433
|
new_options = opts.merge(
|
492
|
-
:operation => :"
|
434
|
+
:operation => :"BasicApi.create",
|
493
435
|
:header_params => header_params,
|
494
436
|
:query_params => query_params,
|
495
437
|
:form_params => form_params,
|
@@ -500,79 +442,60 @@ module Hubspot
|
|
500
442
|
|
501
443
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
502
444
|
if @api_client.config.debugging
|
503
|
-
@api_client.config.logger.debug "API called:
|
445
|
+
@api_client.config.logger.debug "API called: BasicApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
504
446
|
end
|
505
447
|
return data, status_code, headers
|
506
448
|
end
|
507
449
|
|
508
|
-
#
|
509
|
-
#
|
510
|
-
# @param
|
511
|
-
# @param batch_input_marketing_event_subscriber [BatchInputMarketingEventSubscriber]
|
450
|
+
# Search for marketing events
|
451
|
+
# Search for marketing events that have an event id that starts with the query string
|
452
|
+
# @param q [String] The id of the marketing event in the external event application
|
512
453
|
# @param [Hash] opts the optional parameters
|
513
|
-
# @return [
|
514
|
-
def
|
515
|
-
data, _status_code, _headers =
|
454
|
+
# @return [CollectionResponseMarketingEventExternalUniqueIdentifierNoPaging]
|
455
|
+
def do_search(q, opts = {})
|
456
|
+
data, _status_code, _headers = do_search_with_http_info(q, opts)
|
516
457
|
data
|
517
458
|
end
|
518
459
|
|
519
|
-
#
|
520
|
-
#
|
521
|
-
# @param
|
522
|
-
# @param batch_input_marketing_event_subscriber [BatchInputMarketingEventSubscriber]
|
460
|
+
# Search for marketing events
|
461
|
+
# Search for marketing events that have an event id that starts with the query string
|
462
|
+
# @param q [String] The id of the marketing event in the external event application
|
523
463
|
# @param [Hash] opts the optional parameters
|
524
|
-
# @return [Array<(
|
525
|
-
def
|
464
|
+
# @return [Array<(CollectionResponseMarketingEventExternalUniqueIdentifierNoPaging, Integer, Hash)>] CollectionResponseMarketingEventExternalUniqueIdentifierNoPaging data, response status code and response headers
|
465
|
+
def do_search_with_http_info(q, opts = {})
|
526
466
|
if @api_client.config.debugging
|
527
|
-
@api_client.config.logger.debug 'Calling API:
|
467
|
+
@api_client.config.logger.debug 'Calling API: BasicApi.do_search ...'
|
528
468
|
end
|
529
|
-
# verify the required parameter '
|
530
|
-
if @api_client.config.client_side_validation &&
|
531
|
-
fail ArgumentError, "Missing the required parameter '
|
532
|
-
end
|
533
|
-
# verify the required parameter 'subscriber_state' is set
|
534
|
-
if @api_client.config.client_side_validation && subscriber_state.nil?
|
535
|
-
fail ArgumentError, "Missing the required parameter 'subscriber_state' when calling MarketingEventsExternalApi.do_upsert_by_id"
|
536
|
-
end
|
537
|
-
# verify the required parameter 'external_account_id' is set
|
538
|
-
if @api_client.config.client_side_validation && external_account_id.nil?
|
539
|
-
fail ArgumentError, "Missing the required parameter 'external_account_id' when calling MarketingEventsExternalApi.do_upsert_by_id"
|
540
|
-
end
|
541
|
-
# verify the required parameter 'batch_input_marketing_event_subscriber' is set
|
542
|
-
if @api_client.config.client_side_validation && batch_input_marketing_event_subscriber.nil?
|
543
|
-
fail ArgumentError, "Missing the required parameter 'batch_input_marketing_event_subscriber' when calling MarketingEventsExternalApi.do_upsert_by_id"
|
469
|
+
# verify the required parameter 'q' is set
|
470
|
+
if @api_client.config.client_side_validation && q.nil?
|
471
|
+
fail ArgumentError, "Missing the required parameter 'q' when calling BasicApi.do_search"
|
544
472
|
end
|
545
473
|
# resource path
|
546
|
-
local_var_path = '/marketing/v3/marketing-events/events/
|
474
|
+
local_var_path = '/marketing/v3/marketing-events/events/search'
|
547
475
|
|
548
476
|
# query parameters
|
549
477
|
query_params = opts[:query_params] || {}
|
550
|
-
query_params[:'
|
478
|
+
query_params[:'q'] = q
|
551
479
|
|
552
480
|
# header parameters
|
553
481
|
header_params = opts[:header_params] || {}
|
554
482
|
# HTTP header 'Accept' (if needed)
|
555
|
-
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
556
|
-
# HTTP header 'Content-Type'
|
557
|
-
content_type = @api_client.select_header_content_type(['application/json'])
|
558
|
-
if !content_type.nil?
|
559
|
-
header_params['Content-Type'] = content_type
|
560
|
-
end
|
483
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', '*/*'])
|
561
484
|
|
562
485
|
# form parameters
|
563
486
|
form_params = opts[:form_params] || {}
|
564
487
|
|
565
488
|
# http body (model)
|
566
|
-
post_body = opts[:debug_body]
|
489
|
+
post_body = opts[:debug_body]
|
567
490
|
|
568
491
|
# return_type
|
569
|
-
return_type = opts[:debug_return_type] || '
|
492
|
+
return_type = opts[:debug_return_type] || 'CollectionResponseMarketingEventExternalUniqueIdentifierNoPaging'
|
570
493
|
|
571
494
|
# auth_names
|
572
495
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
573
496
|
|
574
497
|
new_options = opts.merge(
|
575
|
-
:operation => :"
|
498
|
+
:operation => :"BasicApi.do_search",
|
576
499
|
:header_params => header_params,
|
577
500
|
:query_params => query_params,
|
578
501
|
:form_params => form_params,
|
@@ -581,37 +504,41 @@ module Hubspot
|
|
581
504
|
:return_type => return_type
|
582
505
|
)
|
583
506
|
|
584
|
-
data, status_code, headers = @api_client.call_api(:
|
507
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
585
508
|
if @api_client.config.debugging
|
586
|
-
@api_client.config.logger.debug "API called:
|
509
|
+
@api_client.config.logger.debug "API called: BasicApi#do_search\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
587
510
|
end
|
588
511
|
return data, status_code, headers
|
589
512
|
end
|
590
513
|
|
591
|
-
#
|
592
|
-
#
|
514
|
+
# Get a marketing event
|
515
|
+
# Returns the details of the Marketing Event with the specified id, if one exists.
|
516
|
+
# @param external_event_id [String] The id of the marketing event to return
|
517
|
+
# @param external_account_id [String] The account id associated with the marketing event
|
593
518
|
# @param [Hash] opts the optional parameters
|
594
519
|
# @return [MarketingEventPublicReadResponse]
|
595
|
-
def
|
596
|
-
data, _status_code, _headers =
|
520
|
+
def get_details(external_event_id, external_account_id, opts = {})
|
521
|
+
data, _status_code, _headers = get_details_with_http_info(external_event_id, external_account_id, opts)
|
597
522
|
data
|
598
523
|
end
|
599
524
|
|
600
|
-
#
|
601
|
-
#
|
525
|
+
# Get a marketing event
|
526
|
+
# Returns the details of the Marketing Event with the specified id, if one exists.
|
527
|
+
# @param external_event_id [String] The id of the marketing event to return
|
528
|
+
# @param external_account_id [String] The account id associated with the marketing event
|
602
529
|
# @param [Hash] opts the optional parameters
|
603
530
|
# @return [Array<(MarketingEventPublicReadResponse, Integer, Hash)>] MarketingEventPublicReadResponse data, response status code and response headers
|
604
|
-
def
|
531
|
+
def get_details_with_http_info(external_event_id, external_account_id, opts = {})
|
605
532
|
if @api_client.config.debugging
|
606
|
-
@api_client.config.logger.debug 'Calling API:
|
533
|
+
@api_client.config.logger.debug 'Calling API: BasicApi.get_details ...'
|
607
534
|
end
|
608
535
|
# verify the required parameter 'external_event_id' is set
|
609
536
|
if @api_client.config.client_side_validation && external_event_id.nil?
|
610
|
-
fail ArgumentError, "Missing the required parameter 'external_event_id' when calling
|
537
|
+
fail ArgumentError, "Missing the required parameter 'external_event_id' when calling BasicApi.get_details"
|
611
538
|
end
|
612
539
|
# verify the required parameter 'external_account_id' is set
|
613
540
|
if @api_client.config.client_side_validation && external_account_id.nil?
|
614
|
-
fail ArgumentError, "Missing the required parameter 'external_account_id' when calling
|
541
|
+
fail ArgumentError, "Missing the required parameter 'external_account_id' when calling BasicApi.get_details"
|
615
542
|
end
|
616
543
|
# resource path
|
617
544
|
local_var_path = '/marketing/v3/marketing-events/events/{externalEventId}'.sub('{' + 'externalEventId' + '}', CGI.escape(external_event_id.to_s))
|
@@ -638,7 +565,7 @@ module Hubspot
|
|
638
565
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
639
566
|
|
640
567
|
new_options = opts.merge(
|
641
|
-
:operation => :"
|
568
|
+
:operation => :"BasicApi.get_details",
|
642
569
|
:header_params => header_params,
|
643
570
|
:query_params => query_params,
|
644
571
|
:form_params => form_params,
|
@@ -649,41 +576,52 @@ module Hubspot
|
|
649
576
|
|
650
577
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
651
578
|
if @api_client.config.debugging
|
652
|
-
@api_client.config.logger.debug "API called:
|
579
|
+
@api_client.config.logger.debug "API called: BasicApi#get_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
653
580
|
end
|
654
581
|
return data, status_code, headers
|
655
582
|
end
|
656
583
|
|
657
|
-
#
|
658
|
-
#
|
584
|
+
# Update a marketing event
|
585
|
+
# Updates an existing Marketing Event with the specified id, if one exists.
|
586
|
+
# @param external_event_id [String] The id of the marketing event to update
|
587
|
+
# @param external_account_id [String] The account id associated with the marketing event
|
588
|
+
# @param marketing_event_update_request_params [MarketingEventUpdateRequestParams]
|
659
589
|
# @param [Hash] opts the optional parameters
|
660
590
|
# @return [MarketingEventPublicDefaultResponse]
|
661
|
-
def
|
662
|
-
data, _status_code, _headers =
|
591
|
+
def update(external_event_id, external_account_id, marketing_event_update_request_params, opts = {})
|
592
|
+
data, _status_code, _headers = update_with_http_info(external_event_id, external_account_id, marketing_event_update_request_params, opts)
|
663
593
|
data
|
664
594
|
end
|
665
595
|
|
666
|
-
#
|
667
|
-
#
|
596
|
+
# Update a marketing event
|
597
|
+
# Updates an existing Marketing Event with the specified id, if one exists.
|
598
|
+
# @param external_event_id [String] The id of the marketing event to update
|
599
|
+
# @param external_account_id [String] The account id associated with the marketing event
|
600
|
+
# @param marketing_event_update_request_params [MarketingEventUpdateRequestParams]
|
668
601
|
# @param [Hash] opts the optional parameters
|
669
602
|
# @return [Array<(MarketingEventPublicDefaultResponse, Integer, Hash)>] MarketingEventPublicDefaultResponse data, response status code and response headers
|
670
|
-
def
|
603
|
+
def update_with_http_info(external_event_id, external_account_id, marketing_event_update_request_params, opts = {})
|
671
604
|
if @api_client.config.debugging
|
672
|
-
@api_client.config.logger.debug 'Calling API:
|
605
|
+
@api_client.config.logger.debug 'Calling API: BasicApi.update ...'
|
673
606
|
end
|
674
607
|
# verify the required parameter 'external_event_id' is set
|
675
608
|
if @api_client.config.client_side_validation && external_event_id.nil?
|
676
|
-
fail ArgumentError, "Missing the required parameter 'external_event_id' when calling
|
609
|
+
fail ArgumentError, "Missing the required parameter 'external_event_id' when calling BasicApi.update"
|
677
610
|
end
|
678
|
-
# verify the required parameter '
|
679
|
-
if @api_client.config.client_side_validation &&
|
680
|
-
fail ArgumentError, "Missing the required parameter '
|
611
|
+
# verify the required parameter 'external_account_id' is set
|
612
|
+
if @api_client.config.client_side_validation && external_account_id.nil?
|
613
|
+
fail ArgumentError, "Missing the required parameter 'external_account_id' when calling BasicApi.update"
|
614
|
+
end
|
615
|
+
# verify the required parameter 'marketing_event_update_request_params' is set
|
616
|
+
if @api_client.config.client_side_validation && marketing_event_update_request_params.nil?
|
617
|
+
fail ArgumentError, "Missing the required parameter 'marketing_event_update_request_params' when calling BasicApi.update"
|
681
618
|
end
|
682
619
|
# resource path
|
683
620
|
local_var_path = '/marketing/v3/marketing-events/events/{externalEventId}'.sub('{' + 'externalEventId' + '}', CGI.escape(external_event_id.to_s))
|
684
621
|
|
685
622
|
# query parameters
|
686
623
|
query_params = opts[:query_params] || {}
|
624
|
+
query_params[:'externalAccountId'] = external_account_id
|
687
625
|
|
688
626
|
# header parameters
|
689
627
|
header_params = opts[:header_params] || {}
|
@@ -699,7 +637,7 @@ module Hubspot
|
|
699
637
|
form_params = opts[:form_params] || {}
|
700
638
|
|
701
639
|
# http body (model)
|
702
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
640
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(marketing_event_update_request_params)
|
703
641
|
|
704
642
|
# return_type
|
705
643
|
return_type = opts[:debug_return_type] || 'MarketingEventPublicDefaultResponse'
|
@@ -708,7 +646,7 @@ module Hubspot
|
|
708
646
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
709
647
|
|
710
648
|
new_options = opts.merge(
|
711
|
-
:operation => :"
|
649
|
+
:operation => :"BasicApi.update",
|
712
650
|
:header_params => header_params,
|
713
651
|
:query_params => query_params,
|
714
652
|
:form_params => form_params,
|
@@ -717,50 +655,47 @@ module Hubspot
|
|
717
655
|
:return_type => return_type
|
718
656
|
)
|
719
657
|
|
720
|
-
data, status_code, headers = @api_client.call_api(:
|
658
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
721
659
|
if @api_client.config.debugging
|
722
|
-
@api_client.config.logger.debug "API called:
|
660
|
+
@api_client.config.logger.debug "API called: BasicApi#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
723
661
|
end
|
724
662
|
return data, status_code, headers
|
725
663
|
end
|
726
664
|
|
727
|
-
#
|
728
|
-
#
|
729
|
-
# @param
|
665
|
+
# Create or update a marketing event
|
666
|
+
# Upserts a marketing event If there is an existing marketing event with the specified ID, it will be updated; otherwise a new event will be created.
|
667
|
+
# @param external_event_id [String] The ID of the marketing event to upsert
|
668
|
+
# @param marketing_event_create_request_params [MarketingEventCreateRequestParams]
|
730
669
|
# @param [Hash] opts the optional parameters
|
731
670
|
# @return [MarketingEventPublicDefaultResponse]
|
732
|
-
def
|
733
|
-
data, _status_code, _headers =
|
671
|
+
def upsert(external_event_id, marketing_event_create_request_params, opts = {})
|
672
|
+
data, _status_code, _headers = upsert_with_http_info(external_event_id, marketing_event_create_request_params, opts)
|
734
673
|
data
|
735
674
|
end
|
736
675
|
|
737
|
-
#
|
738
|
-
#
|
739
|
-
# @param
|
676
|
+
# Create or update a marketing event
|
677
|
+
# Upserts a marketing event If there is an existing marketing event with the specified ID, it will be updated; otherwise a new event will be created.
|
678
|
+
# @param external_event_id [String] The ID of the marketing event to upsert
|
679
|
+
# @param marketing_event_create_request_params [MarketingEventCreateRequestParams]
|
740
680
|
# @param [Hash] opts the optional parameters
|
741
681
|
# @return [Array<(MarketingEventPublicDefaultResponse, Integer, Hash)>] MarketingEventPublicDefaultResponse data, response status code and response headers
|
742
|
-
def
|
682
|
+
def upsert_with_http_info(external_event_id, marketing_event_create_request_params, opts = {})
|
743
683
|
if @api_client.config.debugging
|
744
|
-
@api_client.config.logger.debug 'Calling API:
|
684
|
+
@api_client.config.logger.debug 'Calling API: BasicApi.upsert ...'
|
745
685
|
end
|
746
686
|
# verify the required parameter 'external_event_id' is set
|
747
687
|
if @api_client.config.client_side_validation && external_event_id.nil?
|
748
|
-
fail ArgumentError, "Missing the required parameter 'external_event_id' when calling
|
688
|
+
fail ArgumentError, "Missing the required parameter 'external_event_id' when calling BasicApi.upsert"
|
749
689
|
end
|
750
|
-
# verify the required parameter '
|
751
|
-
if @api_client.config.client_side_validation &&
|
752
|
-
fail ArgumentError, "Missing the required parameter '
|
753
|
-
end
|
754
|
-
# verify the required parameter 'marketing_event_update_request_params' is set
|
755
|
-
if @api_client.config.client_side_validation && marketing_event_update_request_params.nil?
|
756
|
-
fail ArgumentError, "Missing the required parameter 'marketing_event_update_request_params' when calling MarketingEventsExternalApi.update"
|
690
|
+
# verify the required parameter 'marketing_event_create_request_params' is set
|
691
|
+
if @api_client.config.client_side_validation && marketing_event_create_request_params.nil?
|
692
|
+
fail ArgumentError, "Missing the required parameter 'marketing_event_create_request_params' when calling BasicApi.upsert"
|
757
693
|
end
|
758
694
|
# resource path
|
759
695
|
local_var_path = '/marketing/v3/marketing-events/events/{externalEventId}'.sub('{' + 'externalEventId' + '}', CGI.escape(external_event_id.to_s))
|
760
696
|
|
761
697
|
# query parameters
|
762
698
|
query_params = opts[:query_params] || {}
|
763
|
-
query_params[:'externalAccountId'] = external_account_id
|
764
699
|
|
765
700
|
# header parameters
|
766
701
|
header_params = opts[:header_params] || {}
|
@@ -776,7 +711,7 @@ module Hubspot
|
|
776
711
|
form_params = opts[:form_params] || {}
|
777
712
|
|
778
713
|
# http body (model)
|
779
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
714
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(marketing_event_create_request_params)
|
780
715
|
|
781
716
|
# return_type
|
782
717
|
return_type = opts[:debug_return_type] || 'MarketingEventPublicDefaultResponse'
|
@@ -785,7 +720,7 @@ module Hubspot
|
|
785
720
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
786
721
|
|
787
722
|
new_options = opts.merge(
|
788
|
-
:operation => :"
|
723
|
+
:operation => :"BasicApi.upsert",
|
789
724
|
:header_params => header_params,
|
790
725
|
:query_params => query_params,
|
791
726
|
:form_params => form_params,
|
@@ -794,9 +729,9 @@ module Hubspot
|
|
794
729
|
:return_type => return_type
|
795
730
|
)
|
796
731
|
|
797
|
-
data, status_code, headers = @api_client.call_api(:
|
732
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
798
733
|
if @api_client.config.debugging
|
799
|
-
@api_client.config.logger.debug "API called:
|
734
|
+
@api_client.config.logger.debug "API called: BasicApi#upsert\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
800
735
|
end
|
801
736
|
return data, status_code, headers
|
802
737
|
end
|