From f9dfc063e33ef2ce7ccf8c116772fbb3c5de8614 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A9lanie=20Vistry?= Date: Tue, 28 Jul 2026 10:00:28 +0200 Subject: [PATCH] Updated streams --- ...ked_sms.json => clicked_text_message.json} | 0 ...iver_automated_response_text_message.json} | 0 ...on => failed_to_deliver_text_message.json} | 0 ...ived_automated_response_text_message.json} | 0 ...ed_sms.json => received_text_message.json} | 0 .../{sent_sms.json => sent_text_message.json} | 0 ...s.json => subscribed_to_text_message.json} | 0 ...cribed_to_text_message_transactional.json} | 0 .../json/unsubscribed_from_text_message.json | 202 ++++++++++++++++++ ...ribed_from_text_message_transactional.json | 202 ++++++++++++++++++ .../schemas/klaviyo/v1/klaviyo-v1-tables.yml | 68 +++--- 11 files changed, 448 insertions(+), 24 deletions(-) rename _data/taps/schemas/klaviyo/v1/json/{clicked_sms.json => clicked_text_message.json} (100%) rename _data/taps/schemas/klaviyo/v1/json/{failed_to_deliver.json => failed_to_deliver_automated_response_text_message.json} (100%) rename _data/taps/schemas/klaviyo/v1/json/{failed_to_deliver_automated_response.json => failed_to_deliver_text_message.json} (100%) rename _data/taps/schemas/klaviyo/v1/json/{received_automated_response.json => received_automated_response_text_message.json} (100%) rename _data/taps/schemas/klaviyo/v1/json/{received_sms.json => received_text_message.json} (100%) rename _data/taps/schemas/klaviyo/v1/json/{sent_sms.json => sent_text_message.json} (100%) rename _data/taps/schemas/klaviyo/v1/json/{subscribed_to_sms.json => subscribed_to_text_message.json} (100%) rename _data/taps/schemas/klaviyo/v1/json/{unsubscribed_from_sms.json => subscribed_to_text_message_transactional.json} (100%) create mode 100644 _data/taps/schemas/klaviyo/v1/json/unsubscribed_from_text_message.json create mode 100644 _data/taps/schemas/klaviyo/v1/json/unsubscribed_from_text_message_transactional.json diff --git a/_data/taps/schemas/klaviyo/v1/json/clicked_sms.json b/_data/taps/schemas/klaviyo/v1/json/clicked_text_message.json similarity index 100% rename from _data/taps/schemas/klaviyo/v1/json/clicked_sms.json rename to _data/taps/schemas/klaviyo/v1/json/clicked_text_message.json diff --git a/_data/taps/schemas/klaviyo/v1/json/failed_to_deliver.json b/_data/taps/schemas/klaviyo/v1/json/failed_to_deliver_automated_response_text_message.json similarity index 100% rename from _data/taps/schemas/klaviyo/v1/json/failed_to_deliver.json rename to _data/taps/schemas/klaviyo/v1/json/failed_to_deliver_automated_response_text_message.json diff --git a/_data/taps/schemas/klaviyo/v1/json/failed_to_deliver_automated_response.json b/_data/taps/schemas/klaviyo/v1/json/failed_to_deliver_text_message.json similarity index 100% rename from _data/taps/schemas/klaviyo/v1/json/failed_to_deliver_automated_response.json rename to _data/taps/schemas/klaviyo/v1/json/failed_to_deliver_text_message.json diff --git a/_data/taps/schemas/klaviyo/v1/json/received_automated_response.json b/_data/taps/schemas/klaviyo/v1/json/received_automated_response_text_message.json similarity index 100% rename from _data/taps/schemas/klaviyo/v1/json/received_automated_response.json rename to _data/taps/schemas/klaviyo/v1/json/received_automated_response_text_message.json diff --git a/_data/taps/schemas/klaviyo/v1/json/received_sms.json b/_data/taps/schemas/klaviyo/v1/json/received_text_message.json similarity index 100% rename from _data/taps/schemas/klaviyo/v1/json/received_sms.json rename to _data/taps/schemas/klaviyo/v1/json/received_text_message.json diff --git a/_data/taps/schemas/klaviyo/v1/json/sent_sms.json b/_data/taps/schemas/klaviyo/v1/json/sent_text_message.json similarity index 100% rename from _data/taps/schemas/klaviyo/v1/json/sent_sms.json rename to _data/taps/schemas/klaviyo/v1/json/sent_text_message.json diff --git a/_data/taps/schemas/klaviyo/v1/json/subscribed_to_sms.json b/_data/taps/schemas/klaviyo/v1/json/subscribed_to_text_message.json similarity index 100% rename from _data/taps/schemas/klaviyo/v1/json/subscribed_to_sms.json rename to _data/taps/schemas/klaviyo/v1/json/subscribed_to_text_message.json diff --git a/_data/taps/schemas/klaviyo/v1/json/unsubscribed_from_sms.json b/_data/taps/schemas/klaviyo/v1/json/subscribed_to_text_message_transactional.json similarity index 100% rename from _data/taps/schemas/klaviyo/v1/json/unsubscribed_from_sms.json rename to _data/taps/schemas/klaviyo/v1/json/subscribed_to_text_message_transactional.json diff --git a/_data/taps/schemas/klaviyo/v1/json/unsubscribed_from_text_message.json b/_data/taps/schemas/klaviyo/v1/json/unsubscribed_from_text_message.json new file mode 100644 index 000000000..921c4cc12 --- /dev/null +++ b/_data/taps/schemas/klaviyo/v1/json/unsubscribed_from_text_message.json @@ -0,0 +1,202 @@ +{ + "properties": { + "datetime": { + "type": [ + "null", + "string" + ] + }, + "event_properties": { + "properties": {}, + "type": [ + "null", + "object" + ] + }, + "id": { + "type": [ + "null", + "string" + ] + }, + "metric": { + "items": { + "properties": { + "created": { + "type": [ + "null", + "date-time" + ] + }, + "id": { + "type": [ + "null", + "string" + ] + }, + "integration": { + "properties": {}, + "type": [ + "null", + "object" + ] + }, + "name": { + "type": [ + "null", + "string" + ] + }, + "type": { + "type": [ + "null", + "string" + ] + }, + "updated": { + "type": [ + "null", + "date-time" + ] + } + }, + "type": [ + "null", + "object" + ] + }, + "type": [ + "null", + "array" + ] + }, + "profile": { + "items": { + "properties": { + "created": { + "type": [ + "null", + "date-time" + ] + }, + "email": { + "type": [ + "null", + "string" + ] + }, + "external_id": { + "type": [ + "null", + "string" + ] + }, + "first_name": { + "type": [ + "null", + "string" + ] + }, + "id": { + "type": [ + "null", + "string" + ] + }, + "image": { + "type": [ + "null", + "string" + ] + }, + "last_event_date": { + "type": [ + "null", + "date-time" + ] + }, + "last_name": { + "type": [ + "null", + "string" + ] + }, + "location": { + "properties": {}, + "type": [ + "null", + "object" + ] + }, + "organization": { + "type": [ + "null", + "string" + ] + }, + "phone_number": { + "type": [ + "null", + "string" + ] + }, + "properties": { + "properties": {}, + "type": [ + "null", + "object" + ] + }, + "title": { + "type": [ + "null", + "string" + ] + }, + "type": { + "type": [ + "null", + "string" + ] + }, + "updated": { + "type": [ + "null", + "date-time" + ] + } + }, + "type": [ + "null", + "object" + ] + }, + "type": [ + "null", + "array" + ] + }, + "timestamp": { + "type": [ + "null", + "integer" + ] + }, + "type": { + "type": [ + "null", + "string" + ] + }, + "uuid": { + "type": [ + "null", + "string" + ] + } + }, + "type": [ + "null", + "object" + ] +} \ No newline at end of file diff --git a/_data/taps/schemas/klaviyo/v1/json/unsubscribed_from_text_message_transactional.json b/_data/taps/schemas/klaviyo/v1/json/unsubscribed_from_text_message_transactional.json new file mode 100644 index 000000000..921c4cc12 --- /dev/null +++ b/_data/taps/schemas/klaviyo/v1/json/unsubscribed_from_text_message_transactional.json @@ -0,0 +1,202 @@ +{ + "properties": { + "datetime": { + "type": [ + "null", + "string" + ] + }, + "event_properties": { + "properties": {}, + "type": [ + "null", + "object" + ] + }, + "id": { + "type": [ + "null", + "string" + ] + }, + "metric": { + "items": { + "properties": { + "created": { + "type": [ + "null", + "date-time" + ] + }, + "id": { + "type": [ + "null", + "string" + ] + }, + "integration": { + "properties": {}, + "type": [ + "null", + "object" + ] + }, + "name": { + "type": [ + "null", + "string" + ] + }, + "type": { + "type": [ + "null", + "string" + ] + }, + "updated": { + "type": [ + "null", + "date-time" + ] + } + }, + "type": [ + "null", + "object" + ] + }, + "type": [ + "null", + "array" + ] + }, + "profile": { + "items": { + "properties": { + "created": { + "type": [ + "null", + "date-time" + ] + }, + "email": { + "type": [ + "null", + "string" + ] + }, + "external_id": { + "type": [ + "null", + "string" + ] + }, + "first_name": { + "type": [ + "null", + "string" + ] + }, + "id": { + "type": [ + "null", + "string" + ] + }, + "image": { + "type": [ + "null", + "string" + ] + }, + "last_event_date": { + "type": [ + "null", + "date-time" + ] + }, + "last_name": { + "type": [ + "null", + "string" + ] + }, + "location": { + "properties": {}, + "type": [ + "null", + "object" + ] + }, + "organization": { + "type": [ + "null", + "string" + ] + }, + "phone_number": { + "type": [ + "null", + "string" + ] + }, + "properties": { + "properties": {}, + "type": [ + "null", + "object" + ] + }, + "title": { + "type": [ + "null", + "string" + ] + }, + "type": { + "type": [ + "null", + "string" + ] + }, + "updated": { + "type": [ + "null", + "date-time" + ] + } + }, + "type": [ + "null", + "object" + ] + }, + "type": [ + "null", + "array" + ] + }, + "timestamp": { + "type": [ + "null", + "integer" + ] + }, + "type": { + "type": [ + "null", + "string" + ] + }, + "uuid": { + "type": [ + "null", + "string" + ] + } + }, + "type": [ + "null", + "object" + ] +} \ No newline at end of file diff --git a/_data/taps/schemas/klaviyo/v1/klaviyo-v1-tables.yml b/_data/taps/schemas/klaviyo/v1/klaviyo-v1-tables.yml index 8a2aed8c0..c5a11c4f9 100644 --- a/_data/taps/schemas/klaviyo/v1/klaviyo-v1-tables.yml +++ b/_data/taps/schemas/klaviyo/v1/klaviyo-v1-tables.yml @@ -37,13 +37,13 @@ tables: replication-method: Key-based Incremental primary-key: id replication-key: timestamp -- name: clicked_sms +- name: clicked_text_message description: 'The `{{ table.name }}` table contains metrics related to `Clicked - SMS` events. + Text Message` events. ' links: - singer-schema: https://github.com/singer-io/tap-klaviyo/blob/master/tap_klaviyo/schemas/clicked_sms.json + singer-schema: https://github.com/singer-io/tap-klaviyo/blob/master/tap_klaviyo/schemas/clicked_text_message.json api-method: https://www.klaviyo.com/docs/api/metrics table-details: replication-method: Key-based Incremental @@ -74,25 +74,25 @@ tables: replication-method: Key-based Incremental primary-key: id replication-key: timestamp -- name: failed_to_deliver +- name: failed_to_deliver_text_message description: 'The `{{ table.name }}` table contains metrics related to `Failed to - Deliver SMS` events. + Deliver Text Message` events. ' links: - singer-schema: https://github.com/singer-io/tap-klaviyo/blob/master/tap_klaviyo/schemas/failed_to_deliver.json + singer-schema: https://github.com/singer-io/tap-klaviyo/blob/master/tap_klaviyo/schemas/failed_to_deliver_text_message.json api-method: https://www.klaviyo.com/docs/api/metrics table-details: replication-method: Key-based Incremental primary-key: id replication-key: timestamp -- name: failed_to_deliver_automated_response +- name: failed_to_deliver_automated_response_text_message description: 'The `{{ table.name }}` table contains metrics related to `Failed to - Deliver Automated Response SMS` events. + Deliver Automated Response Text Message` events. ' links: - singer-schema: https://github.com/singer-io/tap-klaviyo/blob/master/tap_klaviyo/schemas/failed_to_deliver_automated_response.json + singer-schema: https://github.com/singer-io/tap-klaviyo/blob/master/tap_klaviyo/schemas/failed_to_deliver_automated_response_text_message.json api-method: https://www.klaviyo.com/docs/api/metrics table-details: replication-method: Key-based Incremental @@ -156,37 +156,37 @@ tables: replication-method: Key-based Incremental primary-key: id replication-key: timestamp -- name: received_automated_response +- name: received_automated_response_text_message description: 'The `{{ table.name }}` table contains metrics related to `Received - Automated Response SMS` events. + Automated Response Text Message` events. ' links: - singer-schema: https://github.com/singer-io/tap-klaviyo/blob/master/tap_klaviyo/schemas/received_automated_response.json + singer-schema: https://github.com/singer-io/tap-klaviyo/blob/master/tap_klaviyo/schemas/received_automated_response_text_message.json api-method: https://www.klaviyo.com/docs/api/metrics table-details: replication-method: Key-based Incremental primary-key: id replication-key: timestamp -- name: received_sms +- name: received_text_message description: 'The `{{ table.name }}` table contains metrics related to `Received - SMS` events. + Text Message` events. ' links: - singer-schema: https://github.com/singer-io/tap-klaviyo/blob/master/tap_klaviyo/schemas/received_sms.json + singer-schema: https://github.com/singer-io/tap-klaviyo/blob/master/tap_klaviyo/schemas/received_text_message.json api-method: https://www.klaviyo.com/docs/api/metrics table-details: replication-method: Key-based Incremental primary-key: id replication-key: timestamp -- name: sent_sms - description: 'The `{{ table.name }}` table contains metrics related to `Sent SMS` +- name: sent_text_message + description: 'The `{{ table.name }}` table contains metrics related to `Sent Text Message` events. ' links: - singer-schema: https://github.com/singer-io/tap-klaviyo/blob/master/tap_klaviyo/schemas/sent_sms.json + singer-schema: https://github.com/singer-io/tap-klaviyo/blob/master/tap_klaviyo/schemas/sent_text_message.json api-method: https://www.klaviyo.com/docs/api/metrics table-details: replication-method: Key-based Incremental @@ -236,21 +236,41 @@ tables: table-details: replication-method: Key-based Incremental replication-key: timestamp -- name: unsubscribed_from_sms +- name: unsubscribed_from_text_message description: The `{{ table.name }}` table contains metrics related to `Unsubscribed - from SMS` events. + from Text Messaging Marketing` events. links: - singer-schema: https://github.com/singer-io/tap-klaviyo/blob/master/tap_klaviyo/schemas/unsubscribed_from_sms.json + singer-schema: https://github.com/singer-io/tap-klaviyo/blob/master/tap_klaviyo/schemas/unsubscribed_from_text_message.json api-method: https://www.klaviyo.com/docs/api/metrics table-details: replication-method: Key-based Incremental primary-key: id replication-key: timestamp -- name: subscribed_to_sms +- name: subscribed_to_text_message description: The `{{ table.name }}` table contains metrics related to `Subscribed - from SMS` events. + to Text Messaging Marketing` events. links: - singer-schema: https://github.com/singer-io/tap-klaviyo/blob/master/tap_klaviyo/schemas/subscribed_to_sms.json + singer-schema: https://github.com/singer-io/tap-klaviyo/blob/master/tap_klaviyo/schemas/subscribed_to_text_message.json + api-method: https://www.klaviyo.com/docs/api/metrics + table-details: + replication-method: Key-based Incremental + primary-key: id + replication-key: timestamp +- name: subscribed_to_text_message_transactional + description: The `{{ table.name }}` table contains metrics related to `Subscribed + to Text Messaging Transactional` events. + links: + singer-schema: https://github.com/singer-io/tap-klaviyo/blob/master/tap_klaviyo/schemas/subscribed_to_text_message_transactional.json + api-method: https://www.klaviyo.com/docs/api/metrics + table-details: + replication-method: Key-based Incremental + primary-key: id + replication-key: timestamp +- name: unsubscribed_from_text_message_transactional + description: The `{{ table.name }}` table contains metrics related to `Unsubscribed + from Text Messaging Transactional` events. + links: + singer-schema: https://github.com/singer-io/tap-klaviyo/blob/master/tap_klaviyo/schemas/unsubscribed_from_text_message_transactional.json api-method: https://www.klaviyo.com/docs/api/metrics table-details: replication-method: Key-based Incremental