hubspot-api-client 9.2.0 → 9.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +20 -22
- data/lib/hubspot-api-client.rb +38 -14
- data/lib/hubspot/version.rb +1 -1
- data/spec/cms/audit-logs/api/default_api_spec.rb +54 -0
- data/spec/cms/audit-logs/models/collection_response_public_audit_log_spec.rb +47 -0
- data/spec/cms/audit-logs/models/error_detail_spec.rb +65 -0
- data/spec/cms/audit-logs/models/error_spec.rb +77 -0
- data/spec/cms/audit-logs/models/next_page_spec.rb +47 -0
- data/spec/cms/audit-logs/models/paging_spec.rb +41 -0
- data/spec/cms/audit-logs/models/public_audit_log_spec.rb +85 -0
- data/spec/cms/blogs/authors/api/default_api_spec.rb +1 -1
- data/spec/cms/blogs/authors/models/batch_input_blog_author_spec.rb +41 -0
- data/spec/cms/blogs/authors/models/batch_input_json_node_spec.rb +41 -0
- data/spec/cms/blogs/authors/models/batch_input_string_spec.rb +41 -0
- data/spec/cms/blogs/authors/models/batch_response_blog_author_with_errors_spec.rb +87 -0
- data/spec/cms/blogs/authors/models/blog_author_spec.rb +107 -0
- data/spec/cms/blogs/authors/models/collection_response_with_total_blog_author_forward_paging_spec.rb +53 -0
- data/spec/cms/blogs/authors/models/error_detail_spec.rb +65 -0
- data/spec/cms/blogs/authors/models/error_spec.rb +77 -0
- data/spec/cms/blogs/authors/models/forward_paging_spec.rb +41 -0
- data/spec/cms/blogs/authors/models/next_page_spec.rb +47 -0
- data/spec/cms/blogs/authors/models/standard_error_spec.rb +83 -0
- data/spec/cms/blogs/blog-posts/api/default_api_spec.rb +171 -44
- data/spec/cms/blogs/blog-posts/models/angle_spec.rb +51 -0
- data/spec/cms/blogs/blog-posts/models/background_image_spec.rb +57 -0
- data/spec/cms/blogs/blog-posts/models/batch_input_blog_post_spec.rb +41 -0
- data/spec/cms/blogs/blog-posts/models/batch_input_json_node_spec.rb +41 -0
- data/spec/cms/blogs/blog-posts/models/batch_input_string_spec.rb +41 -0
- data/spec/cms/blogs/blog-posts/models/batch_response_blog_post_with_errors_spec.rb +87 -0
- data/spec/cms/blogs/blog-posts/models/blog_post_spec.rb +417 -0
- data/spec/cms/blogs/blog-posts/models/collection_response_with_total_blog_post_forward_paging_spec.rb +53 -0
- data/spec/cms/blogs/blog-posts/models/collection_response_with_total_version_blog_post_spec.rb +53 -0
- data/spec/cms/blogs/blog-posts/models/color_stop_spec.rb +41 -0
- data/spec/cms/blogs/blog-posts/models/content_clone_request_v_next_spec.rb +47 -0
- data/spec/cms/blogs/blog-posts/models/content_schedule_request_v_next_spec.rb +47 -0
- data/spec/cms/blogs/blog-posts/models/error_detail_spec.rb +65 -0
- data/spec/cms/blogs/blog-posts/models/error_spec.rb +77 -0
- data/spec/cms/blogs/blog-posts/models/forward_paging_spec.rb +41 -0
- data/spec/cms/blogs/blog-posts/models/gradient_spec.rb +53 -0
- data/spec/cms/blogs/blog-posts/models/layout_section_spec.rb +113 -0
- data/spec/cms/blogs/blog-posts/models/next_page_spec.rb +47 -0
- data/spec/cms/blogs/blog-posts/models/paging_spec.rb +47 -0
- data/spec/cms/blogs/blog-posts/models/previous_page_spec.rb +47 -0
- data/spec/cms/blogs/blog-posts/models/rgba_color_spec.rb +59 -0
- data/spec/cms/blogs/blog-posts/models/row_meta_data_spec.rb +47 -0
- data/spec/cms/blogs/blog-posts/models/side_or_corner_spec.rb +55 -0
- data/spec/cms/blogs/blog-posts/models/standard_error_spec.rb +83 -0
- data/spec/cms/blogs/blog-posts/models/styles_spec.rb +85 -0
- data/spec/cms/blogs/blog-posts/models/version_blog_post_spec.rb +59 -0
- data/spec/cms/blogs/blog-posts/models/version_user_spec.rb +53 -0
- data/spec/cms/blogs/tags/api/default_api_spec.rb +43 -43
- data/spec/cms/blogs/tags/models/batch_input_json_node_spec.rb +41 -0
- data/spec/cms/blogs/tags/models/batch_input_string_spec.rb +41 -0
- data/spec/cms/blogs/tags/models/batch_input_tag_spec.rb +41 -0
- data/spec/cms/blogs/tags/models/batch_response_tag_with_errors_spec.rb +87 -0
- data/spec/cms/blogs/tags/models/collection_response_with_total_tag_forward_paging_spec.rb +53 -0
- data/spec/cms/blogs/tags/models/error_detail_spec.rb +65 -0
- data/spec/cms/blogs/tags/models/error_spec.rb +77 -0
- data/spec/cms/blogs/tags/models/forward_paging_spec.rb +41 -0
- data/spec/cms/blogs/tags/models/next_page_spec.rb +47 -0
- data/spec/cms/blogs/tags/models/standard_error_spec.rb +83 -0
- data/spec/cms/blogs/tags/models/tag_spec.rb +65 -0
- data/spec/cms/domains/api/domains_api_spec.rb +71 -0
- data/spec/cms/domains/models/collection_response_with_total_domain_spec.rb +53 -0
- data/spec/cms/domains/models/domain_cdn_config_spec.rb +149 -0
- data/spec/cms/domains/models/domain_setup_info_spec.rb +47 -0
- data/spec/cms/domains/models/domain_spec.rb +403 -0
- data/spec/cms/domains/models/error_detail_spec.rb +65 -0
- data/spec/cms/domains/models/error_spec.rb +77 -0
- data/spec/cms/domains/models/next_page_spec.rb +47 -0
- data/spec/cms/domains/models/paging_spec.rb +41 -0
- data/spec/cms/hubdb/api/rows_api_spec.rb +160 -0
- data/spec/cms/hubdb/api/rows_batch_api_spec.rb +126 -0
- data/spec/cms/hubdb/api/tables_api_spec.rb +237 -0
- data/spec/cms/hubdb/models/batch_input_hub_db_table_row_v3_spec.rb +41 -0
- data/spec/cms/hubdb/models/batch_input_json_node_spec.rb +41 -0
- data/spec/cms/hubdb/models/batch_input_string_spec.rb +41 -0
- data/spec/cms/hubdb/models/batch_response_hub_db_table_row_v3_with_errors_spec.rb +87 -0
- data/spec/cms/hubdb/models/collection_response_with_total_hub_db_table_row_v3_forward_paging_spec.rb +53 -0
- data/spec/cms/hubdb/models/collection_response_with_total_hub_db_table_v3_forward_paging_spec.rb +53 -0
- data/spec/cms/hubdb/models/column_input_spec.rb +77 -0
- data/spec/cms/hubdb/models/column_spec.rb +117 -0
- data/spec/cms/hubdb/models/error_detail_spec.rb +65 -0
- data/spec/cms/hubdb/models/error_spec.rb +77 -0
- data/spec/cms/hubdb/models/foreign_id_spec.rb +53 -0
- data/spec/cms/hubdb/models/forward_paging_spec.rb +41 -0
- data/spec/cms/hubdb/models/hub_db_table_clone_request_spec.rb +53 -0
- data/spec/cms/hubdb/models/hub_db_table_row_v3_input_spec.rb +59 -0
- data/spec/cms/hubdb/models/hub_db_table_row_v3_spec.rb +71 -0
- data/spec/cms/hubdb/models/hub_db_table_v3_input_spec.rb +83 -0
- data/spec/cms/hubdb/models/hub_db_table_v3_live_input_spec.rb +59 -0
- data/spec/cms/hubdb/models/hub_db_table_v3_spec.rb +143 -0
- data/spec/cms/hubdb/models/import_result_spec.rb +59 -0
- data/spec/cms/hubdb/models/next_page_spec.rb +47 -0
- data/spec/cms/hubdb/models/option_spec.rb +59 -0
- data/spec/cms/hubdb/models/simple_user_spec.rb +59 -0
- data/spec/cms/hubdb/models/standard_error_spec.rb +83 -0
- data/spec/cms/performance/api/default_api_spec.rb +73 -0
- data/spec/cms/performance/models/error_detail_spec.rb +65 -0
- data/spec/cms/performance/models/error_spec.rb +77 -0
- data/spec/cms/performance/models/performance_view_spec.rb +167 -0
- data/spec/cms/performance/models/public_performance_response_spec.rb +85 -0
- data/spec/cms/site-search/api/default_api_spec.rb +78 -0
- data/spec/cms/site-search/models/content_search_result_spec.rb +145 -0
- data/spec/cms/site-search/models/error_detail_spec.rb +65 -0
- data/spec/cms/site-search/models/error_spec.rb +77 -0
- data/spec/cms/site-search/models/indexed_data_spec.rb +57 -0
- data/spec/cms/site-search/models/public_search_results_spec.rb +71 -0
- data/spec/cms/site-search/models/search_hit_field_spec.rb +59 -0
- data/spec/cms/url-redirects/api/redirects_api_spec.rb +107 -0
- data/spec/cms/url-redirects/models/collection_response_with_total_url_mapping_spec.rb +53 -0
- data/spec/cms/url-redirects/models/error_detail_spec.rb +65 -0
- data/spec/cms/url-redirects/models/error_spec.rb +77 -0
- data/spec/cms/url-redirects/models/next_page_spec.rb +47 -0
- data/spec/cms/url-redirects/models/paging_spec.rb +41 -0
- data/spec/cms/url-redirects/models/url_mapping_create_request_body_spec.rb +95 -0
- data/spec/cms/url-redirects/models/url_mapping_spec.rb +189 -0
- data/spec/crm/associations/api/batch_api_spec.rb +77 -0
- data/spec/crm/associations/api/types_api_spec.rb +48 -0
- data/spec/crm/associations/models/associated_id_spec.rb +47 -0
- data/spec/crm/associations/models/batch_input_public_association_spec.rb +41 -0
- data/spec/crm/associations/models/batch_input_public_object_id_spec.rb +41 -0
- data/spec/crm/associations/models/batch_response_public_association_multi_spec.rb +81 -0
- data/spec/crm/associations/models/batch_response_public_association_spec.rb +81 -0
- data/spec/crm/associations/models/collection_response_public_association_definiton_spec.rb +47 -0
- data/spec/crm/associations/models/error_category_spec.rb +51 -0
- data/spec/crm/associations/models/error_detail_spec.rb +65 -0
- data/spec/crm/associations/models/error_spec.rb +77 -0
- data/spec/crm/associations/models/next_page_spec.rb +47 -0
- data/spec/crm/associations/models/paging_spec.rb +41 -0
- data/spec/crm/associations/models/public_association_definiton_spec.rb +47 -0
- data/spec/crm/associations/models/public_association_multi_spec.rb +47 -0
- data/spec/crm/associations/models/public_association_spec.rb +53 -0
- data/spec/crm/associations/models/public_object_id_spec.rb +41 -0
- data/spec/crm/associations/models/standard_error_spec.rb +83 -0
- data/spec/crm/companies/api/associations_api_spec.rb +79 -0
- data/spec/crm/companies/api/basic_api_spec.rb +106 -0
- data/spec/crm/companies/api/batch_api_spec.rb +84 -0
- data/spec/crm/companies/api/search_api_spec.rb +47 -0
- data/spec/crm/companies/models/associated_id_spec.rb +47 -0
- data/spec/crm/companies/models/batch_input_simple_public_object_batch_input_spec.rb +41 -0
- data/spec/crm/companies/models/batch_input_simple_public_object_id_spec.rb +41 -0
- data/spec/crm/companies/models/batch_input_simple_public_object_input_spec.rb +41 -0
- data/spec/crm/companies/models/batch_read_input_simple_public_object_id_spec.rb +53 -0
- data/spec/crm/companies/models/batch_response_simple_public_object_spec.rb +75 -0
- data/spec/crm/companies/models/batch_response_simple_public_object_with_errors_spec.rb +87 -0
- data/spec/crm/companies/models/collection_response_associated_id_spec.rb +47 -0
- data/spec/crm/companies/models/collection_response_simple_public_object_spec.rb +47 -0
- data/spec/crm/companies/models/collection_response_with_total_simple_public_object_spec.rb +53 -0
- data/spec/crm/companies/models/error_category_spec.rb +51 -0
- data/spec/crm/companies/models/error_detail_spec.rb +65 -0
- data/spec/crm/companies/models/error_spec.rb +77 -0
- data/spec/crm/companies/models/filter_group_spec.rb +41 -0
- data/spec/crm/companies/models/filter_spec.rb +57 -0
- data/spec/crm/companies/models/next_page_spec.rb +47 -0
- data/spec/crm/companies/models/paging_spec.rb +47 -0
- data/spec/crm/companies/models/previous_page_spec.rb +47 -0
- data/spec/crm/companies/models/public_object_search_request_spec.rb +71 -0
- data/spec/crm/companies/models/simple_public_object_batch_input_spec.rb +47 -0
- data/spec/crm/companies/models/simple_public_object_id_spec.rb +41 -0
- data/spec/crm/companies/models/simple_public_object_input_spec.rb +41 -0
- data/spec/crm/companies/models/simple_public_object_spec.rb +77 -0
- data/spec/crm/companies/models/standard_error_spec.rb +83 -0
- data/spec/crm/contacts/api/associations_api_spec.rb +79 -0
- data/spec/crm/contacts/api/basic_api_spec.rb +106 -0
- data/spec/crm/contacts/api/batch_api_spec.rb +84 -0
- data/spec/crm/contacts/api/search_api_spec.rb +47 -0
- data/spec/crm/contacts/models/associated_id_spec.rb +47 -0
- data/spec/crm/contacts/models/batch_input_simple_public_object_batch_input_spec.rb +41 -0
- data/spec/crm/contacts/models/batch_input_simple_public_object_id_spec.rb +41 -0
- data/spec/crm/contacts/models/batch_input_simple_public_object_input_spec.rb +41 -0
- data/spec/crm/contacts/models/batch_read_input_simple_public_object_id_spec.rb +53 -0
- data/spec/crm/contacts/models/batch_response_simple_public_object_spec.rb +75 -0
- data/spec/crm/contacts/models/batch_response_simple_public_object_with_errors_spec.rb +87 -0
- data/spec/crm/contacts/models/collection_response_associated_id_spec.rb +47 -0
- data/spec/crm/contacts/models/collection_response_simple_public_object_spec.rb +47 -0
- data/spec/crm/contacts/models/collection_response_with_total_simple_public_object_spec.rb +53 -0
- data/spec/crm/contacts/models/error_category_spec.rb +51 -0
- data/spec/crm/contacts/models/error_detail_spec.rb +65 -0
- data/spec/crm/contacts/models/error_spec.rb +77 -0
- data/spec/crm/contacts/models/filter_group_spec.rb +41 -0
- data/spec/crm/contacts/models/filter_spec.rb +57 -0
- data/spec/crm/contacts/models/next_page_spec.rb +47 -0
- data/spec/crm/contacts/models/paging_spec.rb +47 -0
- data/spec/crm/contacts/models/previous_page_spec.rb +47 -0
- data/spec/crm/contacts/models/public_object_search_request_spec.rb +71 -0
- data/spec/crm/contacts/models/simple_public_object_batch_input_spec.rb +47 -0
- data/spec/crm/contacts/models/simple_public_object_id_spec.rb +41 -0
- data/spec/crm/contacts/models/simple_public_object_input_spec.rb +41 -0
- data/spec/crm/contacts/models/simple_public_object_spec.rb +77 -0
- data/spec/crm/contacts/models/standard_error_spec.rb +83 -0
- data/spec/crm/deals/api/associations_api_spec.rb +79 -0
- data/spec/crm/deals/api/basic_api_spec.rb +106 -0
- data/spec/crm/deals/api/batch_api_spec.rb +84 -0
- data/spec/crm/deals/api/search_api_spec.rb +47 -0
- data/spec/crm/deals/models/associated_id_spec.rb +47 -0
- data/spec/crm/deals/models/batch_input_simple_public_object_batch_input_spec.rb +41 -0
- data/spec/crm/deals/models/batch_input_simple_public_object_id_spec.rb +41 -0
- data/spec/crm/deals/models/batch_input_simple_public_object_input_spec.rb +41 -0
- data/spec/crm/deals/models/batch_read_input_simple_public_object_id_spec.rb +53 -0
- data/spec/crm/deals/models/batch_response_simple_public_object_spec.rb +75 -0
- data/spec/crm/deals/models/batch_response_simple_public_object_with_errors_spec.rb +87 -0
- data/spec/crm/deals/models/collection_response_associated_id_spec.rb +47 -0
- data/spec/crm/deals/models/collection_response_simple_public_object_spec.rb +47 -0
- data/spec/crm/deals/models/collection_response_with_total_simple_public_object_spec.rb +53 -0
- data/spec/crm/deals/models/error_category_spec.rb +51 -0
- data/spec/crm/deals/models/error_detail_spec.rb +65 -0
- data/spec/crm/deals/models/error_spec.rb +77 -0
- data/spec/crm/deals/models/filter_group_spec.rb +41 -0
- data/spec/crm/deals/models/filter_spec.rb +57 -0
- data/spec/crm/deals/models/next_page_spec.rb +47 -0
- data/spec/crm/deals/models/paging_spec.rb +47 -0
- data/spec/crm/deals/models/previous_page_spec.rb +47 -0
- data/spec/crm/deals/models/public_object_search_request_spec.rb +71 -0
- data/spec/crm/deals/models/simple_public_object_batch_input_spec.rb +47 -0
- data/spec/crm/deals/models/simple_public_object_id_spec.rb +41 -0
- data/spec/crm/deals/models/simple_public_object_input_spec.rb +41 -0
- data/spec/crm/deals/models/simple_public_object_spec.rb +77 -0
- data/spec/crm/deals/models/standard_error_spec.rb +83 -0
- data/spec/crm/extensions/cards/api/cards_api_spec.rb +100 -0
- data/spec/crm/extensions/cards/api/sample_response_api_spec.rb +46 -0
- data/spec/crm/extensions/cards/models/action_confirmation_body_spec.rb +53 -0
- data/spec/crm/extensions/cards/models/action_hook_action_body_spec.rb +79 -0
- data/spec/crm/extensions/cards/models/card_actions_spec.rb +41 -0
- data/spec/crm/extensions/cards/models/card_create_request_spec.rb +59 -0
- data/spec/crm/extensions/cards/models/card_display_body_spec.rb +41 -0
- data/spec/crm/extensions/cards/models/card_display_property_spec.rb +63 -0
- data/spec/crm/extensions/cards/models/card_fetch_body_patch_spec.rb +47 -0
- data/spec/crm/extensions/cards/models/card_fetch_body_spec.rb +47 -0
- data/spec/crm/extensions/cards/models/card_list_response_spec.rb +41 -0
- data/spec/crm/extensions/cards/models/card_object_type_body_spec.rb +51 -0
- data/spec/crm/extensions/cards/models/card_patch_request_spec.rb +59 -0
- data/spec/crm/extensions/cards/models/card_response_spec.rb +77 -0
- data/spec/crm/extensions/cards/models/display_option_spec.rb +57 -0
- data/spec/crm/extensions/cards/models/error_detail_spec.rb +65 -0
- data/spec/crm/extensions/cards/models/error_spec.rb +77 -0
- data/spec/crm/extensions/cards/models/i_frame_action_body_spec.rb +75 -0
- data/spec/crm/extensions/cards/models/integrator_card_payload_response_spec.rb +75 -0
- data/spec/crm/extensions/cards/models/integrator_object_result_spec.rb +65 -0
- data/spec/crm/extensions/cards/models/object_token_spec.rb +63 -0
- data/spec/crm/extensions/cards/models/top_level_actions_spec.rb +53 -0
- data/spec/crm/imports/api/core_api_spec.rb +86 -0
- data/spec/crm/imports/models/action_response_spec.rb +69 -0
- data/spec/crm/imports/models/collection_response_public_import_response_spec.rb +47 -0
- data/spec/crm/imports/models/error_detail_spec.rb +65 -0
- data/spec/crm/imports/models/error_spec.rb +77 -0
- data/spec/crm/imports/models/next_page_spec.rb +47 -0
- data/spec/crm/imports/models/paging_spec.rb +47 -0
- data/spec/crm/imports/models/previous_page_spec.rb +47 -0
- data/spec/crm/imports/models/public_import_metadata_spec.rb +53 -0
- data/spec/crm/imports/models/public_import_response_spec.rb +87 -0
- data/spec/crm/imports/models/public_object_list_record_spec.rb +47 -0
- data/spec/crm/line_items/api/associations_api_spec.rb +79 -0
- data/spec/crm/line_items/api/basic_api_spec.rb +106 -0
- data/spec/crm/line_items/api/batch_api_spec.rb +84 -0
- data/spec/crm/line_items/api/search_api_spec.rb +47 -0
- data/spec/crm/line_items/models/associated_id_spec.rb +47 -0
- data/spec/crm/line_items/models/batch_input_simple_public_object_batch_input_spec.rb +41 -0
- data/spec/crm/line_items/models/batch_input_simple_public_object_id_spec.rb +41 -0
- data/spec/crm/line_items/models/batch_input_simple_public_object_input_spec.rb +41 -0
- data/spec/crm/line_items/models/batch_read_input_simple_public_object_id_spec.rb +53 -0
- data/spec/crm/line_items/models/batch_response_simple_public_object_spec.rb +75 -0
- data/spec/crm/line_items/models/batch_response_simple_public_object_with_errors_spec.rb +87 -0
- data/spec/crm/line_items/models/collection_response_associated_id_spec.rb +47 -0
- data/spec/crm/line_items/models/collection_response_simple_public_object_spec.rb +47 -0
- data/spec/crm/line_items/models/collection_response_with_total_simple_public_object_spec.rb +53 -0
- data/spec/crm/line_items/models/error_category_spec.rb +51 -0
- data/spec/crm/line_items/models/error_detail_spec.rb +65 -0
- data/spec/crm/line_items/models/error_spec.rb +77 -0
- data/spec/crm/line_items/models/filter_group_spec.rb +41 -0
- data/spec/crm/line_items/models/filter_spec.rb +57 -0
- data/spec/crm/line_items/models/next_page_spec.rb +47 -0
- data/spec/crm/line_items/models/paging_spec.rb +47 -0
- data/spec/crm/line_items/models/previous_page_spec.rb +47 -0
- data/spec/crm/line_items/models/public_object_search_request_spec.rb +71 -0
- data/spec/crm/line_items/models/simple_public_object_batch_input_spec.rb +47 -0
- data/spec/crm/line_items/models/simple_public_object_id_spec.rb +41 -0
- data/spec/crm/line_items/models/simple_public_object_input_spec.rb +41 -0
- data/spec/crm/line_items/models/simple_public_object_spec.rb +77 -0
- data/spec/crm/line_items/models/standard_error_spec.rb +83 -0
- data/spec/crm/objects/api/associations_api_spec.rb +82 -0
- data/spec/crm/objects/api/basic_api_spec.rb +111 -0
- data/spec/crm/objects/api/batch_api_spec.rb +88 -0
- data/spec/crm/objects/api/search_api_spec.rb +48 -0
- data/spec/crm/objects/models/associated_id_spec.rb +47 -0
- data/spec/crm/objects/models/batch_input_simple_public_object_batch_input_spec.rb +41 -0
- data/spec/crm/objects/models/batch_input_simple_public_object_id_spec.rb +41 -0
- data/spec/crm/objects/models/batch_input_simple_public_object_input_spec.rb +41 -0
- data/spec/crm/objects/models/batch_read_input_simple_public_object_id_spec.rb +53 -0
- data/spec/crm/objects/models/batch_response_simple_public_object_spec.rb +75 -0
- data/spec/crm/objects/models/batch_response_simple_public_object_with_errors_spec.rb +87 -0
- data/spec/crm/objects/models/collection_response_associated_id_spec.rb +47 -0
- data/spec/crm/objects/models/collection_response_simple_public_object_spec.rb +47 -0
- data/spec/crm/objects/models/collection_response_with_total_simple_public_object_spec.rb +53 -0
- data/spec/crm/objects/models/error_category_spec.rb +51 -0
- data/spec/crm/objects/models/error_detail_spec.rb +65 -0
- data/spec/crm/objects/models/error_spec.rb +77 -0
- data/spec/crm/objects/models/filter_group_spec.rb +41 -0
- data/spec/crm/objects/models/filter_spec.rb +57 -0
- data/spec/crm/objects/models/next_page_spec.rb +47 -0
- data/spec/crm/objects/models/paging_spec.rb +47 -0
- data/spec/crm/objects/models/previous_page_spec.rb +47 -0
- data/spec/crm/objects/models/public_object_search_request_spec.rb +71 -0
- data/spec/crm/objects/models/simple_public_object_batch_input_spec.rb +47 -0
- data/spec/crm/objects/models/simple_public_object_id_spec.rb +41 -0
- data/spec/crm/objects/models/simple_public_object_input_spec.rb +41 -0
- data/spec/crm/objects/models/simple_public_object_spec.rb +77 -0
- data/spec/crm/objects/models/standard_error_spec.rb +83 -0
- data/spec/{owners → crm/owners}/api/default_api_spec.rb +1 -1
- data/spec/{owners → crm/owners}/models/collection_response_public_owner_spec.rb +1 -1
- data/spec/{owners → crm/owners}/models/error_detail_spec.rb +13 -1
- data/spec/{owners → crm/owners}/models/error_spec.rb +7 -1
- data/spec/{owners → crm/owners}/models/next_page_spec.rb +1 -1
- data/spec/{owners → crm/owners}/models/paging_spec.rb +1 -1
- data/spec/{owners → crm/owners}/models/public_owner_spec.rb +1 -1
- data/spec/{owners → crm/owners}/models/public_team_spec.rb +1 -1
- data/spec/{pipelines → crm/pipelines}/api/pipeline_stages_api_spec.rb +15 -15
- data/spec/{pipelines → crm/pipelines}/api/pipelines_api_spec.rb +15 -15
- data/spec/{pipelines → crm/pipelines}/models/collection_response_pipeline_spec.rb +1 -1
- data/spec/{pipelines → crm/pipelines}/models/collection_response_pipeline_stage_spec.rb +1 -1
- data/spec/{pipelines → crm/pipelines}/models/error_detail_spec.rb +13 -1
- data/spec/{pipelines → crm/pipelines}/models/error_spec.rb +7 -1
- data/spec/{pipelines → crm/pipelines}/models/next_page_spec.rb +1 -1
- data/spec/{pipelines → crm/pipelines}/models/paging_spec.rb +1 -1
- data/spec/{pipelines → crm/pipelines}/models/pipeline_input_spec.rb +1 -1
- data/spec/{pipelines → crm/pipelines}/models/pipeline_patch_input_spec.rb +1 -1
- data/spec/{pipelines → crm/pipelines}/models/pipeline_spec.rb +1 -1
- data/spec/{pipelines → crm/pipelines}/models/pipeline_stage_input_spec.rb +1 -1
- data/spec/{pipelines → crm/pipelines}/models/pipeline_stage_patch_input_spec.rb +1 -1
- data/spec/{pipelines → crm/pipelines}/models/pipeline_stage_spec.rb +1 -1
- data/spec/crm/products/api/associations_api_spec.rb +79 -0
- data/spec/crm/products/api/basic_api_spec.rb +106 -0
- data/spec/crm/products/api/batch_api_spec.rb +84 -0
- data/spec/crm/products/api/search_api_spec.rb +47 -0
- data/spec/crm/products/models/associated_id_spec.rb +47 -0
- data/spec/crm/products/models/batch_input_simple_public_object_batch_input_spec.rb +41 -0
- data/spec/crm/products/models/batch_input_simple_public_object_id_spec.rb +41 -0
- data/spec/crm/products/models/batch_input_simple_public_object_input_spec.rb +41 -0
- data/spec/crm/products/models/batch_read_input_simple_public_object_id_spec.rb +53 -0
- data/spec/crm/products/models/batch_response_simple_public_object_spec.rb +75 -0
- data/spec/crm/products/models/batch_response_simple_public_object_with_errors_spec.rb +87 -0
- data/spec/crm/products/models/collection_response_associated_id_spec.rb +47 -0
- data/spec/crm/products/models/collection_response_simple_public_object_spec.rb +47 -0
- data/spec/crm/products/models/collection_response_with_total_simple_public_object_spec.rb +53 -0
- data/spec/crm/products/models/error_category_spec.rb +51 -0
- data/spec/crm/products/models/error_detail_spec.rb +65 -0
- data/spec/crm/products/models/error_spec.rb +77 -0
- data/spec/crm/products/models/filter_group_spec.rb +41 -0
- data/spec/crm/products/models/filter_spec.rb +57 -0
- data/spec/crm/products/models/next_page_spec.rb +47 -0
- data/spec/crm/products/models/paging_spec.rb +47 -0
- data/spec/crm/products/models/previous_page_spec.rb +47 -0
- data/spec/crm/products/models/public_object_search_request_spec.rb +71 -0
- data/spec/crm/products/models/simple_public_object_batch_input_spec.rb +47 -0
- data/spec/crm/products/models/simple_public_object_id_spec.rb +41 -0
- data/spec/crm/products/models/simple_public_object_input_spec.rb +41 -0
- data/spec/crm/products/models/simple_public_object_spec.rb +77 -0
- data/spec/crm/products/models/standard_error_spec.rb +83 -0
- data/spec/{properties → crm/properties}/api/batch_api_spec.rb +10 -10
- data/spec/{properties → crm/properties}/api/core_api_spec.rb +23 -23
- data/spec/{properties → crm/properties}/api/groups_api_spec.rb +23 -23
- data/spec/{properties → crm/properties}/models/batch_input_property_create_spec.rb +1 -1
- data/spec/{properties → crm/properties}/models/batch_input_property_name_spec.rb +1 -1
- data/spec/{properties → crm/properties}/models/batch_read_input_property_name_spec.rb +3 -3
- data/spec/{properties → crm/properties}/models/batch_response_property_spec.rb +15 -9
- data/spec/{properties → crm/properties}/models/collection_response_property_group_spec.rb +1 -1
- data/spec/{properties → crm/properties}/models/collection_response_property_spec.rb +1 -1
- data/spec/crm/properties/models/error_category_spec.rb +51 -0
- data/spec/{properties → crm/properties}/models/error_detail_spec.rb +4 -4
- data/spec/{properties → crm/properties}/models/error_spec.rb +7 -1
- data/spec/{properties → crm/properties}/models/next_page_spec.rb +1 -1
- data/spec/{properties → crm/properties}/models/option_input_spec.rb +1 -1
- data/spec/{properties → crm/properties}/models/option_spec.rb +1 -1
- data/spec/{properties → crm/properties}/models/paging_spec.rb +1 -1
- data/spec/{properties → crm/properties}/models/property_create_spec.rb +7 -1
- data/spec/{properties → crm/properties}/models/property_group_create_spec.rb +1 -1
- data/spec/{properties → crm/properties}/models/property_group_spec.rb +1 -1
- data/spec/{properties → crm/properties}/models/property_group_update_spec.rb +1 -1
- data/spec/{properties → crm/properties}/models/property_modification_metadata_spec.rb +1 -1
- data/spec/{properties → crm/properties}/models/property_name_spec.rb +1 -1
- data/spec/{properties → crm/properties}/models/property_spec.rb +1 -5
- data/spec/{properties → crm/properties}/models/property_update_spec.rb +7 -1
- data/spec/crm/properties/models/standard_error_spec.rb +83 -0
- data/spec/crm/quotes/api/associations_api_spec.rb +50 -0
- data/spec/crm/quotes/api/basic_api_spec.rb +69 -0
- data/spec/crm/quotes/api/batch_api_spec.rb +48 -0
- data/spec/crm/quotes/api/search_api_spec.rb +47 -0
- data/spec/crm/quotes/models/associated_id_spec.rb +47 -0
- data/spec/crm/quotes/models/batch_input_simple_public_object_batch_input_spec.rb +41 -0
- data/spec/crm/quotes/models/batch_input_simple_public_object_id_spec.rb +41 -0
- data/spec/crm/quotes/models/batch_input_simple_public_object_input_spec.rb +41 -0
- data/spec/crm/quotes/models/batch_read_input_simple_public_object_id_spec.rb +53 -0
- data/spec/crm/quotes/models/batch_response_simple_public_object_spec.rb +75 -0
- data/spec/crm/quotes/models/batch_response_simple_public_object_with_errors_spec.rb +87 -0
- data/spec/crm/quotes/models/collection_response_associated_id_spec.rb +47 -0
- data/spec/crm/quotes/models/collection_response_simple_public_object_spec.rb +47 -0
- data/spec/crm/quotes/models/collection_response_with_total_simple_public_object_spec.rb +53 -0
- data/spec/crm/quotes/models/error_category_spec.rb +51 -0
- data/spec/crm/quotes/models/error_detail_spec.rb +65 -0
- data/spec/crm/quotes/models/error_spec.rb +77 -0
- data/spec/crm/quotes/models/filter_group_spec.rb +41 -0
- data/spec/crm/quotes/models/filter_spec.rb +57 -0
- data/spec/crm/quotes/models/next_page_spec.rb +47 -0
- data/spec/crm/quotes/models/paging_spec.rb +47 -0
- data/spec/crm/quotes/models/previous_page_spec.rb +47 -0
- data/spec/crm/quotes/models/public_object_search_request_spec.rb +71 -0
- data/spec/crm/quotes/models/simple_public_object_batch_input_spec.rb +47 -0
- data/spec/crm/quotes/models/simple_public_object_id_spec.rb +41 -0
- data/spec/crm/quotes/models/simple_public_object_input_spec.rb +41 -0
- data/spec/crm/quotes/models/simple_public_object_spec.rb +77 -0
- data/spec/crm/quotes/models/standard_error_spec.rb +83 -0
- data/spec/crm/schemas/api/core_api_spec.rb +121 -0
- data/spec/crm/schemas/api/default_api_spec.rb +45 -0
- data/spec/crm/schemas/models/association_definition_egg_spec.rb +73 -0
- data/spec/crm/schemas/models/association_definition_spec.rb +91 -0
- data/spec/crm/schemas/models/collection_response_object_schema_spec.rb +47 -0
- data/spec/crm/schemas/models/error_detail_spec.rb +65 -0
- data/spec/crm/schemas/models/error_spec.rb +77 -0
- data/spec/crm/schemas/models/next_page_spec.rb +47 -0
- data/spec/crm/schemas/models/object_schema_egg_spec.rb +83 -0
- data/spec/crm/schemas/models/object_schema_spec.rb +113 -0
- data/spec/crm/schemas/models/object_type_definition_labels_spec.rb +47 -0
- data/spec/crm/schemas/models/object_type_definition_patch_spec.rb +71 -0
- data/spec/crm/schemas/models/object_type_definition_spec.rb +107 -0
- data/spec/crm/schemas/models/object_type_property_create_spec.rb +99 -0
- data/spec/crm/schemas/models/option_input_spec.rb +65 -0
- data/spec/crm/schemas/models/option_spec.rb +65 -0
- data/spec/crm/schemas/models/paging_spec.rb +47 -0
- data/spec/crm/schemas/models/previous_page_spec.rb +47 -0
- data/spec/crm/schemas/models/property_modification_metadata_spec.rb +59 -0
- data/spec/crm/schemas/models/property_spec.rb +173 -0
- data/spec/crm/tickets/api/associations_api_spec.rb +79 -0
- data/spec/crm/tickets/api/basic_api_spec.rb +106 -0
- data/spec/crm/tickets/api/batch_api_spec.rb +84 -0
- data/spec/crm/tickets/api/search_api_spec.rb +47 -0
- data/spec/crm/tickets/models/associated_id_spec.rb +47 -0
- data/spec/crm/tickets/models/batch_input_simple_public_object_batch_input_spec.rb +41 -0
- data/spec/crm/tickets/models/batch_input_simple_public_object_id_spec.rb +41 -0
- data/spec/crm/tickets/models/batch_input_simple_public_object_input_spec.rb +41 -0
- data/spec/crm/tickets/models/batch_read_input_simple_public_object_id_spec.rb +53 -0
- data/spec/crm/tickets/models/batch_response_simple_public_object_spec.rb +75 -0
- data/spec/crm/tickets/models/batch_response_simple_public_object_with_errors_spec.rb +87 -0
- data/spec/crm/tickets/models/collection_response_associated_id_spec.rb +47 -0
- data/spec/crm/tickets/models/collection_response_simple_public_object_spec.rb +47 -0
- data/spec/crm/tickets/models/collection_response_with_total_simple_public_object_spec.rb +53 -0
- data/spec/crm/tickets/models/error_category_spec.rb +51 -0
- data/spec/crm/tickets/models/error_detail_spec.rb +65 -0
- data/spec/crm/tickets/models/error_spec.rb +77 -0
- data/spec/crm/tickets/models/filter_group_spec.rb +41 -0
- data/spec/crm/tickets/models/filter_spec.rb +57 -0
- data/spec/crm/tickets/models/next_page_spec.rb +47 -0
- data/spec/crm/tickets/models/paging_spec.rb +47 -0
- data/spec/crm/tickets/models/previous_page_spec.rb +47 -0
- data/spec/crm/tickets/models/public_object_search_request_spec.rb +71 -0
- data/spec/crm/tickets/models/simple_public_object_batch_input_spec.rb +47 -0
- data/spec/crm/tickets/models/simple_public_object_id_spec.rb +41 -0
- data/spec/crm/tickets/models/simple_public_object_input_spec.rb +41 -0
- data/spec/crm/tickets/models/simple_public_object_spec.rb +77 -0
- data/spec/crm/tickets/models/standard_error_spec.rb +83 -0
- data/spec/crm/timeline/api/events_api_spec.rb +99 -0
- data/spec/crm/timeline/api/templates_api_spec.rb +100 -0
- data/spec/crm/timeline/api/tokens_api_spec.rb +78 -0
- data/spec/crm/timeline/models/batch_input_timeline_event_spec.rb +41 -0
- data/spec/crm/timeline/models/batch_response_timeline_event_response_spec.rb +75 -0
- data/spec/crm/timeline/models/batch_response_timeline_event_response_with_errors_spec.rb +87 -0
- data/spec/crm/timeline/models/collection_response_timeline_event_template_spec.rb +47 -0
- data/spec/crm/timeline/models/error_category_spec.rb +51 -0
- data/spec/crm/timeline/models/error_detail_spec.rb +65 -0
- data/spec/crm/timeline/models/error_spec.rb +77 -0
- data/spec/crm/timeline/models/event_detail_spec.rb +41 -0
- data/spec/crm/timeline/models/next_page_spec.rb +47 -0
- data/spec/crm/timeline/models/paging_spec.rb +47 -0
- data/spec/crm/timeline/models/previous_page_spec.rb +47 -0
- data/spec/crm/timeline/models/standard_error_spec.rb +83 -0
- data/spec/crm/timeline/models/timeline_event_i_frame_spec.rb +65 -0
- data/spec/crm/timeline/models/timeline_event_response_spec.rb +107 -0
- data/spec/crm/timeline/models/timeline_event_spec.rb +95 -0
- data/spec/crm/timeline/models/timeline_event_template_create_request_spec.rb +65 -0
- data/spec/crm/timeline/models/timeline_event_template_spec.rb +83 -0
- data/spec/crm/timeline/models/timeline_event_template_token_option_spec.rb +47 -0
- data/spec/crm/timeline/models/timeline_event_template_token_spec.rb +81 -0
- data/spec/crm/timeline/models/timeline_event_template_token_update_request_spec.rb +53 -0
- data/spec/crm/timeline/models/timeline_event_template_update_request_spec.rb +65 -0
- data/spec/oauth/api/default_api_spec.rb +37 -8
- data/spec/oauth/models/access_token_info_response_spec.rb +8 -2
- data/spec/oauth/models/error_detail_spec.rb +14 -2
- data/spec/oauth/models/error_spec.rb +8 -2
- data/spec/oauth/models/refresh_token_info_response_spec.rb +2 -2
- data/spec/oauth/models/token_response_if_spec.rb +53 -0
- data/spec/webhooks/api/settings_api_spec.rb +72 -0
- data/spec/webhooks/api/subscriptions_api_spec.rb +113 -0
- data/spec/webhooks/models/batch_input_subscription_batch_update_request_spec.rb +41 -0
- data/spec/webhooks/models/batch_response_subscription_response_spec.rb +75 -0
- data/spec/webhooks/models/batch_response_subscription_response_with_errors_spec.rb +87 -0
- data/spec/webhooks/models/error_category_spec.rb +51 -0
- data/spec/webhooks/models/error_detail_spec.rb +65 -0
- data/spec/webhooks/models/error_spec.rb +77 -0
- data/spec/webhooks/models/settings_change_request_spec.rb +47 -0
- data/spec/webhooks/models/settings_response_spec.rb +59 -0
- data/spec/webhooks/models/standard_error_spec.rb +83 -0
- data/spec/webhooks/models/subscription_batch_update_request_spec.rb +47 -0
- data/spec/webhooks/models/subscription_create_request_spec.rb +57 -0
- data/spec/webhooks/models/subscription_list_response_spec.rb +41 -0
- data/spec/webhooks/models/subscription_patch_request_spec.rb +41 -0
- data/spec/webhooks/models/subscription_response_spec.rb +75 -0
- data/spec/webhooks/models/throttling_settings_spec.rb +51 -0
- metadata +992 -108
- data/spec/oauth/api_client_spec.rb +0 -226
- data/spec/oauth/configuration_spec.rb +0 -42
- data/spec/owners/api_client_spec.rb +0 -226
- data/spec/owners/configuration_spec.rb +0 -42
- data/spec/pipelines/api_client_spec.rb +0 -226
- data/spec/pipelines/configuration_spec.rb +0 -42
- data/spec/properties/api_client_spec.rb +0 -226
- data/spec/properties/configuration_spec.rb +0 -42
@@ -0,0 +1,59 @@
|
|
1
|
+
=begin
|
2
|
+
#HubDB endpoints
|
3
|
+
|
4
|
+
#HubDB is a relational data store that presents data as rows, columns, and cells in a table, much like a spreadsheet. HubDB tables can be added or modified [in the HubSpot CMS](https://knowledge.hubspot.com/cos-general/how-to-edit-hubdb-tables), but you can also use the API endpoints documented here. For more information on HubDB tables and using their data on a HubSpot site, see the [CMS developers site](https://designers.hubspot.com/docs/tools/hubdb). You can also see the [documentation for dynamic pages](https://designers.hubspot.com/docs/tutorials/how-to-build-dynamic-pages-with-hubdb) for more details about the `useForPages` field. HubDB tables support `draft` and `live` versions and you can publish and unpublish the live version. This allows you to update data in the table, either for testing or to allow for a manual approval process, without affecting any live pages using the existing data. Draft data can be reviewed, pushed to live version, and published by a user working in HubSpot or published via the API. Draft data can also be discarded, allowing users to go back to the live version of the data without disrupting it. If a table is set to be `allowed for public access`, you can access the published version of the table and rows without any authentication.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Hubspot::Cms::Hubdb::ImportResult
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'ImportResult' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Hubspot::Cms::Hubdb::ImportResult.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of ImportResult' do
|
31
|
+
it 'should create an instance of ImportResult' do
|
32
|
+
expect(@instance).to be_instance_of(Hubspot::Cms::Hubdb::ImportResult)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "errors"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "rows_imported"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "duplicate_rows"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "row_limit_exceeded"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
=begin
|
2
|
+
#HubDB endpoints
|
3
|
+
|
4
|
+
#HubDB is a relational data store that presents data as rows, columns, and cells in a table, much like a spreadsheet. HubDB tables can be added or modified [in the HubSpot CMS](https://knowledge.hubspot.com/cos-general/how-to-edit-hubdb-tables), but you can also use the API endpoints documented here. For more information on HubDB tables and using their data on a HubSpot site, see the [CMS developers site](https://designers.hubspot.com/docs/tools/hubdb). You can also see the [documentation for dynamic pages](https://designers.hubspot.com/docs/tutorials/how-to-build-dynamic-pages-with-hubdb) for more details about the `useForPages` field. HubDB tables support `draft` and `live` versions and you can publish and unpublish the live version. This allows you to update data in the table, either for testing or to allow for a manual approval process, without affecting any live pages using the existing data. Draft data can be reviewed, pushed to live version, and published by a user working in HubSpot or published via the API. Draft data can also be discarded, allowing users to go back to the live version of the data without disrupting it. If a table is set to be `allowed for public access`, you can access the published version of the table and rows without any authentication.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Hubspot::Cms::Hubdb::NextPage
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'NextPage' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Hubspot::Cms::Hubdb::NextPage.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of NextPage' do
|
31
|
+
it 'should create an instance of NextPage' do
|
32
|
+
expect(@instance).to be_instance_of(Hubspot::Cms::Hubdb::NextPage)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "after"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "link"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
@@ -0,0 +1,59 @@
|
|
1
|
+
=begin
|
2
|
+
#HubDB endpoints
|
3
|
+
|
4
|
+
#HubDB is a relational data store that presents data as rows, columns, and cells in a table, much like a spreadsheet. HubDB tables can be added or modified [in the HubSpot CMS](https://knowledge.hubspot.com/cos-general/how-to-edit-hubdb-tables), but you can also use the API endpoints documented here. For more information on HubDB tables and using their data on a HubSpot site, see the [CMS developers site](https://designers.hubspot.com/docs/tools/hubdb). You can also see the [documentation for dynamic pages](https://designers.hubspot.com/docs/tutorials/how-to-build-dynamic-pages-with-hubdb) for more details about the `useForPages` field. HubDB tables support `draft` and `live` versions and you can publish and unpublish the live version. This allows you to update data in the table, either for testing or to allow for a manual approval process, without affecting any live pages using the existing data. Draft data can be reviewed, pushed to live version, and published by a user working in HubSpot or published via the API. Draft data can also be discarded, allowing users to go back to the live version of the data without disrupting it. If a table is set to be `allowed for public access`, you can access the published version of the table and rows without any authentication.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Hubspot::Cms::Hubdb::Option
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'Option' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Hubspot::Cms::Hubdb::Option.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of Option' do
|
31
|
+
it 'should create an instance of Option' do
|
32
|
+
expect(@instance).to be_instance_of(Hubspot::Cms::Hubdb::Option)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "id"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "name"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "type"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "order"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
@@ -0,0 +1,59 @@
|
|
1
|
+
=begin
|
2
|
+
#HubDB endpoints
|
3
|
+
|
4
|
+
#HubDB is a relational data store that presents data as rows, columns, and cells in a table, much like a spreadsheet. HubDB tables can be added or modified [in the HubSpot CMS](https://knowledge.hubspot.com/cos-general/how-to-edit-hubdb-tables), but you can also use the API endpoints documented here. For more information on HubDB tables and using their data on a HubSpot site, see the [CMS developers site](https://designers.hubspot.com/docs/tools/hubdb). You can also see the [documentation for dynamic pages](https://designers.hubspot.com/docs/tutorials/how-to-build-dynamic-pages-with-hubdb) for more details about the `useForPages` field. HubDB tables support `draft` and `live` versions and you can publish and unpublish the live version. This allows you to update data in the table, either for testing or to allow for a manual approval process, without affecting any live pages using the existing data. Draft data can be reviewed, pushed to live version, and published by a user working in HubSpot or published via the API. Draft data can also be discarded, allowing users to go back to the live version of the data without disrupting it. If a table is set to be `allowed for public access`, you can access the published version of the table and rows without any authentication.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Hubspot::Cms::Hubdb::SimpleUser
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'SimpleUser' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Hubspot::Cms::Hubdb::SimpleUser.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of SimpleUser' do
|
31
|
+
it 'should create an instance of SimpleUser' do
|
32
|
+
expect(@instance).to be_instance_of(Hubspot::Cms::Hubdb::SimpleUser)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "id"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "email"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "first_name"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "last_name"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
@@ -0,0 +1,83 @@
|
|
1
|
+
=begin
|
2
|
+
#HubDB endpoints
|
3
|
+
|
4
|
+
#HubDB is a relational data store that presents data as rows, columns, and cells in a table, much like a spreadsheet. HubDB tables can be added or modified [in the HubSpot CMS](https://knowledge.hubspot.com/cos-general/how-to-edit-hubdb-tables), but you can also use the API endpoints documented here. For more information on HubDB tables and using their data on a HubSpot site, see the [CMS developers site](https://designers.hubspot.com/docs/tools/hubdb). You can also see the [documentation for dynamic pages](https://designers.hubspot.com/docs/tutorials/how-to-build-dynamic-pages-with-hubdb) for more details about the `useForPages` field. HubDB tables support `draft` and `live` versions and you can publish and unpublish the live version. This allows you to update data in the table, either for testing or to allow for a manual approval process, without affecting any live pages using the existing data. Draft data can be reviewed, pushed to live version, and published by a user working in HubSpot or published via the API. Draft data can also be discarded, allowing users to go back to the live version of the data without disrupting it. If a table is set to be `allowed for public access`, you can access the published version of the table and rows without any authentication.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Hubspot::Cms::Hubdb::StandardError
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'StandardError' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Hubspot::Cms::Hubdb::StandardError.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of StandardError' do
|
31
|
+
it 'should create an instance of StandardError' do
|
32
|
+
expect(@instance).to be_instance_of(Hubspot::Cms::Hubdb::StandardError)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "status"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "id"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "category"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "sub_category"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
describe 'test attribute "message"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
describe 'test attribute "errors"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
describe 'test attribute "context"' do
|
72
|
+
it 'should work' do
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
describe 'test attribute "links"' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
end
|
@@ -0,0 +1,73 @@
|
|
1
|
+
=begin
|
2
|
+
#CMS Performance API
|
3
|
+
|
4
|
+
#Use these endpoints to get a time series view of your website's performance.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for Hubspot::Cms::Performance::DefaultApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'DefaultApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = Hubspot::Cms::Performance::DefaultApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of DefaultApi' do
|
30
|
+
it 'should create an instance of DefaultApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(Hubspot::Cms::Performance::DefaultApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for get_page
|
36
|
+
# View your website's performance.
|
37
|
+
# Returns time series data website performance data for the given domain and/or path.
|
38
|
+
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [String] :domain The domain to search return data for.
|
40
|
+
# @option opts [String] :path The url path of the domain to return data for.
|
41
|
+
# @option opts [Boolean] :pad Specifies whether the time series data should have empty intervals if performance data is not present to create a continuous set.
|
42
|
+
# @option opts [Boolean] :sum Specifies whether the time series data should be summated for the given period. Defaults to false.
|
43
|
+
# @option opts [String] :period A relative period to return time series data for. This value is ignored if start and/or end are provided. Valid periods: [15m, 30m, 1h, 4h, 12h, 1d, 1w]
|
44
|
+
# @option opts [String] :interval The time series interval to group data by. Valid intervals: [1m, 5m, 15m, 30m, 1h, 4h, 12h, 1d, 1w]
|
45
|
+
# @option opts [Integer] :start A timestamp in milliseconds that indicates the start of the time period.
|
46
|
+
# @option opts [Integer] :_end A timestamp in milliseconds that indicates the end of the time period.
|
47
|
+
# @return [PublicPerformanceResponse]
|
48
|
+
describe 'get_page test' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
# unit tests for get_uptime
|
55
|
+
# View your website's uptime.
|
56
|
+
# Returns uptime time series website performance data for the given domain.
|
57
|
+
# @param [Hash] opts the optional parameters
|
58
|
+
# @option opts [String] :domain The domain to search return data for.
|
59
|
+
# @option opts [String] :path
|
60
|
+
# @option opts [Boolean] :pad Specifies whether the time series data should have empty intervals if performance data is not present to create a continuous set.
|
61
|
+
# @option opts [Boolean] :sum Specifies whether the time series data should be summated for the given period. Defaults to false.
|
62
|
+
# @option opts [String] :period A relative period to return time series data for. This value is ignored if start and/or end are provided. Valid periods: [15m, 30m, 1h, 4h, 12h, 1d, 1w]
|
63
|
+
# @option opts [String] :interval The time series interval to group data by. Valid intervals: [1m, 5m, 15m, 30m, 1h, 4h, 12h, 1d, 1w]
|
64
|
+
# @option opts [Integer] :start A timestamp in milliseconds that indicates the start of the time period.
|
65
|
+
# @option opts [Integer] :_end A timestamp in milliseconds that indicates the end of the time period.
|
66
|
+
# @return [PublicPerformanceResponse]
|
67
|
+
describe 'get_uptime test' do
|
68
|
+
it 'should work' do
|
69
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
end
|
@@ -0,0 +1,65 @@
|
|
1
|
+
=begin
|
2
|
+
#CMS Performance API
|
3
|
+
|
4
|
+
#Use these endpoints to get a time series view of your website's performance.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Hubspot::Cms::Performance::ErrorDetail
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'ErrorDetail' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Hubspot::Cms::Performance::ErrorDetail.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of ErrorDetail' do
|
31
|
+
it 'should create an instance of ErrorDetail' do
|
32
|
+
expect(@instance).to be_instance_of(Hubspot::Cms::Performance::ErrorDetail)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "message"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "_in"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "code"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "sub_category"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
describe 'test attribute "context"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
end
|