Skip to content

source-iterable: ensure inline schemas, updated cdk, poetry (where possible) #36645

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
May 7, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ data:
connectorSubtype: api
connectorType: source
definitionId: 2e875208-0c0b-4ee4-9e92-1cb3156ea799
dockerImageTag: 0.5.0
dockerImageTag: 0.5.1
dockerRepository: airbyte/source-iterable
documentationUrl: https://docs.airbyte.com/integrations/sources/iterable
githubIssueLabel: source-iterable
Expand Down
10 changes: 5 additions & 5 deletions airbyte-integrations/connectors/source-iterable/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = [ "poetry-core>=1.0.0",]
build-backend = "poetry.core.masonry.api"

[tool.poetry]
version = "0.5.0"
version = "0.5.1"
name = "source-iterable"
description = "Source implementation for Iterable."
authors = [ "Airbyte <[email protected]>",]
Expand All @@ -18,7 +18,7 @@ include = "source_iterable"
[tool.poetry.dependencies]
python = "^3.9,<3.12"
pendulum = "==2.1.2"
airbyte-cdk = "^0"
airbyte-cdk = "0.80.0"
requests = "==2.31.0"
python-dateutil = "==2.8.2"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,60 +1,78 @@
{
"properties": {
"id": {
"description": "The unique identifier of the campaign",
"type": ["null", "integer"]
},
"createdAt": {
"description": "The timestamp when the campaign was created",
"type": ["null", "integer"]
},
"updatedAt": {
"description": "The timestamp when the campaign was last updated",
"type": ["null", "integer"]
},
"startAt": {
"description": "The timestamp when the campaign will start",
"type": ["null", "integer"]
},
"endedAt": {
"description": "The timestamp when the campaign ended",
"type": ["null", "integer"]
},
"name": {
"description": "The name of the campaign",
"type": ["null", "string"]
},
"templateId": {
"description": "The ID of the template used for the campaign",
"type": ["null", "integer"]
},
"messageMedium": {
"description": "The medium used to deliver the campaign message (e.g., email, SMS)",
"type": ["null", "string"]
},
"createdByUserId": {
"description": "The ID of the user who created the campaign",
"type": ["null", "string"]
},
"updatedByUserId": {
"description": "The ID of the user who last updated the campaign",
"type": ["null", "string"]
},
"campaignState": {
"description": "The current state of the campaign (e.g., draft, active, paused)",
"type": ["null", "string"]
},
"listIds": {
"description": "List of IDs of the lists targeted by the campaign",
"type": ["null", "array"],
"items": {}
},
"suppressionListIds": {
"description": "List of IDs of suppression lists for the campaign",
"type": ["null", "array"],
"items": {}
},
"sendSize": {
"description": "The size of the audience targeted by the campaign",
"type": ["null", "number"]
},
"recurringCampaignId": {
"description": "If the campaign is recurring, the ID of the parent recurring campaign",
"type": ["null", "number"]
},
"workflowId": {
"description": "The ID of the workflow associated with the campaign",
"type": ["null", "number"]
},
"labels": {
"description": "List of labels associated with the campaign",
"type": ["null", "array"],
"items": {}
},
"type": {
"description": "The type of campaign (e.g., one-time, recurring)",
"type": ["null", "string"]
}
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"properties": {
"data": {
"description": "Contains the campaign metrics data",
"type": ["null", "object"]
}
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
{
"properties": {
"id": {
"description": "The unique identifier of the channel.",
"type": ["null", "number"]
},
"name": {
"description": "The name or title of the channel.",
"type": ["null", "string"]
},
"channelType": {
"description": "The type of channel, such as email, SMS, or push notification.",
"type": ["null", "string"]
},
"messageMedium": {
"description": "The medium used to deliver messages through this channel, such as text, image, or video.",
"type": ["null", "string"]
}
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,38 +1,48 @@
{
"properties": {
"createdAt": {
"description": "The date and time when the email bounce data was created.",
"type": ["null", "string"],
"format": "date-time"
},
"campaignId": {
"description": "The unique identifier of the campaign associated with the email bounce data.",
"type": ["null", "integer"]
},
"itblInternal": {
"description": "Internal information related to Iterable.",
"type": ["null", "object"],
"properties": {
"documentCreatedAt": {
"description": "The date and time when the internal document for Iterable was created.",
"type": ["null", "string"],
"format": "date-time"
},
"documentUpdatedAt": {
"description": "The date and time when the internal document for Iterable was last updated.",
"type": ["null", "string"],
"format": "date-time"
}
}
},
"messageId": {
"description": "The unique identifier of the message associated with the email bounce data.",
"type": ["null", "string"]
},
"templateId": {
"description": "The unique identifier of the email template associated with the bounce data.",
"type": ["null", "integer"]
},
"email": {
"description": "The email address that encountered a bounce.",
"type": ["null", "string"]
},
"userId": {
"description": "The unique identifier of the user associated with the bounced email address.",
"type": ["null", "string"]
},
"recipientState": {
"description": "The state of the recipient email address at the time of the bounce (e.g., active, inactive).",
"type": ["null", "string"]
}
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,62 +1,80 @@
{
"properties": {
"country": {
"description": "The country from where the email click was recorded.",
"type": ["null", "string"]
},
"city": {
"description": "The city from where the email click was recorded.",
"type": ["null", "string"]
},
"campaignId": {
"description": "The unique identifier of the campaign associated with the email click data.",
"type": ["null", "integer"]
},
"itblInternal": {
"description": "Internal data related to the iterable service.",
"type": ["null", "object"],
"properties": {
"documentCreatedAt": {
"description": "The date and time when the internal document was created.",
"type": ["null", "string"],
"format": "date-time"
},
"documentUpdatedAt": {
"description": "The date and time when the internal document was last updated.",
"type": ["null", "string"],
"format": "date-time"
}
}
},
"ip": {
"description": "The IP address from where the email click was recorded.",
"type": ["null", "string"]
},
"contentId": {
"description": "The identifier of the content clicked within the email.",
"type": ["null", "integer"]
},
"userAgentDevice": {
"description": "The device information of the user agent used for the email click.",
"type": ["null", "string"]
},
"messageId": {
"description": "The unique identifier of the message that contained the email.",
"type": ["null", "string"]
},
"hrefIndex": {
"description": "The index of the href link within the email content.",
"type": ["null", "integer"]
},
"userAgent": {
"description": "The user agent of the browser or application used for the email click.",
"type": ["null", "string"]
},
"templateId": {
"description": "The identifier of the email template used in the campaign.",
"type": ["null", "integer"]
},
"url": {
"description": "The URL that was clicked within the email.",
"type": ["null", "string"]
},
"createdAt": {
"description": "The date and time when the email click event occurred.",
"type": ["null", "string"],
"format": "date-time"
},
"region": {
"description": "The region from where the email click was recorded.",
"type": ["null", "string"]
},
"email": {
"description": "The email address of the user who clicked the email link.",
"type": ["null", "string"]
},
"userId": {
"description": "The unique identifier of the user who clicked the email link.",
"type": ["null", "string"]
}
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,38 +1,48 @@
{
"properties": {
"createdAt": {
"description": "Timestamp indicating when the email complaint was created",
"type": ["null", "string"],
"format": "date-time"
},
"campaignId": {
"description": "Unique identifier for the campaign associated with the email complaint data",
"type": ["null", "integer"]
},
"itblInternal": {
"description": "Holds internal metadata related to the iterable data being accessed.",
"type": ["null", "object"],
"properties": {
"documentCreatedAt": {
"description": "Timestamp indicating when the internal document was created",
"type": ["null", "string"],
"format": "date-time"
},
"documentUpdatedAt": {
"description": "Timestamp indicating when the internal document was last updated",
"type": ["null", "string"],
"format": "date-time"
}
}
},
"messageId": {
"description": "Unique identifier for the email message associated with the complaint",
"type": ["null", "string"]
},
"templateId": {
"description": "Unique identifier for the email template used in the campaign",
"type": ["null", "integer"]
},
"email": {
"description": "Email address of the recipient who lodged the complaint",
"type": ["null", "string"]
},
"userId": {
"description": "Unique identifier for the user who lodged the email complaint",
"type": ["null", "string"]
},
"recipientState": {
"description": "State or status of the recipient associated with the complaint",
"type": ["null", "string"]
}
},
Expand Down
Loading
Loading