@transcend-io/privacy-types 5.3.2 → 5.5.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 +46 -8
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +46 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2220,6 +2220,33 @@ const RetentionType = makeEnum({
|
|
|
2220
2220
|
Unspecified: "UNSPECIFIED"
|
|
2221
2221
|
});
|
|
2222
2222
|
//#endregion
|
|
2223
|
+
//#region src/dsrErrorCode.ts
|
|
2224
|
+
/**
|
|
2225
|
+
* Stable, machine-readable error codes for the DSR submission API
|
|
2226
|
+
* (`POST /v1/data-subject-request` and `POST /v1/data-subject-request-bulk`).
|
|
2227
|
+
*
|
|
2228
|
+
* Surfaced to clients as `extensions.code` on GraphQL errors so they can branch
|
|
2229
|
+
* on the failure type without parsing the error message.
|
|
2230
|
+
*/
|
|
2231
|
+
const DsrErrorCode = makeEnum({
|
|
2232
|
+
/** A duplicate open request already exists for this data subject + type. */
|
|
2233
|
+
DuplicateRequest: "DUPLICATE_REQUEST",
|
|
2234
|
+
/** An open parent request already exists for this data subject. */
|
|
2235
|
+
OpenParentRequestExists: "OPEN_PARENT_REQUEST_EXISTS",
|
|
2236
|
+
/** A restart was requested for a request ID that does not exist. */
|
|
2237
|
+
RestartRequestNotFound: "RESTART_REQUEST_NOT_FOUND",
|
|
2238
|
+
/** A restart was requested for a request closed beyond the org's time limit. */
|
|
2239
|
+
RestartTimeLimitExceeded: "RESTART_TIME_LIMIT_EXCEEDED",
|
|
2240
|
+
/** The bulk submission exceeds the per-request item limit. */
|
|
2241
|
+
SubmissionLimitExceeded: "SUBMISSION_LIMIT_EXCEEDED",
|
|
2242
|
+
/** A bulk submission mixed items with and without a pre-generated CEK context. */
|
|
2243
|
+
MixedCekContext: "MIXED_CEK_CONTEXT",
|
|
2244
|
+
/** The required Diffie-Hellman encrypted payload was missing. */
|
|
2245
|
+
DhContextRequired: "DH_CONTEXT_REQUIRED",
|
|
2246
|
+
/** Generic input validation failure. */
|
|
2247
|
+
InvalidInput: "INVALID_INPUT"
|
|
2248
|
+
});
|
|
2249
|
+
//#endregion
|
|
2223
2250
|
//#region src/identifier.ts
|
|
2224
2251
|
/**
|
|
2225
2252
|
* An identifier that can be used to communication with the data subject, also implies that the identifier is transcend supported
|
|
@@ -32132,6 +32159,24 @@ const PrivacyCenterThemePartial = t.intersection([t.type({
|
|
|
32132
32159
|
textStyles: PrivacyCenterTextStyles
|
|
32133
32160
|
})]);
|
|
32134
32161
|
//#endregion
|
|
32135
|
-
|
|
32162
|
+
//#region src/workflowConfig.ts
|
|
32163
|
+
/** The type of workflow config */
|
|
32164
|
+
const WorkflowConfigType = makeEnum({
|
|
32165
|
+
/** Standard data subject request workflow */
|
|
32166
|
+
DSR: "DSR",
|
|
32167
|
+
/** Preference management workflow */
|
|
32168
|
+
PreferenceManagement: "PREFERENCE_MANAGEMENT"
|
|
32169
|
+
});
|
|
32170
|
+
/** The access tier for a workflow config */
|
|
32171
|
+
const WorkflowConfigVisibility = makeEnum({
|
|
32172
|
+
/** Workflow is saved as a draft and can only run test requests */
|
|
32173
|
+
Draft: "DRAFT",
|
|
32174
|
+
/** Workflow is available for internal Admin Dashboard request creation */
|
|
32175
|
+
Internal: "INTERNAL",
|
|
32176
|
+
/** Workflow is available internally and in the deployed Privacy Center */
|
|
32177
|
+
Published: "PUBLISHED"
|
|
32178
|
+
});
|
|
32179
|
+
//#endregion
|
|
32180
|
+
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, 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, CustomizableComponent, CustomizableText, DEFAULT_MACROREGIONS_MAP, DOMElementId, DataCategoryType, DataFlowOrderField, DataFlowScope, DataFlowType, DataProtectionImpactAssessmentStatus, DataSiloAttribute, DataSiloAttributeSyncColumn, DataSubCategoryAttribute, DataSubCategoryAttributeSyncColumn, DatabaseDriver, DatabaseIntegration, DatabaseSqlVariablesForPrivacyRequest, DatabaseVariables, DecryptionStatus, DefaultConsentOption, DefaultDataSubCategoryType, DefaultPurposeSubCategoryType, DescriptionTextTheme, DsrErrorCode, 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, MacroRegion, 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, PROMPT_FILE_PURPOSE_TO_OPEN_AI, PaddedContentLayout, Preference, PreferenceQueryResponseItem, PreferenceStoreAuthLevel, PreferenceStoreConsentFields, PreferenceStoreIdentifier, PreferenceStoreKeyConditionals, PreferenceStorePurposeResponse, PreferenceStorePurposeUpdate, PreferenceStoreSystemAttributes, PreferenceStoreWorkflowSettings, PreferenceTopicType, PreferenceUpdateItem, PreflightRequestStatus, PrivacyCenterComponentStyles, PrivacyCenterConfigurableColorPalette, PrivacyCenterFont, PrivacyCenterFontBasic, 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, 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, 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, UiVariantStatus, UnknownRequestPolicy, UnstructuredSubDataPointRecommendationStatus, UspapiOption, VariantKey, VendorAttribute, VendorAttributeSyncColumn, VerticalAlign, WorkflowConfigType, WorkflowConfigVisibility, getRegistryLink };
|
|
32136
32181
|
|
|
32137
32182
|
//# sourceMappingURL=index.mjs.map
|