mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
Merge pull request #1124 from Hestia-Homes/feature/additional_hubspot_data
added batch description and nonfunded measures
This commit is contained in:
commit
205d2ade06
4 changed files with 10 additions and 0 deletions
|
|
@ -39,7 +39,9 @@ class HubspotDealData(SQLModel, table=True):
|
|||
damp_mould_and_repairs_comments: Optional[str] = Field(default=None)
|
||||
pre_sap: Optional[str] = Field(default=None)
|
||||
batch: Optional[str] = Field(default=None)
|
||||
batch_description: Optional[str] = Field(default=None)
|
||||
block_reference: Optional[str] = Field(default=None)
|
||||
nonfunded_measures: Optional[str] = Field(default=None)
|
||||
epc_prn: Optional[str] = Field(default=None)
|
||||
potential_post_sap_score_dropdown: Optional[str] = Field(default=None)
|
||||
ei_score: Optional[str] = Field(default=None)
|
||||
|
|
|
|||
|
|
@ -285,7 +285,9 @@ class HubspotClient:
|
|||
"surveyed_date",
|
||||
"design_type",
|
||||
"batch",
|
||||
"batch_description",
|
||||
"block_reference",
|
||||
"nonfunded_measures",
|
||||
"epc_prn",
|
||||
"potential_post_sap_score_dropdown",
|
||||
"ei_score",
|
||||
|
|
|
|||
|
|
@ -200,7 +200,9 @@ class HubspotDataToDb:
|
|||
),
|
||||
"pre_sap": deal_data.get("pre_sap_score_dropdown"),
|
||||
"batch": deal_data.get("batch"),
|
||||
"batch_description": deal_data.get("batch_description"),
|
||||
"block_reference": deal_data.get("block_reference"),
|
||||
"nonfunded_measures": deal_data.get("nonfunded_measures"),
|
||||
"epc_prn": deal_data.get("epc_prn"),
|
||||
"potential_post_sap_score_dropdown": deal_data.get(
|
||||
"potential_post_sap_score_dropdown"
|
||||
|
|
@ -297,7 +299,9 @@ class HubspotDataToDb:
|
|||
),
|
||||
pre_sap=deal_data.get("pre_sap_score_dropdown"),
|
||||
batch=deal_data.get("batch"),
|
||||
batch_description=deal_data.get("batch_description"),
|
||||
block_reference=deal_data.get("block_reference"),
|
||||
nonfunded_measures=deal_data.get("nonfunded_measures"),
|
||||
epc_prn=deal_data.get("epc_prn"),
|
||||
potential_post_sap_score_dropdown=deal_data.get(
|
||||
"potential_post_sap_score_dropdown"
|
||||
|
|
|
|||
|
|
@ -64,7 +64,9 @@ class HubspotDealDiffer:
|
|||
"damp_mould_and_repairs_comments": "damp_mould_and_repairs_comments",
|
||||
"pre_sap_score_dropdown": "pre_sap",
|
||||
"batch": "batch",
|
||||
"batch_description": "batch_description",
|
||||
"block_reference": "block_reference",
|
||||
"nonfunded_measures": "nonfunded_measures",
|
||||
"epc_prn": "epc_prn",
|
||||
"potential_post_sap_score_dropdown": "potential_post_sap_score_dropdown",
|
||||
"ei_score": "ei_score",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue