@transcend-io/sdk 1.0.2 → 1.1.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.d.mts +53 -37
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +99 -59
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -142,6 +142,89 @@ async function createSombraGotInstance(transcendUrl, transcendApiKey, options =
|
|
|
142
142
|
});
|
|
143
143
|
}
|
|
144
144
|
//#endregion
|
|
145
|
+
//#region src/api/withTransientRetry.ts
|
|
146
|
+
/**
|
|
147
|
+
* Transient network / platform errors that merit a retry.
|
|
148
|
+
*
|
|
149
|
+
* We keep this list short and specific to avoid masking real failures (e.g.
|
|
150
|
+
* bad payloads, auth errors, or validation errors). Matches the behaviour that
|
|
151
|
+
* was previously scoped to preference-management operations.
|
|
152
|
+
*/
|
|
153
|
+
const RETRY_TRANSIENT_MSGS = [
|
|
154
|
+
"ENOTFOUND",
|
|
155
|
+
"ECONNRESET",
|
|
156
|
+
"ETIMEDOUT",
|
|
157
|
+
"EAI_AGAIN",
|
|
158
|
+
"EPIPE",
|
|
159
|
+
"bad gateway",
|
|
160
|
+
"service unavailable",
|
|
161
|
+
"gateway time-out",
|
|
162
|
+
"gateway timeout",
|
|
163
|
+
"429",
|
|
164
|
+
"rate limit exceeded",
|
|
165
|
+
"too many requests",
|
|
166
|
+
"task timed out after",
|
|
167
|
+
"unknown request error",
|
|
168
|
+
"socket hang up"
|
|
169
|
+
].map((s) => s.toLowerCase());
|
|
170
|
+
/**
|
|
171
|
+
* Transient HTTP status codes that merit a retry. Covers rate limiting and
|
|
172
|
+
* the typical gateway / upstream classes of 5xx errors surfaced by our
|
|
173
|
+
* reverse tunnel and load balancers.
|
|
174
|
+
*/
|
|
175
|
+
const RETRY_TRANSIENT_STATUS_CODES = [
|
|
176
|
+
408,
|
|
177
|
+
425,
|
|
178
|
+
429,
|
|
179
|
+
500,
|
|
180
|
+
502,
|
|
181
|
+
503,
|
|
182
|
+
504
|
|
183
|
+
];
|
|
184
|
+
/**
|
|
185
|
+
* Default retry predicate. Matches either a known transient error message
|
|
186
|
+
* substring or a known transient HTTP status code on `got`-style errors.
|
|
187
|
+
*
|
|
188
|
+
* @param err - Thrown error
|
|
189
|
+
* @param message - Extracted human-readable message
|
|
190
|
+
* @returns True if the error should be retried
|
|
191
|
+
*/
|
|
192
|
+
function isTransientError(err, message) {
|
|
193
|
+
const lower = message.toLowerCase();
|
|
194
|
+
if (RETRY_TRANSIENT_MSGS.some((m) => lower.includes(m))) return true;
|
|
195
|
+
const maybe = err;
|
|
196
|
+
const statusCode = maybe?.response?.statusCode ?? maybe?.status ?? maybe?.statusCode;
|
|
197
|
+
return typeof statusCode === "number" && RETRY_TRANSIENT_STATUS_CODES.includes(statusCode);
|
|
198
|
+
}
|
|
199
|
+
/**
|
|
200
|
+
* Run an async function with standardized retry behaviour for transient
|
|
201
|
+
* network / gateway errors (502/503/504/429, ECONNRESET, ETIMEDOUT, etc.).
|
|
202
|
+
*
|
|
203
|
+
* Applies exponential backoff with jitter, and only retries on known-transient
|
|
204
|
+
* errors to avoid masking real client-side failures.
|
|
205
|
+
*
|
|
206
|
+
* @param name - Short name of the operation, used in logs and the final error message
|
|
207
|
+
* @param fn - Function to run; called once per attempt
|
|
208
|
+
* @param options - Retry options
|
|
209
|
+
* @returns Result of the function on the first successful attempt
|
|
210
|
+
*/
|
|
211
|
+
async function withTransientRetry(name, fn, { logger = NOOP_LOGGER, maxAttempts = 12, baseDelayMs = 250, isRetryable = isTransientError, onRetry } = {}) {
|
|
212
|
+
let attempt = 0;
|
|
213
|
+
while (true) {
|
|
214
|
+
attempt += 1;
|
|
215
|
+
try {
|
|
216
|
+
return await fn();
|
|
217
|
+
} catch (err) {
|
|
218
|
+
const msg = extractErrorMessage(err);
|
|
219
|
+
if (!(attempt < maxAttempts && isRetryable(err, msg))) throw new Error(`${name} failed after ${attempt} attempt(s): ${msg}`);
|
|
220
|
+
onRetry?.(attempt, err, msg);
|
|
221
|
+
const delay = baseDelayMs * 2 ** (attempt - 1) + Math.floor(Math.random() * baseDelayMs);
|
|
222
|
+
logger.warn(`[retry] attempt ${attempt}/${maxAttempts - 1}; backing off ${delay}ms: ${msg}`);
|
|
223
|
+
await sleepPromise(delay);
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
//#endregion
|
|
145
228
|
//#region src/data-inventory/gqls/businessEntity.ts
|
|
146
229
|
const BUSINESS_ENTITIES = gql`
|
|
147
230
|
query TranscendCliBusinessEntities($first: Int!, $offset: Int!) {
|
|
@@ -1976,48 +2059,6 @@ function checkIfPendingPreferenceUpdatesCauseConflict({ currentConsentRecord, pe
|
|
|
1976
2059
|
});
|
|
1977
2060
|
}
|
|
1978
2061
|
//#endregion
|
|
1979
|
-
//#region src/preference-management/withPreferenceRetry.ts
|
|
1980
|
-
/**
|
|
1981
|
-
* Transient network / platform errors that merit a retry.
|
|
1982
|
-
* Keep this list short and specific to avoid masking real failures.
|
|
1983
|
-
*/
|
|
1984
|
-
const RETRY_PREFERENCE_MSGS = [
|
|
1985
|
-
"ENOTFOUND",
|
|
1986
|
-
"ECONNRESET",
|
|
1987
|
-
"ETIMEDOUT",
|
|
1988
|
-
"502 Bad Gateway",
|
|
1989
|
-
"504 Gateway Time-out",
|
|
1990
|
-
"429",
|
|
1991
|
-
"Rate limit exceeded",
|
|
1992
|
-
"Task timed out after",
|
|
1993
|
-
"unknown request error"
|
|
1994
|
-
].map((s) => s.toLowerCase());
|
|
1995
|
-
/**
|
|
1996
|
-
* Run an async function with standardized retry behavior for preference operations.
|
|
1997
|
-
* Exponential backoff with jitter; only retries on known-transient messages.
|
|
1998
|
-
*
|
|
1999
|
-
* @param name - Name of the operation (for logging)
|
|
2000
|
-
* @param fn - Function to run
|
|
2001
|
-
* @param options - Retry options
|
|
2002
|
-
* @returns Result of the function
|
|
2003
|
-
*/
|
|
2004
|
-
async function withPreferenceRetry(name, fn, { logger = NOOP_LOGGER, maxAttempts = 12, baseDelayMs = 250, isRetryable = (_err, msg) => RETRY_PREFERENCE_MSGS.some((m) => msg.toLowerCase().includes(m)), onRetry }) {
|
|
2005
|
-
let attempt = 0;
|
|
2006
|
-
while (true) {
|
|
2007
|
-
attempt += 1;
|
|
2008
|
-
try {
|
|
2009
|
-
return await fn();
|
|
2010
|
-
} catch (err) {
|
|
2011
|
-
const msg = extractErrorMessage(err);
|
|
2012
|
-
if (!(attempt < maxAttempts && isRetryable(err, msg))) throw new Error(`${name} failed after ${attempt} attempt(s): ${msg}`);
|
|
2013
|
-
onRetry?.(attempt, err, msg);
|
|
2014
|
-
const delay = baseDelayMs * 2 ** (attempt - 1) + Math.floor(Math.random() * baseDelayMs);
|
|
2015
|
-
logger.warn(`[retry] attempt ${attempt}/${maxAttempts - 1}; backing off ${delay}ms: ${msg}`);
|
|
2016
|
-
await sleepPromise(delay);
|
|
2017
|
-
}
|
|
2018
|
-
}
|
|
2019
|
-
}
|
|
2020
|
-
//#endregion
|
|
2021
2062
|
//#region src/preference-management/transformPreferenceRecordToCsv.ts
|
|
2022
2063
|
/**
|
|
2023
2064
|
* Transforms the output of the consent preferences query into a CSV-friendly format.
|
|
@@ -2143,7 +2184,7 @@ async function* iterateConsentPages(sombra, partition, filter, pageSize, logger)
|
|
|
2143
2184
|
const body = { limit: pageSize };
|
|
2144
2185
|
if (filter && Object.keys(filter).length) body.filter = filter;
|
|
2145
2186
|
if (cursor) body.cursor = cursor;
|
|
2146
|
-
const { nodes, cursor: nextCursor } = decodeCodec(ConsentPreferenceResponse, await
|
|
2187
|
+
const { nodes, cursor: nextCursor } = decodeCodec(ConsentPreferenceResponse, await withTransientRetry("Preference Query", () => sombra.post(`v1/preferences/${partition}/query`, { json: body }).json(), {
|
|
2147
2188
|
logger,
|
|
2148
2189
|
onRetry: (attempt, _error, message) => {
|
|
2149
2190
|
logger.warn(`Retry attempt ${attempt} for iterateConsentPages due to error: ${message}`);
|
|
@@ -2180,7 +2221,7 @@ async function consentWindowHasAny(sombra, { partition, mode, baseFilter, afterI
|
|
|
2180
2221
|
updatedBefore: beforeISO
|
|
2181
2222
|
}
|
|
2182
2223
|
};
|
|
2183
|
-
const { nodes } = decodeCodec(ConsentPreferenceResponse, await
|
|
2224
|
+
const { nodes } = decodeCodec(ConsentPreferenceResponse, await withTransientRetry("Preference Query", () => sombra.post(`v1/preferences/${partition}/query`, { json: {
|
|
2184
2225
|
limit: 1,
|
|
2185
2226
|
filter
|
|
2186
2227
|
} }).json(), {
|
|
@@ -2397,7 +2438,7 @@ async function fetchConsentPreferences(sombra, { partition, filterBy = {}, limit
|
|
|
2397
2438
|
const body = { limit: pageSize };
|
|
2398
2439
|
if (hasFilter) body.filter = filterBy;
|
|
2399
2440
|
if (cursor) body.cursor = cursor;
|
|
2400
|
-
const { nodes, cursor: nextCursor } = decodeCodec(ConsentPreferenceResponse, await
|
|
2441
|
+
const { nodes, cursor: nextCursor } = decodeCodec(ConsentPreferenceResponse, await withTransientRetry("Preference Query", () => sombra.post(`v1/preferences/${partition}/query`, { json: body }).json(), {
|
|
2401
2442
|
logger,
|
|
2402
2443
|
onRetry: (attempt, _error, message) => {
|
|
2403
2444
|
logger.warn(`Retry attempt ${attempt} for fetchConsentPreferences due to error: ${message}`);
|
|
@@ -2426,7 +2467,7 @@ async function getPreferencesForIdentifiers(sombra, { identifiers, partitionKey,
|
|
|
2426
2467
|
const t0 = (/* @__PURE__ */ new Date()).getTime();
|
|
2427
2468
|
let total = 0;
|
|
2428
2469
|
await map(groupedIdentifiers, async (group) => {
|
|
2429
|
-
const result = decodeCodec(ConsentPreferenceResponse, await
|
|
2470
|
+
const result = decodeCodec(ConsentPreferenceResponse, await withTransientRetry("Preference Query", () => sombra.post(`v1/preferences/${partitionKey}/query`, { json: {
|
|
2430
2471
|
filter: { identifiers: group },
|
|
2431
2472
|
limit: group.length
|
|
2432
2473
|
} }).json(), {
|
|
@@ -4975,17 +5016,15 @@ async function fetchAllRequestIdentifiers(client, sombra, options) {
|
|
|
4975
5016
|
let shouldContinue = false;
|
|
4976
5017
|
if (!skipSombraCheck) await validateSombraVersion(client, { logger });
|
|
4977
5018
|
do {
|
|
4978
|
-
|
|
4979
|
-
|
|
4980
|
-
|
|
4981
|
-
|
|
4982
|
-
|
|
4983
|
-
|
|
4984
|
-
|
|
4985
|
-
|
|
4986
|
-
|
|
4987
|
-
}
|
|
4988
|
-
const { identifiers: nodes } = decodeCodec(RequestIdentifiersResponse, response);
|
|
5019
|
+
const { identifiers: nodes } = decodeCodec(RequestIdentifiersResponse, await withTransientRetry("Failed to fetch request identifiers", () => sombra.post("v1/request-identifiers", { json: {
|
|
5020
|
+
first: PAGE_SIZE$21,
|
|
5021
|
+
offset,
|
|
5022
|
+
requestId
|
|
5023
|
+
} }).json(), {
|
|
5024
|
+
logger,
|
|
5025
|
+
maxAttempts: 6,
|
|
5026
|
+
baseDelayMs: 500
|
|
5027
|
+
}));
|
|
4989
5028
|
requestIdentifiers.push(...nodes);
|
|
4990
5029
|
offset += PAGE_SIZE$21;
|
|
4991
5030
|
shouldContinue = nodes.length === PAGE_SIZE$21;
|
|
@@ -7673,7 +7712,8 @@ const AssessmentRuleWithOperands = t.type({
|
|
|
7673
7712
|
t.literal(ComparisonOperator.IsNotEqualTo),
|
|
7674
7713
|
t.literal(ComparisonOperator.IsOneOf),
|
|
7675
7714
|
t.literal(ComparisonOperator.IsNotOneOf),
|
|
7676
|
-
t.literal(ComparisonOperator.Contains)
|
|
7715
|
+
t.literal(ComparisonOperator.Contains),
|
|
7716
|
+
t.literal(ComparisonOperator.DoesNotContain)
|
|
7677
7717
|
]),
|
|
7678
7718
|
comparisonOperands: t.array(t.string)
|
|
7679
7719
|
});
|
|
@@ -8473,6 +8513,6 @@ function createMonorepoPackageDefinition(name, directory) {
|
|
|
8473
8513
|
};
|
|
8474
8514
|
}
|
|
8475
8515
|
//#endregion
|
|
8476
|
-
export { 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_DATA_FLOWS, CREATE_DATA_SILOS, CREATE_DATA_SUBJECT, CREATE_ENRICHER, CREATE_IDENTIFIER, CREATE_PROCESSING_PURPOSE_SUB_CATEGORY, ColumnIdentifierMap, ColumnMetadataMap, ColumnPurposeMap, ConsentManagerMetricBin, 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_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, PreferenceState, PreferenceUpdateMap, PurposeRowMapping, REDUCED_REQUESTS_FOR_DATA_SILO_COUNT, REMOVE_REQUEST_IDENTIFIERS, REQUEST_DATA_SILOS, REQUEST_ENRICHERS, REQUEST_FILES, REQUEST_IDENTIFIERS,
|
|
8516
|
+
export { 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_DATA_FLOWS, CREATE_DATA_SILOS, CREATE_DATA_SUBJECT, CREATE_ENRICHER, CREATE_IDENTIFIER, CREATE_PROCESSING_PURPOSE_SUB_CATEGORY, ColumnIdentifierMap, ColumnMetadataMap, ColumnPurposeMap, ConsentManagerMetricBin, 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_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, PreferenceState, PreferenceUpdateMap, 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_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, createPreferenceAccessTokens, createProcessingPurpose, createPrompt, createPromptGroup, createPromptPartial, createRepository, createSoftwareDevelopmentKit, createSombraGotInstance, createTeam, createTranscendConsentGotInstance, createVendor, deleteApiKey, deployConsentManager, fetchActiveSiloDiscoPlugin, fetchAllActionItemCollections, fetchAllActionItems, fetchAllActions, fetchAllAgentFiles, fetchAllAgentFunctions, fetchAllAgents, fetchAllApiKeys, fetchAllAssessments, fetchAllAttributeValues, fetchAllAttributes, fetchAllBusinessEntities, fetchAllCatalogs, fetchAllCodePackages, fetchAllCookies, fetchAllDataCategories, fetchAllDataFlows, fetchAllDataPoints, fetchAllDataSilos, fetchAllDataSubjects, fetchAllEnrichers, fetchAllIdentifiers, fetchAllLargeLanguageModels, fetchAllMessages, fetchAllPolicies, fetchAllPreferenceTopics, fetchAllPrivacyCenters, fetchAllProcessingActivities, fetchAllProcessingPurposes, fetchAllPromptGroups, fetchAllPromptPartials, fetchAllPromptThreads, fetchAllPrompts, fetchAllPurposes, fetchAllPurposesAndPreferences, fetchAllRepositories, fetchAllRequestAttributeKeys, fetchAllRequestEnrichers, fetchAllRequestIdentifierMetadata, fetchAllRequestIdentifiers, fetchAllSiloDiscoveryResults, fetchAllSoftwareDevelopmentKits, fetchAllSubDataPoints, fetchAllTeams, fetchAllTemplates, fetchAllUsers, fetchAllVendors, fetchAndIndexCatalogs, fetchApiKeys, fetchConsentManager, fetchConsentManagerAnalyticsData, fetchConsentManagerExperiences, fetchConsentManagerId, fetchConsentManagerTheme, fetchConsentPreferences, fetchConsentPreferencesChunked, fetchEnrichedDataSilos, fetchIdentifiersAndCreateMissing, 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, retryRequestEnricher, setResourceAttributes, syncAction, syncActionItemCollections, syncActionItems, syncAgentFiles, syncAgentFunctions, syncAgents, syncAttribute, syncBusinessEntities, syncConsentManager, syncConsentManagerExperiences, syncCookies, syncDataCategories, syncDataFlows, syncDataSiloDependencies, syncDataSubject, syncEnricher, syncIdentifier, syncIntlMessages, syncPartitions, syncPolicies, syncPrivacyCenter, syncProcessingActivities, syncProcessingPurposes, syncPromptGroups, syncPromptPartials, syncPrompts, syncRepositories, syncSoftwareDevelopmentKits, syncTeams, syncTemplate, syncVendors, transformPreferenceRecordToCsv, updateActionItem, updateActionItemCollection, updateAgentFiles, updateAgentFunctions, updateAgents, updateBusinessEntities, updateConsentManagerToLatest, updateDataCategories, updateDataFlows, updateIntlMessages, updateOrCreateCookies, updatePolicies, updateProcessingPurposes, updatePromptGroups, updatePromptPartials, updatePrompts, updateRepositories, updateSoftwareDevelopmentKits, updateTeam, updateVendors, uploadSiloDiscoveryResults, validateSombraVersion, withTransientRetry };
|
|
8477
8517
|
|
|
8478
8518
|
//# sourceMappingURL=index.mjs.map
|