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
@@ -0,0 +1,250 @@
|
|
1
|
+
=begin
|
2
|
+
#Quotes
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
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 'date'
|
14
|
+
require 'time'
|
15
|
+
|
16
|
+
module Hubspot
|
17
|
+
module Crm
|
18
|
+
module Quotes
|
19
|
+
class SimplePublicObjectBatchInputForCreate
|
20
|
+
attr_accessor :associations
|
21
|
+
|
22
|
+
attr_accessor :object_write_trace_id
|
23
|
+
|
24
|
+
attr_accessor :properties
|
25
|
+
|
26
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
27
|
+
def self.attribute_map
|
28
|
+
{
|
29
|
+
:'associations' => :'associations',
|
30
|
+
:'object_write_trace_id' => :'objectWriteTraceId',
|
31
|
+
:'properties' => :'properties'
|
32
|
+
}
|
33
|
+
end
|
34
|
+
|
35
|
+
# Returns all the JSON keys this model knows about
|
36
|
+
def self.acceptable_attributes
|
37
|
+
attribute_map.values
|
38
|
+
end
|
39
|
+
|
40
|
+
# Attribute type mapping.
|
41
|
+
def self.openapi_types
|
42
|
+
{
|
43
|
+
:'associations' => :'Array<PublicAssociationsForObject>',
|
44
|
+
:'object_write_trace_id' => :'String',
|
45
|
+
:'properties' => :'Hash<String, String>'
|
46
|
+
}
|
47
|
+
end
|
48
|
+
|
49
|
+
# List of attributes with nullable: true
|
50
|
+
def self.openapi_nullable
|
51
|
+
Set.new([
|
52
|
+
])
|
53
|
+
end
|
54
|
+
|
55
|
+
# Initializes the object
|
56
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
57
|
+
def initialize(attributes = {})
|
58
|
+
if (!attributes.is_a?(Hash))
|
59
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Hubspot::Crm::Quotes::SimplePublicObjectBatchInputForCreate` initialize method"
|
60
|
+
end
|
61
|
+
|
62
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
63
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
64
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
65
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Hubspot::Crm::Quotes::SimplePublicObjectBatchInputForCreate`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
66
|
+
end
|
67
|
+
h[k.to_sym] = v
|
68
|
+
}
|
69
|
+
|
70
|
+
if attributes.key?(:'associations')
|
71
|
+
if (value = attributes[:'associations']).is_a?(Array)
|
72
|
+
self.associations = value
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
if attributes.key?(:'object_write_trace_id')
|
77
|
+
self.object_write_trace_id = attributes[:'object_write_trace_id']
|
78
|
+
end
|
79
|
+
|
80
|
+
if attributes.key?(:'properties')
|
81
|
+
if (value = attributes[:'properties']).is_a?(Hash)
|
82
|
+
self.properties = value
|
83
|
+
end
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
87
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
88
|
+
# @return Array for valid properties with the reasons
|
89
|
+
def list_invalid_properties
|
90
|
+
invalid_properties = Array.new
|
91
|
+
if @properties.nil?
|
92
|
+
invalid_properties.push('invalid value for "properties", properties cannot be nil.')
|
93
|
+
end
|
94
|
+
|
95
|
+
invalid_properties
|
96
|
+
end
|
97
|
+
|
98
|
+
# Check to see if the all the properties in the model are valid
|
99
|
+
# @return true if the model is valid
|
100
|
+
def valid?
|
101
|
+
return false if @properties.nil?
|
102
|
+
true
|
103
|
+
end
|
104
|
+
|
105
|
+
# Checks equality by comparing each attribute.
|
106
|
+
# @param [Object] Object to be compared
|
107
|
+
def ==(o)
|
108
|
+
return true if self.equal?(o)
|
109
|
+
self.class == o.class &&
|
110
|
+
associations == o.associations &&
|
111
|
+
object_write_trace_id == o.object_write_trace_id &&
|
112
|
+
properties == o.properties
|
113
|
+
end
|
114
|
+
|
115
|
+
# @see the `==` method
|
116
|
+
# @param [Object] Object to be compared
|
117
|
+
def eql?(o)
|
118
|
+
self == o
|
119
|
+
end
|
120
|
+
|
121
|
+
# Calculates hash code according to all attributes.
|
122
|
+
# @return [Integer] Hash code
|
123
|
+
def hash
|
124
|
+
[associations, object_write_trace_id, properties].hash
|
125
|
+
end
|
126
|
+
|
127
|
+
# Builds the object from hash
|
128
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
129
|
+
# @return [Object] Returns the model itself
|
130
|
+
def self.build_from_hash(attributes)
|
131
|
+
new.build_from_hash(attributes)
|
132
|
+
end
|
133
|
+
|
134
|
+
# Builds the object from hash
|
135
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
136
|
+
# @return [Object] Returns the model itself
|
137
|
+
def build_from_hash(attributes)
|
138
|
+
return nil unless attributes.is_a?(Hash)
|
139
|
+
attributes = attributes.transform_keys(&:to_sym)
|
140
|
+
self.class.openapi_types.each_pair do |key, type|
|
141
|
+
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
142
|
+
self.send("#{key}=", nil)
|
143
|
+
elsif type =~ /\AArray<(.*)>/i
|
144
|
+
# check to ensure the input is an array given that the attribute
|
145
|
+
# is documented as an array but the input is not
|
146
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
147
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
148
|
+
end
|
149
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
150
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
154
|
+
self
|
155
|
+
end
|
156
|
+
|
157
|
+
# Deserializes the data based on type
|
158
|
+
# @param string type Data type
|
159
|
+
# @param string value Value to be deserialized
|
160
|
+
# @return [Object] Deserialized data
|
161
|
+
def _deserialize(type, value)
|
162
|
+
case type.to_sym
|
163
|
+
when :Time
|
164
|
+
Time.parse(value)
|
165
|
+
when :Date
|
166
|
+
Date.parse(value)
|
167
|
+
when :String
|
168
|
+
value.to_s
|
169
|
+
when :Integer
|
170
|
+
value.to_i
|
171
|
+
when :Float
|
172
|
+
value.to_f
|
173
|
+
when :Boolean
|
174
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
175
|
+
true
|
176
|
+
else
|
177
|
+
false
|
178
|
+
end
|
179
|
+
when :Object
|
180
|
+
# generic object (usually a Hash), return directly
|
181
|
+
value
|
182
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
183
|
+
inner_type = Regexp.last_match[:inner_type]
|
184
|
+
value.map { |v| _deserialize(inner_type, v) }
|
185
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
186
|
+
k_type = Regexp.last_match[:k_type]
|
187
|
+
v_type = Regexp.last_match[:v_type]
|
188
|
+
{}.tap do |hash|
|
189
|
+
value.each do |k, v|
|
190
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
191
|
+
end
|
192
|
+
end
|
193
|
+
else # model
|
194
|
+
# models (e.g. Pet) or oneOf
|
195
|
+
klass = Hubspot::Crm::Quotes.const_get(type)
|
196
|
+
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
197
|
+
end
|
198
|
+
end
|
199
|
+
|
200
|
+
# Returns the string representation of the object
|
201
|
+
# @return [String] String presentation of the object
|
202
|
+
def to_s
|
203
|
+
to_hash.to_s
|
204
|
+
end
|
205
|
+
|
206
|
+
# to_body is an alias to to_hash (backward compatibility)
|
207
|
+
# @return [Hash] Returns the object in the form of hash
|
208
|
+
def to_body
|
209
|
+
to_hash
|
210
|
+
end
|
211
|
+
|
212
|
+
# Returns the object in the form of hash
|
213
|
+
# @return [Hash] Returns the object in the form of hash
|
214
|
+
def to_hash
|
215
|
+
hash = {}
|
216
|
+
self.class.attribute_map.each_pair do |attr, param|
|
217
|
+
value = self.send(attr)
|
218
|
+
if value.nil?
|
219
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
220
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
221
|
+
end
|
222
|
+
|
223
|
+
hash[param] = _to_hash(value)
|
224
|
+
end
|
225
|
+
hash
|
226
|
+
end
|
227
|
+
|
228
|
+
# Outputs non-array value in the form of hash
|
229
|
+
# For object, use to_hash. Otherwise, just return the value
|
230
|
+
# @param [Object] value Any valid value
|
231
|
+
# @return [Hash] Returns the value in the form of hash
|
232
|
+
def _to_hash(value)
|
233
|
+
if value.is_a?(Array)
|
234
|
+
value.compact.map { |v| _to_hash(v) }
|
235
|
+
elsif value.is_a?(Hash)
|
236
|
+
{}.tap do |hash|
|
237
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
238
|
+
end
|
239
|
+
elsif value.respond_to? :to_hash
|
240
|
+
value.to_hash
|
241
|
+
else
|
242
|
+
value
|
243
|
+
end
|
244
|
+
end
|
245
|
+
|
246
|
+
end
|
247
|
+
|
248
|
+
end
|
249
|
+
end
|
250
|
+
end
|
@@ -17,14 +17,11 @@ module Hubspot
|
|
17
17
|
module Crm
|
18
18
|
module Quotes
|
19
19
|
class SimplePublicObjectInput
|
20
|
-
attr_accessor :object_write_trace_id
|
21
|
-
|
22
20
|
attr_accessor :properties
|
23
21
|
|
24
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
25
23
|
def self.attribute_map
|
26
24
|
{
|
27
|
-
:'object_write_trace_id' => :'objectWriteTraceId',
|
28
25
|
:'properties' => :'properties'
|
29
26
|
}
|
30
27
|
end
|
@@ -37,7 +34,6 @@ module Hubspot
|
|
37
34
|
# Attribute type mapping.
|
38
35
|
def self.openapi_types
|
39
36
|
{
|
40
|
-
:'object_write_trace_id' => :'String',
|
41
37
|
:'properties' => :'Hash<String, String>'
|
42
38
|
}
|
43
39
|
end
|
@@ -63,10 +59,6 @@ module Hubspot
|
|
63
59
|
h[k.to_sym] = v
|
64
60
|
}
|
65
61
|
|
66
|
-
if attributes.key?(:'object_write_trace_id')
|
67
|
-
self.object_write_trace_id = attributes[:'object_write_trace_id']
|
68
|
-
end
|
69
|
-
|
70
62
|
if attributes.key?(:'properties')
|
71
63
|
if (value = attributes[:'properties']).is_a?(Hash)
|
72
64
|
self.properties = value
|
@@ -97,7 +89,6 @@ module Hubspot
|
|
97
89
|
def ==(o)
|
98
90
|
return true if self.equal?(o)
|
99
91
|
self.class == o.class &&
|
100
|
-
object_write_trace_id == o.object_write_trace_id &&
|
101
92
|
properties == o.properties
|
102
93
|
end
|
103
94
|
|
@@ -110,7 +101,7 @@ module Hubspot
|
|
110
101
|
# Calculates hash code according to all attributes.
|
111
102
|
# @return [Integer] Hash code
|
112
103
|
def hash
|
113
|
-
[
|
104
|
+
[properties].hash
|
114
105
|
end
|
115
106
|
|
116
107
|
# Builds the object from hash
|
@@ -19,15 +19,12 @@ module Hubspot
|
|
19
19
|
class SimplePublicObjectInputForCreate
|
20
20
|
attr_accessor :associations
|
21
21
|
|
22
|
-
attr_accessor :object_write_trace_id
|
23
|
-
|
24
22
|
attr_accessor :properties
|
25
23
|
|
26
24
|
# Attribute mapping from ruby-style variable name to JSON key.
|
27
25
|
def self.attribute_map
|
28
26
|
{
|
29
27
|
:'associations' => :'associations',
|
30
|
-
:'object_write_trace_id' => :'objectWriteTraceId',
|
31
28
|
:'properties' => :'properties'
|
32
29
|
}
|
33
30
|
end
|
@@ -41,7 +38,6 @@ module Hubspot
|
|
41
38
|
def self.openapi_types
|
42
39
|
{
|
43
40
|
:'associations' => :'Array<PublicAssociationsForObject>',
|
44
|
-
:'object_write_trace_id' => :'String',
|
45
41
|
:'properties' => :'Hash<String, String>'
|
46
42
|
}
|
47
43
|
end
|
@@ -73,10 +69,6 @@ module Hubspot
|
|
73
69
|
end
|
74
70
|
end
|
75
71
|
|
76
|
-
if attributes.key?(:'object_write_trace_id')
|
77
|
-
self.object_write_trace_id = attributes[:'object_write_trace_id']
|
78
|
-
end
|
79
|
-
|
80
72
|
if attributes.key?(:'properties')
|
81
73
|
if (value = attributes[:'properties']).is_a?(Hash)
|
82
74
|
self.properties = value
|
@@ -88,10 +80,6 @@ module Hubspot
|
|
88
80
|
# @return Array for valid properties with the reasons
|
89
81
|
def list_invalid_properties
|
90
82
|
invalid_properties = Array.new
|
91
|
-
if @associations.nil?
|
92
|
-
invalid_properties.push('invalid value for "associations", associations cannot be nil.')
|
93
|
-
end
|
94
|
-
|
95
83
|
if @properties.nil?
|
96
84
|
invalid_properties.push('invalid value for "properties", properties cannot be nil.')
|
97
85
|
end
|
@@ -102,7 +90,6 @@ module Hubspot
|
|
102
90
|
# Check to see if the all the properties in the model are valid
|
103
91
|
# @return true if the model is valid
|
104
92
|
def valid?
|
105
|
-
return false if @associations.nil?
|
106
93
|
return false if @properties.nil?
|
107
94
|
true
|
108
95
|
end
|
@@ -113,7 +100,6 @@ module Hubspot
|
|
113
100
|
return true if self.equal?(o)
|
114
101
|
self.class == o.class &&
|
115
102
|
associations == o.associations &&
|
116
|
-
object_write_trace_id == o.object_write_trace_id &&
|
117
103
|
properties == o.properties
|
118
104
|
end
|
119
105
|
|
@@ -126,7 +112,7 @@ module Hubspot
|
|
126
112
|
# Calculates hash code according to all attributes.
|
127
113
|
# @return [Integer] Hash code
|
128
114
|
def hash
|
129
|
-
[associations,
|
115
|
+
[associations, properties].hash
|
130
116
|
end
|
131
117
|
|
132
118
|
# Builds the object from hash
|
@@ -29,6 +29,8 @@ module Hubspot
|
|
29
29
|
|
30
30
|
attr_accessor :id
|
31
31
|
|
32
|
+
attr_accessor :object_write_trace_id
|
33
|
+
|
32
34
|
attr_accessor :properties
|
33
35
|
|
34
36
|
attr_accessor :updated_at
|
@@ -42,6 +44,7 @@ module Hubspot
|
|
42
44
|
:'archived_at' => :'archivedAt',
|
43
45
|
:'properties_with_history' => :'propertiesWithHistory',
|
44
46
|
:'id' => :'id',
|
47
|
+
:'object_write_trace_id' => :'objectWriteTraceId',
|
45
48
|
:'properties' => :'properties',
|
46
49
|
:'updated_at' => :'updatedAt'
|
47
50
|
}
|
@@ -61,6 +64,7 @@ module Hubspot
|
|
61
64
|
:'archived_at' => :'Time',
|
62
65
|
:'properties_with_history' => :'Hash<String, Array<ValueWithTimestamp>>',
|
63
66
|
:'id' => :'String',
|
67
|
+
:'object_write_trace_id' => :'String',
|
64
68
|
:'properties' => :'Hash<String, String>',
|
65
69
|
:'updated_at' => :'Time'
|
66
70
|
}
|
@@ -115,6 +119,10 @@ module Hubspot
|
|
115
119
|
self.id = attributes[:'id']
|
116
120
|
end
|
117
121
|
|
122
|
+
if attributes.key?(:'object_write_trace_id')
|
123
|
+
self.object_write_trace_id = attributes[:'object_write_trace_id']
|
124
|
+
end
|
125
|
+
|
118
126
|
if attributes.key?(:'properties')
|
119
127
|
if (value = attributes[:'properties']).is_a?(Hash)
|
120
128
|
self.properties = value
|
@@ -170,6 +178,7 @@ module Hubspot
|
|
170
178
|
archived_at == o.archived_at &&
|
171
179
|
properties_with_history == o.properties_with_history &&
|
172
180
|
id == o.id &&
|
181
|
+
object_write_trace_id == o.object_write_trace_id &&
|
173
182
|
properties == o.properties &&
|
174
183
|
updated_at == o.updated_at
|
175
184
|
end
|
@@ -183,7 +192,7 @@ module Hubspot
|
|
183
192
|
# Calculates hash code according to all attributes.
|
184
193
|
# @return [Integer] Hash code
|
185
194
|
def hash
|
186
|
-
[associations, created_at, archived, archived_at, properties_with_history, id, properties, updated_at].hash
|
195
|
+
[associations, created_at, archived, archived_at, properties_with_history, id, object_write_trace_id, properties, updated_at].hash
|
187
196
|
end
|
188
197
|
|
189
198
|
# Builds the object from hash
|
@@ -29,6 +29,8 @@ module Hubspot
|
|
29
29
|
|
30
30
|
attr_accessor :id
|
31
31
|
|
32
|
+
attr_accessor :object_write_trace_id
|
33
|
+
|
32
34
|
attr_accessor :properties
|
33
35
|
|
34
36
|
attr_accessor :updated_at
|
@@ -42,6 +44,7 @@ module Hubspot
|
|
42
44
|
:'new' => :'new',
|
43
45
|
:'properties_with_history' => :'propertiesWithHistory',
|
44
46
|
:'id' => :'id',
|
47
|
+
:'object_write_trace_id' => :'objectWriteTraceId',
|
45
48
|
:'properties' => :'properties',
|
46
49
|
:'updated_at' => :'updatedAt'
|
47
50
|
}
|
@@ -61,6 +64,7 @@ module Hubspot
|
|
61
64
|
:'new' => :'Boolean',
|
62
65
|
:'properties_with_history' => :'Hash<String, Array<ValueWithTimestamp>>',
|
63
66
|
:'id' => :'String',
|
67
|
+
:'object_write_trace_id' => :'String',
|
64
68
|
:'properties' => :'Hash<String, String>',
|
65
69
|
:'updated_at' => :'Time'
|
66
70
|
}
|
@@ -113,6 +117,10 @@ module Hubspot
|
|
113
117
|
self.id = attributes[:'id']
|
114
118
|
end
|
115
119
|
|
120
|
+
if attributes.key?(:'object_write_trace_id')
|
121
|
+
self.object_write_trace_id = attributes[:'object_write_trace_id']
|
122
|
+
end
|
123
|
+
|
116
124
|
if attributes.key?(:'properties')
|
117
125
|
if (value = attributes[:'properties']).is_a?(Hash)
|
118
126
|
self.properties = value
|
@@ -173,6 +181,7 @@ module Hubspot
|
|
173
181
|
new == o.new &&
|
174
182
|
properties_with_history == o.properties_with_history &&
|
175
183
|
id == o.id &&
|
184
|
+
object_write_trace_id == o.object_write_trace_id &&
|
176
185
|
properties == o.properties &&
|
177
186
|
updated_at == o.updated_at
|
178
187
|
end
|
@@ -186,7 +195,7 @@ module Hubspot
|
|
186
195
|
# Calculates hash code according to all attributes.
|
187
196
|
# @return [Integer] Hash code
|
188
197
|
def hash
|
189
|
-
[created_at, archived, archived_at, new, properties_with_history, id, properties, updated_at].hash
|
198
|
+
[created_at, archived, archived_at, new, properties_with_history, id, object_write_trace_id, properties, updated_at].hash
|
190
199
|
end
|
191
200
|
|
192
201
|
# Builds the object from hash
|
@@ -20,42 +20,42 @@ module Hubspot
|
|
20
20
|
def initialize(api_client = ApiClient.default)
|
21
21
|
@api_client = api_client
|
22
22
|
end
|
23
|
-
#
|
24
|
-
#
|
23
|
+
# Retrieve event data
|
24
|
+
# Retrieve instances of event completion data. For example, retrieve all event completions associated with a specific contact.
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
-
# @option opts [String] :object_type The
|
27
|
-
# @option opts [String] :event_type The event type name.
|
26
|
+
# @option opts [String] :object_type The type of CRM object to filter event instances on (e.g., `contact`). To retrieve event data for a specific CRM record, include the additional `objectId` query parameter (below).
|
27
|
+
# @option opts [String] :event_type The event type name. You can retrieve available event types using the [event types endpoint](#get-%2Fevents%2Fv3%2Fevents%2Fevent-types).
|
28
28
|
# @option opts [String] :after The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged response containing more results.
|
29
29
|
# @option opts [String] :before
|
30
30
|
# @option opts [Integer] :limit The maximum number of results to display per page.
|
31
|
-
# @option opts [Array<String>] :sort Sort direction based on the timestamp of the event instance, ASCENDING or DESCENDING
|
32
|
-
# @option opts [Time] :occurred_after
|
33
|
-
# @option opts [Time] :occurred_before
|
34
|
-
# @option opts [Integer] :object_id The ID of the CRM Object to filter event instances on.
|
35
|
-
# @option opts [Object] :object_property_propname
|
36
|
-
# @option opts [Object] :property_propname
|
37
|
-
# @option opts [Array<String>] :id ID of an event instance. IDs are 1:1 with event instances. If you
|
31
|
+
# @option opts [Array<String>] :sort Sort direction based on the timestamp of the event instance, `ASCENDING` or `DESCENDING`.
|
32
|
+
# @option opts [Time] :occurred_after Filter for event data that occurred after a specific datetime.
|
33
|
+
# @option opts [Time] :occurred_before Filter for event data that occurred before a specific datetime.
|
34
|
+
# @option opts [Integer] :object_id The ID of the CRM Object to filter event instances on. When including this parameter, you must also include the `objectType` parameter.
|
35
|
+
# @option opts [Object] :object_property_propname Instead of retrieving event data for a specific object by its ID, you can specify a unique identifier property. For contacts, you can use the `email` property. (e.g., `objectProperty.email=name@domain.com`).
|
36
|
+
# @option opts [Object] :property_propname Filter for event completions that contain a specific value for an event property (e.g., `property.hs_city=portland`). For properties values with spaces, replaces spaces with `%20` or `+` (e.g., `property.hs_city=new+york`).
|
37
|
+
# @option opts [Array<String>] :id ID of an event instance. IDs are 1:1 with event instances. If you provide this filter and additional filters, the other filters must match the values on the event instance to yield results.
|
38
38
|
# @return [CollectionResponseExternalUnifiedEvent]
|
39
39
|
def get_page(opts = {})
|
40
40
|
data, _status_code, _headers = get_page_with_http_info(opts)
|
41
41
|
data
|
42
42
|
end
|
43
43
|
|
44
|
-
#
|
45
|
-
#
|
44
|
+
# Retrieve event data
|
45
|
+
# Retrieve instances of event completion data. For example, retrieve all event completions associated with a specific contact.
|
46
46
|
# @param [Hash] opts the optional parameters
|
47
|
-
# @option opts [String] :object_type The
|
48
|
-
# @option opts [String] :event_type The event type name.
|
47
|
+
# @option opts [String] :object_type The type of CRM object to filter event instances on (e.g., `contact`). To retrieve event data for a specific CRM record, include the additional `objectId` query parameter (below).
|
48
|
+
# @option opts [String] :event_type The event type name. You can retrieve available event types using the [event types endpoint](#get-%2Fevents%2Fv3%2Fevents%2Fevent-types).
|
49
49
|
# @option opts [String] :after The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged response containing more results.
|
50
50
|
# @option opts [String] :before
|
51
51
|
# @option opts [Integer] :limit The maximum number of results to display per page.
|
52
|
-
# @option opts [Array<String>] :sort Sort direction based on the timestamp of the event instance, ASCENDING or DESCENDING
|
53
|
-
# @option opts [Time] :occurred_after
|
54
|
-
# @option opts [Time] :occurred_before
|
55
|
-
# @option opts [Integer] :object_id The ID of the CRM Object to filter event instances on.
|
56
|
-
# @option opts [Object] :object_property_propname
|
57
|
-
# @option opts [Object] :property_propname
|
58
|
-
# @option opts [Array<String>] :id ID of an event instance. IDs are 1:1 with event instances. If you
|
52
|
+
# @option opts [Array<String>] :sort Sort direction based on the timestamp of the event instance, `ASCENDING` or `DESCENDING`.
|
53
|
+
# @option opts [Time] :occurred_after Filter for event data that occurred after a specific datetime.
|
54
|
+
# @option opts [Time] :occurred_before Filter for event data that occurred before a specific datetime.
|
55
|
+
# @option opts [Integer] :object_id The ID of the CRM Object to filter event instances on. When including this parameter, you must also include the `objectType` parameter.
|
56
|
+
# @option opts [Object] :object_property_propname Instead of retrieving event data for a specific object by its ID, you can specify a unique identifier property. For contacts, you can use the `email` property. (e.g., `objectProperty.email=name@domain.com`).
|
57
|
+
# @option opts [Object] :property_propname Filter for event completions that contain a specific value for an event property (e.g., `property.hs_city=portland`). For properties values with spaces, replaces spaces with `%20` or `+` (e.g., `property.hs_city=new+york`).
|
58
|
+
# @option opts [Array<String>] :id ID of an event instance. IDs are 1:1 with event instances. If you provide this filter and additional filters, the other filters must match the values on the event instance to yield results.
|
59
59
|
# @return [Array<(CollectionResponseExternalUnifiedEvent, Integer, Hash)>] CollectionResponseExternalUnifiedEvent data, response status code and response headers
|
60
60
|
def get_page_with_http_info(opts = {})
|
61
61
|
if @api_client.config.debugging
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Events Send Event Completions
|
3
3
|
|
4
|
-
#
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
@@ -15,14 +15,17 @@ require 'cgi'
|
|
15
15
|
module Hubspot
|
16
16
|
module Events
|
17
17
|
module Send
|
18
|
-
class
|
18
|
+
class BasicApi
|
19
|
+
require 'hubspot/helpers/get_all_helper'
|
20
|
+
include Hubspot::Helpers::GetAllHelper
|
21
|
+
|
19
22
|
attr_accessor :api_client
|
20
23
|
|
21
24
|
def initialize(api_client = ApiClient.default)
|
22
25
|
@api_client = api_client
|
23
26
|
end
|
24
|
-
# Send custom event completion
|
25
|
-
#
|
27
|
+
# Send a custom event completion
|
28
|
+
# Send data for a single event completion.
|
26
29
|
# @param behavioral_event_http_completion_request [BehavioralEventHttpCompletionRequest]
|
27
30
|
# @param [Hash] opts the optional parameters
|
28
31
|
# @return [nil]
|
@@ -31,18 +34,18 @@ module Hubspot
|
|
31
34
|
nil
|
32
35
|
end
|
33
36
|
|
34
|
-
# Send custom event completion
|
35
|
-
#
|
37
|
+
# Send a custom event completion
|
38
|
+
# Send data for a single event completion.
|
36
39
|
# @param behavioral_event_http_completion_request [BehavioralEventHttpCompletionRequest]
|
37
40
|
# @param [Hash] opts the optional parameters
|
38
41
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
39
42
|
def call_send_with_http_info(behavioral_event_http_completion_request, opts = {})
|
40
43
|
if @api_client.config.debugging
|
41
|
-
@api_client.config.logger.debug 'Calling API:
|
44
|
+
@api_client.config.logger.debug 'Calling API: BasicApi.call_send ...'
|
42
45
|
end
|
43
46
|
# verify the required parameter 'behavioral_event_http_completion_request' is set
|
44
47
|
if @api_client.config.client_side_validation && behavioral_event_http_completion_request.nil?
|
45
|
-
fail ArgumentError, "Missing the required parameter 'behavioral_event_http_completion_request' when calling
|
48
|
+
fail ArgumentError, "Missing the required parameter 'behavioral_event_http_completion_request' when calling BasicApi.call_send"
|
46
49
|
end
|
47
50
|
# resource path
|
48
51
|
local_var_path = '/events/v3/send'
|
@@ -73,7 +76,7 @@ module Hubspot
|
|
73
76
|
auth_names = opts[:debug_auth_names] || ['oauth2']
|
74
77
|
|
75
78
|
new_options = opts.merge(
|
76
|
-
:operation => :"
|
79
|
+
:operation => :"BasicApi.call_send",
|
77
80
|
:header_params => header_params,
|
78
81
|
:query_params => query_params,
|
79
82
|
:form_params => form_params,
|
@@ -84,7 +87,7 @@ module Hubspot
|
|
84
87
|
|
85
88
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
86
89
|
if @api_client.config.debugging
|
87
|
-
@api_client.config.logger.debug "API called:
|
90
|
+
@api_client.config.logger.debug "API called: BasicApi#call_send\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
88
91
|
end
|
89
92
|
return data, status_code, headers
|
90
93
|
end
|