@transcend-io/privacy-types 5.16.0 → 5.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -499,19 +499,17 @@ type DataSiloAttribute = (typeof DataSiloAttribute)[keyof typeof DataSiloAttribu
499
499
  type DataSiloAttributeImmutable = 'CONNECT_START_TIME' | 'CONNECTION_STATE' | 'CONTACT_EMAIL' | 'CONTACT_NAME' | 'COUNTRY' | 'COUNTRY_SUB_DIVISION' | 'CREDENTIALS_REFRESH_SCHEDULED_AT' | 'DATA_PROCESSING_AGREEMENT_LINK' | 'DATA_PROCESSING_AGREEMENT_STATUS' | 'DATA_RETENTION_NOTE' | 'DEFAULT_ACCESS_REQUEST_VISIBILITY' | 'DELETED_AT' | 'DEPRECATION_STATE' | 'DESCRIPTION' | 'EMAIL_SENDING_LOCK' | 'EXPIRED_AT' | 'EXTERNAL_ID' | 'HAS_PERSONAL_DATA' | 'HEADERS' | 'IS_LIVE' | 'LAST_CONNECTED_AT' | 'LAST_ENABLED_AT' | 'LAST_LOOKUP_PROCESS_CREATION_TIME' | 'MANUAL_WORK_RETRY_FREQUENCY' | 'MANUAL_WORK_RETRY_START_AT' | 'NOTES' | 'NOTIFY_EMAIL_ADDRESS' | 'NOTIFY_WEBHOOK_URL' | 'OUTER_TYPE' | 'PLAINTEXT_CONTEXT' | 'PROMPT_A_VENDOR_EMAIL_COMPLETION_LINK_TYPE' | 'PROMPT_A_VENDOR_EMAIL_INCLUDE_IDENTIFIERS_ATTACHMENT' | 'PROMPT_A_VENDOR_EMAIL_SCHEDULED_AT' | 'PROMPT_A_VENDOR_EMAIL_SEND_FREQUENCY' | 'PROMPT_A_VENDOR_EMAIL_SEND_TYPE' | 'PROMPT_A_VENDOR_EMAIL_START_AT' | 'RECOMMENDED_FOR_CONSENT' | 'RECOMMENDED_FOR_PRIVACY' | 'RECONNECT_FORM_ITEMS' | 'SAAS_CONTEXT' | 'SECRET_HEADERS' | 'SLUG' | 'SUBDOMAIN' | 'TITLE' | 'TYPE' | 'URL' | 'WEBSITE_URL' | 'TRANSFER_REGIONS' | 'CONTROLLERSHIPS' | 'CUSTOM_SILO_CONNECTION_STRATEGY';
500
500
  /** The value of AssessmentQuestion's syncColumn that stands for DataSilo column */
501
501
  declare const DataSiloAttributeSyncColumn: {
502
- url: DataSiloAttributeImmutable;
503
- slug: DataSiloAttributeImmutable;
504
502
  description: DataSiloAttributeImmutable;
505
- type: DataSiloAttributeImmutable;
506
- country: DataSiloAttributeImmutable;
507
- countrySubDivision: DataSiloAttributeImmutable;
508
503
  title: DataSiloAttributeImmutable;
504
+ slug: DataSiloAttributeImmutable;
509
505
  connectionState: DataSiloAttributeImmutable;
506
+ type: DataSiloAttributeImmutable;
510
507
  outerType: DataSiloAttributeImmutable;
511
508
  connectStartTime: DataSiloAttributeImmutable;
512
509
  reconnectFormItems: DataSiloAttributeImmutable;
513
510
  recommendedForPrivacy: DataSiloAttributeImmutable;
514
511
  recommendedForConsent: DataSiloAttributeImmutable;
512
+ url: DataSiloAttributeImmutable;
515
513
  websiteUrl: DataSiloAttributeImmutable;
516
514
  headers: DataSiloAttributeImmutable;
517
515
  plaintextContext: DataSiloAttributeImmutable;
@@ -544,6 +542,8 @@ declare const DataSiloAttributeSyncColumn: {
544
542
  manualWorkRetryFrequency: DataSiloAttributeImmutable;
545
543
  externalId: DataSiloAttributeImmutable;
546
544
  credentialsRefreshScheduledAt: DataSiloAttributeImmutable;
545
+ country: DataSiloAttributeImmutable;
546
+ countrySubDivision: DataSiloAttributeImmutable;
547
547
  subdomain: DataSiloAttributeImmutable;
548
548
  lastLookupProcessCreationTime: DataSiloAttributeImmutable;
549
549
  transferRegions: DataSiloAttributeImmutable;
@@ -592,18 +592,17 @@ declare const SubDataPointAttribute: {
592
592
  type SubDataPointAttribute = (typeof SubDataPointAttribute)[keyof typeof SubDataPointAttribute];
593
593
  /** The value of AssessmentQuestion's syncColumn that stands for SubDataPoint column */
594
594
  declare const SubDataPointAttributeSyncColumn: {
595
- name: SubDataPointAttributeImmutable;
596
- slug: SubDataPointAttributeImmutable;
597
595
  description: SubDataPointAttributeImmutable;
598
- metadata: SubDataPointAttributeImmutable;
599
- error: SubDataPointAttributeImmutable;
596
+ slug: SubDataPointAttributeImmutable;
600
597
  deletedAt: SubDataPointAttributeImmutable;
598
+ name: SubDataPointAttributeImmutable;
601
599
  dataPointId: SubDataPointAttributeImmutable;
602
600
  encryptedSamplesS3Key: SubDataPointAttributeImmutable;
603
601
  accessRequestVisibilityEnabled: SubDataPointAttributeImmutable;
604
602
  erasureRequestRedactionEnabled: SubDataPointAttributeImmutable;
605
603
  lastClassifiedAt: SubDataPointAttributeImmutable;
606
604
  lastRunAt: SubDataPointAttributeImmutable;
605
+ error: SubDataPointAttributeImmutable;
607
606
  errorCount: SubDataPointAttributeImmutable;
608
607
  context: SubDataPointAttributeImmutable;
609
608
  contentClassificationStatus: SubDataPointAttributeImmutable;
@@ -615,6 +614,7 @@ declare const SubDataPointAttributeSyncColumn: {
615
614
  dataType: SubDataPointAttributeImmutable;
616
615
  encryption: SubDataPointAttributeImmutable;
617
616
  isPrimaryKey: SubDataPointAttributeImmutable;
617
+ metadata: SubDataPointAttributeImmutable;
618
618
  schedulingPriority: SubDataPointAttributeImmutable;
619
619
  };
620
620
  /** Type override */
@@ -648,9 +648,9 @@ declare const VendorAttribute: {
648
648
  type VendorAttribute = (typeof VendorAttribute)[keyof typeof VendorAttribute];
649
649
  /** The value of AssessmentQuestion's syncColumn that stands for Vendor column */
650
650
  declare const VendorAttributeSyncColumn: {
651
- slug: VendorAttributeImmutable;
652
651
  description: VendorAttributeImmutable;
653
652
  title: VendorAttributeImmutable;
653
+ slug: VendorAttributeImmutable;
654
654
  websiteUrl: VendorAttributeImmutable;
655
655
  contactEmail: VendorAttributeImmutable;
656
656
  contactName: VendorAttributeImmutable;
@@ -686,9 +686,9 @@ declare const DataSubCategoryAttribute: {
686
686
  type DataSubCategoryAttribute = (typeof DataSubCategoryAttribute)[keyof typeof DataSubCategoryAttribute];
687
687
  /** The value of AssessmentQuestion's syncColumn that stands for DataSubCategory column */
688
688
  declare const DataSubCategoryAttributeSyncColumn: {
689
- name: DataSubCategoryAttributeImmutable;
690
- slug: DataSubCategoryAttributeImmutable;
691
689
  description: DataSubCategoryAttributeImmutable;
690
+ slug: DataSubCategoryAttributeImmutable;
691
+ name: DataSubCategoryAttributeImmutable;
692
692
  category: DataSubCategoryAttributeImmutable;
693
693
  isDefault: DataSubCategoryAttributeImmutable;
694
694
  regex: DataSubCategoryAttributeImmutable;
@@ -716,11 +716,11 @@ declare const ProcessingPurposeSubCategoryAttribute: {
716
716
  type ProcessingPurposeSubCategoryAttribute = (typeof ProcessingPurposeSubCategoryAttribute)[keyof typeof ProcessingPurposeSubCategoryAttribute];
717
717
  /** The value of AssessmentQuestion's syncColumn that stands for ProcessingPurposeSubCategory column */
718
718
  declare const ProcessingPurposeSubCategoryAttributeSyncColumn: {
719
- name: ProcessingPurposeSubCategoryAttributeImmutable;
720
- slug: ProcessingPurposeSubCategoryAttributeImmutable;
721
719
  description: ProcessingPurposeSubCategoryAttributeImmutable;
722
- purpose: ProcessingPurposeSubCategoryAttributeImmutable;
720
+ slug: ProcessingPurposeSubCategoryAttributeImmutable;
721
+ name: ProcessingPurposeSubCategoryAttributeImmutable;
723
722
  isDefault: ProcessingPurposeSubCategoryAttributeImmutable;
723
+ purpose: ProcessingPurposeSubCategoryAttributeImmutable;
724
724
  };
725
725
  /** Type override */
726
726
  type ProcessingPurposeSubCategoryAttributeSyncColumn = (typeof ProcessingPurposeSubCategoryAttributeSyncColumn)[keyof typeof ProcessingPurposeSubCategoryAttributeSyncColumn];
@@ -748,9 +748,9 @@ declare const BusinessEntityAttribute: {
748
748
  type BusinessEntityAttribute = (typeof BusinessEntityAttribute)[keyof typeof BusinessEntityAttribute];
749
749
  /** The value of AssessmentQuestion's syncColumn that stands for BusinessEntity column */
750
750
  declare const BusinessEntityAttributeSyncColumn: {
751
- slug: BusinessEntityAttributeImmutable;
752
751
  description: BusinessEntityAttributeImmutable;
753
752
  title: BusinessEntityAttributeImmutable;
753
+ slug: BusinessEntityAttributeImmutable;
754
754
  address: BusinessEntityAttributeImmutable;
755
755
  headquarterCountry: BusinessEntityAttributeImmutable;
756
756
  headquarterSubDivision: BusinessEntityAttributeImmutable;
@@ -808,9 +808,7 @@ type AssessmentSyncColumnAttribute = DataSiloAttribute | SubDataPointAttribute |
808
808
  type AssessmentSyncColumnImmutable = DataSiloAttributeImmutable | SubDataPointAttributeImmutable | VendorAttributeImmutable | DataSubCategoryAttributeImmutable | ProcessingPurposeSubCategoryAttributeImmutable | BusinessEntityAttributeImmutable | ProcessingActivityAttributeImmutable;
809
809
  /** The type of the AssessmentQuestion's syncColumn field */
810
810
  declare const AssessmentSyncColumn: {
811
- REGEX: AssessmentSyncColumnImmutable;
812
811
  URL: AssessmentSyncColumnImmutable;
813
- PURPOSE: AssessmentSyncColumnImmutable;
814
812
  DESCRIPTION: AssessmentSyncColumnImmutable;
815
813
  DATA_PROCESSING_AGREEMENT_STATUS: AssessmentSyncColumnImmutable;
816
814
  DATA_PROTECTION_IMPACT_ASSESSMENT_STATUS: AssessmentSyncColumnImmutable;
@@ -820,8 +818,6 @@ declare const AssessmentSyncColumn: {
820
818
  RETENTION_TYPE: AssessmentSyncColumnImmutable;
821
819
  CONTROLLERSHIP: AssessmentSyncColumnImmutable;
822
820
  HAS_PERSONAL_DATA: AssessmentSyncColumnImmutable;
823
- ERROR: AssessmentSyncColumnImmutable;
824
- NAME: AssessmentSyncColumnImmutable;
825
821
  CONNECT_START_TIME: AssessmentSyncColumnImmutable;
826
822
  CONNECTION_STATE: AssessmentSyncColumnImmutable;
827
823
  CONTACT_EMAIL: AssessmentSyncColumnImmutable;
@@ -865,12 +861,14 @@ declare const AssessmentSyncColumn: {
865
861
  TRANSFER_REGIONS: AssessmentSyncColumnImmutable;
866
862
  CONTROLLERSHIPS: AssessmentSyncColumnImmutable;
867
863
  CUSTOM_SILO_CONNECTION_STRATEGY: AssessmentSyncColumnImmutable;
864
+ NAME: AssessmentSyncColumnImmutable;
868
865
  DATA_POINT_ID: AssessmentSyncColumnImmutable;
869
866
  ENCRYPTED_SAMPLES_S3_KEY: AssessmentSyncColumnImmutable;
870
867
  ACCESS_REQUESTED_VISIBILITY_ENABLED: AssessmentSyncColumnImmutable;
871
868
  ENSURE_REQUEST_REDACTION_ENABLED: AssessmentSyncColumnImmutable;
872
869
  LAST_CLASSIFIED_AT: AssessmentSyncColumnImmutable;
873
870
  LAST_RUN_AT: AssessmentSyncColumnImmutable;
871
+ ERROR: AssessmentSyncColumnImmutable;
874
872
  ERROR_COUNT: AssessmentSyncColumnImmutable;
875
873
  CONTEXT: AssessmentSyncColumnImmutable;
876
874
  CONTENT_CLASSIFICATION_STATUS: AssessmentSyncColumnImmutable;
@@ -889,6 +887,8 @@ declare const AssessmentSyncColumn: {
889
887
  PRIVACY_POLICY_URL: AssessmentSyncColumnImmutable;
890
888
  CATEGORY: AssessmentSyncColumnImmutable;
891
889
  IS_DEFAULT: AssessmentSyncColumnImmutable;
890
+ REGEX: AssessmentSyncColumnImmutable;
891
+ PURPOSE: AssessmentSyncColumnImmutable;
892
892
  DATA_PROTECTION_OFFICER_EMAIL: AssessmentSyncColumnImmutable;
893
893
  DATA_PROTECTION_OFFICER_NAME: AssessmentSyncColumnImmutable;
894
894
  SECURITY_MEASURE_DETAILS: AssessmentSyncColumnImmutable;
@@ -1738,8 +1738,8 @@ declare const ConsentVariantInput: t.IntersectionC<[t.TypeC<{
1738
1738
  slug: t.StringC; /** Status of variant */
1739
1739
  status: t.KeyofC<{
1740
1740
  DRAFT: unknown;
1741
- ACTIVE: unknown;
1742
1741
  PUBLISHED: unknown;
1742
+ ACTIVE: unknown;
1743
1743
  }>; /** Locales of variant */
1744
1744
  locales: t.ArrayC<t.KeyofC<{
1745
1745
  no: unknown;
@@ -10879,7 +10879,8 @@ declare const DsrErrorCode: {
10879
10879
  DropRecordsRequireDropRunId: "DROP_RECORDS_REQUIRE_DROP_RUN_ID"; /** This request exceeds the per-request DROP record link limit. */
10880
10880
  MaxDropRecordsPerRequestExceeded: "MAX_DROP_RECORDS_PER_REQUEST_EXCEEDED"; /** One or more DROP records on this request are not part of the run's CPPA download. */
10881
10881
  UnknownDropRecords: "UNKNOWN_DROP_RECORDS"; /** The DROP run referenced by this request does not exist. */
10882
- DropRunNotFound: "DROP_RUN_NOT_FOUND"; /** An identifier value on this request failed format or regex validation. */
10882
+ DropRunNotFound: "DROP_RUN_NOT_FOUND"; /** The DROP run referenced by this request is in a state that no longer accepts new DROP-linked DSRs. */
10883
+ DropRunNotIntakeEligible: "DROP_RUN_NOT_INTAKE_ELIGIBLE"; /** An identifier value on this request failed format or regex validation. */
10883
10884
  IdentifierValidationFailed: "IDENTIFIER_VALIDATION_FAILED"; /** This request names an identifier the organization does not have configured. */
10884
10885
  UnsupportedIdentifierName: "UNSUPPORTED_IDENTIFIER_NAME"; /** This request has no email, which is required outside silent mode. */
10885
10886
  MissingRequiredEmail: "MISSING_REQUIRED_EMAIL";
@@ -10947,6 +10948,7 @@ type DsrErrorMessageMap = {
10947
10948
  [DsrErrorCode.MaxDropRecordsPerRequestExceeded]: () => string;
10948
10949
  [DsrErrorCode.UnknownDropRecords]: (records: readonly UnknownDropRecordsMessageInput[]) => string;
10949
10950
  [DsrErrorCode.DropRunNotFound]: (dropRunId: string) => string;
10951
+ [DsrErrorCode.DropRunNotIntakeEligible]: (dropRunState: string) => string;
10950
10952
  [DsrErrorCode.IdentifierValidationFailed]: (identifierNames: readonly string[]) => string;
10951
10953
  [DsrErrorCode.UnsupportedIdentifierName]: (name: string) => string;
10952
10954
  [DsrErrorCode.MissingRequiredEmail]: () => string;
@@ -10976,6 +10978,7 @@ declare const DSR_ERROR_MESSAGE: {
10976
10978
  readonly MAX_DROP_RECORDS_PER_REQUEST_EXCEEDED: () => string;
10977
10979
  readonly UNKNOWN_DROP_RECORDS: (records: readonly UnknownDropRecordsMessageInput[]) => string;
10978
10980
  readonly DROP_RUN_NOT_FOUND: (dropRunId: string) => string;
10981
+ readonly DROP_RUN_NOT_INTAKE_ELIGIBLE: (dropRunState: string) => string;
10979
10982
  /**
10980
10983
  * Fallback canonical message for {@link DsrErrorCode.IdentifierValidationFailed}.
10981
10984
  * Organizations can configure a custom, locale-translated `validationErrorMessage`
@@ -47327,8 +47330,8 @@ type PreferenceStoreIdentifier = t.TypeOf<typeof PreferenceStoreIdentifier>;
47327
47330
  */
47328
47331
  declare const PreferenceStoreSystemAttributes: t.IntersectionC<[t.TypeC<{
47329
47332
  /** The decrypted status of the record */decryptionStatus: t.KeyofC<{
47330
- DECRYPTED: unknown;
47331
47333
  ERROR: unknown;
47334
+ DECRYPTED: unknown;
47332
47335
  }>;
47333
47336
  }>, t.PartialC<{
47334
47337
  /** updated timestamp on the db record */updatedAt: t.StringC;
@@ -47391,8 +47394,8 @@ declare const PreferenceQueryResponseItem: t.IntersectionC<[t.TypeC<{
47391
47394
  }>, t.TypeC<{
47392
47395
  /** The system attributes of the record */system: t.IntersectionC<[t.TypeC<{
47393
47396
  /** The decrypted status of the record */decryptionStatus: t.KeyofC<{
47394
- DECRYPTED: unknown;
47395
47397
  ERROR: unknown;
47398
+ DECRYPTED: unknown;
47396
47399
  }>;
47397
47400
  }>, t.PartialC<{
47398
47401
  /** updated timestamp on the db record */updatedAt: t.StringC;
@@ -64527,6 +64530,7 @@ declare const PrivacyCenterConfigurableColorPalette: t.IntersectionC<[t.RecordC<
64527
64530
  primary: unknown;
64528
64531
  secondary: unknown;
64529
64532
  }>, t.StringC>, t.PartialC<{
64533
+ error: t.StringC;
64530
64534
  sidebarNavBg: t.StringC;
64531
64535
  heroBg: t.StringC;
64532
64536
  widgetBg: t.StringC;
@@ -64540,7 +64544,6 @@ declare const PrivacyCenterConfigurableColorPalette: t.IntersectionC<[t.RecordC<
64540
64544
  highlight: t.StringC;
64541
64545
  tableOutline: t.StringC;
64542
64546
  bgAccent: t.StringC;
64543
- error: t.StringC;
64544
64547
  white: t.StringC;
64545
64548
  black: t.StringC;
64546
64549
  gray1: t.StringC;
@@ -64624,6 +64627,7 @@ declare const PrivacyCenterThemePartial: t.IntersectionC<[t.TypeC<{
64624
64627
  primary: unknown;
64625
64628
  secondary: unknown;
64626
64629
  }>, t.StringC>, t.PartialC<{
64630
+ error: t.StringC;
64627
64631
  sidebarNavBg: t.StringC;
64628
64632
  heroBg: t.StringC;
64629
64633
  widgetBg: t.StringC;
@@ -64637,7 +64641,6 @@ declare const PrivacyCenterThemePartial: t.IntersectionC<[t.TypeC<{
64637
64641
  highlight: t.StringC;
64638
64642
  tableOutline: t.StringC;
64639
64643
  bgAccent: t.StringC;
64640
- error: t.StringC;
64641
64644
  white: t.StringC;
64642
64645
  black: t.StringC;
64643
64646
  gray1: t.StringC;