hubspot-api-client 15.0.2 → 16.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/CHANGELOG.md +11 -0
 - data/Gemfile.lock +2 -2
 - data/lib/hubspot/codegen/automation/actions/api/callbacks_api.rb +17 -9
 - data/lib/hubspot/codegen/automation/actions/api/definitions_api.rb +31 -20
 - data/lib/hubspot/codegen/automation/actions/api/functions_api.rb +37 -24
 - data/lib/hubspot/codegen/automation/actions/api/revisions_api.rb +9 -7
 - data/lib/hubspot/codegen/automation/actions/api_client.rb +56 -52
 - data/lib/hubspot/codegen/automation/actions/api_error.rb +1 -1
 - data/lib/hubspot/codegen/automation/actions/configuration.rb +44 -13
 - data/lib/hubspot/codegen/automation/actions/models/action_function.rb +20 -7
 - data/lib/hubspot/codegen/automation/actions/models/action_function_identifier.rb +20 -7
 - data/lib/hubspot/codegen/automation/actions/models/action_labels.rb +20 -7
 - data/lib/hubspot/codegen/automation/actions/models/action_revision.rb +21 -8
 - data/lib/hubspot/codegen/automation/actions/models/batch_input_callback_completion_batch_request.rb +20 -7
 - data/lib/hubspot/codegen/automation/actions/models/callback_completion_batch_request.rb +20 -7
 - data/lib/hubspot/codegen/automation/actions/models/callback_completion_request.rb +20 -7
 - data/lib/hubspot/codegen/automation/actions/models/collection_response_action_function_identifier_no_paging.rb +20 -7
 - data/lib/hubspot/codegen/automation/actions/models/collection_response_action_revision_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/automation/actions/models/collection_response_extension_action_definition_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/automation/actions/models/conditional_single_field_dependency.rb +20 -7
 - data/lib/hubspot/codegen/automation/actions/models/error.rb +20 -7
 - data/lib/hubspot/codegen/automation/actions/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/automation/actions/models/extension_action_definition.rb +21 -8
 - data/lib/hubspot/codegen/automation/actions/models/extension_action_definition_input.rb +21 -8
 - data/lib/hubspot/codegen/automation/actions/models/extension_action_definition_patch.rb +21 -8
 - data/lib/hubspot/codegen/automation/actions/models/extension_action_definition_patch_input_field_dependencies_inner.rb +108 -0
 - data/lib/hubspot/codegen/automation/actions/models/field_type_definition.rb +20 -7
 - data/lib/hubspot/codegen/automation/actions/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/automation/actions/models/input_field_definition.rb +20 -7
 - data/lib/hubspot/codegen/automation/actions/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/automation/actions/models/object_request_options.rb +20 -7
 - data/lib/hubspot/codegen/automation/actions/models/option.rb +20 -7
 - data/lib/hubspot/codegen/automation/actions/models/single_field_dependency.rb +20 -7
 - data/lib/hubspot/codegen/cms/audit-logs/api/audit_logs_api.rb +5 -4
 - data/lib/hubspot/codegen/cms/audit-logs/api_client.rb +56 -52
 - data/lib/hubspot/codegen/cms/audit-logs/api_error.rb +1 -1
 - data/lib/hubspot/codegen/cms/audit-logs/configuration.rb +43 -12
 - data/lib/hubspot/codegen/cms/audit-logs/models/collection_response_public_audit_log.rb +20 -7
 - data/lib/hubspot/codegen/cms/audit-logs/models/error.rb +20 -7
 - data/lib/hubspot/codegen/cms/audit-logs/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/cms/audit-logs/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/cms/audit-logs/models/paging.rb +20 -7
 - data/lib/hubspot/codegen/cms/audit-logs/models/public_audit_log.rb +21 -8
 - data/lib/hubspot/codegen/cms/blogs/authors/api/blog_authors_api.rb +113 -66
 - data/lib/hubspot/codegen/cms/blogs/authors/api_client.rb +56 -52
 - data/lib/hubspot/codegen/cms/blogs/authors/api_error.rb +1 -1
 - data/lib/hubspot/codegen/cms/blogs/authors/configuration.rb +43 -12
 - data/lib/hubspot/codegen/cms/blogs/authors/models/attach_to_lang_primary_request_v_next.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/authors/models/batch_input_blog_author.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/authors/models/batch_input_json_node.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/authors/models/batch_input_string.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/authors/models/batch_response_blog_author.rb +23 -10
 - data/lib/hubspot/codegen/cms/blogs/authors/models/batch_response_blog_author_with_errors.rb +23 -10
 - data/lib/hubspot/codegen/cms/blogs/authors/models/blog_author.rb +23 -10
 - data/lib/hubspot/codegen/cms/blogs/authors/models/blog_author_clone_request_v_next.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/authors/models/collection_response_with_total_blog_author_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/authors/models/detach_from_lang_group_request_v_next.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/authors/models/error.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/authors/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/authors/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/authors/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/authors/models/set_new_language_primary_request_v_next.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/authors/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/authors/models/update_languages_request_v_next.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/api/blog_posts_api.rb +165 -99
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/api_client.rb +56 -52
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/api_error.rb +1 -1
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/configuration.rb +43 -12
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/angle.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/attach_to_lang_primary_request_v_next.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/background_image.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/batch_input_blog_post.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/batch_input_json_node.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/batch_input_string.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/batch_response_blog_post.rb +23 -10
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/batch_response_blog_post_with_errors.rb +23 -10
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/blog_post.rb +24 -11
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/blog_post_language_clone_request_v_next.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/collection_response_with_total_blog_post_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/collection_response_with_total_version_blog_post.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/color_stop.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/content_clone_request_v_next.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/content_language_variation.rb +23 -10
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/content_schedule_request_v_next.rb +21 -8
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/detach_from_lang_group_request_v_next.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/error.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/gradient.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/layout_section.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/paging.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/previous_page.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/rgba_color.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/row_meta_data.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/set_new_language_primary_request_v_next.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/side_or_corner.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/styles.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/update_languages_request_v_next.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/version_blog_post.rb +21 -8
 - data/lib/hubspot/codegen/cms/blogs/blog-posts/models/version_user.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/tags/api/blog_tags_api.rb +113 -66
 - data/lib/hubspot/codegen/cms/blogs/tags/api_client.rb +56 -52
 - data/lib/hubspot/codegen/cms/blogs/tags/api_error.rb +1 -1
 - data/lib/hubspot/codegen/cms/blogs/tags/configuration.rb +43 -12
 - data/lib/hubspot/codegen/cms/blogs/tags/models/attach_to_lang_primary_request_v_next.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/tags/models/batch_input_json_node.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/tags/models/batch_input_string.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/tags/models/batch_input_tag.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/tags/models/batch_response_tag.rb +23 -10
 - data/lib/hubspot/codegen/cms/blogs/tags/models/batch_response_tag_with_errors.rb +23 -10
 - data/lib/hubspot/codegen/cms/blogs/tags/models/collection_response_with_total_tag_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/tags/models/detach_from_lang_group_request_v_next.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/tags/models/error.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/tags/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/tags/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/tags/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/tags/models/set_new_language_primary_request_v_next.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/tags/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/tags/models/tag.rb +23 -10
 - data/lib/hubspot/codegen/cms/blogs/tags/models/tag_clone_request_v_next.rb +20 -7
 - data/lib/hubspot/codegen/cms/blogs/tags/models/update_languages_request_v_next.rb +20 -7
 - data/lib/hubspot/codegen/cms/domains/api/domains_api.rb +23 -30
 - data/lib/hubspot/codegen/cms/domains/api_client.rb +56 -52
 - data/lib/hubspot/codegen/cms/domains/api_error.rb +1 -1
 - data/lib/hubspot/codegen/cms/domains/configuration.rb +43 -12
 - data/lib/hubspot/codegen/cms/domains/models/{collection_response_with_total_domain.rb → collection_response_with_total_domain_forward_paging.rb} +24 -11
 - data/lib/hubspot/codegen/cms/domains/models/domain.rb +42 -691
 - data/lib/hubspot/codegen/cms/domains/models/error.rb +20 -7
 - data/lib/hubspot/codegen/cms/domains/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/cms/domains/models/{paging.rb → forward_paging.rb} +23 -10
 - data/lib/hubspot/codegen/cms/domains/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/cms/hubdb/api/rows_api.rb +49 -31
 - data/lib/hubspot/codegen/cms/hubdb/api/rows_batch_api.rb +57 -29
 - data/lib/hubspot/codegen/cms/hubdb/api/tables_api.rb +97 -71
 - data/lib/hubspot/codegen/cms/hubdb/api_client.rb +56 -52
 - data/lib/hubspot/codegen/cms/hubdb/api_error.rb +1 -1
 - data/lib/hubspot/codegen/cms/hubdb/configuration.rb +43 -12
 - data/lib/hubspot/codegen/cms/hubdb/models/batch_input_hub_db_table_row_v3_request.rb +20 -7
 - data/lib/hubspot/codegen/cms/hubdb/models/batch_input_json_node.rb +20 -7
 - data/lib/hubspot/codegen/cms/hubdb/models/batch_input_string.rb +20 -7
 - data/lib/hubspot/codegen/cms/hubdb/models/batch_response_hub_db_table_row_v3.rb +23 -10
 - data/lib/hubspot/codegen/cms/hubdb/models/batch_response_hub_db_table_row_v3_with_errors.rb +23 -10
 - data/lib/hubspot/codegen/cms/hubdb/models/collection_response_with_total_hub_db_table_row_v3_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/cms/hubdb/models/collection_response_with_total_hub_db_table_v3_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/cms/hubdb/models/column.rb +20 -7
 - data/lib/hubspot/codegen/cms/hubdb/models/column_request.rb +20 -7
 - data/lib/hubspot/codegen/cms/hubdb/models/error.rb +20 -7
 - data/lib/hubspot/codegen/cms/hubdb/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/cms/hubdb/models/foreign_id.rb +20 -7
 - data/lib/hubspot/codegen/cms/hubdb/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_clone_request.rb +20 -7
 - data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3.rb +22 -9
 - data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3_request.rb +20 -7
 - data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_v3.rb +23 -10
 - data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_v3_request.rb +20 -7
 - data/lib/hubspot/codegen/cms/hubdb/models/import_result.rb +20 -7
 - data/lib/hubspot/codegen/cms/hubdb/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/cms/hubdb/models/option.rb +20 -7
 - data/lib/hubspot/codegen/cms/hubdb/models/simple_user.rb +20 -7
 - data/lib/hubspot/codegen/cms/hubdb/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/cms/performance/api/public_performance_api.rb +9 -7
 - data/lib/hubspot/codegen/cms/performance/api_client.rb +56 -52
 - data/lib/hubspot/codegen/cms/performance/api_error.rb +1 -1
 - data/lib/hubspot/codegen/cms/performance/configuration.rb +50 -12
 - data/lib/hubspot/codegen/cms/performance/models/error.rb +20 -7
 - data/lib/hubspot/codegen/cms/performance/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/cms/performance/models/performance_view.rb +20 -7
 - data/lib/hubspot/codegen/cms/performance/models/public_performance_response.rb +20 -7
 - data/lib/hubspot/codegen/cms/site-search/api/public_api.rb +9 -7
 - data/lib/hubspot/codegen/cms/site-search/api_client.rb +56 -52
 - data/lib/hubspot/codegen/cms/site-search/api_error.rb +1 -1
 - data/lib/hubspot/codegen/cms/site-search/configuration.rb +43 -12
 - data/lib/hubspot/codegen/cms/site-search/models/content_search_result.rb +20 -7
 - data/lib/hubspot/codegen/cms/site-search/models/error.rb +20 -7
 - data/lib/hubspot/codegen/cms/site-search/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/cms/site-search/models/indexed_data.rb +20 -7
 - data/lib/hubspot/codegen/cms/site-search/models/indexed_field.rb +20 -7
 - data/lib/hubspot/codegen/cms/site-search/models/public_search_results.rb +20 -7
 - data/lib/hubspot/codegen/cms/source-code/api/content_api.rb +25 -15
 - data/lib/hubspot/codegen/cms/source-code/api/extract_api.rb +5 -4
 - data/lib/hubspot/codegen/cms/source-code/api/metadata_api.rb +5 -4
 - data/lib/hubspot/codegen/cms/source-code/api/source_code_extract_api.rb +9 -7
 - data/lib/hubspot/codegen/cms/source-code/api/validation_api.rb +9 -5
 - data/lib/hubspot/codegen/cms/source-code/api_client.rb +56 -52
 - data/lib/hubspot/codegen/cms/source-code/api_error.rb +1 -1
 - data/lib/hubspot/codegen/cms/source-code/configuration.rb +43 -12
 - data/lib/hubspot/codegen/cms/source-code/models/action_response.rb +23 -10
 - data/lib/hubspot/codegen/cms/source-code/models/asset_file_metadata.rb +20 -7
 - data/lib/hubspot/codegen/cms/source-code/models/error.rb +20 -7
 - data/lib/hubspot/codegen/cms/source-code/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/cms/source-code/models/file_extract_request.rb +20 -7
 - data/lib/hubspot/codegen/cms/source-code/models/task_locator.rb +20 -7
 - data/lib/hubspot/codegen/cms/url-redirects/api/redirects_api.rb +41 -30
 - data/lib/hubspot/codegen/cms/url-redirects/api_client.rb +56 -52
 - data/lib/hubspot/codegen/cms/url-redirects/api_error.rb +1 -1
 - data/lib/hubspot/codegen/cms/url-redirects/configuration.rb +43 -12
 - data/lib/hubspot/codegen/cms/url-redirects/models/collection_response_with_total_url_mapping_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/cms/url-redirects/models/error.rb +20 -7
 - data/lib/hubspot/codegen/cms/url-redirects/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/cms/url-redirects/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/cms/url-redirects/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/cms/url-redirects/models/url_mapping.rb +22 -9
 - data/lib/hubspot/codegen/cms/url-redirects/models/url_mapping_create_request_body.rb +20 -7
 - data/lib/hubspot/codegen/communication_preferences/api/definition_api.rb +5 -4
 - data/lib/hubspot/codegen/communication_preferences/api/status_api.rb +21 -12
 - data/lib/hubspot/codegen/communication_preferences/api_client.rb +56 -52
 - data/lib/hubspot/codegen/communication_preferences/api_error.rb +1 -1
 - data/lib/hubspot/codegen/communication_preferences/configuration.rb +43 -12
 - data/lib/hubspot/codegen/communication_preferences/models/error.rb +20 -7
 - data/lib/hubspot/codegen/communication_preferences/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/communication_preferences/models/public_subscription_status.rb +20 -7
 - data/lib/hubspot/codegen/communication_preferences/models/public_subscription_statuses_response.rb +20 -7
 - data/lib/hubspot/codegen/communication_preferences/models/public_update_subscription_status_request.rb +20 -7
 - data/lib/hubspot/codegen/communication_preferences/models/subscription_definition.rb +22 -9
 - data/lib/hubspot/codegen/communication_preferences/models/subscription_definitions_response.rb +20 -7
 - data/lib/hubspot/codegen/conversations/visitor-identification/api/generate_api.rb +9 -5
 - data/lib/hubspot/codegen/conversations/visitor-identification/api_client.rb +56 -52
 - data/lib/hubspot/codegen/conversations/visitor-identification/api_error.rb +1 -1
 - data/lib/hubspot/codegen/conversations/visitor-identification/configuration.rb +43 -12
 - data/lib/hubspot/codegen/conversations/visitor-identification/models/error.rb +20 -7
 - data/lib/hubspot/codegen/conversations/visitor-identification/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/conversations/visitor-identification/models/identification_token_generation_request.rb +20 -7
 - data/lib/hubspot/codegen/conversations/visitor-identification/models/identification_token_response.rb +20 -7
 - data/lib/hubspot/codegen/crm/associations/api/batch_api.rb +25 -13
 - data/lib/hubspot/codegen/crm/associations/api/types_api.rb +5 -4
 - data/lib/hubspot/codegen/crm/associations/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/associations/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/associations/configuration.rb +43 -12
 - data/lib/hubspot/codegen/crm/associations/models/associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/associations/models/batch_input_public_association.rb +20 -7
 - data/lib/hubspot/codegen/crm/associations/models/batch_input_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/associations/models/batch_response_public_association.rb +23 -10
 - data/lib/hubspot/codegen/crm/associations/models/batch_response_public_association_multi.rb +23 -10
 - data/lib/hubspot/codegen/crm/associations/models/collection_response_public_association_definiton.rb +20 -7
 - data/lib/hubspot/codegen/crm/associations/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/associations/models/error_category.rb +20 -7
 - data/lib/hubspot/codegen/crm/associations/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/associations/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/associations/models/paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/associations/models/public_association.rb +20 -7
 - data/lib/hubspot/codegen/crm/associations/models/public_association_definiton.rb +20 -7
 - data/lib/hubspot/codegen/crm/associations/models/public_association_multi.rb +20 -7
 - data/lib/hubspot/codegen/crm/associations/models/public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/associations/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/api/associations_api.rb +17 -14
 - data/lib/hubspot/codegen/crm/companies/api/basic_api.rb +32 -21
 - data/lib/hubspot/codegen/crm/companies/api/batch_api.rb +34 -18
 - data/lib/hubspot/codegen/crm/companies/api/public_object_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/companies/api/search_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/companies/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/companies/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/companies/configuration.rb +43 -12
 - data/lib/hubspot/codegen/crm/companies/models/associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/batch_input_simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/batch_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/batch_input_simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/batch_read_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/batch_response_simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/companies/models/batch_response_simple_public_object_with_errors.rb +23 -10
 - data/lib/hubspot/codegen/crm/companies/models/collection_response_associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/collection_response_associated_id_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/collection_response_simple_public_object_with_associations_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/collection_response_with_total_simple_public_object_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/error_category.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/filter.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/filter_group.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/previous_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/public_merge_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/public_object_search_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/companies/models/simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/simple_public_object_with_associations.rb +23 -10
 - data/lib/hubspot/codegen/crm/companies/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/crm/companies/models/value_with_timestamp.rb +21 -8
 - data/lib/hubspot/codegen/crm/contacts/api/associations_api.rb +17 -14
 - data/lib/hubspot/codegen/crm/contacts/api/basic_api.rb +32 -21
 - data/lib/hubspot/codegen/crm/contacts/api/batch_api.rb +34 -18
 - data/lib/hubspot/codegen/crm/contacts/api/gdpr_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/contacts/api/public_object_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/contacts/api/search_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/contacts/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/contacts/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/contacts/configuration.rb +43 -12
 - data/lib/hubspot/codegen/crm/contacts/models/associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/batch_input_simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/batch_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/batch_input_simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/batch_read_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/batch_response_simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/contacts/models/batch_response_simple_public_object_with_errors.rb +23 -10
 - data/lib/hubspot/codegen/crm/contacts/models/collection_response_associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/collection_response_associated_id_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/collection_response_simple_public_object_with_associations_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/collection_response_with_total_simple_public_object_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/error_category.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/filter.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/filter_group.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/previous_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/public_gdpr_delete_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/public_merge_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/public_object_search_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_with_associations.rb +23 -10
 - data/lib/hubspot/codegen/crm/contacts/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/crm/contacts/models/value_with_timestamp.rb +21 -8
 - data/lib/hubspot/codegen/crm/deals/api/associations_api.rb +17 -14
 - data/lib/hubspot/codegen/crm/deals/api/basic_api.rb +32 -21
 - data/lib/hubspot/codegen/crm/deals/api/batch_api.rb +34 -18
 - data/lib/hubspot/codegen/crm/deals/api/public_object_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/deals/api/search_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/deals/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/deals/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/deals/configuration.rb +43 -12
 - data/lib/hubspot/codegen/crm/deals/models/associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/batch_input_simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/batch_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/batch_input_simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/batch_read_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/batch_response_simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/deals/models/batch_response_simple_public_object_with_errors.rb +23 -10
 - data/lib/hubspot/codegen/crm/deals/models/collection_response_associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/collection_response_associated_id_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/collection_response_simple_public_object_with_associations_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/collection_response_with_total_simple_public_object_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/error_category.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/filter.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/filter_group.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/previous_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/public_merge_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/public_object_search_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/deals/models/simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/simple_public_object_with_associations.rb +23 -10
 - data/lib/hubspot/codegen/crm/deals/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/crm/deals/models/value_with_timestamp.rb +21 -8
 - data/lib/hubspot/codegen/crm/extensions/accounting/api/callbacks_api.rb +81 -41
 - data/lib/hubspot/codegen/crm/extensions/accounting/api/invoice_api.rb +21 -12
 - data/lib/hubspot/codegen/crm/extensions/accounting/api/settings_api.rb +13 -8
 - data/lib/hubspot/codegen/crm/extensions/accounting/api/sync_api.rb +17 -9
 - data/lib/hubspot/codegen/crm/extensions/accounting/api/user_accounts_api.rb +13 -8
 - data/lib/hubspot/codegen/crm/extensions/accounting/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/extensions/accounting/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/extensions/accounting/configuration.rb +43 -12
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/accounting_app_settings.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/accounting_app_urls.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/accounting_extension_customer.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/accounting_extension_invoice.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/accounting_extension_term.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/accounting_features.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/action_response.rb +23 -10
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/address.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/create_invoice_feature.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/create_invoice_sub_features.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/create_user_account_request_external.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/customer_search_response_external.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/exchange_rate_response.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/import_invoice_feature.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/invoice_create_payment_request.rb +21 -8
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/invoice_pdf_response.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/invoice_read_response.rb +23 -10
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/invoice_search_response.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/invoice_update_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/invoice_update_response.rb +23 -10
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/invoices_response_external.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/object_sync_feature.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/product.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/product_search_response.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/result_id_accounting_response.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/sync_contacts_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/sync_products_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/tax.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/tax_search_response.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/tax_type.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/terms_response.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/unit_price.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/updated_contact.rb +21 -8
 - data/lib/hubspot/codegen/crm/extensions/accounting/models/updated_product.rb +21 -8
 - data/lib/hubspot/codegen/crm/extensions/calling/api/settings_api.rb +25 -15
 - data/lib/hubspot/codegen/crm/extensions/calling/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/extensions/calling/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/extensions/calling/configuration.rb +44 -13
 - data/lib/hubspot/codegen/crm/extensions/calling/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/calling/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/calling/models/settings_patch_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/calling/models/settings_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/calling/models/settings_response.rb +22 -9
 - data/lib/hubspot/codegen/crm/extensions/cards/api/cards_api.rb +29 -18
 - data/lib/hubspot/codegen/crm/extensions/cards/api/sample_response_api.rb +5 -4
 - data/lib/hubspot/codegen/crm/extensions/cards/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/extensions/cards/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/extensions/cards/configuration.rb +44 -13
 - data/lib/hubspot/codegen/crm/extensions/cards/models/action_confirmation_body.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/cards/models/action_hook_action_body.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/cards/models/card_actions.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/cards/models/card_create_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/cards/models/card_display_body.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/cards/models/card_display_property.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/cards/models/card_fetch_body.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/cards/models/card_fetch_body_patch.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/cards/models/card_list_response.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/cards/models/card_object_type_body.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/cards/models/card_patch_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/cards/models/card_response.rb +22 -9
 - data/lib/hubspot/codegen/crm/extensions/cards/models/display_option.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/cards/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/cards/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/cards/models/i_frame_action_body.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/cards/models/integrator_card_payload_response.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/cards/models/integrator_object_result.rb +21 -8
 - data/lib/hubspot/codegen/crm/extensions/cards/models/integrator_object_result_actions_inner.rb +110 -0
 - data/lib/hubspot/codegen/crm/extensions/cards/models/object_token.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/cards/models/top_level_actions.rb +22 -9
 - data/lib/hubspot/codegen/crm/extensions/videoconferencing/api/settings_api.rb +17 -11
 - data/lib/hubspot/codegen/crm/extensions/videoconferencing/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/extensions/videoconferencing/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/extensions/videoconferencing/configuration.rb +43 -12
 - data/lib/hubspot/codegen/crm/extensions/videoconferencing/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/videoconferencing/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/extensions/videoconferencing/models/external_settings.rb +20 -7
 - data/lib/hubspot/codegen/crm/imports/api/core_api.rb +21 -14
 - data/lib/hubspot/codegen/crm/imports/api/public_imports_api.rb +5 -4
 - data/lib/hubspot/codegen/crm/imports/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/imports/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/imports/configuration.rb +43 -12
 - data/lib/hubspot/codegen/crm/imports/models/action_response.rb +23 -10
 - data/lib/hubspot/codegen/crm/imports/models/collection_response_public_import_error_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/imports/models/collection_response_public_import_response.rb +20 -7
 - data/lib/hubspot/codegen/crm/imports/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/imports/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/imports/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/imports/models/import_row_core.rb +20 -7
 - data/lib/hubspot/codegen/crm/imports/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/imports/models/paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/imports/models/previous_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/imports/models/public_import_error.rb +20 -7
 - data/lib/hubspot/codegen/crm/imports/models/public_import_metadata.rb +20 -7
 - data/lib/hubspot/codegen/crm/imports/models/public_import_response.rb +22 -9
 - data/lib/hubspot/codegen/crm/imports/models/public_object_list_record.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/api/associations_api.rb +17 -14
 - data/lib/hubspot/codegen/crm/line_items/api/basic_api.rb +32 -21
 - data/lib/hubspot/codegen/crm/line_items/api/batch_api.rb +34 -18
 - data/lib/hubspot/codegen/crm/line_items/api/public_object_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/line_items/api/search_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/line_items/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/line_items/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/line_items/configuration.rb +43 -12
 - data/lib/hubspot/codegen/crm/line_items/models/associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/batch_input_simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/batch_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/batch_input_simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/batch_read_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/batch_response_simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/line_items/models/batch_response_simple_public_object_with_errors.rb +23 -10
 - data/lib/hubspot/codegen/crm/line_items/models/collection_response_associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/collection_response_associated_id_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/collection_response_simple_public_object_with_associations_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/collection_response_with_total_simple_public_object_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/error_category.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/filter.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/filter_group.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/previous_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/public_merge_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/public_object_search_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_with_associations.rb +23 -10
 - data/lib/hubspot/codegen/crm/line_items/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/crm/line_items/models/value_with_timestamp.rb +21 -8
 - data/lib/hubspot/codegen/crm/objects/api/associations_api.rb +14 -11
 - data/lib/hubspot/codegen/crm/objects/api/basic_api.rb +32 -21
 - data/lib/hubspot/codegen/crm/objects/api/batch_api.rb +34 -18
 - data/lib/hubspot/codegen/crm/objects/api/gdpr_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/objects/api/public_object_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/objects/api/search_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/objects/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/objects/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/objects/calls/api/associations_api.rb +17 -14
 - data/lib/hubspot/codegen/crm/objects/calls/api/basic_api.rb +32 -21
 - data/lib/hubspot/codegen/crm/objects/calls/api/batch_api.rb +34 -18
 - data/lib/hubspot/codegen/crm/objects/calls/api/public_object_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/objects/calls/api/search_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/objects/calls/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/objects/calls/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/objects/calls/configuration.rb +43 -12
 - data/lib/hubspot/codegen/crm/objects/calls/models/associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/batch_input_simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/batch_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/batch_input_simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/batch_read_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/batch_response_simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/calls/models/batch_response_simple_public_object_with_errors.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/calls/models/collection_response_associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/collection_response_associated_id_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/collection_response_simple_public_object_with_associations_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/collection_response_with_total_simple_public_object_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/error_category.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/filter.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/filter_group.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/previous_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/public_merge_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/public_object_search_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_with_associations.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/calls/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/calls/models/value_with_timestamp.rb +21 -8
 - data/lib/hubspot/codegen/crm/objects/configuration.rb +43 -12
 - data/lib/hubspot/codegen/crm/objects/emails/api/associations_api.rb +17 -14
 - data/lib/hubspot/codegen/crm/objects/emails/api/basic_api.rb +32 -21
 - data/lib/hubspot/codegen/crm/objects/emails/api/batch_api.rb +34 -18
 - data/lib/hubspot/codegen/crm/objects/emails/api/public_object_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/objects/emails/api/search_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/objects/emails/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/objects/emails/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/objects/emails/configuration.rb +43 -12
 - data/lib/hubspot/codegen/crm/objects/emails/models/associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/batch_input_simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/batch_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/batch_input_simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/batch_read_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/batch_response_simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/emails/models/batch_response_simple_public_object_with_errors.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/emails/models/collection_response_associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/collection_response_associated_id_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/collection_response_simple_public_object_with_associations_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/collection_response_with_total_simple_public_object_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/error_category.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/filter.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/filter_group.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/previous_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/public_merge_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/public_object_search_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_with_associations.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/emails/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/emails/models/value_with_timestamp.rb +21 -8
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/associations_api.rb +17 -14
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/basic_api.rb +32 -21
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/batch_api.rb +34 -18
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/public_object_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/search_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/configuration.rb +43 -12
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/batch_input_simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/batch_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/batch_input_simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/batch_read_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/batch_response_simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/batch_response_simple_public_object_with_errors.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/collection_response_associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/collection_response_associated_id_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/collection_response_simple_public_object_with_associations_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/collection_response_with_total_simple_public_object_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/error_category.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/filter.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/filter_group.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/previous_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/public_merge_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/public_object_search_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/simple_public_object_with_associations.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/value_with_timestamp.rb +21 -8
 - data/lib/hubspot/codegen/crm/objects/meetings/api/associations_api.rb +17 -14
 - data/lib/hubspot/codegen/crm/objects/meetings/api/basic_api.rb +32 -21
 - data/lib/hubspot/codegen/crm/objects/meetings/api/batch_api.rb +34 -18
 - data/lib/hubspot/codegen/crm/objects/meetings/api/public_object_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/objects/meetings/api/search_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/objects/meetings/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/objects/meetings/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/objects/meetings/configuration.rb +43 -12
 - data/lib/hubspot/codegen/crm/objects/meetings/models/associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/batch_input_simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/batch_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/batch_input_simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/batch_read_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/batch_response_simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/meetings/models/batch_response_simple_public_object_with_errors.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/meetings/models/collection_response_associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/collection_response_associated_id_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/collection_response_simple_public_object_with_associations_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/collection_response_with_total_simple_public_object_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/error_category.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/filter.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/filter_group.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/previous_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/public_merge_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/public_object_search_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_with_associations.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/meetings/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/meetings/models/value_with_timestamp.rb +21 -8
 - data/lib/hubspot/codegen/crm/objects/models/associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/batch_input_simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/batch_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/batch_input_simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/batch_read_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/batch_response_simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/models/batch_response_simple_public_object_with_errors.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/models/collection_response_associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/collection_response_associated_id_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/collection_response_simple_public_object_with_associations_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/collection_response_with_total_simple_public_object_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/error_category.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/filter.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/filter_group.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/previous_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/public_gdpr_delete_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/public_merge_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/public_object_search_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/models/simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/simple_public_object_with_associations.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/models/value_with_timestamp.rb +21 -8
 - data/lib/hubspot/codegen/crm/objects/notes/api/associations_api.rb +17 -14
 - data/lib/hubspot/codegen/crm/objects/notes/api/basic_api.rb +32 -21
 - data/lib/hubspot/codegen/crm/objects/notes/api/batch_api.rb +34 -18
 - data/lib/hubspot/codegen/crm/objects/notes/api/public_object_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/objects/notes/api/search_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/objects/notes/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/objects/notes/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/objects/notes/configuration.rb +43 -12
 - data/lib/hubspot/codegen/crm/objects/notes/models/associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/batch_input_simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/batch_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/batch_input_simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/batch_read_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/batch_response_simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/notes/models/batch_response_simple_public_object_with_errors.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/notes/models/collection_response_associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/collection_response_associated_id_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/collection_response_simple_public_object_with_associations_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/collection_response_with_total_simple_public_object_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/error_category.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/filter.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/filter_group.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/previous_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/public_merge_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/public_object_search_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_with_associations.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/notes/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/notes/models/value_with_timestamp.rb +21 -8
 - data/lib/hubspot/codegen/crm/objects/tasks/api/associations_api.rb +17 -14
 - data/lib/hubspot/codegen/crm/objects/tasks/api/basic_api.rb +32 -21
 - data/lib/hubspot/codegen/crm/objects/tasks/api/batch_api.rb +34 -18
 - data/lib/hubspot/codegen/crm/objects/tasks/api/public_object_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/objects/tasks/api/search_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/objects/tasks/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/objects/tasks/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/objects/tasks/configuration.rb +43 -12
 - data/lib/hubspot/codegen/crm/objects/tasks/models/associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/batch_input_simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/batch_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/batch_input_simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/batch_read_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/batch_response_simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/tasks/models/batch_response_simple_public_object_with_errors.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/tasks/models/collection_response_associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/collection_response_associated_id_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/collection_response_simple_public_object_with_associations_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/collection_response_with_total_simple_public_object_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/error_category.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/filter.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/filter_group.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/previous_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/public_merge_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/public_object_search_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_with_associations.rb +23 -10
 - data/lib/hubspot/codegen/crm/objects/tasks/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/crm/objects/tasks/models/value_with_timestamp.rb +21 -8
 - data/lib/hubspot/codegen/crm/owners/api/owners_api.rb +13 -11
 - data/lib/hubspot/codegen/crm/owners/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/owners/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/owners/configuration.rb +43 -12
 - data/lib/hubspot/codegen/crm/owners/models/collection_response_public_owner_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/owners/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/owners/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/owners/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/owners/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/owners/models/public_owner.rb +22 -9
 - data/lib/hubspot/codegen/crm/owners/models/public_team.rb +20 -7
 - data/lib/hubspot/codegen/crm/pipelines/api/pipeline_audits_api.rb +5 -4
 - data/lib/hubspot/codegen/crm/pipelines/api/pipeline_stage_audits_api.rb +5 -4
 - data/lib/hubspot/codegen/crm/pipelines/api/pipeline_stages_api.rb +37 -22
 - data/lib/hubspot/codegen/crm/pipelines/api/pipelines_api.rb +40 -25
 - data/lib/hubspot/codegen/crm/pipelines/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/pipelines/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/pipelines/configuration.rb +43 -12
 - data/lib/hubspot/codegen/crm/pipelines/models/collection_response_pipeline_no_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/pipelines/models/collection_response_pipeline_stage_no_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/pipelines/models/collection_response_public_audit_info_no_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/pipelines/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/pipelines/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/pipelines/models/pipeline.rb +23 -10
 - data/lib/hubspot/codegen/crm/pipelines/models/pipeline_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/pipelines/models/pipeline_patch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/pipelines/models/pipeline_stage.rb +23 -10
 - data/lib/hubspot/codegen/crm/pipelines/models/pipeline_stage_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/pipelines/models/pipeline_stage_patch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/pipelines/models/public_audit_info.rb +21 -8
 - data/lib/hubspot/codegen/crm/products/api/associations_api.rb +17 -14
 - data/lib/hubspot/codegen/crm/products/api/basic_api.rb +32 -21
 - data/lib/hubspot/codegen/crm/products/api/batch_api.rb +34 -18
 - data/lib/hubspot/codegen/crm/products/api/public_object_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/products/api/search_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/products/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/products/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/products/configuration.rb +43 -12
 - data/lib/hubspot/codegen/crm/products/models/associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/batch_input_simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/batch_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/batch_input_simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/batch_read_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/batch_response_simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/products/models/batch_response_simple_public_object_with_errors.rb +23 -10
 - data/lib/hubspot/codegen/crm/products/models/collection_response_associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/collection_response_associated_id_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/collection_response_simple_public_object_with_associations_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/collection_response_with_total_simple_public_object_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/error_category.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/filter.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/filter_group.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/previous_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/public_merge_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/public_object_search_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/products/models/simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/simple_public_object_with_associations.rb +23 -10
 - data/lib/hubspot/codegen/crm/products/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/crm/products/models/value_with_timestamp.rb +21 -8
 - data/lib/hubspot/codegen/crm/properties/api/batch_api.rb +25 -13
 - data/lib/hubspot/codegen/crm/properties/api/core_api.rb +31 -20
 - data/lib/hubspot/codegen/crm/properties/api/groups_api.rb +29 -18
 - data/lib/hubspot/codegen/crm/properties/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/properties/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/properties/configuration.rb +43 -12
 - data/lib/hubspot/codegen/crm/properties/models/batch_input_property_create.rb +20 -7
 - data/lib/hubspot/codegen/crm/properties/models/batch_input_property_name.rb +20 -7
 - data/lib/hubspot/codegen/crm/properties/models/batch_read_input_property_name.rb +20 -7
 - data/lib/hubspot/codegen/crm/properties/models/batch_response_property.rb +23 -10
 - data/lib/hubspot/codegen/crm/properties/models/collection_response_property.rb +20 -7
 - data/lib/hubspot/codegen/crm/properties/models/collection_response_property_group.rb +20 -7
 - data/lib/hubspot/codegen/crm/properties/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/properties/models/error_category.rb +20 -7
 - data/lib/hubspot/codegen/crm/properties/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/properties/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/properties/models/option.rb +20 -7
 - data/lib/hubspot/codegen/crm/properties/models/option_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/properties/models/paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/properties/models/property.rb +23 -10
 - data/lib/hubspot/codegen/crm/properties/models/property_create.rb +20 -7
 - data/lib/hubspot/codegen/crm/properties/models/property_group.rb +20 -7
 - data/lib/hubspot/codegen/crm/properties/models/property_group_create.rb +20 -7
 - data/lib/hubspot/codegen/crm/properties/models/property_group_update.rb +20 -7
 - data/lib/hubspot/codegen/crm/properties/models/property_modification_metadata.rb +20 -7
 - data/lib/hubspot/codegen/crm/properties/models/property_name.rb +20 -7
 - data/lib/hubspot/codegen/crm/properties/models/property_update.rb +20 -7
 - data/lib/hubspot/codegen/crm/properties/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/api/associations_api.rb +17 -14
 - data/lib/hubspot/codegen/crm/quotes/api/basic_api.rb +32 -21
 - data/lib/hubspot/codegen/crm/quotes/api/batch_api.rb +34 -18
 - data/lib/hubspot/codegen/crm/quotes/api/public_object_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/quotes/api/search_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/quotes/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/quotes/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/quotes/configuration.rb +43 -12
 - data/lib/hubspot/codegen/crm/quotes/models/associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/batch_input_simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/batch_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/batch_input_simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/batch_read_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/batch_response_simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/quotes/models/batch_response_simple_public_object_with_errors.rb +23 -10
 - data/lib/hubspot/codegen/crm/quotes/models/collection_response_associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/collection_response_associated_id_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/collection_response_simple_public_object_with_associations_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/collection_response_with_total_simple_public_object_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/error_category.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/filter.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/filter_group.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/previous_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/public_merge_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/public_object_search_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_with_associations.rb +23 -10
 - data/lib/hubspot/codegen/crm/quotes/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/crm/quotes/models/value_with_timestamp.rb +21 -8
 - data/lib/hubspot/codegen/crm/schemas/api/core_api.rb +43 -27
 - data/lib/hubspot/codegen/crm/schemas/api/public_object_schemas_api.rb +5 -4
 - data/lib/hubspot/codegen/crm/schemas/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/schemas/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/schemas/configuration.rb +43 -12
 - data/lib/hubspot/codegen/crm/schemas/models/association_definition.rb +22 -9
 - data/lib/hubspot/codegen/crm/schemas/models/association_definition_egg.rb +20 -7
 - data/lib/hubspot/codegen/crm/schemas/models/collection_response_object_schema_no_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/schemas/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/schemas/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/schemas/models/object_schema.rb +22 -9
 - data/lib/hubspot/codegen/crm/schemas/models/object_schema_egg.rb +20 -7
 - data/lib/hubspot/codegen/crm/schemas/models/object_type_definition.rb +22 -9
 - data/lib/hubspot/codegen/crm/schemas/models/object_type_definition_labels.rb +20 -7
 - data/lib/hubspot/codegen/crm/schemas/models/object_type_definition_patch.rb +20 -7
 - data/lib/hubspot/codegen/crm/schemas/models/object_type_property_create.rb +20 -7
 - data/lib/hubspot/codegen/crm/schemas/models/option.rb +20 -7
 - data/lib/hubspot/codegen/crm/schemas/models/option_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/schemas/models/property.rb +23 -10
 - data/lib/hubspot/codegen/crm/schemas/models/property_modification_metadata.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/api/associations_api.rb +17 -14
 - data/lib/hubspot/codegen/crm/tickets/api/basic_api.rb +32 -21
 - data/lib/hubspot/codegen/crm/tickets/api/batch_api.rb +34 -18
 - data/lib/hubspot/codegen/crm/tickets/api/public_object_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/tickets/api/search_api.rb +9 -5
 - data/lib/hubspot/codegen/crm/tickets/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/tickets/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/tickets/configuration.rb +43 -12
 - data/lib/hubspot/codegen/crm/tickets/models/associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/batch_input_simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/batch_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/batch_input_simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/batch_read_input_simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/batch_response_simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/tickets/models/batch_response_simple_public_object_with_errors.rb +23 -10
 - data/lib/hubspot/codegen/crm/tickets/models/collection_response_associated_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/collection_response_associated_id_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/collection_response_simple_public_object_with_associations_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/collection_response_with_total_simple_public_object_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/error_category.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/filter.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/filter_group.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/previous_page.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/public_merge_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/public_object_search_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/simple_public_object.rb +23 -10
 - data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_batch_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_id.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_input.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_with_associations.rb +23 -10
 - data/lib/hubspot/codegen/crm/tickets/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/crm/tickets/models/value_with_timestamp.rb +21 -8
 - data/lib/hubspot/codegen/crm/timeline/api/events_api.rb +29 -18
 - data/lib/hubspot/codegen/crm/timeline/api/templates_api.rb +29 -18
 - data/lib/hubspot/codegen/crm/timeline/api/tokens_api.rb +21 -12
 - data/lib/hubspot/codegen/crm/timeline/api_client.rb +56 -52
 - data/lib/hubspot/codegen/crm/timeline/api_error.rb +1 -1
 - data/lib/hubspot/codegen/crm/timeline/configuration.rb +44 -13
 - data/lib/hubspot/codegen/crm/timeline/models/batch_input_timeline_event.rb +20 -7
 - data/lib/hubspot/codegen/crm/timeline/models/batch_response_timeline_event_response.rb +23 -10
 - data/lib/hubspot/codegen/crm/timeline/models/batch_response_timeline_event_response_with_errors.rb +23 -10
 - data/lib/hubspot/codegen/crm/timeline/models/collection_response_timeline_event_template_no_paging.rb +20 -7
 - data/lib/hubspot/codegen/crm/timeline/models/error.rb +20 -7
 - data/lib/hubspot/codegen/crm/timeline/models/error_category.rb +20 -7
 - data/lib/hubspot/codegen/crm/timeline/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/timeline/models/event_detail.rb +20 -7
 - data/lib/hubspot/codegen/crm/timeline/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/crm/timeline/models/timeline_event.rb +21 -8
 - data/lib/hubspot/codegen/crm/timeline/models/timeline_event_i_frame.rb +20 -7
 - data/lib/hubspot/codegen/crm/timeline/models/timeline_event_response.rb +22 -9
 - data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template.rb +22 -9
 - data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_create_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_token.rb +22 -9
 - data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_token_option.rb +20 -7
 - data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_token_update_request.rb +20 -7
 - data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_update_request.rb +20 -7
 - data/lib/hubspot/codegen/events/api/events_api.rb +9 -8
 - data/lib/hubspot/codegen/events/api_client.rb +56 -52
 - data/lib/hubspot/codegen/events/api_error.rb +1 -1
 - data/lib/hubspot/codegen/events/configuration.rb +43 -12
 - data/lib/hubspot/codegen/events/models/collection_response_external_unified_event.rb +20 -7
 - data/lib/hubspot/codegen/events/models/error.rb +20 -7
 - data/lib/hubspot/codegen/events/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/events/models/external_unified_event.rb +21 -8
 - data/lib/hubspot/codegen/events/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/events/models/paging.rb +20 -7
 - data/lib/hubspot/codegen/files/files/api/files_api.rb +69 -47
 - data/lib/hubspot/codegen/files/files/api/folders_api.rb +53 -39
 - data/lib/hubspot/codegen/files/files/api_client.rb +56 -52
 - data/lib/hubspot/codegen/files/files/api_error.rb +1 -1
 - data/lib/hubspot/codegen/files/files/configuration.rb +43 -12
 - data/lib/hubspot/codegen/files/files/models/collection_response_file.rb +20 -7
 - data/lib/hubspot/codegen/files/files/models/collection_response_folder.rb +20 -7
 - data/lib/hubspot/codegen/files/files/models/error.rb +20 -7
 - data/lib/hubspot/codegen/files/files/models/error_category.rb +20 -7
 - data/lib/hubspot/codegen/files/files/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/files/files/models/file_action_response.rb +23 -10
 - data/lib/hubspot/codegen/files/files/models/file_update_input.rb +20 -7
 - data/lib/hubspot/codegen/files/files/models/folder.rb +23 -10
 - data/lib/hubspot/codegen/files/files/models/folder_action_response.rb +23 -10
 - data/lib/hubspot/codegen/files/files/models/folder_input.rb +20 -7
 - data/lib/hubspot/codegen/files/files/models/folder_update_input.rb +20 -7
 - data/lib/hubspot/codegen/files/files/models/folder_update_task_locator.rb +20 -7
 - data/lib/hubspot/codegen/files/files/models/hubspot_file.rb +23 -10
 - data/lib/hubspot/codegen/files/files/models/import_from_url_input.rb +20 -7
 - data/lib/hubspot/codegen/files/files/models/import_from_url_task_locator.rb +20 -7
 - data/lib/hubspot/codegen/files/files/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/files/files/models/paging.rb +20 -7
 - data/lib/hubspot/codegen/files/files/models/previous_page.rb +20 -7
 - data/lib/hubspot/codegen/files/files/models/signed_url.rb +21 -8
 - data/lib/hubspot/codegen/files/files/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/marketing/events/api/{subscriber_state_changes_api.rb → attendance_subscriber_state_changes_api.rb} +64 -64
 - data/lib/hubspot/codegen/marketing/events/api/marketing_events_external_api.rb +866 -0
 - data/lib/hubspot/codegen/marketing/events/api/{settings_api.rb → settings_external_api.rb} +27 -30
 - data/lib/hubspot/codegen/marketing/events/api_client.rb +56 -52
 - data/lib/hubspot/codegen/marketing/events/api_error.rb +1 -1
 - data/lib/hubspot/codegen/marketing/events/configuration.rb +44 -13
 - data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_create_request_params.rb +20 -7
 - data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_email_subscriber.rb +20 -7
 - data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_external_unique_identifier.rb +20 -7
 - data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_subscriber.rb +20 -7
 - data/lib/hubspot/codegen/marketing/events/models/batch_response_marketing_event_public_default_response.rb +23 -10
 - data/lib/hubspot/codegen/marketing/events/models/batch_response_subscriber_email_response.rb +346 -0
 - data/lib/hubspot/codegen/marketing/events/models/batch_response_subscriber_vid_response.rb +346 -0
 - data/lib/hubspot/codegen/marketing/events/models/collection_response_marketing_event_external_unique_identifier_no_paging.rb +20 -7
 - data/lib/hubspot/codegen/marketing/events/models/error.rb +20 -7
 - data/lib/hubspot/codegen/marketing/events/models/error_category.rb +40 -27
 - data/lib/hubspot/codegen/marketing/events/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/marketing/events/models/event_detail_settings.rb +20 -7
 - data/lib/hubspot/codegen/marketing/events/models/event_detail_settings_url.rb +20 -7
 - data/lib/hubspot/codegen/marketing/events/models/marketing_event_complete_request_params.rb +242 -0
 - data/lib/hubspot/codegen/marketing/events/models/marketing_event_create_request_params.rb +22 -9
 - data/lib/hubspot/codegen/marketing/events/models/marketing_event_default_response.rb +22 -9
 - data/lib/hubspot/codegen/marketing/events/models/marketing_event_email_subscriber.rb +46 -11
 - data/lib/hubspot/codegen/marketing/events/models/marketing_event_external_unique_identifier.rb +20 -7
 - data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_default_response.rb +24 -11
 - data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_read_response.rb +24 -11
 - data/lib/hubspot/codegen/marketing/events/models/marketing_event_subscriber.rb +32 -8
 - data/lib/hubspot/codegen/marketing/events/models/marketing_event_update_request_params.rb +22 -9
 - data/lib/hubspot/codegen/marketing/events/models/property_value.rb +22 -9
 - data/lib/hubspot/codegen/marketing/events/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/marketing/events/models/subscriber_email_response.rb +242 -0
 - data/lib/hubspot/codegen/{cms/domains/models/domain_setup_info.rb → marketing/events/models/subscriber_vid_response.rb} +37 -40
 - data/lib/hubspot/codegen/marketing/forms/api/forms_api.rb +37 -22
 - data/lib/hubspot/codegen/marketing/forms/api_client.rb +56 -52
 - data/lib/hubspot/codegen/marketing/forms/api_error.rb +1 -1
 - data/lib/hubspot/codegen/marketing/forms/configuration.rb +43 -12
 - data/lib/hubspot/codegen/marketing/forms/models/collection_response_form_definition_base_forward_paging.rb +21 -8
 - data/lib/hubspot/codegen/marketing/forms/models/collection_response_form_definition_base_forward_paging_results_inner.rb +107 -0
 - data/lib/hubspot/codegen/marketing/forms/models/datepicker_field.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/dependent_field.rb +21 -8
 - data/lib/hubspot/codegen/marketing/forms/models/dependent_field_dependent_field.rb +118 -0
 - data/lib/hubspot/codegen/marketing/forms/models/dependent_field_filter.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/dropdown_field.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/email_field.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/email_field_validation.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/enumerated_field_option.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/error.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/field_group.rb +21 -8
 - data/lib/hubspot/codegen/marketing/forms/models/file_field.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/form_definition_base.rb +74 -213
 - data/lib/hubspot/codegen/marketing/forms/models/form_definition_create_request_base.rb +74 -213
 - data/lib/hubspot/codegen/marketing/forms/models/form_display_options.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/form_post_submit_action.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/form_style.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_configuration.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition.rb +190 -16
 - data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition_all_of.rb +23 -10
 - data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition_create_request.rb +176 -16
 - data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition_create_request_all_of.rb +23 -10
 - data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition_patch_request.rb +21 -8
 - data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition_patch_request_legal_consent_options.rb +110 -0
 - data/lib/hubspot/codegen/marketing/forms/models/legal_consent_checkbox.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_explicit_consent_to_process.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_implicit_consent_to_process.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_legitimate_interest.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_none.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/mobile_phone_field.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/multi_line_text_field.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/multiple_checkboxes_field.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/number_field.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/number_field_validation.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/phone_field.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/phone_field_validation.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/radio_field.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/single_checkbox_field.rb +20 -7
 - data/lib/hubspot/codegen/marketing/forms/models/single_line_text_field.rb +20 -7
 - data/lib/hubspot/codegen/marketing/transactional/api/public_smtp_tokens_api.rb +25 -17
 - data/lib/hubspot/codegen/marketing/transactional/api/single_send_api.rb +9 -5
 - data/lib/hubspot/codegen/marketing/transactional/api_client.rb +56 -52
 - data/lib/hubspot/codegen/marketing/transactional/api_error.rb +1 -1
 - data/lib/hubspot/codegen/marketing/transactional/configuration.rb +43 -12
 - data/lib/hubspot/codegen/marketing/transactional/models/collection_response_smtp_api_token_view_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/marketing/transactional/models/email_send_status_view.rb +23 -10
 - data/lib/hubspot/codegen/marketing/transactional/models/error.rb +20 -7
 - data/lib/hubspot/codegen/marketing/transactional/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/marketing/transactional/models/event_id_view.rb +21 -8
 - data/lib/hubspot/codegen/marketing/transactional/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/marketing/transactional/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/marketing/transactional/models/public_single_send_email.rb +20 -7
 - data/lib/hubspot/codegen/marketing/transactional/models/public_single_send_request_egg.rb +20 -7
 - data/lib/hubspot/codegen/marketing/transactional/models/smtp_api_token_request_egg.rb +20 -7
 - data/lib/hubspot/codegen/marketing/transactional/models/smtp_api_token_view.rb +21 -8
 - data/lib/hubspot/codegen/oauth/api/access_tokens_api.rb +5 -4
 - data/lib/hubspot/codegen/oauth/api/refresh_tokens_api.rb +9 -7
 - data/lib/hubspot/codegen/oauth/api/tokens_api.rb +9 -5
 - data/lib/hubspot/codegen/oauth/api_client.rb +56 -52
 - data/lib/hubspot/codegen/oauth/api_error.rb +1 -1
 - data/lib/hubspot/codegen/oauth/configuration.rb +43 -12
 - data/lib/hubspot/codegen/oauth/models/access_token_info_response.rb +20 -7
 - data/lib/hubspot/codegen/oauth/models/error.rb +20 -7
 - data/lib/hubspot/codegen/oauth/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/oauth/models/refresh_token_info_response.rb +20 -7
 - data/lib/hubspot/codegen/oauth/models/token_response_if.rb +20 -7
 - data/lib/hubspot/codegen/settings/users/api/roles_api.rb +5 -4
 - data/lib/hubspot/codegen/settings/users/api/teams_api.rb +5 -4
 - data/lib/hubspot/codegen/settings/users/api/users_api.rb +29 -18
 - data/lib/hubspot/codegen/settings/users/api_client.rb +56 -52
 - data/lib/hubspot/codegen/settings/users/api_error.rb +1 -1
 - data/lib/hubspot/codegen/settings/users/configuration.rb +43 -12
 - data/lib/hubspot/codegen/settings/users/models/collection_response_public_permission_set_no_paging.rb +20 -7
 - data/lib/hubspot/codegen/settings/users/models/collection_response_public_team_no_paging.rb +20 -7
 - data/lib/hubspot/codegen/settings/users/models/collection_response_public_user_forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/settings/users/models/error.rb +20 -7
 - data/lib/hubspot/codegen/settings/users/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/settings/users/models/forward_paging.rb +20 -7
 - data/lib/hubspot/codegen/settings/users/models/next_page.rb +20 -7
 - data/lib/hubspot/codegen/settings/users/models/public_permission_set.rb +20 -7
 - data/lib/hubspot/codegen/settings/users/models/public_team.rb +20 -7
 - data/lib/hubspot/codegen/settings/users/models/public_user.rb +20 -7
 - data/lib/hubspot/codegen/settings/users/models/public_user_update.rb +20 -7
 - data/lib/hubspot/codegen/settings/users/models/user_provision_request.rb +20 -7
 - data/lib/hubspot/codegen/webhooks/api/settings_api.rb +17 -11
 - data/lib/hubspot/codegen/webhooks/api/subscriptions_api.rb +37 -22
 - data/lib/hubspot/codegen/webhooks/api_client.rb +56 -52
 - data/lib/hubspot/codegen/webhooks/api_error.rb +1 -1
 - data/lib/hubspot/codegen/webhooks/configuration.rb +44 -13
 - data/lib/hubspot/codegen/webhooks/models/batch_input_subscription_batch_update_request.rb +20 -7
 - data/lib/hubspot/codegen/webhooks/models/batch_response_subscription_response.rb +23 -10
 - data/lib/hubspot/codegen/webhooks/models/batch_response_subscription_response_with_errors.rb +23 -10
 - data/lib/hubspot/codegen/webhooks/models/error.rb +20 -7
 - data/lib/hubspot/codegen/webhooks/models/error_category.rb +20 -7
 - data/lib/hubspot/codegen/webhooks/models/error_detail.rb +20 -7
 - data/lib/hubspot/codegen/webhooks/models/settings_change_request.rb +20 -7
 - data/lib/hubspot/codegen/webhooks/models/settings_response.rb +22 -9
 - data/lib/hubspot/codegen/webhooks/models/standard_error.rb +20 -7
 - data/lib/hubspot/codegen/webhooks/models/subscription_batch_update_request.rb +20 -7
 - data/lib/hubspot/codegen/webhooks/models/subscription_create_request.rb +20 -7
 - data/lib/hubspot/codegen/webhooks/models/subscription_list_response.rb +20 -7
 - data/lib/hubspot/codegen/webhooks/models/subscription_patch_request.rb +20 -7
 - data/lib/hubspot/codegen/webhooks/models/subscription_response.rb +22 -9
 - data/lib/hubspot/codegen/webhooks/models/throttling_settings.rb +20 -7
 - data/lib/hubspot/discovery/base_api_client.rb +1 -15
 - data/lib/hubspot/discovery/marketing/events/api/{search_api.rb → attendance_subscriber_state_changes_api.rb} +1 -1
 - data/lib/hubspot/discovery/marketing/events/api/{subscriber_state_changes_api.rb → marketing_events_external_api.rb} +1 -1
 - data/lib/hubspot/discovery/marketing/events/api/{batch_api.rb → settings_external_api.rb} +1 -1
 - data/lib/hubspot/discovery/marketing/events/client.rb +3 -5
 - data/lib/hubspot/version.rb +1 -1
 - data/spec/discovery/marketing/events/attendance_subscriber_state_changes_api_spec.rb +8 -0
 - data/spec/discovery/marketing/events/marketing_events_external_api_spec.rb +19 -0
 - data/spec/discovery/marketing/events/{settings_api_spec.rb → settings_external_api_spec.rb} +2 -2
 - metadata +26 -26
 - data/lib/hubspot/codegen/cms/domains/models/domain_cdn_config.rb +0 -497
 - data/lib/hubspot/codegen/marketing/events/api/basic_api.rb +0 -446
 - data/lib/hubspot/codegen/marketing/events/api/batch_api.rb +0 -154
 - data/lib/hubspot/codegen/marketing/events/api/search_api.rb +0 -89
 - data/lib/hubspot/discovery/marketing/events/api/basic_api.rb +0 -14
 - data/lib/hubspot/discovery/marketing/events/api/settings_api.rb +0 -13
 - data/spec/discovery/marketing/events/basic_api_spec.rb +0 -12
 - data/spec/discovery/marketing/events/batch_api_spec.rb +0 -8
 - data/spec/discovery/marketing/events/search_api_spec.rb +0 -7
 - data/spec/discovery/marketing/events/subscriber_state_changes_api_spec.rb +0 -8
 
| 
         @@ -0,0 +1,866 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            =begin
         
     | 
| 
      
 2 
     | 
    
         
            +
            #Marketing Events Extension
         
     | 
| 
      
 3 
     | 
    
         
            +
             
     | 
| 
      
 4 
     | 
    
         
            +
            #These APIs allow you to interact with HubSpot's Marketing Events Extension. It allows you to: * Create, Read or update Marketing Event information in HubSpot * Specify whether a HubSpot contact has registered, attended or cancelled a registration to a Marketing Event. * Specify a URL that can be called to get the details of a Marketing Event. 
         
     | 
| 
      
 5 
     | 
    
         
            +
             
     | 
| 
      
 6 
     | 
    
         
            +
            The version of the OpenAPI document: v3
         
     | 
| 
      
 7 
     | 
    
         
            +
             
     | 
| 
      
 8 
     | 
    
         
            +
            Generated by: https://openapi-generator.tech
         
     | 
| 
      
 9 
     | 
    
         
            +
            OpenAPI Generator version: 6.2.1
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
            =end
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
            require 'cgi'
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
            module Hubspot
         
     | 
| 
      
 16 
     | 
    
         
            +
              module Marketing
         
     | 
| 
      
 17 
     | 
    
         
            +
                module Events
         
     | 
| 
      
 18 
     | 
    
         
            +
                  class MarketingEventsExternalApi
         
     | 
| 
      
 19 
     | 
    
         
            +
                    attr_accessor :api_client
         
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
      
 21 
     | 
    
         
            +
                    def initialize(api_client = ApiClient.default)
         
     | 
| 
      
 22 
     | 
    
         
            +
                      @api_client = api_client
         
     | 
| 
      
 23 
     | 
    
         
            +
                    end
         
     | 
| 
      
 24 
     | 
    
         
            +
                    # @param external_event_id [String] 
         
     | 
| 
      
 25 
     | 
    
         
            +
                    # @param external_account_id [String] 
         
     | 
| 
      
 26 
     | 
    
         
            +
                    # @param [Hash] opts the optional parameters
         
     | 
| 
      
 27 
     | 
    
         
            +
                    # @return [nil]
         
     | 
| 
      
 28 
     | 
    
         
            +
                    def archive(external_event_id, external_account_id, opts = {})
         
     | 
| 
      
 29 
     | 
    
         
            +
                      archive_with_http_info(external_event_id, external_account_id, opts)
         
     | 
| 
      
 30 
     | 
    
         
            +
                      nil
         
     | 
| 
      
 31 
     | 
    
         
            +
                    end
         
     | 
| 
      
 32 
     | 
    
         
            +
             
     | 
| 
      
 33 
     | 
    
         
            +
                    # @param external_event_id [String] 
         
     | 
| 
      
 34 
     | 
    
         
            +
                    # @param external_account_id [String] 
         
     | 
| 
      
 35 
     | 
    
         
            +
                    # @param [Hash] opts the optional parameters
         
     | 
| 
      
 36 
     | 
    
         
            +
                    # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
         
     | 
| 
      
 37 
     | 
    
         
            +
                    def archive_with_http_info(external_event_id, external_account_id, opts = {})
         
     | 
| 
      
 38 
     | 
    
         
            +
                      if @api_client.config.debugging
         
     | 
| 
      
 39 
     | 
    
         
            +
                        @api_client.config.logger.debug 'Calling API: MarketingEventsExternalApi.archive ...'
         
     | 
| 
      
 40 
     | 
    
         
            +
                      end
         
     | 
| 
      
 41 
     | 
    
         
            +
                      # verify the required parameter 'external_event_id' is set
         
     | 
| 
      
 42 
     | 
    
         
            +
                      if @api_client.config.client_side_validation && external_event_id.nil?
         
     | 
| 
      
 43 
     | 
    
         
            +
                        fail ArgumentError, "Missing the required parameter 'external_event_id' when calling MarketingEventsExternalApi.archive"
         
     | 
| 
      
 44 
     | 
    
         
            +
                      end
         
     | 
| 
      
 45 
     | 
    
         
            +
                      # verify the required parameter 'external_account_id' is set
         
     | 
| 
      
 46 
     | 
    
         
            +
                      if @api_client.config.client_side_validation && external_account_id.nil?
         
     | 
| 
      
 47 
     | 
    
         
            +
                        fail ArgumentError, "Missing the required parameter 'external_account_id' when calling MarketingEventsExternalApi.archive"
         
     | 
| 
      
 48 
     | 
    
         
            +
                      end
         
     | 
| 
      
 49 
     | 
    
         
            +
                      # resource path
         
     | 
| 
      
 50 
     | 
    
         
            +
                      local_var_path = '/marketing/v3/marketing-events/events/{externalEventId}'.sub('{' + 'externalEventId' + '}', CGI.escape(external_event_id.to_s))
         
     | 
| 
      
 51 
     | 
    
         
            +
             
     | 
| 
      
 52 
     | 
    
         
            +
                      # query parameters
         
     | 
| 
      
 53 
     | 
    
         
            +
                      query_params = opts[:query_params] || {}
         
     | 
| 
      
 54 
     | 
    
         
            +
                      query_params[:'externalAccountId'] = external_account_id
         
     | 
| 
      
 55 
     | 
    
         
            +
             
     | 
| 
      
 56 
     | 
    
         
            +
                      # header parameters
         
     | 
| 
      
 57 
     | 
    
         
            +
                      header_params = opts[:header_params] || {}
         
     | 
| 
      
 58 
     | 
    
         
            +
                      # HTTP header 'Accept' (if needed)
         
     | 
| 
      
 59 
     | 
    
         
            +
                      header_params['Accept'] = @api_client.select_header_accept(['*/*'])
         
     | 
| 
      
 60 
     | 
    
         
            +
             
     | 
| 
      
 61 
     | 
    
         
            +
                      # form parameters
         
     | 
| 
      
 62 
     | 
    
         
            +
                      form_params = opts[:form_params] || {}
         
     | 
| 
      
 63 
     | 
    
         
            +
             
     | 
| 
      
 64 
     | 
    
         
            +
                      # http body (model)
         
     | 
| 
      
 65 
     | 
    
         
            +
                      post_body = opts[:debug_body]
         
     | 
| 
      
 66 
     | 
    
         
            +
             
     | 
| 
      
 67 
     | 
    
         
            +
                      # return_type
         
     | 
| 
      
 68 
     | 
    
         
            +
                      return_type = opts[:debug_return_type]
         
     | 
| 
      
 69 
     | 
    
         
            +
             
     | 
| 
      
 70 
     | 
    
         
            +
                      # auth_names
         
     | 
| 
      
 71 
     | 
    
         
            +
                      auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
         
     | 
| 
      
 72 
     | 
    
         
            +
             
     | 
| 
      
 73 
     | 
    
         
            +
                      new_options = opts.merge(
         
     | 
| 
      
 74 
     | 
    
         
            +
                        :operation => :"MarketingEventsExternalApi.archive",
         
     | 
| 
      
 75 
     | 
    
         
            +
                        :header_params => header_params,
         
     | 
| 
      
 76 
     | 
    
         
            +
                        :query_params => query_params,
         
     | 
| 
      
 77 
     | 
    
         
            +
                        :form_params => form_params,
         
     | 
| 
      
 78 
     | 
    
         
            +
                        :body => post_body,
         
     | 
| 
      
 79 
     | 
    
         
            +
                        :auth_names => auth_names,
         
     | 
| 
      
 80 
     | 
    
         
            +
                        :return_type => return_type
         
     | 
| 
      
 81 
     | 
    
         
            +
                      )
         
     | 
| 
      
 82 
     | 
    
         
            +
             
     | 
| 
      
 83 
     | 
    
         
            +
                      data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
         
     | 
| 
      
 84 
     | 
    
         
            +
                      if @api_client.config.debugging
         
     | 
| 
      
 85 
     | 
    
         
            +
                        @api_client.config.logger.debug "API called: MarketingEventsExternalApi#archive\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         
     | 
| 
      
 86 
     | 
    
         
            +
                      end
         
     | 
| 
      
 87 
     | 
    
         
            +
                      return data, status_code, headers
         
     | 
| 
      
 88 
     | 
    
         
            +
                    end
         
     | 
| 
      
 89 
     | 
    
         
            +
             
     | 
| 
      
 90 
     | 
    
         
            +
                    # @param batch_input_marketing_event_external_unique_identifier [BatchInputMarketingEventExternalUniqueIdentifier] 
         
     | 
| 
      
 91 
     | 
    
         
            +
                    # @param [Hash] opts the optional parameters
         
     | 
| 
      
 92 
     | 
    
         
            +
                    # @return [Error]
         
     | 
| 
      
 93 
     | 
    
         
            +
                    def archive_batch(batch_input_marketing_event_external_unique_identifier, opts = {})
         
     | 
| 
      
 94 
     | 
    
         
            +
                      data, _status_code, _headers = archive_batch_with_http_info(batch_input_marketing_event_external_unique_identifier, opts)
         
     | 
| 
      
 95 
     | 
    
         
            +
                      data
         
     | 
| 
      
 96 
     | 
    
         
            +
                    end
         
     | 
| 
      
 97 
     | 
    
         
            +
             
     | 
| 
      
 98 
     | 
    
         
            +
                    # @param batch_input_marketing_event_external_unique_identifier [BatchInputMarketingEventExternalUniqueIdentifier] 
         
     | 
| 
      
 99 
     | 
    
         
            +
                    # @param [Hash] opts the optional parameters
         
     | 
| 
      
 100 
     | 
    
         
            +
                    # @return [Array<(Error, Integer, Hash)>] Error data, response status code and response headers
         
     | 
| 
      
 101 
     | 
    
         
            +
                    def archive_batch_with_http_info(batch_input_marketing_event_external_unique_identifier, opts = {})
         
     | 
| 
      
 102 
     | 
    
         
            +
                      if @api_client.config.debugging
         
     | 
| 
      
 103 
     | 
    
         
            +
                        @api_client.config.logger.debug 'Calling API: MarketingEventsExternalApi.archive_batch ...'
         
     | 
| 
      
 104 
     | 
    
         
            +
                      end
         
     | 
| 
      
 105 
     | 
    
         
            +
                      # verify the required parameter 'batch_input_marketing_event_external_unique_identifier' is set
         
     | 
| 
      
 106 
     | 
    
         
            +
                      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 MarketingEventsExternalApi.archive_batch"
         
     | 
| 
      
 108 
     | 
    
         
            +
                      end
         
     | 
| 
      
 109 
     | 
    
         
            +
                      # resource path
         
     | 
| 
      
 110 
     | 
    
         
            +
                      local_var_path = '/marketing/v3/marketing-events/events/delete'
         
     | 
| 
      
 111 
     | 
    
         
            +
             
     | 
| 
      
 112 
     | 
    
         
            +
                      # query parameters
         
     | 
| 
      
 113 
     | 
    
         
            +
                      query_params = opts[:query_params] || {}
         
     | 
| 
      
 114 
     | 
    
         
            +
             
     | 
| 
      
 115 
     | 
    
         
            +
                      # header parameters
         
     | 
| 
      
 116 
     | 
    
         
            +
                      header_params = opts[:header_params] || {}
         
     | 
| 
      
 117 
     | 
    
         
            +
                      # HTTP header 'Accept' (if needed)
         
     | 
| 
      
 118 
     | 
    
         
            +
                      header_params['Accept'] = @api_client.select_header_accept(['*/*'])
         
     | 
| 
      
 119 
     | 
    
         
            +
                      # HTTP header 'Content-Type'
         
     | 
| 
      
 120 
     | 
    
         
            +
                      content_type = @api_client.select_header_content_type(['application/json'])
         
     | 
| 
      
 121 
     | 
    
         
            +
                      if !content_type.nil?
         
     | 
| 
      
 122 
     | 
    
         
            +
                          header_params['Content-Type'] = content_type
         
     | 
| 
      
 123 
     | 
    
         
            +
                      end
         
     | 
| 
      
 124 
     | 
    
         
            +
             
     | 
| 
      
 125 
     | 
    
         
            +
                      # form parameters
         
     | 
| 
      
 126 
     | 
    
         
            +
                      form_params = opts[:form_params] || {}
         
     | 
| 
      
 127 
     | 
    
         
            +
             
     | 
| 
      
 128 
     | 
    
         
            +
                      # http body (model)
         
     | 
| 
      
 129 
     | 
    
         
            +
                      post_body = opts[:debug_body] || @api_client.object_to_http_body(batch_input_marketing_event_external_unique_identifier)
         
     | 
| 
      
 130 
     | 
    
         
            +
             
     | 
| 
      
 131 
     | 
    
         
            +
                      # return_type
         
     | 
| 
      
 132 
     | 
    
         
            +
                      return_type = opts[:debug_return_type] || 'Error'
         
     | 
| 
      
 133 
     | 
    
         
            +
             
     | 
| 
      
 134 
     | 
    
         
            +
                      # auth_names
         
     | 
| 
      
 135 
     | 
    
         
            +
                      auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
         
     | 
| 
      
 136 
     | 
    
         
            +
             
     | 
| 
      
 137 
     | 
    
         
            +
                      new_options = opts.merge(
         
     | 
| 
      
 138 
     | 
    
         
            +
                        :operation => :"MarketingEventsExternalApi.archive_batch",
         
     | 
| 
      
 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] || ['hapikey', 'oauth2']
         
     | 
| 
      
 213 
     | 
    
         
            +
             
     | 
| 
      
 214 
     | 
    
         
            +
                      new_options = opts.merge(
         
     | 
| 
      
 215 
     | 
    
         
            +
                        :operation => :"MarketingEventsExternalApi.complete",
         
     | 
| 
      
 216 
     | 
    
         
            +
                        :header_params => header_params,
         
     | 
| 
      
 217 
     | 
    
         
            +
                        :query_params => query_params,
         
     | 
| 
      
 218 
     | 
    
         
            +
                        :form_params => form_params,
         
     | 
| 
      
 219 
     | 
    
         
            +
                        :body => post_body,
         
     | 
| 
      
 220 
     | 
    
         
            +
                        :auth_names => auth_names,
         
     | 
| 
      
 221 
     | 
    
         
            +
                        :return_type => return_type
         
     | 
| 
      
 222 
     | 
    
         
            +
                      )
         
     | 
| 
      
 223 
     | 
    
         
            +
             
     | 
| 
      
 224 
     | 
    
         
            +
                      data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
         
     | 
| 
      
 225 
     | 
    
         
            +
                      if @api_client.config.debugging
         
     | 
| 
      
 226 
     | 
    
         
            +
                        @api_client.config.logger.debug "API called: MarketingEventsExternalApi#complete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         
     | 
| 
      
 227 
     | 
    
         
            +
                      end
         
     | 
| 
      
 228 
     | 
    
         
            +
                      return data, status_code, headers
         
     | 
| 
      
 229 
     | 
    
         
            +
                    end
         
     | 
| 
      
 230 
     | 
    
         
            +
             
     | 
| 
      
 231 
     | 
    
         
            +
                    # @param marketing_event_create_request_params [MarketingEventCreateRequestParams] 
         
     | 
| 
      
 232 
     | 
    
         
            +
                    # @param [Hash] opts the optional parameters
         
     | 
| 
      
 233 
     | 
    
         
            +
                    # @return [MarketingEventDefaultResponse]
         
     | 
| 
      
 234 
     | 
    
         
            +
                    def create(marketing_event_create_request_params, opts = {})
         
     | 
| 
      
 235 
     | 
    
         
            +
                      data, _status_code, _headers = create_with_http_info(marketing_event_create_request_params, opts)
         
     | 
| 
      
 236 
     | 
    
         
            +
                      data
         
     | 
| 
      
 237 
     | 
    
         
            +
                    end
         
     | 
| 
      
 238 
     | 
    
         
            +
             
     | 
| 
      
 239 
     | 
    
         
            +
                    # @param marketing_event_create_request_params [MarketingEventCreateRequestParams] 
         
     | 
| 
      
 240 
     | 
    
         
            +
                    # @param [Hash] opts the optional parameters
         
     | 
| 
      
 241 
     | 
    
         
            +
                    # @return [Array<(MarketingEventDefaultResponse, Integer, Hash)>] MarketingEventDefaultResponse data, response status code and response headers
         
     | 
| 
      
 242 
     | 
    
         
            +
                    def create_with_http_info(marketing_event_create_request_params, opts = {})
         
     | 
| 
      
 243 
     | 
    
         
            +
                      if @api_client.config.debugging
         
     | 
| 
      
 244 
     | 
    
         
            +
                        @api_client.config.logger.debug 'Calling API: MarketingEventsExternalApi.create ...'
         
     | 
| 
      
 245 
     | 
    
         
            +
                      end
         
     | 
| 
      
 246 
     | 
    
         
            +
                      # verify the required parameter 'marketing_event_create_request_params' is set
         
     | 
| 
      
 247 
     | 
    
         
            +
                      if @api_client.config.client_side_validation && marketing_event_create_request_params.nil?
         
     | 
| 
      
 248 
     | 
    
         
            +
                        fail ArgumentError, "Missing the required parameter 'marketing_event_create_request_params' when calling MarketingEventsExternalApi.create"
         
     | 
| 
      
 249 
     | 
    
         
            +
                      end
         
     | 
| 
      
 250 
     | 
    
         
            +
                      # resource path
         
     | 
| 
      
 251 
     | 
    
         
            +
                      local_var_path = '/marketing/v3/marketing-events/events'
         
     | 
| 
      
 252 
     | 
    
         
            +
             
     | 
| 
      
 253 
     | 
    
         
            +
                      # query parameters
         
     | 
| 
      
 254 
     | 
    
         
            +
                      query_params = opts[:query_params] || {}
         
     | 
| 
      
 255 
     | 
    
         
            +
             
     | 
| 
      
 256 
     | 
    
         
            +
                      # header parameters
         
     | 
| 
      
 257 
     | 
    
         
            +
                      header_params = opts[:header_params] || {}
         
     | 
| 
      
 258 
     | 
    
         
            +
                      # HTTP header 'Accept' (if needed)
         
     | 
| 
      
 259 
     | 
    
         
            +
                      header_params['Accept'] = @api_client.select_header_accept(['application/json', '*/*'])
         
     | 
| 
      
 260 
     | 
    
         
            +
                      # HTTP header 'Content-Type'
         
     | 
| 
      
 261 
     | 
    
         
            +
                      content_type = @api_client.select_header_content_type(['application/json'])
         
     | 
| 
      
 262 
     | 
    
         
            +
                      if !content_type.nil?
         
     | 
| 
      
 263 
     | 
    
         
            +
                          header_params['Content-Type'] = content_type
         
     | 
| 
      
 264 
     | 
    
         
            +
                      end
         
     | 
| 
      
 265 
     | 
    
         
            +
             
     | 
| 
      
 266 
     | 
    
         
            +
                      # form parameters
         
     | 
| 
      
 267 
     | 
    
         
            +
                      form_params = opts[:form_params] || {}
         
     | 
| 
      
 268 
     | 
    
         
            +
             
     | 
| 
      
 269 
     | 
    
         
            +
                      # http body (model)
         
     | 
| 
      
 270 
     | 
    
         
            +
                      post_body = opts[:debug_body] || @api_client.object_to_http_body(marketing_event_create_request_params)
         
     | 
| 
      
 271 
     | 
    
         
            +
             
     | 
| 
      
 272 
     | 
    
         
            +
                      # return_type
         
     | 
| 
      
 273 
     | 
    
         
            +
                      return_type = opts[:debug_return_type] || 'MarketingEventDefaultResponse'
         
     | 
| 
      
 274 
     | 
    
         
            +
             
     | 
| 
      
 275 
     | 
    
         
            +
                      # auth_names
         
     | 
| 
      
 276 
     | 
    
         
            +
                      auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
         
     | 
| 
      
 277 
     | 
    
         
            +
             
     | 
| 
      
 278 
     | 
    
         
            +
                      new_options = opts.merge(
         
     | 
| 
      
 279 
     | 
    
         
            +
                        :operation => :"MarketingEventsExternalApi.create",
         
     | 
| 
      
 280 
     | 
    
         
            +
                        :header_params => header_params,
         
     | 
| 
      
 281 
     | 
    
         
            +
                        :query_params => query_params,
         
     | 
| 
      
 282 
     | 
    
         
            +
                        :form_params => form_params,
         
     | 
| 
      
 283 
     | 
    
         
            +
                        :body => post_body,
         
     | 
| 
      
 284 
     | 
    
         
            +
                        :auth_names => auth_names,
         
     | 
| 
      
 285 
     | 
    
         
            +
                        :return_type => return_type
         
     | 
| 
      
 286 
     | 
    
         
            +
                      )
         
     | 
| 
      
 287 
     | 
    
         
            +
             
     | 
| 
      
 288 
     | 
    
         
            +
                      data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
         
     | 
| 
      
 289 
     | 
    
         
            +
                      if @api_client.config.debugging
         
     | 
| 
      
 290 
     | 
    
         
            +
                        @api_client.config.logger.debug "API called: MarketingEventsExternalApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         
     | 
| 
      
 291 
     | 
    
         
            +
                      end
         
     | 
| 
      
 292 
     | 
    
         
            +
                      return data, status_code, headers
         
     | 
| 
      
 293 
     | 
    
         
            +
                    end
         
     | 
| 
      
 294 
     | 
    
         
            +
             
     | 
| 
      
 295 
     | 
    
         
            +
                    # @param external_event_id [String] 
         
     | 
| 
      
 296 
     | 
    
         
            +
                    # @param external_account_id [String] 
         
     | 
| 
      
 297 
     | 
    
         
            +
                    # @param [Hash] opts the optional parameters
         
     | 
| 
      
 298 
     | 
    
         
            +
                    # @return [MarketingEventDefaultResponse]
         
     | 
| 
      
 299 
     | 
    
         
            +
                    def do_cancel(external_event_id, external_account_id, opts = {})
         
     | 
| 
      
 300 
     | 
    
         
            +
                      data, _status_code, _headers = do_cancel_with_http_info(external_event_id, external_account_id, opts)
         
     | 
| 
      
 301 
     | 
    
         
            +
                      data
         
     | 
| 
      
 302 
     | 
    
         
            +
                    end
         
     | 
| 
      
 303 
     | 
    
         
            +
             
     | 
| 
      
 304 
     | 
    
         
            +
                    # @param external_event_id [String] 
         
     | 
| 
      
 305 
     | 
    
         
            +
                    # @param external_account_id [String] 
         
     | 
| 
      
 306 
     | 
    
         
            +
                    # @param [Hash] opts the optional parameters
         
     | 
| 
      
 307 
     | 
    
         
            +
                    # @return [Array<(MarketingEventDefaultResponse, Integer, Hash)>] MarketingEventDefaultResponse data, response status code and response headers
         
     | 
| 
      
 308 
     | 
    
         
            +
                    def do_cancel_with_http_info(external_event_id, external_account_id, opts = {})
         
     | 
| 
      
 309 
     | 
    
         
            +
                      if @api_client.config.debugging
         
     | 
| 
      
 310 
     | 
    
         
            +
                        @api_client.config.logger.debug 'Calling API: MarketingEventsExternalApi.do_cancel ...'
         
     | 
| 
      
 311 
     | 
    
         
            +
                      end
         
     | 
| 
      
 312 
     | 
    
         
            +
                      # verify the required parameter 'external_event_id' is set
         
     | 
| 
      
 313 
     | 
    
         
            +
                      if @api_client.config.client_side_validation && external_event_id.nil?
         
     | 
| 
      
 314 
     | 
    
         
            +
                        fail ArgumentError, "Missing the required parameter 'external_event_id' when calling MarketingEventsExternalApi.do_cancel"
         
     | 
| 
      
 315 
     | 
    
         
            +
                      end
         
     | 
| 
      
 316 
     | 
    
         
            +
                      # verify the required parameter 'external_account_id' is set
         
     | 
| 
      
 317 
     | 
    
         
            +
                      if @api_client.config.client_side_validation && external_account_id.nil?
         
     | 
| 
      
 318 
     | 
    
         
            +
                        fail ArgumentError, "Missing the required parameter 'external_account_id' when calling MarketingEventsExternalApi.do_cancel"
         
     | 
| 
      
 319 
     | 
    
         
            +
                      end
         
     | 
| 
      
 320 
     | 
    
         
            +
                      # resource path
         
     | 
| 
      
 321 
     | 
    
         
            +
                      local_var_path = '/marketing/v3/marketing-events/events/{externalEventId}/cancel'.sub('{' + 'externalEventId' + '}', CGI.escape(external_event_id.to_s))
         
     | 
| 
      
 322 
     | 
    
         
            +
             
     | 
| 
      
 323 
     | 
    
         
            +
                      # query parameters
         
     | 
| 
      
 324 
     | 
    
         
            +
                      query_params = opts[:query_params] || {}
         
     | 
| 
      
 325 
     | 
    
         
            +
                      query_params[:'externalAccountId'] = external_account_id
         
     | 
| 
      
 326 
     | 
    
         
            +
             
     | 
| 
      
 327 
     | 
    
         
            +
                      # header parameters
         
     | 
| 
      
 328 
     | 
    
         
            +
                      header_params = opts[:header_params] || {}
         
     | 
| 
      
 329 
     | 
    
         
            +
                      # HTTP header 'Accept' (if needed)
         
     | 
| 
      
 330 
     | 
    
         
            +
                      header_params['Accept'] = @api_client.select_header_accept(['application/json', '*/*'])
         
     | 
| 
      
 331 
     | 
    
         
            +
             
     | 
| 
      
 332 
     | 
    
         
            +
                      # form parameters
         
     | 
| 
      
 333 
     | 
    
         
            +
                      form_params = opts[:form_params] || {}
         
     | 
| 
      
 334 
     | 
    
         
            +
             
     | 
| 
      
 335 
     | 
    
         
            +
                      # http body (model)
         
     | 
| 
      
 336 
     | 
    
         
            +
                      post_body = opts[:debug_body]
         
     | 
| 
      
 337 
     | 
    
         
            +
             
     | 
| 
      
 338 
     | 
    
         
            +
                      # return_type
         
     | 
| 
      
 339 
     | 
    
         
            +
                      return_type = opts[:debug_return_type] || 'MarketingEventDefaultResponse'
         
     | 
| 
      
 340 
     | 
    
         
            +
             
     | 
| 
      
 341 
     | 
    
         
            +
                      # auth_names
         
     | 
| 
      
 342 
     | 
    
         
            +
                      auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
         
     | 
| 
      
 343 
     | 
    
         
            +
             
     | 
| 
      
 344 
     | 
    
         
            +
                      new_options = opts.merge(
         
     | 
| 
      
 345 
     | 
    
         
            +
                        :operation => :"MarketingEventsExternalApi.do_cancel",
         
     | 
| 
      
 346 
     | 
    
         
            +
                        :header_params => header_params,
         
     | 
| 
      
 347 
     | 
    
         
            +
                        :query_params => query_params,
         
     | 
| 
      
 348 
     | 
    
         
            +
                        :form_params => form_params,
         
     | 
| 
      
 349 
     | 
    
         
            +
                        :body => post_body,
         
     | 
| 
      
 350 
     | 
    
         
            +
                        :auth_names => auth_names,
         
     | 
| 
      
 351 
     | 
    
         
            +
                        :return_type => return_type
         
     | 
| 
      
 352 
     | 
    
         
            +
                      )
         
     | 
| 
      
 353 
     | 
    
         
            +
             
     | 
| 
      
 354 
     | 
    
         
            +
                      data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
         
     | 
| 
      
 355 
     | 
    
         
            +
                      if @api_client.config.debugging
         
     | 
| 
      
 356 
     | 
    
         
            +
                        @api_client.config.logger.debug "API called: MarketingEventsExternalApi#do_cancel\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         
     | 
| 
      
 357 
     | 
    
         
            +
                      end
         
     | 
| 
      
 358 
     | 
    
         
            +
                      return data, status_code, headers
         
     | 
| 
      
 359 
     | 
    
         
            +
                    end
         
     | 
| 
      
 360 
     | 
    
         
            +
             
     | 
| 
      
 361 
     | 
    
         
            +
                    # @param external_event_id [String] 
         
     | 
| 
      
 362 
     | 
    
         
            +
                    # @param subscriber_state [String] 
         
     | 
| 
      
 363 
     | 
    
         
            +
                    # @param external_account_id [String] 
         
     | 
| 
      
 364 
     | 
    
         
            +
                    # @param batch_input_marketing_event_email_subscriber [BatchInputMarketingEventEmailSubscriber] 
         
     | 
| 
      
 365 
     | 
    
         
            +
                    # @param [Hash] opts the optional parameters
         
     | 
| 
      
 366 
     | 
    
         
            +
                    # @return [Error]
         
     | 
| 
      
 367 
     | 
    
         
            +
                    def do_email_upsert_by_id(external_event_id, subscriber_state, external_account_id, batch_input_marketing_event_email_subscriber, opts = {})
         
     | 
| 
      
 368 
     | 
    
         
            +
                      data, _status_code, _headers = do_email_upsert_by_id_with_http_info(external_event_id, subscriber_state, external_account_id, batch_input_marketing_event_email_subscriber, opts)
         
     | 
| 
      
 369 
     | 
    
         
            +
                      data
         
     | 
| 
      
 370 
     | 
    
         
            +
                    end
         
     | 
| 
      
 371 
     | 
    
         
            +
             
     | 
| 
      
 372 
     | 
    
         
            +
                    # @param external_event_id [String] 
         
     | 
| 
      
 373 
     | 
    
         
            +
                    # @param subscriber_state [String] 
         
     | 
| 
      
 374 
     | 
    
         
            +
                    # @param external_account_id [String] 
         
     | 
| 
      
 375 
     | 
    
         
            +
                    # @param batch_input_marketing_event_email_subscriber [BatchInputMarketingEventEmailSubscriber] 
         
     | 
| 
      
 376 
     | 
    
         
            +
                    # @param [Hash] opts the optional parameters
         
     | 
| 
      
 377 
     | 
    
         
            +
                    # @return [Array<(Error, Integer, Hash)>] Error data, response status code and response headers
         
     | 
| 
      
 378 
     | 
    
         
            +
                    def do_email_upsert_by_id_with_http_info(external_event_id, subscriber_state, external_account_id, batch_input_marketing_event_email_subscriber, opts = {})
         
     | 
| 
      
 379 
     | 
    
         
            +
                      if @api_client.config.debugging
         
     | 
| 
      
 380 
     | 
    
         
            +
                        @api_client.config.logger.debug 'Calling API: MarketingEventsExternalApi.do_email_upsert_by_id ...'
         
     | 
| 
      
 381 
     | 
    
         
            +
                      end
         
     | 
| 
      
 382 
     | 
    
         
            +
                      # verify the required parameter 'external_event_id' is set
         
     | 
| 
      
 383 
     | 
    
         
            +
                      if @api_client.config.client_side_validation && external_event_id.nil?
         
     | 
| 
      
 384 
     | 
    
         
            +
                        fail ArgumentError, "Missing the required parameter 'external_event_id' when calling MarketingEventsExternalApi.do_email_upsert_by_id"
         
     | 
| 
      
 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"
         
     | 
| 
      
 389 
     | 
    
         
            +
                      end
         
     | 
| 
      
 390 
     | 
    
         
            +
                      # verify the required parameter 'external_account_id' is set
         
     | 
| 
      
 391 
     | 
    
         
            +
                      if @api_client.config.client_side_validation && external_account_id.nil?
         
     | 
| 
      
 392 
     | 
    
         
            +
                        fail ArgumentError, "Missing the required parameter 'external_account_id' when calling MarketingEventsExternalApi.do_email_upsert_by_id"
         
     | 
| 
      
 393 
     | 
    
         
            +
                      end
         
     | 
| 
      
 394 
     | 
    
         
            +
                      # verify the required parameter 'batch_input_marketing_event_email_subscriber' is set
         
     | 
| 
      
 395 
     | 
    
         
            +
                      if @api_client.config.client_side_validation && batch_input_marketing_event_email_subscriber.nil?
         
     | 
| 
      
 396 
     | 
    
         
            +
                        fail ArgumentError, "Missing the required parameter 'batch_input_marketing_event_email_subscriber' when calling MarketingEventsExternalApi.do_email_upsert_by_id"
         
     | 
| 
      
 397 
     | 
    
         
            +
                      end
         
     | 
| 
      
 398 
     | 
    
         
            +
                      # resource path
         
     | 
| 
      
 399 
     | 
    
         
            +
                      local_var_path = '/marketing/v3/marketing-events/events/{externalEventId}/{subscriberState}/email-upsert'.sub('{' + 'externalEventId' + '}', CGI.escape(external_event_id.to_s)).sub('{' + 'subscriberState' + '}', CGI.escape(subscriber_state.to_s))
         
     | 
| 
      
 400 
     | 
    
         
            +
             
     | 
| 
      
 401 
     | 
    
         
            +
                      # query parameters
         
     | 
| 
      
 402 
     | 
    
         
            +
                      query_params = opts[:query_params] || {}
         
     | 
| 
      
 403 
     | 
    
         
            +
                      query_params[:'externalAccountId'] = external_account_id
         
     | 
| 
      
 404 
     | 
    
         
            +
             
     | 
| 
      
 405 
     | 
    
         
            +
                      # header parameters
         
     | 
| 
      
 406 
     | 
    
         
            +
                      header_params = opts[:header_params] || {}
         
     | 
| 
      
 407 
     | 
    
         
            +
                      # HTTP header 'Accept' (if needed)
         
     | 
| 
      
 408 
     | 
    
         
            +
                      header_params['Accept'] = @api_client.select_header_accept(['*/*'])
         
     | 
| 
      
 409 
     | 
    
         
            +
                      # HTTP header 'Content-Type'
         
     | 
| 
      
 410 
     | 
    
         
            +
                      content_type = @api_client.select_header_content_type(['application/json'])
         
     | 
| 
      
 411 
     | 
    
         
            +
                      if !content_type.nil?
         
     | 
| 
      
 412 
     | 
    
         
            +
                          header_params['Content-Type'] = content_type
         
     | 
| 
      
 413 
     | 
    
         
            +
                      end
         
     | 
| 
      
 414 
     | 
    
         
            +
             
     | 
| 
      
 415 
     | 
    
         
            +
                      # form parameters
         
     | 
| 
      
 416 
     | 
    
         
            +
                      form_params = opts[:form_params] || {}
         
     | 
| 
      
 417 
     | 
    
         
            +
             
     | 
| 
      
 418 
     | 
    
         
            +
                      # http body (model)
         
     | 
| 
      
 419 
     | 
    
         
            +
                      post_body = opts[:debug_body] || @api_client.object_to_http_body(batch_input_marketing_event_email_subscriber)
         
     | 
| 
      
 420 
     | 
    
         
            +
             
     | 
| 
      
 421 
     | 
    
         
            +
                      # return_type
         
     | 
| 
      
 422 
     | 
    
         
            +
                      return_type = opts[:debug_return_type] || 'Error'
         
     | 
| 
      
 423 
     | 
    
         
            +
             
     | 
| 
      
 424 
     | 
    
         
            +
                      # auth_names
         
     | 
| 
      
 425 
     | 
    
         
            +
                      auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
         
     | 
| 
      
 426 
     | 
    
         
            +
             
     | 
| 
      
 427 
     | 
    
         
            +
                      new_options = opts.merge(
         
     | 
| 
      
 428 
     | 
    
         
            +
                        :operation => :"MarketingEventsExternalApi.do_email_upsert_by_id",
         
     | 
| 
      
 429 
     | 
    
         
            +
                        :header_params => header_params,
         
     | 
| 
      
 430 
     | 
    
         
            +
                        :query_params => query_params,
         
     | 
| 
      
 431 
     | 
    
         
            +
                        :form_params => form_params,
         
     | 
| 
      
 432 
     | 
    
         
            +
                        :body => post_body,
         
     | 
| 
      
 433 
     | 
    
         
            +
                        :auth_names => auth_names,
         
     | 
| 
      
 434 
     | 
    
         
            +
                        :return_type => return_type
         
     | 
| 
      
 435 
     | 
    
         
            +
                      )
         
     | 
| 
      
 436 
     | 
    
         
            +
             
     | 
| 
      
 437 
     | 
    
         
            +
                      data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
         
     | 
| 
      
 438 
     | 
    
         
            +
                      if @api_client.config.debugging
         
     | 
| 
      
 439 
     | 
    
         
            +
                        @api_client.config.logger.debug "API called: MarketingEventsExternalApi#do_email_upsert_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         
     | 
| 
      
 440 
     | 
    
         
            +
                      end
         
     | 
| 
      
 441 
     | 
    
         
            +
                      return data, status_code, headers
         
     | 
| 
      
 442 
     | 
    
         
            +
                    end
         
     | 
| 
      
 443 
     | 
    
         
            +
             
     | 
| 
      
 444 
     | 
    
         
            +
                    # @param q [String] 
         
     | 
| 
      
 445 
     | 
    
         
            +
                    # @param [Hash] opts the optional parameters
         
     | 
| 
      
 446 
     | 
    
         
            +
                    # @return [CollectionResponseMarketingEventExternalUniqueIdentifierNoPaging]
         
     | 
| 
      
 447 
     | 
    
         
            +
                    def do_search(q, opts = {})
         
     | 
| 
      
 448 
     | 
    
         
            +
                      data, _status_code, _headers = do_search_with_http_info(q, opts)
         
     | 
| 
      
 449 
     | 
    
         
            +
                      data
         
     | 
| 
      
 450 
     | 
    
         
            +
                    end
         
     | 
| 
      
 451 
     | 
    
         
            +
             
     | 
| 
      
 452 
     | 
    
         
            +
                    # @param q [String] 
         
     | 
| 
      
 453 
     | 
    
         
            +
                    # @param [Hash] opts the optional parameters
         
     | 
| 
      
 454 
     | 
    
         
            +
                    # @return [Array<(CollectionResponseMarketingEventExternalUniqueIdentifierNoPaging, Integer, Hash)>] CollectionResponseMarketingEventExternalUniqueIdentifierNoPaging data, response status code and response headers
         
     | 
| 
      
 455 
     | 
    
         
            +
                    def do_search_with_http_info(q, opts = {})
         
     | 
| 
      
 456 
     | 
    
         
            +
                      if @api_client.config.debugging
         
     | 
| 
      
 457 
     | 
    
         
            +
                        @api_client.config.logger.debug 'Calling API: MarketingEventsExternalApi.do_search ...'
         
     | 
| 
      
 458 
     | 
    
         
            +
                      end
         
     | 
| 
      
 459 
     | 
    
         
            +
                      # verify the required parameter 'q' is set
         
     | 
| 
      
 460 
     | 
    
         
            +
                      if @api_client.config.client_side_validation && q.nil?
         
     | 
| 
      
 461 
     | 
    
         
            +
                        fail ArgumentError, "Missing the required parameter 'q' when calling MarketingEventsExternalApi.do_search"
         
     | 
| 
      
 462 
     | 
    
         
            +
                      end
         
     | 
| 
      
 463 
     | 
    
         
            +
                      # resource path
         
     | 
| 
      
 464 
     | 
    
         
            +
                      local_var_path = '/marketing/v3/marketing-events/events/search'
         
     | 
| 
      
 465 
     | 
    
         
            +
             
     | 
| 
      
 466 
     | 
    
         
            +
                      # query parameters
         
     | 
| 
      
 467 
     | 
    
         
            +
                      query_params = opts[:query_params] || {}
         
     | 
| 
      
 468 
     | 
    
         
            +
                      query_params[:'q'] = q
         
     | 
| 
      
 469 
     | 
    
         
            +
             
     | 
| 
      
 470 
     | 
    
         
            +
                      # header parameters
         
     | 
| 
      
 471 
     | 
    
         
            +
                      header_params = opts[:header_params] || {}
         
     | 
| 
      
 472 
     | 
    
         
            +
                      # HTTP header 'Accept' (if needed)
         
     | 
| 
      
 473 
     | 
    
         
            +
                      header_params['Accept'] = @api_client.select_header_accept(['application/json', '*/*'])
         
     | 
| 
      
 474 
     | 
    
         
            +
             
     | 
| 
      
 475 
     | 
    
         
            +
                      # form parameters
         
     | 
| 
      
 476 
     | 
    
         
            +
                      form_params = opts[:form_params] || {}
         
     | 
| 
      
 477 
     | 
    
         
            +
             
     | 
| 
      
 478 
     | 
    
         
            +
                      # http body (model)
         
     | 
| 
      
 479 
     | 
    
         
            +
                      post_body = opts[:debug_body]
         
     | 
| 
      
 480 
     | 
    
         
            +
             
     | 
| 
      
 481 
     | 
    
         
            +
                      # return_type
         
     | 
| 
      
 482 
     | 
    
         
            +
                      return_type = opts[:debug_return_type] || 'CollectionResponseMarketingEventExternalUniqueIdentifierNoPaging'
         
     | 
| 
      
 483 
     | 
    
         
            +
             
     | 
| 
      
 484 
     | 
    
         
            +
                      # auth_names
         
     | 
| 
      
 485 
     | 
    
         
            +
                      auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
         
     | 
| 
      
 486 
     | 
    
         
            +
             
     | 
| 
      
 487 
     | 
    
         
            +
                      new_options = opts.merge(
         
     | 
| 
      
 488 
     | 
    
         
            +
                        :operation => :"MarketingEventsExternalApi.do_search",
         
     | 
| 
      
 489 
     | 
    
         
            +
                        :header_params => header_params,
         
     | 
| 
      
 490 
     | 
    
         
            +
                        :query_params => query_params,
         
     | 
| 
      
 491 
     | 
    
         
            +
                        :form_params => form_params,
         
     | 
| 
      
 492 
     | 
    
         
            +
                        :body => post_body,
         
     | 
| 
      
 493 
     | 
    
         
            +
                        :auth_names => auth_names,
         
     | 
| 
      
 494 
     | 
    
         
            +
                        :return_type => return_type
         
     | 
| 
      
 495 
     | 
    
         
            +
                      )
         
     | 
| 
      
 496 
     | 
    
         
            +
             
     | 
| 
      
 497 
     | 
    
         
            +
                      data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
         
     | 
| 
      
 498 
     | 
    
         
            +
                      if @api_client.config.debugging
         
     | 
| 
      
 499 
     | 
    
         
            +
                        @api_client.config.logger.debug "API called: MarketingEventsExternalApi#do_search\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         
     | 
| 
      
 500 
     | 
    
         
            +
                      end
         
     | 
| 
      
 501 
     | 
    
         
            +
                      return data, status_code, headers
         
     | 
| 
      
 502 
     | 
    
         
            +
                    end
         
     | 
| 
      
 503 
     | 
    
         
            +
             
     | 
| 
      
 504 
     | 
    
         
            +
                    # @param batch_input_marketing_event_create_request_params [BatchInputMarketingEventCreateRequestParams] 
         
     | 
| 
      
 505 
     | 
    
         
            +
                    # @param [Hash] opts the optional parameters
         
     | 
| 
      
 506 
     | 
    
         
            +
                    # @return [BatchResponseMarketingEventPublicDefaultResponse]
         
     | 
| 
      
 507 
     | 
    
         
            +
                    def do_upsert(batch_input_marketing_event_create_request_params, opts = {})
         
     | 
| 
      
 508 
     | 
    
         
            +
                      data, _status_code, _headers = do_upsert_with_http_info(batch_input_marketing_event_create_request_params, opts)
         
     | 
| 
      
 509 
     | 
    
         
            +
                      data
         
     | 
| 
      
 510 
     | 
    
         
            +
                    end
         
     | 
| 
      
 511 
     | 
    
         
            +
             
     | 
| 
      
 512 
     | 
    
         
            +
                    # @param batch_input_marketing_event_create_request_params [BatchInputMarketingEventCreateRequestParams] 
         
     | 
| 
      
 513 
     | 
    
         
            +
                    # @param [Hash] opts the optional parameters
         
     | 
| 
      
 514 
     | 
    
         
            +
                    # @return [Array<(BatchResponseMarketingEventPublicDefaultResponse, Integer, Hash)>] BatchResponseMarketingEventPublicDefaultResponse data, response status code and response headers
         
     | 
| 
      
 515 
     | 
    
         
            +
                    def do_upsert_with_http_info(batch_input_marketing_event_create_request_params, opts = {})
         
     | 
| 
      
 516 
     | 
    
         
            +
                      if @api_client.config.debugging
         
     | 
| 
      
 517 
     | 
    
         
            +
                        @api_client.config.logger.debug 'Calling API: MarketingEventsExternalApi.do_upsert ...'
         
     | 
| 
      
 518 
     | 
    
         
            +
                      end
         
     | 
| 
      
 519 
     | 
    
         
            +
                      # verify the required parameter 'batch_input_marketing_event_create_request_params' is set
         
     | 
| 
      
 520 
     | 
    
         
            +
                      if @api_client.config.client_side_validation && batch_input_marketing_event_create_request_params.nil?
         
     | 
| 
      
 521 
     | 
    
         
            +
                        fail ArgumentError, "Missing the required parameter 'batch_input_marketing_event_create_request_params' when calling MarketingEventsExternalApi.do_upsert"
         
     | 
| 
      
 522 
     | 
    
         
            +
                      end
         
     | 
| 
      
 523 
     | 
    
         
            +
                      # resource path
         
     | 
| 
      
 524 
     | 
    
         
            +
                      local_var_path = '/marketing/v3/marketing-events/events/upsert'
         
     | 
| 
      
 525 
     | 
    
         
            +
             
     | 
| 
      
 526 
     | 
    
         
            +
                      # query parameters
         
     | 
| 
      
 527 
     | 
    
         
            +
                      query_params = opts[:query_params] || {}
         
     | 
| 
      
 528 
     | 
    
         
            +
             
     | 
| 
      
 529 
     | 
    
         
            +
                      # header parameters
         
     | 
| 
      
 530 
     | 
    
         
            +
                      header_params = opts[:header_params] || {}
         
     | 
| 
      
 531 
     | 
    
         
            +
                      # HTTP header 'Accept' (if needed)
         
     | 
| 
      
 532 
     | 
    
         
            +
                      header_params['Accept'] = @api_client.select_header_accept(['application/json', '*/*'])
         
     | 
| 
      
 533 
     | 
    
         
            +
                      # HTTP header 'Content-Type'
         
     | 
| 
      
 534 
     | 
    
         
            +
                      content_type = @api_client.select_header_content_type(['application/json'])
         
     | 
| 
      
 535 
     | 
    
         
            +
                      if !content_type.nil?
         
     | 
| 
      
 536 
     | 
    
         
            +
                          header_params['Content-Type'] = content_type
         
     | 
| 
      
 537 
     | 
    
         
            +
                      end
         
     | 
| 
      
 538 
     | 
    
         
            +
             
     | 
| 
      
 539 
     | 
    
         
            +
                      # form parameters
         
     | 
| 
      
 540 
     | 
    
         
            +
                      form_params = opts[:form_params] || {}
         
     | 
| 
      
 541 
     | 
    
         
            +
             
     | 
| 
      
 542 
     | 
    
         
            +
                      # http body (model)
         
     | 
| 
      
 543 
     | 
    
         
            +
                      post_body = opts[:debug_body] || @api_client.object_to_http_body(batch_input_marketing_event_create_request_params)
         
     | 
| 
      
 544 
     | 
    
         
            +
             
     | 
| 
      
 545 
     | 
    
         
            +
                      # return_type
         
     | 
| 
      
 546 
     | 
    
         
            +
                      return_type = opts[:debug_return_type] || 'BatchResponseMarketingEventPublicDefaultResponse'
         
     | 
| 
      
 547 
     | 
    
         
            +
             
     | 
| 
      
 548 
     | 
    
         
            +
                      # auth_names
         
     | 
| 
      
 549 
     | 
    
         
            +
                      auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
         
     | 
| 
      
 550 
     | 
    
         
            +
             
     | 
| 
      
 551 
     | 
    
         
            +
                      new_options = opts.merge(
         
     | 
| 
      
 552 
     | 
    
         
            +
                        :operation => :"MarketingEventsExternalApi.do_upsert",
         
     | 
| 
      
 553 
     | 
    
         
            +
                        :header_params => header_params,
         
     | 
| 
      
 554 
     | 
    
         
            +
                        :query_params => query_params,
         
     | 
| 
      
 555 
     | 
    
         
            +
                        :form_params => form_params,
         
     | 
| 
      
 556 
     | 
    
         
            +
                        :body => post_body,
         
     | 
| 
      
 557 
     | 
    
         
            +
                        :auth_names => auth_names,
         
     | 
| 
      
 558 
     | 
    
         
            +
                        :return_type => return_type
         
     | 
| 
      
 559 
     | 
    
         
            +
                      )
         
     | 
| 
      
 560 
     | 
    
         
            +
             
     | 
| 
      
 561 
     | 
    
         
            +
                      data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
         
     | 
| 
      
 562 
     | 
    
         
            +
                      if @api_client.config.debugging
         
     | 
| 
      
 563 
     | 
    
         
            +
                        @api_client.config.logger.debug "API called: MarketingEventsExternalApi#do_upsert\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         
     | 
| 
      
 564 
     | 
    
         
            +
                      end
         
     | 
| 
      
 565 
     | 
    
         
            +
                      return data, status_code, headers
         
     | 
| 
      
 566 
     | 
    
         
            +
                    end
         
     | 
| 
      
 567 
     | 
    
         
            +
             
     | 
| 
      
 568 
     | 
    
         
            +
                    # @param external_event_id [String] 
         
     | 
| 
      
 569 
     | 
    
         
            +
                    # @param subscriber_state [String] 
         
     | 
| 
      
 570 
     | 
    
         
            +
                    # @param external_account_id [String] 
         
     | 
| 
      
 571 
     | 
    
         
            +
                    # @param batch_input_marketing_event_subscriber [BatchInputMarketingEventSubscriber] 
         
     | 
| 
      
 572 
     | 
    
         
            +
                    # @param [Hash] opts the optional parameters
         
     | 
| 
      
 573 
     | 
    
         
            +
                    # @return [Error]
         
     | 
| 
      
 574 
     | 
    
         
            +
                    def do_upsert_by_id(external_event_id, subscriber_state, external_account_id, batch_input_marketing_event_subscriber, opts = {})
         
     | 
| 
      
 575 
     | 
    
         
            +
                      data, _status_code, _headers = do_upsert_by_id_with_http_info(external_event_id, subscriber_state, external_account_id, batch_input_marketing_event_subscriber, opts)
         
     | 
| 
      
 576 
     | 
    
         
            +
                      data
         
     | 
| 
      
 577 
     | 
    
         
            +
                    end
         
     | 
| 
      
 578 
     | 
    
         
            +
             
     | 
| 
      
 579 
     | 
    
         
            +
                    # @param external_event_id [String] 
         
     | 
| 
      
 580 
     | 
    
         
            +
                    # @param subscriber_state [String] 
         
     | 
| 
      
 581 
     | 
    
         
            +
                    # @param external_account_id [String] 
         
     | 
| 
      
 582 
     | 
    
         
            +
                    # @param batch_input_marketing_event_subscriber [BatchInputMarketingEventSubscriber] 
         
     | 
| 
      
 583 
     | 
    
         
            +
                    # @param [Hash] opts the optional parameters
         
     | 
| 
      
 584 
     | 
    
         
            +
                    # @return [Array<(Error, Integer, Hash)>] Error data, response status code and response headers
         
     | 
| 
      
 585 
     | 
    
         
            +
                    def do_upsert_by_id_with_http_info(external_event_id, subscriber_state, external_account_id, batch_input_marketing_event_subscriber, opts = {})
         
     | 
| 
      
 586 
     | 
    
         
            +
                      if @api_client.config.debugging
         
     | 
| 
      
 587 
     | 
    
         
            +
                        @api_client.config.logger.debug 'Calling API: MarketingEventsExternalApi.do_upsert_by_id ...'
         
     | 
| 
      
 588 
     | 
    
         
            +
                      end
         
     | 
| 
      
 589 
     | 
    
         
            +
                      # verify the required parameter 'external_event_id' is set
         
     | 
| 
      
 590 
     | 
    
         
            +
                      if @api_client.config.client_side_validation && external_event_id.nil?
         
     | 
| 
      
 591 
     | 
    
         
            +
                        fail ArgumentError, "Missing the required parameter 'external_event_id' when calling MarketingEventsExternalApi.do_upsert_by_id"
         
     | 
| 
      
 592 
     | 
    
         
            +
                      end
         
     | 
| 
      
 593 
     | 
    
         
            +
                      # verify the required parameter 'subscriber_state' is set
         
     | 
| 
      
 594 
     | 
    
         
            +
                      if @api_client.config.client_side_validation && subscriber_state.nil?
         
     | 
| 
      
 595 
     | 
    
         
            +
                        fail ArgumentError, "Missing the required parameter 'subscriber_state' when calling MarketingEventsExternalApi.do_upsert_by_id"
         
     | 
| 
      
 596 
     | 
    
         
            +
                      end
         
     | 
| 
      
 597 
     | 
    
         
            +
                      # verify the required parameter 'external_account_id' is set
         
     | 
| 
      
 598 
     | 
    
         
            +
                      if @api_client.config.client_side_validation && external_account_id.nil?
         
     | 
| 
      
 599 
     | 
    
         
            +
                        fail ArgumentError, "Missing the required parameter 'external_account_id' when calling MarketingEventsExternalApi.do_upsert_by_id"
         
     | 
| 
      
 600 
     | 
    
         
            +
                      end
         
     | 
| 
      
 601 
     | 
    
         
            +
                      # verify the required parameter 'batch_input_marketing_event_subscriber' is set
         
     | 
| 
      
 602 
     | 
    
         
            +
                      if @api_client.config.client_side_validation && batch_input_marketing_event_subscriber.nil?
         
     | 
| 
      
 603 
     | 
    
         
            +
                        fail ArgumentError, "Missing the required parameter 'batch_input_marketing_event_subscriber' when calling MarketingEventsExternalApi.do_upsert_by_id"
         
     | 
| 
      
 604 
     | 
    
         
            +
                      end
         
     | 
| 
      
 605 
     | 
    
         
            +
                      # resource path
         
     | 
| 
      
 606 
     | 
    
         
            +
                      local_var_path = '/marketing/v3/marketing-events/events/{externalEventId}/{subscriberState}/upsert'.sub('{' + 'externalEventId' + '}', CGI.escape(external_event_id.to_s)).sub('{' + 'subscriberState' + '}', CGI.escape(subscriber_state.to_s))
         
     | 
| 
      
 607 
     | 
    
         
            +
             
     | 
| 
      
 608 
     | 
    
         
            +
                      # query parameters
         
     | 
| 
      
 609 
     | 
    
         
            +
                      query_params = opts[:query_params] || {}
         
     | 
| 
      
 610 
     | 
    
         
            +
                      query_params[:'externalAccountId'] = external_account_id
         
     | 
| 
      
 611 
     | 
    
         
            +
             
     | 
| 
      
 612 
     | 
    
         
            +
                      # header parameters
         
     | 
| 
      
 613 
     | 
    
         
            +
                      header_params = opts[:header_params] || {}
         
     | 
| 
      
 614 
     | 
    
         
            +
                      # HTTP header 'Accept' (if needed)
         
     | 
| 
      
 615 
     | 
    
         
            +
                      header_params['Accept'] = @api_client.select_header_accept(['*/*'])
         
     | 
| 
      
 616 
     | 
    
         
            +
                      # HTTP header 'Content-Type'
         
     | 
| 
      
 617 
     | 
    
         
            +
                      content_type = @api_client.select_header_content_type(['application/json'])
         
     | 
| 
      
 618 
     | 
    
         
            +
                      if !content_type.nil?
         
     | 
| 
      
 619 
     | 
    
         
            +
                          header_params['Content-Type'] = content_type
         
     | 
| 
      
 620 
     | 
    
         
            +
                      end
         
     | 
| 
      
 621 
     | 
    
         
            +
             
     | 
| 
      
 622 
     | 
    
         
            +
                      # form parameters
         
     | 
| 
      
 623 
     | 
    
         
            +
                      form_params = opts[:form_params] || {}
         
     | 
| 
      
 624 
     | 
    
         
            +
             
     | 
| 
      
 625 
     | 
    
         
            +
                      # http body (model)
         
     | 
| 
      
 626 
     | 
    
         
            +
                      post_body = opts[:debug_body] || @api_client.object_to_http_body(batch_input_marketing_event_subscriber)
         
     | 
| 
      
 627 
     | 
    
         
            +
             
     | 
| 
      
 628 
     | 
    
         
            +
                      # return_type
         
     | 
| 
      
 629 
     | 
    
         
            +
                      return_type = opts[:debug_return_type] || 'Error'
         
     | 
| 
      
 630 
     | 
    
         
            +
             
     | 
| 
      
 631 
     | 
    
         
            +
                      # auth_names
         
     | 
| 
      
 632 
     | 
    
         
            +
                      auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
         
     | 
| 
      
 633 
     | 
    
         
            +
             
     | 
| 
      
 634 
     | 
    
         
            +
                      new_options = opts.merge(
         
     | 
| 
      
 635 
     | 
    
         
            +
                        :operation => :"MarketingEventsExternalApi.do_upsert_by_id",
         
     | 
| 
      
 636 
     | 
    
         
            +
                        :header_params => header_params,
         
     | 
| 
      
 637 
     | 
    
         
            +
                        :query_params => query_params,
         
     | 
| 
      
 638 
     | 
    
         
            +
                        :form_params => form_params,
         
     | 
| 
      
 639 
     | 
    
         
            +
                        :body => post_body,
         
     | 
| 
      
 640 
     | 
    
         
            +
                        :auth_names => auth_names,
         
     | 
| 
      
 641 
     | 
    
         
            +
                        :return_type => return_type
         
     | 
| 
      
 642 
     | 
    
         
            +
                      )
         
     | 
| 
      
 643 
     | 
    
         
            +
             
     | 
| 
      
 644 
     | 
    
         
            +
                      data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
         
     | 
| 
      
 645 
     | 
    
         
            +
                      if @api_client.config.debugging
         
     | 
| 
      
 646 
     | 
    
         
            +
                        @api_client.config.logger.debug "API called: MarketingEventsExternalApi#do_upsert_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         
     | 
| 
      
 647 
     | 
    
         
            +
                      end
         
     | 
| 
      
 648 
     | 
    
         
            +
                      return data, status_code, headers
         
     | 
| 
      
 649 
     | 
    
         
            +
                    end
         
     | 
| 
      
 650 
     | 
    
         
            +
             
     | 
| 
      
 651 
     | 
    
         
            +
                    # @param external_event_id [String] 
         
     | 
| 
      
 652 
     | 
    
         
            +
                    # @param external_account_id [String] 
         
     | 
| 
      
 653 
     | 
    
         
            +
                    # @param [Hash] opts the optional parameters
         
     | 
| 
      
 654 
     | 
    
         
            +
                    # @return [MarketingEventPublicReadResponse]
         
     | 
| 
      
 655 
     | 
    
         
            +
                    def get_by_id(external_event_id, external_account_id, opts = {})
         
     | 
| 
      
 656 
     | 
    
         
            +
                      data, _status_code, _headers = get_by_id_with_http_info(external_event_id, external_account_id, opts)
         
     | 
| 
      
 657 
     | 
    
         
            +
                      data
         
     | 
| 
      
 658 
     | 
    
         
            +
                    end
         
     | 
| 
      
 659 
     | 
    
         
            +
             
     | 
| 
      
 660 
     | 
    
         
            +
                    # @param external_event_id [String] 
         
     | 
| 
      
 661 
     | 
    
         
            +
                    # @param external_account_id [String] 
         
     | 
| 
      
 662 
     | 
    
         
            +
                    # @param [Hash] opts the optional parameters
         
     | 
| 
      
 663 
     | 
    
         
            +
                    # @return [Array<(MarketingEventPublicReadResponse, Integer, Hash)>] MarketingEventPublicReadResponse data, response status code and response headers
         
     | 
| 
      
 664 
     | 
    
         
            +
                    def get_by_id_with_http_info(external_event_id, external_account_id, opts = {})
         
     | 
| 
      
 665 
     | 
    
         
            +
                      if @api_client.config.debugging
         
     | 
| 
      
 666 
     | 
    
         
            +
                        @api_client.config.logger.debug 'Calling API: MarketingEventsExternalApi.get_by_id ...'
         
     | 
| 
      
 667 
     | 
    
         
            +
                      end
         
     | 
| 
      
 668 
     | 
    
         
            +
                      # verify the required parameter 'external_event_id' is set
         
     | 
| 
      
 669 
     | 
    
         
            +
                      if @api_client.config.client_side_validation && external_event_id.nil?
         
     | 
| 
      
 670 
     | 
    
         
            +
                        fail ArgumentError, "Missing the required parameter 'external_event_id' when calling MarketingEventsExternalApi.get_by_id"
         
     | 
| 
      
 671 
     | 
    
         
            +
                      end
         
     | 
| 
      
 672 
     | 
    
         
            +
                      # verify the required parameter 'external_account_id' is set
         
     | 
| 
      
 673 
     | 
    
         
            +
                      if @api_client.config.client_side_validation && external_account_id.nil?
         
     | 
| 
      
 674 
     | 
    
         
            +
                        fail ArgumentError, "Missing the required parameter 'external_account_id' when calling MarketingEventsExternalApi.get_by_id"
         
     | 
| 
      
 675 
     | 
    
         
            +
                      end
         
     | 
| 
      
 676 
     | 
    
         
            +
                      # resource path
         
     | 
| 
      
 677 
     | 
    
         
            +
                      local_var_path = '/marketing/v3/marketing-events/events/{externalEventId}'.sub('{' + 'externalEventId' + '}', CGI.escape(external_event_id.to_s))
         
     | 
| 
      
 678 
     | 
    
         
            +
             
     | 
| 
      
 679 
     | 
    
         
            +
                      # query parameters
         
     | 
| 
      
 680 
     | 
    
         
            +
                      query_params = opts[:query_params] || {}
         
     | 
| 
      
 681 
     | 
    
         
            +
                      query_params[:'externalAccountId'] = external_account_id
         
     | 
| 
      
 682 
     | 
    
         
            +
             
     | 
| 
      
 683 
     | 
    
         
            +
                      # header parameters
         
     | 
| 
      
 684 
     | 
    
         
            +
                      header_params = opts[:header_params] || {}
         
     | 
| 
      
 685 
     | 
    
         
            +
                      # HTTP header 'Accept' (if needed)
         
     | 
| 
      
 686 
     | 
    
         
            +
                      header_params['Accept'] = @api_client.select_header_accept(['application/json', '*/*'])
         
     | 
| 
      
 687 
     | 
    
         
            +
             
     | 
| 
      
 688 
     | 
    
         
            +
                      # form parameters
         
     | 
| 
      
 689 
     | 
    
         
            +
                      form_params = opts[:form_params] || {}
         
     | 
| 
      
 690 
     | 
    
         
            +
             
     | 
| 
      
 691 
     | 
    
         
            +
                      # http body (model)
         
     | 
| 
      
 692 
     | 
    
         
            +
                      post_body = opts[:debug_body]
         
     | 
| 
      
 693 
     | 
    
         
            +
             
     | 
| 
      
 694 
     | 
    
         
            +
                      # return_type
         
     | 
| 
      
 695 
     | 
    
         
            +
                      return_type = opts[:debug_return_type] || 'MarketingEventPublicReadResponse'
         
     | 
| 
      
 696 
     | 
    
         
            +
             
     | 
| 
      
 697 
     | 
    
         
            +
                      # auth_names
         
     | 
| 
      
 698 
     | 
    
         
            +
                      auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
         
     | 
| 
      
 699 
     | 
    
         
            +
             
     | 
| 
      
 700 
     | 
    
         
            +
                      new_options = opts.merge(
         
     | 
| 
      
 701 
     | 
    
         
            +
                        :operation => :"MarketingEventsExternalApi.get_by_id",
         
     | 
| 
      
 702 
     | 
    
         
            +
                        :header_params => header_params,
         
     | 
| 
      
 703 
     | 
    
         
            +
                        :query_params => query_params,
         
     | 
| 
      
 704 
     | 
    
         
            +
                        :form_params => form_params,
         
     | 
| 
      
 705 
     | 
    
         
            +
                        :body => post_body,
         
     | 
| 
      
 706 
     | 
    
         
            +
                        :auth_names => auth_names,
         
     | 
| 
      
 707 
     | 
    
         
            +
                        :return_type => return_type
         
     | 
| 
      
 708 
     | 
    
         
            +
                      )
         
     | 
| 
      
 709 
     | 
    
         
            +
             
     | 
| 
      
 710 
     | 
    
         
            +
                      data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
         
     | 
| 
      
 711 
     | 
    
         
            +
                      if @api_client.config.debugging
         
     | 
| 
      
 712 
     | 
    
         
            +
                        @api_client.config.logger.debug "API called: MarketingEventsExternalApi#get_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         
     | 
| 
      
 713 
     | 
    
         
            +
                      end
         
     | 
| 
      
 714 
     | 
    
         
            +
                      return data, status_code, headers
         
     | 
| 
      
 715 
     | 
    
         
            +
                    end
         
     | 
| 
      
 716 
     | 
    
         
            +
             
     | 
| 
      
 717 
     | 
    
         
            +
                    # @param external_event_id [String] 
         
     | 
| 
      
 718 
     | 
    
         
            +
                    # @param marketing_event_create_request_params [MarketingEventCreateRequestParams] 
         
     | 
| 
      
 719 
     | 
    
         
            +
                    # @param [Hash] opts the optional parameters
         
     | 
| 
      
 720 
     | 
    
         
            +
                    # @return [MarketingEventPublicDefaultResponse]
         
     | 
| 
      
 721 
     | 
    
         
            +
                    def replace(external_event_id, marketing_event_create_request_params, opts = {})
         
     | 
| 
      
 722 
     | 
    
         
            +
                      data, _status_code, _headers = replace_with_http_info(external_event_id, marketing_event_create_request_params, opts)
         
     | 
| 
      
 723 
     | 
    
         
            +
                      data
         
     | 
| 
      
 724 
     | 
    
         
            +
                    end
         
     | 
| 
      
 725 
     | 
    
         
            +
             
     | 
| 
      
 726 
     | 
    
         
            +
                    # @param external_event_id [String] 
         
     | 
| 
      
 727 
     | 
    
         
            +
                    # @param marketing_event_create_request_params [MarketingEventCreateRequestParams] 
         
     | 
| 
      
 728 
     | 
    
         
            +
                    # @param [Hash] opts the optional parameters
         
     | 
| 
      
 729 
     | 
    
         
            +
                    # @return [Array<(MarketingEventPublicDefaultResponse, Integer, Hash)>] MarketingEventPublicDefaultResponse data, response status code and response headers
         
     | 
| 
      
 730 
     | 
    
         
            +
                    def replace_with_http_info(external_event_id, marketing_event_create_request_params, opts = {})
         
     | 
| 
      
 731 
     | 
    
         
            +
                      if @api_client.config.debugging
         
     | 
| 
      
 732 
     | 
    
         
            +
                        @api_client.config.logger.debug 'Calling API: MarketingEventsExternalApi.replace ...'
         
     | 
| 
      
 733 
     | 
    
         
            +
                      end
         
     | 
| 
      
 734 
     | 
    
         
            +
                      # verify the required parameter 'external_event_id' is set
         
     | 
| 
      
 735 
     | 
    
         
            +
                      if @api_client.config.client_side_validation && external_event_id.nil?
         
     | 
| 
      
 736 
     | 
    
         
            +
                        fail ArgumentError, "Missing the required parameter 'external_event_id' when calling MarketingEventsExternalApi.replace"
         
     | 
| 
      
 737 
     | 
    
         
            +
                      end
         
     | 
| 
      
 738 
     | 
    
         
            +
                      # verify the required parameter 'marketing_event_create_request_params' is set
         
     | 
| 
      
 739 
     | 
    
         
            +
                      if @api_client.config.client_side_validation && marketing_event_create_request_params.nil?
         
     | 
| 
      
 740 
     | 
    
         
            +
                        fail ArgumentError, "Missing the required parameter 'marketing_event_create_request_params' when calling MarketingEventsExternalApi.replace"
         
     | 
| 
      
 741 
     | 
    
         
            +
                      end
         
     | 
| 
      
 742 
     | 
    
         
            +
                      # resource path
         
     | 
| 
      
 743 
     | 
    
         
            +
                      local_var_path = '/marketing/v3/marketing-events/events/{externalEventId}'.sub('{' + 'externalEventId' + '}', CGI.escape(external_event_id.to_s))
         
     | 
| 
      
 744 
     | 
    
         
            +
             
     | 
| 
      
 745 
     | 
    
         
            +
                      # query parameters
         
     | 
| 
      
 746 
     | 
    
         
            +
                      query_params = opts[:query_params] || {}
         
     | 
| 
      
 747 
     | 
    
         
            +
             
     | 
| 
      
 748 
     | 
    
         
            +
                      # header parameters
         
     | 
| 
      
 749 
     | 
    
         
            +
                      header_params = opts[:header_params] || {}
         
     | 
| 
      
 750 
     | 
    
         
            +
                      # HTTP header 'Accept' (if needed)
         
     | 
| 
      
 751 
     | 
    
         
            +
                      header_params['Accept'] = @api_client.select_header_accept(['application/json', '*/*'])
         
     | 
| 
      
 752 
     | 
    
         
            +
                      # HTTP header 'Content-Type'
         
     | 
| 
      
 753 
     | 
    
         
            +
                      content_type = @api_client.select_header_content_type(['application/json'])
         
     | 
| 
      
 754 
     | 
    
         
            +
                      if !content_type.nil?
         
     | 
| 
      
 755 
     | 
    
         
            +
                          header_params['Content-Type'] = content_type
         
     | 
| 
      
 756 
     | 
    
         
            +
                      end
         
     | 
| 
      
 757 
     | 
    
         
            +
             
     | 
| 
      
 758 
     | 
    
         
            +
                      # form parameters
         
     | 
| 
      
 759 
     | 
    
         
            +
                      form_params = opts[:form_params] || {}
         
     | 
| 
      
 760 
     | 
    
         
            +
             
     | 
| 
      
 761 
     | 
    
         
            +
                      # http body (model)
         
     | 
| 
      
 762 
     | 
    
         
            +
                      post_body = opts[:debug_body] || @api_client.object_to_http_body(marketing_event_create_request_params)
         
     | 
| 
      
 763 
     | 
    
         
            +
             
     | 
| 
      
 764 
     | 
    
         
            +
                      # return_type
         
     | 
| 
      
 765 
     | 
    
         
            +
                      return_type = opts[:debug_return_type] || 'MarketingEventPublicDefaultResponse'
         
     | 
| 
      
 766 
     | 
    
         
            +
             
     | 
| 
      
 767 
     | 
    
         
            +
                      # auth_names
         
     | 
| 
      
 768 
     | 
    
         
            +
                      auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
         
     | 
| 
      
 769 
     | 
    
         
            +
             
     | 
| 
      
 770 
     | 
    
         
            +
                      new_options = opts.merge(
         
     | 
| 
      
 771 
     | 
    
         
            +
                        :operation => :"MarketingEventsExternalApi.replace",
         
     | 
| 
      
 772 
     | 
    
         
            +
                        :header_params => header_params,
         
     | 
| 
      
 773 
     | 
    
         
            +
                        :query_params => query_params,
         
     | 
| 
      
 774 
     | 
    
         
            +
                        :form_params => form_params,
         
     | 
| 
      
 775 
     | 
    
         
            +
                        :body => post_body,
         
     | 
| 
      
 776 
     | 
    
         
            +
                        :auth_names => auth_names,
         
     | 
| 
      
 777 
     | 
    
         
            +
                        :return_type => return_type
         
     | 
| 
      
 778 
     | 
    
         
            +
                      )
         
     | 
| 
      
 779 
     | 
    
         
            +
             
     | 
| 
      
 780 
     | 
    
         
            +
                      data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
         
     | 
| 
      
 781 
     | 
    
         
            +
                      if @api_client.config.debugging
         
     | 
| 
      
 782 
     | 
    
         
            +
                        @api_client.config.logger.debug "API called: MarketingEventsExternalApi#replace\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         
     | 
| 
      
 783 
     | 
    
         
            +
                      end
         
     | 
| 
      
 784 
     | 
    
         
            +
                      return data, status_code, headers
         
     | 
| 
      
 785 
     | 
    
         
            +
                    end
         
     | 
| 
      
 786 
     | 
    
         
            +
             
     | 
| 
      
 787 
     | 
    
         
            +
                    # @param external_event_id [String] 
         
     | 
| 
      
 788 
     | 
    
         
            +
                    # @param external_account_id [String] 
         
     | 
| 
      
 789 
     | 
    
         
            +
                    # @param marketing_event_update_request_params [MarketingEventUpdateRequestParams] 
         
     | 
| 
      
 790 
     | 
    
         
            +
                    # @param [Hash] opts the optional parameters
         
     | 
| 
      
 791 
     | 
    
         
            +
                    # @return [MarketingEventPublicDefaultResponse]
         
     | 
| 
      
 792 
     | 
    
         
            +
                    def update(external_event_id, external_account_id, marketing_event_update_request_params, opts = {})
         
     | 
| 
      
 793 
     | 
    
         
            +
                      data, _status_code, _headers = update_with_http_info(external_event_id, external_account_id, marketing_event_update_request_params, opts)
         
     | 
| 
      
 794 
     | 
    
         
            +
                      data
         
     | 
| 
      
 795 
     | 
    
         
            +
                    end
         
     | 
| 
      
 796 
     | 
    
         
            +
             
     | 
| 
      
 797 
     | 
    
         
            +
                    # @param external_event_id [String] 
         
     | 
| 
      
 798 
     | 
    
         
            +
                    # @param external_account_id [String] 
         
     | 
| 
      
 799 
     | 
    
         
            +
                    # @param marketing_event_update_request_params [MarketingEventUpdateRequestParams] 
         
     | 
| 
      
 800 
     | 
    
         
            +
                    # @param [Hash] opts the optional parameters
         
     | 
| 
      
 801 
     | 
    
         
            +
                    # @return [Array<(MarketingEventPublicDefaultResponse, Integer, Hash)>] MarketingEventPublicDefaultResponse data, response status code and response headers
         
     | 
| 
      
 802 
     | 
    
         
            +
                    def update_with_http_info(external_event_id, external_account_id, marketing_event_update_request_params, opts = {})
         
     | 
| 
      
 803 
     | 
    
         
            +
                      if @api_client.config.debugging
         
     | 
| 
      
 804 
     | 
    
         
            +
                        @api_client.config.logger.debug 'Calling API: MarketingEventsExternalApi.update ...'
         
     | 
| 
      
 805 
     | 
    
         
            +
                      end
         
     | 
| 
      
 806 
     | 
    
         
            +
                      # verify the required parameter 'external_event_id' is set
         
     | 
| 
      
 807 
     | 
    
         
            +
                      if @api_client.config.client_side_validation && external_event_id.nil?
         
     | 
| 
      
 808 
     | 
    
         
            +
                        fail ArgumentError, "Missing the required parameter 'external_event_id' when calling MarketingEventsExternalApi.update"
         
     | 
| 
      
 809 
     | 
    
         
            +
                      end
         
     | 
| 
      
 810 
     | 
    
         
            +
                      # verify the required parameter 'external_account_id' is set
         
     | 
| 
      
 811 
     | 
    
         
            +
                      if @api_client.config.client_side_validation && external_account_id.nil?
         
     | 
| 
      
 812 
     | 
    
         
            +
                        fail ArgumentError, "Missing the required parameter 'external_account_id' when calling MarketingEventsExternalApi.update"
         
     | 
| 
      
 813 
     | 
    
         
            +
                      end
         
     | 
| 
      
 814 
     | 
    
         
            +
                      # verify the required parameter 'marketing_event_update_request_params' is set
         
     | 
| 
      
 815 
     | 
    
         
            +
                      if @api_client.config.client_side_validation && marketing_event_update_request_params.nil?
         
     | 
| 
      
 816 
     | 
    
         
            +
                        fail ArgumentError, "Missing the required parameter 'marketing_event_update_request_params' when calling MarketingEventsExternalApi.update"
         
     | 
| 
      
 817 
     | 
    
         
            +
                      end
         
     | 
| 
      
 818 
     | 
    
         
            +
                      # resource path
         
     | 
| 
      
 819 
     | 
    
         
            +
                      local_var_path = '/marketing/v3/marketing-events/events/{externalEventId}'.sub('{' + 'externalEventId' + '}', CGI.escape(external_event_id.to_s))
         
     | 
| 
      
 820 
     | 
    
         
            +
             
     | 
| 
      
 821 
     | 
    
         
            +
                      # query parameters
         
     | 
| 
      
 822 
     | 
    
         
            +
                      query_params = opts[:query_params] || {}
         
     | 
| 
      
 823 
     | 
    
         
            +
                      query_params[:'externalAccountId'] = external_account_id
         
     | 
| 
      
 824 
     | 
    
         
            +
             
     | 
| 
      
 825 
     | 
    
         
            +
                      # header parameters
         
     | 
| 
      
 826 
     | 
    
         
            +
                      header_params = opts[:header_params] || {}
         
     | 
| 
      
 827 
     | 
    
         
            +
                      # HTTP header 'Accept' (if needed)
         
     | 
| 
      
 828 
     | 
    
         
            +
                      header_params['Accept'] = @api_client.select_header_accept(['application/json', '*/*'])
         
     | 
| 
      
 829 
     | 
    
         
            +
                      # HTTP header 'Content-Type'
         
     | 
| 
      
 830 
     | 
    
         
            +
                      content_type = @api_client.select_header_content_type(['application/json'])
         
     | 
| 
      
 831 
     | 
    
         
            +
                      if !content_type.nil?
         
     | 
| 
      
 832 
     | 
    
         
            +
                          header_params['Content-Type'] = content_type
         
     | 
| 
      
 833 
     | 
    
         
            +
                      end
         
     | 
| 
      
 834 
     | 
    
         
            +
             
     | 
| 
      
 835 
     | 
    
         
            +
                      # form parameters
         
     | 
| 
      
 836 
     | 
    
         
            +
                      form_params = opts[:form_params] || {}
         
     | 
| 
      
 837 
     | 
    
         
            +
             
     | 
| 
      
 838 
     | 
    
         
            +
                      # http body (model)
         
     | 
| 
      
 839 
     | 
    
         
            +
                      post_body = opts[:debug_body] || @api_client.object_to_http_body(marketing_event_update_request_params)
         
     | 
| 
      
 840 
     | 
    
         
            +
             
     | 
| 
      
 841 
     | 
    
         
            +
                      # return_type
         
     | 
| 
      
 842 
     | 
    
         
            +
                      return_type = opts[:debug_return_type] || 'MarketingEventPublicDefaultResponse'
         
     | 
| 
      
 843 
     | 
    
         
            +
             
     | 
| 
      
 844 
     | 
    
         
            +
                      # auth_names
         
     | 
| 
      
 845 
     | 
    
         
            +
                      auth_names = opts[:debug_auth_names] || ['hapikey', 'oauth2']
         
     | 
| 
      
 846 
     | 
    
         
            +
             
     | 
| 
      
 847 
     | 
    
         
            +
                      new_options = opts.merge(
         
     | 
| 
      
 848 
     | 
    
         
            +
                        :operation => :"MarketingEventsExternalApi.update",
         
     | 
| 
      
 849 
     | 
    
         
            +
                        :header_params => header_params,
         
     | 
| 
      
 850 
     | 
    
         
            +
                        :query_params => query_params,
         
     | 
| 
      
 851 
     | 
    
         
            +
                        :form_params => form_params,
         
     | 
| 
      
 852 
     | 
    
         
            +
                        :body => post_body,
         
     | 
| 
      
 853 
     | 
    
         
            +
                        :auth_names => auth_names,
         
     | 
| 
      
 854 
     | 
    
         
            +
                        :return_type => return_type
         
     | 
| 
      
 855 
     | 
    
         
            +
                      )
         
     | 
| 
      
 856 
     | 
    
         
            +
             
     | 
| 
      
 857 
     | 
    
         
            +
                      data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
         
     | 
| 
      
 858 
     | 
    
         
            +
                      if @api_client.config.debugging
         
     | 
| 
      
 859 
     | 
    
         
            +
                        @api_client.config.logger.debug "API called: MarketingEventsExternalApi#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
         
     | 
| 
      
 860 
     | 
    
         
            +
                      end
         
     | 
| 
      
 861 
     | 
    
         
            +
                      return data, status_code, headers
         
     | 
| 
      
 862 
     | 
    
         
            +
                    end
         
     | 
| 
      
 863 
     | 
    
         
            +
                  end
         
     | 
| 
      
 864 
     | 
    
         
            +
                end
         
     | 
| 
      
 865 
     | 
    
         
            +
              end
         
     | 
| 
      
 866 
     | 
    
         
            +
            end
         
     |