Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
689 changes: 656 additions & 33 deletions README.md

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions meltano.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ plugins:
value: '2024-02-15'
- name: start_date
value: '2000-01-01'
- name: segment_series_reports
- name: campaign_values_reports
- name: flow_values_reports
- name: flow_series_reports
- name: query_metric_aggregates_reports
loaders:
- name: target-jsonl
variant: andyh1203
Expand Down
46 changes: 46 additions & 0 deletions tap_klaviyo/schemas/campaign_values_report.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"properties": {
"report_name": {
"description": "The configured stream name for this campaign values report",
"type": [
"string",
"null"
]
},
"campaign_message_id": {
"description": "The campaign message ID for this report row",
"type": [
"string",
"null"
]
},
"campaign_id": {
"description": "The ID of the campaign",
"type": [
"string",
"null"
]
},
"send_channel": {
"description": "The campaign send channel",
"type": [
"string",
"null"
]
},
"statistic_name": {
"description": "The name of the statistic (e.g., total_members, net_members_changed)",
"type": [
"string",
"null"
]
},
"statistic_value": {
"description": "The numeric value for this statistic on this date",
"type": [
"number",
"null"
]
}
}
}
54 changes: 54 additions & 0 deletions tap_klaviyo/schemas/flow_series_report.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"properties": {
"report_name": {
"description": "The configured stream name for this flow series report",
"type": [
"string",
"null"
]
},
"date": {
"description": "The date for this statistic",
"type": [
"string",
"null"
],
"format": "date-time"
},
"flow_message_id": {
"description": "The flow message ID for this report row",
"type": [
"string",
"null"
]
},
"flow_id": {
"description": "The ID of the flow",
"type": [
"string",
"null"
]
},
"send_channel": {
"description": "The flow send channel",
"type": [
"string",
"null"
]
},
"statistic_name": {
"description": "The name of the statistic",
"type": [
"string",
"null"
]
},
"statistic_value": {
"description": "The numeric value for this statistic",
"type": [
"number",
"null"
]
}
}
}
54 changes: 54 additions & 0 deletions tap_klaviyo/schemas/flow_values_report.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"properties": {
"report_name": {
"description": "The configured stream name for this flow values report",
"type": [
"string",
"null"
]
},
"date": {
"description": "The date for this statistic",
"type": [
"string",
"null"
],
"format": "date-time"
},
"flow_message_id": {
"description": "The flow message ID for this report row",
"type": [
"string",
"null"
]
},
"flow_id": {
"description": "The ID of the flow",
"type": [
"string",
"null"
]
},
"send_channel": {
"description": "The flow send channel",
"type": [
"string",
"null"
]
},
"statistic_name": {
"description": "The name of the statistic",
"type": [
"string",
"null"
]
},
"statistic_value": {
"description": "The numeric value for this statistic",
"type": [
"number",
"null"
]
}
}
}
60 changes: 60 additions & 0 deletions tap_klaviyo/schemas/query_metric_aggregates.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"properties": {
"report_name": {
"description": "The configured stream name for this metric aggregate report",
"type": [
"string",
"null"
]
},
"metric_aggregate_id": {
"description": "The ID returned by the metric aggregates query response",
"type": [
"string",
"null"
]
},
"metric_id": {
"description": "The metric ID used in the query",
"type": [
"string",
"null"
]
},
"date": {
"description": "The date for this aggregate value when the response is time-series",
"type": [
"string",
"null"
],
"format": "date-time"
},
"dimensions": {
"description": "The ordered dimension values returned for the configured by fields",
"type": [
"array",
"null"
],
"items": {
"type": [
"string",
"null"
]
}
},
"measurement_name": {
"description": "The aggregate measurement name",
"type": [
"string",
"null"
]
},
"measurement_value": {
"description": "The aggregate value for this measurement and dimension set",
"type": [
"number",
"null"
]
}
}
}
40 changes: 40 additions & 0 deletions tap_klaviyo/schemas/segment_series_report.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"properties": {
"report_name": {
"description": "The configured stream name for this segment series report",
"type": [
"string",
"null"
]
},
"date": {
"description": "The date for this statistic",
"type": [
"string",
"null"
],
"format": "date-time"
},
"segment_id": {
"description": "The ID of the segment",
"type": [
"string",
"null"
]
},
"statistic_name": {
"description": "The name of the statistic (e.g., total_members, net_members_changed)",
"type": [
"string",
"null"
]
},
"statistic_value": {
"description": "The numeric value for this statistic on this date",
"type": [
"number",
"null"
]
}
}
}
98 changes: 98 additions & 0 deletions tap_klaviyo/schemas/segments.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
{
"properties": {
"id": {
"description": "The segment ID",
"type": [
"string",
"null"
]
},
"type": {
"description": "The segment type",
"type": [
"string",
"null"
]
},
"updated": {
"description": "Date and time when the segment was last updated",
"format": "date-time",
"type": [
"string",
"null"
]
},
"relationships": {
"description": "Relationships to other resources related to this segment",
"type": [
"object",
"null"
]
},
"links": {
"description": "Links for this segment resource",
"type": [
"object",
"null"
]
},
"attributes": {
"type": [
"object",
"null"
],
"properties": {
"name": {
"type": [
"string",
"null"
]
},
"definition": {
"type": [
"object",
"null"
]
},
"created": {
"format": "date-time",
"type": [
"string",
"null"
]
},
"updated": {
"format": "date-time",
"type": [
"string",
"null"
]
},
"is_active": {
"type": [
"boolean",
"null"
]
},
"is_processing": {
"type": [
"boolean",
"null"
]
},
"is_starred": {
"type": [
"boolean",
"null"
]
}
}
}
},
"type": "object",
"required": [
"id",
"type",
"attributes"
]
}
Loading