Skip to content

Commit 9a371e8

Browse files
author
Lucie Milan
committed
fixed mailshake
1 parent e066bd5 commit 9a371e8

13 files changed

+78
-1371
lines changed

_data/taps/schemas/mailshake/v1/mailshake-v1-foreign-keys.yml renamed to _data/taps/schemas/mailshake/v0/mailshake-v0-foreign-keys.yml

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
tap: mailshake
2-
version: '1'
2+
version: '0'
33
keys:
44
campaigns_id:
55
- table: campaigns
@@ -31,9 +31,6 @@ keys:
3131
- table: clicks
3232
keys:
3333
- parent.message.id
34-
- table: leads
35-
keys:
36-
- parent.message.id
3734
- table: opens
3835
keys:
3936
- parent.message.id
@@ -93,8 +90,6 @@ tables:
9390
foreign-key: campaign.id
9491
- key: messages.id
9592
foreign-key: campaign.id
96-
- key: messages.id
97-
foreign-key: parent.message.id
9893
- table-name: opens
9994
keys:
10095
- key: id
@@ -143,8 +138,6 @@ tables:
143138
keys:
144139
- key: campaign.id
145140
foreign-key: campaign.id
146-
- key: parent.message.id
147-
foreign-key: parent.message.id
148141
- key: recipient.id
149142
foreign-key: recipient.id
150143
- table-name: opens
@@ -185,22 +178,16 @@ tables:
185178
foreign-key: id
186179
- key: campaign.id
187180
foreign-key: messages.id
188-
- key: parent.message.id
189-
foreign-key: messages.id
190181
- table-name: clicks
191182
keys:
192183
- key: campaign.id
193184
foreign-key: campaign.id
194-
- key: parent.message.id
195-
foreign-key: parent.message.id
196185
- key: recipient.id
197186
foreign-key: recipient.id
198187
- table-name: opens
199188
keys:
200189
- key: campaign.id
201190
foreign-key: campaign.id
202-
- key: parent.message.id
203-
foreign-key: parent.message.id
204191
- key: recipient.id
205192
foreign-key: recipient.id
206193
- table-name: recipients
@@ -213,16 +200,12 @@ tables:
213200
keys:
214201
- key: campaign.id
215202
foreign-key: campaign.id
216-
- key: parent.message.id
217-
foreign-key: parent.message.id
218203
- key: recipient.id
219204
foreign-key: parent.message.id
220205
- table-name: sent_messages
221206
keys:
222207
- key: campaign.id
223208
foreign-key: campaign.id
224-
- key: parent.message.id
225-
foreign-key: message.id
226209
- key: recipient.id
227210
foreign-key: recipient.id
228211
- table-name: team_members
@@ -251,8 +234,6 @@ tables:
251234
keys:
252235
- key: campaign.id
253236
foreign-key: campaign.id
254-
- key: parent.message.id
255-
foreign-key: parent.message.id
256237
- key: recipient.id
257238
foreign-key: recipient.id
258239
- table-name: recipients
@@ -337,8 +318,6 @@ tables:
337318
keys:
338319
- key: campaign.id
339320
foreign-key: campaign.id
340-
- key: parent.message.id
341-
foreign-key: parent.message.id
342321
- key: parent.message.id
343322
foreign-key: recipient.id
344323
- table-name: opens
@@ -385,8 +364,6 @@ tables:
385364
keys:
386365
- key: campaign.id
387366
foreign-key: campaign.id
388-
- key: message.id
389-
foreign-key: parent.message.id
390367
- key: recipient.id
391368
foreign-key: recipient.id
392369
- table-name: opens

_data/taps/schemas/mailshake/v0/mailshake-v0-issues.txt

Lines changed: 0 additions & 18 deletions
This file was deleted.

_data/taps/schemas/mailshake/v0/mailshake-v0-tables.yml

Lines changed: 77 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -2,83 +2,115 @@ tap: mailshake
22
version: '0'
33
tables:
44
- name: campaigns
5-
description: ''
5+
description: 'The `{{ table.name }}` table contains info about your team''s campaigns.
6+
7+
'
68
links:
7-
singer-schema: ''
89
doc-link: ''
10+
singer-schema: https://github.com/singer-io/tap-mailshake/blob/master/tap_mailshake/schemas/campaigns.json
11+
api-method: https://api-docs.mailshake.com/?shell#List
912
table-details:
10-
replication-method: ''
11-
primary-key: ''
12-
replication-key: ''
13+
replication-method: Key-based Incremental
14+
primary-key: id
15+
replication-key: created
1316
- name: clicks
14-
description: ''
17+
description: 'The `{{ table.name }}` table contains info about recent click activity.
18+
19+
'
1520
links:
16-
singer-schema: ''
1721
doc-link: ''
22+
singer-schema: https://github.com/singer-io/tap-mailshake/blob/master/tap_mailshake/schemas/clicks.json
23+
api-method: https://api-docs.mailshake.com/?shell#Clicks
1824
table-details:
19-
replication-method: ''
20-
primary-key: ''
21-
replication-key: ''
25+
replication-method: Key-based Incremental
26+
primary-key: id
27+
replication-key: actionDate
2228
- name: leads
23-
description: ''
29+
description: 'The `{{ table.name }}` table contains info about the leads in your
30+
{{ integration.display_name }} account.
31+
32+
'
2433
links:
25-
singer-schema: ''
2634
doc-link: ''
35+
singer-schema: https://github.com/singer-io/tap-mailshake/blob/master/tap_mailshake/schemas/leads.json
36+
api-method: https://api-docs.mailshake.com/?shell#List59
2737
table-details:
28-
replication-method: ''
29-
primary-key: ''
30-
replication-key: ''
38+
replication-method: Key-based Incremental
39+
primary-key: id
40+
replication-key: created
3141
- name: opens
32-
description: ''
42+
description: 'The `{{ table.name }}` table contains info about recently opened emails.
43+
44+
'
3345
links:
34-
singer-schema: ''
3546
doc-link: ''
47+
singer-schema: https://github.com/singer-io/tap-mailshake/blob/master/tap_mailshake/schemas/opens.json
48+
api-method: https://api-docs.mailshake.com/?shell#Opens
3649
table-details:
37-
replication-method: ''
38-
primary-key: ''
39-
replication-key: ''
50+
replication-method: Key-based Incremental
51+
primary-key: id
52+
replication-key: actionDate
4053
- name: recipients
41-
description: ''
54+
description: 'The `{{ table.name }}` table contains info about the recipients in
55+
a campaign.
56+
57+
'
4258
links:
43-
singer-schema: ''
4459
doc-link: ''
60+
singer-schema: https://github.com/singer-io/tap-mailshake/blob/master/tap_mailshake/schemas/recipients.json
61+
api-method: https://api-docs.mailshake.com/?shell#List33
4562
table-details:
46-
replication-method: ''
47-
primary-key: ''
48-
replication-key: ''
63+
replication-method: Key-based Incremental
64+
primary-key: id
65+
replication-key: created
4966
- name: replies
50-
description: ''
67+
description: 'The `{{ table.name }}` table contains info about recent replies to
68+
your emails.
69+
70+
'
5171
links:
52-
singer-schema: ''
5372
doc-link: ''
73+
singer-schema: https://github.com/singer-io/tap-mailshake/blob/master/tap_mailshake/schemas/replies.json
74+
api-method: https://api-docs.mailshake.com/?shell#Replies
5475
table-details:
55-
replication-method: ''
56-
primary-key: ''
57-
replication-key: ''
76+
replication-method: Key-based Incremental
77+
primary-key: id
78+
replication-key: actionDate
5879
- name: senders
59-
description: ''
80+
description: 'The `{{ table.name }}` table contains info about your team''s senders.
81+
82+
'
6083
links:
61-
singer-schema: ''
6284
doc-link: ''
85+
singer-schema: https://github.com/singer-io/tap-mailshake/blob/master/tap_mailshake/schemas/senders.json
86+
api-method: https://api-docs.mailshake.com/?shell#List75
6387
table-details:
64-
replication-method: ''
65-
primary-key: ''
66-
replication-key: ''
88+
replication-method: Key-based Incremental
89+
primary-key: id
90+
replication-key: created
6791
- name: sent_messages
68-
description: ''
92+
description: 'The `{{ table.name }}` table contains info about recently sent emails.
93+
94+
'
6995
links:
70-
singer-schema: ''
7196
doc-link: ''
97+
singer-schema: https://github.com/singer-io/tap-mailshake/blob/master/tap_mailshake/schemas/sent_messages.json
98+
api-method: https://api-docs.mailshake.com/?shell#Sent
7299
table-details:
73-
replication-method: ''
74-
primary-key: ''
75-
replication-key: ''
100+
replication-method: Key-based Incremental
101+
primary-key: id
102+
replication-key: actionDate
76103
- name: team_members
77-
description: ''
104+
description: 'The `{{ table.name }}` table contains info about the individual members
105+
of your team.
106+
107+
'
78108
links:
79-
singer-schema: ''
80109
doc-link: ''
110+
singer-schema: https://github.com/singer-io/tap-mailshake/blob/master/tap_mailshake/schemas/team_members.json
111+
api-method: https://api-docs.mailshake.com/?shell#List-Members
81112
table-details:
82-
replication-method: ''
83-
primary-key: ''
84-
replication-key: ''
113+
replication-method: Key-based Incremental
114+
primary-key: id
115+
replication-key: teamID
116+
tap-repo-schemas: true

0 commit comments

Comments
 (0)