From f1ae2beaf0c74f5650a705b605f5b72c1818c07e Mon Sep 17 00:00:00 2001 From: Lucie Milan Date: Thu, 19 Oct 2023 16:40:05 +0200 Subject: [PATCH] fixed closeio --- .../closeio/v1/closeio-v1-foreign-keys.yml | 104 +++++++++--------- .../schemas/closeio/v1/closeio-v1-issues.txt | 3 - 2 files changed, 52 insertions(+), 55 deletions(-) delete mode 100644 _data/taps/schemas/closeio/v1/closeio-v1-issues.txt diff --git a/_data/taps/schemas/closeio/v1/closeio-v1-foreign-keys.yml b/_data/taps/schemas/closeio/v1/closeio-v1-foreign-keys.yml index d0580cd80..3e1e1f69f 100644 --- a/_data/taps/schemas/closeio/v1/closeio-v1-foreign-keys.yml +++ b/_data/taps/schemas/closeio/v1/closeio-v1-foreign-keys.yml @@ -58,7 +58,7 @@ keys: - organization_id - table: users keys: - - organizations.id + - organizations tasks_task_id: - table: activities keys: @@ -76,7 +76,7 @@ keys: - updated_by - user_id - task_assigned_to - - users.id + - users - table: custom_fields keys: - created_by @@ -141,7 +141,7 @@ tables: foreign-key: contacts.created_by - key: task_assigned_to foreign-key: contacts.created_by - - key: users.id + - key: users foreign-key: contacts.created_by - key: created_by foreign-key: contacts.updated_by @@ -151,7 +151,7 @@ tables: foreign-key: contacts.updated_by - key: task_assigned_to foreign-key: contacts.updated_by - - key: users.id + - key: users foreign-key: contacts.updated_by - key: created_by foreign-key: created_by @@ -161,7 +161,7 @@ tables: foreign-key: created_by - key: task_assigned_to foreign-key: created_by - - key: users.id + - key: users foreign-key: created_by - key: created_by foreign-key: opportunities.created_by @@ -171,7 +171,7 @@ tables: foreign-key: opportunities.created_by - key: task_assigned_to foreign-key: opportunities.created_by - - key: users.id + - key: users foreign-key: opportunities.created_by - key: created_by foreign-key: opportunities.updated_by @@ -181,7 +181,7 @@ tables: foreign-key: opportunities.updated_by - key: task_assigned_to foreign-key: opportunities.updated_by - - key: users.id + - key: users foreign-key: opportunities.updated_by - key: created_by foreign-key: opportunities.user_id @@ -191,7 +191,7 @@ tables: foreign-key: opportunities.user_id - key: task_assigned_to foreign-key: opportunities.user_id - - key: users.id + - key: users foreign-key: opportunities.user_id - key: created_by foreign-key: tasks.assigned_to @@ -201,7 +201,7 @@ tables: foreign-key: tasks.assigned_to - key: task_assigned_to foreign-key: tasks.assigned_to - - key: users.id + - key: users foreign-key: tasks.assigned_to - key: created_by foreign-key: tasks.created_by @@ -211,7 +211,7 @@ tables: foreign-key: tasks.created_by - key: task_assigned_to foreign-key: tasks.created_by - - key: users.id + - key: users foreign-key: tasks.created_by - key: created_by foreign-key: tasks.updated_by @@ -221,7 +221,7 @@ tables: foreign-key: tasks.updated_by - key: task_assigned_to foreign-key: tasks.updated_by - - key: users.id + - key: users foreign-key: tasks.updated_by - key: created_by foreign-key: updated_by @@ -231,7 +231,7 @@ tables: foreign-key: updated_by - key: task_assigned_to foreign-key: updated_by - - key: users.id + - key: users foreign-key: updated_by - table-name: tasks keys: @@ -251,7 +251,7 @@ tables: foreign-key: assigned_to - key: task_assigned_to foreign-key: assigned_to - - key: users.id + - key: users foreign-key: assigned_to - key: created_by foreign-key: created_by @@ -261,7 +261,7 @@ tables: foreign-key: created_by - key: task_assigned_to foreign-key: created_by - - key: users.id + - key: users foreign-key: created_by - key: created_by foreign-key: updated_by @@ -271,7 +271,7 @@ tables: foreign-key: updated_by - key: task_assigned_to foreign-key: updated_by - - key: users.id + - key: users foreign-key: updated_by - table-name: event_log keys: @@ -287,7 +287,7 @@ tables: foreign-key: user_id - key: task_assigned_to foreign-key: user_id - - key: users.id + - key: users foreign-key: user_id - table-name: custom_fields keys: @@ -301,7 +301,7 @@ tables: foreign-key: created_by - key: task_assigned_to foreign-key: created_by - - key: users.id + - key: users foreign-key: created_by - key: created_by foreign-key: updated_by @@ -311,12 +311,12 @@ tables: foreign-key: updated_by - key: task_assigned_to foreign-key: updated_by - - key: users.id + - key: users foreign-key: updated_by - table-name: users keys: - key: organization_id - foreign-key: organizations.id + foreign-key: organizations - key: created_by foreign-key: id - key: updated_by @@ -325,7 +325,7 @@ tables: foreign-key: id - key: task_assigned_to foreign-key: id - - key: users.id + - key: users foreign-key: id - table-name: leads join: @@ -436,25 +436,25 @@ tables: - key: updated_by foreign-key: task_assigned_to - key: contacts.created_by - foreign-key: users.id + foreign-key: users - key: contacts.updated_by - foreign-key: users.id + foreign-key: users - key: created_by - foreign-key: users.id + foreign-key: users - key: opportunities.created_by - foreign-key: users.id + foreign-key: users - key: opportunities.updated_by - foreign-key: users.id + foreign-key: users - key: opportunities.user_id - foreign-key: users.id + foreign-key: users - key: tasks.assigned_to - foreign-key: users.id + foreign-key: users - key: tasks.created_by - foreign-key: users.id + foreign-key: users - key: tasks.updated_by - foreign-key: users.id + foreign-key: users - key: updated_by - foreign-key: users.id + foreign-key: users - table-name: tasks keys: - key: contacts.id @@ -632,13 +632,13 @@ tables: - table-name: users keys: - key: contacts.organization_id - foreign-key: organizations.id + foreign-key: organizations - key: opportunities.organization_id - foreign-key: organizations.id + foreign-key: organizations - key: organization_id - foreign-key: organizations.id + foreign-key: organizations - key: tasks.organization_id - foreign-key: organizations.id + foreign-key: organizations - key: contacts.created_by foreign-key: id - key: contacts.updated_by @@ -696,11 +696,11 @@ tables: - key: updated_by foreign-key: task_assigned_to - key: assigned_to - foreign-key: users.id + foreign-key: users - key: created_by - foreign-key: users.id + foreign-key: users - key: updated_by - foreign-key: users.id + foreign-key: users - table-name: leads keys: - key: contact_id @@ -818,7 +818,7 @@ tables: - table-name: users keys: - key: organization_id - foreign-key: organizations.id + foreign-key: organizations - key: assigned_to foreign-key: id - key: created_by @@ -842,7 +842,7 @@ tables: - key: user_id foreign-key: task_assigned_to - key: user_id - foreign-key: users.id + foreign-key: users - table-name: leads keys: - key: lead_id @@ -904,7 +904,7 @@ tables: - table-name: users keys: - key: organization_id - foreign-key: organizations.id + foreign-key: organizations - key: user_id foreign-key: id - table-name: custom_fields @@ -930,9 +930,9 @@ tables: - key: updated_by foreign-key: task_assigned_to - key: created_by - foreign-key: users.id + foreign-key: users - key: updated_by - foreign-key: users.id + foreign-key: users - table-name: event_log keys: - key: organization_id @@ -1010,7 +1010,7 @@ tables: - table-name: users keys: - key: organization_id - foreign-key: organizations.id + foreign-key: organizations - key: created_by foreign-key: id - key: updated_by @@ -1019,7 +1019,7 @@ tables: join: - table-name: activities keys: - - key: organizations.id + - key: organizations foreign-key: organization_id - key: id foreign-key: created_by @@ -1030,10 +1030,10 @@ tables: - key: id foreign-key: task_assigned_to - key: id - foreign-key: users.id + foreign-key: users - table-name: custom_fields keys: - - key: organizations.id + - key: organizations foreign-key: organization_id - key: id foreign-key: created_by @@ -1041,19 +1041,19 @@ tables: foreign-key: updated_by - table-name: event_log keys: - - key: organizations.id + - key: organizations foreign-key: organization_id - key: id foreign-key: user_id - table-name: leads keys: - - key: organizations.id + - key: organizations foreign-key: contacts.organization_id - - key: organizations.id + - key: organizations foreign-key: opportunities.organization_id - - key: organizations.id + - key: organizations foreign-key: organization_id - - key: organizations.id + - key: organizations foreign-key: tasks.organization_id - key: id foreign-key: contacts.created_by @@ -1077,7 +1077,7 @@ tables: foreign-key: updated_by - table-name: tasks keys: - - key: organizations.id + - key: organizations foreign-key: organization_id - key: id foreign-key: assigned_to diff --git a/_data/taps/schemas/closeio/v1/closeio-v1-issues.txt b/_data/taps/schemas/closeio/v1/closeio-v1-issues.txt deleted file mode 100644 index ba866e2da..000000000 --- a/_data/taps/schemas/closeio/v1/closeio-v1-issues.txt +++ /dev/null @@ -1,3 +0,0 @@ -JSON file integration_links.json ignored -Key users.id not found in _data/taps/schemas/closeio/v1/json/activities.json -Key organizations.id not found in _data/taps/schemas/closeio/v1/json/users.json