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';