From f5c8ce2ebcbcd283f05dbc72c96a04a365cfe456 Mon Sep 17 00:00:00 2001 From: "Sherif A. Nada" Date: Sun, 19 Sep 2021 18:52:35 -0700 Subject: [PATCH] publish PR 5693 (#6299) Co-authored-by: vladimir-remar --- .../connectors/source-hubspot/acceptance-test-docker.sh | 2 +- .../source-hubspot/source_hubspot/schemas/contacts.json | 3 +++ .../source-hubspot/source_hubspot/schemas/deals.json | 2 +- docs/integrations/sources/hubspot.md | 3 ++- 4 files changed, 7 insertions(+), 3 deletions(-) mode change 100644 => 100755 airbyte-integrations/connectors/source-hubspot/acceptance-test-docker.sh diff --git a/airbyte-integrations/connectors/source-hubspot/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-hubspot/acceptance-test-docker.sh old mode 100644 new mode 100755 index e4d8b1cef89..7ad3352709b --- a/airbyte-integrations/connectors/source-hubspot/acceptance-test-docker.sh +++ b/airbyte-integrations/connectors/source-hubspot/acceptance-test-docker.sh @@ -1,7 +1,7 @@ #!/usr/bin/env sh # Build latest connector image -docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) +docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2):dev # Pull latest acctest image docker pull airbyte/source-acceptance-test:latest diff --git a/airbyte-integrations/connectors/source-hubspot/source_hubspot/schemas/contacts.json b/airbyte-integrations/connectors/source-hubspot/source_hubspot/schemas/contacts.json index ac5549e4f00..5187593975f 100644 --- a/airbyte-integrations/connectors/source-hubspot/source_hubspot/schemas/contacts.json +++ b/airbyte-integrations/connectors/source-hubspot/source_hubspot/schemas/contacts.json @@ -2,6 +2,9 @@ "$schema": "http://json-schema.org/draft-07/schema#", "type": ["null", "object"], "properties": { + "id": { + "type": "string" + }, "vid": { "type": ["null", "integer"] }, diff --git a/airbyte-integrations/connectors/source-hubspot/source_hubspot/schemas/deals.json b/airbyte-integrations/connectors/source-hubspot/source_hubspot/schemas/deals.json index 301ce47fe1d..f6564e9bb73 100644 --- a/airbyte-integrations/connectors/source-hubspot/source_hubspot/schemas/deals.json +++ b/airbyte-integrations/connectors/source-hubspot/source_hubspot/schemas/deals.json @@ -327,7 +327,7 @@ "contacts": { "type": ["null", "array"], "items": { - "type": ["null", "integer"] + "type": ["null", "string"] } } } diff --git a/docs/integrations/sources/hubspot.md b/docs/integrations/sources/hubspot.md index 20fa7d316f6..78f0dd88646 100644 --- a/docs/integrations/sources/hubspot.md +++ b/docs/integrations/sources/hubspot.md @@ -13,7 +13,7 @@ Several output streams are available from this source: * [Contact Lists](http://developers.hubspot.com/docs/methods/lists/get_lists) * [Contacts](https://developers.hubspot.com/docs/methods/contacts/get_contacts) * [Deal Pipelines](https://developers.hubspot.com/docs/methods/pipelines/get_pipelines_for_object_type) -* [Deals](https://developers.hubspot.com/docs/api/crm/deals) +* [Deals](https://developers.hubspot.com/docs/api/crm/deals) (including Contact associations) * [Email Events](https://developers.hubspot.com/docs/methods/email/get_events) \(Incremental\) * [Engagements](https://legacydocs.hubspot.com/docs/methods/engagements/get-all-engagements) * [Forms](https://developers.hubspot.com/docs/api/marketing/forms) @@ -73,6 +73,7 @@ This connector supports only authentication with API Key. To obtain API key for | Version | Date | Pull Request | Subject | | :------ | :-------- | :----- | :------ | +| 0.1.14 | 2021-09-08 | [5693](https://github.com/airbytehq/airbyte/pull/5693) | Include deal_to_contact association when pulling deal stream and include contact ID in contact stream | | 0.1.13 | 2021-09-08 | [5834](https://github.com/airbytehq/airbyte/pull/5834) | Fixed array fields without items property in schema | | 0.1.12 | 2021-09-02 | [5798](https://github.com/airbytehq/airbyte/pull/5798) | Treat empty string values as None for field with format to fix normalization errors | | 0.1.11 | 2021-08-26 | [5685](https://github.com/airbytehq/airbyte/pull/5685) | Remove all date-time format from schemas |