Skip to content
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

source-mailchimp: ensure inline schemas, updated cdk, poetry (where possible) #36649

Merged
merged 14 commits into from
May 7, 2024
13 changes: 10 additions & 3 deletions airbyte-integrations/connectors/source-mailchimp/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ data:
connectorSubtype: api
connectorType: source
definitionId: b03a9f3e-22a5-11eb-adc1-0242ac120002
dockerImageTag: 2.0.2
dockerImageTag: 2.0.3
dockerRepository: airbyte/source-mailchimp
documentationUrl: https://docs.airbyte.com/integrations/sources/mailchimp
githubIssueLabel: source-mailchimp
Expand All @@ -31,7 +31,12 @@ data:
releases:
breakingChanges:
2.0.0:
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.
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.
upgradeDeadline: "2024-04-10"
scopedImpact:
- scopeType: stream
Expand All @@ -40,7 +45,9 @@ data:
message:
Version 1.0.0 introduces schema changes to all incremental streams.
A full schema refresh and data reset are required to upgrade to this version.
For more details, see our <a href='https://docs.airbyte.io/integrations/sources/mailchimp-migrations'>migration guide</a>.
For more details, see our <a
href='https://docs.airbyte.io/integrations/sources/mailchimp-migrations'>migration
guide</a>.
upgradeDeadline: "2024-01-10"
releaseStage: generally_available
suggestedStreams:
Expand Down
107 changes: 51 additions & 56 deletions airbyte-integrations/connectors/source-mailchimp/poetry.lock

Large diffs are not rendered by default.

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 = "2.0.2"
version = "2.0.3"
name = "source-mailchimp"
description = "Source implementation for Mailchimp."
authors = [ "Airbyte <contact@airbyte.io>",]
Expand All @@ -17,7 +17,7 @@ include = "source_mailchimp"

[tool.poetry.dependencies]
python = "^3.9,<3.12"
airbyte-cdk = "^0"
airbyte-cdk = "0.85.0"
pytest = "==6.2.5"

[tool.poetry.scripts]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,46 +5,59 @@
"additionalProperties": true,
"properties": {
"id": {
"description": "The unique identifier for the automation",
"type": ["null", "string"]
},
"create_time": {
"description": "The timestamp when the automation was created",
"type": ["null", "string"],
"format": "date-time",
"airbyte-type": "timestamp_with_timezone"
},
"start_time": {
"description": "The timestamp when the automation started",
"type": ["null", "string"],
"format": "date-time",
"airbyte_type": "timestamp_with_timezone"
},
"status": {
"description": "Current status of the automation",
"type": ["null", "string"]
},
"emails_sent": {
"description": "The number of emails sent as part of the automation",
"type": ["null", "number"]
},
"recipients": {
"description": "Details about the recipients of the automation",
"type": ["null", "object"],
"properties": {
"list_id": {
"description": "The ID of the recipient list",
"type": ["null", "string"]
},
"list_is_active": {
"description": "Indicates if the recipient list is active",
"type": ["null", "boolean"]
},
"list_name": {
"description": "The name of the recipient list",
"type": ["null", "string"]
},
"segment_opts": {
"description": "Options related to segmenting recipients",
"type": ["null", "object"],
"properties": {
"saved_segment_id": {
"description": "The ID of the saved segment",
"type": ["null", "number"]
},
"match": {
"description": "Matching criteria for segmenting recipients",
"type": ["null", "string"]
},
"conditions": {
"description": "Conditions for segmenting recipients",
"type": ["null", "array"],
"items": {
"type": ["null", "object"],
Expand All @@ -54,136 +67,174 @@
}
},
"store_id": {
"description": "The ID of the store associated with recipients",
"type": ["null", "string"]
}
}
},
"settings": {
"description": "Settings related to the automation",
"type": ["null", "object"],
"properties": {
"title": {
"description": "Title of the automation",
"type": ["null", "string"]
},
"from_name": {
"description": "Sender's name",
"type": ["null", "string"]
},
"reply_to": {
"description": "Email address for replies",
"type": ["null", "string"]
},
"use_conversation": {
"description": "Enable conversation tracking",
"type": ["null", "boolean"]
},
"to_name": {
"description": "Recipient's name field",
"type": ["null", "string"]
},
"authenticate": {
"description": "Indicates if authentication is set",
"type": ["null", "boolean"]
},
"auto_footer": {
"description": "Automatically add footer to emails",
"type": ["null", "boolean"]
},
"inline_css": {
"description": "Include inline CSS in emails",
"type": ["null", "boolean"]
}
}
},
"tracking": {
"description": "Tracking settings for the automation",
"type": ["null", "object"],
"properties": {
"opens": {
"description": "Open tracking status",
"type": ["null", "boolean"]
},
"html_clicks": {
"description": "HTML click tracking status",
"type": ["null", "boolean"]
},
"text_clicks": {
"description": "Text click tracking status",
"type": ["null", "boolean"]
},
"goal_tracking": {
"description": "Goal tracking setup status",
"type": ["null", "boolean"]
},
"ecomm360": {
"description": "Ecommerce tracking status",
"type": ["null", "boolean"]
},
"google_analytics": {
"description": "Google Analytics tracking status",
"type": ["null", "string"]
},
"clicktale": {
"description": "Clicktale tracking status",
"type": ["null", "string"]
},
"salesforce": {
"description": "Salesforce tracking details",
"type": ["null", "object"],
"properties": {
"campaign": {
"description": "Salesforce campaign tracking status",
"type": ["null", "boolean"]
},
"notes": {
"description": "Additional notes for Salesforce tracking",
"type": ["null", "boolean"]
}
}
},
"capsule": {
"description": "Notes related to capsule tracking",
"type": ["null", "object"],
"properties": {
"notes": {
"description": "Additional notes for capsule tracking",
"type": ["null", "boolean"]
}
}
}
}
},
"trigger_settings": {
"description": "Settings related to the triggers of the automation",
"type": ["null", "object"],
"properties": {
"workflow_type": {
"description": "Type of workflow",
"type": ["null", "string"]
},
"workflow_title": {
"description": "Title of the workflow",
"type": ["null", "string"]
},
"runtime": {
"description": "Runtime settings for the automation",
"type": ["null", "object"],
"properties": {
"days": {
"description": "Days of the week for triggering the automation",
"type": ["null", "array"],
"items": {
"type": ["null", "string"]
}
},
"hours": {
"description": "Hourly trigger settings",
"type": ["null", "object"],
"properties": {
"type": {
"description": "Type of hourly triggering",
"type": ["null", "string"]
}
}
}
}
},
"workflow_emails_count": {
"description": "Number of emails in the workflow",
"type": ["null", "number"]
}
}
},
"report_summary": {
"description": "Summary of the report generated for the automation",
"type": ["null", "object"],
"properties": {
"opens": {
"description": "The total number of opens generated",
"type": ["null", "number"]
},
"unique_opens": {
"description": "Number of unique opens recorded",
"type": ["null", "number"]
},
"open_rate": {
"description": "The open rate for the automation",
"type": ["null", "number"]
},
"clicks": {
"description": "The total number of clicks generated",
"type": ["null", "number"]
},
"subscriber_clicks": {
"description": "Number of clicks per subscriber",
"type": ["null", "number"]
},
"click_rate": {
"description": "The click-through rate for the automation",
"type": ["null", "number"]
}
}
Expand Down
Loading
Loading