hubspot-api-client 7.1.1 → 9.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 +22 -0
- data/README.md +41 -0
- data/lib/hubspot-api-client.rb +99 -1
- data/lib/hubspot/codegen/cms/audit-logs/api/default_api.rb +1 -1
- data/lib/hubspot/codegen/cms/audit-logs/api_client.rb +8 -6
- data/lib/hubspot/codegen/cms/audit-logs/api_error.rb +1 -1
- data/lib/hubspot/codegen/cms/audit-logs/configuration.rb +1 -1
- data/lib/hubspot/codegen/cms/audit-logs/models/collection_response_public_audit_log.rb +1 -1
- data/lib/hubspot/codegen/cms/audit-logs/models/error.rb +1 -1
- data/lib/hubspot/codegen/cms/audit-logs/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/cms/audit-logs/models/next_page.rb +1 -1
- data/lib/hubspot/codegen/cms/audit-logs/models/paging.rb +1 -1
- data/lib/hubspot/codegen/cms/audit-logs/models/public_audit_log.rb +1 -1
- data/lib/hubspot/codegen/cms/domains/api/domains_api.rb +1 -1
- data/lib/hubspot/codegen/cms/domains/api_client.rb +8 -6
- data/lib/hubspot/codegen/cms/domains/api_error.rb +1 -1
- data/lib/hubspot/codegen/cms/domains/configuration.rb +1 -1
- data/lib/hubspot/codegen/cms/domains/models/collection_response_with_total_domain.rb +1 -1
- data/lib/hubspot/codegen/cms/domains/models/domain.rb +1 -1
- data/lib/hubspot/codegen/cms/domains/models/domain_cdn_config.rb +1 -1
- data/lib/hubspot/codegen/cms/domains/models/domain_setup_info.rb +1 -1
- data/lib/hubspot/codegen/cms/domains/models/error.rb +1 -1
- data/lib/hubspot/codegen/cms/domains/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/cms/domains/models/next_page.rb +1 -1
- data/lib/hubspot/codegen/cms/domains/models/paging.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/api/default_api.rb +1956 -0
- data/lib/hubspot/codegen/cms/hubdb/api_client.rb +424 -0
- data/lib/hubspot/codegen/cms/hubdb/api_error.rb +61 -0
- data/lib/hubspot/codegen/cms/hubdb/configuration.rb +258 -0
- data/lib/hubspot/codegen/cms/hubdb/models/batch_input_hub_db_table_row_v3.rb +217 -0
- data/lib/hubspot/codegen/cms/hubdb/models/batch_input_json_node.rb +217 -0
- data/lib/hubspot/codegen/cms/hubdb/models/batch_input_string.rb +217 -0
- data/lib/hubspot/codegen/cms/hubdb/models/batch_response_hub_db_table_row_v3_with_errors.rb +333 -0
- data/lib/hubspot/codegen/cms/hubdb/models/collection_response_with_total_hub_db_table_row_v3.rb +240 -0
- data/lib/hubspot/codegen/cms/hubdb/models/collection_response_with_total_hub_db_table_row_v3_forward_paging.rb +240 -0
- data/lib/hubspot/codegen/cms/hubdb/models/collection_response_with_total_hub_db_table_v3.rb +240 -0
- data/lib/hubspot/codegen/cms/hubdb/models/collection_response_with_total_hub_db_table_v3_forward_paging.rb +240 -0
- data/lib/hubspot/codegen/cms/hubdb/models/column.rb +388 -0
- data/lib/hubspot/codegen/cms/hubdb/models/column_input.rb +288 -0
- data/lib/hubspot/codegen/cms/hubdb/models/error.rb +292 -0
- data/lib/hubspot/codegen/cms/hubdb/models/error_detail.rb +258 -0
- data/lib/hubspot/codegen/cms/hubdb/models/foreign_id.rb +243 -0
- data/lib/hubspot/codegen/cms/hubdb/models/forward_paging.rb +210 -0
- data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_clone_request.rb +241 -0
- data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3.rb +291 -0
- data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3_input.rb +243 -0
- data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_v3.rb +383 -0
- data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_v3_input.rb +295 -0
- data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_v3_live_input.rb +241 -0
- data/lib/hubspot/codegen/cms/hubdb/models/import_result.rb +263 -0
- data/lib/hubspot/codegen/cms/hubdb/models/next_page.rb +224 -0
- data/lib/hubspot/codegen/cms/hubdb/models/option.rb +257 -0
- data/lib/hubspot/codegen/cms/hubdb/models/paging.rb +219 -0
- data/lib/hubspot/codegen/cms/hubdb/models/previous_page.rb +224 -0
- data/lib/hubspot/codegen/cms/hubdb/models/simple_user.rb +257 -0
- data/lib/hubspot/codegen/cms/performance/api/default_api.rb +1 -1
- data/lib/hubspot/codegen/cms/performance/api_client.rb +8 -6
- data/lib/hubspot/codegen/cms/performance/api_error.rb +1 -1
- data/lib/hubspot/codegen/cms/performance/configuration.rb +1 -1
- data/lib/hubspot/codegen/cms/performance/models/error.rb +1 -1
- data/lib/hubspot/codegen/cms/performance/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/cms/performance/models/performance_view.rb +1 -1
- data/lib/hubspot/codegen/cms/performance/models/public_performance_response.rb +1 -1
- data/lib/hubspot/codegen/cms/site-search/api/default_api.rb +1 -1
- data/lib/hubspot/codegen/cms/site-search/api_client.rb +8 -6
- data/lib/hubspot/codegen/cms/site-search/api_error.rb +1 -1
- data/lib/hubspot/codegen/cms/site-search/configuration.rb +1 -1
- data/lib/hubspot/codegen/cms/site-search/models/content_search_result.rb +1 -1
- data/lib/hubspot/codegen/cms/site-search/models/error.rb +1 -1
- data/lib/hubspot/codegen/cms/site-search/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/cms/site-search/models/indexed_data.rb +1 -1
- data/lib/hubspot/codegen/cms/site-search/models/public_search_results.rb +1 -1
- data/lib/hubspot/codegen/cms/site-search/models/search_hit_field.rb +3 -5
- data/lib/hubspot/codegen/cms/url-redirects/api/redirects_api.rb +1 -1
- data/lib/hubspot/codegen/cms/url-redirects/api_client.rb +8 -6
- data/lib/hubspot/codegen/cms/url-redirects/api_error.rb +1 -1
- data/lib/hubspot/codegen/cms/url-redirects/configuration.rb +1 -1
- data/lib/hubspot/codegen/cms/url-redirects/models/collection_response_with_total_url_mapping.rb +1 -1
- data/lib/hubspot/codegen/cms/url-redirects/models/error.rb +1 -1
- data/lib/hubspot/codegen/cms/url-redirects/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/cms/url-redirects/models/next_page.rb +1 -1
- data/lib/hubspot/codegen/cms/url-redirects/models/paging.rb +1 -1
- data/lib/hubspot/codegen/cms/url-redirects/models/url_mapping.rb +1 -1
- data/lib/hubspot/codegen/cms/url-redirects/models/url_mapping_create_request_body.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/api/batch_api.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/api/types_api.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/api_client.rb +8 -6
- data/lib/hubspot/codegen/crm/associations/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/configuration.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/associated_id.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/batch_input_public_association.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/batch_input_public_object_id.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/batch_response_public_association.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/batch_response_public_association_multi.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/collection_response_public_association_definiton.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/error.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/next_page.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/paging.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/public_association.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/public_association_definiton.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/public_association_multi.rb +1 -1
- data/lib/hubspot/codegen/crm/associations/models/public_object_id.rb +1 -1
- data/lib/hubspot/codegen/crm/companies/api/associations_api.rb +13 -1
- data/lib/hubspot/codegen/crm/companies/api/basic_api.rb +9 -3
- data/lib/hubspot/codegen/crm/companies/api/batch_api.rb +1 -1
- data/lib/hubspot/codegen/crm/companies/api/search_api.rb +1 -1
- data/lib/hubspot/codegen/crm/companies/api_client.rb +8 -6
- data/lib/hubspot/codegen/crm/companies/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/companies/configuration.rb +1 -1
- data/lib/hubspot/codegen/crm/companies/models/associated_id.rb +1 -1
- data/lib/hubspot/codegen/crm/companies/models/batch_input_simple_public_object_batch_input.rb +1 -1
- data/lib/hubspot/codegen/crm/companies/models/batch_input_simple_public_object_id.rb +1 -1
- data/lib/hubspot/codegen/crm/companies/models/batch_input_simple_public_object_input.rb +1 -1
- data/lib/hubspot/codegen/crm/companies/models/batch_read_input_simple_public_object_id.rb +1 -1
- data/lib/hubspot/codegen/crm/companies/models/batch_response_simple_public_object.rb +1 -1
- data/lib/hubspot/codegen/crm/companies/models/batch_response_simple_public_object_with_errors.rb +1 -1
- data/lib/hubspot/codegen/crm/companies/models/collection_response_associated_id.rb +1 -1
- data/lib/hubspot/codegen/crm/companies/models/collection_response_simple_public_object.rb +1 -1
- data/lib/hubspot/codegen/crm/companies/models/collection_response_with_total_simple_public_object.rb +1 -1
- data/lib/hubspot/codegen/crm/companies/models/error.rb +1 -1
- data/lib/hubspot/codegen/crm/companies/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/crm/companies/models/filter.rb +1 -1
- data/lib/hubspot/codegen/crm/companies/models/filter_group.rb +1 -1
- data/lib/hubspot/codegen/crm/companies/models/next_page.rb +1 -1
- data/lib/hubspot/codegen/crm/companies/models/paging.rb +14 -5
- data/lib/hubspot/codegen/crm/companies/models/previous_page.rb +224 -0
- data/lib/hubspot/codegen/crm/companies/models/public_object_search_request.rb +1 -1
- data/lib/hubspot/codegen/crm/companies/models/simple_public_object.rb +1 -1
- data/lib/hubspot/codegen/crm/companies/models/simple_public_object_batch_input.rb +1 -1
- data/lib/hubspot/codegen/crm/companies/models/simple_public_object_id.rb +1 -1
- data/lib/hubspot/codegen/crm/companies/models/simple_public_object_input.rb +1 -1
- data/lib/hubspot/codegen/crm/contacts/api/associations_api.rb +13 -1
- data/lib/hubspot/codegen/crm/contacts/api/basic_api.rb +9 -3
- data/lib/hubspot/codegen/crm/contacts/api/batch_api.rb +1 -1
- data/lib/hubspot/codegen/crm/contacts/api/search_api.rb +1 -1
- data/lib/hubspot/codegen/crm/contacts/api_client.rb +8 -6
- data/lib/hubspot/codegen/crm/contacts/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/contacts/configuration.rb +1 -1
- data/lib/hubspot/codegen/crm/contacts/models/associated_id.rb +1 -1
- data/lib/hubspot/codegen/crm/contacts/models/batch_input_simple_public_object_batch_input.rb +1 -1
- data/lib/hubspot/codegen/crm/contacts/models/batch_input_simple_public_object_id.rb +1 -1
- data/lib/hubspot/codegen/crm/contacts/models/batch_input_simple_public_object_input.rb +1 -1
- data/lib/hubspot/codegen/crm/contacts/models/batch_read_input_simple_public_object_id.rb +1 -1
- data/lib/hubspot/codegen/crm/contacts/models/batch_response_simple_public_object.rb +1 -1
- data/lib/hubspot/codegen/crm/contacts/models/batch_response_simple_public_object_with_errors.rb +1 -1
- data/lib/hubspot/codegen/crm/contacts/models/collection_response_associated_id.rb +1 -1
- data/lib/hubspot/codegen/crm/contacts/models/collection_response_simple_public_object.rb +1 -1
- data/lib/hubspot/codegen/crm/contacts/models/collection_response_with_total_simple_public_object.rb +1 -1
- data/lib/hubspot/codegen/crm/contacts/models/error.rb +1 -1
- data/lib/hubspot/codegen/crm/contacts/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/crm/contacts/models/filter.rb +1 -1
- data/lib/hubspot/codegen/crm/contacts/models/filter_group.rb +1 -1
- data/lib/hubspot/codegen/crm/contacts/models/next_page.rb +1 -1
- data/lib/hubspot/codegen/crm/contacts/models/paging.rb +14 -5
- data/lib/hubspot/codegen/crm/contacts/models/previous_page.rb +224 -0
- data/lib/hubspot/codegen/crm/contacts/models/public_object_search_request.rb +1 -1
- data/lib/hubspot/codegen/crm/contacts/models/simple_public_object.rb +1 -1
- data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_batch_input.rb +1 -1
- data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_id.rb +1 -1
- data/lib/hubspot/codegen/crm/contacts/models/simple_public_object_input.rb +1 -1
- data/lib/hubspot/codegen/crm/deals/api/associations_api.rb +13 -1
- data/lib/hubspot/codegen/crm/deals/api/basic_api.rb +9 -3
- data/lib/hubspot/codegen/crm/deals/api/batch_api.rb +1 -1
- data/lib/hubspot/codegen/crm/deals/api/search_api.rb +1 -1
- data/lib/hubspot/codegen/crm/deals/api_client.rb +8 -6
- data/lib/hubspot/codegen/crm/deals/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/deals/configuration.rb +1 -1
- data/lib/hubspot/codegen/crm/deals/models/associated_id.rb +1 -1
- data/lib/hubspot/codegen/crm/deals/models/batch_input_simple_public_object_batch_input.rb +1 -1
- data/lib/hubspot/codegen/crm/deals/models/batch_input_simple_public_object_id.rb +1 -1
- data/lib/hubspot/codegen/crm/deals/models/batch_input_simple_public_object_input.rb +1 -1
- data/lib/hubspot/codegen/crm/deals/models/batch_read_input_simple_public_object_id.rb +1 -1
- data/lib/hubspot/codegen/crm/deals/models/batch_response_simple_public_object.rb +1 -1
- data/lib/hubspot/codegen/crm/deals/models/batch_response_simple_public_object_with_errors.rb +1 -1
- data/lib/hubspot/codegen/crm/deals/models/collection_response_associated_id.rb +1 -1
- data/lib/hubspot/codegen/crm/deals/models/collection_response_simple_public_object.rb +1 -1
- data/lib/hubspot/codegen/crm/deals/models/collection_response_with_total_simple_public_object.rb +1 -1
- data/lib/hubspot/codegen/crm/deals/models/error.rb +1 -1
- data/lib/hubspot/codegen/crm/deals/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/crm/deals/models/filter.rb +1 -1
- data/lib/hubspot/codegen/crm/deals/models/filter_group.rb +1 -1
- data/lib/hubspot/codegen/crm/deals/models/next_page.rb +1 -1
- data/lib/hubspot/codegen/crm/deals/models/paging.rb +14 -5
- data/lib/hubspot/codegen/crm/deals/models/previous_page.rb +224 -0
- data/lib/hubspot/codegen/crm/deals/models/public_object_search_request.rb +1 -1
- data/lib/hubspot/codegen/crm/deals/models/simple_public_object.rb +1 -1
- data/lib/hubspot/codegen/crm/deals/models/simple_public_object_batch_input.rb +1 -1
- data/lib/hubspot/codegen/crm/deals/models/simple_public_object_id.rb +1 -1
- data/lib/hubspot/codegen/crm/deals/models/simple_public_object_input.rb +1 -1
- data/lib/hubspot/codegen/crm/extensions/cards/api/cards_api.rb +1 -1
- data/lib/hubspot/codegen/crm/extensions/cards/api/sample_response_api.rb +1 -1
- data/lib/hubspot/codegen/crm/extensions/cards/api_client.rb +4 -2
- data/lib/hubspot/codegen/crm/extensions/cards/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/extensions/cards/configuration.rb +1 -1
- data/lib/hubspot/codegen/crm/extensions/cards/models/action_confirmation_body.rb +1 -1
- data/lib/hubspot/codegen/crm/extensions/cards/models/action_hook_action_body.rb +1 -1
- data/lib/hubspot/codegen/crm/extensions/cards/models/card_actions.rb +1 -1
- data/lib/hubspot/codegen/crm/extensions/cards/models/card_create_request.rb +1 -1
- data/lib/hubspot/codegen/crm/extensions/cards/models/card_display_body.rb +1 -1
- data/lib/hubspot/codegen/crm/extensions/cards/models/card_display_property.rb +1 -1
- data/lib/hubspot/codegen/crm/extensions/cards/models/card_fetch_body.rb +1 -1
- data/lib/hubspot/codegen/crm/extensions/cards/models/card_fetch_body_patch.rb +1 -1
- data/lib/hubspot/codegen/crm/extensions/cards/models/card_list_response.rb +1 -1
- data/lib/hubspot/codegen/crm/extensions/cards/models/card_object_type_body.rb +1 -1
- data/lib/hubspot/codegen/crm/extensions/cards/models/card_patch_request.rb +1 -1
- data/lib/hubspot/codegen/crm/extensions/cards/models/card_response.rb +1 -1
- data/lib/hubspot/codegen/crm/extensions/cards/models/display_option.rb +1 -1
- data/lib/hubspot/codegen/crm/extensions/cards/models/error.rb +1 -1
- data/lib/hubspot/codegen/crm/extensions/cards/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/crm/extensions/cards/models/i_frame_action_body.rb +1 -1
- data/lib/hubspot/codegen/crm/extensions/cards/models/integrator_card_payload_response.rb +1 -1
- data/lib/hubspot/codegen/crm/extensions/cards/models/integrator_object_result.rb +1 -1
- data/lib/hubspot/codegen/crm/extensions/cards/models/object_token.rb +1 -1
- data/lib/hubspot/codegen/crm/extensions/cards/models/top_level_actions.rb +1 -1
- data/lib/hubspot/codegen/crm/imports/api/core_api.rb +4 -4
- data/lib/hubspot/codegen/crm/imports/api_client.rb +8 -6
- data/lib/hubspot/codegen/crm/imports/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/imports/configuration.rb +1 -1
- data/lib/hubspot/codegen/crm/imports/models/action_response.rb +16 -5
- data/lib/hubspot/codegen/crm/imports/models/collection_response_public_import_response.rb +1 -1
- data/lib/hubspot/codegen/crm/imports/models/error.rb +1 -1
- data/lib/hubspot/codegen/crm/imports/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/crm/imports/models/next_page.rb +1 -1
- data/lib/hubspot/codegen/crm/imports/models/paging.rb +14 -5
- data/lib/hubspot/codegen/crm/imports/models/previous_page.rb +224 -0
- data/lib/hubspot/codegen/crm/imports/models/public_import_metadata.rb +1 -1
- data/lib/hubspot/codegen/crm/imports/models/public_import_response.rb +37 -28
- data/lib/hubspot/codegen/crm/imports/models/public_object_list_record.rb +1 -1
- data/lib/hubspot/codegen/crm/line_items/api/associations_api.rb +13 -1
- data/lib/hubspot/codegen/crm/line_items/api/basic_api.rb +9 -3
- data/lib/hubspot/codegen/crm/line_items/api/batch_api.rb +1 -1
- data/lib/hubspot/codegen/crm/line_items/api/search_api.rb +1 -1
- data/lib/hubspot/codegen/crm/line_items/api_client.rb +8 -6
- data/lib/hubspot/codegen/crm/line_items/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/line_items/configuration.rb +1 -1
- data/lib/hubspot/codegen/crm/line_items/models/associated_id.rb +1 -1
- data/lib/hubspot/codegen/crm/line_items/models/batch_input_simple_public_object_batch_input.rb +1 -1
- data/lib/hubspot/codegen/crm/line_items/models/batch_input_simple_public_object_id.rb +1 -1
- data/lib/hubspot/codegen/crm/line_items/models/batch_input_simple_public_object_input.rb +1 -1
- data/lib/hubspot/codegen/crm/line_items/models/batch_read_input_simple_public_object_id.rb +1 -1
- data/lib/hubspot/codegen/crm/line_items/models/batch_response_simple_public_object.rb +1 -1
- data/lib/hubspot/codegen/crm/line_items/models/batch_response_simple_public_object_with_errors.rb +1 -1
- data/lib/hubspot/codegen/crm/line_items/models/collection_response_associated_id.rb +1 -1
- data/lib/hubspot/codegen/crm/line_items/models/collection_response_simple_public_object.rb +1 -1
- data/lib/hubspot/codegen/crm/line_items/models/collection_response_with_total_simple_public_object.rb +1 -1
- data/lib/hubspot/codegen/crm/line_items/models/error.rb +1 -1
- data/lib/hubspot/codegen/crm/line_items/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/crm/line_items/models/filter.rb +1 -1
- data/lib/hubspot/codegen/crm/line_items/models/filter_group.rb +1 -1
- data/lib/hubspot/codegen/crm/line_items/models/next_page.rb +1 -1
- data/lib/hubspot/codegen/crm/line_items/models/paging.rb +14 -5
- data/lib/hubspot/codegen/crm/line_items/models/previous_page.rb +224 -0
- data/lib/hubspot/codegen/crm/line_items/models/public_object_search_request.rb +1 -1
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_object.rb +1 -1
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_batch_input.rb +1 -1
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_id.rb +1 -1
- data/lib/hubspot/codegen/crm/line_items/models/simple_public_object_input.rb +1 -1
- data/lib/hubspot/codegen/crm/objects/api/associations_api.rb +278 -0
- data/lib/hubspot/codegen/crm/objects/api/basic_api.rb +405 -0
- data/lib/hubspot/codegen/crm/objects/api/batch_api.rb +309 -0
- data/lib/hubspot/codegen/crm/objects/api/search_api.rb +96 -0
- data/lib/hubspot/codegen/crm/objects/api_client.rb +424 -0
- data/lib/hubspot/codegen/crm/objects/api_error.rb +61 -0
- data/lib/hubspot/codegen/crm/objects/configuration.rb +258 -0
- data/lib/hubspot/codegen/crm/objects/models/associated_id.rb +229 -0
- data/lib/hubspot/codegen/crm/objects/models/batch_input_simple_public_object_batch_input.rb +217 -0
- data/lib/hubspot/codegen/crm/objects/models/batch_input_simple_public_object_id.rb +217 -0
- data/lib/hubspot/codegen/crm/objects/models/batch_input_simple_public_object_input.rb +217 -0
- data/lib/hubspot/codegen/crm/objects/models/batch_read_input_simple_public_object_id.rb +242 -0
- data/lib/hubspot/codegen/crm/objects/models/batch_response_simple_public_object.rb +313 -0
- data/lib/hubspot/codegen/crm/objects/models/batch_response_simple_public_object_with_errors.rb +333 -0
- data/lib/hubspot/codegen/crm/objects/models/collection_response_associated_id.rb +226 -0
- data/lib/hubspot/codegen/crm/objects/models/collection_response_simple_public_object.rb +226 -0
- data/lib/hubspot/codegen/crm/objects/models/collection_response_with_total_simple_public_object.rb +241 -0
- data/lib/hubspot/codegen/crm/objects/models/error.rb +292 -0
- data/lib/hubspot/codegen/crm/objects/models/error_detail.rb +258 -0
- data/lib/hubspot/codegen/crm/objects/models/filter.rb +272 -0
- data/lib/hubspot/codegen/crm/objects/models/filter_group.rb +217 -0
- data/lib/hubspot/codegen/crm/objects/models/next_page.rb +224 -0
- data/lib/hubspot/codegen/crm/objects/models/paging.rb +219 -0
- data/lib/hubspot/codegen/crm/objects/models/previous_page.rb +224 -0
- data/lib/hubspot/codegen/crm/objects/models/public_object_search_request.rb +286 -0
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object.rb +288 -0
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object_batch_input.rb +231 -0
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object_id.rb +215 -0
- data/lib/hubspot/codegen/crm/objects/models/simple_public_object_input.rb +217 -0
- data/lib/hubspot/codegen/crm/owners/api/default_api.rb +1 -1
- data/lib/hubspot/codegen/crm/owners/api_client.rb +8 -6
- data/lib/hubspot/codegen/crm/owners/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/owners/configuration.rb +1 -1
- data/lib/hubspot/codegen/crm/owners/models/collection_response_public_owner.rb +1 -1
- data/lib/hubspot/codegen/crm/owners/models/error.rb +1 -1
- data/lib/hubspot/codegen/crm/owners/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/crm/owners/models/next_page.rb +1 -1
- data/lib/hubspot/codegen/crm/owners/models/paging.rb +1 -1
- data/lib/hubspot/codegen/crm/owners/models/public_owner.rb +1 -1
- data/lib/hubspot/codegen/crm/owners/models/public_team.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 +8 -6
- 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.rb +1 -1
- data/lib/hubspot/codegen/crm/pipelines/models/collection_response_pipeline_stage.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/next_page.rb +1 -1
- data/lib/hubspot/codegen/crm/pipelines/models/paging.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 -1
- data/lib/hubspot/codegen/crm/pipelines/models/pipeline_stage_input.rb +1 -1
- data/lib/hubspot/codegen/crm/pipelines/models/pipeline_stage_patch_input.rb +1 -1
- data/lib/hubspot/codegen/crm/products/api/associations_api.rb +13 -1
- data/lib/hubspot/codegen/crm/products/api/basic_api.rb +9 -3
- data/lib/hubspot/codegen/crm/products/api/batch_api.rb +1 -1
- data/lib/hubspot/codegen/crm/products/api/search_api.rb +1 -1
- data/lib/hubspot/codegen/crm/products/api_client.rb +8 -6
- data/lib/hubspot/codegen/crm/products/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/products/configuration.rb +1 -1
- data/lib/hubspot/codegen/crm/products/models/associated_id.rb +1 -1
- data/lib/hubspot/codegen/crm/products/models/batch_input_simple_public_object_batch_input.rb +1 -1
- data/lib/hubspot/codegen/crm/products/models/batch_input_simple_public_object_id.rb +1 -1
- data/lib/hubspot/codegen/crm/products/models/batch_input_simple_public_object_input.rb +1 -1
- data/lib/hubspot/codegen/crm/products/models/batch_read_input_simple_public_object_id.rb +1 -1
- data/lib/hubspot/codegen/crm/products/models/batch_response_simple_public_object.rb +1 -1
- data/lib/hubspot/codegen/crm/products/models/batch_response_simple_public_object_with_errors.rb +1 -1
- data/lib/hubspot/codegen/crm/products/models/collection_response_associated_id.rb +1 -1
- data/lib/hubspot/codegen/crm/products/models/collection_response_simple_public_object.rb +1 -1
- data/lib/hubspot/codegen/crm/products/models/collection_response_with_total_simple_public_object.rb +1 -1
- data/lib/hubspot/codegen/crm/products/models/error.rb +1 -1
- data/lib/hubspot/codegen/crm/products/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/crm/products/models/filter.rb +1 -1
- data/lib/hubspot/codegen/crm/products/models/filter_group.rb +1 -1
- data/lib/hubspot/codegen/crm/products/models/next_page.rb +1 -1
- data/lib/hubspot/codegen/crm/products/models/paging.rb +14 -5
- data/lib/hubspot/codegen/crm/products/models/previous_page.rb +224 -0
- data/lib/hubspot/codegen/crm/products/models/public_object_search_request.rb +1 -1
- data/lib/hubspot/codegen/crm/products/models/simple_public_object.rb +1 -1
- data/lib/hubspot/codegen/crm/products/models/simple_public_object_batch_input.rb +1 -1
- data/lib/hubspot/codegen/crm/products/models/simple_public_object_id.rb +1 -1
- data/lib/hubspot/codegen/crm/products/models/simple_public_object_input.rb +1 -1
- data/lib/hubspot/codegen/crm/properties/api/batch_api.rb +1 -1
- data/lib/hubspot/codegen/crm/properties/api/core_api.rb +1 -1
- data/lib/hubspot/codegen/crm/properties/api/groups_api.rb +1 -1
- data/lib/hubspot/codegen/crm/properties/api_client.rb +8 -6
- data/lib/hubspot/codegen/crm/properties/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/properties/configuration.rb +1 -1
- data/lib/hubspot/codegen/crm/properties/models/batch_input_property_create.rb +1 -1
- data/lib/hubspot/codegen/crm/properties/models/batch_input_property_name.rb +1 -1
- data/lib/hubspot/codegen/crm/properties/models/batch_read_input_property_name.rb +1 -1
- data/lib/hubspot/codegen/crm/properties/models/batch_response_property.rb +1 -1
- data/lib/hubspot/codegen/crm/properties/models/collection_response_property.rb +1 -1
- data/lib/hubspot/codegen/crm/properties/models/collection_response_property_group.rb +1 -1
- data/lib/hubspot/codegen/crm/properties/models/error.rb +1 -1
- data/lib/hubspot/codegen/crm/properties/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/crm/properties/models/next_page.rb +1 -1
- data/lib/hubspot/codegen/crm/properties/models/option.rb +1 -1
- data/lib/hubspot/codegen/crm/properties/models/option_input.rb +1 -1
- data/lib/hubspot/codegen/crm/properties/models/paging.rb +1 -1
- data/lib/hubspot/codegen/crm/properties/models/property.rb +1 -1
- data/lib/hubspot/codegen/crm/properties/models/property_create.rb +1 -1
- data/lib/hubspot/codegen/crm/properties/models/property_group.rb +1 -1
- data/lib/hubspot/codegen/crm/properties/models/property_group_create.rb +1 -1
- data/lib/hubspot/codegen/crm/properties/models/property_group_update.rb +1 -1
- data/lib/hubspot/codegen/crm/properties/models/property_modification_metadata.rb +1 -1
- data/lib/hubspot/codegen/crm/properties/models/property_name.rb +1 -1
- data/lib/hubspot/codegen/crm/properties/models/property_update.rb +1 -1
- data/lib/hubspot/codegen/crm/quotes/api/associations_api.rb +10 -1
- data/lib/hubspot/codegen/crm/quotes/api/basic_api.rb +7 -1
- data/lib/hubspot/codegen/crm/quotes/api/batch_api.rb +1 -1
- data/lib/hubspot/codegen/crm/quotes/api/search_api.rb +1 -1
- data/lib/hubspot/codegen/crm/quotes/api_client.rb +8 -6
- data/lib/hubspot/codegen/crm/quotes/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/quotes/configuration.rb +1 -8
- data/lib/hubspot/codegen/crm/quotes/models/associated_id.rb +1 -1
- data/lib/hubspot/codegen/crm/quotes/models/batch_input_simple_public_object_batch_input.rb +1 -1
- data/lib/hubspot/codegen/crm/quotes/models/batch_input_simple_public_object_id.rb +1 -1
- data/lib/hubspot/codegen/crm/quotes/models/batch_input_simple_public_object_input.rb +1 -1
- data/lib/hubspot/codegen/crm/quotes/models/batch_read_input_simple_public_object_id.rb +1 -1
- data/lib/hubspot/codegen/crm/quotes/models/batch_response_simple_public_object.rb +1 -1
- data/lib/hubspot/codegen/crm/quotes/models/batch_response_simple_public_object_with_errors.rb +1 -1
- data/lib/hubspot/codegen/crm/quotes/models/collection_response_associated_id.rb +1 -1
- data/lib/hubspot/codegen/crm/quotes/models/collection_response_simple_public_object.rb +1 -1
- data/lib/hubspot/codegen/crm/quotes/models/collection_response_with_total_simple_public_object.rb +1 -1
- data/lib/hubspot/codegen/crm/quotes/models/error.rb +1 -1
- data/lib/hubspot/codegen/crm/quotes/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/crm/quotes/models/filter.rb +1 -1
- data/lib/hubspot/codegen/crm/quotes/models/filter_group.rb +1 -1
- data/lib/hubspot/codegen/crm/quotes/models/next_page.rb +1 -1
- data/lib/hubspot/codegen/crm/quotes/models/paging.rb +14 -5
- data/lib/hubspot/codegen/crm/quotes/models/previous_page.rb +224 -0
- data/lib/hubspot/codegen/crm/quotes/models/public_object_search_request.rb +1 -1
- data/lib/hubspot/codegen/crm/quotes/models/simple_public_object.rb +1 -1
- data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_batch_input.rb +1 -1
- data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_id.rb +1 -1
- data/lib/hubspot/codegen/crm/quotes/models/simple_public_object_input.rb +1 -1
- data/lib/hubspot/codegen/crm/schemas/api/core_api.rb +478 -0
- data/lib/hubspot/codegen/crm/schemas/api/default_api.rb +84 -0
- data/lib/hubspot/codegen/crm/schemas/api_client.rb +424 -0
- data/lib/hubspot/codegen/crm/schemas/api_error.rb +61 -0
- data/lib/hubspot/codegen/crm/schemas/configuration.rb +258 -0
- data/lib/hubspot/codegen/crm/schemas/models/association_definition.rb +350 -0
- data/lib/hubspot/codegen/crm/schemas/models/association_definition_egg.rb +315 -0
- data/lib/hubspot/codegen/crm/schemas/models/collection_response_object_schema.rb +226 -0
- data/lib/hubspot/codegen/crm/schemas/models/error.rb +292 -0
- data/lib/hubspot/codegen/crm/schemas/models/error_detail.rb +258 -0
- data/lib/hubspot/codegen/crm/schemas/models/next_page.rb +224 -0
- data/lib/hubspot/codegen/crm/schemas/models/object_schema.rb +389 -0
- data/lib/hubspot/codegen/crm/schemas/models/object_schema_egg.rb +325 -0
- data/lib/hubspot/codegen/crm/schemas/models/object_type_definition.rb +364 -0
- data/lib/hubspot/codegen/crm/schemas/models/object_type_definition_labels.rb +221 -0
- data/lib/hubspot/codegen/crm/schemas/models/object_type_definition_patch.rb +265 -0
- data/lib/hubspot/codegen/crm/schemas/models/object_type_property_create.rb +356 -0
- data/lib/hubspot/codegen/crm/schemas/models/option.rb +266 -0
- data/lib/hubspot/codegen/crm/schemas/models/option_input.rb +271 -0
- data/lib/hubspot/codegen/crm/schemas/models/paging.rb +219 -0
- data/lib/hubspot/codegen/crm/schemas/models/previous_page.rb +224 -0
- data/lib/hubspot/codegen/crm/schemas/models/property.rb +465 -0
- data/lib/hubspot/codegen/crm/schemas/models/property_modification_metadata.rb +252 -0
- data/lib/hubspot/codegen/crm/tickets/api/associations_api.rb +13 -1
- data/lib/hubspot/codegen/crm/tickets/api/basic_api.rb +9 -3
- data/lib/hubspot/codegen/crm/tickets/api/batch_api.rb +1 -1
- data/lib/hubspot/codegen/crm/tickets/api/search_api.rb +1 -1
- data/lib/hubspot/codegen/crm/tickets/api_client.rb +8 -6
- data/lib/hubspot/codegen/crm/tickets/api_error.rb +1 -1
- data/lib/hubspot/codegen/crm/tickets/configuration.rb +1 -1
- data/lib/hubspot/codegen/crm/tickets/models/associated_id.rb +1 -1
- data/lib/hubspot/codegen/crm/tickets/models/batch_input_simple_public_object_batch_input.rb +1 -1
- data/lib/hubspot/codegen/crm/tickets/models/batch_input_simple_public_object_id.rb +1 -1
- data/lib/hubspot/codegen/crm/tickets/models/batch_input_simple_public_object_input.rb +1 -1
- data/lib/hubspot/codegen/crm/tickets/models/batch_read_input_simple_public_object_id.rb +1 -1
- data/lib/hubspot/codegen/crm/tickets/models/batch_response_simple_public_object.rb +1 -1
- data/lib/hubspot/codegen/crm/tickets/models/batch_response_simple_public_object_with_errors.rb +1 -1
- data/lib/hubspot/codegen/crm/tickets/models/collection_response_associated_id.rb +1 -1
- data/lib/hubspot/codegen/crm/tickets/models/collection_response_simple_public_object.rb +1 -1
- data/lib/hubspot/codegen/crm/tickets/models/collection_response_with_total_simple_public_object.rb +1 -1
- data/lib/hubspot/codegen/crm/tickets/models/error.rb +1 -1
- data/lib/hubspot/codegen/crm/tickets/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/crm/tickets/models/filter.rb +1 -1
- data/lib/hubspot/codegen/crm/tickets/models/filter_group.rb +1 -1
- data/lib/hubspot/codegen/crm/tickets/models/next_page.rb +1 -1
- data/lib/hubspot/codegen/crm/tickets/models/paging.rb +14 -5
- data/lib/hubspot/codegen/crm/tickets/models/previous_page.rb +224 -0
- data/lib/hubspot/codegen/crm/tickets/models/public_object_search_request.rb +1 -1
- data/lib/hubspot/codegen/crm/tickets/models/simple_public_object.rb +1 -1
- data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_batch_input.rb +1 -1
- data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_id.rb +1 -1
- data/lib/hubspot/codegen/crm/tickets/models/simple_public_object_input.rb +1 -1
- data/lib/hubspot/codegen/crm/timeline/api/events_api.rb +27 -19
- data/lib/hubspot/codegen/crm/timeline/api/templates_api.rb +31 -23
- data/lib/hubspot/codegen/crm/timeline/api/tokens_api.rb +25 -17
- data/lib/hubspot/codegen/crm/timeline/api_client.rb +9 -7
- data/lib/hubspot/codegen/crm/timeline/api_error.rb +2 -2
- data/lib/hubspot/codegen/crm/timeline/configuration.rb +3 -3
- data/lib/hubspot/codegen/crm/timeline/models/batch_input_timeline_event.rb +2 -2
- data/lib/hubspot/codegen/crm/timeline/models/batch_response_timeline_event_response.rb +32 -43
- data/lib/hubspot/codegen/crm/timeline/models/batch_response_timeline_event_response_with_errors.rb +333 -0
- data/lib/hubspot/codegen/crm/timeline/models/collection_response_timeline_event_template.rb +2 -2
- data/lib/hubspot/codegen/crm/timeline/models/error.rb +2 -2
- data/lib/hubspot/codegen/crm/timeline/models/error_detail.rb +2 -2
- data/lib/hubspot/codegen/crm/timeline/models/event_detail.rb +2 -2
- data/lib/hubspot/codegen/crm/timeline/models/next_page.rb +2 -2
- data/lib/hubspot/codegen/crm/timeline/models/paging.rb +15 -6
- data/lib/hubspot/codegen/crm/timeline/models/previous_page.rb +224 -0
- data/lib/hubspot/codegen/crm/timeline/models/timeline_event.rb +21 -21
- data/lib/hubspot/codegen/crm/timeline/models/timeline_event_i_frame.rb +2 -2
- data/lib/hubspot/codegen/crm/timeline/models/timeline_event_response.rb +30 -30
- data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template.rb +56 -56
- data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_create_request.rb +21 -21
- data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_token.rb +48 -48
- data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_token_option.rb +2 -2
- data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_token_update_request.rb +2 -2
- data/lib/hubspot/codegen/crm/timeline/models/timeline_event_template_update_request.rb +21 -21
- data/lib/hubspot/codegen/oauth/api/default_api.rb +1 -1
- data/lib/hubspot/codegen/oauth/api_client.rb +4 -2
- data/lib/hubspot/codegen/oauth/api_error.rb +1 -1
- data/lib/hubspot/codegen/oauth/configuration.rb +1 -1
- data/lib/hubspot/codegen/oauth/models/access_token_info_response.rb +18 -2
- data/lib/hubspot/codegen/oauth/models/error.rb +1 -1
- data/lib/hubspot/codegen/oauth/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/oauth/models/refresh_token_info_response.rb +1 -1
- data/lib/hubspot/codegen/oauth/models/token_response_if.rb +20 -20
- data/lib/hubspot/codegen/webhooks/api/settings_api.rb +1 -1
- data/lib/hubspot/codegen/webhooks/api/subscriptions_api.rb +1 -1
- data/lib/hubspot/codegen/webhooks/api_client.rb +4 -2
- data/lib/hubspot/codegen/webhooks/api_error.rb +1 -1
- data/lib/hubspot/codegen/webhooks/configuration.rb +1 -1
- data/lib/hubspot/codegen/webhooks/models/batch_input_subscription_batch_update_request.rb +1 -1
- data/lib/hubspot/codegen/webhooks/models/batch_response_subscription_response.rb +1 -1
- data/lib/hubspot/codegen/webhooks/models/batch_response_subscription_response_with_errors.rb +1 -1
- data/lib/hubspot/codegen/webhooks/models/error.rb +1 -1
- data/lib/hubspot/codegen/webhooks/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/webhooks/models/settings_change_request.rb +1 -1
- data/lib/hubspot/codegen/webhooks/models/settings_response.rb +1 -1
- data/lib/hubspot/codegen/webhooks/models/subscription_batch_update_request.rb +1 -1
- data/lib/hubspot/codegen/webhooks/models/subscription_create_request.rb +1 -1
- data/lib/hubspot/codegen/webhooks/models/subscription_list_response.rb +1 -1
- data/lib/hubspot/codegen/webhooks/models/subscription_patch_request.rb +1 -1
- data/lib/hubspot/codegen/webhooks/models/subscription_response.rb +1 -1
- data/lib/hubspot/codegen/webhooks/models/throttling_settings.rb +1 -1
- data/lib/hubspot/version.rb +1 -1
- data/sample-apps/timeline-events-app/.env.template +5 -0
- data/sample-apps/timeline-events-app/.gitignore +35 -0
- data/sample-apps/timeline-events-app/.rspec +1 -0
- data/sample-apps/timeline-events-app/.ruby-version +1 -0
- data/sample-apps/timeline-events-app/Dockerfile +22 -0
- data/sample-apps/timeline-events-app/Gemfile +33 -0
- data/sample-apps/timeline-events-app/Gemfile.lock +271 -0
- data/sample-apps/timeline-events-app/README.md +30 -0
- data/sample-apps/timeline-events-app/Rakefile +6 -0
- data/sample-apps/timeline-events-app/app/assets/config/manifest.js +3 -0
- data/sample-apps/timeline-events-app/app/assets/images/.keep +0 -0
- data/sample-apps/timeline-events-app/app/assets/javascripts/application.js +15 -0
- data/sample-apps/timeline-events-app/app/assets/javascripts/cable.js +13 -0
- data/sample-apps/timeline-events-app/app/assets/javascripts/channels/.keep +0 -0
- data/sample-apps/timeline-events-app/app/assets/stylesheets/application.css +171 -0
- data/sample-apps/timeline-events-app/app/controllers/application_controller.rb +12 -0
- data/sample-apps/timeline-events-app/app/controllers/concerns/.keep +0 -0
- data/sample-apps/timeline-events-app/app/controllers/concerns/exception_handler.rb +12 -0
- data/sample-apps/timeline-events-app/app/controllers/oauth/authorization_controller.rb +19 -0
- data/sample-apps/timeline-events-app/app/controllers/timeline_events_controller.rb +37 -0
- data/sample-apps/timeline-events-app/app/helpers/application_helper.rb +2 -0
- data/sample-apps/timeline-events-app/app/lib/services/authorization/authorize_hubspot.rb +15 -0
- data/sample-apps/timeline-events-app/app/lib/services/authorization/get_authorization_uri.rb +33 -0
- data/sample-apps/timeline-events-app/app/lib/services/authorization/tokens/base.rb +19 -0
- data/sample-apps/timeline-events-app/app/lib/services/authorization/tokens/generate.rb +26 -0
- data/sample-apps/timeline-events-app/app/lib/services/authorization/tokens/refresh.rb +33 -0
- data/sample-apps/timeline-events-app/app/lib/services/hubspot/contacts/search.rb +37 -0
- data/sample-apps/timeline-events-app/app/lib/services/hubspot/timeline/create_event.rb +20 -0
- data/sample-apps/timeline-events-app/app/lib/services/hubspot/timeline/create_template.rb +39 -0
- data/sample-apps/timeline-events-app/app/models/application_record.rb +3 -0
- data/sample-apps/timeline-events-app/app/models/concerns/.keep +0 -0
- data/sample-apps/timeline-events-app/app/views/layouts/application.html.erb +23 -0
- data/sample-apps/timeline-events-app/app/views/oauth/authorization/login.html.erb +15 -0
- data/sample-apps/timeline-events-app/app/views/shared/_header.html.erb +12 -0
- data/sample-apps/timeline-events-app/app/views/timeline_events/index.html.erb +53 -0
- data/sample-apps/timeline-events-app/bin/bundle +3 -0
- data/sample-apps/timeline-events-app/bin/rails +9 -0
- data/sample-apps/timeline-events-app/bin/rake +9 -0
- data/sample-apps/timeline-events-app/bin/setup +36 -0
- data/sample-apps/timeline-events-app/bin/spring +17 -0
- data/sample-apps/timeline-events-app/bin/update +31 -0
- data/sample-apps/timeline-events-app/bin/yarn +11 -0
- data/sample-apps/timeline-events-app/config.ru +5 -0
- data/sample-apps/timeline-events-app/config/application.rb +19 -0
- data/sample-apps/timeline-events-app/config/boot.rb +3 -0
- data/sample-apps/timeline-events-app/config/database.yml +25 -0
- data/sample-apps/timeline-events-app/config/environment.rb +5 -0
- data/sample-apps/timeline-events-app/config/environments/development.rb +61 -0
- data/sample-apps/timeline-events-app/config/environments/production.rb +94 -0
- data/sample-apps/timeline-events-app/config/environments/test.rb +46 -0
- data/sample-apps/timeline-events-app/config/initializers/assets.rb +14 -0
- data/sample-apps/timeline-events-app/config/initializers/filter_parameter_logging.rb +4 -0
- data/sample-apps/timeline-events-app/config/initializers/hubspot-api-client.rb +3 -0
- data/sample-apps/timeline-events-app/config/initializers/mime_types.rb +1 -0
- data/sample-apps/timeline-events-app/config/initializers/wrap_parameters.rb +14 -0
- data/sample-apps/timeline-events-app/config/locales/en.yml +33 -0
- data/sample-apps/timeline-events-app/config/puma.rb +34 -0
- data/sample-apps/timeline-events-app/config/routes.rb +7 -0
- data/sample-apps/timeline-events-app/config/spring.rb +6 -0
- data/sample-apps/timeline-events-app/db/seeds.rb +7 -0
- data/sample-apps/timeline-events-app/docker-compose.yml +11 -0
- data/sample-apps/timeline-events-app/docker-entrypoint.sh +8 -0
- data/sample-apps/timeline-events-app/lib/assets/.keep +0 -0
- data/sample-apps/timeline-events-app/lib/tasks/.keep +0 -0
- data/sample-apps/timeline-events-app/log/.keep +0 -0
- data/sample-apps/timeline-events-app/package.json +5 -0
- data/sample-apps/timeline-events-app/public/404.html +67 -0
- data/sample-apps/timeline-events-app/public/422.html +67 -0
- data/sample-apps/timeline-events-app/public/500.html +66 -0
- data/sample-apps/timeline-events-app/public/apple-touch-icon-precomposed.png +0 -0
- data/sample-apps/timeline-events-app/public/apple-touch-icon.png +0 -0
- data/sample-apps/timeline-events-app/public/favicon.ico +0 -0
- data/sample-apps/timeline-events-app/public/robots.txt +1 -0
- data/sample-apps/timeline-events-app/spec/rails_helper.rb +42 -0
- data/sample-apps/timeline-events-app/spec/spec_helper.rb +11 -0
- data/sample-apps/timeline-events-app/tmp/.keep +0 -0
- metadata +247 -3
- data/lib/hubspot/codegen/crm/quotes/api/default_api.rb +0 -426
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4b49b9d663061d8a64738f36e6096b8feea525e1989b37170bc8775b3145de2
|
4
|
+
data.tar.gz: a6991bb95007d6b77521e1b0489f9b1d7701a428491858512e3ab8cd8ec23ceb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68add3b7a124742dbc4b0229fb33ceb195f9f576c8e7e47cc19716027a0fa058b05c5b35a8358889d9729edef06aa9a2f1d05e36b02e9664f5b7ef612ad1bd00
|
7
|
+
data.tar.gz: eac741611f7a39f48f8e9cf7ad16eb36715ca184bb133e30ca15ec92613aa686712263b711788bd29e7fe4458abc4cdb846e43e2d637a77f26a9f382d736e54b
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,28 @@ All notable changes to this project will be documented in this file.
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
7
7
|
|
8
|
+
## [9.0.0] - 2020-11-02
|
9
|
+
|
10
|
+
- Upgrade clients to 4.3.1 version of openapi-generator
|
11
|
+
|
12
|
+
## [8.0.1] - 2020-10-23
|
13
|
+
|
14
|
+
- Update Hubdb client
|
15
|
+
|
16
|
+
## [8.0.0] - 2020-10-20
|
17
|
+
|
18
|
+
- Add hubdb client
|
19
|
+
- Add missing clients to main config
|
20
|
+
|
21
|
+
## [7.3.0] - 2020-10-09
|
22
|
+
|
23
|
+
- Add timeline events sample app
|
24
|
+
|
25
|
+
## [7.2.0] - 2020-10-05
|
26
|
+
|
27
|
+
- Add Objects client
|
28
|
+
- Add Schemas client
|
29
|
+
|
8
30
|
## [7.1.1] - 2020-08-17
|
9
31
|
|
10
32
|
- Fix sample apps API call bugs
|
data/README.md
CHANGED
@@ -44,6 +44,47 @@ all_contacts = basic_api.get_all(auth_names: 'oauth2')
|
|
44
44
|
Please note that pagination is used under the hood to get all results.
|
45
45
|
|
46
46
|
|
47
|
+
### Crm Object Schemas client usage:
|
48
|
+
|
49
|
+
#### Creation
|
50
|
+
|
51
|
+
```ruby
|
52
|
+
config = ::Hubspot::Crm::Schemas::Configuration.new do |config|
|
53
|
+
config.api_key = { 'hapikey' => 'your_hapikey' }
|
54
|
+
end
|
55
|
+
api_client = ::Hubspot::Crm::Schemas::ApiClient.new(config)
|
56
|
+
api = ::Hubspot::Crm::Schemas::CoreApi.new(api_client)
|
57
|
+
labels = ::Hubspot::Crm::Schemas::ObjectTypeDefinitionLabels.new(singular: 'My object', plural: 'My objects')
|
58
|
+
option = ::Hubspot::Crm::Schemas::OptionInput.new(
|
59
|
+
label: 'Option A',
|
60
|
+
value: 'A',
|
61
|
+
description: 'Choice number one',
|
62
|
+
display_order: 1,
|
63
|
+
hidden: false
|
64
|
+
)
|
65
|
+
property = ::Hubspot::Crm::Schemas::ObjectTypePropertyCreate.new(
|
66
|
+
name: 'property001',
|
67
|
+
label: 'My object property',
|
68
|
+
group_name: 'my_object_information',
|
69
|
+
options: [option],
|
70
|
+
display_order: 2,
|
71
|
+
type: 'enumeration',
|
72
|
+
field_type: 'select'
|
73
|
+
)
|
74
|
+
object_schema_egg = ::Hubspot::Crm::Schemas::ObjectSchemaEgg.new(
|
75
|
+
labels: labels,
|
76
|
+
required_properties: ['property001'],
|
77
|
+
searchable_properties: [],
|
78
|
+
primary_display_property: 'property001',
|
79
|
+
secondary_display_properties: [],
|
80
|
+
properties: [property],
|
81
|
+
associated_objects: ['CONTACT'],
|
82
|
+
name: 'my_object'
|
83
|
+
)
|
84
|
+
api_response = api.create(object_schema_egg)
|
85
|
+
```
|
86
|
+
|
87
|
+
|
47
88
|
### Error handling
|
48
89
|
|
49
90
|
#### You can set number of retry attempts and delay in seconds before retry on specific status code of response.
|
data/lib/hubspot-api-client.rb
CHANGED
@@ -45,6 +45,37 @@ require 'hubspot/codegen/cms/domains/models/error_detail'
|
|
45
45
|
require 'hubspot/codegen/cms/domains/models/next_page'
|
46
46
|
require 'hubspot/codegen/cms/domains/models/paging'
|
47
47
|
|
48
|
+
require 'hubspot/codegen/cms/hubdb/api_client'
|
49
|
+
require 'hubspot/codegen/cms/hubdb/api_error'
|
50
|
+
require 'hubspot/codegen/cms/hubdb/configuration'
|
51
|
+
require 'hubspot/codegen/cms/hubdb/api/default_api'
|
52
|
+
require 'hubspot/codegen/cms/hubdb/models/batch_input_hub_db_table_row_v3'
|
53
|
+
require 'hubspot/codegen/cms/hubdb/models/batch_input_json_node'
|
54
|
+
require 'hubspot/codegen/cms/hubdb/models/batch_input_string'
|
55
|
+
require 'hubspot/codegen/cms/hubdb/models/batch_response_hub_db_table_row_v3_with_errors'
|
56
|
+
require 'hubspot/codegen/cms/hubdb/models/collection_response_with_total_hub_db_table_row_v3'
|
57
|
+
require 'hubspot/codegen/cms/hubdb/models/collection_response_with_total_hub_db_table_row_v3_forward_paging'
|
58
|
+
require 'hubspot/codegen/cms/hubdb/models/collection_response_with_total_hub_db_table_v3'
|
59
|
+
require 'hubspot/codegen/cms/hubdb/models/collection_response_with_total_hub_db_table_v3_forward_paging'
|
60
|
+
require 'hubspot/codegen/cms/hubdb/models/column'
|
61
|
+
require 'hubspot/codegen/cms/hubdb/models/column_input'
|
62
|
+
require 'hubspot/codegen/cms/hubdb/models/error'
|
63
|
+
require 'hubspot/codegen/cms/hubdb/models/error_detail'
|
64
|
+
require 'hubspot/codegen/cms/hubdb/models/foreign_id'
|
65
|
+
require 'hubspot/codegen/cms/hubdb/models/forward_paging'
|
66
|
+
require 'hubspot/codegen/cms/hubdb/models/hub_db_table_clone_request'
|
67
|
+
require 'hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3'
|
68
|
+
require 'hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3_input'
|
69
|
+
require 'hubspot/codegen/cms/hubdb/models/hub_db_table_v3'
|
70
|
+
require 'hubspot/codegen/cms/hubdb/models/hub_db_table_v3_input'
|
71
|
+
require 'hubspot/codegen/cms/hubdb/models/hub_db_table_v3_live_input'
|
72
|
+
require 'hubspot/codegen/cms/hubdb/models/import_result'
|
73
|
+
require 'hubspot/codegen/cms/hubdb/models/next_page'
|
74
|
+
require 'hubspot/codegen/cms/hubdb/models/option'
|
75
|
+
require 'hubspot/codegen/cms/hubdb/models/paging'
|
76
|
+
require 'hubspot/codegen/cms/hubdb/models/previous_page'
|
77
|
+
require 'hubspot/codegen/cms/hubdb/models/simple_user'
|
78
|
+
|
48
79
|
require 'hubspot/codegen/cms/performance/api_client'
|
49
80
|
require 'hubspot/codegen/cms/performance/api_error'
|
50
81
|
require 'hubspot/codegen/cms/performance/configuration'
|
@@ -120,6 +151,7 @@ require 'hubspot/codegen/crm/companies/models/filter'
|
|
120
151
|
require 'hubspot/codegen/crm/companies/models/filter_group'
|
121
152
|
require 'hubspot/codegen/crm/companies/models/next_page'
|
122
153
|
require 'hubspot/codegen/crm/companies/models/paging'
|
154
|
+
require 'hubspot/codegen/crm/companies/models/previous_page'
|
123
155
|
require 'hubspot/codegen/crm/companies/models/public_object_search_request'
|
124
156
|
require 'hubspot/codegen/crm/companies/models/simple_public_object'
|
125
157
|
require 'hubspot/codegen/crm/companies/models/simple_public_object_batch_input'
|
@@ -149,6 +181,7 @@ require 'hubspot/codegen/crm/contacts/models/filter'
|
|
149
181
|
require 'hubspot/codegen/crm/contacts/models/filter_group'
|
150
182
|
require 'hubspot/codegen/crm/contacts/models/next_page'
|
151
183
|
require 'hubspot/codegen/crm/contacts/models/paging'
|
184
|
+
require 'hubspot/codegen/crm/contacts/models/previous_page'
|
152
185
|
require 'hubspot/codegen/crm/contacts/models/public_object_search_request'
|
153
186
|
require 'hubspot/codegen/crm/contacts/models/simple_public_object'
|
154
187
|
require 'hubspot/codegen/crm/contacts/models/simple_public_object_batch_input'
|
@@ -178,6 +211,7 @@ require 'hubspot/codegen/crm/deals/models/filter'
|
|
178
211
|
require 'hubspot/codegen/crm/deals/models/filter_group'
|
179
212
|
require 'hubspot/codegen/crm/deals/models/next_page'
|
180
213
|
require 'hubspot/codegen/crm/deals/models/paging'
|
214
|
+
require 'hubspot/codegen/crm/deals/models/previous_page'
|
181
215
|
require 'hubspot/codegen/crm/deals/models/public_object_search_request'
|
182
216
|
require 'hubspot/codegen/crm/deals/models/simple_public_object'
|
183
217
|
require 'hubspot/codegen/crm/deals/models/simple_public_object_batch_input'
|
@@ -220,6 +254,7 @@ require 'hubspot/codegen/crm/imports/models/error'
|
|
220
254
|
require 'hubspot/codegen/crm/imports/models/error_detail'
|
221
255
|
require 'hubspot/codegen/crm/imports/models/next_page'
|
222
256
|
require 'hubspot/codegen/crm/imports/models/paging'
|
257
|
+
require 'hubspot/codegen/crm/imports/models/previous_page'
|
223
258
|
require 'hubspot/codegen/crm/imports/models/public_import_metadata'
|
224
259
|
require 'hubspot/codegen/crm/imports/models/public_import_response'
|
225
260
|
require 'hubspot/codegen/crm/imports/models/public_object_list_record'
|
@@ -247,12 +282,43 @@ require 'hubspot/codegen/crm/line_items/models/filter'
|
|
247
282
|
require 'hubspot/codegen/crm/line_items/models/filter_group'
|
248
283
|
require 'hubspot/codegen/crm/line_items/models/next_page'
|
249
284
|
require 'hubspot/codegen/crm/line_items/models/paging'
|
285
|
+
require 'hubspot/codegen/crm/line_items/models/previous_page'
|
250
286
|
require 'hubspot/codegen/crm/line_items/models/public_object_search_request'
|
251
287
|
require 'hubspot/codegen/crm/line_items/models/simple_public_object'
|
252
288
|
require 'hubspot/codegen/crm/line_items/models/simple_public_object_batch_input'
|
253
289
|
require 'hubspot/codegen/crm/line_items/models/simple_public_object_id'
|
254
290
|
require 'hubspot/codegen/crm/line_items/models/simple_public_object_input'
|
255
291
|
|
292
|
+
require 'hubspot/codegen/crm/objects/api_client'
|
293
|
+
require 'hubspot/codegen/crm/objects/api_error'
|
294
|
+
require 'hubspot/codegen/crm/objects/configuration'
|
295
|
+
require 'hubspot/codegen/crm/objects/api/associations_api'
|
296
|
+
require 'hubspot/codegen/crm/objects/api/basic_api'
|
297
|
+
require 'hubspot/codegen/crm/objects/api/batch_api'
|
298
|
+
require 'hubspot/codegen/crm/objects/api/search_api'
|
299
|
+
require 'hubspot/codegen/crm/objects/models/associated_id'
|
300
|
+
require 'hubspot/codegen/crm/objects/models/batch_input_simple_public_object_batch_input'
|
301
|
+
require 'hubspot/codegen/crm/objects/models/batch_input_simple_public_object_id'
|
302
|
+
require 'hubspot/codegen/crm/objects/models/batch_input_simple_public_object_input'
|
303
|
+
require 'hubspot/codegen/crm/objects/models/batch_read_input_simple_public_object_id'
|
304
|
+
require 'hubspot/codegen/crm/objects/models/batch_response_simple_public_object'
|
305
|
+
require 'hubspot/codegen/crm/objects/models/batch_response_simple_public_object_with_errors'
|
306
|
+
require 'hubspot/codegen/crm/objects/models/collection_response_associated_id'
|
307
|
+
require 'hubspot/codegen/crm/objects/models/collection_response_simple_public_object'
|
308
|
+
require 'hubspot/codegen/crm/objects/models/collection_response_with_total_simple_public_object'
|
309
|
+
require 'hubspot/codegen/crm/objects/models/error'
|
310
|
+
require 'hubspot/codegen/crm/objects/models/error_detail'
|
311
|
+
require 'hubspot/codegen/crm/objects/models/filter'
|
312
|
+
require 'hubspot/codegen/crm/objects/models/filter_group'
|
313
|
+
require 'hubspot/codegen/crm/objects/models/next_page'
|
314
|
+
require 'hubspot/codegen/crm/objects/models/paging'
|
315
|
+
require 'hubspot/codegen/crm/objects/models/previous_page'
|
316
|
+
require 'hubspot/codegen/crm/objects/models/public_object_search_request'
|
317
|
+
require 'hubspot/codegen/crm/objects/models/simple_public_object'
|
318
|
+
require 'hubspot/codegen/crm/objects/models/simple_public_object_batch_input'
|
319
|
+
require 'hubspot/codegen/crm/objects/models/simple_public_object_id'
|
320
|
+
require 'hubspot/codegen/crm/objects/models/simple_public_object_input'
|
321
|
+
|
256
322
|
require 'hubspot/codegen/crm/owners/api_client'
|
257
323
|
require 'hubspot/codegen/crm/owners/api_error'
|
258
324
|
require 'hubspot/codegen/crm/owners/configuration'
|
@@ -306,6 +372,7 @@ require 'hubspot/codegen/crm/products/models/filter'
|
|
306
372
|
require 'hubspot/codegen/crm/products/models/filter_group'
|
307
373
|
require 'hubspot/codegen/crm/products/models/next_page'
|
308
374
|
require 'hubspot/codegen/crm/products/models/paging'
|
375
|
+
require 'hubspot/codegen/crm/products/models/previous_page'
|
309
376
|
require 'hubspot/codegen/crm/products/models/public_object_search_request'
|
310
377
|
require 'hubspot/codegen/crm/products/models/simple_public_object'
|
311
378
|
require 'hubspot/codegen/crm/products/models/simple_public_object_batch_input'
|
@@ -345,7 +412,6 @@ require 'hubspot/codegen/crm/quotes/configuration'
|
|
345
412
|
require 'hubspot/codegen/crm/quotes/api/associations_api'
|
346
413
|
require 'hubspot/codegen/crm/quotes/api/basic_api'
|
347
414
|
require 'hubspot/codegen/crm/quotes/api/batch_api'
|
348
|
-
require 'hubspot/codegen/crm/quotes/api/default_api'
|
349
415
|
require 'hubspot/codegen/crm/quotes/api/search_api'
|
350
416
|
require 'hubspot/codegen/crm/quotes/models/associated_id'
|
351
417
|
require 'hubspot/codegen/crm/quotes/models/batch_input_simple_public_object_batch_input'
|
@@ -363,12 +429,37 @@ require 'hubspot/codegen/crm/quotes/models/filter'
|
|
363
429
|
require 'hubspot/codegen/crm/quotes/models/filter_group'
|
364
430
|
require 'hubspot/codegen/crm/quotes/models/next_page'
|
365
431
|
require 'hubspot/codegen/crm/quotes/models/paging'
|
432
|
+
require 'hubspot/codegen/crm/quotes/models/previous_page'
|
366
433
|
require 'hubspot/codegen/crm/quotes/models/public_object_search_request'
|
367
434
|
require 'hubspot/codegen/crm/quotes/models/simple_public_object'
|
368
435
|
require 'hubspot/codegen/crm/quotes/models/simple_public_object_batch_input'
|
369
436
|
require 'hubspot/codegen/crm/quotes/models/simple_public_object_id'
|
370
437
|
require 'hubspot/codegen/crm/quotes/models/simple_public_object_input'
|
371
438
|
|
439
|
+
require 'hubspot/codegen/crm/schemas/api_client'
|
440
|
+
require 'hubspot/codegen/crm/schemas/api_error'
|
441
|
+
require 'hubspot/codegen/crm/schemas/configuration'
|
442
|
+
require 'hubspot/codegen/crm/schemas/api/core_api'
|
443
|
+
require 'hubspot/codegen/crm/schemas/api/default_api'
|
444
|
+
require 'hubspot/codegen/crm/schemas/models/association_definition'
|
445
|
+
require 'hubspot/codegen/crm/schemas/models/association_definition_egg'
|
446
|
+
require 'hubspot/codegen/crm/schemas/models/collection_response_object_schema'
|
447
|
+
require 'hubspot/codegen/crm/schemas/models/error'
|
448
|
+
require 'hubspot/codegen/crm/schemas/models/error_detail'
|
449
|
+
require 'hubspot/codegen/crm/schemas/models/next_page'
|
450
|
+
require 'hubspot/codegen/crm/schemas/models/object_schema'
|
451
|
+
require 'hubspot/codegen/crm/schemas/models/object_schema_egg'
|
452
|
+
require 'hubspot/codegen/crm/schemas/models/object_type_definition'
|
453
|
+
require 'hubspot/codegen/crm/schemas/models/object_type_definition_labels'
|
454
|
+
require 'hubspot/codegen/crm/schemas/models/object_type_definition_patch'
|
455
|
+
require 'hubspot/codegen/crm/schemas/models/object_type_property_create'
|
456
|
+
require 'hubspot/codegen/crm/schemas/models/option'
|
457
|
+
require 'hubspot/codegen/crm/schemas/models/option_input'
|
458
|
+
require 'hubspot/codegen/crm/schemas/models/paging'
|
459
|
+
require 'hubspot/codegen/crm/schemas/models/previous_page'
|
460
|
+
require 'hubspot/codegen/crm/schemas/models/property'
|
461
|
+
require 'hubspot/codegen/crm/schemas/models/property_modification_metadata'
|
462
|
+
|
372
463
|
require 'hubspot/codegen/crm/tickets/api_client'
|
373
464
|
require 'hubspot/codegen/crm/tickets/api_error'
|
374
465
|
require 'hubspot/codegen/crm/tickets/configuration'
|
@@ -392,6 +483,7 @@ require 'hubspot/codegen/crm/tickets/models/filter'
|
|
392
483
|
require 'hubspot/codegen/crm/tickets/models/filter_group'
|
393
484
|
require 'hubspot/codegen/crm/tickets/models/next_page'
|
394
485
|
require 'hubspot/codegen/crm/tickets/models/paging'
|
486
|
+
require 'hubspot/codegen/crm/tickets/models/previous_page'
|
395
487
|
require 'hubspot/codegen/crm/tickets/models/public_object_search_request'
|
396
488
|
require 'hubspot/codegen/crm/tickets/models/simple_public_object'
|
397
489
|
require 'hubspot/codegen/crm/tickets/models/simple_public_object_batch_input'
|
@@ -406,12 +498,14 @@ require 'hubspot/codegen/crm/timeline/api/templates_api'
|
|
406
498
|
require 'hubspot/codegen/crm/timeline/api/tokens_api'
|
407
499
|
require 'hubspot/codegen/crm/timeline/models/batch_input_timeline_event'
|
408
500
|
require 'hubspot/codegen/crm/timeline/models/batch_response_timeline_event_response'
|
501
|
+
require 'hubspot/codegen/crm/timeline/models/batch_response_timeline_event_response_with_errors'
|
409
502
|
require 'hubspot/codegen/crm/timeline/models/collection_response_timeline_event_template'
|
410
503
|
require 'hubspot/codegen/crm/timeline/models/error'
|
411
504
|
require 'hubspot/codegen/crm/timeline/models/error_detail'
|
412
505
|
require 'hubspot/codegen/crm/timeline/models/event_detail'
|
413
506
|
require 'hubspot/codegen/crm/timeline/models/next_page'
|
414
507
|
require 'hubspot/codegen/crm/timeline/models/paging'
|
508
|
+
require 'hubspot/codegen/crm/timeline/models/previous_page'
|
415
509
|
require 'hubspot/codegen/crm/timeline/models/timeline_event'
|
416
510
|
require 'hubspot/codegen/crm/timeline/models/timeline_event_i_frame'
|
417
511
|
require 'hubspot/codegen/crm/timeline/models/timeline_event_response'
|
@@ -439,6 +533,7 @@ require 'hubspot/codegen/webhooks/api/settings_api'
|
|
439
533
|
require 'hubspot/codegen/webhooks/api/subscriptions_api'
|
440
534
|
require 'hubspot/codegen/webhooks/models/batch_input_subscription_batch_update_request'
|
441
535
|
require 'hubspot/codegen/webhooks/models/batch_response_subscription_response'
|
536
|
+
require 'hubspot/codegen/webhooks/models/batch_response_subscription_response_with_errors'
|
442
537
|
require 'hubspot/codegen/webhooks/models/error'
|
443
538
|
require 'hubspot/codegen/webhooks/models/error_detail'
|
444
539
|
require 'hubspot/codegen/webhooks/models/settings_change_request'
|
@@ -458,6 +553,7 @@ module Hubspot
|
|
458
553
|
'Webhooks',
|
459
554
|
'Cms::AuditLogs',
|
460
555
|
'Cms::Domains',
|
556
|
+
'Cms::Hubdb',
|
461
557
|
'Cms::Performance',
|
462
558
|
'Cms::SiteSearch',
|
463
559
|
'Cms::UrlRedirects',
|
@@ -468,11 +564,13 @@ module Hubspot
|
|
468
564
|
'Crm::Extensions::Cards',
|
469
565
|
'Crm::Imports',
|
470
566
|
'Crm::LineItems',
|
567
|
+
'Crm::Objects',
|
471
568
|
'Crm::Owners',
|
472
569
|
'Crm::Pipelines',
|
473
570
|
'Crm::Products',
|
474
571
|
'Crm::Properties',
|
475
572
|
'Crm::Quotes',
|
573
|
+
'Crm::Schemas',
|
476
574
|
'Crm::Tickets',
|
477
575
|
'Crm::Timeline'
|
478
576
|
].freeze
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -303,11 +303,13 @@ module Hubspot
|
|
303
303
|
tempfile.write(chunk)
|
304
304
|
end
|
305
305
|
request.on_complete do |response|
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
306
|
+
if tempfile
|
307
|
+
tempfile.close
|
308
|
+
@config.logger.info "Temp file written to #{tempfile.path}, please copy the file to a proper folder "\
|
309
|
+
"with e.g. `FileUtils.cp(tempfile.path, '/new/file/path')` otherwise the temp file "\
|
310
|
+
"will be deleted automatically with GC. It's also recommended to delete the temp file "\
|
311
|
+
"explicitly with `tempfile.delete`"
|
312
|
+
end
|
311
313
|
end
|
312
314
|
end
|
313
315
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -303,11 +303,13 @@ module Hubspot
|
|
303
303
|
tempfile.write(chunk)
|
304
304
|
end
|
305
305
|
request.on_complete do |response|
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
306
|
+
if tempfile
|
307
|
+
tempfile.close
|
308
|
+
@config.logger.info "Temp file written to #{tempfile.path}, please copy the file to a proper folder "\
|
309
|
+
"with e.g. `FileUtils.cp(tempfile.path, '/new/file/path')` otherwise the temp file "\
|
310
|
+
"will be deleted automatically with GC. It's also recommended to delete the temp file "\
|
311
|
+
"explicitly with `tempfile.delete`"
|
312
|
+
end
|
311
313
|
end
|
312
314
|
end
|
313
315
|
|