Skip to content

Commit

Permalink
Merge pull request #84 from fivetran/bug/add_descriptions
Browse files Browse the repository at this point in the history
Bug/add descriptions
  • Loading branch information
fivetran-catfritz authored Oct 13, 2022
2 parents 6f3617b + 7fa3035 commit c4e96a1
Show file tree
Hide file tree
Showing 9 changed files with 102 additions and 7 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# dbt_hubspot v0.6.3
PR [#84](https://github.com/fivetran/dbt_hubspot/pull/84) incorporates the following updates:
## Fixes
- Added column descriptions that were missing in [our documentation](https://fivetran.github.io/dbt_hubspot/#!/overview).

# dbt_hubspot v0.6.2
## Under the Hood
- Updated the docs as there were issues with the previous deployment. ([#82](https://github.com/fivetran/dbt_hubspot/pull/82))
Expand Down
2 changes: 1 addition & 1 deletion dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: 'hubspot'
version: '0.6.2'
version: '0.6.3'
config-version: 2
require-dbt-version: [">=1.0.0", "<2.0.0"]

Expand Down
2 changes: 1 addition & 1 deletion docs/catalog.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/manifest.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/run_results.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion integration_tests/dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

name: 'hubspot_integration_tests'
version: '0.6.2'
version: '0.6.3'
profile: 'integration_tests'
config-version: 2

Expand Down
28 changes: 26 additions & 2 deletions models/marketing/marketing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,24 +197,48 @@ models:
- name: total_unique_prints
description: "{{ doc('unique_prints') }}"

- name: total_spam_reports
- name: total_unique_spam_reports
description: "{{ doc('unique_spam_reports') }}"

- name: total_unsubscribes
- name: total_unique_unsubscribes
description: "{{ doc('unique_unsubscribes') }}"

- name: hubspot__contacts
description: Each record represents a contact in Hubspot.
columns:
- name: _fivetran_deleted
description: '{{ doc("_fivetran_deleted") }}'

- name: _fivetran_synced
description: '{{ doc("_fivetran_deleted") }}'

- name: contact_id
description: The ID of the contact.
tests:
- unique
- not_null

- name: contact_company
description: The name of the contact's company

- name: first_name
description: The contact's first name.

- name: last_name
description: The contact's last name.

- name: email
description: The email address of the contact.

- name: created_at
description: The date that the contact was created in your HubSpot account.

- name: job_title
description: The contact's job title.

- name: company_annual_revenue
description: The contact's annual company revenue.

- name: total_bounces
description: "{{ doc('bounces') }}"

Expand Down
42 changes: 42 additions & 0 deletions models/sales/engagement_events/engagement_events.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,24 @@ models:
- name: call_duration_milliseconds
description: The length of the call in milliseconds

- name: call_notes
description: The description of the call, including any notes that you want to add.

- name: callee_object_id
description: The ID of the HubSpot record associated with the call. This will be the recipient of the call for OUTBOUND calls, or the dialer of the call for INBOUND calls.

- name: callee_object_type
description: The ID of the object to which the call's associated record belongs (e.g., specifies if the record is a contact or company). This will be the object of the recipient for OUTBOUND calls, or the object of the dialer for INBOUND calls.

- name: call_status
description: The status of the call. The statuses are BUSY, CALLING_CRM_USER, CANCELED, COMPLETED, CONNECTING, FAILED, IN_PROGRESS, NO_ANSWER, QUEUED, and RINGING.

- name: transcription_id
description: The ID of the transcription for the call.

- name: unknown_visitor_conversation
description: If a visitor is unknown.

- name: disposition_id
description: The internal ID for the call outcome.

Expand Down Expand Up @@ -92,6 +110,9 @@ models:
- name: error_message
description: The error message, if applicable.

- name: facsimile_send_id
description: facsimile_send_id

- name: from_email
description: The email address of the sender.

Expand All @@ -101,18 +122,33 @@ models:
- name: from_last_name
description: The last name of the sender.

- name: logged_from
description: The source of the logged email.

- name: media_processing_status
description: The processing status of the media content in the email.

- name: message_id
description: The ID of the message.

- name: post_send_status
description: Indicates if the post was sent.

- name: recipient_drop_reasons
description: recipient_drop_reasons

- name: sent_via
description: How the email was sent.

- name: thread_id
description: The ID of the email thread.

- name: tracker_key
description: The ID of the tracker.

- name: validation_skipped
description: validation_skipped

- name: was_attached_video_opened
description: Whether the the attached video was opened.

Expand Down Expand Up @@ -146,6 +182,9 @@ models:
- name: _fivetran_synced
description: '{{ doc("_fivetran_synced") }}'

- name: created_from_link_id
description: created_from_link_id

- name: end_timestamp
description: A timestamp representing the end time of the meeting

Expand All @@ -167,6 +206,9 @@ models:
- name: meeting_title
description: The title or subject of the meeting

- name: pre_meeting_prospect_reminders
description: pre_meeting_prospect_reminders

- name: source
description: The source of the meeting.

Expand Down
24 changes: 24 additions & 0 deletions models/sales/sales.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,30 @@ models:
- name: hubspot__deals
description: Each record represents a deal in Hubspot.
columns:
- name: _fivetran_synced
description: '{{ doc("_fivetran_synced") }}'

- name: description
description: A brief description of the deal.

- name: amount
description: The total value of the deal in the deal's currency.

- name: closed_at
description: The day the deal is expected to close, or was closed.

- name: created_at
description: The date the deal was created. This property is set automatically by HubSpot.

- name: deal_id
description: The ID of the deal
tests:
- not_null
- unique

- name: deal_name
description: The name you have given this deal.

- name: is_deleted
description: Whether the record was deleted.

Expand Down Expand Up @@ -47,6 +65,9 @@ models:
- name: count_engagement_forwarded_emails
description: "{{ doc('count_engagement_forwarded_emails') }}"

- name: is_pipeline_active
description: Boolean indicating if the pipeline is active.

- name: pipeline_label
description: The label of the deal's pipeline.

Expand Down Expand Up @@ -113,6 +134,9 @@ models:
- name: pipeline_stage_display_order
description: Used to determine the order in which the stages appear when viewed in HubSpot.

- name: pipeline_display_order
description: Used to determine the order in which the pipelines appear when viewed in HubSpot.

- name: pipeline_stage_probability
description: The probability that the deal will close. Used for the deal forecast.

Expand Down

0 comments on commit c4e96a1

Please sign in to comment.