84 lines
2.6 KiB
YAML
84 lines
2.6 KiB
YAML
|
|
version: 2
|
||
|
|
|
||
|
|
models:
|
||
|
|
- name: int_hubspot__deal
|
||
|
|
description: |
|
||
|
|
Our deals in Hubspot. A deal is a commercial relationship with a client
|
||
|
|
company. It's possible for a single company to have multiple deals, but
|
||
|
|
it's frequent for them to only have one.
|
||
|
|
|
||
|
|
Deals are one of the spines of Superhog's data. You will find references
|
||
|
|
to Deal Ids in both our in-house systems and Xero.
|
||
|
|
|
||
|
|
Note that deals that follow the Guardhog pipeline are excluded from this
|
||
|
|
table.
|
||
|
|
|
||
|
|
columns:
|
||
|
|
- name: id_deal
|
||
|
|
data_type: character varying
|
||
|
|
description: Unique ID for this deal.
|
||
|
|
tests:
|
||
|
|
- unique
|
||
|
|
- not_null
|
||
|
|
|
||
|
|
- name: deal_name
|
||
|
|
data_type: text
|
||
|
|
description: Name of the deal.
|
||
|
|
|
||
|
|
- name: contract_signed_date_utc
|
||
|
|
data_type: date
|
||
|
|
description: Date in which the contract was signed
|
||
|
|
|
||
|
|
- name: onboarding_date_utc
|
||
|
|
data_type: date
|
||
|
|
description: Date in which the contract was onboarded
|
||
|
|
|
||
|
|
- name: live_date_utc
|
||
|
|
data_type: date
|
||
|
|
description: Date in which the account went live
|
||
|
|
|
||
|
|
- name: cancellation_date_utc
|
||
|
|
data_type: date
|
||
|
|
description: Date in which an account that was being used was cancelled
|
||
|
|
|
||
|
|
- name: account_manager
|
||
|
|
data_type: text
|
||
|
|
description: |
|
||
|
|
The name of the account manager that is currently taking care of this
|
||
|
|
deal.
|
||
|
|
|
||
|
|
- name: deal_pipeline
|
||
|
|
data_type: text
|
||
|
|
description: |
|
||
|
|
The name of the hubspot pipeline for this deal.
|
||
|
|
|
||
|
|
- name: deal_hubspot_stage
|
||
|
|
data_type: text
|
||
|
|
description: |
|
||
|
|
The name of the hubspot stage this deal is currently in. The different
|
||
|
|
stages a deal can be in depend on the hubspot pipeline.
|
||
|
|
|
||
|
|
- name: cancellation_category
|
||
|
|
data_type: text
|
||
|
|
description: Categorization as to why they cancelled the account
|
||
|
|
|
||
|
|
- name: cancellation_details
|
||
|
|
data_type: text
|
||
|
|
description: Free text with additional comments on why they cancelled the account
|
||
|
|
|
||
|
|
- name: created_at_utc
|
||
|
|
data_type: timestamp with time zone
|
||
|
|
description: Timestamp of when the record was created in Hubspot
|
||
|
|
|
||
|
|
- name: created_date_utc
|
||
|
|
data_type: date
|
||
|
|
description: Date of when the record was created in Hubspot
|
||
|
|
|
||
|
|
- name: updated_at_utc
|
||
|
|
data_type: timestamp with time zone
|
||
|
|
description: Timestamp of when the record was last updated in Hubspot
|
||
|
|
|
||
|
|
- name: updated_date_utc
|
||
|
|
data_type: date
|
||
|
|
description: Date of when the record was last updated in Hubspot
|