hubspot-api-client 10.1.1 → 11.2.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 +17 -0
- data/Gemfile.lock +10 -4
- data/README.md +21 -0
- data/hubspot-api-client.gemspec +1 -0
- data/lib/hubspot/client.rb +51 -0
- data/lib/hubspot/codegen/cms/audit-logs/api/{default_api.rb → audit_logs_api.rb} +3 -3
- data/lib/hubspot/codegen/cms/blogs/authors/api/{default_api.rb → author_api.rb} +28 -28
- data/lib/hubspot/codegen/cms/blogs/blog-posts/api/{default_api.rb → blog_post_api.rb} +62 -62
- data/lib/hubspot/codegen/cms/blogs/tags/api/{default_api.rb → tag_api.rb} +28 -28
- data/lib/hubspot/codegen/cms/domains/api/domains_api.rb +2 -2
- data/lib/hubspot/codegen/cms/domains/configuration.rb +0 -7
- data/lib/hubspot/codegen/cms/hubdb/api/rows_api.rb +102 -102
- data/lib/hubspot/codegen/cms/hubdb/api/rows_batch_api.rb +21 -21
- data/lib/hubspot/codegen/cms/hubdb/api/tables_api.rb +100 -108
- data/lib/hubspot/codegen/cms/hubdb/api_client.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/api_error.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/configuration.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/{batch_input_hub_db_table_row_v3.rb → batch_input_hub_db_table_row_v3_request.rb} +5 -5
- data/lib/hubspot/codegen/cms/hubdb/models/batch_input_json_node.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/batch_input_string.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/batch_response_hub_db_table_row_v3_with_errors.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/collection_response_with_total_hub_db_table_row_v3_forward_paging.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/collection_response_with_total_hub_db_table_v3_forward_paging.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/column.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/{column_input.rb → column_request.rb} +71 -47
- data/lib/hubspot/codegen/cms/hubdb/models/error.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/error_detail.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/foreign_id.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/forward_paging.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_clone_request.rb +4 -9
- data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_row_v3.rb +12 -27
- data/lib/hubspot/codegen/cms/hubdb/models/{hub_db_table_row_v3_input.rb → hub_db_table_row_v3_request.rb} +25 -20
- data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_v3.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/{hub_db_table_v3_input.rb → hub_db_table_v3_request.rb} +53 -53
- data/lib/hubspot/codegen/cms/hubdb/models/import_result.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/next_page.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/option.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/simple_user.rb +1 -1
- data/lib/hubspot/codegen/cms/hubdb/models/standard_error.rb +1 -1
- data/lib/hubspot/codegen/cms/performance/api/{default_api.rb → public_performance_api.rb} +5 -5
- data/lib/hubspot/codegen/cms/site-search/api/{default_api.rb → public_api.rb} +7 -7
- data/lib/hubspot/codegen/cms/site-search/models/search_hit_field.rb +15 -15
- data/lib/hubspot/codegen/crm/companies/api/batch_api.rb +0 -8
- data/lib/hubspot/codegen/crm/companies/api/search_api.rb +0 -4
- data/lib/hubspot/codegen/crm/companies/models/filter.rb +3 -2
- data/lib/hubspot/codegen/crm/contacts/api/batch_api.rb +0 -8
- data/lib/hubspot/codegen/crm/contacts/api/gdpr_api.rb +150 -0
- data/lib/hubspot/codegen/crm/contacts/api/search_api.rb +0 -4
- data/lib/hubspot/codegen/crm/contacts/models/filter.rb +3 -2
- data/lib/hubspot/codegen/crm/deals/api/batch_api.rb +0 -8
- data/lib/hubspot/codegen/crm/deals/api/search_api.rb +0 -4
- data/lib/hubspot/codegen/crm/deals/models/filter.rb +3 -2
- data/lib/hubspot/codegen/crm/imports/api/core_api.rb +2 -2
- data/lib/hubspot/codegen/crm/imports/api/{default_api.rb → public_imports_api.rb} +8 -8
- data/lib/hubspot/codegen/crm/imports/models/public_import_error.rb +4 -4
- data/lib/hubspot/codegen/crm/line_items/api/batch_api.rb +0 -8
- data/lib/hubspot/codegen/crm/line_items/api/search_api.rb +0 -4
- data/lib/hubspot/codegen/crm/line_items/models/filter.rb +3 -2
- data/lib/hubspot/codegen/crm/objects/api/batch_api.rb +0 -8
- data/lib/hubspot/codegen/crm/objects/api/gdpr_api.rb +162 -0
- data/lib/hubspot/codegen/crm/objects/api/search_api.rb +0 -4
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/batch_api.rb +0 -2
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/search_api.rb +0 -4
- data/lib/hubspot/codegen/crm/objects/feedback_submissions/models/filter.rb +3 -2
- data/lib/hubspot/codegen/crm/objects/models/filter.rb +3 -2
- data/lib/hubspot/codegen/crm/owners/api/{default_api.rb → owners_api.rb} +6 -6
- data/lib/hubspot/codegen/crm/products/api/batch_api.rb +0 -8
- data/lib/hubspot/codegen/crm/products/api/search_api.rb +0 -4
- data/lib/hubspot/codegen/crm/products/models/filter.rb +3 -2
- data/lib/hubspot/codegen/crm/quotes/api/batch_api.rb +0 -2
- data/lib/hubspot/codegen/crm/quotes/api/search_api.rb +0 -4
- data/lib/hubspot/codegen/crm/quotes/models/filter.rb +3 -2
- data/lib/hubspot/codegen/crm/schemas/api/core_api.rb +3 -3
- data/lib/hubspot/codegen/crm/schemas/api/{default_api.rb → public_object_schemas_api.rb} +4 -4
- data/lib/hubspot/codegen/crm/tickets/api/batch_api.rb +0 -8
- data/lib/hubspot/codegen/crm/tickets/api/search_api.rb +0 -4
- data/lib/hubspot/codegen/crm/tickets/models/filter.rb +3 -2
- data/lib/hubspot/codegen/crm/timeline/api/templates_api.rb +3 -3
- data/lib/hubspot/codegen/crm/timeline/models/{collection_response_timeline_event_template.rb → collection_response_timeline_event_template_no_paging.rb} +7 -17
- data/lib/hubspot/codegen/files/files/api/files_api.rb +12 -6
- data/lib/hubspot/codegen/files/files/api/folders_api.rb +12 -0
- data/lib/hubspot/codegen/files/files/models/collection_response_file.rb +1 -1
- data/lib/hubspot/codegen/files/files/models/error_category.rb +18 -18
- data/lib/hubspot/codegen/marketing/transactional/api/{default_api.rb → public_smtp_tokens_api.rb} +14 -74
- data/lib/hubspot/codegen/marketing/transactional/api/single_send_api.rb +86 -0
- data/lib/hubspot/codegen/oauth/api/access_tokens_api.rb +82 -0
- data/lib/hubspot/codegen/oauth/api/refresh_tokens_api.rb +140 -0
- data/lib/hubspot/codegen/oauth/api/tokens_api.rb +100 -0
- data/lib/hubspot/codegen/oauth/models/access_token_info_response.rb +33 -1
- data/lib/hubspot/codegen/oauth/models/token_response_if.rb +27 -4
- data/lib/hubspot/discovery/automation/actions/api/callbacks_api.rb +13 -0
- data/lib/hubspot/discovery/automation/actions/api/definitions_api.rb +13 -0
- data/lib/hubspot/discovery/automation/actions/api/functions_api.rb +13 -0
- data/lib/hubspot/discovery/automation/actions/api/revisions_api.rb +13 -0
- data/lib/hubspot/discovery/automation/actions/client.rb +22 -0
- data/lib/hubspot/discovery/automation/client.rb +17 -0
- data/lib/hubspot/discovery/base_api_client.rb +70 -0
- data/lib/hubspot/discovery/base_module_client.rb +55 -0
- data/lib/hubspot/discovery/cms/audit_logs/api/audit_logs_api.rb +13 -0
- data/lib/hubspot/discovery/cms/audit_logs/client.rb +19 -0
- data/lib/hubspot/discovery/cms/blogs/authors/api/author_api.rb +15 -0
- data/lib/hubspot/discovery/cms/blogs/authors/client.rb +21 -0
- data/lib/hubspot/discovery/cms/blogs/blog_posts/api/blog_post_api.rb +15 -0
- data/lib/hubspot/discovery/cms/blogs/blog_posts/client.rb +21 -0
- data/lib/hubspot/discovery/cms/blogs/client.rb +21 -0
- data/lib/hubspot/discovery/cms/blogs/tags/api/tag_api.rb +15 -0
- data/lib/hubspot/discovery/cms/blogs/tags/client.rb +21 -0
- data/lib/hubspot/discovery/cms/client.rb +23 -0
- data/lib/hubspot/discovery/cms/domains/api/domains_api.rb +13 -0
- data/lib/hubspot/discovery/cms/domains/client.rb +19 -0
- data/lib/hubspot/discovery/cms/hubdb/api/rows_api.rb +13 -0
- data/lib/hubspot/discovery/cms/hubdb/api/rows_batch_api.rb +13 -0
- data/lib/hubspot/discovery/cms/hubdb/api/tables_api.rb +13 -0
- data/lib/hubspot/discovery/cms/hubdb/client.rb +21 -0
- data/lib/hubspot/discovery/cms/performance/api/public_performance_api.rb +13 -0
- data/lib/hubspot/discovery/cms/performance/client.rb +19 -0
- data/lib/hubspot/discovery/cms/site_search/api/public_api.rb +13 -0
- data/lib/hubspot/discovery/cms/site_search/client.rb +19 -0
- data/lib/hubspot/discovery/cms/url_redirects/api/redirects_api.rb +13 -0
- data/lib/hubspot/discovery/cms/url_redirects/client.rb +19 -0
- data/lib/hubspot/discovery/communication_preferences/api/definition_api.rb +11 -0
- data/lib/hubspot/discovery/communication_preferences/api/status_api.rb +11 -0
- data/lib/hubspot/discovery/communication_preferences/client.rb +18 -0
- data/lib/hubspot/discovery/conversations/client.rb +17 -0
- data/lib/hubspot/discovery/conversations/visitor_identification/api/generate_api.rb +13 -0
- data/lib/hubspot/discovery/conversations/visitor_identification/client.rb +19 -0
- data/lib/hubspot/discovery/crm/associations/api/batch_api.rb +13 -0
- data/lib/hubspot/discovery/crm/associations/api/types_api.rb +13 -0
- data/lib/hubspot/discovery/crm/associations/client.rb +20 -0
- data/lib/hubspot/discovery/crm/client.rb +32 -0
- data/lib/hubspot/discovery/crm/companies/api/associations_api.rb +13 -0
- data/lib/hubspot/discovery/crm/companies/api/basic_api.rb +13 -0
- data/lib/hubspot/discovery/crm/companies/api/batch_api.rb +13 -0
- data/lib/hubspot/discovery/crm/companies/api/search_api.rb +13 -0
- data/lib/hubspot/discovery/crm/companies/client.rb +22 -0
- data/lib/hubspot/discovery/crm/contacts/api/associations_api.rb +13 -0
- data/lib/hubspot/discovery/crm/contacts/api/basic_api.rb +13 -0
- data/lib/hubspot/discovery/crm/contacts/api/batch_api.rb +13 -0
- data/lib/hubspot/discovery/crm/contacts/api/gdpr_api.rb +13 -0
- data/lib/hubspot/discovery/crm/contacts/api/search_api.rb +13 -0
- data/lib/hubspot/discovery/crm/contacts/client.rb +23 -0
- data/lib/hubspot/discovery/crm/deals/api/associations_api.rb +13 -0
- data/lib/hubspot/discovery/crm/deals/api/basic_api.rb +13 -0
- data/lib/hubspot/discovery/crm/deals/api/batch_api.rb +13 -0
- data/lib/hubspot/discovery/crm/deals/api/search_api.rb +13 -0
- data/lib/hubspot/discovery/crm/deals/client.rb +22 -0
- data/lib/hubspot/discovery/crm/extensions/accounting/api/callbacks_api.rb +15 -0
- data/lib/hubspot/discovery/crm/extensions/accounting/api/invoice_api.rb +15 -0
- data/lib/hubspot/discovery/crm/extensions/accounting/api/settings_api.rb +15 -0
- data/lib/hubspot/discovery/crm/extensions/accounting/api/sync_api.rb +15 -0
- data/lib/hubspot/discovery/crm/extensions/accounting/api/user_accounts_api.rb +15 -0
- data/lib/hubspot/discovery/crm/extensions/accounting/client.rb +25 -0
- data/lib/hubspot/discovery/crm/extensions/calling/api/settings_api.rb +15 -0
- data/lib/hubspot/discovery/crm/extensions/calling/client.rb +21 -0
- data/lib/hubspot/discovery/crm/extensions/cards/api/cards_api.rb +15 -0
- data/lib/hubspot/discovery/crm/extensions/cards/api/sample_response_api.rb +15 -0
- data/lib/hubspot/discovery/crm/extensions/cards/client.rb +22 -0
- data/lib/hubspot/discovery/crm/extensions/client.rb +22 -0
- data/lib/hubspot/discovery/crm/extensions/videoconferencing/api/settings_api.rb +15 -0
- data/lib/hubspot/discovery/crm/extensions/videoconferencing/client.rb +21 -0
- data/lib/hubspot/discovery/crm/imports/api/core_api.rb +13 -0
- data/lib/hubspot/discovery/crm/imports/api/public_imports_api.rb +13 -0
- data/lib/hubspot/discovery/crm/imports/client.rb +20 -0
- data/lib/hubspot/discovery/crm/line_items/api/associations_api.rb +13 -0
- data/lib/hubspot/discovery/crm/line_items/api/basic_api.rb +13 -0
- data/lib/hubspot/discovery/crm/line_items/api/batch_api.rb +13 -0
- data/lib/hubspot/discovery/crm/line_items/api/search_api.rb +13 -0
- data/lib/hubspot/discovery/crm/line_items/client.rb +22 -0
- data/lib/hubspot/discovery/crm/objects/api/associations_api.rb +13 -0
- data/lib/hubspot/discovery/crm/objects/api/basic_api.rb +13 -0
- data/lib/hubspot/discovery/crm/objects/api/batch_api.rb +13 -0
- data/lib/hubspot/discovery/crm/objects/api/gdpr_api.rb +13 -0
- data/lib/hubspot/discovery/crm/objects/api/search_api.rb +13 -0
- data/lib/hubspot/discovery/crm/objects/client.rb +29 -0
- data/lib/hubspot/discovery/crm/objects/feedback_submissions/api/associations_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/feedback_submissions/api/basic_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/feedback_submissions/api/batch_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/feedback_submissions/api/search_api.rb +15 -0
- data/lib/hubspot/discovery/crm/objects/feedback_submissions/client.rb +24 -0
- data/lib/hubspot/discovery/crm/owners/api/owners_api.rb +13 -0
- data/lib/hubspot/discovery/crm/owners/client.rb +19 -0
- data/lib/hubspot/discovery/crm/pipelines/api/pipeline_stages_api.rb +13 -0
- data/lib/hubspot/discovery/crm/pipelines/api/pipelines_api.rb +13 -0
- data/lib/hubspot/discovery/crm/pipelines/client.rb +20 -0
- data/lib/hubspot/discovery/crm/products/api/associations_api.rb +13 -0
- data/lib/hubspot/discovery/crm/products/api/basic_api.rb +13 -0
- data/lib/hubspot/discovery/crm/products/api/batch_api.rb +13 -0
- data/lib/hubspot/discovery/crm/products/api/search_api.rb +13 -0
- data/lib/hubspot/discovery/crm/products/client.rb +22 -0
- data/lib/hubspot/discovery/crm/properties/api/batch_api.rb +13 -0
- data/lib/hubspot/discovery/crm/properties/api/core_api.rb +13 -0
- data/lib/hubspot/discovery/crm/properties/api/groups_api.rb +13 -0
- data/lib/hubspot/discovery/crm/properties/client.rb +21 -0
- data/lib/hubspot/discovery/crm/quotes/api/associations_api.rb +13 -0
- data/lib/hubspot/discovery/crm/quotes/api/basic_api.rb +13 -0
- data/lib/hubspot/discovery/crm/quotes/api/batch_api.rb +13 -0
- data/lib/hubspot/discovery/crm/quotes/api/search_api.rb +13 -0
- data/lib/hubspot/discovery/crm/quotes/client.rb +22 -0
- data/lib/hubspot/discovery/crm/schemas/api/core_api.rb +13 -0
- data/lib/hubspot/discovery/crm/schemas/api/public_object_schemas_api.rb +13 -0
- data/lib/hubspot/discovery/crm/schemas/client.rb +20 -0
- data/lib/hubspot/discovery/crm/tickets/api/associations_api.rb +13 -0
- data/lib/hubspot/discovery/crm/tickets/api/basic_api.rb +13 -0
- data/lib/hubspot/discovery/crm/tickets/api/batch_api.rb +13 -0
- data/lib/hubspot/discovery/crm/tickets/api/search_api.rb +13 -0
- data/lib/hubspot/discovery/crm/tickets/client.rb +22 -0
- data/lib/hubspot/discovery/crm/timeline/api/events_api.rb +13 -0
- data/lib/hubspot/discovery/crm/timeline/api/templates_api.rb +13 -0
- data/lib/hubspot/discovery/crm/timeline/api/tokens_api.rb +13 -0
- data/lib/hubspot/discovery/crm/timeline/client.rb +21 -0
- data/lib/hubspot/discovery/events/api/events_api.rb +11 -0
- data/lib/hubspot/discovery/events/client.rb +17 -0
- data/lib/hubspot/discovery/files/client.rb +17 -0
- data/lib/hubspot/discovery/files/files/api/files_api.rb +13 -0
- data/lib/hubspot/discovery/files/files/api/folders_api.rb +13 -0
- data/lib/hubspot/discovery/files/files/client.rb +20 -0
- data/lib/hubspot/discovery/marketing/client.rb +17 -0
- data/lib/hubspot/discovery/marketing/transactional/api/public_smtp_tokens_api.rb +13 -0
- data/lib/hubspot/discovery/marketing/transactional/api/single_send_api.rb +13 -0
- data/lib/hubspot/discovery/marketing/transactional/client.rb +20 -0
- data/lib/hubspot/discovery/oauth/api/access_tokens_api.rb +11 -0
- data/lib/hubspot/discovery/oauth/api/refresh_tokens_api.rb +11 -0
- data/lib/hubspot/discovery/oauth/api/tokens_api.rb +11 -0
- data/lib/hubspot/discovery/oauth/client.rb +19 -0
- data/lib/hubspot/discovery/webhooks/api/settings_api.rb +11 -0
- data/lib/hubspot/discovery/webhooks/api/subscriptions_api.rb +11 -0
- data/lib/hubspot/discovery/webhooks/client.rb +18 -0
- data/lib/hubspot/helpers/camel_case.rb +9 -0
- data/lib/hubspot/helpers/snake_case.rb +13 -0
- data/lib/hubspot/version.rb +1 -1
- data/lib/hubspot-api-client.rb +1 -0
- data/pkg/hubspot-api-client-10.1.1.gem +0 -0
- data/spec/codegen/cms/audit-logs/api/{default_api_spec.rb → audit_logs_api_spec.rb} +6 -6
- data/spec/codegen/cms/blogs/authors/api/{default_api_spec.rb → author_api_spec.rb} +6 -6
- data/spec/codegen/cms/blogs/blog-posts/api/{default_api_spec.rb → blog_post_api_spec.rb} +6 -6
- data/spec/codegen/cms/blogs/tags/api/{default_api_spec.rb → tag_api_spec.rb} +6 -6
- data/spec/codegen/cms/hubdb/api/rows_api_spec.rb +18 -18
- data/spec/codegen/cms/hubdb/api/rows_batch_api_spec.rb +4 -4
- data/spec/codegen/cms/hubdb/api/tables_api_spec.rb +35 -36
- data/spec/codegen/cms/hubdb/models/{batch_input_hub_db_table_row_v3_spec.rb → batch_input_hub_db_table_row_v3_request_spec.rb} +7 -7
- data/spec/codegen/cms/hubdb/models/batch_input_json_node_spec.rb +1 -1
- data/spec/codegen/cms/hubdb/models/batch_input_string_spec.rb +1 -1
- data/spec/codegen/cms/hubdb/models/batch_response_hub_db_table_row_v3_with_errors_spec.rb +1 -1
- data/spec/codegen/cms/hubdb/models/collection_response_with_total_hub_db_table_row_v3_forward_paging_spec.rb +1 -1
- data/spec/codegen/cms/hubdb/models/collection_response_with_total_hub_db_table_v3_forward_paging_spec.rb +1 -1
- data/spec/codegen/cms/hubdb/models/{column_input_spec.rb → column_request_spec.rb} +14 -22
- data/spec/codegen/cms/hubdb/models/column_spec.rb +1 -1
- data/spec/codegen/cms/hubdb/models/error_detail_spec.rb +1 -1
- data/spec/codegen/cms/hubdb/models/error_spec.rb +1 -1
- data/spec/codegen/cms/hubdb/models/foreign_id_spec.rb +1 -1
- data/spec/codegen/cms/hubdb/models/forward_paging_spec.rb +1 -1
- data/spec/codegen/cms/hubdb/models/hub_db_table_clone_request_spec.rb +1 -1
- data/spec/codegen/cms/hubdb/models/{hub_db_table_row_v3_input_spec.rb → hub_db_table_row_v3_request_spec.rb} +10 -10
- data/spec/codegen/cms/hubdb/models/hub_db_table_row_v3_spec.rb +7 -1
- data/spec/codegen/cms/hubdb/models/{hub_db_table_v3_input_spec.rb → hub_db_table_v3_request_spec.rb} +13 -13
- data/spec/codegen/cms/hubdb/models/hub_db_table_v3_spec.rb +1 -1
- data/spec/codegen/cms/hubdb/models/import_result_spec.rb +1 -1
- data/spec/codegen/cms/hubdb/models/next_page_spec.rb +1 -1
- data/spec/codegen/cms/hubdb/models/option_spec.rb +1 -1
- data/spec/codegen/cms/hubdb/models/simple_user_spec.rb +1 -1
- data/spec/codegen/cms/hubdb/models/standard_error_spec.rb +1 -1
- data/spec/codegen/cms/performance/api/{default_api_spec.rb → public_performance_api_spec.rb} +6 -6
- data/spec/codegen/cms/site-search/api/{default_api_spec.rb → public_api_spec.rb} +6 -6
- data/spec/codegen/cms/site-search/models/search_hit_field_spec.rb +2 -2
- data/spec/codegen/crm/companies/api/batch_api_spec.rb +0 -4
- data/spec/codegen/crm/companies/api/search_api_spec.rb +0 -2
- data/spec/codegen/crm/companies/models/filter_spec.rb +1 -1
- data/spec/codegen/crm/contacts/api/batch_api_spec.rb +0 -4
- data/spec/codegen/crm/contacts/api/gdpr_api_spec.rb +59 -0
- data/spec/codegen/crm/contacts/api/search_api_spec.rb +0 -2
- data/spec/codegen/crm/contacts/models/filter_spec.rb +1 -1
- data/spec/codegen/crm/deals/api/batch_api_spec.rb +0 -4
- data/spec/codegen/crm/deals/api/search_api_spec.rb +0 -2
- data/spec/codegen/crm/deals/models/filter_spec.rb +1 -1
- data/spec/codegen/crm/imports/api/{default_api_spec.rb → public_imports_api_spec.rb} +8 -8
- data/spec/codegen/crm/imports/models/public_import_error_spec.rb +2 -2
- data/spec/codegen/crm/line_items/api/batch_api_spec.rb +0 -4
- data/spec/codegen/crm/line_items/api/search_api_spec.rb +0 -2
- data/spec/codegen/crm/line_items/models/filter_spec.rb +1 -1
- data/spec/codegen/crm/objects/api/batch_api_spec.rb +0 -4
- data/spec/codegen/crm/objects/api/gdpr_api_spec.rb +61 -0
- data/spec/codegen/crm/objects/api/search_api_spec.rb +0 -2
- data/spec/codegen/crm/objects/feedback_submissions/api/batch_api_spec.rb +0 -1
- data/spec/codegen/crm/objects/feedback_submissions/api/search_api_spec.rb +0 -2
- data/spec/codegen/crm/objects/feedback_submissions/models/filter_spec.rb +1 -1
- data/spec/codegen/crm/objects/models/filter_spec.rb +1 -1
- data/spec/codegen/crm/owners/api/{default_api_spec.rb → owners_api_spec.rb} +6 -6
- data/spec/codegen/crm/products/api/batch_api_spec.rb +0 -4
- data/spec/codegen/crm/products/api/search_api_spec.rb +0 -2
- data/spec/codegen/crm/products/models/filter_spec.rb +1 -1
- data/spec/codegen/crm/quotes/api/batch_api_spec.rb +0 -1
- data/spec/codegen/crm/quotes/api/search_api_spec.rb +0 -2
- data/spec/codegen/crm/quotes/models/filter_spec.rb +1 -1
- data/spec/codegen/crm/schemas/api/{default_api_spec.rb → public_object_schemas_api_spec.rb} +6 -6
- data/spec/codegen/crm/tickets/api/batch_api_spec.rb +0 -4
- data/spec/codegen/crm/tickets/api/search_api_spec.rb +0 -2
- data/spec/codegen/crm/tickets/models/filter_spec.rb +1 -1
- data/spec/codegen/crm/timeline/api/templates_api_spec.rb +1 -1
- data/spec/codegen/crm/timeline/models/{collection_response_timeline_event_template_spec.rb → collection_response_timeline_event_template_no_paging_spec.rb} +6 -12
- data/spec/codegen/files/files/api/files_api_spec.rb +4 -2
- data/spec/codegen/files/files/api/folders_api_spec.rb +4 -0
- data/spec/codegen/files/files/models/error_category_spec.rb +6 -6
- data/spec/codegen/marketing/transactional/api/{default_api_spec.rb → public_smtp_tokens_api_spec.rb} +6 -18
- data/spec/codegen/marketing/transactional/api/single_send_api_spec.rb +47 -0
- data/spec/codegen/oauth/api/access_tokens_api_spec.rb +45 -0
- data/spec/codegen/oauth/api/{default_api_spec.rb → refresh_tokens_api_spec.rb} +6 -31
- data/spec/codegen/oauth/api/tokens_api_spec.rb +50 -0
- data/spec/codegen/oauth/models/access_token_info_response_spec.rb +12 -0
- data/spec/codegen/oauth/models/token_response_if_spec.rb +12 -0
- data/spec/discovery/automation/actions/callbacks_api_spec.rb +8 -0
- data/spec/discovery/automation/actions/definitions_api_spec.rb +11 -0
- data/spec/discovery/automation/actions/functions_api_spec.rb +13 -0
- data/spec/discovery/automation/actions/revisions_api_spec.rb +8 -0
- data/spec/discovery/base_api_client_spec.rb +69 -0
- data/spec/discovery/base_module_client_spec.rb +28 -0
- data/spec/discovery/client_spec.rb +16 -0
- data/spec/discovery/cms/audit-logs/audit_logs_api_spec.rb +7 -0
- data/spec/discovery/cms/blogs/authors/author_api_spec.rb +15 -0
- data/spec/discovery/cms/blogs/blog-posts/blog_post_api_spec.rb +25 -0
- data/spec/discovery/cms/blogs/tags/tag_api_spec.rb +15 -0
- data/spec/discovery/cms/domains/domains_api_spec.rb +8 -0
- data/spec/discovery/cms/hubdb/rows_api_spec.rb +15 -0
- data/spec/discovery/cms/hubdb/rows_batch_api_spec.rb +13 -0
- data/spec/discovery/cms/hubdb/tables_api_spec.rb +20 -0
- data/spec/discovery/cms/performance/public_performance_api_spec.rb +8 -0
- data/spec/discovery/cms/site-search/public_api_spec.rb +8 -0
- data/spec/discovery/cms/url-redirects/redirects_api_spec.rb +11 -0
- data/spec/discovery/communication_preferences/definition_api_spec.rb +7 -0
- data/spec/discovery/communication_preferences/status_api_spec.rb +9 -0
- data/spec/discovery/conversations/visitor-identification/generate_api_spec.rb +7 -0
- data/spec/discovery/crm/associations/batch_api_spec.rb +9 -0
- data/spec/discovery/crm/associations/types_api_spec.rb +7 -0
- data/spec/discovery/crm/companies/associations_api_spec.rb +9 -0
- data/spec/discovery/crm/companies/basic_api_spec.rb +11 -0
- data/spec/discovery/crm/companies/batch_api_spec.rb +10 -0
- data/spec/discovery/crm/companies/search_api_spec.rb +7 -0
- data/spec/discovery/crm/contacts/associations_api_spec.rb +9 -0
- data/spec/discovery/crm/contacts/basic_api_spec.rb +11 -0
- data/spec/discovery/crm/contacts/batch_api_spec.rb +10 -0
- data/spec/discovery/crm/contacts/gdpr_api_spec.rb +8 -0
- data/spec/discovery/crm/contacts/search_api_spec.rb +7 -0
- data/spec/discovery/crm/deals/associations_api_spec.rb +9 -0
- data/spec/discovery/crm/deals/basic_api_spec.rb +11 -0
- data/spec/discovery/crm/deals/batch_api_spec.rb +10 -0
- data/spec/discovery/crm/deals/search_api_spec.rb +7 -0
- data/spec/discovery/crm/extensions/accounting/callbacks_api_spec.rb +16 -0
- data/spec/discovery/crm/extensions/accounting/invoice_api_spec.rb +9 -0
- data/spec/discovery/crm/extensions/accounting/settings_api_spec.rb +8 -0
- data/spec/discovery/crm/extensions/accounting/sync_api_spec.rb +8 -0
- data/spec/discovery/crm/extensions/accounting/user_accounts_api_spec.rb +8 -0
- data/spec/discovery/crm/extensions/calling/settings_api_spec.rb +10 -0
- data/spec/discovery/crm/extensions/cards/cards_api_spec.rb +11 -0
- data/spec/discovery/crm/extensions/cards/sample_response_api_spec.rb +7 -0
- data/spec/discovery/crm/extensions/videoconferencing/settings_api_spec.rb +9 -0
- data/spec/discovery/crm/imports/core_api_spec.rb +10 -0
- data/spec/discovery/crm/imports/public_imports_api_spec.rb +7 -0
- data/spec/discovery/crm/line_items/associations_api_spec.rb +9 -0
- data/spec/discovery/crm/line_items/basic_api_spec.rb +11 -0
- data/spec/discovery/crm/line_items/batch_api_spec.rb +10 -0
- data/spec/discovery/crm/line_items/search_api_spec.rb +7 -0
- data/spec/discovery/crm/objects/associations_api_spec.rb +9 -0
- data/spec/discovery/crm/objects/basic_api_spec.rb +12 -0
- data/spec/discovery/crm/objects/batch_api_spec.rb +10 -0
- data/spec/discovery/crm/objects/feedback_submissions/associations_api_spec.rb +7 -0
- data/spec/discovery/crm/objects/feedback_submissions/basic_api_spec.rb +8 -0
- data/spec/discovery/crm/objects/feedback_submissions/batch_api_spec.rb +7 -0
- data/spec/discovery/crm/objects/feedback_submissions/search_api_spec.rb +7 -0
- data/spec/discovery/crm/objects/gdpr_api_spec.rb +8 -0
- data/spec/discovery/crm/objects/search_api_spec.rb +7 -0
- data/spec/discovery/crm/owners/owners_api_spec.rb +8 -0
- data/spec/discovery/crm/pipelines/pipeline_stages_api_spec.rb +12 -0
- data/spec/discovery/crm/pipelines/pipelines_api_spec.rb +12 -0
- data/spec/discovery/crm/products/associations_api_spec.rb +9 -0
- data/spec/discovery/crm/products/basic_api_spec.rb +11 -0
- data/spec/discovery/crm/products/batch_api_spec.rb +10 -0
- data/spec/discovery/crm/products/search_api_spec.rb +7 -0
- data/spec/discovery/crm/properties/batch_api_spec.rb +9 -0
- data/spec/discovery/crm/properties/core_api_spec.rb +11 -0
- data/spec/discovery/crm/properties/groups_api_spec.rb +11 -0
- data/spec/discovery/crm/quotes/associations_api_spec.rb +7 -0
- data/spec/discovery/crm/quotes/basic_api_spec.rb +8 -0
- data/spec/discovery/crm/quotes/batch_api_spec.rb +7 -0
- data/spec/discovery/crm/quotes/search_api_spec.rb +7 -0
- data/spec/discovery/crm/schemas/core_api_spec.rb +13 -0
- data/spec/discovery/crm/schemas/public_object_schemas_api_spec.rb +7 -0
- data/spec/discovery/crm/tickets/associations_api_spec.rb +9 -0
- data/spec/discovery/crm/tickets/basic_api_spec.rb +11 -0
- data/spec/discovery/crm/tickets/batch_api_spec.rb +10 -0
- data/spec/discovery/crm/tickets/search_api_spec.rb +7 -0
- data/spec/discovery/crm/timeline/events_api_spec.rb +11 -0
- data/spec/discovery/crm/timeline/templates_api_spec.rb +11 -0
- data/spec/discovery/crm/timeline/tokens_api_spec.rb +9 -0
- data/spec/discovery/events/events_api_spec.rb +7 -0
- data/spec/discovery/files/files/files_api_spec.rb +16 -0
- data/spec/discovery/files/files/folders_api_spec.rb +14 -0
- data/spec/{features/marketing/transactional/default_api_spec.rb → discovery/marketing/transactional/public_smtp_tokens_api_spec.rb} +2 -3
- data/spec/discovery/marketing/transactional/single_send_api_spec.rb +7 -0
- data/spec/discovery/oauth/access_tokens_api_spec.rb +7 -0
- data/spec/discovery/oauth/refresh_tokens_api_spec.rb +8 -0
- data/spec/discovery/oauth/tokens_api_spec.rb +7 -0
- data/spec/discovery/webhooks/settings_api_spec.rb +9 -0
- data/spec/discovery/webhooks/subscriptions_api_spec.rb +12 -0
- data/spec/features/cms/audit-logs/{default_api_spec.rb → audit_logs_api_spec.rb} +4 -4
- data/spec/features/cms/blogs/authors/{default_api_spec.rb → author_api_spec.rb} +28 -28
- data/spec/features/cms/blogs/blog-posts/{default_api_spec.rb → blog_post_api_spec.rb} +2 -2
- data/spec/features/cms/blogs/tags/{default_api_spec.rb → tag_api_spec.rb} +2 -2
- data/spec/features/cms/hubdb/tables_api_spec.rb +1 -1
- data/spec/features/cms/performance/public_performance_api_spec.rb +8 -0
- data/spec/features/cms/site-search/{default_api_spec.rb → public_api_spec.rb} +2 -2
- data/spec/features/crm/contacts/gdpr_api_spec.rb +8 -0
- data/spec/features/crm/imports/public_imports_api_spec.rb +7 -0
- data/spec/features/crm/objects/gdpr_api_spec.rb +8 -0
- data/spec/features/crm/owners/{default_api_spec.rb → owners_api_spec.rb} +2 -2
- data/spec/features/crm/schemas/public_object_schemas_api_spec.rb +7 -0
- data/spec/features/marketing/transactional/public_smtp_tokens_api_spec.rb +11 -0
- data/spec/features/marketing/transactional/single_send_api_spec.rb +7 -0
- data/spec/features/oauth/access_tokens_api_spec.rb +7 -0
- data/spec/features/oauth/refresh_tokens_api_spec.rb +8 -0
- data/spec/features/oauth/tokens_api_spec.rb +7 -0
- metadata +438 -82
- data/lib/hubspot/codegen/cms/hubdb/models/hub_db_table_v3_live_input.rb +0 -241
- data/lib/hubspot/codegen/crm/timeline/models/next_page.rb +0 -224
- data/lib/hubspot/codegen/crm/timeline/models/paging.rb +0 -219
- data/lib/hubspot/codegen/crm/timeline/models/previous_page.rb +0 -224
- data/lib/hubspot/codegen/oauth/api/default_api.rb +0 -270
- data/spec/codegen/cms/hubdb/models/hub_db_table_v3_live_input_spec.rb +0 -59
- data/spec/codegen/crm/timeline/models/next_page_spec.rb +0 -47
- data/spec/codegen/crm/timeline/models/paging_spec.rb +0 -47
- data/spec/codegen/crm/timeline/models/previous_page_spec.rb +0 -47
- data/spec/features/cms/perfomance/default_api_spec.rb +0 -8
- data/spec/features/crm/schemas/default_api_spec.rb +0 -7
- data/spec/features/oauth/default_api_spec.rb +0 -10
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#HubDB endpoints
|
3
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 `
|
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 `published` versions. 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, 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 published 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 by specifying the portal id via the query parameter `portalId`.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#HubDB endpoints
|
3
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 `
|
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 `published` versions. 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, 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 published 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 by specifying the portal id via the query parameter `portalId`.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#HubDB endpoints
|
3
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 `
|
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 `published` versions. 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, 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 published 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 by specifying the portal id via the query parameter `portalId`.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#HubDB endpoints
|
3
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 `
|
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 `published` versions. 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, 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 published 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 by specifying the portal id via the query parameter `portalId`.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
@@ -14,22 +14,22 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for Hubspot::Cms::Hubdb::
|
17
|
+
# Unit tests for Hubspot::Cms::Hubdb::HubDbTableRowV3Request
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe '
|
20
|
+
describe 'HubDbTableRowV3Request' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance = Hubspot::Cms::Hubdb::
|
23
|
+
@instance = Hubspot::Cms::Hubdb::HubDbTableRowV3Request.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
27
27
|
# run after each test
|
28
28
|
end
|
29
29
|
|
30
|
-
describe 'test an instance of
|
31
|
-
it 'should create an instance of
|
32
|
-
expect(@instance).to be_instance_of(Hubspot::Cms::Hubdb::
|
30
|
+
describe 'test an instance of HubDbTableRowV3Request' do
|
31
|
+
it 'should create an instance of HubDbTableRowV3Request' do
|
32
|
+
expect(@instance).to be_instance_of(Hubspot::Cms::Hubdb::HubDbTableRowV3Request)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
describe 'test attribute "path"' do
|
@@ -38,19 +38,19 @@ describe 'HubDbTableRowV3Input' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "name"' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "child_table_id"' do
|
48
48
|
it 'should work' do
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "values"' do
|
54
54
|
it 'should work' do
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
56
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#HubDB endpoints
|
3
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 `
|
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 `published` versions. 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, 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 published 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 by specifying the portal id via the query parameter `portalId`.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
@@ -56,6 +56,12 @@ describe 'HubDbTableRowV3' do
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
+
describe 'test attribute "updated_at"' 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
|
+
|
59
65
|
describe 'test attribute "child_table_id"' do
|
60
66
|
it 'should work' do
|
61
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
data/spec/codegen/cms/hubdb/models/{hub_db_table_v3_input_spec.rb → hub_db_table_v3_request_spec.rb}
RENAMED
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#HubDB endpoints
|
3
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 `
|
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 `published` versions. 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, 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 published 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 by specifying the portal id via the query parameter `portalId`.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
@@ -14,31 +14,31 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for Hubspot::Cms::Hubdb::
|
17
|
+
# Unit tests for Hubspot::Cms::Hubdb::HubDbTableV3Request
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe '
|
20
|
+
describe 'HubDbTableV3Request' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance = Hubspot::Cms::Hubdb::
|
23
|
+
@instance = Hubspot::Cms::Hubdb::HubDbTableV3Request.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
27
27
|
# run after each test
|
28
28
|
end
|
29
29
|
|
30
|
-
describe 'test an instance of
|
31
|
-
it 'should create an instance of
|
32
|
-
expect(@instance).to be_instance_of(Hubspot::Cms::Hubdb::
|
30
|
+
describe 'test an instance of HubDbTableV3Request' do
|
31
|
+
it 'should create an instance of HubDbTableV3Request' do
|
32
|
+
expect(@instance).to be_instance_of(Hubspot::Cms::Hubdb::HubDbTableV3Request)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "name"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "label"' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
44
|
end
|
@@ -50,13 +50,13 @@ describe 'HubDbTableV3Input' do
|
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "allow_public_api_access"' do
|
54
54
|
it 'should work' do
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
describe 'test attribute "
|
59
|
+
describe 'test attribute "allow_child_tables"' do
|
60
60
|
it 'should work' do
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
62
|
end
|
@@ -68,13 +68,13 @@ describe 'HubDbTableV3Input' do
|
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
|
-
describe 'test attribute "
|
71
|
+
describe 'test attribute "columns"' do
|
72
72
|
it 'should work' do
|
73
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
-
describe 'test attribute "
|
77
|
+
describe 'test attribute "dynamic_meta_tags"' do
|
78
78
|
it 'should work' do
|
79
79
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
80
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#HubDB endpoints
|
3
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 `
|
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 `published` versions. 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, 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 published 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 by specifying the portal id via the query parameter `portalId`.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#HubDB endpoints
|
3
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 `
|
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 `published` versions. 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, 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 published 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 by specifying the portal id via the query parameter `portalId`.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#HubDB endpoints
|
3
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 `
|
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 `published` versions. 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, 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 published 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 by specifying the portal id via the query parameter `portalId`.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#HubDB endpoints
|
3
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 `
|
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 `published` versions. 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, 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 published 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 by specifying the portal id via the query parameter `portalId`.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#HubDB endpoints
|
3
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 `
|
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 `published` versions. 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, 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 published 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 by specifying the portal id via the query parameter `portalId`.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#HubDB endpoints
|
3
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 `
|
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 `published` versions. 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, 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 published 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 by specifying the portal id via the query parameter `portalId`.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
data/spec/codegen/cms/performance/api/{default_api_spec.rb → public_performance_api_spec.rb}
RENAMED
@@ -13,22 +13,22 @@ OpenAPI Generator version: 4.3.1
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
15
15
|
|
16
|
-
# Unit tests for Hubspot::Cms::Performance::
|
16
|
+
# Unit tests for Hubspot::Cms::Performance::PublicPerformanceApi
|
17
17
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
18
|
# Please update as you see appropriate
|
19
|
-
describe '
|
19
|
+
describe 'PublicPerformanceApi' do
|
20
20
|
before do
|
21
21
|
# run before each test
|
22
|
-
@api_instance = Hubspot::Cms::Performance::
|
22
|
+
@api_instance = Hubspot::Cms::Performance::PublicPerformanceApi.new
|
23
23
|
end
|
24
24
|
|
25
25
|
after do
|
26
26
|
# run after each test
|
27
27
|
end
|
28
28
|
|
29
|
-
describe 'test an instance of
|
30
|
-
it 'should create an instance of
|
31
|
-
expect(@api_instance).to be_instance_of(Hubspot::Cms::Performance::
|
29
|
+
describe 'test an instance of PublicPerformanceApi' do
|
30
|
+
it 'should create an instance of PublicPerformanceApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(Hubspot::Cms::Performance::PublicPerformanceApi)
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
@@ -13,22 +13,22 @@ OpenAPI Generator version: 4.3.1
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
15
15
|
|
16
|
-
# Unit tests for Hubspot::Cms::SiteSearch::
|
16
|
+
# Unit tests for Hubspot::Cms::SiteSearch::PublicApi
|
17
17
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
18
|
# Please update as you see appropriate
|
19
|
-
describe '
|
19
|
+
describe 'PublicApi' do
|
20
20
|
before do
|
21
21
|
# run before each test
|
22
|
-
@api_instance = Hubspot::Cms::SiteSearch::
|
22
|
+
@api_instance = Hubspot::Cms::SiteSearch::PublicApi.new
|
23
23
|
end
|
24
24
|
|
25
25
|
after do
|
26
26
|
# run after each test
|
27
27
|
end
|
28
28
|
|
29
|
-
describe 'test an instance of
|
30
|
-
it 'should create an instance of
|
31
|
-
expect(@api_instance).to be_instance_of(Hubspot::Cms::SiteSearch::
|
29
|
+
describe 'test an instance of PublicApi' do
|
30
|
+
it 'should create an instance of PublicApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(Hubspot::Cms::SiteSearch::PublicApi)
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
@@ -32,13 +32,13 @@ describe 'SearchHitField' do
|
|
32
32
|
expect(@instance).to be_instance_of(Hubspot::Cms::SiteSearch::SearchHitField)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "metadata_field"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "values"' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
44
|
end
|
@@ -34,7 +34,6 @@ describe 'BatchApi' do
|
|
34
34
|
|
35
35
|
# unit tests for archive
|
36
36
|
# Archive a batch of companies by ID
|
37
|
-
# Archive a list of companies given a collection of IDs. This method will return a `204 No Content` response on success regardless of the initial state of the object (e.g. active, already archived, non-existent).
|
38
37
|
# @param batch_input_simple_public_object_id
|
39
38
|
# @param [Hash] opts the optional parameters
|
40
39
|
# @return [nil]
|
@@ -46,7 +45,6 @@ describe 'BatchApi' do
|
|
46
45
|
|
47
46
|
# unit tests for create
|
48
47
|
# Create a batch of companies
|
49
|
-
# Create a batch of companies. This follows the same rules as creating an individual object.
|
50
48
|
# @param batch_input_simple_public_object_input
|
51
49
|
# @param [Hash] opts the optional parameters
|
52
50
|
# @return [BatchResponseSimplePublicObject]
|
@@ -58,7 +56,6 @@ describe 'BatchApi' do
|
|
58
56
|
|
59
57
|
# unit tests for read
|
60
58
|
# Read a batch of companies by internal ID, or unique property values
|
61
|
-
# Read a list of companies given a collection of IDs. Use the `properties` request body property to control which properties are returned.
|
62
59
|
# @param batch_read_input_simple_public_object_id
|
63
60
|
# @param [Hash] opts the optional parameters
|
64
61
|
# @option opts [Boolean] :archived Whether to return only results that have been archived.
|
@@ -71,7 +68,6 @@ describe 'BatchApi' do
|
|
71
68
|
|
72
69
|
# unit tests for update
|
73
70
|
# Update a batch of companies
|
74
|
-
# Perform a partial upate on a batch of companies. This follows the same rules as performing partial updates on an individual object.
|
75
71
|
# @param batch_input_simple_public_object_batch_input
|
76
72
|
# @param [Hash] opts the optional parameters
|
77
73
|
# @return [BatchResponseSimplePublicObject]
|
@@ -33,8 +33,6 @@ describe 'SearchApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for do_search
|
36
|
-
# Filter, Sort, and Search CRM Objects
|
37
|
-
# Filter, Sort, and Search CRM Objects
|
38
36
|
# @param public_object_search_request
|
39
37
|
# @param [Hash] opts the optional parameters
|
40
38
|
# @return [CollectionResponseWithTotalSimplePublicObjectForwardPaging]
|
@@ -47,7 +47,7 @@ describe 'Filter' do
|
|
47
47
|
describe 'test attribute "operator"' do
|
48
48
|
it 'should work' do
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["EQ", "NEQ", "LT", "LTE", "GT", "GTE", "HAS_PROPERTY", "NOT_HAS_PROPERTY", "CONTAINS_TOKEN", "NOT_CONTAINS_TOKEN"])
|
50
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["EQ", "NEQ", "LT", "LTE", "GT", "GTE", "BETWEEN", "IN", "NOT_IN", "HAS_PROPERTY", "NOT_HAS_PROPERTY", "CONTAINS_TOKEN", "NOT_CONTAINS_TOKEN"])
|
51
51
|
# validator.allowable_values.each do |value|
|
52
52
|
# expect { @instance.operator = value }.not_to raise_error
|
53
53
|
# end
|
@@ -34,7 +34,6 @@ describe 'BatchApi' do
|
|
34
34
|
|
35
35
|
# unit tests for archive
|
36
36
|
# Archive a batch of contacts by ID
|
37
|
-
# Archive a list of contacts given a collection of IDs. This method will return a `204 No Content` response on success regardless of the initial state of the object (e.g. active, already archived, non-existent).
|
38
37
|
# @param batch_input_simple_public_object_id
|
39
38
|
# @param [Hash] opts the optional parameters
|
40
39
|
# @return [nil]
|
@@ -46,7 +45,6 @@ describe 'BatchApi' do
|
|
46
45
|
|
47
46
|
# unit tests for create
|
48
47
|
# Create a batch of contacts
|
49
|
-
# Create a batch of contacts. This follows the same rules as creating an individual object.
|
50
48
|
# @param batch_input_simple_public_object_input
|
51
49
|
# @param [Hash] opts the optional parameters
|
52
50
|
# @return [BatchResponseSimplePublicObject]
|
@@ -58,7 +56,6 @@ describe 'BatchApi' do
|
|
58
56
|
|
59
57
|
# unit tests for read
|
60
58
|
# Read a batch of contacts by internal ID, or unique property values
|
61
|
-
# Read a list of contacts given a collection of IDs. Use the `properties` request body property to control which properties are returned.
|
62
59
|
# @param batch_read_input_simple_public_object_id
|
63
60
|
# @param [Hash] opts the optional parameters
|
64
61
|
# @option opts [Boolean] :archived Whether to return only results that have been archived.
|
@@ -71,7 +68,6 @@ describe 'BatchApi' do
|
|
71
68
|
|
72
69
|
# unit tests for update
|
73
70
|
# Update a batch of contacts
|
74
|
-
# Perform a partial upate on a batch of contacts. This follows the same rules as performing partial updates on an individual object.
|
75
71
|
# @param batch_input_simple_public_object_batch_input
|
76
72
|
# @param [Hash] opts the optional parameters
|
77
73
|
# @return [BatchResponseSimplePublicObject]
|
@@ -0,0 +1,59 @@
|
|
1
|
+
=begin
|
2
|
+
#Contacts
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for Hubspot::Crm::Contacts::GDPRApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'GDPRApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = Hubspot::Crm::Contacts::GDPRApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of GDPRApi' do
|
30
|
+
it 'should create an instance of GDPRApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(Hubspot::Crm::Contacts::GDPRApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for purge_by_email
|
36
|
+
# DELETE
|
37
|
+
# Permanently delete a contact by email address and all associated content to follow GDPR. If contact isn't found, blacklists an email address from being used in the future.
|
38
|
+
# @param email
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [nil]
|
41
|
+
describe 'purge_by_email test' 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
|
+
# unit tests for purge_by_id
|
48
|
+
# DELETE
|
49
|
+
# Permanently delete a contact by id and all associated content to follow GDPR
|
50
|
+
# @param contact_id
|
51
|
+
# @param [Hash] opts the optional parameters
|
52
|
+
# @return [nil]
|
53
|
+
describe 'purge_by_id test' 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
|
@@ -33,8 +33,6 @@ describe 'SearchApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for do_search
|
36
|
-
# Filter, Sort, and Search CRM Objects
|
37
|
-
# Filter, Sort, and Search CRM Objects
|
38
36
|
# @param public_object_search_request
|
39
37
|
# @param [Hash] opts the optional parameters
|
40
38
|
# @return [CollectionResponseWithTotalSimplePublicObjectForwardPaging]
|
@@ -47,7 +47,7 @@ describe 'Filter' do
|
|
47
47
|
describe 'test attribute "operator"' do
|
48
48
|
it 'should work' do
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["EQ", "NEQ", "LT", "LTE", "GT", "GTE", "HAS_PROPERTY", "NOT_HAS_PROPERTY", "CONTAINS_TOKEN", "NOT_CONTAINS_TOKEN"])
|
50
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["EQ", "NEQ", "LT", "LTE", "GT", "GTE", "BETWEEN", "IN", "NOT_IN", "HAS_PROPERTY", "NOT_HAS_PROPERTY", "CONTAINS_TOKEN", "NOT_CONTAINS_TOKEN"])
|
51
51
|
# validator.allowable_values.each do |value|
|
52
52
|
# expect { @instance.operator = value }.not_to raise_error
|
53
53
|
# end
|
@@ -34,7 +34,6 @@ describe 'BatchApi' do
|
|
34
34
|
|
35
35
|
# unit tests for archive
|
36
36
|
# Archive a batch of deals by ID
|
37
|
-
# Archive a list of deals given a collection of IDs. This method will return a `204 No Content` response on success regardless of the initial state of the object (e.g. active, already archived, non-existent).
|
38
37
|
# @param batch_input_simple_public_object_id
|
39
38
|
# @param [Hash] opts the optional parameters
|
40
39
|
# @return [nil]
|
@@ -46,7 +45,6 @@ describe 'BatchApi' do
|
|
46
45
|
|
47
46
|
# unit tests for create
|
48
47
|
# Create a batch of deals
|
49
|
-
# Create a batch of deals. This follows the same rules as creating an individual object.
|
50
48
|
# @param batch_input_simple_public_object_input
|
51
49
|
# @param [Hash] opts the optional parameters
|
52
50
|
# @return [BatchResponseSimplePublicObject]
|
@@ -58,7 +56,6 @@ describe 'BatchApi' do
|
|
58
56
|
|
59
57
|
# unit tests for read
|
60
58
|
# Read a batch of deals by internal ID, or unique property values
|
61
|
-
# Read a list of deals given a collection of IDs. Use the `properties` request body property to control which properties are returned.
|
62
59
|
# @param batch_read_input_simple_public_object_id
|
63
60
|
# @param [Hash] opts the optional parameters
|
64
61
|
# @option opts [Boolean] :archived Whether to return only results that have been archived.
|
@@ -71,7 +68,6 @@ describe 'BatchApi' do
|
|
71
68
|
|
72
69
|
# unit tests for update
|
73
70
|
# Update a batch of deals
|
74
|
-
# Perform a partial upate on a batch of deals. This follows the same rules as performing partial updates on an individual object.
|
75
71
|
# @param batch_input_simple_public_object_batch_input
|
76
72
|
# @param [Hash] opts the optional parameters
|
77
73
|
# @return [BatchResponseSimplePublicObject]
|
@@ -33,8 +33,6 @@ describe 'SearchApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for do_search
|
36
|
-
# Filter, Sort, and Search CRM Objects
|
37
|
-
# Filter, Sort, and Search CRM Objects
|
38
36
|
# @param public_object_search_request
|
39
37
|
# @param [Hash] opts the optional parameters
|
40
38
|
# @return [CollectionResponseWithTotalSimplePublicObjectForwardPaging]
|
@@ -47,7 +47,7 @@ describe 'Filter' do
|
|
47
47
|
describe 'test attribute "operator"' do
|
48
48
|
it 'should work' do
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["EQ", "NEQ", "LT", "LTE", "GT", "GTE", "HAS_PROPERTY", "NOT_HAS_PROPERTY", "CONTAINS_TOKEN", "NOT_CONTAINS_TOKEN"])
|
50
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["EQ", "NEQ", "LT", "LTE", "GT", "GTE", "BETWEEN", "IN", "NOT_IN", "HAS_PROPERTY", "NOT_HAS_PROPERTY", "CONTAINS_TOKEN", "NOT_CONTAINS_TOKEN"])
|
51
51
|
# validator.allowable_values.each do |value|
|
52
52
|
# expect { @instance.operator = value }.not_to raise_error
|
53
53
|
# end
|