From dedd8764a59fe9360ae55c418f735132ec7eef98 Mon Sep 17 00:00:00 2001 From: blevine-transcend Date: Thu, 16 Jan 2025 02:57:17 +0000 Subject: [PATCH] Add Graphql call --- .../gqls/siloDiscoveryRecommendation.ts | 32 +++++-------------- src/graphql/index.ts | 1 + 2 files changed, 9 insertions(+), 24 deletions(-) diff --git a/src/graphql/gqls/siloDiscoveryRecommendation.ts b/src/graphql/gqls/siloDiscoveryRecommendation.ts index 111e36ba..6ca79ce5 100644 --- a/src/graphql/gqls/siloDiscoveryRecommendation.ts +++ b/src/graphql/gqls/siloDiscoveryRecommendation.ts @@ -1,7 +1,11 @@ import { gql } from 'graphql-request'; export const SILO_DISCOVERY_RECOMMENDATIONS = gql` - query TranscendCliVendors($first: Int!, $offset: Int!) { + query TranscendCliSiloDiscoveryRecommendations( + $first: Int + $input: SiloDiscoveryRecommendationsInput! + $filterBy: SiloDiscoveryRecommendationFiltersInput + ) { vendors( first: $first offset: $offset @@ -13,32 +17,12 @@ export const SILO_DISCOVERY_RECOMMENDATIONS = gql` ] ) { nodes { - id title - description - dataProcessingAgreementLink - contactName - contactEmail - contactPhone - address - headquarterCountry - headquarterSubDivision - websiteUrl - businessEntity { + resourceId + lastDiscoveredAt + suggestedCatalog { title } - teams { - name - } - owners { - email - } - attributeValues { - attributeKey { - name - } - name - } } } } diff --git a/src/graphql/index.ts b/src/graphql/index.ts index c41dfb1c..c5c3673c 100644 --- a/src/graphql/index.ts +++ b/src/graphql/index.ts @@ -83,3 +83,4 @@ export * from './syncAgentFiles'; export * from './syncVendors'; export * from './syncDataCategories'; export * from './syncProcessingPurposes'; +export * from './fetchAllSiloDiscoveryRecommendations';