hubspot-api-client 18.0.0 → 19.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +218 -53
- data/Gemfile.lock +1 -1
- data/lib/hubspot/codegen/cms/blogs/blog_posts/api/blog_posts_api.rb +2 -2
- 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 +21 -21
- 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 +1 -1
- 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 +108 -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/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/{public_gdpr_delete_input.rb → batch_input_simple_public_object_batch_input_upsert.rb} +15 -22
- 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/crm/extensions/calling/api/recording_settings_api.rb +88 -8
- data/lib/hubspot/codegen/crm/extensions/calling/api/settings_api.rb +14 -14
- 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/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 +2 -2
- data/lib/hubspot/codegen/crm/extensions/calling/models/settings_patch_request.rb +15 -6
- data/lib/hubspot/codegen/crm/extensions/calling/models/settings_request.rb +15 -6
- data/lib/hubspot/codegen/crm/extensions/calling/models/settings_response.rb +20 -6
- data/lib/hubspot/codegen/crm/line_items/api/batch_api.rb +70 -2
- data/lib/hubspot/codegen/crm/line_items/models/{public_gdpr_delete_input.rb → batch_input_simple_public_object_batch_input_upsert.rb} +15 -22
- 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 +5 -0
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_batch_input.rb +15 -1
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_batch_input_upsert.rb +262 -0
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_input.rb +15 -1
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_input_for_create.rb +15 -1
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_upsert_object.rb +315 -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/{quotes/models/public_merge_input.rb → lists/models/public_batch_migration_mapping.rb} +30 -25
- 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} +1 -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 +1 -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 +1 -1
- data/lib/hubspot/codegen/crm/lists/models/public_property_association_filter_branch_filters_inner.rb +1 -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} +1 -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 +1 -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 -7
- data/lib/hubspot/codegen/crm/objects/api/batch_api.rb +75 -1
- 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/batch_api.rb +70 -2
- data/lib/hubspot/codegen/crm/objects/calls/models/batch_input_simple_public_object_batch_input_upsert.rb +232 -0
- data/lib/hubspot/codegen/crm/{extensions/accounting/models/result_id_accounting_response.rb → objects/calls/models/batch_response_simple_public_upsert_object.rb} +85 -38
- 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_batch_input.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_batch_input_upsert.rb +264 -0
- data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_input.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_object_input_for_create.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/calls/models/simple_public_upsert_object.rb +317 -0
- data/lib/hubspot/codegen/crm/objects/communications/api/batch_api.rb +70 -2
- data/lib/hubspot/codegen/crm/objects/communications/models/batch_input_simple_public_object_batch_input_upsert.rb +232 -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_batch_input.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_batch_input_upsert.rb +264 -0
- data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_input.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/communications/models/simple_public_object_input_for_create.rb +10 -1
- data/lib/hubspot/codegen/crm/{extensions/accounting/models/updated_product.rb → objects/communications/models/simple_public_upsert_object.rb} +67 -88
- data/lib/hubspot/codegen/crm/objects/configuration.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/emails/api/batch_api.rb +70 -2
- data/lib/hubspot/codegen/crm/objects/emails/models/batch_input_simple_public_object_batch_input_upsert.rb +232 -0
- data/lib/hubspot/codegen/crm/{extensions/accounting/models/customer_search_response_external.rb → objects/emails/models/batch_response_simple_public_upsert_object.rb} +84 -39
- 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_batch_input.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/emails/models/{public_gdpr_delete_input.rb → simple_public_object_batch_input_upsert.rb} +38 -13
- data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_input.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_object_input_for_create.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/emails/models/simple_public_upsert_object.rb +317 -0
- data/lib/hubspot/codegen/crm/objects/goals/api/basic_api.rb +4 -212
- data/lib/hubspot/codegen/crm/objects/goals/api/batch_api.rb +1 -199
- data/lib/hubspot/codegen/crm/objects/goals/api/search_api.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/goals/models/public_object_search_request.rb +0 -25
- data/lib/hubspot/codegen/crm/objects/leads/api/basic_api.rb +391 -0
- data/lib/hubspot/codegen/crm/objects/leads/api/batch_api.rb +363 -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/{extensions/accounting → objects/leads}/api_client.rb +5 -5
- data/lib/hubspot/codegen/crm/{extensions/accounting → objects/leads}/api_error.rb +4 -4
- data/lib/hubspot/codegen/crm/{extensions/accounting → objects/leads}/configuration.rb +4 -4
- data/lib/hubspot/codegen/crm/objects/leads/models/associated_id.rb +244 -0
- data/lib/hubspot/codegen/crm/objects/{goals → leads}/models/association_spec.rb +5 -5
- data/lib/hubspot/codegen/crm/objects/{goals → 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_upsert.rb +232 -0
- data/lib/hubspot/codegen/crm/objects/{goals → leads}/models/batch_input_simple_public_object_id.rb +5 -5
- data/lib/hubspot/codegen/crm/objects/{goals → leads}/models/batch_input_simple_public_object_input_for_create.rb +5 -5
- data/lib/hubspot/codegen/crm/objects/leads/models/batch_read_input_simple_public_object_id.rb +273 -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/{calls/models/public_gdpr_delete_input.rb → leads/models/collection_response_simple_public_object_with_associations_forward_paging.rb} +24 -22
- data/lib/hubspot/codegen/crm/objects/{calls/models/public_merge_input.rb → leads/models/collection_response_with_total_simple_public_object_forward_paging.rb} +36 -25
- data/lib/hubspot/codegen/crm/{extensions/accounting → objects/leads}/models/error.rb +57 -57
- data/lib/hubspot/codegen/crm/{extensions/accounting → objects/leads}/models/error_detail.rb +35 -35
- 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/{goals → leads}/models/public_associations_for_object.rb +5 -5
- data/lib/hubspot/codegen/crm/objects/{goals → leads}/models/public_object_id.rb +5 -5
- data/lib/hubspot/codegen/crm/objects/{communications/models/public_merge_input.rb → leads/models/public_object_search_request.rb} +61 -29
- data/lib/hubspot/codegen/crm/{extensions/accounting/models/accounting_extension_customer.rb → objects/leads/models/simple_public_object.rb} +68 -41
- data/lib/hubspot/codegen/crm/objects/{goals → leads}/models/simple_public_object_batch_input.rb +15 -6
- data/lib/hubspot/codegen/crm/objects/{goals/models/public_gdpr_delete_input.rb → leads/models/simple_public_object_batch_input_upsert.rb} +41 -16
- data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_object_id.rb +230 -0
- data/lib/hubspot/codegen/crm/objects/{goals → leads}/models/simple_public_object_input.rb +15 -6
- data/lib/hubspot/codegen/crm/objects/{goals → leads}/models/simple_public_object_input_for_create.rb +15 -6
- data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_object_with_associations.rb +314 -0
- data/lib/hubspot/codegen/crm/objects/leads/models/simple_public_upsert_object.rb +317 -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/batch_api.rb +70 -2
- data/lib/hubspot/codegen/crm/objects/meetings/models/batch_input_simple_public_object_batch_input_upsert.rb +232 -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_batch_input.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/meetings/models/{public_gdpr_delete_input.rb → simple_public_object_batch_input_upsert.rb} +38 -13
- data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_input.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_object_input_for_create.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/meetings/models/simple_public_upsert_object.rb +317 -0
- 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/{public_gdpr_delete_input.rb → batch_input_simple_public_object_batch_input_upsert.rb} +16 -23
- data/lib/hubspot/codegen/crm/objects/models/batch_input_simple_public_object_id.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/batch_input_simple_public_object_input_for_create.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/batch_read_input_simple_public_object_id.rb +2 -1
- 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 +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/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 -26
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object_batch_input.rb +12 -3
- data/lib/hubspot/codegen/crm/objects/models/{public_merge_input.rb → simple_public_object_batch_input_upsert.rb} +44 -23
- 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 +11 -2
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object_input_for_create.rb +11 -2
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object_with_associations.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/models/simple_public_upsert_object.rb +315 -0
- 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/batch_api.rb +70 -2
- data/lib/hubspot/codegen/crm/objects/notes/models/batch_input_simple_public_object_batch_input_upsert.rb +232 -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_batch_input.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/notes/models/{public_gdpr_delete_input.rb → simple_public_object_batch_input_upsert.rb} +38 -13
- data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_input.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_object_input_for_create.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/notes/models/simple_public_upsert_object.rb +317 -0
- data/lib/hubspot/codegen/crm/objects/postal_mail/api/batch_api.rb +70 -2
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/batch_input_simple_public_object_batch_input_upsert.rb +232 -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_batch_input.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/{public_gdpr_delete_input.rb → simple_public_object_batch_input_upsert.rb} +38 -13
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_input.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_object_input_for_create.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/simple_public_upsert_object.rb +317 -0
- data/lib/hubspot/codegen/crm/objects/tasks/api/batch_api.rb +70 -2
- data/lib/hubspot/codegen/crm/objects/tasks/models/batch_input_simple_public_object_batch_input_upsert.rb +232 -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_batch_input.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/tasks/models/{public_gdpr_delete_input.rb → simple_public_object_batch_input_upsert.rb} +38 -13
- data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_input.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_object_input_for_create.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/tasks/models/simple_public_upsert_object.rb +317 -0
- data/lib/hubspot/codegen/crm/objects/taxes/api/batch_api.rb +70 -2
- data/lib/hubspot/codegen/crm/objects/taxes/models/batch_input_simple_public_object_batch_input_upsert.rb +232 -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_batch_input.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/taxes/models/{public_gdpr_delete_input.rb → simple_public_object_batch_input_upsert.rb} +38 -13
- data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object_input.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_object_input_for_create.rb +10 -1
- data/lib/hubspot/codegen/crm/objects/taxes/models/simple_public_upsert_object.rb +317 -0
- 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/batch_api.rb +70 -2
- data/lib/hubspot/codegen/crm/quotes/models/{public_gdpr_delete_input.rb → batch_input_simple_public_object_batch_input_upsert.rb} +15 -22
- 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_batch_input.rb +10 -1
- data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_batch_input_upsert.rb +262 -0
- data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_input.rb +10 -1
- data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_input_for_create.rb +10 -1
- data/lib/hubspot/codegen/crm/quotes/models/simple_public_upsert_object.rb +315 -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 +80 -25
- 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/marketing/events/api/attendance_subscriber_state_changes_api.rb +45 -45
- data/lib/hubspot/codegen/marketing/events/api/basic_api.rb +358 -77
- data/lib/hubspot/codegen/marketing/events/api/list_associations_api.rb +446 -0
- data/lib/hubspot/codegen/marketing/events/api/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/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_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_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 +1 -1
- data/lib/hubspot/codegen/{cms/hubdb/models/collection_response_with_total_hub_db_table_row_v3_forward_paging.rb → marketing/events/models/collection_response_with_total_participation_breakdown_forward_paging.rb} +9 -11
- data/lib/hubspot/codegen/marketing/events/models/collection_response_with_total_public_list_no_paging.rb +244 -0
- data/lib/hubspot/codegen/{crm/line_items/models/public_merge_input.rb → marketing/events/models/contact_association.rb} +44 -26
- 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 +11 -2
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_email_subscriber.rb +1 -1
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_external_unique_identifier.rb +1 -1
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_default_response.rb +56 -47
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_public_read_response.rb +11 -2
- data/lib/hubspot/codegen/marketing/events/models/marketing_event_subscriber.rb +1 -1
- 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/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/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/discovery/cms/source_code/client.rb +0 -1
- 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/extensions/client.rb +0 -1
- data/lib/hubspot/discovery/crm/line_items/client.rb +0 -2
- data/lib/hubspot/discovery/crm/{products/api/gdpr_api.rb → lists/api/folders_api.rb} +2 -2
- data/lib/hubspot/discovery/crm/{objects/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 +1 -0
- data/lib/hubspot/discovery/crm/objects/communications/client.rb +0 -2
- data/lib/hubspot/discovery/crm/objects/emails/client.rb +0 -2
- data/lib/hubspot/discovery/crm/objects/goals/client.rb +0 -2
- data/lib/hubspot/discovery/crm/objects/{calls/api/gdpr_api.rb → leads/api/basic_api.rb} +2 -2
- data/lib/hubspot/discovery/crm/objects/{goals/api/gdpr_api.rb → leads/api/batch_api.rb} +2 -2
- data/lib/hubspot/discovery/crm/objects/{notes/api/gdpr_api.rb → leads/api/search_api.rb} +2 -2
- data/lib/hubspot/discovery/crm/{extensions/accounting → objects/leads}/client.rb +5 -8
- 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/marketing/events/api/{batch_api.rb → list_associations_api.rb} +1 -1
- data/lib/hubspot/discovery/marketing/events/api/{search_api.rb → participant_state_api.rb} +1 -1
- data/lib/hubspot/discovery/marketing/events/client.rb +2 -3
- 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/version.rb +1 -1
- data/spec/discovery/cms/source-code/extract_api_spec.rb +2 -1
- 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/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/emails/batch_api_spec.rb +1 -0
- data/spec/discovery/crm/objects/goals/basic_api_spec.rb +0 -3
- data/spec/discovery/crm/objects/goals/batch_api_spec.rb +0 -3
- 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/calls/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/marketing/events/attendance_subscriber_state_changes_api_spec.rb +2 -2
- data/spec/discovery/marketing/events/basic_api_spec.rb +7 -3
- data/spec/discovery/marketing/events/list_associations_api_spec.rb +12 -0
- data/spec/discovery/marketing/events/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
- metadata +201 -259
- data/lib/hubspot/codegen/cms/source_code/api/source_code_extract_api.rb +0 -149
- data/lib/hubspot/codegen/crm/companies/api/gdpr_api.rb +0 -94
- data/lib/hubspot/codegen/crm/deals/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_search_response.rb +0 -278
- 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.rb +0 -262
- 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/calls/api/public_object_api.rb +0 -94
- 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/emails/api/public_object_api.rb +0 -94
- data/lib/hubspot/codegen/crm/objects/emails/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/goals/models/public_merge_input.rb +0 -244
- 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/meetings/models/public_merge_input.rb +0 -244
- 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/notes/models/public_merge_input.rb +0 -244
- data/lib/hubspot/codegen/crm/objects/postal_mail/api/gdpr_api.rb +0 -96
- data/lib/hubspot/codegen/crm/objects/postal_mail/models/public_merge_input.rb +0 -244
- 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/tasks/models/public_merge_input.rb +0 -244
- 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/objects/taxes/models/public_merge_input.rb +0 -244
- 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/batch_api.rb +0 -162
- 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/invoice_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/sync_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/gdpr_api.rb +0 -13
- 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/gdpr_api.rb +0 -15
- data/lib/hubspot/discovery/crm/objects/emails/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/gdpr_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/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/gdpr_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/lib/hubspot/discovery/marketing/events/api/marketing_events_external_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/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/gdpr_api_spec.rb +0 -7
- data/spec/discovery/crm/objects/goals/gdpr_api_spec.rb +0 -7
- data/spec/discovery/crm/objects/goals/public_object_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/marketing/events/batch_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
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
|
-
#Calling Extensions
|
2
|
+
#CRM Calling Extensions
|
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
|
|
@@ -22,7 +22,9 @@ module Hubspot
|
|
22
22
|
def initialize(api_client = ApiClient.default)
|
23
23
|
@api_client = api_client
|
24
24
|
end
|
25
|
-
#
|
25
|
+
# Read calling app recording settings
|
26
|
+
# Retrieve the recording endpoint configured for a calling extension app.
|
27
|
+
# @param app_id [Integer] The ID of the app.
|
26
28
|
# @param [Hash] opts the optional parameters
|
27
29
|
# @return [RecordingSettingsResponse]
|
28
30
|
def get_url_format(app_id, opts = {})
|
@@ -30,7 +32,9 @@ module Hubspot
|
|
30
32
|
data
|
31
33
|
end
|
32
34
|
|
33
|
-
#
|
35
|
+
# Read calling app recording settings
|
36
|
+
# Retrieve the recording endpoint configured for a calling extension app.
|
37
|
+
# @param app_id [Integer] The ID of the app.
|
34
38
|
# @param [Hash] opts the optional parameters
|
35
39
|
# @return [Array<(RecordingSettingsResponse, Integer, Hash)>] RecordingSettingsResponse data, response status code and response headers
|
36
40
|
def get_url_format_with_http_info(app_id, opts = {})
|
@@ -81,7 +85,77 @@ module Hubspot
|
|
81
85
|
return data, status_code, headers
|
82
86
|
end
|
83
87
|
|
84
|
-
#
|
88
|
+
# Mark recording as ready for transcription
|
89
|
+
# Mark a call recording as ready for transcription, specifying the call by its ID (`engagementid`).
|
90
|
+
# @param mark_recording_as_ready_request [MarkRecordingAsReadyRequest]
|
91
|
+
# @param [Hash] opts the optional parameters
|
92
|
+
# @return [nil]
|
93
|
+
def mark_as_ready(mark_recording_as_ready_request, opts = {})
|
94
|
+
mark_as_ready_with_http_info(mark_recording_as_ready_request, opts)
|
95
|
+
nil
|
96
|
+
end
|
97
|
+
|
98
|
+
# Mark recording as ready for transcription
|
99
|
+
# Mark a call recording as ready for transcription, specifying the call by its ID (`engagementid`).
|
100
|
+
# @param mark_recording_as_ready_request [MarkRecordingAsReadyRequest]
|
101
|
+
# @param [Hash] opts the optional parameters
|
102
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
103
|
+
def mark_as_ready_with_http_info(mark_recording_as_ready_request, opts = {})
|
104
|
+
if @api_client.config.debugging
|
105
|
+
@api_client.config.logger.debug 'Calling API: RecordingSettingsApi.mark_as_ready ...'
|
106
|
+
end
|
107
|
+
# verify the required parameter 'mark_recording_as_ready_request' is set
|
108
|
+
if @api_client.config.client_side_validation && mark_recording_as_ready_request.nil?
|
109
|
+
fail ArgumentError, "Missing the required parameter 'mark_recording_as_ready_request' when calling RecordingSettingsApi.mark_as_ready"
|
110
|
+
end
|
111
|
+
# resource path
|
112
|
+
local_var_path = '/crm/v3/extensions/calling/recordings/ready'
|
113
|
+
|
114
|
+
# query parameters
|
115
|
+
query_params = opts[:query_params] || {}
|
116
|
+
|
117
|
+
# header parameters
|
118
|
+
header_params = opts[:header_params] || {}
|
119
|
+
# HTTP header 'Accept' (if needed)
|
120
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
121
|
+
# HTTP header 'Content-Type'
|
122
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
123
|
+
if !content_type.nil?
|
124
|
+
header_params['Content-Type'] = content_type
|
125
|
+
end
|
126
|
+
|
127
|
+
# form parameters
|
128
|
+
form_params = opts[:form_params] || {}
|
129
|
+
|
130
|
+
# http body (model)
|
131
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(mark_recording_as_ready_request)
|
132
|
+
|
133
|
+
# return_type
|
134
|
+
return_type = opts[:debug_return_type]
|
135
|
+
|
136
|
+
# auth_names
|
137
|
+
auth_names = opts[:debug_auth_names] || ['oauth2']
|
138
|
+
|
139
|
+
new_options = opts.merge(
|
140
|
+
:operation => :"RecordingSettingsApi.mark_as_ready",
|
141
|
+
:header_params => header_params,
|
142
|
+
:query_params => query_params,
|
143
|
+
:form_params => form_params,
|
144
|
+
:body => post_body,
|
145
|
+
:auth_names => auth_names,
|
146
|
+
:return_type => return_type
|
147
|
+
)
|
148
|
+
|
149
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
150
|
+
if @api_client.config.debugging
|
151
|
+
@api_client.config.logger.debug "API called: RecordingSettingsApi#mark_as_ready\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
152
|
+
end
|
153
|
+
return data, status_code, headers
|
154
|
+
end
|
155
|
+
|
156
|
+
# Register calling app for recording
|
157
|
+
# Configure a calling extension app with an external URL that HubSpot will use to retrieve call recordings.
|
158
|
+
# @param app_id [Integer] The ID of the app.
|
85
159
|
# @param recording_settings_request [RecordingSettingsRequest]
|
86
160
|
# @param [Hash] opts the optional parameters
|
87
161
|
# @return [RecordingSettingsResponse]
|
@@ -90,7 +164,9 @@ module Hubspot
|
|
90
164
|
data
|
91
165
|
end
|
92
166
|
|
93
|
-
#
|
167
|
+
# Register calling app for recording
|
168
|
+
# Configure a calling extension app with an external URL that HubSpot will use to retrieve call recordings.
|
169
|
+
# @param app_id [Integer] The ID of the app.
|
94
170
|
# @param recording_settings_request [RecordingSettingsRequest]
|
95
171
|
# @param [Hash] opts the optional parameters
|
96
172
|
# @return [Array<(RecordingSettingsResponse, Integer, Hash)>] RecordingSettingsResponse data, response status code and response headers
|
@@ -151,7 +227,9 @@ module Hubspot
|
|
151
227
|
return data, status_code, headers
|
152
228
|
end
|
153
229
|
|
154
|
-
#
|
230
|
+
# Update calling app's recording settings
|
231
|
+
# Update the URL that HubSpot will use to retrieve call recordings for a calling extension app.
|
232
|
+
# @param app_id [Integer] The ID of the app.
|
155
233
|
# @param recording_settings_patch_request [RecordingSettingsPatchRequest]
|
156
234
|
# @param [Hash] opts the optional parameters
|
157
235
|
# @return [RecordingSettingsResponse]
|
@@ -160,7 +238,9 @@ module Hubspot
|
|
160
238
|
data
|
161
239
|
end
|
162
240
|
|
163
|
-
#
|
241
|
+
# Update calling app's recording settings
|
242
|
+
# Update the URL that HubSpot will use to retrieve call recordings for a calling extension app.
|
243
|
+
# @param app_id [Integer] The ID of the app.
|
164
244
|
# @param recording_settings_patch_request [RecordingSettingsPatchRequest]
|
165
245
|
# @param [Hash] opts the optional parameters
|
166
246
|
# @return [Array<(RecordingSettingsResponse, Integer, Hash)>] RecordingSettingsResponse data, response status code and response headers
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
|
-
#Calling Extensions
|
2
|
+
#CRM Calling Extensions
|
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
|
|
@@ -24,7 +24,7 @@ module Hubspot
|
|
24
24
|
end
|
25
25
|
# Delete calling settings
|
26
26
|
# Deletes this calling extension. This will remove your service as an option for all connected accounts.
|
27
|
-
# @param app_id [Integer] The ID of the
|
27
|
+
# @param app_id [Integer] The ID of the app.
|
28
28
|
# @param [Hash] opts the optional parameters
|
29
29
|
# @return [nil]
|
30
30
|
def archive(app_id, opts = {})
|
@@ -34,7 +34,7 @@ module Hubspot
|
|
34
34
|
|
35
35
|
# Delete calling settings
|
36
36
|
# Deletes this calling extension. This will remove your service as an option for all connected accounts.
|
37
|
-
# @param app_id [Integer] The ID of the
|
37
|
+
# @param app_id [Integer] The ID of the app.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
40
40
|
def archive_with_http_info(app_id, opts = {})
|
@@ -87,8 +87,8 @@ module Hubspot
|
|
87
87
|
|
88
88
|
# Configure a calling extension
|
89
89
|
# Used to set the menu label, target iframe URL, and dimensions for your calling extension.
|
90
|
-
# @param app_id [Integer] The ID of the
|
91
|
-
# @param settings_request [SettingsRequest]
|
90
|
+
# @param app_id [Integer] The ID of the app.
|
91
|
+
# @param settings_request [SettingsRequest]
|
92
92
|
# @param [Hash] opts the optional parameters
|
93
93
|
# @return [SettingsResponse]
|
94
94
|
def create(app_id, settings_request, opts = {})
|
@@ -98,8 +98,8 @@ module Hubspot
|
|
98
98
|
|
99
99
|
# Configure a calling extension
|
100
100
|
# Used to set the menu label, target iframe URL, and dimensions for your calling extension.
|
101
|
-
# @param app_id [Integer] The ID of the
|
102
|
-
# @param settings_request [SettingsRequest]
|
101
|
+
# @param app_id [Integer] The ID of the app.
|
102
|
+
# @param settings_request [SettingsRequest]
|
103
103
|
# @param [Hash] opts the optional parameters
|
104
104
|
# @return [Array<(SettingsResponse, Integer, Hash)>] SettingsResponse data, response status code and response headers
|
105
105
|
def create_with_http_info(app_id, settings_request, opts = {})
|
@@ -161,7 +161,7 @@ module Hubspot
|
|
161
161
|
|
162
162
|
# Get calling settings
|
163
163
|
# Returns the calling extension settings configured for your app.
|
164
|
-
# @param app_id [Integer] The ID of the
|
164
|
+
# @param app_id [Integer] The ID of the app.
|
165
165
|
# @param [Hash] opts the optional parameters
|
166
166
|
# @return [SettingsResponse]
|
167
167
|
def get_by_id(app_id, opts = {})
|
@@ -171,7 +171,7 @@ module Hubspot
|
|
171
171
|
|
172
172
|
# Get calling settings
|
173
173
|
# Returns the calling extension settings configured for your app.
|
174
|
-
# @param app_id [Integer] The ID of the
|
174
|
+
# @param app_id [Integer] The ID of the app.
|
175
175
|
# @param [Hash] opts the optional parameters
|
176
176
|
# @return [Array<(SettingsResponse, Integer, Hash)>] SettingsResponse data, response status code and response headers
|
177
177
|
def get_by_id_with_http_info(app_id, opts = {})
|
@@ -224,8 +224,8 @@ module Hubspot
|
|
224
224
|
|
225
225
|
# Update settings
|
226
226
|
# Updates existing calling extension settings.
|
227
|
-
# @param app_id [Integer] The ID of the
|
228
|
-
# @param settings_patch_request [SettingsPatchRequest]
|
227
|
+
# @param app_id [Integer] The ID of the app.
|
228
|
+
# @param settings_patch_request [SettingsPatchRequest]
|
229
229
|
# @param [Hash] opts the optional parameters
|
230
230
|
# @return [SettingsResponse]
|
231
231
|
def update(app_id, settings_patch_request, opts = {})
|
@@ -235,8 +235,8 @@ module Hubspot
|
|
235
235
|
|
236
236
|
# Update settings
|
237
237
|
# Updates existing calling extension settings.
|
238
|
-
# @param app_id [Integer] The ID of the
|
239
|
-
# @param settings_patch_request [SettingsPatchRequest]
|
238
|
+
# @param app_id [Integer] The ID of the app.
|
239
|
+
# @param settings_patch_request [SettingsPatchRequest]
|
240
240
|
# @param [Hash] opts the optional parameters
|
241
241
|
# @return [Array<(SettingsResponse, Integer, Hash)>] SettingsResponse data, response status code and response headers
|
242
242
|
def update_with_http_info(app_id, settings_patch_request, opts = {})
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
|
-
#Calling Extensions
|
2
|
+
#CRM Calling Extensions
|
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
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
|
-
#Calling Extensions
|
2
|
+
#CRM Calling Extensions
|
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
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
|
-
#Calling Extensions
|
2
|
+
#CRM Calling Extensions
|
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
|
|
@@ -230,6 +230,13 @@ module Hubspot
|
|
230
230
|
key: 'hapikey',
|
231
231
|
value: api_key_with_prefix('developer_hapikey')
|
232
232
|
},
|
233
|
+
'oauth2' =>
|
234
|
+
{
|
235
|
+
type: 'oauth2',
|
236
|
+
in: 'header',
|
237
|
+
key: 'Authorization',
|
238
|
+
value: "Bearer #{access_token}"
|
239
|
+
},
|
233
240
|
}
|
234
241
|
end
|
235
242
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
|
-
#Calling Extensions
|
2
|
+
#CRM Calling Extensions
|
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
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
|
-
#Calling Extensions
|
2
|
+
#CRM Calling Extensions
|
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
|
|
@@ -0,0 +1,230 @@
|
|
1
|
+
=begin
|
2
|
+
#CRM Calling Extensions
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 6.2.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
require 'time'
|
15
|
+
|
16
|
+
module Hubspot
|
17
|
+
module Crm
|
18
|
+
module Extensions
|
19
|
+
module Calling
|
20
|
+
class MarkRecordingAsReadyRequest
|
21
|
+
attr_accessor :engagement_id
|
22
|
+
|
23
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
24
|
+
def self.attribute_map
|
25
|
+
{
|
26
|
+
:'engagement_id' => :'engagementId'
|
27
|
+
}
|
28
|
+
end
|
29
|
+
|
30
|
+
# Returns all the JSON keys this model knows about
|
31
|
+
def self.acceptable_attributes
|
32
|
+
attribute_map.values
|
33
|
+
end
|
34
|
+
|
35
|
+
# Attribute type mapping.
|
36
|
+
def self.openapi_types
|
37
|
+
{
|
38
|
+
:'engagement_id' => :'Integer'
|
39
|
+
}
|
40
|
+
end
|
41
|
+
|
42
|
+
# List of attributes with nullable: true
|
43
|
+
def self.openapi_nullable
|
44
|
+
Set.new([
|
45
|
+
])
|
46
|
+
end
|
47
|
+
|
48
|
+
# Initializes the object
|
49
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
50
|
+
def initialize(attributes = {})
|
51
|
+
if (!attributes.is_a?(Hash))
|
52
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Hubspot::Crm::Extensions::Calling::MarkRecordingAsReadyRequest` initialize method"
|
53
|
+
end
|
54
|
+
|
55
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
56
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
57
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
58
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Hubspot::Crm::Extensions::Calling::MarkRecordingAsReadyRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
59
|
+
end
|
60
|
+
h[k.to_sym] = v
|
61
|
+
}
|
62
|
+
|
63
|
+
if attributes.key?(:'engagement_id')
|
64
|
+
self.engagement_id = attributes[:'engagement_id']
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
69
|
+
# @return Array for valid properties with the reasons
|
70
|
+
def list_invalid_properties
|
71
|
+
invalid_properties = Array.new
|
72
|
+
if @engagement_id.nil?
|
73
|
+
invalid_properties.push('invalid value for "engagement_id", engagement_id cannot be nil.')
|
74
|
+
end
|
75
|
+
|
76
|
+
invalid_properties
|
77
|
+
end
|
78
|
+
|
79
|
+
# Check to see if the all the properties in the model are valid
|
80
|
+
# @return true if the model is valid
|
81
|
+
def valid?
|
82
|
+
return false if @engagement_id.nil?
|
83
|
+
true
|
84
|
+
end
|
85
|
+
|
86
|
+
# Checks equality by comparing each attribute.
|
87
|
+
# @param [Object] Object to be compared
|
88
|
+
def ==(o)
|
89
|
+
return true if self.equal?(o)
|
90
|
+
self.class == o.class &&
|
91
|
+
engagement_id == o.engagement_id
|
92
|
+
end
|
93
|
+
|
94
|
+
# @see the `==` method
|
95
|
+
# @param [Object] Object to be compared
|
96
|
+
def eql?(o)
|
97
|
+
self == o
|
98
|
+
end
|
99
|
+
|
100
|
+
# Calculates hash code according to all attributes.
|
101
|
+
# @return [Integer] Hash code
|
102
|
+
def hash
|
103
|
+
[engagement_id].hash
|
104
|
+
end
|
105
|
+
|
106
|
+
# Builds the object from hash
|
107
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
108
|
+
# @return [Object] Returns the model itself
|
109
|
+
def self.build_from_hash(attributes)
|
110
|
+
new.build_from_hash(attributes)
|
111
|
+
end
|
112
|
+
|
113
|
+
# Builds the object from hash
|
114
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
115
|
+
# @return [Object] Returns the model itself
|
116
|
+
def build_from_hash(attributes)
|
117
|
+
return nil unless attributes.is_a?(Hash)
|
118
|
+
attributes = attributes.transform_keys(&:to_sym)
|
119
|
+
self.class.openapi_types.each_pair do |key, type|
|
120
|
+
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
121
|
+
self.send("#{key}=", nil)
|
122
|
+
elsif type =~ /\AArray<(.*)>/i
|
123
|
+
# check to ensure the input is an array given that the attribute
|
124
|
+
# is documented as an array but the input is not
|
125
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
126
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
127
|
+
end
|
128
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
129
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
130
|
+
end
|
131
|
+
end
|
132
|
+
|
133
|
+
self
|
134
|
+
end
|
135
|
+
|
136
|
+
# Deserializes the data based on type
|
137
|
+
# @param string type Data type
|
138
|
+
# @param string value Value to be deserialized
|
139
|
+
# @return [Object] Deserialized data
|
140
|
+
def _deserialize(type, value)
|
141
|
+
case type.to_sym
|
142
|
+
when :Time
|
143
|
+
Time.parse(value)
|
144
|
+
when :Date
|
145
|
+
Date.parse(value)
|
146
|
+
when :String
|
147
|
+
value.to_s
|
148
|
+
when :Integer
|
149
|
+
value.to_i
|
150
|
+
when :Float
|
151
|
+
value.to_f
|
152
|
+
when :Boolean
|
153
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
154
|
+
true
|
155
|
+
else
|
156
|
+
false
|
157
|
+
end
|
158
|
+
when :Object
|
159
|
+
# generic object (usually a Hash), return directly
|
160
|
+
value
|
161
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
162
|
+
inner_type = Regexp.last_match[:inner_type]
|
163
|
+
value.map { |v| _deserialize(inner_type, v) }
|
164
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
165
|
+
k_type = Regexp.last_match[:k_type]
|
166
|
+
v_type = Regexp.last_match[:v_type]
|
167
|
+
{}.tap do |hash|
|
168
|
+
value.each do |k, v|
|
169
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
170
|
+
end
|
171
|
+
end
|
172
|
+
else # model
|
173
|
+
# models (e.g. Pet) or oneOf
|
174
|
+
klass = Hubspot::Crm::Extensions::Calling.const_get(type)
|
175
|
+
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
176
|
+
end
|
177
|
+
end
|
178
|
+
|
179
|
+
# Returns the string representation of the object
|
180
|
+
# @return [String] String presentation of the object
|
181
|
+
def to_s
|
182
|
+
to_hash.to_s
|
183
|
+
end
|
184
|
+
|
185
|
+
# to_body is an alias to to_hash (backward compatibility)
|
186
|
+
# @return [Hash] Returns the object in the form of hash
|
187
|
+
def to_body
|
188
|
+
to_hash
|
189
|
+
end
|
190
|
+
|
191
|
+
# Returns the object in the form of hash
|
192
|
+
# @return [Hash] Returns the object in the form of hash
|
193
|
+
def to_hash
|
194
|
+
hash = {}
|
195
|
+
self.class.attribute_map.each_pair do |attr, param|
|
196
|
+
value = self.send(attr)
|
197
|
+
if value.nil?
|
198
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
199
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
200
|
+
end
|
201
|
+
|
202
|
+
hash[param] = _to_hash(value)
|
203
|
+
end
|
204
|
+
hash
|
205
|
+
end
|
206
|
+
|
207
|
+
# Outputs non-array value in the form of hash
|
208
|
+
# For object, use to_hash. Otherwise, just return the value
|
209
|
+
# @param [Object] value Any valid value
|
210
|
+
# @return [Hash] Returns the value in the form of hash
|
211
|
+
def _to_hash(value)
|
212
|
+
if value.is_a?(Array)
|
213
|
+
value.compact.map { |v| _to_hash(v) }
|
214
|
+
elsif value.is_a?(Hash)
|
215
|
+
{}.tap do |hash|
|
216
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
217
|
+
end
|
218
|
+
elsif value.respond_to? :to_hash
|
219
|
+
value.to_hash
|
220
|
+
else
|
221
|
+
value
|
222
|
+
end
|
223
|
+
end
|
224
|
+
|
225
|
+
end
|
226
|
+
|
227
|
+
end
|
228
|
+
end
|
229
|
+
end
|
230
|
+
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
|
-
#Calling Extensions
|
2
|
+
#CRM Calling Extensions
|
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
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
|
-
#Calling Extensions
|
2
|
+
#CRM Calling Extensions
|
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
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
|
-
#Calling Extensions
|
2
|
+
#CRM Calling Extensions
|
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
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
|
-
#Calling Extensions
|
2
|
+
#CRM Calling Extensions
|
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
|
|
@@ -17,12 +17,11 @@ module Hubspot
|
|
17
17
|
module Crm
|
18
18
|
module Extensions
|
19
19
|
module Calling
|
20
|
-
# Settings update request
|
21
20
|
class SettingsPatchRequest
|
22
|
-
# When true,
|
21
|
+
# When true, users will be able to click to dial from custom objects.
|
23
22
|
attr_accessor :supports_custom_objects
|
24
23
|
|
25
|
-
# When true, your
|
24
|
+
# When true, this indicates that your calling app is ready for production. Users will be able to select your calling app as their provider and can then click to dial within HubSpot.
|
26
25
|
attr_accessor :is_ready
|
27
26
|
|
28
27
|
# The name of your calling service to display to users.
|
@@ -31,6 +30,9 @@ module Hubspot
|
|
31
30
|
# The target width of the iframe that will contain your phone/calling UI.
|
32
31
|
attr_accessor :width
|
33
32
|
|
33
|
+
# When true, this indicates that your calling app supports inbound calling within HubSpot.
|
34
|
+
attr_accessor :supports_inbound_calling
|
35
|
+
|
34
36
|
# The URL to your phone/calling UI, built with the [Calling SDK](#).
|
35
37
|
attr_accessor :url
|
36
38
|
|
@@ -44,6 +46,7 @@ module Hubspot
|
|
44
46
|
:'is_ready' => :'isReady',
|
45
47
|
:'name' => :'name',
|
46
48
|
:'width' => :'width',
|
49
|
+
:'supports_inbound_calling' => :'supportsInboundCalling',
|
47
50
|
:'url' => :'url',
|
48
51
|
:'height' => :'height'
|
49
52
|
}
|
@@ -61,6 +64,7 @@ module Hubspot
|
|
61
64
|
:'is_ready' => :'Boolean',
|
62
65
|
:'name' => :'String',
|
63
66
|
:'width' => :'Integer',
|
67
|
+
:'supports_inbound_calling' => :'Boolean',
|
64
68
|
:'url' => :'String',
|
65
69
|
:'height' => :'Integer'
|
66
70
|
}
|
@@ -103,6 +107,10 @@ module Hubspot
|
|
103
107
|
self.width = attributes[:'width']
|
104
108
|
end
|
105
109
|
|
110
|
+
if attributes.key?(:'supports_inbound_calling')
|
111
|
+
self.supports_inbound_calling = attributes[:'supports_inbound_calling']
|
112
|
+
end
|
113
|
+
|
106
114
|
if attributes.key?(:'url')
|
107
115
|
self.url = attributes[:'url']
|
108
116
|
end
|
@@ -134,6 +142,7 @@ module Hubspot
|
|
134
142
|
is_ready == o.is_ready &&
|
135
143
|
name == o.name &&
|
136
144
|
width == o.width &&
|
145
|
+
supports_inbound_calling == o.supports_inbound_calling &&
|
137
146
|
url == o.url &&
|
138
147
|
height == o.height
|
139
148
|
end
|
@@ -147,7 +156,7 @@ module Hubspot
|
|
147
156
|
# Calculates hash code according to all attributes.
|
148
157
|
# @return [Integer] Hash code
|
149
158
|
def hash
|
150
|
-
[supports_custom_objects, is_ready, name, width, url, height].hash
|
159
|
+
[supports_custom_objects, is_ready, name, width, supports_inbound_calling, url, height].hash
|
151
160
|
end
|
152
161
|
|
153
162
|
# Builds the object from hash
|