Skip to content

Commit

Permalink
fixed hubspot issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucie Milan committed Nov 23, 2023
1 parent ddd58e4 commit edcc193
Show file tree
Hide file tree
Showing 8 changed files with 102 additions and 119 deletions.
7 changes: 0 additions & 7 deletions _data/taps/schemas/hubspot/v1/hubspot-v1-issues.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,2 @@
Replication Key properties__lastModifiedDate__value not found in _data/taps/schemas/hubspot/v1/json/contacts.json
Primary Key id not found in _data/taps/schemas/hubspot/v1/json/engagements.json
Replication Key lastUpdated not found in _data/taps/schemas/hubspot/v1/json/engagements.json
Primary Key not found in _data/taps/schemas/hubspot/v1/json/deal_pipelines.json
Replication Key not found in _data/taps/schemas/hubspot/v1/json/deal_pipelines.json
Primary Key not found in _data/taps/schemas/hubspot/v1/json/hubspot_contacts_by_company.json
Replication Key not found in _data/taps/schemas/hubspot/v1/json/hubspot_contacts_by_company.json
Primary Key not found in _data/taps/schemas/hubspot/v1/json/workflows.json
Replication Key not found in _data/taps/schemas/hubspot/v1/json/workflows.json
61 changes: 32 additions & 29 deletions _data/taps/schemas/hubspot/v1/hubspot-v1-tables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ tables:
singer-schema: https://github.com/singer-io/tap-hubspot/blob/master/tap_hubspot/schemas/contacts.json
api-method: https://developers.hubspot.com/docs/methods/contacts/get_contacts
table-details:
replication-method: Incremental
replication-method: Key-based Incremental
primary-key: canonical-vid
replication-key: properties__lastModifiedDate__value
- name: contact_lists
Expand All @@ -64,7 +64,7 @@ tables:
singer-schema: https://github.com/singer-io/tap-hubspot/blob/master/tap_hubspot/schemas/contact_lists.json
api-method: https://developers.hubspot.com/docs/methods/lists/get_lists
table-details:
replication-method: Incremental
replication-method: Key-based Incremental
primary-key: listId
replication-key: updatedAt
- name: deals
Expand All @@ -90,7 +90,7 @@ tables:
singer-schema: https://github.com/singer-io/tap-hubspot/blob/master/tap_hubspot/schemas/email_events.json
api-method: https://developers.hubspot.com/docs/methods/email/get_events
table-details:
replication-method: Incremental
replication-method: Key-based Incremental
primary-key: id
replication-key: id
- name: engagements
Expand All @@ -103,8 +103,8 @@ tables:
singer-schema: https://github.com/singer-io/tap-hubspot/blob/master/tap_hubspot/schemas/engagements.json
api-method: https://developers.hubspot.com/docs/methods/engagements/get-all-engagements
table-details:
replication-method: Incremental
primary-key: id
replication-method: Key-based Incremental
primary-key: engagement_id
replication-key: lastUpdated
- name: forms
description: 'The `forms` table contains info about your HubSpot website forms.
Expand All @@ -115,7 +115,7 @@ tables:
singer-schema: https://github.com/singer-io/tap-hubspot/blob/master/tap_hubspot/schemas/forms.json
api-method: https://developers.hubspot.com/docs/methods/forms/v2/get_forms
table-details:
replication-method: Incremental
replication-method: Key-based Incremental
primary-key: guid
replication-key: updatedAt
- name: keywords
Expand All @@ -130,6 +130,7 @@ tables:
replication-method: Key-based Incremental
primary-key: keyword_guid
replication-key: created_at
status: not_found
- name: owners
description: 'The `owners` table contains info about the owners that exist in your
HubSpot portal. Owners are created and updated in HubSpot when new users are added
Expand All @@ -141,7 +142,7 @@ tables:
singer-schema: https://github.com/singer-io/tap-hubspot/blob/master/tap_hubspot/schemas/owners.json
api-method: https://developers.hubspot.com/docs/methods/owners/get_owners
table-details:
replication-method: Incremental
replication-method: Key-based Incremental
primary-keys:
- ownerId
- portalId
Expand All @@ -156,36 +157,38 @@ tables:
singer-schema: https://github.com/singer-io/tap-hubspot/blob/master/tap_hubspot/schemas/subscription_changes.json
api-method: https://developers.hubspot.com/docs/methods/email/get_subscriptions_timeline
table-details:
replication-method: Incremental
replication-method: Key-based Incremental
primary-keys:
- recipient
- portalId
- timestamp
replication-key: timestamp
- name: deal_pipelines
description: ''
links:
singer-schema: ''
doc-link: ''
table-details:
replication-method: ''
primary-key: ''
replication-key: ''
- name: hubspot_contacts_by_company
description: ''
description: 'The `{{ table.name }}` table contains info about the `deal stage`
and `pipeline` properties.
'
links:
singer-schema: ''
doc-link: ''
doc-link: https://developers.hubspot.com/docs/methods/deal-pipelines/overview
singer-schema: https://github.com/singer-io/tap-hubspot/blob/master/tap_hubspot/schemas/deal_pipelines.json
api-method: https://developers.hubspot.com/docs/methods/deal-pipelines/get-all-deal-pipelines
table-details:
replication-method: ''
primary-key: ''
replication-key: ''
replication-method: Full Table
primary-key: pipelineId
- name: workflows
description: ''
description: 'The `workflows` table contains info about the workflows in your {{
integration.display_name }} portal.
**Note**: The `workflows` stream only supports contact-based workflows.
'
links:
singer-schema: ''
doc-link: ''
doc-link: https://developers.hubspot.com/docs/methods/workflows/workflows_overview
singer-schema: https://github.com/singer-io/tap-hubspot/blob/master/tap_hubspot/schemas/workflows.json
api-method: https://developers.hubspot.com/docs/methods/workflows/v3/get_workflows
table-details:
replication-method: ''
primary-key: ''
replication-key: ''
replication-method: Key-based Incremental
primary-key: id
replication-key: updatedAt
tap-repo-schemas: true
6 changes: 6 additions & 0 deletions _data/taps/schemas/hubspot/v1/json/campaigns.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
},
"counters": {
"properties": {
"click": {
"type": [
"null",
"integer"
]
},
"delievered": {
"type": [
"null",
Expand Down

This file was deleted.

Loading

0 comments on commit edcc193

Please sign in to comment.