@transcend-io/sdk 1.4.0 → 1.6.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 +358 -65
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +859 -403
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -2,7 +2,7 @@ import { Logger } from "@transcend-io/utils";
|
|
|
2
2
|
import { GraphQLClient, RequestDocument, Variables } from "graphql-request";
|
|
3
3
|
import { Got } from "got";
|
|
4
4
|
import { DocumentNode } from "graphql";
|
|
5
|
-
import { ActionItemCode, ActionItemPriorityOverride, AirgapBundleAnalyticsBinInterval, AirgapBundleAnalyticsDimension, AirgapBundleAnalyticsMetric, AssessmentFormStatus, AssessmentQuestionSubType, AssessmentQuestionType, AssessmentSyncColumn, AssessmentSyncModel, AttributeKeyType, AttributeSupportedResourceType, BrowserTimeZone, ChatCompletionRole, CodePackageType, CollectDataSubjectRegions, ConfidenceLabel, ConsentBundleType, ConsentManagerMetricBin, ConsentPrecedenceOption, ConsentThemeInput, ConsentTrackerSource, ConsentTrackerStatus, ConsentUiUserFlow, ConsentVariantInput, Controllership, DataCategoryType, DataFlowScope, DataProtectionImpactAssessmentStatus, DefaultConsentOption, EnricherType, IdentifierType, IsoCountryCode, IsoCountrySubdivisionCode, LargeLanguageModelClient, LogicOperator, OrderDirection, PreferenceQueryResponseItem, PreferenceStoreAuthLevel, PreferenceStoreIdentifier, PreferenceStorePurposeResponse, PreferenceTopicType, PreflightRequestStatus, PrivacyCenterThemePartial, ProcessingPurpose, PromptAVendorEmailCompletionLinkType, PromptAVendorEmailSendType, PromptFilePurpose, PromptResponseFormat, PromptRunProductArea, PromptStatus, QueueStatus, RegionDetectionMethod, RegionsOperator, RequestAction, RequestActionObjectResolver, RequestDataSiloStatus, RequestEnricherStatus, RequestStatus, RetentionScheduleOperation, RetentionScheduleType, RetentionType, ScopeName, SignedIabAgreementOption, SombraStandardScope, SubDataPointDataSubCategoryGuessStatus, TelemetryPartitionStrategy, ThemeConfiguration, TranscendProduct, UIConfiguration, UiVariantStatus, UnknownRequestPolicy, WorkflowConfigType, WorkflowConfigVisibility } from "@transcend-io/privacy-types";
|
|
5
|
+
import { ActionItemCode, ActionItemPriorityOverride, AirgapBundleAnalyticsBinInterval, AirgapBundleAnalyticsDimension, AirgapBundleAnalyticsMetric, AssessmentFormStatus, AssessmentQuestionSubType, AssessmentQuestionType, AssessmentSyncColumn, AssessmentSyncModel, AttributeKeyType, AttributeSupportedResourceType, BrowserTimeZone, ChatCompletionRole, CodePackageType, CollectDataSubjectRegions, ConfidenceLabel, ConsentBundleType, ConsentManagerMetricBin, ConsentPrecedenceOption, ConsentThemeInput, ConsentTrackerSource, ConsentTrackerStatus, ConsentUiUserFlow, ConsentVariantInput, Controllership, DataCategoryType, DataFlowScope, DataProtectionImpactAssessmentStatus, DefaultConsentOption, EnricherType, IdentifierType, IsoCountryCode, IsoCountrySubdivisionCode, LargeLanguageModelClient, LogicOperator, OrderDirection, PolicyType, PreferenceQueryResponseItem, PreferenceStoreAuthLevel, PreferenceStoreIdentifier, PreferenceStorePurposeResponse, PreferenceTopicType, PreflightRequestStatus, PrivacyCenterFooterLayout, PrivacyCenterThemePartial, ProcessingPurpose, PromptAVendorEmailCompletionLinkType, PromptAVendorEmailSendType, PromptFilePurpose, PromptResponseFormat, PromptRunProductArea, PromptStatus, QueueStatus, RegionDetectionMethod, RegionsOperator, RequestAction, RequestActionObjectResolver, RequestDataSiloStatus, RequestEnricherStatus, RequestStatus, RetentionScheduleOperation, RetentionScheduleType, RetentionType, ScopeName, SignedIabAgreementOption, SombraStandardScope, SubDataPointDataSubCategoryGuessStatus, TelemetryPartitionStrategy, ThemeConfiguration, TranscendProduct, UIConfiguration, UiVariantStatus, UnknownRequestPolicy, WorkflowConfigType, WorkflowConfigVisibility } from "@transcend-io/privacy-types";
|
|
6
6
|
import * as t from "io-ts";
|
|
7
7
|
import { BrowserLanguage, InitialViewState, OnConsentExpiry, UserPrivacySignalEnum } from "@transcend-io/airgap.js-types";
|
|
8
8
|
import { LocaleValue } from "@transcend-io/internationalization";
|
|
@@ -694,6 +694,12 @@ interface DataSiloEnriched {
|
|
|
694
694
|
businessEntities: {
|
|
695
695
|
/** Title of business entity */title: string;
|
|
696
696
|
}[];
|
|
697
|
+
/**
|
|
698
|
+
* Configured Sombra instance that processes this data silo
|
|
699
|
+
*/
|
|
700
|
+
sombra?: {
|
|
701
|
+
/** Sombra instance ID */id: string;
|
|
702
|
+
} | null;
|
|
697
703
|
}
|
|
698
704
|
/**
|
|
699
705
|
* Fetch all dataSilos with additional metadata
|
|
@@ -727,6 +733,11 @@ declare const DATAPOINT_EXPORT: string;
|
|
|
727
733
|
declare const DATA_SILOS: string;
|
|
728
734
|
declare const DATA_SILO_EXPORT: string;
|
|
729
735
|
declare const DATA_SILOS_ENRICHED: string;
|
|
736
|
+
/**
|
|
737
|
+
* Singular data silo fetch — `sombra` is available on `DataSilo` but not on
|
|
738
|
+
* the `DataSiloBulkPreview` nodes returned by the paginated `dataSilos` query.
|
|
739
|
+
*/
|
|
740
|
+
declare const DATA_SILO_SOMBRA: string;
|
|
730
741
|
declare const UPDATE_DATA_SILOS: string;
|
|
731
742
|
declare const CREATE_DATA_SILOS: string;
|
|
732
743
|
//#endregion
|
|
@@ -41233,6 +41244,8 @@ interface Policy {
|
|
|
41233
41244
|
title: {
|
|
41234
41245
|
/** Default message */defaultMessage: string;
|
|
41235
41246
|
};
|
|
41247
|
+
/** Policy type */
|
|
41248
|
+
type: PolicyType;
|
|
41236
41249
|
/** Disabled locales */
|
|
41237
41250
|
disabledLocales: LocaleValue[];
|
|
41238
41251
|
/** Versions */
|
|
@@ -41254,6 +41267,46 @@ declare function fetchAllPolicies(client: GraphQLClient, options?: {
|
|
|
41254
41267
|
}): Promise<Policy[]>;
|
|
41255
41268
|
//#endregion
|
|
41256
41269
|
//#region src/consent/fetchAllPrivacyCenters.d.ts
|
|
41270
|
+
interface PrivacyCenterChildOrganization {
|
|
41271
|
+
/** Organization ID */
|
|
41272
|
+
id: string;
|
|
41273
|
+
/** Organization URI */
|
|
41274
|
+
uri: string;
|
|
41275
|
+
/** Organization name */
|
|
41276
|
+
name: string;
|
|
41277
|
+
}
|
|
41278
|
+
interface PrivacyCenterFooterLinkIcon {
|
|
41279
|
+
/** Asset file ID */
|
|
41280
|
+
id: string;
|
|
41281
|
+
/** Public URL where the asset can be downloaded */
|
|
41282
|
+
src: string;
|
|
41283
|
+
/** Storage key for the asset */
|
|
41284
|
+
key: string;
|
|
41285
|
+
/** File size in bytes */
|
|
41286
|
+
size: number;
|
|
41287
|
+
/** MIME type of the asset */
|
|
41288
|
+
mimetype: string;
|
|
41289
|
+
}
|
|
41290
|
+
interface PrivacyCenterFooterLink {
|
|
41291
|
+
/** Footer link ID */
|
|
41292
|
+
id: string;
|
|
41293
|
+
/** Display order */
|
|
41294
|
+
displayOrder: number;
|
|
41295
|
+
/** Link title */
|
|
41296
|
+
title: {
|
|
41297
|
+
/** Default locale message */defaultMessage: string;
|
|
41298
|
+
};
|
|
41299
|
+
/** Link URL (default locale) */
|
|
41300
|
+
url: string;
|
|
41301
|
+
/** Optional icon image for the footer link */
|
|
41302
|
+
icon?: PrivacyCenterFooterLinkIcon;
|
|
41303
|
+
/**
|
|
41304
|
+
* When true with an icon set, render as icon-only (title is used for
|
|
41305
|
+
* accessibility). When false with an icon set, render icon beside the
|
|
41306
|
+
* visible label.
|
|
41307
|
+
*/
|
|
41308
|
+
iconOnly: boolean;
|
|
41309
|
+
}
|
|
41257
41310
|
interface PrivacyCenter {
|
|
41258
41311
|
/** ID of the privacy center */
|
|
41259
41312
|
id: string;
|
|
@@ -41293,6 +41346,21 @@ interface PrivacyCenter {
|
|
|
41293
41346
|
useCustomEmailDomain: boolean;
|
|
41294
41347
|
/** Whether or not to transcend access requests from JSON to CSV */
|
|
41295
41348
|
transformAccessReportJsonToCsv: boolean;
|
|
41349
|
+
/**
|
|
41350
|
+
* Privacy Center "home" / back-to-site link URL shown in the privacy center
|
|
41351
|
+
* header
|
|
41352
|
+
*/
|
|
41353
|
+
home: string;
|
|
41354
|
+
/** Whether the side menu is expanded by default on the privacy center */
|
|
41355
|
+
expandSideMenuByDefault: boolean;
|
|
41356
|
+
/** Whether custom fields are required on privacy center workflows */
|
|
41357
|
+
workflowsCustomFieldsRequired: boolean;
|
|
41358
|
+
/** Footer layout */
|
|
41359
|
+
footerLayout: PrivacyCenterFooterLayout;
|
|
41360
|
+
/** Child organizations displayed on this privacy center */
|
|
41361
|
+
childOrganizations: PrivacyCenterChildOrganization[];
|
|
41362
|
+
/** Footer links displayed on this privacy center */
|
|
41363
|
+
footerLinks: PrivacyCenterFooterLink[];
|
|
41296
41364
|
/** The theme object of colors to display on the privacy center */
|
|
41297
41365
|
theme: PrivacyCenterThemePartial;
|
|
41298
41366
|
}
|
|
@@ -41976,12 +42044,34 @@ declare const FETCH_PRIVACY_CENTER_ID: string;
|
|
|
41976
42044
|
declare const DEPLOYED_PRIVACY_CENTER_URL: string;
|
|
41977
42045
|
declare const PRIVACY_CENTER: string;
|
|
41978
42046
|
declare const UPDATE_PRIVACY_CENTER: string;
|
|
42047
|
+
declare const UPDATE_PRIVACY_CENTER_FOOTER_LINKS: string;
|
|
42048
|
+
declare const DELETE_PRIVACY_CENTER_FOOTER_LINKS: string;
|
|
41979
42049
|
//#endregion
|
|
41980
42050
|
//#region src/consent/gqls/processingPurpose.d.ts
|
|
41981
42051
|
declare const PROCESSING_PURPOSE_SUB_CATEGORIES: string;
|
|
41982
42052
|
declare const CREATE_PROCESSING_PURPOSE_SUB_CATEGORY: string;
|
|
41983
42053
|
declare const UPDATE_PROCESSING_PURPOSE_SUB_CATEGORIES: string;
|
|
41984
42054
|
//#endregion
|
|
42055
|
+
//#region src/consent/gqls/consentWorkflowTrigger.d.ts
|
|
42056
|
+
declare const CONSENT_WORKFLOW_TRIGGERS: DocumentNode;
|
|
42057
|
+
declare const CREATE_OR_UPDATE_CONSENT_WORKFLOW_TRIGGER: DocumentNode;
|
|
42058
|
+
//#endregion
|
|
42059
|
+
//#region src/consent/resolveDisplayedChildOrganizationIds.d.ts
|
|
42060
|
+
/**
|
|
42061
|
+
* Resolve displayed child organization URIs or IDs to organization IDs.
|
|
42062
|
+
*
|
|
42063
|
+
* Each value may be either an organization ID or URI. IDs are matched first,
|
|
42064
|
+
* then URIs. Throws if any value cannot be resolved.
|
|
42065
|
+
*
|
|
42066
|
+
* @param childOrganizations - Child organizations available on the privacy center
|
|
42067
|
+
* @param urisOrIds - URIs and/or IDs from transcend.yml
|
|
42068
|
+
* @returns Resolved organization IDs (same order as input)
|
|
42069
|
+
*/
|
|
42070
|
+
declare function resolveDisplayedChildOrganizationIds(childOrganizations: Array<{
|
|
42071
|
+
/** Organization ID */id: string; /** Organization URI */
|
|
42072
|
+
uri: string;
|
|
42073
|
+
}>, urisOrIds: string[]): string[];
|
|
42074
|
+
//#endregion
|
|
41985
42075
|
//#region src/consent/syncConsentUi.d.ts
|
|
41986
42076
|
/** Consent UI theme synced to Transcend (id + slug for variant theme assignment) */
|
|
41987
42077
|
type SyncedConsentUiTheme = Pick<ConsentUiTheme, 'id' | 'slug'>;
|
|
@@ -42256,6 +42346,11 @@ declare function syncPartitions(client: GraphQLClient, partitionInputs: Partitio
|
|
|
42256
42346
|
interface PolicyInput {
|
|
42257
42347
|
/** The title of the policy */
|
|
42258
42348
|
title: string;
|
|
42349
|
+
/**
|
|
42350
|
+
* Policy type. Required by the API on create; optional on update.
|
|
42351
|
+
* When omitted on create, inferred from title.
|
|
42352
|
+
*/
|
|
42353
|
+
type?: PolicyType;
|
|
42259
42354
|
/** Effective date of policy */
|
|
42260
42355
|
effectiveOn?: string;
|
|
42261
42356
|
/** Whether or not to disable the effective date */
|
|
@@ -42265,6 +42360,13 @@ interface PolicyInput {
|
|
|
42265
42360
|
/** The languages for which the policy is disabled for */
|
|
42266
42361
|
disabledLocales?: LocaleValue[];
|
|
42267
42362
|
}
|
|
42363
|
+
/**
|
|
42364
|
+
* Infer PolicyType from a policy title when type is not provided on create.
|
|
42365
|
+
*
|
|
42366
|
+
* @param title - Policy title
|
|
42367
|
+
* @returns Inferred policy type
|
|
42368
|
+
*/
|
|
42369
|
+
declare function inferPolicyTypeFromTitle(title: string): PolicyType;
|
|
42268
42370
|
/**
|
|
42269
42371
|
* Update or create policies
|
|
42270
42372
|
*
|
|
@@ -42287,14 +42389,39 @@ declare function syncPolicies(client: GraphQLClient, policies: PolicyInput[], op
|
|
|
42287
42389
|
/** Logger instance */logger?: Logger;
|
|
42288
42390
|
}): Promise<boolean>;
|
|
42289
42391
|
//#endregion
|
|
42392
|
+
//#region src/consent/syncPrivacyCenterFooterLinks.d.ts
|
|
42393
|
+
interface PrivacyCenterFooterLinkInput {
|
|
42394
|
+
/** Link title (default locale) */
|
|
42395
|
+
title: string;
|
|
42396
|
+
/** Link URL (default locale); optional for icon-only links */
|
|
42397
|
+
url?: string;
|
|
42398
|
+
/**
|
|
42399
|
+
* When true with an icon set, render as icon-only (title is used for
|
|
42400
|
+
* accessibility). When false with an icon set, render icon beside the
|
|
42401
|
+
* visible label.
|
|
42402
|
+
*/
|
|
42403
|
+
iconOnly?: boolean;
|
|
42404
|
+
}
|
|
42405
|
+
/**
|
|
42406
|
+
* Sync privacy center footer links. Matches existing links by title, upserts
|
|
42407
|
+
* the provided list, and deletes any existing links omitted from the YAML.
|
|
42408
|
+
*
|
|
42409
|
+
* @param client - GraphQL client
|
|
42410
|
+
* @param privacyCenterId - Privacy center ID
|
|
42411
|
+
* @param footerLinks - Desired footer links
|
|
42412
|
+
* @param existingFooterLinks - Existing footer links from the privacy center
|
|
42413
|
+
* @param options - Options
|
|
42414
|
+
*/
|
|
42415
|
+
declare function syncPrivacyCenterFooterLinks(client: GraphQLClient, privacyCenterId: string, footerLinks: PrivacyCenterFooterLinkInput[], existingFooterLinks: PrivacyCenterFooterLink[], options?: {
|
|
42416
|
+
/** Logger instance */logger?: Logger;
|
|
42417
|
+
}): Promise<void>;
|
|
42418
|
+
//#endregion
|
|
42290
42419
|
//#region src/consent/syncPrivacyCenter.d.ts
|
|
42291
42420
|
interface PrivacyCenterInput {
|
|
42292
42421
|
/** Whether or not the entire privacy center is enabled or disabled */
|
|
42293
42422
|
isDisabled?: boolean;
|
|
42294
42423
|
/** Whether or not to show the privacy requests button */
|
|
42295
42424
|
showPrivacyRequestButton?: boolean;
|
|
42296
|
-
/** Whether or not to show the data practices page */
|
|
42297
|
-
showDataPractices?: boolean;
|
|
42298
42425
|
/** Whether or not to show the policies page */
|
|
42299
42426
|
showPolicies?: boolean;
|
|
42300
42427
|
/** Whether or not to show the tracking technologies page */
|
|
@@ -42325,6 +42452,24 @@ interface PrivacyCenterInput {
|
|
|
42325
42452
|
useCustomEmailDomain?: boolean;
|
|
42326
42453
|
/** Whether or not to transcend access requests from JSON to CSV */
|
|
42327
42454
|
transformAccessReportJsonToCsv?: boolean;
|
|
42455
|
+
/**
|
|
42456
|
+
* Privacy Center "home" / back-to-site link URL shown in the privacy center
|
|
42457
|
+
* header
|
|
42458
|
+
*/
|
|
42459
|
+
home?: string;
|
|
42460
|
+
/** Whether the side menu is expanded by default on the privacy center */
|
|
42461
|
+
expandSideMenuByDefault?: boolean;
|
|
42462
|
+
/** Whether custom fields are required on privacy center workflows */
|
|
42463
|
+
workflowsCustomFieldsRequired?: boolean;
|
|
42464
|
+
/**
|
|
42465
|
+
* Child organization URIs and/or IDs to display on a unified multi-brand
|
|
42466
|
+
* privacy center
|
|
42467
|
+
*/
|
|
42468
|
+
displayedChildOrganizationUris?: string[];
|
|
42469
|
+
/** Footer layout for privacy center footer links */
|
|
42470
|
+
footerLayout?: PrivacyCenterFooterLayout;
|
|
42471
|
+
/** Footer links displayed on the privacy center */
|
|
42472
|
+
footerLinks?: PrivacyCenterFooterLinkInput[];
|
|
42328
42473
|
/** The theme object of colors to display on the privacy center */
|
|
42329
42474
|
theme?: {
|
|
42330
42475
|
/** The theme colors */colors?: Record<string, string | undefined>; /** Styles to apply to components */
|
|
@@ -42341,7 +42486,216 @@ interface PrivacyCenterInput {
|
|
|
42341
42486
|
* @returns Whether the privacy center was synced successfully
|
|
42342
42487
|
*/
|
|
42343
42488
|
declare function syncPrivacyCenter(client: GraphQLClient, privacyCenter: PrivacyCenterInput, options?: {
|
|
42489
|
+
/** Logger instance */logger?: Logger; /** When true, skip publishing the privacy center after update */
|
|
42490
|
+
skipPublish?: boolean;
|
|
42491
|
+
}): Promise<boolean>;
|
|
42492
|
+
//#endregion
|
|
42493
|
+
//#region src/consent/fetchAllConsentWorkflowTriggers.d.ts
|
|
42494
|
+
interface ConsentWorkflowTrigger {
|
|
42495
|
+
/** ID of the trigger */
|
|
42496
|
+
id: string;
|
|
42497
|
+
/** Name of the trigger */
|
|
42498
|
+
name: string;
|
|
42499
|
+
/** JSON string of the trigger condition */
|
|
42500
|
+
triggerCondition: string | null;
|
|
42501
|
+
/** Whether the trigger runs silently */
|
|
42502
|
+
isSilent: boolean;
|
|
42503
|
+
/** Whether unauthenticated requests are allowed */
|
|
42504
|
+
allowUnauthenticated: boolean;
|
|
42505
|
+
/** Whether the trigger is active */
|
|
42506
|
+
isActive: boolean;
|
|
42507
|
+
/** The workflow config ID */
|
|
42508
|
+
workflowConfigId: string | null;
|
|
42509
|
+
/** The request action associated with the trigger */
|
|
42510
|
+
action: {
|
|
42511
|
+
/** Action type (e.g. ERASURE, ACCESS) */type: RequestAction;
|
|
42512
|
+
};
|
|
42513
|
+
/** The data subject associated with the trigger */
|
|
42514
|
+
subject: {
|
|
42515
|
+
/** Data subject type */type: string;
|
|
42516
|
+
};
|
|
42517
|
+
/** Data silos associated with this trigger */
|
|
42518
|
+
dataSilos: {
|
|
42519
|
+
/** Title of data silo */title: string;
|
|
42520
|
+
}[];
|
|
42521
|
+
}
|
|
42522
|
+
/**
|
|
42523
|
+
* Fetch all consent workflow triggers in the organization
|
|
42524
|
+
*
|
|
42525
|
+
* @param client - GraphQL client
|
|
42526
|
+
* @param options - Options
|
|
42527
|
+
* @returns All consent workflow triggers in the organization
|
|
42528
|
+
*/
|
|
42529
|
+
declare function fetchAllConsentWorkflowTriggers(client: GraphQLClient, options?: {
|
|
42344
42530
|
/** Logger instance */logger?: Logger;
|
|
42531
|
+
}): Promise<ConsentWorkflowTrigger[]>;
|
|
42532
|
+
//#endregion
|
|
42533
|
+
//#region src/dsr-automation/fetchAllWorkflowConfigs.d.ts
|
|
42534
|
+
/** Raw workflow config node returned by GraphQL */
|
|
42535
|
+
interface WorkflowConfigNode {
|
|
42536
|
+
/** Workflow config ID */
|
|
42537
|
+
id: string;
|
|
42538
|
+
/** Title */
|
|
42539
|
+
title: {
|
|
42540
|
+
/** Default message */defaultMessage: string;
|
|
42541
|
+
};
|
|
42542
|
+
/** Subtitle */
|
|
42543
|
+
subtitle: {
|
|
42544
|
+
/** Default message */defaultMessage: string;
|
|
42545
|
+
} | null;
|
|
42546
|
+
/** Description */
|
|
42547
|
+
description: {
|
|
42548
|
+
/** Default message */defaultMessage: string;
|
|
42549
|
+
} | null;
|
|
42550
|
+
/** Internal name */
|
|
42551
|
+
internalName: string | null;
|
|
42552
|
+
/** Visibility tier */
|
|
42553
|
+
workflowConfigVisibility: WorkflowConfigVisibility;
|
|
42554
|
+
/** Workflow type (DSR or PREFERENCE_MANAGEMENT) */
|
|
42555
|
+
workflowConfigType: WorkflowConfigType;
|
|
42556
|
+
/** Whether the workflow collects the data subject's region */
|
|
42557
|
+
collectDataSubjectRegions: CollectDataSubjectRegions | null;
|
|
42558
|
+
/** Region allow list */
|
|
42559
|
+
regionList: (IsoCountryCode | IsoCountrySubdivisionCode)[];
|
|
42560
|
+
/** Per-region request expiry times */
|
|
42561
|
+
expiryTime: {
|
|
42562
|
+
/** Region code (or 'default') */region: 'default' | IsoCountryCode | IsoCountrySubdivisionCode; /** Expiry time in days */
|
|
42563
|
+
value: number;
|
|
42564
|
+
}[] | null;
|
|
42565
|
+
/** Request action */
|
|
42566
|
+
action: {
|
|
42567
|
+
/** Action ID */id: string; /** Action type */
|
|
42568
|
+
type: RequestAction;
|
|
42569
|
+
};
|
|
42570
|
+
/** Data subject */
|
|
42571
|
+
subject: {
|
|
42572
|
+
/** Data subject ID */id: string; /** Data subject type */
|
|
42573
|
+
type: string;
|
|
42574
|
+
} | null;
|
|
42575
|
+
/** Attribute keys (custom fields) associated with the workflow */
|
|
42576
|
+
WorkflowConfigAttributeKeys: {
|
|
42577
|
+
/** Attribute key */attributeKey: {
|
|
42578
|
+
/** Attribute key ID */id: string; /** Attribute key name */
|
|
42579
|
+
name: string;
|
|
42580
|
+
};
|
|
42581
|
+
}[] | null;
|
|
42582
|
+
}
|
|
42583
|
+
/** Alias used by consent-workflow-trigger helpers */
|
|
42584
|
+
type WorkflowConfigSummary = WorkflowConfigNode;
|
|
42585
|
+
/**
|
|
42586
|
+
* Display title for a workflow config, matching the admin UI:
|
|
42587
|
+
* `internalName` when set, otherwise the external title.
|
|
42588
|
+
*
|
|
42589
|
+
* @param workflow - Workflow config
|
|
42590
|
+
* @returns Display title used in Preference Workflows dropdown
|
|
42591
|
+
*/
|
|
42592
|
+
declare function getWorkflowConfigDisplayTitle(workflow: WorkflowConfigNode): string;
|
|
42593
|
+
/**
|
|
42594
|
+
* Fetch all workflow configs in the organization
|
|
42595
|
+
*
|
|
42596
|
+
* @param client - GraphQL client
|
|
42597
|
+
* @param options - Options
|
|
42598
|
+
* @returns All workflow configs
|
|
42599
|
+
*/
|
|
42600
|
+
declare function fetchAllWorkflowConfigs(client: GraphQLClient, options?: {
|
|
42601
|
+
/** Filter by workflow config type */workflowConfigType?: WorkflowConfigType; /** Logger instance */
|
|
42602
|
+
logger?: Logger;
|
|
42603
|
+
}): Promise<WorkflowConfigNode[]>;
|
|
42604
|
+
/**
|
|
42605
|
+
* Resolve a YAML `workflow-title` to a DSR workflow config.
|
|
42606
|
+
* Matches against display title (`internalName` or external title).
|
|
42607
|
+
*
|
|
42608
|
+
* @param workflows - Candidate workflow configs
|
|
42609
|
+
* @param workflowTitle - Title from transcend.yml
|
|
42610
|
+
* @returns Matching workflow
|
|
42611
|
+
*/
|
|
42612
|
+
declare function resolveWorkflowConfigByTitle(workflows: WorkflowConfigNode[], workflowTitle: string): WorkflowConfigNode;
|
|
42613
|
+
//#endregion
|
|
42614
|
+
//#region src/consent/syncConsentWorkflowTriggers.d.ts
|
|
42615
|
+
interface ConsentWorkflowTriggerPurposeInput {
|
|
42616
|
+
/** The tracking type slug of the purpose */
|
|
42617
|
+
'tracking-type': string;
|
|
42618
|
+
/** The matching consent state for the purpose */
|
|
42619
|
+
'matching-state': boolean;
|
|
42620
|
+
}
|
|
42621
|
+
interface ConsentWorkflowTriggerSyncInput {
|
|
42622
|
+
/** The name of the consent workflow trigger */
|
|
42623
|
+
name: string;
|
|
42624
|
+
/**
|
|
42625
|
+
* Purposes and their matching consent states.
|
|
42626
|
+
* Required (non-empty). Used to derive triggerCondition.
|
|
42627
|
+
*/
|
|
42628
|
+
purposes: ConsentWorkflowTriggerPurposeInput[];
|
|
42629
|
+
/**
|
|
42630
|
+
* DSR workflow display title (internalName or external title).
|
|
42631
|
+
* V2 mode — mutually exclusive with action-type / data-silo-titles.
|
|
42632
|
+
*/
|
|
42633
|
+
'workflow-title'?: string;
|
|
42634
|
+
/** The action type (e.g. ERASURE, ACCESS). Legacy mode; required on create when no workflow-title. */
|
|
42635
|
+
'action-type'?: RequestAction;
|
|
42636
|
+
/** The data subject type. Required on create (legacy) or always when set. */
|
|
42637
|
+
'data-subject-type'?: string;
|
|
42638
|
+
/** Whether the trigger runs silently */
|
|
42639
|
+
'is-silent'?: boolean;
|
|
42640
|
+
/** Whether unauthenticated requests are allowed */
|
|
42641
|
+
'allow-unauthenticated'?: boolean;
|
|
42642
|
+
/** Whether the trigger is active */
|
|
42643
|
+
'is-active'?: boolean;
|
|
42644
|
+
/** Titles of data silos associated with this trigger (legacy mode only) */
|
|
42645
|
+
'data-silo-titles'?: string[];
|
|
42646
|
+
}
|
|
42647
|
+
/**
|
|
42648
|
+
* Build the GraphQL triggerCondition JSON string from purposes,
|
|
42649
|
+
* matching the admin dashboard Preferences → Consent Workflows UI.
|
|
42650
|
+
*
|
|
42651
|
+
* @param purposes - Purpose tracking types and matching states
|
|
42652
|
+
* @returns JSON string of `{ And: [{ [trackingType]: matchingState }, ...] }`
|
|
42653
|
+
*/
|
|
42654
|
+
declare function buildTriggerConditionFromPurposes(purposes: ConsentWorkflowTriggerPurposeInput[]): string;
|
|
42655
|
+
/**
|
|
42656
|
+
* Parse GraphQL triggerCondition JSON into purposes for transcend.yml.
|
|
42657
|
+
* Expects ConditionalExpression shape: `{ And: [{ [trackingType]: boolean }, ...] }`.
|
|
42658
|
+
*
|
|
42659
|
+
* @param triggerCondition - JSON string from GraphQL (or null)
|
|
42660
|
+
* @returns Purpose entries for YAML, or empty if unparseable
|
|
42661
|
+
*/
|
|
42662
|
+
declare function parsePurposesFromTriggerCondition(triggerCondition: string | null | undefined): ConsentWorkflowTriggerPurposeInput[];
|
|
42663
|
+
/**
|
|
42664
|
+
* Whether this YAML entry is Workflows V2 mode (links a DSR workflow config).
|
|
42665
|
+
*
|
|
42666
|
+
* @param trigger - Sync input
|
|
42667
|
+
* @returns True when workflow-title is set
|
|
42668
|
+
*/
|
|
42669
|
+
declare function isConsentWorkflowTriggerV2Mode(trigger: Pick<ConsentWorkflowTriggerSyncInput, 'workflow-title'>): boolean;
|
|
42670
|
+
/**
|
|
42671
|
+
* Validate mutual exclusivity and required fields for a trigger input.
|
|
42672
|
+
* Pure helper for unit tests and sync.
|
|
42673
|
+
*
|
|
42674
|
+
* @param trigger - Sync input
|
|
42675
|
+
* @param options - Whether the trigger already exists in the org
|
|
42676
|
+
*/
|
|
42677
|
+
declare function validateConsentWorkflowTriggerMode(trigger: ConsentWorkflowTriggerSyncInput, options: {
|
|
42678
|
+
/** True when updating an existing trigger by name */isUpdate: boolean;
|
|
42679
|
+
}): void;
|
|
42680
|
+
/**
|
|
42681
|
+
* Resolve workflow display title from a workflowConfigId.
|
|
42682
|
+
*
|
|
42683
|
+
* @param workflows - DSR workflows
|
|
42684
|
+
* @param workflowConfigId - Linked workflow config ID
|
|
42685
|
+
* @returns Display title, or undefined if not found
|
|
42686
|
+
*/
|
|
42687
|
+
declare function resolveWorkflowTitleFromId(workflows: WorkflowConfigSummary[], workflowConfigId: string | null | undefined): string | undefined;
|
|
42688
|
+
/**
|
|
42689
|
+
* Sync consent workflow triggers to Transcend
|
|
42690
|
+
*
|
|
42691
|
+
* @param client - GraphQL client
|
|
42692
|
+
* @param inputs - Consent workflow trigger inputs from YAML
|
|
42693
|
+
* @param options - Options
|
|
42694
|
+
* @returns True if run without error
|
|
42695
|
+
*/
|
|
42696
|
+
declare function syncConsentWorkflowTriggers(client: GraphQLClient, inputs: ConsentWorkflowTriggerSyncInput[], options?: {
|
|
42697
|
+
/** Logger instance */logger?: Logger; /** Page size when fetching data silos */
|
|
42698
|
+
pageSize?: number;
|
|
42345
42699
|
}): Promise<boolean>;
|
|
42346
42700
|
//#endregion
|
|
42347
42701
|
//#region src/consent/syncProcessingPurposes.d.ts
|
|
@@ -43205,67 +43559,6 @@ declare function syncTemplate(client: GraphQLClient, template: SyncTemplateInput
|
|
|
43205
43559
|
/** Logger instance */logger?: Logger;
|
|
43206
43560
|
}): Promise<void>;
|
|
43207
43561
|
//#endregion
|
|
43208
|
-
//#region src/dsr-automation/fetchAllWorkflowConfigs.d.ts
|
|
43209
|
-
/** Raw workflow config node returned by GraphQL */
|
|
43210
|
-
interface WorkflowConfigNode {
|
|
43211
|
-
/** Workflow config ID */
|
|
43212
|
-
id: string;
|
|
43213
|
-
/** Title */
|
|
43214
|
-
title: {
|
|
43215
|
-
/** Default message */defaultMessage: string;
|
|
43216
|
-
};
|
|
43217
|
-
/** Subtitle */
|
|
43218
|
-
subtitle: {
|
|
43219
|
-
/** Default message */defaultMessage: string;
|
|
43220
|
-
} | null;
|
|
43221
|
-
/** Description */
|
|
43222
|
-
description: {
|
|
43223
|
-
/** Default message */defaultMessage: string;
|
|
43224
|
-
} | null;
|
|
43225
|
-
/** Internal name */
|
|
43226
|
-
internalName: string | null;
|
|
43227
|
-
/** Visibility tier */
|
|
43228
|
-
workflowConfigVisibility: WorkflowConfigVisibility;
|
|
43229
|
-
/** Workflow type (DSR or PREFERENCE_MANAGEMENT) */
|
|
43230
|
-
workflowConfigType: WorkflowConfigType;
|
|
43231
|
-
/** Whether the workflow collects the data subject's region */
|
|
43232
|
-
collectDataSubjectRegions: CollectDataSubjectRegions | null;
|
|
43233
|
-
/** Region allow list */
|
|
43234
|
-
regionList: (IsoCountryCode | IsoCountrySubdivisionCode)[];
|
|
43235
|
-
/** Per-region request expiry times */
|
|
43236
|
-
expiryTime: {
|
|
43237
|
-
/** Region code (or 'default') */region: 'default' | IsoCountryCode | IsoCountrySubdivisionCode; /** Expiry time in days */
|
|
43238
|
-
value: number;
|
|
43239
|
-
}[] | null;
|
|
43240
|
-
/** Request action */
|
|
43241
|
-
action: {
|
|
43242
|
-
/** Action type */type: RequestAction;
|
|
43243
|
-
};
|
|
43244
|
-
/** Data subject */
|
|
43245
|
-
subject: {
|
|
43246
|
-
/** Data subject ID */id: string; /** Data subject type */
|
|
43247
|
-
type: string;
|
|
43248
|
-
} | null;
|
|
43249
|
-
/** Attribute keys (custom fields) associated with the workflow */
|
|
43250
|
-
WorkflowConfigAttributeKeys: {
|
|
43251
|
-
/** Attribute key */attributeKey: {
|
|
43252
|
-
/** Attribute key ID */id: string; /** Attribute key name */
|
|
43253
|
-
name: string;
|
|
43254
|
-
};
|
|
43255
|
-
}[] | null;
|
|
43256
|
-
}
|
|
43257
|
-
/**
|
|
43258
|
-
* Fetch all workflow configs in the organization
|
|
43259
|
-
*
|
|
43260
|
-
* @param client - GraphQL client
|
|
43261
|
-
* @param options - Options
|
|
43262
|
-
* @returns All workflow configs
|
|
43263
|
-
*/
|
|
43264
|
-
declare function fetchAllWorkflowConfigs(client: GraphQLClient, options?: {
|
|
43265
|
-
/** Filter by workflow config type */workflowConfigType?: WorkflowConfigType; /** Logger instance */
|
|
43266
|
-
logger?: Logger;
|
|
43267
|
-
}): Promise<WorkflowConfigNode[]>;
|
|
43268
|
-
//#endregion
|
|
43269
43562
|
//#region src/dsr-automation/syncWorkflowConfigs.d.ts
|
|
43270
43563
|
interface WorkflowConfigSyncInput {
|
|
43271
43564
|
/** User-facing title */
|
|
@@ -45145,5 +45438,5 @@ interface MonorepoPackageDefinition {
|
|
|
45145
45438
|
}
|
|
45146
45439
|
declare function createMonorepoPackageDefinition(name: string, directory: string): MonorepoPackageDefinition;
|
|
45147
45440
|
//#endregion
|
|
45148
|
-
export { AIRGAP_BUNDLE_AGGREGATE_ANALYTICS, AIRGAP_BUNDLE_TIMESERIES_ANALYTICS, ASSESSMENTS, ASSESSMENT_SECTION_FIELDS, ATTRIBUTE_KEYS_REQUESTS, ATTRIBUTE_VALUE_FIELDS, Action, ActionItem, ActionItemAttributeKey, ActionItemCollection, ActionItemCollectionInput, ActionItemInput, ActionItemRaw, AddMessagesToPromptRunInput, Agent, AgentFile, AgentFileFilterBy, AgentFileInput, AgentFunction, AgentFunctionInput, AgentInput, AirgapBundleAggregateAnalyticsDimensionsGql, AirgapBundleAggregateAnalyticsItemGql, AirgapBundleTimeseriesAnalyticsItemGql, ApiKey, Assessment, AssessmentAction, AssessmentAnswer, AssessmentAnswerOption, AssessmentComment, AssessmentGroup, AssessmentNestedRule, AssessmentPreviousSubmission, AssessmentQuestion, AssessmentResource, AssessmentRiskLogic, AssessmentRule, AssessmentRuleWithOperands, AssessmentRuleWithoutOperands, AssessmentSection, Attribute, AttributeInput, AttributeKey, AttributeValue, AttributeValueInput, BULK_REQUEST_FILES, BusinessEntity, BusinessEntityInput, 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, Catalog, ChunkMode, CodePackage, ColumnIdentifierMap, ColumnMetadataMap, ColumnPurposeMap, ConsentExperience, ConsentManageExperienceInput, ConsentManager, ConsentManagerInput, ConsentManagerMetric, ConsentPreferenceResponse, ConsentUiTheme, ConsentUiThemesQueryResponse, ConsentUiVariant, ConsentUiVariantsQueryResponse, CookieInput, CookieOrder, CreatedApiKey, 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, DataCategoryInput, DataFlowAttributeInput, DataFlowInput, DataFlowOrder, DataPoint, DataPointWithSubDataPoint, DataSilo, type DataSiloAttributeValue, DataSiloEnriched, DataSubCategory, DataSubject, DataSubjectInput, DataSubjectRef, DeletePreferenceRecordCliCsvRow, DeletePreferenceRecordsInput, DeletePreferenceRecordsResponse, ENRICHERS, EXPERIENCES, EditPromptGroupInput, Enricher, EnricherInput, ExternalUser, FETCH_CONSENT_MANAGER, FETCH_CONSENT_MANAGER_ID, FETCH_CONSENT_MANAGER_THEME, FETCH_CONSENT_UI_THEMES, FETCH_CONSENT_UI_VARIANTS, FETCH_PRIVACY_CENTER_ID, FailingPreferenceUpdates, FetchApiKeysInput, FileFormatState, FileMetadataState, FormattedAttribute, IMPORT_ONE_TRUST_ASSESSMENT_FORMS, INITIALIZER, Identifier, IdentifierInput, IdentifierMetadataForPreference, IdentifiersAndCreateMissingInput, IndexedCatalogs, Initializer, IntlMessageInput, LargeLanguageModel, Message, MetadataMapping, MonorepoPackageDefinition, NEW_IDENTIFIER_TYPES, NOOP_LOGGER, OWNER_FIELDS, OrganizationPreview, POLICIES, PRIVACY_CENTER, PROCESSING_PURPOSE_SUB_CATEGORIES, PURPOSES, ParentOrganizationTeam, PartitionInput, PendingSafePreferenceUpdates, PendingWithConflictPreferenceUpdates, Plugin, PluginResponse, Policy, PolicyInput, PreferenceAccessTokenInput, PreferenceAccessTokenInputWithIndex, PreferenceIdentifier, PreferenceOptionValue, PreferenceOptionValueInput, PreferenceState, PreferenceTopic, type PreferenceTopicSyncInput, PreferenceUpdateMap, PreferenceUploadReferenceData, PreferencesQueryFilter, PrivacyCenter, PrivacyCenterInput, ProcessingActivity, ProcessingActivityInput, ProcessingPurposeInput, ProcessingPurposeSubCategory, Prompt, PromptCalculatedVariable, PromptGroup, PromptGroupInput, PromptInput, PromptPartial, PromptPartialInput, PromptRuntimeVariable, PromptThread, Purpose, type PurposeInput, PurposeRowMapping, PurposeWithPreferences, 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, Region, RegionInput, ReportPromptRunInput, Repository, RepositoryInput, RequestDataSilo, RequestDataSiloFilters, RequestEnricher, RequestFile, RequestFileCursor, RequestFileResponse, RequestIdentifier, RequestIdentifierMetadata, RequestIdentifiersResponse, RequestUploadReceipts, RetentionSchedule, RetryOptions, RiskCategory, RiskFramework, RiskLevel, RiskMatrix, RiskMatrixColumn, RiskMatrixRow, SERVICE_FIELDS, SKIP_REQUEST_ENRICHER, SOMBRA_VERSION, SUB_DATA_POINTS, SUB_DATA_POINTS_COUNT, SUB_DATA_POINTS_WITH_GUESSES, SYNC_ATTRIBUTE_TYPES, SiloDiscoveryRawResult, SiloDiscoveryResult, SkippedPreferenceUpdates, SoftwareDevelopmentKit, SoftwareDevelopmentKitInput, SubDataPoint, SubDataPointCategory, SubDataPointPurpose, SyncActionInput, SyncPurposesResult, SyncTemplateInput, SyncedConsentUiTheme, SyncedConsentUiVariant, TEAM_FIELDS, TOGGLE_CONSENT_PRECEDENCE, TOGGLE_DATA_SUBJECT, TOGGLE_TELEMETRY_PARTITION_STRATEGY, TOGGLE_UNKNOWN_COOKIE_POLICY, TOGGLE_UNKNOWN_REQUEST_POLICY, TRACKING_PURPOSE_FIELDS, Team, TeamInput, Template, TranscendAttributeValueGql, TranscendCliAirgapBundleAggregateAnalyticsResponse, TranscendCliAirgapBundleTimeseriesAnalyticsResponse, TranscendCliConsentPartitionsResponse, TranscendCliCookieStatsResponse, TranscendCliCookiesResponse, TranscendCliCreateConsentExperienceResponse, TranscendCliCreateConsentPartitionResponse, TranscendCliCreateDataFlowsResponse, TranscendCliDataFlowStatsResponse, TranscendCliDataFlowsResponse, TranscendCliDeleteCookiesResponse, TranscendCliDeleteDataFlowsResponse, TranscendCliExperiencesResponse, TranscendCliFetchConsentManagerIdResponse, TranscendCliFetchConsentManagerResponse, TranscendCliFetchConsentManagerThemeResponse, TranscendCliPurposesResponse, TranscendCliUpdateConsentExperienceResponse, TranscendCliUpdateDataFlowsResponse, TranscendCliUpdateOrCreateCookiesResponse, TranscendClientMutationIdResponse, TranscendConsentManagerConfigGql, TranscendConsentManagerGql, TranscendConsentManagerThemeGql, TranscendConsentPartitionGql, TranscendCookieDomainGql, TranscendCookieGql, TranscendCookieServiceGql, TranscendDataFlowGql, TranscendExperienceGql, TranscendExperiencePurposeGql, TranscendExperienceRegionGql, TranscendMappedDataSiloGql, TranscendOwnerGql, TranscendPreferenceTopicGql, TranscendPreferenceTopicTitle, TranscendPromptPartialTemplated, TranscendPromptTemplated, TranscendPromptsAndVariables, TranscendPurposeGql, TranscendTeamGql, TranscendTrackerStatsGql, TranscendTrackingPurposeGql, TranscendUpdateCookieInputGql, TranscendUpdateDataFlowInputGql, 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, User, UserPreview, UserRole, Vendor, VendorInput, WorkflowConfigMatchInput, WorkflowConfigMatchResolution, WorkflowConfigNode, WorkflowConfigSyncInput, 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 };
|
|
45441
|
+
export { AIRGAP_BUNDLE_AGGREGATE_ANALYTICS, AIRGAP_BUNDLE_TIMESERIES_ANALYTICS, ASSESSMENTS, ASSESSMENT_SECTION_FIELDS, ATTRIBUTE_KEYS_REQUESTS, ATTRIBUTE_VALUE_FIELDS, Action, ActionItem, ActionItemAttributeKey, ActionItemCollection, ActionItemCollectionInput, ActionItemInput, ActionItemRaw, AddMessagesToPromptRunInput, Agent, AgentFile, AgentFileFilterBy, AgentFileInput, AgentFunction, AgentFunctionInput, AgentInput, AirgapBundleAggregateAnalyticsDimensionsGql, AirgapBundleAggregateAnalyticsItemGql, AirgapBundleTimeseriesAnalyticsItemGql, ApiKey, Assessment, AssessmentAction, AssessmentAnswer, AssessmentAnswerOption, AssessmentComment, AssessmentGroup, AssessmentNestedRule, AssessmentPreviousSubmission, AssessmentQuestion, AssessmentResource, AssessmentRiskLogic, AssessmentRule, AssessmentRuleWithOperands, AssessmentRuleWithoutOperands, AssessmentSection, Attribute, AttributeInput, AttributeKey, AttributeValue, AttributeValueInput, BULK_REQUEST_FILES, BusinessEntity, BusinessEntityInput, CHANGE_REQUEST_DATA_SILO_STATUS, CODE_PACKAGES, CONSENT_MANAGER_ANALYTICS_DATA, CONSENT_PARTITIONS, CONSENT_WORKFLOW_TRIGGERS, 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_OR_UPDATE_CONSENT_WORKFLOW_TRIGGER, CREATE_PROCESSING_PURPOSE_SUB_CATEGORY, Catalog, ChunkMode, CodePackage, ColumnIdentifierMap, ColumnMetadataMap, ColumnPurposeMap, ConsentExperience, ConsentManageExperienceInput, ConsentManager, ConsentManagerInput, ConsentManagerMetric, ConsentPreferenceResponse, ConsentUiTheme, ConsentUiThemesQueryResponse, ConsentUiVariant, ConsentUiVariantsQueryResponse, ConsentWorkflowTrigger, ConsentWorkflowTriggerPurposeInput, ConsentWorkflowTriggerSyncInput, CookieInput, CookieOrder, CreatedApiKey, 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, DataCategoryInput, DataFlowAttributeInput, DataFlowInput, DataFlowOrder, DataPoint, DataPointWithSubDataPoint, DataSilo, type DataSiloAttributeValue, DataSiloEnriched, DataSubCategory, DataSubject, DataSubjectInput, DataSubjectRef, DeletePreferenceRecordCliCsvRow, DeletePreferenceRecordsInput, DeletePreferenceRecordsResponse, ENRICHERS, EXPERIENCES, EditPromptGroupInput, Enricher, EnricherInput, ExternalUser, FETCH_CONSENT_MANAGER, FETCH_CONSENT_MANAGER_ID, FETCH_CONSENT_MANAGER_THEME, FETCH_CONSENT_UI_THEMES, FETCH_CONSENT_UI_VARIANTS, FETCH_PRIVACY_CENTER_ID, FailingPreferenceUpdates, FetchApiKeysInput, FileFormatState, FileMetadataState, FormattedAttribute, IMPORT_ONE_TRUST_ASSESSMENT_FORMS, INITIALIZER, Identifier, IdentifierInput, IdentifierMetadataForPreference, IdentifiersAndCreateMissingInput, IndexedCatalogs, Initializer, IntlMessageInput, LargeLanguageModel, Message, MetadataMapping, MonorepoPackageDefinition, NEW_IDENTIFIER_TYPES, NOOP_LOGGER, OWNER_FIELDS, OrganizationPreview, POLICIES, PRIVACY_CENTER, PROCESSING_PURPOSE_SUB_CATEGORIES, PURPOSES, ParentOrganizationTeam, PartitionInput, PendingSafePreferenceUpdates, PendingWithConflictPreferenceUpdates, Plugin, PluginResponse, Policy, PolicyInput, PreferenceAccessTokenInput, PreferenceAccessTokenInputWithIndex, PreferenceIdentifier, PreferenceOptionValue, PreferenceOptionValueInput, PreferenceState, PreferenceTopic, type PreferenceTopicSyncInput, PreferenceUpdateMap, PreferenceUploadReferenceData, PreferencesQueryFilter, PrivacyCenter, PrivacyCenterChildOrganization, PrivacyCenterFooterLink, PrivacyCenterFooterLinkIcon, PrivacyCenterFooterLinkInput, PrivacyCenterInput, ProcessingActivity, ProcessingActivityInput, ProcessingPurposeInput, ProcessingPurposeSubCategory, Prompt, PromptCalculatedVariable, PromptGroup, PromptGroupInput, PromptInput, PromptPartial, PromptPartialInput, PromptRuntimeVariable, PromptThread, Purpose, type PurposeInput, PurposeRowMapping, PurposeWithPreferences, 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, Region, RegionInput, ReportPromptRunInput, Repository, RepositoryInput, RequestDataSilo, RequestDataSiloFilters, RequestEnricher, RequestFile, RequestFileCursor, RequestFileResponse, RequestIdentifier, RequestIdentifierMetadata, RequestIdentifiersResponse, RequestUploadReceipts, RetentionSchedule, RetryOptions, RiskCategory, RiskFramework, RiskLevel, RiskMatrix, RiskMatrixColumn, RiskMatrixRow, SERVICE_FIELDS, SKIP_REQUEST_ENRICHER, SOMBRA_VERSION, SUB_DATA_POINTS, SUB_DATA_POINTS_COUNT, SUB_DATA_POINTS_WITH_GUESSES, SYNC_ATTRIBUTE_TYPES, SiloDiscoveryRawResult, SiloDiscoveryResult, SkippedPreferenceUpdates, SoftwareDevelopmentKit, SoftwareDevelopmentKitInput, SubDataPoint, SubDataPointCategory, SubDataPointPurpose, SyncActionInput, SyncPurposesResult, SyncTemplateInput, SyncedConsentUiTheme, SyncedConsentUiVariant, TEAM_FIELDS, TOGGLE_CONSENT_PRECEDENCE, TOGGLE_DATA_SUBJECT, TOGGLE_TELEMETRY_PARTITION_STRATEGY, TOGGLE_UNKNOWN_COOKIE_POLICY, TOGGLE_UNKNOWN_REQUEST_POLICY, TRACKING_PURPOSE_FIELDS, Team, TeamInput, Template, TranscendAttributeValueGql, TranscendCliAirgapBundleAggregateAnalyticsResponse, TranscendCliAirgapBundleTimeseriesAnalyticsResponse, TranscendCliConsentPartitionsResponse, TranscendCliCookieStatsResponse, TranscendCliCookiesResponse, TranscendCliCreateConsentExperienceResponse, TranscendCliCreateConsentPartitionResponse, TranscendCliCreateDataFlowsResponse, TranscendCliDataFlowStatsResponse, TranscendCliDataFlowsResponse, TranscendCliDeleteCookiesResponse, TranscendCliDeleteDataFlowsResponse, TranscendCliExperiencesResponse, TranscendCliFetchConsentManagerIdResponse, TranscendCliFetchConsentManagerResponse, TranscendCliFetchConsentManagerThemeResponse, TranscendCliPurposesResponse, TranscendCliUpdateConsentExperienceResponse, TranscendCliUpdateDataFlowsResponse, TranscendCliUpdateOrCreateCookiesResponse, TranscendClientMutationIdResponse, TranscendConsentManagerConfigGql, TranscendConsentManagerGql, TranscendConsentManagerThemeGql, TranscendConsentPartitionGql, TranscendCookieDomainGql, TranscendCookieGql, TranscendCookieServiceGql, TranscendDataFlowGql, TranscendExperienceGql, TranscendExperiencePurposeGql, TranscendExperienceRegionGql, TranscendMappedDataSiloGql, TranscendOwnerGql, TranscendPreferenceTopicGql, TranscendPreferenceTopicTitle, TranscendPromptPartialTemplated, TranscendPromptTemplated, TranscendPromptsAndVariables, TranscendPurposeGql, TranscendTeamGql, TranscendTrackerStatsGql, TranscendTrackingPurposeGql, TranscendUpdateCookieInputGql, TranscendUpdateDataFlowInputGql, 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, User, UserPreview, UserRole, Vendor, VendorInput, WorkflowConfigMatchInput, WorkflowConfigMatchResolution, WorkflowConfigNode, WorkflowConfigSummary, WorkflowConfigSyncInput, addMessagesToPromptRun, assumeRole, buildConsentChunks, buildTranscendGraphQLClient, buildTranscendGraphQLClientGeneric, buildTriggerConditionFromPurposes, 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, fetchAllConsentWorkflowTriggers, 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, getWorkflowConfigDisplayTitle, inferPolicyTypeFromTitle, isConsentWorkflowTriggerV2Mode, isTransientError, iterateConsentPages, loadReferenceData, loginUser, makeGraphQLRequest, parseAssessmentDisplayLogic, parseAssessmentRiskLogic, parsePurposesFromTriggerCondition, pickConsentChunkMode, reportPromptRun, resolveDisplayedChildOrganizationIds, resolveParentTeamIdsByName, resolveWorkflowConfigByTitle, resolveWorkflowConfigMatch, resolveWorkflowTitleFromId, retryRequestEnricher, setResourceAttributes, syncAction, syncActionItemCollections, syncActionItems, syncAgentFiles, syncAgentFunctions, syncAgents, syncAttribute, syncBusinessEntities, syncConsentManager, syncConsentManagerExperiences, syncConsentUiThemes, syncConsentUiVariants, syncConsentWorkflowTriggers, 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, validateConsentWorkflowTriggerMode, validateSombraVersion, withTransientRetry, workflowConfigInputLabel, workflowConfigMatchKey, workflowRegionListKey };
|
|
45149
45442
|
//# sourceMappingURL=index.d.mts.map
|