hubspot-api-client 7.0.0 → 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 +30 -0
- data/README.md +41 -0
- 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/lib/hubspot-api-client.rb +99 -1
- data/sample-apps/companies-app/.env +4 -0
- data/sample-apps/companies-app/Gemfile.lock +2 -2
- data/sample-apps/companies-app/app/lib/services/hubspot/associations/create.rb +1 -1
- data/sample-apps/companies-app/app/lib/services/hubspot/associations/delete.rb +1 -1
- data/sample-apps/companies-app/app/lib/services/hubspot/associations/get_by_id.rb +2 -2
- data/sample-apps/companies-app/app/lib/services/hubspot/companies/create.rb +1 -1
- data/sample-apps/companies-app/app/lib/services/hubspot/companies/search.rb +1 -1
- data/sample-apps/companies-app/app/lib/services/hubspot/companies/update.rb +1 -2
- data/sample-apps/companies-app/app/lib/services/hubspot/contacts/search.rb +1 -1
- data/sample-apps/companies-app/db/development.sqlite3 +0 -0
- data/sample-apps/companies-app/log/development.log +9651 -0
- data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/05/053IomYcNFTvqinXbDGqg6suuCpMwg3_qV12AK4ccx8.cache +1 -0
- data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/0B/0BGoINhViZ8xxoxODKNlHCXeopOIVGkZv9GAbzCCrZA.cache +0 -0
- data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/1J/1JnNlMoorvDaAcLChcV1QOiqJyanmoUydnfe5-TPuXM.cache +2 -0
- data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/1m/1mRwQeI_697SJNgSakVyU5vtV9tpeQ3aUvIyW2cHhMs.cache +1 -0
- data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/2N/2NtH32KGXJ77tP3Eqh6uLR51KNm1OVXMHhMmPwFdosI.cache +1 -0
- data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/2h/2hVm3bNa9JCxAsLCxbvspAtiL4VOtRTjXMSPw8eT9xk.cache +1 -0
- data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/3-/3-EQcCNxYxUGN8o8H9QP_4IuaSB9GPsR0C-PObnR7s8.cache +0 -0
- data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/41/41_29mpjEGapjHdofSi36OnnO3-eBNYbCe5nzHnIKwY.cache +2 -0
- data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/4r/4rc8SkywVdYO98mj9mHirVzuhN_EeOMM3Lt3rugoOJs.cache +1 -0
- data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/61/61XTQQp3JN2SQH4_rfFy4gSk4pMiTt8me_AumxnvBNw.cache +1 -0
- data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/9V/9VF8D3PaGXBXsH74TVS8KHuWDA_6IiSdXMilLhBQisM.cache +1 -0
- data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/A4/A4dS-Tck_QocRHBsc08nLD48snD4G6ewTLWwpkgdMOQ.cache +0 -0
- data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/Du/DuRFhtIpu9n_mgamwyOra33hIUFOga8HYS-GSeWds9E.cache +1 -0
- data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/EC/EC2j6BCJ8TnspQFZeViwqN9QJH0fdqH7HvaNE6RzBxc.cache +1 -0
- data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/Fp/FprMIwFBZYrEWraVY7BWLI8zyHb9bwBIcAGNdpYm1Qo.cache +0 -0
- data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/HC/HCDOUd7-S45aJ_PjVAC_Vmjyud3i1aQv4cE3t9_Z3Dw.cache +2 -0
- data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/HP/HPdtqZdA1TM-sHs8oqrhAtNiPhPcRT9eX9Ol7MnE_Bw.cache +2 -0
- data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/Hc/Hcu6WwbYbe7vdpSCb0xXIKhaJsPWI3ClhXNHSX7tDGI.cache +1 -0
- data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/JS/JSG-U0jab1xh5XD7sVL6JOKyu09pfMxV-xrBJe_JO74.cache +1 -0
- data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/LZ/LZDNDSBrMmCeKXHrWTWu3KifeJk8ttcNGuQa4fHLxeA.cache +0 -0
- data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/Lh/LhI9Ge3PcQ_C89Ur42bKAIpIRT8TiDpipKToFBtEQeE.cache +0 -0
- data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/NF/NFP_eGmF5C6AoAtwpzQ--fUDgWzSatMkmaOg6MIZRsQ.cache +0 -0
- data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/NO/NOuX3u7ZLUewXKk_nPmLL5J6VkswjP1ZmCyZ1BzJXw4.cache +1 -0
- data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/Oy/OyUbp1l8zWzyp-bagPDb2l_Q7vp5qVbtWwVFV0hBbbM.cache +2 -0
- data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/QM/QMyYX6f-edvoA70P385xdnqFw26fL-P9OtifvwXojp8.cache +2 -0
- data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/U4/U466McG48IRBn70OWh5BO3nYPsXgKrEXHkrftg0xCLQ.cache +3 -0
- data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/Up/Upbt8ro5KXzYO6uyhFdI4KEXO-PUKaMitXFMEKCsfWA.cache +0 -0
- data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/Vr/Vr4UNxcDzlkx9ESuVbgI_Mb-fZcsczNERjGUj7FX7Io.cache +0 -0
- data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/Wh/WhFvj_7aBvrXx2AKx8-AVa6XnrEDLW1hRtQ7l08Ln58.cache +0 -0
- data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/ZU/ZUKJTVw3DLZSVGlveWzrhvo4GduUbQScJeICRDN8tdo.cache +1 -0
- data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/a3/a3AG-gARa2g-lIPGvcOkQvEfuvwICCxJd8zgE1bzLhE.cache +2 -0
- data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/c1/c17XEWohQCmDJUizcCXxGsOyG46k1SwuJghS8WDTpTw.cache +1 -0
- data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/dB/dB924pSiDrX_NqB-BmfdpToGXDZV6PINJB0ZDvM3tdg.cache +1 -0
- data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/dg/dg8xDUB026KlWVbRE1h_SZ6gEPR6g81HrTkUIimQzqc.cache +3 -0
- data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/gv/gvq1z6PDRE8gMtaUq2in1i3UzX2ALHQQDyu4rktAnlM.cache +0 -0
- data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/kX/kXwRD1nb3DhVhF7hOQ5XyWT3MbPg9czHAQgVjCGZ4mc.cache +1 -0
- data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/nF/nFSeMjJCygNSOQ27hdJwySwUPyh3vBaiXljrHxeQCfc.cache +0 -0
- data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/pF/pFK-AXLRfIZQbNkoSeGwKVKqJtkz_-WxAlFUbspYW3o.cache +2 -0
- data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/sb/sbdra4MXru4fxHN_jrd3o4d3VFPFyG3lI247mddfTUk.cache +2 -0
- data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/tK/tKCKU24QLnDe4Wb5ytXkeZ42k7bpBNPmmTRcnTqC18o.cache +1 -0
- data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/up/upaGCA7w36yB4Tws-rJDm6zL9b8MvnhZ0TUcpzwH_vg.cache +0 -0
- data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/x2/x2sUH1UpS_RN1OlRKq_HmaXualaBizKVLTALZBT5VKo.cache +2 -0
- data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/yL/yLiDuY3PPQgAmxWaulR4bejdG-_VXuSIqbmkWlntOys.cache +3 -0
- data/sample-apps/companies-app/tmp/cache/assets/sprockets/v3.0/zQ/zQQ-w-Xtu6gctPGaSXSDgmkcLte6siHhFoXxmJX9-0E.cache +1 -0
- data/sample-apps/companies-app/tmp/development_secret.txt +1 -0
- data/sample-apps/companies-app/tmp/restart.txt +0 -0
- data/sample-apps/contacts-app/.env +1 -3
- data/sample-apps/contacts-app/.env.test +3 -0
- data/sample-apps/contacts-app/Gemfile.lock +2 -2
- data/sample-apps/contacts-app/app/lib/services/hubspot/contacts/create.rb +1 -1
- data/sample-apps/contacts-app/app/lib/services/hubspot/contacts/search.rb +1 -1
- data/sample-apps/contacts-app/app/lib/services/hubspot/contacts/update.rb +1 -2
- data/sample-apps/contacts-app/app/lib/services/hubspot/properties/create.rb +1 -2
- data/sample-apps/contacts-app/app/lib/services/hubspot/properties/update.rb +1 -2
- data/sample-apps/contacts-app/db/test.sqlite3 +0 -0
- data/sample-apps/contacts-app/log/development.log +366 -0
- data/sample-apps/contacts-app/log/test.log +81 -0
- data/sample-apps/contacts-app/tmp/cache/assets/sprockets/v3.0/1Y/1YZtqickyeZ_JcII96hylY6lF7sxNkbgA85xfEwrRiI.cache +0 -0
- data/sample-apps/contacts-app/tmp/cache/assets/sprockets/v3.0/2l/2lwE97im5rEyOKzkyeiXzzKA4wJvO1a-4bRF4jVlcfc.cache +1 -0
- data/sample-apps/contacts-app/tmp/cache/assets/sprockets/v3.0/HQ/HQOePM7-Xd6f4RPYUzU9DhU7j7x58rgm9Ji25xcZqfs.cache +0 -0
- data/sample-apps/contacts-app/tmp/cache/assets/sprockets/v3.0/Kq/KqqfCu7F4dbV5xwLoXZcLoIgZKbHa_QnB1AwY0F_sw4.cache +0 -0
- data/sample-apps/contacts-app/tmp/cache/assets/sprockets/v3.0/qP/qPZh8f6IbfC6CMuapwQb1TgwVDd0LGY42KwWM1dMHdk.cache +1 -1
- data/sample-apps/leaky-bucket-app/app/lib/services/hubspot/contacts/archive_batch.rb +1 -1
- data/sample-apps/leaky-bucket-app/app/lib/services/hubspot/contacts/create_batch.rb +1 -1
- data/sample-apps/oauth-app/app/lib/services/hubspot/contacts/create.rb +1 -1
- data/sample-apps/oauth-app/app/lib/services/hubspot/contacts/search.rb +1 -1
- data/sample-apps/oauth-app/app/lib/services/hubspot/contacts/update.rb +1 -2
- data/sample-apps/rate-limits-redis-sample-app/app/lib/services/hubspot/contacts/archive_batch.rb +1 -1
- data/sample-apps/rate-limits-redis-sample-app/app/lib/services/hubspot/contacts/create_batch.rb +1 -1
- data/sample-apps/search-result-paging-app/app/lib/services/hubspot/contacts/search.rb +1 -1
- data/sample-apps/search-result-paging-app/app/lib/services/hubspot/properties/create.rb +1 -2
- data/sample-apps/timeline-events-app/.env +6 -0
- 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/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/config.ru +5 -0
- data/sample-apps/timeline-events-app/db/development.sqlite3 +0 -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/log/development.log +233 -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
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/-4/-4csb8XcQONHVcyTGO-F2TBp5f38ghhZHcLg3cqyqGo.cache +1 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/-s/-sz9D51o9Mpd_omN4pJY1EYoyEa63QWgr9CkNp-jtps.cache +1 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/1J/1JnNlMoorvDaAcLChcV1QOiqJyanmoUydnfe5-TPuXM.cache +2 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/1m/1mRwQeI_697SJNgSakVyU5vtV9tpeQ3aUvIyW2cHhMs.cache +1 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/2N/2NtH32KGXJ77tP3Eqh6uLR51KNm1OVXMHhMmPwFdosI.cache +1 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/2h/2hVm3bNa9JCxAsLCxbvspAtiL4VOtRTjXMSPw8eT9xk.cache +1 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/41/41_29mpjEGapjHdofSi36OnnO3-eBNYbCe5nzHnIKwY.cache +2 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/60/609vj6Xv1ogaZ1W1H_oBuo-3NqC3UqbKAXw2ekEcehU.cache +0 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/61/61XTQQp3JN2SQH4_rfFy4gSk4pMiTt8me_AumxnvBNw.cache +1 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/6p/6pPimSDuw-hEAZW4CkGVIt9wjYiTMaCD2XPuKQoiI4Q.cache +1 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/7J/7JspjJWUyNJySsbLlEs8anll3WiAM20dZ2sYA0gAhMI.cache +0 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/9N/9NrK08Zz2zuDH5uff0al0ZhRW0kOe3KP7KSyfZDcWfg.cache +0 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/9V/9VF8D3PaGXBXsH74TVS8KHuWDA_6IiSdXMilLhBQisM.cache +1 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/9c/9cJSDPxEgTHO5-B9Ln7Tmok9fbsxmk1HYf-W-gkEg_I.cache +2 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/AE/AE-AZVyOjAgA1j71HRmlDGNdoT6aOAMNrvEsZxDVMzU.cache +2 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/AF/AFacZJ15zJm8o8Bwesmpsw2GC-o4mNEAhT87cuTM_wE.cache +1 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/B6/B6MZ8qg-mV5hZWBQ5HB80eAXCr4gyrJR5Yrm4BiSTdU.cache +2 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/D0/D01xXzz6r1DGdB4yVwcPaLEp7-mpzCd2m3enZVNJtFU.cache +2 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/Du/DuRFhtIpu9n_mgamwyOra33hIUFOga8HYS-GSeWds9E.cache +1 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/EC/EC2j6BCJ8TnspQFZeViwqN9QJH0fdqH7HvaNE6RzBxc.cache +1 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/Ey/EyQsquE_D1TCQQbh-3vmLjQzYO7w9ZRqo7tDg5VpC7Q.cache +2 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/Fp/FprMIwFBZYrEWraVY7BWLI8zyHb9bwBIcAGNdpYm1Qo.cache +0 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/HC/HCDOUd7-S45aJ_PjVAC_Vmjyud3i1aQv4cE3t9_Z3Dw.cache +2 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/JS/JSG-U0jab1xh5XD7sVL6JOKyu09pfMxV-xrBJe_JO74.cache +1 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/Lh/LhI9Ge3PcQ_C89Ur42bKAIpIRT8TiDpipKToFBtEQeE.cache +0 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/Mv/MvRTlknGa6_mRdF7m9I2jPIPCQ9a-RyzBwkgecBbZQ8.cache +0 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/OF/OFMeLotCkEst9CGQgQZtf5RZNaVhcrLOPJeSWszn-aw.cache +1 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/RJ/RJ-ZWnzIrbCdeg0pVWbccBZiePyfi50zo0xb1Tbhh80.cache +1 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/RU/RUOojm-aD-XrIy-K6cbUI9czQdjnW9_Bt45wId068iM.cache +2 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/Tx/TxdcnqzvySOuWPXZfaIYX0TOpCy44repbAScKtV2niE.cache +0 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/U4/U466McG48IRBn70OWh5BO3nYPsXgKrEXHkrftg0xCLQ.cache +3 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/UW/UWFYTnxz4EWqiz0LkhxInMLo36CdlVg3x9SyzAnLiBU.cache +0 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/Up/Upbt8ro5KXzYO6uyhFdI4KEXO-PUKaMitXFMEKCsfWA.cache +0 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/V8/V8wr1RK4MTLGwxThiZIb0G-SrIusNzCMhJeHGGHT72Q.cache +1 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/Wh/WhFvj_7aBvrXx2AKx8-AVa6XnrEDLW1hRtQ7l08Ln58.cache +0 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/Wt/WtCfdoaaBC0aPmNgc57xHk8dbNRqZcP5zOpcLpiGzoc.cache +2 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/Wz/WzRw7cbmE45MrdG0W25ZAT-Nz0glf7xBkB2nI0M7z7A.cache +1 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/Xi/XiZmZbrcb0M-y7EJZkx1ft177jFiZCL7pbpp6cRZaTA.cache +1 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/ZU/ZUKJTVw3DLZSVGlveWzrhvo4GduUbQScJeICRDN8tdo.cache +1 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/_w/_w2qaD3e5UPMGQeZYpP481jnQLVeIXIVH2vQx2856QY.cache +0 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/dg/dg8xDUB026KlWVbRE1h_SZ6gEPR6g81HrTkUIimQzqc.cache +3 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/eX/eXRXZi-sk9Oy17fc94B24coFT6Jn93gCZI0SahPx7U4.cache +0 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/ey/eyQx5cIdM2CoBrdF3izBgEAY4OxjhcWr4O4xz132au8.cache +2 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/fW/fWunpu-z9IEGhI1uwayT47VSyYTtQkphog4WkrSKAiw.cache +1 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/gB/gBgBWy2c1z2A2HykdtIz7OYGnHIRDzbk092kh5b6jaE.cache +2 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/gv/gvq1z6PDRE8gMtaUq2in1i3UzX2ALHQQDyu4rktAnlM.cache +0 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/hA/hAQloq4iFKlI32gRuBj7Qw-S3_fk622RHC7B3bKQcGM.cache +2 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/j3/j3r-jelmETDRd-G19KKXI0QM5g991nlcbUwXBnRnNQE.cache +0 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/k1/k1S4UmDyDiVdoVjxFVnT7PjryGZlRLlg6Rbiv263PC8.cache +1 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/kX/kXwRD1nb3DhVhF7hOQ5XyWT3MbPg9czHAQgVjCGZ4mc.cache +1 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/kb/kbxkYCk1EgNiJrtaLBYcKjpLawXPyY26vtsvLwAGuRs.cache +0 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/lG/lGngG8GuW7NOMaJJjbCUpaUmPukNz5qTAuDFKUeQGD8.cache +1 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/mE/mE5ux5CqyC__7A31roQaIrItQDaC4e3O1ccQpHEzf3A.cache +1 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/mf/mfGViGcXdNxYP-Fj1h1q2YL8V4R9hdRw-pbcz44ykGo.cache +1 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/n_/n_AnmncFkjyQrNIMt47ODfSQL8Ah5cY4UKW1IThyYyg.cache +0 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/ne/nehoEMwTN_YXNZspteBmbCj-55v4o0wq_nnFJCPVtUk.cache +1 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/nf/nfLIHBgXq65X45t_2QaQM3smByR8wIxjzXL0A1bb9NU.cache +0 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/pF/pFK-AXLRfIZQbNkoSeGwKVKqJtkz_-WxAlFUbspYW3o.cache +2 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/q8/q8cA8tJbgodCWeH8qLt9pac6Ig-wK4v5aiJ6VV6-bHw.cache +0 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/sD/sDQm06qCaywVxzpOwjngjtCXxSMXqwixf0n0xD0IHHw.cache +0 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/sb/sbdra4MXru4fxHN_jrd3o4d3VFPFyG3lI247mddfTUk.cache +2 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/w7/w7U6DzTbVwmZ8JqXhirzDvr-HGtiCEIpNHRQtLc7M68.cache +2 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/wd/wdx03MG0LBtOSdemZvED30U1i-V5s75E7207MC6TGTI.cache +0 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/yL/yLiDuY3PPQgAmxWaulR4bejdG-_VXuSIqbmkWlntOys.cache +3 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/yb/ybRqqIyo6H-rkIwoBZp14cENSoSgyZqa1XAUKLV1zpk.cache +1 -0
- data/sample-apps/timeline-events-app/tmp/cache/assets/sprockets/v3.0/yj/yjlHOIhrAzNkiA_SiyRZKIkEwaC0rktB1TVequSKqjc.cache +1 -0
- data/sample-apps/timeline-events-app/tmp/development_secret.txt +1 -0
- data/sample-apps/timeline-events-app/tmp/restart.txt +0 -0
- data/sample-apps/trello-integration-app/.env.template +7 -0
- data/sample-apps/trello-integration-app/.gitignore +35 -0
- data/sample-apps/trello-integration-app/.rspec +1 -0
- data/sample-apps/trello-integration-app/.ruby-version +1 -0
- data/sample-apps/trello-integration-app/Dockerfile +22 -0
- data/sample-apps/trello-integration-app/Gemfile +38 -0
- data/sample-apps/trello-integration-app/Gemfile.lock +314 -0
- data/sample-apps/trello-integration-app/README.md +31 -0
- data/sample-apps/trello-integration-app/Rakefile +6 -0
- data/sample-apps/trello-integration-app/app/assets/config/manifest.js +3 -0
- data/sample-apps/trello-integration-app/app/assets/images/.keep +0 -0
- data/sample-apps/trello-integration-app/app/assets/images/right-arrow.png +0 -0
- data/sample-apps/trello-integration-app/app/assets/javascripts/application.js +22 -0
- data/sample-apps/trello-integration-app/app/assets/javascripts/cable.js +13 -0
- data/sample-apps/trello-integration-app/app/assets/javascripts/channels/.keep +0 -0
- data/sample-apps/trello-integration-app/app/assets/javascripts/jquery-spinner.min.js +11071 -0
- data/sample-apps/trello-integration-app/app/assets/javascripts/lodash.js +15972 -0
- data/sample-apps/trello-integration-app/app/assets/javascripts/mappings.js +78 -0
- data/sample-apps/trello-integration-app/app/assets/javascripts/typeahead.bundle.min.js +8 -0
- data/sample-apps/trello-integration-app/app/assets/stylesheets/application.css +46 -0
- data/sample-apps/trello-integration-app/app/assets/stylesheets/authorization.scss +34 -0
- data/sample-apps/trello-integration-app/app/assets/stylesheets/jquery-spinner.css +33 -0
- data/sample-apps/trello-integration-app/app/assets/stylesheets/mappings.scss +55 -0
- data/sample-apps/trello-integration-app/app/assets/stylesheets/navigation.scss +43 -0
- data/sample-apps/trello-integration-app/app/assets/stylesheets/search_frame.scss +81 -0
- data/sample-apps/trello-integration-app/app/controllers/application_controller.rb +38 -0
- data/sample-apps/trello-integration-app/app/controllers/concerns/.keep +0 -0
- data/sample-apps/trello-integration-app/app/controllers/concerns/exception_handler.rb +12 -0
- data/sample-apps/trello-integration-app/app/controllers/home_controller.rb +20 -0
- data/sample-apps/trello-integration-app/app/controllers/mappings_controller.rb +64 -0
- data/sample-apps/trello-integration-app/app/controllers/oauth/authorization_controller.rb +28 -0
- data/sample-apps/trello-integration-app/app/controllers/trello/cards_controller.rb +94 -0
- data/sample-apps/trello-integration-app/app/controllers/trello/webhooks_controller.rb +30 -0
- data/sample-apps/trello-integration-app/app/helpers/application_helper.rb +2 -0
- data/sample-apps/trello-integration-app/app/helpers/oauth/authorization_helper.rb +11 -0
- data/sample-apps/trello-integration-app/app/lib/services/hubspot/authorization/authorize.rb +17 -0
- data/sample-apps/trello-integration-app/app/lib/services/hubspot/authorization/get_authorization_uri.rb +35 -0
- data/sample-apps/trello-integration-app/app/lib/services/hubspot/authorization/tokens/base.rb +21 -0
- data/sample-apps/trello-integration-app/app/lib/services/hubspot/authorization/tokens/generate.rb +28 -0
- data/sample-apps/trello-integration-app/app/lib/services/hubspot/authorization/tokens/refresh.rb +35 -0
- data/sample-apps/trello-integration-app/app/lib/services/hubspot/deals/get_by_id.rb +15 -0
- data/sample-apps/trello-integration-app/app/lib/services/hubspot/deals/update.rb +17 -0
- data/sample-apps/trello-integration-app/app/lib/services/hubspot/extensions_cards/create.rb +82 -0
- data/sample-apps/trello-integration-app/app/lib/services/hubspot/pipelines/get_all.rb +11 -0
- data/sample-apps/trello-integration-app/app/lib/services/hubspot/pipelines/get_by_id.rb +15 -0
- data/sample-apps/trello-integration-app/app/lib/services/trello/authorization/authorize.rb +20 -0
- data/sample-apps/trello-integration-app/app/lib/services/trello/boards/get_all.rb +11 -0
- data/sample-apps/trello-integration-app/app/lib/services/trello/boards/get_by_id.rb +19 -0
- data/sample-apps/trello-integration-app/app/lib/services/trello/cards/format.rb +78 -0
- data/sample-apps/trello-integration-app/app/lib/services/trello/cards/get_by_id.rb +15 -0
- data/sample-apps/trello-integration-app/app/lib/services/trello/cards/search.rb +15 -0
- data/sample-apps/trello-integration-app/app/lib/services/trello/webhooks/create.rb +31 -0
- data/sample-apps/trello-integration-app/app/lib/services/trello/webhooks/delete.rb +17 -0
- data/sample-apps/trello-integration-app/app/lib/services/trello/webhooks/update.rb +19 -0
- data/sample-apps/trello-integration-app/app/models/application_record.rb +3 -0
- data/sample-apps/trello-integration-app/app/models/concerns/.keep +0 -0
- data/sample-apps/trello-integration-app/app/models/deal_association.rb +2 -0
- data/sample-apps/trello-integration-app/app/models/extension_card.rb +4 -0
- data/sample-apps/trello-integration-app/app/models/hubspot_token.rb +19 -0
- data/sample-apps/trello-integration-app/app/models/mapping.rb +2 -0
- data/sample-apps/trello-integration-app/app/models/trello_token.rb +19 -0
- data/sample-apps/trello-integration-app/app/models/webhook.rb +2 -0
- data/sample-apps/trello-integration-app/app/views/home/index.html.erb +23 -0
- data/sample-apps/trello-integration-app/app/views/home/success.html.erb +11 -0
- data/sample-apps/trello-integration-app/app/views/layouts/application.html.erb +23 -0
- data/sample-apps/trello-integration-app/app/views/mappings/_mapping.html.erb +13 -0
- data/sample-apps/trello-integration-app/app/views/mappings/index.html.erb +44 -0
- data/sample-apps/trello-integration-app/app/views/oauth/authorization/login.html.erb +42 -0
- data/sample-apps/trello-integration-app/app/views/shared/_header.html.erb +15 -0
- data/sample-apps/trello-integration-app/app/views/trello/cards/search_frame.html.erb +69 -0
- data/sample-apps/trello-integration-app/app/views/trello/cards/search_frame_success.html.erb +7 -0
- data/sample-apps/trello-integration-app/bin/bundle +3 -0
- data/sample-apps/trello-integration-app/bin/rails +9 -0
- data/sample-apps/trello-integration-app/bin/rake +9 -0
- data/sample-apps/trello-integration-app/bin/setup +36 -0
- data/sample-apps/trello-integration-app/bin/spring +17 -0
- data/sample-apps/trello-integration-app/bin/update +31 -0
- data/sample-apps/trello-integration-app/bin/yarn +11 -0
- data/sample-apps/trello-integration-app/config/application.rb +20 -0
- data/sample-apps/trello-integration-app/config/boot.rb +3 -0
- data/sample-apps/trello-integration-app/config/cable.yml +10 -0
- data/sample-apps/trello-integration-app/config/database.yml +16 -0
- data/sample-apps/trello-integration-app/config/environment.rb +5 -0
- data/sample-apps/trello-integration-app/config/environments/development.rb +61 -0
- data/sample-apps/trello-integration-app/config/environments/production.rb +94 -0
- data/sample-apps/trello-integration-app/config/environments/test.rb +46 -0
- data/sample-apps/trello-integration-app/config/initializers/assets.rb +14 -0
- data/sample-apps/trello-integration-app/config/initializers/filter_parameter_logging.rb +4 -0
- data/sample-apps/trello-integration-app/config/initializers/hubspot-api-client.rb +3 -0
- data/sample-apps/trello-integration-app/config/initializers/mime_types.rb +1 -0
- data/sample-apps/trello-integration-app/config/initializers/omniauth.rb +11 -0
- data/sample-apps/trello-integration-app/config/initializers/trello.rb +1 -0
- data/sample-apps/trello-integration-app/config/initializers/wrap_parameters.rb +14 -0
- data/sample-apps/trello-integration-app/config/locales/en.yml +33 -0
- data/sample-apps/trello-integration-app/config/puma.rb +34 -0
- data/sample-apps/trello-integration-app/config/routes.rb +29 -0
- data/sample-apps/trello-integration-app/config/spring.rb +6 -0
- data/sample-apps/trello-integration-app/config/storage.yml +34 -0
- data/sample-apps/trello-integration-app/config.ru +5 -0
- data/sample-apps/trello-integration-app/db/migrate/20200624132327_create_hubspot_tokens.rb +10 -0
- data/sample-apps/trello-integration-app/db/migrate/20200624132336_create_trello_tokens.rb +8 -0
- data/sample-apps/trello-integration-app/db/migrate/20200624132337_create_deal_associations.rb +8 -0
- data/sample-apps/trello-integration-app/db/migrate/20200702130530_create_extension_cards.rb +8 -0
- data/sample-apps/trello-integration-app/db/migrate/20200715143913_create_mappings.rb +12 -0
- data/sample-apps/trello-integration-app/db/migrate/20200727083656_create_webhooks.rb +9 -0
- data/sample-apps/trello-integration-app/db/schema.rb +52 -0
- data/sample-apps/trello-integration-app/db/seeds.rb +7 -0
- data/sample-apps/trello-integration-app/docker-compose.yml +41 -0
- data/sample-apps/trello-integration-app/docker-entrypoint.sh +8 -0
- data/sample-apps/trello-integration-app/lib/assets/.keep +0 -0
- data/sample-apps/trello-integration-app/lib/middlewares/trello_payload_params_handler.rb +18 -0
- data/sample-apps/trello-integration-app/lib/tasks/.keep +0 -0
- data/sample-apps/trello-integration-app/log/.keep +0 -0
- data/sample-apps/trello-integration-app/log/development.log +9458 -0
- data/sample-apps/trello-integration-app/package.json +5 -0
- data/sample-apps/trello-integration-app/public/404.html +67 -0
- data/sample-apps/trello-integration-app/public/422.html +67 -0
- data/sample-apps/trello-integration-app/public/500.html +66 -0
- data/sample-apps/trello-integration-app/public/favicon.ico +0 -0
- data/sample-apps/trello-integration-app/public/robots.txt +1 -0
- data/sample-apps/trello-integration-app/tmp/.keep +0 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/-5/-5IQLCGeMEVABOZfTtCI7jAP59s3gIKoFcUrPHF6cRg.cache +0 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/1M/1MIa4owWAXM3DE3nn5ZIqs_XEfGXzqflAhza_kXwTDc.cache +1 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/1i/1imEhsNCIy2fAJ63nSZG4EwUgtvcghYpmgyo4ZhDR40.cache +2 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/1m/1mRwQeI_697SJNgSakVyU5vtV9tpeQ3aUvIyW2cHhMs.cache +1 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/21/21_uawo73AYegLYSTeDlvwfV9Utx2cadH6AjAtmgCQc.cache +1 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/2l/2lLEp9zP0rNgbSVfE8xQYu1VU3p63BikVHdu_cToP54.cache +3 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/33/33P8II3n2NSOHCnt4BhkKLa4cH0_vP6GXXXl8ra2b4M.cache +1 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/3v/3vVkN-vWJvSYJXb_JLZ64MPdM6PagRLJjiVNlTh_vm0.cache +1 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/4d/4d5ws2hCOW840rIPYQ8pjrtDPI1JGIMrPrfGvDFfbTQ.cache +1 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/4t/4tS7Kks-W0kO57E-2syU3eShBn8W1Q9w36P6Fsfcgo0.cache +1 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/4v/4vuJrhXN-pxG6n5IfuNdMz8_FsIYKj-fElSODkrt4AQ.cache +1 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/6j/6jYDdSmPkIUK3DW0nVlT6Kf3aUDCNL-irPIlCMssNFY.cache +0 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/9A/9AOXJU1xKC2LmruUREUliKtZk0ysQGX45jeVklP7ozo.cache +3 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/9E/9EzUvwM2DX5UGOaP8z5v9a0fHEobrbfp3eLZtTLyXt8.cache +1 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/9V/9VF8D3PaGXBXsH74TVS8KHuWDA_6IiSdXMilLhBQisM.cache +1 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/AA/AA5_0J3GyFIY79_KiyFady2ZJJ-o1rDP-bwtevwJVuY.cache +3 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/BR/BRGFuw7M9XuD-y23pOt1EL_DLcfRImkjQ0yzDyW3bOE.cache +1 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/C4/C4VsgK-RhAE1XVxk0QLfjhqU_LiJ-qgNPbt8O_x94fM.cache +1 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/Cl/ClI93B7UZ6jGQMdlSf-z2BZkPwo4ZAPc6NQYXF2aCW0.cache +0 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/Da/DaHmw8V0fiWvHA5af1ehm-ZYy1JjXu4PbJb3fAqHIdU.cache +1 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/EC/EC2j6BCJ8TnspQFZeViwqN9QJH0fdqH7HvaNE6RzBxc.cache +1 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/EM/EMt4g95xPhDuUZK0IoqMVCTpWNYG72BlusUhU3qWa6Q.cache +3 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/Er/ErIP6ktHQNoOJA-K1Km62d62DjG_GGiedMMJrpoBs98.cache +1 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/Ev/EvAj2kJ2dwux14VZrEABFg1ojO9rwRZ_7HQWXIQbGMk.cache +1 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/Ex/Ex1GOKR4HeeSso9ocHcgZEnrNvJqHIxizwMn8jXrZ2s.cache +3 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/Fo/FozpKz0BlJKhxk6Y5ZSFkC2weBkvW7fEfj_TJS2lbcU.cache +0 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/Fp/FprMIwFBZYrEWraVY7BWLI8zyHb9bwBIcAGNdpYm1Qo.cache +0 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/GK/GKxgqeOG0nQQcSU0Dp7Tky2B5pqg5Xz2Xv-RUIxCiQM.cache +0 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/HC/HCDOUd7-S45aJ_PjVAC_Vmjyud3i1aQv4cE3t9_Z3Dw.cache +2 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/IF/IFtTiYvPKpcddKBW6kSbbXSj2nHsT9-0e__M_Q3Ydwc.cache +0 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/II/IIPvGX0Vm8TVSGGurS7Spr3UKR6qu-5j1LmYNImm_JQ.cache +3 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/JO/JOFYZ78eHKCOJNksYpp-KNV0_WErea0ucgvqWvxoTWg.cache +2 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/Ja/Jawz4NLXjjzxtdy8wxOOx7QhbRhQumkQJmOKMmFZg5A.cache +0 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/KS/KSuG_K9XWDeRmkg1aki-m-v5NQz_jul3p5rEoxQzygk.cache +1 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/Mu/MuVSyemz8nKlOKCKaZUhD1J703apuKikoqlx0L8l2gw.cache +1 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/N5/N5zOlD0a_6dV7b8XNEnH_bhrdAz-PcVA2_FH-fesFAw.cache +1 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/NQ/NQXCo8VzytKS6zmbf2mHRuQ9p1dszxC0M_W5nBdxfnU.cache +2 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/QU/QUELNS-UKkXy-aHIYE_PavCQ9D7aaPr0zHiS4X-eLBY.cache +0 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/RB/RBXEUm7Ur58juoS_oHSncpm1FQ2_wk6Svtkpnx0UXPk.cache +0 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/S1/S1kQ3eQcvROz0Baua51wj2V769FaA_8OLk3M751zWW8.cache +0 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/S_/S_s8-kaJemyjvXLCG6ElV64FYdfUXVKshCNSzYwwg6k.cache +3 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/TD/TDBM4lXvTNWSR45QUXjQRRkCXOIAZ4C4GoEn1jpxPfM.cache +0 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/T_/T_RSgEXy7oMt3ndzJsOS-ebKMgiAe3u-2P8ICTtNzXs.cache +0 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/U4/U466McG48IRBn70OWh5BO3nYPsXgKrEXHkrftg0xCLQ.cache +3 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/Up/Upbt8ro5KXzYO6uyhFdI4KEXO-PUKaMitXFMEKCsfWA.cache +0 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/V4/V4Ep5i91uzhre0mC674b233pIerWSE9Z8I4ZXE2EUVY.cache +0 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/WM/WMV3aHZbU71jzKeF0Zbrh5HCFrPvL1ZVIp0GGYjySrY.cache +0 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/WS/WSjW9cPxxweuDoySziMbK44N4uj8GzWYwnjnm7i-LAE.cache +1 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/Wg/WgqE1e0njA-qgTJ4VnjoGrRm12ekCA88LG-GQTh7o3Y.cache +1 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/Wl/Wls93jnZw9MP1AaTqf_kj7QkI1YjaPge38JN2xc9K-M.cache +0 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/Wy/WyT0VOgrYLcjfclQ3qyXsv6X6nwLLBASTuWzf9XnmvI.cache +1 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/Xu/Xu0XM23ILAuTly3JScuaLm-H4iL4aEfZkrjkid6tKHE.cache +1 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/Yc/YcPGytUuXCB3Iy533hUM2bbaqujcuoGI8bdVbbscn4A.cache +1 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/_V/_VXOq8NOcWHt8J3hvaz4ZG8AF7u2sNfDdzL6o8vzEYA.cache +1 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/b8/b8dgpzld6JaG-3Pz0ODBXpeDvRo0hMBmDjEx19KJ9ck.cache +0 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/b_/b_MeFQEHG92wmeDGDWl4Mxcd0zcgj3KzgpD-m8-7F5o.cache +3 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/c4/c4JrhgYKhvoDqMoyvQwF0bvuMjaCmNQh488InFTjGfA.cache +1 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/cF/cFyy2Nd_8i8pDti5ajoouKVOFBUoGwpWyK41rd1aJtg.cache +1 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/ce/ceyLCDG3-DQdZt2OywV1eHFXkhOgUqaUzMQ8yxeHFyo.cache +0 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/cs/csVCFI5Dmlgj2qo-AvtiC2f9_2wBR0SZ8uJ90XWMe48.cache +0 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/dg/dg8xDUB026KlWVbRE1h_SZ6gEPR6g81HrTkUIimQzqc.cache +3 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/dj/djlvnYQpcj6N2uQvct8RK42TAuwW4hwZ-yQ8t8UuTf4.cache +2 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/ec/ec2nqBrb69Fz1aZTRv_WFr81zn-qw1sd5g67JyPmzU8.cache +1 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/fC/fCtxdjXxPx4x7QkxfqIqo-m6jJWx3KfVemtGYAa0bNs.cache +2 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/gI/gIsS03KKKoIhpo_gWbC5doCbOwIb_fxs1tX_D82AMVI.cache +3 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/gd/gdKJ69-j9AYGRIgSaZGzfSFOE3nSfCPI6CtfPHMG6wI.cache +0 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/hw/hw4QvE0qt0hV7bvN_FsEvv5XOtzCIm4xZi3IDjjdyeA.cache +0 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/iY/iYpAxlEH4DLiUQ6zfRen_n9yX4J1S2uFaJuX8sYrZ6c.cache +0 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/jV/jVux5l8pQoU-_Llv3BbOW5oabZGnw06SILnpq-46EAI.cache +0 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/jX/jXvGEwHuqSJvARGbVRsMQVI_7-Ij449UyBloEtxA1w8.cache +3 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/nQ/nQh_KENYOBEW4lwlJeBwuAB3Ze32jmh92VVdhAJrnfU.cache +1 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/oD/oDRVPFLUWIEOHvOyfFue-aNLuU71Vor8ClUEvS9raFE.cache +0 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/oO/oOy0NVcBBQIe557HWqmTdZ92wLicODWfCk_Ls0dBZqc.cache +1 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/pF/pFK-AXLRfIZQbNkoSeGwKVKqJtkz_-WxAlFUbspYW3o.cache +2 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/pt/ptR_wbPnsO710yGC5H6xeZJv12VSCcJ4PDzHGgat9Wc.cache +0 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/qk/qkmgOnsJcZuyHM4QuJL-TrqoNlfiyhep8KWUFopItLM.cache +1 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/rK/rKNLhg6Vz6-dTlBEKyNqYW_cTUQQMou2h79JNy8OQoE.cache +2 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/rj/rj6UFY6GPzEeHNj1Us4X9q2rLd-CqyXlvmCp4iD7BIg.cache +1 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/tL/tLfyRwlD0eZ8g6WBM1YaOKujrILNutlRUEoLox3kpuU.cache +1 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/ud/ud0EKIfekOhYeEq51HRWS0b6PbNaf1jw77HtqqbuFPM.cache +0 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/v5/v59xeeJBoNorMAJRYDIlA0dCKyFjm4xPCy0gT5ohJLw.cache +1 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/wL/wLW8hVhjt49mpyche47kjprMBpzCjUdN70PsDHESd4w.cache +0 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/wn/wnNHayXp8SlmDqVkYO6y-a2V6dqdf6tlklpuBGck0hA.cache +1 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/x-/x-xnlwr31pcSkiXjUzhgvqIViWBQe8vhSS2kBHEQoZ8.cache +1 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/xi/xiqX6T0sRUIY8wNtp4HQLTfbGBblT4-I-CFSAZFScAY.cache +0 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/y5/y5P7ijIrYw3KoJxyJKHXXiPlB6WePmNVwB_n2CKmB48.cache +0 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/yL/yLiDuY3PPQgAmxWaulR4bejdG-_VXuSIqbmkWlntOys.cache +3 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/yW/yWmahJm8XA0QAPcA5o1hJ3XPaG6IgMHmS3UF5oSnr9I.cache +0 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/yX/yX9b5ebHE375rOe7dXKt7ownzOgXaQTJS4mB-z80Ns8.cache +1 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/yo/yo-3ZSeBhkQ3CKCZfUr_KsQXXXfha4sukV1d7rYFdL8.cache +1 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/zC/zCXz6AtijAHttkBPC6wWo3jUWXncLWWWETF3XnceGDY.cache +0 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/zU/zU4lVt60UEWFJRhHYJ7o0E9ezVDrhPfb03Q-Ay6Q-jc.cache +1 -0
- data/sample-apps/trello-integration-app/tmp/cache/assets/sprockets/v3.0/zy/zycabP--QQi6NTlFOYosfiJ-qUlAgUBQSOYsjPyBAnY.cache +3 -0
- data/sample-apps/trello-integration-app/tmp/development_secret.txt +1 -0
- data/sample-apps/trello-integration-app/tmp/restart.txt +0 -0
- data/sample-apps/webhooks-contacts-app/app/lib/services/hubspot/contacts/get_batch.rb +1 -4
- metadata +512 -3
- data/lib/hubspot/codegen/crm/quotes/api/default_api.rb +0 -426
@@ -0,0 +1,19 @@
|
|
1
|
+
class HubspotToken < ApplicationRecord
|
2
|
+
class TokenAlreadyExist < RuntimeError; end
|
3
|
+
|
4
|
+
before_create :confirm_singularity
|
5
|
+
|
6
|
+
def self.instance
|
7
|
+
first_or_create!
|
8
|
+
end
|
9
|
+
|
10
|
+
def filled?
|
11
|
+
refresh_token.present? && access_token.present?
|
12
|
+
end
|
13
|
+
|
14
|
+
private
|
15
|
+
|
16
|
+
def confirm_singularity
|
17
|
+
raise(TokenAlreadyExist, 'There can be only one.') if HubspotToken.any?
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
class TrelloToken < ApplicationRecord
|
2
|
+
class TokenAlreadyExist < RuntimeError; end
|
3
|
+
|
4
|
+
before_create :confirm_singularity
|
5
|
+
|
6
|
+
def self.instance
|
7
|
+
first_or_create!
|
8
|
+
end
|
9
|
+
|
10
|
+
def filled?
|
11
|
+
token.present? && secret.present?
|
12
|
+
end
|
13
|
+
|
14
|
+
private
|
15
|
+
|
16
|
+
def confirm_singularity
|
17
|
+
raise(TokenAlreadyExist, 'There can be only one.') if TrelloToken.any?
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
<div class="container">
|
2
|
+
<% if @error.present? %>
|
3
|
+
<h3><%= @error.message %></h3>
|
4
|
+
<% else %>
|
5
|
+
<div class="row">
|
6
|
+
<div class="column">
|
7
|
+
<h3>CRM extension card initialization <%= "card_id = #{@card_id}" if @card_id.present? %>:</h3>
|
8
|
+
<ol>
|
9
|
+
<% if @card_id.nil? %>
|
10
|
+
<li>New CRM extension card will be created (with "<%= @card_title %>" title)</li>
|
11
|
+
<% end %>
|
12
|
+
<li>"Data fetch URL" will be updated to <a href="<%= @data_fetch_url %>"><%= @data_fetch_url %></a></li>
|
13
|
+
<li>"Deals" in "Target record types" section will be activated with "hs_object_id", "dealname" properties sent form HubSpot</li>
|
14
|
+
<li>"Custom actions"->"Base URL" section will be updated with <a href="<%= @base_url %>"><%= @base_url %></a></li>
|
15
|
+
</ol>
|
16
|
+
</div>
|
17
|
+
</div>
|
18
|
+
|
19
|
+
<%= form_with(url: '/create_card', method: :post, local: true) do %>
|
20
|
+
<%= submit_tag("Continue") %>
|
21
|
+
<% end %>
|
22
|
+
<% end %>
|
23
|
+
</div>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<div class="container">
|
2
|
+
<% if @error.present? %>
|
3
|
+
<h3><%= @error.message %></h3>
|
4
|
+
<% else %>
|
5
|
+
<div class="row">
|
6
|
+
<div class="column">
|
7
|
+
<h4>Extension card with id=<%= @extension_card.card_id %> is ready to use. Now you can test trello integration via HubSpot interface deal page.</h4>
|
8
|
+
</div>
|
9
|
+
</div>
|
10
|
+
<% end %>
|
11
|
+
</div>
|
@@ -0,0 +1,23 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="UTF-8">
|
5
|
+
<title>HubSpot Ruby sample Trello integration app</title>
|
6
|
+
<%= csrf_meta_tags %>
|
7
|
+
<%= csp_meta_tag %>
|
8
|
+
|
9
|
+
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:300,300italic,700,700italic">
|
10
|
+
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.css">
|
11
|
+
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/milligram/1.3.0/milligram.css">
|
12
|
+
|
13
|
+
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
|
14
|
+
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
|
15
|
+
</head>
|
16
|
+
|
17
|
+
<body>
|
18
|
+
<%= render partial: "shared/header"%>
|
19
|
+
<div class="wrapper">
|
20
|
+
<%= yield %>
|
21
|
+
</div>
|
22
|
+
</body>
|
23
|
+
</html>
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<div class="mapping-row row <%= local_assigns[:classes] %>">
|
2
|
+
<div class="column board-list-id">
|
3
|
+
<%= object[:board_list_name] %>
|
4
|
+
</div>
|
5
|
+
<div class="column arrow">
|
6
|
+
<%= image_tag('right-arrow.png') %>
|
7
|
+
</div>
|
8
|
+
<div class="column pipeline-stage-id">
|
9
|
+
<%= object[:pipeline_stage_label] %>
|
10
|
+
</div>
|
11
|
+
<div class="mapping-id"><%= object[:id] %></div>
|
12
|
+
<button type="button" class="column remove-button">Remove</button>
|
13
|
+
</div>
|
@@ -0,0 +1,44 @@
|
|
1
|
+
<div class="container" id="mappings-container">
|
2
|
+
<% if @error.present? %>
|
3
|
+
<h3><%= @error.message %></h3>
|
4
|
+
<% else %>
|
5
|
+
<div class="row">
|
6
|
+
<div class="column boards">
|
7
|
+
<h3>Boards</h3>
|
8
|
+
<%= select_tag(
|
9
|
+
:boards,
|
10
|
+
options_for_select(@boards.map { |board| [board.name, board.id] }),
|
11
|
+
include_blank: '-- select pipeline --'
|
12
|
+
) %>
|
13
|
+
</div>
|
14
|
+
|
15
|
+
<div class="column pipelines">
|
16
|
+
<h3>Pipelines</h3>
|
17
|
+
<%= select_tag(
|
18
|
+
:pipelines,
|
19
|
+
options_for_select(@pipelines.map { |pipeline| [pipeline.label, pipeline.id] }),
|
20
|
+
include_blank: '-- select board --'
|
21
|
+
) %>
|
22
|
+
</div>
|
23
|
+
</div>
|
24
|
+
|
25
|
+
<%= form_with(url: '/mappings', method: :post, class: 'row mapping-select') do %>
|
26
|
+
<%= select_tag('mapping[board_list_id]', nil, include_blank: '-- select trello list --', class: 'column') %>
|
27
|
+
<%= select_tag('mapping[pipeline_stage_id]', nil, include_blank: '-- select pipeline stage --', class: 'column') %>
|
28
|
+
<%= hidden_field(:mapping, :board_id, value: nil)%>
|
29
|
+
<%= hidden_field(:mapping, :pipeline_id, value: nil)%>
|
30
|
+
<%= submit_tag('Add row', class: 'column') %>
|
31
|
+
<% end %>
|
32
|
+
|
33
|
+
<div class="mappings">
|
34
|
+
<div class="row mapping-headers">
|
35
|
+
<div class="column">Board list</div>
|
36
|
+
<div class="column"></div>
|
37
|
+
<div class="column">Pipeline stage</div>
|
38
|
+
<div class="column remove-button"></div>
|
39
|
+
</div>
|
40
|
+
<%= render 'mapping', object: @mapping, object: {}, classes: 'template' %>
|
41
|
+
</div>
|
42
|
+
<% end %>
|
43
|
+
</div>
|
44
|
+
|
@@ -0,0 +1,42 @@
|
|
1
|
+
<div class="container">
|
2
|
+
<div class="auth-buttons-container row">
|
3
|
+
<div class="column trello-container">
|
4
|
+
<div class="trello-label">
|
5
|
+
<h3>Trello</h3>
|
6
|
+
</div>
|
7
|
+
<ol>
|
8
|
+
<li>Go to <a href="https://trello.com/app-key" target="_blank">https://trello.com/app-key</a> page</li>
|
9
|
+
<li>Add <%= root_url(protocol: :https) %> to "Allowed Resources" section</li>
|
10
|
+
<li>Continue with
|
11
|
+
<% if trello_authorized? %>
|
12
|
+
<div class="row authorize-button button authorized button-inline">
|
13
|
+
Authorized
|
14
|
+
</div>
|
15
|
+
<% else %>
|
16
|
+
<div class="row authorize-button trello-authorize button-inline authorize-link">
|
17
|
+
<a class="button" href="/auth/trello">Authorize</a>
|
18
|
+
</div>
|
19
|
+
<% end %>
|
20
|
+
</li>
|
21
|
+
</ol>
|
22
|
+
</div>
|
23
|
+
|
24
|
+
<div class="column hubspot-container">
|
25
|
+
<div class="hubspot-label">
|
26
|
+
<h3>Hubspot</h3>
|
27
|
+
</div>
|
28
|
+
<% if hubspot_authorized? %>
|
29
|
+
<div class="row authorize-button button authorized">
|
30
|
+
Authorized
|
31
|
+
</div>
|
32
|
+
<% else %>
|
33
|
+
<div class="row authorize-button hubspot-authorize">
|
34
|
+
<a class="button" href="/oauth/hubspot">Authorize</a>
|
35
|
+
</div>
|
36
|
+
<% end %>
|
37
|
+
</div>
|
38
|
+
</div>
|
39
|
+
<div class="authorization-info">
|
40
|
+
<h3>Authorize both accounts to create your sync!</h3>
|
41
|
+
</div>
|
42
|
+
</div>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<nav class="navigation">
|
2
|
+
<div class="container">
|
3
|
+
<a class="navigation-title" href="/">
|
4
|
+
<h3 class="title">HubSpot Ruby Sample Trello integration App</h3>
|
5
|
+
</a>
|
6
|
+
<ul class="navigation-list float-right">
|
7
|
+
<li class="navigation-item">
|
8
|
+
<a class="navigation-link" href="/mappings">Mappings</a>
|
9
|
+
</li>
|
10
|
+
<li class="navigation-item">
|
11
|
+
<a class="navigation-link" href="/login">OAuth2</a>
|
12
|
+
</li>
|
13
|
+
</ul>
|
14
|
+
</div>
|
15
|
+
</nav>
|
@@ -0,0 +1,69 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="UTF-8">
|
5
|
+
<title>HubSpot Ruby sample Trello integration app</title>
|
6
|
+
<%= csrf_meta_tags %>
|
7
|
+
<%= csp_meta_tag %>
|
8
|
+
|
9
|
+
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:300,300italic,700,700italic">
|
10
|
+
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.css">
|
11
|
+
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/milligram/1.3.0/milligram.css">
|
12
|
+
|
13
|
+
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
|
14
|
+
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
|
15
|
+
</head>
|
16
|
+
|
17
|
+
<body>
|
18
|
+
<div class="wrapper">
|
19
|
+
<form method="POST">
|
20
|
+
<fieldset>
|
21
|
+
<div class="row">
|
22
|
+
<div class="column">
|
23
|
+
<h4>Search for Trello card to attach to the following HubSpot deal: <b><%= @deal_name %></b></h4>
|
24
|
+
<input class="typeahead" type="text" placeholder="Search..">
|
25
|
+
<input type="hidden" name="card_id" id="cardId" />
|
26
|
+
<input type="hidden" name="authenticity_token" value="<%= form_authenticity_token %>"/>
|
27
|
+
</div>
|
28
|
+
</div>
|
29
|
+
<input type="submit" value="Associate"/>
|
30
|
+
</fieldset>
|
31
|
+
</form>
|
32
|
+
|
33
|
+
<script>
|
34
|
+
$(document).ready(() => {
|
35
|
+
const trelloCardsSource = new Bloodhound({
|
36
|
+
datumTokenizer: Bloodhound.tokenizers.obj.whitespace('value'),
|
37
|
+
queryTokenizer: Bloodhound.tokenizers.whitespace,
|
38
|
+
remote: {
|
39
|
+
url: "<%= url_for(controller: 'trello/cards', action: :search, only_path: false, protocol: 'https') %>?q=%QUERY",
|
40
|
+
wildcard: "%QUERY"
|
41
|
+
}
|
42
|
+
});
|
43
|
+
|
44
|
+
$('.typeahead').typeahead({
|
45
|
+
hint: true,
|
46
|
+
highlight: true,
|
47
|
+
minLength: 1
|
48
|
+
},
|
49
|
+
{
|
50
|
+
name: 'trello-cards',
|
51
|
+
display: 'name',
|
52
|
+
source: trelloCardsSource,
|
53
|
+
templates: {
|
54
|
+
empty: [
|
55
|
+
'<div class="empty-message">',
|
56
|
+
'Unable to find any Trello card that matches the current query',
|
57
|
+
'</div>'
|
58
|
+
].join('\n'),
|
59
|
+
},
|
60
|
+
}).on("typeahead:selected typeahead:autocompleted", (e, card) => {
|
61
|
+
$("#cardId").val(card.id);
|
62
|
+
});
|
63
|
+
});
|
64
|
+
</script>
|
65
|
+
</div>
|
66
|
+
</body>
|
67
|
+
</html>
|
68
|
+
|
69
|
+
|
@@ -0,0 +1,9 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
begin
|
3
|
+
load File.expand_path('../spring', __FILE__)
|
4
|
+
rescue LoadError => e
|
5
|
+
raise unless e.message.include?('spring')
|
6
|
+
end
|
7
|
+
APP_PATH = File.expand_path('../config/application', __dir__)
|
8
|
+
require_relative '../config/boot'
|
9
|
+
require 'rails/commands'
|
@@ -0,0 +1,36 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
require 'fileutils'
|
3
|
+
include FileUtils
|
4
|
+
|
5
|
+
# path to your application root.
|
6
|
+
APP_ROOT = File.expand_path('..', __dir__)
|
7
|
+
|
8
|
+
def system!(*args)
|
9
|
+
system(*args) || abort("\n== Command #{args} failed ==")
|
10
|
+
end
|
11
|
+
|
12
|
+
chdir APP_ROOT do
|
13
|
+
# This script is a starting point to setup your application.
|
14
|
+
# Add necessary setup steps to this file.
|
15
|
+
|
16
|
+
puts '== Installing dependencies =='
|
17
|
+
system! 'gem install bundler --conservative'
|
18
|
+
system('bundle check') || system!('bundle install')
|
19
|
+
|
20
|
+
# Install JavaScript dependencies if using Yarn
|
21
|
+
# system('bin/yarn')
|
22
|
+
|
23
|
+
# puts "\n== Copying sample files =="
|
24
|
+
# unless File.exist?('config/database.yml')
|
25
|
+
# cp 'config/database.yml.sample', 'config/database.yml'
|
26
|
+
# end
|
27
|
+
|
28
|
+
puts "\n== Preparing database =="
|
29
|
+
system! 'bin/rails db:setup'
|
30
|
+
|
31
|
+
puts "\n== Removing old logs and tempfiles =="
|
32
|
+
system! 'bin/rails log:clear tmp:clear'
|
33
|
+
|
34
|
+
puts "\n== Restarting application server =="
|
35
|
+
system! 'bin/rails restart'
|
36
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
# This file loads Spring without using Bundler, in order to be fast.
|
4
|
+
# It gets overwritten when you run the `spring binstub` command.
|
5
|
+
|
6
|
+
unless defined?(Spring)
|
7
|
+
require 'rubygems'
|
8
|
+
require 'bundler'
|
9
|
+
|
10
|
+
lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
|
11
|
+
spring = lockfile.specs.detect { |spec| spec.name == 'spring' }
|
12
|
+
if spring
|
13
|
+
Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
|
14
|
+
gem 'spring', spring.version
|
15
|
+
require 'spring/binstub'
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
require 'fileutils'
|
3
|
+
include FileUtils
|
4
|
+
|
5
|
+
# path to your application root.
|
6
|
+
APP_ROOT = File.expand_path('..', __dir__)
|
7
|
+
|
8
|
+
def system!(*args)
|
9
|
+
system(*args) || abort("\n== Command #{args} failed ==")
|
10
|
+
end
|
11
|
+
|
12
|
+
chdir APP_ROOT do
|
13
|
+
# This script is a way to update your development environment automatically.
|
14
|
+
# Add necessary update steps to this file.
|
15
|
+
|
16
|
+
puts '== Installing dependencies =='
|
17
|
+
system! 'gem install bundler --conservative'
|
18
|
+
system('bundle check') || system!('bundle install')
|
19
|
+
|
20
|
+
# Install JavaScript dependencies if using Yarn
|
21
|
+
# system('bin/yarn')
|
22
|
+
|
23
|
+
puts "\n== Updating database =="
|
24
|
+
system! 'bin/rails db:migrate'
|
25
|
+
|
26
|
+
puts "\n== Removing old logs and tempfiles =="
|
27
|
+
system! 'bin/rails log:clear tmp:clear'
|
28
|
+
|
29
|
+
puts "\n== Restarting application server =="
|
30
|
+
system! 'bin/rails restart'
|
31
|
+
end
|
@@ -0,0 +1,11 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
APP_ROOT = File.expand_path('..', __dir__)
|
3
|
+
Dir.chdir(APP_ROOT) do
|
4
|
+
begin
|
5
|
+
exec "yarnpkg", *ARGV
|
6
|
+
rescue Errno::ENOENT
|
7
|
+
$stderr.puts "Yarn executable was not detected in the system."
|
8
|
+
$stderr.puts "Download Yarn at https://yarnpkg.com/en/docs/install"
|
9
|
+
exit 1
|
10
|
+
end
|
11
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
require_relative 'boot'
|
2
|
+
|
3
|
+
require 'rails/all'
|
4
|
+
require_relative '../lib/middlewares/trello_payload_params_handler.rb'
|
5
|
+
# Require the gems listed in Gemfile, including any gems
|
6
|
+
# you've limited to :test, :development, or :production.
|
7
|
+
Bundler.require(*Rails.groups)
|
8
|
+
|
9
|
+
module Oauth2App
|
10
|
+
class Application < Rails::Application
|
11
|
+
# Initialize configuration defaults for originally generated Rails version.
|
12
|
+
config.load_defaults 5.2
|
13
|
+
|
14
|
+
# Settings in config/environments/* take precedence over those specified here.
|
15
|
+
# Application configuration can go into files in config/initializers
|
16
|
+
# -- all .rb files in that directory are automatically loaded after loading
|
17
|
+
# the framework and any gems in your application.
|
18
|
+
config.middleware.use TrelloPayloadParamsHandler
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
default: &default
|
2
|
+
adapter: mysql2
|
3
|
+
pool: 25
|
4
|
+
timeout: 5000
|
5
|
+
username: <%= ENV['DB_USERNAME'] %>
|
6
|
+
password: "<%= ENV['DB_PASSWORD'] %>"
|
7
|
+
host: <%= ENV['DB_HOST'] %>
|
8
|
+
port: <%= ENV['DB_PORT'] %>
|
9
|
+
|
10
|
+
development:
|
11
|
+
<<: *default
|
12
|
+
database: <%= ENV['DB_NAME'] %>_development
|
13
|
+
|
14
|
+
production:
|
15
|
+
<<: *default
|
16
|
+
database: <%= ENV['DB_NAME'] %>
|
@@ -0,0 +1,61 @@
|
|
1
|
+
Rails.application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb.
|
3
|
+
|
4
|
+
# In the development environment your application's code is reloaded on
|
5
|
+
# every request. This slows down response time but is perfect for development
|
6
|
+
# since you don't have to restart the web server when you make code changes.
|
7
|
+
config.cache_classes = false
|
8
|
+
|
9
|
+
# Do not eager load code on boot.
|
10
|
+
config.eager_load = true
|
11
|
+
|
12
|
+
# Show full error reports.
|
13
|
+
config.consider_all_requests_local = true
|
14
|
+
|
15
|
+
# Enable/disable caching. By default caching is disabled.
|
16
|
+
# Run rails dev:cache to toggle caching.
|
17
|
+
if Rails.root.join('tmp', 'caching-dev.txt').exist?
|
18
|
+
config.action_controller.perform_caching = true
|
19
|
+
|
20
|
+
config.cache_store = :memory_store
|
21
|
+
config.public_file_server.headers = {
|
22
|
+
'Cache-Control' => "public, max-age=#{2.days.to_i}"
|
23
|
+
}
|
24
|
+
else
|
25
|
+
config.action_controller.perform_caching = false
|
26
|
+
|
27
|
+
config.cache_store = :null_store
|
28
|
+
end
|
29
|
+
|
30
|
+
# Store uploaded files on the local file system (see config/storage.yml for options)
|
31
|
+
config.active_storage.service = :local
|
32
|
+
|
33
|
+
# Don't care if the mailer can't send.
|
34
|
+
config.action_mailer.raise_delivery_errors = false
|
35
|
+
|
36
|
+
config.action_mailer.perform_caching = false
|
37
|
+
|
38
|
+
# Print deprecation notices to the Rails logger.
|
39
|
+
config.active_support.deprecation = :log
|
40
|
+
|
41
|
+
# Raise an error on page load if there are pending migrations.
|
42
|
+
config.active_record.migration_error = :page_load
|
43
|
+
|
44
|
+
# Highlight code that triggered database queries in logs.
|
45
|
+
config.active_record.verbose_query_logs = true
|
46
|
+
|
47
|
+
# Debug mode disables concatenation and preprocessing of assets.
|
48
|
+
# This option may cause significant delays in view rendering with a large
|
49
|
+
# number of complex assets.
|
50
|
+
config.assets.debug = true
|
51
|
+
|
52
|
+
# Suppress logger output for asset requests.
|
53
|
+
config.assets.quiet = true
|
54
|
+
|
55
|
+
# Raises error for missing translations
|
56
|
+
# config.action_view.raise_on_missing_translations = true
|
57
|
+
|
58
|
+
# Use an evented file watcher to asynchronously detect changes in source code,
|
59
|
+
# routes, locales, etc. This feature depends on the listen gem.
|
60
|
+
config.file_watcher = ActiveSupport::EventedFileUpdateChecker
|
61
|
+
end
|
@@ -0,0 +1,94 @@
|
|
1
|
+
Rails.application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb.
|
3
|
+
|
4
|
+
# Code is not reloaded between requests.
|
5
|
+
config.cache_classes = true
|
6
|
+
|
7
|
+
# Eager load code on boot. This eager loads most of Rails and
|
8
|
+
# your application in memory, allowing both threaded web servers
|
9
|
+
# and those relying on copy on write to perform better.
|
10
|
+
# Rake tasks automatically ignore this option for performance.
|
11
|
+
config.eager_load = true
|
12
|
+
|
13
|
+
# Full error reports are disabled and caching is turned on.
|
14
|
+
config.consider_all_requests_local = false
|
15
|
+
config.action_controller.perform_caching = true
|
16
|
+
|
17
|
+
# Ensures that a master key has been made available in either ENV["RAILS_MASTER_KEY"]
|
18
|
+
# or in config/master.key. This key is used to decrypt credentials (and other encrypted files).
|
19
|
+
# config.require_master_key = true
|
20
|
+
|
21
|
+
# Disable serving static files from the `/public` folder by default since
|
22
|
+
# Apache or NGINX already handles this.
|
23
|
+
config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
|
24
|
+
|
25
|
+
# Compress JavaScripts and CSS.
|
26
|
+
config.assets.js_compressor = :uglifier
|
27
|
+
# config.assets.css_compressor = :sass
|
28
|
+
|
29
|
+
# Do not fallback to assets pipeline if a precompiled asset is missed.
|
30
|
+
config.assets.compile = false
|
31
|
+
|
32
|
+
# `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
|
33
|
+
|
34
|
+
# Enable serving of images, stylesheets, and JavaScripts from an asset server.
|
35
|
+
# config.action_controller.asset_host = 'http://assets.example.com'
|
36
|
+
|
37
|
+
# Specifies the header that your server uses for sending files.
|
38
|
+
# config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
|
39
|
+
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
|
40
|
+
|
41
|
+
# Store uploaded files on the local file system (see config/storage.yml for options)
|
42
|
+
config.active_storage.service = :local
|
43
|
+
|
44
|
+
# Mount Action Cable outside main process or domain
|
45
|
+
# config.action_cable.mount_path = nil
|
46
|
+
# config.action_cable.url = 'wss://example.com/cable'
|
47
|
+
# config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ]
|
48
|
+
|
49
|
+
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
50
|
+
# config.force_ssl = true
|
51
|
+
|
52
|
+
# Use the lowest log level to ensure availability of diagnostic information
|
53
|
+
# when problems arise.
|
54
|
+
config.log_level = :debug
|
55
|
+
|
56
|
+
# Prepend all log lines with the following tags.
|
57
|
+
config.log_tags = [ :request_id ]
|
58
|
+
|
59
|
+
# Use a different cache store in production.
|
60
|
+
# config.cache_store = :mem_cache_store
|
61
|
+
|
62
|
+
# Use a real queuing backend for Active Job (and separate queues per environment)
|
63
|
+
# config.active_job.queue_adapter = :resque
|
64
|
+
# config.active_job.queue_name_prefix = "trello-integration-app_#{Rails.env}"
|
65
|
+
|
66
|
+
config.action_mailer.perform_caching = false
|
67
|
+
|
68
|
+
# Ignore bad email addresses and do not raise email delivery errors.
|
69
|
+
# Set this to true and configure the email server for immediate delivery to raise delivery errors.
|
70
|
+
# config.action_mailer.raise_delivery_errors = false
|
71
|
+
|
72
|
+
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
|
73
|
+
# the I18n.default_locale when a translation cannot be found).
|
74
|
+
config.i18n.fallbacks = true
|
75
|
+
|
76
|
+
# Send deprecation notices to registered listeners.
|
77
|
+
config.active_support.deprecation = :notify
|
78
|
+
|
79
|
+
# Use default logging formatter so that PID and timestamp are not suppressed.
|
80
|
+
config.log_formatter = ::Logger::Formatter.new
|
81
|
+
|
82
|
+
# Use a different logger for distributed setups.
|
83
|
+
# require 'syslog/logger'
|
84
|
+
# config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name')
|
85
|
+
|
86
|
+
if ENV["RAILS_LOG_TO_STDOUT"].present?
|
87
|
+
logger = ActiveSupport::Logger.new(STDOUT)
|
88
|
+
logger.formatter = config.log_formatter
|
89
|
+
config.logger = ActiveSupport::TaggedLogging.new(logger)
|
90
|
+
end
|
91
|
+
|
92
|
+
# Do not dump schema after migrations.
|
93
|
+
config.active_record.dump_schema_after_migration = false
|
94
|
+
end
|