Skip to content

Commit b05031a

Browse files
Anton Karpetsxiaohansong
authored andcommitted
🚨🚨🐛Source Hubspot: update marketing_emails stream schema (#34492)
1 parent 5e63c11 commit b05031a

File tree

10 files changed

+272
-182
lines changed

10 files changed

+272
-182
lines changed

airbyte-integrations/connectors/source-hubspot/integration_tests/expected_records.jsonl

Lines changed: 31 additions & 31 deletions
Large diffs are not rendered by default.

airbyte-integrations/connectors/source-hubspot/metadata.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ data:
1010
connectorSubtype: api
1111
connectorType: source
1212
definitionId: 36c891d9-4bd9-43ac-bad2-10e12756272c
13-
dockerImageTag: 2.0.2
13+
dockerImageTag: 3.0.0
1414
dockerRepository: airbyte/source-hubspot
1515
documentationUrl: https://docs.airbyte.com/integrations/sources/hubspot
1616
githubIssueLabel: source-hubspot
@@ -34,6 +34,14 @@ data:
3434
This version eliminates the Property History stream in favor of creating 3 different streams, Contacts, Companies, and Deals, which can now all fetch their property history.
3535
It will affect only users who use Property History stream, who will need to fix schema conflicts and sync Contacts Property History stream instead of Property History.
3636
upgradeDeadline: 2024-01-15
37+
3.0.0:
38+
message: >-
39+
This update brings extended schema with data type changes for the Marketing Emails stream.
40+
Users will need to refresh it and reset this stream after upgrading.
41+
upgradeDeadline: 2024-02-12
42+
scopedImpact:
43+
- scopeType: stream
44+
impactedScopes: ["marketing_emails"]
3745
suggestedStreams:
3846
streams:
3947
- contacts

airbyte-integrations/connectors/source-hubspot/source_hubspot/schemas/contact_lists.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@
2222
},
2323
"lastSizeChangeAt": {
2424
"type": ["null", "integer"]
25+
},
26+
"listReferencesCount": {
27+
"type": ["null", "integer"]
28+
},
29+
"parentFolderId": {
30+
"type": ["null", "integer"]
2531
}
2632
}
2733
},

airbyte-integrations/connectors/source-hubspot/source_hubspot/schemas/engagements.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,24 @@
109109
"items": {
110110
"type": ["null", "integer"]
111111
}
112+
},
113+
"contentIds": {
114+
"type": ["null", "array"],
115+
"items": {
116+
"type": ["null", "integer"]
117+
}
118+
},
119+
"quoteIds": {
120+
"type": ["null", "array"],
121+
"items": {
122+
"type": ["null", "integer"]
123+
}
124+
},
125+
"marketingEventIds": {
126+
"type": ["null", "array"],
127+
"items": {
128+
"type": ["null", "integer"]
129+
}
112130
}
113131
}
114132
},

airbyte-integrations/connectors/source-hubspot/source_hubspot/schemas/forms.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,20 @@
5252
},
5353
"fieldType": {
5454
"type": ["null", "string"]
55+
},
56+
"validation": {
57+
"type": ["null", "object"],
58+
"properties": {
59+
"blockedEmailDomains": {
60+
"type": ["null", "array"],
61+
"items": {
62+
"type": ["null", "string"]
63+
}
64+
},
65+
"useDefaultBlockList": {
66+
"type": ["null", "boolean"]
67+
}
68+
}
5569
}
5670
}
5771
}
@@ -169,6 +183,9 @@
169183
"type": ["null", "string"]
170184
}
171185
}
186+
},
187+
"cssClass": {
188+
"type": ["null", "string"]
172189
}
173190
}
174191
},

0 commit comments

Comments
 (0)