Skip to content

Commit

Permalink
fixed eloqua
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucie Milan committed Oct 23, 2023
1 parent 8882881 commit 2a71140
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 259 deletions.
137 changes: 23 additions & 114 deletions _data/taps/schemas/eloqua/v1/eloqua-v1-foreign-keys.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ keys:
contacts_ContactId:
- table: contacts
keys:
- id
- Id
- table: activity_bounceback
keys:
- ContactId
Expand Down Expand Up @@ -106,14 +106,14 @@ keys:
keys:
- processingSteps.emailId
_emailFooterId:
- table: email_groups
- table: emailGroups
keys:
- emailFooterId
- table: emails
keys:
- emailFooterId
_emailHeaderId:
- table: email_groups
- table: emailGroups
keys:
- emailHeaderId
- table: emails
Expand All @@ -138,9 +138,6 @@ keys:
- table: forms
keys:
- id
- table: emails
keys:
- forms.id
_:
- table: assets
keys:
Expand All @@ -158,10 +155,6 @@ keys:
- dynamicContents.updatedBy
- fieldMerges.createdBy
- fieldMerges.updatedBy
- forms.createdBy
- forms.updatedBy
- forms.elements.createdBy
- forms.elements.updatedBy
- hyperlinks.createdBy
- hyperlinks.updatedBy
- images.createdBy
Expand Down Expand Up @@ -266,22 +259,6 @@ tables:
foreign-key: fieldMerges.updatedBy
- key: updatedBy
foreign-key: fieldMerges.updatedBy
- key: createdBy
foreign-key: forms.createdBy
- key: updatedBy
foreign-key: forms.createdBy
- key: createdBy
foreign-key: forms.updatedBy
- key: updatedBy
foreign-key: forms.updatedBy
- key: createdBy
foreign-key: forms.elements.createdBy
- key: updatedBy
foreign-key: forms.elements.createdBy
- key: createdBy
foreign-key: forms.elements.updatedBy
- key: updatedBy
foreign-key: forms.elements.updatedBy
- key: createdBy
foreign-key: hyperlinks.createdBy
- key: updatedBy
Expand Down Expand Up @@ -383,7 +360,7 @@ tables:
- table-name: contacts
keys:
- key: ContactId
foreign-key: id
foreign-key: Id
- table-name: visitors
keys:
- key: ContactId
Expand Down Expand Up @@ -471,7 +448,7 @@ tables:
- table-name: contacts
keys:
- key: ContactId
foreign-key: id
foreign-key: Id
- table-name: visitors
keys:
- key: ContactId
Expand Down Expand Up @@ -561,7 +538,7 @@ tables:
- table-name: contacts
keys:
- key: ContactId
foreign-key: id
foreign-key: Id
- table-name: visitors
keys:
- key: ContactId
Expand Down Expand Up @@ -645,7 +622,7 @@ tables:
- table-name: contacts
keys:
- key: ContactId
foreign-key: id
foreign-key: Id
- table-name: visitors
keys:
- key: ContactId
Expand Down Expand Up @@ -733,7 +710,7 @@ tables:
- table-name: contacts
keys:
- key: ContactId
foreign-key: id
foreign-key: Id
- table-name: visitors
keys:
- key: ContactId
Expand Down Expand Up @@ -823,7 +800,7 @@ tables:
- table-name: contacts
keys:
- key: ContactId
foreign-key: id
foreign-key: Id
- table-name: visitors
keys:
- key: ContactId
Expand Down Expand Up @@ -907,7 +884,7 @@ tables:
- table-name: contacts
keys:
- key: ContactId
foreign-key: id
foreign-key: Id
- table-name: visitors
keys:
- key: ContactId
Expand Down Expand Up @@ -989,7 +966,7 @@ tables:
- table-name: contacts
keys:
- key: ContactId
foreign-key: id
foreign-key: Id
- table-name: visitors
keys:
- key: ContactId
Expand Down Expand Up @@ -1126,30 +1103,6 @@ tables:
foreign-key: fieldMerges.updatedBy
- key: runAsUserId
foreign-key: fieldMerges.updatedBy
- key: createdBy
foreign-key: forms.createdBy
- key: updatedBy
foreign-key: forms.createdBy
- key: runAsUserId
foreign-key: forms.createdBy
- key: createdBy
foreign-key: forms.updatedBy
- key: updatedBy
foreign-key: forms.updatedBy
- key: runAsUserId
foreign-key: forms.updatedBy
- key: createdBy
foreign-key: forms.elements.createdBy
- key: updatedBy
foreign-key: forms.elements.createdBy
- key: runAsUserId
foreign-key: forms.elements.createdBy
- key: createdBy
foreign-key: forms.elements.updatedBy
- key: updatedBy
foreign-key: forms.elements.updatedBy
- key: runAsUserId
foreign-key: forms.elements.updatedBy
- key: createdBy
foreign-key: hyperlinks.createdBy
- key: updatedBy
Expand Down Expand Up @@ -1230,8 +1183,6 @@ tables:
foreign-key: hyperlinks.folderId
- key: folderId
foreign-key: images.folderId
- key: id
foreign-key: forms.id
- table-name: assets
keys:
- key: folderId
Expand All @@ -1240,46 +1191,46 @@ tables:
join:
- table-name: activity_bounceback
keys:
- key: id
- key: Id
foreign-key: ContactId
- table-name: activity_email_clickthrough
keys:
- key: id
- key: Id
foreign-key: ContactId
- table-name: activity_email_open
keys:
- key: id
- key: Id
foreign-key: ContactId
- table-name: activity_email_send
keys:
- key: id
- key: Id
foreign-key: ContactId
- table-name: activity_form_submit
keys:
- key: id
- key: Id
foreign-key: ContactId
- table-name: activity_page_view
keys:
- key: id
- key: Id
foreign-key: ContactId
- table-name: activity_subscribe
keys:
- key: id
- key: Id
foreign-key: ContactId
- table-name: activity_unsubscribe
keys:
- key: id
- key: Id
foreign-key: ContactId
- table-name: visitors
keys:
- key: id
- key: Id
foreign-key: contactId
- table-name: visitors
join:
- table-name: contacts
keys:
- key: contactId
foreign-key: id
foreign-key: Id
- table-name: activity_bounceback
keys:
- key: contactId
Expand Down Expand Up @@ -1332,9 +1283,7 @@ tables:
foreign-key: folderId
- key: images.folderId
foreign-key: folderId
- key: forms.id
foreign-key: id
- table-name: email_groups
- table-name: emailGroups
keys:
- key: emailFooterId
foreign-key: emailFooterId
Expand All @@ -1358,14 +1307,6 @@ tables:
foreign-key: createdBy
- key: fieldMerges.updatedBy
foreign-key: createdBy
- key: forms.createdBy
foreign-key: createdBy
- key: forms.updatedBy
foreign-key: createdBy
- key: forms.elements.createdBy
foreign-key: createdBy
- key: forms.elements.updatedBy
foreign-key: createdBy
- key: hyperlinks.createdBy
foreign-key: createdBy
- key: hyperlinks.updatedBy
Expand All @@ -1386,14 +1327,6 @@ tables:
foreign-key: updatedBy
- key: fieldMerges.updatedBy
foreign-key: updatedBy
- key: forms.createdBy
foreign-key: updatedBy
- key: forms.updatedBy
foreign-key: updatedBy
- key: forms.elements.createdBy
foreign-key: updatedBy
- key: forms.elements.updatedBy
foreign-key: updatedBy
- key: hyperlinks.createdBy
foreign-key: updatedBy
- key: hyperlinks.updatedBy
Expand Down Expand Up @@ -1422,14 +1355,6 @@ tables:
foreign-key: createdBy
- key: fieldMerges.updatedBy
foreign-key: createdBy
- key: forms.createdBy
foreign-key: createdBy
- key: forms.updatedBy
foreign-key: createdBy
- key: forms.elements.createdBy
foreign-key: createdBy
- key: forms.elements.updatedBy
foreign-key: createdBy
- key: hyperlinks.createdBy
foreign-key: createdBy
- key: hyperlinks.updatedBy
Expand All @@ -1450,14 +1375,6 @@ tables:
foreign-key: updatedBy
- key: fieldMerges.updatedBy
foreign-key: updatedBy
- key: forms.createdBy
foreign-key: updatedBy
- key: forms.updatedBy
foreign-key: updatedBy
- key: forms.elements.createdBy
foreign-key: updatedBy
- key: forms.elements.updatedBy
foreign-key: updatedBy
- key: hyperlinks.createdBy
foreign-key: updatedBy
- key: hyperlinks.updatedBy
Expand All @@ -1478,14 +1395,6 @@ tables:
foreign-key: runAsUserId
- key: fieldMerges.updatedBy
foreign-key: runAsUserId
- key: forms.createdBy
foreign-key: runAsUserId
- key: forms.updatedBy
foreign-key: runAsUserId
- key: forms.elements.createdBy
foreign-key: runAsUserId
- key: forms.elements.updatedBy
foreign-key: runAsUserId
- key: hyperlinks.createdBy
foreign-key: runAsUserId
- key: hyperlinks.updatedBy
Expand All @@ -1496,7 +1405,7 @@ tables:
foreign-key: runAsUserId
- key: updatedBy
foreign-key: runAsUserId
- table-name: email_groups
- table-name: emailGroups
join:
- table-name: emails
keys:
Expand Down
9 changes: 0 additions & 9 deletions _data/taps/schemas/eloqua/v1/eloqua-v1-issues.txt

This file was deleted.

14 changes: 2 additions & 12 deletions _data/taps/schemas/eloqua/v1/eloqua-v1-tables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ tables:
primary-key: Id
replication-key: UpdatedAt
status: not_found
- name: Custom Objects
- name: custom_objects
description: 'For each custom object in your {{ integration.display_name }} account,
Stitch will display a table as available for selection. The name of the table
will be the normalized name of the object, using snake case (spaces replaced with
Expand Down Expand Up @@ -278,7 +278,7 @@ tables:
replication-method: Key-based Incremental
primary-key: id
replication-key: updatedAt
- name: email_groups
- name: emailGroups
description: 'The `{{ table.name }}` table contains details about the email groups
in your {{ integration.display_name }} account.
Expand All @@ -295,7 +295,6 @@ tables:
replication-method: Key-based Incremental
primary-key: id
replication-key: updatedAt
status: not_found
- name: forms
description: 'The `{{ table.name }}` table contains info about the forms in your
{{ integration.display_name }} account.
Expand Down Expand Up @@ -333,12 +332,3 @@ tables:
replication-method: Key-based Incremental
primary-key: id
replication-key: V_LastVisitDateAndTime
- name: emailGroups
description: ''
links:
singer-schema: ''
doc-link: ''
table-details:
replication-method: ''
primary-key: ''
replication-key: ''
Loading

0 comments on commit 2a71140

Please sign in to comment.