@transcend-io/sdk 1.4.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -768,6 +768,20 @@ const DATA_SILOS_ENRICHED = gql`
768
768
  }
769
769
  }
770
770
  `;
771
+ /**
772
+ * Singular data silo fetch — `sombra` is available on `DataSilo` but not on
773
+ * the `DataSiloBulkPreview` nodes returned by the paginated `dataSilos` query.
774
+ */
775
+ const DATA_SILO_SOMBRA = gql`
776
+ query TranscendCliDataSiloSombra($id: String!) {
777
+ dataSilo(id: $id) {
778
+ id
779
+ sombra {
780
+ id
781
+ }
782
+ }
783
+ }
784
+ `;
771
785
  const UPDATE_DATA_SILOS = gql`
772
786
  mutation TranscendCliUpdateDataSilo($input: UpdateDataSilosInput!) {
773
787
  updateDataSilos(input: $input) {
@@ -1096,6 +1110,13 @@ async function fetchEnrichedDataSilos(client, options) {
1096
1110
  gql: DATA_SILOS_ENRICHED,
1097
1111
  logger
1098
1112
  });
1113
+ await mapSeries(silos, async (silo) => {
1114
+ const { dataSilo: { sombra } } = await makeGraphQLRequest(client, DATA_SILO_SOMBRA, {
1115
+ variables: { id: silo.id },
1116
+ logger
1117
+ });
1118
+ silo.sombra = sombra;
1119
+ });
1099
1120
  if (!skipDatapoints) await mapSeries(silos, async (silo, index) => {
1100
1121
  logger.info(`[${index + 1}/${silos.length}] Fetching data silo - ${silo.title}`);
1101
1122
  const dataPoints = await fetchAllDataPoints(client, {
@@ -1109,6 +1130,9 @@ async function fetchEnrichedDataSilos(client, options) {
1109
1130
  if (debug) logger.info(`[${index + 1}/${silos.length}] Successfully fetched datapoint for - ${silo.title}`);
1110
1131
  dataSilos.push([silo, dataPoints]);
1111
1132
  });
1133
+ else silos.forEach((silo) => {
1134
+ dataSilos.push([silo, []]);
1135
+ });
1112
1136
  logger.info(`Successfully fetched all ${silos.length} data silo configurations`);
1113
1137
  return dataSilos;
1114
1138
  }
@@ -4792,7 +4816,36 @@ const PRIVACY_CENTER = gql`
4792
4816
  useNoReplyEmailAddress
4793
4817
  useCustomEmailDomain
4794
4818
  transformAccessReportJsonToCsv
4819
+ home {
4820
+ defaultMessage
4821
+ }
4822
+ expandSideMenuByDefault
4823
+ workflowsCustomFieldsRequired
4824
+ footerLayout
4795
4825
  themeStr
4826
+ childOrganizations {
4827
+ id
4828
+ uri
4829
+ name
4830
+ }
4831
+ footerLinks {
4832
+ id
4833
+ displayOrder
4834
+ title {
4835
+ defaultMessage
4836
+ }
4837
+ url {
4838
+ defaultMessage
4839
+ }
4840
+ icon {
4841
+ id
4842
+ src
4843
+ key
4844
+ size
4845
+ mimetype
4846
+ }
4847
+ iconOnly
4848
+ }
4796
4849
  }
4797
4850
  }
4798
4851
  `;
@@ -4803,6 +4856,25 @@ const UPDATE_PRIVACY_CENTER = gql`
4803
4856
  }
4804
4857
  }
4805
4858
  `;
4859
+ const UPDATE_PRIVACY_CENTER_FOOTER_LINKS = gql`
4860
+ mutation TranscendCliUpdatePrivacyCenterFooterLinks(
4861
+ $input: UpdatePrivacyCenterFooterLinksInput!
4862
+ ) {
4863
+ updatePrivacyCenterFooterLinks(input: $input) {
4864
+ clientMutationId
4865
+ }
4866
+ }
4867
+ `;
4868
+ const DELETE_PRIVACY_CENTER_FOOTER_LINKS = gql`
4869
+ mutation TranscendCliDeletePrivacyCenterFooterLinks(
4870
+ $input: DeletePrivacyCenterFooterLinksInput!
4871
+ ) {
4872
+ deletePrivacyCenterFooterLinks(input: $input) {
4873
+ clientMutationId
4874
+ success
4875
+ }
4876
+ }
4877
+ `;
4806
4878
  //#endregion
4807
4879
  //#region src/consent/fetchPrivacyCenterId.ts
4808
4880
  /**
@@ -4890,12 +4962,21 @@ async function fetchAllPolicies(client, options = {}) {
4890
4962
  */
4891
4963
  async function fetchAllPrivacyCenters(client, options = {}) {
4892
4964
  const { logger } = options;
4893
- const { privacyCenter: { themeStr, ...rest } } = await makeGraphQLRequest(client, PRIVACY_CENTER, {
4965
+ const { privacyCenter: { themeStr, footerLinks, home, ...rest } } = await makeGraphQLRequest(client, PRIVACY_CENTER, {
4894
4966
  variables: { url: await fetchPrivacyCenterUrl(client, { logger }) },
4895
4967
  logger
4896
4968
  });
4897
4969
  return [{
4898
4970
  ...rest,
4971
+ home: home.defaultMessage,
4972
+ footerLinks: footerLinks.map((link) => ({
4973
+ id: link.id,
4974
+ displayOrder: link.displayOrder,
4975
+ title: link.title,
4976
+ url: link.url.defaultMessage,
4977
+ ...link.icon ? { icon: link.icon } : {},
4978
+ iconOnly: link.iconOnly
4979
+ })),
4899
4980
  theme: JSON.parse(themeStr)
4900
4981
  }];
4901
4982
  }
@@ -5337,6 +5418,28 @@ const DATA_FLOW_STATS = gql`
5337
5418
  }
5338
5419
  `;
5339
5420
  //#endregion
5421
+ //#region src/consent/resolveDisplayedChildOrganizationIds.ts
5422
+ /**
5423
+ * Resolve displayed child organization URIs or IDs to organization IDs.
5424
+ *
5425
+ * Each value may be either an organization ID or URI. IDs are matched first,
5426
+ * then URIs. Throws if any value cannot be resolved.
5427
+ *
5428
+ * @param childOrganizations - Child organizations available on the privacy center
5429
+ * @param urisOrIds - URIs and/or IDs from transcend.yml
5430
+ * @returns Resolved organization IDs (same order as input)
5431
+ */
5432
+ function resolveDisplayedChildOrganizationIds(childOrganizations, urisOrIds) {
5433
+ return urisOrIds.map((value) => {
5434
+ const byId = childOrganizations.find((child) => child.id === value);
5435
+ if (byId) return byId.id;
5436
+ const byUri = childOrganizations.find((child) => child.uri === value);
5437
+ if (byUri) return byUri.id;
5438
+ const available = childOrganizations.length > 0 ? childOrganizations.map((child) => `${child.uri} (${child.id})`).join(", ") : "(none)";
5439
+ throw new Error(`Failed to resolve displayed child organization URI or ID: "${value}". Available: ${available}`);
5440
+ });
5441
+ }
5442
+ //#endregion
5340
5443
  //#region src/consent/syncConsentUi.ts
5341
5444
  /**
5342
5445
  * Parse a JSON configuration string from transcend.yml
@@ -5924,6 +6027,54 @@ async function syncPolicies(client, policies, options = {}) {
5924
6027
  return !encounteredError;
5925
6028
  }
5926
6029
  //#endregion
6030
+ //#region src/consent/syncPrivacyCenterFooterLinks.ts
6031
+ /**
6032
+ * Sync privacy center footer links. Matches existing links by title, upserts
6033
+ * the provided list, and deletes any existing links omitted from the YAML.
6034
+ *
6035
+ * @param client - GraphQL client
6036
+ * @param privacyCenterId - Privacy center ID
6037
+ * @param footerLinks - Desired footer links
6038
+ * @param existingFooterLinks - Existing footer links from the privacy center
6039
+ * @param options - Options
6040
+ */
6041
+ async function syncPrivacyCenterFooterLinks(client, privacyCenterId, footerLinks, existingFooterLinks, options = {}) {
6042
+ const { logger = NOOP_LOGGER } = options;
6043
+ const notUnique = footerLinks.filter((link) => footerLinks.filter((other) => other.title === link.title).length > 1);
6044
+ if (notUnique.length > 0) throw new Error(`Failed to sync privacy center footer links as there were non-unique titles: ${[...new Set(notUnique.map(({ title }) => title))].join(", ")}`);
6045
+ const existingByTitle = keyBy(existingFooterLinks, ({ title }) => title.defaultMessage);
6046
+ const resolved = footerLinks.map((link) => {
6047
+ return {
6048
+ id: existingByTitle[link.title]?.id,
6049
+ title: link.title,
6050
+ ...link.url !== void 0 ? { url: link.url } : {},
6051
+ ...link.iconOnly !== void 0 ? { iconOnly: link.iconOnly } : {}
6052
+ };
6053
+ });
6054
+ const keptIds = new Set(resolved.map((link) => link.id).filter((id) => !!id));
6055
+ const idsToDelete = existingFooterLinks.map(({ id }) => id).filter((id) => !keptIds.has(id));
6056
+ if (idsToDelete.length > 0) {
6057
+ logger.info(`Deleting "${idsToDelete.length}" privacy center footer links...`);
6058
+ await makeGraphQLRequest(client, DELETE_PRIVACY_CENTER_FOOTER_LINKS, {
6059
+ variables: { input: {
6060
+ privacyCenterId,
6061
+ ids: idsToDelete
6062
+ } },
6063
+ logger
6064
+ });
6065
+ }
6066
+ if (resolved.length > 0) {
6067
+ logger.info(`Upserting "${resolved.length}" privacy center footer links...`);
6068
+ await makeGraphQLRequest(client, UPDATE_PRIVACY_CENTER_FOOTER_LINKS, {
6069
+ variables: { input: {
6070
+ privacyCenterId,
6071
+ footerLinks: resolved
6072
+ } },
6073
+ logger
6074
+ });
6075
+ }
6076
+ }
6077
+ //#endregion
5927
6078
  //#region src/consent/syncPrivacyCenter.ts
5928
6079
  /**
5929
6080
  * Sync the privacy center
@@ -5934,10 +6085,14 @@ async function syncPolicies(client, policies, options = {}) {
5934
6085
  * @returns Whether the privacy center was synced successfully
5935
6086
  */
5936
6087
  async function syncPrivacyCenter(client, privacyCenter, options = {}) {
5937
- const { logger = NOOP_LOGGER } = options;
6088
+ const { logger = NOOP_LOGGER, skipPublish } = options;
5938
6089
  let encounteredError = false;
5939
6090
  logger.info("Syncing privacy center...");
5940
6091
  const privacyCenterId = await fetchPrivacyCenterId(client, { logger });
6092
+ const { displayedChildOrganizationUris, footerLinks } = privacyCenter;
6093
+ const [existing] = !!displayedChildOrganizationUris || footerLinks !== void 0 ? await fetchAllPrivacyCenters(client, { logger }) : [];
6094
+ let displayedChildOrganizationIds;
6095
+ if (displayedChildOrganizationUris) displayedChildOrganizationIds = resolveDisplayedChildOrganizationIds(existing?.childOrganizations ?? [], displayedChildOrganizationUris);
5941
6096
  try {
5942
6097
  await makeGraphQLRequest(client, UPDATE_PRIVACY_CENTER, {
5943
6098
  variables: { input: {
@@ -5959,6 +6114,12 @@ async function syncPrivacyCenter(client, privacyCenter, options = {}) {
5959
6114
  showTrackingTechnologies: privacyCenter.showTrackingTechnologies,
5960
6115
  showPrivacyRequestButton: privacyCenter.showPrivacyRequestButton,
5961
6116
  isDisabled: privacyCenter.isDisabled,
6117
+ home: privacyCenter.home,
6118
+ expandSideMenuByDefault: privacyCenter.expandSideMenuByDefault,
6119
+ workflowsCustomFieldsRequired: privacyCenter.workflowsCustomFieldsRequired,
6120
+ footerLayout: privacyCenter.footerLayout,
6121
+ ...displayedChildOrganizationIds ? { displayedChildOrganizationIds } : {},
6122
+ ...skipPublish !== void 0 ? { skipPublish } : {},
5962
6123
  ...privacyCenter.theme ? {
5963
6124
  colorPalette: privacyCenter.theme.colors,
5964
6125
  componentStyles: privacyCenter.theme.componentStyles,
@@ -5967,10 +6128,11 @@ async function syncPrivacyCenter(client, privacyCenter, options = {}) {
5967
6128
  } },
5968
6129
  logger
5969
6130
  });
6131
+ if (footerLinks !== void 0) await syncPrivacyCenterFooterLinks(client, privacyCenterId, footerLinks, existing?.footerLinks ?? [], { logger });
5970
6132
  logger.info("Successfully synced privacy center!");
5971
6133
  } catch (err) {
5972
6134
  encounteredError = true;
5973
- logger.error(`Failed to create privacy center! - ${err.message}`);
6135
+ logger.error(`Failed to sync privacy center! - ${err.message}`);
5974
6136
  }
5975
6137
  return !encounteredError;
5976
6138
  }
@@ -9997,6 +10159,6 @@ function createMonorepoPackageDefinition(name, directory) {
9997
10159
  };
9998
10160
  }
9999
10161
  //#endregion
10000
- export { AIRGAP_BUNDLE_AGGREGATE_ANALYTICS, AIRGAP_BUNDLE_TIMESERIES_ANALYTICS, ASSESSMENTS, ASSESSMENT_SECTION_FIELDS, ATTRIBUTE_KEYS_REQUESTS, ATTRIBUTE_VALUE_FIELDS, AssessmentAction, AssessmentNestedRule, AssessmentRiskLogic, AssessmentRule, AssessmentRuleWithOperands, AssessmentRuleWithoutOperands, BULK_REQUEST_FILES, CHANGE_REQUEST_DATA_SILO_STATUS, CODE_PACKAGES, CONSENT_MANAGER_ANALYTICS_DATA, CONSENT_PARTITIONS, COOKIES, COOKIE_STATS, CREATE_CODE_PACKAGE, CREATE_CONSENT_EXPERIENCE, CREATE_CONSENT_MANAGER, CREATE_CONSENT_PARTITION, CREATE_CONSENT_UI_THEME, CREATE_CONSENT_UI_VARIANT, CREATE_DATA_FLOWS, CREATE_DATA_SILOS, CREATE_DATA_SUBJECT, CREATE_ENRICHER, CREATE_IDENTIFIER, CREATE_PROCESSING_PURPOSE_SUB_CATEGORY, ColumnIdentifierMap, ColumnMetadataMap, ColumnPurposeMap, ConsentPreferenceResponse, DATAPOINT_EXPORT, DATA_FLOWS, DATA_FLOW_STATS, DATA_POINTS, DATA_POINT_COUNT, DATA_SILOS, DATA_SILOS_ENRICHED, DATA_SILO_EXPORT, DATA_SUBJECTS, DELETE_COOKIES, DELETE_DATA_FLOWS, DEPLOYED_PRIVACY_CENTER_URL, DEPLOY_CONSENT_MANAGER, DeletePreferenceRecordCliCsvRow, DeletePreferenceRecordsInput, DeletePreferenceRecordsResponse, ENRICHERS, EXPERIENCES, FETCH_CONSENT_MANAGER, FETCH_CONSENT_MANAGER_ID, FETCH_CONSENT_MANAGER_THEME, FETCH_CONSENT_UI_THEMES, FETCH_CONSENT_UI_VARIANTS, FETCH_PRIVACY_CENTER_ID, FailingPreferenceUpdates, FileFormatState, FileMetadataState, IMPORT_ONE_TRUST_ASSESSMENT_FORMS, INITIALIZER, IdentifierMetadataForPreference, MetadataMapping, NEW_IDENTIFIER_TYPES, NOOP_LOGGER, OWNER_FIELDS, POLICIES, PRIVACY_CENTER, PROCESSING_PURPOSE_SUB_CATEGORIES, PURPOSES, PendingSafePreferenceUpdates, PendingWithConflictPreferenceUpdates, PreferenceOptionValueInput, PreferenceState, PreferenceTopicSyncInput, PreferenceUpdateMap, PurposeInput, PurposeRowMapping, REDUCED_REQUESTS_FOR_DATA_SILO_COUNT, REMOVE_REQUEST_IDENTIFIERS, REQUEST_DATA_SILOS, REQUEST_ENRICHERS, REQUEST_FILES, REQUEST_IDENTIFIERS, RETRY_REQUEST_DATA_SILO, RETRY_REQUEST_ENRICHER, RETRY_TRANSIENT_MSGS, RequestIdentifiersResponse, RequestUploadReceipts, SERVICE_FIELDS, SKIP_REQUEST_ENRICHER, SOMBRA_VERSION, SUB_DATA_POINTS, SUB_DATA_POINTS_COUNT, SUB_DATA_POINTS_WITH_GUESSES, SYNC_ATTRIBUTE_TYPES, SkippedPreferenceUpdates, TEAM_FIELDS, TOGGLE_CONSENT_PRECEDENCE, TOGGLE_DATA_SUBJECT, TOGGLE_TELEMETRY_PARTITION_STRATEGY, TOGGLE_UNKNOWN_COOKIE_POLICY, TOGGLE_UNKNOWN_REQUEST_POLICY, TRACKING_PURPOSE_FIELDS, UPDATE_CODE_PACKAGES, UPDATE_CONSENT_EXPERIENCE, UPDATE_CONSENT_MANAGER_DOMAINS, UPDATE_CONSENT_MANAGER_PARTITION, UPDATE_CONSENT_MANAGER_THEME, UPDATE_CONSENT_MANAGER_TO_LATEST, UPDATE_CONSENT_MANAGER_VERSION, UPDATE_CONSENT_UI_THEME, UPDATE_CONSENT_UI_VARIANT, UPDATE_DATA_FLOWS, UPDATE_DATA_SILOS, UPDATE_DATA_SUBJECT, UPDATE_ENRICHER, UPDATE_IDENTIFIER, UPDATE_LOAD_OPTIONS, UPDATE_OR_CREATE_COOKIES, UPDATE_OR_CREATE_DATA_POINT, UPDATE_POLICIES, UPDATE_PRIVACY_CENTER, UPDATE_PROCESSING_PURPOSE_SUB_CATEGORIES, addMessagesToPromptRun, assumeRole, buildConsentChunks, buildTranscendGraphQLClient, buildTranscendGraphQLClientGeneric, checkIfPendingPreferenceUpdatesAreNoOp, checkIfPendingPreferenceUpdatesCauseConflict, consentWindowHasAny, convertToDataSubjectAllowlist, convertToDataSubjectBlockList, createActionItemCollection, createActionItems, createAgent, createAgentFile, createAgentFunction, createApiKey, createBusinessEntity, createDataCategory, createDataFlows, createDataSubject, createMonorepoPackageDefinition, createOrUpdatePreferenceOptionValues, createPreferenceAccessTokens, createProcessingPurpose, createPrompt, createPromptGroup, createPromptPartial, createRepository, createSoftwareDevelopmentKit, createSombraGotInstance, createTeam, createTranscendConsentGotInstance, createVendor, deleteApiKey, deployConsentManager, fetchActiveSiloDiscoPlugin, fetchAirgapBundleAggregateAnalytics, fetchAirgapBundleTimeseriesAnalytics, fetchAllActionItemCollections, fetchAllActionItems, fetchAllActions, fetchAllAgentFiles, fetchAllAgentFunctions, fetchAllAgents, fetchAllApiKeys, fetchAllAssessments, fetchAllAttributeValues, fetchAllAttributes, fetchAllBusinessEntities, fetchAllCatalogs, fetchAllCodePackages, fetchAllCookies, fetchAllDataCategories, fetchAllDataFlows, fetchAllDataPoints, fetchAllDataSilos, fetchAllDataSubjects, fetchAllEnrichers, fetchAllIdentifiers, fetchAllLargeLanguageModels, fetchAllMessages, fetchAllPolicies, fetchAllPreferenceOptionValues, fetchAllPreferenceTopics, fetchAllPrivacyCenters, fetchAllProcessingActivities, fetchAllProcessingPurposes, fetchAllPromptGroups, fetchAllPromptPartials, fetchAllPromptThreads, fetchAllPrompts, fetchAllPurposes, fetchAllPurposesAndPreferences, fetchAllRepositories, fetchAllRequestAttributeKeys, fetchAllRequestEnrichers, fetchAllRequestIdentifierMetadata, fetchAllRequestIdentifiers, fetchAllSiloDiscoveryResults, fetchAllSoftwareDevelopmentKits, fetchAllSubDataPoints, fetchAllTeams, fetchAllTemplates, fetchAllUsers, fetchAllVendors, fetchAllWorkflowConfigs, fetchAndIndexCatalogs, fetchApiKeys, fetchConsentManager, fetchConsentManagerAnalyticsData, fetchConsentManagerExperiences, fetchConsentManagerId, fetchConsentManagerTheme, fetchConsentPreferences, fetchConsentPreferencesChunked, fetchConsentThemes, fetchConsentVariants, fetchEnrichedDataSilos, fetchIdentifiersAndCreateMissing, fetchParentOrganizationTeams, fetchPartitions, fetchPrivacyCenterId, fetchPrivacyCenterUrl, fetchPromptsWithVariables, fetchRequestDataSilo, fetchRequestDataSilos, fetchRequestDataSilosCount, fetchRequestFilesForRequest, findEarliestDayWithData, findLatestDayWithData, formatAttributeValues, formatRegions, getBoundsFromConsentFilter, getComparisonTimeForRecord, getPreferenceIdentifiersFromRow, getPreferenceMetadataFromRow, getPreferenceUpdatesFromRow, getPreferencesForIdentifiers, getUniquePreferenceIdentifierNamesFromRow, isTransientError, iterateConsentPages, loadReferenceData, loginUser, makeGraphQLRequest, parseAssessmentDisplayLogic, parseAssessmentRiskLogic, pickConsentChunkMode, reportPromptRun, resolveParentTeamIdsByName, resolveWorkflowConfigMatch, retryRequestEnricher, setResourceAttributes, syncAction, syncActionItemCollections, syncActionItems, syncAgentFiles, syncAgentFunctions, syncAgents, syncAttribute, syncBusinessEntities, syncConsentManager, syncConsentManagerExperiences, syncConsentUiThemes, syncConsentUiVariants, syncCookies, syncDataCategories, syncDataFlows, syncDataSiloDependencies, syncDataSubject, syncEnricher, syncIdentifier, syncIntlMessages, syncPartitions, syncPolicies, syncPreferenceOptionValues, syncPreferenceTopics, syncPrivacyCenter, syncProcessingActivities, syncProcessingPurposes, syncPromptGroups, syncPromptPartials, syncPrompts, syncPurposes, syncRepositories, syncSoftwareDevelopmentKits, syncTeams, syncTemplate, syncVendors, syncWorkflowConfigs, transformPreferenceRecordToCsv, updateActionItem, updateActionItemCollection, updateAgentFiles, updateAgentFunctions, updateAgents, updateBusinessEntities, updateConsentManagerToLatest, updateDataCategories, updateDataFlows, updateIntlMessages, updateOrCreateCookies, updatePolicies, updateProcessingPurposes, updatePromptGroups, updatePromptPartials, updatePrompts, updateRepositories, updateSoftwareDevelopmentKits, updateTeam, updateVendors, uploadSiloDiscoveryResults, validateSombraVersion, withTransientRetry, workflowConfigInputLabel, workflowConfigMatchKey, workflowRegionListKey };
10162
+ export { AIRGAP_BUNDLE_AGGREGATE_ANALYTICS, AIRGAP_BUNDLE_TIMESERIES_ANALYTICS, ASSESSMENTS, ASSESSMENT_SECTION_FIELDS, ATTRIBUTE_KEYS_REQUESTS, ATTRIBUTE_VALUE_FIELDS, AssessmentAction, AssessmentNestedRule, AssessmentRiskLogic, AssessmentRule, AssessmentRuleWithOperands, AssessmentRuleWithoutOperands, BULK_REQUEST_FILES, CHANGE_REQUEST_DATA_SILO_STATUS, CODE_PACKAGES, CONSENT_MANAGER_ANALYTICS_DATA, CONSENT_PARTITIONS, COOKIES, COOKIE_STATS, CREATE_CODE_PACKAGE, CREATE_CONSENT_EXPERIENCE, CREATE_CONSENT_MANAGER, CREATE_CONSENT_PARTITION, CREATE_CONSENT_UI_THEME, CREATE_CONSENT_UI_VARIANT, CREATE_DATA_FLOWS, CREATE_DATA_SILOS, CREATE_DATA_SUBJECT, CREATE_ENRICHER, CREATE_IDENTIFIER, CREATE_PROCESSING_PURPOSE_SUB_CATEGORY, ColumnIdentifierMap, ColumnMetadataMap, ColumnPurposeMap, ConsentPreferenceResponse, DATAPOINT_EXPORT, DATA_FLOWS, DATA_FLOW_STATS, DATA_POINTS, DATA_POINT_COUNT, DATA_SILOS, DATA_SILOS_ENRICHED, DATA_SILO_EXPORT, DATA_SILO_SOMBRA, DATA_SUBJECTS, DELETE_COOKIES, DELETE_DATA_FLOWS, DELETE_PRIVACY_CENTER_FOOTER_LINKS, DEPLOYED_PRIVACY_CENTER_URL, DEPLOY_CONSENT_MANAGER, DeletePreferenceRecordCliCsvRow, DeletePreferenceRecordsInput, DeletePreferenceRecordsResponse, ENRICHERS, EXPERIENCES, FETCH_CONSENT_MANAGER, FETCH_CONSENT_MANAGER_ID, FETCH_CONSENT_MANAGER_THEME, FETCH_CONSENT_UI_THEMES, FETCH_CONSENT_UI_VARIANTS, FETCH_PRIVACY_CENTER_ID, FailingPreferenceUpdates, FileFormatState, FileMetadataState, IMPORT_ONE_TRUST_ASSESSMENT_FORMS, INITIALIZER, IdentifierMetadataForPreference, MetadataMapping, NEW_IDENTIFIER_TYPES, NOOP_LOGGER, OWNER_FIELDS, POLICIES, PRIVACY_CENTER, PROCESSING_PURPOSE_SUB_CATEGORIES, PURPOSES, PendingSafePreferenceUpdates, PendingWithConflictPreferenceUpdates, PreferenceOptionValueInput, PreferenceState, PreferenceTopicSyncInput, PreferenceUpdateMap, PurposeInput, PurposeRowMapping, REDUCED_REQUESTS_FOR_DATA_SILO_COUNT, REMOVE_REQUEST_IDENTIFIERS, REQUEST_DATA_SILOS, REQUEST_ENRICHERS, REQUEST_FILES, REQUEST_IDENTIFIERS, RETRY_REQUEST_DATA_SILO, RETRY_REQUEST_ENRICHER, RETRY_TRANSIENT_MSGS, RequestIdentifiersResponse, RequestUploadReceipts, SERVICE_FIELDS, SKIP_REQUEST_ENRICHER, SOMBRA_VERSION, SUB_DATA_POINTS, SUB_DATA_POINTS_COUNT, SUB_DATA_POINTS_WITH_GUESSES, SYNC_ATTRIBUTE_TYPES, SkippedPreferenceUpdates, TEAM_FIELDS, TOGGLE_CONSENT_PRECEDENCE, TOGGLE_DATA_SUBJECT, TOGGLE_TELEMETRY_PARTITION_STRATEGY, TOGGLE_UNKNOWN_COOKIE_POLICY, TOGGLE_UNKNOWN_REQUEST_POLICY, TRACKING_PURPOSE_FIELDS, UPDATE_CODE_PACKAGES, UPDATE_CONSENT_EXPERIENCE, UPDATE_CONSENT_MANAGER_DOMAINS, UPDATE_CONSENT_MANAGER_PARTITION, UPDATE_CONSENT_MANAGER_THEME, UPDATE_CONSENT_MANAGER_TO_LATEST, UPDATE_CONSENT_MANAGER_VERSION, UPDATE_CONSENT_UI_THEME, UPDATE_CONSENT_UI_VARIANT, UPDATE_DATA_FLOWS, UPDATE_DATA_SILOS, UPDATE_DATA_SUBJECT, UPDATE_ENRICHER, UPDATE_IDENTIFIER, UPDATE_LOAD_OPTIONS, UPDATE_OR_CREATE_COOKIES, UPDATE_OR_CREATE_DATA_POINT, UPDATE_POLICIES, UPDATE_PRIVACY_CENTER, UPDATE_PRIVACY_CENTER_FOOTER_LINKS, UPDATE_PROCESSING_PURPOSE_SUB_CATEGORIES, addMessagesToPromptRun, assumeRole, buildConsentChunks, buildTranscendGraphQLClient, buildTranscendGraphQLClientGeneric, checkIfPendingPreferenceUpdatesAreNoOp, checkIfPendingPreferenceUpdatesCauseConflict, consentWindowHasAny, convertToDataSubjectAllowlist, convertToDataSubjectBlockList, createActionItemCollection, createActionItems, createAgent, createAgentFile, createAgentFunction, createApiKey, createBusinessEntity, createDataCategory, createDataFlows, createDataSubject, createMonorepoPackageDefinition, createOrUpdatePreferenceOptionValues, createPreferenceAccessTokens, createProcessingPurpose, createPrompt, createPromptGroup, createPromptPartial, createRepository, createSoftwareDevelopmentKit, createSombraGotInstance, createTeam, createTranscendConsentGotInstance, createVendor, deleteApiKey, deployConsentManager, fetchActiveSiloDiscoPlugin, fetchAirgapBundleAggregateAnalytics, fetchAirgapBundleTimeseriesAnalytics, fetchAllActionItemCollections, fetchAllActionItems, fetchAllActions, fetchAllAgentFiles, fetchAllAgentFunctions, fetchAllAgents, fetchAllApiKeys, fetchAllAssessments, fetchAllAttributeValues, fetchAllAttributes, fetchAllBusinessEntities, fetchAllCatalogs, fetchAllCodePackages, fetchAllCookies, fetchAllDataCategories, fetchAllDataFlows, fetchAllDataPoints, fetchAllDataSilos, fetchAllDataSubjects, fetchAllEnrichers, fetchAllIdentifiers, fetchAllLargeLanguageModels, fetchAllMessages, fetchAllPolicies, fetchAllPreferenceOptionValues, fetchAllPreferenceTopics, fetchAllPrivacyCenters, fetchAllProcessingActivities, fetchAllProcessingPurposes, fetchAllPromptGroups, fetchAllPromptPartials, fetchAllPromptThreads, fetchAllPrompts, fetchAllPurposes, fetchAllPurposesAndPreferences, fetchAllRepositories, fetchAllRequestAttributeKeys, fetchAllRequestEnrichers, fetchAllRequestIdentifierMetadata, fetchAllRequestIdentifiers, fetchAllSiloDiscoveryResults, fetchAllSoftwareDevelopmentKits, fetchAllSubDataPoints, fetchAllTeams, fetchAllTemplates, fetchAllUsers, fetchAllVendors, fetchAllWorkflowConfigs, fetchAndIndexCatalogs, fetchApiKeys, fetchConsentManager, fetchConsentManagerAnalyticsData, fetchConsentManagerExperiences, fetchConsentManagerId, fetchConsentManagerTheme, fetchConsentPreferences, fetchConsentPreferencesChunked, fetchConsentThemes, fetchConsentVariants, fetchEnrichedDataSilos, fetchIdentifiersAndCreateMissing, fetchParentOrganizationTeams, fetchPartitions, fetchPrivacyCenterId, fetchPrivacyCenterUrl, fetchPromptsWithVariables, fetchRequestDataSilo, fetchRequestDataSilos, fetchRequestDataSilosCount, fetchRequestFilesForRequest, findEarliestDayWithData, findLatestDayWithData, formatAttributeValues, formatRegions, getBoundsFromConsentFilter, getComparisonTimeForRecord, getPreferenceIdentifiersFromRow, getPreferenceMetadataFromRow, getPreferenceUpdatesFromRow, getPreferencesForIdentifiers, getUniquePreferenceIdentifierNamesFromRow, isTransientError, iterateConsentPages, loadReferenceData, loginUser, makeGraphQLRequest, parseAssessmentDisplayLogic, parseAssessmentRiskLogic, pickConsentChunkMode, reportPromptRun, resolveDisplayedChildOrganizationIds, resolveParentTeamIdsByName, resolveWorkflowConfigMatch, retryRequestEnricher, setResourceAttributes, syncAction, syncActionItemCollections, syncActionItems, syncAgentFiles, syncAgentFunctions, syncAgents, syncAttribute, syncBusinessEntities, syncConsentManager, syncConsentManagerExperiences, syncConsentUiThemes, syncConsentUiVariants, syncCookies, syncDataCategories, syncDataFlows, syncDataSiloDependencies, syncDataSubject, syncEnricher, syncIdentifier, syncIntlMessages, syncPartitions, syncPolicies, syncPreferenceOptionValues, syncPreferenceTopics, syncPrivacyCenter, syncPrivacyCenterFooterLinks, syncProcessingActivities, syncProcessingPurposes, syncPromptGroups, syncPromptPartials, syncPrompts, syncPurposes, syncRepositories, syncSoftwareDevelopmentKits, syncTeams, syncTemplate, syncVendors, syncWorkflowConfigs, transformPreferenceRecordToCsv, updateActionItem, updateActionItemCollection, updateAgentFiles, updateAgentFunctions, updateAgents, updateBusinessEntities, updateConsentManagerToLatest, updateDataCategories, updateDataFlows, updateIntlMessages, updateOrCreateCookies, updatePolicies, updateProcessingPurposes, updatePromptGroups, updatePromptPartials, updatePrompts, updateRepositories, updateSoftwareDevelopmentKits, updateTeam, updateVendors, uploadSiloDiscoveryResults, validateSombraVersion, withTransientRetry, workflowConfigInputLabel, workflowConfigMatchKey, workflowRegionListKey };
10001
10163
 
10002
10164
  //# sourceMappingURL=index.mjs.map