hubspot-api-client 19.0.0 → 20.0.0
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 +102 -1
- data/Gemfile.lock +2 -2
- data/README.md +83 -8
- data/lib/hubspot/client.rb +7 -0
- data/lib/hubspot/codegen/cms/blogs/blog_posts/api/basic_api.rb +1079 -0
- data/lib/hubspot/codegen/cms/blogs/blog_posts/api/batch_api.rb +306 -0
- data/lib/hubspot/codegen/cms/blogs/blog_posts/api/multi_language_api.rb +368 -0
- data/lib/hubspot/codegen/cms/blogs/blog_posts/models/blog_post.rb +18 -18
- data/lib/hubspot/codegen/cms/hubdb/models/standard_error.rb +7 -7
- data/lib/hubspot/codegen/cms/hubdb/models/unified_collection_response_with_total_base_hub_db_table_row_v3.rb +1 -0
- data/lib/hubspot/codegen/crm/associations/api/batch_api.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/api_client.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/configuration.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/associated_id.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/batch_input_public_association.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/batch_input_public_object_id.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/batch_response_public_association.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/batch_response_public_association_multi.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/batch_response_public_association_multi_with_errors.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/batch_response_public_association_with_errors.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/error.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/next_page.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/paging.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/previous_page.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/public_association.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/public_association_multi.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/public_object_id.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/standard_error.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/schema/api/types_api.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/schema/api_client.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/schema/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/schema/configuration.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/schema/models/collection_response_public_association_definition_no_paging.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/schema/models/error.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/schema/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/schema/models/public_association_definition.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/api/basic_api.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/api/batch_api.rb +3 -3
- data/lib/hubspot/codegen/crm/associations/v4/api/report_api.rb +91 -0
- data/lib/hubspot/codegen/crm/associations/v4/api_client.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/configuration.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/association_spec.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/association_spec_with_label.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_public_association_multi_archive.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_public_association_multi_post.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_public_default_association_multi_post.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_input_public_fetch_associations_batch_request.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_labels_between_object_pair.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_labels_between_object_pair_with_errors.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_public_association_multi_with_label.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_public_association_multi_with_label_with_errors.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/batch_response_public_default_association.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/collection_response_multi_associated_object_with_label_forward_paging.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/date_time.rb +258 -0
- data/lib/hubspot/codegen/crm/associations/v4/models/error.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/forward_paging.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/labels_between_object_pair.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/multi_associated_object_with_label.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/next_page.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/paging.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/previous_page.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/public_association_multi_archive.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/public_association_multi_post.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/public_association_multi_with_label.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/public_default_association.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/public_default_association_multi_post.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/public_fetch_associations_batch_request.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/public_object_id.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/models/report_creation_response.rb +258 -0
- data/lib/hubspot/codegen/crm/associations/v4/models/standard_error.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/v4/schema/api/definition_configurations_api.rb +396 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/api/definitions_api.rb +69 -69
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_input_public_association_definition_configuration_create_request.rb +234 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_input_public_association_definition_configuration_update_request.rb +234 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_input_public_association_spec.rb +234 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_response_public_association_definition_configuration_update_result.rb +330 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_response_public_association_definition_configuration_update_result_with_errors.rb +350 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_response_public_association_definition_user_configuration.rb +330 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/batch_response_public_association_definition_user_configuration_with_errors.rb +350 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/collection_response_public_association_definition_user_configuration_no_paging.rb +234 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_association_definition_configuration_create_request.rb +294 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_association_definition_configuration_update_request.rb +294 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_association_definition_configuration_update_result.rb +289 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_association_definition_user_configuration.rb +298 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/public_association_spec.rb +246 -0
- data/lib/hubspot/codegen/crm/associations/v4/schema/models/standard_error.rb +326 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/api/basic_api.rb +391 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/api/batch_api.rb +363 -0
- data/lib/hubspot/codegen/crm/{objects/feedback_submissions/api/public_object_api.rb → commerce/invoices/api/search_api.rb} +24 -22
- data/lib/hubspot/codegen/crm/commerce/invoices/api_client.rb +412 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/api_error.rb +63 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/configuration.rb +289 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/associated_id.rb +244 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/association_spec.rb +278 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/batch_input_simple_public_object_batch_input.rb +232 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/batch_input_simple_public_object_batch_input_upsert.rb +232 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/batch_input_simple_public_object_id.rb +232 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/batch_input_simple_public_object_input_for_create.rb +232 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/batch_read_input_simple_public_object_id.rb +273 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/batch_response_simple_public_object.rb +328 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/batch_response_simple_public_object_with_errors.rb +348 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/batch_response_simple_public_upsert_object.rb +328 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/batch_response_simple_public_upsert_object_with_errors.rb +348 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/collection_response_associated_id.rb +241 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/collection_response_simple_public_object_with_associations_forward_paging.rb +241 -0
- data/lib/hubspot/codegen/crm/{objects/feedback_submissions/models/public_merge_input.rb → commerce/invoices/models/collection_response_with_total_simple_public_object_forward_paging.rb} +37 -26
- data/lib/hubspot/codegen/crm/commerce/invoices/models/error.rb +307 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/error_detail.rb +273 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/filter.rb +308 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/filter_group.rb +232 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/forward_paging.rb +225 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/next_page.rb +239 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/paging.rb +234 -0
- data/lib/hubspot/codegen/crm/{objects/feedback_submissions/models/batch_input_simple_public_object_input_for_create.rb → commerce/invoices/models/previous_page.rb} +26 -19
- data/lib/hubspot/codegen/crm/commerce/invoices/models/public_associations_for_object.rb +246 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/public_object_id.rb +230 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/public_object_search_request.rb +276 -0
- data/lib/hubspot/codegen/crm/commerce/invoices/models/simple_public_object.rb +303 -0
- data/lib/hubspot/codegen/crm/{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 +91 -22
- data/lib/hubspot/codegen/crm/companies/api/batch_api.rb +25 -17
- data/lib/hubspot/codegen/crm/companies/api/search_api.rb +4 -0
- data/lib/hubspot/codegen/crm/companies/models/association_spec.rb +12 -0
- data/lib/hubspot/codegen/crm/companies/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
- data/lib/hubspot/codegen/crm/companies/models/batch_read_input_simple_public_object_id.rb +1 -0
- data/lib/hubspot/codegen/crm/companies/models/public_associations_for_object.rb +10 -0
- data/lib/hubspot/codegen/crm/companies/models/public_merge_input.rb +2 -0
- data/lib/hubspot/codegen/crm/companies/models/public_object_id.rb +6 -0
- data/lib/hubspot/codegen/crm/companies/models/simple_public_object.rb +10 -1
- data/lib/hubspot/codegen/crm/companies/models/simple_public_object_batch_input.rb +4 -0
- data/lib/hubspot/codegen/crm/companies/models/simple_public_object_batch_input_for_create.rb +250 -0
- data/lib/hubspot/codegen/crm/companies/models/simple_public_object_batch_input_upsert.rb +4 -0
- data/lib/hubspot/codegen/crm/companies/models/simple_public_object_input.rb +2 -10
- data/lib/hubspot/codegen/crm/companies/models/simple_public_object_input_for_create.rb +2 -10
- data/lib/hubspot/codegen/crm/companies/models/simple_public_object_with_associations.rb +10 -1
- data/lib/hubspot/codegen/crm/companies/models/simple_public_upsert_object.rb +10 -1
- data/lib/hubspot/codegen/crm/contacts/api/basic_api.rb +163 -26
- data/lib/hubspot/codegen/crm/contacts/api/batch_api.rb +27 -19
- data/lib/hubspot/codegen/crm/contacts/api/search_api.rb +4 -0
- data/lib/hubspot/codegen/crm/contacts/models/association_spec.rb +10 -0
- data/lib/hubspot/codegen/crm/contacts/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
- data/lib/hubspot/codegen/crm/contacts/models/batch_read_input_simple_public_object_id.rb +1 -0
- data/lib/hubspot/codegen/crm/contacts/models/public_associations_for_object.rb +10 -0
- data/lib/hubspot/codegen/crm/contacts/models/public_gdpr_delete_input.rb +2 -0
- data/lib/hubspot/codegen/crm/contacts/models/public_object_id.rb +5 -0
- data/lib/hubspot/codegen/crm/contacts/models/simple_public_object.rb +10 -1
- data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_batch_input.rb +2 -0
- data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_batch_input_for_create.rb +250 -0
- data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_batch_input_upsert.rb +1 -0
- data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_input.rb +1 -10
- data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_input_for_create.rb +1 -10
- data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_with_associations.rb +13 -1
- data/lib/hubspot/codegen/crm/contacts/models/simple_public_upsert_object.rb +10 -1
- data/lib/hubspot/codegen/crm/deals/api/basic_api.rb +67 -0
- data/lib/hubspot/codegen/crm/deals/api/batch_api.rb +11 -9
- data/lib/hubspot/codegen/crm/deals/models/association_spec.rb +10 -0
- data/lib/hubspot/codegen/crm/deals/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
- data/lib/hubspot/codegen/crm/deals/models/batch_read_input_simple_public_object_id.rb +1 -0
- data/lib/hubspot/codegen/crm/deals/models/public_associations_for_object.rb +10 -0
- data/lib/hubspot/codegen/crm/deals/models/public_object_id.rb +5 -0
- data/lib/hubspot/codegen/crm/deals/models/simple_public_object.rb +10 -1
- data/lib/hubspot/codegen/crm/deals/models/simple_public_object_batch_input.rb +2 -0
- data/lib/hubspot/codegen/crm/deals/models/simple_public_object_batch_input_for_create.rb +250 -0
- data/lib/hubspot/codegen/crm/deals/models/simple_public_object_batch_input_upsert.rb +1 -0
- data/lib/hubspot/codegen/crm/deals/models/simple_public_object_input.rb +1 -10
- data/lib/hubspot/codegen/crm/deals/models/simple_public_object_input_for_create.rb +1 -10
- data/lib/hubspot/codegen/crm/deals/models/simple_public_object_with_associations.rb +10 -1
- data/lib/hubspot/codegen/crm/deals/models/simple_public_upsert_object.rb +10 -1
- data/lib/hubspot/codegen/crm/exports/api/public_exports_api.rb +157 -0
- data/lib/hubspot/codegen/{cms/performance → crm/exports}/api_client.rb +5 -5
- data/lib/hubspot/codegen/{cms/performance → crm/exports}/api_error.rb +4 -4
- data/lib/hubspot/codegen/{cms/performance → crm/exports}/configuration.rb +4 -4
- data/lib/hubspot/codegen/crm/exports/models/action_response_with_single_result_uri.rb +339 -0
- data/lib/hubspot/codegen/{cms/performance → crm/exports}/models/error.rb +7 -7
- data/lib/hubspot/codegen/{cms/performance → crm/exports}/models/error_detail.rb +7 -7
- data/lib/hubspot/codegen/crm/exports/models/filter.rb +305 -0
- data/lib/hubspot/codegen/crm/exports/models/public_crm_search_request.rb +260 -0
- data/lib/hubspot/codegen/crm/exports/models/public_export_list_request.rb +420 -0
- data/lib/hubspot/codegen/crm/exports/models/public_export_list_request_all_of.rb +413 -0
- data/lib/hubspot/codegen/crm/exports/models/public_export_request.rb +109 -0
- data/lib/hubspot/codegen/crm/exports/models/public_export_view_request.rb +415 -0
- data/lib/hubspot/codegen/crm/exports/models/public_export_view_request_all_of.rb +408 -0
- data/lib/hubspot/codegen/crm/exports/models/standard_error.rb +322 -0
- data/lib/hubspot/codegen/crm/exports/models/task_locator.rb +239 -0
- data/lib/hubspot/codegen/crm/extensions/calling/api/channel_connection_settings_api.rb +302 -0
- data/lib/hubspot/codegen/crm/extensions/calling/api/recording_settings_api.rb +12 -12
- data/lib/hubspot/codegen/crm/extensions/calling/api/settings_api.rb +10 -10
- data/lib/hubspot/codegen/crm/extensions/calling/models/channel_connection_settings_patch_request.rb +236 -0
- data/lib/hubspot/codegen/crm/extensions/calling/models/channel_connection_settings_request.rb +246 -0
- data/lib/hubspot/codegen/crm/extensions/calling/models/channel_connection_settings_response.rb +276 -0
- data/lib/hubspot/codegen/crm/extensions/calling/models/recording_settings_response.rb +1 -0
- data/lib/hubspot/codegen/crm/extensions/calling/models/settings_patch_request.rb +21 -1
- data/lib/hubspot/codegen/crm/extensions/calling/models/settings_request.rb +21 -1
- data/lib/hubspot/codegen/crm/extensions/calling/models/settings_response.rb +31 -1
- data/lib/hubspot/codegen/crm/imports/api/core_api.rb +4 -4
- data/lib/hubspot/codegen/crm/imports/api/public_imports_api.rb +6 -0
- data/lib/hubspot/codegen/crm/imports/models/import_row_core.rb +15 -1
- data/lib/hubspot/codegen/crm/imports/models/property_value.rb +514 -0
- data/lib/hubspot/codegen/crm/imports/models/public_import_error.rb +32 -5
- data/lib/hubspot/codegen/crm/imports/models/public_import_response.rb +17 -1
- data/lib/hubspot/codegen/crm/line_items/api/basic_api.rb +7 -6
- data/lib/hubspot/codegen/crm/line_items/api/batch_api.rb +11 -9
- data/lib/hubspot/codegen/crm/line_items/api/search_api.rb +4 -0
- data/lib/hubspot/codegen/crm/line_items/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
- data/lib/hubspot/codegen/crm/line_items/models/batch_read_input_simple_public_object_id.rb +1 -0
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_object.rb +10 -1
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_batch_input.rb +2 -0
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_batch_input_for_create.rb +250 -0
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_batch_input_upsert.rb +1 -0
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_input.rb +1 -10
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_input_for_create.rb +1 -15
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_with_associations.rb +10 -1
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_upsert_object.rb +10 -1
- data/lib/hubspot/codegen/crm/lists/models/public_form_submission_filter_coalescing_refine_by.rb +1 -0
- data/lib/hubspot/codegen/crm/lists/models/public_indexed_time_point_index_reference.rb +1 -0
- data/lib/hubspot/codegen/crm/lists/models/public_property_association_filter_branch_filter_branches_inner.rb +1 -0
- data/lib/hubspot/codegen/crm/lists/models/public_property_association_filter_branch_filters_inner.rb +1 -0
- data/lib/hubspot/codegen/crm/lists/models/public_survey_monkey_value_filter_value_comparison.rb +1 -0
- data/lib/hubspot/codegen/crm/lists/models/public_time_point_operation_time_point.rb +1 -0
- data/lib/hubspot/codegen/crm/objects/api/basic_api.rb +2 -1
- data/lib/hubspot/codegen/crm/objects/api/batch_api.rb +12 -10
- data/lib/hubspot/codegen/crm/objects/api/search_api.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/api_client.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/calls/api/basic_api.rb +13 -12
- data/lib/hubspot/codegen/crm/objects/calls/api/batch_api.rb +17 -9
- data/lib/hubspot/codegen/crm/objects/calls/api/search_api.rb +4 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
- data/lib/hubspot/codegen/crm/objects/calls/models/batch_read_input_simple_public_object_id.rb +1 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_batch_input.rb +2 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_batch_input_for_create.rb +252 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_batch_input_upsert.rb +1 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_input.rb +1 -10
- data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_input_for_create.rb +1 -15
- data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_with_associations.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_upsert_object.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/communications/api/basic_api.rb +13 -12
- data/lib/hubspot/codegen/crm/objects/communications/api/batch_api.rb +17 -9
- data/lib/hubspot/codegen/crm/objects/communications/api/search_api.rb +4 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
- data/lib/hubspot/codegen/crm/objects/communications/models/batch_read_input_simple_public_object_id.rb +1 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_batch_input.rb +2 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_batch_input_for_create.rb +252 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_batch_input_upsert.rb +1 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_input.rb +1 -10
- data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_input_for_create.rb +1 -15
- data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_with_associations.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_upsert_object.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/configuration.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/deal_splits/api/batch_api.rb +160 -0
- data/lib/hubspot/codegen/crm/objects/deal_splits/api_client.rb +412 -0
- data/lib/hubspot/codegen/crm/objects/deal_splits/api_error.rb +63 -0
- data/lib/hubspot/codegen/crm/objects/deal_splits/configuration.rb +289 -0
- data/lib/hubspot/codegen/crm/objects/deal_splits/models/batch_input_public_object_id.rb +232 -0
- data/lib/hubspot/codegen/crm/objects/deal_splits/models/batch_response_deal_to_deal_splits.rb +328 -0
- data/lib/hubspot/codegen/crm/objects/deal_splits/models/batch_response_deal_to_deal_splits_with_errors.rb +348 -0
- data/lib/hubspot/codegen/crm/objects/deal_splits/models/deal_to_deal_splits.rb +246 -0
- data/lib/hubspot/codegen/crm/objects/deal_splits/models/error.rb +307 -0
- data/lib/hubspot/codegen/crm/objects/deal_splits/models/error_detail.rb +273 -0
- data/lib/hubspot/codegen/crm/objects/{feedback_submissions/models/public_gdpr_delete_input.rb → deal_splits/models/public_deal_split_input.rb} +27 -22
- data/lib/hubspot/codegen/crm/objects/deal_splits/models/public_deal_splits_batch_create_request.rb +232 -0
- data/lib/hubspot/codegen/crm/objects/deal_splits/models/public_deal_splits_create_request.rb +246 -0
- data/lib/hubspot/codegen/crm/objects/{feedback_submissions → deal_splits}/models/public_object_id.rb +5 -5
- data/lib/hubspot/codegen/crm/objects/deal_splits/models/simple_public_object.rb +303 -0
- data/lib/hubspot/codegen/crm/objects/deal_splits/models/standard_error.rb +331 -0
- data/lib/hubspot/codegen/crm/objects/deal_splits/models/value_with_timestamp.rb +285 -0
- data/lib/hubspot/codegen/crm/objects/emails/api/basic_api.rb +7 -6
- data/lib/hubspot/codegen/crm/objects/emails/api/batch_api.rb +11 -9
- data/lib/hubspot/codegen/crm/objects/emails/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
- data/lib/hubspot/codegen/crm/objects/emails/models/batch_read_input_simple_public_object_id.rb +1 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_batch_input.rb +2 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_batch_input_for_create.rb +252 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_batch_input_upsert.rb +1 -0
- data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_input.rb +1 -10
- data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_input_for_create.rb +1 -15
- data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_with_associations.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_upsert_object.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/basic_api.rb +3 -210
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/batch_api.rb +2 -198
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/batch_read_input_simple_public_object_id.rb +1 -0
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/public_object_search_request.rb +0 -25
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/simple_public_object.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/simple_public_object_with_associations.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/goals/api/basic_api.rb +209 -0
- data/lib/hubspot/codegen/crm/objects/goals/api/batch_api.rb +268 -0
- data/lib/hubspot/codegen/crm/objects/{feedback_submissions → goals}/models/association_spec.rb +5 -5
- data/lib/hubspot/codegen/crm/objects/{feedback_submissions → goals}/models/batch_input_simple_public_object_batch_input.rb +5 -5
- data/lib/hubspot/codegen/crm/objects/goals/models/batch_input_simple_public_object_batch_input_for_create.rb +232 -0
- data/lib/hubspot/codegen/crm/objects/goals/models/batch_input_simple_public_object_batch_input_upsert.rb +232 -0
- data/lib/hubspot/codegen/crm/objects/{feedback_submissions → goals}/models/batch_input_simple_public_object_id.rb +5 -5
- data/lib/hubspot/codegen/crm/objects/goals/models/batch_read_input_simple_public_object_id.rb +1 -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/{feedback_submissions → goals}/models/public_associations_for_object.rb +5 -5
- data/lib/hubspot/codegen/crm/objects/goals/models/public_object_id.rb +230 -0
- data/lib/hubspot/codegen/crm/objects/goals/models/simple_public_object.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/goals/models/simple_public_object_batch_input.rb +266 -0
- data/lib/hubspot/codegen/crm/objects/goals/models/simple_public_object_batch_input_for_create.rb +252 -0
- data/lib/hubspot/codegen/crm/objects/goals/models/simple_public_object_batch_input_upsert.rb +265 -0
- data/lib/hubspot/codegen/crm/objects/{feedback_submissions → goals}/models/simple_public_object_input.rb +5 -5
- data/lib/hubspot/codegen/crm/objects/{feedback_submissions → goals}/models/simple_public_object_input_for_create.rb +5 -10
- data/lib/hubspot/codegen/crm/objects/goals/models/simple_public_object_with_associations.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/goals/models/simple_public_upsert_object.rb +326 -0
- data/lib/hubspot/codegen/crm/objects/leads/api/basic_api.rb +1 -0
- data/lib/hubspot/codegen/crm/objects/leads/api/batch_api.rb +13 -11
- data/lib/hubspot/codegen/crm/objects/leads/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
- data/lib/hubspot/codegen/crm/objects/leads/models/batch_read_input_simple_public_object_id.rb +1 -0
- data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_object.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_object_batch_input.rb +2 -0
- data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_object_batch_input_for_create.rb +252 -0
- data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_object_batch_input_upsert.rb +1 -0
- data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_object_input.rb +1 -10
- data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_object_input_for_create.rb +1 -15
- data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_object_with_associations.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_upsert_object.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/meetings/api/basic_api.rb +7 -6
- data/lib/hubspot/codegen/crm/objects/meetings/api/batch_api.rb +11 -9
- data/lib/hubspot/codegen/crm/objects/meetings/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
- data/lib/hubspot/codegen/crm/objects/meetings/models/batch_read_input_simple_public_object_id.rb +1 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_batch_input.rb +2 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_batch_input_for_create.rb +252 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_batch_input_upsert.rb +1 -0
- data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_input.rb +1 -10
- data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_input_for_create.rb +1 -15
- data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_with_associations.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_upsert_object.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/models/associated_id.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/association_spec.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/batch_input_simple_public_object_batch_input.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +5 -5
- data/lib/hubspot/codegen/crm/objects/models/batch_input_simple_public_object_batch_input_upsert.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/batch_input_simple_public_object_id.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/batch_read_input_simple_public_object_id.rb +2 -2
- data/lib/hubspot/codegen/crm/objects/models/batch_response_simple_public_object.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/batch_response_simple_public_object_with_errors.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/batch_response_simple_public_upsert_object.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/batch_response_simple_public_upsert_object_with_errors.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/collection_response_associated_id.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/collection_response_simple_public_object_with_associations_forward_paging.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/collection_response_with_total_simple_public_object_forward_paging.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/error.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/filter.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/filter_group.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/forward_paging.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/next_page.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/paging.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/previous_page.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/public_associations_for_object.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/public_object_id.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/public_object_search_request.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object.rb +11 -2
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object_batch_input.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object_batch_input_for_create.rb +250 -0
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object_batch_input_upsert.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object_id.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object_input.rb +2 -11
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object_input_for_create.rb +2 -16
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object_with_associations.rb +11 -2
- data/lib/hubspot/codegen/crm/objects/models/simple_public_upsert_object.rb +11 -2
- data/lib/hubspot/codegen/crm/objects/models/standard_error.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/value_with_timestamp.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/notes/api/basic_api.rb +7 -6
- data/lib/hubspot/codegen/crm/objects/notes/api/batch_api.rb +11 -9
- data/lib/hubspot/codegen/crm/objects/notes/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
- data/lib/hubspot/codegen/crm/objects/notes/models/batch_read_input_simple_public_object_id.rb +1 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_batch_input.rb +2 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_batch_input_for_create.rb +252 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_batch_input_upsert.rb +1 -0
- data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_input.rb +1 -10
- data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_input_for_create.rb +1 -15
- data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_with_associations.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_upsert_object.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/postal_mail/api/basic_api.rb +7 -6
- data/lib/hubspot/codegen/crm/objects/postal_mail/api/batch_api.rb +11 -9
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/batch_read_input_simple_public_object_id.rb +1 -0
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_batch_input.rb +2 -0
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_batch_input_for_create.rb +252 -0
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_batch_input_upsert.rb +1 -0
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_input.rb +1 -10
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_input_for_create.rb +1 -15
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_with_associations.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_upsert_object.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/tasks/api/basic_api.rb +7 -6
- data/lib/hubspot/codegen/crm/objects/tasks/api/batch_api.rb +11 -9
- data/lib/hubspot/codegen/crm/objects/tasks/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.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/simple_public_object.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_batch_input.rb +2 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_batch_input_for_create.rb +252 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_batch_input_upsert.rb +1 -0
- data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_input.rb +1 -10
- data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_input_for_create.rb +1 -15
- data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_with_associations.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_upsert_object.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/taxes/api/basic_api.rb +7 -6
- data/lib/hubspot/codegen/crm/objects/taxes/api/batch_api.rb +11 -9
- data/lib/hubspot/codegen/crm/objects/taxes/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
- data/lib/hubspot/codegen/crm/objects/taxes/models/batch_read_input_simple_public_object_id.rb +1 -0
- data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object_batch_input.rb +2 -0
- data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object_batch_input_for_create.rb +252 -0
- data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object_batch_input_upsert.rb +1 -0
- data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object_input.rb +1 -10
- data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object_input_for_create.rb +1 -15
- data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object_with_associations.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_upsert_object.rb +10 -1
- data/lib/hubspot/codegen/crm/owners/models/public_owner.rb +58 -1
- data/lib/hubspot/codegen/crm/products/api/basic_api.rb +5 -4
- data/lib/hubspot/codegen/crm/products/api/batch_api.rb +11 -9
- data/lib/hubspot/codegen/crm/products/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
- data/lib/hubspot/codegen/crm/products/models/batch_read_input_simple_public_object_id.rb +1 -1
- data/lib/hubspot/codegen/crm/products/models/simple_public_object.rb +10 -1
- data/lib/hubspot/codegen/crm/products/models/simple_public_object_batch_input_for_create.rb +250 -0
- data/lib/hubspot/codegen/crm/products/models/simple_public_object_input.rb +1 -10
- data/lib/hubspot/codegen/crm/products/models/simple_public_object_input_for_create.rb +6 -10
- data/lib/hubspot/codegen/crm/products/models/simple_public_object_with_associations.rb +10 -1
- data/lib/hubspot/codegen/crm/products/models/simple_public_upsert_object.rb +10 -1
- data/lib/hubspot/codegen/crm/quotes/api/basic_api.rb +7 -6
- data/lib/hubspot/codegen/crm/quotes/api/batch_api.rb +11 -9
- data/lib/hubspot/codegen/crm/quotes/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
- data/lib/hubspot/codegen/crm/quotes/models/batch_read_input_simple_public_object_id.rb +1 -0
- data/lib/hubspot/codegen/crm/quotes/models/simple_public_object.rb +10 -1
- data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_batch_input.rb +2 -0
- data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_batch_input_for_create.rb +250 -0
- data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_batch_input_upsert.rb +1 -0
- data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_input.rb +1 -10
- data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_input_for_create.rb +1 -15
- data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_with_associations.rb +10 -1
- data/lib/hubspot/codegen/crm/quotes/models/simple_public_upsert_object.rb +10 -1
- data/lib/hubspot/codegen/crm/tickets/api/basic_api.rb +73 -4
- data/lib/hubspot/codegen/crm/tickets/api/batch_api.rb +17 -9
- data/lib/hubspot/codegen/crm/tickets/api/search_api.rb +4 -0
- data/lib/hubspot/codegen/crm/tickets/models/association_spec.rb +10 -0
- data/lib/hubspot/codegen/crm/tickets/models/{batch_input_simple_public_object_input_for_create.rb → batch_input_simple_public_object_batch_input_for_create.rb} +4 -4
- data/lib/hubspot/codegen/crm/tickets/models/batch_read_input_simple_public_object_id.rb +1 -0
- data/lib/hubspot/codegen/crm/tickets/models/public_associations_for_object.rb +10 -0
- data/lib/hubspot/codegen/crm/tickets/models/public_object_id.rb +5 -0
- data/lib/hubspot/codegen/crm/tickets/models/simple_public_object.rb +10 -1
- data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_batch_input.rb +2 -0
- data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_batch_input_for_create.rb +250 -0
- data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_batch_input_upsert.rb +1 -0
- data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_input.rb +1 -10
- data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_input_for_create.rb +1 -10
- data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_with_associations.rb +10 -1
- data/lib/hubspot/codegen/crm/tickets/models/simple_public_upsert_object.rb +10 -1
- data/lib/hubspot/codegen/events/api/events_api.rb +22 -22
- data/lib/hubspot/codegen/events/send/api/{custom_event_data_api.rb → basic_api.rb} +13 -10
- data/lib/hubspot/codegen/{crm/contacts/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/files/api/files_api.rb +144 -104
- data/lib/hubspot/codegen/files/api/folders_api.rb +142 -57
- data/lib/hubspot/codegen/files/api_client.rb +1 -1
- data/lib/hubspot/codegen/files/api_error.rb +1 -1
- data/lib/hubspot/codegen/files/configuration.rb +1 -1
- data/lib/hubspot/codegen/files/models/collection_response_file.rb +2 -1
- data/lib/hubspot/codegen/files/models/collection_response_folder.rb +1 -1
- data/lib/hubspot/codegen/files/models/error.rb +1 -1
- data/lib/hubspot/codegen/files/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/files/models/file.rb +33 -14
- data/lib/hubspot/codegen/files/models/file_action_response.rb +1 -1
- data/lib/hubspot/codegen/files/models/file_stat.rb +1 -1
- data/lib/hubspot/codegen/files/models/file_update_input.rb +15 -5
- data/lib/hubspot/codegen/files/models/folder.rb +12 -12
- data/lib/hubspot/codegen/files/models/folder_action_response.rb +1 -1
- data/lib/hubspot/codegen/files/models/folder_input.rb +2 -1
- data/lib/hubspot/codegen/files/models/folder_update_input.rb +6 -20
- data/lib/hubspot/codegen/files/models/folder_update_input_with_id.rb +244 -0
- data/lib/hubspot/codegen/files/models/folder_update_task_locator.rb +2 -1
- data/lib/hubspot/codegen/files/models/import_from_url_input.rb +13 -4
- data/lib/hubspot/codegen/files/models/import_from_url_task_locator.rb +2 -1
- data/lib/hubspot/codegen/files/models/next_page.rb +1 -1
- data/lib/hubspot/codegen/files/models/paging.rb +1 -1
- data/lib/hubspot/codegen/files/models/previous_page.rb +1 -1
- data/lib/hubspot/codegen/files/models/signed_url.rb +18 -17
- data/lib/hubspot/codegen/files/models/standard_error.rb +1 -1
- data/lib/hubspot/codegen/marketing/emails/api/marketing_emails_api.rb +1226 -0
- data/lib/hubspot/codegen/marketing/emails/api/statistics_api.rb +168 -0
- data/lib/hubspot/codegen/marketing/emails/api_client.rb +410 -0
- data/lib/hubspot/codegen/marketing/emails/api_error.rb +61 -0
- data/lib/hubspot/codegen/marketing/emails/configuration.rb +287 -0
- data/lib/hubspot/codegen/marketing/emails/models/ab_test_create_request_v_next.rb +244 -0
- data/lib/hubspot/codegen/marketing/emails/models/aggregate_email_statistics.rb +248 -0
- data/lib/hubspot/codegen/marketing/emails/models/collection_response_with_total_email_statistic_interval_no_paging.rb +247 -0
- data/lib/hubspot/codegen/marketing/emails/models/collection_response_with_total_public_email_forward_paging.rb +256 -0
- data/lib/hubspot/codegen/marketing/emails/models/collection_response_with_total_version_public_email.rb +256 -0
- data/lib/hubspot/codegen/marketing/emails/models/content_clone_request_v_next.rb +240 -0
- data/lib/hubspot/codegen/marketing/emails/models/email_create_request.rb +468 -0
- data/lib/hubspot/codegen/marketing/emails/models/email_statistic_interval.rb +232 -0
- data/lib/hubspot/codegen/marketing/emails/models/email_statistics_data.rb +282 -0
- data/lib/hubspot/codegen/marketing/emails/models/email_update_request.rb +453 -0
- data/lib/hubspot/codegen/marketing/emails/models/error.rb +305 -0
- data/lib/hubspot/codegen/marketing/emails/models/error_detail.rb +271 -0
- data/lib/hubspot/codegen/marketing/emails/models/forward_paging.rb +223 -0
- data/lib/hubspot/codegen/marketing/emails/models/interval.rb +242 -0
- data/lib/hubspot/codegen/marketing/emails/models/next_page.rb +240 -0
- data/lib/hubspot/codegen/marketing/emails/models/paging.rb +238 -0
- data/lib/hubspot/codegen/marketing/emails/models/previous_page.rb +240 -0
- data/lib/hubspot/codegen/marketing/emails/models/public_button_style_settings.rb +241 -0
- data/lib/hubspot/codegen/marketing/emails/models/public_divider_style_settings.rb +241 -0
- data/lib/hubspot/codegen/marketing/emails/models/public_email.rb +654 -0
- data/lib/hubspot/codegen/marketing/emails/models/public_email_content.rb +304 -0
- data/lib/hubspot/codegen/marketing/emails/models/public_email_from_details.rb +245 -0
- data/lib/hubspot/codegen/marketing/emails/models/public_email_recipients.rb +239 -0
- data/lib/hubspot/codegen/marketing/emails/models/public_email_style_settings.rb +484 -0
- data/lib/hubspot/codegen/marketing/emails/models/public_email_subscription_details.rb +245 -0
- data/lib/hubspot/codegen/marketing/emails/models/public_email_testing_details.rb +355 -0
- data/lib/hubspot/codegen/marketing/emails/models/public_email_to_details.rb +262 -0
- data/lib/hubspot/codegen/marketing/emails/models/public_font_style.rb +268 -0
- data/lib/hubspot/codegen/marketing/emails/models/public_rss_email_details.rb +307 -0
- data/lib/hubspot/codegen/marketing/emails/models/public_webversion_details.rb +311 -0
- data/lib/hubspot/codegen/marketing/emails/models/version_public_email.rb +272 -0
- data/lib/hubspot/codegen/marketing/emails/models/version_user.rb +260 -0
- data/lib/hubspot/codegen/marketing/events/api/add_event_attendees_api.rb +352 -0
- data/lib/hubspot/codegen/marketing/events/api/basic_api.rb +177 -264
- data/lib/hubspot/codegen/marketing/events/api/batch_api.rb +298 -0
- data/lib/hubspot/codegen/marketing/events/api/change_property_api.rb +177 -0
- data/lib/hubspot/codegen/marketing/events/api/identifiers_api.rb +153 -0
- data/lib/hubspot/codegen/marketing/events/api/list_associations_api.rb +2 -2
- data/lib/hubspot/codegen/marketing/events/api/{participant_state_api.rb → retrieve_participant_state_api.rb} +23 -23
- data/lib/hubspot/codegen/marketing/events/api/subscriber_state_changes_api.rb +8 -8
- data/lib/hubspot/codegen/marketing/events/models/app_info.rb +242 -0
- data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_public_object_id_delete_request.rb +230 -0
- data/lib/hubspot/codegen/marketing/events/models/batch_input_marketing_event_public_update_request_full_v2.rb +230 -0
- data/lib/hubspot/codegen/marketing/events/models/batch_response_marketing_event_public_default_response_v2.rb +326 -0
- data/lib/hubspot/codegen/{cms/performance/models/public_performance_response.rb → marketing/events/models/batch_response_marketing_event_public_default_response_v2_with_errors.rb} +85 -84
- data/lib/hubspot/codegen/marketing/events/models/collection_response_marketing_event_public_read_response_v2_forward_paging.rb +239 -0
- data/lib/hubspot/codegen/marketing/events/models/{collection_response_marketing_event_external_unique_identifier_no_paging.rb → collection_response_search_public_response_wrapper_no_paging.rb} +4 -4
- data/lib/hubspot/codegen/marketing/events/models/collection_response_with_total_marketing_event_identifiers_response_no_paging.rb +244 -0
- data/lib/hubspot/codegen/marketing/events/models/crm_property_wrapper.rb +242 -0
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_default_response.rb +13 -4
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_email_subscriber.rb +1 -1
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_identifiers_response.rb +274 -0
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_default_response.rb +10 -1
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_default_response_v2.rb +367 -0
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_object_id_delete_request.rb +228 -0
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_read_response.rb +10 -1
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_read_response_v2.rb +421 -0
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_update_request_full_v2.rb +316 -0
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_update_request_v2.rb +302 -0
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_subscriber.rb +1 -1
- data/lib/hubspot/codegen/marketing/events/models/property_value.rb +2 -2
- data/lib/hubspot/codegen/marketing/events/models/search_public_response_wrapper.rb +270 -0
- data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition.rb +0 -1
- data/lib/hubspot/codegen/marketing/forms/models/hub_spot_form_definition_create_request.rb +0 -1
- data/lib/hubspot/codegen/oauth/api/access_tokens_api.rb +7 -3
- data/lib/hubspot/codegen/oauth/api/refresh_tokens_api.rb +13 -5
- data/lib/hubspot/codegen/oauth/api/tokens_api.rb +5 -1
- data/lib/hubspot/codegen/oauth/api_client.rb +2 -2
- data/lib/hubspot/codegen/oauth/api_error.rb +1 -1
- data/lib/hubspot/codegen/oauth/configuration.rb +1 -1
- data/lib/hubspot/codegen/oauth/models/access_token_info_response.rb +4 -4
- data/lib/hubspot/codegen/oauth/models/error.rb +4 -4
- data/lib/hubspot/codegen/oauth/models/error_detail.rb +4 -4
- data/lib/hubspot/codegen/oauth/models/refresh_token_info_response.rb +4 -4
- data/lib/hubspot/codegen/oauth/models/token_response_if.rb +4 -4
- data/lib/hubspot/codegen/webhooks/api/settings_api.rb +18 -6
- data/lib/hubspot/codegen/webhooks/api/subscriptions_api.rb +42 -18
- data/lib/hubspot/codegen/webhooks/models/settings_change_request.rb +1 -0
- data/lib/hubspot/codegen/webhooks/models/settings_response.rb +1 -0
- data/lib/hubspot/codegen/webhooks/models/subscription_create_request.rb +13 -3
- data/lib/hubspot/codegen/webhooks/models/subscription_list_response.rb +1 -0
- data/lib/hubspot/codegen/webhooks/models/subscription_patch_request.rb +1 -0
- data/lib/hubspot/codegen/webhooks/models/subscription_response.rb +13 -3
- data/lib/hubspot/codegen/webhooks/models/throttling_settings.rb +2 -50
- data/lib/hubspot/discovery/cms/blogs/blog_posts/api/{blog_posts_api.rb → basic_api.rb} +1 -1
- data/lib/hubspot/discovery/cms/blogs/blog_posts/api/batch_api.rb +15 -0
- data/lib/hubspot/discovery/cms/blogs/blog_posts/api/multi_language_api.rb +15 -0
- data/lib/hubspot/discovery/cms/blogs/blog_posts/client.rb +3 -1
- data/lib/hubspot/discovery/cms/client.rb +0 -1
- data/lib/hubspot/discovery/crm/{objects/feedback_submissions/api/public_object_api.rb → associations/v4/api/report_api.rb} +3 -3
- data/lib/hubspot/discovery/crm/associations/v4/client.rb +1 -0
- data/lib/hubspot/discovery/crm/associations/v4/schema/api/definition_configurations_api.rb +17 -0
- data/lib/hubspot/discovery/crm/associations/v4/schema/client.rb +1 -0
- data/lib/hubspot/discovery/crm/client.rb +2 -0
- data/lib/hubspot/discovery/crm/commerce/client.rb +19 -0
- data/lib/hubspot/discovery/crm/commerce/invoices/api/basic_api.rb +15 -0
- data/lib/hubspot/discovery/crm/commerce/invoices/api/batch_api.rb +15 -0
- data/lib/hubspot/discovery/crm/commerce/invoices/api/search_api.rb +15 -0
- data/lib/hubspot/discovery/crm/commerce/invoices/client.rb +23 -0
- data/lib/hubspot/discovery/crm/companies/client.rb +0 -1
- data/lib/hubspot/discovery/crm/contacts/client.rb +0 -2
- data/lib/hubspot/discovery/crm/deals/client.rb +0 -1
- data/lib/hubspot/discovery/crm/{contacts/api/merge_api.rb → exports/api/public_exports_api.rb} +2 -2
- data/lib/hubspot/discovery/{cms/performance → crm/exports}/client.rb +3 -3
- data/lib/hubspot/discovery/crm/extensions/calling/api/channel_connection_settings_api.rb +15 -0
- data/lib/hubspot/discovery/crm/extensions/calling/client.rb +1 -0
- data/lib/hubspot/discovery/crm/objects/client.rb +1 -3
- data/lib/hubspot/discovery/crm/objects/{feedback_submissions/api/gdpr_api.rb → deal_splits/api/batch_api.rb} +2 -2
- data/lib/hubspot/discovery/crm/objects/deal_splits/client.rb +21 -0
- data/lib/hubspot/discovery/crm/objects/feedback_submissions/client.rb +0 -2
- data/lib/hubspot/discovery/crm/tickets/client.rb +0 -1
- data/lib/hubspot/discovery/events/send/api/{custom_event_data_api.rb → basic_api.rb} +1 -1
- data/lib/hubspot/discovery/{crm/deals/api/merge_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/{crm/contacts/api/gdpr_api.rb → marketing/emails/api/statistics_api.rb} +3 -3
- data/lib/hubspot/discovery/marketing/emails/client.rb +20 -0
- data/lib/hubspot/discovery/marketing/events/api/{attendance_subscriber_state_changes_api.rb → add_event_attendees_api.rb} +1 -1
- data/lib/hubspot/discovery/marketing/events/api/{participant_state_api.rb → batch_api.rb} +1 -1
- data/lib/hubspot/discovery/marketing/events/api/change_property_api.rb +13 -0
- data/lib/hubspot/discovery/{crm/companies/api/merge_api.rb → marketing/events/api/identifiers_api.rb} +3 -3
- data/lib/hubspot/discovery/marketing/events/api/retrieve_participant_state_api.rb +13 -0
- data/lib/hubspot/discovery/marketing/events/client.rb +5 -2
- data/lib/hubspot/discovery/oauth/api/access_tokens_api.rb +1 -1
- data/lib/hubspot/discovery/oauth/api/refresh_tokens_api.rb +1 -1
- data/lib/hubspot/discovery/oauth/api/tokens_api.rb +1 -1
- data/lib/hubspot/discovery/oauth/client.rb +1 -1
- data/lib/hubspot/helpers/camel_case.rb +0 -4
- 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/client_spec.rb +0 -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/basic_api_spec.rb +1 -0
- data/spec/discovery/crm/contacts/basic_api_spec.rb +1 -0
- data/spec/discovery/crm/deals/basic_api_spec.rb +1 -0
- data/spec/discovery/crm/exports/public_exports_api_spec.rb +8 -0
- data/spec/discovery/crm/extensions/calling/channel_connection_settings_api_spec.rb +10 -0
- data/spec/discovery/crm/objects/deal_splits/batch_api_spec.rb +8 -0
- data/spec/discovery/crm/objects/feedback_submissions/basic_api_spec.rb +0 -3
- data/spec/discovery/crm/objects/feedback_submissions/batch_api_spec.rb +0 -3
- data/spec/discovery/crm/objects/goals/basic_api_spec.rb +3 -0
- data/spec/discovery/crm/objects/goals/batch_api_spec.rb +4 -0
- data/spec/discovery/crm/tickets/basic_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/files/files_api_spec.rb +2 -1
- data/spec/discovery/files/folders_api_spec.rb +1 -0
- data/spec/discovery/marketing/emails/marketing_emails_api_spec.rb +24 -0
- data/spec/discovery/marketing/emails/statistics_api_spec.rb +8 -0
- data/spec/discovery/marketing/events/add_event_attendees_api_spec.rb +10 -0
- data/spec/discovery/marketing/events/basic_api_spec.rb +5 -6
- data/spec/discovery/marketing/events/batch_api_spec.rb +10 -0
- data/spec/discovery/marketing/events/change_property_api_spec.rb +8 -0
- data/spec/discovery/marketing/events/identifiers_api_spec.rb +8 -0
- data/spec/discovery/marketing/events/{participant_state_api_spec.rb → retrieve_participant_state_api_spec.rb} +2 -2
- data/spec/discovery/oauth/access_tokens_api_spec.rb +1 -1
- data/spec/discovery/oauth/refresh_tokens_api_spec.rb +1 -1
- data/spec/discovery/oauth/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 +286 -87
- data/lib/hubspot/codegen/cms/blogs/blog_posts/api/blog_posts_api.rb +0 -1694
- data/lib/hubspot/codegen/cms/performance/api/public_performance_api.rb +0 -188
- data/lib/hubspot/codegen/cms/performance/models/performance_view.rb +0 -526
- data/lib/hubspot/codegen/crm/companies/api/merge_api.rb +0 -92
- data/lib/hubspot/codegen/crm/contacts/api/merge_api.rb +0 -92
- data/lib/hubspot/codegen/crm/deals/api/merge_api.rb +0 -92
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/gdpr_api.rb +0 -96
- data/lib/hubspot/codegen/crm/tickets/api/merge_api.rb +0 -92
- data/lib/hubspot/codegen/marketing/events/api/attendance_subscriber_state_changes_api.rb +0 -192
- data/lib/hubspot/discovery/cms/performance/api/public_performance_api.rb +0 -13
- data/lib/hubspot/discovery/crm/tickets/api/merge_api.rb +0 -13
- data/spec/discovery/cms/performance/public_performance_api_spec.rb +0 -8
- data/spec/discovery/crm/companies/merge_api_spec.rb +0 -7
- data/spec/discovery/crm/contacts/gdpr_api_spec.rb +0 -7
- data/spec/discovery/crm/contacts/merge_api_spec.rb +0 -7
- data/spec/discovery/crm/deals/merge_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/tickets/merge_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
@@ -1,526 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#CMS Performance
|
3
|
-
|
4
|
-
#Use these endpoints to get a time series view of your website's performance.
|
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 Cms
|
18
|
-
module Performance
|
19
|
-
class PerformanceView
|
20
|
-
# The number of responses that had an http status code of 403.
|
21
|
-
attr_accessor :_403
|
22
|
-
|
23
|
-
# The number of responses that had an http status code of 404.
|
24
|
-
attr_accessor :_404
|
25
|
-
|
26
|
-
# The number of responses that had an http status code of 500.
|
27
|
-
attr_accessor :_500
|
28
|
-
|
29
|
-
# The number of responses that had an http status code of 504.
|
30
|
-
attr_accessor :_504
|
31
|
-
|
32
|
-
attr_accessor :start_datetime
|
33
|
-
|
34
|
-
# The average response time in milliseconds.
|
35
|
-
attr_accessor :response_time_ms
|
36
|
-
|
37
|
-
# The 95th percentile response time.
|
38
|
-
attr_accessor :_95th
|
39
|
-
|
40
|
-
# The total number of requests received in this period.
|
41
|
-
attr_accessor :total_requests
|
42
|
-
|
43
|
-
# The percentage of requests that were served cached responses.
|
44
|
-
attr_accessor :cache_hit_rate
|
45
|
-
|
46
|
-
# The 99th percentile response time.
|
47
|
-
attr_accessor :_99th
|
48
|
-
|
49
|
-
attr_accessor :total_request_time
|
50
|
-
|
51
|
-
# The number of responses that had an http status code between 1000-1999.
|
52
|
-
attr_accessor :_100_x
|
53
|
-
|
54
|
-
# The 50th percentile response time.
|
55
|
-
attr_accessor :_50th
|
56
|
-
|
57
|
-
# The total number of requests that were served cached responses.
|
58
|
-
attr_accessor :cache_hits
|
59
|
-
|
60
|
-
# The number of responses that had an http status code between 200-299.
|
61
|
-
attr_accessor :_20_x
|
62
|
-
|
63
|
-
# The number of responses that had an http status code between 300-399.
|
64
|
-
attr_accessor :_30_x
|
65
|
-
|
66
|
-
# The number of responses that had an http status code between 400-499.
|
67
|
-
attr_accessor :_40_x
|
68
|
-
|
69
|
-
# The timestamp in milliseconds of the end of this interval.
|
70
|
-
attr_accessor :end_timestamp
|
71
|
-
|
72
|
-
# The number of responses that had an http status code between 500-599.
|
73
|
-
attr_accessor :_50_x
|
74
|
-
|
75
|
-
# The timestamp in milliseconds of the start of this interval.
|
76
|
-
attr_accessor :start_timestamp
|
77
|
-
|
78
|
-
attr_accessor :end_datetime
|
79
|
-
|
80
|
-
# The average response time in milliseconds from the origin to the edge.
|
81
|
-
attr_accessor :avg_origin_response_time
|
82
|
-
|
83
|
-
# Attribute mapping from ruby-style variable name to JSON key.
|
84
|
-
def self.attribute_map
|
85
|
-
{
|
86
|
-
:'_403' => :'403',
|
87
|
-
:'_404' => :'404',
|
88
|
-
:'_500' => :'500',
|
89
|
-
:'_504' => :'504',
|
90
|
-
:'start_datetime' => :'startDatetime',
|
91
|
-
:'response_time_ms' => :'responseTimeMs',
|
92
|
-
:'_95th' => :'95th',
|
93
|
-
:'total_requests' => :'totalRequests',
|
94
|
-
:'cache_hit_rate' => :'cacheHitRate',
|
95
|
-
:'_99th' => :'99th',
|
96
|
-
:'total_request_time' => :'totalRequestTime',
|
97
|
-
:'_100_x' => :'100X',
|
98
|
-
:'_50th' => :'50th',
|
99
|
-
:'cache_hits' => :'cacheHits',
|
100
|
-
:'_20_x' => :'20X',
|
101
|
-
:'_30_x' => :'30X',
|
102
|
-
:'_40_x' => :'40X',
|
103
|
-
:'end_timestamp' => :'endTimestamp',
|
104
|
-
:'_50_x' => :'50X',
|
105
|
-
:'start_timestamp' => :'startTimestamp',
|
106
|
-
:'end_datetime' => :'endDatetime',
|
107
|
-
:'avg_origin_response_time' => :'avgOriginResponseTime'
|
108
|
-
}
|
109
|
-
end
|
110
|
-
|
111
|
-
# Returns all the JSON keys this model knows about
|
112
|
-
def self.acceptable_attributes
|
113
|
-
attribute_map.values
|
114
|
-
end
|
115
|
-
|
116
|
-
# Attribute type mapping.
|
117
|
-
def self.openapi_types
|
118
|
-
{
|
119
|
-
:'_403' => :'Integer',
|
120
|
-
:'_404' => :'Integer',
|
121
|
-
:'_500' => :'Integer',
|
122
|
-
:'_504' => :'Integer',
|
123
|
-
:'start_datetime' => :'String',
|
124
|
-
:'response_time_ms' => :'Integer',
|
125
|
-
:'_95th' => :'Integer',
|
126
|
-
:'total_requests' => :'Integer',
|
127
|
-
:'cache_hit_rate' => :'Float',
|
128
|
-
:'_99th' => :'Integer',
|
129
|
-
:'total_request_time' => :'Integer',
|
130
|
-
:'_100_x' => :'Integer',
|
131
|
-
:'_50th' => :'Integer',
|
132
|
-
:'cache_hits' => :'Integer',
|
133
|
-
:'_20_x' => :'Integer',
|
134
|
-
:'_30_x' => :'Integer',
|
135
|
-
:'_40_x' => :'Integer',
|
136
|
-
:'end_timestamp' => :'Integer',
|
137
|
-
:'_50_x' => :'Integer',
|
138
|
-
:'start_timestamp' => :'Integer',
|
139
|
-
:'end_datetime' => :'String',
|
140
|
-
:'avg_origin_response_time' => :'Integer'
|
141
|
-
}
|
142
|
-
end
|
143
|
-
|
144
|
-
# List of attributes with nullable: true
|
145
|
-
def self.openapi_nullable
|
146
|
-
Set.new([
|
147
|
-
])
|
148
|
-
end
|
149
|
-
|
150
|
-
# Initializes the object
|
151
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
152
|
-
def initialize(attributes = {})
|
153
|
-
if (!attributes.is_a?(Hash))
|
154
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `Hubspot::Cms::Performance::PerformanceView` initialize method"
|
155
|
-
end
|
156
|
-
|
157
|
-
# check to see if the attribute exists and convert string to symbol for hash key
|
158
|
-
attributes = attributes.each_with_object({}) { |(k, v), h|
|
159
|
-
if (!self.class.attribute_map.key?(k.to_sym))
|
160
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Hubspot::Cms::Performance::PerformanceView`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
161
|
-
end
|
162
|
-
h[k.to_sym] = v
|
163
|
-
}
|
164
|
-
|
165
|
-
if attributes.key?(:'_403')
|
166
|
-
self._403 = attributes[:'_403']
|
167
|
-
end
|
168
|
-
|
169
|
-
if attributes.key?(:'_404')
|
170
|
-
self._404 = attributes[:'_404']
|
171
|
-
end
|
172
|
-
|
173
|
-
if attributes.key?(:'_500')
|
174
|
-
self._500 = attributes[:'_500']
|
175
|
-
end
|
176
|
-
|
177
|
-
if attributes.key?(:'_504')
|
178
|
-
self._504 = attributes[:'_504']
|
179
|
-
end
|
180
|
-
|
181
|
-
if attributes.key?(:'start_datetime')
|
182
|
-
self.start_datetime = attributes[:'start_datetime']
|
183
|
-
end
|
184
|
-
|
185
|
-
if attributes.key?(:'response_time_ms')
|
186
|
-
self.response_time_ms = attributes[:'response_time_ms']
|
187
|
-
end
|
188
|
-
|
189
|
-
if attributes.key?(:'_95th')
|
190
|
-
self._95th = attributes[:'_95th']
|
191
|
-
end
|
192
|
-
|
193
|
-
if attributes.key?(:'total_requests')
|
194
|
-
self.total_requests = attributes[:'total_requests']
|
195
|
-
end
|
196
|
-
|
197
|
-
if attributes.key?(:'cache_hit_rate')
|
198
|
-
self.cache_hit_rate = attributes[:'cache_hit_rate']
|
199
|
-
end
|
200
|
-
|
201
|
-
if attributes.key?(:'_99th')
|
202
|
-
self._99th = attributes[:'_99th']
|
203
|
-
end
|
204
|
-
|
205
|
-
if attributes.key?(:'total_request_time')
|
206
|
-
self.total_request_time = attributes[:'total_request_time']
|
207
|
-
end
|
208
|
-
|
209
|
-
if attributes.key?(:'_100_x')
|
210
|
-
self._100_x = attributes[:'_100_x']
|
211
|
-
end
|
212
|
-
|
213
|
-
if attributes.key?(:'_50th')
|
214
|
-
self._50th = attributes[:'_50th']
|
215
|
-
end
|
216
|
-
|
217
|
-
if attributes.key?(:'cache_hits')
|
218
|
-
self.cache_hits = attributes[:'cache_hits']
|
219
|
-
end
|
220
|
-
|
221
|
-
if attributes.key?(:'_20_x')
|
222
|
-
self._20_x = attributes[:'_20_x']
|
223
|
-
end
|
224
|
-
|
225
|
-
if attributes.key?(:'_30_x')
|
226
|
-
self._30_x = attributes[:'_30_x']
|
227
|
-
end
|
228
|
-
|
229
|
-
if attributes.key?(:'_40_x')
|
230
|
-
self._40_x = attributes[:'_40_x']
|
231
|
-
end
|
232
|
-
|
233
|
-
if attributes.key?(:'end_timestamp')
|
234
|
-
self.end_timestamp = attributes[:'end_timestamp']
|
235
|
-
end
|
236
|
-
|
237
|
-
if attributes.key?(:'_50_x')
|
238
|
-
self._50_x = attributes[:'_50_x']
|
239
|
-
end
|
240
|
-
|
241
|
-
if attributes.key?(:'start_timestamp')
|
242
|
-
self.start_timestamp = attributes[:'start_timestamp']
|
243
|
-
end
|
244
|
-
|
245
|
-
if attributes.key?(:'end_datetime')
|
246
|
-
self.end_datetime = attributes[:'end_datetime']
|
247
|
-
end
|
248
|
-
|
249
|
-
if attributes.key?(:'avg_origin_response_time')
|
250
|
-
self.avg_origin_response_time = attributes[:'avg_origin_response_time']
|
251
|
-
end
|
252
|
-
end
|
253
|
-
|
254
|
-
# Show invalid properties with the reasons. Usually used together with valid?
|
255
|
-
# @return Array for valid properties with the reasons
|
256
|
-
def list_invalid_properties
|
257
|
-
invalid_properties = Array.new
|
258
|
-
if @_403.nil?
|
259
|
-
invalid_properties.push('invalid value for "_403", _403 cannot be nil.')
|
260
|
-
end
|
261
|
-
|
262
|
-
if @_404.nil?
|
263
|
-
invalid_properties.push('invalid value for "_404", _404 cannot be nil.')
|
264
|
-
end
|
265
|
-
|
266
|
-
if @_500.nil?
|
267
|
-
invalid_properties.push('invalid value for "_500", _500 cannot be nil.')
|
268
|
-
end
|
269
|
-
|
270
|
-
if @_504.nil?
|
271
|
-
invalid_properties.push('invalid value for "_504", _504 cannot be nil.')
|
272
|
-
end
|
273
|
-
|
274
|
-
if @response_time_ms.nil?
|
275
|
-
invalid_properties.push('invalid value for "response_time_ms", response_time_ms cannot be nil.')
|
276
|
-
end
|
277
|
-
|
278
|
-
if @_95th.nil?
|
279
|
-
invalid_properties.push('invalid value for "_95th", _95th cannot be nil.')
|
280
|
-
end
|
281
|
-
|
282
|
-
if @total_requests.nil?
|
283
|
-
invalid_properties.push('invalid value for "total_requests", total_requests cannot be nil.')
|
284
|
-
end
|
285
|
-
|
286
|
-
if @cache_hit_rate.nil?
|
287
|
-
invalid_properties.push('invalid value for "cache_hit_rate", cache_hit_rate cannot be nil.')
|
288
|
-
end
|
289
|
-
|
290
|
-
if @_99th.nil?
|
291
|
-
invalid_properties.push('invalid value for "_99th", _99th cannot be nil.')
|
292
|
-
end
|
293
|
-
|
294
|
-
if @_100_x.nil?
|
295
|
-
invalid_properties.push('invalid value for "_100_x", _100_x cannot be nil.')
|
296
|
-
end
|
297
|
-
|
298
|
-
if @_50th.nil?
|
299
|
-
invalid_properties.push('invalid value for "_50th", _50th cannot be nil.')
|
300
|
-
end
|
301
|
-
|
302
|
-
if @cache_hits.nil?
|
303
|
-
invalid_properties.push('invalid value for "cache_hits", cache_hits cannot be nil.')
|
304
|
-
end
|
305
|
-
|
306
|
-
if @_20_x.nil?
|
307
|
-
invalid_properties.push('invalid value for "_20_x", _20_x cannot be nil.')
|
308
|
-
end
|
309
|
-
|
310
|
-
if @_30_x.nil?
|
311
|
-
invalid_properties.push('invalid value for "_30_x", _30_x cannot be nil.')
|
312
|
-
end
|
313
|
-
|
314
|
-
if @_40_x.nil?
|
315
|
-
invalid_properties.push('invalid value for "_40_x", _40_x cannot be nil.')
|
316
|
-
end
|
317
|
-
|
318
|
-
if @end_timestamp.nil?
|
319
|
-
invalid_properties.push('invalid value for "end_timestamp", end_timestamp cannot be nil.')
|
320
|
-
end
|
321
|
-
|
322
|
-
if @_50_x.nil?
|
323
|
-
invalid_properties.push('invalid value for "_50_x", _50_x cannot be nil.')
|
324
|
-
end
|
325
|
-
|
326
|
-
if @start_timestamp.nil?
|
327
|
-
invalid_properties.push('invalid value for "start_timestamp", start_timestamp cannot be nil.')
|
328
|
-
end
|
329
|
-
|
330
|
-
if @avg_origin_response_time.nil?
|
331
|
-
invalid_properties.push('invalid value for "avg_origin_response_time", avg_origin_response_time cannot be nil.')
|
332
|
-
end
|
333
|
-
|
334
|
-
invalid_properties
|
335
|
-
end
|
336
|
-
|
337
|
-
# Check to see if the all the properties in the model are valid
|
338
|
-
# @return true if the model is valid
|
339
|
-
def valid?
|
340
|
-
return false if @_403.nil?
|
341
|
-
return false if @_404.nil?
|
342
|
-
return false if @_500.nil?
|
343
|
-
return false if @_504.nil?
|
344
|
-
return false if @response_time_ms.nil?
|
345
|
-
return false if @_95th.nil?
|
346
|
-
return false if @total_requests.nil?
|
347
|
-
return false if @cache_hit_rate.nil?
|
348
|
-
return false if @_99th.nil?
|
349
|
-
return false if @_100_x.nil?
|
350
|
-
return false if @_50th.nil?
|
351
|
-
return false if @cache_hits.nil?
|
352
|
-
return false if @_20_x.nil?
|
353
|
-
return false if @_30_x.nil?
|
354
|
-
return false if @_40_x.nil?
|
355
|
-
return false if @end_timestamp.nil?
|
356
|
-
return false if @_50_x.nil?
|
357
|
-
return false if @start_timestamp.nil?
|
358
|
-
return false if @avg_origin_response_time.nil?
|
359
|
-
true
|
360
|
-
end
|
361
|
-
|
362
|
-
# Checks equality by comparing each attribute.
|
363
|
-
# @param [Object] Object to be compared
|
364
|
-
def ==(o)
|
365
|
-
return true if self.equal?(o)
|
366
|
-
self.class == o.class &&
|
367
|
-
_403 == o._403 &&
|
368
|
-
_404 == o._404 &&
|
369
|
-
_500 == o._500 &&
|
370
|
-
_504 == o._504 &&
|
371
|
-
start_datetime == o.start_datetime &&
|
372
|
-
response_time_ms == o.response_time_ms &&
|
373
|
-
_95th == o._95th &&
|
374
|
-
total_requests == o.total_requests &&
|
375
|
-
cache_hit_rate == o.cache_hit_rate &&
|
376
|
-
_99th == o._99th &&
|
377
|
-
total_request_time == o.total_request_time &&
|
378
|
-
_100_x == o._100_x &&
|
379
|
-
_50th == o._50th &&
|
380
|
-
cache_hits == o.cache_hits &&
|
381
|
-
_20_x == o._20_x &&
|
382
|
-
_30_x == o._30_x &&
|
383
|
-
_40_x == o._40_x &&
|
384
|
-
end_timestamp == o.end_timestamp &&
|
385
|
-
_50_x == o._50_x &&
|
386
|
-
start_timestamp == o.start_timestamp &&
|
387
|
-
end_datetime == o.end_datetime &&
|
388
|
-
avg_origin_response_time == o.avg_origin_response_time
|
389
|
-
end
|
390
|
-
|
391
|
-
# @see the `==` method
|
392
|
-
# @param [Object] Object to be compared
|
393
|
-
def eql?(o)
|
394
|
-
self == o
|
395
|
-
end
|
396
|
-
|
397
|
-
# Calculates hash code according to all attributes.
|
398
|
-
# @return [Integer] Hash code
|
399
|
-
def hash
|
400
|
-
[_403, _404, _500, _504, start_datetime, response_time_ms, _95th, total_requests, cache_hit_rate, _99th, total_request_time, _100_x, _50th, cache_hits, _20_x, _30_x, _40_x, end_timestamp, _50_x, start_timestamp, end_datetime, avg_origin_response_time].hash
|
401
|
-
end
|
402
|
-
|
403
|
-
# Builds the object from hash
|
404
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
405
|
-
# @return [Object] Returns the model itself
|
406
|
-
def self.build_from_hash(attributes)
|
407
|
-
new.build_from_hash(attributes)
|
408
|
-
end
|
409
|
-
|
410
|
-
# Builds the object from hash
|
411
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
412
|
-
# @return [Object] Returns the model itself
|
413
|
-
def build_from_hash(attributes)
|
414
|
-
return nil unless attributes.is_a?(Hash)
|
415
|
-
attributes = attributes.transform_keys(&:to_sym)
|
416
|
-
self.class.openapi_types.each_pair do |key, type|
|
417
|
-
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
418
|
-
self.send("#{key}=", nil)
|
419
|
-
elsif type =~ /\AArray<(.*)>/i
|
420
|
-
# check to ensure the input is an array given that the attribute
|
421
|
-
# is documented as an array but the input is not
|
422
|
-
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
423
|
-
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
424
|
-
end
|
425
|
-
elsif !attributes[self.class.attribute_map[key]].nil?
|
426
|
-
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
427
|
-
end
|
428
|
-
end
|
429
|
-
|
430
|
-
self
|
431
|
-
end
|
432
|
-
|
433
|
-
# Deserializes the data based on type
|
434
|
-
# @param string type Data type
|
435
|
-
# @param string value Value to be deserialized
|
436
|
-
# @return [Object] Deserialized data
|
437
|
-
def _deserialize(type, value)
|
438
|
-
case type.to_sym
|
439
|
-
when :Time
|
440
|
-
Time.parse(value)
|
441
|
-
when :Date
|
442
|
-
Date.parse(value)
|
443
|
-
when :String
|
444
|
-
value.to_s
|
445
|
-
when :Integer
|
446
|
-
value.to_i
|
447
|
-
when :Float
|
448
|
-
value.to_f
|
449
|
-
when :Boolean
|
450
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
451
|
-
true
|
452
|
-
else
|
453
|
-
false
|
454
|
-
end
|
455
|
-
when :Object
|
456
|
-
# generic object (usually a Hash), return directly
|
457
|
-
value
|
458
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
459
|
-
inner_type = Regexp.last_match[:inner_type]
|
460
|
-
value.map { |v| _deserialize(inner_type, v) }
|
461
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
462
|
-
k_type = Regexp.last_match[:k_type]
|
463
|
-
v_type = Regexp.last_match[:v_type]
|
464
|
-
{}.tap do |hash|
|
465
|
-
value.each do |k, v|
|
466
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
467
|
-
end
|
468
|
-
end
|
469
|
-
else # model
|
470
|
-
# models (e.g. Pet) or oneOf
|
471
|
-
klass = Hubspot::Cms::Performance.const_get(type)
|
472
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
473
|
-
end
|
474
|
-
end
|
475
|
-
|
476
|
-
# Returns the string representation of the object
|
477
|
-
# @return [String] String presentation of the object
|
478
|
-
def to_s
|
479
|
-
to_hash.to_s
|
480
|
-
end
|
481
|
-
|
482
|
-
# to_body is an alias to to_hash (backward compatibility)
|
483
|
-
# @return [Hash] Returns the object in the form of hash
|
484
|
-
def to_body
|
485
|
-
to_hash
|
486
|
-
end
|
487
|
-
|
488
|
-
# Returns the object in the form of hash
|
489
|
-
# @return [Hash] Returns the object in the form of hash
|
490
|
-
def to_hash
|
491
|
-
hash = {}
|
492
|
-
self.class.attribute_map.each_pair do |attr, param|
|
493
|
-
value = self.send(attr)
|
494
|
-
if value.nil?
|
495
|
-
is_nullable = self.class.openapi_nullable.include?(attr)
|
496
|
-
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
497
|
-
end
|
498
|
-
|
499
|
-
hash[param] = _to_hash(value)
|
500
|
-
end
|
501
|
-
hash
|
502
|
-
end
|
503
|
-
|
504
|
-
# Outputs non-array value in the form of hash
|
505
|
-
# For object, use to_hash. Otherwise, just return the value
|
506
|
-
# @param [Object] value Any valid value
|
507
|
-
# @return [Hash] Returns the value in the form of hash
|
508
|
-
def _to_hash(value)
|
509
|
-
if value.is_a?(Array)
|
510
|
-
value.compact.map { |v| _to_hash(v) }
|
511
|
-
elsif value.is_a?(Hash)
|
512
|
-
{}.tap do |hash|
|
513
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
514
|
-
end
|
515
|
-
elsif value.respond_to? :to_hash
|
516
|
-
value.to_hash
|
517
|
-
else
|
518
|
-
value
|
519
|
-
end
|
520
|
-
end
|
521
|
-
|
522
|
-
end
|
523
|
-
|
524
|
-
end
|
525
|
-
end
|
526
|
-
end
|
@@ -1,92 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Companies
|
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 'cgi'
|
14
|
-
|
15
|
-
module Hubspot
|
16
|
-
module Crm
|
17
|
-
module Companies
|
18
|
-
class MergeApi
|
19
|
-
attr_accessor :api_client
|
20
|
-
|
21
|
-
def initialize(api_client = ApiClient.default)
|
22
|
-
@api_client = api_client
|
23
|
-
end
|
24
|
-
# Merge two companies with same type
|
25
|
-
# @param public_merge_input [PublicMergeInput]
|
26
|
-
# @param [Hash] opts the optional parameters
|
27
|
-
# @return [SimplePublicObject]
|
28
|
-
def merge(public_merge_input, opts = {})
|
29
|
-
data, _status_code, _headers = merge_with_http_info(public_merge_input, opts)
|
30
|
-
data
|
31
|
-
end
|
32
|
-
|
33
|
-
# Merge two companies with same type
|
34
|
-
# @param public_merge_input [PublicMergeInput]
|
35
|
-
# @param [Hash] opts the optional parameters
|
36
|
-
# @return [Array<(SimplePublicObject, Integer, Hash)>] SimplePublicObject data, response status code and response headers
|
37
|
-
def merge_with_http_info(public_merge_input, opts = {})
|
38
|
-
if @api_client.config.debugging
|
39
|
-
@api_client.config.logger.debug 'Calling API: MergeApi.merge ...'
|
40
|
-
end
|
41
|
-
# verify the required parameter 'public_merge_input' is set
|
42
|
-
if @api_client.config.client_side_validation && public_merge_input.nil?
|
43
|
-
fail ArgumentError, "Missing the required parameter 'public_merge_input' when calling MergeApi.merge"
|
44
|
-
end
|
45
|
-
# resource path
|
46
|
-
local_var_path = '/crm/v3/objects/companies/merge'
|
47
|
-
|
48
|
-
# query parameters
|
49
|
-
query_params = opts[:query_params] || {}
|
50
|
-
|
51
|
-
# header parameters
|
52
|
-
header_params = opts[:header_params] || {}
|
53
|
-
# HTTP header 'Accept' (if needed)
|
54
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json', '*/*'])
|
55
|
-
# HTTP header 'Content-Type'
|
56
|
-
content_type = @api_client.select_header_content_type(['application/json'])
|
57
|
-
if !content_type.nil?
|
58
|
-
header_params['Content-Type'] = content_type
|
59
|
-
end
|
60
|
-
|
61
|
-
# form parameters
|
62
|
-
form_params = opts[:form_params] || {}
|
63
|
-
|
64
|
-
# http body (model)
|
65
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(public_merge_input)
|
66
|
-
|
67
|
-
# return_type
|
68
|
-
return_type = opts[:debug_return_type] || 'SimplePublicObject'
|
69
|
-
|
70
|
-
# auth_names
|
71
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
72
|
-
|
73
|
-
new_options = opts.merge(
|
74
|
-
:operation => :"MergeApi.merge",
|
75
|
-
:header_params => header_params,
|
76
|
-
:query_params => query_params,
|
77
|
-
:form_params => form_params,
|
78
|
-
:body => post_body,
|
79
|
-
:auth_names => auth_names,
|
80
|
-
:return_type => return_type
|
81
|
-
)
|
82
|
-
|
83
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
84
|
-
if @api_client.config.debugging
|
85
|
-
@api_client.config.logger.debug "API called: MergeApi#merge\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
86
|
-
end
|
87
|
-
return data, status_code, headers
|
88
|
-
end
|
89
|
-
end
|
90
|
-
end
|
91
|
-
end
|
92
|
-
end
|