@transcend-io/privacy-types 6.2.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.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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
1427
+ };
1428
+ const UnknownRequestPolicy = {
1430
1429
  Allow: "ALLOW",
1431
1430
  RequireFullConsent: "REQUIRE_FULL_CONSENT",
1432
1431
  Block: "BLOCK"
1433
- });
1434
- const TelemetryPartitionStrategy = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
1734
+ const ButtonAction = {
1736
1735
  ...ModalButtonActions,
1737
1736
  OpenModal: "OpenModal"
1738
- });
1737
+ };
1739
1738
  /** Button Type */
1740
- const ButtonType = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
2266
+ const TableEncryptionType = {
2268
2267
  Unencrypted: "UNENCRYPTED",
2269
2268
  EncryptedApplicationSide: "ENCRYPTED_APPLICATION_SIDE",
2270
2269
  EncryptedByDataAtRest: "ENCRYPTED_DATA_AT_REST"
2271
- });
2272
- const Controllership = makeEnum({
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 = makeEnum({
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 = makeEnum({
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 = makeEnum({
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. */
@@ -2430,7 +2429,7 @@ const DsrErrorCode = makeEnum({
2430
2429
  * submit requests.
2431
2430
  */
2432
2431
  DraftWorkflowConfig: "DRAFT_WORKFLOW_CONFIG"
2433
- });
2432
+ };
2434
2433
  //#endregion
2435
2434
  //#region src/dsrErrorMessage.ts
2436
2435
  /**
@@ -2532,7 +2531,7 @@ const DSR_BULK_ERROR_MESSAGE = {
2532
2531
  * Returned on successful bulk submissions so callers can branch without parsing
2533
2532
  * error messages. Failures continue to use {@link DsrErrorCode}.
2534
2533
  */
2535
- const DsrRequestOutcome = makeEnum({
2534
+ const DsrRequestOutcome = {
2536
2535
  /** A new request was created. */
2537
2536
  Created: "CREATED",
2538
2537
  /** An equivalent open request already exists for this submission. */
@@ -2541,22 +2540,22 @@ const DsrRequestOutcome = makeEnum({
2541
2540
  DropRecordsLinked: "DROP_RECORDS_LINKED",
2542
2541
  /** An existing request was restarted. */
2543
2542
  Restarted: "RESTARTED"
2544
- });
2543
+ };
2545
2544
  //#endregion
2546
2545
  //#region src/identifier.ts
2547
2546
  /**
2548
2547
  * An identifier that can be used to communication with the data subject, also implies that the identifier is transcend supported
2549
2548
  */
2550
- const CommunicationIdentifierType = makeEnum({
2549
+ const CommunicationIdentifierType = {
2551
2550
  /** An email address */
2552
2551
  Email: "email",
2553
2552
  /** A phone number */
2554
2553
  Phone: "phone"
2555
- });
2554
+ };
2556
2555
  /**
2557
2556
  * The built in identification strategies
2558
2557
  */
2559
- const IdentifierType = makeEnum({
2558
+ const IdentifierType = {
2560
2559
  ...CommunicationIdentifierType,
2561
2560
  /** The core id of the organization (usually provided through login) */
2562
2561
  CoreIdentifier: "coreIdentifier",
@@ -2639,14 +2638,14 @@ const IdentifierType = makeEnum({
2639
2638
  AdobeCampaignRecipientId: "adobeCampaignRecipientId",
2640
2639
  /** The special Transcend identifier on consent preference records */
2641
2640
  Transcend: "transcend"
2642
- });
2641
+ };
2643
2642
  //#endregion
2644
2643
  //#region src/enricher.ts
2645
2644
  /**
2646
2645
  * Enrichers that are a bit more freeform, as in they can take in arbitrary inputs
2647
2646
  * and return arbitrary outputs
2648
2647
  */
2649
- const CustomEnricherType = makeEnum({
2648
+ const CustomEnricherType = {
2650
2649
  /** Notify a server to enrich the variable */
2651
2650
  Server: "SERVER",
2652
2651
  /** Notify a person to enrich the value */
@@ -2669,21 +2668,21 @@ const CustomEnricherType = makeEnum({
2669
2668
  GovernmentId: "GOVERNMENT_ID",
2670
2669
  /** Custom Function enricher type. */
2671
2670
  CustomFunction: "CUSTOM_FUNCTION"
2672
- });
2671
+ };
2673
2672
  /**
2674
2673
  * Enrichers that can only be used to initialize the beginning of a DSR
2675
2674
  */
2676
- const InitEnricherType = makeEnum({
2675
+ const InitEnricherType = {
2677
2676
  /** Sombra has the capability */
2678
- Sombra: "SOMBRA" });
2677
+ Sombra: "SOMBRA" };
2679
2678
  /**
2680
2679
  * The various types of identity enrichers supported by transcend
2681
2680
  */
2682
- const EnricherType = makeEnum({
2681
+ const EnricherType = {
2683
2682
  ...InitEnricherType,
2684
2683
  ...CommunicationIdentifierType,
2685
2684
  ...CustomEnricherType
2686
- });
2685
+ };
2687
2686
  //#endregion
2688
2687
  //#region src/getRegistryLink.ts
2689
2688
  const CODE_PACKAGE_TYPE_TO_LINK = {
@@ -28700,21 +28699,21 @@ function getDictFromKeys(source) {
28700
28699
  /**
28701
28700
  * Country Code taken from https://github.com/umpirsky/country-list/blob/master/data/en/country.json
28702
28701
  */
28703
- const IsoCountryCode = makeEnum(getDictFromKeys(ISO_31661));
28702
+ const IsoCountryCode = getDictFromKeys(ISO_31661);
28704
28703
  /**
28705
28704
  * Country subdivisions taken from taken from https://github.com/wooorm/iso-3166/blob/main/2.js
28706
28705
  */
28707
- const IsoCountrySubdivisionCode = makeEnum(getDictFromKeys(ISO_31662));
28706
+ const IsoCountrySubdivisionCode = getDictFromKeys(ISO_31662);
28708
28707
  //#endregion
28709
28708
  //#region src/largeLanguageModels.ts
28710
28709
  /**
28711
28710
  * The role of the message's author. One of `system`, `user`, `assistant`
28712
28711
  */
28713
- const ChatCompletionRole = makeEnum({
28712
+ const ChatCompletionRole = {
28714
28713
  System: "system",
28715
28714
  User: "user",
28716
28715
  Assistant: "assistant"
28717
- });
28716
+ };
28718
28717
  /**
28719
28718
  * The supported product areas where the prompts can be run
28720
28719
  */
@@ -28732,17 +28731,17 @@ const ChatCompletionMessage = t.type({
28732
28731
  /**
28733
28732
  * LLM model clients
28734
28733
  */
28735
- const LargeLanguageModelClient = makeEnum({
28734
+ const LargeLanguageModelClient = {
28736
28735
  OpenAi: "openai",
28737
28736
  Claude: "claude",
28738
28737
  Llama: "llama"
28739
- });
28738
+ };
28740
28739
  //#endregion
28741
28740
  //#region src/macroregion.ts
28742
28741
  /**
28743
28742
  * Country Code taken from https://github.com/umpirsky/country-list/blob/master/data/en/country.json
28744
28743
  */
28745
- const MacroRegion = makeEnum({ [IsoCountryCode.EU]: IsoCountryCode.EU });
28744
+ const MacroRegion = { [IsoCountryCode.EU]: IsoCountryCode.EU };
28746
28745
  const DEFAULT_MACROREGIONS_MAP = { [MacroRegion.EU]: [
28747
28746
  IsoCountryCode.BE,
28748
28747
  IsoCountryCode.GR,
@@ -28806,7 +28805,7 @@ const DEFAULT_MACROREGIONS_MAP = { [MacroRegion.EU]: [
28806
28805
  //#endregion
28807
28806
  //#region src/objects.ts
28808
28807
  /** The purpose of processing data */
28809
- const ProcessingPurpose = makeEnum({
28808
+ const ProcessingPurpose = {
28810
28809
  /** Provide a service that the user explicitly requests and that is part of the product's basic service or functionality */
28811
28810
  Essential: "ESSENTIAL",
28812
28811
  /** Provide a service that the user explicitly requests but that is not a necessary part of the product's basic service */
@@ -28833,9 +28832,9 @@ const ProcessingPurpose = makeEnum({
28833
28832
  Other: "OTHER",
28834
28833
  /** The purpose is not explicitly stated or is unclear */
28835
28834
  Unspecified: "UNSPECIFIED"
28836
- });
28835
+ };
28837
28836
  /** The category of personal data that is processed */
28838
- const DataCategoryType = makeEnum({
28837
+ const DataCategoryType = {
28839
28838
  /** Financial information */
28840
28839
  Financial: "FINANCIAL",
28841
28840
  /** Health information */
@@ -28873,7 +28872,7 @@ const DataCategoryType = makeEnum({
28873
28872
  * For example, Salesforce Object Ids.
28874
28873
  */
28875
28874
  IntegrationIdentifier: "INTEGRATION_IDENTIFIER"
28876
- });
28875
+ };
28877
28876
  //#endregion
28878
28877
  //#region src/oneTrust/oneTrustAssessmentCsv.ts
28879
28878
  /**
@@ -30688,10 +30687,10 @@ function buildPermissionsPolicyInputJsonSchema(options) {
30688
30687
  /**
30689
30688
  * Types of decryption status
30690
30689
  */
30691
- const DecryptionStatus = makeEnum({
30690
+ const DecryptionStatus = {
30692
30691
  DECRYPTED: "DECRYPTED",
30693
30692
  ERROR: "ERROR"
30694
- });
30693
+ };
30695
30694
  /**
30696
30695
  * Preference store identifier
30697
30696
  */
@@ -30892,52 +30891,52 @@ mergeRecordsOnConflict: t.boolean })
30892
30891
  /**
30893
30892
  * The supported preference topic types
30894
30893
  */
30895
- const PreferenceTopicType = makeEnum({
30894
+ const PreferenceTopicType = {
30896
30895
  Select: "SELECT",
30897
30896
  MultiSelect: "MULTI_SELECT",
30898
30897
  Boolean: "BOOLEAN"
30899
- });
30898
+ };
30900
30899
  /**
30901
30900
  * The authentication level required for updating a purpose on preference store
30902
30901
  */
30903
- const PreferenceStoreAuthLevel = makeEnum({
30902
+ const PreferenceStoreAuthLevel = {
30904
30903
  Required: "REQUIRED",
30905
30904
  Optional: "OPTIONAL",
30906
30905
  AllowOptOut: "ALLOW_OPT_OUT"
30907
- });
30906
+ };
30908
30907
  /** The standard scopes which are used to access the Sombra APIs */
30909
- const SombraStandardScope = makeEnum({
30908
+ const SombraStandardScope = {
30910
30909
  /** Access to Preference Management APIs */
30911
30910
  PreferenceManagement: "preferenceManagement",
30912
30911
  /** DSR Automation APIs */
30913
30912
  DSRAutomation: "dsrAutomation"
30914
- });
30913
+ };
30915
30914
  //#endregion
30916
30915
  //#region src/policy.ts
30917
30916
  /**
30918
30917
  * Type of Privacy Center policy
30919
30918
  */
30920
- const PolicyType = makeEnum({
30919
+ const PolicyType = {
30921
30920
  /** Standard privacy policy */
30922
30921
  PrivacyPolicy: "PRIVACY_POLICY",
30923
30922
  /** Cookie / tracking technologies policy */
30924
30923
  CookiePolicy: "COOKIE_POLICY",
30925
30924
  /** Custom policy */
30926
30925
  Custom: "CUSTOM"
30927
- });
30926
+ };
30928
30927
  //#endregion
30929
30928
  //#region src/processingActivity.ts
30930
30929
  /**
30931
30930
  * The status of a DPIA with a particular processing activity
30932
30931
  */
30933
- const DataProtectionImpactAssessmentStatus = makeEnum({
30932
+ const DataProtectionImpactAssessmentStatus = {
30934
30933
  /** There is a link associated with this processing activity's DPIA */
30935
30934
  Link: "LINK",
30936
30935
  /** There is no DPIA required for this processing activity */
30937
30936
  NotRequired: "NOT_REQUIRED",
30938
30937
  /** The DPIA for this processing activity is missing */
30939
30938
  Missing: "MISSING"
30940
- });
30939
+ };
30941
30940
  //#endregion
30942
30941
  //#region src/prompt.ts
30943
30942
  /**
@@ -31023,16 +31022,16 @@ const PROMPT_FILE_PURPOSE_TO_OPEN_AI = {
31023
31022
  /**
31024
31023
  * Prompt-a-Vendor email send type.
31025
31024
  */
31026
- const PromptAVendorEmailSendType = makeEnum({
31025
+ const PromptAVendorEmailSendType = {
31027
31026
  /** Send a single email encapsulating all profiles, i.e. at the RequestDataSilo level. */
31028
31027
  PerDsr: "PER_DSR",
31029
31028
  /** Send an email for all DSRs, that the vendor has not been notified of yet. */
31030
31029
  CrossDsr: "CROSS_DSR"
31031
- });
31030
+ };
31032
31031
  /**
31033
31032
  * Prompt-a-Vendor Email Completion link type.
31034
31033
  */
31035
- const PromptAVendorEmailCompletionLinkType = makeEnum({
31034
+ const PromptAVendorEmailCompletionLinkType = {
31036
31035
  /** Present a link that requires a user logged into Transcend. */
31037
31036
  LoggedInUser: "LOGGED_IN_USER",
31038
31037
  /**
@@ -31045,70 +31044,70 @@ const PromptAVendorEmailCompletionLinkType = makeEnum({
31045
31044
  * as resolved, once the email is sent.
31046
31045
  */
31047
31046
  NoLinkMarkDatapointAsResolved: "NO_LINK_MARK_DATAPOINT_AS_RESOLVED"
31048
- });
31047
+ };
31049
31048
  //#endregion
31050
31049
  //#region src/purposeSubCategories/additional.ts
31051
- const AdditionalPurposeSubCategory = makeEnum({
31050
+ const AdditionalPurposeSubCategory = {
31052
31051
  /** Fallback sub purpose */
31053
- Additional: "ADDITIONAL" });
31052
+ Additional: "ADDITIONAL" };
31054
31053
  //#endregion
31055
31054
  //#region src/purposeSubCategories/advertising.ts
31056
- const AdvertisingPurposeSubCategory = makeEnum({
31055
+ const AdvertisingPurposeSubCategory = {
31057
31056
  /** Fallback sub purpose */
31058
- Advertising: "ADVERTISING" });
31057
+ Advertising: "ADVERTISING" };
31059
31058
  //#endregion
31060
31059
  //#region src/purposeSubCategories/analytics.ts
31061
- const AnalyticsPurposeSubCategory = makeEnum({
31060
+ const AnalyticsPurposeSubCategory = {
31062
31061
  /** Fallback sub purpose */
31063
- Analytics: "ANALYTICS" });
31062
+ Analytics: "ANALYTICS" };
31064
31063
  //#endregion
31065
31064
  //#region src/purposeSubCategories/essential.ts
31066
- const EssentialPurposeSubCategory = makeEnum({
31065
+ const EssentialPurposeSubCategory = {
31067
31066
  /** Fallback sub purpose */
31068
- Essential: "ESSENTIAL" });
31067
+ Essential: "ESSENTIAL" };
31069
31068
  //#endregion
31070
31069
  //#region src/purposeSubCategories/hr.ts
31071
- const HRPurposeSubCategory = makeEnum({
31070
+ const HRPurposeSubCategory = {
31072
31071
  /** Fallback sub purpose */
31073
- HR: "HR" });
31072
+ HR: "HR" };
31074
31073
  //#endregion
31075
31074
  //#region src/purposeSubCategories/legal.ts
31076
- const LegalPurposeSubCategory = makeEnum({
31075
+ const LegalPurposeSubCategory = {
31077
31076
  /** Fallback sub purpose */
31078
- Legal: "LEGAL" });
31077
+ Legal: "LEGAL" };
31079
31078
  //#endregion
31080
31079
  //#region src/purposeSubCategories/marketing.ts
31081
- const MarketingPurposeSubCategory = makeEnum({
31080
+ const MarketingPurposeSubCategory = {
31082
31081
  /** Fallback sub purpose */
31083
- Marketing: "MARKETING" });
31082
+ Marketing: "MARKETING" };
31084
31083
  //#endregion
31085
31084
  //#region src/purposeSubCategories/operationSecurity.ts
31086
- const OperationSecurityPurposeSubCategory = makeEnum({
31085
+ const OperationSecurityPurposeSubCategory = {
31087
31086
  /** Fallback sub purpose */
31088
- OperationSecurity: "OPERATION_SECURITY" });
31087
+ OperationSecurity: "OPERATION_SECURITY" };
31089
31088
  //#endregion
31090
31089
  //#region src/purposeSubCategories/other.ts
31091
- const OtherPurposeSubCategory = makeEnum({
31090
+ const OtherPurposeSubCategory = {
31092
31091
  /** Fallback sub purpose */
31093
- Other: "Other" });
31092
+ Other: "Other" };
31094
31093
  //#endregion
31095
31094
  //#region src/purposeSubCategories/personalization.ts
31096
- const PersonalizationPurposeSubCategory = makeEnum({
31095
+ const PersonalizationPurposeSubCategory = {
31097
31096
  /** Fallback sub purpose */
31098
- Personalization: "PERSONALIZATION" });
31097
+ Personalization: "PERSONALIZATION" };
31099
31098
  //#endregion
31100
31099
  //#region src/purposeSubCategories/sale.ts
31101
- const SalePurposeSubCategory = makeEnum({
31100
+ const SalePurposeSubCategory = {
31102
31101
  /** Fallback sub purpose */
31103
- Sale: "SALE" });
31102
+ Sale: "SALE" };
31104
31103
  //#endregion
31105
31104
  //#region src/purposeSubCategories/transfer.ts
31106
- const TransferPurposeSubCategory = makeEnum({
31105
+ const TransferPurposeSubCategory = {
31107
31106
  /** Fallback sub purpose */
31108
- Transfer: "TRANSFER" });
31107
+ Transfer: "TRANSFER" };
31109
31108
  //#endregion
31110
31109
  //#region src/purposeSubCategories/index.ts
31111
- const DefaultPurposeSubCategoryType = makeEnum({
31110
+ const DefaultPurposeSubCategoryType = {
31112
31111
  ...AdditionalPurposeSubCategory,
31113
31112
  ...AdvertisingPurposeSubCategory,
31114
31113
  ...AnalyticsPurposeSubCategory,
@@ -31121,7 +31120,7 @@ const DefaultPurposeSubCategoryType = makeEnum({
31121
31120
  ...PersonalizationPurposeSubCategory,
31122
31121
  ...SalePurposeSubCategory,
31123
31122
  ...TransferPurposeSubCategory
31124
- });
31123
+ };
31125
31124
  //#endregion
31126
31125
  //#region src/regexes.ts
31127
31126
  /**
@@ -31134,7 +31133,7 @@ const NORMALIZE_PHONE_NUMBER = /[-\s.]/g;
31134
31133
  * The request statuses that a request can be created directly into.
31135
31134
  * This is useful for the purposes of uploading a backlog
31136
31135
  */
31137
- const PreflightRequestStatus = makeEnum({
31136
+ const PreflightRequestStatus = {
31138
31137
  /**
31139
31138
  * The privacy request should be canceled because the
31140
31139
  * user is not allowed to make the request. The user will be
@@ -31148,12 +31147,12 @@ const PreflightRequestStatus = makeEnum({
31148
31147
  * notified that there is a request that requires their review.
31149
31148
  */
31150
31149
  ON_HOLD: "ON_HOLD"
31151
- });
31150
+ };
31152
31151
  /**
31153
31152
  * The request statuses that a request can be created directly into.
31154
31153
  * This is useful for the purposes of uploading a backlog
31155
31154
  */
31156
- const CompletedRequestStatus = makeEnum({
31155
+ const CompletedRequestStatus = {
31157
31156
  /** The data subject failed to verify at least one of the identifier they submit through the form */
31158
31157
  FailedVerification: "FAILED_VERIFICATION",
31159
31158
  /** The request has been approved and sent to the data subject with no secondary action */
@@ -31164,11 +31163,11 @@ const CompletedRequestStatus = makeEnum({
31164
31163
  SecondaryCompleted: "SECONDARY_COMPLETED",
31165
31164
  /** The request was revoked because it was a duplicate (another open request covers it) */
31166
31165
  Revoked: "REVOKED"
31167
- });
31166
+ };
31168
31167
  /**
31169
31168
  * The statuses that a request can take on
31170
31169
  */
31171
- const RequestStatus = makeEnum({
31170
+ const RequestStatus = {
31172
31171
  /** A data subject submits a DSR */
31173
31172
  RequestMade: "REQUEST_MADE",
31174
31173
  /** The data subject failed to verify at least one of the identifier they submit through the form */
@@ -31201,7 +31200,7 @@ const RequestStatus = makeEnum({
31201
31200
  SecondaryApproving: "SECONDARY_APPROVING",
31202
31201
  /** The request was revoked because it was a duplicate (another open request covers it) */
31203
31202
  Revoked: "REVOKED"
31204
- });
31203
+ };
31205
31204
  /**
31206
31205
  * The places a DSR can originate from
31207
31206
  */
@@ -31221,7 +31220,7 @@ let RequestOrigin = /* @__PURE__ */ function(RequestOrigin) {
31221
31220
  /**
31222
31221
  * The statuses that a queue is expected to implement
31223
31222
  */
31224
- const QueueStatus = makeEnum({
31223
+ const QueueStatus = {
31225
31224
  /** The row is queued up to be processed by the service worker. */
31226
31225
  Queued: "QUEUED",
31227
31226
  /**
@@ -31247,11 +31246,11 @@ const QueueStatus = makeEnum({
31247
31246
  * and is currently in line to being processed.
31248
31247
  */
31249
31248
  RemoteProcessing: "REMOTE_PROCESSING"
31250
- });
31249
+ };
31251
31250
  /**
31252
31251
  * Status of request/data-silo combo
31253
31252
  */
31254
- const RequestDataSiloStatus = makeEnum({
31253
+ const RequestDataSiloStatus = {
31255
31254
  ...QueueStatus,
31256
31255
  /** The request not processed due to some exception */
31257
31256
  SkippedDueToException: "SKIPPED_DUE_TO_EXCEPTION",
@@ -31268,42 +31267,42 @@ const RequestDataSiloStatus = makeEnum({
31268
31267
  * vendor's retry-after when provided.
31269
31268
  */
31270
31269
  VendorRateLimited: "VENDOR_RATE_LIMITED"
31271
- });
31270
+ };
31272
31271
  /**
31273
31272
  * The request enrichers are a standard queue.
31274
31273
  */
31275
- const RequestEnricherStatus = makeEnum({
31274
+ const RequestEnricherStatus = {
31276
31275
  ...QueueStatus,
31277
31276
  /** Waiting on dependencies in the enrichment step to finish running */
31278
31277
  WaitingOnDependencies: "WAITING_ON_DEPENDENCIES",
31279
31278
  /** Polling for result */
31280
31279
  Polling: "POLLING"
31281
- });
31280
+ };
31282
31281
  /**
31283
31282
  * The different ways that regions can be detected at time of
31284
31283
  * request submit.
31285
31284
  */
31286
- const RegionDetectionMethod = makeEnum({
31285
+ const RegionDetectionMethod = {
31287
31286
  /** Region detection is disabled */
31288
31287
  Disabled: "DISABLED",
31289
31288
  /** Auto detect the region and collect in form silently */
31290
31289
  Auto: "AUTO",
31291
31290
  /** Collect information about the user's region by presenting the user a form */
31292
31291
  Form: "FORM"
31293
- });
31292
+ };
31294
31293
  /**
31295
31294
  * How request identifiers should be handled when restarting a request.
31296
31295
  *
31297
31296
  * @see https://linear.app/transcend/issue/WAL-7712
31298
31297
  */
31299
- const RestartIdentifierStrategy = makeEnum({
31298
+ const RestartIdentifierStrategy = {
31300
31299
  /** Keep all identifiers; only input-sourced identifiers stay verified */
31301
31300
  PreserveInitialVerificationsOnly: "PRESERVE_INITIAL_VERIFICATIONS_ONLY",
31302
31301
  /** Keep all identifiers; preserve JWT verification from prior enrichment */
31303
31302
  PreserveAllVerifications: "PRESERVE_ALL_VERIFICATIONS",
31304
31303
  /** Delete enriched identifiers; keep only input-sourced identifiers */
31305
31304
  RemoveEnrichedIdentifiers: "REMOVE_ENRICHED_IDENTIFIERS"
31306
- });
31305
+ };
31307
31306
  //#endregion
31308
31307
  //#region src/scopes.ts
31309
31308
  /**
@@ -32299,7 +32298,7 @@ const TRANSCEND_SCOPES = {
32299
32298
  * Permanent (e.g., device IDs, MAC address) or temporary (e.g., IP address)
32300
32299
  * identifiers needed to establish a connection for the current browsing session.
32301
32300
  */
32302
- const ConnectionSubCategory = makeEnum({
32301
+ const ConnectionSubCategory = {
32303
32302
  /** A Media Access Control address */
32304
32303
  MACAddress: "MAC_ADDRESS",
32305
32304
  /** An internet protocol address */
@@ -32308,21 +32307,21 @@ const ConnectionSubCategory = makeEnum({
32308
32307
  UserAgent: "USER_AGENT",
32309
32308
  /** Fallback subcategory */
32310
32309
  Connection: "CONNECTION"
32311
- });
32310
+ };
32312
32311
  //#endregion
32313
32312
  //#region src/subcategories/contact.ts
32314
- const ContactSubCategory = makeEnum({
32313
+ const ContactSubCategory = {
32315
32314
  /** An email address */
32316
32315
  Email: "EMAIL",
32317
32316
  /** A phone number */
32318
32317
  Phone: "PHONE",
32319
32318
  /** Fallback subcategory */
32320
32319
  Contact: "CONTACT"
32321
- });
32320
+ };
32322
32321
  //#endregion
32323
32322
  //#region src/subcategories/demographic.ts
32324
32323
  /** Information about the features or characteristics of a user */
32325
- const DemographicSubCategory = makeEnum({
32324
+ const DemographicSubCategory = {
32326
32325
  /** Information about an individual's racial or ethnic origin */
32327
32326
  RaceOrEthnicity: "RACE_OR_ETHNICITY",
32328
32327
  /** An individual's gender */
@@ -32343,22 +32342,22 @@ const DemographicSubCategory = makeEnum({
32343
32342
  PoliticalAffiliation: "POLITICAL_AFFILIATION",
32344
32343
  /** Fallback subcategory */
32345
32344
  Demographic: "DEMOGRAPHIC"
32346
- });
32345
+ };
32347
32346
  //#endregion
32348
32347
  //#region src/subcategories/device.ts
32349
32348
  /**
32350
32349
  * The type of operating system (OS) or web browser that the user uses, or similar computer or device information.
32351
32350
  */
32352
- const DeviceSubCategory = makeEnum({
32351
+ const DeviceSubCategory = {
32353
32352
  /** A unique device identifier */
32354
32353
  SerialNumber: "SERIAL_NUMBER",
32355
32354
  /** Fallback subcategory */
32356
32355
  Device: "DEVICE"
32357
- });
32356
+ };
32358
32357
  //#endregion
32359
32358
  //#region src/subcategories/financial.ts
32360
32359
  /** Information about an individual's finances */
32361
- const FinancialSubCategory = makeEnum({
32360
+ const FinancialSubCategory = {
32362
32361
  /** Account number */
32363
32362
  AccountNumber: "ACCOUNT_NUMBER",
32364
32363
  /** Credit Card Number */
@@ -32371,17 +32370,17 @@ const FinancialSubCategory = makeEnum({
32371
32370
  RoutingNumber: "ROUTING_NUMBER",
32372
32371
  /** Fallback subcategory */
32373
32372
  Financial: "FINANCIAL"
32374
- });
32373
+ };
32375
32374
  //#endregion
32376
32375
  //#region src/subcategories/health.ts
32377
32376
  /** Information about an individual's health */
32378
- const HealthSubCategory = makeEnum({
32377
+ const HealthSubCategory = {
32379
32378
  /** Fallback subcategory */
32380
- Health: "HEALTH" });
32379
+ Health: "HEALTH" };
32381
32380
  //#endregion
32382
32381
  //#region src/subcategories/id.ts
32383
32382
  /** Information that can be used to identify an individual */
32384
- const IdSubCategory = makeEnum({
32383
+ const IdSubCategory = {
32385
32384
  /** A username associated with an individual */
32386
32385
  Username: "USERNAME",
32387
32386
  /** A person's name */
@@ -32398,24 +32397,24 @@ const IdSubCategory = makeEnum({
32398
32397
  UserId: "USER_ID",
32399
32398
  /** Fallback subcategory */
32400
32399
  Id: "ID"
32401
- });
32400
+ };
32402
32401
  //#endregion
32403
32402
  //#region src/subcategories/location.ts
32404
- const LocationSubCategory = makeEnum({
32403
+ const LocationSubCategory = {
32405
32404
  /** Approximate geolocation */
32406
32405
  ApproximateLocation: "APPROXIMATE_LOCATION",
32407
32406
  /** Fallback subcategory */
32408
32407
  Location: "LOCATION"
32409
- });
32408
+ };
32410
32409
  //#endregion
32411
32410
  //#region src/subcategories/notPersonalData.ts
32412
32411
  /** Information that does not belong to an individual */
32413
- const NotPersonalDataSubCategory = makeEnum({
32412
+ const NotPersonalDataSubCategory = {
32414
32413
  /** Fallback subcategory */
32415
- NotPersonalData: "NOT_PERSONAL_DATA" });
32414
+ NotPersonalData: "NOT_PERSONAL_DATA" };
32416
32415
  //#endregion
32417
32416
  //#region src/subcategories/onlineActivity.ts
32418
- const OnlineActivitySubCategory = makeEnum({
32417
+ const OnlineActivitySubCategory = {
32419
32418
  /** Declared interests */
32420
32419
  DeclaredInterests: "DECLARED_INTERESTS",
32421
32420
  /** Page views */
@@ -32424,28 +32423,28 @@ const OnlineActivitySubCategory = makeEnum({
32424
32423
  InteractionEvents: "INTERACTION_EVENTS",
32425
32424
  /** Fallback subcategory */
32426
32425
  OnlineActivity: "ONLINE_ACTIVITY"
32427
- });
32426
+ };
32428
32427
  //#endregion
32429
32428
  //#region src/subcategories/socialMedia.ts
32430
- const SocialMediaSubCategory = makeEnum({
32429
+ const SocialMediaSubCategory = {
32431
32430
  /** A link to an individual's social media profile */
32432
32431
  ProfileURL: "PROFILE_URL",
32433
32432
  /** Fallback subcategory */
32434
32433
  SocialMedia: "SOCIAL_MEDIA"
32435
- });
32434
+ };
32436
32435
  //#endregion
32437
32436
  //#region src/subcategories/survey.ts
32438
- const SurveySubCategory = makeEnum({
32437
+ const SurveySubCategory = {
32439
32438
  /** Fallback subcategory */
32440
- Survey: "SURVEY" });
32439
+ Survey: "SURVEY" };
32441
32440
  //#endregion
32442
32441
  //#region src/subcategories/tracking.ts
32443
- const TrackingSubCategory = makeEnum({
32442
+ const TrackingSubCategory = {
32444
32443
  /** Fallback subcategory */
32445
- Tracking: "TRACKING" });
32444
+ Tracking: "TRACKING" };
32446
32445
  //#endregion
32447
32446
  //#region src/subcategories/userProfile.ts
32448
- const UserProfileSubCategory = makeEnum({
32447
+ const UserProfileSubCategory = {
32449
32448
  /** A link to an individual's profile picture */
32450
32449
  ProfilePictureURL: "PROFILE_PICTURE_URL",
32451
32450
  /** An individual's profile picture */
@@ -32454,10 +32453,10 @@ const UserProfileSubCategory = makeEnum({
32454
32453
  UserPreferences: "USER_PREFERENCES",
32455
32454
  /** Fallback subcategory */
32456
32455
  UserProfile: "USER_PROFILE"
32457
- });
32456
+ };
32458
32457
  //#endregion
32459
32458
  //#region src/subcategories/index.ts
32460
- const DefaultDataSubCategoryType = makeEnum({
32459
+ const DefaultDataSubCategoryType = {
32461
32460
  ...ConnectionSubCategory,
32462
32461
  ...ContactSubCategory,
32463
32462
  ...DemographicSubCategory,
@@ -32472,7 +32471,7 @@ const DefaultDataSubCategoryType = makeEnum({
32472
32471
  ...TrackingSubCategory,
32473
32472
  ...UserProfileSubCategory,
32474
32473
  ...NotPersonalDataSubCategory
32475
- });
32474
+ };
32476
32475
  //#endregion
32477
32476
  //#region src/team.ts
32478
32477
  /**
@@ -32501,12 +32500,12 @@ let StaticTeamType = /* @__PURE__ */ function(StaticTeamType) {
32501
32500
  /**
32502
32501
  * Layout used for privacy center footer links
32503
32502
  */
32504
- const PrivacyCenterFooterLayout = makeEnum({
32503
+ const PrivacyCenterFooterLayout = {
32505
32504
  /** Default footer layout */
32506
32505
  Default: "DEFAULT",
32507
32506
  /** Grid footer layout */
32508
32507
  Grid: "GRID"
32509
- });
32508
+ };
32510
32509
  /**
32511
32510
  * The names of the components that can be provided css overrides
32512
32511
  */
@@ -32556,7 +32555,7 @@ let CustomizableText = /* @__PURE__ */ function(CustomizableText) {
32556
32555
  /**
32557
32556
  * The color palette that must be defined
32558
32557
  */
32559
- const RequiredConfigurableColorPaletteColor = makeEnum({
32558
+ const RequiredConfigurableColorPaletteColor = {
32560
32559
  /**
32561
32560
  * Used everywhere...
32562
32561
  *
@@ -32575,11 +32574,11 @@ const RequiredConfigurableColorPaletteColor = makeEnum({
32575
32574
  * 2. **Secondary links**
32576
32575
  */
32577
32576
  Secondary: "secondary"
32578
- });
32577
+ };
32579
32578
  /**
32580
32579
  * The optional color pallette colors
32581
32580
  */
32582
- const OptionalConfigurableColorPaletteColor = makeEnum({
32581
+ const OptionalConfigurableColorPaletteColor = {
32583
32582
  /**
32584
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.
32585
32584
  */
@@ -32622,14 +32621,14 @@ const OptionalConfigurableColorPaletteColor = makeEnum({
32622
32621
  Gray1: "gray1",
32623
32622
  /** Medium gray color */
32624
32623
  Gray4: "gray4"
32625
- });
32624
+ };
32626
32625
  /**
32627
32626
  * The color palette that an organization can customize on their privacy center exposed in the default GUI.
32628
32627
  */
32629
- const ConfigurableColorPaletteColor = makeEnum({
32628
+ const ConfigurableColorPaletteColor = {
32630
32629
  ...RequiredConfigurableColorPaletteColor,
32631
32630
  ...OptionalConfigurableColorPaletteColor
32632
- });
32631
+ };
32633
32632
  /**
32634
32633
  * The shape of a configurable color palette
32635
32634
  */
@@ -32667,28 +32666,28 @@ const PrivacyCenterThemePartial = t.intersection([t.type({
32667
32666
  //#endregion
32668
32667
  //#region src/workflowConfig.ts
32669
32668
  /** The type of workflow config */
32670
- const WorkflowConfigType = makeEnum({
32669
+ const WorkflowConfigType = {
32671
32670
  /** Standard data subject request workflow */
32672
32671
  DSR: "DSR",
32673
32672
  /** Preference management workflow */
32674
32673
  PreferenceManagement: "PREFERENCE_MANAGEMENT"
32675
- });
32674
+ };
32676
32675
  /** The access tier for a workflow config */
32677
- const WorkflowConfigVisibility = makeEnum({
32676
+ const WorkflowConfigVisibility = {
32678
32677
  /** Workflow is saved as a draft and can only run test requests */
32679
32678
  Draft: "DRAFT",
32680
32679
  /** Workflow is available for internal Admin Dashboard request creation */
32681
32680
  Internal: "INTERNAL",
32682
32681
  /** Workflow is available internally and in the deployed Privacy Center */
32683
32682
  Published: "PUBLISHED"
32684
- });
32683
+ };
32685
32684
  /** Whether a workflow collects the data subject's region during intake */
32686
- const CollectDataSubjectRegions = makeEnum({
32685
+ const CollectDataSubjectRegions = {
32687
32686
  /** Do not collect the data subject's region */
32688
32687
  DoNotCollect: "DO_NOT_COLLECT",
32689
32688
  /** Collect the data subject's region */
32690
32689
  Collect: "COLLECT"
32691
- });
32690
+ };
32692
32691
  //#endregion
32693
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 };
32694
32693