@transcend-io/privacy-types 6.1.0 → 6.2.1
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 +1181 -1165
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +275 -268
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -194,7 +194,7 @@ let ActionItemPriorityOverride = /* @__PURE__ */ function(ActionItemPriorityOver
|
|
|
194
194
|
/**
|
|
195
195
|
* The type of requests that allow for opt-out
|
|
196
196
|
*/
|
|
197
|
-
const RequestActionOptOut =
|
|
197
|
+
const RequestActionOptOut = {
|
|
198
198
|
/** Opt out of automated decision making */
|
|
199
199
|
AutomatedDecisionMakingOptOut: "AUTOMATED_DECISION_MAKING_OPT_OUT",
|
|
200
200
|
/** Ability to opt out of the use of sensitive information. A requirement under the CPRA and similar laws. */
|
|
@@ -207,11 +207,11 @@ const RequestActionOptOut = makeEnum({
|
|
|
207
207
|
TrackingOptOut: "TRACKING_OPT_OUT",
|
|
208
208
|
/** Opt out custom */
|
|
209
209
|
CustomOptOut: "CUSTOM_OPT_OUT"
|
|
210
|
-
}
|
|
210
|
+
};
|
|
211
211
|
/**
|
|
212
212
|
* The type of requests that allow for opt-in
|
|
213
213
|
*/
|
|
214
|
-
const RequestActionOptIn =
|
|
214
|
+
const RequestActionOptIn = {
|
|
215
215
|
/** Opt in to automated decision making */
|
|
216
216
|
AutomatedDecisionMakingOptIn: "AUTOMATED_DECISION_MAKING_OPT_IN",
|
|
217
217
|
/** Ability to opt in to the use of sensitive information. A requirement under the CPRA and similar laws. */
|
|
@@ -224,7 +224,7 @@ const RequestActionOptIn = makeEnum({
|
|
|
224
224
|
ContactOptIn: "CONTACT_OPT_IN",
|
|
225
225
|
/** Opt in custom */
|
|
226
226
|
CustomOptIn: "CUSTOM_OPT_IN"
|
|
227
|
-
}
|
|
227
|
+
};
|
|
228
228
|
/**
|
|
229
229
|
* Mapping between request actions that are inverses
|
|
230
230
|
* of one another.
|
|
@@ -241,7 +241,7 @@ const REQUEST_ACTION_OPT_IN_TO_OPT_OUT = invert(REQUEST_ACTION_OPT_OUT_TO_OPT_IN
|
|
|
241
241
|
/**
|
|
242
242
|
* An request action resolve types that can be run at the object level
|
|
243
243
|
*/
|
|
244
|
-
const RequestActionObjectResolver =
|
|
244
|
+
const RequestActionObjectResolver = {
|
|
245
245
|
/** Data Download request */
|
|
246
246
|
Access: "ACCESS",
|
|
247
247
|
/** Erase the file completely */
|
|
@@ -258,7 +258,7 @@ const RequestActionObjectResolver = makeEnum({
|
|
|
258
258
|
RemoveFromLegalHold: "REMOVE_FROM_LEGAL_HOLD",
|
|
259
259
|
...RequestActionOptOut,
|
|
260
260
|
...RequestActionOptIn
|
|
261
|
-
}
|
|
261
|
+
};
|
|
262
262
|
/**
|
|
263
263
|
* The privacy actions that can be set at the object level for a
|
|
264
264
|
* data silo configured as webhook or cron integration.
|
|
@@ -267,13 +267,13 @@ const RequestActionObjectResolver = makeEnum({
|
|
|
267
267
|
* webhook service to implement. The individual objects can still be
|
|
268
268
|
* labeled for whether they should be included in data access requests.
|
|
269
269
|
*/
|
|
270
|
-
const InternalDataSiloObjectResolver =
|
|
270
|
+
const InternalDataSiloObjectResolver = {
|
|
271
271
|
/** Data Download request */
|
|
272
|
-
Access: "ACCESS" }
|
|
272
|
+
Access: "ACCESS" };
|
|
273
273
|
/**
|
|
274
274
|
* The types of requests that Data Subject can make
|
|
275
275
|
*/
|
|
276
|
-
const RequestAction =
|
|
276
|
+
const RequestAction = {
|
|
277
277
|
...RequestActionOptOut,
|
|
278
278
|
...RequestActionOptIn,
|
|
279
279
|
/** Data Download request */
|
|
@@ -290,10 +290,9 @@ const RequestAction = makeEnum({
|
|
|
290
290
|
PlaceOnLegalHold: "PLACE_ON_LEGAL_HOLD",
|
|
291
291
|
/** Remove a user from a legal hold */
|
|
292
292
|
RemoveFromLegalHold: "REMOVE_FROM_LEGAL_HOLD"
|
|
293
|
-
}
|
|
293
|
+
};
|
|
294
294
|
//#endregion
|
|
295
295
|
//#region src/assessmentForm.ts
|
|
296
|
-
/** AssessmentForm status types */
|
|
297
296
|
/**
|
|
298
297
|
* AssessmentForm status types
|
|
299
298
|
*/
|
|
@@ -323,16 +322,16 @@ let AssessmentFormTemplateStatus = /* @__PURE__ */ function(AssessmentFormTempla
|
|
|
323
322
|
return AssessmentFormTemplateStatus;
|
|
324
323
|
}({});
|
|
325
324
|
/** How an assessment form template was created */
|
|
326
|
-
const AssessmentFormTemplateSource =
|
|
325
|
+
const AssessmentFormTemplateSource = {
|
|
327
326
|
/** The template was created manually by a user creating sections, questions, etc in the AD or via API */
|
|
328
327
|
Manual: "MANUAL",
|
|
329
328
|
/** The template was auto-generated as a side effect of kicking off assessments from the Data Inventory */
|
|
330
329
|
DataInventory: "DATA_INVENTORY",
|
|
331
330
|
/** The template was auto-generated as a side effect of importing OneTrust assessments */
|
|
332
331
|
Import: "IMPORT"
|
|
333
|
-
}
|
|
332
|
+
};
|
|
334
333
|
/** The types of the assessment question */
|
|
335
|
-
const AssessmentQuestionType =
|
|
334
|
+
const AssessmentQuestionType = {
|
|
336
335
|
/** A long-answer text question */
|
|
337
336
|
LongAnswer: "LONG_ANSWER_TEXT",
|
|
338
337
|
/** A short-answer text question */
|
|
@@ -349,13 +348,13 @@ const AssessmentQuestionType = makeEnum({
|
|
|
349
348
|
File: "FILE",
|
|
350
349
|
/** A static text field that has no answer field */
|
|
351
350
|
Description: "DESCRIPTION"
|
|
352
|
-
}
|
|
351
|
+
};
|
|
353
352
|
/**
|
|
354
353
|
* The sub-types of the assessment question
|
|
355
354
|
* TODO: https://transcend.height.app/T-36999 - migrate keys to equal values, just like
|
|
356
355
|
* StaticAssessmentQuestionSubType and DynamicAssessmentQuestionSubType
|
|
357
356
|
*/
|
|
358
|
-
const AssessmentQuestionSubType =
|
|
357
|
+
const AssessmentQuestionSubType = {
|
|
359
358
|
/** A None subType for types that do not accept subTypes */
|
|
360
359
|
None: "NONE",
|
|
361
360
|
/** A Custom subType for user-defined select types */
|
|
@@ -404,16 +403,16 @@ const AssessmentQuestionSubType = makeEnum({
|
|
|
404
403
|
AttributeKey: "ATTRIBUTE_KEY",
|
|
405
404
|
/** A sensitive category */
|
|
406
405
|
SensitiveCategory: "SENSITIVE_CATEGORY"
|
|
407
|
-
}
|
|
406
|
+
};
|
|
408
407
|
/** The possible actions within an assessment question's display logic */
|
|
409
|
-
const AssessmentsDisplayLogicAction =
|
|
408
|
+
const AssessmentsDisplayLogicAction = {
|
|
410
409
|
/** Display the question */
|
|
411
410
|
Show: "SHOW",
|
|
412
411
|
/** Skip the question */
|
|
413
412
|
Skip: "SKIP"
|
|
414
|
-
}
|
|
413
|
+
};
|
|
415
414
|
/** The comparison operators to use in an assessment question's display logic */
|
|
416
|
-
const ComparisonOperator =
|
|
415
|
+
const ComparisonOperator = {
|
|
417
416
|
/** is equal to */
|
|
418
417
|
IsEqualTo: "IS_EQUAL_TO",
|
|
419
418
|
/** is not equal to */
|
|
@@ -430,14 +429,14 @@ const ComparisonOperator = makeEnum({
|
|
|
430
429
|
IsNotShown: "IS_NOT_SHOWN",
|
|
431
430
|
/** does not contain */
|
|
432
431
|
DoesNotContain: "DOES_NOT_CONTAIN"
|
|
433
|
-
}
|
|
432
|
+
};
|
|
434
433
|
/** The logic operators to use in an assessment question's display logic */
|
|
435
|
-
const LogicOperator =
|
|
434
|
+
const LogicOperator = {
|
|
436
435
|
/** and */
|
|
437
436
|
And: "AND",
|
|
438
437
|
/** or */
|
|
439
438
|
Or: "OR"
|
|
440
|
-
}
|
|
439
|
+
};
|
|
441
440
|
/**
|
|
442
441
|
* types of data to be managed by the data retention policy
|
|
443
442
|
*/
|
|
@@ -463,7 +462,7 @@ let RetentionScheduleOperation = /* @__PURE__ */ function(RetentionScheduleOpera
|
|
|
463
462
|
/**
|
|
464
463
|
* The attributes of the DataSilo model.
|
|
465
464
|
*/
|
|
466
|
-
const DataSiloAttribute =
|
|
465
|
+
const DataSiloAttribute = {
|
|
467
466
|
Description: "description",
|
|
468
467
|
Title: "title",
|
|
469
468
|
Slug: "slug",
|
|
@@ -514,7 +513,7 @@ const DataSiloAttribute = makeEnum({
|
|
|
514
513
|
TransferRegions: "transferRegions",
|
|
515
514
|
Controllerships: "controllerships",
|
|
516
515
|
CustomSiloConnectionStrategy: "customSiloConnectionStrategy"
|
|
517
|
-
}
|
|
516
|
+
};
|
|
518
517
|
/** The value of AssessmentQuestion's syncColumn that stands for DataSilo column */
|
|
519
518
|
const DataSiloAttributeSyncColumn = makeEnum({
|
|
520
519
|
connectStartTime: "CONNECT_START_TIME",
|
|
@@ -571,7 +570,7 @@ const DataSiloAttributeSyncColumn = makeEnum({
|
|
|
571
570
|
/**
|
|
572
571
|
* The attributes of the SubDataPoint model.
|
|
573
572
|
*/
|
|
574
|
-
const SubDataPointAttribute =
|
|
573
|
+
const SubDataPointAttribute = {
|
|
575
574
|
Name: "name",
|
|
576
575
|
Slug: "slug",
|
|
577
576
|
DataPointId: "dataPointId",
|
|
@@ -596,7 +595,7 @@ const SubDataPointAttribute = makeEnum({
|
|
|
596
595
|
IsPrimaryKey: "isPrimaryKey",
|
|
597
596
|
Metadata: "metadata",
|
|
598
597
|
SchedulingPriority: "schedulingPriority"
|
|
599
|
-
}
|
|
598
|
+
};
|
|
600
599
|
/** The value of AssessmentQuestion's syncColumn that stands for SubDataPoint column */
|
|
601
600
|
const SubDataPointAttributeSyncColumn = makeEnum({
|
|
602
601
|
name: "NAME",
|
|
@@ -627,7 +626,7 @@ const SubDataPointAttributeSyncColumn = makeEnum({
|
|
|
627
626
|
/**
|
|
628
627
|
* The attributes of the Vendor model.
|
|
629
628
|
*/
|
|
630
|
-
const VendorAttribute =
|
|
629
|
+
const VendorAttribute = {
|
|
631
630
|
Title: "title",
|
|
632
631
|
Slug: "slug",
|
|
633
632
|
Description: "description",
|
|
@@ -641,7 +640,7 @@ const VendorAttribute = makeEnum({
|
|
|
641
640
|
HeadquarterSubDivision: "headquarterSubDivision",
|
|
642
641
|
WebsiteUrl: "websiteUrl",
|
|
643
642
|
PrivacyPolicyUrl: "privacyPolicyUrl"
|
|
644
|
-
}
|
|
643
|
+
};
|
|
645
644
|
/** The value of AssessmentQuestion's syncColumn that stands for Vendor column */
|
|
646
645
|
const VendorAttributeSyncColumn = makeEnum({
|
|
647
646
|
title: "TITLE",
|
|
@@ -661,14 +660,14 @@ const VendorAttributeSyncColumn = makeEnum({
|
|
|
661
660
|
/**
|
|
662
661
|
* The attributes of the DataSubCategory model.
|
|
663
662
|
*/
|
|
664
|
-
const DataSubCategoryAttribute =
|
|
663
|
+
const DataSubCategoryAttribute = {
|
|
665
664
|
Name: "name",
|
|
666
665
|
Slug: "slug",
|
|
667
666
|
Description: "description",
|
|
668
667
|
Category: "category",
|
|
669
668
|
IsDefault: "isDefault",
|
|
670
669
|
Regex: "regex"
|
|
671
|
-
}
|
|
670
|
+
};
|
|
672
671
|
/** The value of AssessmentQuestion's syncColumn that stands for DataSubCategory column */
|
|
673
672
|
const DataSubCategoryAttributeSyncColumn = makeEnum({
|
|
674
673
|
name: "NAME",
|
|
@@ -681,13 +680,13 @@ const DataSubCategoryAttributeSyncColumn = makeEnum({
|
|
|
681
680
|
/**
|
|
682
681
|
* The attributes of the ProcessingPurposeSubCategory model.
|
|
683
682
|
*/
|
|
684
|
-
const ProcessingPurposeSubCategoryAttribute =
|
|
683
|
+
const ProcessingPurposeSubCategoryAttribute = {
|
|
685
684
|
Name: "name",
|
|
686
685
|
Slug: "slug",
|
|
687
686
|
Description: "description",
|
|
688
687
|
Purpose: "purpose",
|
|
689
688
|
IsDefault: "isDefault"
|
|
690
|
-
}
|
|
689
|
+
};
|
|
691
690
|
/** The value of AssessmentQuestion's syncColumn that stands for ProcessingPurposeSubCategory column */
|
|
692
691
|
const ProcessingPurposeSubCategoryAttributeSyncColumn = makeEnum({
|
|
693
692
|
name: "NAME",
|
|
@@ -699,7 +698,7 @@ const ProcessingPurposeSubCategoryAttributeSyncColumn = makeEnum({
|
|
|
699
698
|
/**
|
|
700
699
|
* The attributes of the BusinessEntity model.
|
|
701
700
|
*/
|
|
702
|
-
const BusinessEntityAttribute =
|
|
701
|
+
const BusinessEntityAttribute = {
|
|
703
702
|
Title: "title",
|
|
704
703
|
Slug: "slug",
|
|
705
704
|
Description: "description",
|
|
@@ -708,7 +707,7 @@ const BusinessEntityAttribute = makeEnum({
|
|
|
708
707
|
Address: "address",
|
|
709
708
|
DataProtectionOfficerEmail: "dataProtectionOfficerEmail",
|
|
710
709
|
DataProtectionOfficerName: "dataProtectionOfficerName"
|
|
711
|
-
}
|
|
710
|
+
};
|
|
712
711
|
/** The value of AssessmentQuestion's syncColumn that stands for BusinessEntity column */
|
|
713
712
|
const BusinessEntityAttributeSyncColumn = makeEnum({
|
|
714
713
|
title: "TITLE",
|
|
@@ -723,7 +722,7 @@ const BusinessEntityAttributeSyncColumn = makeEnum({
|
|
|
723
722
|
/**
|
|
724
723
|
* The attributes of the ProcessingActivity model.
|
|
725
724
|
*/
|
|
726
|
-
const ProcessingActivityAttribute =
|
|
725
|
+
const ProcessingActivityAttribute = {
|
|
727
726
|
Title: "title",
|
|
728
727
|
Description: "description",
|
|
729
728
|
SecurityMeasureDetails: "securityMeasureDetails",
|
|
@@ -734,7 +733,7 @@ const ProcessingActivityAttribute = makeEnum({
|
|
|
734
733
|
RetentionPeriod: "retentionPeriod",
|
|
735
734
|
DataProtectionImpactAssessmentLink: "dataProtectionImpactAssessmentLink",
|
|
736
735
|
DataProtectionImpactAssessmentStatus: "dataProtectionImpactAssessmentStatus"
|
|
737
|
-
}
|
|
736
|
+
};
|
|
738
737
|
/** The value of AssessmentQuestion's syncColumn that stands for ProcessingActivity column */
|
|
739
738
|
const ProcessingActivityAttributeSyncColumn = makeEnum({
|
|
740
739
|
title: "TITLE",
|
|
@@ -838,7 +837,7 @@ const AssessmentSyncColumn = makeEnum({
|
|
|
838
837
|
SCHEDULING_PRIORITY: "SCHEDULING_PRIORITY"
|
|
839
838
|
});
|
|
840
839
|
/** The data inventory models that can be synced from an Assessment Form */
|
|
841
|
-
const AssessmentSyncModel =
|
|
840
|
+
const AssessmentSyncModel = {
|
|
842
841
|
/** DataSilo model */
|
|
843
842
|
DataSilo: "dataSilo",
|
|
844
843
|
/** SubDataPoint model */
|
|
@@ -853,7 +852,7 @@ const AssessmentSyncModel = makeEnum({
|
|
|
853
852
|
BusinessEntity: "businessEntity",
|
|
854
853
|
/** ProcessingActivity model */
|
|
855
854
|
ProcessingActivity: "processingActivity"
|
|
856
|
-
}
|
|
855
|
+
};
|
|
857
856
|
//#endregion
|
|
858
857
|
//#region src/attribute.ts
|
|
859
858
|
/**
|
|
@@ -940,7 +939,7 @@ let AttributeKeyType = /* @__PURE__ */ function(AttributeKeyType) {
|
|
|
940
939
|
* Time zones detected by airgap.js
|
|
941
940
|
* Generated via Intl.supportedValuesOf('timeZone')
|
|
942
941
|
*/
|
|
943
|
-
const BrowserTimeZone =
|
|
942
|
+
const BrowserTimeZone = {
|
|
944
943
|
AfricaAbidjan: "Africa/Abidjan",
|
|
945
944
|
AfricaAccra: "Africa/Accra",
|
|
946
945
|
AfricaAddisAbaba: "Africa/Addis_Ababa",
|
|
@@ -1369,13 +1368,13 @@ const BrowserTimeZone = makeEnum({
|
|
|
1369
1368
|
PacificTruk: "Pacific/Truk",
|
|
1370
1369
|
PacificWake: "Pacific/Wake",
|
|
1371
1370
|
PacificWallis: "Pacific/Wallis"
|
|
1372
|
-
}
|
|
1371
|
+
};
|
|
1373
1372
|
//#endregion
|
|
1374
1373
|
//#region src/code.ts
|
|
1375
1374
|
/**
|
|
1376
1375
|
* The types of files that can be used to detect a code package
|
|
1377
1376
|
*/
|
|
1378
|
-
const CodePackageType =
|
|
1377
|
+
const CodePackageType = {
|
|
1379
1378
|
PackageJson: "PACKAGE_JSON",
|
|
1380
1379
|
RequirementsTxt: "REQUIREMENTS_TXT",
|
|
1381
1380
|
Gradle: "GRADLE",
|
|
@@ -1385,7 +1384,7 @@ const CodePackageType = makeEnum({
|
|
|
1385
1384
|
Pubspec: "PUBSPEC",
|
|
1386
1385
|
Gemfile: "GEMFILE",
|
|
1387
1386
|
ComposerJson: "COMPOSER_JSON"
|
|
1388
|
-
}
|
|
1387
|
+
};
|
|
1389
1388
|
//#endregion
|
|
1390
1389
|
//#region src/consentManager.ts
|
|
1391
1390
|
/**
|
|
@@ -1413,32 +1412,32 @@ let ConsentTrackerStatus = /* @__PURE__ */ function(ConsentTrackerStatus) {
|
|
|
1413
1412
|
/**
|
|
1414
1413
|
* Applicable data flow scopes for a given URL
|
|
1415
1414
|
*/
|
|
1416
|
-
const DataFlowScope =
|
|
1415
|
+
const DataFlowScope = {
|
|
1417
1416
|
Host: "HOST",
|
|
1418
1417
|
Path: "PATH",
|
|
1419
1418
|
QueryParam: "QUERY_PARAM",
|
|
1420
1419
|
RegExp: "REGEX",
|
|
1421
1420
|
CSP: "CSP"
|
|
1422
|
-
}
|
|
1423
|
-
const ConsentBundleType =
|
|
1421
|
+
};
|
|
1422
|
+
const ConsentBundleType = {
|
|
1424
1423
|
/** Bundle hosted at /cm path */
|
|
1425
1424
|
Production: "PRODUCTION",
|
|
1426
1425
|
/** Bundle hosted at /cm-test path */
|
|
1427
1426
|
Test: "TEST"
|
|
1428
|
-
}
|
|
1429
|
-
const UnknownRequestPolicy =
|
|
1427
|
+
};
|
|
1428
|
+
const UnknownRequestPolicy = {
|
|
1430
1429
|
Allow: "ALLOW",
|
|
1431
1430
|
RequireFullConsent: "REQUIRE_FULL_CONSENT",
|
|
1432
1431
|
Block: "BLOCK"
|
|
1433
|
-
}
|
|
1434
|
-
const TelemetryPartitionStrategy =
|
|
1432
|
+
};
|
|
1433
|
+
const TelemetryPartitionStrategy = {
|
|
1435
1434
|
/** Partition telemetry data by the origin (default) */
|
|
1436
1435
|
Origin: "origin",
|
|
1437
1436
|
/** Partition telemetry data by the origin + path */
|
|
1438
1437
|
Path: "path",
|
|
1439
1438
|
/** Partition telemetry data by the full URL */
|
|
1440
1439
|
Url: "url"
|
|
1441
|
-
}
|
|
1440
|
+
};
|
|
1442
1441
|
/**
|
|
1443
1442
|
* The possible options for configuring the Consent resolution precedence
|
|
1444
1443
|
*
|
|
@@ -1449,7 +1448,7 @@ const TelemetryPartitionStrategy = makeEnum({
|
|
|
1449
1448
|
* If this is set to 'signals', then detected privacy signals always take precedence
|
|
1450
1449
|
* over confirmed consent.
|
|
1451
1450
|
*/
|
|
1452
|
-
const ConsentPrecedenceOption =
|
|
1451
|
+
const ConsentPrecedenceOption = {
|
|
1453
1452
|
User: "user",
|
|
1454
1453
|
/**
|
|
1455
1454
|
* @deprecated Use Signals instead
|
|
@@ -1457,7 +1456,7 @@ const ConsentPrecedenceOption = makeEnum({
|
|
|
1457
1456
|
Signal: "signal",
|
|
1458
1457
|
/** Detected privacy signals take precedence over confirmed consent */
|
|
1459
1458
|
Signals: "signals"
|
|
1460
|
-
}
|
|
1459
|
+
};
|
|
1461
1460
|
/**
|
|
1462
1461
|
* The possible options for configuring the CSP
|
|
1463
1462
|
*
|
|
@@ -1468,22 +1467,22 @@ const ConsentPrecedenceOption = makeEnum({
|
|
|
1468
1467
|
* On => allow-subdomains
|
|
1469
1468
|
* Off => off
|
|
1470
1469
|
*/
|
|
1471
|
-
const CspOption =
|
|
1470
|
+
const CspOption = {
|
|
1472
1471
|
Strict: "Strict",
|
|
1473
1472
|
Lax: "Lax",
|
|
1474
1473
|
On: "On",
|
|
1475
1474
|
Off: "Off"
|
|
1476
|
-
}
|
|
1475
|
+
};
|
|
1477
1476
|
/**
|
|
1478
1477
|
* Options for configuring the US Privacy API
|
|
1479
1478
|
*
|
|
1480
1479
|
* On
|
|
1481
1480
|
* Off
|
|
1482
1481
|
*/
|
|
1483
|
-
const UspapiOption =
|
|
1482
|
+
const UspapiOption = {
|
|
1484
1483
|
On: "on",
|
|
1485
1484
|
Off: "off"
|
|
1486
|
-
}
|
|
1485
|
+
};
|
|
1487
1486
|
/**
|
|
1488
1487
|
* Options for configuring the US Privacy API
|
|
1489
1488
|
*
|
|
@@ -1491,36 +1490,36 @@ const UspapiOption = makeEnum({
|
|
|
1491
1490
|
* No
|
|
1492
1491
|
* Unknown
|
|
1493
1492
|
*/
|
|
1494
|
-
const SignedIabAgreementOption =
|
|
1493
|
+
const SignedIabAgreementOption = {
|
|
1495
1494
|
Yes: "yes",
|
|
1496
1495
|
No: "no",
|
|
1497
1496
|
Unknown: "unknown"
|
|
1498
|
-
}
|
|
1497
|
+
};
|
|
1499
1498
|
/**
|
|
1500
1499
|
* Describes whether listed countries/country subdivisions are included in an experience
|
|
1501
1500
|
*/
|
|
1502
|
-
const RegionsOperator =
|
|
1501
|
+
const RegionsOperator = {
|
|
1503
1502
|
/** The listed countries/country subdivisions, time zones, and languages are included in this experience */
|
|
1504
1503
|
In: "IN",
|
|
1505
1504
|
/** The listed countries/country subdivisions, time zones, and languages are NOT included in this experience */
|
|
1506
1505
|
NotIn: "NOT_IN"
|
|
1507
|
-
}
|
|
1506
|
+
};
|
|
1508
1507
|
/**
|
|
1509
1508
|
* Options for configuring Backend Sync
|
|
1510
1509
|
*
|
|
1511
1510
|
* On
|
|
1512
1511
|
* Off
|
|
1513
1512
|
*/
|
|
1514
|
-
const BackendSyncOption =
|
|
1513
|
+
const BackendSyncOption = {
|
|
1515
1514
|
On: "on",
|
|
1516
1515
|
Off: "off"
|
|
1517
|
-
}
|
|
1516
|
+
};
|
|
1518
1517
|
/**
|
|
1519
1518
|
* Whether or not to run local on-device same-site cross-domain sync
|
|
1520
1519
|
*
|
|
1521
1520
|
* default: 'on'
|
|
1522
1521
|
*/
|
|
1523
|
-
const LocalSyncOption =
|
|
1522
|
+
const LocalSyncOption = {
|
|
1524
1523
|
/** use private sync only */
|
|
1525
1524
|
Private: "private",
|
|
1526
1525
|
/** allow network-observable sync when private sync is unavailable */
|
|
@@ -1529,14 +1528,14 @@ const LocalSyncOption = makeEnum({
|
|
|
1529
1528
|
On: "on",
|
|
1530
1529
|
/** disable local sync */
|
|
1531
1530
|
Off: "off"
|
|
1532
|
-
}
|
|
1531
|
+
};
|
|
1533
1532
|
/**
|
|
1534
1533
|
* Sort direction for GraphQL order-by queries
|
|
1535
1534
|
*/
|
|
1536
|
-
const OrderDirection =
|
|
1535
|
+
const OrderDirection = {
|
|
1537
1536
|
Asc: "ASC",
|
|
1538
1537
|
Desc: "DESC"
|
|
1539
|
-
}
|
|
1538
|
+
};
|
|
1540
1539
|
/**
|
|
1541
1540
|
* The possible options for configuring default consent
|
|
1542
1541
|
*
|
|
@@ -1545,14 +1544,14 @@ const OrderDirection = makeEnum({
|
|
|
1545
1544
|
* Opt-in => 'off' / false
|
|
1546
1545
|
* Opt-out (unless for any reason not to; legal or otherwise) => 'Auto'
|
|
1547
1546
|
*/
|
|
1548
|
-
const DefaultConsentOption =
|
|
1547
|
+
const DefaultConsentOption = {
|
|
1549
1548
|
OptIn: "off",
|
|
1550
1549
|
OptOut: "Auto"
|
|
1551
|
-
}
|
|
1550
|
+
};
|
|
1552
1551
|
/**
|
|
1553
1552
|
* Fields by which you can order cookies
|
|
1554
1553
|
*/
|
|
1555
|
-
const CookieOrderField =
|
|
1554
|
+
const CookieOrderField = {
|
|
1556
1555
|
/** The name of this cookie */
|
|
1557
1556
|
Name: "name",
|
|
1558
1557
|
/** When the cookie was created */
|
|
@@ -1561,11 +1560,11 @@ const CookieOrderField = makeEnum({
|
|
|
1561
1560
|
UpdatedAt: "updatedAt",
|
|
1562
1561
|
/** The number of occurrences (traffic) of this cookie */
|
|
1563
1562
|
Occurrences: "occurrences"
|
|
1564
|
-
}
|
|
1563
|
+
};
|
|
1565
1564
|
/**
|
|
1566
1565
|
* Fields by which you can order data flows
|
|
1567
1566
|
*/
|
|
1568
|
-
const DataFlowOrderField =
|
|
1567
|
+
const DataFlowOrderField = {
|
|
1569
1568
|
/** The value of this data flow */
|
|
1570
1569
|
Value: "value",
|
|
1571
1570
|
/** When the data flow was created */
|
|
@@ -1576,40 +1575,40 @@ const DataFlowOrderField = makeEnum({
|
|
|
1576
1575
|
Occurrences: "occurrences",
|
|
1577
1576
|
/** The SaaS tool associated with these data flows */
|
|
1578
1577
|
Service: "service"
|
|
1579
|
-
}
|
|
1578
|
+
};
|
|
1580
1579
|
/**
|
|
1581
1580
|
* Types of data flows
|
|
1582
1581
|
*/
|
|
1583
|
-
const DataFlowType =
|
|
1582
|
+
const DataFlowType = {
|
|
1584
1583
|
/** URL-based data flow */
|
|
1585
1584
|
Url: "URL",
|
|
1586
1585
|
/** Query parameter-based data flow */
|
|
1587
1586
|
QueryParam: "QUERY_PARAM",
|
|
1588
1587
|
/** Regular expression-based data flow */
|
|
1589
1588
|
RegExp: "REGEX"
|
|
1590
|
-
}
|
|
1589
|
+
};
|
|
1591
1590
|
/**
|
|
1592
1591
|
* Triage actions for consent bulk operations
|
|
1593
1592
|
*/
|
|
1594
|
-
const TriageAction =
|
|
1593
|
+
const TriageAction = {
|
|
1595
1594
|
/** Approve the tracker */
|
|
1596
1595
|
Approve: "APPROVE",
|
|
1597
1596
|
/** Mark the tracker as junk */
|
|
1598
1597
|
Junk: "JUNK"
|
|
1599
|
-
}
|
|
1598
|
+
};
|
|
1600
1599
|
/**
|
|
1601
1600
|
* Discriminator for cookie vs data flow
|
|
1602
1601
|
*/
|
|
1603
|
-
const ConsentTrackerType =
|
|
1602
|
+
const ConsentTrackerType = {
|
|
1604
1603
|
/** Cookie tracker */
|
|
1605
1604
|
Cookie: "cookie",
|
|
1606
1605
|
/** Data flow tracker */
|
|
1607
1606
|
DataFlow: "data_flow"
|
|
1608
|
-
}
|
|
1607
|
+
};
|
|
1609
1608
|
/**
|
|
1610
1609
|
* Metrics supported by airgap bundle aggregate/timeseries analytics
|
|
1611
1610
|
*/
|
|
1612
|
-
const AirgapBundleAnalyticsMetric =
|
|
1611
|
+
const AirgapBundleAnalyticsMetric = {
|
|
1613
1612
|
/** User opt-in or opt-out for a consent purpose */
|
|
1614
1613
|
ConsentChanged: "CONSENT_CHANGED",
|
|
1615
1614
|
/** Privacy signal detected (e.g. GPC, DNT) */
|
|
@@ -1618,69 +1617,69 @@ const AirgapBundleAnalyticsMetric = makeEnum({
|
|
|
1618
1617
|
SiteSessions: "SITE_SESSIONS",
|
|
1619
1618
|
/** Page view recorded */
|
|
1620
1619
|
PageViews: "PAGE_VIEWS"
|
|
1621
|
-
}
|
|
1620
|
+
};
|
|
1622
1621
|
/**
|
|
1623
1622
|
* Dimensions available for aggregate consent analytics breakdowns
|
|
1624
1623
|
*/
|
|
1625
|
-
const AirgapBundleAnalyticsDimension =
|
|
1624
|
+
const AirgapBundleAnalyticsDimension = {
|
|
1626
1625
|
/** Consent value after change (true = opted in, false = opted out) */
|
|
1627
1626
|
NewValue: "NEW_VALUE",
|
|
1628
1627
|
/** Privacy regime active when the event was recorded */
|
|
1629
1628
|
Regime: "REGIME",
|
|
1630
1629
|
/** Tracking purpose the event relates to */
|
|
1631
1630
|
Purpose: "PURPOSE"
|
|
1632
|
-
}
|
|
1631
|
+
};
|
|
1633
1632
|
/**
|
|
1634
1633
|
* Bin sizes for airgap bundle timeseries analytics
|
|
1635
1634
|
*/
|
|
1636
|
-
const AirgapBundleAnalyticsBinInterval =
|
|
1635
|
+
const AirgapBundleAnalyticsBinInterval = {
|
|
1637
1636
|
/** One minute bins */
|
|
1638
1637
|
Minute: "1m",
|
|
1639
1638
|
/** One hour bins */
|
|
1640
1639
|
Hourly: "1h",
|
|
1641
1640
|
/** One day bins */
|
|
1642
1641
|
Daily: "1d"
|
|
1643
|
-
}
|
|
1642
|
+
};
|
|
1644
1643
|
/**
|
|
1645
1644
|
* analyticsData sources for consent manager metrics
|
|
1646
1645
|
*/
|
|
1647
|
-
const ConsentManagerAnalyticsDataSource =
|
|
1646
|
+
const ConsentManagerAnalyticsDataSource = {
|
|
1648
1647
|
/** DNT/GPC and other privacy signal counts over time */
|
|
1649
1648
|
PrivacySignalTimeseries: "PRIVACY_SIGNAL_TIMESERIES",
|
|
1650
1649
|
/** Explicit opt-in/opt-out events over time */
|
|
1651
1650
|
ConsentChangesTimeseries: "CONSENT_CHANGES_TIMESERIES",
|
|
1652
1651
|
/** Session counts grouped by privacy regime */
|
|
1653
1652
|
ConsentSessionsByRegime: "CONSENT_SESSIONS_BY_REGIME"
|
|
1654
|
-
}
|
|
1653
|
+
};
|
|
1655
1654
|
/**
|
|
1656
1655
|
* Allowed bin sizes for consent manager analyticsData queries
|
|
1657
1656
|
*/
|
|
1658
|
-
const ConsentManagerMetricBin =
|
|
1657
|
+
const ConsentManagerMetricBin = {
|
|
1659
1658
|
/** One hour bins */
|
|
1660
1659
|
Hourly: "1h",
|
|
1661
1660
|
/** One day bins */
|
|
1662
1661
|
Daily: "1d"
|
|
1663
|
-
}
|
|
1662
|
+
};
|
|
1664
1663
|
//#endregion
|
|
1665
1664
|
//#region src/consentUiInventory.ts
|
|
1666
1665
|
/** Status of a consent UI variant */
|
|
1667
|
-
const UiVariantStatus =
|
|
1666
|
+
const UiVariantStatus = {
|
|
1668
1667
|
/** Variant is in draft */
|
|
1669
1668
|
Draft: "DRAFT",
|
|
1670
1669
|
/** Variant is active */
|
|
1671
1670
|
Active: "ACTIVE",
|
|
1672
1671
|
/** Variant is published */
|
|
1673
1672
|
Published: "PUBLISHED"
|
|
1674
|
-
}
|
|
1673
|
+
};
|
|
1675
1674
|
/** User flow for a consent UI variant */
|
|
1676
|
-
const ConsentUiUserFlow =
|
|
1675
|
+
const ConsentUiUserFlow = {
|
|
1677
1676
|
/** Banner-only flow */
|
|
1678
1677
|
Banner: "BANNER",
|
|
1679
1678
|
/** Modal-only flow */
|
|
1680
1679
|
Modal: "MODAL",
|
|
1681
1680
|
/** Banner and modal flow */
|
|
1682
1681
|
BannerAndModal: "BANNER_AND_MODAL"
|
|
1683
|
-
}
|
|
1682
|
+
};
|
|
1684
1683
|
/** Consent UI variant input from transcend.yml */
|
|
1685
1684
|
const ConsentVariantInput = t.intersection([t.type({
|
|
1686
1685
|
/** ID of consent variant */
|
|
@@ -1726,21 +1725,21 @@ const ConsentThemeInput = t.type({
|
|
|
1726
1725
|
//#endregion
|
|
1727
1726
|
//#region src/consentUiConfiguration.ts
|
|
1728
1727
|
/** Actions for buttons in modals */
|
|
1729
|
-
const ModalButtonActions =
|
|
1728
|
+
const ModalButtonActions = {
|
|
1730
1729
|
SaveAndClose: "SaveAndClose",
|
|
1731
1730
|
AcceptAllAndClose: "AcceptAllAndClose",
|
|
1732
1731
|
RejectAllAndClose: "RejectAllAndClose"
|
|
1733
|
-
}
|
|
1732
|
+
};
|
|
1734
1733
|
/** All action types for buttons */
|
|
1735
|
-
const ButtonAction =
|
|
1734
|
+
const ButtonAction = {
|
|
1736
1735
|
...ModalButtonActions,
|
|
1737
1736
|
OpenModal: "OpenModal"
|
|
1738
|
-
}
|
|
1737
|
+
};
|
|
1739
1738
|
/** Button Type */
|
|
1740
|
-
const ButtonType =
|
|
1739
|
+
const ButtonType = {
|
|
1741
1740
|
Default: "default",
|
|
1742
1741
|
Link: "link"
|
|
1743
|
-
}
|
|
1742
|
+
};
|
|
1744
1743
|
/** Absolute URL string */
|
|
1745
1744
|
const AbsoluteUrlString = t.string;
|
|
1746
1745
|
/** URL host string */
|
|
@@ -1827,54 +1826,54 @@ const UIConfiguration = t.union([
|
|
|
1827
1826
|
/**
|
|
1828
1827
|
* Vertical alignment options for the consent UI content
|
|
1829
1828
|
*/
|
|
1830
|
-
const VerticalAlign =
|
|
1829
|
+
const VerticalAlign = {
|
|
1831
1830
|
/** Aligns the UI content at the top */
|
|
1832
1831
|
Top: "top",
|
|
1833
1832
|
/** Aligns the UI content at the bottom */
|
|
1834
1833
|
Bottom: "bottom",
|
|
1835
1834
|
/** Aligns the UI content in the center */
|
|
1836
1835
|
Center: "center"
|
|
1837
|
-
}
|
|
1836
|
+
};
|
|
1838
1837
|
/**
|
|
1839
1838
|
* Horizontal alignment options for the consent UI content
|
|
1840
1839
|
*/
|
|
1841
|
-
const HorizontalAlign =
|
|
1840
|
+
const HorizontalAlign = {
|
|
1842
1841
|
/** Aligns the UI content on the left */
|
|
1843
1842
|
Left: "left",
|
|
1844
1843
|
/** Aligns the UI content in the center */
|
|
1845
1844
|
Center: "center",
|
|
1846
1845
|
/** Aligns the UI content on the right */
|
|
1847
1846
|
Right: "right"
|
|
1848
|
-
}
|
|
1847
|
+
};
|
|
1849
1848
|
/**
|
|
1850
1849
|
* Position options for the logo in the consent UI
|
|
1851
1850
|
*/
|
|
1852
|
-
const LogoPosition =
|
|
1851
|
+
const LogoPosition = {
|
|
1853
1852
|
/** Logo is positioned above the content */
|
|
1854
1853
|
Above: "above",
|
|
1855
1854
|
/** Logo is positioned to the left of the content */
|
|
1856
1855
|
Left: "left"
|
|
1857
|
-
}
|
|
1856
|
+
};
|
|
1858
1857
|
/**
|
|
1859
1858
|
* Defines how content can flow in a layout
|
|
1860
1859
|
*/
|
|
1861
|
-
const ContentFlows =
|
|
1860
|
+
const ContentFlows = {
|
|
1862
1861
|
/** Items are stacked vertically, top to bottom */
|
|
1863
1862
|
Vertical: "vertical",
|
|
1864
1863
|
/** Items are stacked horizontally, often wrapping if space runs out */
|
|
1865
1864
|
HorizontalStacked: "horizontalStacked",
|
|
1866
1865
|
/** Items are laid out horizontally, in a single row */
|
|
1867
1866
|
HorizontalFlat: "horizontalFlat"
|
|
1868
|
-
}
|
|
1867
|
+
};
|
|
1869
1868
|
/**
|
|
1870
1869
|
* Units available for responsive breakpoints.
|
|
1871
1870
|
*/
|
|
1872
|
-
const BreakpointType =
|
|
1871
|
+
const BreakpointType = {
|
|
1873
1872
|
/** Breakpoint defined in pixels */
|
|
1874
1873
|
Px: "px",
|
|
1875
1874
|
/** Breakpoint defined as a percentage */
|
|
1876
1875
|
Percent: "percent"
|
|
1877
|
-
}
|
|
1876
|
+
};
|
|
1878
1877
|
/** String that represents a CSS unit eg. px, em, etc. */
|
|
1879
1878
|
const CssUnitString = t.string;
|
|
1880
1879
|
/**
|
|
@@ -2075,12 +2074,12 @@ const SemicolonDelimitedRegimeKeyString = t.string;
|
|
|
2075
2074
|
/**
|
|
2076
2075
|
* Autofocus toggle values ("on" / "off").
|
|
2077
2076
|
*/
|
|
2078
|
-
const AutofocusToggle =
|
|
2077
|
+
const AutofocusToggle = {
|
|
2079
2078
|
/** Enable autofocus */
|
|
2080
2079
|
On: "on",
|
|
2081
2080
|
/** Disable autofocus */
|
|
2082
2081
|
Off: "off"
|
|
2083
|
-
}
|
|
2082
|
+
};
|
|
2084
2083
|
/**
|
|
2085
2084
|
* All valid autofocus values:
|
|
2086
2085
|
* - `"on"` / `"off"`
|
|
@@ -2090,14 +2089,14 @@ const AutofocusValues = t.union([valuesOf(AutofocusToggle), DOMElementId]);
|
|
|
2090
2089
|
/**
|
|
2091
2090
|
* Shadow root options ("open" / "closed" / "none").
|
|
2092
2091
|
*/
|
|
2093
|
-
const ShadowRootOptions =
|
|
2092
|
+
const ShadowRootOptions = {
|
|
2094
2093
|
/** Enable shadow root */
|
|
2095
2094
|
Open: "open",
|
|
2096
2095
|
/** Disable shadow root */
|
|
2097
2096
|
Closed: "closed",
|
|
2098
2097
|
/** Disable shadow root */
|
|
2099
2098
|
None: "none"
|
|
2100
|
-
}
|
|
2099
|
+
};
|
|
2101
2100
|
/** Shared load option fields excluding themeConfigMap */
|
|
2102
2101
|
const SharedLoadOptions = t.intersection([t.type({
|
|
2103
2102
|
regimeVariantMap: t.record(RegimeKey, VariantKey),
|
|
@@ -2131,52 +2130,52 @@ const MobileUiLoadOptions = t.intersection([SharedLoadOptions, t.type({ themeCon
|
|
|
2131
2130
|
/**
|
|
2132
2131
|
* The product-facing type of a custom function.
|
|
2133
2132
|
*/
|
|
2134
|
-
const CustomFunctionType =
|
|
2133
|
+
const CustomFunctionType = {
|
|
2135
2134
|
/** DSR pre-flight enricher and datapoint resolver */
|
|
2136
2135
|
Dsr: "DSR",
|
|
2137
2136
|
/** General purpose code execution */
|
|
2138
2137
|
General: "GENERAL"
|
|
2139
|
-
}
|
|
2138
|
+
};
|
|
2140
2139
|
/**
|
|
2141
2140
|
* The lifecycle state of a custom function.
|
|
2142
2141
|
*/
|
|
2143
|
-
const CustomFunctionLifecycleState =
|
|
2142
|
+
const CustomFunctionLifecycleState = {
|
|
2144
2143
|
/** The function exists but has no active version */
|
|
2145
2144
|
Inactive: "INACTIVE",
|
|
2146
2145
|
/** The function has an active version */
|
|
2147
2146
|
Active: "ACTIVE",
|
|
2148
2147
|
/** The function is archived */
|
|
2149
2148
|
Archived: "ARCHIVED"
|
|
2150
|
-
}
|
|
2149
|
+
};
|
|
2151
2150
|
/**
|
|
2152
2151
|
* The lifecycle state of a custom function version.
|
|
2153
2152
|
*/
|
|
2154
|
-
const CustomFunctionVersionLifecycleState =
|
|
2153
|
+
const CustomFunctionVersionLifecycleState = {
|
|
2155
2154
|
/** The version is the function's active version */
|
|
2156
2155
|
Active: "ACTIVE",
|
|
2157
2156
|
/** The version is a draft pending promotion */
|
|
2158
2157
|
Draft: "DRAFT",
|
|
2159
2158
|
/** The version was superseded by a newer version */
|
|
2160
2159
|
Inactive: "INACTIVE"
|
|
2161
|
-
}
|
|
2160
|
+
};
|
|
2162
2161
|
/**
|
|
2163
2162
|
* The payload types a custom function can be invoked with, selecting which
|
|
2164
2163
|
* export the runtime executes.
|
|
2165
2164
|
*/
|
|
2166
|
-
const CustomFunctionPayloadType =
|
|
2165
|
+
const CustomFunctionPayloadType = {
|
|
2167
2166
|
/** DSR datapoint resolver — invokes the `default` export */
|
|
2168
2167
|
DataPoint: "DATA_POINT",
|
|
2169
2168
|
/** DSR pre-flight request enricher — invokes the `enricher` export */
|
|
2170
2169
|
RequestEnricher: "REQUEST_ENRICHER",
|
|
2171
2170
|
/** General purpose (Maestro) custom function */
|
|
2172
2171
|
Maestro: "MAESTRO"
|
|
2173
|
-
}
|
|
2172
|
+
};
|
|
2174
2173
|
//#endregion
|
|
2175
2174
|
//#region src/database.ts
|
|
2176
2175
|
/**
|
|
2177
2176
|
* The database integrations
|
|
2178
2177
|
*/
|
|
2179
|
-
const DatabaseIntegration =
|
|
2178
|
+
const DatabaseIntegration = {
|
|
2180
2179
|
postgresql: "postgresql",
|
|
2181
2180
|
redshift: "amazonredshift",
|
|
2182
2181
|
snowflake: "snowflake",
|
|
@@ -2198,11 +2197,11 @@ const DatabaseIntegration = makeEnum({
|
|
|
2198
2197
|
azuresynapse: "azuresynapse",
|
|
2199
2198
|
azurecosmosdbnosql: "azurecosmosdbnosql",
|
|
2200
2199
|
trino: "trino"
|
|
2201
|
-
}
|
|
2200
|
+
};
|
|
2202
2201
|
/**
|
|
2203
2202
|
* The possible drivers for a database integration
|
|
2204
2203
|
*/
|
|
2205
|
-
const SQLDriverWithDataMapping =
|
|
2204
|
+
const SQLDriverWithDataMapping = {
|
|
2206
2205
|
[DatabaseIntegration.redshift]: "Amazon Redshift",
|
|
2207
2206
|
[DatabaseIntegration.postgresql]: "PostgreSQL Unicode",
|
|
2208
2207
|
[DatabaseIntegration.snowflake]: "SnowflakeDSIIDriver",
|
|
@@ -2215,12 +2214,12 @@ const SQLDriverWithDataMapping = makeEnum({
|
|
|
2215
2214
|
[DatabaseIntegration.oracle]: "Oracle DB",
|
|
2216
2215
|
[DatabaseIntegration.azuresynapse]: "Azure Synapse",
|
|
2217
2216
|
[DatabaseIntegration.trino]: "Trino"
|
|
2218
|
-
}
|
|
2217
|
+
};
|
|
2219
2218
|
/**
|
|
2220
2219
|
* All possible drivers for a database integration, regardless
|
|
2221
2220
|
* or not they support data mapping
|
|
2222
2221
|
*/
|
|
2223
|
-
const DatabaseDriver =
|
|
2222
|
+
const DatabaseDriver = {
|
|
2224
2223
|
...SQLDriverWithDataMapping,
|
|
2225
2224
|
[DatabaseIntegration.mongodb]: "MongoDB",
|
|
2226
2225
|
[DatabaseIntegration.amazondynamodb]: "AmazonDynamoDB",
|
|
@@ -2232,24 +2231,24 @@ const DatabaseDriver = makeEnum({
|
|
|
2232
2231
|
[DatabaseIntegration.saps4hana]: "SapS4Hana",
|
|
2233
2232
|
[DatabaseIntegration.googlebigtable]: "Google Bigtable",
|
|
2234
2233
|
[DatabaseIntegration.azurecosmosdbnosql]: "Azure Cosmos DB NoSQL"
|
|
2235
|
-
}
|
|
2234
|
+
};
|
|
2236
2235
|
//#endregion
|
|
2237
2236
|
//#region src/datapoint.ts
|
|
2238
|
-
const ConfidenceLabel =
|
|
2237
|
+
const ConfidenceLabel = {
|
|
2239
2238
|
High: "HIGH",
|
|
2240
2239
|
Medium: "MEDIUM",
|
|
2241
2240
|
Low: "LOW"
|
|
2242
|
-
}
|
|
2241
|
+
};
|
|
2243
2242
|
/** The approval status of the category guess for a subdatapoint */
|
|
2244
|
-
const SubDataPointDataSubCategoryGuessStatus =
|
|
2243
|
+
const SubDataPointDataSubCategoryGuessStatus = {
|
|
2245
2244
|
/** The guess has been approved as valid */
|
|
2246
2245
|
Approved: "APPROVED",
|
|
2247
2246
|
/** The guess is pending review */
|
|
2248
2247
|
Pending: "PENDING",
|
|
2249
2248
|
/** The guess has been marked as wrong */
|
|
2250
2249
|
Rejected: "REJECTED"
|
|
2251
|
-
}
|
|
2252
|
-
const UnstructuredSubDataPointRecommendationStatus =
|
|
2250
|
+
};
|
|
2251
|
+
const UnstructuredSubDataPointRecommendationStatus = {
|
|
2253
2252
|
/** The category was manually applied */
|
|
2254
2253
|
ManuallyAdded: "MANUALLY_ADDED",
|
|
2255
2254
|
/** The recommendation has been corrected */
|
|
@@ -2260,25 +2259,25 @@ const UnstructuredSubDataPointRecommendationStatus = makeEnum({
|
|
|
2260
2259
|
Classified: "CLASSIFIED",
|
|
2261
2260
|
/** The recommendation has been marked as wrong */
|
|
2262
2261
|
Rejected: "REJECTED"
|
|
2263
|
-
}
|
|
2262
|
+
};
|
|
2264
2263
|
/**
|
|
2265
2264
|
* Encryption types for database table
|
|
2266
2265
|
*/
|
|
2267
|
-
const TableEncryptionType =
|
|
2266
|
+
const TableEncryptionType = {
|
|
2268
2267
|
Unencrypted: "UNENCRYPTED",
|
|
2269
2268
|
EncryptedApplicationSide: "ENCRYPTED_APPLICATION_SIDE",
|
|
2270
2269
|
EncryptedByDataAtRest: "ENCRYPTED_DATA_AT_REST"
|
|
2271
|
-
}
|
|
2272
|
-
const Controllership =
|
|
2270
|
+
};
|
|
2271
|
+
const Controllership = {
|
|
2273
2272
|
/** The current organization is a controller of the data */
|
|
2274
2273
|
Controller: "CONTROLLER",
|
|
2275
2274
|
/** The current organization is a processor of the data */
|
|
2276
2275
|
Processor: "PROCESSOR",
|
|
2277
2276
|
/** The current organization is a joint controller of the data */
|
|
2278
2277
|
JointController: "JOINT_CONTROLLER"
|
|
2279
|
-
}
|
|
2278
|
+
};
|
|
2280
2279
|
/** The type of retention schedule for personal data */
|
|
2281
|
-
const RetentionType =
|
|
2280
|
+
const RetentionType = {
|
|
2282
2281
|
/** Collected user information is deleted, anonymized or aggregated after a specific time period */
|
|
2283
2282
|
StatedPeriod: "STATED_PERIOD",
|
|
2284
2283
|
/** Data is deleted, anonymized, or aggregated at some point, but no specific retention period is stated */
|
|
@@ -2289,7 +2288,7 @@ const RetentionType = makeEnum({
|
|
|
2289
2288
|
Other: "OTHER",
|
|
2290
2289
|
/** Retention period is not stated or unclear */
|
|
2291
2290
|
Unspecified: "UNSPECIFIED"
|
|
2292
|
-
}
|
|
2291
|
+
};
|
|
2293
2292
|
//#endregion
|
|
2294
2293
|
//#region src/drop.ts
|
|
2295
2294
|
/** The six DROP list types as written on the wire. */
|
|
@@ -2315,7 +2314,7 @@ const DROP_RECORD_ID_MAX_LENGTH = 64;
|
|
|
2315
2314
|
* Surfaced on `POST /v1/data-subject-request-bulk` when the payload or its
|
|
2316
2315
|
* preconditions are invalid before per-input processing completes.
|
|
2317
2316
|
*/
|
|
2318
|
-
const DsrBulkErrorCode =
|
|
2317
|
+
const DsrBulkErrorCode = {
|
|
2319
2318
|
/** The bulk submission included no request inputs. */
|
|
2320
2319
|
NoInputsProvided: "NO_INPUTS_PROVIDED",
|
|
2321
2320
|
/** The bulk submission exceeds the maximum number of inputs. */
|
|
@@ -2339,7 +2338,7 @@ const DsrBulkErrorCode = makeEnum({
|
|
|
2339
2338
|
* before per-item processing).
|
|
2340
2339
|
*/
|
|
2341
2340
|
InvalidBulkInput: "INVALID_BULK_INPUT"
|
|
2342
|
-
}
|
|
2341
|
+
};
|
|
2343
2342
|
//#endregion
|
|
2344
2343
|
//#region src/dsrErrorCode.ts
|
|
2345
2344
|
/**
|
|
@@ -2349,7 +2348,7 @@ const DsrBulkErrorCode = makeEnum({
|
|
|
2349
2348
|
* Returned on one failed input so callers can branch without parsing the error
|
|
2350
2349
|
* message. Failures about the bulk call as a whole use {@link DsrBulkErrorCode}.
|
|
2351
2350
|
*/
|
|
2352
|
-
const DsrErrorCode =
|
|
2351
|
+
const DsrErrorCode = {
|
|
2353
2352
|
/** This request has an invalid or missing workflowConfigId. */
|
|
2354
2353
|
InvalidWorkflowConfigId: "INVALID_WORKFLOW_CONFIG_ID",
|
|
2355
2354
|
/** This request is missing a core identifier. */
|
|
@@ -2372,6 +2371,11 @@ const DsrErrorCode = makeEnum({
|
|
|
2372
2371
|
MaxDropRecordsPerRequestExceeded: "MAX_DROP_RECORDS_PER_REQUEST_EXCEEDED",
|
|
2373
2372
|
/** One or more DROP records on this request are not part of the run's CPPA download. */
|
|
2374
2373
|
UnknownDropRecords: "UNKNOWN_DROP_RECORDS",
|
|
2374
|
+
/**
|
|
2375
|
+
* One or more DROP records on this request exist in the run's CPPA download
|
|
2376
|
+
* under a different list type than the submission claims.
|
|
2377
|
+
*/
|
|
2378
|
+
DropRecordListTypeMismatch: "DROP_RECORD_LIST_TYPE_MISMATCH",
|
|
2375
2379
|
/** The DROP run referenced by this request does not exist. */
|
|
2376
2380
|
DropRunNotFound: "DROP_RUN_NOT_FOUND",
|
|
2377
2381
|
/** The DROP run referenced by this request is in a state that no longer accepts new DROP-linked DSRs. */
|
|
@@ -2425,7 +2429,7 @@ const DsrErrorCode = makeEnum({
|
|
|
2425
2429
|
* submit requests.
|
|
2426
2430
|
*/
|
|
2427
2431
|
DraftWorkflowConfig: "DRAFT_WORKFLOW_CONFIG"
|
|
2428
|
-
}
|
|
2432
|
+
};
|
|
2429
2433
|
//#endregion
|
|
2430
2434
|
//#region src/dsrErrorMessage.ts
|
|
2431
2435
|
/**
|
|
@@ -2471,6 +2475,9 @@ const DSR_ERROR_MESSAGE = {
|
|
|
2471
2475
|
const remainder = records.length > 20 ? ` and ${records.length - 20} more` : "";
|
|
2472
2476
|
return `${records.length} DROP record(s) are not part of this run's CPPA download: ${named}${remainder}. Re-index the run's records, or download a fresh matched-records file and edit that.`;
|
|
2473
2477
|
},
|
|
2478
|
+
[DsrErrorCode.DropRecordListTypeMismatch]: (records) => {
|
|
2479
|
+
return `${records.length === 1 ? "" : `${records.length} DROP record(s) have a list-type mismatch with this run's CPPA download: `}${records.slice(0, 20).map(({ dropRecordId, submittedListType, actualListType }) => `${dropRecordId} is a ${actualListType} record in this run; file says ${submittedListType}`).join("; ")}${records.length > 20 ? `; and ${records.length - 20} more` : ""}. Download a fresh matched-records file and edit that.`;
|
|
2480
|
+
},
|
|
2474
2481
|
[DsrErrorCode.DropRunNotFound]: (dropRunId) => `Could not find DROP run with id "${dropRunId}"`,
|
|
2475
2482
|
[DsrErrorCode.DropRunNotIntakeEligible]: (dropRunState) => `Cannot submit DROP-linked DSRs while the run is in state ${dropRunState}`,
|
|
2476
2483
|
/**
|
|
@@ -2524,7 +2531,7 @@ const DSR_BULK_ERROR_MESSAGE = {
|
|
|
2524
2531
|
* Returned on successful bulk submissions so callers can branch without parsing
|
|
2525
2532
|
* error messages. Failures continue to use {@link DsrErrorCode}.
|
|
2526
2533
|
*/
|
|
2527
|
-
const DsrRequestOutcome =
|
|
2534
|
+
const DsrRequestOutcome = {
|
|
2528
2535
|
/** A new request was created. */
|
|
2529
2536
|
Created: "CREATED",
|
|
2530
2537
|
/** An equivalent open request already exists for this submission. */
|
|
@@ -2533,22 +2540,22 @@ const DsrRequestOutcome = makeEnum({
|
|
|
2533
2540
|
DropRecordsLinked: "DROP_RECORDS_LINKED",
|
|
2534
2541
|
/** An existing request was restarted. */
|
|
2535
2542
|
Restarted: "RESTARTED"
|
|
2536
|
-
}
|
|
2543
|
+
};
|
|
2537
2544
|
//#endregion
|
|
2538
2545
|
//#region src/identifier.ts
|
|
2539
2546
|
/**
|
|
2540
2547
|
* An identifier that can be used to communication with the data subject, also implies that the identifier is transcend supported
|
|
2541
2548
|
*/
|
|
2542
|
-
const CommunicationIdentifierType =
|
|
2549
|
+
const CommunicationIdentifierType = {
|
|
2543
2550
|
/** An email address */
|
|
2544
2551
|
Email: "email",
|
|
2545
2552
|
/** A phone number */
|
|
2546
2553
|
Phone: "phone"
|
|
2547
|
-
}
|
|
2554
|
+
};
|
|
2548
2555
|
/**
|
|
2549
2556
|
* The built in identification strategies
|
|
2550
2557
|
*/
|
|
2551
|
-
const IdentifierType =
|
|
2558
|
+
const IdentifierType = {
|
|
2552
2559
|
...CommunicationIdentifierType,
|
|
2553
2560
|
/** The core id of the organization (usually provided through login) */
|
|
2554
2561
|
CoreIdentifier: "coreIdentifier",
|
|
@@ -2631,14 +2638,14 @@ const IdentifierType = makeEnum({
|
|
|
2631
2638
|
AdobeCampaignRecipientId: "adobeCampaignRecipientId",
|
|
2632
2639
|
/** The special Transcend identifier on consent preference records */
|
|
2633
2640
|
Transcend: "transcend"
|
|
2634
|
-
}
|
|
2641
|
+
};
|
|
2635
2642
|
//#endregion
|
|
2636
2643
|
//#region src/enricher.ts
|
|
2637
2644
|
/**
|
|
2638
2645
|
* Enrichers that are a bit more freeform, as in they can take in arbitrary inputs
|
|
2639
2646
|
* and return arbitrary outputs
|
|
2640
2647
|
*/
|
|
2641
|
-
const CustomEnricherType =
|
|
2648
|
+
const CustomEnricherType = {
|
|
2642
2649
|
/** Notify a server to enrich the variable */
|
|
2643
2650
|
Server: "SERVER",
|
|
2644
2651
|
/** Notify a person to enrich the value */
|
|
@@ -2661,21 +2668,21 @@ const CustomEnricherType = makeEnum({
|
|
|
2661
2668
|
GovernmentId: "GOVERNMENT_ID",
|
|
2662
2669
|
/** Custom Function enricher type. */
|
|
2663
2670
|
CustomFunction: "CUSTOM_FUNCTION"
|
|
2664
|
-
}
|
|
2671
|
+
};
|
|
2665
2672
|
/**
|
|
2666
2673
|
* Enrichers that can only be used to initialize the beginning of a DSR
|
|
2667
2674
|
*/
|
|
2668
|
-
const InitEnricherType =
|
|
2675
|
+
const InitEnricherType = {
|
|
2669
2676
|
/** Sombra has the capability */
|
|
2670
|
-
Sombra: "SOMBRA" }
|
|
2677
|
+
Sombra: "SOMBRA" };
|
|
2671
2678
|
/**
|
|
2672
2679
|
* The various types of identity enrichers supported by transcend
|
|
2673
2680
|
*/
|
|
2674
|
-
const EnricherType =
|
|
2681
|
+
const EnricherType = {
|
|
2675
2682
|
...InitEnricherType,
|
|
2676
2683
|
...CommunicationIdentifierType,
|
|
2677
2684
|
...CustomEnricherType
|
|
2678
|
-
}
|
|
2685
|
+
};
|
|
2679
2686
|
//#endregion
|
|
2680
2687
|
//#region src/getRegistryLink.ts
|
|
2681
2688
|
const CODE_PACKAGE_TYPE_TO_LINK = {
|
|
@@ -28692,21 +28699,21 @@ function getDictFromKeys(source) {
|
|
|
28692
28699
|
/**
|
|
28693
28700
|
* Country Code taken from https://github.com/umpirsky/country-list/blob/master/data/en/country.json
|
|
28694
28701
|
*/
|
|
28695
|
-
const IsoCountryCode =
|
|
28702
|
+
const IsoCountryCode = getDictFromKeys(ISO_31661);
|
|
28696
28703
|
/**
|
|
28697
28704
|
* Country subdivisions taken from taken from https://github.com/wooorm/iso-3166/blob/main/2.js
|
|
28698
28705
|
*/
|
|
28699
|
-
const IsoCountrySubdivisionCode =
|
|
28706
|
+
const IsoCountrySubdivisionCode = getDictFromKeys(ISO_31662);
|
|
28700
28707
|
//#endregion
|
|
28701
28708
|
//#region src/largeLanguageModels.ts
|
|
28702
28709
|
/**
|
|
28703
28710
|
* The role of the message's author. One of `system`, `user`, `assistant`
|
|
28704
28711
|
*/
|
|
28705
|
-
const ChatCompletionRole =
|
|
28712
|
+
const ChatCompletionRole = {
|
|
28706
28713
|
System: "system",
|
|
28707
28714
|
User: "user",
|
|
28708
28715
|
Assistant: "assistant"
|
|
28709
|
-
}
|
|
28716
|
+
};
|
|
28710
28717
|
/**
|
|
28711
28718
|
* The supported product areas where the prompts can be run
|
|
28712
28719
|
*/
|
|
@@ -28724,17 +28731,17 @@ const ChatCompletionMessage = t.type({
|
|
|
28724
28731
|
/**
|
|
28725
28732
|
* LLM model clients
|
|
28726
28733
|
*/
|
|
28727
|
-
const LargeLanguageModelClient =
|
|
28734
|
+
const LargeLanguageModelClient = {
|
|
28728
28735
|
OpenAi: "openai",
|
|
28729
28736
|
Claude: "claude",
|
|
28730
28737
|
Llama: "llama"
|
|
28731
|
-
}
|
|
28738
|
+
};
|
|
28732
28739
|
//#endregion
|
|
28733
28740
|
//#region src/macroregion.ts
|
|
28734
28741
|
/**
|
|
28735
28742
|
* Country Code taken from https://github.com/umpirsky/country-list/blob/master/data/en/country.json
|
|
28736
28743
|
*/
|
|
28737
|
-
const MacroRegion =
|
|
28744
|
+
const MacroRegion = { [IsoCountryCode.EU]: IsoCountryCode.EU };
|
|
28738
28745
|
const DEFAULT_MACROREGIONS_MAP = { [MacroRegion.EU]: [
|
|
28739
28746
|
IsoCountryCode.BE,
|
|
28740
28747
|
IsoCountryCode.GR,
|
|
@@ -28798,7 +28805,7 @@ const DEFAULT_MACROREGIONS_MAP = { [MacroRegion.EU]: [
|
|
|
28798
28805
|
//#endregion
|
|
28799
28806
|
//#region src/objects.ts
|
|
28800
28807
|
/** The purpose of processing data */
|
|
28801
|
-
const ProcessingPurpose =
|
|
28808
|
+
const ProcessingPurpose = {
|
|
28802
28809
|
/** Provide a service that the user explicitly requests and that is part of the product's basic service or functionality */
|
|
28803
28810
|
Essential: "ESSENTIAL",
|
|
28804
28811
|
/** Provide a service that the user explicitly requests but that is not a necessary part of the product's basic service */
|
|
@@ -28825,9 +28832,9 @@ const ProcessingPurpose = makeEnum({
|
|
|
28825
28832
|
Other: "OTHER",
|
|
28826
28833
|
/** The purpose is not explicitly stated or is unclear */
|
|
28827
28834
|
Unspecified: "UNSPECIFIED"
|
|
28828
|
-
}
|
|
28835
|
+
};
|
|
28829
28836
|
/** The category of personal data that is processed */
|
|
28830
|
-
const DataCategoryType =
|
|
28837
|
+
const DataCategoryType = {
|
|
28831
28838
|
/** Financial information */
|
|
28832
28839
|
Financial: "FINANCIAL",
|
|
28833
28840
|
/** Health information */
|
|
@@ -28865,7 +28872,7 @@ const DataCategoryType = makeEnum({
|
|
|
28865
28872
|
* For example, Salesforce Object Ids.
|
|
28866
28873
|
*/
|
|
28867
28874
|
IntegrationIdentifier: "INTEGRATION_IDENTIFIER"
|
|
28868
|
-
}
|
|
28875
|
+
};
|
|
28869
28876
|
//#endregion
|
|
28870
28877
|
//#region src/oneTrust/oneTrustAssessmentCsv.ts
|
|
28871
28878
|
/**
|
|
@@ -30680,10 +30687,10 @@ function buildPermissionsPolicyInputJsonSchema(options) {
|
|
|
30680
30687
|
/**
|
|
30681
30688
|
* Types of decryption status
|
|
30682
30689
|
*/
|
|
30683
|
-
const DecryptionStatus =
|
|
30690
|
+
const DecryptionStatus = {
|
|
30684
30691
|
DECRYPTED: "DECRYPTED",
|
|
30685
30692
|
ERROR: "ERROR"
|
|
30686
|
-
}
|
|
30693
|
+
};
|
|
30687
30694
|
/**
|
|
30688
30695
|
* Preference store identifier
|
|
30689
30696
|
*/
|
|
@@ -30884,52 +30891,52 @@ mergeRecordsOnConflict: t.boolean })
|
|
|
30884
30891
|
/**
|
|
30885
30892
|
* The supported preference topic types
|
|
30886
30893
|
*/
|
|
30887
|
-
const PreferenceTopicType =
|
|
30894
|
+
const PreferenceTopicType = {
|
|
30888
30895
|
Select: "SELECT",
|
|
30889
30896
|
MultiSelect: "MULTI_SELECT",
|
|
30890
30897
|
Boolean: "BOOLEAN"
|
|
30891
|
-
}
|
|
30898
|
+
};
|
|
30892
30899
|
/**
|
|
30893
30900
|
* The authentication level required for updating a purpose on preference store
|
|
30894
30901
|
*/
|
|
30895
|
-
const PreferenceStoreAuthLevel =
|
|
30902
|
+
const PreferenceStoreAuthLevel = {
|
|
30896
30903
|
Required: "REQUIRED",
|
|
30897
30904
|
Optional: "OPTIONAL",
|
|
30898
30905
|
AllowOptOut: "ALLOW_OPT_OUT"
|
|
30899
|
-
}
|
|
30906
|
+
};
|
|
30900
30907
|
/** The standard scopes which are used to access the Sombra APIs */
|
|
30901
|
-
const SombraStandardScope =
|
|
30908
|
+
const SombraStandardScope = {
|
|
30902
30909
|
/** Access to Preference Management APIs */
|
|
30903
30910
|
PreferenceManagement: "preferenceManagement",
|
|
30904
30911
|
/** DSR Automation APIs */
|
|
30905
30912
|
DSRAutomation: "dsrAutomation"
|
|
30906
|
-
}
|
|
30913
|
+
};
|
|
30907
30914
|
//#endregion
|
|
30908
30915
|
//#region src/policy.ts
|
|
30909
30916
|
/**
|
|
30910
30917
|
* Type of Privacy Center policy
|
|
30911
30918
|
*/
|
|
30912
|
-
const PolicyType =
|
|
30919
|
+
const PolicyType = {
|
|
30913
30920
|
/** Standard privacy policy */
|
|
30914
30921
|
PrivacyPolicy: "PRIVACY_POLICY",
|
|
30915
30922
|
/** Cookie / tracking technologies policy */
|
|
30916
30923
|
CookiePolicy: "COOKIE_POLICY",
|
|
30917
30924
|
/** Custom policy */
|
|
30918
30925
|
Custom: "CUSTOM"
|
|
30919
|
-
}
|
|
30926
|
+
};
|
|
30920
30927
|
//#endregion
|
|
30921
30928
|
//#region src/processingActivity.ts
|
|
30922
30929
|
/**
|
|
30923
30930
|
* The status of a DPIA with a particular processing activity
|
|
30924
30931
|
*/
|
|
30925
|
-
const DataProtectionImpactAssessmentStatus =
|
|
30932
|
+
const DataProtectionImpactAssessmentStatus = {
|
|
30926
30933
|
/** There is a link associated with this processing activity's DPIA */
|
|
30927
30934
|
Link: "LINK",
|
|
30928
30935
|
/** There is no DPIA required for this processing activity */
|
|
30929
30936
|
NotRequired: "NOT_REQUIRED",
|
|
30930
30937
|
/** The DPIA for this processing activity is missing */
|
|
30931
30938
|
Missing: "MISSING"
|
|
30932
|
-
}
|
|
30939
|
+
};
|
|
30933
30940
|
//#endregion
|
|
30934
30941
|
//#region src/prompt.ts
|
|
30935
30942
|
/**
|
|
@@ -31015,16 +31022,16 @@ const PROMPT_FILE_PURPOSE_TO_OPEN_AI = {
|
|
|
31015
31022
|
/**
|
|
31016
31023
|
* Prompt-a-Vendor email send type.
|
|
31017
31024
|
*/
|
|
31018
|
-
const PromptAVendorEmailSendType =
|
|
31025
|
+
const PromptAVendorEmailSendType = {
|
|
31019
31026
|
/** Send a single email encapsulating all profiles, i.e. at the RequestDataSilo level. */
|
|
31020
31027
|
PerDsr: "PER_DSR",
|
|
31021
31028
|
/** Send an email for all DSRs, that the vendor has not been notified of yet. */
|
|
31022
31029
|
CrossDsr: "CROSS_DSR"
|
|
31023
|
-
}
|
|
31030
|
+
};
|
|
31024
31031
|
/**
|
|
31025
31032
|
* Prompt-a-Vendor Email Completion link type.
|
|
31026
31033
|
*/
|
|
31027
|
-
const PromptAVendorEmailCompletionLinkType =
|
|
31034
|
+
const PromptAVendorEmailCompletionLinkType = {
|
|
31028
31035
|
/** Present a link that requires a user logged into Transcend. */
|
|
31029
31036
|
LoggedInUser: "LOGGED_IN_USER",
|
|
31030
31037
|
/**
|
|
@@ -31037,70 +31044,70 @@ const PromptAVendorEmailCompletionLinkType = makeEnum({
|
|
|
31037
31044
|
* as resolved, once the email is sent.
|
|
31038
31045
|
*/
|
|
31039
31046
|
NoLinkMarkDatapointAsResolved: "NO_LINK_MARK_DATAPOINT_AS_RESOLVED"
|
|
31040
|
-
}
|
|
31047
|
+
};
|
|
31041
31048
|
//#endregion
|
|
31042
31049
|
//#region src/purposeSubCategories/additional.ts
|
|
31043
|
-
const AdditionalPurposeSubCategory =
|
|
31050
|
+
const AdditionalPurposeSubCategory = {
|
|
31044
31051
|
/** Fallback sub purpose */
|
|
31045
|
-
Additional: "ADDITIONAL" }
|
|
31052
|
+
Additional: "ADDITIONAL" };
|
|
31046
31053
|
//#endregion
|
|
31047
31054
|
//#region src/purposeSubCategories/advertising.ts
|
|
31048
|
-
const AdvertisingPurposeSubCategory =
|
|
31055
|
+
const AdvertisingPurposeSubCategory = {
|
|
31049
31056
|
/** Fallback sub purpose */
|
|
31050
|
-
Advertising: "ADVERTISING" }
|
|
31057
|
+
Advertising: "ADVERTISING" };
|
|
31051
31058
|
//#endregion
|
|
31052
31059
|
//#region src/purposeSubCategories/analytics.ts
|
|
31053
|
-
const AnalyticsPurposeSubCategory =
|
|
31060
|
+
const AnalyticsPurposeSubCategory = {
|
|
31054
31061
|
/** Fallback sub purpose */
|
|
31055
|
-
Analytics: "ANALYTICS" }
|
|
31062
|
+
Analytics: "ANALYTICS" };
|
|
31056
31063
|
//#endregion
|
|
31057
31064
|
//#region src/purposeSubCategories/essential.ts
|
|
31058
|
-
const EssentialPurposeSubCategory =
|
|
31065
|
+
const EssentialPurposeSubCategory = {
|
|
31059
31066
|
/** Fallback sub purpose */
|
|
31060
|
-
Essential: "ESSENTIAL" }
|
|
31067
|
+
Essential: "ESSENTIAL" };
|
|
31061
31068
|
//#endregion
|
|
31062
31069
|
//#region src/purposeSubCategories/hr.ts
|
|
31063
|
-
const HRPurposeSubCategory =
|
|
31070
|
+
const HRPurposeSubCategory = {
|
|
31064
31071
|
/** Fallback sub purpose */
|
|
31065
|
-
HR: "HR" }
|
|
31072
|
+
HR: "HR" };
|
|
31066
31073
|
//#endregion
|
|
31067
31074
|
//#region src/purposeSubCategories/legal.ts
|
|
31068
|
-
const LegalPurposeSubCategory =
|
|
31075
|
+
const LegalPurposeSubCategory = {
|
|
31069
31076
|
/** Fallback sub purpose */
|
|
31070
|
-
Legal: "LEGAL" }
|
|
31077
|
+
Legal: "LEGAL" };
|
|
31071
31078
|
//#endregion
|
|
31072
31079
|
//#region src/purposeSubCategories/marketing.ts
|
|
31073
|
-
const MarketingPurposeSubCategory =
|
|
31080
|
+
const MarketingPurposeSubCategory = {
|
|
31074
31081
|
/** Fallback sub purpose */
|
|
31075
|
-
Marketing: "MARKETING" }
|
|
31082
|
+
Marketing: "MARKETING" };
|
|
31076
31083
|
//#endregion
|
|
31077
31084
|
//#region src/purposeSubCategories/operationSecurity.ts
|
|
31078
|
-
const OperationSecurityPurposeSubCategory =
|
|
31085
|
+
const OperationSecurityPurposeSubCategory = {
|
|
31079
31086
|
/** Fallback sub purpose */
|
|
31080
|
-
OperationSecurity: "OPERATION_SECURITY" }
|
|
31087
|
+
OperationSecurity: "OPERATION_SECURITY" };
|
|
31081
31088
|
//#endregion
|
|
31082
31089
|
//#region src/purposeSubCategories/other.ts
|
|
31083
|
-
const OtherPurposeSubCategory =
|
|
31090
|
+
const OtherPurposeSubCategory = {
|
|
31084
31091
|
/** Fallback sub purpose */
|
|
31085
|
-
Other: "Other" }
|
|
31092
|
+
Other: "Other" };
|
|
31086
31093
|
//#endregion
|
|
31087
31094
|
//#region src/purposeSubCategories/personalization.ts
|
|
31088
|
-
const PersonalizationPurposeSubCategory =
|
|
31095
|
+
const PersonalizationPurposeSubCategory = {
|
|
31089
31096
|
/** Fallback sub purpose */
|
|
31090
|
-
Personalization: "PERSONALIZATION" }
|
|
31097
|
+
Personalization: "PERSONALIZATION" };
|
|
31091
31098
|
//#endregion
|
|
31092
31099
|
//#region src/purposeSubCategories/sale.ts
|
|
31093
|
-
const SalePurposeSubCategory =
|
|
31100
|
+
const SalePurposeSubCategory = {
|
|
31094
31101
|
/** Fallback sub purpose */
|
|
31095
|
-
Sale: "SALE" }
|
|
31102
|
+
Sale: "SALE" };
|
|
31096
31103
|
//#endregion
|
|
31097
31104
|
//#region src/purposeSubCategories/transfer.ts
|
|
31098
|
-
const TransferPurposeSubCategory =
|
|
31105
|
+
const TransferPurposeSubCategory = {
|
|
31099
31106
|
/** Fallback sub purpose */
|
|
31100
|
-
Transfer: "TRANSFER" }
|
|
31107
|
+
Transfer: "TRANSFER" };
|
|
31101
31108
|
//#endregion
|
|
31102
31109
|
//#region src/purposeSubCategories/index.ts
|
|
31103
|
-
const DefaultPurposeSubCategoryType =
|
|
31110
|
+
const DefaultPurposeSubCategoryType = {
|
|
31104
31111
|
...AdditionalPurposeSubCategory,
|
|
31105
31112
|
...AdvertisingPurposeSubCategory,
|
|
31106
31113
|
...AnalyticsPurposeSubCategory,
|
|
@@ -31113,7 +31120,7 @@ const DefaultPurposeSubCategoryType = makeEnum({
|
|
|
31113
31120
|
...PersonalizationPurposeSubCategory,
|
|
31114
31121
|
...SalePurposeSubCategory,
|
|
31115
31122
|
...TransferPurposeSubCategory
|
|
31116
|
-
}
|
|
31123
|
+
};
|
|
31117
31124
|
//#endregion
|
|
31118
31125
|
//#region src/regexes.ts
|
|
31119
31126
|
/**
|
|
@@ -31126,7 +31133,7 @@ const NORMALIZE_PHONE_NUMBER = /[-\s.]/g;
|
|
|
31126
31133
|
* The request statuses that a request can be created directly into.
|
|
31127
31134
|
* This is useful for the purposes of uploading a backlog
|
|
31128
31135
|
*/
|
|
31129
|
-
const PreflightRequestStatus =
|
|
31136
|
+
const PreflightRequestStatus = {
|
|
31130
31137
|
/**
|
|
31131
31138
|
* The privacy request should be canceled because the
|
|
31132
31139
|
* user is not allowed to make the request. The user will be
|
|
@@ -31140,12 +31147,12 @@ const PreflightRequestStatus = makeEnum({
|
|
|
31140
31147
|
* notified that there is a request that requires their review.
|
|
31141
31148
|
*/
|
|
31142
31149
|
ON_HOLD: "ON_HOLD"
|
|
31143
|
-
}
|
|
31150
|
+
};
|
|
31144
31151
|
/**
|
|
31145
31152
|
* The request statuses that a request can be created directly into.
|
|
31146
31153
|
* This is useful for the purposes of uploading a backlog
|
|
31147
31154
|
*/
|
|
31148
|
-
const CompletedRequestStatus =
|
|
31155
|
+
const CompletedRequestStatus = {
|
|
31149
31156
|
/** The data subject failed to verify at least one of the identifier they submit through the form */
|
|
31150
31157
|
FailedVerification: "FAILED_VERIFICATION",
|
|
31151
31158
|
/** The request has been approved and sent to the data subject with no secondary action */
|
|
@@ -31156,11 +31163,11 @@ const CompletedRequestStatus = makeEnum({
|
|
|
31156
31163
|
SecondaryCompleted: "SECONDARY_COMPLETED",
|
|
31157
31164
|
/** The request was revoked because it was a duplicate (another open request covers it) */
|
|
31158
31165
|
Revoked: "REVOKED"
|
|
31159
|
-
}
|
|
31166
|
+
};
|
|
31160
31167
|
/**
|
|
31161
31168
|
* The statuses that a request can take on
|
|
31162
31169
|
*/
|
|
31163
|
-
const RequestStatus =
|
|
31170
|
+
const RequestStatus = {
|
|
31164
31171
|
/** A data subject submits a DSR */
|
|
31165
31172
|
RequestMade: "REQUEST_MADE",
|
|
31166
31173
|
/** The data subject failed to verify at least one of the identifier they submit through the form */
|
|
@@ -31193,7 +31200,7 @@ const RequestStatus = makeEnum({
|
|
|
31193
31200
|
SecondaryApproving: "SECONDARY_APPROVING",
|
|
31194
31201
|
/** The request was revoked because it was a duplicate (another open request covers it) */
|
|
31195
31202
|
Revoked: "REVOKED"
|
|
31196
|
-
}
|
|
31203
|
+
};
|
|
31197
31204
|
/**
|
|
31198
31205
|
* The places a DSR can originate from
|
|
31199
31206
|
*/
|
|
@@ -31213,7 +31220,7 @@ let RequestOrigin = /* @__PURE__ */ function(RequestOrigin) {
|
|
|
31213
31220
|
/**
|
|
31214
31221
|
* The statuses that a queue is expected to implement
|
|
31215
31222
|
*/
|
|
31216
|
-
const QueueStatus =
|
|
31223
|
+
const QueueStatus = {
|
|
31217
31224
|
/** The row is queued up to be processed by the service worker. */
|
|
31218
31225
|
Queued: "QUEUED",
|
|
31219
31226
|
/**
|
|
@@ -31239,11 +31246,11 @@ const QueueStatus = makeEnum({
|
|
|
31239
31246
|
* and is currently in line to being processed.
|
|
31240
31247
|
*/
|
|
31241
31248
|
RemoteProcessing: "REMOTE_PROCESSING"
|
|
31242
|
-
}
|
|
31249
|
+
};
|
|
31243
31250
|
/**
|
|
31244
31251
|
* Status of request/data-silo combo
|
|
31245
31252
|
*/
|
|
31246
|
-
const RequestDataSiloStatus =
|
|
31253
|
+
const RequestDataSiloStatus = {
|
|
31247
31254
|
...QueueStatus,
|
|
31248
31255
|
/** The request not processed due to some exception */
|
|
31249
31256
|
SkippedDueToException: "SKIPPED_DUE_TO_EXCEPTION",
|
|
@@ -31260,42 +31267,42 @@ const RequestDataSiloStatus = makeEnum({
|
|
|
31260
31267
|
* vendor's retry-after when provided.
|
|
31261
31268
|
*/
|
|
31262
31269
|
VendorRateLimited: "VENDOR_RATE_LIMITED"
|
|
31263
|
-
}
|
|
31270
|
+
};
|
|
31264
31271
|
/**
|
|
31265
31272
|
* The request enrichers are a standard queue.
|
|
31266
31273
|
*/
|
|
31267
|
-
const RequestEnricherStatus =
|
|
31274
|
+
const RequestEnricherStatus = {
|
|
31268
31275
|
...QueueStatus,
|
|
31269
31276
|
/** Waiting on dependencies in the enrichment step to finish running */
|
|
31270
31277
|
WaitingOnDependencies: "WAITING_ON_DEPENDENCIES",
|
|
31271
31278
|
/** Polling for result */
|
|
31272
31279
|
Polling: "POLLING"
|
|
31273
|
-
}
|
|
31280
|
+
};
|
|
31274
31281
|
/**
|
|
31275
31282
|
* The different ways that regions can be detected at time of
|
|
31276
31283
|
* request submit.
|
|
31277
31284
|
*/
|
|
31278
|
-
const RegionDetectionMethod =
|
|
31285
|
+
const RegionDetectionMethod = {
|
|
31279
31286
|
/** Region detection is disabled */
|
|
31280
31287
|
Disabled: "DISABLED",
|
|
31281
31288
|
/** Auto detect the region and collect in form silently */
|
|
31282
31289
|
Auto: "AUTO",
|
|
31283
31290
|
/** Collect information about the user's region by presenting the user a form */
|
|
31284
31291
|
Form: "FORM"
|
|
31285
|
-
}
|
|
31292
|
+
};
|
|
31286
31293
|
/**
|
|
31287
31294
|
* How request identifiers should be handled when restarting a request.
|
|
31288
31295
|
*
|
|
31289
31296
|
* @see https://linear.app/transcend/issue/WAL-7712
|
|
31290
31297
|
*/
|
|
31291
|
-
const RestartIdentifierStrategy =
|
|
31298
|
+
const RestartIdentifierStrategy = {
|
|
31292
31299
|
/** Keep all identifiers; only input-sourced identifiers stay verified */
|
|
31293
31300
|
PreserveInitialVerificationsOnly: "PRESERVE_INITIAL_VERIFICATIONS_ONLY",
|
|
31294
31301
|
/** Keep all identifiers; preserve JWT verification from prior enrichment */
|
|
31295
31302
|
PreserveAllVerifications: "PRESERVE_ALL_VERIFICATIONS",
|
|
31296
31303
|
/** Delete enriched identifiers; keep only input-sourced identifiers */
|
|
31297
31304
|
RemoveEnrichedIdentifiers: "REMOVE_ENRICHED_IDENTIFIERS"
|
|
31298
|
-
}
|
|
31305
|
+
};
|
|
31299
31306
|
//#endregion
|
|
31300
31307
|
//#region src/scopes.ts
|
|
31301
31308
|
/**
|
|
@@ -32291,7 +32298,7 @@ const TRANSCEND_SCOPES = {
|
|
|
32291
32298
|
* Permanent (e.g., device IDs, MAC address) or temporary (e.g., IP address)
|
|
32292
32299
|
* identifiers needed to establish a connection for the current browsing session.
|
|
32293
32300
|
*/
|
|
32294
|
-
const ConnectionSubCategory =
|
|
32301
|
+
const ConnectionSubCategory = {
|
|
32295
32302
|
/** A Media Access Control address */
|
|
32296
32303
|
MACAddress: "MAC_ADDRESS",
|
|
32297
32304
|
/** An internet protocol address */
|
|
@@ -32300,21 +32307,21 @@ const ConnectionSubCategory = makeEnum({
|
|
|
32300
32307
|
UserAgent: "USER_AGENT",
|
|
32301
32308
|
/** Fallback subcategory */
|
|
32302
32309
|
Connection: "CONNECTION"
|
|
32303
|
-
}
|
|
32310
|
+
};
|
|
32304
32311
|
//#endregion
|
|
32305
32312
|
//#region src/subcategories/contact.ts
|
|
32306
|
-
const ContactSubCategory =
|
|
32313
|
+
const ContactSubCategory = {
|
|
32307
32314
|
/** An email address */
|
|
32308
32315
|
Email: "EMAIL",
|
|
32309
32316
|
/** A phone number */
|
|
32310
32317
|
Phone: "PHONE",
|
|
32311
32318
|
/** Fallback subcategory */
|
|
32312
32319
|
Contact: "CONTACT"
|
|
32313
|
-
}
|
|
32320
|
+
};
|
|
32314
32321
|
//#endregion
|
|
32315
32322
|
//#region src/subcategories/demographic.ts
|
|
32316
32323
|
/** Information about the features or characteristics of a user */
|
|
32317
|
-
const DemographicSubCategory =
|
|
32324
|
+
const DemographicSubCategory = {
|
|
32318
32325
|
/** Information about an individual's racial or ethnic origin */
|
|
32319
32326
|
RaceOrEthnicity: "RACE_OR_ETHNICITY",
|
|
32320
32327
|
/** An individual's gender */
|
|
@@ -32335,22 +32342,22 @@ const DemographicSubCategory = makeEnum({
|
|
|
32335
32342
|
PoliticalAffiliation: "POLITICAL_AFFILIATION",
|
|
32336
32343
|
/** Fallback subcategory */
|
|
32337
32344
|
Demographic: "DEMOGRAPHIC"
|
|
32338
|
-
}
|
|
32345
|
+
};
|
|
32339
32346
|
//#endregion
|
|
32340
32347
|
//#region src/subcategories/device.ts
|
|
32341
32348
|
/**
|
|
32342
32349
|
* The type of operating system (OS) or web browser that the user uses, or similar computer or device information.
|
|
32343
32350
|
*/
|
|
32344
|
-
const DeviceSubCategory =
|
|
32351
|
+
const DeviceSubCategory = {
|
|
32345
32352
|
/** A unique device identifier */
|
|
32346
32353
|
SerialNumber: "SERIAL_NUMBER",
|
|
32347
32354
|
/** Fallback subcategory */
|
|
32348
32355
|
Device: "DEVICE"
|
|
32349
|
-
}
|
|
32356
|
+
};
|
|
32350
32357
|
//#endregion
|
|
32351
32358
|
//#region src/subcategories/financial.ts
|
|
32352
32359
|
/** Information about an individual's finances */
|
|
32353
|
-
const FinancialSubCategory =
|
|
32360
|
+
const FinancialSubCategory = {
|
|
32354
32361
|
/** Account number */
|
|
32355
32362
|
AccountNumber: "ACCOUNT_NUMBER",
|
|
32356
32363
|
/** Credit Card Number */
|
|
@@ -32363,17 +32370,17 @@ const FinancialSubCategory = makeEnum({
|
|
|
32363
32370
|
RoutingNumber: "ROUTING_NUMBER",
|
|
32364
32371
|
/** Fallback subcategory */
|
|
32365
32372
|
Financial: "FINANCIAL"
|
|
32366
|
-
}
|
|
32373
|
+
};
|
|
32367
32374
|
//#endregion
|
|
32368
32375
|
//#region src/subcategories/health.ts
|
|
32369
32376
|
/** Information about an individual's health */
|
|
32370
|
-
const HealthSubCategory =
|
|
32377
|
+
const HealthSubCategory = {
|
|
32371
32378
|
/** Fallback subcategory */
|
|
32372
|
-
Health: "HEALTH" }
|
|
32379
|
+
Health: "HEALTH" };
|
|
32373
32380
|
//#endregion
|
|
32374
32381
|
//#region src/subcategories/id.ts
|
|
32375
32382
|
/** Information that can be used to identify an individual */
|
|
32376
|
-
const IdSubCategory =
|
|
32383
|
+
const IdSubCategory = {
|
|
32377
32384
|
/** A username associated with an individual */
|
|
32378
32385
|
Username: "USERNAME",
|
|
32379
32386
|
/** A person's name */
|
|
@@ -32390,24 +32397,24 @@ const IdSubCategory = makeEnum({
|
|
|
32390
32397
|
UserId: "USER_ID",
|
|
32391
32398
|
/** Fallback subcategory */
|
|
32392
32399
|
Id: "ID"
|
|
32393
|
-
}
|
|
32400
|
+
};
|
|
32394
32401
|
//#endregion
|
|
32395
32402
|
//#region src/subcategories/location.ts
|
|
32396
|
-
const LocationSubCategory =
|
|
32403
|
+
const LocationSubCategory = {
|
|
32397
32404
|
/** Approximate geolocation */
|
|
32398
32405
|
ApproximateLocation: "APPROXIMATE_LOCATION",
|
|
32399
32406
|
/** Fallback subcategory */
|
|
32400
32407
|
Location: "LOCATION"
|
|
32401
|
-
}
|
|
32408
|
+
};
|
|
32402
32409
|
//#endregion
|
|
32403
32410
|
//#region src/subcategories/notPersonalData.ts
|
|
32404
32411
|
/** Information that does not belong to an individual */
|
|
32405
|
-
const NotPersonalDataSubCategory =
|
|
32412
|
+
const NotPersonalDataSubCategory = {
|
|
32406
32413
|
/** Fallback subcategory */
|
|
32407
|
-
NotPersonalData: "NOT_PERSONAL_DATA" }
|
|
32414
|
+
NotPersonalData: "NOT_PERSONAL_DATA" };
|
|
32408
32415
|
//#endregion
|
|
32409
32416
|
//#region src/subcategories/onlineActivity.ts
|
|
32410
|
-
const OnlineActivitySubCategory =
|
|
32417
|
+
const OnlineActivitySubCategory = {
|
|
32411
32418
|
/** Declared interests */
|
|
32412
32419
|
DeclaredInterests: "DECLARED_INTERESTS",
|
|
32413
32420
|
/** Page views */
|
|
@@ -32416,28 +32423,28 @@ const OnlineActivitySubCategory = makeEnum({
|
|
|
32416
32423
|
InteractionEvents: "INTERACTION_EVENTS",
|
|
32417
32424
|
/** Fallback subcategory */
|
|
32418
32425
|
OnlineActivity: "ONLINE_ACTIVITY"
|
|
32419
|
-
}
|
|
32426
|
+
};
|
|
32420
32427
|
//#endregion
|
|
32421
32428
|
//#region src/subcategories/socialMedia.ts
|
|
32422
|
-
const SocialMediaSubCategory =
|
|
32429
|
+
const SocialMediaSubCategory = {
|
|
32423
32430
|
/** A link to an individual's social media profile */
|
|
32424
32431
|
ProfileURL: "PROFILE_URL",
|
|
32425
32432
|
/** Fallback subcategory */
|
|
32426
32433
|
SocialMedia: "SOCIAL_MEDIA"
|
|
32427
|
-
}
|
|
32434
|
+
};
|
|
32428
32435
|
//#endregion
|
|
32429
32436
|
//#region src/subcategories/survey.ts
|
|
32430
|
-
const SurveySubCategory =
|
|
32437
|
+
const SurveySubCategory = {
|
|
32431
32438
|
/** Fallback subcategory */
|
|
32432
|
-
Survey: "SURVEY" }
|
|
32439
|
+
Survey: "SURVEY" };
|
|
32433
32440
|
//#endregion
|
|
32434
32441
|
//#region src/subcategories/tracking.ts
|
|
32435
|
-
const TrackingSubCategory =
|
|
32442
|
+
const TrackingSubCategory = {
|
|
32436
32443
|
/** Fallback subcategory */
|
|
32437
|
-
Tracking: "TRACKING" }
|
|
32444
|
+
Tracking: "TRACKING" };
|
|
32438
32445
|
//#endregion
|
|
32439
32446
|
//#region src/subcategories/userProfile.ts
|
|
32440
|
-
const UserProfileSubCategory =
|
|
32447
|
+
const UserProfileSubCategory = {
|
|
32441
32448
|
/** A link to an individual's profile picture */
|
|
32442
32449
|
ProfilePictureURL: "PROFILE_PICTURE_URL",
|
|
32443
32450
|
/** An individual's profile picture */
|
|
@@ -32446,10 +32453,10 @@ const UserProfileSubCategory = makeEnum({
|
|
|
32446
32453
|
UserPreferences: "USER_PREFERENCES",
|
|
32447
32454
|
/** Fallback subcategory */
|
|
32448
32455
|
UserProfile: "USER_PROFILE"
|
|
32449
|
-
}
|
|
32456
|
+
};
|
|
32450
32457
|
//#endregion
|
|
32451
32458
|
//#region src/subcategories/index.ts
|
|
32452
|
-
const DefaultDataSubCategoryType =
|
|
32459
|
+
const DefaultDataSubCategoryType = {
|
|
32453
32460
|
...ConnectionSubCategory,
|
|
32454
32461
|
...ContactSubCategory,
|
|
32455
32462
|
...DemographicSubCategory,
|
|
@@ -32464,7 +32471,7 @@ const DefaultDataSubCategoryType = makeEnum({
|
|
|
32464
32471
|
...TrackingSubCategory,
|
|
32465
32472
|
...UserProfileSubCategory,
|
|
32466
32473
|
...NotPersonalDataSubCategory
|
|
32467
|
-
}
|
|
32474
|
+
};
|
|
32468
32475
|
//#endregion
|
|
32469
32476
|
//#region src/team.ts
|
|
32470
32477
|
/**
|
|
@@ -32493,12 +32500,12 @@ let StaticTeamType = /* @__PURE__ */ function(StaticTeamType) {
|
|
|
32493
32500
|
/**
|
|
32494
32501
|
* Layout used for privacy center footer links
|
|
32495
32502
|
*/
|
|
32496
|
-
const PrivacyCenterFooterLayout =
|
|
32503
|
+
const PrivacyCenterFooterLayout = {
|
|
32497
32504
|
/** Default footer layout */
|
|
32498
32505
|
Default: "DEFAULT",
|
|
32499
32506
|
/** Grid footer layout */
|
|
32500
32507
|
Grid: "GRID"
|
|
32501
|
-
}
|
|
32508
|
+
};
|
|
32502
32509
|
/**
|
|
32503
32510
|
* The names of the components that can be provided css overrides
|
|
32504
32511
|
*/
|
|
@@ -32548,7 +32555,7 @@ let CustomizableText = /* @__PURE__ */ function(CustomizableText) {
|
|
|
32548
32555
|
/**
|
|
32549
32556
|
* The color palette that must be defined
|
|
32550
32557
|
*/
|
|
32551
|
-
const RequiredConfigurableColorPaletteColor =
|
|
32558
|
+
const RequiredConfigurableColorPaletteColor = {
|
|
32552
32559
|
/**
|
|
32553
32560
|
* Used everywhere...
|
|
32554
32561
|
*
|
|
@@ -32567,11 +32574,11 @@ const RequiredConfigurableColorPaletteColor = makeEnum({
|
|
|
32567
32574
|
* 2. **Secondary links**
|
|
32568
32575
|
*/
|
|
32569
32576
|
Secondary: "secondary"
|
|
32570
|
-
}
|
|
32577
|
+
};
|
|
32571
32578
|
/**
|
|
32572
32579
|
* The optional color pallette colors
|
|
32573
32580
|
*/
|
|
32574
|
-
const OptionalConfigurableColorPaletteColor =
|
|
32581
|
+
const OptionalConfigurableColorPaletteColor = {
|
|
32575
32582
|
/**
|
|
32576
32583
|
* The background color will be set by the primary color by default with the ability to change it to secondary color, black or white.
|
|
32577
32584
|
*/
|
|
@@ -32614,14 +32621,14 @@ const OptionalConfigurableColorPaletteColor = makeEnum({
|
|
|
32614
32621
|
Gray1: "gray1",
|
|
32615
32622
|
/** Medium gray color */
|
|
32616
32623
|
Gray4: "gray4"
|
|
32617
|
-
}
|
|
32624
|
+
};
|
|
32618
32625
|
/**
|
|
32619
32626
|
* The color palette that an organization can customize on their privacy center exposed in the default GUI.
|
|
32620
32627
|
*/
|
|
32621
|
-
const ConfigurableColorPaletteColor =
|
|
32628
|
+
const ConfigurableColorPaletteColor = {
|
|
32622
32629
|
...RequiredConfigurableColorPaletteColor,
|
|
32623
32630
|
...OptionalConfigurableColorPaletteColor
|
|
32624
|
-
}
|
|
32631
|
+
};
|
|
32625
32632
|
/**
|
|
32626
32633
|
* The shape of a configurable color palette
|
|
32627
32634
|
*/
|
|
@@ -32659,28 +32666,28 @@ const PrivacyCenterThemePartial = t.intersection([t.type({
|
|
|
32659
32666
|
//#endregion
|
|
32660
32667
|
//#region src/workflowConfig.ts
|
|
32661
32668
|
/** The type of workflow config */
|
|
32662
|
-
const WorkflowConfigType =
|
|
32669
|
+
const WorkflowConfigType = {
|
|
32663
32670
|
/** Standard data subject request workflow */
|
|
32664
32671
|
DSR: "DSR",
|
|
32665
32672
|
/** Preference management workflow */
|
|
32666
32673
|
PreferenceManagement: "PREFERENCE_MANAGEMENT"
|
|
32667
|
-
}
|
|
32674
|
+
};
|
|
32668
32675
|
/** The access tier for a workflow config */
|
|
32669
|
-
const WorkflowConfigVisibility =
|
|
32676
|
+
const WorkflowConfigVisibility = {
|
|
32670
32677
|
/** Workflow is saved as a draft and can only run test requests */
|
|
32671
32678
|
Draft: "DRAFT",
|
|
32672
32679
|
/** Workflow is available for internal Admin Dashboard request creation */
|
|
32673
32680
|
Internal: "INTERNAL",
|
|
32674
32681
|
/** Workflow is available internally and in the deployed Privacy Center */
|
|
32675
32682
|
Published: "PUBLISHED"
|
|
32676
|
-
}
|
|
32683
|
+
};
|
|
32677
32684
|
/** Whether a workflow collects the data subject's region during intake */
|
|
32678
|
-
const CollectDataSubjectRegions =
|
|
32685
|
+
const CollectDataSubjectRegions = {
|
|
32679
32686
|
/** Do not collect the data subject's region */
|
|
32680
32687
|
DoNotCollect: "DO_NOT_COLLECT",
|
|
32681
32688
|
/** Collect the data subject's region */
|
|
32682
32689
|
Collect: "COLLECT"
|
|
32683
|
-
}
|
|
32690
|
+
};
|
|
32684
32691
|
//#endregion
|
|
32685
32692
|
export { AbsoluteUrlString, ActionItemCode, ActionItemPriorityOverride, AirgapBundleAnalyticsBinInterval, AirgapBundleAnalyticsDimension, AirgapBundleAnalyticsMetric, AssessmentFormStatus, AssessmentFormTemplateSource, AssessmentFormTemplateStatus, AssessmentQuestionSubType, AssessmentQuestionType, AssessmentSyncColumn, AssessmentSyncModel, AssessmentsDisplayLogicAction, AttributeKeyType, AttributeSupportedResourceType, AutofocusToggle, AutofocusValues, BackendSyncOption, Background, Border, Breakpoint, BreakpointType, BrowserTimeZone, BusinessEntityAttribute, BusinessEntityAttributeSyncColumn, ButtonAction, ButtonConfig, ButtonTheme, ButtonThemeIndex, ButtonType, CODE_PACKAGE_TYPE_TO_LINK, COUNTRIES, COUNTRY_LOOKUP, ChatCompletionMessage, ChatCompletionRole, CloseButtonTheme, CodePackageType, CollectDataSubjectRegions, CommonLayerConfig, CommonLayerTheme, CommonLayerThemeMinimal, CommunicationIdentifierType, ComparisonOperator, CompletedRequestStatus, ConfidenceLabel, ConfigurableColorPaletteColor, ConsentBundleType, ConsentManagerAnalyticsDataSource, ConsentManagerMetricBin, ConsentPrecedenceOption, ConsentThemeInput, ConsentTrackerSource, ConsentTrackerStatus, ConsentTrackerType, ConsentUiUserFlow, ConsentVariantInput, ContainerTheme, ContentFlows, ContentLayout, Controllership, CookieOrderField, CspOption, CssUnitString, CustomEnricherType, CustomFieldApiInput, CustomFunctionLifecycleState, CustomFunctionPayloadType, CustomFunctionType, CustomFunctionVersionLifecycleState, CustomizableComponent, CustomizableText, DEFAULT_MACROREGIONS_MAP, DOMElementId, DROP_RECORD_ID_MAX_LENGTH, DSR_BULK_ERROR_MESSAGE, DSR_BULK_SUBMISSION_REJECTED_MESSAGE, DSR_ERROR_MESSAGE, DataCategoryType, DataFlowOrderField, DataFlowScope, DataFlowType, DataProtectionImpactAssessmentStatus, DataSiloAttribute, DataSiloAttributeSyncColumn, DataSubCategoryAttribute, DataSubCategoryAttributeSyncColumn, DatabaseDriver, DatabaseIntegration, DatabaseSqlVariablesForPrivacyRequest, DatabaseVariables, DecryptionStatus, DefaultConsentOption, DefaultDataSubCategoryType, DefaultPurposeSubCategoryType, DescriptionTextTheme, DropListType, DsrBulkErrorCode, DsrErrorCode, DsrRequestOutcome, EXCEPTIONAL_RESERVATIONS, EXCEPTIONAL_RESERVATION_LOOKUP, EnricherType, FirstLayerConfig, FirstLayerTheme, FirstLayerThemeMinimal, FooterConfig, FooterTheme, FullWidthContentLayout, HeaderTheme, HeaderThemeMinimal, HorizontalAlign, ISO_31661, ISO_31662, Icon, IdentifierType, InitEnricherType, IntegerString, InternalDataSiloObjectResolver, IsoCountryCode, IsoCountrySubdivisionCode, LargeLanguageModelClient, Link, LoadOptions, LocalSyncOption, LogicOperator, LogoPosition, MAX_DROP_RECORDS_PER_REQUEST, MAX_SOURCE_SYSTEM_LENGTH, MAX_UNKNOWN_DROP_RECORDS_IN_ERROR, MacroRegion, MobileUiLoadOptions, ModalButtonActions, ModalButtonConfig, NORMALIZE_PHONE_NUMBER, OneTrustApprover, OneTrustAssessment, OneTrustAssessmentCreatedBy, OneTrustAssessmentCsvHeader, OneTrustAssessmentCsvRecord, OneTrustAssessmentNestedQuestion, OneTrustAssessmentQuestion, OneTrustAssessmentQuestionOption, OneTrustAssessmentQuestionResponses, OneTrustAssessmentQuestionRisk, OneTrustAssessmentResponses, OneTrustAssessmentSection, OneTrustAssessmentSectionHeader, OneTrustAssessmentSectionHeaderRiskStatistics, OneTrustAssessmentSectionSubmittedBy, OneTrustAssessmentStatus, OneTrustEnrichedAssessment, OneTrustEnrichedAssessmentQuestion, OneTrustEnrichedAssessmentResponse, OneTrustEnrichedAssessmentSection, OneTrustEnrichedAssessments, OneTrustEnrichedRisk, OneTrustEnrichedRisks, OneTrustEnrichedUser, OneTrustGetAssessmentResponse, OneTrustGetListOfAssessmentsResponse, OneTrustGetRiskResponse, OneTrustGetUserResponse, OneTrustPrimaryEntityDetails, OneTrustQuestionComment, OneTrustQuestionComments, OneTrustRiskCategories, OneTrustRiskReference, OneTrustRiskReferences, OneTrustRiskTemplate, OneTrustUserDetails, OneTrustUserEmail, OneTrustUserEmails, OneTrustUserGroup, OneTrustUserMetadata, OptionalConfigurableColorPaletteColor, OrderDirection, PERMISSIONS_POLICY_INPUT_EXAMPLE, PERMISSIONS_POLICY_INPUT_SCHEMA_ID, PROMPT_FILE_PURPOSE_TO_OPEN_AI, PaddedContentLayout, PermissionsPolicyInput, PermissionsPolicyPreferenceEntry, PolicyType, Preference, PreferenceQueryResponseItem, PreferenceStoreAuthLevel, PreferenceStoreConsentFields, PreferenceStoreIdentifier, PreferenceStoreKeyConditionals, PreferenceStorePurposeResponse, PreferenceStorePurposeUpdate, PreferenceStoreSystemAttributes, PreferenceStoreWorkflowSettings, PreferenceTopicType, PreferenceUpdateItem, PreflightRequestStatus, PrivacyCenterComponentStyles, PrivacyCenterConfigurableColorPalette, PrivacyCenterFont, PrivacyCenterFontBasic, PrivacyCenterFooterLayout, PrivacyCenterTextStyles, PrivacyCenterThemePartial, ProcessingActivityAttribute, ProcessingActivityAttributeSyncColumn, ProcessingPurpose, ProcessingPurposeSubCategoryAttribute, ProcessingPurposeSubCategoryAttributeSyncColumn, PromptAVendorEmailCompletionLinkType, PromptAVendorEmailSendType, PromptFilePurpose, PromptResponseFormat, PromptRunProductArea, PromptStatus, QueueStatus, REQUEST_ACTION_OPT_IN_TO_OPT_OUT, REQUEST_ACTION_OPT_OUT_TO_OPT_IN, REQUEST_SUBMISSION_LIMIT, RegimeKey, RegionDetectionMethod, RegionsOperator, RequestAction, RequestActionObjectResolver, RequestActionOptIn, RequestActionOptOut, RequestDataSiloStatus, RequestEnricherStatus, RequestOrigin, RequestStatus, RequiredConfigurableColorPaletteColor, RestartIdentifierStrategy, RetentionScheduleOperation, RetentionScheduleType, RetentionType, RgbHexString, RgbaHexString, SQLDriverWithDataMapping, ScopeName, ScopeType, SecondLayerConfig, SecondLayerTheme, SecondLayerThemeMinimal, SemicolonDelimitedRegimeKeyString, ShadowRootOptions, SharedTopLevelConfig, SharedTopLevelTheme, SignedIabAgreementOption, SombraStandardScope, SourceSystemLabel, StaticTeamType, SubDataPointAttribute, SubDataPointAttributeSyncColumn, SubDataPointDataSubCategoryGuessStatus, TRANSCEND_SCOPES, TableEncryptionType, TelemetryPartitionStrategy, TemplateVariableModelName, Text, ThemeConfiguration, ThemeConfigurationBannerIntoModal, ThemeConfigurationBannerIntoModalMinimal, ThemeConfigurationBannerOnly, ThemeConfigurationBannerOnlyMinimal, ThemeConfigurationMinimal, ThemeConfigurationModalOnly, ThemeConfigurationModalOnlyMinimal, ThemeKey, ToggleTheme, TranscendProduct, TriageAction, UIConfiguration, UIConfigurationBannerIntoModal, UIConfigurationBannerOnly, UIConfigurationModalOnly, URLHostString, UiVariantStatus, UnknownRequestPolicy, UnstructuredSubDataPointRecommendationStatus, UspapiOption, VariantKey, VendorAttribute, VendorAttributeSyncColumn, VerticalAlign, WorkflowConfigType, WorkflowConfigVisibility, buildPermissionsPolicyInputJsonSchema, getRegistryLink };
|
|
32686
32693
|
|