Skip to content

Commit

Permalink
Publish PR 5840: hubspot connector add stream (#7220)
Browse files Browse the repository at this point in the history
* Add new marketing emails (with statistics) stream

* Update docs and changelog

* bump version in config files

* run format

Co-authored-by: n0rritt <dev.n0rritt@gmail.com>
  • Loading branch information
marcosmarxm and n0rritt committed Oct 21, 2021
1 parent 78d6d6a commit 58d81b2
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 166 deletions.
Expand Up @@ -2,7 +2,7 @@
"sourceDefinitionId": "36c891d9-4bd9-43ac-bad2-10e12756272c",
"name": "Hubspot",
"dockerRepository": "airbyte/source-hubspot",
"dockerImageTag": "0.1.17",
"dockerImageTag": "0.1.18",
"documentationUrl": "https://docs.airbyte.io/integrations/sources/hubspot",
"icon": "hubspot.svg"
}
Expand Up @@ -161,7 +161,7 @@
- sourceDefinitionId: 36c891d9-4bd9-43ac-bad2-10e12756272c
name: Hubspot
dockerRepository: airbyte/source-hubspot
dockerImageTag: 0.1.17
dockerImageTag: 0.1.18
documentationUrl: https://docs.airbyte.io/integrations/sources/hubspot
icon: hubspot.svg
sourceType: api
Expand Down
Expand Up @@ -35,10 +35,7 @@
"allEmailCampaignIds": {
"type": ["null", "array"],
"items": {
"type": [
"null",
"integer"
]
"type": ["null", "integer"]
}
},
"analyticsPageId": {
Expand Down Expand Up @@ -162,7 +159,7 @@
}
},
"mailingListsIncluded": {
"type": ["null", "string"],
"type": ["null", "array"],
"items": {
"type": ["null", "integer"]
}
Expand All @@ -189,7 +186,7 @@
"type": ["null", "string"]
},
"primaryEmailCampaignId": {
"type": ["null", "string"]
"type": ["null", "integer"]
},
"processingStatus": {
"type": ["null", "string"]
Expand Down Expand Up @@ -222,252 +219,135 @@
"type": ["null", "string"]
},
"smartEmailFields": {
"type": ["null", "string"]
"type": ["null", "object"]
},
"state": {
"type": ["null", "string"]
},
"stats": {
"type": [
"null",
"object"
],
"type": ["null", "object"],
"properties": {
"counters": {
"type": [
"null",
"object"
],
"type": ["null", "object"],
"properties": {
"open": {
"type": [
"null",
"integer"
]
"type": ["null", "integer"]
},
"delivered": {
"type": [
"null",
"integer"
]
"type": ["null", "integer"]
},
"bounce": {
"type": [
"null",
"integer"
]
"type": ["null", "integer"]
},
"unsubscribed": {
"type": [
"null",
"integer"
]
"type": ["null", "integer"]
},
"click": {
"type": [
"null",
"integer"
]
"type": ["null", "integer"]
},
"dropped": {
"type": [
"null",
"integer"
]
"type": ["null", "integer"]
},
"selected": {
"type": [
"null",
"integer"
]
"type": ["null", "integer"]
},
"spamreport": {
"type": [
"null",
"integer"
]
"type": ["null", "integer"]
},
"suppressed": {
"type": [
"null",
"integer"
]
"type": ["null", "integer"]
},
"hardbounced": {
"type": [
"null",
"integer"
]
"type": ["null", "integer"]
},
"softbounced": {
"type": [
"null",
"integer"
]
"type": ["null", "integer"]
},
"pending": {
"type": [
"null",
"integer"
]
"type": ["null", "integer"]
},
"contactslost": {
"type": [
"null",
"integer"
]
"type": ["null", "integer"]
},
"notsent": {
"type": [
"null",
"integer"
]
"type": ["null", "integer"]
}
}
},
"deviceBreakdown": {
"type": [
"null",
"object"
],
"type": ["null", "object"],
"properties": {
"open_device_type": {
"type": [
"null",
"object"
],
"type": ["null", "object"],
"properties": {
"computer": {
"type": [
"null",
"integer"
]
"type": ["null", "integer"]
},
"mobile": {
"type": [
"null",
"integer"
]
"type": ["null", "integer"]
},
"unknown": {
"type": [
"null",
"integer"
]
"type": ["null", "integer"]
}
}
},
"click_device_type": {
"type": [
"null",
"object"
],
"type": ["null", "object"],
"properties": {
"computer": {
"type": [
"null",
"integer"
]
"type": ["null", "integer"]
},
"mobile": {
"type": [
"null",
"integer"
]
"type": ["null", "integer"]
},
"unknown": {
"type": [
"null",
"integer"
]
"type": ["null", "integer"]
}
}
}
}
},
"failedToLoad": {
"type": [
"null",
"boolean"
]
"type": ["null", "boolean"]
},
"ratios": {
"type": [
"null",
"object"
],
"type": ["null", "object"],
"properties": {
"clickratio": {
"type": [
"null",
"number"
]
"type": ["null", "number"]
},
"clickthroughratio": {
"type": [
"null",
"number"
]
"type": ["null", "number"]
},
"deliveredratio": {
"type": [
"null",
"number"
]
"type": ["null", "number"]
},
"openratio": {
"type": [
"null",
"number"
]
"type": ["null", "number"]
},
"unsubscribedratio": {
"type": [
"null",
"number"
]
"type": ["null", "number"]
},
"spamreportratio": {
"type": [
"null",
"number"
]
"type": ["null", "number"]
},
"bounceratio": {
"type": [
"null",
"number"
]
"type": ["null", "number"]
},
"hardbounceratio": {
"type": [
"null",
"number"
]
"type": ["null", "number"]
},
"softbounceratio": {
"type": [
"null",
"number"
]
"type": ["null", "number"]
},
"contactslostratio": {
"type": [
"null",
"number"
]
"type": ["null", "number"]
},
"pendingratio": {
"type": [
"null",
"number"
]
"type": ["null", "number"]
},
"notsentratio": {
"type": [
"null",
"number"
]
"type": ["null", "number"]
}
}
}
Expand Down
Expand Up @@ -19,7 +19,6 @@
Status,
Type,
)

# helpers
from airbyte_cdk.sources import Source

Expand Down

0 comments on commit 58d81b2

Please sign in to comment.