Skip to content

Commit b92b3d9

Browse files
bleonardlazebnyi
andauthored
source-iterable: ensure inline schemas, updated cdk, poetry (where possible) (#36645)
Co-authored-by: Serhii Lazebnyi <[email protected]>
1 parent a63c0d5 commit b92b3d9

22 files changed

+345
-19
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ data:
1010
connectorSubtype: api
1111
connectorType: source
1212
definitionId: 2e875208-0c0b-4ee4-9e92-1cb3156ea799
13-
dockerImageTag: 0.5.0
13+
dockerImageTag: 0.5.1
1414
dockerRepository: airbyte/source-iterable
1515
documentationUrl: https://docs.airbyte.com/integrations/sources/iterable
1616
githubIssueLabel: source-iterable

airbyte-integrations/connectors/source-iterable/poetry.lock

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

airbyte-integrations/connectors/source-iterable/pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = [ "poetry-core>=1.0.0",]
33
build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
6-
version = "0.5.0"
6+
version = "0.5.1"
77
name = "source-iterable"
88
description = "Source implementation for Iterable."
99
authors = [ "Airbyte <[email protected]>",]
@@ -18,7 +18,7 @@ include = "source_iterable"
1818
[tool.poetry.dependencies]
1919
python = "^3.9,<3.12"
2020
pendulum = "==2.1.2"
21-
airbyte-cdk = "^0"
21+
airbyte-cdk = "0.80.0"
2222
requests = "==2.31.0"
2323
python-dateutil = "==2.8.2"
2424

airbyte-integrations/connectors/source-iterable/source_iterable/schemas/campaigns.json

+18
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,78 @@
11
{
22
"properties": {
33
"id": {
4+
"description": "The unique identifier of the campaign",
45
"type": ["null", "integer"]
56
},
67
"createdAt": {
8+
"description": "The timestamp when the campaign was created",
79
"type": ["null", "integer"]
810
},
911
"updatedAt": {
12+
"description": "The timestamp when the campaign was last updated",
1013
"type": ["null", "integer"]
1114
},
1215
"startAt": {
16+
"description": "The timestamp when the campaign will start",
1317
"type": ["null", "integer"]
1418
},
1519
"endedAt": {
20+
"description": "The timestamp when the campaign ended",
1621
"type": ["null", "integer"]
1722
},
1823
"name": {
24+
"description": "The name of the campaign",
1925
"type": ["null", "string"]
2026
},
2127
"templateId": {
28+
"description": "The ID of the template used for the campaign",
2229
"type": ["null", "integer"]
2330
},
2431
"messageMedium": {
32+
"description": "The medium used to deliver the campaign message (e.g., email, SMS)",
2533
"type": ["null", "string"]
2634
},
2735
"createdByUserId": {
36+
"description": "The ID of the user who created the campaign",
2837
"type": ["null", "string"]
2938
},
3039
"updatedByUserId": {
40+
"description": "The ID of the user who last updated the campaign",
3141
"type": ["null", "string"]
3242
},
3343
"campaignState": {
44+
"description": "The current state of the campaign (e.g., draft, active, paused)",
3445
"type": ["null", "string"]
3546
},
3647
"listIds": {
48+
"description": "List of IDs of the lists targeted by the campaign",
3749
"type": ["null", "array"],
3850
"items": {}
3951
},
4052
"suppressionListIds": {
53+
"description": "List of IDs of suppression lists for the campaign",
4154
"type": ["null", "array"],
4255
"items": {}
4356
},
4457
"sendSize": {
58+
"description": "The size of the audience targeted by the campaign",
4559
"type": ["null", "number"]
4660
},
4761
"recurringCampaignId": {
62+
"description": "If the campaign is recurring, the ID of the parent recurring campaign",
4863
"type": ["null", "number"]
4964
},
5065
"workflowId": {
66+
"description": "The ID of the workflow associated with the campaign",
5167
"type": ["null", "number"]
5268
},
5369
"labels": {
70+
"description": "List of labels associated with the campaign",
5471
"type": ["null", "array"],
5572
"items": {}
5673
},
5774
"type": {
75+
"description": "The type of campaign (e.g., one-time, recurring)",
5876
"type": ["null", "string"]
5977
}
6078
},

airbyte-integrations/connectors/source-iterable/source_iterable/schemas/campaigns_metrics.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"properties": {
33
"data": {
4+
"description": "Contains the campaign metrics data",
45
"type": ["null", "object"]
56
}
67
},

airbyte-integrations/connectors/source-iterable/source_iterable/schemas/channels.json

+4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
{
22
"properties": {
33
"id": {
4+
"description": "The unique identifier of the channel.",
45
"type": ["null", "number"]
56
},
67
"name": {
8+
"description": "The name or title of the channel.",
79
"type": ["null", "string"]
810
},
911
"channelType": {
12+
"description": "The type of channel, such as email, SMS, or push notification.",
1013
"type": ["null", "string"]
1114
},
1215
"messageMedium": {
16+
"description": "The medium used to deliver messages through this channel, such as text, image, or video.",
1317
"type": ["null", "string"]
1418
}
1519
},

airbyte-integrations/connectors/source-iterable/source_iterable/schemas/email_bounce.json

+10
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,48 @@
11
{
22
"properties": {
33
"createdAt": {
4+
"description": "The date and time when the email bounce data was created.",
45
"type": ["null", "string"],
56
"format": "date-time"
67
},
78
"campaignId": {
9+
"description": "The unique identifier of the campaign associated with the email bounce data.",
810
"type": ["null", "integer"]
911
},
1012
"itblInternal": {
13+
"description": "Internal information related to Iterable.",
1114
"type": ["null", "object"],
1215
"properties": {
1316
"documentCreatedAt": {
17+
"description": "The date and time when the internal document for Iterable was created.",
1418
"type": ["null", "string"],
1519
"format": "date-time"
1620
},
1721
"documentUpdatedAt": {
22+
"description": "The date and time when the internal document for Iterable was last updated.",
1823
"type": ["null", "string"],
1924
"format": "date-time"
2025
}
2126
}
2227
},
2328
"messageId": {
29+
"description": "The unique identifier of the message associated with the email bounce data.",
2430
"type": ["null", "string"]
2531
},
2632
"templateId": {
33+
"description": "The unique identifier of the email template associated with the bounce data.",
2734
"type": ["null", "integer"]
2835
},
2936
"email": {
37+
"description": "The email address that encountered a bounce.",
3038
"type": ["null", "string"]
3139
},
3240
"userId": {
41+
"description": "The unique identifier of the user associated with the bounced email address.",
3342
"type": ["null", "string"]
3443
},
3544
"recipientState": {
45+
"description": "The state of the recipient email address at the time of the bounce (e.g., active, inactive).",
3646
"type": ["null", "string"]
3747
}
3848
},

airbyte-integrations/connectors/source-iterable/source_iterable/schemas/email_click.json

+18
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,80 @@
11
{
22
"properties": {
33
"country": {
4+
"description": "The country from where the email click was recorded.",
45
"type": ["null", "string"]
56
},
67
"city": {
8+
"description": "The city from where the email click was recorded.",
79
"type": ["null", "string"]
810
},
911
"campaignId": {
12+
"description": "The unique identifier of the campaign associated with the email click data.",
1013
"type": ["null", "integer"]
1114
},
1215
"itblInternal": {
16+
"description": "Internal data related to the iterable service.",
1317
"type": ["null", "object"],
1418
"properties": {
1519
"documentCreatedAt": {
20+
"description": "The date and time when the internal document was created.",
1621
"type": ["null", "string"],
1722
"format": "date-time"
1823
},
1924
"documentUpdatedAt": {
25+
"description": "The date and time when the internal document was last updated.",
2026
"type": ["null", "string"],
2127
"format": "date-time"
2228
}
2329
}
2430
},
2531
"ip": {
32+
"description": "The IP address from where the email click was recorded.",
2633
"type": ["null", "string"]
2734
},
2835
"contentId": {
36+
"description": "The identifier of the content clicked within the email.",
2937
"type": ["null", "integer"]
3038
},
3139
"userAgentDevice": {
40+
"description": "The device information of the user agent used for the email click.",
3241
"type": ["null", "string"]
3342
},
3443
"messageId": {
44+
"description": "The unique identifier of the message that contained the email.",
3545
"type": ["null", "string"]
3646
},
3747
"hrefIndex": {
48+
"description": "The index of the href link within the email content.",
3849
"type": ["null", "integer"]
3950
},
4051
"userAgent": {
52+
"description": "The user agent of the browser or application used for the email click.",
4153
"type": ["null", "string"]
4254
},
4355
"templateId": {
56+
"description": "The identifier of the email template used in the campaign.",
4457
"type": ["null", "integer"]
4558
},
4659
"url": {
60+
"description": "The URL that was clicked within the email.",
4761
"type": ["null", "string"]
4862
},
4963
"createdAt": {
64+
"description": "The date and time when the email click event occurred.",
5065
"type": ["null", "string"],
5166
"format": "date-time"
5267
},
5368
"region": {
69+
"description": "The region from where the email click was recorded.",
5470
"type": ["null", "string"]
5571
},
5672
"email": {
73+
"description": "The email address of the user who clicked the email link.",
5774
"type": ["null", "string"]
5875
},
5976
"userId": {
77+
"description": "The unique identifier of the user who clicked the email link.",
6078
"type": ["null", "string"]
6179
}
6280
},

airbyte-integrations/connectors/source-iterable/source_iterable/schemas/email_complaint.json

+10
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,48 @@
11
{
22
"properties": {
33
"createdAt": {
4+
"description": "Timestamp indicating when the email complaint was created",
45
"type": ["null", "string"],
56
"format": "date-time"
67
},
78
"campaignId": {
9+
"description": "Unique identifier for the campaign associated with the email complaint data",
810
"type": ["null", "integer"]
911
},
1012
"itblInternal": {
13+
"description": "Holds internal metadata related to the iterable data being accessed.",
1114
"type": ["null", "object"],
1215
"properties": {
1316
"documentCreatedAt": {
17+
"description": "Timestamp indicating when the internal document was created",
1418
"type": ["null", "string"],
1519
"format": "date-time"
1620
},
1721
"documentUpdatedAt": {
22+
"description": "Timestamp indicating when the internal document was last updated",
1823
"type": ["null", "string"],
1924
"format": "date-time"
2025
}
2126
}
2227
},
2328
"messageId": {
29+
"description": "Unique identifier for the email message associated with the complaint",
2430
"type": ["null", "string"]
2531
},
2632
"templateId": {
33+
"description": "Unique identifier for the email template used in the campaign",
2734
"type": ["null", "integer"]
2835
},
2936
"email": {
37+
"description": "Email address of the recipient who lodged the complaint",
3038
"type": ["null", "string"]
3139
},
3240
"userId": {
41+
"description": "Unique identifier for the user who lodged the email complaint",
3342
"type": ["null", "string"]
3443
},
3544
"recipientState": {
45+
"description": "State or status of the recipient associated with the complaint",
3646
"type": ["null", "string"]
3747
}
3848
},

0 commit comments

Comments
 (0)