hubspot-api-client 18.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 +287 -53
- 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/attach_to_lang_primary_request_v_next.rb +34 -0
- data/lib/hubspot/codegen/cms/blogs/blog_posts/models/blog_post.rb +38 -38
- data/lib/hubspot/codegen/cms/blogs/blog_posts/models/breakpoint_styles.rb +258 -0
- data/lib/hubspot/codegen/cms/blogs/blog_posts/models/content_language_variation.rb +15 -1
- data/lib/hubspot/codegen/cms/blogs/blog_posts/models/styles.rb +12 -1
- data/lib/hubspot/codegen/cms/hubdb/api/rows_api.rb +52 -31
- data/lib/hubspot/codegen/cms/hubdb/api/rows_batch_api.rb +36 -36
- data/lib/hubspot/codegen/cms/hubdb/api/tables_api.rb +55 -40
- data/lib/hubspot/codegen/cms/hubdb/api_client.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/api_error.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/configuration.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/batch_input_hub_db_table_row_batch_clone_request.rb +230 -0
- data/lib/hubspot/codegen/cms/hubdb/models/batch_input_hub_db_table_row_v3_batch_update_request.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/batch_input_hub_db_table_row_v3_request.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/batch_input_string.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/batch_response_hub_db_table_row_v3.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/batch_response_hub_db_table_row_v3_with_errors.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/bounded_next_page.rb +237 -0
- data/lib/hubspot/codegen/cms/hubdb/models/bounded_paging.rb +223 -0
- data/lib/hubspot/codegen/cms/hubdb/models/collection_response_with_total_hub_db_table_v3_forward_paging.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/column.rb +61 -7
- data/lib/hubspot/codegen/cms/hubdb/models/column_request.rb +3 -3
- data/lib/hubspot/codegen/cms/hubdb/models/error.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/foreign_id.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/forward_paging.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_clone_request.rb +16 -2
- data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_batch_clone_request.rb +237 -0
- data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3_batch_update_request.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3_request.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_v3.rb +2 -2
- data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_v3_request.rb +2 -2
- data/lib/hubspot/codegen/cms/hubdb/models/import_result.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/next_page.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/option.rb +69 -5
- data/lib/hubspot/codegen/cms/hubdb/models/paging.rb +232 -0
- data/lib/hubspot/codegen/cms/hubdb/models/previous_page.rb +237 -0
- data/lib/hubspot/codegen/{crm/lists/models/public_unified_events_in_list_filter.rb → cms/hubdb/models/random_access_collection_response_with_total_hub_db_table_row_v3.rb} +54 -61
- data/lib/hubspot/codegen/cms/hubdb/models/simple_user.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/standard_error.rb +8 -8
- data/lib/hubspot/codegen/cms/hubdb/models/streaming_collection_response_with_total_hub_db_table_row_v3.rb +303 -0
- data/lib/hubspot/codegen/cms/hubdb/models/unified_collection_response_with_total_base_hub_db_table_row_v3.rb +109 -0
- data/lib/hubspot/codegen/cms/source_code/api/content_api.rb +5 -5
- data/lib/hubspot/codegen/cms/source_code/api/extract_api.rb +89 -26
- data/lib/hubspot/codegen/cms/source_code/api/metadata_api.rb +1 -1
- data/lib/hubspot/codegen/cms/source_code/api/validation_api.rb +3 -3
- data/lib/hubspot/codegen/cms/source_code/api_client.rb +1 -1
- data/lib/hubspot/codegen/cms/source_code/api_error.rb +1 -1
- data/lib/hubspot/codegen/cms/source_code/configuration.rb +1 -1
- data/lib/hubspot/codegen/cms/source_code/models/action_response.rb +1 -1
- data/lib/hubspot/codegen/cms/source_code/models/asset_file_metadata.rb +1 -1
- data/lib/hubspot/codegen/cms/source_code/models/error.rb +1 -1
- data/lib/hubspot/codegen/cms/source_code/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/cms/source_code/models/file_extract_request.rb +1 -1
- data/lib/hubspot/codegen/cms/source_code/models/task_locator.rb +1 -1
- data/lib/hubspot/codegen/communication_preferences/api/definition_api.rb +2 -2
- data/lib/hubspot/codegen/communication_preferences/api/status_api.rb +2 -2
- data/lib/hubspot/codegen/communication_preferences/api_client.rb +2 -2
- data/lib/hubspot/codegen/communication_preferences/api_error.rb +2 -2
- data/lib/hubspot/codegen/communication_preferences/configuration.rb +2 -2
- data/lib/hubspot/codegen/communication_preferences/models/error.rb +2 -2
- data/lib/hubspot/codegen/communication_preferences/models/error_detail.rb +2 -2
- data/lib/hubspot/codegen/communication_preferences/models/public_subscription_status.rb +2 -2
- data/lib/hubspot/codegen/communication_preferences/models/public_subscription_statuses_response.rb +2 -2
- data/lib/hubspot/codegen/communication_preferences/models/public_update_subscription_status_request.rb +2 -2
- data/lib/hubspot/codegen/communication_preferences/models/subscription_definition.rb +12 -3
- data/lib/hubspot/codegen/communication_preferences/models/subscription_definitions_response.rb +2 -2
- data/lib/hubspot/codegen/conversations/visitor_identification/api/generate_api.rb +1 -1
- 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/{objects/calls/api/public_object_api.rb → associations/v4/api/report_api.rb} +25 -28
- 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/emails/api/public_object_api.rb → commerce/invoices/api/search_api.rb} +24 -22
- data/lib/hubspot/codegen/crm/{extensions/accounting → commerce/invoices}/api_client.rb +5 -5
- data/lib/hubspot/codegen/crm/{extensions/accounting → commerce/invoices}/api_error.rb +4 -4
- data/lib/hubspot/codegen/crm/{extensions/accounting → commerce/invoices}/configuration.rb +4 -4
- data/lib/hubspot/codegen/crm/{objects/tasks/models/public_gdpr_delete_input.rb → commerce/invoices/models/associated_id.rb} +28 -23
- data/lib/hubspot/codegen/crm/{extensions/accounting/models/customer_search_response_external.rb → commerce/invoices/models/association_spec.rb} +35 -40
- 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/commerce/invoices/models/collection_response_with_total_simple_public_object_forward_paging.rb +255 -0
- data/lib/hubspot/codegen/crm/{extensions/accounting → commerce/invoices}/models/error.rb +57 -57
- data/lib/hubspot/codegen/crm/{extensions/accounting → commerce/invoices}/models/error_detail.rb +35 -35
- data/lib/hubspot/codegen/crm/{extensions/accounting/models/invoice_search_response.rb → commerce/invoices/models/filter.rb} +66 -36
- 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/commerce/invoices/models/previous_page.rb +239 -0
- 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/{extensions/accounting/models/accounting_extension_customer.rb → commerce/invoices/models/simple_public_object.rb} +68 -41
- data/lib/hubspot/codegen/crm/{objects/feedback_submissions → commerce/invoices}/models/simple_public_object_batch_input.rb +16 -7
- 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/companies/api/basic_api.rb +6 -6
- data/lib/hubspot/codegen/crm/companies/api/batch_api.rb +70 -2
- data/lib/hubspot/codegen/crm/companies/api/{public_object_api.rb → merge_api.rb} +5 -5
- data/lib/hubspot/codegen/crm/companies/models/association_spec.rb +0 -10
- data/lib/hubspot/codegen/crm/companies/models/{public_gdpr_delete_input.rb → batch_input_simple_public_object_batch_input_upsert.rb} +15 -22
- data/lib/hubspot/codegen/crm/companies/models/batch_response_simple_public_upsert_object.rb +326 -0
- data/lib/hubspot/codegen/crm/companies/models/batch_response_simple_public_upsert_object_with_errors.rb +346 -0
- data/lib/hubspot/codegen/crm/companies/models/public_associations_for_object.rb +0 -10
- data/lib/hubspot/codegen/crm/companies/models/public_object_id.rb +0 -5
- data/lib/hubspot/codegen/crm/companies/models/public_object_search_request.rb +0 -25
- data/lib/hubspot/codegen/crm/companies/models/simple_public_object_batch_input.rb +10 -1
- data/lib/hubspot/codegen/crm/companies/models/simple_public_object_batch_input_upsert.rb +262 -0
- data/lib/hubspot/codegen/crm/companies/models/simple_public_object_input.rb +10 -1
- data/lib/hubspot/codegen/crm/companies/models/simple_public_object_input_for_create.rb +10 -6
- data/lib/hubspot/codegen/crm/companies/models/simple_public_upsert_object.rb +315 -0
- data/lib/hubspot/codegen/crm/contacts/api/basic_api.rb +2 -2
- data/lib/hubspot/codegen/crm/contacts/api/batch_api.rb +70 -2
- data/lib/hubspot/codegen/crm/contacts/api/{public_object_api.rb → merge_api.rb} +5 -5
- data/lib/hubspot/codegen/crm/contacts/models/association_spec.rb +0 -10
- data/lib/hubspot/codegen/crm/contacts/models/batch_input_simple_public_object_batch_input_upsert.rb +230 -0
- data/lib/hubspot/codegen/crm/contacts/models/batch_response_simple_public_upsert_object.rb +326 -0
- data/lib/hubspot/codegen/crm/contacts/models/batch_response_simple_public_upsert_object_with_errors.rb +346 -0
- data/lib/hubspot/codegen/crm/contacts/models/public_associations_for_object.rb +0 -10
- data/lib/hubspot/codegen/crm/contacts/models/public_object_id.rb +0 -5
- data/lib/hubspot/codegen/crm/contacts/models/public_object_search_request.rb +0 -25
- data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_batch_input.rb +10 -1
- data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_batch_input_upsert.rb +262 -0
- data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_input.rb +10 -1
- data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_input_for_create.rb +10 -6
- data/lib/hubspot/codegen/crm/contacts/models/simple_public_upsert_object.rb +315 -0
- data/lib/hubspot/codegen/crm/deals/api/basic_api.rb +6 -6
- data/lib/hubspot/codegen/crm/deals/api/batch_api.rb +70 -2
- data/lib/hubspot/codegen/crm/deals/api/{public_object_api.rb → merge_api.rb} +7 -7
- data/lib/hubspot/codegen/crm/deals/models/association_spec.rb +0 -10
- data/lib/hubspot/codegen/crm/deals/models/batch_input_simple_public_object_batch_input_upsert.rb +230 -0
- data/lib/hubspot/codegen/crm/deals/models/batch_response_simple_public_upsert_object.rb +326 -0
- data/lib/hubspot/codegen/crm/deals/models/batch_response_simple_public_upsert_object_with_errors.rb +346 -0
- data/lib/hubspot/codegen/crm/deals/models/public_associations_for_object.rb +0 -10
- data/lib/hubspot/codegen/crm/deals/models/public_object_id.rb +0 -5
- data/lib/hubspot/codegen/crm/deals/models/public_object_search_request.rb +0 -25
- data/lib/hubspot/codegen/crm/deals/models/simple_public_object_batch_input.rb +10 -1
- data/lib/hubspot/codegen/crm/deals/models/simple_public_object_batch_input_upsert.rb +262 -0
- data/lib/hubspot/codegen/crm/deals/models/simple_public_object_input.rb +10 -1
- data/lib/hubspot/codegen/crm/deals/models/simple_public_object_input_for_create.rb +10 -6
- data/lib/hubspot/codegen/crm/deals/models/simple_public_upsert_object.rb +315 -0
- data/lib/hubspot/codegen/{cms/source_code/api/source_code_extract_api.rb → crm/exports/api/public_exports_api.rb} +52 -44
- 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 +88 -8
- data/lib/hubspot/codegen/crm/extensions/calling/api/settings_api.rb +24 -24
- data/lib/hubspot/codegen/crm/extensions/calling/api_client.rb +2 -2
- data/lib/hubspot/codegen/crm/extensions/calling/api_error.rb +2 -2
- data/lib/hubspot/codegen/crm/extensions/calling/configuration.rb +9 -2
- data/lib/hubspot/codegen/crm/extensions/calling/models/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/error.rb +2 -2
- data/lib/hubspot/codegen/crm/extensions/calling/models/error_detail.rb +2 -2
- data/lib/hubspot/codegen/crm/extensions/calling/models/mark_recording_as_ready_request.rb +230 -0
- data/lib/hubspot/codegen/crm/extensions/calling/models/recording_settings_patch_request.rb +2 -2
- data/lib/hubspot/codegen/crm/extensions/calling/models/recording_settings_request.rb +2 -2
- data/lib/hubspot/codegen/crm/extensions/calling/models/recording_settings_response.rb +3 -2
- data/lib/hubspot/codegen/crm/extensions/calling/models/settings_patch_request.rb +35 -6
- data/lib/hubspot/codegen/crm/extensions/calling/models/settings_request.rb +35 -6
- data/lib/hubspot/codegen/crm/extensions/calling/models/settings_response.rb +50 -6
- 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 +81 -11
- data/lib/hubspot/codegen/crm/line_items/api/search_api.rb +4 -0
- data/lib/hubspot/codegen/crm/line_items/models/{public_gdpr_delete_input.rb → batch_input_simple_public_object_batch_input_for_create.rb} +15 -22
- data/lib/hubspot/codegen/crm/line_items/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_upsert.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/batch_response_simple_public_upsert_object.rb +326 -0
- data/lib/hubspot/codegen/crm/line_items/models/batch_response_simple_public_upsert_object_with_errors.rb +346 -0
- data/lib/hubspot/codegen/crm/line_items/models/public_object_search_request.rb +0 -25
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_object.rb +15 -1
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_batch_input.rb +17 -1
- 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 +263 -0
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_input.rb +5 -0
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_input_for_create.rb +3 -3
- 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 +324 -0
- data/lib/hubspot/codegen/crm/lists/api/folders_api.rb +420 -0
- data/lib/hubspot/codegen/crm/lists/api/lists_api.rb +15 -15
- data/lib/hubspot/codegen/crm/lists/api/mapping_api.rb +154 -0
- data/lib/hubspot/codegen/crm/lists/api/memberships_api.rb +169 -28
- data/lib/hubspot/codegen/crm/lists/api_client.rb +1 -1
- data/lib/hubspot/codegen/crm/lists/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/lists/configuration.rb +1 -1
- data/lib/hubspot/codegen/crm/lists/models/{collection_response_long.rb → api_collection_response_join_time_and_record_id.rb} +15 -7
- data/lib/hubspot/codegen/crm/lists/models/api_collection_response_record_list_membership_no_paging.rb +239 -0
- data/lib/hubspot/codegen/crm/lists/models/error.rb +1 -1
- data/lib/hubspot/codegen/crm/lists/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/crm/{products/models/public_merge_input.rb → lists/models/join_time_and_record_id.rb} +25 -25
- data/lib/hubspot/codegen/crm/lists/models/list_create_request.rb +14 -2
- data/lib/hubspot/codegen/crm/lists/models/list_create_response.rb +1 -1
- data/lib/hubspot/codegen/crm/lists/models/list_fetch_response.rb +1 -1
- data/lib/hubspot/codegen/crm/lists/models/list_filter_update_request.rb +1 -1
- data/lib/hubspot/codegen/crm/lists/models/list_folder_create_request.rb +239 -0
- data/lib/hubspot/codegen/crm/{products/models/public_gdpr_delete_input.rb → lists/models/list_folder_create_response.rb} +16 -25
- data/lib/hubspot/codegen/crm/{tickets/models/public_gdpr_delete_input.rb → lists/models/list_folder_fetch_response.rb} +16 -25
- data/lib/hubspot/codegen/crm/lists/models/list_move_request.rb +244 -0
- data/lib/hubspot/codegen/crm/lists/models/list_search_request.rb +38 -15
- data/lib/hubspot/codegen/crm/lists/models/list_search_response.rb +1 -1
- data/lib/hubspot/codegen/crm/lists/models/list_update_response.rb +1 -1
- data/lib/hubspot/codegen/crm/lists/models/lists_by_id_response.rb +1 -1
- data/lib/hubspot/codegen/crm/lists/models/membership_change_request.rb +3 -3
- data/lib/hubspot/codegen/crm/lists/models/memberships_update_response.rb +4 -4
- data/lib/hubspot/codegen/crm/lists/models/next_page.rb +1 -1
- data/lib/hubspot/codegen/crm/lists/models/paging.rb +1 -1
- data/lib/hubspot/codegen/crm/lists/models/previous_page.rb +1 -1
- data/lib/hubspot/codegen/crm/lists/models/public_absolute_comparative_timestamp_refine_by.rb +16 -16
- data/lib/hubspot/codegen/crm/lists/models/public_absolute_ranged_timestamp_refine_by.rb +28 -28
- data/lib/hubspot/codegen/crm/lists/models/public_ads_search_filter.rb +39 -39
- data/lib/hubspot/codegen/crm/lists/models/public_ads_time_filter.rb +19 -19
- data/lib/hubspot/codegen/crm/lists/models/public_all_history_refine_by.rb +1 -1
- data/lib/hubspot/codegen/crm/lists/models/public_all_property_types_operation.rb +19 -19
- data/lib/hubspot/codegen/crm/lists/models/public_and_filter_branch.rb +19 -19
- data/lib/hubspot/codegen/crm/lists/models/public_association_filter_branch.rb +36 -36
- data/lib/hubspot/codegen/crm/lists/models/public_association_in_list_filter.rb +55 -55
- data/lib/hubspot/codegen/crm/lists/models/public_batch_migration_mapping.rb +247 -0
- data/lib/hubspot/codegen/crm/lists/models/public_bool_property_operation.rb +33 -33
- data/lib/hubspot/codegen/crm/lists/models/public_calendar_date_property_operation.rb +54 -54
- data/lib/hubspot/codegen/crm/lists/models/public_campaign_influenced_filter.rb +19 -19
- data/lib/hubspot/codegen/crm/lists/models/public_communication_subscription_filter.rb +31 -31
- data/lib/hubspot/codegen/crm/lists/models/public_comparative_date_property_operation.rb +35 -35
- data/lib/hubspot/codegen/crm/lists/models/public_comparative_property_updated_operation.rb +35 -35
- data/lib/hubspot/codegen/crm/lists/models/public_constant_filter.rb +21 -21
- data/lib/hubspot/codegen/crm/lists/models/public_cta_analytics_filter.rb +28 -28
- data/lib/hubspot/codegen/crm/lists/models/public_date_point.rb +56 -56
- data/lib/hubspot/codegen/crm/lists/models/public_date_property_operation.rb +45 -45
- data/lib/hubspot/codegen/crm/lists/models/public_date_time_property_operation.rb +30 -30
- data/lib/hubspot/codegen/crm/lists/models/public_email_event_filter.rb +44 -44
- data/lib/hubspot/codegen/crm/lists/models/public_email_subscription_filter.rb +27 -27
- data/lib/hubspot/codegen/crm/lists/models/public_enumeration_property_operation.rb +35 -35
- data/lib/hubspot/codegen/crm/lists/models/public_event_analytics_filter.rb +28 -28
- data/lib/hubspot/codegen/crm/lists/models/public_event_filter_metadata.rb +2 -2
- data/lib/hubspot/codegen/crm/lists/models/public_fiscal_quarter_reference.rb +42 -42
- data/lib/hubspot/codegen/crm/lists/models/public_fiscal_year_reference.rb +42 -42
- data/lib/hubspot/codegen/crm/lists/models/public_form_submission_filter.rb +20 -20
- data/lib/hubspot/codegen/crm/lists/models/{public_event_analytics_filter_coalescing_refine_by.rb → public_form_submission_filter_coalescing_refine_by.rb} +2 -1
- data/lib/hubspot/codegen/crm/lists/models/public_form_submission_on_page_filter.rb +37 -37
- data/lib/hubspot/codegen/crm/lists/models/public_in_list_filter.rb +19 -19
- data/lib/hubspot/codegen/crm/lists/models/public_in_list_filter_metadata.rb +1 -1
- data/lib/hubspot/codegen/crm/lists/models/public_index_offset.rb +44 -44
- data/lib/hubspot/codegen/crm/lists/models/public_indexed_time_point.rb +30 -30
- data/lib/hubspot/codegen/crm/lists/models/public_indexed_time_point_index_reference.rb +2 -1
- data/lib/hubspot/codegen/crm/lists/models/public_integration_event_filter.rb +22 -22
- data/lib/hubspot/codegen/crm/lists/models/public_list_folder.rb +327 -0
- data/lib/hubspot/codegen/crm/lists/models/public_migration_mapping.rb +244 -0
- data/lib/hubspot/codegen/crm/lists/models/public_month_reference.rb +29 -29
- data/lib/hubspot/codegen/crm/lists/models/public_multi_string_property_operation.rb +35 -35
- data/lib/hubspot/codegen/crm/lists/models/public_not_all_filter_branch.rb +16 -16
- data/lib/hubspot/codegen/crm/lists/models/public_not_any_filter_branch.rb +16 -16
- data/lib/hubspot/codegen/crm/lists/models/public_now_reference.rb +23 -23
- data/lib/hubspot/codegen/crm/lists/models/public_num_associations_filter.rb +23 -23
- data/lib/hubspot/codegen/crm/lists/models/public_num_occurrences_refine_by.rb +14 -14
- data/lib/hubspot/codegen/crm/lists/models/public_number_property_operation.rb +33 -33
- data/lib/hubspot/codegen/crm/lists/models/public_object_list.rb +14 -5
- data/lib/hubspot/codegen/crm/lists/models/public_object_list_search_result.rb +4 -4
- data/lib/hubspot/codegen/crm/lists/models/public_or_filter_branch.rb +19 -19
- data/lib/hubspot/codegen/crm/lists/models/public_page_view_analytics_filter.rb +37 -37
- data/lib/hubspot/codegen/crm/lists/models/public_privacy_analytics_filter.rb +16 -16
- data/lib/hubspot/codegen/crm/lists/models/public_property_association_filter_branch.rb +42 -42
- data/lib/hubspot/codegen/crm/lists/models/public_property_association_filter_branch_filter_branches_inner.rb +2 -1
- data/lib/hubspot/codegen/crm/lists/models/public_property_association_filter_branch_filters_inner.rb +2 -2
- data/lib/hubspot/codegen/crm/lists/models/public_property_association_in_list_filter.rb +39 -39
- data/lib/hubspot/codegen/crm/lists/models/public_property_filter.rb +17 -17
- data/lib/hubspot/codegen/crm/lists/models/public_property_referenced_time.rb +25 -25
- data/lib/hubspot/codegen/crm/lists/models/public_quarter_reference.rb +42 -42
- data/lib/hubspot/codegen/crm/lists/models/public_ranged_date_property_operation.rb +42 -42
- data/lib/hubspot/codegen/crm/lists/models/public_ranged_number_property_operation.rb +36 -36
- data/lib/hubspot/codegen/crm/lists/models/public_ranged_time_operation.rb +67 -67
- data/lib/hubspot/codegen/crm/lists/models/public_relative_comparative_timestamp_refine_by.rb +22 -22
- data/lib/hubspot/codegen/crm/lists/models/public_relative_ranged_timestamp_refine_by.rb +31 -31
- data/lib/hubspot/codegen/crm/lists/models/public_restricted_filter_branch.rb +16 -16
- data/lib/hubspot/codegen/crm/lists/models/public_rolling_date_range_property_operation.rb +36 -36
- data/lib/hubspot/codegen/crm/lists/models/public_rolling_property_updated_operation.rb +33 -33
- data/lib/hubspot/codegen/crm/lists/models/public_set_occurrences_refine_by.rb +1 -1
- data/lib/hubspot/codegen/crm/lists/models/public_string_property_operation.rb +33 -33
- data/lib/hubspot/codegen/crm/lists/models/public_survey_monkey_filter.rb +16 -16
- data/lib/hubspot/codegen/crm/lists/models/public_survey_monkey_value_filter.rb +26 -26
- data/lib/hubspot/codegen/crm/lists/models/{public_property_filter_operation.rb → public_survey_monkey_value_filter_value_comparison.rb} +2 -1
- data/lib/hubspot/codegen/crm/lists/models/public_time_offset.rb +19 -19
- data/lib/hubspot/codegen/crm/lists/models/public_time_point_operation.rb +47 -47
- data/lib/hubspot/codegen/crm/lists/models/public_time_point_operation_time_point.rb +2 -1
- data/lib/hubspot/codegen/crm/lists/models/public_today_reference.rb +23 -23
- data/lib/hubspot/codegen/crm/lists/models/public_unified_events_filter.rb +31 -31
- data/lib/hubspot/codegen/crm/lists/models/public_unified_events_filter_branch.rb +41 -32
- data/lib/hubspot/codegen/crm/lists/models/public_webinar_filter.rb +14 -14
- data/lib/hubspot/codegen/crm/lists/models/public_week_reference.rb +48 -48
- data/lib/hubspot/codegen/crm/lists/models/public_year_reference.rb +42 -42
- data/lib/hubspot/codegen/crm/lists/models/record_list_membership.rb +270 -0
- data/lib/hubspot/codegen/crm/objects/api/basic_api.rb +7 -6
- data/lib/hubspot/codegen/crm/objects/api/batch_api.rb +85 -9
- data/lib/hubspot/codegen/crm/objects/calls/api/basic_api.rb +13 -12
- data/lib/hubspot/codegen/crm/objects/calls/api/batch_api.rb +87 -11
- 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_batch_input_for_create.rb +232 -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_upsert.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/batch_response_simple_public_upsert_object.rb +328 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/public_object_search_request.rb +0 -25
- 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 +12 -1
- data/lib/hubspot/codegen/crm/objects/calls/models/{public_merge_input.rb → simple_public_object_batch_input_for_create.rb} +32 -24
- data/lib/hubspot/codegen/crm/objects/calls/models/{public_gdpr_delete_input.rb → simple_public_object_batch_input_upsert.rb} +39 -13
- data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_input_for_create.rb +0 -5
- data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_with_associations.rb +10 -1
- data/lib/hubspot/codegen/crm/{extensions/accounting/models/updated_product.rb → objects/calls/models/simple_public_upsert_object.rb} +76 -88
- data/lib/hubspot/codegen/crm/objects/communications/api/basic_api.rb +13 -12
- data/lib/hubspot/codegen/crm/objects/communications/api/batch_api.rb +87 -11
- data/lib/hubspot/codegen/crm/objects/communications/api/search_api.rb +4 -0
- data/lib/hubspot/codegen/crm/objects/{feedback_submissions/models/batch_input_simple_public_object_input_for_create.rb → communications/models/batch_input_simple_public_object_batch_input_for_create.rb} +7 -7
- data/lib/hubspot/codegen/crm/objects/communications/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_upsert.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/batch_response_simple_public_upsert_object.rb +328 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/public_object_search_request.rb +0 -25
- 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 +12 -1
- data/lib/hubspot/codegen/crm/objects/communications/models/{public_merge_input.rb → simple_public_object_batch_input_for_create.rb} +32 -24
- data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_batch_input_upsert.rb +265 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_input_for_create.rb +0 -5
- 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 +326 -0
- 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/{extensions/accounting/models/result_id_accounting_response.rb → objects/deal_splits/models/batch_response_deal_to_deal_splits.rb} +85 -38
- 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/{goals/models/public_gdpr_delete_input.rb → deal_splits/models/deal_to_deal_splits.rb} +29 -22
- data/lib/hubspot/codegen/crm/objects/deal_splits/models/error.rb +307 -0
- data/lib/hubspot/codegen/crm/objects/{goals/models/public_merge_input.rb → deal_splits/models/error_detail.rb} +56 -27
- data/lib/hubspot/codegen/crm/objects/{emails/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/{postal_mail/models/public_gdpr_delete_input.rb → deal_splits/models/public_deal_splits_create_request.rb} +29 -22
- 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 +81 -11
- data/lib/hubspot/codegen/crm/objects/emails/models/batch_input_simple_public_object_batch_input_for_create.rb +232 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_upsert.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/batch_response_simple_public_upsert_object.rb +328 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/public_object_search_request.rb +0 -25
- 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 +12 -1
- data/lib/hubspot/codegen/crm/objects/emails/models/{public_merge_input.rb → simple_public_object_batch_input_for_create.rb} +32 -24
- data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_batch_input_upsert.rb +265 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_input_for_create.rb +0 -5
- 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 +326 -0
- 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 +11 -11
- data/lib/hubspot/codegen/crm/objects/goals/api/batch_api.rb +74 -6
- data/lib/hubspot/codegen/crm/objects/goals/api/search_api.rb +1 -1
- 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/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/goals/models/public_object_search_request.rb +0 -25
- data/lib/hubspot/codegen/crm/objects/goals/models/simple_public_object_batch_input.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/goals/models/simple_public_object_batch_input_upsert.rb +264 -0
- data/lib/hubspot/codegen/crm/objects/goals/models/simple_public_object_input.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/goals/models/simple_public_object_input_for_create.rb +10 -1
- 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 +392 -0
- data/lib/hubspot/codegen/crm/objects/leads/api/batch_api.rb +365 -0
- data/lib/hubspot/codegen/crm/objects/{postal_mail/api/public_object_api.rb → leads/api/search_api.rb} +19 -21
- data/lib/hubspot/codegen/crm/objects/leads/api_client.rb +412 -0
- data/lib/hubspot/codegen/crm/objects/leads/api_error.rb +63 -0
- data/lib/hubspot/codegen/crm/objects/leads/configuration.rb +289 -0
- data/lib/hubspot/codegen/crm/objects/leads/models/associated_id.rb +244 -0
- data/lib/hubspot/codegen/crm/objects/{feedback_submissions → leads}/models/association_spec.rb +5 -5
- data/lib/hubspot/codegen/crm/objects/{feedback_submissions → leads}/models/batch_input_simple_public_object_batch_input.rb +5 -5
- data/lib/hubspot/codegen/crm/objects/leads/models/batch_input_simple_public_object_batch_input_for_create.rb +232 -0
- data/lib/hubspot/codegen/crm/objects/leads/models/batch_input_simple_public_object_batch_input_upsert.rb +232 -0
- data/lib/hubspot/codegen/crm/objects/{feedback_submissions → leads}/models/batch_input_simple_public_object_id.rb +5 -5
- data/lib/hubspot/codegen/crm/objects/leads/models/batch_read_input_simple_public_object_id.rb +274 -0
- data/lib/hubspot/codegen/crm/{extensions/accounting/models/action_response.rb → objects/leads/models/batch_response_simple_public_object.rb} +49 -33
- data/lib/hubspot/codegen/crm/{extensions/accounting/models/exchange_rate_response.rb → objects/leads/models/batch_response_simple_public_object_with_errors.rb} +95 -58
- data/lib/hubspot/codegen/crm/objects/leads/models/batch_response_simple_public_upsert_object.rb +328 -0
- data/lib/hubspot/codegen/crm/objects/leads/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
- data/lib/hubspot/codegen/crm/objects/{communications/models/public_gdpr_delete_input.rb → leads/models/collection_response_associated_id.rb} +24 -22
- data/lib/hubspot/codegen/crm/objects/leads/models/collection_response_simple_public_object_with_associations_forward_paging.rb +241 -0
- data/lib/hubspot/codegen/crm/objects/leads/models/collection_response_with_total_simple_public_object_forward_paging.rb +255 -0
- data/lib/hubspot/codegen/crm/objects/leads/models/error.rb +307 -0
- data/lib/hubspot/codegen/crm/{extensions/accounting/models/tax.rb → objects/leads/models/error_detail.rb} +49 -38
- data/lib/hubspot/codegen/crm/{extensions/accounting/models/invoice_pdf_response.rb → objects/leads/models/filter.rb} +65 -54
- data/lib/hubspot/codegen/crm/objects/leads/models/filter_group.rb +232 -0
- data/lib/hubspot/codegen/crm/objects/leads/models/forward_paging.rb +225 -0
- data/lib/hubspot/codegen/crm/objects/leads/models/next_page.rb +239 -0
- data/lib/hubspot/codegen/crm/objects/leads/models/paging.rb +234 -0
- data/lib/hubspot/codegen/crm/objects/leads/models/previous_page.rb +239 -0
- data/lib/hubspot/codegen/crm/objects/{feedback_submissions → leads}/models/public_associations_for_object.rb +5 -5
- data/lib/hubspot/codegen/crm/objects/leads/models/public_object_id.rb +230 -0
- data/lib/hubspot/codegen/crm/objects/leads/models/public_object_search_request.rb +276 -0
- data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_object.rb +312 -0
- data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_object_batch_input.rb +266 -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 +265 -0
- data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_object_id.rb +230 -0
- data/lib/hubspot/codegen/crm/objects/{feedback_submissions → leads}/models/simple_public_object_input.rb +5 -5
- data/lib/hubspot/codegen/crm/objects/{feedback_submissions → leads}/models/simple_public_object_input_for_create.rb +5 -10
- data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_object_with_associations.rb +323 -0
- data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_upsert_object.rb +326 -0
- data/lib/hubspot/codegen/crm/objects/leads/models/standard_error.rb +324 -0
- data/lib/hubspot/codegen/crm/objects/leads/models/value_with_timestamp.rb +285 -0
- data/lib/hubspot/codegen/crm/objects/meetings/api/basic_api.rb +7 -6
- data/lib/hubspot/codegen/crm/objects/meetings/api/batch_api.rb +81 -11
- data/lib/hubspot/codegen/crm/objects/meetings/models/batch_input_simple_public_object_batch_input_for_create.rb +232 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_upsert.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/batch_response_simple_public_upsert_object.rb +328 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/public_object_search_request.rb +0 -25
- 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 +12 -1
- data/lib/hubspot/codegen/crm/objects/meetings/models/{public_merge_input.rb → simple_public_object_batch_input_for_create.rb} +32 -24
- data/lib/hubspot/codegen/crm/objects/meetings/models/{public_gdpr_delete_input.rb → simple_public_object_batch_input_upsert.rb} +39 -13
- data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_input_for_create.rb +0 -5
- 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 +326 -0
- data/lib/hubspot/codegen/crm/objects/models/{public_gdpr_delete_input.rb → batch_input_simple_public_object_batch_input_for_create.rb} +15 -22
- data/lib/hubspot/codegen/crm/objects/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_upsert.rb} +4 -4
- data/lib/hubspot/codegen/crm/objects/models/batch_read_input_simple_public_object_id.rb +1 -0
- data/lib/hubspot/codegen/crm/objects/models/batch_response_simple_public_upsert_object.rb +326 -0
- data/lib/hubspot/codegen/crm/objects/models/batch_response_simple_public_upsert_object_with_errors.rb +346 -0
- data/lib/hubspot/codegen/crm/objects/models/public_object_search_request.rb +0 -25
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object_batch_input.rb +11 -2
- data/lib/hubspot/codegen/crm/objects/models/{public_merge_input.rb → simple_public_object_batch_input_for_create.rb} +32 -24
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object_batch_input_upsert.rb +263 -0
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object_input_for_create.rb +0 -5
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object_with_associations.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/models/simple_public_upsert_object.rb +324 -0
- data/lib/hubspot/codegen/crm/objects/notes/api/basic_api.rb +7 -6
- data/lib/hubspot/codegen/crm/objects/notes/api/batch_api.rb +81 -11
- data/lib/hubspot/codegen/crm/objects/notes/models/batch_input_simple_public_object_batch_input_for_create.rb +232 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_upsert.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/batch_response_simple_public_upsert_object.rb +328 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/public_object_search_request.rb +0 -25
- 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 +12 -1
- data/lib/hubspot/codegen/crm/objects/notes/models/{public_merge_input.rb → simple_public_object_batch_input_for_create.rb} +32 -24
- data/lib/hubspot/codegen/crm/objects/notes/models/{public_gdpr_delete_input.rb → simple_public_object_batch_input_upsert.rb} +39 -13
- data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_input_for_create.rb +0 -5
- 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 +326 -0
- 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 +81 -11
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/batch_input_simple_public_object_batch_input_for_create.rb +232 -0
- 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_upsert.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/batch_response_simple_public_upsert_object.rb +328 -0
- data/lib/hubspot/codegen/crm/{extensions/accounting/models/accounting_extension_invoice.rb → objects/postal_mail/models/batch_response_simple_public_upsert_object_with_errors.rb} +68 -91
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/public_object_search_request.rb +0 -25
- 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 +12 -1
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/{public_merge_input.rb → simple_public_object_batch_input_for_create.rb} +32 -24
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_batch_input_upsert.rb +265 -0
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_input_for_create.rb +0 -5
- 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 +326 -0
- data/lib/hubspot/codegen/crm/objects/tasks/api/basic_api.rb +7 -6
- data/lib/hubspot/codegen/crm/objects/tasks/api/batch_api.rb +81 -11
- 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_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_upsert.rb} +4 -4
- 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/batch_response_simple_public_upsert_object.rb +328 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/public_object_search_request.rb +0 -25
- 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 +12 -1
- data/lib/hubspot/codegen/crm/objects/tasks/models/{public_merge_input.rb → simple_public_object_batch_input_for_create.rb} +32 -24
- data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_batch_input_upsert.rb +265 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_input_for_create.rb +0 -5
- 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 +326 -0
- data/lib/hubspot/codegen/crm/objects/taxes/api/basic_api.rb +7 -6
- data/lib/hubspot/codegen/crm/objects/taxes/api/batch_api.rb +81 -11
- data/lib/hubspot/codegen/crm/objects/taxes/models/batch_input_simple_public_object_batch_input_for_create.rb +232 -0
- data/lib/hubspot/codegen/crm/objects/taxes/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_upsert.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/batch_response_simple_public_upsert_object.rb +328 -0
- data/lib/hubspot/codegen/crm/objects/taxes/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
- data/lib/hubspot/codegen/crm/objects/taxes/models/public_object_search_request.rb +0 -25
- data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object_batch_input.rb +12 -1
- data/lib/hubspot/codegen/crm/objects/taxes/models/{public_merge_input.rb → simple_public_object_batch_input_for_create.rb} +32 -24
- data/lib/hubspot/codegen/crm/objects/taxes/models/{public_gdpr_delete_input.rb → simple_public_object_batch_input_upsert.rb} +39 -13
- data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object_input_for_create.rb +0 -5
- 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 +326 -0
- data/lib/hubspot/codegen/crm/owners/models/public_owner.rb +58 -1
- data/lib/hubspot/codegen/crm/pipelines/api/pipeline_audits_api.rb +1 -1
- data/lib/hubspot/codegen/crm/pipelines/api/pipeline_stage_audits_api.rb +1 -1
- data/lib/hubspot/codegen/crm/pipelines/api/pipeline_stages_api.rb +1 -1
- data/lib/hubspot/codegen/crm/pipelines/api/pipelines_api.rb +1 -1
- data/lib/hubspot/codegen/crm/pipelines/api_client.rb +1 -1
- data/lib/hubspot/codegen/crm/pipelines/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/pipelines/configuration.rb +1 -1
- data/lib/hubspot/codegen/crm/pipelines/models/collection_response_pipeline_no_paging.rb +1 -1
- data/lib/hubspot/codegen/crm/pipelines/models/collection_response_pipeline_stage_no_paging.rb +1 -1
- data/lib/hubspot/codegen/crm/pipelines/models/collection_response_public_audit_info_no_paging.rb +1 -1
- data/lib/hubspot/codegen/crm/pipelines/models/error.rb +1 -1
- data/lib/hubspot/codegen/crm/pipelines/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/crm/pipelines/models/pipeline.rb +1 -1
- data/lib/hubspot/codegen/crm/pipelines/models/pipeline_input.rb +1 -1
- data/lib/hubspot/codegen/crm/pipelines/models/pipeline_patch_input.rb +1 -1
- data/lib/hubspot/codegen/crm/pipelines/models/pipeline_stage.rb +1 -6
- data/lib/hubspot/codegen/crm/pipelines/models/pipeline_stage_input.rb +1 -6
- data/lib/hubspot/codegen/crm/pipelines/models/pipeline_stage_patch_input.rb +1 -6
- data/lib/hubspot/codegen/crm/pipelines/models/public_audit_info.rb +1 -1
- data/lib/hubspot/codegen/crm/products/api/basic_api.rb +6 -6
- data/lib/hubspot/codegen/crm/products/api/batch_api.rb +70 -2
- data/lib/hubspot/codegen/crm/products/models/batch_input_simple_public_object_batch_input_upsert.rb +230 -0
- data/lib/hubspot/codegen/crm/products/models/batch_read_input_simple_public_object_id.rb +1 -0
- data/lib/hubspot/codegen/crm/products/models/batch_response_simple_public_upsert_object.rb +326 -0
- data/lib/hubspot/codegen/crm/products/models/batch_response_simple_public_upsert_object_with_errors.rb +346 -0
- data/lib/hubspot/codegen/crm/products/models/public_object_search_request.rb +0 -25
- data/lib/hubspot/codegen/crm/products/models/simple_public_object.rb +5 -0
- data/lib/hubspot/codegen/crm/products/models/simple_public_object_batch_input.rb +22 -1
- data/lib/hubspot/codegen/crm/products/models/simple_public_object_batch_input_upsert.rb +263 -0
- data/lib/hubspot/codegen/crm/products/models/simple_public_object_input.rb +15 -2
- data/lib/hubspot/codegen/crm/products/models/simple_public_object_input_for_create.rb +10 -2
- data/lib/hubspot/codegen/crm/products/models/simple_public_upsert_object.rb +315 -0
- data/lib/hubspot/codegen/crm/quotes/api/basic_api.rb +7 -6
- data/lib/hubspot/codegen/crm/quotes/api/batch_api.rb +81 -11
- data/lib/hubspot/codegen/crm/quotes/models/{public_gdpr_delete_input.rb → batch_input_simple_public_object_batch_input_for_create.rb} +15 -22
- data/lib/hubspot/codegen/crm/quotes/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_upsert.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/batch_response_simple_public_upsert_object.rb +326 -0
- data/lib/hubspot/codegen/crm/quotes/models/batch_response_simple_public_upsert_object_with_errors.rb +346 -0
- data/lib/hubspot/codegen/crm/quotes/models/public_object_search_request.rb +0 -25
- 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 +12 -1
- 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 +263 -0
- data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_input_for_create.rb +0 -5
- 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 +324 -0
- data/lib/hubspot/codegen/crm/schemas/api/core_api.rb +7 -7
- data/lib/hubspot/codegen/crm/schemas/models/association_definition.rb +1 -1
- data/lib/hubspot/codegen/crm/schemas/models/association_definition_egg.rb +1 -1
- data/lib/hubspot/codegen/crm/schemas/models/object_schema.rb +19 -1
- data/lib/hubspot/codegen/crm/schemas/models/object_type_definition_patch.rb +10 -1
- data/lib/hubspot/codegen/crm/schemas/models/property.rb +164 -110
- data/lib/hubspot/codegen/crm/tickets/api/basic_api.rb +6 -6
- data/lib/hubspot/codegen/crm/tickets/api/batch_api.rb +70 -2
- data/lib/hubspot/codegen/crm/tickets/api/{public_object_api.rb → merge_api.rb} +5 -5
- data/lib/hubspot/codegen/crm/tickets/models/association_spec.rb +0 -10
- data/lib/hubspot/codegen/crm/tickets/models/batch_input_simple_public_object_batch_input_upsert.rb +230 -0
- data/lib/hubspot/codegen/crm/tickets/models/batch_response_simple_public_upsert_object.rb +326 -0
- data/lib/hubspot/codegen/crm/tickets/models/batch_response_simple_public_upsert_object_with_errors.rb +346 -0
- data/lib/hubspot/codegen/crm/tickets/models/public_associations_for_object.rb +0 -10
- data/lib/hubspot/codegen/crm/tickets/models/public_object_id.rb +0 -5
- data/lib/hubspot/codegen/crm/tickets/models/public_object_search_request.rb +0 -25
- data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_batch_input.rb +10 -1
- data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_batch_input_upsert.rb +262 -0
- data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_input.rb +10 -1
- data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_input_for_create.rb +10 -6
- data/lib/hubspot/codegen/crm/tickets/models/simple_public_upsert_object.rb +315 -0
- data/lib/hubspot/codegen/crm/timeline/api/events_api.rb +6 -6
- data/lib/hubspot/codegen/crm/timeline/api/templates_api.rb +6 -6
- data/lib/hubspot/codegen/crm/timeline/api/tokens_api.rb +4 -4
- data/lib/hubspot/codegen/crm/timeline/api_client.rb +1 -1
- data/lib/hubspot/codegen/crm/timeline/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/timeline/configuration.rb +1 -1
- data/lib/hubspot/codegen/crm/timeline/models/batch_input_timeline_event.rb +1 -1
- data/lib/hubspot/codegen/crm/timeline/models/batch_response_timeline_event_response.rb +1 -1
- data/lib/hubspot/codegen/crm/timeline/models/batch_response_timeline_event_response_with_errors.rb +1 -1
- data/lib/hubspot/codegen/crm/timeline/models/collection_response_timeline_event_template_no_paging.rb +1 -1
- data/lib/hubspot/codegen/crm/timeline/models/error.rb +1 -1
- data/lib/hubspot/codegen/crm/timeline/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/crm/timeline/models/event_detail.rb +1 -1
- data/lib/hubspot/codegen/crm/timeline/models/standard_error.rb +1 -1
- data/lib/hubspot/codegen/crm/timeline/models/timeline_event.rb +1 -1
- data/lib/hubspot/codegen/crm/timeline/models/timeline_event_i_frame.rb +1 -1
- data/lib/hubspot/codegen/crm/timeline/models/timeline_event_response.rb +1 -1
- data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template.rb +1 -1
- data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_create_request.rb +1 -1
- data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_token.rb +1 -1
- data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_token_option.rb +1 -1
- data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_token_update_request.rb +1 -1
- data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_update_request.rb +1 -1
- data/lib/hubspot/codegen/events/api/events_api.rb +84 -29
- data/lib/hubspot/codegen/events/api_client.rb +2 -2
- data/lib/hubspot/codegen/events/api_error.rb +2 -2
- data/lib/hubspot/codegen/events/configuration.rb +2 -2
- data/lib/hubspot/codegen/events/models/collection_response_external_unified_event.rb +2 -2
- data/lib/hubspot/codegen/events/models/error.rb +2 -2
- data/lib/hubspot/codegen/events/models/error_detail.rb +2 -2
- data/lib/hubspot/codegen/events/models/external_unified_event.rb +2 -2
- data/lib/hubspot/codegen/events/models/next_page.rb +2 -2
- data/lib/hubspot/codegen/events/models/paging.rb +2 -2
- data/lib/hubspot/codegen/events/models/previous_page.rb +2 -2
- data/lib/hubspot/codegen/events/models/visible_external_event_type_names.rb +229 -0
- data/lib/hubspot/codegen/events/send/api/{custom_event_data_api.rb → basic_api.rb} +13 -10
- data/lib/hubspot/codegen/{crm/deals/api/gdpr_api.rb → events/send/api/batch_api.rb} +21 -21
- 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/{crm/quotes/models/public_merge_input.rb → marketing/emails/models/ab_test_create_request_v_next.rb} +28 -26
- 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/{cms/hubdb/models/collection_response_with_total_hub_db_table_row_v3_forward_paging.rb → marketing/emails/models/collection_response_with_total_public_email_forward_paging.rb} +12 -11
- 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/{crm/line_items/models/public_merge_input.rb → marketing/emails/models/public_email_from_details.rb} +33 -30
- 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 +294 -100
- data/lib/hubspot/codegen/marketing/events/api/batch_api.rb +156 -20
- 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 +446 -0
- data/lib/hubspot/codegen/marketing/events/api/retrieve_participant_state_api.rb +386 -0
- data/lib/hubspot/codegen/marketing/events/api/settings_api.rb +42 -42
- data/lib/hubspot/codegen/marketing/events/api/subscriber_state_changes_api.rb +45 -45
- data/lib/hubspot/codegen/marketing/events/api_client.rb +1 -1
- data/lib/hubspot/codegen/marketing/events/api_error.rb +1 -1
- data/lib/hubspot/codegen/marketing/events/configuration.rb +1 -1
- data/lib/hubspot/codegen/marketing/events/models/app_info.rb +242 -0
- data/lib/hubspot/codegen/marketing/events/models/attendance_counters.rb +270 -0
- data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_create_request_params.rb +1 -1
- data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_email_subscriber.rb +1 -2
- data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_external_unique_identifier.rb +1 -1
- data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_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_input_marketing_event_subscriber.rb +1 -2
- data/lib/hubspot/codegen/marketing/events/models/batch_response_marketing_event_public_default_response.rb +1 -1
- 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/batch_response_subscriber_email_response.rb +1 -1
- data/lib/hubspot/codegen/marketing/events/models/batch_response_subscriber_vid_response.rb +1 -1
- data/lib/hubspot/codegen/marketing/events/models/{collection_response_marketing_event_external_unique_identifier_no_paging.rb → collection_response_marketing_event_public_read_response_v2_forward_paging.rb} +15 -6
- data/lib/hubspot/codegen/marketing/events/models/collection_response_search_public_response_wrapper_no_paging.rb +230 -0
- 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/collection_response_with_total_participation_breakdown_forward_paging.rb +253 -0
- data/lib/hubspot/codegen/marketing/events/models/collection_response_with_total_public_list_no_paging.rb +244 -0
- data/lib/hubspot/codegen/marketing/events/models/contact_association.rb +260 -0
- data/lib/hubspot/codegen/marketing/events/models/crm_property_wrapper.rb +242 -0
- data/lib/hubspot/codegen/marketing/events/models/error.rb +1 -1
- data/lib/hubspot/codegen/marketing/events/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/marketing/events/models/event_detail_settings.rb +1 -1
- data/lib/hubspot/codegen/marketing/events/models/event_detail_settings_url.rb +1 -1
- data/lib/hubspot/codegen/marketing/events/models/forward_paging.rb +223 -0
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_association.rb +260 -0
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_complete_request_params.rb +1 -1
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_create_request_params.rb +11 -2
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_default_response.rb +23 -5
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_email_subscriber.rb +2 -2
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_external_unique_identifier.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 +62 -44
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_default_response_v2.rb +367 -0
- data/lib/hubspot/codegen/{crm/deals/models/public_gdpr_delete_input.rb → marketing/events/models/marketing_event_public_object_id_delete_request.rb} +8 -17
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_read_response.rb +20 -2
- 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 +2 -2
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_update_request_params.rb +11 -2
- data/lib/hubspot/codegen/marketing/events/models/next_page.rb +237 -0
- data/lib/hubspot/codegen/marketing/events/models/participation_associations.rb +242 -0
- data/lib/hubspot/codegen/marketing/events/models/participation_breakdown.rb +270 -0
- data/lib/hubspot/codegen/marketing/events/models/participation_properties.rb +294 -0
- data/lib/hubspot/codegen/marketing/events/models/property_value.rb +58 -4
- data/lib/hubspot/codegen/marketing/events/models/public_list.rb +361 -0
- data/lib/hubspot/codegen/marketing/events/models/search_public_response_wrapper.rb +270 -0
- data/lib/hubspot/codegen/marketing/events/models/standard_error.rb +1 -1
- data/lib/hubspot/codegen/marketing/events/models/subscriber_email_response.rb +1 -1
- data/lib/hubspot/codegen/marketing/events/models/subscriber_vid_response.rb +1 -1
- data/lib/hubspot/codegen/marketing/forms/models/datepicker_field.rb +67 -67
- data/lib/hubspot/codegen/marketing/forms/models/dependent_field_filter.rb +38 -33
- data/lib/hubspot/codegen/marketing/forms/models/dropdown_field.rb +84 -84
- data/lib/hubspot/codegen/marketing/forms/models/email_field.rb +67 -67
- data/lib/hubspot/codegen/marketing/forms/models/email_field_validation.rb +19 -19
- data/lib/hubspot/codegen/marketing/forms/models/enumerated_field_option.rb +29 -28
- data/lib/hubspot/codegen/marketing/forms/models/file_field.rb +77 -77
- 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/marketing/forms/models/legal_consent_checkbox.rb +20 -19
- data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_explicit_consent_to_process.rb +42 -35
- data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_implicit_consent_to_process.rb +27 -22
- data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_legitimate_interest.rb +33 -29
- data/lib/hubspot/codegen/marketing/forms/models/legal_consent_options_none.rb +1 -0
- data/lib/hubspot/codegen/marketing/forms/models/mobile_phone_field.rb +67 -67
- data/lib/hubspot/codegen/marketing/forms/models/multi_line_text_field.rb +67 -67
- data/lib/hubspot/codegen/marketing/forms/models/multiple_checkboxes_field.rb +78 -78
- data/lib/hubspot/codegen/marketing/forms/models/number_field.rb +67 -67
- data/lib/hubspot/codegen/marketing/forms/models/number_field_validation.rb +2 -0
- data/lib/hubspot/codegen/marketing/forms/models/payment_link_radio_field.rb +72 -72
- data/lib/hubspot/codegen/marketing/forms/models/phone_field.rb +77 -77
- data/lib/hubspot/codegen/marketing/forms/models/phone_field_validation.rb +2 -0
- data/lib/hubspot/codegen/marketing/forms/models/radio_field.rb +84 -84
- data/lib/hubspot/codegen/marketing/forms/models/single_checkbox_field.rb +67 -67
- data/lib/hubspot/codegen/marketing/forms/models/single_line_text_field.rb +67 -67
- data/lib/hubspot/codegen/marketing/transactional/api/public_smtp_tokens_api.rb +21 -21
- data/lib/hubspot/codegen/marketing/transactional/api/single_send_api.rb +1 -1
- data/lib/hubspot/codegen/marketing/transactional/api_client.rb +1 -1
- data/lib/hubspot/codegen/marketing/transactional/api_error.rb +1 -1
- data/lib/hubspot/codegen/marketing/transactional/configuration.rb +1 -1
- data/lib/hubspot/codegen/marketing/transactional/models/collection_response_smtp_api_token_view_forward_paging.rb +1 -1
- data/lib/hubspot/codegen/marketing/transactional/models/email_send_status_view.rb +1 -1
- data/lib/hubspot/codegen/marketing/transactional/models/error.rb +1 -1
- data/lib/hubspot/codegen/marketing/transactional/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/marketing/transactional/models/event_id_view.rb +1 -1
- data/lib/hubspot/codegen/marketing/transactional/models/forward_paging.rb +1 -1
- data/lib/hubspot/codegen/marketing/transactional/models/next_page.rb +1 -1
- data/lib/hubspot/codegen/marketing/transactional/models/public_single_send_email.rb +1 -1
- data/lib/hubspot/codegen/marketing/transactional/models/public_single_send_request_egg.rb +1 -1
- data/lib/hubspot/codegen/marketing/transactional/models/smtp_api_token_request_egg.rb +1 -1
- data/lib/hubspot/codegen/marketing/transactional/models/smtp_api_token_view.rb +1 -1
- data/lib/hubspot/codegen/settings/users/api/roles_api.rb +1 -1
- data/lib/hubspot/codegen/settings/users/api/teams_api.rb +1 -1
- data/lib/hubspot/codegen/settings/users/api/users_api.rb +13 -1
- data/lib/hubspot/codegen/settings/users/api_client.rb +1 -1
- data/lib/hubspot/codegen/settings/users/api_error.rb +1 -1
- data/lib/hubspot/codegen/settings/users/configuration.rb +1 -1
- data/lib/hubspot/codegen/settings/users/models/collection_response_public_permission_set_no_paging.rb +1 -1
- data/lib/hubspot/codegen/settings/users/models/collection_response_public_team_no_paging.rb +1 -1
- data/lib/hubspot/codegen/settings/users/models/collection_response_public_user_forward_paging.rb +1 -1
- data/lib/hubspot/codegen/settings/users/models/error.rb +1 -1
- data/lib/hubspot/codegen/settings/users/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/settings/users/models/forward_paging.rb +1 -1
- data/lib/hubspot/codegen/settings/users/models/next_page.rb +1 -1
- data/lib/hubspot/codegen/settings/users/models/public_permission_set.rb +1 -1
- data/lib/hubspot/codegen/settings/users/models/public_team.rb +1 -1
- data/lib/hubspot/codegen/settings/users/models/public_user.rb +20 -2
- data/lib/hubspot/codegen/settings/users/models/public_user_update.rb +20 -2
- data/lib/hubspot/codegen/settings/users/models/user_provision_request.rb +20 -2
- 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/{crm/extensions/accounting/api/invoice_api.rb → cms/blogs/blog_posts/api/multi_language_api.rb} +4 -4
- data/lib/hubspot/discovery/cms/blogs/blog_posts/client.rb +3 -1
- data/lib/hubspot/discovery/cms/source_code/client.rb +0 -1
- data/lib/hubspot/discovery/crm/associations/v4/api/report_api.rb +15 -0
- 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/{extensions/accounting → commerce/invoices}/client.rb +5 -8
- data/lib/hubspot/discovery/crm/companies/api/{public_object_api.rb → merge_api.rb} +1 -1
- data/lib/hubspot/discovery/crm/companies/client.rb +1 -1
- data/lib/hubspot/discovery/crm/contacts/api/{public_object_api.rb → merge_api.rb} +1 -1
- data/lib/hubspot/discovery/crm/contacts/client.rb +1 -1
- data/lib/hubspot/discovery/crm/deals/api/{public_object_api.rb → merge_api.rb} +1 -1
- data/lib/hubspot/discovery/crm/deals/client.rb +1 -1
- data/lib/hubspot/discovery/crm/{line_items/api/gdpr_api.rb → exports/api/public_exports_api.rb} +2 -2
- data/lib/hubspot/discovery/crm/exports/client.rb +19 -0
- data/lib/hubspot/discovery/crm/extensions/{accounting/api/sync_api.rb → calling/api/channel_connection_settings_api.rb} +2 -2
- data/lib/hubspot/discovery/crm/extensions/calling/client.rb +1 -0
- data/lib/hubspot/discovery/crm/extensions/client.rb +0 -1
- data/lib/hubspot/discovery/crm/line_items/client.rb +0 -2
- data/lib/hubspot/discovery/crm/{quotes/api/gdpr_api.rb → lists/api/folders_api.rb} +2 -2
- data/lib/hubspot/discovery/crm/{products/api/gdpr_api.rb → lists/api/mapping_api.rb} +2 -2
- data/lib/hubspot/discovery/crm/lists/client.rb +2 -0
- data/lib/hubspot/discovery/crm/objects/calls/client.rb +0 -2
- data/lib/hubspot/discovery/crm/objects/client.rb +2 -3
- data/lib/hubspot/discovery/crm/objects/communications/client.rb +0 -2
- data/lib/hubspot/discovery/crm/objects/{meetings/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/emails/client.rb +0 -2
- data/lib/hubspot/discovery/crm/objects/feedback_submissions/client.rb +0 -2
- data/lib/hubspot/discovery/crm/objects/goals/client.rb +0 -2
- data/lib/hubspot/discovery/crm/objects/{emails/api/gdpr_api.rb → leads/api/basic_api.rb} +2 -2
- data/lib/hubspot/discovery/crm/objects/{calls/api/gdpr_api.rb → leads/api/batch_api.rb} +2 -2
- data/lib/hubspot/discovery/crm/objects/{goals/api/gdpr_api.rb → leads/api/search_api.rb} +2 -2
- data/lib/hubspot/discovery/crm/objects/leads/client.rb +23 -0
- data/lib/hubspot/discovery/crm/objects/meetings/client.rb +0 -2
- data/lib/hubspot/discovery/crm/objects/notes/client.rb +0 -2
- data/lib/hubspot/discovery/crm/objects/postal_mail/client.rb +0 -2
- data/lib/hubspot/discovery/crm/objects/tasks/client.rb +0 -2
- data/lib/hubspot/discovery/crm/objects/taxes/client.rb +0 -2
- data/lib/hubspot/discovery/crm/products/client.rb +0 -3
- data/lib/hubspot/discovery/crm/quotes/client.rb +0 -3
- data/lib/hubspot/discovery/crm/schemas/client.rb +0 -1
- data/lib/hubspot/discovery/crm/tickets/api/{gdpr_api.rb → merge_api.rb} +1 -1
- data/lib/hubspot/discovery/crm/tickets/client.rb +1 -3
- data/lib/hubspot/discovery/events/send/api/{custom_event_data_api.rb → basic_api.rb} +1 -1
- data/lib/hubspot/discovery/{crm/objects/api/gdpr_api.rb → events/send/api/batch_api.rb} +3 -3
- 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/{marketing_events_external_api.rb → add_event_attendees_api.rb} +1 -1
- data/lib/hubspot/discovery/marketing/events/api/{attendance_subscriber_state_changes_api.rb → change_property_api.rb} +1 -1
- data/lib/hubspot/discovery/marketing/events/api/{search_api.rb → identifiers_api.rb} +1 -1
- data/lib/hubspot/discovery/marketing/events/api/list_associations_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 +6 -4
- data/lib/hubspot/discovery/marketing/transactional/api/public_smtp_tokens_api.rb +1 -1
- data/lib/hubspot/helpers/camel_case.rb +2 -0
- 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/cms/source-code/extract_api_spec.rb +2 -1
- 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/companies/batch_api_spec.rb +1 -0
- data/spec/discovery/crm/{deals/public_object_api_spec.rb → companies/merge_api_spec.rb} +2 -2
- data/spec/discovery/crm/contacts/batch_api_spec.rb +1 -0
- data/spec/discovery/crm/{quotes/public_object_api_spec.rb → contacts/merge_api_spec.rb} +2 -2
- data/spec/discovery/crm/deals/batch_api_spec.rb +1 -0
- data/spec/discovery/crm/{objects/public_object_api_spec.rb → deals/merge_api_spec.rb} +2 -2
- 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/extensions/calling/recording_settings_api_spec.rb +1 -0
- data/spec/discovery/crm/extensions/client_spec.rb +0 -1
- data/spec/discovery/crm/line_items/batch_api_spec.rb +1 -0
- data/spec/discovery/crm/lists/folders_api_spec.rb +12 -0
- data/spec/discovery/crm/lists/lists_api_spec.rb +4 -11
- data/spec/discovery/crm/lists/mapping_api_spec.rb +15 -0
- data/spec/discovery/crm/lists/memberships_api_spec.rb +1 -0
- data/spec/discovery/crm/objects/batch_api_spec.rb +1 -0
- data/spec/discovery/crm/objects/calls/batch_api_spec.rb +1 -0
- data/spec/discovery/crm/objects/client_spec.rb +2 -0
- data/spec/discovery/crm/objects/communications/batch_api_spec.rb +1 -0
- data/spec/discovery/crm/objects/deal_splits/batch_api_spec.rb +8 -0
- data/spec/discovery/crm/objects/emails/batch_api_spec.rb +1 -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/batch_api_spec.rb +1 -0
- data/spec/discovery/crm/objects/leads/basic_api_spec.rb +11 -0
- data/spec/discovery/crm/objects/leads/batch_api_spec.rb +11 -0
- data/spec/discovery/crm/objects/leads/search_api_spec.rb +7 -0
- data/spec/discovery/crm/objects/meetings/batch_api_spec.rb +1 -0
- data/spec/discovery/crm/objects/notes/batch_api_spec.rb +1 -0
- data/spec/discovery/crm/objects/postal_mail/batch_api_spec.rb +1 -0
- data/spec/discovery/crm/objects/tasks/batch_api_spec.rb +1 -0
- data/spec/discovery/crm/objects/taxes/batch_api_spec.rb +1 -0
- data/spec/discovery/crm/products/batch_api_spec.rb +1 -0
- data/spec/discovery/crm/quotes/basic_api_spec.rb +3 -0
- data/spec/discovery/crm/quotes/batch_api_spec.rb +4 -0
- data/spec/discovery/crm/tickets/batch_api_spec.rb +1 -0
- data/spec/discovery/crm/{objects/goals/public_object_api_spec.rb → tickets/merge_api_spec.rb} +2 -2
- data/spec/discovery/events/events_api_spec.rb +1 -0
- data/spec/discovery/events/send/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 +7 -4
- data/spec/discovery/marketing/events/batch_api_spec.rb +4 -2
- 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/list_associations_api_spec.rb +12 -0
- data/spec/discovery/marketing/events/retrieve_participant_state_api_spec.rb +11 -0
- data/spec/discovery/marketing/events/settings_api_spec.rb +1 -1
- data/spec/discovery/marketing/events/subscriber_state_changes_api_spec.rb +2 -2
- data/spec/discovery/marketing/transactional/public_smtp_tokens_api_spec.rb +1 -1
- 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 +457 -291
- data/lib/hubspot/codegen/cms/blogs/blog_posts/api/blog_posts_api.rb +0 -1694
- data/lib/hubspot/codegen/crm/companies/api/gdpr_api.rb +0 -94
- data/lib/hubspot/codegen/crm/extensions/accounting/api/callbacks_api.rb +0 -768
- data/lib/hubspot/codegen/crm/extensions/accounting/api/invoice_api.rb +0 -256
- data/lib/hubspot/codegen/crm/extensions/accounting/api/settings_api.rb +0 -165
- data/lib/hubspot/codegen/crm/extensions/accounting/api/sync_api.rb +0 -176
- data/lib/hubspot/codegen/crm/extensions/accounting/api/user_accounts_api.rb +0 -159
- data/lib/hubspot/codegen/crm/extensions/accounting/models/accounting_app_settings.rb +0 -255
- data/lib/hubspot/codegen/crm/extensions/accounting/models/accounting_app_urls.rb +0 -395
- data/lib/hubspot/codegen/crm/extensions/accounting/models/accounting_extension_term.rb +0 -267
- data/lib/hubspot/codegen/crm/extensions/accounting/models/accounting_features.rb +0 -262
- data/lib/hubspot/codegen/crm/extensions/accounting/models/address.rb +0 -267
- data/lib/hubspot/codegen/crm/extensions/accounting/models/create_invoice_feature.rb +0 -246
- data/lib/hubspot/codegen/crm/extensions/accounting/models/create_invoice_sub_features.rb +0 -307
- data/lib/hubspot/codegen/crm/extensions/accounting/models/create_user_account_request_external.rb +0 -262
- data/lib/hubspot/codegen/crm/extensions/accounting/models/import_invoice_feature.rb +0 -232
- data/lib/hubspot/codegen/crm/extensions/accounting/models/invoice_create_payment_request.rb +0 -276
- data/lib/hubspot/codegen/crm/extensions/accounting/models/invoice_read_response.rb +0 -469
- data/lib/hubspot/codegen/crm/extensions/accounting/models/invoice_update_request.rb +0 -295
- data/lib/hubspot/codegen/crm/extensions/accounting/models/invoice_update_response.rb +0 -454
- data/lib/hubspot/codegen/crm/extensions/accounting/models/invoices_response_external.rb +0 -278
- data/lib/hubspot/codegen/crm/extensions/accounting/models/object_sync_feature.rb +0 -231
- data/lib/hubspot/codegen/crm/extensions/accounting/models/product.rb +0 -295
- data/lib/hubspot/codegen/crm/extensions/accounting/models/product_search_response.rb +0 -278
- data/lib/hubspot/codegen/crm/extensions/accounting/models/sync_contacts_request.rb +0 -249
- data/lib/hubspot/codegen/crm/extensions/accounting/models/sync_products_request.rb +0 -249
- data/lib/hubspot/codegen/crm/extensions/accounting/models/tax_search_response.rb +0 -278
- data/lib/hubspot/codegen/crm/extensions/accounting/models/tax_type.rb +0 -242
- data/lib/hubspot/codegen/crm/extensions/accounting/models/terms_response.rb +0 -278
- data/lib/hubspot/codegen/crm/extensions/accounting/models/unit_price.rb +0 -242
- data/lib/hubspot/codegen/crm/extensions/accounting/models/updated_contact.rb +0 -333
- data/lib/hubspot/codegen/crm/line_items/api/gdpr_api.rb +0 -94
- data/lib/hubspot/codegen/crm/line_items/api/public_object_api.rb +0 -92
- data/lib/hubspot/codegen/crm/objects/api/gdpr_api.rb +0 -100
- data/lib/hubspot/codegen/crm/objects/api/public_object_api.rb +0 -98
- data/lib/hubspot/codegen/crm/objects/calls/api/gdpr_api.rb +0 -96
- data/lib/hubspot/codegen/crm/objects/communications/api/gdpr_api.rb +0 -96
- data/lib/hubspot/codegen/crm/objects/communications/api/public_object_api.rb +0 -94
- data/lib/hubspot/codegen/crm/objects/emails/api/gdpr_api.rb +0 -96
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/gdpr_api.rb +0 -96
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/public_object_api.rb +0 -94
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/public_gdpr_delete_input.rb +0 -239
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/public_merge_input.rb +0 -244
- data/lib/hubspot/codegen/crm/objects/goals/api/gdpr_api.rb +0 -96
- data/lib/hubspot/codegen/crm/objects/goals/api/public_object_api.rb +0 -94
- data/lib/hubspot/codegen/crm/objects/meetings/api/gdpr_api.rb +0 -96
- data/lib/hubspot/codegen/crm/objects/meetings/api/public_object_api.rb +0 -94
- data/lib/hubspot/codegen/crm/objects/notes/api/gdpr_api.rb +0 -96
- data/lib/hubspot/codegen/crm/objects/notes/api/public_object_api.rb +0 -94
- data/lib/hubspot/codegen/crm/objects/postal_mail/api/gdpr_api.rb +0 -96
- data/lib/hubspot/codegen/crm/objects/tasks/api/gdpr_api.rb +0 -96
- data/lib/hubspot/codegen/crm/objects/tasks/api/public_object_api.rb +0 -94
- data/lib/hubspot/codegen/crm/objects/taxes/api/gdpr_api.rb +0 -96
- data/lib/hubspot/codegen/crm/objects/taxes/api/public_object_api.rb +0 -94
- data/lib/hubspot/codegen/crm/products/api/gdpr_api.rb +0 -94
- data/lib/hubspot/codegen/crm/products/api/public_object_api.rb +0 -92
- data/lib/hubspot/codegen/crm/quotes/api/gdpr_api.rb +0 -94
- data/lib/hubspot/codegen/crm/quotes/api/public_object_api.rb +0 -92
- data/lib/hubspot/codegen/crm/schemas/api/public_object_schemas_api.rb +0 -85
- data/lib/hubspot/codegen/crm/tickets/api/gdpr_api.rb +0 -94
- data/lib/hubspot/codegen/marketing/events/api/attendance_subscriber_state_changes_api.rb +0 -192
- data/lib/hubspot/codegen/marketing/events/api/marketing_events_external_api.rb +0 -103
- data/lib/hubspot/codegen/marketing/events/api/search_api.rb +0 -90
- data/lib/hubspot/discovery/cms/source_code/api/source_code_extract_api.rb +0 -13
- data/lib/hubspot/discovery/crm/extensions/accounting/api/callbacks_api.rb +0 -15
- data/lib/hubspot/discovery/crm/extensions/accounting/api/settings_api.rb +0 -15
- data/lib/hubspot/discovery/crm/extensions/accounting/api/user_accounts_api.rb +0 -15
- data/lib/hubspot/discovery/crm/line_items/api/public_object_api.rb +0 -13
- data/lib/hubspot/discovery/crm/objects/api/associations_api.rb +0 -13
- data/lib/hubspot/discovery/crm/objects/api/public_object_api.rb +0 -13
- data/lib/hubspot/discovery/crm/objects/calls/api/public_object_api.rb +0 -15
- data/lib/hubspot/discovery/crm/objects/communications/api/gdpr_api.rb +0 -15
- data/lib/hubspot/discovery/crm/objects/communications/api/public_object_api.rb +0 -15
- data/lib/hubspot/discovery/crm/objects/emails/api/public_object_api.rb +0 -15
- data/lib/hubspot/discovery/crm/objects/feedback_submissions/api/gdpr_api.rb +0 -15
- data/lib/hubspot/discovery/crm/objects/feedback_submissions/api/public_object_api.rb +0 -15
- data/lib/hubspot/discovery/crm/objects/goals/api/public_object_api.rb +0 -15
- data/lib/hubspot/discovery/crm/objects/meetings/api/public_object_api.rb +0 -15
- data/lib/hubspot/discovery/crm/objects/notes/api/gdpr_api.rb +0 -15
- data/lib/hubspot/discovery/crm/objects/notes/api/public_object_api.rb +0 -15
- data/lib/hubspot/discovery/crm/objects/postal_mail/api/gdpr_api.rb +0 -15
- data/lib/hubspot/discovery/crm/objects/postal_mail/api/public_object_api.rb +0 -15
- data/lib/hubspot/discovery/crm/objects/tasks/api/gdpr_api.rb +0 -15
- data/lib/hubspot/discovery/crm/objects/tasks/api/public_object_api.rb +0 -15
- data/lib/hubspot/discovery/crm/objects/taxes/api/gdpr_api.rb +0 -15
- data/lib/hubspot/discovery/crm/objects/taxes/api/public_object_api.rb +0 -15
- data/lib/hubspot/discovery/crm/products/api/associations_api.rb +0 -13
- data/lib/hubspot/discovery/crm/products/api/public_object_api.rb +0 -13
- data/lib/hubspot/discovery/crm/quotes/api/associations_api.rb +0 -13
- data/lib/hubspot/discovery/crm/quotes/api/public_object_api.rb +0 -13
- data/lib/hubspot/discovery/crm/schemas/api/public_object_schemas_api.rb +0 -13
- data/lib/hubspot/discovery/crm/tickets/api/associations_api.rb +0 -13
- data/lib/hubspot/discovery/crm/tickets/api/public_object_api.rb +0 -13
- data/spec/discovery/cms/source-code/source_code_extract_api_spec.rb +0 -8
- data/spec/discovery/crm/companies/public_object_api_spec.rb +0 -7
- data/spec/discovery/crm/contacts/public_object_api_spec.rb +0 -7
- data/spec/discovery/crm/extensions/accounting/callbacks_api_spec.rb +0 -16
- data/spec/discovery/crm/extensions/accounting/invoice_api_spec.rb +0 -9
- data/spec/discovery/crm/extensions/accounting/settings_api_spec.rb +0 -8
- data/spec/discovery/crm/extensions/accounting/sync_api_spec.rb +0 -8
- data/spec/discovery/crm/extensions/accounting/user_accounts_api_spec.rb +0 -8
- data/spec/discovery/crm/line_items/gdpr_api_spec.rb +0 -7
- data/spec/discovery/crm/line_items/public_object_api_spec.rb +0 -7
- data/spec/discovery/crm/objects/associations_api_spec.rb +0 -9
- data/spec/discovery/crm/objects/calls/gdpr_api_spec.rb +0 -7
- data/spec/discovery/crm/objects/calls/public_object_api_spec.rb +0 -7
- data/spec/discovery/crm/objects/communications/gdpr_api_spec.rb +0 -7
- data/spec/discovery/crm/objects/communications/public_object_api_spec.rb +0 -7
- data/spec/discovery/crm/objects/emails/gdpr_api_spec.rb +0 -7
- data/spec/discovery/crm/objects/emails/public_object_api_spec.rb +0 -7
- 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/crm/objects/gdpr_api_spec.rb +0 -7
- data/spec/discovery/crm/objects/goals/gdpr_api_spec.rb +0 -7
- data/spec/discovery/crm/objects/meetings/gdpr_api_spec.rb +0 -7
- data/spec/discovery/crm/objects/meetings/public_object_api_spec.rb +0 -7
- data/spec/discovery/crm/objects/notes/gdpr_api_spec.rb +0 -7
- data/spec/discovery/crm/objects/notes/public_object_api_spec.rb +0 -7
- data/spec/discovery/crm/objects/postal_mail/gdpr_api_spec.rb +0 -7
- data/spec/discovery/crm/objects/postal_mail/public_object_api_spec.rb +0 -7
- data/spec/discovery/crm/objects/tasks/gdpr_api_spec.rb +0 -7
- data/spec/discovery/crm/objects/tasks/public_object_api_spec.rb +0 -7
- data/spec/discovery/crm/objects/taxes/gdpr_api_spec.rb +0 -7
- data/spec/discovery/crm/objects/taxes/public_object_api_spec.rb +0 -7
- data/spec/discovery/crm/products/gdpr_api_spec.rb +0 -7
- data/spec/discovery/crm/products/public_object_api_spec.rb +0 -7
- data/spec/discovery/crm/quotes/gdpr_api_spec.rb +0 -7
- data/spec/discovery/crm/schemas/public_object_schemas_api_spec.rb +0 -7
- data/spec/discovery/crm/tickets/gdpr_api_spec.rb +0 -7
- data/spec/discovery/crm/tickets/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
- data/spec/discovery/marketing/events/marketing_events_external_api_spec.rb +0 -7
- data/spec/discovery/marketing/events/search_api_spec.rb +0 -7
- data/spec/integration/contacts_spec.rb +0 -85
data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_update_request_full_v2.rb
ADDED
@@ -0,0 +1,316 @@
|
|
1
|
+
=begin
|
2
|
+
#Marketing Events
|
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 Marketing
|
18
|
+
module Events
|
19
|
+
class MarketingEventPublicUpdateRequestFullV2
|
20
|
+
attr_accessor :start_date_time
|
21
|
+
|
22
|
+
attr_accessor :custom_properties
|
23
|
+
|
24
|
+
attr_accessor :event_cancelled
|
25
|
+
|
26
|
+
attr_accessor :event_organizer
|
27
|
+
|
28
|
+
attr_accessor :event_url
|
29
|
+
|
30
|
+
attr_accessor :event_description
|
31
|
+
|
32
|
+
attr_accessor :event_name
|
33
|
+
|
34
|
+
attr_accessor :event_type
|
35
|
+
|
36
|
+
attr_accessor :end_date_time
|
37
|
+
|
38
|
+
attr_accessor :object_id
|
39
|
+
|
40
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
41
|
+
def self.attribute_map
|
42
|
+
{
|
43
|
+
:'start_date_time' => :'startDateTime',
|
44
|
+
:'custom_properties' => :'customProperties',
|
45
|
+
:'event_cancelled' => :'eventCancelled',
|
46
|
+
:'event_organizer' => :'eventOrganizer',
|
47
|
+
:'event_url' => :'eventUrl',
|
48
|
+
:'event_description' => :'eventDescription',
|
49
|
+
:'event_name' => :'eventName',
|
50
|
+
:'event_type' => :'eventType',
|
51
|
+
:'end_date_time' => :'endDateTime',
|
52
|
+
:'object_id' => :'objectId'
|
53
|
+
}
|
54
|
+
end
|
55
|
+
|
56
|
+
# Returns all the JSON keys this model knows about
|
57
|
+
def self.acceptable_attributes
|
58
|
+
attribute_map.values
|
59
|
+
end
|
60
|
+
|
61
|
+
# Attribute type mapping.
|
62
|
+
def self.openapi_types
|
63
|
+
{
|
64
|
+
:'start_date_time' => :'Time',
|
65
|
+
:'custom_properties' => :'Array<PropertyValue>',
|
66
|
+
:'event_cancelled' => :'Boolean',
|
67
|
+
:'event_organizer' => :'String',
|
68
|
+
:'event_url' => :'String',
|
69
|
+
:'event_description' => :'String',
|
70
|
+
:'event_name' => :'String',
|
71
|
+
:'event_type' => :'String',
|
72
|
+
:'end_date_time' => :'Time',
|
73
|
+
:'object_id' => :'String'
|
74
|
+
}
|
75
|
+
end
|
76
|
+
|
77
|
+
# List of attributes with nullable: true
|
78
|
+
def self.openapi_nullable
|
79
|
+
Set.new([
|
80
|
+
])
|
81
|
+
end
|
82
|
+
|
83
|
+
# Initializes the object
|
84
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
85
|
+
def initialize(attributes = {})
|
86
|
+
if (!attributes.is_a?(Hash))
|
87
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Hubspot::Marketing::Events::MarketingEventPublicUpdateRequestFullV2` initialize method"
|
88
|
+
end
|
89
|
+
|
90
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
91
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
92
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
93
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Hubspot::Marketing::Events::MarketingEventPublicUpdateRequestFullV2`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
94
|
+
end
|
95
|
+
h[k.to_sym] = v
|
96
|
+
}
|
97
|
+
|
98
|
+
if attributes.key?(:'start_date_time')
|
99
|
+
self.start_date_time = attributes[:'start_date_time']
|
100
|
+
end
|
101
|
+
|
102
|
+
if attributes.key?(:'custom_properties')
|
103
|
+
if (value = attributes[:'custom_properties']).is_a?(Array)
|
104
|
+
self.custom_properties = value
|
105
|
+
end
|
106
|
+
end
|
107
|
+
|
108
|
+
if attributes.key?(:'event_cancelled')
|
109
|
+
self.event_cancelled = attributes[:'event_cancelled']
|
110
|
+
end
|
111
|
+
|
112
|
+
if attributes.key?(:'event_organizer')
|
113
|
+
self.event_organizer = attributes[:'event_organizer']
|
114
|
+
end
|
115
|
+
|
116
|
+
if attributes.key?(:'event_url')
|
117
|
+
self.event_url = attributes[:'event_url']
|
118
|
+
end
|
119
|
+
|
120
|
+
if attributes.key?(:'event_description')
|
121
|
+
self.event_description = attributes[:'event_description']
|
122
|
+
end
|
123
|
+
|
124
|
+
if attributes.key?(:'event_name')
|
125
|
+
self.event_name = attributes[:'event_name']
|
126
|
+
end
|
127
|
+
|
128
|
+
if attributes.key?(:'event_type')
|
129
|
+
self.event_type = attributes[:'event_type']
|
130
|
+
end
|
131
|
+
|
132
|
+
if attributes.key?(:'end_date_time')
|
133
|
+
self.end_date_time = attributes[:'end_date_time']
|
134
|
+
end
|
135
|
+
|
136
|
+
if attributes.key?(:'object_id')
|
137
|
+
self.object_id = attributes[:'object_id']
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
141
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
142
|
+
# @return Array for valid properties with the reasons
|
143
|
+
def list_invalid_properties
|
144
|
+
invalid_properties = Array.new
|
145
|
+
if @custom_properties.nil?
|
146
|
+
invalid_properties.push('invalid value for "custom_properties", custom_properties cannot be nil.')
|
147
|
+
end
|
148
|
+
|
149
|
+
if @object_id.nil?
|
150
|
+
invalid_properties.push('invalid value for "object_id", object_id cannot be nil.')
|
151
|
+
end
|
152
|
+
|
153
|
+
invalid_properties
|
154
|
+
end
|
155
|
+
|
156
|
+
# Check to see if the all the properties in the model are valid
|
157
|
+
# @return true if the model is valid
|
158
|
+
def valid?
|
159
|
+
return false if @custom_properties.nil?
|
160
|
+
return false if @object_id.nil?
|
161
|
+
true
|
162
|
+
end
|
163
|
+
|
164
|
+
# Checks equality by comparing each attribute.
|
165
|
+
# @param [Object] Object to be compared
|
166
|
+
def ==(o)
|
167
|
+
return true if self.equal?(o)
|
168
|
+
self.class == o.class &&
|
169
|
+
start_date_time == o.start_date_time &&
|
170
|
+
custom_properties == o.custom_properties &&
|
171
|
+
event_cancelled == o.event_cancelled &&
|
172
|
+
event_organizer == o.event_organizer &&
|
173
|
+
event_url == o.event_url &&
|
174
|
+
event_description == o.event_description &&
|
175
|
+
event_name == o.event_name &&
|
176
|
+
event_type == o.event_type &&
|
177
|
+
end_date_time == o.end_date_time &&
|
178
|
+
object_id == o.object_id
|
179
|
+
end
|
180
|
+
|
181
|
+
# @see the `==` method
|
182
|
+
# @param [Object] Object to be compared
|
183
|
+
def eql?(o)
|
184
|
+
self == o
|
185
|
+
end
|
186
|
+
|
187
|
+
# Calculates hash code according to all attributes.
|
188
|
+
# @return [Integer] Hash code
|
189
|
+
def hash
|
190
|
+
[start_date_time, custom_properties, event_cancelled, event_organizer, event_url, event_description, event_name, event_type, end_date_time, object_id].hash
|
191
|
+
end
|
192
|
+
|
193
|
+
# Builds the object from hash
|
194
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
195
|
+
# @return [Object] Returns the model itself
|
196
|
+
def self.build_from_hash(attributes)
|
197
|
+
new.build_from_hash(attributes)
|
198
|
+
end
|
199
|
+
|
200
|
+
# Builds the object from hash
|
201
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
202
|
+
# @return [Object] Returns the model itself
|
203
|
+
def build_from_hash(attributes)
|
204
|
+
return nil unless attributes.is_a?(Hash)
|
205
|
+
attributes = attributes.transform_keys(&:to_sym)
|
206
|
+
self.class.openapi_types.each_pair do |key, type|
|
207
|
+
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
208
|
+
self.send("#{key}=", nil)
|
209
|
+
elsif type =~ /\AArray<(.*)>/i
|
210
|
+
# check to ensure the input is an array given that the attribute
|
211
|
+
# is documented as an array but the input is not
|
212
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
213
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
214
|
+
end
|
215
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
216
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
217
|
+
end
|
218
|
+
end
|
219
|
+
|
220
|
+
self
|
221
|
+
end
|
222
|
+
|
223
|
+
# Deserializes the data based on type
|
224
|
+
# @param string type Data type
|
225
|
+
# @param string value Value to be deserialized
|
226
|
+
# @return [Object] Deserialized data
|
227
|
+
def _deserialize(type, value)
|
228
|
+
case type.to_sym
|
229
|
+
when :Time
|
230
|
+
Time.parse(value)
|
231
|
+
when :Date
|
232
|
+
Date.parse(value)
|
233
|
+
when :String
|
234
|
+
value.to_s
|
235
|
+
when :Integer
|
236
|
+
value.to_i
|
237
|
+
when :Float
|
238
|
+
value.to_f
|
239
|
+
when :Boolean
|
240
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
241
|
+
true
|
242
|
+
else
|
243
|
+
false
|
244
|
+
end
|
245
|
+
when :Object
|
246
|
+
# generic object (usually a Hash), return directly
|
247
|
+
value
|
248
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
249
|
+
inner_type = Regexp.last_match[:inner_type]
|
250
|
+
value.map { |v| _deserialize(inner_type, v) }
|
251
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
252
|
+
k_type = Regexp.last_match[:k_type]
|
253
|
+
v_type = Regexp.last_match[:v_type]
|
254
|
+
{}.tap do |hash|
|
255
|
+
value.each do |k, v|
|
256
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
257
|
+
end
|
258
|
+
end
|
259
|
+
else # model
|
260
|
+
# models (e.g. Pet) or oneOf
|
261
|
+
klass = Hubspot::Marketing::Events.const_get(type)
|
262
|
+
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
263
|
+
end
|
264
|
+
end
|
265
|
+
|
266
|
+
# Returns the string representation of the object
|
267
|
+
# @return [String] String presentation of the object
|
268
|
+
def to_s
|
269
|
+
to_hash.to_s
|
270
|
+
end
|
271
|
+
|
272
|
+
# to_body is an alias to to_hash (backward compatibility)
|
273
|
+
# @return [Hash] Returns the object in the form of hash
|
274
|
+
def to_body
|
275
|
+
to_hash
|
276
|
+
end
|
277
|
+
|
278
|
+
# Returns the object in the form of hash
|
279
|
+
# @return [Hash] Returns the object in the form of hash
|
280
|
+
def to_hash
|
281
|
+
hash = {}
|
282
|
+
self.class.attribute_map.each_pair do |attr, param|
|
283
|
+
value = self.send(attr)
|
284
|
+
if value.nil?
|
285
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
286
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
287
|
+
end
|
288
|
+
|
289
|
+
hash[param] = _to_hash(value)
|
290
|
+
end
|
291
|
+
hash
|
292
|
+
end
|
293
|
+
|
294
|
+
# Outputs non-array value in the form of hash
|
295
|
+
# For object, use to_hash. Otherwise, just return the value
|
296
|
+
# @param [Object] value Any valid value
|
297
|
+
# @return [Hash] Returns the value in the form of hash
|
298
|
+
def _to_hash(value)
|
299
|
+
if value.is_a?(Array)
|
300
|
+
value.compact.map { |v| _to_hash(v) }
|
301
|
+
elsif value.is_a?(Hash)
|
302
|
+
{}.tap do |hash|
|
303
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
304
|
+
end
|
305
|
+
elsif value.respond_to? :to_hash
|
306
|
+
value.to_hash
|
307
|
+
else
|
308
|
+
value
|
309
|
+
end
|
310
|
+
end
|
311
|
+
|
312
|
+
end
|
313
|
+
|
314
|
+
end
|
315
|
+
end
|
316
|
+
end
|
@@ -0,0 +1,302 @@
|
|
1
|
+
=begin
|
2
|
+
#Marketing Events
|
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 Marketing
|
18
|
+
module Events
|
19
|
+
class MarketingEventPublicUpdateRequestV2
|
20
|
+
attr_accessor :start_date_time
|
21
|
+
|
22
|
+
attr_accessor :custom_properties
|
23
|
+
|
24
|
+
attr_accessor :event_cancelled
|
25
|
+
|
26
|
+
attr_accessor :event_organizer
|
27
|
+
|
28
|
+
attr_accessor :event_url
|
29
|
+
|
30
|
+
attr_accessor :event_description
|
31
|
+
|
32
|
+
attr_accessor :event_name
|
33
|
+
|
34
|
+
attr_accessor :event_type
|
35
|
+
|
36
|
+
attr_accessor :end_date_time
|
37
|
+
|
38
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
39
|
+
def self.attribute_map
|
40
|
+
{
|
41
|
+
:'start_date_time' => :'startDateTime',
|
42
|
+
:'custom_properties' => :'customProperties',
|
43
|
+
:'event_cancelled' => :'eventCancelled',
|
44
|
+
:'event_organizer' => :'eventOrganizer',
|
45
|
+
:'event_url' => :'eventUrl',
|
46
|
+
:'event_description' => :'eventDescription',
|
47
|
+
:'event_name' => :'eventName',
|
48
|
+
:'event_type' => :'eventType',
|
49
|
+
:'end_date_time' => :'endDateTime'
|
50
|
+
}
|
51
|
+
end
|
52
|
+
|
53
|
+
# Returns all the JSON keys this model knows about
|
54
|
+
def self.acceptable_attributes
|
55
|
+
attribute_map.values
|
56
|
+
end
|
57
|
+
|
58
|
+
# Attribute type mapping.
|
59
|
+
def self.openapi_types
|
60
|
+
{
|
61
|
+
:'start_date_time' => :'Time',
|
62
|
+
:'custom_properties' => :'Array<PropertyValue>',
|
63
|
+
:'event_cancelled' => :'Boolean',
|
64
|
+
:'event_organizer' => :'String',
|
65
|
+
:'event_url' => :'String',
|
66
|
+
:'event_description' => :'String',
|
67
|
+
:'event_name' => :'String',
|
68
|
+
:'event_type' => :'String',
|
69
|
+
:'end_date_time' => :'Time'
|
70
|
+
}
|
71
|
+
end
|
72
|
+
|
73
|
+
# List of attributes with nullable: true
|
74
|
+
def self.openapi_nullable
|
75
|
+
Set.new([
|
76
|
+
])
|
77
|
+
end
|
78
|
+
|
79
|
+
# Initializes the object
|
80
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
81
|
+
def initialize(attributes = {})
|
82
|
+
if (!attributes.is_a?(Hash))
|
83
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Hubspot::Marketing::Events::MarketingEventPublicUpdateRequestV2` initialize method"
|
84
|
+
end
|
85
|
+
|
86
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
87
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
88
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
89
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Hubspot::Marketing::Events::MarketingEventPublicUpdateRequestV2`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
90
|
+
end
|
91
|
+
h[k.to_sym] = v
|
92
|
+
}
|
93
|
+
|
94
|
+
if attributes.key?(:'start_date_time')
|
95
|
+
self.start_date_time = attributes[:'start_date_time']
|
96
|
+
end
|
97
|
+
|
98
|
+
if attributes.key?(:'custom_properties')
|
99
|
+
if (value = attributes[:'custom_properties']).is_a?(Array)
|
100
|
+
self.custom_properties = value
|
101
|
+
end
|
102
|
+
end
|
103
|
+
|
104
|
+
if attributes.key?(:'event_cancelled')
|
105
|
+
self.event_cancelled = attributes[:'event_cancelled']
|
106
|
+
end
|
107
|
+
|
108
|
+
if attributes.key?(:'event_organizer')
|
109
|
+
self.event_organizer = attributes[:'event_organizer']
|
110
|
+
end
|
111
|
+
|
112
|
+
if attributes.key?(:'event_url')
|
113
|
+
self.event_url = attributes[:'event_url']
|
114
|
+
end
|
115
|
+
|
116
|
+
if attributes.key?(:'event_description')
|
117
|
+
self.event_description = attributes[:'event_description']
|
118
|
+
end
|
119
|
+
|
120
|
+
if attributes.key?(:'event_name')
|
121
|
+
self.event_name = attributes[:'event_name']
|
122
|
+
end
|
123
|
+
|
124
|
+
if attributes.key?(:'event_type')
|
125
|
+
self.event_type = attributes[:'event_type']
|
126
|
+
end
|
127
|
+
|
128
|
+
if attributes.key?(:'end_date_time')
|
129
|
+
self.end_date_time = attributes[:'end_date_time']
|
130
|
+
end
|
131
|
+
end
|
132
|
+
|
133
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
134
|
+
# @return Array for valid properties with the reasons
|
135
|
+
def list_invalid_properties
|
136
|
+
invalid_properties = Array.new
|
137
|
+
if @custom_properties.nil?
|
138
|
+
invalid_properties.push('invalid value for "custom_properties", custom_properties cannot be nil.')
|
139
|
+
end
|
140
|
+
|
141
|
+
invalid_properties
|
142
|
+
end
|
143
|
+
|
144
|
+
# Check to see if the all the properties in the model are valid
|
145
|
+
# @return true if the model is valid
|
146
|
+
def valid?
|
147
|
+
return false if @custom_properties.nil?
|
148
|
+
true
|
149
|
+
end
|
150
|
+
|
151
|
+
# Checks equality by comparing each attribute.
|
152
|
+
# @param [Object] Object to be compared
|
153
|
+
def ==(o)
|
154
|
+
return true if self.equal?(o)
|
155
|
+
self.class == o.class &&
|
156
|
+
start_date_time == o.start_date_time &&
|
157
|
+
custom_properties == o.custom_properties &&
|
158
|
+
event_cancelled == o.event_cancelled &&
|
159
|
+
event_organizer == o.event_organizer &&
|
160
|
+
event_url == o.event_url &&
|
161
|
+
event_description == o.event_description &&
|
162
|
+
event_name == o.event_name &&
|
163
|
+
event_type == o.event_type &&
|
164
|
+
end_date_time == o.end_date_time
|
165
|
+
end
|
166
|
+
|
167
|
+
# @see the `==` method
|
168
|
+
# @param [Object] Object to be compared
|
169
|
+
def eql?(o)
|
170
|
+
self == o
|
171
|
+
end
|
172
|
+
|
173
|
+
# Calculates hash code according to all attributes.
|
174
|
+
# @return [Integer] Hash code
|
175
|
+
def hash
|
176
|
+
[start_date_time, custom_properties, event_cancelled, event_organizer, event_url, event_description, event_name, event_type, end_date_time].hash
|
177
|
+
end
|
178
|
+
|
179
|
+
# Builds the object from hash
|
180
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
181
|
+
# @return [Object] Returns the model itself
|
182
|
+
def self.build_from_hash(attributes)
|
183
|
+
new.build_from_hash(attributes)
|
184
|
+
end
|
185
|
+
|
186
|
+
# Builds the object from hash
|
187
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
188
|
+
# @return [Object] Returns the model itself
|
189
|
+
def build_from_hash(attributes)
|
190
|
+
return nil unless attributes.is_a?(Hash)
|
191
|
+
attributes = attributes.transform_keys(&:to_sym)
|
192
|
+
self.class.openapi_types.each_pair do |key, type|
|
193
|
+
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
194
|
+
self.send("#{key}=", nil)
|
195
|
+
elsif type =~ /\AArray<(.*)>/i
|
196
|
+
# check to ensure the input is an array given that the attribute
|
197
|
+
# is documented as an array but the input is not
|
198
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
199
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
200
|
+
end
|
201
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
202
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
203
|
+
end
|
204
|
+
end
|
205
|
+
|
206
|
+
self
|
207
|
+
end
|
208
|
+
|
209
|
+
# Deserializes the data based on type
|
210
|
+
# @param string type Data type
|
211
|
+
# @param string value Value to be deserialized
|
212
|
+
# @return [Object] Deserialized data
|
213
|
+
def _deserialize(type, value)
|
214
|
+
case type.to_sym
|
215
|
+
when :Time
|
216
|
+
Time.parse(value)
|
217
|
+
when :Date
|
218
|
+
Date.parse(value)
|
219
|
+
when :String
|
220
|
+
value.to_s
|
221
|
+
when :Integer
|
222
|
+
value.to_i
|
223
|
+
when :Float
|
224
|
+
value.to_f
|
225
|
+
when :Boolean
|
226
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
227
|
+
true
|
228
|
+
else
|
229
|
+
false
|
230
|
+
end
|
231
|
+
when :Object
|
232
|
+
# generic object (usually a Hash), return directly
|
233
|
+
value
|
234
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
235
|
+
inner_type = Regexp.last_match[:inner_type]
|
236
|
+
value.map { |v| _deserialize(inner_type, v) }
|
237
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
238
|
+
k_type = Regexp.last_match[:k_type]
|
239
|
+
v_type = Regexp.last_match[:v_type]
|
240
|
+
{}.tap do |hash|
|
241
|
+
value.each do |k, v|
|
242
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
243
|
+
end
|
244
|
+
end
|
245
|
+
else # model
|
246
|
+
# models (e.g. Pet) or oneOf
|
247
|
+
klass = Hubspot::Marketing::Events.const_get(type)
|
248
|
+
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
249
|
+
end
|
250
|
+
end
|
251
|
+
|
252
|
+
# Returns the string representation of the object
|
253
|
+
# @return [String] String presentation of the object
|
254
|
+
def to_s
|
255
|
+
to_hash.to_s
|
256
|
+
end
|
257
|
+
|
258
|
+
# to_body is an alias to to_hash (backward compatibility)
|
259
|
+
# @return [Hash] Returns the object in the form of hash
|
260
|
+
def to_body
|
261
|
+
to_hash
|
262
|
+
end
|
263
|
+
|
264
|
+
# Returns the object in the form of hash
|
265
|
+
# @return [Hash] Returns the object in the form of hash
|
266
|
+
def to_hash
|
267
|
+
hash = {}
|
268
|
+
self.class.attribute_map.each_pair do |attr, param|
|
269
|
+
value = self.send(attr)
|
270
|
+
if value.nil?
|
271
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
272
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
273
|
+
end
|
274
|
+
|
275
|
+
hash[param] = _to_hash(value)
|
276
|
+
end
|
277
|
+
hash
|
278
|
+
end
|
279
|
+
|
280
|
+
# Outputs non-array value in the form of hash
|
281
|
+
# For object, use to_hash. Otherwise, just return the value
|
282
|
+
# @param [Object] value Any valid value
|
283
|
+
# @return [Hash] Returns the value in the form of hash
|
284
|
+
def _to_hash(value)
|
285
|
+
if value.is_a?(Array)
|
286
|
+
value.compact.map { |v| _to_hash(v) }
|
287
|
+
elsif value.is_a?(Hash)
|
288
|
+
{}.tap do |hash|
|
289
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
290
|
+
end
|
291
|
+
elsif value.respond_to? :to_hash
|
292
|
+
value.to_hash
|
293
|
+
else
|
294
|
+
value
|
295
|
+
end
|
296
|
+
end
|
297
|
+
|
298
|
+
end
|
299
|
+
|
300
|
+
end
|
301
|
+
end
|
302
|
+
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Marketing Events
|
3
3
|
|
4
|
-
#
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
@@ -21,7 +21,7 @@ module Hubspot
|
|
21
21
|
|
22
22
|
attr_accessor :properties
|
23
23
|
|
24
|
-
#
|
24
|
+
# Timestamp in milliseconds at which the contact subscribed to the event.
|
25
25
|
attr_accessor :interaction_date_time
|
26
26
|
|
27
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#Marketing Events
|
3
3
|
|
4
|
-
#
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
@@ -41,6 +41,8 @@ module Hubspot
|
|
41
41
|
# Describes what type of event this is. For example: `WEBINAR`, `CONFERENCE`, `WORKSHOP`
|
42
42
|
attr_accessor :event_type
|
43
43
|
|
44
|
+
attr_accessor :event_completed
|
45
|
+
|
44
46
|
# The end date and time of the marketing event.
|
45
47
|
attr_accessor :end_date_time
|
46
48
|
|
@@ -55,6 +57,7 @@ module Hubspot
|
|
55
57
|
:'event_description' => :'eventDescription',
|
56
58
|
:'event_name' => :'eventName',
|
57
59
|
:'event_type' => :'eventType',
|
60
|
+
:'event_completed' => :'eventCompleted',
|
58
61
|
:'end_date_time' => :'endDateTime'
|
59
62
|
}
|
60
63
|
end
|
@@ -75,6 +78,7 @@ module Hubspot
|
|
75
78
|
:'event_description' => :'String',
|
76
79
|
:'event_name' => :'String',
|
77
80
|
:'event_type' => :'String',
|
81
|
+
:'event_completed' => :'Boolean',
|
78
82
|
:'end_date_time' => :'Time'
|
79
83
|
}
|
80
84
|
end
|
@@ -134,6 +138,10 @@ module Hubspot
|
|
134
138
|
self.event_type = attributes[:'event_type']
|
135
139
|
end
|
136
140
|
|
141
|
+
if attributes.key?(:'event_completed')
|
142
|
+
self.event_completed = attributes[:'event_completed']
|
143
|
+
end
|
144
|
+
|
137
145
|
if attributes.key?(:'end_date_time')
|
138
146
|
self.end_date_time = attributes[:'end_date_time']
|
139
147
|
end
|
@@ -165,6 +173,7 @@ module Hubspot
|
|
165
173
|
event_description == o.event_description &&
|
166
174
|
event_name == o.event_name &&
|
167
175
|
event_type == o.event_type &&
|
176
|
+
event_completed == o.event_completed &&
|
168
177
|
end_date_time == o.end_date_time
|
169
178
|
end
|
170
179
|
|
@@ -177,7 +186,7 @@ module Hubspot
|
|
177
186
|
# Calculates hash code according to all attributes.
|
178
187
|
# @return [Integer] Hash code
|
179
188
|
def hash
|
180
|
-
[start_date_time, custom_properties, event_cancelled, event_organizer, event_url, event_description, event_name, event_type, end_date_time].hash
|
189
|
+
[start_date_time, custom_properties, event_cancelled, event_organizer, event_url, event_description, event_name, event_type, event_completed, end_date_time].hash
|
181
190
|
end
|
182
191
|
|
183
192
|
# Builds the object from hash
|