@@ -27,7 +27,7 @@ definitions:
2727 - type : WaitTimeFromHeader
2828 header : Retry-After
2929 request_headers :
30- User-Agent : Airbyte (Connector Version 0.5.0 )
30+ User-Agent : Airbyte (Connector Version 0.5.3 )
3131 SimpleRetriever :
3232 requester :
3333 $ref : " #/definitions/linked/HttpRequester"
@@ -1544,7 +1544,7 @@ streams:
15441544 request_parameters :
15451545 ordering : -updated
15461546 show_deleted : " true"
1547- fields[Project] : id,created,updated,status,ref,name,is_active,category,scope_of_works,retention_rate,final_rebate_rate,expected_start_date,expected_completion_date,actual_start_date,retention_date
1547+ fields[Project] : id,created,updated,status,ref,name,is_active,category,scope_of_works,retention_rate,final_rebate_rate,expected_start_date,expected_completion_date,actual_start_date,actual_completion_date, retention_date,order_no,description,extra_fields,branch,costcentre,client,property,billingcard,supervisor,salesperson
15481548 schema_loader :
15491549 type : InlineSchemaLoader
15501550 schema :
@@ -1605,11 +1605,54 @@ streams:
16051605 - " null"
16061606 format : date-time
16071607 airbyte_type : timestamp_with_timezone
1608+ actual_completion_date :
1609+ type :
1610+ - string
1611+ - " null"
1612+ format : date-time
1613+ airbyte_type : timestamp_with_timezone
16081614 retention_date :
16091615 type :
16101616 - string
16111617 - " null"
16121618 format : date
1619+ order_no :
1620+ type :
1621+ - string
1622+ description :
1623+ type :
1624+ - string
1625+ extra_fields :
1626+ type :
1627+ - object
1628+ branch_id :
1629+ type :
1630+ - integer
1631+ - " null"
1632+ costcentre_id :
1633+ type :
1634+ - integer
1635+ - " null"
1636+ client_id :
1637+ type :
1638+ - integer
1639+ - " null"
1640+ property_id :
1641+ type :
1642+ - integer
1643+ - " null"
1644+ billingcard_id :
1645+ type :
1646+ - integer
1647+ - " null"
1648+ supervisor_id :
1649+ type :
1650+ - integer
1651+ - " null"
1652+ salesperson_id :
1653+ type :
1654+ - integer
1655+ - " null"
16131656 transformations :
16141657 - type : AddFields
16151658 fields :
@@ -1669,10 +1712,54 @@ streams:
16691712 path :
16701713 - actual_start_date
16711714 value : ' {{ record["attributes"]["actual_start_date"] or "None"}}'
1715+ - type : AddedFieldDefinition
1716+ path :
1717+ - actual_completion_date
1718+ value : ' {{ record["attributes"]["actual_completion_date"] or "None"}}'
16721719 - type : AddedFieldDefinition
16731720 path :
16741721 - retention_date
16751722 value : ' {{ record["attributes"]["retention_date"] or "None"}}'
1723+ - type : AddedFieldDefinition
1724+ path :
1725+ - order_no
1726+ value : ' {{ record["attributes"]["order_no"] }}'
1727+ - type : AddedFieldDefinition
1728+ path :
1729+ - description
1730+ value : ' {{ record["attributes"]["description"] }}'
1731+ - type : AddedFieldDefinition
1732+ path :
1733+ - extra_fields
1734+ value : ' {{ record["attributes"]["extra_fields"] }}'
1735+ - type : AddedFieldDefinition
1736+ path :
1737+ - branch_id
1738+ value : ' {{ record["relationships"]["branch"]["data"]["id"] or "None"}}'
1739+ - type : AddedFieldDefinition
1740+ path :
1741+ - costcentre_id
1742+ value : ' {{ record["relationships"]["costcentre"]["data"]["id"] or "None"}}'
1743+ - type : AddedFieldDefinition
1744+ path :
1745+ - client_id
1746+ value : ' {{ record["relationships"]["client"]["data"]["id"] or "None"}}'
1747+ - type : AddedFieldDefinition
1748+ path :
1749+ - property_id
1750+ value : ' {{ record["relationships"]["property"]["data"]["id"] or "None"}}'
1751+ - type : AddedFieldDefinition
1752+ path :
1753+ - billingcard_id
1754+ value : ' {{ record["relationships"]["billingcard"]["data"]["id"] or "None"}}'
1755+ - type : AddedFieldDefinition
1756+ path :
1757+ - supervisor_id
1758+ value : ' {{ record["relationships"]["supervisor"]["data"]["id"] or "None"}}'
1759+ - type : AddedFieldDefinition
1760+ path :
1761+ - salesperson_id
1762+ value : ' {{ record["relationships"]["salesperson"]["data"]["id"] or "None"}}'
16761763 - type : DeclarativeStream
16771764 name : servicequotes
16781765 primary_key :
@@ -1857,7 +1944,7 @@ streams:
18571944 request_parameters :
18581945 ordering : -updated
18591946 show_deleted : " true"
1860- fields[DefectQuote] : id,description,ref,created,updated,status,date,due_date,expiry_date,last_actioned,email_template,reminder_email_template,scope_of_works
1947+ fields[DefectQuote] : id,description,ref,created,updated,status,date,due_date,expiry_date,last_actioned,email_template,reminder_email_template,scope_of_works,branch,client,property,author,salesperson
18611948 schema_loader :
18621949 type : InlineSchemaLoader
18631950 schema :
@@ -1917,6 +2004,26 @@ streams:
19172004 scope_of_works :
19182005 type :
19192006 - string
2007+ branch_id :
2008+ type :
2009+ - integer
2010+ - " null"
2011+ client_id :
2012+ type :
2013+ - integer
2014+ - " null"
2015+ property_id :
2016+ type :
2017+ - integer
2018+ - " null"
2019+ author_id :
2020+ type :
2021+ - integer
2022+ - " null"
2023+ salesperson_id :
2024+ type :
2025+ - integer
2026+ - " null"
19202027 transformations :
19212028 - type : AddFields
19222029 fields :
@@ -1972,6 +2079,26 @@ streams:
19722079 path :
19732080 - scope_of_works
19742081 value : ' {{ record["attributes"]["scope_of_works"] }}'
2082+ - type : AddedFieldDefinition
2083+ path :
2084+ - branch_id
2085+ value : ' {{ record["relationships"]["branch"]["data"]["id"] or "None"}}'
2086+ - type : AddedFieldDefinition
2087+ path :
2088+ - client_id
2089+ value : ' {{ record["relationships"]["client"]["data"]["id"] or "None"}}'
2090+ - type : AddedFieldDefinition
2091+ path :
2092+ - property_id
2093+ value : ' {{ record["relationships"]["property"]["data"]["id"] or "None"}}'
2094+ - type : AddedFieldDefinition
2095+ path :
2096+ - author_id
2097+ value : ' {{ record["relationships"]["author"]["data"]["id"] or "None"}}'
2098+ - type : AddedFieldDefinition
2099+ path :
2100+ - salesperson_id
2101+ value : ' {{ record["relationships"]["salesperson"]["data"]["id"] or "None"}}'
19752102 - type : DeclarativeStream
19762103 name : suppliers
19772104 primary_key :
0 commit comments