Skip to content

Commit c5633b6

Browse files
bleonardlazebnyi
andauthored
source-mailchimp: ensure inline schemas, updated cdk, poetry (where possible) (#36649)
Co-authored-by: Serhii Lazebnyi <[email protected]> Co-authored-by: Serhii Lazebnyi <[email protected]>
1 parent 2c5a99a commit c5633b6

File tree

16 files changed

+721
-543
lines changed

16 files changed

+721
-543
lines changed

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

+10-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ data:
1111
connectorSubtype: api
1212
connectorType: source
1313
definitionId: b03a9f3e-22a5-11eb-adc1-0242ac120002
14-
dockerImageTag: 2.0.2
14+
dockerImageTag: 2.0.3
1515
dockerRepository: airbyte/source-mailchimp
1616
documentationUrl: https://docs.airbyte.com/integrations/sources/mailchimp
1717
githubIssueLabel: source-mailchimp
@@ -31,7 +31,12 @@ data:
3131
releases:
3232
breakingChanges:
3333
2.0.0:
34-
message: The source Mailchimp connector is being migrated from the Python CDK to our declarative low-code CDK. Due to changes in primary key for streams `Segment Members` and `List Members`, this migration constitutes a breaking change. After updating, please reset your source before resuming syncs. For more information, see our migration documentation for source Mailchimp.
34+
message:
35+
The source Mailchimp connector is being migrated from the Python
36+
CDK to our declarative low-code CDK. Due to changes in primary key for streams
37+
`Segment Members` and `List Members`, this migration constitutes a breaking
38+
change. After updating, please reset your source before resuming syncs.
39+
For more information, see our migration documentation for source Mailchimp.
3540
upgradeDeadline: "2024-04-10"
3641
scopedImpact:
3742
- scopeType: stream
@@ -40,7 +45,9 @@ data:
4045
message:
4146
Version 1.0.0 introduces schema changes to all incremental streams.
4247
A full schema refresh and data reset are required to upgrade to this version.
43-
For more details, see our <a href='https://docs.airbyte.io/integrations/sources/mailchimp-migrations'>migration guide</a>.
48+
For more details, see our <a
49+
href='https://docs.airbyte.io/integrations/sources/mailchimp-migrations'>migration
50+
guide</a>.
4451
upgradeDeadline: "2024-01-10"
4552
releaseStage: generally_available
4653
suggestedStreams:

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

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

airbyte-integrations/connectors/source-mailchimp/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 = "2.0.2"
6+
version = "2.0.3"
77
name = "source-mailchimp"
88
description = "Source implementation for Mailchimp."
99
authors = [ "Airbyte <[email protected]>",]
@@ -17,7 +17,7 @@ include = "source_mailchimp"
1717

1818
[tool.poetry.dependencies]
1919
python = "^3.9,<3.12"
20-
airbyte-cdk = "^0"
20+
airbyte-cdk = "0.85.0"
2121
pytest = "==6.2.5"
2222

2323
[tool.poetry.scripts]

airbyte-integrations/connectors/source-mailchimp/source_mailchimp/schemas/automations.json

+51
Original file line numberDiff line numberDiff line change
@@ -5,46 +5,59 @@
55
"additionalProperties": true,
66
"properties": {
77
"id": {
8+
"description": "The unique identifier for the automation",
89
"type": ["null", "string"]
910
},
1011
"create_time": {
12+
"description": "The timestamp when the automation was created",
1113
"type": ["null", "string"],
1214
"format": "date-time",
1315
"airbyte-type": "timestamp_with_timezone"
1416
},
1517
"start_time": {
18+
"description": "The timestamp when the automation started",
1619
"type": ["null", "string"],
1720
"format": "date-time",
1821
"airbyte_type": "timestamp_with_timezone"
1922
},
2023
"status": {
24+
"description": "Current status of the automation",
2125
"type": ["null", "string"]
2226
},
2327
"emails_sent": {
28+
"description": "The number of emails sent as part of the automation",
2429
"type": ["null", "number"]
2530
},
2631
"recipients": {
32+
"description": "Details about the recipients of the automation",
2733
"type": ["null", "object"],
2834
"properties": {
2935
"list_id": {
36+
"description": "The ID of the recipient list",
3037
"type": ["null", "string"]
3138
},
3239
"list_is_active": {
40+
"description": "Indicates if the recipient list is active",
3341
"type": ["null", "boolean"]
3442
},
3543
"list_name": {
44+
"description": "The name of the recipient list",
3645
"type": ["null", "string"]
3746
},
3847
"segment_opts": {
48+
"description": "Options related to segmenting recipients",
3949
"type": ["null", "object"],
4050
"properties": {
4151
"saved_segment_id": {
52+
"description": "The ID of the saved segment",
4253
"type": ["null", "number"]
4354
},
4455
"match": {
56+
"description": "Matching criteria for segmenting recipients",
4557
"type": ["null", "string"]
4658
},
4759
"conditions": {
60+
"description": "Conditions for segmenting recipients",
4861
"type": ["null", "array"],
4962
"items": {
5063
"type": ["null", "object"],
@@ -54,136 +67,174 @@
5467
}
5568
},
5669
"store_id": {
70+
"description": "The ID of the store associated with recipients",
5771
"type": ["null", "string"]
5872
}
5973
}
6074
},
6175
"settings": {
76+
"description": "Settings related to the automation",
6277
"type": ["null", "object"],
6378
"properties": {
6479
"title": {
80+
"description": "Title of the automation",
6581
"type": ["null", "string"]
6682
},
6783
"from_name": {
84+
"description": "Sender's name",
6885
"type": ["null", "string"]
6986
},
7087
"reply_to": {
88+
"description": "Email address for replies",
7189
"type": ["null", "string"]
7290
},
7391
"use_conversation": {
92+
"description": "Enable conversation tracking",
7493
"type": ["null", "boolean"]
7594
},
7695
"to_name": {
96+
"description": "Recipient's name field",
7797
"type": ["null", "string"]
7898
},
7999
"authenticate": {
100+
"description": "Indicates if authentication is set",
80101
"type": ["null", "boolean"]
81102
},
82103
"auto_footer": {
104+
"description": "Automatically add footer to emails",
83105
"type": ["null", "boolean"]
84106
},
85107
"inline_css": {
108+
"description": "Include inline CSS in emails",
86109
"type": ["null", "boolean"]
87110
}
88111
}
89112
},
90113
"tracking": {
114+
"description": "Tracking settings for the automation",
91115
"type": ["null", "object"],
92116
"properties": {
93117
"opens": {
118+
"description": "Open tracking status",
94119
"type": ["null", "boolean"]
95120
},
96121
"html_clicks": {
122+
"description": "HTML click tracking status",
97123
"type": ["null", "boolean"]
98124
},
99125
"text_clicks": {
126+
"description": "Text click tracking status",
100127
"type": ["null", "boolean"]
101128
},
102129
"goal_tracking": {
130+
"description": "Goal tracking setup status",
103131
"type": ["null", "boolean"]
104132
},
105133
"ecomm360": {
134+
"description": "Ecommerce tracking status",
106135
"type": ["null", "boolean"]
107136
},
108137
"google_analytics": {
138+
"description": "Google Analytics tracking status",
109139
"type": ["null", "string"]
110140
},
111141
"clicktale": {
142+
"description": "Clicktale tracking status",
112143
"type": ["null", "string"]
113144
},
114145
"salesforce": {
146+
"description": "Salesforce tracking details",
115147
"type": ["null", "object"],
116148
"properties": {
117149
"campaign": {
150+
"description": "Salesforce campaign tracking status",
118151
"type": ["null", "boolean"]
119152
},
120153
"notes": {
154+
"description": "Additional notes for Salesforce tracking",
121155
"type": ["null", "boolean"]
122156
}
123157
}
124158
},
125159
"capsule": {
160+
"description": "Notes related to capsule tracking",
126161
"type": ["null", "object"],
127162
"properties": {
128163
"notes": {
164+
"description": "Additional notes for capsule tracking",
129165
"type": ["null", "boolean"]
130166
}
131167
}
132168
}
133169
}
134170
},
135171
"trigger_settings": {
172+
"description": "Settings related to the triggers of the automation",
136173
"type": ["null", "object"],
137174
"properties": {
138175
"workflow_type": {
176+
"description": "Type of workflow",
139177
"type": ["null", "string"]
140178
},
141179
"workflow_title": {
180+
"description": "Title of the workflow",
142181
"type": ["null", "string"]
143182
},
144183
"runtime": {
184+
"description": "Runtime settings for the automation",
145185
"type": ["null", "object"],
146186
"properties": {
147187
"days": {
188+
"description": "Days of the week for triggering the automation",
148189
"type": ["null", "array"],
149190
"items": {
150191
"type": ["null", "string"]
151192
}
152193
},
153194
"hours": {
195+
"description": "Hourly trigger settings",
154196
"type": ["null", "object"],
155197
"properties": {
156198
"type": {
199+
"description": "Type of hourly triggering",
157200
"type": ["null", "string"]
158201
}
159202
}
160203
}
161204
}
162205
},
163206
"workflow_emails_count": {
207+
"description": "Number of emails in the workflow",
164208
"type": ["null", "number"]
165209
}
166210
}
167211
},
168212
"report_summary": {
213+
"description": "Summary of the report generated for the automation",
169214
"type": ["null", "object"],
170215
"properties": {
171216
"opens": {
217+
"description": "The total number of opens generated",
172218
"type": ["null", "number"]
173219
},
174220
"unique_opens": {
221+
"description": "Number of unique opens recorded",
175222
"type": ["null", "number"]
176223
},
177224
"open_rate": {
225+
"description": "The open rate for the automation",
178226
"type": ["null", "number"]
179227
},
180228
"clicks": {
229+
"description": "The total number of clicks generated",
181230
"type": ["null", "number"]
182231
},
183232
"subscriber_clicks": {
233+
"description": "Number of clicks per subscriber",
184234
"type": ["null", "number"]
185235
},
186236
"click_rate": {
237+
"description": "The click-through rate for the automation",
187238
"type": ["null", "number"]
188239
}
189240
}

0 commit comments

Comments
 (0)