├── .editorconfig ├── .github ├── CODEOWNERS └── workflows │ ├── pythonapp.yml │ ├── pythonintegrationtest.yml │ └── pythonpublish.yml ├── .gitignore ├── CHANGELOG.md ├── LICENSE ├── Makefile ├── README.md ├── VERSION ├── hubspot ├── __init__.py ├── automation │ ├── __init__.py │ └── actions │ │ ├── __init__.py │ │ ├── api │ │ ├── __init__.py │ │ ├── callbacks_api.py │ │ ├── definitions_api.py │ │ ├── functions_api.py │ │ └── revisions_api.py │ │ ├── api_client.py │ │ ├── configuration.py │ │ ├── exceptions.py │ │ ├── models │ │ ├── __init__.py │ │ ├── batch_input_callback_completion_batch_request.py │ │ ├── callback_completion_batch_request.py │ │ ├── callback_completion_request.py │ │ ├── collection_response_public_action_definition_forward_paging.py │ │ ├── collection_response_public_action_function_identifier_no_paging.py │ │ ├── collection_response_public_action_revision_forward_paging.py │ │ ├── error.py │ │ ├── error_detail.py │ │ ├── field_type_definition.py │ │ ├── forward_paging.py │ │ ├── input_field_definition.py │ │ ├── next_page.py │ │ ├── option.py │ │ ├── output_field_definition.py │ │ ├── public_action_definition.py │ │ ├── public_action_definition_egg.py │ │ ├── public_action_definition_input_field_dependencies_inner.py │ │ ├── public_action_definition_patch.py │ │ ├── public_action_function.py │ │ ├── public_action_function_identifier.py │ │ ├── public_action_labels.py │ │ ├── public_action_revision.py │ │ ├── public_conditional_single_field_dependency.py │ │ ├── public_execution_translation_rule.py │ │ ├── public_object_request_options.py │ │ └── public_single_field_dependency.py │ │ └── rest.py ├── client.py ├── cms │ ├── __init__.py │ ├── audit_logs │ │ ├── __init__.py │ │ ├── api │ │ │ ├── __init__.py │ │ │ └── audit_logs_api.py │ │ ├── api_client.py │ │ ├── configuration.py │ │ ├── exceptions.py │ │ ├── models │ │ │ ├── __init__.py │ │ │ ├── collection_response_public_audit_log.py │ │ │ ├── error.py │ │ │ ├── error_detail.py │ │ │ ├── next_page.py │ │ │ ├── paging.py │ │ │ ├── previous_page.py │ │ │ └── public_audit_log.py │ │ └── rest.py │ ├── blogs │ │ ├── __init__.py │ │ ├── authors │ │ │ ├── __init__.py │ │ │ ├── api │ │ │ │ ├── __init__.py │ │ │ │ └── blog_authors_api.py │ │ │ ├── api_client.py │ │ │ ├── configuration.py │ │ │ ├── exceptions.py │ │ │ ├── models │ │ │ │ ├── __init__.py │ │ │ │ ├── attach_to_lang_primary_request_v_next.py │ │ │ │ ├── batch_input_blog_author.py │ │ │ │ ├── batch_input_json_node.py │ │ │ │ ├── batch_input_string.py │ │ │ │ ├── batch_response_blog_author.py │ │ │ │ ├── batch_response_blog_author_with_errors.py │ │ │ │ ├── blog_author.py │ │ │ │ ├── blog_author_clone_request_v_next.py │ │ │ │ ├── collection_response_with_total_blog_author_forward_paging.py │ │ │ │ ├── detach_from_lang_group_request_v_next.py │ │ │ │ ├── error.py │ │ │ │ ├── error_detail.py │ │ │ │ ├── forward_paging.py │ │ │ │ ├── next_page.py │ │ │ │ ├── set_new_language_primary_request_v_next.py │ │ │ │ ├── standard_error.py │ │ │ │ └── update_languages_request_v_next.py │ │ │ └── rest.py │ │ ├── blog_posts │ │ │ ├── __init__.py │ │ │ ├── api │ │ │ │ ├── __init__.py │ │ │ │ ├── basic_api.py │ │ │ │ ├── batch_api.py │ │ │ │ └── multi_language_api.py │ │ │ ├── api_client.py │ │ │ ├── configuration.py │ │ │ ├── exceptions.py │ │ │ ├── models │ │ │ │ ├── __init__.py │ │ │ │ ├── angle.py │ │ │ │ ├── attach_to_lang_primary_request_v_next.py │ │ │ │ ├── background_image.py │ │ │ │ ├── batch_input_blog_post.py │ │ │ │ ├── batch_input_json_node.py │ │ │ │ ├── batch_input_string.py │ │ │ │ ├── batch_response_blog_post.py │ │ │ │ ├── batch_response_blog_post_with_errors.py │ │ │ │ ├── blog_post.py │ │ │ │ ├── blog_post_language_clone_request_v_next.py │ │ │ │ ├── breakpoint_styles.py │ │ │ │ ├── collection_response_with_total_blog_post_forward_paging.py │ │ │ │ ├── collection_response_with_total_version_blog_post.py │ │ │ │ ├── color_stop.py │ │ │ │ ├── content_clone_request_v_next.py │ │ │ │ ├── content_language_variation.py │ │ │ │ ├── content_schedule_request_v_next.py │ │ │ │ ├── detach_from_lang_group_request_v_next.py │ │ │ │ ├── error.py │ │ │ │ ├── error_detail.py │ │ │ │ ├── forward_paging.py │ │ │ │ ├── gradient.py │ │ │ │ ├── layout_section.py │ │ │ │ ├── next_page.py │ │ │ │ ├── paging.py │ │ │ │ ├── previous_page.py │ │ │ │ ├── rgba_color.py │ │ │ │ ├── row_meta_data.py │ │ │ │ ├── set_new_language_primary_request_v_next.py │ │ │ │ ├── side_or_corner.py │ │ │ │ ├── standard_error.py │ │ │ │ ├── styles.py │ │ │ │ ├── update_languages_request_v_next.py │ │ │ │ ├── version_blog_post.py │ │ │ │ └── version_user.py │ │ │ └── rest.py │ │ └── tags │ │ │ ├── __init__.py │ │ │ ├── api │ │ │ ├── __init__.py │ │ │ └── blog_tags_api.py │ │ │ ├── api_client.py │ │ │ ├── configuration.py │ │ │ ├── exceptions.py │ │ │ ├── models │ │ │ ├── __init__.py │ │ │ ├── attach_to_lang_primary_request_v_next.py │ │ │ ├── batch_input_json_node.py │ │ │ ├── batch_input_string.py │ │ │ ├── batch_input_tag.py │ │ │ ├── batch_response_tag.py │ │ │ ├── batch_response_tag_with_errors.py │ │ │ ├── collection_response_with_total_tag_forward_paging.py │ │ │ ├── detach_from_lang_group_request_v_next.py │ │ │ ├── error.py │ │ │ ├── error_detail.py │ │ │ ├── forward_paging.py │ │ │ ├── next_page.py │ │ │ ├── set_new_language_primary_request_v_next.py │ │ │ ├── standard_error.py │ │ │ ├── tag.py │ │ │ ├── tag_clone_request_v_next.py │ │ │ └── update_languages_request_v_next.py │ │ │ └── rest.py │ ├── domains │ │ ├── __init__.py │ │ ├── api │ │ │ ├── __init__.py │ │ │ └── domains_api.py │ │ ├── api_client.py │ │ ├── configuration.py │ │ ├── exceptions.py │ │ ├── models │ │ │ ├── __init__.py │ │ │ ├── collection_response_with_total_domain_forward_paging.py │ │ │ ├── domain.py │ │ │ ├── error.py │ │ │ ├── error_detail.py │ │ │ ├── forward_paging.py │ │ │ └── next_page.py │ │ └── rest.py │ ├── hubdb │ │ ├── __init__.py │ │ ├── api │ │ │ ├── __init__.py │ │ │ ├── rows_api.py │ │ │ ├── rows_batch_api.py │ │ │ └── tables_api.py │ │ ├── api_client.py │ │ ├── configuration.py │ │ ├── exceptions.py │ │ ├── models │ │ │ ├── __init__.py │ │ │ ├── batch_input_hub_db_table_row_batch_clone_request.py │ │ │ ├── batch_input_hub_db_table_row_v3_batch_update_request.py │ │ │ ├── batch_input_hub_db_table_row_v3_request.py │ │ │ ├── batch_input_string.py │ │ │ ├── batch_response_hub_db_table_row_v3.py │ │ │ ├── batch_response_hub_db_table_row_v3_with_errors.py │ │ │ ├── bounded_next_page.py │ │ │ ├── bounded_paging.py │ │ │ ├── collection_response_with_total_hub_db_table_v3_forward_paging.py │ │ │ ├── column.py │ │ │ ├── column_request.py │ │ │ ├── error.py │ │ │ ├── error_detail.py │ │ │ ├── foreign_id.py │ │ │ ├── forward_paging.py │ │ │ ├── hub_db_table_clone_request.py │ │ │ ├── hub_db_table_row_batch_clone_request.py │ │ │ ├── hub_db_table_row_v3.py │ │ │ ├── hub_db_table_row_v3_batch_update_request.py │ │ │ ├── hub_db_table_row_v3_request.py │ │ │ ├── hub_db_table_v3.py │ │ │ ├── hub_db_table_v3_request.py │ │ │ ├── import_result.py │ │ │ ├── next_page.py │ │ │ ├── option.py │ │ │ ├── paging.py │ │ │ ├── previous_page.py │ │ │ ├── random_access_collection_response_with_total_hub_db_table_row_v3.py │ │ │ ├── simple_user.py │ │ │ ├── standard_error.py │ │ │ ├── streaming_collection_response_with_total_hub_db_table_row_v3.py │ │ │ └── unified_collection_response_with_total_base_hub_db_table_row_v3.py │ │ └── rest.py │ ├── pages │ │ ├── __init__.py │ │ ├── api │ │ │ ├── __init__.py │ │ │ ├── landing_pages_api.py │ │ │ └── site_pages_api.py │ │ ├── api_client.py │ │ ├── configuration.py │ │ ├── exceptions.py │ │ ├── models │ │ │ ├── __init__.py │ │ │ ├── ab_test_create_request_v_next.py │ │ │ ├── ab_test_end_request_v_next.py │ │ │ ├── ab_test_rerun_request_v_next.py │ │ │ ├── angle.py │ │ │ ├── attach_to_lang_primary_request_v_next.py │ │ │ ├── background_image.py │ │ │ ├── batch_input_content_folder.py │ │ │ ├── batch_input_json_node.py │ │ │ ├── batch_input_page.py │ │ │ ├── batch_input_string.py │ │ │ ├── batch_response_content_folder.py │ │ │ ├── batch_response_content_folder_with_errors.py │ │ │ ├── batch_response_page.py │ │ │ ├── batch_response_page_with_errors.py │ │ │ ├── collection_response_with_total_content_folder_forward_paging.py │ │ │ ├── collection_response_with_total_page_forward_paging.py │ │ │ ├── collection_response_with_total_version_content_folder.py │ │ │ ├── collection_response_with_total_version_page.py │ │ │ ├── color_stop.py │ │ │ ├── content_clone_request_v_next.py │ │ │ ├── content_folder.py │ │ │ ├── content_language_clone_request_v_next.py │ │ │ ├── content_language_variation.py │ │ │ ├── content_schedule_request_v_next.py │ │ │ ├── detach_from_lang_group_request_v_next.py │ │ │ ├── error.py │ │ │ ├── error_detail.py │ │ │ ├── forward_paging.py │ │ │ ├── gradient.py │ │ │ ├── layout_section.py │ │ │ ├── next_page.py │ │ │ ├── page.py │ │ │ ├── paging.py │ │ │ ├── previous_page.py │ │ │ ├── rgba_color.py │ │ │ ├── row_meta_data.py │ │ │ ├── set_new_language_primary_request_v_next.py │ │ │ ├── side_or_corner.py │ │ │ ├── standard_error.py │ │ │ ├── styles.py │ │ │ ├── update_languages_request_v_next.py │ │ │ ├── version_content_folder.py │ │ │ ├── version_page.py │ │ │ └── version_user.py │ │ └── rest.py │ ├── site_search │ │ ├── __init__.py │ │ ├── api │ │ │ ├── __init__.py │ │ │ └── public_api.py │ │ ├── api_client.py │ │ ├── configuration.py │ │ ├── exceptions.py │ │ ├── models │ │ │ ├── __init__.py │ │ │ ├── content_search_result.py │ │ │ ├── error.py │ │ │ ├── error_detail.py │ │ │ ├── indexed_data.py │ │ │ ├── indexed_field.py │ │ │ └── public_search_results.py │ │ └── rest.py │ ├── source_code │ │ ├── __init__.py │ │ ├── api │ │ │ ├── __init__.py │ │ │ ├── content_api.py │ │ │ ├── extract_api.py │ │ │ ├── metadata_api.py │ │ │ └── validation_api.py │ │ ├── api_client.py │ │ ├── configuration.py │ │ ├── exceptions.py │ │ ├── models │ │ │ ├── __init__.py │ │ │ ├── action_response.py │ │ │ ├── asset_file_metadata.py │ │ │ ├── error.py │ │ │ ├── error_detail.py │ │ │ ├── file_extract_request.py │ │ │ └── task_locator.py │ │ └── rest.py │ └── url_redirects │ │ ├── __init__.py │ │ ├── api │ │ ├── __init__.py │ │ └── redirects_api.py │ │ ├── api_client.py │ │ ├── configuration.py │ │ ├── exceptions.py │ │ ├── models │ │ ├── __init__.py │ │ ├── collection_response_with_total_url_mapping_forward_paging.py │ │ ├── error.py │ │ ├── error_detail.py │ │ ├── forward_paging.py │ │ ├── next_page.py │ │ ├── url_mapping.py │ │ └── url_mapping_create_request_body.py │ │ └── rest.py ├── communication_preferences │ ├── __init__.py │ ├── api │ │ ├── __init__.py │ │ ├── definition_api.py │ │ └── status_api.py │ ├── api_client.py │ ├── configuration.py │ ├── exceptions.py │ ├── models │ │ ├── __init__.py │ │ ├── error.py │ │ ├── error_detail.py │ │ ├── public_subscription_status.py │ │ ├── public_subscription_statuses_response.py │ │ ├── public_update_subscription_status_request.py │ │ ├── subscription_definition.py │ │ └── subscription_definitions_response.py │ └── rest.py ├── conversations │ ├── __init__.py │ └── visitor_identification │ │ ├── __init__.py │ │ ├── api │ │ ├── __init__.py │ │ └── generate_api.py │ │ ├── api_client.py │ │ ├── configuration.py │ │ ├── exceptions.py │ │ ├── models │ │ ├── __init__.py │ │ ├── error.py │ │ ├── error_detail.py │ │ ├── identification_token_generation_request.py │ │ └── identification_token_response.py │ │ └── rest.py ├── crm │ ├── __init__.py │ ├── association_type.py │ ├── associations │ │ ├── __init__.py │ │ ├── api │ │ │ ├── __init__.py │ │ │ └── batch_api.py │ │ ├── api_client.py │ │ ├── configuration.py │ │ ├── exceptions.py │ │ ├── models │ │ │ ├── __init__.py │ │ │ ├── associated_id.py │ │ │ ├── batch_input_public_association.py │ │ │ ├── batch_input_public_object_id.py │ │ │ ├── batch_response_public_association.py │ │ │ ├── batch_response_public_association_multi.py │ │ │ ├── batch_response_public_association_multi_with_errors.py │ │ │ ├── batch_response_public_association_with_errors.py │ │ │ ├── error.py │ │ │ ├── error_detail.py │ │ │ ├── next_page.py │ │ │ ├── paging.py │ │ │ ├── previous_page.py │ │ │ ├── public_association.py │ │ │ ├── public_association_multi.py │ │ │ ├── public_object_id.py │ │ │ └── standard_error.py │ │ ├── rest.py │ │ ├── schema │ │ │ ├── __init__.py │ │ │ ├── api │ │ │ │ ├── __init__.py │ │ │ │ └── types_api.py │ │ │ ├── api_client.py │ │ │ ├── configuration.py │ │ │ ├── exceptions.py │ │ │ ├── models │ │ │ │ ├── __init__.py │ │ │ │ ├── collection_response_public_association_definition_no_paging.py │ │ │ │ ├── error.py │ │ │ │ ├── error_detail.py │ │ │ │ └── public_association_definition.py │ │ │ └── rest.py │ │ └── v4 │ │ │ ├── __init__.py │ │ │ ├── api │ │ │ ├── __init__.py │ │ │ ├── basic_api.py │ │ │ ├── batch_api.py │ │ │ └── report_api.py │ │ │ ├── api_client.py │ │ │ ├── configuration.py │ │ │ ├── exceptions.py │ │ │ ├── models │ │ │ ├── __init__.py │ │ │ ├── association_spec.py │ │ │ ├── association_spec_with_label.py │ │ │ ├── batch_input_public_association_multi_archive.py │ │ │ ├── batch_input_public_association_multi_post.py │ │ │ ├── batch_input_public_default_association_multi_post.py │ │ │ ├── batch_input_public_fetch_associations_batch_request.py │ │ │ ├── batch_response_labels_between_object_pair.py │ │ │ ├── batch_response_labels_between_object_pair_with_errors.py │ │ │ ├── batch_response_public_association_multi_with_label.py │ │ │ ├── batch_response_public_association_multi_with_label_with_errors.py │ │ │ ├── batch_response_public_default_association.py │ │ │ ├── collection_response_multi_associated_object_with_label_forward_paging.py │ │ │ ├── date_time.py │ │ │ ├── error.py │ │ │ ├── error_detail.py │ │ │ ├── forward_paging.py │ │ │ ├── labels_between_object_pair.py │ │ │ ├── multi_associated_object_with_label.py │ │ │ ├── next_page.py │ │ │ ├── paging.py │ │ │ ├── previous_page.py │ │ │ ├── public_association_multi_archive.py │ │ │ ├── public_association_multi_post.py │ │ │ ├── public_association_multi_with_label.py │ │ │ ├── public_default_association.py │ │ │ ├── public_default_association_multi_post.py │ │ │ ├── public_fetch_associations_batch_request.py │ │ │ ├── public_object_id.py │ │ │ ├── report_creation_response.py │ │ │ └── standard_error.py │ │ │ ├── rest.py │ │ │ └── schema │ │ │ ├── __init__.py │ │ │ ├── api │ │ │ ├── __init__.py │ │ │ ├── definition_configurations_api.py │ │ │ └── definitions_api.py │ │ │ ├── api_client.py │ │ │ ├── configuration.py │ │ │ ├── exceptions.py │ │ │ ├── models │ │ │ ├── __init__.py │ │ │ ├── association_spec_with_label.py │ │ │ ├── batch_input_public_association_definition_configuration_create_request.py │ │ │ ├── batch_input_public_association_definition_configuration_update_request.py │ │ │ ├── batch_input_public_association_spec.py │ │ │ ├── batch_response_public_association_definition_configuration_update_result.py │ │ │ ├── batch_response_public_association_definition_configuration_update_result_with_errors.py │ │ │ ├── batch_response_public_association_definition_user_configuration.py │ │ │ ├── batch_response_public_association_definition_user_configuration_with_errors.py │ │ │ ├── collection_response_association_spec_with_label_no_paging.py │ │ │ ├── collection_response_public_association_definition_user_configuration_no_paging.py │ │ │ ├── error.py │ │ │ ├── error_detail.py │ │ │ ├── public_association_definition_configuration_create_request.py │ │ │ ├── public_association_definition_configuration_update_request.py │ │ │ ├── public_association_definition_configuration_update_result.py │ │ │ ├── public_association_definition_create_request.py │ │ │ ├── public_association_definition_update_request.py │ │ │ ├── public_association_definition_user_configuration.py │ │ │ ├── public_association_spec.py │ │ │ └── standard_error.py │ │ │ └── rest.py │ ├── commerce │ │ ├── __init__.py │ │ └── invoices │ │ │ ├── __init__.py │ │ │ ├── api │ │ │ ├── __init__.py │ │ │ ├── basic_api.py │ │ │ ├── batch_api.py │ │ │ └── search_api.py │ │ │ ├── api_client.py │ │ │ ├── configuration.py │ │ │ ├── exceptions.py │ │ │ ├── models │ │ │ ├── __init__.py │ │ │ ├── associated_id.py │ │ │ ├── association_spec.py │ │ │ ├── batch_input_simple_public_object_batch_input.py │ │ │ ├── batch_input_simple_public_object_batch_input_for_create.py │ │ │ ├── batch_input_simple_public_object_batch_input_upsert.py │ │ │ ├── batch_input_simple_public_object_id.py │ │ │ ├── batch_read_input_simple_public_object_id.py │ │ │ ├── batch_response_simple_public_object.py │ │ │ ├── batch_response_simple_public_object_with_errors.py │ │ │ ├── batch_response_simple_public_upsert_object.py │ │ │ ├── batch_response_simple_public_upsert_object_with_errors.py │ │ │ ├── collection_response_associated_id.py │ │ │ ├── collection_response_simple_public_object_with_associations_forward_paging.py │ │ │ ├── collection_response_with_total_simple_public_object_forward_paging.py │ │ │ ├── error.py │ │ │ ├── error_detail.py │ │ │ ├── filter.py │ │ │ ├── filter_group.py │ │ │ ├── forward_paging.py │ │ │ ├── next_page.py │ │ │ ├── paging.py │ │ │ ├── previous_page.py │ │ │ ├── public_associations_for_object.py │ │ │ ├── public_object_id.py │ │ │ ├── public_object_search_request.py │ │ │ ├── simple_public_object.py │ │ │ ├── simple_public_object_batch_input.py │ │ │ ├── simple_public_object_batch_input_for_create.py │ │ │ ├── simple_public_object_batch_input_upsert.py │ │ │ ├── simple_public_object_id.py │ │ │ ├── simple_public_object_input.py │ │ │ ├── simple_public_object_input_for_create.py │ │ │ ├── simple_public_object_with_associations.py │ │ │ ├── simple_public_upsert_object.py │ │ │ ├── standard_error.py │ │ │ └── value_with_timestamp.py │ │ │ └── rest.py │ ├── companies │ │ ├── __init__.py │ │ ├── api │ │ │ ├── __init__.py │ │ │ ├── basic_api.py │ │ │ ├── batch_api.py │ │ │ └── search_api.py │ │ ├── api_client.py │ │ ├── configuration.py │ │ ├── exceptions.py │ │ ├── models │ │ │ ├── __init__.py │ │ │ ├── associated_id.py │ │ │ ├── association_spec.py │ │ │ ├── batch_input_simple_public_object_batch_input.py │ │ │ ├── batch_input_simple_public_object_batch_input_for_create.py │ │ │ ├── batch_input_simple_public_object_batch_input_upsert.py │ │ │ ├── batch_input_simple_public_object_id.py │ │ │ ├── batch_read_input_simple_public_object_id.py │ │ │ ├── batch_response_simple_public_object.py │ │ │ ├── batch_response_simple_public_object_with_errors.py │ │ │ ├── batch_response_simple_public_upsert_object.py │ │ │ ├── batch_response_simple_public_upsert_object_with_errors.py │ │ │ ├── collection_response_associated_id.py │ │ │ ├── collection_response_simple_public_object_with_associations_forward_paging.py │ │ │ ├── collection_response_with_total_simple_public_object_forward_paging.py │ │ │ ├── error.py │ │ │ ├── error_detail.py │ │ │ ├── filter.py │ │ │ ├── filter_group.py │ │ │ ├── forward_paging.py │ │ │ ├── next_page.py │ │ │ ├── paging.py │ │ │ ├── previous_page.py │ │ │ ├── public_associations_for_object.py │ │ │ ├── public_merge_input.py │ │ │ ├── public_object_id.py │ │ │ ├── public_object_search_request.py │ │ │ ├── simple_public_object.py │ │ │ ├── simple_public_object_batch_input.py │ │ │ ├── simple_public_object_batch_input_for_create.py │ │ │ ├── simple_public_object_batch_input_upsert.py │ │ │ ├── simple_public_object_id.py │ │ │ ├── simple_public_object_input.py │ │ │ ├── simple_public_object_input_for_create.py │ │ │ ├── simple_public_object_with_associations.py │ │ │ ├── simple_public_upsert_object.py │ │ │ ├── standard_error.py │ │ │ └── value_with_timestamp.py │ │ └── rest.py │ ├── contacts │ │ ├── __init__.py │ │ ├── api │ │ │ ├── __init__.py │ │ │ ├── basic_api.py │ │ │ ├── batch_api.py │ │ │ └── search_api.py │ │ ├── api_client.py │ │ ├── configuration.py │ │ ├── exceptions.py │ │ ├── models │ │ │ ├── __init__.py │ │ │ ├── associated_id.py │ │ │ ├── association_spec.py │ │ │ ├── batch_input_simple_public_object_batch_input.py │ │ │ ├── batch_input_simple_public_object_batch_input_for_create.py │ │ │ ├── batch_input_simple_public_object_batch_input_upsert.py │ │ │ ├── batch_input_simple_public_object_id.py │ │ │ ├── batch_read_input_simple_public_object_id.py │ │ │ ├── batch_response_simple_public_object.py │ │ │ ├── batch_response_simple_public_object_with_errors.py │ │ │ ├── batch_response_simple_public_upsert_object.py │ │ │ ├── batch_response_simple_public_upsert_object_with_errors.py │ │ │ ├── collection_response_associated_id.py │ │ │ ├── collection_response_simple_public_object_with_associations_forward_paging.py │ │ │ ├── collection_response_with_total_simple_public_object_forward_paging.py │ │ │ ├── error.py │ │ │ ├── error_detail.py │ │ │ ├── filter.py │ │ │ ├── filter_group.py │ │ │ ├── forward_paging.py │ │ │ ├── next_page.py │ │ │ ├── paging.py │ │ │ ├── previous_page.py │ │ │ ├── public_associations_for_object.py │ │ │ ├── public_gdpr_delete_input.py │ │ │ ├── public_merge_input.py │ │ │ ├── public_object_id.py │ │ │ ├── public_object_search_request.py │ │ │ ├── simple_public_object.py │ │ │ ├── simple_public_object_batch_input.py │ │ │ ├── simple_public_object_batch_input_for_create.py │ │ │ ├── simple_public_object_batch_input_upsert.py │ │ │ ├── simple_public_object_id.py │ │ │ ├── simple_public_object_input.py │ │ │ ├── simple_public_object_input_for_create.py │ │ │ ├── simple_public_object_with_associations.py │ │ │ ├── simple_public_upsert_object.py │ │ │ ├── standard_error.py │ │ │ └── value_with_timestamp.py │ │ └── rest.py │ ├── deals │ │ ├── __init__.py │ │ ├── api │ │ │ ├── __init__.py │ │ │ ├── basic_api.py │ │ │ ├── batch_api.py │ │ │ └── search_api.py │ │ ├── api_client.py │ │ ├── configuration.py │ │ ├── exceptions.py │ │ ├── models │ │ │ ├── __init__.py │ │ │ ├── associated_id.py │ │ │ ├── association_spec.py │ │ │ ├── batch_input_simple_public_object_batch_input.py │ │ │ ├── batch_input_simple_public_object_batch_input_for_create.py │ │ │ ├── batch_input_simple_public_object_batch_input_upsert.py │ │ │ ├── batch_input_simple_public_object_id.py │ │ │ ├── batch_read_input_simple_public_object_id.py │ │ │ ├── batch_response_simple_public_object.py │ │ │ ├── batch_response_simple_public_object_with_errors.py │ │ │ ├── batch_response_simple_public_upsert_object.py │ │ │ ├── batch_response_simple_public_upsert_object_with_errors.py │ │ │ ├── collection_response_associated_id.py │ │ │ ├── collection_response_simple_public_object_with_associations_forward_paging.py │ │ │ ├── collection_response_with_total_simple_public_object_forward_paging.py │ │ │ ├── error.py │ │ │ ├── error_detail.py │ │ │ ├── filter.py │ │ │ ├── filter_group.py │ │ │ ├── forward_paging.py │ │ │ ├── next_page.py │ │ │ ├── paging.py │ │ │ ├── previous_page.py │ │ │ ├── public_associations_for_object.py │ │ │ ├── public_merge_input.py │ │ │ ├── public_object_id.py │ │ │ ├── public_object_search_request.py │ │ │ ├── simple_public_object.py │ │ │ ├── simple_public_object_batch_input.py │ │ │ ├── simple_public_object_batch_input_for_create.py │ │ │ ├── simple_public_object_batch_input_upsert.py │ │ │ ├── simple_public_object_id.py │ │ │ ├── simple_public_object_input.py │ │ │ ├── simple_public_object_input_for_create.py │ │ │ ├── simple_public_object_with_associations.py │ │ │ ├── simple_public_upsert_object.py │ │ │ ├── standard_error.py │ │ │ └── value_with_timestamp.py │ │ └── rest.py │ ├── exports │ │ ├── __init__.py │ │ ├── api │ │ │ ├── __init__.py │ │ │ └── public_exports_api.py │ │ ├── api_client.py │ │ ├── configuration.py │ │ ├── exceptions.py │ │ ├── models │ │ │ ├── __init__.py │ │ │ ├── action_response_with_single_result_uri.py │ │ │ ├── error.py │ │ │ ├── error_detail.py │ │ │ ├── filter.py │ │ │ ├── public_crm_search_request.py │ │ │ ├── public_export_list_request.py │ │ │ ├── public_export_list_request_all_of.py │ │ │ ├── public_export_request.py │ │ │ ├── public_export_view_request.py │ │ │ ├── public_export_view_request_all_of.py │ │ │ ├── standard_error.py │ │ │ └── task_locator.py │ │ └── rest.py │ ├── extensions │ │ ├── __init__.py │ │ ├── calling │ │ │ ├── __init__.py │ │ │ ├── api │ │ │ │ ├── __init__.py │ │ │ │ ├── channel_connection_settings_api.py │ │ │ │ ├── recording_settings_api.py │ │ │ │ └── settings_api.py │ │ │ ├── api_client.py │ │ │ ├── configuration.py │ │ │ ├── exceptions.py │ │ │ ├── models │ │ │ │ ├── __init__.py │ │ │ │ ├── channel_connection_settings_patch_request.py │ │ │ │ ├── channel_connection_settings_request.py │ │ │ │ ├── channel_connection_settings_response.py │ │ │ │ ├── error.py │ │ │ │ ├── error_detail.py │ │ │ │ ├── mark_recording_as_ready_request.py │ │ │ │ ├── recording_settings_patch_request.py │ │ │ │ ├── recording_settings_request.py │ │ │ │ ├── recording_settings_response.py │ │ │ │ ├── settings_patch_request.py │ │ │ │ ├── settings_request.py │ │ │ │ └── settings_response.py │ │ │ └── rest.py │ │ ├── cards │ │ │ ├── __init__.py │ │ │ ├── api │ │ │ │ ├── __init__.py │ │ │ │ ├── cards_api.py │ │ │ │ └── sample_response_api.py │ │ │ ├── api_client.py │ │ │ ├── configuration.py │ │ │ ├── exceptions.py │ │ │ ├── models │ │ │ │ ├── __init__.py │ │ │ │ ├── action_confirmation_body.py │ │ │ │ ├── action_hook_action_body.py │ │ │ │ ├── card_actions.py │ │ │ │ ├── card_audit_response.py │ │ │ │ ├── card_create_request.py │ │ │ │ ├── card_display_body.py │ │ │ │ ├── card_display_property.py │ │ │ │ ├── card_fetch_body.py │ │ │ │ ├── card_fetch_body_patch.py │ │ │ │ ├── card_object_type_body.py │ │ │ │ ├── card_patch_request.py │ │ │ │ ├── display_option.py │ │ │ │ ├── error.py │ │ │ │ ├── error_detail.py │ │ │ │ ├── i_frame_action_body.py │ │ │ │ ├── integrator_card_payload_response.py │ │ │ │ ├── integrator_object_result.py │ │ │ │ ├── integrator_object_result_actions_inner.py │ │ │ │ ├── object_token.py │ │ │ │ ├── public_card_fetch_body.py │ │ │ │ ├── public_card_list_response.py │ │ │ │ ├── public_card_response.py │ │ │ │ └── top_level_actions.py │ │ │ └── rest.py │ │ └── videoconferencing │ │ │ ├── __init__.py │ │ │ ├── api │ │ │ ├── __init__.py │ │ │ └── settings_api.py │ │ │ ├── api_client.py │ │ │ ├── configuration.py │ │ │ ├── exceptions.py │ │ │ ├── models │ │ │ ├── __init__.py │ │ │ ├── error.py │ │ │ ├── error_detail.py │ │ │ └── external_settings.py │ │ │ └── rest.py │ ├── imports │ │ ├── __init__.py │ │ ├── api │ │ │ ├── __init__.py │ │ │ ├── core_api.py │ │ │ └── public_imports_api.py │ │ ├── api_client.py │ │ ├── configuration.py │ │ ├── exceptions.py │ │ ├── models │ │ │ ├── __init__.py │ │ │ ├── action_response.py │ │ │ ├── collection_response_public_import_error_forward_paging.py │ │ │ ├── collection_response_public_import_response.py │ │ │ ├── error.py │ │ │ ├── error_detail.py │ │ │ ├── forward_paging.py │ │ │ ├── import_row_core.py │ │ │ ├── import_template.py │ │ │ ├── next_page.py │ │ │ ├── paging.py │ │ │ ├── previous_page.py │ │ │ ├── property_value.py │ │ │ ├── public_import_error.py │ │ │ ├── public_import_metadata.py │ │ │ ├── public_import_response.py │ │ │ └── public_object_list_record.py │ │ └── rest.py │ ├── line_items │ │ ├── __init__.py │ │ ├── api │ │ │ ├── __init__.py │ │ │ ├── basic_api.py │ │ │ ├── batch_api.py │ │ │ └── search_api.py │ │ ├── api_client.py │ │ ├── configuration.py │ │ ├── exceptions.py │ │ ├── models │ │ │ ├── __init__.py │ │ │ ├── associated_id.py │ │ │ ├── association_spec.py │ │ │ ├── batch_input_simple_public_object_batch_input.py │ │ │ ├── batch_input_simple_public_object_batch_input_for_create.py │ │ │ ├── batch_input_simple_public_object_batch_input_upsert.py │ │ │ ├── batch_input_simple_public_object_id.py │ │ │ ├── batch_read_input_simple_public_object_id.py │ │ │ ├── batch_response_simple_public_object.py │ │ │ ├── batch_response_simple_public_object_with_errors.py │ │ │ ├── batch_response_simple_public_upsert_object.py │ │ │ ├── batch_response_simple_public_upsert_object_with_errors.py │ │ │ ├── collection_response_associated_id.py │ │ │ ├── collection_response_simple_public_object_with_associations_forward_paging.py │ │ │ ├── collection_response_with_total_simple_public_object_forward_paging.py │ │ │ ├── error.py │ │ │ ├── error_detail.py │ │ │ ├── filter.py │ │ │ ├── filter_group.py │ │ │ ├── forward_paging.py │ │ │ ├── next_page.py │ │ │ ├── paging.py │ │ │ ├── previous_page.py │ │ │ ├── public_associations_for_object.py │ │ │ ├── public_object_id.py │ │ │ ├── public_object_search_request.py │ │ │ ├── simple_public_object.py │ │ │ ├── simple_public_object_batch_input.py │ │ │ ├── simple_public_object_batch_input_for_create.py │ │ │ ├── simple_public_object_batch_input_upsert.py │ │ │ ├── simple_public_object_id.py │ │ │ ├── simple_public_object_input.py │ │ │ ├── simple_public_object_input_for_create.py │ │ │ ├── simple_public_object_with_associations.py │ │ │ ├── simple_public_upsert_object.py │ │ │ ├── standard_error.py │ │ │ └── value_with_timestamp.py │ │ └── rest.py │ ├── lists │ │ ├── __init__.py │ │ ├── api │ │ │ ├── __init__.py │ │ │ ├── folders_api.py │ │ │ ├── lists_api.py │ │ │ ├── mapping_api.py │ │ │ └── memberships_api.py │ │ ├── api_client.py │ │ ├── configuration.py │ │ ├── exceptions.py │ │ ├── models │ │ │ ├── __init__.py │ │ │ ├── api_collection_response_join_time_and_record_id.py │ │ │ ├── api_collection_response_record_list_membership_no_paging.py │ │ │ ├── error.py │ │ │ ├── error_detail.py │ │ │ ├── join_time_and_record_id.py │ │ │ ├── list_create_request.py │ │ │ ├── list_create_response.py │ │ │ ├── list_fetch_response.py │ │ │ ├── list_filter_update_request.py │ │ │ ├── list_folder_create_request.py │ │ │ ├── list_folder_create_response.py │ │ │ ├── list_folder_fetch_response.py │ │ │ ├── list_move_request.py │ │ │ ├── list_search_request.py │ │ │ ├── list_search_response.py │ │ │ ├── list_update_response.py │ │ │ ├── lists_by_id_response.py │ │ │ ├── membership_change_request.py │ │ │ ├── memberships_update_response.py │ │ │ ├── next_page.py │ │ │ ├── paging.py │ │ │ ├── previous_page.py │ │ │ ├── public_absolute_comparative_timestamp_refine_by.py │ │ │ ├── public_absolute_ranged_timestamp_refine_by.py │ │ │ ├── public_ads_search_filter.py │ │ │ ├── public_ads_time_filter.py │ │ │ ├── public_all_history_refine_by.py │ │ │ ├── public_all_property_types_operation.py │ │ │ ├── public_and_filter_branch.py │ │ │ ├── public_association_filter_branch.py │ │ │ ├── public_association_in_list_filter.py │ │ │ ├── public_batch_migration_mapping.py │ │ │ ├── public_bool_property_operation.py │ │ │ ├── public_calendar_date_property_operation.py │ │ │ ├── public_campaign_influenced_filter.py │ │ │ ├── public_communication_subscription_filter.py │ │ │ ├── public_comparative_date_property_operation.py │ │ │ ├── public_comparative_property_updated_operation.py │ │ │ ├── public_constant_filter.py │ │ │ ├── public_cta_analytics_filter.py │ │ │ ├── public_date_point.py │ │ │ ├── public_date_property_operation.py │ │ │ ├── public_date_time_property_operation.py │ │ │ ├── public_email_event_filter.py │ │ │ ├── public_email_subscription_filter.py │ │ │ ├── public_enumeration_property_operation.py │ │ │ ├── public_event_analytics_filter.py │ │ │ ├── public_event_filter_metadata.py │ │ │ ├── public_fiscal_quarter_reference.py │ │ │ ├── public_fiscal_year_reference.py │ │ │ ├── public_form_submission_filter.py │ │ │ ├── public_form_submission_filter_coalescing_refine_by.py │ │ │ ├── public_form_submission_on_page_filter.py │ │ │ ├── public_in_list_filter.py │ │ │ ├── public_in_list_filter_metadata.py │ │ │ ├── public_index_offset.py │ │ │ ├── public_indexed_time_point.py │ │ │ ├── public_indexed_time_point_index_reference.py │ │ │ ├── public_integration_event_filter.py │ │ │ ├── public_list_folder.py │ │ │ ├── public_migration_mapping.py │ │ │ ├── public_month_reference.py │ │ │ ├── public_multi_string_property_operation.py │ │ │ ├── public_not_all_filter_branch.py │ │ │ ├── public_not_any_filter_branch.py │ │ │ ├── public_now_reference.py │ │ │ ├── public_num_associations_filter.py │ │ │ ├── public_num_occurrences_refine_by.py │ │ │ ├── public_number_property_operation.py │ │ │ ├── public_object_list.py │ │ │ ├── public_object_list_search_result.py │ │ │ ├── public_or_filter_branch.py │ │ │ ├── public_page_view_analytics_filter.py │ │ │ ├── public_privacy_analytics_filter.py │ │ │ ├── public_property_association_filter_branch.py │ │ │ ├── public_property_association_filter_branch_filter_branches_inner.py │ │ │ ├── public_property_association_filter_branch_filters_inner.py │ │ │ ├── public_property_association_in_list_filter.py │ │ │ ├── public_property_filter.py │ │ │ ├── public_property_referenced_time.py │ │ │ ├── public_quarter_reference.py │ │ │ ├── public_ranged_date_property_operation.py │ │ │ ├── public_ranged_number_property_operation.py │ │ │ ├── public_ranged_time_operation.py │ │ │ ├── public_relative_comparative_timestamp_refine_by.py │ │ │ ├── public_relative_ranged_timestamp_refine_by.py │ │ │ ├── public_restricted_filter_branch.py │ │ │ ├── public_rolling_date_range_property_operation.py │ │ │ ├── public_rolling_property_updated_operation.py │ │ │ ├── public_set_occurrences_refine_by.py │ │ │ ├── public_string_property_operation.py │ │ │ ├── public_survey_monkey_filter.py │ │ │ ├── public_survey_monkey_value_filter.py │ │ │ ├── public_survey_monkey_value_filter_value_comparison.py │ │ │ ├── public_time_offset.py │ │ │ ├── public_time_point_operation.py │ │ │ ├── public_time_point_operation_time_point.py │ │ │ ├── public_today_reference.py │ │ │ ├── public_unified_events_filter.py │ │ │ ├── public_unified_events_filter_branch.py │ │ │ ├── public_webinar_filter.py │ │ │ ├── public_week_reference.py │ │ │ ├── public_year_reference.py │ │ │ └── record_list_membership.py │ │ └── rest.py │ ├── object_type.py │ ├── objects │ │ ├── __init__.py │ │ ├── api │ │ │ ├── __init__.py │ │ │ ├── basic_api.py │ │ │ ├── batch_api.py │ │ │ └── search_api.py │ │ ├── api_client.py │ │ ├── calls │ │ │ ├── __init__.py │ │ │ ├── api │ │ │ │ ├── __init__.py │ │ │ │ ├── basic_api.py │ │ │ │ ├── batch_api.py │ │ │ │ └── search_api.py │ │ │ ├── api_client.py │ │ │ ├── configuration.py │ │ │ ├── exceptions.py │ │ │ ├── models │ │ │ │ ├── __init__.py │ │ │ │ ├── associated_id.py │ │ │ │ ├── association_spec.py │ │ │ │ ├── batch_input_simple_public_object_batch_input.py │ │ │ │ ├── batch_input_simple_public_object_batch_input_for_create.py │ │ │ │ ├── batch_input_simple_public_object_batch_input_upsert.py │ │ │ │ ├── batch_input_simple_public_object_id.py │ │ │ │ ├── batch_read_input_simple_public_object_id.py │ │ │ │ ├── batch_response_simple_public_object.py │ │ │ │ ├── batch_response_simple_public_object_with_errors.py │ │ │ │ ├── batch_response_simple_public_upsert_object.py │ │ │ │ ├── batch_response_simple_public_upsert_object_with_errors.py │ │ │ │ ├── collection_response_associated_id.py │ │ │ │ ├── collection_response_simple_public_object_with_associations_forward_paging.py │ │ │ │ ├── collection_response_with_total_simple_public_object_forward_paging.py │ │ │ │ ├── error.py │ │ │ │ ├── error_detail.py │ │ │ │ ├── filter.py │ │ │ │ ├── filter_group.py │ │ │ │ ├── forward_paging.py │ │ │ │ ├── next_page.py │ │ │ │ ├── paging.py │ │ │ │ ├── previous_page.py │ │ │ │ ├── public_associations_for_object.py │ │ │ │ ├── public_object_id.py │ │ │ │ ├── public_object_search_request.py │ │ │ │ ├── simple_public_object.py │ │ │ │ ├── simple_public_object_batch_input.py │ │ │ │ ├── simple_public_object_batch_input_for_create.py │ │ │ │ ├── simple_public_object_batch_input_upsert.py │ │ │ │ ├── simple_public_object_id.py │ │ │ │ ├── simple_public_object_input.py │ │ │ │ ├── simple_public_object_input_for_create.py │ │ │ │ ├── simple_public_object_with_associations.py │ │ │ │ ├── simple_public_upsert_object.py │ │ │ │ ├── standard_error.py │ │ │ │ └── value_with_timestamp.py │ │ │ └── rest.py │ │ ├── communications │ │ │ ├── __init__.py │ │ │ ├── api │ │ │ │ ├── __init__.py │ │ │ │ ├── basic_api.py │ │ │ │ ├── batch_api.py │ │ │ │ └── search_api.py │ │ │ ├── api_client.py │ │ │ ├── configuration.py │ │ │ ├── exceptions.py │ │ │ ├── models │ │ │ │ ├── __init__.py │ │ │ │ ├── associated_id.py │ │ │ │ ├── association_spec.py │ │ │ │ ├── batch_input_simple_public_object_batch_input.py │ │ │ │ ├── batch_input_simple_public_object_batch_input_for_create.py │ │ │ │ ├── batch_input_simple_public_object_batch_input_upsert.py │ │ │ │ ├── batch_input_simple_public_object_id.py │ │ │ │ ├── batch_read_input_simple_public_object_id.py │ │ │ │ ├── batch_response_simple_public_object.py │ │ │ │ ├── batch_response_simple_public_object_with_errors.py │ │ │ │ ├── batch_response_simple_public_upsert_object.py │ │ │ │ ├── batch_response_simple_public_upsert_object_with_errors.py │ │ │ │ ├── collection_response_associated_id.py │ │ │ │ ├── collection_response_simple_public_object_with_associations_forward_paging.py │ │ │ │ ├── collection_response_with_total_simple_public_object_forward_paging.py │ │ │ │ ├── error.py │ │ │ │ ├── error_detail.py │ │ │ │ ├── filter.py │ │ │ │ ├── filter_group.py │ │ │ │ ├── forward_paging.py │ │ │ │ ├── next_page.py │ │ │ │ ├── paging.py │ │ │ │ ├── previous_page.py │ │ │ │ ├── public_associations_for_object.py │ │ │ │ ├── public_object_id.py │ │ │ │ ├── public_object_search_request.py │ │ │ │ ├── simple_public_object.py │ │ │ │ ├── simple_public_object_batch_input.py │ │ │ │ ├── simple_public_object_batch_input_for_create.py │ │ │ │ ├── simple_public_object_batch_input_upsert.py │ │ │ │ ├── simple_public_object_id.py │ │ │ │ ├── simple_public_object_input.py │ │ │ │ ├── simple_public_object_input_for_create.py │ │ │ │ ├── simple_public_object_with_associations.py │ │ │ │ ├── simple_public_upsert_object.py │ │ │ │ ├── standard_error.py │ │ │ │ └── value_with_timestamp.py │ │ │ └── rest.py │ │ ├── configuration.py │ │ ├── deal_splits │ │ │ ├── __init__.py │ │ │ ├── api │ │ │ │ ├── __init__.py │ │ │ │ └── batch_api.py │ │ │ ├── api_client.py │ │ │ ├── configuration.py │ │ │ ├── exceptions.py │ │ │ ├── models │ │ │ │ ├── __init__.py │ │ │ │ ├── batch_input_public_object_id.py │ │ │ │ ├── batch_response_deal_to_deal_splits.py │ │ │ │ ├── batch_response_deal_to_deal_splits_with_errors.py │ │ │ │ ├── deal_to_deal_splits.py │ │ │ │ ├── error.py │ │ │ │ ├── error_detail.py │ │ │ │ ├── public_deal_split_input.py │ │ │ │ ├── public_deal_splits_batch_create_request.py │ │ │ │ ├── public_deal_splits_create_request.py │ │ │ │ ├── public_object_id.py │ │ │ │ ├── simple_public_object.py │ │ │ │ ├── standard_error.py │ │ │ │ └── value_with_timestamp.py │ │ │ └── rest.py │ │ ├── emails │ │ │ ├── __init__.py │ │ │ ├── api │ │ │ │ ├── __init__.py │ │ │ │ ├── basic_api.py │ │ │ │ ├── batch_api.py │ │ │ │ └── search_api.py │ │ │ ├── api_client.py │ │ │ ├── configuration.py │ │ │ ├── exceptions.py │ │ │ ├── models │ │ │ │ ├── __init__.py │ │ │ │ ├── associated_id.py │ │ │ │ ├── association_spec.py │ │ │ │ ├── batch_input_simple_public_object_batch_input.py │ │ │ │ ├── batch_input_simple_public_object_batch_input_for_create.py │ │ │ │ ├── batch_input_simple_public_object_batch_input_upsert.py │ │ │ │ ├── batch_input_simple_public_object_id.py │ │ │ │ ├── batch_read_input_simple_public_object_id.py │ │ │ │ ├── batch_response_simple_public_object.py │ │ │ │ ├── batch_response_simple_public_object_with_errors.py │ │ │ │ ├── batch_response_simple_public_upsert_object.py │ │ │ │ ├── batch_response_simple_public_upsert_object_with_errors.py │ │ │ │ ├── collection_response_associated_id.py │ │ │ │ ├── collection_response_simple_public_object_with_associations_forward_paging.py │ │ │ │ ├── collection_response_with_total_simple_public_object_forward_paging.py │ │ │ │ ├── error.py │ │ │ │ ├── error_detail.py │ │ │ │ ├── filter.py │ │ │ │ ├── filter_group.py │ │ │ │ ├── forward_paging.py │ │ │ │ ├── next_page.py │ │ │ │ ├── paging.py │ │ │ │ ├── previous_page.py │ │ │ │ ├── public_associations_for_object.py │ │ │ │ ├── public_object_id.py │ │ │ │ ├── public_object_search_request.py │ │ │ │ ├── simple_public_object.py │ │ │ │ ├── simple_public_object_batch_input.py │ │ │ │ ├── simple_public_object_batch_input_for_create.py │ │ │ │ ├── simple_public_object_batch_input_upsert.py │ │ │ │ ├── simple_public_object_id.py │ │ │ │ ├── simple_public_object_input.py │ │ │ │ ├── simple_public_object_input_for_create.py │ │ │ │ ├── simple_public_object_with_associations.py │ │ │ │ ├── simple_public_upsert_object.py │ │ │ │ ├── standard_error.py │ │ │ │ └── value_with_timestamp.py │ │ │ └── rest.py │ │ ├── exceptions.py │ │ ├── feedback_submissions │ │ │ ├── __init__.py │ │ │ ├── api │ │ │ │ ├── __init__.py │ │ │ │ ├── basic_api.py │ │ │ │ ├── batch_api.py │ │ │ │ └── search_api.py │ │ │ ├── api_client.py │ │ │ ├── configuration.py │ │ │ ├── exceptions.py │ │ │ ├── models │ │ │ │ ├── __init__.py │ │ │ │ ├── associated_id.py │ │ │ │ ├── batch_read_input_simple_public_object_id.py │ │ │ │ ├── batch_response_simple_public_object.py │ │ │ │ ├── batch_response_simple_public_object_with_errors.py │ │ │ │ ├── collection_response_associated_id.py │ │ │ │ ├── collection_response_simple_public_object_with_associations_forward_paging.py │ │ │ │ ├── collection_response_with_total_simple_public_object_forward_paging.py │ │ │ │ ├── error.py │ │ │ │ ├── error_detail.py │ │ │ │ ├── filter.py │ │ │ │ ├── filter_group.py │ │ │ │ ├── forward_paging.py │ │ │ │ ├── next_page.py │ │ │ │ ├── paging.py │ │ │ │ ├── previous_page.py │ │ │ │ ├── public_object_search_request.py │ │ │ │ ├── simple_public_object.py │ │ │ │ ├── simple_public_object_id.py │ │ │ │ ├── simple_public_object_with_associations.py │ │ │ │ ├── standard_error.py │ │ │ │ └── value_with_timestamp.py │ │ │ └── rest.py │ │ ├── goals │ │ │ ├── __init__.py │ │ │ ├── api │ │ │ │ ├── __init__.py │ │ │ │ ├── basic_api.py │ │ │ │ ├── batch_api.py │ │ │ │ └── search_api.py │ │ │ ├── api_client.py │ │ │ ├── configuration.py │ │ │ ├── exceptions.py │ │ │ ├── models │ │ │ │ ├── __init__.py │ │ │ │ ├── associated_id.py │ │ │ │ ├── association_spec.py │ │ │ │ ├── batch_input_simple_public_object_batch_input.py │ │ │ │ ├── batch_input_simple_public_object_batch_input_for_create.py │ │ │ │ ├── batch_input_simple_public_object_batch_input_upsert.py │ │ │ │ ├── batch_input_simple_public_object_id.py │ │ │ │ ├── batch_read_input_simple_public_object_id.py │ │ │ │ ├── batch_response_simple_public_object.py │ │ │ │ ├── batch_response_simple_public_object_with_errors.py │ │ │ │ ├── batch_response_simple_public_upsert_object.py │ │ │ │ ├── batch_response_simple_public_upsert_object_with_errors.py │ │ │ │ ├── collection_response_associated_id.py │ │ │ │ ├── collection_response_simple_public_object_with_associations_forward_paging.py │ │ │ │ ├── collection_response_with_total_simple_public_object_forward_paging.py │ │ │ │ ├── error.py │ │ │ │ ├── error_detail.py │ │ │ │ ├── filter.py │ │ │ │ ├── filter_group.py │ │ │ │ ├── forward_paging.py │ │ │ │ ├── next_page.py │ │ │ │ ├── paging.py │ │ │ │ ├── previous_page.py │ │ │ │ ├── public_associations_for_object.py │ │ │ │ ├── public_object_id.py │ │ │ │ ├── public_object_search_request.py │ │ │ │ ├── simple_public_object.py │ │ │ │ ├── simple_public_object_batch_input.py │ │ │ │ ├── simple_public_object_batch_input_for_create.py │ │ │ │ ├── simple_public_object_batch_input_upsert.py │ │ │ │ ├── simple_public_object_id.py │ │ │ │ ├── simple_public_object_input.py │ │ │ │ ├── simple_public_object_input_for_create.py │ │ │ │ ├── simple_public_object_with_associations.py │ │ │ │ ├── simple_public_upsert_object.py │ │ │ │ ├── standard_error.py │ │ │ │ └── value_with_timestamp.py │ │ │ └── rest.py │ │ ├── leads │ │ │ ├── __init__.py │ │ │ ├── api │ │ │ │ ├── __init__.py │ │ │ │ ├── basic_api.py │ │ │ │ ├── batch_api.py │ │ │ │ └── search_api.py │ │ │ ├── api_client.py │ │ │ ├── configuration.py │ │ │ ├── exceptions.py │ │ │ ├── models │ │ │ │ ├── __init__.py │ │ │ │ ├── associated_id.py │ │ │ │ ├── association_spec.py │ │ │ │ ├── batch_input_simple_public_object_batch_input.py │ │ │ │ ├── batch_input_simple_public_object_batch_input_for_create.py │ │ │ │ ├── batch_input_simple_public_object_batch_input_upsert.py │ │ │ │ ├── batch_input_simple_public_object_id.py │ │ │ │ ├── batch_read_input_simple_public_object_id.py │ │ │ │ ├── batch_response_simple_public_object.py │ │ │ │ ├── batch_response_simple_public_object_with_errors.py │ │ │ │ ├── batch_response_simple_public_upsert_object.py │ │ │ │ ├── batch_response_simple_public_upsert_object_with_errors.py │ │ │ │ ├── collection_response_associated_id.py │ │ │ │ ├── collection_response_simple_public_object_with_associations_forward_paging.py │ │ │ │ ├── collection_response_with_total_simple_public_object_forward_paging.py │ │ │ │ ├── error.py │ │ │ │ ├── error_detail.py │ │ │ │ ├── filter.py │ │ │ │ ├── filter_group.py │ │ │ │ ├── forward_paging.py │ │ │ │ ├── next_page.py │ │ │ │ ├── paging.py │ │ │ │ ├── previous_page.py │ │ │ │ ├── public_associations_for_object.py │ │ │ │ ├── public_object_id.py │ │ │ │ ├── public_object_search_request.py │ │ │ │ ├── simple_public_object.py │ │ │ │ ├── simple_public_object_batch_input.py │ │ │ │ ├── simple_public_object_batch_input_for_create.py │ │ │ │ ├── simple_public_object_batch_input_upsert.py │ │ │ │ ├── simple_public_object_id.py │ │ │ │ ├── simple_public_object_input.py │ │ │ │ ├── simple_public_object_input_for_create.py │ │ │ │ ├── simple_public_object_with_associations.py │ │ │ │ ├── simple_public_upsert_object.py │ │ │ │ ├── standard_error.py │ │ │ │ └── value_with_timestamp.py │ │ │ └── rest.py │ │ ├── meetings │ │ │ ├── __init__.py │ │ │ ├── api │ │ │ │ ├── __init__.py │ │ │ │ ├── basic_api.py │ │ │ │ ├── batch_api.py │ │ │ │ └── search_api.py │ │ │ ├── api_client.py │ │ │ ├── configuration.py │ │ │ ├── exceptions.py │ │ │ ├── models │ │ │ │ ├── __init__.py │ │ │ │ ├── associated_id.py │ │ │ │ ├── association_spec.py │ │ │ │ ├── batch_input_simple_public_object_batch_input.py │ │ │ │ ├── batch_input_simple_public_object_batch_input_for_create.py │ │ │ │ ├── batch_input_simple_public_object_batch_input_upsert.py │ │ │ │ ├── batch_input_simple_public_object_id.py │ │ │ │ ├── batch_read_input_simple_public_object_id.py │ │ │ │ ├── batch_response_simple_public_object.py │ │ │ │ ├── batch_response_simple_public_object_with_errors.py │ │ │ │ ├── batch_response_simple_public_upsert_object.py │ │ │ │ ├── batch_response_simple_public_upsert_object_with_errors.py │ │ │ │ ├── collection_response_associated_id.py │ │ │ │ ├── collection_response_simple_public_object_with_associations_forward_paging.py │ │ │ │ ├── collection_response_with_total_simple_public_object_forward_paging.py │ │ │ │ ├── error.py │ │ │ │ ├── error_detail.py │ │ │ │ ├── filter.py │ │ │ │ ├── filter_group.py │ │ │ │ ├── forward_paging.py │ │ │ │ ├── next_page.py │ │ │ │ ├── paging.py │ │ │ │ ├── previous_page.py │ │ │ │ ├── public_associations_for_object.py │ │ │ │ ├── public_object_id.py │ │ │ │ ├── public_object_search_request.py │ │ │ │ ├── simple_public_object.py │ │ │ │ ├── simple_public_object_batch_input.py │ │ │ │ ├── simple_public_object_batch_input_for_create.py │ │ │ │ ├── simple_public_object_batch_input_upsert.py │ │ │ │ ├── simple_public_object_id.py │ │ │ │ ├── simple_public_object_input.py │ │ │ │ ├── simple_public_object_input_for_create.py │ │ │ │ ├── simple_public_object_with_associations.py │ │ │ │ ├── simple_public_upsert_object.py │ │ │ │ ├── standard_error.py │ │ │ │ └── value_with_timestamp.py │ │ │ └── rest.py │ │ ├── models │ │ │ ├── __init__.py │ │ │ ├── associated_id.py │ │ │ ├── association_spec.py │ │ │ ├── batch_input_simple_public_object_batch_input.py │ │ │ ├── batch_input_simple_public_object_batch_input_for_create.py │ │ │ ├── batch_input_simple_public_object_batch_input_upsert.py │ │ │ ├── batch_input_simple_public_object_id.py │ │ │ ├── batch_read_input_simple_public_object_id.py │ │ │ ├── batch_response_simple_public_object.py │ │ │ ├── batch_response_simple_public_object_with_errors.py │ │ │ ├── batch_response_simple_public_upsert_object.py │ │ │ ├── batch_response_simple_public_upsert_object_with_errors.py │ │ │ ├── collection_response_associated_id.py │ │ │ ├── collection_response_simple_public_object_with_associations_forward_paging.py │ │ │ ├── collection_response_with_total_simple_public_object_forward_paging.py │ │ │ ├── error.py │ │ │ ├── error_detail.py │ │ │ ├── filter.py │ │ │ ├── filter_group.py │ │ │ ├── forward_paging.py │ │ │ ├── next_page.py │ │ │ ├── paging.py │ │ │ ├── previous_page.py │ │ │ ├── public_associations_for_object.py │ │ │ ├── public_object_id.py │ │ │ ├── public_object_search_request.py │ │ │ ├── simple_public_object.py │ │ │ ├── simple_public_object_batch_input.py │ │ │ ├── simple_public_object_batch_input_for_create.py │ │ │ ├── simple_public_object_batch_input_upsert.py │ │ │ ├── simple_public_object_id.py │ │ │ ├── simple_public_object_input.py │ │ │ ├── simple_public_object_input_for_create.py │ │ │ ├── simple_public_object_with_associations.py │ │ │ ├── simple_public_upsert_object.py │ │ │ ├── standard_error.py │ │ │ └── value_with_timestamp.py │ │ ├── notes │ │ │ ├── __init__.py │ │ │ ├── api │ │ │ │ ├── __init__.py │ │ │ │ ├── basic_api.py │ │ │ │ ├── batch_api.py │ │ │ │ └── search_api.py │ │ │ ├── api_client.py │ │ │ ├── configuration.py │ │ │ ├── exceptions.py │ │ │ ├── models │ │ │ │ ├── __init__.py │ │ │ │ ├── associated_id.py │ │ │ │ ├── association_spec.py │ │ │ │ ├── batch_input_simple_public_object_batch_input.py │ │ │ │ ├── batch_input_simple_public_object_batch_input_for_create.py │ │ │ │ ├── batch_input_simple_public_object_batch_input_upsert.py │ │ │ │ ├── batch_input_simple_public_object_id.py │ │ │ │ ├── batch_read_input_simple_public_object_id.py │ │ │ │ ├── batch_response_simple_public_object.py │ │ │ │ ├── batch_response_simple_public_object_with_errors.py │ │ │ │ ├── batch_response_simple_public_upsert_object.py │ │ │ │ ├── batch_response_simple_public_upsert_object_with_errors.py │ │ │ │ ├── collection_response_associated_id.py │ │ │ │ ├── collection_response_simple_public_object_with_associations_forward_paging.py │ │ │ │ ├── collection_response_with_total_simple_public_object_forward_paging.py │ │ │ │ ├── error.py │ │ │ │ ├── error_detail.py │ │ │ │ ├── filter.py │ │ │ │ ├── filter_group.py │ │ │ │ ├── forward_paging.py │ │ │ │ ├── next_page.py │ │ │ │ ├── paging.py │ │ │ │ ├── previous_page.py │ │ │ │ ├── public_associations_for_object.py │ │ │ │ ├── public_object_id.py │ │ │ │ ├── public_object_search_request.py │ │ │ │ ├── simple_public_object.py │ │ │ │ ├── simple_public_object_batch_input.py │ │ │ │ ├── simple_public_object_batch_input_for_create.py │ │ │ │ ├── simple_public_object_batch_input_upsert.py │ │ │ │ ├── simple_public_object_id.py │ │ │ │ ├── simple_public_object_input.py │ │ │ │ ├── simple_public_object_input_for_create.py │ │ │ │ ├── simple_public_object_with_associations.py │ │ │ │ ├── simple_public_upsert_object.py │ │ │ │ ├── standard_error.py │ │ │ │ └── value_with_timestamp.py │ │ │ └── rest.py │ │ ├── postal_mail │ │ │ ├── __init__.py │ │ │ ├── api │ │ │ │ ├── __init__.py │ │ │ │ ├── basic_api.py │ │ │ │ ├── batch_api.py │ │ │ │ └── search_api.py │ │ │ ├── api_client.py │ │ │ ├── configuration.py │ │ │ ├── exceptions.py │ │ │ ├── models │ │ │ │ ├── __init__.py │ │ │ │ ├── associated_id.py │ │ │ │ ├── association_spec.py │ │ │ │ ├── batch_input_simple_public_object_batch_input.py │ │ │ │ ├── batch_input_simple_public_object_batch_input_for_create.py │ │ │ │ ├── batch_input_simple_public_object_batch_input_upsert.py │ │ │ │ ├── batch_input_simple_public_object_id.py │ │ │ │ ├── batch_read_input_simple_public_object_id.py │ │ │ │ ├── batch_response_simple_public_object.py │ │ │ │ ├── batch_response_simple_public_object_with_errors.py │ │ │ │ ├── batch_response_simple_public_upsert_object.py │ │ │ │ ├── batch_response_simple_public_upsert_object_with_errors.py │ │ │ │ ├── collection_response_associated_id.py │ │ │ │ ├── collection_response_simple_public_object_with_associations_forward_paging.py │ │ │ │ ├── collection_response_with_total_simple_public_object_forward_paging.py │ │ │ │ ├── error.py │ │ │ │ ├── error_detail.py │ │ │ │ ├── filter.py │ │ │ │ ├── filter_group.py │ │ │ │ ├── forward_paging.py │ │ │ │ ├── next_page.py │ │ │ │ ├── paging.py │ │ │ │ ├── previous_page.py │ │ │ │ ├── public_associations_for_object.py │ │ │ │ ├── public_object_id.py │ │ │ │ ├── public_object_search_request.py │ │ │ │ ├── simple_public_object.py │ │ │ │ ├── simple_public_object_batch_input.py │ │ │ │ ├── simple_public_object_batch_input_for_create.py │ │ │ │ ├── simple_public_object_batch_input_upsert.py │ │ │ │ ├── simple_public_object_id.py │ │ │ │ ├── simple_public_object_input.py │ │ │ │ ├── simple_public_object_input_for_create.py │ │ │ │ ├── simple_public_object_with_associations.py │ │ │ │ ├── simple_public_upsert_object.py │ │ │ │ ├── standard_error.py │ │ │ │ └── value_with_timestamp.py │ │ │ └── rest.py │ │ ├── rest.py │ │ ├── tasks │ │ │ ├── __init__.py │ │ │ ├── api │ │ │ │ ├── __init__.py │ │ │ │ ├── basic_api.py │ │ │ │ ├── batch_api.py │ │ │ │ └── search_api.py │ │ │ ├── api_client.py │ │ │ ├── configuration.py │ │ │ ├── exceptions.py │ │ │ ├── models │ │ │ │ ├── __init__.py │ │ │ │ ├── associated_id.py │ │ │ │ ├── association_spec.py │ │ │ │ ├── batch_input_simple_public_object_batch_input.py │ │ │ │ ├── batch_input_simple_public_object_batch_input_for_create.py │ │ │ │ ├── batch_input_simple_public_object_batch_input_upsert.py │ │ │ │ ├── batch_input_simple_public_object_id.py │ │ │ │ ├── batch_read_input_simple_public_object_id.py │ │ │ │ ├── batch_response_simple_public_object.py │ │ │ │ ├── batch_response_simple_public_object_with_errors.py │ │ │ │ ├── batch_response_simple_public_upsert_object.py │ │ │ │ ├── batch_response_simple_public_upsert_object_with_errors.py │ │ │ │ ├── collection_response_associated_id.py │ │ │ │ ├── collection_response_simple_public_object_with_associations_forward_paging.py │ │ │ │ ├── collection_response_with_total_simple_public_object_forward_paging.py │ │ │ │ ├── error.py │ │ │ │ ├── error_detail.py │ │ │ │ ├── filter.py │ │ │ │ ├── filter_group.py │ │ │ │ ├── forward_paging.py │ │ │ │ ├── next_page.py │ │ │ │ ├── paging.py │ │ │ │ ├── previous_page.py │ │ │ │ ├── public_associations_for_object.py │ │ │ │ ├── public_object_id.py │ │ │ │ ├── public_object_search_request.py │ │ │ │ ├── simple_public_object.py │ │ │ │ ├── simple_public_object_batch_input.py │ │ │ │ ├── simple_public_object_batch_input_for_create.py │ │ │ │ ├── simple_public_object_batch_input_upsert.py │ │ │ │ ├── simple_public_object_id.py │ │ │ │ ├── simple_public_object_input.py │ │ │ │ ├── simple_public_object_input_for_create.py │ │ │ │ ├── simple_public_object_with_associations.py │ │ │ │ ├── simple_public_upsert_object.py │ │ │ │ ├── standard_error.py │ │ │ │ └── value_with_timestamp.py │ │ │ └── rest.py │ │ └── taxes │ │ │ ├── __init__.py │ │ │ ├── api │ │ │ ├── __init__.py │ │ │ ├── basic_api.py │ │ │ ├── batch_api.py │ │ │ └── search_api.py │ │ │ ├── api_client.py │ │ │ ├── configuration.py │ │ │ ├── exceptions.py │ │ │ ├── models │ │ │ ├── __init__.py │ │ │ ├── associated_id.py │ │ │ ├── association_spec.py │ │ │ ├── batch_input_simple_public_object_batch_input.py │ │ │ ├── batch_input_simple_public_object_batch_input_for_create.py │ │ │ ├── batch_input_simple_public_object_batch_input_upsert.py │ │ │ ├── batch_input_simple_public_object_id.py │ │ │ ├── batch_read_input_simple_public_object_id.py │ │ │ ├── batch_response_simple_public_object.py │ │ │ ├── batch_response_simple_public_object_with_errors.py │ │ │ ├── batch_response_simple_public_upsert_object.py │ │ │ ├── batch_response_simple_public_upsert_object_with_errors.py │ │ │ ├── collection_response_associated_id.py │ │ │ ├── collection_response_simple_public_object_with_associations_forward_paging.py │ │ │ ├── collection_response_with_total_simple_public_object_forward_paging.py │ │ │ ├── error.py │ │ │ ├── error_detail.py │ │ │ ├── filter.py │ │ │ ├── filter_group.py │ │ │ ├── forward_paging.py │ │ │ ├── next_page.py │ │ │ ├── paging.py │ │ │ ├── previous_page.py │ │ │ ├── public_associations_for_object.py │ │ │ ├── public_object_id.py │ │ │ ├── public_object_search_request.py │ │ │ ├── simple_public_object.py │ │ │ ├── simple_public_object_batch_input.py │ │ │ ├── simple_public_object_batch_input_for_create.py │ │ │ ├── simple_public_object_batch_input_upsert.py │ │ │ ├── simple_public_object_id.py │ │ │ ├── simple_public_object_input.py │ │ │ ├── simple_public_object_input_for_create.py │ │ │ ├── simple_public_object_with_associations.py │ │ │ ├── simple_public_upsert_object.py │ │ │ ├── standard_error.py │ │ │ └── value_with_timestamp.py │ │ │ └── rest.py │ ├── owners │ │ ├── __init__.py │ │ ├── api │ │ │ ├── __init__.py │ │ │ └── owners_api.py │ │ ├── api_client.py │ │ ├── configuration.py │ │ ├── exceptions.py │ │ ├── models │ │ │ ├── __init__.py │ │ │ ├── collection_response_public_owner_forward_paging.py │ │ │ ├── error.py │ │ │ ├── error_detail.py │ │ │ ├── forward_paging.py │ │ │ ├── next_page.py │ │ │ ├── public_owner.py │ │ │ └── public_team.py │ │ └── rest.py │ ├── pipelines │ │ ├── __init__.py │ │ ├── api │ │ │ ├── __init__.py │ │ │ ├── pipeline_audits_api.py │ │ │ ├── pipeline_stage_audits_api.py │ │ │ ├── pipeline_stages_api.py │ │ │ └── pipelines_api.py │ │ ├── api_client.py │ │ ├── configuration.py │ │ ├── exceptions.py │ │ ├── models │ │ │ ├── __init__.py │ │ │ ├── collection_response_pipeline_no_paging.py │ │ │ ├── collection_response_pipeline_stage_no_paging.py │ │ │ ├── collection_response_public_audit_info_no_paging.py │ │ │ ├── error.py │ │ │ ├── error_detail.py │ │ │ ├── pipeline.py │ │ │ ├── pipeline_input.py │ │ │ ├── pipeline_patch_input.py │ │ │ ├── pipeline_stage.py │ │ │ ├── pipeline_stage_input.py │ │ │ ├── pipeline_stage_patch_input.py │ │ │ └── public_audit_info.py │ │ └── rest.py │ ├── products │ │ ├── __init__.py │ │ ├── api │ │ │ ├── __init__.py │ │ │ ├── basic_api.py │ │ │ ├── batch_api.py │ │ │ └── search_api.py │ │ ├── api_client.py │ │ ├── configuration.py │ │ ├── exceptions.py │ │ ├── models │ │ │ ├── __init__.py │ │ │ ├── associated_id.py │ │ │ ├── association_spec.py │ │ │ ├── batch_input_simple_public_object_batch_input.py │ │ │ ├── batch_input_simple_public_object_batch_input_for_create.py │ │ │ ├── batch_input_simple_public_object_batch_input_upsert.py │ │ │ ├── batch_input_simple_public_object_id.py │ │ │ ├── batch_read_input_simple_public_object_id.py │ │ │ ├── batch_response_simple_public_object.py │ │ │ ├── batch_response_simple_public_object_with_errors.py │ │ │ ├── batch_response_simple_public_upsert_object.py │ │ │ ├── batch_response_simple_public_upsert_object_with_errors.py │ │ │ ├── collection_response_associated_id.py │ │ │ ├── collection_response_simple_public_object_with_associations_forward_paging.py │ │ │ ├── collection_response_with_total_simple_public_object_forward_paging.py │ │ │ ├── error.py │ │ │ ├── error_detail.py │ │ │ ├── filter.py │ │ │ ├── filter_group.py │ │ │ ├── forward_paging.py │ │ │ ├── next_page.py │ │ │ ├── paging.py │ │ │ ├── previous_page.py │ │ │ ├── public_associations_for_object.py │ │ │ ├── public_object_id.py │ │ │ ├── public_object_search_request.py │ │ │ ├── simple_public_object.py │ │ │ ├── simple_public_object_batch_input.py │ │ │ ├── simple_public_object_batch_input_for_create.py │ │ │ ├── simple_public_object_batch_input_upsert.py │ │ │ ├── simple_public_object_id.py │ │ │ ├── simple_public_object_input.py │ │ │ ├── simple_public_object_input_for_create.py │ │ │ ├── simple_public_object_with_associations.py │ │ │ ├── simple_public_upsert_object.py │ │ │ ├── standard_error.py │ │ │ └── value_with_timestamp.py │ │ └── rest.py │ ├── properties │ │ ├── __init__.py │ │ ├── api │ │ │ ├── __init__.py │ │ │ ├── batch_api.py │ │ │ ├── core_api.py │ │ │ └── groups_api.py │ │ ├── api_client.py │ │ ├── configuration.py │ │ ├── exceptions.py │ │ ├── models │ │ │ ├── __init__.py │ │ │ ├── batch_input_property_create.py │ │ │ ├── batch_input_property_name.py │ │ │ ├── batch_read_input_property_name.py │ │ │ ├── batch_response_property.py │ │ │ ├── batch_response_property_with_errors.py │ │ │ ├── collection_response_property_group_no_paging.py │ │ │ ├── collection_response_property_no_paging.py │ │ │ ├── error.py │ │ │ ├── error_detail.py │ │ │ ├── model_property.py │ │ │ ├── option.py │ │ │ ├── option_input.py │ │ │ ├── property_create.py │ │ │ ├── property_group.py │ │ │ ├── property_group_create.py │ │ │ ├── property_group_update.py │ │ │ ├── property_modification_metadata.py │ │ │ ├── property_name.py │ │ │ ├── property_update.py │ │ │ └── standard_error.py │ │ └── rest.py │ ├── quotes │ │ ├── __init__.py │ │ ├── api │ │ │ ├── __init__.py │ │ │ ├── basic_api.py │ │ │ ├── batch_api.py │ │ │ └── search_api.py │ │ ├── api_client.py │ │ ├── configuration.py │ │ ├── exceptions.py │ │ ├── models │ │ │ ├── __init__.py │ │ │ ├── associated_id.py │ │ │ ├── association_spec.py │ │ │ ├── batch_input_simple_public_object_batch_input.py │ │ │ ├── batch_input_simple_public_object_batch_input_for_create.py │ │ │ ├── batch_input_simple_public_object_batch_input_upsert.py │ │ │ ├── batch_input_simple_public_object_id.py │ │ │ ├── batch_read_input_simple_public_object_id.py │ │ │ ├── batch_response_simple_public_object.py │ │ │ ├── batch_response_simple_public_object_with_errors.py │ │ │ ├── batch_response_simple_public_upsert_object.py │ │ │ ├── batch_response_simple_public_upsert_object_with_errors.py │ │ │ ├── collection_response_associated_id.py │ │ │ ├── collection_response_simple_public_object_with_associations_forward_paging.py │ │ │ ├── collection_response_with_total_simple_public_object_forward_paging.py │ │ │ ├── error.py │ │ │ ├── error_detail.py │ │ │ ├── filter.py │ │ │ ├── filter_group.py │ │ │ ├── forward_paging.py │ │ │ ├── next_page.py │ │ │ ├── paging.py │ │ │ ├── previous_page.py │ │ │ ├── public_associations_for_object.py │ │ │ ├── public_object_id.py │ │ │ ├── public_object_search_request.py │ │ │ ├── simple_public_object.py │ │ │ ├── simple_public_object_batch_input.py │ │ │ ├── simple_public_object_batch_input_for_create.py │ │ │ ├── simple_public_object_batch_input_upsert.py │ │ │ ├── simple_public_object_id.py │ │ │ ├── simple_public_object_input.py │ │ │ ├── simple_public_object_input_for_create.py │ │ │ ├── simple_public_object_with_associations.py │ │ │ ├── simple_public_upsert_object.py │ │ │ ├── standard_error.py │ │ │ └── value_with_timestamp.py │ │ └── rest.py │ ├── schemas │ │ ├── __init__.py │ │ ├── api │ │ │ ├── __init__.py │ │ │ └── core_api.py │ │ ├── api_client.py │ │ ├── configuration.py │ │ ├── exceptions.py │ │ ├── models │ │ │ ├── __init__.py │ │ │ ├── association_definition.py │ │ │ ├── association_definition_egg.py │ │ │ ├── collection_response_object_schema_no_paging.py │ │ │ ├── error.py │ │ │ ├── error_detail.py │ │ │ ├── model_property.py │ │ │ ├── object_schema.py │ │ │ ├── object_schema_egg.py │ │ │ ├── object_type_definition.py │ │ │ ├── object_type_definition_labels.py │ │ │ ├── object_type_definition_patch.py │ │ │ ├── object_type_property_create.py │ │ │ ├── option.py │ │ │ ├── option_input.py │ │ │ └── property_modification_metadata.py │ │ └── rest.py │ ├── tickets │ │ ├── __init__.py │ │ ├── api │ │ │ ├── __init__.py │ │ │ ├── basic_api.py │ │ │ ├── batch_api.py │ │ │ └── search_api.py │ │ ├── api_client.py │ │ ├── configuration.py │ │ ├── exceptions.py │ │ ├── models │ │ │ ├── __init__.py │ │ │ ├── associated_id.py │ │ │ ├── association_spec.py │ │ │ ├── batch_input_simple_public_object_batch_input.py │ │ │ ├── batch_input_simple_public_object_batch_input_for_create.py │ │ │ ├── batch_input_simple_public_object_batch_input_upsert.py │ │ │ ├── batch_input_simple_public_object_id.py │ │ │ ├── batch_read_input_simple_public_object_id.py │ │ │ ├── batch_response_simple_public_object.py │ │ │ ├── batch_response_simple_public_object_with_errors.py │ │ │ ├── batch_response_simple_public_upsert_object.py │ │ │ ├── batch_response_simple_public_upsert_object_with_errors.py │ │ │ ├── collection_response_associated_id.py │ │ │ ├── collection_response_simple_public_object_with_associations_forward_paging.py │ │ │ ├── collection_response_with_total_simple_public_object_forward_paging.py │ │ │ ├── error.py │ │ │ ├── error_detail.py │ │ │ ├── filter.py │ │ │ ├── filter_group.py │ │ │ ├── forward_paging.py │ │ │ ├── next_page.py │ │ │ ├── paging.py │ │ │ ├── previous_page.py │ │ │ ├── public_associations_for_object.py │ │ │ ├── public_merge_input.py │ │ │ ├── public_object_id.py │ │ │ ├── public_object_search_request.py │ │ │ ├── simple_public_object.py │ │ │ ├── simple_public_object_batch_input.py │ │ │ ├── simple_public_object_batch_input_for_create.py │ │ │ ├── simple_public_object_batch_input_upsert.py │ │ │ ├── simple_public_object_id.py │ │ │ ├── simple_public_object_input.py │ │ │ ├── simple_public_object_input_for_create.py │ │ │ ├── simple_public_object_with_associations.py │ │ │ ├── simple_public_upsert_object.py │ │ │ ├── standard_error.py │ │ │ └── value_with_timestamp.py │ │ └── rest.py │ └── timeline │ │ ├── __init__.py │ │ ├── api │ │ ├── __init__.py │ │ ├── events_api.py │ │ ├── templates_api.py │ │ └── tokens_api.py │ │ ├── api_client.py │ │ ├── configuration.py │ │ ├── exceptions.py │ │ ├── models │ │ ├── __init__.py │ │ ├── batch_input_timeline_event.py │ │ ├── batch_response_timeline_event_response.py │ │ ├── batch_response_timeline_event_response_with_errors.py │ │ ├── collection_response_timeline_event_template_no_paging.py │ │ ├── error.py │ │ ├── error_detail.py │ │ ├── event_detail.py │ │ ├── standard_error.py │ │ ├── timeline_event.py │ │ ├── timeline_event_i_frame.py │ │ ├── timeline_event_response.py │ │ ├── timeline_event_template.py │ │ ├── timeline_event_template_create_request.py │ │ ├── timeline_event_template_token.py │ │ ├── timeline_event_template_token_option.py │ │ ├── timeline_event_template_token_update_request.py │ │ └── timeline_event_template_update_request.py │ │ └── rest.py ├── discovery │ ├── __init__.py │ ├── automation │ │ ├── __init__.py │ │ ├── actions │ │ │ ├── __init__.py │ │ │ └── discovery.py │ │ └── discovery.py │ ├── cms │ │ ├── __init__.py │ │ ├── audit_logs │ │ │ ├── __init__.py │ │ │ └── discovery.py │ │ ├── blogs │ │ │ ├── __init__.py │ │ │ ├── authors │ │ │ │ ├── __init__.py │ │ │ │ └── discovery.py │ │ │ ├── blog_posts │ │ │ │ ├── __init__.py │ │ │ │ └── discovery.py │ │ │ ├── discovery.py │ │ │ └── tags │ │ │ │ ├── __init__.py │ │ │ │ └── discovery.py │ │ ├── discovery.py │ │ ├── domains │ │ │ ├── __init__.py │ │ │ └── discovery.py │ │ ├── hubdb │ │ │ ├── __init__.py │ │ │ └── discovery.py │ │ ├── pages │ │ │ ├── __init__.py │ │ │ └── discovery.py │ │ ├── site_search │ │ │ ├── __init__.py │ │ │ └── discovery.py │ │ ├── source_code │ │ │ ├── __init__.py │ │ │ └── discovery.py │ │ └── url_redirects │ │ │ ├── __init__.py │ │ │ └── discovery.py │ ├── communication_preferences │ │ ├── __init__.py │ │ └── discovery.py │ ├── conversations │ │ ├── __init__.py │ │ ├── discovery.py │ │ └── visitor_identification │ │ │ ├── __init__.py │ │ │ └── discovery.py │ ├── crm │ │ ├── __init__.py │ │ ├── associations │ │ │ ├── __init__.py │ │ │ ├── discovery.py │ │ │ ├── schema │ │ │ │ ├── __init__.py │ │ │ │ └── discovery.py │ │ │ └── v4 │ │ │ │ ├── __init__.py │ │ │ │ ├── discovery.py │ │ │ │ └── schema │ │ │ │ ├── __init__.py │ │ │ │ └── discovery.py │ │ ├── commerce │ │ │ ├── __init__.py │ │ │ ├── discovery.py │ │ │ └── invoices │ │ │ │ ├── __init__.py │ │ │ │ └── discovery.py │ │ ├── companies │ │ │ ├── __init__.py │ │ │ └── discovery.py │ │ ├── contacts │ │ │ ├── __init__.py │ │ │ └── discovery.py │ │ ├── deals │ │ │ ├── __init__.py │ │ │ └── discovery.py │ │ ├── discovery.py │ │ ├── exports │ │ │ ├── __init__.py │ │ │ └── discovery.py │ │ ├── extensions │ │ │ ├── __init__.py │ │ │ ├── calling │ │ │ │ ├── __init__.py │ │ │ │ └── discovery.py │ │ │ ├── cards │ │ │ │ ├── __init__.py │ │ │ │ └── discovery.py │ │ │ ├── discovery.py │ │ │ └── videoconferencing │ │ │ │ ├── __init__.py │ │ │ │ └── discovery.py │ │ ├── imports │ │ │ ├── __init__.py │ │ │ └── discovery.py │ │ ├── line_items │ │ │ ├── __init__.py │ │ │ └── discovery.py │ │ ├── lists │ │ │ ├── __init__.py │ │ │ └── discovery.py │ │ ├── objects │ │ │ ├── __init__.py │ │ │ ├── calls │ │ │ │ ├── __init__.py │ │ │ │ └── discovery.py │ │ │ ├── communications │ │ │ │ ├── __init__.py │ │ │ │ └── discovery.py │ │ │ ├── deal_splits │ │ │ │ ├── __init__.py │ │ │ │ └── discovery.py │ │ │ ├── discovery.py │ │ │ ├── emails │ │ │ │ ├── __init__.py │ │ │ │ └── discovery.py │ │ │ ├── feedback_submissions │ │ │ │ ├── __init__.py │ │ │ │ └── discovery.py │ │ │ ├── goals │ │ │ │ ├── __init__.py │ │ │ │ └── discovery.py │ │ │ ├── leads │ │ │ │ ├── __init__.py │ │ │ │ └── discovery.py │ │ │ ├── meetings │ │ │ │ ├── __init__.py │ │ │ │ └── discovery.py │ │ │ ├── notes │ │ │ │ ├── __init__.py │ │ │ │ └── discovery.py │ │ │ ├── postal_mail │ │ │ │ ├── __init__.py │ │ │ │ └── discovery.py │ │ │ ├── tasks │ │ │ │ ├── __init__.py │ │ │ │ └── discovery.py │ │ │ └── taxes │ │ │ │ ├── __init__.py │ │ │ │ └── discovery.py │ │ ├── owners │ │ │ ├── __init__.py │ │ │ └── discovery.py │ │ ├── pipelines │ │ │ ├── __init__.py │ │ │ └── discovery.py │ │ ├── products │ │ │ ├── __init__.py │ │ │ └── discovery.py │ │ ├── properties │ │ │ ├── __init__.py │ │ │ └── discovery.py │ │ ├── quotes │ │ │ ├── __init__.py │ │ │ └── discovery.py │ │ ├── schemas │ │ │ ├── __init__.py │ │ │ └── discovery.py │ │ ├── tickets │ │ │ ├── __init__.py │ │ │ └── discovery.py │ │ └── timeline │ │ │ ├── __init__.py │ │ │ └── discovery.py │ ├── discovery_base.py │ ├── events │ │ ├── __init__.py │ │ ├── discovery.py │ │ └── send │ │ │ ├── __init__.py │ │ │ └── discovery.py │ ├── files │ │ ├── __init__.py │ │ └── discovery.py │ ├── marketing │ │ ├── __init__.py │ │ ├── discovery.py │ │ ├── emails │ │ │ ├── __init__.py │ │ │ └── discovery.py │ │ ├── events │ │ │ ├── __init__.py │ │ │ └── discovery.py │ │ ├── forms │ │ │ ├── __init__.py │ │ │ └── discovery.py │ │ └── transactional │ │ │ ├── __init__.py │ │ │ └── discovery.py │ ├── oauth │ │ ├── __init__.py │ │ └── discovery.py │ ├── settings │ │ ├── __init__.py │ │ ├── business_units │ │ │ ├── __init__.py │ │ │ └── discovery.py │ │ ├── discovery.py │ │ └── users │ │ │ ├── __init__.py │ │ │ └── discovery.py │ └── webhooks │ │ ├── __init__.py │ │ └── discovery.py ├── events │ ├── __init__.py │ ├── api │ │ ├── __init__.py │ │ └── events_api.py │ ├── api_client.py │ ├── configuration.py │ ├── exceptions.py │ ├── models │ │ ├── __init__.py │ │ ├── collection_response_external_unified_event.py │ │ ├── error.py │ │ ├── error_detail.py │ │ ├── external_unified_event.py │ │ ├── next_page.py │ │ ├── paging.py │ │ ├── previous_page.py │ │ └── visible_external_event_type_names.py │ ├── rest.py │ └── send │ │ ├── __init__.py │ │ ├── api │ │ ├── __init__.py │ │ ├── basic_api.py │ │ └── batch_api.py │ │ ├── api_client.py │ │ ├── configuration.py │ │ ├── exceptions.py │ │ ├── models │ │ ├── __init__.py │ │ ├── batched_behavioral_event_http_completion_request.py │ │ ├── behavioral_event_http_completion_request.py │ │ ├── error.py │ │ └── error_detail.py │ │ └── rest.py ├── exceptions.py ├── files │ ├── __init__.py │ ├── api │ │ ├── __init__.py │ │ ├── files_api.py │ │ └── folders_api.py │ ├── api_client.py │ ├── configuration.py │ ├── exceptions.py │ ├── models │ │ ├── __init__.py │ │ ├── collection_response_file.py │ │ ├── collection_response_folder.py │ │ ├── error.py │ │ ├── error_detail.py │ │ ├── file.py │ │ ├── file_action_response.py │ │ ├── file_stat.py │ │ ├── file_update_input.py │ │ ├── folder.py │ │ ├── folder_action_response.py │ │ ├── folder_input.py │ │ ├── folder_update_input.py │ │ ├── folder_update_input_with_id.py │ │ ├── folder_update_task_locator.py │ │ ├── import_from_url_input.py │ │ ├── import_from_url_task_locator.py │ │ ├── next_page.py │ │ ├── paging.py │ │ ├── previous_page.py │ │ ├── signed_url.py │ │ └── standard_error.py │ └── rest.py ├── hubspot.py ├── marketing │ ├── __init__.py │ ├── emails │ │ ├── __init__.py │ │ ├── api │ │ │ ├── __init__.py │ │ │ ├── marketing_emails_api.py │ │ │ └── statistics_api.py │ │ ├── api_client.py │ │ ├── configuration.py │ │ ├── exceptions.py │ │ ├── models │ │ │ ├── __init__.py │ │ │ ├── ab_test_create_request_v_next.py │ │ │ ├── aggregate_email_statistics.py │ │ │ ├── collection_response_with_total_email_statistic_interval_no_paging.py │ │ │ ├── collection_response_with_total_public_email_forward_paging.py │ │ │ ├── collection_response_with_total_version_public_email.py │ │ │ ├── content_clone_request_v_next.py │ │ │ ├── email_create_request.py │ │ │ ├── email_statistic_interval.py │ │ │ ├── email_statistics_data.py │ │ │ ├── email_update_request.py │ │ │ ├── error.py │ │ │ ├── error_detail.py │ │ │ ├── forward_paging.py │ │ │ ├── interval.py │ │ │ ├── next_page.py │ │ │ ├── paging.py │ │ │ ├── previous_page.py │ │ │ ├── public_button_style_settings.py │ │ │ ├── public_divider_style_settings.py │ │ │ ├── public_email.py │ │ │ ├── public_email_content.py │ │ │ ├── public_email_from_details.py │ │ │ ├── public_email_recipients.py │ │ │ ├── public_email_style_settings.py │ │ │ ├── public_email_subscription_details.py │ │ │ ├── public_email_testing_details.py │ │ │ ├── public_email_to_details.py │ │ │ ├── public_font_style.py │ │ │ ├── public_rss_email_details.py │ │ │ ├── public_webversion_details.py │ │ │ ├── version_public_email.py │ │ │ └── version_user.py │ │ └── rest.py │ ├── events │ │ ├── __init__.py │ │ ├── api │ │ │ ├── __init__.py │ │ │ ├── add_event_attendees_api.py │ │ │ ├── basic_api.py │ │ │ ├── batch_api.py │ │ │ ├── change_property_api.py │ │ │ ├── identifiers_api.py │ │ │ ├── list_associations_api.py │ │ │ ├── retrieve_participant_state_api.py │ │ │ ├── settings_api.py │ │ │ └── subscriber_state_changes_api.py │ │ ├── api_client.py │ │ ├── configuration.py │ │ ├── exceptions.py │ │ ├── models │ │ │ ├── __init__.py │ │ │ ├── app_info.py │ │ │ ├── attendance_counters.py │ │ │ ├── batch_input_marketing_event_create_request_params.py │ │ │ ├── batch_input_marketing_event_email_subscriber.py │ │ │ ├── batch_input_marketing_event_external_unique_identifier.py │ │ │ ├── batch_input_marketing_event_public_object_id_delete_request.py │ │ │ ├── batch_input_marketing_event_public_update_request_full_v2.py │ │ │ ├── batch_input_marketing_event_subscriber.py │ │ │ ├── batch_response_marketing_event_public_default_response.py │ │ │ ├── batch_response_marketing_event_public_default_response_v2.py │ │ │ ├── batch_response_marketing_event_public_default_response_v2_with_errors.py │ │ │ ├── batch_response_subscriber_email_response.py │ │ │ ├── batch_response_subscriber_vid_response.py │ │ │ ├── collection_response_marketing_event_public_read_response_v2_forward_paging.py │ │ │ ├── collection_response_search_public_response_wrapper_no_paging.py │ │ │ ├── collection_response_with_total_marketing_event_identifiers_response_no_paging.py │ │ │ ├── collection_response_with_total_participation_breakdown_forward_paging.py │ │ │ ├── collection_response_with_total_public_list_no_paging.py │ │ │ ├── contact_association.py │ │ │ ├── crm_property_wrapper.py │ │ │ ├── error.py │ │ │ ├── error_detail.py │ │ │ ├── event_detail_settings.py │ │ │ ├── event_detail_settings_url.py │ │ │ ├── forward_paging.py │ │ │ ├── marketing_event_association.py │ │ │ ├── marketing_event_complete_request_params.py │ │ │ ├── marketing_event_create_request_params.py │ │ │ ├── marketing_event_default_response.py │ │ │ ├── marketing_event_email_subscriber.py │ │ │ ├── marketing_event_external_unique_identifier.py │ │ │ ├── marketing_event_identifiers_response.py │ │ │ ├── marketing_event_public_default_response.py │ │ │ ├── marketing_event_public_default_response_v2.py │ │ │ ├── marketing_event_public_object_id_delete_request.py │ │ │ ├── marketing_event_public_read_response.py │ │ │ ├── marketing_event_public_read_response_v2.py │ │ │ ├── marketing_event_public_update_request_full_v2.py │ │ │ ├── marketing_event_public_update_request_v2.py │ │ │ ├── marketing_event_subscriber.py │ │ │ ├── marketing_event_update_request_params.py │ │ │ ├── next_page.py │ │ │ ├── participation_associations.py │ │ │ ├── participation_breakdown.py │ │ │ ├── participation_properties.py │ │ │ ├── property_value.py │ │ │ ├── public_list.py │ │ │ ├── search_public_response_wrapper.py │ │ │ ├── standard_error.py │ │ │ ├── subscriber_email_response.py │ │ │ └── subscriber_vid_response.py │ │ └── rest.py │ ├── forms │ │ ├── __init__.py │ │ ├── api │ │ │ ├── __init__.py │ │ │ └── forms_api.py │ │ ├── api_client.py │ │ ├── configuration.py │ │ ├── exceptions.py │ │ ├── models │ │ │ ├── __init__.py │ │ │ ├── collection_response_form_definition_base_forward_paging.py │ │ │ ├── collection_response_form_definition_base_forward_paging_results_inner.py │ │ │ ├── datepicker_field.py │ │ │ ├── dependent_field.py │ │ │ ├── dependent_field_dependent_field.py │ │ │ ├── dependent_field_filter.py │ │ │ ├── dropdown_field.py │ │ │ ├── email_field.py │ │ │ ├── email_field_validation.py │ │ │ ├── enumerated_field_option.py │ │ │ ├── error.py │ │ │ ├── error_detail.py │ │ │ ├── field_group.py │ │ │ ├── file_field.py │ │ │ ├── form_definition_base.py │ │ │ ├── form_definition_create_request_base.py │ │ │ ├── form_display_options.py │ │ │ ├── form_post_submit_action.py │ │ │ ├── form_style.py │ │ │ ├── forward_paging.py │ │ │ ├── hub_spot_form_configuration.py │ │ │ ├── hub_spot_form_definition.py │ │ │ ├── hub_spot_form_definition_all_of.py │ │ │ ├── hub_spot_form_definition_all_of_legal_consent_options.py │ │ │ ├── hub_spot_form_definition_create_request.py │ │ │ ├── hub_spot_form_definition_create_request_all_of.py │ │ │ ├── hub_spot_form_definition_patch_request.py │ │ │ ├── legal_consent_checkbox.py │ │ │ ├── legal_consent_options_explicit_consent_to_process.py │ │ │ ├── legal_consent_options_implicit_consent_to_process.py │ │ │ ├── legal_consent_options_legitimate_interest.py │ │ │ ├── legal_consent_options_none.py │ │ │ ├── lifecycle_stage.py │ │ │ ├── mobile_phone_field.py │ │ │ ├── multi_line_text_field.py │ │ │ ├── multiple_checkboxes_field.py │ │ │ ├── next_page.py │ │ │ ├── number_field.py │ │ │ ├── number_field_validation.py │ │ │ ├── payment_link_radio_field.py │ │ │ ├── phone_field.py │ │ │ ├── phone_field_validation.py │ │ │ ├── radio_field.py │ │ │ ├── single_checkbox_field.py │ │ │ └── single_line_text_field.py │ │ └── rest.py │ └── transactional │ │ ├── __init__.py │ │ ├── api │ │ ├── __init__.py │ │ ├── public_smtp_tokens_api.py │ │ └── single_send_api.py │ │ ├── api_client.py │ │ ├── configuration.py │ │ ├── exceptions.py │ │ ├── models │ │ ├── __init__.py │ │ ├── collection_response_smtp_api_token_view_forward_paging.py │ │ ├── email_send_status_view.py │ │ ├── error.py │ │ ├── error_detail.py │ │ ├── event_id_view.py │ │ ├── forward_paging.py │ │ ├── next_page.py │ │ ├── public_single_send_email.py │ │ ├── public_single_send_request_egg.py │ │ ├── smtp_api_token_request_egg.py │ │ └── smtp_api_token_view.py │ │ └── rest.py ├── oauth │ ├── __init__.py │ ├── api │ │ ├── __init__.py │ │ ├── access_tokens_api.py │ │ ├── refresh_tokens_api.py │ │ └── tokens_api.py │ ├── api_client.py │ ├── configuration.py │ ├── exceptions.py │ ├── models │ │ ├── __init__.py │ │ ├── access_token_info_response.py │ │ ├── error.py │ │ ├── error_detail.py │ │ ├── refresh_token_info_response.py │ │ └── token_response_if.py │ └── rest.py ├── settings │ ├── __init__.py │ ├── business_units │ │ ├── __init__.py │ │ ├── api │ │ │ ├── __init__.py │ │ │ └── business_unit_api.py │ │ ├── api_client.py │ │ ├── configuration.py │ │ ├── exceptions.py │ │ ├── models │ │ │ ├── __init__.py │ │ │ ├── collection_response_public_business_unit_no_paging.py │ │ │ ├── error.py │ │ │ ├── error_detail.py │ │ │ ├── public_business_unit.py │ │ │ └── public_business_unit_logo_metadata.py │ │ └── rest.py │ └── users │ │ ├── __init__.py │ │ ├── api │ │ ├── __init__.py │ │ ├── roles_api.py │ │ ├── teams_api.py │ │ └── users_api.py │ │ ├── api_client.py │ │ ├── configuration.py │ │ ├── exceptions.py │ │ ├── models │ │ ├── __init__.py │ │ ├── collection_response_public_permission_set_no_paging.py │ │ ├── collection_response_public_team_no_paging.py │ │ ├── collection_response_public_user_forward_paging.py │ │ ├── error.py │ │ ├── error_detail.py │ │ ├── forward_paging.py │ │ ├── next_page.py │ │ ├── public_permission_set.py │ │ ├── public_team.py │ │ ├── public_user.py │ │ ├── public_user_update.py │ │ └── user_provision_request.py │ │ └── rest.py ├── utils │ ├── __init__.py │ ├── oauth.py │ ├── objects.py │ ├── requests │ │ ├── __init__.py │ │ ├── http_auth.py │ │ └── http_request_builder.py │ └── signature.py └── webhooks │ ├── __init__.py │ ├── api │ ├── __init__.py │ ├── settings_api.py │ └── subscriptions_api.py │ ├── api_client.py │ ├── configuration.py │ ├── exceptions.py │ ├── models │ ├── __init__.py │ ├── batch_input_subscription_batch_update_request.py │ ├── batch_response_subscription_response.py │ ├── batch_response_subscription_response_with_errors.py │ ├── error.py │ ├── error_detail.py │ ├── settings_change_request.py │ ├── settings_response.py │ ├── standard_error.py │ ├── subscription_batch_update_request.py │ ├── subscription_create_request.py │ ├── subscription_list_response.py │ ├── subscription_patch_request.py │ ├── subscription_response.py │ └── throttling_settings.py │ └── rest.py ├── setup.py └── tests ├── integration ├── conftest.py ├── test_contacts.py ├── test_hub_db.py └── test_webhooks.py └── spec ├── automation ├── actions │ └── test_actions.py └── test_automation.py ├── cms ├── blogs │ ├── authors │ │ └── test_authors.py │ ├── blog_posts │ │ └── test_blog_posts.py │ ├── tags │ │ └── test_tags.py │ └── test_blogs.py ├── test_audit_logs.py ├── test_domains.py ├── test_hubdb.py ├── test_pages.py ├── test_site_search.py ├── test_source_code.py └── test_url_redirects.py ├── communication_preferences └── test_communication_preferences.py ├── conversations └── test_visitor_identification.py ├── crm ├── associations │ ├── schema │ │ └── test_associations_schema.py │ ├── test_associations.py │ └── v4 │ │ ├── schema │ │ └── test_v4_associations_schema.py │ │ └── test_v4_associations.py ├── commerce │ └── test_invoices.py ├── extensions │ ├── test_calling.py │ ├── test_cards.py │ └── test_videoconferencing.py ├── objects │ ├── test_calls.py │ ├── test_communications.py │ ├── test_deal_splits.py │ ├── test_emails.py │ ├── test_feedback_submissions.py │ ├── test_goals.py │ ├── test_leads.py │ ├── test_meetings.py │ ├── test_notes.py │ ├── test_postal_mail.py │ ├── test_tasks.py │ └── test_taxes.py ├── test_association_type.py ├── test_companies.py ├── test_contacts.py ├── test_deals.py ├── test_exports.py ├── test_imports.py ├── test_line_items.py ├── test_lists.py ├── test_object_type.py ├── test_objects.py ├── test_owners.py ├── test_pipelines.py ├── test_products.py ├── test_properties.py ├── test_quotes.py ├── test_schemas.py ├── test_tickets.py └── test_timeline.py ├── events ├── send │ └── test_send.py └── test_events.py ├── files └── test_files.py ├── marketing ├── test_forms.py ├── test_marketing_emails.py ├── test_marketing_events.py └── test_transactional.py ├── oauth └── test_oauth.py ├── settings ├── test_business_units.py └── test_users.py ├── utils ├── requests │ ├── test_auth.py │ └── test_request_builder.py ├── test_get_auth_url.py └── test_signature.py └── webhooks └── test_webhooks.py /.editorconfig: -------------------------------------------------------------------------------- 1 | ; https://editorconfig.org/ 2 | 3 | root = true 4 | 5 | [*] 6 | indent_style = space 7 | indent_size = 4 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | end_of_line = lf 11 | charset = utf-8 12 | 13 | [*.{cfg,ini,json,toml,yml,html}] 14 | indent_size = 2 15 | 16 | [Makefile] 17 | indent_style = tab 18 | -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | # This file is managed by GitHubManager 2 | # Changes will be overwritten, please go to https://private.hubteam.com/githubmanager to update this. 3 | 4 | * @HubSpot/devex-sample-apps-developers 5 | -------------------------------------------------------------------------------- /.github/workflows/pythonapp.yml: -------------------------------------------------------------------------------- 1 | # This workflow will install Python dependencies, run tests and lint with a single version of Python 2 | # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions 3 | 4 | name: Python application 5 | 6 | on: 7 | push: 8 | branches: [ master ] 9 | pull_request: 10 | branches: [ master ] 11 | 12 | jobs: 13 | build: 14 | 15 | runs-on: ubuntu-latest 16 | 17 | steps: 18 | - uses: actions/checkout@v3 19 | - name: Set up Python 20 | uses: actions/setup-python@v4 21 | with: 22 | python-version: 3.11 23 | - name: Test with pytest 24 | run: make test 25 | -------------------------------------------------------------------------------- /.github/workflows/pythonintegrationtest.yml: -------------------------------------------------------------------------------- 1 | # This workflow will install Python dependencies, run tests and lint with a single version of Python 2 | # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions 3 | 4 | name: Python integration tests 5 | 6 | on: 7 | push: 8 | branches: [ master ] 9 | 10 | jobs: 11 | build: 12 | 13 | runs-on: ubuntu-latest 14 | 15 | steps: 16 | - uses: actions/checkout@v3 17 | - name: Set up Python 18 | uses: actions/setup-python@v4 19 | with: 20 | python-version: 3.x 21 | - name: Integration tests with pytest 22 | env: 23 | HUBSPOT_ACCESS_TOKEN: ${{ secrets.HUBSPOT_ACCESS_TOKEN }} 24 | HUBSPOT_DEVELOPER_API_KEY: ${{ secrets.HUBSPOT_DEVELOPER_API_KEY }} 25 | HUBSPOT_APP_ID: ${{ secrets.HUBSPOT_APP_ID }} 26 | run: make integration_test 27 | -------------------------------------------------------------------------------- /.github/workflows/pythonpublish.yml: -------------------------------------------------------------------------------- 1 | # This workflows will upload a Python Package using Twine when a release is created 2 | # For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries 3 | 4 | name: Upload Python Package 5 | 6 | on: 7 | release: 8 | types: [created] 9 | 10 | jobs: 11 | deploy: 12 | runs-on: ubuntu-latest 13 | permissions: 14 | id-token: write 15 | steps: 16 | - uses: actions/checkout@v2 17 | - name: Set up Python 18 | uses: actions/setup-python@v1 19 | with: 20 | python-version: '3.x' 21 | - name: Build 22 | run: | 23 | python -m pip install --upgrade pip 24 | pip install setuptools wheel twine 25 | python setup.py sdist bdist_wheel 26 | - name: Publish 27 | uses: pypa/gh-action-pypi-publish@release/v1 28 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.egg-info 2 | .idea 3 | .venv 4 | __pycache__ 5 | build 6 | dist 7 | venv 8 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | VENV_NAME ?= venv 2 | 3 | venv: $(VENV_NAME)/bin/activate 4 | 5 | $(VENV_NAME)/bin/activate: setup.py 6 | @test -d $(VENV_NAME) || python3 -m venv $(VENV_NAME) 7 | @${VENV_NAME}/bin/python -m pip install --upgrade pip 8 | @${VENV_NAME}/bin/python -m pip install -e .[dev] 9 | @touch $(VENV_NAME)/bin/activate 10 | 11 | test: venv 12 | @${VENV_NAME}/bin/python -m pytest ./tests/spec 13 | 14 | integration_test: venv 15 | @${VENV_NAME}/bin/python -m pytest ./tests/integration 16 | 17 | fmt: venv 18 | @${VENV_NAME}/bin/python -m black ./ 19 | 20 | clean: 21 | @rm -rf $(VENV_NAME) build/ dist/ 22 | 23 | .PHONY: venv test clean 24 | -------------------------------------------------------------------------------- /VERSION: -------------------------------------------------------------------------------- 1 | 12.0.0 2 | -------------------------------------------------------------------------------- /hubspot/__init__.py: -------------------------------------------------------------------------------- 1 | from .client import Client 2 | from .hubspot import HubSpot 3 | -------------------------------------------------------------------------------- /hubspot/automation/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/automation/__init__.py -------------------------------------------------------------------------------- /hubspot/automation/actions/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.automation.actions.api.callbacks_api import CallbacksApi 7 | from hubspot.automation.actions.api.definitions_api import DefinitionsApi 8 | from hubspot.automation.actions.api.functions_api import FunctionsApi 9 | from hubspot.automation.actions.api.revisions_api import RevisionsApi 10 | -------------------------------------------------------------------------------- /hubspot/cms/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/cms/__init__.py -------------------------------------------------------------------------------- /hubspot/cms/audit_logs/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | 5 | """ 6 | Cms Content Audit 7 | 8 | Use this endpoint to query audit logs of CMS changes that occurred on your HubSpot account. # noqa: E501 9 | 10 | The version of the OpenAPI document: v3 11 | Generated by: https://openapi-generator.tech 12 | """ 13 | 14 | 15 | from __future__ import absolute_import 16 | 17 | __version__ = "1.0.0" 18 | 19 | # import apis into sdk package 20 | from hubspot.cms.audit_logs.api.audit_logs_api import AuditLogsApi 21 | 22 | # import ApiClient 23 | from hubspot.cms.audit_logs.api_client import ApiClient 24 | from hubspot.cms.audit_logs.configuration import Configuration 25 | from hubspot.cms.audit_logs.exceptions import OpenApiException 26 | from hubspot.cms.audit_logs.exceptions import ApiTypeError 27 | from hubspot.cms.audit_logs.exceptions import ApiValueError 28 | from hubspot.cms.audit_logs.exceptions import ApiKeyError 29 | from hubspot.cms.audit_logs.exceptions import ApiAttributeError 30 | from hubspot.cms.audit_logs.exceptions import ApiException 31 | 32 | # import models into sdk package 33 | from hubspot.cms.audit_logs.models.collection_response_public_audit_log import CollectionResponsePublicAuditLog 34 | from hubspot.cms.audit_logs.models.error import Error 35 | from hubspot.cms.audit_logs.models.error_detail import ErrorDetail 36 | from hubspot.cms.audit_logs.models.next_page import NextPage 37 | from hubspot.cms.audit_logs.models.paging import Paging 38 | from hubspot.cms.audit_logs.models.previous_page import PreviousPage 39 | from hubspot.cms.audit_logs.models.public_audit_log import PublicAuditLog 40 | -------------------------------------------------------------------------------- /hubspot/cms/audit_logs/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.cms.audit_logs.api.audit_logs_api import AuditLogsApi 7 | -------------------------------------------------------------------------------- /hubspot/cms/audit_logs/models/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | """ 5 | Cms Content Audit 6 | 7 | Use this endpoint to query audit logs of CMS changes that occurred on your HubSpot account. # noqa: E501 8 | 9 | The version of the OpenAPI document: v3 10 | Generated by: https://openapi-generator.tech 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | # import models into model package 17 | from hubspot.cms.audit_logs.models.collection_response_public_audit_log import CollectionResponsePublicAuditLog 18 | from hubspot.cms.audit_logs.models.error import Error 19 | from hubspot.cms.audit_logs.models.error_detail import ErrorDetail 20 | from hubspot.cms.audit_logs.models.next_page import NextPage 21 | from hubspot.cms.audit_logs.models.paging import Paging 22 | from hubspot.cms.audit_logs.models.previous_page import PreviousPage 23 | from hubspot.cms.audit_logs.models.public_audit_log import PublicAuditLog 24 | -------------------------------------------------------------------------------- /hubspot/cms/blogs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/cms/blogs/__init__.py -------------------------------------------------------------------------------- /hubspot/cms/blogs/authors/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.cms.blogs.authors.api.blog_authors_api import BlogAuthorsApi 7 | -------------------------------------------------------------------------------- /hubspot/cms/blogs/authors/models/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | """ 5 | Authors 6 | 7 | Use these endpoints for interacting with Blog Posts, Blog Authors, and Blog Tags # noqa: E501 8 | 9 | The version of the OpenAPI document: v3 10 | Generated by: https://openapi-generator.tech 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | # import models into model package 17 | from hubspot.cms.blogs.authors.models.attach_to_lang_primary_request_v_next import AttachToLangPrimaryRequestVNext 18 | from hubspot.cms.blogs.authors.models.batch_input_blog_author import BatchInputBlogAuthor 19 | from hubspot.cms.blogs.authors.models.batch_input_json_node import BatchInputJsonNode 20 | from hubspot.cms.blogs.authors.models.batch_input_string import BatchInputString 21 | from hubspot.cms.blogs.authors.models.batch_response_blog_author import BatchResponseBlogAuthor 22 | from hubspot.cms.blogs.authors.models.batch_response_blog_author_with_errors import BatchResponseBlogAuthorWithErrors 23 | from hubspot.cms.blogs.authors.models.blog_author import BlogAuthor 24 | from hubspot.cms.blogs.authors.models.blog_author_clone_request_v_next import BlogAuthorCloneRequestVNext 25 | from hubspot.cms.blogs.authors.models.collection_response_with_total_blog_author_forward_paging import CollectionResponseWithTotalBlogAuthorForwardPaging 26 | from hubspot.cms.blogs.authors.models.detach_from_lang_group_request_v_next import DetachFromLangGroupRequestVNext 27 | from hubspot.cms.blogs.authors.models.error import Error 28 | from hubspot.cms.blogs.authors.models.error_detail import ErrorDetail 29 | from hubspot.cms.blogs.authors.models.forward_paging import ForwardPaging 30 | from hubspot.cms.blogs.authors.models.next_page import NextPage 31 | from hubspot.cms.blogs.authors.models.set_new_language_primary_request_v_next import SetNewLanguagePrimaryRequestVNext 32 | from hubspot.cms.blogs.authors.models.standard_error import StandardError 33 | from hubspot.cms.blogs.authors.models.update_languages_request_v_next import UpdateLanguagesRequestVNext 34 | -------------------------------------------------------------------------------- /hubspot/cms/blogs/blog_posts/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.cms.blogs.blog_posts.api.basic_api import BasicApi 7 | from hubspot.cms.blogs.blog_posts.api.batch_api import BatchApi 8 | from hubspot.cms.blogs.blog_posts.api.multi_language_api import MultiLanguageApi 9 | -------------------------------------------------------------------------------- /hubspot/cms/blogs/tags/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.cms.blogs.tags.api.blog_tags_api import BlogTagsApi 7 | -------------------------------------------------------------------------------- /hubspot/cms/blogs/tags/models/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | """ 5 | Tags 6 | 7 | Use these endpoints for interacting with Blog Posts, Blog Authors, and Blog Tags # noqa: E501 8 | 9 | The version of the OpenAPI document: v3 10 | Generated by: https://openapi-generator.tech 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | # import models into model package 17 | from hubspot.cms.blogs.tags.models.attach_to_lang_primary_request_v_next import AttachToLangPrimaryRequestVNext 18 | from hubspot.cms.blogs.tags.models.batch_input_json_node import BatchInputJsonNode 19 | from hubspot.cms.blogs.tags.models.batch_input_string import BatchInputString 20 | from hubspot.cms.blogs.tags.models.batch_input_tag import BatchInputTag 21 | from hubspot.cms.blogs.tags.models.batch_response_tag import BatchResponseTag 22 | from hubspot.cms.blogs.tags.models.batch_response_tag_with_errors import BatchResponseTagWithErrors 23 | from hubspot.cms.blogs.tags.models.collection_response_with_total_tag_forward_paging import CollectionResponseWithTotalTagForwardPaging 24 | from hubspot.cms.blogs.tags.models.detach_from_lang_group_request_v_next import DetachFromLangGroupRequestVNext 25 | from hubspot.cms.blogs.tags.models.error import Error 26 | from hubspot.cms.blogs.tags.models.error_detail import ErrorDetail 27 | from hubspot.cms.blogs.tags.models.forward_paging import ForwardPaging 28 | from hubspot.cms.blogs.tags.models.next_page import NextPage 29 | from hubspot.cms.blogs.tags.models.set_new_language_primary_request_v_next import SetNewLanguagePrimaryRequestVNext 30 | from hubspot.cms.blogs.tags.models.standard_error import StandardError 31 | from hubspot.cms.blogs.tags.models.tag import Tag 32 | from hubspot.cms.blogs.tags.models.tag_clone_request_v_next import TagCloneRequestVNext 33 | from hubspot.cms.blogs.tags.models.update_languages_request_v_next import UpdateLanguagesRequestVNext 34 | -------------------------------------------------------------------------------- /hubspot/cms/domains/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | 5 | """ 6 | CMS Domains 7 | 8 | No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 9 | 10 | The version of the OpenAPI document: v3 11 | Generated by: https://openapi-generator.tech 12 | """ 13 | 14 | 15 | from __future__ import absolute_import 16 | 17 | __version__ = "1.0.0" 18 | 19 | # import apis into sdk package 20 | from hubspot.cms.domains.api.domains_api import DomainsApi 21 | 22 | # import ApiClient 23 | from hubspot.cms.domains.api_client import ApiClient 24 | from hubspot.cms.domains.configuration import Configuration 25 | from hubspot.cms.domains.exceptions import OpenApiException 26 | from hubspot.cms.domains.exceptions import ApiTypeError 27 | from hubspot.cms.domains.exceptions import ApiValueError 28 | from hubspot.cms.domains.exceptions import ApiKeyError 29 | from hubspot.cms.domains.exceptions import ApiAttributeError 30 | from hubspot.cms.domains.exceptions import ApiException 31 | 32 | # import models into sdk package 33 | from hubspot.cms.domains.models.collection_response_with_total_domain_forward_paging import CollectionResponseWithTotalDomainForwardPaging 34 | from hubspot.cms.domains.models.domain import Domain 35 | from hubspot.cms.domains.models.error import Error 36 | from hubspot.cms.domains.models.error_detail import ErrorDetail 37 | from hubspot.cms.domains.models.forward_paging import ForwardPaging 38 | from hubspot.cms.domains.models.next_page import NextPage 39 | -------------------------------------------------------------------------------- /hubspot/cms/domains/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.cms.domains.api.domains_api import DomainsApi 7 | -------------------------------------------------------------------------------- /hubspot/cms/domains/models/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | """ 5 | CMS Domains 6 | 7 | No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 8 | 9 | The version of the OpenAPI document: v3 10 | Generated by: https://openapi-generator.tech 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | # import models into model package 17 | from hubspot.cms.domains.models.collection_response_with_total_domain_forward_paging import CollectionResponseWithTotalDomainForwardPaging 18 | from hubspot.cms.domains.models.domain import Domain 19 | from hubspot.cms.domains.models.error import Error 20 | from hubspot.cms.domains.models.error_detail import ErrorDetail 21 | from hubspot.cms.domains.models.forward_paging import ForwardPaging 22 | from hubspot.cms.domains.models.next_page import NextPage 23 | -------------------------------------------------------------------------------- /hubspot/cms/hubdb/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.cms.hubdb.api.rows_api import RowsApi 7 | from hubspot.cms.hubdb.api.rows_batch_api import RowsBatchApi 8 | from hubspot.cms.hubdb.api.tables_api import TablesApi 9 | -------------------------------------------------------------------------------- /hubspot/cms/pages/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.cms.pages.api.landing_pages_api import LandingPagesApi 7 | from hubspot.cms.pages.api.site_pages_api import SitePagesApi 8 | -------------------------------------------------------------------------------- /hubspot/cms/site_search/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | 5 | """ 6 | CMS Site Search 7 | 8 | Use these endpoints for searching content on your HubSpot hosted CMS website(s). # noqa: E501 9 | 10 | The version of the OpenAPI document: v3 11 | Generated by: https://openapi-generator.tech 12 | """ 13 | 14 | 15 | from __future__ import absolute_import 16 | 17 | __version__ = "1.0.0" 18 | 19 | # import apis into sdk package 20 | from hubspot.cms.site_search.api.public_api import PublicApi 21 | 22 | # import ApiClient 23 | from hubspot.cms.site_search.api_client import ApiClient 24 | from hubspot.cms.site_search.configuration import Configuration 25 | from hubspot.cms.site_search.exceptions import OpenApiException 26 | from hubspot.cms.site_search.exceptions import ApiTypeError 27 | from hubspot.cms.site_search.exceptions import ApiValueError 28 | from hubspot.cms.site_search.exceptions import ApiKeyError 29 | from hubspot.cms.site_search.exceptions import ApiAttributeError 30 | from hubspot.cms.site_search.exceptions import ApiException 31 | 32 | # import models into sdk package 33 | from hubspot.cms.site_search.models.content_search_result import ContentSearchResult 34 | from hubspot.cms.site_search.models.error import Error 35 | from hubspot.cms.site_search.models.error_detail import ErrorDetail 36 | from hubspot.cms.site_search.models.indexed_data import IndexedData 37 | from hubspot.cms.site_search.models.indexed_field import IndexedField 38 | from hubspot.cms.site_search.models.public_search_results import PublicSearchResults 39 | -------------------------------------------------------------------------------- /hubspot/cms/site_search/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.cms.site_search.api.public_api import PublicApi 7 | -------------------------------------------------------------------------------- /hubspot/cms/site_search/models/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | """ 5 | CMS Site Search 6 | 7 | Use these endpoints for searching content on your HubSpot hosted CMS website(s). # noqa: E501 8 | 9 | The version of the OpenAPI document: v3 10 | Generated by: https://openapi-generator.tech 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | # import models into model package 17 | from hubspot.cms.site_search.models.content_search_result import ContentSearchResult 18 | from hubspot.cms.site_search.models.error import Error 19 | from hubspot.cms.site_search.models.error_detail import ErrorDetail 20 | from hubspot.cms.site_search.models.indexed_data import IndexedData 21 | from hubspot.cms.site_search.models.indexed_field import IndexedField 22 | from hubspot.cms.site_search.models.public_search_results import PublicSearchResults 23 | -------------------------------------------------------------------------------- /hubspot/cms/source_code/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | 5 | """ 6 | CMS Source Code 7 | 8 | No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 9 | 10 | The version of the OpenAPI document: v3 11 | Generated by: https://openapi-generator.tech 12 | """ 13 | 14 | 15 | from __future__ import absolute_import 16 | 17 | __version__ = "1.0.0" 18 | 19 | # import apis into sdk package 20 | from hubspot.cms.source_code.api.content_api import ContentApi 21 | from hubspot.cms.source_code.api.extract_api import ExtractApi 22 | from hubspot.cms.source_code.api.metadata_api import MetadataApi 23 | from hubspot.cms.source_code.api.validation_api import ValidationApi 24 | 25 | # import ApiClient 26 | from hubspot.cms.source_code.api_client import ApiClient 27 | from hubspot.cms.source_code.configuration import Configuration 28 | from hubspot.cms.source_code.exceptions import OpenApiException 29 | from hubspot.cms.source_code.exceptions import ApiTypeError 30 | from hubspot.cms.source_code.exceptions import ApiValueError 31 | from hubspot.cms.source_code.exceptions import ApiKeyError 32 | from hubspot.cms.source_code.exceptions import ApiAttributeError 33 | from hubspot.cms.source_code.exceptions import ApiException 34 | 35 | # import models into sdk package 36 | from hubspot.cms.source_code.models.action_response import ActionResponse 37 | from hubspot.cms.source_code.models.asset_file_metadata import AssetFileMetadata 38 | from hubspot.cms.source_code.models.error import Error 39 | from hubspot.cms.source_code.models.error_detail import ErrorDetail 40 | from hubspot.cms.source_code.models.file_extract_request import FileExtractRequest 41 | from hubspot.cms.source_code.models.task_locator import TaskLocator 42 | -------------------------------------------------------------------------------- /hubspot/cms/source_code/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.cms.source_code.api.content_api import ContentApi 7 | from hubspot.cms.source_code.api.extract_api import ExtractApi 8 | from hubspot.cms.source_code.api.metadata_api import MetadataApi 9 | from hubspot.cms.source_code.api.validation_api import ValidationApi 10 | -------------------------------------------------------------------------------- /hubspot/cms/source_code/models/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | """ 5 | CMS Source Code 6 | 7 | No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 8 | 9 | The version of the OpenAPI document: v3 10 | Generated by: https://openapi-generator.tech 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | # import models into model package 17 | from hubspot.cms.source_code.models.action_response import ActionResponse 18 | from hubspot.cms.source_code.models.asset_file_metadata import AssetFileMetadata 19 | from hubspot.cms.source_code.models.error import Error 20 | from hubspot.cms.source_code.models.error_detail import ErrorDetail 21 | from hubspot.cms.source_code.models.file_extract_request import FileExtractRequest 22 | from hubspot.cms.source_code.models.task_locator import TaskLocator 23 | -------------------------------------------------------------------------------- /hubspot/cms/url_redirects/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | 5 | """ 6 | CMS Url Redirects 7 | 8 | URL redirect operations # noqa: E501 9 | 10 | The version of the OpenAPI document: v3 11 | Generated by: https://openapi-generator.tech 12 | """ 13 | 14 | 15 | from __future__ import absolute_import 16 | 17 | __version__ = "1.0.0" 18 | 19 | # import apis into sdk package 20 | from hubspot.cms.url_redirects.api.redirects_api import RedirectsApi 21 | 22 | # import ApiClient 23 | from hubspot.cms.url_redirects.api_client import ApiClient 24 | from hubspot.cms.url_redirects.configuration import Configuration 25 | from hubspot.cms.url_redirects.exceptions import OpenApiException 26 | from hubspot.cms.url_redirects.exceptions import ApiTypeError 27 | from hubspot.cms.url_redirects.exceptions import ApiValueError 28 | from hubspot.cms.url_redirects.exceptions import ApiKeyError 29 | from hubspot.cms.url_redirects.exceptions import ApiAttributeError 30 | from hubspot.cms.url_redirects.exceptions import ApiException 31 | 32 | # import models into sdk package 33 | from hubspot.cms.url_redirects.models.collection_response_with_total_url_mapping_forward_paging import CollectionResponseWithTotalUrlMappingForwardPaging 34 | from hubspot.cms.url_redirects.models.error import Error 35 | from hubspot.cms.url_redirects.models.error_detail import ErrorDetail 36 | from hubspot.cms.url_redirects.models.forward_paging import ForwardPaging 37 | from hubspot.cms.url_redirects.models.next_page import NextPage 38 | from hubspot.cms.url_redirects.models.url_mapping import UrlMapping 39 | from hubspot.cms.url_redirects.models.url_mapping_create_request_body import UrlMappingCreateRequestBody 40 | -------------------------------------------------------------------------------- /hubspot/cms/url_redirects/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.cms.url_redirects.api.redirects_api import RedirectsApi 7 | -------------------------------------------------------------------------------- /hubspot/cms/url_redirects/models/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | """ 5 | CMS Url Redirects 6 | 7 | URL redirect operations # noqa: E501 8 | 9 | The version of the OpenAPI document: v3 10 | Generated by: https://openapi-generator.tech 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | # import models into model package 17 | from hubspot.cms.url_redirects.models.collection_response_with_total_url_mapping_forward_paging import CollectionResponseWithTotalUrlMappingForwardPaging 18 | from hubspot.cms.url_redirects.models.error import Error 19 | from hubspot.cms.url_redirects.models.error_detail import ErrorDetail 20 | from hubspot.cms.url_redirects.models.forward_paging import ForwardPaging 21 | from hubspot.cms.url_redirects.models.next_page import NextPage 22 | from hubspot.cms.url_redirects.models.url_mapping import UrlMapping 23 | from hubspot.cms.url_redirects.models.url_mapping_create_request_body import UrlMappingCreateRequestBody 24 | -------------------------------------------------------------------------------- /hubspot/communication_preferences/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | 5 | """ 6 | Communication Preferences Subscriptions 7 | 8 | No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 9 | 10 | The version of the OpenAPI document: v3 11 | Generated by: https://openapi-generator.tech 12 | """ 13 | 14 | 15 | from __future__ import absolute_import 16 | 17 | __version__ = "1.0.0" 18 | 19 | # import apis into sdk package 20 | from hubspot.communication_preferences.api.definition_api import DefinitionApi 21 | from hubspot.communication_preferences.api.status_api import StatusApi 22 | 23 | # import ApiClient 24 | from hubspot.communication_preferences.api_client import ApiClient 25 | from hubspot.communication_preferences.configuration import Configuration 26 | from hubspot.communication_preferences.exceptions import OpenApiException 27 | from hubspot.communication_preferences.exceptions import ApiTypeError 28 | from hubspot.communication_preferences.exceptions import ApiValueError 29 | from hubspot.communication_preferences.exceptions import ApiKeyError 30 | from hubspot.communication_preferences.exceptions import ApiAttributeError 31 | from hubspot.communication_preferences.exceptions import ApiException 32 | 33 | # import models into sdk package 34 | from hubspot.communication_preferences.models.error import Error 35 | from hubspot.communication_preferences.models.error_detail import ErrorDetail 36 | from hubspot.communication_preferences.models.public_subscription_status import PublicSubscriptionStatus 37 | from hubspot.communication_preferences.models.public_subscription_statuses_response import PublicSubscriptionStatusesResponse 38 | from hubspot.communication_preferences.models.public_update_subscription_status_request import PublicUpdateSubscriptionStatusRequest 39 | from hubspot.communication_preferences.models.subscription_definition import SubscriptionDefinition 40 | from hubspot.communication_preferences.models.subscription_definitions_response import SubscriptionDefinitionsResponse 41 | -------------------------------------------------------------------------------- /hubspot/communication_preferences/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.communication_preferences.api.definition_api import DefinitionApi 7 | from hubspot.communication_preferences.api.status_api import StatusApi 8 | -------------------------------------------------------------------------------- /hubspot/communication_preferences/models/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | """ 5 | Communication Preferences Subscriptions 6 | 7 | No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 8 | 9 | The version of the OpenAPI document: v3 10 | Generated by: https://openapi-generator.tech 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | # import models into model package 17 | from hubspot.communication_preferences.models.error import Error 18 | from hubspot.communication_preferences.models.error_detail import ErrorDetail 19 | from hubspot.communication_preferences.models.public_subscription_status import PublicSubscriptionStatus 20 | from hubspot.communication_preferences.models.public_subscription_statuses_response import PublicSubscriptionStatusesResponse 21 | from hubspot.communication_preferences.models.public_update_subscription_status_request import PublicUpdateSubscriptionStatusRequest 22 | from hubspot.communication_preferences.models.subscription_definition import SubscriptionDefinition 23 | from hubspot.communication_preferences.models.subscription_definitions_response import SubscriptionDefinitionsResponse 24 | -------------------------------------------------------------------------------- /hubspot/conversations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/conversations/__init__.py -------------------------------------------------------------------------------- /hubspot/conversations/visitor_identification/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | 5 | """ 6 | Visitor Identification 7 | 8 | The Visitor Identification API allows you to pass identification information to the HubSpot chat widget for otherwise unknown visitors that were verified by your own authentication system. # noqa: E501 9 | 10 | The version of the OpenAPI document: v3 11 | Generated by: https://openapi-generator.tech 12 | """ 13 | 14 | 15 | from __future__ import absolute_import 16 | 17 | __version__ = "1.0.0" 18 | 19 | # import apis into sdk package 20 | from hubspot.conversations.visitor_identification.api.generate_api import GenerateApi 21 | 22 | # import ApiClient 23 | from hubspot.conversations.visitor_identification.api_client import ApiClient 24 | from hubspot.conversations.visitor_identification.configuration import Configuration 25 | from hubspot.conversations.visitor_identification.exceptions import OpenApiException 26 | from hubspot.conversations.visitor_identification.exceptions import ApiTypeError 27 | from hubspot.conversations.visitor_identification.exceptions import ApiValueError 28 | from hubspot.conversations.visitor_identification.exceptions import ApiKeyError 29 | from hubspot.conversations.visitor_identification.exceptions import ApiAttributeError 30 | from hubspot.conversations.visitor_identification.exceptions import ApiException 31 | 32 | # import models into sdk package 33 | from hubspot.conversations.visitor_identification.models.error import Error 34 | from hubspot.conversations.visitor_identification.models.error_detail import ErrorDetail 35 | from hubspot.conversations.visitor_identification.models.identification_token_generation_request import IdentificationTokenGenerationRequest 36 | from hubspot.conversations.visitor_identification.models.identification_token_response import IdentificationTokenResponse 37 | -------------------------------------------------------------------------------- /hubspot/conversations/visitor_identification/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.conversations.visitor_identification.api.generate_api import GenerateApi 7 | -------------------------------------------------------------------------------- /hubspot/conversations/visitor_identification/models/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | """ 5 | Visitor Identification 6 | 7 | The Visitor Identification API allows you to pass identification information to the HubSpot chat widget for otherwise unknown visitors that were verified by your own authentication system. # noqa: E501 8 | 9 | The version of the OpenAPI document: v3 10 | Generated by: https://openapi-generator.tech 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | # import models into model package 17 | from hubspot.conversations.visitor_identification.models.error import Error 18 | from hubspot.conversations.visitor_identification.models.error_detail import ErrorDetail 19 | from hubspot.conversations.visitor_identification.models.identification_token_generation_request import IdentificationTokenGenerationRequest 20 | from hubspot.conversations.visitor_identification.models.identification_token_response import IdentificationTokenResponse 21 | -------------------------------------------------------------------------------- /hubspot/crm/__init__.py: -------------------------------------------------------------------------------- 1 | from .object_type import ObjectType 2 | from .association_type import AssociationType 3 | -------------------------------------------------------------------------------- /hubspot/crm/associations/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.crm.associations.api.batch_api import BatchApi 7 | -------------------------------------------------------------------------------- /hubspot/crm/associations/models/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | """ 5 | Associations 6 | 7 | Associations define the relationships between objects in HubSpot. These endpoints allow you to create, read, and remove associations. # noqa: E501 8 | 9 | The version of the OpenAPI document: v3 10 | Generated by: https://openapi-generator.tech 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | # import models into model package 17 | from hubspot.crm.associations.models.associated_id import AssociatedId 18 | from hubspot.crm.associations.models.batch_input_public_association import BatchInputPublicAssociation 19 | from hubspot.crm.associations.models.batch_input_public_object_id import BatchInputPublicObjectId 20 | from hubspot.crm.associations.models.batch_response_public_association import BatchResponsePublicAssociation 21 | from hubspot.crm.associations.models.batch_response_public_association_multi import BatchResponsePublicAssociationMulti 22 | from hubspot.crm.associations.models.batch_response_public_association_multi_with_errors import BatchResponsePublicAssociationMultiWithErrors 23 | from hubspot.crm.associations.models.batch_response_public_association_with_errors import BatchResponsePublicAssociationWithErrors 24 | from hubspot.crm.associations.models.error import Error 25 | from hubspot.crm.associations.models.error_detail import ErrorDetail 26 | from hubspot.crm.associations.models.next_page import NextPage 27 | from hubspot.crm.associations.models.paging import Paging 28 | from hubspot.crm.associations.models.previous_page import PreviousPage 29 | from hubspot.crm.associations.models.public_association import PublicAssociation 30 | from hubspot.crm.associations.models.public_association_multi import PublicAssociationMulti 31 | from hubspot.crm.associations.models.public_object_id import PublicObjectId 32 | from hubspot.crm.associations.models.standard_error import StandardError 33 | -------------------------------------------------------------------------------- /hubspot/crm/associations/schema/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | 5 | """ 6 | Associations Schema 7 | 8 | Associations define the relationships between objects in HubSpot. These endpoints allow you to create, read, and remove associations. # noqa: E501 9 | 10 | The version of the OpenAPI document: v3 11 | Generated by: https://openapi-generator.tech 12 | """ 13 | 14 | 15 | from __future__ import absolute_import 16 | 17 | __version__ = "1.0.0" 18 | 19 | # import apis into sdk package 20 | from hubspot.crm.associations.schema.api.types_api import TypesApi 21 | 22 | # import ApiClient 23 | from hubspot.crm.associations.schema.api_client import ApiClient 24 | from hubspot.crm.associations.schema.configuration import Configuration 25 | from hubspot.crm.associations.schema.exceptions import OpenApiException 26 | from hubspot.crm.associations.schema.exceptions import ApiTypeError 27 | from hubspot.crm.associations.schema.exceptions import ApiValueError 28 | from hubspot.crm.associations.schema.exceptions import ApiKeyError 29 | from hubspot.crm.associations.schema.exceptions import ApiAttributeError 30 | from hubspot.crm.associations.schema.exceptions import ApiException 31 | 32 | # import models into sdk package 33 | from hubspot.crm.associations.schema.models.collection_response_public_association_definition_no_paging import CollectionResponsePublicAssociationDefinitionNoPaging 34 | from hubspot.crm.associations.schema.models.error import Error 35 | from hubspot.crm.associations.schema.models.error_detail import ErrorDetail 36 | from hubspot.crm.associations.schema.models.public_association_definition import PublicAssociationDefinition 37 | -------------------------------------------------------------------------------- /hubspot/crm/associations/schema/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.crm.associations.schema.api.types_api import TypesApi 7 | -------------------------------------------------------------------------------- /hubspot/crm/associations/schema/models/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | """ 5 | Associations Schema 6 | 7 | Associations define the relationships between objects in HubSpot. These endpoints allow you to create, read, and remove associations. # noqa: E501 8 | 9 | The version of the OpenAPI document: v3 10 | Generated by: https://openapi-generator.tech 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | # import models into model package 17 | from hubspot.crm.associations.schema.models.collection_response_public_association_definition_no_paging import CollectionResponsePublicAssociationDefinitionNoPaging 18 | from hubspot.crm.associations.schema.models.error import Error 19 | from hubspot.crm.associations.schema.models.error_detail import ErrorDetail 20 | from hubspot.crm.associations.schema.models.public_association_definition import PublicAssociationDefinition 21 | -------------------------------------------------------------------------------- /hubspot/crm/associations/v4/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.crm.associations.v4.api.basic_api import BasicApi 7 | from hubspot.crm.associations.v4.api.batch_api import BatchApi 8 | from hubspot.crm.associations.v4.api.report_api import ReportApi 9 | -------------------------------------------------------------------------------- /hubspot/crm/associations/v4/schema/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.crm.associations.v4.schema.api.definition_configurations_api import DefinitionConfigurationsApi 7 | from hubspot.crm.associations.v4.schema.api.definitions_api import DefinitionsApi 8 | -------------------------------------------------------------------------------- /hubspot/crm/commerce/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/crm/commerce/__init__.py -------------------------------------------------------------------------------- /hubspot/crm/commerce/invoices/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.crm.commerce.invoices.api.basic_api import BasicApi 7 | from hubspot.crm.commerce.invoices.api.batch_api import BatchApi 8 | from hubspot.crm.commerce.invoices.api.search_api import SearchApi 9 | -------------------------------------------------------------------------------- /hubspot/crm/companies/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.crm.companies.api.basic_api import BasicApi 7 | from hubspot.crm.companies.api.batch_api import BatchApi 8 | from hubspot.crm.companies.api.search_api import SearchApi 9 | -------------------------------------------------------------------------------- /hubspot/crm/contacts/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.crm.contacts.api.basic_api import BasicApi 7 | from hubspot.crm.contacts.api.batch_api import BatchApi 8 | from hubspot.crm.contacts.api.search_api import SearchApi 9 | -------------------------------------------------------------------------------- /hubspot/crm/deals/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.crm.deals.api.basic_api import BasicApi 7 | from hubspot.crm.deals.api.batch_api import BatchApi 8 | from hubspot.crm.deals.api.search_api import SearchApi 9 | -------------------------------------------------------------------------------- /hubspot/crm/exports/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | 5 | """ 6 | CRM Exports 7 | 8 | No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 9 | 10 | The version of the OpenAPI document: v3 11 | Generated by: https://openapi-generator.tech 12 | """ 13 | 14 | 15 | from __future__ import absolute_import 16 | 17 | __version__ = "1.0.0" 18 | 19 | # import apis into sdk package 20 | from hubspot.crm.exports.api.public_exports_api import PublicExportsApi 21 | 22 | # import ApiClient 23 | from hubspot.crm.exports.api_client import ApiClient 24 | from hubspot.crm.exports.configuration import Configuration 25 | from hubspot.crm.exports.exceptions import OpenApiException 26 | from hubspot.crm.exports.exceptions import ApiTypeError 27 | from hubspot.crm.exports.exceptions import ApiValueError 28 | from hubspot.crm.exports.exceptions import ApiKeyError 29 | from hubspot.crm.exports.exceptions import ApiAttributeError 30 | from hubspot.crm.exports.exceptions import ApiException 31 | 32 | # import models into sdk package 33 | from hubspot.crm.exports.models.action_response_with_single_result_uri import ActionResponseWithSingleResultURI 34 | from hubspot.crm.exports.models.error import Error 35 | from hubspot.crm.exports.models.error_detail import ErrorDetail 36 | from hubspot.crm.exports.models.filter import Filter 37 | from hubspot.crm.exports.models.public_crm_search_request import PublicCrmSearchRequest 38 | from hubspot.crm.exports.models.public_export_list_request import PublicExportListRequest 39 | from hubspot.crm.exports.models.public_export_list_request_all_of import PublicExportListRequestAllOf 40 | from hubspot.crm.exports.models.public_export_request import PublicExportRequest 41 | from hubspot.crm.exports.models.public_export_view_request import PublicExportViewRequest 42 | from hubspot.crm.exports.models.public_export_view_request_all_of import PublicExportViewRequestAllOf 43 | from hubspot.crm.exports.models.standard_error import StandardError 44 | from hubspot.crm.exports.models.task_locator import TaskLocator 45 | -------------------------------------------------------------------------------- /hubspot/crm/exports/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.crm.exports.api.public_exports_api import PublicExportsApi 7 | -------------------------------------------------------------------------------- /hubspot/crm/exports/models/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | """ 5 | CRM Exports 6 | 7 | No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 8 | 9 | The version of the OpenAPI document: v3 10 | Generated by: https://openapi-generator.tech 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | # import models into model package 17 | from hubspot.crm.exports.models.action_response_with_single_result_uri import ActionResponseWithSingleResultURI 18 | from hubspot.crm.exports.models.error import Error 19 | from hubspot.crm.exports.models.error_detail import ErrorDetail 20 | from hubspot.crm.exports.models.filter import Filter 21 | from hubspot.crm.exports.models.public_crm_search_request import PublicCrmSearchRequest 22 | from hubspot.crm.exports.models.public_export_list_request import PublicExportListRequest 23 | from hubspot.crm.exports.models.public_export_list_request_all_of import PublicExportListRequestAllOf 24 | from hubspot.crm.exports.models.public_export_request import PublicExportRequest 25 | from hubspot.crm.exports.models.public_export_view_request import PublicExportViewRequest 26 | from hubspot.crm.exports.models.public_export_view_request_all_of import PublicExportViewRequestAllOf 27 | from hubspot.crm.exports.models.standard_error import StandardError 28 | from hubspot.crm.exports.models.task_locator import TaskLocator 29 | -------------------------------------------------------------------------------- /hubspot/crm/extensions/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/crm/extensions/__init__.py -------------------------------------------------------------------------------- /hubspot/crm/extensions/calling/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.crm.extensions.calling.api.channel_connection_settings_api import ChannelConnectionSettingsApi 7 | from hubspot.crm.extensions.calling.api.recording_settings_api import RecordingSettingsApi 8 | from hubspot.crm.extensions.calling.api.settings_api import SettingsApi 9 | -------------------------------------------------------------------------------- /hubspot/crm/extensions/calling/models/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | """ 5 | CRM Calling Extensions 6 | 7 | No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 8 | 9 | The version of the OpenAPI document: v3 10 | Generated by: https://openapi-generator.tech 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | # import models into model package 17 | from hubspot.crm.extensions.calling.models.channel_connection_settings_patch_request import ChannelConnectionSettingsPatchRequest 18 | from hubspot.crm.extensions.calling.models.channel_connection_settings_request import ChannelConnectionSettingsRequest 19 | from hubspot.crm.extensions.calling.models.channel_connection_settings_response import ChannelConnectionSettingsResponse 20 | from hubspot.crm.extensions.calling.models.error import Error 21 | from hubspot.crm.extensions.calling.models.error_detail import ErrorDetail 22 | from hubspot.crm.extensions.calling.models.mark_recording_as_ready_request import MarkRecordingAsReadyRequest 23 | from hubspot.crm.extensions.calling.models.recording_settings_patch_request import RecordingSettingsPatchRequest 24 | from hubspot.crm.extensions.calling.models.recording_settings_request import RecordingSettingsRequest 25 | from hubspot.crm.extensions.calling.models.recording_settings_response import RecordingSettingsResponse 26 | from hubspot.crm.extensions.calling.models.settings_patch_request import SettingsPatchRequest 27 | from hubspot.crm.extensions.calling.models.settings_request import SettingsRequest 28 | from hubspot.crm.extensions.calling.models.settings_response import SettingsResponse 29 | -------------------------------------------------------------------------------- /hubspot/crm/extensions/cards/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.crm.extensions.cards.api.cards_api import CardsApi 7 | from hubspot.crm.extensions.cards.api.sample_response_api import SampleResponseApi 8 | -------------------------------------------------------------------------------- /hubspot/crm/extensions/videoconferencing/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | 5 | """ 6 | Video Conferencing Extension 7 | 8 | These APIs allow you to specify URLs that can be used to interact with a video conferencing application, to allow HubSpot to add video conference links to meeting requests with contacts. # noqa: E501 9 | 10 | The version of the OpenAPI document: v3 11 | Generated by: https://openapi-generator.tech 12 | """ 13 | 14 | 15 | from __future__ import absolute_import 16 | 17 | __version__ = "1.0.0" 18 | 19 | # import apis into sdk package 20 | from hubspot.crm.extensions.videoconferencing.api.settings_api import SettingsApi 21 | 22 | # import ApiClient 23 | from hubspot.crm.extensions.videoconferencing.api_client import ApiClient 24 | from hubspot.crm.extensions.videoconferencing.configuration import Configuration 25 | from hubspot.crm.extensions.videoconferencing.exceptions import OpenApiException 26 | from hubspot.crm.extensions.videoconferencing.exceptions import ApiTypeError 27 | from hubspot.crm.extensions.videoconferencing.exceptions import ApiValueError 28 | from hubspot.crm.extensions.videoconferencing.exceptions import ApiKeyError 29 | from hubspot.crm.extensions.videoconferencing.exceptions import ApiAttributeError 30 | from hubspot.crm.extensions.videoconferencing.exceptions import ApiException 31 | 32 | # import models into sdk package 33 | from hubspot.crm.extensions.videoconferencing.models.error import Error 34 | from hubspot.crm.extensions.videoconferencing.models.error_detail import ErrorDetail 35 | from hubspot.crm.extensions.videoconferencing.models.external_settings import ExternalSettings 36 | -------------------------------------------------------------------------------- /hubspot/crm/extensions/videoconferencing/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.crm.extensions.videoconferencing.api.settings_api import SettingsApi 7 | -------------------------------------------------------------------------------- /hubspot/crm/extensions/videoconferencing/models/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | """ 5 | Video Conferencing Extension 6 | 7 | These APIs allow you to specify URLs that can be used to interact with a video conferencing application, to allow HubSpot to add video conference links to meeting requests with contacts. # noqa: E501 8 | 9 | The version of the OpenAPI document: v3 10 | Generated by: https://openapi-generator.tech 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | # import models into model package 17 | from hubspot.crm.extensions.videoconferencing.models.error import Error 18 | from hubspot.crm.extensions.videoconferencing.models.error_detail import ErrorDetail 19 | from hubspot.crm.extensions.videoconferencing.models.external_settings import ExternalSettings 20 | -------------------------------------------------------------------------------- /hubspot/crm/imports/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.crm.imports.api.core_api import CoreApi 7 | from hubspot.crm.imports.api.public_imports_api import PublicImportsApi 8 | -------------------------------------------------------------------------------- /hubspot/crm/imports/models/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | """ 5 | Imports 6 | 7 | No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 8 | 9 | The version of the OpenAPI document: v3 10 | Generated by: https://openapi-generator.tech 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | # import models into model package 17 | from hubspot.crm.imports.models.action_response import ActionResponse 18 | from hubspot.crm.imports.models.collection_response_public_import_error_forward_paging import CollectionResponsePublicImportErrorForwardPaging 19 | from hubspot.crm.imports.models.collection_response_public_import_response import CollectionResponsePublicImportResponse 20 | from hubspot.crm.imports.models.error import Error 21 | from hubspot.crm.imports.models.error_detail import ErrorDetail 22 | from hubspot.crm.imports.models.forward_paging import ForwardPaging 23 | from hubspot.crm.imports.models.import_row_core import ImportRowCore 24 | from hubspot.crm.imports.models.import_template import ImportTemplate 25 | from hubspot.crm.imports.models.next_page import NextPage 26 | from hubspot.crm.imports.models.paging import Paging 27 | from hubspot.crm.imports.models.previous_page import PreviousPage 28 | from hubspot.crm.imports.models.property_value import PropertyValue 29 | from hubspot.crm.imports.models.public_import_error import PublicImportError 30 | from hubspot.crm.imports.models.public_import_metadata import PublicImportMetadata 31 | from hubspot.crm.imports.models.public_import_response import PublicImportResponse 32 | from hubspot.crm.imports.models.public_object_list_record import PublicObjectListRecord 33 | -------------------------------------------------------------------------------- /hubspot/crm/line_items/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.crm.line_items.api.basic_api import BasicApi 7 | from hubspot.crm.line_items.api.batch_api import BatchApi 8 | from hubspot.crm.line_items.api.search_api import SearchApi 9 | -------------------------------------------------------------------------------- /hubspot/crm/lists/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.crm.lists.api.folders_api import FoldersApi 7 | from hubspot.crm.lists.api.lists_api import ListsApi 8 | from hubspot.crm.lists.api.mapping_api import MappingApi 9 | from hubspot.crm.lists.api.memberships_api import MembershipsApi 10 | -------------------------------------------------------------------------------- /hubspot/crm/object_type.py: -------------------------------------------------------------------------------- 1 | class ObjectType: 2 | CONTACTS = "CONTACTS" 3 | COMPANIES = "COMPANIES" 4 | DEALS = "DEALS" 5 | TICKETS = "TICKETS" 6 | -------------------------------------------------------------------------------- /hubspot/crm/objects/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.crm.objects.api.basic_api import BasicApi 7 | from hubspot.crm.objects.api.batch_api import BatchApi 8 | from hubspot.crm.objects.api.search_api import SearchApi 9 | -------------------------------------------------------------------------------- /hubspot/crm/objects/calls/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.crm.objects.calls.api.basic_api import BasicApi 7 | from hubspot.crm.objects.calls.api.batch_api import BatchApi 8 | from hubspot.crm.objects.calls.api.search_api import SearchApi 9 | -------------------------------------------------------------------------------- /hubspot/crm/objects/communications/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.crm.objects.communications.api.basic_api import BasicApi 7 | from hubspot.crm.objects.communications.api.batch_api import BatchApi 8 | from hubspot.crm.objects.communications.api.search_api import SearchApi 9 | -------------------------------------------------------------------------------- /hubspot/crm/objects/deal_splits/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.crm.objects.deal_splits.api.batch_api import BatchApi 7 | -------------------------------------------------------------------------------- /hubspot/crm/objects/deal_splits/models/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | """ 5 | CRM Deal Splits 6 | 7 | No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 8 | 9 | The version of the OpenAPI document: v3 10 | Generated by: https://openapi-generator.tech 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | # import models into model package 17 | from hubspot.crm.objects.deal_splits.models.batch_input_public_object_id import BatchInputPublicObjectId 18 | from hubspot.crm.objects.deal_splits.models.batch_response_deal_to_deal_splits import BatchResponseDealToDealSplits 19 | from hubspot.crm.objects.deal_splits.models.batch_response_deal_to_deal_splits_with_errors import BatchResponseDealToDealSplitsWithErrors 20 | from hubspot.crm.objects.deal_splits.models.deal_to_deal_splits import DealToDealSplits 21 | from hubspot.crm.objects.deal_splits.models.error import Error 22 | from hubspot.crm.objects.deal_splits.models.error_detail import ErrorDetail 23 | from hubspot.crm.objects.deal_splits.models.public_deal_split_input import PublicDealSplitInput 24 | from hubspot.crm.objects.deal_splits.models.public_deal_splits_batch_create_request import PublicDealSplitsBatchCreateRequest 25 | from hubspot.crm.objects.deal_splits.models.public_deal_splits_create_request import PublicDealSplitsCreateRequest 26 | from hubspot.crm.objects.deal_splits.models.public_object_id import PublicObjectId 27 | from hubspot.crm.objects.deal_splits.models.simple_public_object import SimplePublicObject 28 | from hubspot.crm.objects.deal_splits.models.standard_error import StandardError 29 | from hubspot.crm.objects.deal_splits.models.value_with_timestamp import ValueWithTimestamp 30 | -------------------------------------------------------------------------------- /hubspot/crm/objects/emails/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.crm.objects.emails.api.basic_api import BasicApi 7 | from hubspot.crm.objects.emails.api.batch_api import BatchApi 8 | from hubspot.crm.objects.emails.api.search_api import SearchApi 9 | -------------------------------------------------------------------------------- /hubspot/crm/objects/feedback_submissions/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.crm.objects.feedback_submissions.api.basic_api import BasicApi 7 | from hubspot.crm.objects.feedback_submissions.api.batch_api import BatchApi 8 | from hubspot.crm.objects.feedback_submissions.api.search_api import SearchApi 9 | -------------------------------------------------------------------------------- /hubspot/crm/objects/goals/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.crm.objects.goals.api.basic_api import BasicApi 7 | from hubspot.crm.objects.goals.api.batch_api import BatchApi 8 | from hubspot.crm.objects.goals.api.search_api import SearchApi 9 | -------------------------------------------------------------------------------- /hubspot/crm/objects/leads/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.crm.objects.leads.api.basic_api import BasicApi 7 | from hubspot.crm.objects.leads.api.batch_api import BatchApi 8 | from hubspot.crm.objects.leads.api.search_api import SearchApi 9 | -------------------------------------------------------------------------------- /hubspot/crm/objects/meetings/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.crm.objects.meetings.api.basic_api import BasicApi 7 | from hubspot.crm.objects.meetings.api.batch_api import BatchApi 8 | from hubspot.crm.objects.meetings.api.search_api import SearchApi 9 | -------------------------------------------------------------------------------- /hubspot/crm/objects/notes/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.crm.objects.notes.api.basic_api import BasicApi 7 | from hubspot.crm.objects.notes.api.batch_api import BatchApi 8 | from hubspot.crm.objects.notes.api.search_api import SearchApi 9 | -------------------------------------------------------------------------------- /hubspot/crm/objects/postal_mail/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.crm.objects.postal_mail.api.basic_api import BasicApi 7 | from hubspot.crm.objects.postal_mail.api.batch_api import BatchApi 8 | from hubspot.crm.objects.postal_mail.api.search_api import SearchApi 9 | -------------------------------------------------------------------------------- /hubspot/crm/objects/tasks/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.crm.objects.tasks.api.basic_api import BasicApi 7 | from hubspot.crm.objects.tasks.api.batch_api import BatchApi 8 | from hubspot.crm.objects.tasks.api.search_api import SearchApi 9 | -------------------------------------------------------------------------------- /hubspot/crm/objects/taxes/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.crm.objects.taxes.api.basic_api import BasicApi 7 | from hubspot.crm.objects.taxes.api.batch_api import BatchApi 8 | from hubspot.crm.objects.taxes.api.search_api import SearchApi 9 | -------------------------------------------------------------------------------- /hubspot/crm/owners/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | 5 | """ 6 | Crm Owners 7 | 8 | HubSpot uses **owners** to assign CRM objects to specific people in your organization. The endpoints described here are used to get a list of the owners that are available for an account. To assign an owner to an object, set the hubspot_owner_id property using the appropriate CRM object update or create a request. If teams are available for your HubSpot tier, these endpoints will also indicate which team(s) an owner can access, as well as which team is the owner's primary team. # noqa: E501 9 | 10 | The version of the OpenAPI document: v3 11 | Generated by: https://openapi-generator.tech 12 | """ 13 | 14 | 15 | from __future__ import absolute_import 16 | 17 | __version__ = "1.0.0" 18 | 19 | # import apis into sdk package 20 | from hubspot.crm.owners.api.owners_api import OwnersApi 21 | 22 | # import ApiClient 23 | from hubspot.crm.owners.api_client import ApiClient 24 | from hubspot.crm.owners.configuration import Configuration 25 | from hubspot.crm.owners.exceptions import OpenApiException 26 | from hubspot.crm.owners.exceptions import ApiTypeError 27 | from hubspot.crm.owners.exceptions import ApiValueError 28 | from hubspot.crm.owners.exceptions import ApiKeyError 29 | from hubspot.crm.owners.exceptions import ApiAttributeError 30 | from hubspot.crm.owners.exceptions import ApiException 31 | 32 | # import models into sdk package 33 | from hubspot.crm.owners.models.collection_response_public_owner_forward_paging import CollectionResponsePublicOwnerForwardPaging 34 | from hubspot.crm.owners.models.error import Error 35 | from hubspot.crm.owners.models.error_detail import ErrorDetail 36 | from hubspot.crm.owners.models.forward_paging import ForwardPaging 37 | from hubspot.crm.owners.models.next_page import NextPage 38 | from hubspot.crm.owners.models.public_owner import PublicOwner 39 | from hubspot.crm.owners.models.public_team import PublicTeam 40 | -------------------------------------------------------------------------------- /hubspot/crm/owners/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.crm.owners.api.owners_api import OwnersApi 7 | -------------------------------------------------------------------------------- /hubspot/crm/owners/models/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | """ 5 | Crm Owners 6 | 7 | HubSpot uses **owners** to assign CRM objects to specific people in your organization. The endpoints described here are used to get a list of the owners that are available for an account. To assign an owner to an object, set the hubspot_owner_id property using the appropriate CRM object update or create a request. If teams are available for your HubSpot tier, these endpoints will also indicate which team(s) an owner can access, as well as which team is the owner's primary team. # noqa: E501 8 | 9 | The version of the OpenAPI document: v3 10 | Generated by: https://openapi-generator.tech 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | # import models into model package 17 | from hubspot.crm.owners.models.collection_response_public_owner_forward_paging import CollectionResponsePublicOwnerForwardPaging 18 | from hubspot.crm.owners.models.error import Error 19 | from hubspot.crm.owners.models.error_detail import ErrorDetail 20 | from hubspot.crm.owners.models.forward_paging import ForwardPaging 21 | from hubspot.crm.owners.models.next_page import NextPage 22 | from hubspot.crm.owners.models.public_owner import PublicOwner 23 | from hubspot.crm.owners.models.public_team import PublicTeam 24 | -------------------------------------------------------------------------------- /hubspot/crm/pipelines/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.crm.pipelines.api.pipeline_audits_api import PipelineAuditsApi 7 | from hubspot.crm.pipelines.api.pipeline_stage_audits_api import PipelineStageAuditsApi 8 | from hubspot.crm.pipelines.api.pipeline_stages_api import PipelineStagesApi 9 | from hubspot.crm.pipelines.api.pipelines_api import PipelinesApi 10 | -------------------------------------------------------------------------------- /hubspot/crm/pipelines/models/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | """ 5 | Pipelines 6 | 7 | Pipelines represent distinct stages in a workflow, like closing a deal or servicing a support ticket. These endpoints provide access to read and modify pipelines in HubSpot. Pipelines support `deals` and `tickets` object types. ## Pipeline ID validation When calling endpoints that take pipelineId as a parameter, that ID must correspond to an existing, un-archived pipeline. Otherwise the request will fail with a `404 Not Found` response. # noqa: E501 8 | 9 | The version of the OpenAPI document: v3 10 | Generated by: https://openapi-generator.tech 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | # import models into model package 17 | from hubspot.crm.pipelines.models.collection_response_pipeline_no_paging import CollectionResponsePipelineNoPaging 18 | from hubspot.crm.pipelines.models.collection_response_pipeline_stage_no_paging import CollectionResponsePipelineStageNoPaging 19 | from hubspot.crm.pipelines.models.collection_response_public_audit_info_no_paging import CollectionResponsePublicAuditInfoNoPaging 20 | from hubspot.crm.pipelines.models.error import Error 21 | from hubspot.crm.pipelines.models.error_detail import ErrorDetail 22 | from hubspot.crm.pipelines.models.pipeline import Pipeline 23 | from hubspot.crm.pipelines.models.pipeline_input import PipelineInput 24 | from hubspot.crm.pipelines.models.pipeline_patch_input import PipelinePatchInput 25 | from hubspot.crm.pipelines.models.pipeline_stage import PipelineStage 26 | from hubspot.crm.pipelines.models.pipeline_stage_input import PipelineStageInput 27 | from hubspot.crm.pipelines.models.pipeline_stage_patch_input import PipelineStagePatchInput 28 | from hubspot.crm.pipelines.models.public_audit_info import PublicAuditInfo 29 | -------------------------------------------------------------------------------- /hubspot/crm/products/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.crm.products.api.basic_api import BasicApi 7 | from hubspot.crm.products.api.batch_api import BatchApi 8 | from hubspot.crm.products.api.search_api import SearchApi 9 | -------------------------------------------------------------------------------- /hubspot/crm/properties/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.crm.properties.api.batch_api import BatchApi 7 | from hubspot.crm.properties.api.core_api import CoreApi 8 | from hubspot.crm.properties.api.groups_api import GroupsApi 9 | -------------------------------------------------------------------------------- /hubspot/crm/properties/models/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | """ 5 | Properties 6 | 7 | All HubSpot objects store data in default and custom properties. These endpoints provide access to read and modify object properties in HubSpot. # noqa: E501 8 | 9 | The version of the OpenAPI document: v3 10 | Generated by: https://openapi-generator.tech 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | # import models into model package 17 | from hubspot.crm.properties.models.batch_input_property_create import BatchInputPropertyCreate 18 | from hubspot.crm.properties.models.batch_input_property_name import BatchInputPropertyName 19 | from hubspot.crm.properties.models.batch_read_input_property_name import BatchReadInputPropertyName 20 | from hubspot.crm.properties.models.batch_response_property import BatchResponseProperty 21 | from hubspot.crm.properties.models.batch_response_property_with_errors import BatchResponsePropertyWithErrors 22 | from hubspot.crm.properties.models.collection_response_property_group_no_paging import CollectionResponsePropertyGroupNoPaging 23 | from hubspot.crm.properties.models.collection_response_property_no_paging import CollectionResponsePropertyNoPaging 24 | from hubspot.crm.properties.models.error import Error 25 | from hubspot.crm.properties.models.error_detail import ErrorDetail 26 | from hubspot.crm.properties.models.model_property import ModelProperty 27 | from hubspot.crm.properties.models.option import Option 28 | from hubspot.crm.properties.models.option_input import OptionInput 29 | from hubspot.crm.properties.models.property_create import PropertyCreate 30 | from hubspot.crm.properties.models.property_group import PropertyGroup 31 | from hubspot.crm.properties.models.property_group_create import PropertyGroupCreate 32 | from hubspot.crm.properties.models.property_group_update import PropertyGroupUpdate 33 | from hubspot.crm.properties.models.property_modification_metadata import PropertyModificationMetadata 34 | from hubspot.crm.properties.models.property_name import PropertyName 35 | from hubspot.crm.properties.models.property_update import PropertyUpdate 36 | from hubspot.crm.properties.models.standard_error import StandardError 37 | -------------------------------------------------------------------------------- /hubspot/crm/quotes/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.crm.quotes.api.basic_api import BasicApi 7 | from hubspot.crm.quotes.api.batch_api import BatchApi 8 | from hubspot.crm.quotes.api.search_api import SearchApi 9 | -------------------------------------------------------------------------------- /hubspot/crm/schemas/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.crm.schemas.api.core_api import CoreApi 7 | -------------------------------------------------------------------------------- /hubspot/crm/schemas/models/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | """ 5 | Schemas 6 | 7 | The CRM uses schemas to define how custom objects should store and represent information in the HubSpot CRM. Schemas define details about an object's type, properties, and associations. The schema can be uniquely identified by its **object type ID**. # noqa: E501 8 | 9 | The version of the OpenAPI document: v3 10 | Generated by: https://openapi-generator.tech 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | # import models into model package 17 | from hubspot.crm.schemas.models.association_definition import AssociationDefinition 18 | from hubspot.crm.schemas.models.association_definition_egg import AssociationDefinitionEgg 19 | from hubspot.crm.schemas.models.collection_response_object_schema_no_paging import CollectionResponseObjectSchemaNoPaging 20 | from hubspot.crm.schemas.models.error import Error 21 | from hubspot.crm.schemas.models.error_detail import ErrorDetail 22 | from hubspot.crm.schemas.models.model_property import ModelProperty 23 | from hubspot.crm.schemas.models.object_schema import ObjectSchema 24 | from hubspot.crm.schemas.models.object_schema_egg import ObjectSchemaEgg 25 | from hubspot.crm.schemas.models.object_type_definition import ObjectTypeDefinition 26 | from hubspot.crm.schemas.models.object_type_definition_labels import ObjectTypeDefinitionLabels 27 | from hubspot.crm.schemas.models.object_type_definition_patch import ObjectTypeDefinitionPatch 28 | from hubspot.crm.schemas.models.object_type_property_create import ObjectTypePropertyCreate 29 | from hubspot.crm.schemas.models.option import Option 30 | from hubspot.crm.schemas.models.option_input import OptionInput 31 | from hubspot.crm.schemas.models.property_modification_metadata import PropertyModificationMetadata 32 | -------------------------------------------------------------------------------- /hubspot/crm/tickets/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.crm.tickets.api.basic_api import BasicApi 7 | from hubspot.crm.tickets.api.batch_api import BatchApi 8 | from hubspot.crm.tickets.api.search_api import SearchApi 9 | -------------------------------------------------------------------------------- /hubspot/crm/timeline/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.crm.timeline.api.events_api import EventsApi 7 | from hubspot.crm.timeline.api.templates_api import TemplatesApi 8 | from hubspot.crm.timeline.api.tokens_api import TokensApi 9 | -------------------------------------------------------------------------------- /hubspot/crm/timeline/models/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | """ 5 | Timeline 6 | 7 | This feature allows an app to create and configure custom events that can show up in the timelines of certain CRM objects like contacts, companies, tickets, or deals. You'll find multiple use cases for this API in the sections below. # noqa: E501 8 | 9 | The version of the OpenAPI document: v3 10 | Generated by: https://openapi-generator.tech 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | # import models into model package 17 | from hubspot.crm.timeline.models.batch_input_timeline_event import BatchInputTimelineEvent 18 | from hubspot.crm.timeline.models.batch_response_timeline_event_response import BatchResponseTimelineEventResponse 19 | from hubspot.crm.timeline.models.batch_response_timeline_event_response_with_errors import BatchResponseTimelineEventResponseWithErrors 20 | from hubspot.crm.timeline.models.collection_response_timeline_event_template_no_paging import CollectionResponseTimelineEventTemplateNoPaging 21 | from hubspot.crm.timeline.models.error import Error 22 | from hubspot.crm.timeline.models.error_detail import ErrorDetail 23 | from hubspot.crm.timeline.models.event_detail import EventDetail 24 | from hubspot.crm.timeline.models.standard_error import StandardError 25 | from hubspot.crm.timeline.models.timeline_event import TimelineEvent 26 | from hubspot.crm.timeline.models.timeline_event_i_frame import TimelineEventIFrame 27 | from hubspot.crm.timeline.models.timeline_event_response import TimelineEventResponse 28 | from hubspot.crm.timeline.models.timeline_event_template import TimelineEventTemplate 29 | from hubspot.crm.timeline.models.timeline_event_template_create_request import TimelineEventTemplateCreateRequest 30 | from hubspot.crm.timeline.models.timeline_event_template_token import TimelineEventTemplateToken 31 | from hubspot.crm.timeline.models.timeline_event_template_token_option import TimelineEventTemplateTokenOption 32 | from hubspot.crm.timeline.models.timeline_event_template_token_update_request import TimelineEventTemplateTokenUpdateRequest 33 | from hubspot.crm.timeline.models.timeline_event_template_update_request import TimelineEventTemplateUpdateRequest 34 | -------------------------------------------------------------------------------- /hubspot/discovery/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/automation/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/automation/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/automation/actions/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/automation/actions/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/automation/actions/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.automation.actions as api_client 2 | from ...discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | @property 7 | def callbacks_api(self) -> api_client.CallbacksApi: 8 | return self._configure_api_client(api_client, "CallbacksApi") 9 | 10 | @property 11 | def definitions_api(self) -> api_client.DefinitionsApi: 12 | return self._configure_api_client(api_client, "DefinitionsApi") 13 | 14 | @property 15 | def functions_api(self) -> api_client.FunctionsApi: 16 | return self._configure_api_client(api_client, "FunctionsApi") 17 | 18 | @property 19 | def revisions_api(self) -> api_client.RevisionsApi: 20 | return self._configure_api_client(api_client, "RevisionsApi") 21 | -------------------------------------------------------------------------------- /hubspot/discovery/automation/discovery.py: -------------------------------------------------------------------------------- 1 | from ..discovery_base import DiscoveryBase 2 | 3 | 4 | class Discovery(DiscoveryBase): 5 | @property 6 | def actions(self): 7 | from .actions.discovery import Discovery as ActionsDiscovery 8 | return ActionsDiscovery(self.config) 9 | -------------------------------------------------------------------------------- /hubspot/discovery/cms/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/cms/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/cms/audit_logs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/cms/audit_logs/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/cms/audit_logs/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.cms.audit_logs as api_client 2 | from ...discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | @property 7 | def audit_logs_api(self) -> api_client.AuditLogsApi: 8 | return self._configure_api_client(api_client, "AuditLogsApi") 9 | -------------------------------------------------------------------------------- /hubspot/discovery/cms/blogs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/cms/blogs/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/cms/blogs/authors/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/cms/blogs/authors/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/cms/blogs/authors/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.cms.blogs.authors as api_client 2 | from ....discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | @property 7 | def author_api(self) -> api_client.BlogAuthorsApi: 8 | return self._configure_api_client(api_client, "BlogAuthorsApi") 9 | -------------------------------------------------------------------------------- /hubspot/discovery/cms/blogs/blog_posts/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/cms/blogs/blog_posts/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/cms/blogs/blog_posts/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.cms.blogs.blog_posts as api_client 2 | from ....discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | @property 7 | def basic_api(self) -> api_client.BasicApi: 8 | return self._configure_api_client(api_client, "BasicApi") 9 | @property 10 | def batch_api(self) -> api_client.BatchApi: 11 | return self._configure_api_client(api_client, "BatchApi") 12 | @property 13 | def multi_language_api(self) -> api_client.MultiLanguageApi: 14 | return self._configure_api_client(api_client, "MultiLanguageApi") 15 | -------------------------------------------------------------------------------- /hubspot/discovery/cms/blogs/discovery.py: -------------------------------------------------------------------------------- 1 | from ...discovery_base import DiscoveryBase 2 | 3 | class Discovery(DiscoveryBase): 4 | @property 5 | def authors(self): 6 | from .authors.discovery import Discovery as AuthorsDiscovery 7 | return AuthorsDiscovery(self.config) 8 | 9 | @property 10 | def blog_posts(self): 11 | from .blog_posts.discovery import Discovery as BlogPostsDiscovery 12 | return BlogPostsDiscovery(self.config) 13 | 14 | @property 15 | def tags(self): 16 | from .tags.discovery import Discovery as TagsDiscovery 17 | return TagsDiscovery(self.config) 18 | -------------------------------------------------------------------------------- /hubspot/discovery/cms/blogs/tags/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/cms/blogs/tags/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/cms/blogs/tags/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.cms.blogs.tags as api_client 2 | from ....discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | @property 7 | def tag_api(self) -> api_client.BlogTagsApi: 8 | return self._configure_api_client(api_client, "BlogTagsApi") 9 | -------------------------------------------------------------------------------- /hubspot/discovery/cms/discovery.py: -------------------------------------------------------------------------------- 1 | from ..discovery_base import DiscoveryBase 2 | 3 | class Discovery(DiscoveryBase): 4 | @property 5 | def audit_logs(self): 6 | from .audit_logs.discovery import Discovery as AuditLogsDiscovery 7 | return AuditLogsDiscovery(self.config) 8 | 9 | @property 10 | def blogs(self): 11 | from .blogs.discovery import Discovery as BlogsDiscovery 12 | return BlogsDiscovery(self.config) 13 | 14 | @property 15 | def domains(self): 16 | from .domains.discovery import Discovery as DomainsDiscovery 17 | return DomainsDiscovery(self.config) 18 | 19 | @property 20 | def hubdb(self): 21 | from .hubdb.discovery import Discovery as HubdbDiscovery 22 | return HubdbDiscovery(self.config) 23 | 24 | @property 25 | def pages(self): 26 | from .pages.discovery import Discovery as PagesDiscovery 27 | return PagesDiscovery(self.config) 28 | 29 | @property 30 | def site_search(self): 31 | from .site_search.discovery import Discovery as SiteSearchDiscovery 32 | return SiteSearchDiscovery(self.config) 33 | 34 | @property 35 | def source_code(self): 36 | from .source_code.discovery import Discovery as SourceCodeDiscovery 37 | return SourceCodeDiscovery(self.config) 38 | 39 | @property 40 | def url_redirects(self): 41 | from .url_redirects.discovery import Discovery as UrlRedirectsDiscovery 42 | return UrlRedirectsDiscovery(self.config) 43 | -------------------------------------------------------------------------------- /hubspot/discovery/cms/domains/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/cms/domains/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/cms/domains/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.cms.domains as api_client 2 | from ...discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | @property 7 | def domains_api(self) -> api_client.DomainsApi: 8 | return self._configure_api_client(api_client, "DomainsApi") 9 | -------------------------------------------------------------------------------- /hubspot/discovery/cms/hubdb/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/cms/hubdb/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/cms/hubdb/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.cms.hubdb as api_client 2 | from ...discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | @property 7 | def rows_api(self) -> api_client.RowsApi: 8 | return self._configure_api_client(api_client, "RowsApi") 9 | 10 | @property 11 | def rows_batch_api(self) -> api_client.RowsBatchApi: 12 | return self._configure_api_client(api_client, "RowsBatchApi") 13 | 14 | @property 15 | def tables_api(self) -> api_client.TablesApi: 16 | return self._configure_api_client(api_client, "TablesApi") 17 | -------------------------------------------------------------------------------- /hubspot/discovery/cms/pages/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/cms/pages/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/cms/pages/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.cms.pages as api_client 2 | from ...discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | @property 7 | def landing_pages_api(self) -> api_client.LandingPagesApi: 8 | return self._configure_api_client(api_client, "LandingPagesApi") 9 | 10 | @property 11 | def site_pages_api(self) -> api_client.SitePagesApi: 12 | return self._configure_api_client(api_client, "SitePagesApi") 13 | -------------------------------------------------------------------------------- /hubspot/discovery/cms/site_search/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/cms/site_search/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/cms/site_search/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.cms.site_search as api_client 2 | from ...discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | @property 7 | def public_api(self) -> api_client.PublicApi: 8 | return self._configure_api_client(api_client, "PublicApi") 9 | -------------------------------------------------------------------------------- /hubspot/discovery/cms/source_code/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/cms/source_code/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/cms/source_code/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.cms.source_code as api_client 2 | from ...discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | @property 7 | def content_api(self) -> api_client.ContentApi: 8 | return self._configure_api_client(api_client, "ContentApi") 9 | 10 | @property 11 | def extract_api(self) -> api_client.ExtractApi: 12 | return self._configure_api_client(api_client, "ExtractApi") 13 | 14 | @property 15 | def metadata_api(self) -> api_client.MetadataApi: 16 | return self._configure_api_client(api_client, "MetadataApi") 17 | 18 | @property 19 | def validation_api(self) -> api_client.ValidationApi: 20 | return self._configure_api_client(api_client, "ValidationApi") 21 | -------------------------------------------------------------------------------- /hubspot/discovery/cms/url_redirects/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/cms/url_redirects/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/cms/url_redirects/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.cms.url_redirects as api_client 2 | from ...discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | @property 7 | def redirects_api(self) -> api_client.RedirectsApi: 8 | return self._configure_api_client(api_client, "RedirectsApi") 9 | -------------------------------------------------------------------------------- /hubspot/discovery/communication_preferences/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/communication_preferences/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/communication_preferences/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.communication_preferences as api_client 2 | from ..discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | @property 7 | def definition_api(self) -> api_client.DefinitionApi: 8 | return self._configure_api_client(api_client, "DefinitionApi") 9 | 10 | @property 11 | def status_api(self) -> api_client.StatusApi: 12 | return self._configure_api_client(api_client, "StatusApi") 13 | -------------------------------------------------------------------------------- /hubspot/discovery/conversations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/conversations/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/conversations/discovery.py: -------------------------------------------------------------------------------- 1 | from ..discovery_base import DiscoveryBase 2 | 3 | class Discovery(DiscoveryBase): 4 | @property 5 | def visitor_identification(self): 6 | from .visitor_identification.discovery import Discovery as VisitorIdentificationDiscovery 7 | return VisitorIdentificationDiscovery(self.config) 8 | -------------------------------------------------------------------------------- /hubspot/discovery/conversations/visitor_identification/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/conversations/visitor_identification/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/conversations/visitor_identification/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.conversations.visitor_identification as api_client 2 | from ...discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | @property 7 | def generate_api(self) -> api_client.GenerateApi: 8 | return self._configure_api_client(api_client, "GenerateApi") 9 | -------------------------------------------------------------------------------- /hubspot/discovery/crm/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/crm/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/crm/associations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/crm/associations/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/crm/associations/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.crm.associations as api_client 2 | from ...discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | @property 7 | def v4(self): 8 | from .v4.discovery import Discovery as v4Discovery 9 | return v4Discovery(self.config) 10 | 11 | @property 12 | def schema(self): 13 | from .schema.discovery import Discovery as schemaDiscovery 14 | return schemaDiscovery(self.config) 15 | 16 | @property 17 | def batch_api(self) -> api_client.BatchApi: 18 | return self._configure_api_client(api_client, "BatchApi") 19 | 20 | -------------------------------------------------------------------------------- /hubspot/discovery/crm/associations/schema/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/crm/associations/schema/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/crm/associations/schema/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.crm.associations.schema as api_client 2 | from ....discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | 7 | @property 8 | def types_api(self) -> api_client.TypesApi: 9 | return self._configure_api_client(api_client, "TypesApi") 10 | 11 | -------------------------------------------------------------------------------- /hubspot/discovery/crm/associations/v4/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/crm/associations/v4/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/crm/associations/v4/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.crm.associations.v4 as api_client 2 | from ....discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | @property 7 | def basic_api(self) -> api_client.BasicApi: 8 | return self._configure_api_client(api_client, "BasicApi") 9 | 10 | @property 11 | def batch_api(self) -> api_client.BatchApi: 12 | return self._configure_api_client(api_client, "BatchApi") 13 | 14 | @property 15 | def report_api(self) -> api_client.ReportApi: 16 | return self._configure_api_client(api_client, "ReportApi") 17 | 18 | @property 19 | def schema(self): 20 | from .schema.discovery import Discovery as schemaDiscovery 21 | return schemaDiscovery(self.config) 22 | -------------------------------------------------------------------------------- /hubspot/discovery/crm/associations/v4/schema/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/crm/associations/v4/schema/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/crm/associations/v4/schema/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.crm.associations.v4.schema as api_client 2 | from .....discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | 7 | @property 8 | def definitions_api(self) -> api_client.DefinitionsApi: 9 | return self._configure_api_client(api_client, "DefinitionsApi") 10 | 11 | @property 12 | def definition_configurations_api(self) -> api_client.DefinitionConfigurationsApi: 13 | return self._configure_api_client(api_client, "DefinitionConfigurationsApi") 14 | -------------------------------------------------------------------------------- /hubspot/discovery/crm/commerce/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/crm/commerce/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/crm/commerce/discovery.py: -------------------------------------------------------------------------------- 1 | from ...discovery_base import DiscoveryBase 2 | 3 | 4 | class Discovery(DiscoveryBase): 5 | @property 6 | def invoices(self): 7 | from .invoices.discovery import Discovery as InvoicesDiscovery 8 | return InvoicesDiscovery(self.config) 9 | -------------------------------------------------------------------------------- /hubspot/discovery/crm/commerce/invoices/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/crm/commerce/invoices/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/crm/commerce/invoices/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.crm.commerce.invoices as api_client 2 | from hubspot.utils.objects import fetch_all 3 | from ....discovery_base import DiscoveryBase 4 | 5 | 6 | class Discovery(DiscoveryBase): 7 | @property 8 | def basic_api(self) -> api_client.BasicApi: 9 | return self._configure_api_client(api_client, "BasicApi") 10 | 11 | @property 12 | def batch_api(self) -> api_client.BatchApi: 13 | return self._configure_api_client(api_client, "BatchApi") 14 | 15 | @property 16 | def search_api(self) -> api_client.SearchApi: 17 | return self._configure_api_client(api_client, "SearchApi") 18 | 19 | def get_all(self, **kwargs): 20 | return fetch_all(self.basic_api, **kwargs) 21 | -------------------------------------------------------------------------------- /hubspot/discovery/crm/companies/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/crm/companies/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/crm/companies/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.crm.companies as api_client 2 | from hubspot.utils.objects import fetch_all 3 | from ...discovery_base import DiscoveryBase 4 | 5 | 6 | class Discovery(DiscoveryBase): 7 | @property 8 | def basic_api(self) -> api_client.BasicApi: 9 | return self._configure_api_client(api_client, "BasicApi") 10 | 11 | @property 12 | def batch_api(self) -> api_client.BatchApi: 13 | return self._configure_api_client(api_client, "BatchApi") 14 | 15 | @property 16 | def search_api(self) -> api_client.SearchApi: 17 | return self._configure_api_client(api_client, "SearchApi") 18 | 19 | def get_all(self, **kwargs): 20 | return fetch_all(self.basic_api, **kwargs) 21 | -------------------------------------------------------------------------------- /hubspot/discovery/crm/contacts/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/crm/contacts/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/crm/contacts/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.crm.contacts as api_client 2 | from hubspot.utils.objects import fetch_all 3 | from ...discovery_base import DiscoveryBase 4 | 5 | 6 | class Discovery(DiscoveryBase): 7 | @property 8 | def basic_api(self) -> api_client.BasicApi: 9 | return self._configure_api_client(api_client, "BasicApi") 10 | 11 | @property 12 | def batch_api(self) -> api_client.BatchApi: 13 | return self._configure_api_client(api_client, "BatchApi") 14 | 15 | @property 16 | def search_api(self) -> api_client.SearchApi: 17 | return self._configure_api_client(api_client, "SearchApi") 18 | 19 | def get_all(self, **kwargs): 20 | return fetch_all(self.basic_api, **kwargs) 21 | -------------------------------------------------------------------------------- /hubspot/discovery/crm/deals/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/crm/deals/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/crm/deals/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.crm.deals as api_client 2 | from hubspot.utils.objects import fetch_all 3 | from ...discovery_base import DiscoveryBase 4 | 5 | 6 | class Discovery(DiscoveryBase): 7 | @property 8 | def basic_api(self) -> api_client.BasicApi: 9 | return self._configure_api_client(api_client, "BasicApi") 10 | 11 | @property 12 | def batch_api(self) -> api_client.BatchApi: 13 | return self._configure_api_client(api_client, "BatchApi") 14 | 15 | @property 16 | def search_api(self) -> api_client.SearchApi: 17 | return self._configure_api_client(api_client, "SearchApi") 18 | 19 | def get_all(self, **kwargs): 20 | return fetch_all(self.basic_api, **kwargs) 21 | -------------------------------------------------------------------------------- /hubspot/discovery/crm/exports/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/crm/exports/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/crm/exports/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.crm.exports as api_client 2 | from ...discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | @property 7 | def public_exports_api(self) -> api_client.PublicExportsApi: 8 | return self._configure_api_client(api_client, "PublicExportsApi") 9 | -------------------------------------------------------------------------------- /hubspot/discovery/crm/extensions/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/crm/extensions/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/crm/extensions/calling/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/crm/extensions/calling/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/crm/extensions/calling/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.crm.extensions.calling as api_client 2 | from ....discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | 7 | @property 8 | def channel_connection_settings_api(self) -> api_client.ChannelConnectionSettingsApi: 9 | return self._configure_api_client(api_client, "ChannelConnectionSettingsApi") 10 | 11 | @property 12 | def recording_settings_api(self) -> api_client.RecordingSettingsApi: 13 | return self._configure_api_client(api_client, "RecordingSettingsApi") 14 | 15 | @property 16 | def settings_api(self) -> api_client.SettingsApi: 17 | return self._configure_api_client(api_client, "SettingsApi") 18 | -------------------------------------------------------------------------------- /hubspot/discovery/crm/extensions/cards/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/crm/extensions/cards/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/crm/extensions/cards/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.crm.extensions.cards as api_client 2 | from ....discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | @property 7 | def cards_api(self) -> api_client.CardsApi: 8 | return self._configure_api_client(api_client, "CardsApi") 9 | 10 | @property 11 | def sample_response_api(self) -> api_client.SampleResponseApi: 12 | return self._configure_api_client(api_client, "SampleResponseApi") 13 | -------------------------------------------------------------------------------- /hubspot/discovery/crm/extensions/discovery.py: -------------------------------------------------------------------------------- 1 | from ...discovery_base import DiscoveryBase 2 | 3 | class Discovery(DiscoveryBase): 4 | @property 5 | def cards(self): 6 | from .cards.discovery import Discovery as CardsDiscovery 7 | return CardsDiscovery(self.config) 8 | 9 | @property 10 | def calling(self): 11 | from .calling.discovery import Discovery as CallingDiscovery 12 | return CallingDiscovery(self.config) 13 | 14 | @property 15 | def videoconferencing(self): 16 | from .videoconferencing.discovery import Discovery as VideoconferencingDiscovery 17 | return VideoconferencingDiscovery(self.config) 18 | -------------------------------------------------------------------------------- /hubspot/discovery/crm/extensions/videoconferencing/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/crm/extensions/videoconferencing/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/crm/extensions/videoconferencing/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.crm.extensions.videoconferencing as api_client 2 | from ....discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | @property 7 | def settings_api(self) -> api_client.SettingsApi: 8 | return self._configure_api_client(api_client, "SettingsApi") 9 | -------------------------------------------------------------------------------- /hubspot/discovery/crm/imports/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/crm/imports/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/crm/imports/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.crm.imports as api_client 2 | from ...discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | @property 7 | def core_api(self) -> api_client.CoreApi: 8 | return self._configure_api_client(api_client, "CoreApi") 9 | 10 | @property 11 | def public_imports_api(self) -> api_client.PublicImportsApi: 12 | return self._configure_api_client(api_client, "PublicImportsApi") 13 | -------------------------------------------------------------------------------- /hubspot/discovery/crm/line_items/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/crm/line_items/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/crm/line_items/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.crm.line_items as api_client 2 | from hubspot.utils.objects import fetch_all 3 | from ...discovery_base import DiscoveryBase 4 | 5 | 6 | class Discovery(DiscoveryBase): 7 | @property 8 | def basic_api(self) -> api_client.BasicApi: 9 | return self._configure_api_client(api_client, "BasicApi") 10 | 11 | @property 12 | def batch_api(self) -> api_client.BatchApi: 13 | return self._configure_api_client(api_client, "BatchApi") 14 | 15 | @property 16 | def search_api(self) -> api_client.SearchApi: 17 | return self._configure_api_client(api_client, "SearchApi") 18 | 19 | def get_all(self, **kwargs): 20 | return fetch_all(self.basic_api, **kwargs) 21 | -------------------------------------------------------------------------------- /hubspot/discovery/crm/lists/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/crm/lists/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/crm/lists/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.crm.lists as api_client 2 | from ...discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | @property 7 | def folders_api(self) -> api_client.FoldersApi: 8 | return self._configure_api_client(api_client, "FoldersApi") 9 | 10 | @property 11 | def lists_api(self) -> api_client.ListsApi: 12 | return self._configure_api_client(api_client, "ListsApi") 13 | 14 | @property 15 | def mapping_api(self) -> api_client.MappingApi: 16 | return self._configure_api_client(api_client, "MappingApi") 17 | 18 | @property 19 | def memberships_api(self) -> api_client.MembershipsApi: 20 | return self._configure_api_client(api_client, "MembershipsApi") 21 | -------------------------------------------------------------------------------- /hubspot/discovery/crm/objects/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/crm/objects/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/crm/objects/calls/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/crm/objects/calls/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/crm/objects/calls/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.crm.objects.calls as api_client 2 | from ....discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | @property 7 | def basic_api(self) -> api_client.BasicApi: 8 | return self._configure_api_client(api_client, "BasicApi") 9 | 10 | @property 11 | def batch_api(self) -> api_client.BatchApi: 12 | return self._configure_api_client(api_client, "BatchApi") 13 | 14 | @property 15 | def search_api(self) -> api_client.SearchApi: 16 | return self._configure_api_client(api_client, "SearchApi") 17 | -------------------------------------------------------------------------------- /hubspot/discovery/crm/objects/communications/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/crm/objects/communications/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/crm/objects/communications/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.crm.objects.communications as api_client 2 | from ....discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | @property 7 | def basic_api(self) -> api_client.BasicApi: 8 | return self._configure_api_client(api_client, "BasicApi") 9 | 10 | @property 11 | def batch_api(self) -> api_client.BatchApi: 12 | return self._configure_api_client(api_client, "BatchApi") 13 | 14 | @property 15 | def search_api(self) -> api_client.SearchApi: 16 | return self._configure_api_client(api_client, "SearchApi") 17 | -------------------------------------------------------------------------------- /hubspot/discovery/crm/objects/deal_splits/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/crm/objects/deal_splits/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/crm/objects/deal_splits/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.crm.objects.deal_splits as api_client 2 | from ....discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | @property 7 | def batch_api(self) -> api_client.BatchApi: 8 | return self._configure_api_client(api_client, "BatchApi") 9 | -------------------------------------------------------------------------------- /hubspot/discovery/crm/objects/emails/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/crm/objects/emails/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/crm/objects/emails/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.crm.objects.emails as api_client 2 | from ....discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | @property 7 | def basic_api(self) -> api_client.BasicApi: 8 | return self._configure_api_client(api_client, "BasicApi") 9 | 10 | @property 11 | def batch_api(self) -> api_client.BatchApi: 12 | return self._configure_api_client(api_client, "BatchApi") 13 | 14 | @property 15 | def search_api(self) -> api_client.SearchApi: 16 | return self._configure_api_client(api_client, "SearchApi") 17 | -------------------------------------------------------------------------------- /hubspot/discovery/crm/objects/feedback_submissions/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/crm/objects/feedback_submissions/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/crm/objects/feedback_submissions/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.crm.objects.feedback_submissions as api_client 2 | from ....discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | @property 7 | def basic_api(self) -> api_client.BasicApi: 8 | return self._configure_api_client(api_client, "BasicApi") 9 | 10 | @property 11 | def batch_api(self) -> api_client.BatchApi: 12 | return self._configure_api_client(api_client, "BatchApi") 13 | 14 | @property 15 | def search_api(self) -> api_client.SearchApi: 16 | return self._configure_api_client(api_client, "SearchApi") 17 | -------------------------------------------------------------------------------- /hubspot/discovery/crm/objects/goals/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/crm/objects/goals/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/crm/objects/goals/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.crm.objects.goals as api_client 2 | from ....discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | @property 7 | def basic_api(self) -> api_client.BasicApi: 8 | return self._configure_api_client(api_client, "BasicApi") 9 | 10 | @property 11 | def batch_api(self) -> api_client.BatchApi: 12 | return self._configure_api_client(api_client, "BatchApi") 13 | 14 | @property 15 | def search_api(self) -> api_client.SearchApi: 16 | return self._configure_api_client(api_client, "SearchApi") 17 | -------------------------------------------------------------------------------- /hubspot/discovery/crm/objects/leads/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/crm/objects/leads/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/crm/objects/leads/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.crm.objects.leads as api_client 2 | from ....discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | @property 7 | def basic_api(self) -> api_client.BasicApi: 8 | return self._configure_api_client(api_client, "BasicApi") 9 | 10 | @property 11 | def batch_api(self) -> api_client.BatchApi: 12 | return self._configure_api_client(api_client, "BatchApi") 13 | 14 | @property 15 | def search_api(self) -> api_client.SearchApi: 16 | return self._configure_api_client(api_client, "SearchApi") 17 | -------------------------------------------------------------------------------- /hubspot/discovery/crm/objects/meetings/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/crm/objects/meetings/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/crm/objects/meetings/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.crm.objects.meetings as api_client 2 | from ....discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | @property 7 | def basic_api(self) -> api_client.BasicApi: 8 | return self._configure_api_client(api_client, "BasicApi") 9 | 10 | @property 11 | def batch_api(self) -> api_client.BatchApi: 12 | return self._configure_api_client(api_client, "BatchApi") 13 | 14 | @property 15 | def search_api(self) -> api_client.SearchApi: 16 | return self._configure_api_client(api_client, "SearchApi") 17 | -------------------------------------------------------------------------------- /hubspot/discovery/crm/objects/notes/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/crm/objects/notes/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/crm/objects/notes/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.crm.objects.notes as api_client 2 | from ....discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | @property 7 | def basic_api(self) -> api_client.BasicApi: 8 | return self._configure_api_client(api_client, "BasicApi") 9 | 10 | @property 11 | def batch_api(self) -> api_client.BatchApi: 12 | return self._configure_api_client(api_client, "BatchApi") 13 | 14 | @property 15 | def search_api(self) -> api_client.SearchApi: 16 | return self._configure_api_client(api_client, "SearchApi") 17 | -------------------------------------------------------------------------------- /hubspot/discovery/crm/objects/postal_mail/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/crm/objects/postal_mail/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/crm/objects/postal_mail/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.crm.objects.postal_mail as api_client 2 | from ....discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | @property 7 | def basic_api(self) -> api_client.BasicApi: 8 | return self._configure_api_client(api_client, "BasicApi") 9 | 10 | @property 11 | def batch_api(self) -> api_client.BatchApi: 12 | return self._configure_api_client(api_client, "BatchApi") 13 | 14 | @property 15 | def search_api(self) -> api_client.SearchApi: 16 | return self._configure_api_client(api_client, "SearchApi") 17 | -------------------------------------------------------------------------------- /hubspot/discovery/crm/objects/tasks/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/crm/objects/tasks/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/crm/objects/tasks/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.crm.objects.tasks as api_client 2 | from ....discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | @property 7 | def basic_api(self) -> api_client.BasicApi: 8 | return self._configure_api_client(api_client, "BasicApi") 9 | 10 | @property 11 | def batch_api(self) -> api_client.BatchApi: 12 | return self._configure_api_client(api_client, "BatchApi") 13 | 14 | @property 15 | def search_api(self) -> api_client.SearchApi: 16 | return self._configure_api_client(api_client, "SearchApi") 17 | -------------------------------------------------------------------------------- /hubspot/discovery/crm/objects/taxes/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/crm/objects/taxes/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/crm/objects/taxes/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.crm.objects.taxes as api_client 2 | from ....discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | @property 7 | def basic_api(self) -> api_client.BasicApi: 8 | return self._configure_api_client(api_client, "BasicApi") 9 | 10 | @property 11 | def batch_api(self) -> api_client.BatchApi: 12 | return self._configure_api_client(api_client, "BatchApi") 13 | 14 | @property 15 | def search_api(self) -> api_client.SearchApi: 16 | return self._configure_api_client(api_client, "SearchApi") 17 | -------------------------------------------------------------------------------- /hubspot/discovery/crm/owners/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/crm/owners/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/crm/owners/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.crm.owners as api_client 2 | from hubspot.utils.objects import fetch_all 3 | from ...discovery_base import DiscoveryBase 4 | 5 | 6 | class Discovery(DiscoveryBase): 7 | @property 8 | def owners_api(self) -> api_client.OwnersApi: 9 | return self._configure_api_client(api_client, "OwnersApi") 10 | 11 | def get_all(self, **kwargs): 12 | return fetch_all(self.owners_api, **kwargs) 13 | -------------------------------------------------------------------------------- /hubspot/discovery/crm/pipelines/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/crm/pipelines/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/crm/pipelines/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.crm.pipelines as api_client 2 | from ...discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | 7 | @property 8 | def pipeline_audits_api(self) -> api_client.PipelineAuditsApi: 9 | return self._configure_api_client(api_client, "PipelineAuditsApi") 10 | 11 | @property 12 | def pipeline_stage_audits_api(self) -> api_client.PipelineStageAuditsApi: 13 | return self._configure_api_client(api_client, "PipelineStageAuditsApi") 14 | 15 | @property 16 | def pipeline_stages_api(self) -> api_client.PipelineStagesApi: 17 | return self._configure_api_client(api_client, "PipelineStagesApi") 18 | 19 | @property 20 | def pipelines_api(self) -> api_client.PipelinesApi: 21 | return self._configure_api_client(api_client, "PipelinesApi") 22 | -------------------------------------------------------------------------------- /hubspot/discovery/crm/products/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/crm/products/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/crm/products/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.crm.products as api_client 2 | from hubspot.utils.objects import fetch_all 3 | from ...discovery_base import DiscoveryBase 4 | 5 | 6 | class Discovery(DiscoveryBase): 7 | @property 8 | def basic_api(self) -> api_client.BasicApi: 9 | return self._configure_api_client(api_client, "BasicApi") 10 | 11 | @property 12 | def batch_api(self) -> api_client.BatchApi: 13 | return self._configure_api_client(api_client, "BatchApi") 14 | 15 | @property 16 | def search_api(self) -> api_client.SearchApi: 17 | return self._configure_api_client(api_client, "SearchApi") 18 | 19 | def get_all(self, **kwargs): 20 | return fetch_all(self.basic_api, **kwargs) 21 | -------------------------------------------------------------------------------- /hubspot/discovery/crm/properties/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/crm/properties/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/crm/properties/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.crm.properties as api_client 2 | from ...discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | @property 7 | def batch_api(self) -> api_client.BatchApi: 8 | return self._configure_api_client(api_client, "BatchApi") 9 | 10 | @property 11 | def core_api(self) -> api_client.CoreApi: 12 | return self._configure_api_client(api_client, "CoreApi") 13 | 14 | @property 15 | def groups_api(self) -> api_client.GroupsApi: 16 | return self._configure_api_client(api_client, "GroupsApi") 17 | -------------------------------------------------------------------------------- /hubspot/discovery/crm/quotes/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/crm/quotes/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/crm/quotes/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.crm.quotes as api_client 2 | from hubspot.utils.objects import fetch_all 3 | from ...discovery_base import DiscoveryBase 4 | 5 | 6 | class Discovery(DiscoveryBase): 7 | @property 8 | def basic_api(self) -> api_client.BasicApi: 9 | return self._configure_api_client(api_client, "BasicApi") 10 | 11 | @property 12 | def batch_api(self) -> api_client.BatchApi: 13 | return self._configure_api_client(api_client, "BatchApi") 14 | 15 | @property 16 | def search_api(self) -> api_client.SearchApi: 17 | return self._configure_api_client(api_client, "SearchApi") 18 | 19 | def get_all(self, **kwargs): 20 | return fetch_all(self.basic_api, **kwargs) 21 | -------------------------------------------------------------------------------- /hubspot/discovery/crm/schemas/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/crm/schemas/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/crm/schemas/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.crm.schemas as api_client 2 | from ...discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | 7 | @property 8 | def core_api(self) -> api_client.CoreApi: 9 | return self._configure_api_client(api_client, "CoreApi") 10 | -------------------------------------------------------------------------------- /hubspot/discovery/crm/tickets/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/crm/tickets/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/crm/tickets/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.crm.tickets as api_client 2 | from hubspot.utils.objects import fetch_all 3 | from ...discovery_base import DiscoveryBase 4 | 5 | 6 | class Discovery(DiscoveryBase): 7 | @property 8 | def basic_api(self) -> api_client.BasicApi: 9 | return self._configure_api_client(api_client, "BasicApi") 10 | 11 | @property 12 | def batch_api(self) -> api_client.BatchApi: 13 | return self._configure_api_client(api_client, "BatchApi") 14 | 15 | @property 16 | def search_api(self) -> api_client.SearchApi: 17 | return self._configure_api_client(api_client, "SearchApi") 18 | 19 | def get_all(self, **kwargs): 20 | return fetch_all(self.basic_api, **kwargs) 21 | -------------------------------------------------------------------------------- /hubspot/discovery/crm/timeline/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/crm/timeline/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/crm/timeline/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.crm.timeline as api_client 2 | from ...discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | @property 7 | def events_api(self) -> api_client.EventsApi: 8 | return self._configure_api_client(api_client, "EventsApi") 9 | 10 | @property 11 | def templates_api(self) -> api_client.TemplatesApi: 12 | return self._configure_api_client(api_client, "TemplatesApi") 13 | 14 | @property 15 | def tokens_api(self) -> api_client.TokensApi: 16 | return self._configure_api_client(api_client, "TokensApi") 17 | -------------------------------------------------------------------------------- /hubspot/discovery/discovery_base.py: -------------------------------------------------------------------------------- 1 | try: 2 | import importlib.metadata as metadata 3 | except ImportError: 4 | import importlib_metadata as metadata 5 | 6 | 7 | class DiscoveryBase: 8 | def __init__(self, config): 9 | self.config = config 10 | 11 | def _configure_api_client(self, api_client_package, api_name): 12 | api_factory = self.config.get("api_factory") or self._default_api_factory 13 | config = {k: v for k, v in self.config.items() if k != "api_factory" and v is not None} 14 | return api_factory(api_client_package, api_name, config) 15 | 16 | @staticmethod 17 | def _default_api_factory(api_client_package, api_name, config): 18 | configuration = api_client_package.Configuration() 19 | for key in config: 20 | if key == "api_key": 21 | configuration.api_key["developer_hapikey"] = config["api_key"] 22 | elif key == "retry": 23 | configuration.retries = config["retry"] 24 | else: 25 | setattr(configuration, key, config[key]) 26 | 27 | api_client = api_client_package.ApiClient(configuration=configuration) 28 | package_version = metadata.version("hubspot-api-client") 29 | api_client.user_agent = "hubspot-api-client-python; {0}".format(package_version) 30 | 31 | return getattr(api_client_package, api_name)(api_client=api_client) 32 | -------------------------------------------------------------------------------- /hubspot/discovery/events/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/events/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/events/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.events as api_client 2 | from ..discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | 7 | @property 8 | def events_api(self) -> api_client.EventsApi: 9 | return self._configure_api_client(api_client, "EventsApi") 10 | 11 | @property 12 | def send(self): 13 | from .send.discovery import Discovery as SendDiscovery 14 | return SendDiscovery(self.config) 15 | 16 | -------------------------------------------------------------------------------- /hubspot/discovery/events/send/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/events/send/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/events/send/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.events.send as api_client 2 | from ...discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | @property 7 | def basic_api(self) -> api_client.BasicApi: 8 | return self._configure_api_client(api_client, "BasicApi") 9 | 10 | @property 11 | def batch_api(self) -> api_client.BatchApi: 12 | return self._configure_api_client(api_client, "BatchApi") 13 | -------------------------------------------------------------------------------- /hubspot/discovery/files/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/files/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/files/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.files as api_client 2 | from ..discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | @property 7 | def files_api(self) -> api_client.FilesApi: 8 | return self._configure_api_client(api_client, "FilesApi") 9 | 10 | @property 11 | def folders_api(self) -> api_client.FoldersApi: 12 | return self._configure_api_client(api_client, "FoldersApi") 13 | -------------------------------------------------------------------------------- /hubspot/discovery/marketing/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/marketing/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/marketing/discovery.py: -------------------------------------------------------------------------------- 1 | from ..discovery_base import DiscoveryBase 2 | 3 | class Discovery(DiscoveryBase): 4 | @property 5 | def emails(self): 6 | from .emails.discovery import Discovery as EmailsDiscovery 7 | return EmailsDiscovery(self.config) 8 | 9 | @property 10 | def events(self): 11 | from .events.discovery import Discovery as EventsDiscovery 12 | return EventsDiscovery(self.config) 13 | 14 | @property 15 | def forms(self): 16 | from .forms.discovery import Discovery as FormsDiscovery 17 | return FormsDiscovery(self.config) 18 | 19 | @property 20 | def transactional(self): 21 | from .transactional.discovery import Discovery as TransactionalDiscovery 22 | return TransactionalDiscovery(self.config) 23 | -------------------------------------------------------------------------------- /hubspot/discovery/marketing/emails/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/marketing/emails/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/marketing/emails/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.marketing.emails as api_client 2 | from ...discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | @property 7 | def marketing_emails_api(self) -> api_client.MarketingEmailsApi: 8 | return self._configure_api_client(api_client, "MarketingEmailsApi") 9 | 10 | @property 11 | def statistics_api(self) -> api_client.StatisticsApi: 12 | return self._configure_api_client(api_client, "StatisticsApi") 13 | -------------------------------------------------------------------------------- /hubspot/discovery/marketing/events/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/marketing/events/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/marketing/events/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.marketing.events as api_client 2 | from ...discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | @property 7 | def add_event_attendees_api(self) -> api_client.AddEventAttendeesApi: 8 | return self._configure_api_client(api_client, "AddEventAttendeesApi") 9 | 10 | @property 11 | def basic_api(self) -> api_client.BasicApi: 12 | return self._configure_api_client(api_client, "BasicApi") 13 | 14 | @property 15 | def batch_api(self) -> api_client.BatchApi: 16 | return self._configure_api_client(api_client, "BatchApi") 17 | 18 | @property 19 | def change_property_api(self) -> api_client.ChangePropertyApi: 20 | return self._configure_api_client(api_client, "ChangePropertyApi") 21 | 22 | @property 23 | def identifiers_api(self) -> api_client.IdentifiersApi: 24 | return self._configure_api_client(api_client, "IdentifiersApi") 25 | 26 | @property 27 | def list_associations_api(self) -> api_client.ListAssociationsApi: 28 | return self._configure_api_client(api_client, "ListAssociationsApi") 29 | 30 | @property 31 | def retrieve_participant_state_api(self) -> api_client.RetrieveParticipantStateApi: 32 | return self._configure_api_client(api_client, "RetrieveParticipantStateApi") 33 | 34 | @property 35 | def settings_api(self) -> api_client.SettingsApi: 36 | return self._configure_api_client(api_client, "SettingsApi") 37 | 38 | @property 39 | def subscriber_state_changes_api(self) -> api_client.SubscriberStateChangesApi: 40 | return self._configure_api_client(api_client, "SubscriberStateChangesApi") 41 | -------------------------------------------------------------------------------- /hubspot/discovery/marketing/forms/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/marketing/forms/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/marketing/forms/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.marketing.forms as api_client 2 | from ...discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | @property 7 | def forms_api(self) -> api_client.FormsApi: 8 | return self._configure_api_client(api_client, "FormsApi") -------------------------------------------------------------------------------- /hubspot/discovery/marketing/transactional/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/marketing/transactional/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/marketing/transactional/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.marketing.transactional as api_client 2 | from ...discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | @property 7 | def public_smtp_tokens_api(self) -> api_client.PublicSMTPTokensApi: 8 | return self._configure_api_client(api_client, "PublicSMTPTokensApi") 9 | 10 | @property 11 | def single_send_api(self) -> api_client.SingleSendApi: 12 | return self._configure_api_client(api_client, "SingleSendApi") 13 | -------------------------------------------------------------------------------- /hubspot/discovery/oauth/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/oauth/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/oauth/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.oauth as api_client 2 | from ..discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | @property 7 | def access_tokens_api(self) -> api_client.AccessTokensApi: 8 | return self._configure_api_client(api_client, "AccessTokensApi") 9 | 10 | @property 11 | def refresh_tokens_api(self) -> api_client.RefreshTokensApi: 12 | return self._configure_api_client(api_client, "RefreshTokensApi") 13 | 14 | @property 15 | def tokens_api(self) -> api_client.TokensApi: 16 | return self._configure_api_client(api_client, "TokensApi") 17 | -------------------------------------------------------------------------------- /hubspot/discovery/settings/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/settings/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/settings/business_units/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/settings/business_units/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/settings/business_units/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.settings.business_units as api_client 2 | from ...discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | @property 7 | def business_unit_api(self) -> api_client.BusinessUnitApi: 8 | return self._configure_api_client(api_client, "BusinessUnitApi") 9 | -------------------------------------------------------------------------------- /hubspot/discovery/settings/discovery.py: -------------------------------------------------------------------------------- 1 | from ..discovery_base import DiscoveryBase 2 | 3 | 4 | class Discovery(DiscoveryBase): 5 | @property 6 | def users(self): 7 | from .users.discovery import Discovery as UsersDiscovery 8 | return UsersDiscovery(self.config) 9 | 10 | @property 11 | def business_units(self): 12 | from .business_units.discovery import Discovery as BusinessUnitsDiscovery 13 | return BusinessUnitsDiscovery(self.config) 14 | -------------------------------------------------------------------------------- /hubspot/discovery/settings/users/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/settings/users/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/settings/users/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.settings.users as api_client 2 | from ...discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | @property 7 | def roles_api(self) -> api_client.RolesApi: 8 | return self._configure_api_client(api_client, "RolesApi") 9 | 10 | @property 11 | def teams_api(self) -> api_client.TeamsApi: 12 | return self._configure_api_client(api_client, "TeamsApi") 13 | 14 | @property 15 | def users_api(self) -> api_client.UsersApi: 16 | return self._configure_api_client(api_client, "UsersApi") 17 | -------------------------------------------------------------------------------- /hubspot/discovery/webhooks/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/discovery/webhooks/__init__.py -------------------------------------------------------------------------------- /hubspot/discovery/webhooks/discovery.py: -------------------------------------------------------------------------------- 1 | import hubspot.webhooks as api_client 2 | from ..discovery_base import DiscoveryBase 3 | 4 | 5 | class Discovery(DiscoveryBase): 6 | @property 7 | def settings_api(self) -> api_client.SettingsApi: 8 | return self._configure_api_client(api_client, "SettingsApi") 9 | 10 | @property 11 | def subscriptions_api(self) -> api_client.SubscriptionsApi: 12 | return self._configure_api_client(api_client, "SubscriptionsApi") 13 | -------------------------------------------------------------------------------- /hubspot/events/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | 5 | """ 6 | Events Events 7 | 8 | No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 9 | 10 | The version of the OpenAPI document: v3 11 | Generated by: https://openapi-generator.tech 12 | """ 13 | 14 | 15 | from __future__ import absolute_import 16 | 17 | __version__ = "1.0.0" 18 | 19 | # import apis into sdk package 20 | from hubspot.events.api.events_api import EventsApi 21 | 22 | # import ApiClient 23 | from hubspot.events.api_client import ApiClient 24 | from hubspot.events.configuration import Configuration 25 | from hubspot.events.exceptions import OpenApiException 26 | from hubspot.events.exceptions import ApiTypeError 27 | from hubspot.events.exceptions import ApiValueError 28 | from hubspot.events.exceptions import ApiKeyError 29 | from hubspot.events.exceptions import ApiAttributeError 30 | from hubspot.events.exceptions import ApiException 31 | 32 | # import models into sdk package 33 | from hubspot.events.models.collection_response_external_unified_event import CollectionResponseExternalUnifiedEvent 34 | from hubspot.events.models.error import Error 35 | from hubspot.events.models.error_detail import ErrorDetail 36 | from hubspot.events.models.external_unified_event import ExternalUnifiedEvent 37 | from hubspot.events.models.next_page import NextPage 38 | from hubspot.events.models.paging import Paging 39 | from hubspot.events.models.previous_page import PreviousPage 40 | from hubspot.events.models.visible_external_event_type_names import VisibleExternalEventTypeNames 41 | -------------------------------------------------------------------------------- /hubspot/events/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.events.api.events_api import EventsApi 7 | -------------------------------------------------------------------------------- /hubspot/events/models/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | """ 5 | Events Events 6 | 7 | No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 8 | 9 | The version of the OpenAPI document: v3 10 | Generated by: https://openapi-generator.tech 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | # import models into model package 17 | from hubspot.events.models.collection_response_external_unified_event import CollectionResponseExternalUnifiedEvent 18 | from hubspot.events.models.error import Error 19 | from hubspot.events.models.error_detail import ErrorDetail 20 | from hubspot.events.models.external_unified_event import ExternalUnifiedEvent 21 | from hubspot.events.models.next_page import NextPage 22 | from hubspot.events.models.paging import Paging 23 | from hubspot.events.models.previous_page import PreviousPage 24 | from hubspot.events.models.visible_external_event_type_names import VisibleExternalEventTypeNames 25 | -------------------------------------------------------------------------------- /hubspot/events/send/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | 5 | """ 6 | Events Send Event Completions 7 | 8 | No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 9 | 10 | The version of the OpenAPI document: v3 11 | Generated by: https://openapi-generator.tech 12 | """ 13 | 14 | 15 | from __future__ import absolute_import 16 | 17 | __version__ = "1.0.0" 18 | 19 | # import apis into sdk package 20 | from hubspot.events.send.api.basic_api import BasicApi 21 | from hubspot.events.send.api.batch_api import BatchApi 22 | 23 | # import ApiClient 24 | from hubspot.events.send.api_client import ApiClient 25 | from hubspot.events.send.configuration import Configuration 26 | from hubspot.events.send.exceptions import OpenApiException 27 | from hubspot.events.send.exceptions import ApiTypeError 28 | from hubspot.events.send.exceptions import ApiValueError 29 | from hubspot.events.send.exceptions import ApiKeyError 30 | from hubspot.events.send.exceptions import ApiAttributeError 31 | from hubspot.events.send.exceptions import ApiException 32 | 33 | # import models into sdk package 34 | from hubspot.events.send.models.batched_behavioral_event_http_completion_request import BatchedBehavioralEventHttpCompletionRequest 35 | from hubspot.events.send.models.behavioral_event_http_completion_request import BehavioralEventHttpCompletionRequest 36 | from hubspot.events.send.models.error import Error 37 | from hubspot.events.send.models.error_detail import ErrorDetail 38 | -------------------------------------------------------------------------------- /hubspot/events/send/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.events.send.api.basic_api import BasicApi 7 | from hubspot.events.send.api.batch_api import BatchApi 8 | -------------------------------------------------------------------------------- /hubspot/events/send/models/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | """ 5 | Events Send Event Completions 6 | 7 | No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 8 | 9 | The version of the OpenAPI document: v3 10 | Generated by: https://openapi-generator.tech 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | # import models into model package 17 | from hubspot.events.send.models.batched_behavioral_event_http_completion_request import BatchedBehavioralEventHttpCompletionRequest 18 | from hubspot.events.send.models.behavioral_event_http_completion_request import BehavioralEventHttpCompletionRequest 19 | from hubspot.events.send.models.error import Error 20 | from hubspot.events.send.models.error_detail import ErrorDetail 21 | -------------------------------------------------------------------------------- /hubspot/exceptions.py: -------------------------------------------------------------------------------- 1 | class InvalidSignatureVersionError(Exception): 2 | def __init__( 3 | self, signature_version 4 | ): 5 | super().__init__(f"Invalid signature version passed to request: {signature_version}") 6 | 7 | 8 | class InvalidSignatureTimestampError(Exception): 9 | def __init__( 10 | self, timestamp 11 | ): 12 | self.timestamp = timestamp 13 | super().__init__( 14 | f"Signature timestamp is invalid: {timestamp}." 15 | ) 16 | -------------------------------------------------------------------------------- /hubspot/files/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | 5 | """ 6 | Files 7 | 8 | Upload and manage files. # noqa: E501 9 | 10 | The version of the OpenAPI document: v3 11 | Generated by: https://openapi-generator.tech 12 | """ 13 | 14 | 15 | from __future__ import absolute_import 16 | 17 | __version__ = "1.0.0" 18 | 19 | # import apis into sdk package 20 | from hubspot.files.api.files_api import FilesApi 21 | from hubspot.files.api.folders_api import FoldersApi 22 | 23 | # import ApiClient 24 | from hubspot.files.api_client import ApiClient 25 | from hubspot.files.configuration import Configuration 26 | from hubspot.files.exceptions import OpenApiException 27 | from hubspot.files.exceptions import ApiTypeError 28 | from hubspot.files.exceptions import ApiValueError 29 | from hubspot.files.exceptions import ApiKeyError 30 | from hubspot.files.exceptions import ApiAttributeError 31 | from hubspot.files.exceptions import ApiException 32 | 33 | # import models into sdk package 34 | from hubspot.files.models.collection_response_file import CollectionResponseFile 35 | from hubspot.files.models.collection_response_folder import CollectionResponseFolder 36 | from hubspot.files.models.error import Error 37 | from hubspot.files.models.error_detail import ErrorDetail 38 | from hubspot.files.models.file import File 39 | from hubspot.files.models.file_action_response import FileActionResponse 40 | from hubspot.files.models.file_stat import FileStat 41 | from hubspot.files.models.file_update_input import FileUpdateInput 42 | from hubspot.files.models.folder import Folder 43 | from hubspot.files.models.folder_action_response import FolderActionResponse 44 | from hubspot.files.models.folder_input import FolderInput 45 | from hubspot.files.models.folder_update_input import FolderUpdateInput 46 | from hubspot.files.models.folder_update_input_with_id import FolderUpdateInputWithId 47 | from hubspot.files.models.folder_update_task_locator import FolderUpdateTaskLocator 48 | from hubspot.files.models.import_from_url_input import ImportFromUrlInput 49 | from hubspot.files.models.import_from_url_task_locator import ImportFromUrlTaskLocator 50 | from hubspot.files.models.next_page import NextPage 51 | from hubspot.files.models.paging import Paging 52 | from hubspot.files.models.previous_page import PreviousPage 53 | from hubspot.files.models.signed_url import SignedUrl 54 | from hubspot.files.models.standard_error import StandardError 55 | -------------------------------------------------------------------------------- /hubspot/files/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.files.api.files_api import FilesApi 7 | from hubspot.files.api.folders_api import FoldersApi 8 | -------------------------------------------------------------------------------- /hubspot/files/models/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | """ 5 | Files 6 | 7 | Upload and manage files. # noqa: E501 8 | 9 | The version of the OpenAPI document: v3 10 | Generated by: https://openapi-generator.tech 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | # import models into model package 17 | from hubspot.files.models.collection_response_file import CollectionResponseFile 18 | from hubspot.files.models.collection_response_folder import CollectionResponseFolder 19 | from hubspot.files.models.error import Error 20 | from hubspot.files.models.error_detail import ErrorDetail 21 | from hubspot.files.models.file import File 22 | from hubspot.files.models.file_action_response import FileActionResponse 23 | from hubspot.files.models.file_stat import FileStat 24 | from hubspot.files.models.file_update_input import FileUpdateInput 25 | from hubspot.files.models.folder import Folder 26 | from hubspot.files.models.folder_action_response import FolderActionResponse 27 | from hubspot.files.models.folder_input import FolderInput 28 | from hubspot.files.models.folder_update_input import FolderUpdateInput 29 | from hubspot.files.models.folder_update_input_with_id import FolderUpdateInputWithId 30 | from hubspot.files.models.folder_update_task_locator import FolderUpdateTaskLocator 31 | from hubspot.files.models.import_from_url_input import ImportFromUrlInput 32 | from hubspot.files.models.import_from_url_task_locator import ImportFromUrlTaskLocator 33 | from hubspot.files.models.next_page import NextPage 34 | from hubspot.files.models.paging import Paging 35 | from hubspot.files.models.previous_page import PreviousPage 36 | from hubspot.files.models.signed_url import SignedUrl 37 | from hubspot.files.models.standard_error import StandardError 38 | -------------------------------------------------------------------------------- /hubspot/hubspot.py: -------------------------------------------------------------------------------- 1 | from .client import Client 2 | 3 | 4 | class HubSpot(Client): 5 | pass 6 | -------------------------------------------------------------------------------- /hubspot/marketing/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/marketing/__init__.py -------------------------------------------------------------------------------- /hubspot/marketing/emails/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.marketing.emails.api.marketing_emails_api import MarketingEmailsApi 7 | from hubspot.marketing.emails.api.statistics_api import StatisticsApi 8 | -------------------------------------------------------------------------------- /hubspot/marketing/events/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.marketing.events.api.add_event_attendees_api import AddEventAttendeesApi 7 | from hubspot.marketing.events.api.basic_api import BasicApi 8 | from hubspot.marketing.events.api.batch_api import BatchApi 9 | from hubspot.marketing.events.api.change_property_api import ChangePropertyApi 10 | from hubspot.marketing.events.api.identifiers_api import IdentifiersApi 11 | from hubspot.marketing.events.api.list_associations_api import ListAssociationsApi 12 | from hubspot.marketing.events.api.retrieve_participant_state_api import RetrieveParticipantStateApi 13 | from hubspot.marketing.events.api.settings_api import SettingsApi 14 | from hubspot.marketing.events.api.subscriber_state_changes_api import SubscriberStateChangesApi 15 | -------------------------------------------------------------------------------- /hubspot/marketing/forms/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.marketing.forms.api.forms_api import FormsApi 7 | -------------------------------------------------------------------------------- /hubspot/marketing/transactional/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | 5 | """ 6 | Transactional Single Send 7 | 8 | No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 9 | 10 | The version of the OpenAPI document: v3 11 | Generated by: https://openapi-generator.tech 12 | """ 13 | 14 | 15 | from __future__ import absolute_import 16 | 17 | __version__ = "1.0.0" 18 | 19 | # import apis into sdk package 20 | from hubspot.marketing.transactional.api.public_smtp_tokens_api import PublicSMTPTokensApi 21 | from hubspot.marketing.transactional.api.single_send_api import SingleSendApi 22 | 23 | # import ApiClient 24 | from hubspot.marketing.transactional.api_client import ApiClient 25 | from hubspot.marketing.transactional.configuration import Configuration 26 | from hubspot.marketing.transactional.exceptions import OpenApiException 27 | from hubspot.marketing.transactional.exceptions import ApiTypeError 28 | from hubspot.marketing.transactional.exceptions import ApiValueError 29 | from hubspot.marketing.transactional.exceptions import ApiKeyError 30 | from hubspot.marketing.transactional.exceptions import ApiAttributeError 31 | from hubspot.marketing.transactional.exceptions import ApiException 32 | 33 | # import models into sdk package 34 | from hubspot.marketing.transactional.models.collection_response_smtp_api_token_view_forward_paging import CollectionResponseSmtpApiTokenViewForwardPaging 35 | from hubspot.marketing.transactional.models.email_send_status_view import EmailSendStatusView 36 | from hubspot.marketing.transactional.models.error import Error 37 | from hubspot.marketing.transactional.models.error_detail import ErrorDetail 38 | from hubspot.marketing.transactional.models.event_id_view import EventIdView 39 | from hubspot.marketing.transactional.models.forward_paging import ForwardPaging 40 | from hubspot.marketing.transactional.models.next_page import NextPage 41 | from hubspot.marketing.transactional.models.public_single_send_email import PublicSingleSendEmail 42 | from hubspot.marketing.transactional.models.public_single_send_request_egg import PublicSingleSendRequestEgg 43 | from hubspot.marketing.transactional.models.smtp_api_token_request_egg import SmtpApiTokenRequestEgg 44 | from hubspot.marketing.transactional.models.smtp_api_token_view import SmtpApiTokenView 45 | -------------------------------------------------------------------------------- /hubspot/marketing/transactional/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.marketing.transactional.api.public_smtp_tokens_api import PublicSMTPTokensApi 7 | from hubspot.marketing.transactional.api.single_send_api import SingleSendApi 8 | -------------------------------------------------------------------------------- /hubspot/marketing/transactional/models/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | """ 5 | Transactional Single Send 6 | 7 | No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 8 | 9 | The version of the OpenAPI document: v3 10 | Generated by: https://openapi-generator.tech 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | # import models into model package 17 | from hubspot.marketing.transactional.models.collection_response_smtp_api_token_view_forward_paging import CollectionResponseSmtpApiTokenViewForwardPaging 18 | from hubspot.marketing.transactional.models.email_send_status_view import EmailSendStatusView 19 | from hubspot.marketing.transactional.models.error import Error 20 | from hubspot.marketing.transactional.models.error_detail import ErrorDetail 21 | from hubspot.marketing.transactional.models.event_id_view import EventIdView 22 | from hubspot.marketing.transactional.models.forward_paging import ForwardPaging 23 | from hubspot.marketing.transactional.models.next_page import NextPage 24 | from hubspot.marketing.transactional.models.public_single_send_email import PublicSingleSendEmail 25 | from hubspot.marketing.transactional.models.public_single_send_request_egg import PublicSingleSendRequestEgg 26 | from hubspot.marketing.transactional.models.smtp_api_token_request_egg import SmtpApiTokenRequestEgg 27 | from hubspot.marketing.transactional.models.smtp_api_token_view import SmtpApiTokenView 28 | -------------------------------------------------------------------------------- /hubspot/oauth/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | 5 | """ 6 | Auth Oauth 7 | 8 | No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 9 | 10 | The version of the OpenAPI document: v1 11 | Generated by: https://openapi-generator.tech 12 | """ 13 | 14 | 15 | from __future__ import absolute_import 16 | 17 | __version__ = "1.0.0" 18 | 19 | # import apis into sdk package 20 | from hubspot.oauth.api.access_tokens_api import AccessTokensApi 21 | from hubspot.oauth.api.refresh_tokens_api import RefreshTokensApi 22 | from hubspot.oauth.api.tokens_api import TokensApi 23 | 24 | # import ApiClient 25 | from hubspot.oauth.api_client import ApiClient 26 | from hubspot.oauth.configuration import Configuration 27 | from hubspot.oauth.exceptions import OpenApiException 28 | from hubspot.oauth.exceptions import ApiTypeError 29 | from hubspot.oauth.exceptions import ApiValueError 30 | from hubspot.oauth.exceptions import ApiKeyError 31 | from hubspot.oauth.exceptions import ApiAttributeError 32 | from hubspot.oauth.exceptions import ApiException 33 | 34 | # import models into sdk package 35 | from hubspot.oauth.models.access_token_info_response import AccessTokenInfoResponse 36 | from hubspot.oauth.models.error import Error 37 | from hubspot.oauth.models.error_detail import ErrorDetail 38 | from hubspot.oauth.models.refresh_token_info_response import RefreshTokenInfoResponse 39 | from hubspot.oauth.models.token_response_if import TokenResponseIF 40 | -------------------------------------------------------------------------------- /hubspot/oauth/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.oauth.api.access_tokens_api import AccessTokensApi 7 | from hubspot.oauth.api.refresh_tokens_api import RefreshTokensApi 8 | from hubspot.oauth.api.tokens_api import TokensApi 9 | -------------------------------------------------------------------------------- /hubspot/oauth/models/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | """ 5 | Auth Oauth 6 | 7 | No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 8 | 9 | The version of the OpenAPI document: v1 10 | Generated by: https://openapi-generator.tech 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | # import models into model package 17 | from hubspot.oauth.models.access_token_info_response import AccessTokenInfoResponse 18 | from hubspot.oauth.models.error import Error 19 | from hubspot.oauth.models.error_detail import ErrorDetail 20 | from hubspot.oauth.models.refresh_token_info_response import RefreshTokenInfoResponse 21 | from hubspot.oauth.models.token_response_if import TokenResponseIF 22 | -------------------------------------------------------------------------------- /hubspot/settings/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/settings/__init__.py -------------------------------------------------------------------------------- /hubspot/settings/business_units/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | 5 | """ 6 | Business Units 7 | 8 | Retrieve Business Unit information. # noqa: E501 9 | 10 | The version of the OpenAPI document: v3 11 | Generated by: https://openapi-generator.tech 12 | """ 13 | 14 | 15 | from __future__ import absolute_import 16 | 17 | __version__ = "1.0.0" 18 | 19 | # import apis into sdk package 20 | from hubspot.settings.business_units.api.business_unit_api import BusinessUnitApi 21 | 22 | # import ApiClient 23 | from hubspot.settings.business_units.api_client import ApiClient 24 | from hubspot.settings.business_units.configuration import Configuration 25 | from hubspot.settings.business_units.exceptions import OpenApiException 26 | from hubspot.settings.business_units.exceptions import ApiTypeError 27 | from hubspot.settings.business_units.exceptions import ApiValueError 28 | from hubspot.settings.business_units.exceptions import ApiKeyError 29 | from hubspot.settings.business_units.exceptions import ApiAttributeError 30 | from hubspot.settings.business_units.exceptions import ApiException 31 | 32 | # import models into sdk package 33 | from hubspot.settings.business_units.models.collection_response_public_business_unit_no_paging import CollectionResponsePublicBusinessUnitNoPaging 34 | from hubspot.settings.business_units.models.error import Error 35 | from hubspot.settings.business_units.models.error_detail import ErrorDetail 36 | from hubspot.settings.business_units.models.public_business_unit import PublicBusinessUnit 37 | from hubspot.settings.business_units.models.public_business_unit_logo_metadata import PublicBusinessUnitLogoMetadata 38 | -------------------------------------------------------------------------------- /hubspot/settings/business_units/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.settings.business_units.api.business_unit_api import BusinessUnitApi 7 | -------------------------------------------------------------------------------- /hubspot/settings/business_units/models/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | """ 5 | Business Units 6 | 7 | Retrieve Business Unit information. # noqa: E501 8 | 9 | The version of the OpenAPI document: v3 10 | Generated by: https://openapi-generator.tech 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | # import models into model package 17 | from hubspot.settings.business_units.models.collection_response_public_business_unit_no_paging import CollectionResponsePublicBusinessUnitNoPaging 18 | from hubspot.settings.business_units.models.error import Error 19 | from hubspot.settings.business_units.models.error_detail import ErrorDetail 20 | from hubspot.settings.business_units.models.public_business_unit import PublicBusinessUnit 21 | from hubspot.settings.business_units.models.public_business_unit_logo_metadata import PublicBusinessUnitLogoMetadata 22 | -------------------------------------------------------------------------------- /hubspot/settings/users/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | 5 | """ 6 | Settings User Provisioning 7 | 8 | Add, manage, and remove users from your account # noqa: E501 9 | 10 | The version of the OpenAPI document: v3 11 | Generated by: https://openapi-generator.tech 12 | """ 13 | 14 | 15 | from __future__ import absolute_import 16 | 17 | __version__ = "1.0.0" 18 | 19 | # import apis into sdk package 20 | from hubspot.settings.users.api.roles_api import RolesApi 21 | from hubspot.settings.users.api.teams_api import TeamsApi 22 | from hubspot.settings.users.api.users_api import UsersApi 23 | 24 | # import ApiClient 25 | from hubspot.settings.users.api_client import ApiClient 26 | from hubspot.settings.users.configuration import Configuration 27 | from hubspot.settings.users.exceptions import OpenApiException 28 | from hubspot.settings.users.exceptions import ApiTypeError 29 | from hubspot.settings.users.exceptions import ApiValueError 30 | from hubspot.settings.users.exceptions import ApiKeyError 31 | from hubspot.settings.users.exceptions import ApiAttributeError 32 | from hubspot.settings.users.exceptions import ApiException 33 | 34 | # import models into sdk package 35 | from hubspot.settings.users.models.collection_response_public_permission_set_no_paging import CollectionResponsePublicPermissionSetNoPaging 36 | from hubspot.settings.users.models.collection_response_public_team_no_paging import CollectionResponsePublicTeamNoPaging 37 | from hubspot.settings.users.models.collection_response_public_user_forward_paging import CollectionResponsePublicUserForwardPaging 38 | from hubspot.settings.users.models.error import Error 39 | from hubspot.settings.users.models.error_detail import ErrorDetail 40 | from hubspot.settings.users.models.forward_paging import ForwardPaging 41 | from hubspot.settings.users.models.next_page import NextPage 42 | from hubspot.settings.users.models.public_permission_set import PublicPermissionSet 43 | from hubspot.settings.users.models.public_team import PublicTeam 44 | from hubspot.settings.users.models.public_user import PublicUser 45 | from hubspot.settings.users.models.public_user_update import PublicUserUpdate 46 | from hubspot.settings.users.models.user_provision_request import UserProvisionRequest 47 | -------------------------------------------------------------------------------- /hubspot/settings/users/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.settings.users.api.roles_api import RolesApi 7 | from hubspot.settings.users.api.teams_api import TeamsApi 8 | from hubspot.settings.users.api.users_api import UsersApi 9 | -------------------------------------------------------------------------------- /hubspot/settings/users/models/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | """ 5 | Settings User Provisioning 6 | 7 | Add, manage, and remove users from your account # noqa: E501 8 | 9 | The version of the OpenAPI document: v3 10 | Generated by: https://openapi-generator.tech 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | # import models into model package 17 | from hubspot.settings.users.models.collection_response_public_permission_set_no_paging import CollectionResponsePublicPermissionSetNoPaging 18 | from hubspot.settings.users.models.collection_response_public_team_no_paging import CollectionResponsePublicTeamNoPaging 19 | from hubspot.settings.users.models.collection_response_public_user_forward_paging import CollectionResponsePublicUserForwardPaging 20 | from hubspot.settings.users.models.error import Error 21 | from hubspot.settings.users.models.error_detail import ErrorDetail 22 | from hubspot.settings.users.models.forward_paging import ForwardPaging 23 | from hubspot.settings.users.models.next_page import NextPage 24 | from hubspot.settings.users.models.public_permission_set import PublicPermissionSet 25 | from hubspot.settings.users.models.public_team import PublicTeam 26 | from hubspot.settings.users.models.public_user import PublicUser 27 | from hubspot.settings.users.models.public_user_update import PublicUserUpdate 28 | from hubspot.settings.users.models.user_provision_request import UserProvisionRequest 29 | -------------------------------------------------------------------------------- /hubspot/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/utils/__init__.py -------------------------------------------------------------------------------- /hubspot/utils/oauth.py: -------------------------------------------------------------------------------- 1 | import urllib 2 | 3 | AUTHORIZE_URL = "https://app.hubspot.com/oauth/authorize" 4 | 5 | 6 | def get_auth_url( 7 | client_id: str, 8 | redirect_uri: str, 9 | scope: tuple = None, 10 | optional_scope: tuple = None, 11 | state: str = None 12 | ) -> str: 13 | query_params = { 14 | "client_id": client_id, 15 | "redirect_uri": redirect_uri 16 | } 17 | 18 | if scope: 19 | query_params["scope"] = " ".join(scope) 20 | if optional_scope: 21 | query_params["optional_scope"] = " ".join(optional_scope) 22 | if state: 23 | query_params.setdefault("state", state) 24 | 25 | params = urllib.parse.urlencode( 26 | query_params, 27 | safe='', 28 | quote_via=urllib.parse.quote, 29 | ) 30 | 31 | return f"{AUTHORIZE_URL}?{params}" 32 | -------------------------------------------------------------------------------- /hubspot/utils/objects.py: -------------------------------------------------------------------------------- 1 | PAGE_MAX_SIZE = 100 2 | PROPERTY_HISTORY_MAX_SIZE = 50 3 | 4 | 5 | def fetch_all(get_page_api_client, **kwargs): 6 | results = [] 7 | after = None 8 | 9 | max_page_size = PROPERTY_HISTORY_MAX_SIZE if "properties_with_history" in kwargs else PAGE_MAX_SIZE 10 | limit = kwargs.pop("limit", None) 11 | total_fetched = 0 12 | 13 | while True: 14 | limit_for_current_page = min(max_page_size, limit - total_fetched) if limit else max_page_size 15 | page = get_page_api_client.get_page(after=after, limit=limit_for_current_page, **kwargs) 16 | 17 | results.extend(page.results) 18 | total_fetched += len(page.results) 19 | 20 | if limit and total_fetched >= limit: 21 | break 22 | 23 | if page.paging is None or page.paging.next is None: 24 | break 25 | 26 | after = page.paging.next.after 27 | 28 | return results 29 | -------------------------------------------------------------------------------- /hubspot/utils/requests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HubSpot/hubspot-api-python/d1eff4b5846f8a4c7cdbc96a2c72930b8d96bb80/hubspot/utils/requests/__init__.py -------------------------------------------------------------------------------- /hubspot/utils/requests/http_auth.py: -------------------------------------------------------------------------------- 1 | class Auth: 2 | @staticmethod 3 | def get_auth_types() -> list: 4 | return ["access_token", "api_key"] 5 | 6 | @staticmethod 7 | def _has_auth_value(source: dict, key: str) -> bool: 8 | return bool(source.get(key)) 9 | 10 | @staticmethod 11 | def choose_auth(config: dict, options: dict) -> dict: 12 | auth_types = Auth.get_auth_types() 13 | auth_type = options.get("auth_type") 14 | 15 | if auth_type in auth_types and Auth._has_auth_value(config, auth_type): 16 | return {"auth_type": auth_type} 17 | 18 | else: 19 | for key in auth_types: 20 | if key in config and Auth._has_auth_value(config, key): 21 | return {"auth_type": key} 22 | 23 | return {"auth_type": None} 24 | 25 | -------------------------------------------------------------------------------- /hubspot/webhooks/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from hubspot.webhooks.api.settings_api import SettingsApi 7 | from hubspot.webhooks.api.subscriptions_api import SubscriptionsApi 8 | -------------------------------------------------------------------------------- /hubspot/webhooks/models/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | """ 5 | Webhooks Webhooks 6 | 7 | Provides a way for apps to subscribe to certain change events in HubSpot. Once configured, apps will receive event payloads containing details about the changes at a specified target URL. There can only be one target URL for receiving event notifications per app. # noqa: E501 8 | 9 | The version of the OpenAPI document: v3 10 | Generated by: https://openapi-generator.tech 11 | """ 12 | 13 | 14 | from __future__ import absolute_import 15 | 16 | # import models into model package 17 | from hubspot.webhooks.models.batch_input_subscription_batch_update_request import BatchInputSubscriptionBatchUpdateRequest 18 | from hubspot.webhooks.models.batch_response_subscription_response import BatchResponseSubscriptionResponse 19 | from hubspot.webhooks.models.batch_response_subscription_response_with_errors import BatchResponseSubscriptionResponseWithErrors 20 | from hubspot.webhooks.models.error import Error 21 | from hubspot.webhooks.models.error_detail import ErrorDetail 22 | from hubspot.webhooks.models.settings_change_request import SettingsChangeRequest 23 | from hubspot.webhooks.models.settings_response import SettingsResponse 24 | from hubspot.webhooks.models.standard_error import StandardError 25 | from hubspot.webhooks.models.subscription_batch_update_request import SubscriptionBatchUpdateRequest 26 | from hubspot.webhooks.models.subscription_create_request import SubscriptionCreateRequest 27 | from hubspot.webhooks.models.subscription_list_response import SubscriptionListResponse 28 | from hubspot.webhooks.models.subscription_patch_request import SubscriptionPatchRequest 29 | from hubspot.webhooks.models.subscription_response import SubscriptionResponse 30 | from hubspot.webhooks.models.throttling_settings import ThrottlingSettings 31 | -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Contacts 5 | 6 | No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 7 | 8 | The version of the OpenAPI document: v3 9 | Generated by: https://openapi-generator.tech 10 | """ 11 | 12 | 13 | from os.path import dirname, abspath, exists 14 | from setuptools import setup, find_packages # noqa: H301 15 | 16 | 17 | NAME = "hubspot-api-client" 18 | 19 | # To install the library, run the following 20 | # 21 | # python setup.py install 22 | # 23 | # prerequisite: setuptools 24 | # http://pypi.python.org/pypi/setuptools 25 | 26 | REQUIRES = [ 27 | "requests >= 2.31.0", 28 | "urllib3 >= 1.15, < 3.0", 29 | "six >= 1.10, < 2.0", 30 | "certifi >= 2023.1.1", 31 | "python-dateutil >= 2.8.2", 32 | "importlib-metadata<5; python_version<'3.8'" 33 | ] 34 | DEV_REQUIRES = ["pytest", "black"] 35 | 36 | DIR_PATH = dirname(abspath(__file__)) 37 | 38 | with open(DIR_PATH + "/VERSION", "r", encoding="utf-8") as f: 39 | VERSION = f.readline().strip() 40 | 41 | LONG_DESCRIPTION = None 42 | if exists(DIR_PATH + "/README.md"): 43 | with open(DIR_PATH + "/README.md", "r", encoding="utf-8") as f: 44 | LONG_DESCRIPTION = f.read() 45 | 46 | setup( 47 | name=NAME, 48 | packages=find_packages(), 49 | version=VERSION, 50 | description="HubSpot API client", 51 | long_description=LONG_DESCRIPTION, 52 | long_description_content_type="text/markdown", 53 | url="https://github.com/HubSpot/hubspot-api-python", 54 | author="HubSpot", 55 | author_email="support@hubspot.com", 56 | install_requires=REQUIRES, 57 | extras_require={"dev": DEV_REQUIRES}, 58 | python_requires=">=3.7", 59 | include_package_data=True, 60 | license='Apache-2.0', 61 | ) 62 | -------------------------------------------------------------------------------- /tests/integration/conftest.py: -------------------------------------------------------------------------------- 1 | import hubspot 2 | import pytest 3 | import os 4 | 5 | 6 | @pytest.fixture 7 | def api_client(): 8 | client = hubspot.Client.create(access_token=os.getenv("HUBSPOT_ACCESS_TOKEN")) 9 | 10 | return client 11 | 12 | 13 | @pytest.fixture 14 | def api_client_by_api_key(): 15 | client = hubspot.Client.create(api_key=os.getenv("HUBSPOT_DEVELOPER_API_KEY")) 16 | 17 | return client 18 | -------------------------------------------------------------------------------- /tests/integration/test_webhooks.py: -------------------------------------------------------------------------------- 1 | import os 2 | 3 | from hubspot.webhooks import SettingsChangeRequest 4 | 5 | 6 | APP_ID = os.getenv("HUBSPOT_APP_ID") 7 | 8 | 9 | def test_webhooks__get_all(api_client_by_api_key): 10 | result = api_client_by_api_key.webhooks.settings_api.get_all(app_id=APP_ID) 11 | 12 | assert result 13 | 14 | 15 | def test_webhooks__configure(api_client_by_api_key): 16 | throttling = { 17 | "maxConcurrentRequests": 10, 18 | "period": "SECONDLY" 19 | } 20 | settings_change_request = SettingsChangeRequest( 21 | target_url="https://www.test.com/test/target", 22 | throttling=throttling 23 | ) 24 | 25 | result = api_client_by_api_key.webhooks.settings_api.configure( 26 | app_id=APP_ID, 27 | settings_change_request=settings_change_request 28 | ) 29 | 30 | assert result 31 | 32 | 33 | def test_webhooks_subscriptions__get_all(api_client_by_api_key): 34 | result = api_client_by_api_key.webhooks.subscriptions_api.get_all(app_id=APP_ID) 35 | 36 | assert result 37 | -------------------------------------------------------------------------------- /tests/spec/automation/actions/test_actions.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.automation.actions import ( 3 | CallbacksApi, 4 | DefinitionsApi, 5 | FunctionsApi, 6 | RevisionsApi, 7 | ) 8 | 9 | 10 | def test_is_discoverable(): 11 | apis = HubSpot().automation.actions 12 | assert isinstance(apis.callbacks_api, CallbacksApi) 13 | assert isinstance(apis.definitions_api, DefinitionsApi) 14 | assert isinstance(apis.functions_api, FunctionsApi) 15 | assert isinstance(apis.revisions_api, RevisionsApi) 16 | -------------------------------------------------------------------------------- /tests/spec/automation/test_automation.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.discovery.automation.actions.discovery import Discovery 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().automation 7 | assert isinstance(apis.actions, Discovery) 8 | -------------------------------------------------------------------------------- /tests/spec/cms/blogs/authors/test_authors.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.cms.blogs.authors import BlogAuthorsApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().cms.blogs.authors 7 | assert isinstance(apis.author_api, BlogAuthorsApi) 8 | -------------------------------------------------------------------------------- /tests/spec/cms/blogs/blog_posts/test_blog_posts.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.cms.blogs.blog_posts import BasicApi, BatchApi, MultiLanguageApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().cms.blogs.blog_posts 7 | assert isinstance(apis.basic_api, BasicApi) 8 | assert isinstance(apis.batch_api, BatchApi) 9 | assert isinstance(apis.multi_language_api, MultiLanguageApi) 10 | -------------------------------------------------------------------------------- /tests/spec/cms/blogs/tags/test_tags.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.cms.blogs.tags import BlogTagsApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().cms.blogs.tags 7 | assert isinstance(apis.tag_api, BlogTagsApi) 8 | -------------------------------------------------------------------------------- /tests/spec/cms/blogs/test_blogs.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.discovery.cms.blogs.discovery import Discovery 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().cms 7 | assert isinstance(apis.blogs, Discovery) 8 | -------------------------------------------------------------------------------- /tests/spec/cms/test_audit_logs.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.cms.audit_logs import AuditLogsApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().cms.audit_logs 7 | assert isinstance(apis.audit_logs_api, AuditLogsApi) 8 | -------------------------------------------------------------------------------- /tests/spec/cms/test_domains.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.cms.domains import DomainsApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().cms.domains 7 | assert isinstance(apis.domains_api, DomainsApi) 8 | -------------------------------------------------------------------------------- /tests/spec/cms/test_hubdb.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.cms.hubdb import RowsApi, RowsBatchApi, TablesApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().cms.hubdb 7 | assert isinstance(apis.rows_api, RowsApi) 8 | assert isinstance(apis.rows_batch_api, RowsBatchApi) 9 | assert isinstance(apis.tables_api, TablesApi) 10 | -------------------------------------------------------------------------------- /tests/spec/cms/test_pages.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.cms.pages import LandingPagesApi, SitePagesApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().cms.pages 7 | assert isinstance(apis.landing_pages_api, LandingPagesApi) 8 | assert isinstance(apis.site_pages_api, SitePagesApi) 9 | -------------------------------------------------------------------------------- /tests/spec/cms/test_site_search.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.cms.site_search import PublicApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().cms.site_search 7 | assert isinstance(apis.public_api, PublicApi) 8 | -------------------------------------------------------------------------------- /tests/spec/cms/test_source_code.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.cms.source_code import ContentApi, ExtractApi, MetadataApi, ValidationApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().cms.source_code 7 | assert isinstance(apis.content_api, ContentApi) 8 | assert isinstance(apis.extract_api, ExtractApi) 9 | assert isinstance(apis.metadata_api, MetadataApi) 10 | assert isinstance(apis.validation_api, ValidationApi) 11 | -------------------------------------------------------------------------------- /tests/spec/cms/test_url_redirects.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.cms.url_redirects import RedirectsApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().cms.url_redirects 7 | assert isinstance(apis.redirects_api, RedirectsApi) 8 | -------------------------------------------------------------------------------- /tests/spec/communication_preferences/test_communication_preferences.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.communication_preferences import DefinitionApi, StatusApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().communication_preferences 7 | assert isinstance(apis.definition_api, DefinitionApi) 8 | assert isinstance(apis.status_api, StatusApi) 9 | -------------------------------------------------------------------------------- /tests/spec/conversations/test_visitor_identification.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.conversations.visitor_identification import GenerateApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().conversations.visitor_identification 7 | assert isinstance(apis.generate_api, GenerateApi) 8 | -------------------------------------------------------------------------------- /tests/spec/crm/associations/schema/test_associations_schema.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.crm.associations.schema import TypesApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().crm.associations.schema 7 | assert isinstance(apis.types_api, TypesApi) 8 | -------------------------------------------------------------------------------- /tests/spec/crm/associations/test_associations.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.crm.associations import BatchApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().crm.associations 7 | assert isinstance(apis.batch_api, BatchApi) 8 | assert hasattr(apis, "v4") 9 | assert hasattr(apis, "schema") 10 | -------------------------------------------------------------------------------- /tests/spec/crm/associations/v4/schema/test_v4_associations_schema.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.crm.associations.v4.schema import DefinitionsApi, DefinitionConfigurationsApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().crm.associations.v4.schema 7 | assert isinstance(apis.definitions_api, DefinitionsApi) 8 | assert isinstance(apis.definition_configurations_api, DefinitionConfigurationsApi) 9 | -------------------------------------------------------------------------------- /tests/spec/crm/associations/v4/test_v4_associations.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.crm.associations.v4 import BatchApi, BasicApi, ReportApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().crm.associations.v4 7 | assert isinstance(apis.basic_api, BasicApi) 8 | assert isinstance(apis.batch_api, BatchApi) 9 | assert isinstance(apis.report_api, ReportApi) 10 | assert hasattr(apis, "schema") 11 | -------------------------------------------------------------------------------- /tests/spec/crm/commerce/test_invoices.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.crm.commerce.invoices import BasicApi, BatchApi, SearchApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().crm.commerce.invoices 7 | assert isinstance(apis.basic_api, BasicApi) 8 | assert isinstance(apis.batch_api, BatchApi) 9 | assert isinstance(apis.search_api, SearchApi) 10 | assert hasattr(apis, "get_all") 11 | -------------------------------------------------------------------------------- /tests/spec/crm/extensions/test_calling.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.crm.extensions.calling import ChannelConnectionSettingsApi, SettingsApi, RecordingSettingsApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().crm.extensions.calling 7 | assert isinstance(apis.channel_connection_settings_api, ChannelConnectionSettingsApi) 8 | assert isinstance(apis.settings_api, SettingsApi) 9 | assert isinstance(apis.recording_settings_api, RecordingSettingsApi) 10 | -------------------------------------------------------------------------------- /tests/spec/crm/extensions/test_cards.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.crm.extensions.cards import CardsApi, SampleResponseApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().crm.extensions.cards 7 | assert isinstance(apis.cards_api, CardsApi) 8 | assert isinstance(apis.sample_response_api, SampleResponseApi) 9 | -------------------------------------------------------------------------------- /tests/spec/crm/extensions/test_videoconferencing.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.crm.extensions.videoconferencing import SettingsApi 3 | 4 | def test_is_discoverable(): 5 | apis = HubSpot().crm.extensions.videoconferencing 6 | assert isinstance(apis.settings_api, SettingsApi) 7 | -------------------------------------------------------------------------------- /tests/spec/crm/objects/test_calls.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.crm.objects.calls import BasicApi, BatchApi, SearchApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().crm.objects.calls 7 | assert isinstance(apis.basic_api, BasicApi) 8 | assert isinstance(apis.batch_api, BatchApi) 9 | assert isinstance(apis.search_api, SearchApi) 10 | -------------------------------------------------------------------------------- /tests/spec/crm/objects/test_communications.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.crm.objects.communications import BasicApi, BatchApi, SearchApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().crm.objects.communications 7 | assert isinstance(apis.basic_api, BasicApi) 8 | assert isinstance(apis.batch_api, BatchApi) 9 | assert isinstance(apis.search_api, SearchApi) 10 | -------------------------------------------------------------------------------- /tests/spec/crm/objects/test_deal_splits.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.crm.objects.deal_splits import BatchApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().crm.objects.deal_splits 7 | assert isinstance(apis.batch_api, BatchApi) 8 | -------------------------------------------------------------------------------- /tests/spec/crm/objects/test_emails.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.crm.objects.emails import BasicApi, BatchApi, SearchApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().crm.objects.emails 7 | assert isinstance(apis.basic_api, BasicApi) 8 | assert isinstance(apis.batch_api, BatchApi) 9 | assert isinstance(apis.search_api, SearchApi) 10 | -------------------------------------------------------------------------------- /tests/spec/crm/objects/test_feedback_submissions.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.crm.objects.feedback_submissions import BasicApi, BatchApi, SearchApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().crm.objects.feedback_submissions 7 | assert isinstance(apis.basic_api, BasicApi) 8 | assert isinstance(apis.batch_api, BatchApi) 9 | assert isinstance(apis.search_api, SearchApi) 10 | -------------------------------------------------------------------------------- /tests/spec/crm/objects/test_goals.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.crm.objects.goals import BasicApi, BatchApi, SearchApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().crm.objects.goals 7 | assert isinstance(apis.basic_api, BasicApi) 8 | assert isinstance(apis.batch_api, BatchApi) 9 | assert isinstance(apis.search_api, SearchApi) 10 | -------------------------------------------------------------------------------- /tests/spec/crm/objects/test_leads.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.crm.objects.leads import BasicApi, BatchApi, SearchApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().crm.objects.leads 7 | assert isinstance(apis.basic_api, BasicApi) 8 | assert isinstance(apis.batch_api, BatchApi) 9 | assert isinstance(apis.search_api, SearchApi) 10 | -------------------------------------------------------------------------------- /tests/spec/crm/objects/test_meetings.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.crm.objects.meetings import BasicApi, BatchApi, SearchApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().crm.objects.meetings 7 | assert isinstance(apis.basic_api, BasicApi) 8 | assert isinstance(apis.batch_api, BatchApi) 9 | assert isinstance(apis.search_api, SearchApi) 10 | -------------------------------------------------------------------------------- /tests/spec/crm/objects/test_notes.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.crm.objects.notes import BasicApi, BatchApi, SearchApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().crm.objects.notes 7 | assert isinstance(apis.basic_api, BasicApi) 8 | assert isinstance(apis.batch_api, BatchApi) 9 | assert isinstance(apis.search_api, SearchApi) 10 | -------------------------------------------------------------------------------- /tests/spec/crm/objects/test_postal_mail.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.crm.objects.postal_mail import BasicApi, BatchApi, SearchApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().crm.objects.postal_mail 7 | assert isinstance(apis.basic_api, BasicApi) 8 | assert isinstance(apis.batch_api, BatchApi) 9 | assert isinstance(apis.search_api, SearchApi) 10 | -------------------------------------------------------------------------------- /tests/spec/crm/objects/test_tasks.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.crm.objects.tasks import BasicApi, BatchApi, SearchApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().crm.objects.tasks 7 | assert isinstance(apis.basic_api, BasicApi) 8 | assert isinstance(apis.batch_api, BatchApi) 9 | assert isinstance(apis.search_api, SearchApi) 10 | -------------------------------------------------------------------------------- /tests/spec/crm/objects/test_taxes.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.crm.objects.taxes import BasicApi, BatchApi, SearchApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().crm.objects.taxes 7 | assert isinstance(apis.basic_api, BasicApi) 8 | assert isinstance(apis.batch_api, BatchApi) 9 | assert isinstance(apis.search_api, SearchApi) 10 | -------------------------------------------------------------------------------- /tests/spec/crm/test_association_type.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | from hubspot.crm import AssociationType 4 | 5 | 6 | @pytest.mark.parametrize("test_value", ["CONTACT_TO_DEAL", "COMPANY_TO_CONTACT"]) 7 | def test_has_association_type(test_value): 8 | assert hasattr(AssociationType, test_value) 9 | -------------------------------------------------------------------------------- /tests/spec/crm/test_companies.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.crm.companies import BasicApi, BatchApi, SearchApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().crm.companies 7 | assert isinstance(apis.basic_api, BasicApi) 8 | assert isinstance(apis.batch_api, BatchApi) 9 | assert isinstance(apis.search_api, SearchApi) 10 | assert hasattr(apis, "get_all") 11 | -------------------------------------------------------------------------------- /tests/spec/crm/test_contacts.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.crm.contacts import BasicApi, BatchApi, SearchApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().crm.contacts 7 | assert isinstance(apis.basic_api, BasicApi) 8 | assert isinstance(apis.batch_api, BatchApi) 9 | assert isinstance(apis.search_api, SearchApi) 10 | assert hasattr(apis, "get_all") 11 | -------------------------------------------------------------------------------- /tests/spec/crm/test_deals.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.crm.deals import BasicApi, BatchApi, SearchApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().crm.deals 7 | assert isinstance(apis.basic_api, BasicApi) 8 | assert isinstance(apis.batch_api, BatchApi) 9 | assert isinstance(apis.search_api, SearchApi) 10 | assert hasattr(apis, "get_all") 11 | -------------------------------------------------------------------------------- /tests/spec/crm/test_exports.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.crm.exports import PublicExportsApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().crm.exports 7 | assert isinstance(apis.public_exports_api, PublicExportsApi) 8 | -------------------------------------------------------------------------------- /tests/spec/crm/test_imports.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.crm.imports import CoreApi, PublicImportsApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().crm.imports 7 | assert isinstance(apis.core_api, CoreApi) 8 | assert isinstance(apis.public_imports_api, PublicImportsApi) 9 | -------------------------------------------------------------------------------- /tests/spec/crm/test_line_items.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.crm.line_items import BatchApi, BasicApi, SearchApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().crm.line_items 7 | assert isinstance(apis.basic_api, BasicApi) 8 | assert isinstance(apis.batch_api, BatchApi) 9 | assert isinstance(apis.search_api, SearchApi) 10 | -------------------------------------------------------------------------------- /tests/spec/crm/test_lists.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.crm.lists import FoldersApi, ListsApi, MappingApi, MembershipsApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().crm.lists 7 | assert isinstance(apis.folders_api, FoldersApi) 8 | assert isinstance(apis.lists_api, ListsApi) 9 | assert isinstance(apis.mapping_api, MappingApi) 10 | assert isinstance(apis.memberships_api, MembershipsApi) 11 | -------------------------------------------------------------------------------- /tests/spec/crm/test_object_type.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | from hubspot.crm import ObjectType 4 | 5 | 6 | @pytest.mark.parametrize("test_value", ["DEALS", "TICKETS", "CONTACTS", "COMPANIES"]) 7 | def test_has_object_type(test_value): 8 | assert hasattr(ObjectType, test_value) 9 | -------------------------------------------------------------------------------- /tests/spec/crm/test_objects.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.crm.objects import BasicApi, BatchApi, SearchApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().crm.objects 7 | assert isinstance(apis.basic_api, BasicApi) 8 | assert isinstance(apis.batch_api, BatchApi) 9 | assert isinstance(apis.search_api, SearchApi) 10 | -------------------------------------------------------------------------------- /tests/spec/crm/test_owners.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.crm.owners import OwnersApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().crm.owners 7 | assert isinstance(apis.owners_api, OwnersApi) 8 | assert hasattr(apis, "get_all") 9 | -------------------------------------------------------------------------------- /tests/spec/crm/test_pipelines.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.crm.pipelines import ( 3 | PipelinesApi, 4 | PipelineStagesApi, 5 | PipelineAuditsApi, 6 | PipelineStageAuditsApi 7 | ) 8 | 9 | 10 | def test_is_discoverable(): 11 | apis = HubSpot().crm.pipelines 12 | assert isinstance(apis.pipelines_api, PipelinesApi) 13 | assert isinstance(apis.pipeline_stages_api, PipelineStagesApi) 14 | assert isinstance(apis.pipeline_audits_api, PipelineAuditsApi) 15 | assert isinstance(apis.pipeline_stage_audits_api, PipelineStageAuditsApi) 16 | -------------------------------------------------------------------------------- /tests/spec/crm/test_products.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.crm.products import BasicApi, BatchApi, SearchApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().crm.products 7 | assert isinstance(apis.basic_api, BasicApi) 8 | assert isinstance(apis.batch_api, BatchApi) 9 | assert isinstance(apis.search_api, SearchApi) 10 | assert hasattr(apis, "get_all") 11 | -------------------------------------------------------------------------------- /tests/spec/crm/test_properties.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.crm.properties import BatchApi, CoreApi, GroupsApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().crm.properties 7 | assert isinstance(apis.batch_api, BatchApi) 8 | assert isinstance(apis.core_api, CoreApi) 9 | assert isinstance(apis.groups_api, GroupsApi) 10 | -------------------------------------------------------------------------------- /tests/spec/crm/test_quotes.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.crm.quotes import BasicApi, BatchApi, SearchApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().crm.quotes 7 | assert isinstance(apis.basic_api, BasicApi) 8 | assert isinstance(apis.batch_api, BatchApi) 9 | assert isinstance(apis.search_api, SearchApi) 10 | assert hasattr(apis, "get_all") 11 | -------------------------------------------------------------------------------- /tests/spec/crm/test_schemas.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.crm.schemas import CoreApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().crm.schemas 7 | assert isinstance(apis.core_api, CoreApi) 8 | -------------------------------------------------------------------------------- /tests/spec/crm/test_tickets.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.crm.tickets import BasicApi, BatchApi, SearchApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().crm.tickets 7 | assert isinstance(apis.basic_api, BasicApi) 8 | assert isinstance(apis.batch_api, BatchApi) 9 | assert isinstance(apis.search_api, SearchApi) 10 | assert hasattr(apis, "get_all") 11 | -------------------------------------------------------------------------------- /tests/spec/crm/test_timeline.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.crm.timeline import EventsApi, TemplatesApi, TokensApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().crm.timeline 7 | assert isinstance(apis.events_api, EventsApi) 8 | assert isinstance(apis.templates_api, TemplatesApi) 9 | assert isinstance(apis.tokens_api, TokensApi) 10 | -------------------------------------------------------------------------------- /tests/spec/events/send/test_send.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.events.send import BasicApi, BatchApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().events.send 7 | assert isinstance(apis.basic_api, BasicApi) 8 | assert isinstance(apis.batch_api, BatchApi) 9 | -------------------------------------------------------------------------------- /tests/spec/events/test_events.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.events import EventsApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().events 7 | assert isinstance(apis.events_api, EventsApi) 8 | -------------------------------------------------------------------------------- /tests/spec/files/test_files.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.files import FilesApi, FoldersApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().files 7 | assert isinstance(apis.files_api, FilesApi) 8 | assert isinstance(apis.folders_api, FoldersApi) 9 | -------------------------------------------------------------------------------- /tests/spec/marketing/test_forms.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.marketing.forms import FormsApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().marketing.forms 7 | assert isinstance(apis.forms_api, FormsApi) 8 | -------------------------------------------------------------------------------- /tests/spec/marketing/test_marketing_emails.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.marketing.emails import MarketingEmailsApi, StatisticsApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().marketing.emails 7 | assert isinstance(apis.marketing_emails_api, MarketingEmailsApi) 8 | assert isinstance(apis.statistics_api, StatisticsApi) 9 | -------------------------------------------------------------------------------- /tests/spec/marketing/test_marketing_events.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.marketing.events import ( 3 | AddEventAttendeesApi, 4 | BasicApi, 5 | BatchApi, 6 | ChangePropertyApi, 7 | IdentifiersApi, 8 | ListAssociationsApi, 9 | RetrieveParticipantStateApi, 10 | SettingsApi, 11 | SubscriberStateChangesApi 12 | ) 13 | 14 | 15 | def test_is_discoverable(): 16 | apis = HubSpot().marketing.events 17 | assert isinstance(apis.add_event_attendees_api, AddEventAttendeesApi) 18 | assert isinstance(apis.basic_api, BasicApi) 19 | assert isinstance(apis.batch_api, BatchApi) 20 | assert isinstance(apis.change_property_api, ChangePropertyApi) 21 | assert isinstance(apis.identifiers_api, IdentifiersApi) 22 | assert isinstance(apis.list_associations_api, ListAssociationsApi) 23 | assert isinstance(apis.retrieve_participant_state_api, RetrieveParticipantStateApi) 24 | assert isinstance(apis.settings_api, SettingsApi) 25 | assert isinstance(apis.subscriber_state_changes_api, SubscriberStateChangesApi) 26 | -------------------------------------------------------------------------------- /tests/spec/marketing/test_transactional.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.marketing.transactional import PublicSMTPTokensApi, SingleSendApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().marketing.transactional 7 | assert isinstance(apis.public_smtp_tokens_api, PublicSMTPTokensApi) 8 | assert isinstance(apis.single_send_api, SingleSendApi) 9 | -------------------------------------------------------------------------------- /tests/spec/oauth/test_oauth.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.oauth import AccessTokensApi, RefreshTokensApi, TokensApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().oauth 7 | assert isinstance(apis.access_tokens_api, AccessTokensApi) 8 | assert isinstance(apis.refresh_tokens_api, RefreshTokensApi) 9 | assert isinstance(apis.tokens_api, TokensApi) 10 | -------------------------------------------------------------------------------- /tests/spec/settings/test_business_units.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.settings.business_units import BusinessUnitApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().settings.business_units 7 | assert isinstance(apis.business_unit_api, BusinessUnitApi) 8 | -------------------------------------------------------------------------------- /tests/spec/settings/test_users.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.settings.users import RolesApi, TeamsApi, UsersApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().settings.users 7 | assert isinstance(apis.roles_api, RolesApi) 8 | assert isinstance(apis.teams_api, TeamsApi) 9 | assert isinstance(apis.users_api, UsersApi) 10 | -------------------------------------------------------------------------------- /tests/spec/utils/requests/test_auth.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | from hubspot.utils.requests.http_auth import Auth 4 | 5 | 6 | @pytest.mark.parametrize( 7 | "source,key,expected", [ 8 | ({"auth_value": "test_value"}, "auth_value", True), 9 | ({}, "key", False) 10 | ] 11 | ) 12 | def test_has_auth_value(source, key, expected): 13 | assert Auth._has_auth_value(source, key) is expected 14 | 15 | 16 | @pytest.mark.parametrize( 17 | "config, options, expected", [ 18 | # Valid data in options 19 | ({"access_token": "test_api_key"}, 20 | {"auth_type": "access_token"}, 21 | {"auth_type": "access_token"}), 22 | 23 | # Valid data in config, options is invalid 24 | ({"api_key": "test_api_key"}, 25 | {"auth_type": "access_token"}, 26 | {"auth_type": "api_key"}), 27 | 28 | # Invalid data in both options and config 29 | ({"invalid_type": None}, 30 | {"auth_type": "invalid_type"}, 31 | {"auth_type": None}), 32 | 33 | # auth_value missing in options, config is also not valid 34 | ({"api_key": None}, 35 | {"auth_type": "access_token"}, 36 | {"auth_type": None}), 37 | ] 38 | ) 39 | def test_choose_auth(config, options, expected): 40 | result = Auth.choose_auth(config, options) 41 | assert result == expected 42 | -------------------------------------------------------------------------------- /tests/spec/webhooks/test_webhooks.py: -------------------------------------------------------------------------------- 1 | from hubspot import HubSpot 2 | from hubspot.webhooks import SubscriptionsApi, SettingsApi 3 | 4 | 5 | def test_is_discoverable(): 6 | apis = HubSpot().webhooks 7 | assert isinstance(apis.settings_api, SettingsApi) 8 | assert isinstance(apis.subscriptions_api, SubscriptionsApi) 9 | --------------------------------------------------------------------------------