hubspot-api-client 19.0.0 → 20.0.0.pre.beta.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 +70 -1
- data/Gemfile.lock +1 -1
- data/README.md +83 -8
- data/lib/hubspot/client.rb +7 -0
- data/lib/hubspot/codegen/cms/blogs/blog_posts/api/basic_api.rb +1079 -0
- data/lib/hubspot/codegen/cms/blogs/blog_posts/api/batch_api.rb +306 -0
- data/lib/hubspot/codegen/cms/blogs/blog_posts/api/multi_language_api.rb +368 -0
- data/lib/hubspot/codegen/cms/blogs/blog_posts/models/blog_post.rb +18 -18
- data/lib/hubspot/codegen/cms/hubdb/models/standard_error.rb +7 -7
- data/lib/hubspot/codegen/cms/hubdb/models/unified_collection_response_with_total_base_hub_db_table_row_v3.rb +1 -0
- data/lib/hubspot/codegen/crm/associations/api/batch_api.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/api_client.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/configuration.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/associated_id.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/batch_input_public_association.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/batch_input_public_object_id.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/batch_response_public_association.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/batch_response_public_association_multi.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/batch_response_public_association_multi_with_errors.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/batch_response_public_association_with_errors.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/error.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/next_page.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/paging.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/previous_page.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/public_association.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/public_association_multi.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/public_object_id.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/standard_error.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/schema/api/types_api.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/schema/api_client.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/schema/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/schema/configuration.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/schema/models/collection_response_public_association_definition_no_paging.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/schema/models/error.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/schema/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/schema/models/public_association_definition.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/api/basic_api.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/api/batch_api.rb +3 -3
- data/lib/hubspot/codegen/crm/associations/v4/api/report_api.rb +91 -0
- data/lib/hubspot/codegen/crm/associations/v4/api_client.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/configuration.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/association_spec.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/association_spec_with_label.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_public_association_multi_archive.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_public_association_multi_post.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_public_default_association_multi_post.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_public_fetch_associations_batch_request.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_labels_between_object_pair.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_labels_between_object_pair_with_errors.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_public_association_multi_with_label.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_public_association_multi_with_label_with_errors.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_public_default_association.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/collection_response_multi_associated_object_with_label_forward_paging.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/date_time.rb +258 -0
- data/lib/hubspot/codegen/crm/associations/v4/models/error.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/forward_paging.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/labels_between_object_pair.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/multi_associated_object_with_label.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/next_page.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/paging.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/previous_page.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/public_association_multi_archive.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/public_association_multi_post.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/public_association_multi_with_label.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/public_default_association.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/public_default_association_multi_post.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/public_fetch_associations_batch_request.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/public_object_id.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/report_creation_response.rb +258 -0
- data/lib/hubspot/codegen/crm/associations/v4/models/standard_error.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/schema/api/definition_configurations_api.rb +396 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/api/definitions_api.rb +69 -69
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_input_public_association_definition_configuration_create_request.rb +234 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_input_public_association_definition_configuration_update_request.rb +234 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_input_public_association_spec.rb +234 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_response_public_association_definition_configuration_update_result.rb +330 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_response_public_association_definition_configuration_update_result_with_errors.rb +350 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_response_public_association_definition_user_configuration.rb +330 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_response_public_association_definition_user_configuration_with_errors.rb +350 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/collection_response_public_association_definition_user_configuration_no_paging.rb +234 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_association_definition_configuration_create_request.rb +294 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_association_definition_configuration_update_request.rb +294 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_association_definition_configuration_update_result.rb +289 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_association_definition_user_configuration.rb +298 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_association_spec.rb +246 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/standard_error.rb +326 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/api/basic_api.rb +391 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/api/batch_api.rb +363 -0
- data/lib/hubspot/codegen/crm/{objects/feedback_submissions/api/public_object_api.rb → commerce/invoices/api/search_api.rb} +24 -22
- data/lib/hubspot/codegen/crm/commerce/invoices/api_client.rb +412 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/api_error.rb +63 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/configuration.rb +289 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/associated_id.rb +244 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/association_spec.rb +278 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/batch_input_simple_public_object_batch_input.rb +232 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/batch_input_simple_public_object_batch_input_upsert.rb +232 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/batch_input_simple_public_object_id.rb +232 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/batch_input_simple_public_object_input_for_create.rb +232 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/batch_read_input_simple_public_object_id.rb +273 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/batch_response_simple_public_object.rb +328 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/batch_response_simple_public_object_with_errors.rb +348 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/batch_response_simple_public_upsert_object.rb +328 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/collection_response_associated_id.rb +241 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/collection_response_simple_public_object_with_associations_forward_paging.rb +241 -0
- data/lib/hubspot/codegen/crm/{objects/feedback_submissions/models/public_merge_input.rb → commerce/invoices/models/collection_response_with_total_simple_public_object_forward_paging.rb} +37 -26
- data/lib/hubspot/codegen/crm/commerce/invoices/models/error.rb +307 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/error_detail.rb +273 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/filter.rb +308 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/filter_group.rb +232 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/forward_paging.rb +225 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/next_page.rb +239 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/paging.rb +234 -0
- data/lib/hubspot/codegen/crm/{objects/feedback_submissions/models/batch_input_simple_public_object_input_for_create.rb → commerce/invoices/models/previous_page.rb} +26 -19
- data/lib/hubspot/codegen/crm/commerce/invoices/models/public_associations_for_object.rb +246 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/public_object_id.rb +230 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/public_object_search_request.rb +276 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/simple_public_object.rb +303 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/simple_public_object_batch_input.rb +264 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/simple_public_object_batch_input_upsert.rb +264 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/simple_public_object_id.rb +230 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/simple_public_object_input.rb +241 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/simple_public_object_input_for_create.rb +257 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/simple_public_object_with_associations.rb +314 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/simple_public_upsert_object.rb +317 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/standard_error.rb +324 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/value_with_timestamp.rb +285 -0
- data/lib/hubspot/codegen/crm/exports/api/public_exports_api.rb +157 -0
- data/lib/hubspot/codegen/crm/exports/api_client.rb +410 -0
- data/lib/hubspot/codegen/crm/exports/api_error.rb +61 -0
- data/lib/hubspot/codegen/crm/exports/configuration.rb +287 -0
- data/lib/hubspot/codegen/crm/exports/models/action_response_with_single_result_uri.rb +339 -0
- data/lib/hubspot/codegen/crm/exports/models/error.rb +305 -0
- data/lib/hubspot/codegen/crm/exports/models/error_detail.rb +271 -0
- data/lib/hubspot/codegen/crm/exports/models/filter.rb +305 -0
- data/lib/hubspot/codegen/crm/exports/models/public_crm_search_request.rb +260 -0
- data/lib/hubspot/codegen/crm/exports/models/public_export_list_request.rb +420 -0
- data/lib/hubspot/codegen/crm/exports/models/public_export_list_request_all_of.rb +413 -0
- data/lib/hubspot/codegen/crm/exports/models/public_export_request.rb +109 -0
- data/lib/hubspot/codegen/crm/exports/models/public_export_view_request.rb +415 -0
- data/lib/hubspot/codegen/crm/exports/models/public_export_view_request_all_of.rb +408 -0
- data/lib/hubspot/codegen/crm/exports/models/standard_error.rb +322 -0
- data/lib/hubspot/codegen/crm/exports/models/task_locator.rb +239 -0
- data/lib/hubspot/codegen/crm/extensions/calling/api/channel_connection_settings_api.rb +302 -0
- data/lib/hubspot/codegen/crm/extensions/calling/api/recording_settings_api.rb +12 -12
- data/lib/hubspot/codegen/crm/extensions/calling/api/settings_api.rb +10 -10
- data/lib/hubspot/codegen/crm/extensions/calling/models/channel_connection_settings_patch_request.rb +236 -0
- data/lib/hubspot/codegen/crm/extensions/calling/models/channel_connection_settings_request.rb +246 -0
- data/lib/hubspot/codegen/crm/extensions/calling/models/channel_connection_settings_response.rb +276 -0
- data/lib/hubspot/codegen/crm/extensions/calling/models/recording_settings_response.rb +1 -0
- data/lib/hubspot/codegen/crm/extensions/calling/models/settings_patch_request.rb +21 -1
- data/lib/hubspot/codegen/crm/extensions/calling/models/settings_request.rb +21 -1
- data/lib/hubspot/codegen/crm/extensions/calling/models/settings_response.rb +31 -1
- data/lib/hubspot/codegen/crm/imports/api/core_api.rb +4 -4
- data/lib/hubspot/codegen/crm/imports/api/public_imports_api.rb +6 -0
- data/lib/hubspot/codegen/crm/imports/models/import_row_core.rb +15 -1
- data/lib/hubspot/codegen/crm/imports/models/property_value.rb +514 -0
- data/lib/hubspot/codegen/crm/imports/models/public_import_error.rb +32 -5
- data/lib/hubspot/codegen/crm/imports/models/public_import_response.rb +17 -1
- data/lib/hubspot/codegen/crm/line_items/api/basic_api.rb +7 -6
- data/lib/hubspot/codegen/crm/line_items/api/batch_api.rb +11 -9
- data/lib/hubspot/codegen/crm/line_items/api/search_api.rb +4 -0
- data/lib/hubspot/codegen/crm/line_items/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
- data/lib/hubspot/codegen/crm/line_items/models/batch_read_input_simple_public_object_id.rb +1 -0
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_object.rb +10 -1
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_batch_input.rb +2 -0
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_batch_input_for_create.rb +250 -0
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_batch_input_upsert.rb +1 -0
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_input.rb +1 -10
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_input_for_create.rb +1 -15
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_with_associations.rb +10 -1
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_upsert_object.rb +10 -1
- data/lib/hubspot/codegen/crm/lists/models/public_form_submission_filter_coalescing_refine_by.rb +1 -0
- data/lib/hubspot/codegen/crm/lists/models/public_indexed_time_point_index_reference.rb +1 -0
- data/lib/hubspot/codegen/crm/lists/models/public_property_association_filter_branch_filter_branches_inner.rb +1 -0
- data/lib/hubspot/codegen/crm/lists/models/public_property_association_filter_branch_filters_inner.rb +1 -0
- data/lib/hubspot/codegen/crm/lists/models/public_survey_monkey_value_filter_value_comparison.rb +1 -0
- data/lib/hubspot/codegen/crm/lists/models/public_time_point_operation_time_point.rb +1 -0
- data/lib/hubspot/codegen/crm/objects/api/basic_api.rb +2 -1
- data/lib/hubspot/codegen/crm/objects/api/batch_api.rb +12 -10
- data/lib/hubspot/codegen/crm/objects/api/search_api.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/api_client.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/calls/api/basic_api.rb +13 -12
- data/lib/hubspot/codegen/crm/objects/calls/api/batch_api.rb +17 -9
- data/lib/hubspot/codegen/crm/objects/calls/api/search_api.rb +4 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
- data/lib/hubspot/codegen/crm/objects/calls/models/batch_read_input_simple_public_object_id.rb +1 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_batch_input.rb +2 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_batch_input_for_create.rb +252 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_batch_input_upsert.rb +1 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_input.rb +1 -10
- data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_input_for_create.rb +1 -15
- data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_with_associations.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_upsert_object.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/communications/api/basic_api.rb +13 -12
- data/lib/hubspot/codegen/crm/objects/communications/api/batch_api.rb +17 -9
- data/lib/hubspot/codegen/crm/objects/communications/api/search_api.rb +4 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
- data/lib/hubspot/codegen/crm/objects/communications/models/batch_read_input_simple_public_object_id.rb +1 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_batch_input.rb +2 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_batch_input_for_create.rb +252 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_batch_input_upsert.rb +1 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_input.rb +1 -10
- data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_input_for_create.rb +1 -15
- data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_with_associations.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_upsert_object.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/configuration.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/deal_splits/api/batch_api.rb +160 -0
- data/lib/hubspot/codegen/crm/objects/deal_splits/api_client.rb +412 -0
- data/lib/hubspot/codegen/crm/objects/deal_splits/api_error.rb +63 -0
- data/lib/hubspot/codegen/crm/objects/deal_splits/configuration.rb +289 -0
- data/lib/hubspot/codegen/crm/objects/deal_splits/models/batch_input_public_object_id.rb +232 -0
- data/lib/hubspot/codegen/crm/objects/deal_splits/models/batch_response_deal_to_deal_splits.rb +328 -0
- data/lib/hubspot/codegen/crm/objects/deal_splits/models/batch_response_deal_to_deal_splits_with_errors.rb +348 -0
- data/lib/hubspot/codegen/crm/objects/deal_splits/models/deal_to_deal_splits.rb +246 -0
- data/lib/hubspot/codegen/crm/objects/deal_splits/models/error.rb +307 -0
- data/lib/hubspot/codegen/crm/objects/deal_splits/models/error_detail.rb +273 -0
- data/lib/hubspot/codegen/crm/objects/{feedback_submissions/models/public_gdpr_delete_input.rb → deal_splits/models/public_deal_split_input.rb} +27 -22
- data/lib/hubspot/codegen/crm/objects/deal_splits/models/public_deal_splits_batch_create_request.rb +232 -0
- data/lib/hubspot/codegen/crm/objects/deal_splits/models/public_deal_splits_create_request.rb +246 -0
- data/lib/hubspot/codegen/crm/objects/{feedback_submissions → deal_splits}/models/public_object_id.rb +5 -5
- data/lib/hubspot/codegen/crm/objects/deal_splits/models/simple_public_object.rb +303 -0
- data/lib/hubspot/codegen/crm/objects/deal_splits/models/standard_error.rb +331 -0
- data/lib/hubspot/codegen/crm/objects/deal_splits/models/value_with_timestamp.rb +285 -0
- data/lib/hubspot/codegen/crm/objects/emails/api/basic_api.rb +7 -6
- data/lib/hubspot/codegen/crm/objects/emails/api/batch_api.rb +11 -9
- data/lib/hubspot/codegen/crm/objects/emails/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
- data/lib/hubspot/codegen/crm/objects/emails/models/batch_read_input_simple_public_object_id.rb +1 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_batch_input.rb +2 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_batch_input_for_create.rb +252 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_batch_input_upsert.rb +1 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_input.rb +1 -10
- data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_input_for_create.rb +1 -15
- data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_with_associations.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_upsert_object.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/basic_api.rb +0 -208
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/batch_api.rb +0 -198
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/public_object_search_request.rb +0 -25
- data/lib/hubspot/codegen/crm/objects/goals/api/basic_api.rb +208 -0
- data/lib/hubspot/codegen/crm/objects/goals/api/batch_api.rb +266 -0
- data/lib/hubspot/codegen/crm/objects/{feedback_submissions → goals}/models/association_spec.rb +5 -5
- data/lib/hubspot/codegen/crm/objects/{feedback_submissions → goals}/models/batch_input_simple_public_object_batch_input.rb +5 -5
- data/lib/hubspot/codegen/crm/objects/goals/models/batch_input_simple_public_object_batch_input_upsert.rb +232 -0
- data/lib/hubspot/codegen/crm/objects/{feedback_submissions → goals}/models/batch_input_simple_public_object_id.rb +5 -5
- data/lib/hubspot/codegen/crm/objects/{tasks → goals}/models/batch_input_simple_public_object_input_for_create.rb +5 -5
- data/lib/hubspot/codegen/crm/objects/goals/models/batch_response_simple_public_upsert_object.rb +328 -0
- data/lib/hubspot/codegen/crm/objects/goals/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
- data/lib/hubspot/codegen/crm/objects/{feedback_submissions → goals}/models/public_associations_for_object.rb +5 -5
- data/lib/hubspot/codegen/crm/objects/goals/models/public_object_id.rb +230 -0
- data/lib/hubspot/codegen/crm/objects/{feedback_submissions → goals}/models/simple_public_object_batch_input.rb +15 -6
- data/lib/hubspot/codegen/crm/objects/goals/models/simple_public_object_batch_input_upsert.rb +264 -0
- data/lib/hubspot/codegen/crm/objects/{feedback_submissions → goals}/models/simple_public_object_input.rb +15 -6
- data/lib/hubspot/codegen/crm/objects/{feedback_submissions → goals}/models/simple_public_object_input_for_create.rb +15 -6
- data/lib/hubspot/codegen/crm/objects/goals/models/simple_public_upsert_object.rb +317 -0
- data/lib/hubspot/codegen/crm/objects/leads/api/basic_api.rb +1 -0
- data/lib/hubspot/codegen/crm/objects/leads/api/batch_api.rb +13 -11
- data/lib/hubspot/codegen/crm/objects/leads/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
- data/lib/hubspot/codegen/crm/objects/leads/models/batch_read_input_simple_public_object_id.rb +1 -0
- data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_object.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_object_batch_input.rb +2 -0
- data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_object_batch_input_for_create.rb +252 -0
- data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_object_batch_input_upsert.rb +1 -0
- data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_object_input.rb +1 -10
- data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_object_input_for_create.rb +1 -15
- data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_object_with_associations.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_upsert_object.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/meetings/api/basic_api.rb +7 -6
- data/lib/hubspot/codegen/crm/objects/meetings/api/batch_api.rb +11 -9
- data/lib/hubspot/codegen/crm/objects/meetings/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
- data/lib/hubspot/codegen/crm/objects/meetings/models/batch_read_input_simple_public_object_id.rb +1 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_batch_input.rb +2 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_batch_input_for_create.rb +252 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_batch_input_upsert.rb +1 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_input.rb +1 -10
- data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_input_for_create.rb +1 -15
- data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_with_associations.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_upsert_object.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/models/associated_id.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/association_spec.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/batch_input_simple_public_object_batch_input.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +5 -5
- data/lib/hubspot/codegen/crm/objects/models/batch_input_simple_public_object_batch_input_upsert.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/batch_input_simple_public_object_id.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/batch_read_input_simple_public_object_id.rb +2 -2
- data/lib/hubspot/codegen/crm/objects/models/batch_response_simple_public_object.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/batch_response_simple_public_object_with_errors.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/batch_response_simple_public_upsert_object.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/batch_response_simple_public_upsert_object_with_errors.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/collection_response_associated_id.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/collection_response_simple_public_object_with_associations_forward_paging.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/collection_response_with_total_simple_public_object_forward_paging.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/error.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/filter.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/filter_group.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/forward_paging.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/next_page.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/paging.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/previous_page.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/public_associations_for_object.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/public_object_id.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/public_object_search_request.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object.rb +11 -2
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object_batch_input.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object_batch_input_for_create.rb +250 -0
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object_batch_input_upsert.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object_id.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object_input.rb +2 -11
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object_input_for_create.rb +2 -16
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object_with_associations.rb +11 -2
- data/lib/hubspot/codegen/crm/objects/models/simple_public_upsert_object.rb +11 -2
- data/lib/hubspot/codegen/crm/objects/models/standard_error.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/value_with_timestamp.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/notes/api/basic_api.rb +7 -6
- data/lib/hubspot/codegen/crm/objects/notes/api/batch_api.rb +11 -9
- data/lib/hubspot/codegen/crm/objects/notes/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
- data/lib/hubspot/codegen/crm/objects/notes/models/batch_read_input_simple_public_object_id.rb +1 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_batch_input.rb +2 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_batch_input_for_create.rb +252 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_batch_input_upsert.rb +1 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_input.rb +1 -10
- data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_input_for_create.rb +1 -15
- data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_with_associations.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_upsert_object.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/postal_mail/api/basic_api.rb +7 -6
- data/lib/hubspot/codegen/crm/objects/postal_mail/api/batch_api.rb +11 -9
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/batch_read_input_simple_public_object_id.rb +1 -0
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_batch_input.rb +2 -0
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_batch_input_for_create.rb +252 -0
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_batch_input_upsert.rb +1 -0
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_input.rb +1 -10
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_input_for_create.rb +1 -15
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_with_associations.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_upsert_object.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/tasks/api/basic_api.rb +7 -6
- data/lib/hubspot/codegen/crm/objects/tasks/api/batch_api.rb +11 -9
- data/lib/hubspot/codegen/crm/objects/tasks/models/batch_input_simple_public_object_batch_input_for_create.rb +232 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/batch_read_input_simple_public_object_id.rb +1 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_batch_input.rb +2 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_batch_input_for_create.rb +252 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_batch_input_upsert.rb +1 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_input.rb +1 -10
- data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_input_for_create.rb +1 -15
- data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_with_associations.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_upsert_object.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/taxes/api/basic_api.rb +7 -6
- data/lib/hubspot/codegen/crm/objects/taxes/api/batch_api.rb +11 -9
- data/lib/hubspot/codegen/crm/objects/taxes/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
- data/lib/hubspot/codegen/crm/objects/taxes/models/batch_read_input_simple_public_object_id.rb +1 -0
- data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object_batch_input.rb +2 -0
- data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object_batch_input_for_create.rb +252 -0
- data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object_batch_input_upsert.rb +1 -0
- data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object_input.rb +1 -10
- data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object_input_for_create.rb +1 -15
- data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object_with_associations.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_upsert_object.rb +10 -1
- data/lib/hubspot/codegen/crm/owners/models/public_owner.rb +58 -1
- data/lib/hubspot/codegen/crm/quotes/api/basic_api.rb +7 -6
- data/lib/hubspot/codegen/crm/quotes/api/batch_api.rb +11 -9
- data/lib/hubspot/codegen/crm/quotes/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
- data/lib/hubspot/codegen/crm/quotes/models/batch_read_input_simple_public_object_id.rb +1 -0
- data/lib/hubspot/codegen/crm/quotes/models/simple_public_object.rb +10 -1
- data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_batch_input.rb +2 -0
- data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_batch_input_for_create.rb +250 -0
- data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_batch_input_upsert.rb +1 -0
- data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_input.rb +1 -10
- data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_input_for_create.rb +1 -15
- data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_with_associations.rb +10 -1
- data/lib/hubspot/codegen/crm/quotes/models/simple_public_upsert_object.rb +10 -1
- data/lib/hubspot/codegen/events/api/events_api.rb +22 -22
- data/lib/hubspot/codegen/events/send/api/{custom_event_data_api.rb → basic_api.rb} +13 -10
- data/lib/hubspot/codegen/events/send/api/batch_api.rb +94 -0
- data/lib/hubspot/codegen/events/send/api_client.rb +1 -1
- data/lib/hubspot/codegen/events/send/api_error.rb +1 -1
- data/lib/hubspot/codegen/events/send/configuration.rb +1 -1
- data/lib/hubspot/codegen/events/send/models/batched_behavioral_event_http_completion_request.rb +230 -0
- data/lib/hubspot/codegen/events/send/models/behavioral_event_http_completion_request.rb +8 -7
- data/lib/hubspot/codegen/events/send/models/error.rb +1 -1
- data/lib/hubspot/codegen/events/send/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/marketing/emails/api/marketing_emails_api.rb +1226 -0
- data/lib/hubspot/codegen/marketing/emails/api/statistics_api.rb +168 -0
- data/lib/hubspot/codegen/marketing/emails/api_client.rb +410 -0
- data/lib/hubspot/codegen/marketing/emails/api_error.rb +61 -0
- data/lib/hubspot/codegen/marketing/emails/configuration.rb +287 -0
- data/lib/hubspot/codegen/marketing/emails/models/ab_test_create_request_v_next.rb +244 -0
- data/lib/hubspot/codegen/marketing/emails/models/aggregate_email_statistics.rb +248 -0
- data/lib/hubspot/codegen/marketing/emails/models/collection_response_with_total_email_statistic_interval_no_paging.rb +247 -0
- data/lib/hubspot/codegen/marketing/emails/models/collection_response_with_total_public_email_forward_paging.rb +256 -0
- data/lib/hubspot/codegen/marketing/emails/models/collection_response_with_total_version_public_email.rb +256 -0
- data/lib/hubspot/codegen/marketing/emails/models/content_clone_request_v_next.rb +240 -0
- data/lib/hubspot/codegen/marketing/emails/models/email_create_request.rb +468 -0
- data/lib/hubspot/codegen/marketing/emails/models/email_statistic_interval.rb +232 -0
- data/lib/hubspot/codegen/marketing/emails/models/email_statistics_data.rb +282 -0
- data/lib/hubspot/codegen/marketing/emails/models/email_update_request.rb +453 -0
- data/lib/hubspot/codegen/marketing/emails/models/error.rb +305 -0
- data/lib/hubspot/codegen/marketing/emails/models/error_detail.rb +271 -0
- data/lib/hubspot/codegen/marketing/emails/models/forward_paging.rb +223 -0
- data/lib/hubspot/codegen/marketing/emails/models/interval.rb +242 -0
- data/lib/hubspot/codegen/marketing/emails/models/next_page.rb +240 -0
- data/lib/hubspot/codegen/marketing/emails/models/paging.rb +238 -0
- data/lib/hubspot/codegen/marketing/emails/models/previous_page.rb +240 -0
- data/lib/hubspot/codegen/marketing/emails/models/public_button_style_settings.rb +241 -0
- data/lib/hubspot/codegen/marketing/emails/models/public_divider_style_settings.rb +241 -0
- data/lib/hubspot/codegen/marketing/emails/models/public_email.rb +654 -0
- data/lib/hubspot/codegen/marketing/emails/models/public_email_content.rb +304 -0
- data/lib/hubspot/codegen/marketing/emails/models/public_email_from_details.rb +245 -0
- data/lib/hubspot/codegen/marketing/emails/models/public_email_recipients.rb +239 -0
- data/lib/hubspot/codegen/marketing/emails/models/public_email_style_settings.rb +484 -0
- data/lib/hubspot/codegen/marketing/emails/models/public_email_subscription_details.rb +245 -0
- data/lib/hubspot/codegen/marketing/emails/models/public_email_testing_details.rb +355 -0
- data/lib/hubspot/codegen/marketing/emails/models/public_email_to_details.rb +262 -0
- data/lib/hubspot/codegen/marketing/emails/models/public_font_style.rb +268 -0
- data/lib/hubspot/codegen/marketing/emails/models/public_rss_email_details.rb +307 -0
- data/lib/hubspot/codegen/marketing/emails/models/public_webversion_details.rb +311 -0
- data/lib/hubspot/codegen/marketing/emails/models/version_public_email.rb +272 -0
- data/lib/hubspot/codegen/marketing/emails/models/version_user.rb +260 -0
- data/lib/hubspot/codegen/marketing/events/api/add_event_attendees_api.rb +352 -0
- data/lib/hubspot/codegen/marketing/events/api/basic_api.rb +177 -264
- data/lib/hubspot/codegen/marketing/events/api/batch_api.rb +298 -0
- data/lib/hubspot/codegen/marketing/events/api/change_property_api.rb +177 -0
- data/lib/hubspot/codegen/marketing/events/api/identifiers_api.rb +153 -0
- data/lib/hubspot/codegen/marketing/events/api/list_associations_api.rb +2 -2
- data/lib/hubspot/codegen/marketing/events/api/{participant_state_api.rb → retrieve_participant_state_api.rb} +23 -23
- data/lib/hubspot/codegen/marketing/events/api/subscriber_state_changes_api.rb +8 -8
- data/lib/hubspot/codegen/marketing/events/models/app_info.rb +242 -0
- data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_public_object_id_delete_request.rb +230 -0
- data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_public_update_request_full_v2.rb +230 -0
- data/lib/hubspot/codegen/marketing/events/models/batch_response_marketing_event_public_default_response_v2.rb +326 -0
- data/lib/hubspot/codegen/marketing/events/models/batch_response_marketing_event_public_default_response_v2_with_errors.rb +346 -0
- data/lib/hubspot/codegen/marketing/events/models/collection_response_marketing_event_public_read_response_v2_forward_paging.rb +239 -0
- data/lib/hubspot/codegen/marketing/events/models/{collection_response_marketing_event_external_unique_identifier_no_paging.rb → collection_response_search_public_response_wrapper_no_paging.rb} +4 -4
- data/lib/hubspot/codegen/marketing/events/models/collection_response_with_total_marketing_event_identifiers_response_no_paging.rb +244 -0
- data/lib/hubspot/codegen/marketing/events/models/crm_property_wrapper.rb +242 -0
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_default_response.rb +13 -4
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_email_subscriber.rb +1 -1
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_identifiers_response.rb +274 -0
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_default_response.rb +10 -1
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_default_response_v2.rb +367 -0
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_object_id_delete_request.rb +228 -0
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_read_response.rb +10 -1
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_read_response_v2.rb +421 -0
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_update_request_full_v2.rb +316 -0
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_update_request_v2.rb +302 -0
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_subscriber.rb +1 -1
- data/lib/hubspot/codegen/marketing/events/models/property_value.rb +2 -2
- data/lib/hubspot/codegen/marketing/events/models/search_public_response_wrapper.rb +270 -0
- data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition.rb +0 -1
- data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition_create_request.rb +0 -1
- data/lib/hubspot/codegen/webhooks/api/settings_api.rb +18 -6
- data/lib/hubspot/codegen/webhooks/api/subscriptions_api.rb +42 -18
- data/lib/hubspot/codegen/webhooks/models/settings_change_request.rb +1 -0
- data/lib/hubspot/codegen/webhooks/models/settings_response.rb +1 -0
- data/lib/hubspot/codegen/webhooks/models/subscription_create_request.rb +13 -3
- data/lib/hubspot/codegen/webhooks/models/subscription_list_response.rb +1 -0
- data/lib/hubspot/codegen/webhooks/models/subscription_patch_request.rb +1 -0
- data/lib/hubspot/codegen/webhooks/models/subscription_response.rb +13 -3
- data/lib/hubspot/codegen/webhooks/models/throttling_settings.rb +2 -50
- data/lib/hubspot/discovery/cms/blogs/blog_posts/api/{blog_posts_api.rb → basic_api.rb} +1 -1
- data/lib/hubspot/discovery/cms/blogs/blog_posts/api/batch_api.rb +15 -0
- data/lib/hubspot/discovery/cms/blogs/blog_posts/api/multi_language_api.rb +15 -0
- data/lib/hubspot/discovery/cms/blogs/blog_posts/client.rb +3 -1
- data/lib/hubspot/discovery/crm/{objects/feedback_submissions/api/public_object_api.rb → associations/v4/api/report_api.rb} +3 -3
- data/lib/hubspot/discovery/crm/associations/v4/client.rb +1 -0
- data/lib/hubspot/discovery/crm/associations/v4/schema/api/definition_configurations_api.rb +17 -0
- data/lib/hubspot/discovery/crm/associations/v4/schema/client.rb +1 -0
- data/lib/hubspot/discovery/crm/client.rb +2 -0
- data/lib/hubspot/discovery/crm/commerce/client.rb +19 -0
- data/lib/hubspot/discovery/crm/commerce/invoices/api/basic_api.rb +15 -0
- data/lib/hubspot/discovery/crm/commerce/invoices/api/batch_api.rb +15 -0
- data/lib/hubspot/discovery/crm/commerce/invoices/api/search_api.rb +15 -0
- data/lib/hubspot/discovery/crm/commerce/invoices/client.rb +23 -0
- data/lib/hubspot/discovery/crm/exports/api/public_exports_api.rb +13 -0
- data/lib/hubspot/discovery/crm/exports/client.rb +19 -0
- data/lib/hubspot/discovery/crm/extensions/calling/api/channel_connection_settings_api.rb +15 -0
- data/lib/hubspot/discovery/crm/extensions/calling/client.rb +1 -0
- data/lib/hubspot/discovery/crm/objects/client.rb +1 -3
- data/lib/hubspot/discovery/crm/objects/{feedback_submissions/api/gdpr_api.rb → deal_splits/api/batch_api.rb} +2 -2
- data/lib/hubspot/discovery/crm/objects/deal_splits/client.rb +21 -0
- data/lib/hubspot/discovery/crm/objects/feedback_submissions/client.rb +0 -2
- data/lib/hubspot/discovery/events/send/api/{custom_event_data_api.rb → basic_api.rb} +1 -1
- data/lib/hubspot/discovery/events/send/api/batch_api.rb +13 -0
- data/lib/hubspot/discovery/events/send/client.rb +2 -1
- data/lib/hubspot/discovery/marketing/client.rb +1 -0
- data/lib/hubspot/discovery/marketing/emails/api/marketing_emails_api.rb +13 -0
- data/lib/hubspot/discovery/marketing/emails/api/statistics_api.rb +13 -0
- data/lib/hubspot/discovery/marketing/emails/client.rb +20 -0
- data/lib/hubspot/discovery/marketing/events/api/{attendance_subscriber_state_changes_api.rb → add_event_attendees_api.rb} +1 -1
- data/lib/hubspot/discovery/marketing/events/api/{participant_state_api.rb → batch_api.rb} +1 -1
- data/lib/hubspot/discovery/marketing/events/api/change_property_api.rb +13 -0
- data/lib/hubspot/discovery/marketing/events/api/identifiers_api.rb +13 -0
- data/lib/hubspot/discovery/marketing/events/api/retrieve_participant_state_api.rb +13 -0
- data/lib/hubspot/discovery/marketing/events/client.rb +5 -2
- data/lib/hubspot/helpers/requests/http_auth.rb +33 -0
- data/lib/hubspot/helpers/requests/http_request_builder.rb +120 -0
- data/lib/hubspot/helpers/signature.rb +54 -26
- data/lib/hubspot/version.rb +1 -1
- data/spec/discovery/client_spec.rb +1 -0
- data/spec/discovery/cms/blogs/blog-posts/{blog_posts_api_spec.rb → basic_api_spec.rb} +2 -6
- data/spec/discovery/cms/blogs/blog-posts/batch_api_spec.rb +11 -0
- data/spec/discovery/cms/blogs/blog-posts/multi_language_api_spec.rb +11 -0
- data/spec/discovery/crm/associations/v4/report_api_spec.rb +7 -0
- data/spec/discovery/crm/associations/v4/schema/definition_configurations_api_spec.rb +11 -0
- data/spec/discovery/crm/associations/v4/schema/definitions_api_spec.rb +2 -2
- data/spec/discovery/crm/commerce/client_spec.rb +7 -0
- data/spec/discovery/crm/commerce/invoices/basic_api_spec.rb +11 -0
- data/spec/discovery/crm/commerce/invoices/batch_api_spec.rb +11 -0
- data/spec/discovery/crm/commerce/invoices/search_api_spec.rb +7 -0
- data/spec/discovery/crm/exports/public_exports_api_spec.rb +8 -0
- data/spec/discovery/crm/extensions/calling/channel_connection_settings_api_spec.rb +10 -0
- data/spec/discovery/crm/objects/deal_splits/batch_api_spec.rb +8 -0
- data/spec/discovery/crm/objects/feedback_submissions/basic_api_spec.rb +0 -3
- data/spec/discovery/crm/objects/feedback_submissions/batch_api_spec.rb +0 -3
- data/spec/discovery/crm/objects/goals/basic_api_spec.rb +3 -0
- data/spec/discovery/crm/objects/goals/batch_api_spec.rb +4 -0
- data/spec/discovery/events/send/basic_api_spec.rb +7 -0
- data/spec/discovery/events/send/batch_api_spec.rb +7 -0
- data/spec/discovery/marketing/emails/marketing_emails_api_spec.rb +24 -0
- data/spec/discovery/marketing/emails/statistics_api_spec.rb +8 -0
- data/spec/discovery/marketing/events/add_event_attendees_api_spec.rb +10 -0
- data/spec/discovery/marketing/events/basic_api_spec.rb +5 -6
- data/spec/discovery/marketing/events/batch_api_spec.rb +10 -0
- data/spec/discovery/marketing/events/change_property_api_spec.rb +8 -0
- data/spec/discovery/marketing/events/identifiers_api_spec.rb +8 -0
- data/spec/discovery/marketing/events/{participant_state_api_spec.rb → retrieve_participant_state_api_spec.rb} +2 -2
- data/spec/helpers/requests/http_auth_spec.rb +58 -0
- data/spec/helpers/requests/http_request_spec.rb +71 -0
- data/spec/helpers/signature_spec.rb +15 -5
- metadata +276 -52
- data/lib/hubspot/codegen/cms/blogs/blog_posts/api/blog_posts_api.rb +0 -1694
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/gdpr_api.rb +0 -96
- data/lib/hubspot/codegen/marketing/events/api/attendance_subscriber_state_changes_api.rb +0 -192
- data/spec/discovery/crm/objects/feedback_submissions/gdpr_api_spec.rb +0 -7
- data/spec/discovery/crm/objects/feedback_submissions/public_object_api_spec.rb +0 -7
- data/spec/discovery/events/send/custom_event_data_api_spec.rb +0 -7
- data/spec/discovery/marketing/events/attendance_subscriber_state_changes_api_spec.rb +0 -8
@@ -16,16 +16,17 @@ module Hubspot
|
|
16
16
|
module Marketing
|
17
17
|
module Events
|
18
18
|
class BasicApi
|
19
|
+
include Hubspot::Helpers::GetAllHelper
|
19
20
|
|
20
21
|
attr_accessor :api_client
|
21
22
|
|
22
23
|
def initialize(api_client = ApiClient.default)
|
23
24
|
@api_client = api_client
|
24
25
|
end
|
25
|
-
# Delete
|
26
|
-
# Deletes
|
27
|
-
# @param external_event_id [String] The id of the marketing event
|
28
|
-
# @param external_account_id [String] The
|
26
|
+
# Delete Marketing Event by External Ids
|
27
|
+
# Deletes the existing Marketing Event with the specified externalAccountId, externalEventId, if it exists. Only Marketing Events created by the same app can be deleted.
|
28
|
+
# @param external_event_id [String] The id of the marketing event in the external event application
|
29
|
+
# @param external_account_id [String] The accountId that is associated with this marketing event in the external event application
|
29
30
|
# @param [Hash] opts the optional parameters
|
30
31
|
# @return [nil]
|
31
32
|
def archive(external_event_id, external_account_id, opts = {})
|
@@ -33,10 +34,10 @@ module Hubspot
|
|
33
34
|
nil
|
34
35
|
end
|
35
36
|
|
36
|
-
# Delete
|
37
|
-
# Deletes
|
38
|
-
# @param external_event_id [String] The id of the marketing event
|
39
|
-
# @param external_account_id [String] The
|
37
|
+
# Delete Marketing Event by External Ids
|
38
|
+
# Deletes the existing Marketing Event with the specified externalAccountId, externalEventId, if it exists. Only Marketing Events created by the same app can be deleted.
|
39
|
+
# @param external_event_id [String] The id of the marketing event in the external event application
|
40
|
+
# @param external_account_id [String] The accountId that is associated with this marketing event in the external event application
|
40
41
|
# @param [Hash] opts the optional parameters
|
41
42
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
42
43
|
def archive_with_http_info(external_event_id, external_account_id, opts = {})
|
@@ -92,31 +93,31 @@ module Hubspot
|
|
92
93
|
return data, status_code, headers
|
93
94
|
end
|
94
95
|
|
95
|
-
# Delete
|
96
|
-
#
|
97
|
-
# @param
|
96
|
+
# Delete Marketing Event by objectId
|
97
|
+
# Deletes the existing Marketing Event with the specified objectId, if it exists.
|
98
|
+
# @param object_id [String] The internal ID of the marketing event in HubSpot
|
98
99
|
# @param [Hash] opts the optional parameters
|
99
|
-
# @return [
|
100
|
-
def
|
101
|
-
|
102
|
-
|
100
|
+
# @return [nil]
|
101
|
+
def archive_by_object_id(object_id, opts = {})
|
102
|
+
archive_by_object_id_with_http_info(object_id, opts)
|
103
|
+
nil
|
103
104
|
end
|
104
105
|
|
105
|
-
# Delete
|
106
|
-
#
|
107
|
-
# @param
|
106
|
+
# Delete Marketing Event by objectId
|
107
|
+
# Deletes the existing Marketing Event with the specified objectId, if it exists.
|
108
|
+
# @param object_id [String] The internal ID of the marketing event in HubSpot
|
108
109
|
# @param [Hash] opts the optional parameters
|
109
|
-
# @return [Array<(
|
110
|
-
def
|
110
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
111
|
+
def archive_by_object_id_with_http_info(object_id, opts = {})
|
111
112
|
if @api_client.config.debugging
|
112
|
-
@api_client.config.logger.debug 'Calling API: BasicApi.
|
113
|
+
@api_client.config.logger.debug 'Calling API: BasicApi.archive_by_object_id ...'
|
113
114
|
end
|
114
|
-
# verify the required parameter '
|
115
|
-
if @api_client.config.client_side_validation &&
|
116
|
-
fail ArgumentError, "Missing the required parameter '
|
115
|
+
# verify the required parameter 'object_id' is set
|
116
|
+
if @api_client.config.client_side_validation && object_id.nil?
|
117
|
+
fail ArgumentError, "Missing the required parameter 'object_id' when calling BasicApi.archive_by_object_id"
|
117
118
|
end
|
118
119
|
# resource path
|
119
|
-
local_var_path = '/marketing/v3/marketing-events/
|
120
|
+
local_var_path = '/marketing/v3/marketing-events/{objectId}'.sub('{' + 'objectId' + '}', CGI.escape(object_id.to_s))
|
120
121
|
|
121
122
|
# query parameters
|
122
123
|
query_params = opts[:query_params] || {}
|
@@ -125,26 +126,21 @@ module Hubspot
|
|
125
126
|
header_params = opts[:header_params] || {}
|
126
127
|
# HTTP header 'Accept' (if needed)
|
127
128
|
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
128
|
-
# HTTP header 'Content-Type'
|
129
|
-
content_type = @api_client.select_header_content_type(['application/json'])
|
130
|
-
if !content_type.nil?
|
131
|
-
header_params['Content-Type'] = content_type
|
132
|
-
end
|
133
129
|
|
134
130
|
# form parameters
|
135
131
|
form_params = opts[:form_params] || {}
|
136
132
|
|
137
133
|
# http body (model)
|
138
|
-
post_body = opts[:debug_body]
|
134
|
+
post_body = opts[:debug_body]
|
139
135
|
|
140
136
|
# return_type
|
141
|
-
return_type = opts[:debug_return_type]
|
137
|
+
return_type = opts[:debug_return_type]
|
142
138
|
|
143
139
|
# auth_names
|
144
140
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
145
141
|
|
146
142
|
new_options = opts.merge(
|
147
|
-
:operation => :"BasicApi.
|
143
|
+
:operation => :"BasicApi.archive_by_object_id",
|
148
144
|
:header_params => header_params,
|
149
145
|
:query_params => query_params,
|
150
146
|
:form_params => form_params,
|
@@ -153,38 +149,38 @@ module Hubspot
|
|
153
149
|
:return_type => return_type
|
154
150
|
)
|
155
151
|
|
156
|
-
data, status_code, headers = @api_client.call_api(:
|
152
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
157
153
|
if @api_client.config.debugging
|
158
|
-
@api_client.config.logger.debug "API called: BasicApi#
|
154
|
+
@api_client.config.logger.debug "API called: BasicApi#archive_by_object_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
159
155
|
end
|
160
156
|
return data, status_code, headers
|
161
157
|
end
|
162
158
|
|
163
|
-
# Create
|
164
|
-
#
|
165
|
-
# @param
|
159
|
+
# Create a marketing event
|
160
|
+
# Creates a new marketing event in HubSpot
|
161
|
+
# @param marketing_event_create_request_params [MarketingEventCreateRequestParams]
|
166
162
|
# @param [Hash] opts the optional parameters
|
167
|
-
# @return [
|
168
|
-
def
|
169
|
-
data, _status_code, _headers =
|
163
|
+
# @return [MarketingEventDefaultResponse]
|
164
|
+
def create(marketing_event_create_request_params, opts = {})
|
165
|
+
data, _status_code, _headers = create_with_http_info(marketing_event_create_request_params, opts)
|
170
166
|
data
|
171
167
|
end
|
172
168
|
|
173
|
-
# Create
|
174
|
-
#
|
175
|
-
# @param
|
169
|
+
# Create a marketing event
|
170
|
+
# Creates a new marketing event in HubSpot
|
171
|
+
# @param marketing_event_create_request_params [MarketingEventCreateRequestParams]
|
176
172
|
# @param [Hash] opts the optional parameters
|
177
|
-
# @return [Array<(
|
178
|
-
def
|
173
|
+
# @return [Array<(MarketingEventDefaultResponse, Integer, Hash)>] MarketingEventDefaultResponse data, response status code and response headers
|
174
|
+
def create_with_http_info(marketing_event_create_request_params, opts = {})
|
179
175
|
if @api_client.config.debugging
|
180
|
-
@api_client.config.logger.debug 'Calling API: BasicApi.
|
176
|
+
@api_client.config.logger.debug 'Calling API: BasicApi.create ...'
|
181
177
|
end
|
182
|
-
# verify the required parameter '
|
183
|
-
if @api_client.config.client_side_validation &&
|
184
|
-
fail ArgumentError, "Missing the required parameter '
|
178
|
+
# verify the required parameter 'marketing_event_create_request_params' is set
|
179
|
+
if @api_client.config.client_side_validation && marketing_event_create_request_params.nil?
|
180
|
+
fail ArgumentError, "Missing the required parameter 'marketing_event_create_request_params' when calling BasicApi.create"
|
185
181
|
end
|
186
182
|
# resource path
|
187
|
-
local_var_path = '/marketing/v3/marketing-events/events
|
183
|
+
local_var_path = '/marketing/v3/marketing-events/events'
|
188
184
|
|
189
185
|
# query parameters
|
190
186
|
query_params = opts[:query_params] || {}
|
@@ -203,16 +199,16 @@ module Hubspot
|
|
203
199
|
form_params = opts[:form_params] || {}
|
204
200
|
|
205
201
|
# http body (model)
|
206
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
202
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(marketing_event_create_request_params)
|
207
203
|
|
208
204
|
# return_type
|
209
|
-
return_type = opts[:debug_return_type] || '
|
205
|
+
return_type = opts[:debug_return_type] || 'MarketingEventDefaultResponse'
|
210
206
|
|
211
207
|
# auth_names
|
212
208
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
213
209
|
|
214
210
|
new_options = opts.merge(
|
215
|
-
:operation => :"BasicApi.
|
211
|
+
:operation => :"BasicApi.create",
|
216
212
|
:header_params => header_params,
|
217
213
|
:query_params => query_params,
|
218
214
|
:form_params => form_params,
|
@@ -223,46 +219,39 @@ module Hubspot
|
|
223
219
|
|
224
220
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
225
221
|
if @api_client.config.debugging
|
226
|
-
@api_client.config.logger.debug "API called: BasicApi#
|
222
|
+
@api_client.config.logger.debug "API called: BasicApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
227
223
|
end
|
228
224
|
return data, status_code, headers
|
229
225
|
end
|
230
226
|
|
231
|
-
#
|
232
|
-
#
|
233
|
-
# @param external_event_id [String] The id of the marketing event to mark as cancelled
|
234
|
-
# @param external_account_id [String] The account id associated with the marketing event
|
227
|
+
# Get all marketing event
|
228
|
+
# Returns all Marketing Events available on the portal, along with their properties, regardless of whether they were created manually or through the application. The marketing events returned by this endpoint are sorted by objectId.
|
235
229
|
# @param [Hash] opts the optional parameters
|
236
|
-
# @
|
237
|
-
|
238
|
-
|
230
|
+
# @option opts [String] :after The cursor indicating the position of the last retrieved item.
|
231
|
+
# @option opts [Integer] :limit The limit for response size. The default value is 10, the max number is 100 (default to 10)
|
232
|
+
# @return [CollectionResponseMarketingEventPublicReadResponseV2ForwardPaging]
|
233
|
+
def get_all(opts = {})
|
234
|
+
data, _status_code, _headers = get_all_with_http_info(opts)
|
239
235
|
data
|
240
236
|
end
|
241
237
|
|
242
|
-
#
|
243
|
-
#
|
244
|
-
# @param external_event_id [String] The id of the marketing event to mark as cancelled
|
245
|
-
# @param external_account_id [String] The account id associated with the marketing event
|
238
|
+
# Get all marketing event
|
239
|
+
# Returns all Marketing Events available on the portal, along with their properties, regardless of whether they were created manually or through the application. The marketing events returned by this endpoint are sorted by objectId.
|
246
240
|
# @param [Hash] opts the optional parameters
|
247
|
-
# @
|
248
|
-
|
241
|
+
# @option opts [String] :after The cursor indicating the position of the last retrieved item.
|
242
|
+
# @option opts [Integer] :limit The limit for response size. The default value is 10, the max number is 100 (default to 10)
|
243
|
+
# @return [Array<(CollectionResponseMarketingEventPublicReadResponseV2ForwardPaging, Integer, Hash)>] CollectionResponseMarketingEventPublicReadResponseV2ForwardPaging data, response status code and response headers
|
244
|
+
def get_all_with_http_info(opts = {})
|
249
245
|
if @api_client.config.debugging
|
250
|
-
@api_client.config.logger.debug 'Calling API: BasicApi.
|
251
|
-
end
|
252
|
-
# verify the required parameter 'external_event_id' is set
|
253
|
-
if @api_client.config.client_side_validation && external_event_id.nil?
|
254
|
-
fail ArgumentError, "Missing the required parameter 'external_event_id' when calling BasicApi.cancel"
|
255
|
-
end
|
256
|
-
# verify the required parameter 'external_account_id' is set
|
257
|
-
if @api_client.config.client_side_validation && external_account_id.nil?
|
258
|
-
fail ArgumentError, "Missing the required parameter 'external_account_id' when calling BasicApi.cancel"
|
246
|
+
@api_client.config.logger.debug 'Calling API: BasicApi.get_all ...'
|
259
247
|
end
|
260
248
|
# resource path
|
261
|
-
local_var_path = '/marketing/v3/marketing-events/
|
249
|
+
local_var_path = '/marketing/v3/marketing-events/'
|
262
250
|
|
263
251
|
# query parameters
|
264
252
|
query_params = opts[:query_params] || {}
|
265
|
-
query_params[:'
|
253
|
+
query_params[:'after'] = opts[:'after'] if !opts[:'after'].nil?
|
254
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
266
255
|
|
267
256
|
# header parameters
|
268
257
|
header_params = opts[:header_params] || {}
|
@@ -276,13 +265,13 @@ module Hubspot
|
|
276
265
|
post_body = opts[:debug_body]
|
277
266
|
|
278
267
|
# return_type
|
279
|
-
return_type = opts[:debug_return_type] || '
|
268
|
+
return_type = opts[:debug_return_type] || 'CollectionResponseMarketingEventPublicReadResponseV2ForwardPaging'
|
280
269
|
|
281
270
|
# auth_names
|
282
271
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
283
272
|
|
284
273
|
new_options = opts.merge(
|
285
|
-
:operation => :"BasicApi.
|
274
|
+
:operation => :"BasicApi.get_all",
|
286
275
|
:header_params => header_params,
|
287
276
|
:query_params => query_params,
|
288
277
|
:form_params => form_params,
|
@@ -291,79 +280,61 @@ module Hubspot
|
|
291
280
|
:return_type => return_type
|
292
281
|
)
|
293
282
|
|
294
|
-
data, status_code, headers = @api_client.call_api(:
|
283
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
295
284
|
if @api_client.config.debugging
|
296
|
-
@api_client.config.logger.debug "API called: BasicApi#
|
285
|
+
@api_client.config.logger.debug "API called: BasicApi#get_all\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
297
286
|
end
|
298
287
|
return data, status_code, headers
|
299
288
|
end
|
300
289
|
|
301
|
-
#
|
302
|
-
#
|
303
|
-
# @param
|
304
|
-
# @param external_account_id [String] The accountId that is associated with this marketing event in the external event application.
|
305
|
-
# @param marketing_event_complete_request_params [MarketingEventCompleteRequestParams]
|
290
|
+
# Get Marketing Event by objectId
|
291
|
+
# Returns the details of a Marketing Event with the specified objectId, if it exists.
|
292
|
+
# @param object_id [String] The internal ID of the marketing event in HubSpot
|
306
293
|
# @param [Hash] opts the optional parameters
|
307
|
-
# @return [
|
308
|
-
def
|
309
|
-
data, _status_code, _headers =
|
294
|
+
# @return [MarketingEventPublicReadResponseV2]
|
295
|
+
def get_by_object_id(object_id, opts = {})
|
296
|
+
data, _status_code, _headers = get_by_object_id_with_http_info(object_id, opts)
|
310
297
|
data
|
311
298
|
end
|
312
299
|
|
313
|
-
#
|
314
|
-
#
|
315
|
-
# @param
|
316
|
-
# @param external_account_id [String] The accountId that is associated with this marketing event in the external event application.
|
317
|
-
# @param marketing_event_complete_request_params [MarketingEventCompleteRequestParams]
|
300
|
+
# Get Marketing Event by objectId
|
301
|
+
# Returns the details of a Marketing Event with the specified objectId, if it exists.
|
302
|
+
# @param object_id [String] The internal ID of the marketing event in HubSpot
|
318
303
|
# @param [Hash] opts the optional parameters
|
319
|
-
# @return [Array<(
|
320
|
-
def
|
304
|
+
# @return [Array<(MarketingEventPublicReadResponseV2, Integer, Hash)>] MarketingEventPublicReadResponseV2 data, response status code and response headers
|
305
|
+
def get_by_object_id_with_http_info(object_id, opts = {})
|
321
306
|
if @api_client.config.debugging
|
322
|
-
@api_client.config.logger.debug 'Calling API: BasicApi.
|
323
|
-
end
|
324
|
-
# verify the required parameter 'external_event_id' is set
|
325
|
-
if @api_client.config.client_side_validation && external_event_id.nil?
|
326
|
-
fail ArgumentError, "Missing the required parameter 'external_event_id' when calling BasicApi.complete"
|
327
|
-
end
|
328
|
-
# verify the required parameter 'external_account_id' is set
|
329
|
-
if @api_client.config.client_side_validation && external_account_id.nil?
|
330
|
-
fail ArgumentError, "Missing the required parameter 'external_account_id' when calling BasicApi.complete"
|
307
|
+
@api_client.config.logger.debug 'Calling API: BasicApi.get_by_object_id ...'
|
331
308
|
end
|
332
|
-
# verify the required parameter '
|
333
|
-
if @api_client.config.client_side_validation &&
|
334
|
-
fail ArgumentError, "Missing the required parameter '
|
309
|
+
# verify the required parameter 'object_id' is set
|
310
|
+
if @api_client.config.client_side_validation && object_id.nil?
|
311
|
+
fail ArgumentError, "Missing the required parameter 'object_id' when calling BasicApi.get_by_object_id"
|
335
312
|
end
|
336
313
|
# resource path
|
337
|
-
local_var_path = '/marketing/v3/marketing-events/
|
314
|
+
local_var_path = '/marketing/v3/marketing-events/{objectId}'.sub('{' + 'objectId' + '}', CGI.escape(object_id.to_s))
|
338
315
|
|
339
316
|
# query parameters
|
340
317
|
query_params = opts[:query_params] || {}
|
341
|
-
query_params[:'externalAccountId'] = external_account_id
|
342
318
|
|
343
319
|
# header parameters
|
344
320
|
header_params = opts[:header_params] || {}
|
345
321
|
# HTTP header 'Accept' (if needed)
|
346
322
|
header_params['Accept'] = @api_client.select_header_accept(['application/json', '*/*'])
|
347
|
-
# HTTP header 'Content-Type'
|
348
|
-
content_type = @api_client.select_header_content_type(['application/json'])
|
349
|
-
if !content_type.nil?
|
350
|
-
header_params['Content-Type'] = content_type
|
351
|
-
end
|
352
323
|
|
353
324
|
# form parameters
|
354
325
|
form_params = opts[:form_params] || {}
|
355
326
|
|
356
327
|
# http body (model)
|
357
|
-
post_body = opts[:debug_body]
|
328
|
+
post_body = opts[:debug_body]
|
358
329
|
|
359
330
|
# return_type
|
360
|
-
return_type = opts[:debug_return_type] || '
|
331
|
+
return_type = opts[:debug_return_type] || 'MarketingEventPublicReadResponseV2'
|
361
332
|
|
362
333
|
# auth_names
|
363
334
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
364
335
|
|
365
336
|
new_options = opts.merge(
|
366
|
-
:operation => :"BasicApi.
|
337
|
+
:operation => :"BasicApi.get_by_object_id",
|
367
338
|
:header_params => header_params,
|
368
339
|
:query_params => query_params,
|
369
340
|
:form_params => form_params,
|
@@ -372,110 +343,48 @@ module Hubspot
|
|
372
343
|
:return_type => return_type
|
373
344
|
)
|
374
345
|
|
375
|
-
data, status_code, headers = @api_client.call_api(:
|
346
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
376
347
|
if @api_client.config.debugging
|
377
|
-
@api_client.config.logger.debug "API called: BasicApi#
|
348
|
+
@api_client.config.logger.debug "API called: BasicApi#get_by_object_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
378
349
|
end
|
379
350
|
return data, status_code, headers
|
380
351
|
end
|
381
352
|
|
382
|
-
#
|
383
|
-
#
|
384
|
-
# @param
|
353
|
+
# Get Marketing Event by External IDs
|
354
|
+
# Returns the details of a Marketing Event with the specified externalAccountId, externalEventId, if it exists. Only Marketing Events created by the same app making the request can be retrieved.
|
355
|
+
# @param external_event_id [String] The id of the marketing event in the external event application
|
356
|
+
# @param external_account_id [String] The accountId that is associated with this marketing event in the external event application
|
385
357
|
# @param [Hash] opts the optional parameters
|
386
|
-
# @return [
|
387
|
-
def
|
388
|
-
data, _status_code, _headers =
|
358
|
+
# @return [MarketingEventPublicReadResponse]
|
359
|
+
def get_details(external_event_id, external_account_id, opts = {})
|
360
|
+
data, _status_code, _headers = get_details_with_http_info(external_event_id, external_account_id, opts)
|
389
361
|
data
|
390
362
|
end
|
391
363
|
|
392
|
-
#
|
393
|
-
#
|
394
|
-
# @param
|
364
|
+
# Get Marketing Event by External IDs
|
365
|
+
# Returns the details of a Marketing Event with the specified externalAccountId, externalEventId, if it exists. Only Marketing Events created by the same app making the request can be retrieved.
|
366
|
+
# @param external_event_id [String] The id of the marketing event in the external event application
|
367
|
+
# @param external_account_id [String] The accountId that is associated with this marketing event in the external event application
|
395
368
|
# @param [Hash] opts the optional parameters
|
396
|
-
# @return [Array<(
|
397
|
-
def
|
398
|
-
if @api_client.config.debugging
|
399
|
-
@api_client.config.logger.debug 'Calling API: BasicApi.create ...'
|
400
|
-
end
|
401
|
-
# verify the required parameter 'marketing_event_create_request_params' is set
|
402
|
-
if @api_client.config.client_side_validation && marketing_event_create_request_params.nil?
|
403
|
-
fail ArgumentError, "Missing the required parameter 'marketing_event_create_request_params' when calling BasicApi.create"
|
404
|
-
end
|
405
|
-
# resource path
|
406
|
-
local_var_path = '/marketing/v3/marketing-events/events'
|
407
|
-
|
408
|
-
# query parameters
|
409
|
-
query_params = opts[:query_params] || {}
|
410
|
-
|
411
|
-
# header parameters
|
412
|
-
header_params = opts[:header_params] || {}
|
413
|
-
# HTTP header 'Accept' (if needed)
|
414
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json', '*/*'])
|
415
|
-
# HTTP header 'Content-Type'
|
416
|
-
content_type = @api_client.select_header_content_type(['application/json'])
|
417
|
-
if !content_type.nil?
|
418
|
-
header_params['Content-Type'] = content_type
|
419
|
-
end
|
420
|
-
|
421
|
-
# form parameters
|
422
|
-
form_params = opts[:form_params] || {}
|
423
|
-
|
424
|
-
# http body (model)
|
425
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(marketing_event_create_request_params)
|
426
|
-
|
427
|
-
# return_type
|
428
|
-
return_type = opts[:debug_return_type] || 'MarketingEventDefaultResponse'
|
429
|
-
|
430
|
-
# auth_names
|
431
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
432
|
-
|
433
|
-
new_options = opts.merge(
|
434
|
-
:operation => :"BasicApi.create",
|
435
|
-
:header_params => header_params,
|
436
|
-
:query_params => query_params,
|
437
|
-
:form_params => form_params,
|
438
|
-
:body => post_body,
|
439
|
-
:auth_names => auth_names,
|
440
|
-
:return_type => return_type
|
441
|
-
)
|
442
|
-
|
443
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
369
|
+
# @return [Array<(MarketingEventPublicReadResponse, Integer, Hash)>] MarketingEventPublicReadResponse data, response status code and response headers
|
370
|
+
def get_details_with_http_info(external_event_id, external_account_id, opts = {})
|
444
371
|
if @api_client.config.debugging
|
445
|
-
@api_client.config.logger.debug
|
372
|
+
@api_client.config.logger.debug 'Calling API: BasicApi.get_details ...'
|
446
373
|
end
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
# Search for marketing events
|
451
|
-
# Search for marketing events that have an event id that starts with the query string
|
452
|
-
# @param q [String] The id of the marketing event in the external event application
|
453
|
-
# @param [Hash] opts the optional parameters
|
454
|
-
# @return [CollectionResponseMarketingEventExternalUniqueIdentifierNoPaging]
|
455
|
-
def do_search(q, opts = {})
|
456
|
-
data, _status_code, _headers = do_search_with_http_info(q, opts)
|
457
|
-
data
|
458
|
-
end
|
459
|
-
|
460
|
-
# Search for marketing events
|
461
|
-
# Search for marketing events that have an event id that starts with the query string
|
462
|
-
# @param q [String] The id of the marketing event in the external event application
|
463
|
-
# @param [Hash] opts the optional parameters
|
464
|
-
# @return [Array<(CollectionResponseMarketingEventExternalUniqueIdentifierNoPaging, Integer, Hash)>] CollectionResponseMarketingEventExternalUniqueIdentifierNoPaging data, response status code and response headers
|
465
|
-
def do_search_with_http_info(q, opts = {})
|
466
|
-
if @api_client.config.debugging
|
467
|
-
@api_client.config.logger.debug 'Calling API: BasicApi.do_search ...'
|
374
|
+
# verify the required parameter 'external_event_id' is set
|
375
|
+
if @api_client.config.client_side_validation && external_event_id.nil?
|
376
|
+
fail ArgumentError, "Missing the required parameter 'external_event_id' when calling BasicApi.get_details"
|
468
377
|
end
|
469
|
-
# verify the required parameter '
|
470
|
-
if @api_client.config.client_side_validation &&
|
471
|
-
fail ArgumentError, "Missing the required parameter '
|
378
|
+
# verify the required parameter 'external_account_id' is set
|
379
|
+
if @api_client.config.client_side_validation && external_account_id.nil?
|
380
|
+
fail ArgumentError, "Missing the required parameter 'external_account_id' when calling BasicApi.get_details"
|
472
381
|
end
|
473
382
|
# resource path
|
474
|
-
local_var_path = '/marketing/v3/marketing-events/events/
|
383
|
+
local_var_path = '/marketing/v3/marketing-events/events/{externalEventId}'.sub('{' + 'externalEventId' + '}', CGI.escape(external_event_id.to_s))
|
475
384
|
|
476
385
|
# query parameters
|
477
386
|
query_params = opts[:query_params] || {}
|
478
|
-
query_params[:'
|
387
|
+
query_params[:'externalAccountId'] = external_account_id
|
479
388
|
|
480
389
|
# header parameters
|
481
390
|
header_params = opts[:header_params] || {}
|
@@ -489,13 +398,13 @@ module Hubspot
|
|
489
398
|
post_body = opts[:debug_body]
|
490
399
|
|
491
400
|
# return_type
|
492
|
-
return_type = opts[:debug_return_type] || '
|
401
|
+
return_type = opts[:debug_return_type] || 'MarketingEventPublicReadResponse'
|
493
402
|
|
494
403
|
# auth_names
|
495
404
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
496
405
|
|
497
406
|
new_options = opts.merge(
|
498
|
-
:operation => :"BasicApi.
|
407
|
+
:operation => :"BasicApi.get_details",
|
499
408
|
:header_params => header_params,
|
500
409
|
:query_params => query_params,
|
501
410
|
:form_params => form_params,
|
@@ -506,39 +415,45 @@ module Hubspot
|
|
506
415
|
|
507
416
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
508
417
|
if @api_client.config.debugging
|
509
|
-
@api_client.config.logger.debug "API called: BasicApi#
|
418
|
+
@api_client.config.logger.debug "API called: BasicApi#get_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
510
419
|
end
|
511
420
|
return data, status_code, headers
|
512
421
|
end
|
513
422
|
|
514
|
-
#
|
515
|
-
#
|
516
|
-
# @param external_event_id [String] The id of the marketing event
|
517
|
-
# @param external_account_id [String] The
|
423
|
+
# Update Marketing Event by External IDs
|
424
|
+
# Updates the details of an existing Marketing Event identified by its externalAccountId, externalEventId if it exists. Only Marketing Events created by the same app can be updated.
|
425
|
+
# @param external_event_id [String] The id of the marketing event in the external event application
|
426
|
+
# @param external_account_id [String] The accountId that is associated with this marketing event in the external event application
|
427
|
+
# @param marketing_event_update_request_params [MarketingEventUpdateRequestParams]
|
518
428
|
# @param [Hash] opts the optional parameters
|
519
|
-
# @return [
|
520
|
-
def
|
521
|
-
data, _status_code, _headers =
|
429
|
+
# @return [MarketingEventPublicDefaultResponse]
|
430
|
+
def update(external_event_id, external_account_id, marketing_event_update_request_params, opts = {})
|
431
|
+
data, _status_code, _headers = update_with_http_info(external_event_id, external_account_id, marketing_event_update_request_params, opts)
|
522
432
|
data
|
523
433
|
end
|
524
434
|
|
525
|
-
#
|
526
|
-
#
|
527
|
-
# @param external_event_id [String] The id of the marketing event
|
528
|
-
# @param external_account_id [String] The
|
435
|
+
# Update Marketing Event by External IDs
|
436
|
+
# Updates the details of an existing Marketing Event identified by its externalAccountId, externalEventId if it exists. Only Marketing Events created by the same app can be updated.
|
437
|
+
# @param external_event_id [String] The id of the marketing event in the external event application
|
438
|
+
# @param external_account_id [String] The accountId that is associated with this marketing event in the external event application
|
439
|
+
# @param marketing_event_update_request_params [MarketingEventUpdateRequestParams]
|
529
440
|
# @param [Hash] opts the optional parameters
|
530
|
-
# @return [Array<(
|
531
|
-
def
|
441
|
+
# @return [Array<(MarketingEventPublicDefaultResponse, Integer, Hash)>] MarketingEventPublicDefaultResponse data, response status code and response headers
|
442
|
+
def update_with_http_info(external_event_id, external_account_id, marketing_event_update_request_params, opts = {})
|
532
443
|
if @api_client.config.debugging
|
533
|
-
@api_client.config.logger.debug 'Calling API: BasicApi.
|
444
|
+
@api_client.config.logger.debug 'Calling API: BasicApi.update ...'
|
534
445
|
end
|
535
446
|
# verify the required parameter 'external_event_id' is set
|
536
447
|
if @api_client.config.client_side_validation && external_event_id.nil?
|
537
|
-
fail ArgumentError, "Missing the required parameter 'external_event_id' when calling BasicApi.
|
448
|
+
fail ArgumentError, "Missing the required parameter 'external_event_id' when calling BasicApi.update"
|
538
449
|
end
|
539
450
|
# verify the required parameter 'external_account_id' is set
|
540
451
|
if @api_client.config.client_side_validation && external_account_id.nil?
|
541
|
-
fail ArgumentError, "Missing the required parameter 'external_account_id' when calling BasicApi.
|
452
|
+
fail ArgumentError, "Missing the required parameter 'external_account_id' when calling BasicApi.update"
|
453
|
+
end
|
454
|
+
# verify the required parameter 'marketing_event_update_request_params' is set
|
455
|
+
if @api_client.config.client_side_validation && marketing_event_update_request_params.nil?
|
456
|
+
fail ArgumentError, "Missing the required parameter 'marketing_event_update_request_params' when calling BasicApi.update"
|
542
457
|
end
|
543
458
|
# resource path
|
544
459
|
local_var_path = '/marketing/v3/marketing-events/events/{externalEventId}'.sub('{' + 'externalEventId' + '}', CGI.escape(external_event_id.to_s))
|
@@ -551,21 +466,26 @@ module Hubspot
|
|
551
466
|
header_params = opts[:header_params] || {}
|
552
467
|
# HTTP header 'Accept' (if needed)
|
553
468
|
header_params['Accept'] = @api_client.select_header_accept(['application/json', '*/*'])
|
469
|
+
# HTTP header 'Content-Type'
|
470
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
471
|
+
if !content_type.nil?
|
472
|
+
header_params['Content-Type'] = content_type
|
473
|
+
end
|
554
474
|
|
555
475
|
# form parameters
|
556
476
|
form_params = opts[:form_params] || {}
|
557
477
|
|
558
478
|
# http body (model)
|
559
|
-
post_body = opts[:debug_body]
|
479
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(marketing_event_update_request_params)
|
560
480
|
|
561
481
|
# return_type
|
562
|
-
return_type = opts[:debug_return_type] || '
|
482
|
+
return_type = opts[:debug_return_type] || 'MarketingEventPublicDefaultResponse'
|
563
483
|
|
564
484
|
# auth_names
|
565
485
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
566
486
|
|
567
487
|
new_options = opts.merge(
|
568
|
-
:operation => :"BasicApi.
|
488
|
+
:operation => :"BasicApi.update",
|
569
489
|
:header_params => header_params,
|
570
490
|
:query_params => query_params,
|
571
491
|
:form_params => form_params,
|
@@ -574,54 +494,47 @@ module Hubspot
|
|
574
494
|
:return_type => return_type
|
575
495
|
)
|
576
496
|
|
577
|
-
data, status_code, headers = @api_client.call_api(:
|
497
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
578
498
|
if @api_client.config.debugging
|
579
|
-
@api_client.config.logger.debug "API called: BasicApi#
|
499
|
+
@api_client.config.logger.debug "API called: BasicApi#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
580
500
|
end
|
581
501
|
return data, status_code, headers
|
582
502
|
end
|
583
503
|
|
584
|
-
# Update
|
585
|
-
# Updates an existing Marketing Event
|
586
|
-
# @param
|
587
|
-
# @param
|
588
|
-
# @param marketing_event_update_request_params [MarketingEventUpdateRequestParams]
|
504
|
+
# Update Marketing Event by objectId
|
505
|
+
# Updates the details of an existing Marketing Event identified by its objectId, if it exists.
|
506
|
+
# @param object_id [String] The internal ID of the marketing event in HubSpot
|
507
|
+
# @param marketing_event_public_update_request_v2 [MarketingEventPublicUpdateRequestV2]
|
589
508
|
# @param [Hash] opts the optional parameters
|
590
|
-
# @return [
|
591
|
-
def
|
592
|
-
data, _status_code, _headers =
|
509
|
+
# @return [MarketingEventPublicDefaultResponseV2]
|
510
|
+
def update_by_object_id(object_id, marketing_event_public_update_request_v2, opts = {})
|
511
|
+
data, _status_code, _headers = update_by_object_id_with_http_info(object_id, marketing_event_public_update_request_v2, opts)
|
593
512
|
data
|
594
513
|
end
|
595
514
|
|
596
|
-
# Update
|
597
|
-
# Updates an existing Marketing Event
|
598
|
-
# @param
|
599
|
-
# @param
|
600
|
-
# @param marketing_event_update_request_params [MarketingEventUpdateRequestParams]
|
515
|
+
# Update Marketing Event by objectId
|
516
|
+
# Updates the details of an existing Marketing Event identified by its objectId, if it exists.
|
517
|
+
# @param object_id [String] The internal ID of the marketing event in HubSpot
|
518
|
+
# @param marketing_event_public_update_request_v2 [MarketingEventPublicUpdateRequestV2]
|
601
519
|
# @param [Hash] opts the optional parameters
|
602
|
-
# @return [Array<(
|
603
|
-
def
|
520
|
+
# @return [Array<(MarketingEventPublicDefaultResponseV2, Integer, Hash)>] MarketingEventPublicDefaultResponseV2 data, response status code and response headers
|
521
|
+
def update_by_object_id_with_http_info(object_id, marketing_event_public_update_request_v2, opts = {})
|
604
522
|
if @api_client.config.debugging
|
605
|
-
@api_client.config.logger.debug 'Calling API: BasicApi.
|
606
|
-
end
|
607
|
-
# verify the required parameter 'external_event_id' is set
|
608
|
-
if @api_client.config.client_side_validation && external_event_id.nil?
|
609
|
-
fail ArgumentError, "Missing the required parameter 'external_event_id' when calling BasicApi.update"
|
523
|
+
@api_client.config.logger.debug 'Calling API: BasicApi.update_by_object_id ...'
|
610
524
|
end
|
611
|
-
# verify the required parameter '
|
612
|
-
if @api_client.config.client_side_validation &&
|
613
|
-
fail ArgumentError, "Missing the required parameter '
|
525
|
+
# verify the required parameter 'object_id' is set
|
526
|
+
if @api_client.config.client_side_validation && object_id.nil?
|
527
|
+
fail ArgumentError, "Missing the required parameter 'object_id' when calling BasicApi.update_by_object_id"
|
614
528
|
end
|
615
|
-
# verify the required parameter '
|
616
|
-
if @api_client.config.client_side_validation &&
|
617
|
-
fail ArgumentError, "Missing the required parameter '
|
529
|
+
# verify the required parameter 'marketing_event_public_update_request_v2' is set
|
530
|
+
if @api_client.config.client_side_validation && marketing_event_public_update_request_v2.nil?
|
531
|
+
fail ArgumentError, "Missing the required parameter 'marketing_event_public_update_request_v2' when calling BasicApi.update_by_object_id"
|
618
532
|
end
|
619
533
|
# resource path
|
620
|
-
local_var_path = '/marketing/v3/marketing-events/
|
534
|
+
local_var_path = '/marketing/v3/marketing-events/{objectId}'.sub('{' + 'objectId' + '}', CGI.escape(object_id.to_s))
|
621
535
|
|
622
536
|
# query parameters
|
623
537
|
query_params = opts[:query_params] || {}
|
624
|
-
query_params[:'externalAccountId'] = external_account_id
|
625
538
|
|
626
539
|
# header parameters
|
627
540
|
header_params = opts[:header_params] || {}
|
@@ -637,16 +550,16 @@ module Hubspot
|
|
637
550
|
form_params = opts[:form_params] || {}
|
638
551
|
|
639
552
|
# http body (model)
|
640
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
553
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(marketing_event_public_update_request_v2)
|
641
554
|
|
642
555
|
# return_type
|
643
|
-
return_type = opts[:debug_return_type] || '
|
556
|
+
return_type = opts[:debug_return_type] || 'MarketingEventPublicDefaultResponseV2'
|
644
557
|
|
645
558
|
# auth_names
|
646
559
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
647
560
|
|
648
561
|
new_options = opts.merge(
|
649
|
-
:operation => :"BasicApi.
|
562
|
+
:operation => :"BasicApi.update_by_object_id",
|
650
563
|
:header_params => header_params,
|
651
564
|
:query_params => query_params,
|
652
565
|
:form_params => form_params,
|
@@ -657,14 +570,14 @@ module Hubspot
|
|
657
570
|
|
658
571
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
659
572
|
if @api_client.config.debugging
|
660
|
-
@api_client.config.logger.debug "API called: BasicApi#
|
573
|
+
@api_client.config.logger.debug "API called: BasicApi#update_by_object_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
661
574
|
end
|
662
575
|
return data, status_code, headers
|
663
576
|
end
|
664
577
|
|
665
578
|
# Create or update a marketing event
|
666
579
|
# Upserts a marketing event If there is an existing marketing event with the specified ID, it will be updated; otherwise a new event will be created.
|
667
|
-
# @param external_event_id [String] The
|
580
|
+
# @param external_event_id [String] The id of the marketing event in the external event application
|
668
581
|
# @param marketing_event_create_request_params [MarketingEventCreateRequestParams]
|
669
582
|
# @param [Hash] opts the optional parameters
|
670
583
|
# @return [MarketingEventPublicDefaultResponse]
|
@@ -675,7 +588,7 @@ module Hubspot
|
|
675
588
|
|
676
589
|
# Create or update a marketing event
|
677
590
|
# Upserts a marketing event If there is an existing marketing event with the specified ID, it will be updated; otherwise a new event will be created.
|
678
|
-
# @param external_event_id [String] The
|
591
|
+
# @param external_event_id [String] The id of the marketing event in the external event application
|
679
592
|
# @param marketing_event_create_request_params [MarketingEventCreateRequestParams]
|
680
593
|
# @param [Hash] opts the optional parameters
|
681
594
|
# @return [Array<(MarketingEventPublicDefaultResponse, Integer, Hash)>] MarketingEventPublicDefaultResponse data, response status code and response headers
|