Skip to content

Commit

Permalink
fixed mailshake
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucie Milan committed Nov 2, 2023
1 parent e066bd5 commit 9a371e8
Show file tree
Hide file tree
Showing 13 changed files with 78 additions and 1,371 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tap: mailshake
version: '1'
version: '0'
keys:
campaigns_id:
- table: campaigns
Expand Down Expand Up @@ -31,9 +31,6 @@ keys:
- table: clicks
keys:
- parent.message.id
- table: leads
keys:
- parent.message.id
- table: opens
keys:
- parent.message.id
Expand Down Expand Up @@ -93,8 +90,6 @@ tables:
foreign-key: campaign.id
- key: messages.id
foreign-key: campaign.id
- key: messages.id
foreign-key: parent.message.id
- table-name: opens
keys:
- key: id
Expand Down Expand Up @@ -143,8 +138,6 @@ tables:
keys:
- key: campaign.id
foreign-key: campaign.id
- key: parent.message.id
foreign-key: parent.message.id
- key: recipient.id
foreign-key: recipient.id
- table-name: opens
Expand Down Expand Up @@ -185,22 +178,16 @@ tables:
foreign-key: id
- key: campaign.id
foreign-key: messages.id
- key: parent.message.id
foreign-key: messages.id
- table-name: clicks
keys:
- key: campaign.id
foreign-key: campaign.id
- key: parent.message.id
foreign-key: parent.message.id
- key: recipient.id
foreign-key: recipient.id
- table-name: opens
keys:
- key: campaign.id
foreign-key: campaign.id
- key: parent.message.id
foreign-key: parent.message.id
- key: recipient.id
foreign-key: recipient.id
- table-name: recipients
Expand All @@ -213,16 +200,12 @@ tables:
keys:
- key: campaign.id
foreign-key: campaign.id
- key: parent.message.id
foreign-key: parent.message.id
- key: recipient.id
foreign-key: parent.message.id
- table-name: sent_messages
keys:
- key: campaign.id
foreign-key: campaign.id
- key: parent.message.id
foreign-key: message.id
- key: recipient.id
foreign-key: recipient.id
- table-name: team_members
Expand Down Expand Up @@ -251,8 +234,6 @@ tables:
keys:
- key: campaign.id
foreign-key: campaign.id
- key: parent.message.id
foreign-key: parent.message.id
- key: recipient.id
foreign-key: recipient.id
- table-name: recipients
Expand Down Expand Up @@ -337,8 +318,6 @@ tables:
keys:
- key: campaign.id
foreign-key: campaign.id
- key: parent.message.id
foreign-key: parent.message.id
- key: parent.message.id
foreign-key: recipient.id
- table-name: opens
Expand Down Expand Up @@ -385,8 +364,6 @@ tables:
keys:
- key: campaign.id
foreign-key: campaign.id
- key: message.id
foreign-key: parent.message.id
- key: recipient.id
foreign-key: recipient.id
- table-name: opens
Expand Down
18 changes: 0 additions & 18 deletions _data/taps/schemas/mailshake/v0/mailshake-v0-issues.txt

This file was deleted.

122 changes: 77 additions & 45 deletions _data/taps/schemas/mailshake/v0/mailshake-v0-tables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,83 +2,115 @@ tap: mailshake
version: '0'
tables:
- name: campaigns
description: ''
description: 'The `{{ table.name }}` table contains info about your team''s campaigns.
'
links:
singer-schema: ''
doc-link: ''
singer-schema: https://github.com/singer-io/tap-mailshake/blob/master/tap_mailshake/schemas/campaigns.json
api-method: https://api-docs.mailshake.com/?shell#List
table-details:
replication-method: ''
primary-key: ''
replication-key: ''
replication-method: Key-based Incremental
primary-key: id
replication-key: created
- name: clicks
description: ''
description: 'The `{{ table.name }}` table contains info about recent click activity.
'
links:
singer-schema: ''
doc-link: ''
singer-schema: https://github.com/singer-io/tap-mailshake/blob/master/tap_mailshake/schemas/clicks.json
api-method: https://api-docs.mailshake.com/?shell#Clicks
table-details:
replication-method: ''
primary-key: ''
replication-key: ''
replication-method: Key-based Incremental
primary-key: id
replication-key: actionDate
- name: leads
description: ''
description: 'The `{{ table.name }}` table contains info about the leads in your
{{ integration.display_name }} account.
'
links:
singer-schema: ''
doc-link: ''
singer-schema: https://github.com/singer-io/tap-mailshake/blob/master/tap_mailshake/schemas/leads.json
api-method: https://api-docs.mailshake.com/?shell#List59
table-details:
replication-method: ''
primary-key: ''
replication-key: ''
replication-method: Key-based Incremental
primary-key: id
replication-key: created
- name: opens
description: ''
description: 'The `{{ table.name }}` table contains info about recently opened emails.
'
links:
singer-schema: ''
doc-link: ''
singer-schema: https://github.com/singer-io/tap-mailshake/blob/master/tap_mailshake/schemas/opens.json
api-method: https://api-docs.mailshake.com/?shell#Opens
table-details:
replication-method: ''
primary-key: ''
replication-key: ''
replication-method: Key-based Incremental
primary-key: id
replication-key: actionDate
- name: recipients
description: ''
description: 'The `{{ table.name }}` table contains info about the recipients in
a campaign.
'
links:
singer-schema: ''
doc-link: ''
singer-schema: https://github.com/singer-io/tap-mailshake/blob/master/tap_mailshake/schemas/recipients.json
api-method: https://api-docs.mailshake.com/?shell#List33
table-details:
replication-method: ''
primary-key: ''
replication-key: ''
replication-method: Key-based Incremental
primary-key: id
replication-key: created
- name: replies
description: ''
description: 'The `{{ table.name }}` table contains info about recent replies to
your emails.
'
links:
singer-schema: ''
doc-link: ''
singer-schema: https://github.com/singer-io/tap-mailshake/blob/master/tap_mailshake/schemas/replies.json
api-method: https://api-docs.mailshake.com/?shell#Replies
table-details:
replication-method: ''
primary-key: ''
replication-key: ''
replication-method: Key-based Incremental
primary-key: id
replication-key: actionDate
- name: senders
description: ''
description: 'The `{{ table.name }}` table contains info about your team''s senders.
'
links:
singer-schema: ''
doc-link: ''
singer-schema: https://github.com/singer-io/tap-mailshake/blob/master/tap_mailshake/schemas/senders.json
api-method: https://api-docs.mailshake.com/?shell#List75
table-details:
replication-method: ''
primary-key: ''
replication-key: ''
replication-method: Key-based Incremental
primary-key: id
replication-key: created
- name: sent_messages
description: ''
description: 'The `{{ table.name }}` table contains info about recently sent emails.
'
links:
singer-schema: ''
doc-link: ''
singer-schema: https://github.com/singer-io/tap-mailshake/blob/master/tap_mailshake/schemas/sent_messages.json
api-method: https://api-docs.mailshake.com/?shell#Sent
table-details:
replication-method: ''
primary-key: ''
replication-key: ''
replication-method: Key-based Incremental
primary-key: id
replication-key: actionDate
- name: team_members
description: ''
description: 'The `{{ table.name }}` table contains info about the individual members
of your team.
'
links:
singer-schema: ''
doc-link: ''
singer-schema: https://github.com/singer-io/tap-mailshake/blob/master/tap_mailshake/schemas/team_members.json
api-method: https://api-docs.mailshake.com/?shell#List-Members
table-details:
replication-method: ''
primary-key: ''
replication-key: ''
replication-method: Key-based Incremental
primary-key: id
replication-key: teamID
tap-repo-schemas: true
Loading

0 comments on commit 9a371e8

Please sign in to comment.