@transcend-io/privacy-types 4.154.0 → 5.0.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/LICENSE +201 -21
- package/dist/index.d.mts +61853 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +30980 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +36 -36
- package/.yarn/sdks/eslint/package.json +0 -14
- package/.yarn/sdks/prettier/package.json +0 -7
- package/.yarn/sdks/typescript/package.json +0 -10
- package/README.md +0 -37
- package/build/actionItems.d.ts +0 -174
- package/build/actionItems.d.ts.map +0 -1
- package/build/actionItems.js +0 -179
- package/build/actionItems.js.map +0 -1
- package/build/actions.d.ts +0 -158
- package/build/actions.d.ts.map +0 -1
- package/build/actions.js +0 -106
- package/build/actions.js.map +0 -1
- package/build/assessmentForm.d.ts +0 -179
- package/build/assessmentForm.d.ts.map +0 -1
- package/build/assessmentForm.js +0 -164
- package/build/assessmentForm.js.map +0 -1
- package/build/assessmentQuestion.d.ts +0 -485
- package/build/assessmentQuestion.d.ts.map +0 -1
- package/build/assessmentQuestion.js +0 -401
- package/build/assessmentQuestion.js.map +0 -1
- package/build/attribute.d.ts +0 -79
- package/build/attribute.d.ts.map +0 -1
- package/build/attribute.js +0 -84
- package/build/attribute.js.map +0 -1
- package/build/browserTimeZones.d.ts +0 -437
- package/build/browserTimeZones.d.ts.map +0 -1
- package/build/browserTimeZones.js +0 -441
- package/build/browserTimeZones.js.map +0 -1
- package/build/code.d.ts +0 -17
- package/build/code.d.ts.map +0 -1
- package/build/code.js +0 -19
- package/build/code.js.map +0 -1
- package/build/consentManager.d.ts +0 -172
- package/build/consentManager.d.ts.map +0 -1
- package/build/consentManager.js +0 -154
- package/build/consentManager.js.map +0 -1
- package/build/consentUi.d.ts +0 -1998
- package/build/consentUi.d.ts.map +0 -1
- package/build/consentUi.js +0 -99
- package/build/consentUi.js.map +0 -1
- package/build/consentUiConfiguration.d.ts +0 -3338
- package/build/consentUiConfiguration.d.ts.map +0 -1
- package/build/consentUiConfiguration.js +0 -146
- package/build/consentUiConfiguration.js.map +0 -1
- package/build/consentUiTheme.d.ts +0 -1273
- package/build/consentUiTheme.d.ts.map +0 -1
- package/build/consentUiTheme.js +0 -273
- package/build/consentUiTheme.js.map +0 -1
- package/build/database.d.ts +0 -72
- package/build/database.d.ts.map +0 -1
- package/build/database.js +0 -63
- package/build/database.js.map +0 -1
- package/build/datapoint.d.ts +0 -68
- package/build/datapoint.d.ts.map +0 -1
- package/build/datapoint.js +0 -60
- package/build/datapoint.js.map +0 -1
- package/build/enricher.d.ts +0 -79
- package/build/enricher.d.ts.map +0 -1
- package/build/enricher.js +0 -49
- package/build/enricher.js.map +0 -1
- package/build/getRegistryLink.d.ts +0 -13
- package/build/getRegistryLink.d.ts.map +0 -1
- package/build/getRegistryLink.js +0 -27
- package/build/getRegistryLink.js.map +0 -1
- package/build/identifier.d.ts +0 -106
- package/build/identifier.d.ts.map +0 -1
- package/build/identifier.js +0 -100
- package/build/identifier.js.map +0 -1
- package/build/index.d.ts +0 -35
- package/build/index.d.ts.map +0 -1
- package/build/index.js +0 -51
- package/build/index.js.map +0 -1
- package/build/isoConstants/index.d.ts +0 -3
- package/build/isoConstants/index.d.ts.map +0 -1
- package/build/isoConstants/index.js +0 -19
- package/build/isoConstants/index.js.map +0 -1
- package/build/isoConstants/iso3166-1.d.ts +0 -509
- package/build/isoConstants/iso3166-1.d.ts.map +0 -1
- package/build/isoConstants/iso3166-1.js +0 -271
- package/build/isoConstants/iso3166-1.js.map +0 -1
- package/build/isoConstants/iso3166-2.d.ts +0 -25668
- package/build/isoConstants/iso3166-2.d.ts.map +0 -1
- package/build/isoConstants/iso3166-2.js +0 -25679
- package/build/isoConstants/iso3166-2.js.map +0 -1
- package/build/isoRegion.d.ts +0 -5398
- package/build/isoRegion.d.ts.map +0 -1
- package/build/isoRegion.js +0 -24
- package/build/isoRegion.js.map +0 -1
- package/build/largeLanguageModels.d.ts +0 -43
- package/build/largeLanguageModels.d.ts.map +0 -1
- package/build/largeLanguageModels.js +0 -61
- package/build/largeLanguageModels.js.map +0 -1
- package/build/macroregion.d.ts +0 -12
- package/build/macroregion.d.ts.map +0 -1
- package/build/macroregion.js +0 -74
- package/build/macroregion.js.map +0 -1
- package/build/objects.d.ts +0 -74
- package/build/objects.d.ts.map +0 -1
- package/build/objects.js +0 -74
- package/build/objects.js.map +0 -1
- package/build/oneTrust/endpoints/getAssessment.d.ts +0 -1368
- package/build/oneTrust/endpoints/getAssessment.d.ts.map +0 -1
- package/build/oneTrust/endpoints/getAssessment.js +0 -577
- package/build/oneTrust/endpoints/getAssessment.js.map +0 -1
- package/build/oneTrust/endpoints/getListOfAssessments.d.ts +0 -122
- package/build/oneTrust/endpoints/getListOfAssessments.d.ts.map +0 -1
- package/build/oneTrust/endpoints/getListOfAssessments.js +0 -118
- package/build/oneTrust/endpoints/getListOfAssessments.js.map +0 -1
- package/build/oneTrust/endpoints/getRisk.d.ts +0 -416
- package/build/oneTrust/endpoints/getRisk.d.ts.map +0 -1
- package/build/oneTrust/endpoints/getRisk.js +0 -357
- package/build/oneTrust/endpoints/getRisk.js.map +0 -1
- package/build/oneTrust/endpoints/getUser.d.ts +0 -123
- package/build/oneTrust/endpoints/getUser.d.ts.map +0 -1
- package/build/oneTrust/endpoints/getUser.js +0 -92
- package/build/oneTrust/endpoints/getUser.js.map +0 -1
- package/build/oneTrust/endpoints/index.d.ts +0 -5
- package/build/oneTrust/endpoints/index.d.ts.map +0 -1
- package/build/oneTrust/endpoints/index.js +0 -21
- package/build/oneTrust/endpoints/index.js.map +0 -1
- package/build/oneTrust/enrichedCodecs.d.ts +0 -2467
- package/build/oneTrust/enrichedCodecs.d.ts.map +0 -1
- package/build/oneTrust/enrichedCodecs.js +0 -103
- package/build/oneTrust/enrichedCodecs.js.map +0 -1
- package/build/oneTrust/index.d.ts +0 -4
- package/build/oneTrust/index.d.ts.map +0 -1
- package/build/oneTrust/index.js +0 -20
- package/build/oneTrust/index.js.map +0 -1
- package/build/oneTrust/oneTrustAssessmentCsv.d.ts +0 -620
- package/build/oneTrust/oneTrustAssessmentCsv.d.ts.map +0 -1
- package/build/oneTrust/oneTrustAssessmentCsv.js +0 -652
- package/build/oneTrust/oneTrustAssessmentCsv.js.map +0 -1
- package/build/preferences.d.ts +0 -16628
- package/build/preferences.d.ts.map +0 -1
- package/build/preferences.js +0 -263
- package/build/preferences.js.map +0 -1
- package/build/processingActivity.d.ts +0 -14
- package/build/processingActivity.d.ts.map +0 -1
- package/build/processingActivity.js +0 -16
- package/build/processingActivity.js.map +0 -1
- package/build/prompt.d.ts +0 -72
- package/build/prompt.d.ts.map +0 -1
- package/build/prompt.js +0 -82
- package/build/prompt.js.map +0 -1
- package/build/promptAVendor.d.ts +0 -35
- package/build/promptAVendor.d.ts.map +0 -1
- package/build/promptAVendor.js +0 -31
- package/build/promptAVendor.js.map +0 -1
- package/build/purposeSubCategories/additional.d.ts +0 -9
- package/build/purposeSubCategories/additional.d.ts.map +0 -1
- package/build/purposeSubCategories/additional.js +0 -9
- package/build/purposeSubCategories/additional.js.map +0 -1
- package/build/purposeSubCategories/advertising.d.ts +0 -9
- package/build/purposeSubCategories/advertising.d.ts.map +0 -1
- package/build/purposeSubCategories/advertising.js +0 -9
- package/build/purposeSubCategories/advertising.js.map +0 -1
- package/build/purposeSubCategories/analytics.d.ts +0 -9
- package/build/purposeSubCategories/analytics.d.ts.map +0 -1
- package/build/purposeSubCategories/analytics.js +0 -9
- package/build/purposeSubCategories/analytics.js.map +0 -1
- package/build/purposeSubCategories/essential.d.ts +0 -9
- package/build/purposeSubCategories/essential.d.ts.map +0 -1
- package/build/purposeSubCategories/essential.js +0 -9
- package/build/purposeSubCategories/essential.js.map +0 -1
- package/build/purposeSubCategories/hr.d.ts +0 -9
- package/build/purposeSubCategories/hr.d.ts.map +0 -1
- package/build/purposeSubCategories/hr.js +0 -9
- package/build/purposeSubCategories/hr.js.map +0 -1
- package/build/purposeSubCategories/index.d.ts +0 -19
- package/build/purposeSubCategories/index.d.ts.map +0 -1
- package/build/purposeSubCategories/index.js +0 -31
- package/build/purposeSubCategories/index.js.map +0 -1
- package/build/purposeSubCategories/legal.d.ts +0 -9
- package/build/purposeSubCategories/legal.d.ts.map +0 -1
- package/build/purposeSubCategories/legal.js +0 -9
- package/build/purposeSubCategories/legal.js.map +0 -1
- package/build/purposeSubCategories/marketing.d.ts +0 -9
- package/build/purposeSubCategories/marketing.d.ts.map +0 -1
- package/build/purposeSubCategories/marketing.js +0 -9
- package/build/purposeSubCategories/marketing.js.map +0 -1
- package/build/purposeSubCategories/operationSecurity.d.ts +0 -9
- package/build/purposeSubCategories/operationSecurity.d.ts.map +0 -1
- package/build/purposeSubCategories/operationSecurity.js +0 -9
- package/build/purposeSubCategories/operationSecurity.js.map +0 -1
- package/build/purposeSubCategories/other.d.ts +0 -9
- package/build/purposeSubCategories/other.d.ts.map +0 -1
- package/build/purposeSubCategories/other.js +0 -9
- package/build/purposeSubCategories/other.js.map +0 -1
- package/build/purposeSubCategories/personalization.d.ts +0 -9
- package/build/purposeSubCategories/personalization.d.ts.map +0 -1
- package/build/purposeSubCategories/personalization.js +0 -9
- package/build/purposeSubCategories/personalization.js.map +0 -1
- package/build/purposeSubCategories/sale.d.ts +0 -9
- package/build/purposeSubCategories/sale.d.ts.map +0 -1
- package/build/purposeSubCategories/sale.js +0 -9
- package/build/purposeSubCategories/sale.js.map +0 -1
- package/build/purposeSubCategories/transfer.d.ts +0 -9
- package/build/purposeSubCategories/transfer.d.ts.map +0 -1
- package/build/purposeSubCategories/transfer.js +0 -9
- package/build/purposeSubCategories/transfer.js.map +0 -1
- package/build/regexes.d.ts +0 -5
- package/build/regexes.d.ts.map +0 -1
- package/build/regexes.js +0 -8
- package/build/regexes.js.map +0 -1
- package/build/request.d.ts +0 -214
- package/build/request.d.ts.map +0 -1
- package/build/request.js +0 -151
- package/build/request.js.map +0 -1
- package/build/scopes.d.ts +0 -153
- package/build/scopes.d.ts.map +0 -1
- package/build/scopes.js +0 -1017
- package/build/scopes.js.map +0 -1
- package/build/sql.d.ts +0 -261
- package/build/sql.d.ts.map +0 -1
- package/build/sql.js +0 -82
- package/build/sql.js.map +0 -1
- package/build/subcategories/connection.d.ts +0 -19
- package/build/subcategories/connection.d.ts.map +0 -1
- package/build/subcategories/connection.js +0 -19
- package/build/subcategories/connection.js.map +0 -1
- package/build/subcategories/contact.d.ts +0 -13
- package/build/subcategories/contact.d.ts.map +0 -1
- package/build/subcategories/contact.js +0 -13
- package/build/subcategories/contact.js.map +0 -1
- package/build/subcategories/demographic.d.ts +0 -28
- package/build/subcategories/demographic.d.ts.map +0 -1
- package/build/subcategories/demographic.js +0 -28
- package/build/subcategories/demographic.js.map +0 -1
- package/build/subcategories/device.d.ts +0 -14
- package/build/subcategories/device.d.ts.map +0 -1
- package/build/subcategories/device.js +0 -14
- package/build/subcategories/device.js.map +0 -1
- package/build/subcategories/financial.d.ts +0 -20
- package/build/subcategories/financial.d.ts.map +0 -1
- package/build/subcategories/financial.js +0 -20
- package/build/subcategories/financial.js.map +0 -1
- package/build/subcategories/health.d.ts +0 -10
- package/build/subcategories/health.d.ts.map +0 -1
- package/build/subcategories/health.js +0 -10
- package/build/subcategories/health.js.map +0 -1
- package/build/subcategories/id.d.ts +0 -24
- package/build/subcategories/id.d.ts.map +0 -1
- package/build/subcategories/id.js +0 -24
- package/build/subcategories/id.js.map +0 -1
- package/build/subcategories/index.d.ts +0 -55
- package/build/subcategories/index.d.ts.map +0 -1
- package/build/subcategories/index.js +0 -35
- package/build/subcategories/index.js.map +0 -1
- package/build/subcategories/location.d.ts +0 -9
- package/build/subcategories/location.d.ts.map +0 -1
- package/build/subcategories/location.js +0 -9
- package/build/subcategories/location.js.map +0 -1
- package/build/subcategories/notPersonalData.d.ts +0 -10
- package/build/subcategories/notPersonalData.d.ts.map +0 -1
- package/build/subcategories/notPersonalData.js +0 -10
- package/build/subcategories/notPersonalData.js.map +0 -1
- package/build/subcategories/onlineActivity.d.ts +0 -15
- package/build/subcategories/onlineActivity.d.ts.map +0 -1
- package/build/subcategories/onlineActivity.js +0 -15
- package/build/subcategories/onlineActivity.js.map +0 -1
- package/build/subcategories/socialMedia.d.ts +0 -11
- package/build/subcategories/socialMedia.d.ts.map +0 -1
- package/build/subcategories/socialMedia.js +0 -11
- package/build/subcategories/socialMedia.js.map +0 -1
- package/build/subcategories/survey.d.ts +0 -9
- package/build/subcategories/survey.d.ts.map +0 -1
- package/build/subcategories/survey.js +0 -10
- package/build/subcategories/survey.js.map +0 -1
- package/build/subcategories/tracking.d.ts +0 -9
- package/build/subcategories/tracking.d.ts.map +0 -1
- package/build/subcategories/tracking.js +0 -10
- package/build/subcategories/tracking.js.map +0 -1
- package/build/subcategories/userProfile.d.ts +0 -15
- package/build/subcategories/userProfile.d.ts.map +0 -1
- package/build/subcategories/userProfile.js +0 -15
- package/build/subcategories/userProfile.js.map +0 -1
- package/build/team.d.ts +0 -21
- package/build/team.d.ts.map +0 -1
- package/build/team.js +0 -25
- package/build/team.js.map +0 -1
- package/build/tests/index.test.d.ts +0 -2
- package/build/tests/index.test.d.ts.map +0 -1
- package/build/tests/index.test.js +0 -18
- package/build/tests/index.test.js.map +0 -1
- package/build/theme.d.ts +0 -347
- package/build/theme.d.ts.map +0 -1
- package/build/theme.js +0 -202
- package/build/theme.js.map +0 -1
- package/build/tsbuildinfo +0 -1
|
@@ -1,1368 +0,0 @@
|
|
|
1
|
-
import * as t from 'io-ts';
|
|
2
|
-
/**
|
|
3
|
-
* reference: https://developer.onetrust.com/onetrust/reference/exportassessmentusingget
|
|
4
|
-
* Return types of the "Get Assessments" endpoint
|
|
5
|
-
*/
|
|
6
|
-
export declare const OneTrustApprover: t.TypeC<{
|
|
7
|
-
/** ID of the user assigned as an approver. */
|
|
8
|
-
id: t.StringC;
|
|
9
|
-
/** ID of the workflow stage */
|
|
10
|
-
workflowStageId: t.StringC;
|
|
11
|
-
/** Name of the user assigned as an approver. */
|
|
12
|
-
name: t.StringC;
|
|
13
|
-
/** More details about the approver */
|
|
14
|
-
approver: t.TypeC<{
|
|
15
|
-
/** ID of the user assigned as an approver. */
|
|
16
|
-
id: t.StringC;
|
|
17
|
-
/** Full name of the user assigned as an approver. */
|
|
18
|
-
fullName: t.StringC;
|
|
19
|
-
/** Email of the user assigned as an approver. */
|
|
20
|
-
email: t.UnionC<[t.StringC, t.NullC]>;
|
|
21
|
-
/** Whether the user assigned as an approver was deleted. */
|
|
22
|
-
deleted: t.BooleanC;
|
|
23
|
-
/** The assignee type */
|
|
24
|
-
assigneeType: t.UnionC<[t.StringC, t.NullC]>;
|
|
25
|
-
}>;
|
|
26
|
-
/** Assessment approval status. */
|
|
27
|
-
approvalState: t.UnionC<[t.LiteralC<"OPEN">, t.LiteralC<"APPROVED">, t.LiteralC<"REJECTED">]>;
|
|
28
|
-
/** Date and time at which the assessment was approved. */
|
|
29
|
-
approvedOn: t.UnionC<[t.StringC, t.NullC]>;
|
|
30
|
-
/** ID of the assessment result. */
|
|
31
|
-
resultId: t.UnionC<[t.StringC, t.NullC]>;
|
|
32
|
-
/** Name of the assessment result. */
|
|
33
|
-
resultName: t.UnionC<[t.LiteralC<"Approved - Remediation required">, t.LiteralC<"Approved">, t.LiteralC<"Rejected">, t.LiteralC<"Assessment suspended - On Hold">, t.StringC, t.NullC]>;
|
|
34
|
-
/** Name key of the assessment result. */
|
|
35
|
-
resultNameKey: t.UnionC<[t.StringC, t.NullC]>;
|
|
36
|
-
}>;
|
|
37
|
-
/** Type override */
|
|
38
|
-
export type OneTrustApprover = t.TypeOf<typeof OneTrustApprover>;
|
|
39
|
-
export declare const OneTrustAssessmentStatus: t.UnionC<[t.LiteralC<"NOT_STARTED">, t.LiteralC<"IN_PROGRESS">, t.LiteralC<"UNDER_REVIEW">, t.LiteralC<"COMPLETED">]>;
|
|
40
|
-
/** Type override */
|
|
41
|
-
export type OneTrustAssessmentStatus = t.TypeOf<typeof OneTrustAssessmentStatus>;
|
|
42
|
-
export declare const OneTrustPrimaryEntityDetails: t.ArrayC<t.TypeC<{
|
|
43
|
-
/** Unique ID for the primary record. */
|
|
44
|
-
id: t.StringC;
|
|
45
|
-
/** Name of the primary record. */
|
|
46
|
-
name: t.StringC;
|
|
47
|
-
/** The number associated with the primary record. */
|
|
48
|
-
number: t.NumberC;
|
|
49
|
-
/** Name and number of the primary record. */
|
|
50
|
-
displayName: t.StringC;
|
|
51
|
-
/** The relationshipResponseDetails */
|
|
52
|
-
relationshipResponseDetails: t.UnionC<[t.StringC, t.NullC]>;
|
|
53
|
-
/** The entity business key */
|
|
54
|
-
entityBusinessKey: t.UnionC<[t.StringC, t.NullC]>;
|
|
55
|
-
}>>;
|
|
56
|
-
/** Type override */
|
|
57
|
-
export type OneTrustPrimaryEntityDetails = t.TypeOf<typeof OneTrustPrimaryEntityDetails>;
|
|
58
|
-
export declare const OneTrustAssessmentSectionSubmittedBy: t.UnionC<[t.IntersectionC<[t.TypeC<{
|
|
59
|
-
/** The ID of the user who submitted the section */
|
|
60
|
-
id: t.StringC;
|
|
61
|
-
/** THe name or email of the user who submitted the section */
|
|
62
|
-
name: t.StringC;
|
|
63
|
-
}>, t.PartialC<{
|
|
64
|
-
/** The name key of the user who submitted the section */
|
|
65
|
-
nameKey: t.UnionC<[t.StringC, t.NullC]>;
|
|
66
|
-
}>]>, t.NullC]>;
|
|
67
|
-
/** Type override */
|
|
68
|
-
export type OneTrustAssessmentSectionSubmittedBy = t.TypeOf<typeof OneTrustAssessmentSectionSubmittedBy>;
|
|
69
|
-
export declare const OneTrustAssessmentQuestionOption: t.IntersectionC<[t.PartialC<{
|
|
70
|
-
/** The translationIdentifier */
|
|
71
|
-
translationIdentifier: t.StringC;
|
|
72
|
-
}>, t.TypeC<{
|
|
73
|
-
/** ID of the option. */
|
|
74
|
-
id: t.StringC;
|
|
75
|
-
/** Name of the option. */
|
|
76
|
-
option: t.StringC;
|
|
77
|
-
/** The key of the option */
|
|
78
|
-
optionKey: t.UnionC<[t.StringC, t.NullC]>;
|
|
79
|
-
/** The hint */
|
|
80
|
-
hint: t.UnionC<[t.StringC, t.NullC]>;
|
|
81
|
-
/** The hint key */
|
|
82
|
-
hintKey: t.UnionC<[t.StringC, t.NullC]>;
|
|
83
|
-
/** The score */
|
|
84
|
-
score: t.UnionC<[t.NumberC, t.NullC]>;
|
|
85
|
-
/** If the option was pre-selected */
|
|
86
|
-
preSelectedOption: t.BooleanC;
|
|
87
|
-
/** Order in which the option appears. */
|
|
88
|
-
sequence: t.UnionC<[t.NumberC, t.NullC]>;
|
|
89
|
-
/** Attribute for which the option is available. */
|
|
90
|
-
attributes: t.UnionC<[t.StringC, t.NullC]>;
|
|
91
|
-
/** Type of option. */
|
|
92
|
-
optionType: t.UnionC<[t.LiteralC<"NOT_SURE">, t.LiteralC<"NOT_APPLICABLE">, t.LiteralC<"OTHERS">, t.LiteralC<"DEFAULT">]>;
|
|
93
|
-
}>]>;
|
|
94
|
-
/** Type override */
|
|
95
|
-
export type OneTrustAssessmentQuestionOption = t.TypeOf<typeof OneTrustAssessmentQuestionOption>;
|
|
96
|
-
export declare const OneTrustAssessmentNestedQuestion: t.TypeC<{
|
|
97
|
-
/** ID of the question. */
|
|
98
|
-
id: t.StringC;
|
|
99
|
-
/** ID of the root version of the question. */
|
|
100
|
-
rootVersionId: t.StringC;
|
|
101
|
-
/** Order in which the question appears in the assessment. */
|
|
102
|
-
sequence: t.NumberC;
|
|
103
|
-
/** Type of question in the assessment. */
|
|
104
|
-
questionType: t.UnionC<[t.StringC, t.NullC]>;
|
|
105
|
-
/** Indicates whether a response to the question is required. */
|
|
106
|
-
required: t.BooleanC;
|
|
107
|
-
/** Data element attributes that are directly updated by the question. */
|
|
108
|
-
attributes: t.StringC;
|
|
109
|
-
/** Short, descriptive name for the question. */
|
|
110
|
-
friendlyName: t.UnionC<[t.StringC, t.NullC]>;
|
|
111
|
-
/** Description of the question. */
|
|
112
|
-
description: t.UnionC<[t.StringC, t.NullC]>;
|
|
113
|
-
/** Tooltip text within a hint for the question. */
|
|
114
|
-
hint: t.UnionC<[t.StringC, t.NullC]>;
|
|
115
|
-
/** ID of the parent question. */
|
|
116
|
-
parentQuestionId: t.UnionC<[t.StringC, t.NullC]>;
|
|
117
|
-
/** Indicates whether the response to the question is prepopulated. */
|
|
118
|
-
prePopulateResponse: t.BooleanC;
|
|
119
|
-
/** Indicates whether the assessment is linked to inventory records. */
|
|
120
|
-
linkAssessmentToInventory: t.BooleanC;
|
|
121
|
-
/** The question options */
|
|
122
|
-
options: t.UnionC<[t.ArrayC<t.IntersectionC<[t.PartialC<{
|
|
123
|
-
/** The translationIdentifier */
|
|
124
|
-
translationIdentifier: t.StringC;
|
|
125
|
-
}>, t.TypeC<{
|
|
126
|
-
/** ID of the option. */
|
|
127
|
-
id: t.StringC;
|
|
128
|
-
/** Name of the option. */
|
|
129
|
-
option: t.StringC;
|
|
130
|
-
/** The key of the option */
|
|
131
|
-
optionKey: t.UnionC<[t.StringC, t.NullC]>;
|
|
132
|
-
/** The hint */
|
|
133
|
-
hint: t.UnionC<[t.StringC, t.NullC]>;
|
|
134
|
-
/** The hint key */
|
|
135
|
-
hintKey: t.UnionC<[t.StringC, t.NullC]>;
|
|
136
|
-
/** The score */
|
|
137
|
-
score: t.UnionC<[t.NumberC, t.NullC]>;
|
|
138
|
-
/** If the option was pre-selected */
|
|
139
|
-
preSelectedOption: t.BooleanC;
|
|
140
|
-
/** Order in which the option appears. */
|
|
141
|
-
sequence: t.UnionC<[t.NumberC, t.NullC]>;
|
|
142
|
-
/** Attribute for which the option is available. */
|
|
143
|
-
attributes: t.UnionC<[t.StringC, t.NullC]>;
|
|
144
|
-
/** Type of option. */
|
|
145
|
-
optionType: t.UnionC<[t.LiteralC<"NOT_SURE">, t.LiteralC<"NOT_APPLICABLE">, t.LiteralC<"OTHERS">, t.LiteralC<"DEFAULT">]>;
|
|
146
|
-
}>]>>, t.NullC]>;
|
|
147
|
-
/** Indicates whether the question is valid. */
|
|
148
|
-
valid: t.BooleanC;
|
|
149
|
-
/** Type of question in the assessment. */
|
|
150
|
-
type: t.UnionC<[t.StringC, t.NullC]>;
|
|
151
|
-
/** Whether the response can be multi select */
|
|
152
|
-
allowMultiSelect: t.BooleanC;
|
|
153
|
-
/** The text of a question. */
|
|
154
|
-
content: t.StringC;
|
|
155
|
-
/** Indicates whether justification comments are required for the question. */
|
|
156
|
-
requireJustification: t.BooleanC;
|
|
157
|
-
/** The attachmentRequired */
|
|
158
|
-
attachmentRequired: t.BooleanC;
|
|
159
|
-
}>;
|
|
160
|
-
/** Type override */
|
|
161
|
-
export type OneTrustAssessmentNestedQuestion = t.TypeOf<typeof OneTrustAssessmentNestedQuestion>;
|
|
162
|
-
export declare const OneTrustAssessmentResponses: t.ArrayC<t.IntersectionC<[t.PartialC<{
|
|
163
|
-
/** The response maturityScale */
|
|
164
|
-
maturityScale: t.UnionC<[t.StringC, t.NullC]>;
|
|
165
|
-
/** The response effectivenessScale */
|
|
166
|
-
effectivenessScale: t.UnionC<[t.StringC, t.NullC]>;
|
|
167
|
-
/** The response parentAssessmentDetailId */
|
|
168
|
-
parentAssessmentDetailId: t.UnionC<[t.StringC, t.NullC]>;
|
|
169
|
-
/** The response display label */
|
|
170
|
-
displayLabel: t.StringC;
|
|
171
|
-
/** The response type of the parent question */
|
|
172
|
-
parentQuestionType: t.StringC;
|
|
173
|
-
/** The response ID of the parent response */
|
|
174
|
-
parentResponseId: t.StringC;
|
|
175
|
-
/** Whether it's local version */
|
|
176
|
-
isLocalVersion: t.StringC;
|
|
177
|
-
/** Whether relationshipDisplayInformation */
|
|
178
|
-
relationshipDisplayInformation: t.UnionC<[t.StringC, t.NullC]>;
|
|
179
|
-
/** The response lock reason */
|
|
180
|
-
lockReason: t.UnionC<[t.StringC, t.NullC]>;
|
|
181
|
-
}>, t.TypeC<{
|
|
182
|
-
/** The controlResponse */
|
|
183
|
-
controlResponse: t.UnionC<[t.StringC, t.ObjectC, t.NullC]>;
|
|
184
|
-
/** The relationshipResponseDetails */
|
|
185
|
-
relationshipResponseDetails: t.ArrayC<t.StringC>;
|
|
186
|
-
/** The textRedacted */
|
|
187
|
-
textRedacted: t.BooleanC;
|
|
188
|
-
/** The responseMap */
|
|
189
|
-
responseMap: t.ObjectC;
|
|
190
|
-
/** ID of the response. */
|
|
191
|
-
responseId: t.StringC;
|
|
192
|
-
/** Content of the response. */
|
|
193
|
-
response: t.UnionC<[t.StringC, t.NullC]>;
|
|
194
|
-
/** The response key */
|
|
195
|
-
responseKey: t.UnionC<[t.StringC, t.NullC]>;
|
|
196
|
-
/** The response key */
|
|
197
|
-
contractResponse: t.UnionC<[t.StringC, t.NullC]>;
|
|
198
|
-
/** Type of response. */
|
|
199
|
-
type: t.UnionC<[t.LiteralC<"NOT_SURE">, t.LiteralC<"JUSTIFICATION">, t.LiteralC<"NOT_APPLICABLE">, t.LiteralC<"DEFAULT">, t.LiteralC<"OTHERS">]>;
|
|
200
|
-
/** Source from which the assessment is launched. */
|
|
201
|
-
responseSourceType: t.UnionC<[t.StringC, t.NullC]>;
|
|
202
|
-
/** Error associated with the response. */
|
|
203
|
-
errorCode: t.UnionC<[t.LiteralC<"ATTRIBUTE_DISABLED">, t.LiteralC<"ATTRIBUTE_OPTION_DISABLED">, t.LiteralC<"INVENTORY_NOT_EXISTS">, t.LiteralC<"RELATED_INVENTORY_ATTRIBUTE_DISABLED">, t.LiteralC<"DATA_ELEMENT_NOT_EXISTS">, t.LiteralC<"DUPLICATE_INVENTORY">, t.NullC]>;
|
|
204
|
-
/** Indicates whether the response is valid. */
|
|
205
|
-
valid: t.BooleanC;
|
|
206
|
-
/** The data subject */
|
|
207
|
-
dataSubject: t.UnionC<[t.TypeC<{
|
|
208
|
-
/** The ID of the data subject */
|
|
209
|
-
id: t.UnionC<[t.StringC, t.NullC]>;
|
|
210
|
-
/** The ID of the data subject */
|
|
211
|
-
name: t.UnionC<[t.StringC, t.NullC]>;
|
|
212
|
-
/** The nameKey of the data category */
|
|
213
|
-
nameKey: t.UnionC<[t.StringC, t.NullC]>;
|
|
214
|
-
}>, t.NullC]>;
|
|
215
|
-
/** The data category */
|
|
216
|
-
dataCategory: t.UnionC<[t.TypeC<{
|
|
217
|
-
/** The ID of the data category */
|
|
218
|
-
id: t.UnionC<[t.StringC, t.NullC]>;
|
|
219
|
-
/** The name of the data category */
|
|
220
|
-
name: t.UnionC<[t.StringC, t.NullC]>;
|
|
221
|
-
/** The nameKey of the data category */
|
|
222
|
-
nameKey: t.UnionC<[t.StringC, t.NullC]>;
|
|
223
|
-
}>, t.NullC]>;
|
|
224
|
-
/** The data element */
|
|
225
|
-
dataElement: t.UnionC<[t.TypeC<{
|
|
226
|
-
/** The ID of the data element */
|
|
227
|
-
id: t.UnionC<[t.StringC, t.NullC]>;
|
|
228
|
-
/** The name of the data element */
|
|
229
|
-
name: t.UnionC<[t.StringC, t.NullC]>;
|
|
230
|
-
/** The name key of the data element */
|
|
231
|
-
nameKey: t.UnionC<[t.StringC, t.NullC]>;
|
|
232
|
-
}>, t.NullC]>;
|
|
233
|
-
}>]>>;
|
|
234
|
-
/** Type override */
|
|
235
|
-
export type OneTrustAssessmentResponses = t.TypeOf<typeof OneTrustAssessmentResponses>;
|
|
236
|
-
export declare const OneTrustAssessmentQuestionResponses: t.ArrayC<t.TypeC<{
|
|
237
|
-
/** The responses */
|
|
238
|
-
responses: t.ArrayC<t.IntersectionC<[t.PartialC<{
|
|
239
|
-
/** The response maturityScale */
|
|
240
|
-
maturityScale: t.UnionC<[t.StringC, t.NullC]>;
|
|
241
|
-
/** The response effectivenessScale */
|
|
242
|
-
effectivenessScale: t.UnionC<[t.StringC, t.NullC]>;
|
|
243
|
-
/** The response parentAssessmentDetailId */
|
|
244
|
-
parentAssessmentDetailId: t.UnionC<[t.StringC, t.NullC]>;
|
|
245
|
-
/** The response display label */
|
|
246
|
-
displayLabel: t.StringC;
|
|
247
|
-
/** The response type of the parent question */
|
|
248
|
-
parentQuestionType: t.StringC;
|
|
249
|
-
/** The response ID of the parent response */
|
|
250
|
-
parentResponseId: t.StringC;
|
|
251
|
-
/** Whether it's local version */
|
|
252
|
-
isLocalVersion: t.StringC;
|
|
253
|
-
/** Whether relationshipDisplayInformation */
|
|
254
|
-
relationshipDisplayInformation: t.UnionC<[t.StringC, t.NullC]>;
|
|
255
|
-
/** The response lock reason */
|
|
256
|
-
lockReason: t.UnionC<[t.StringC, t.NullC]>;
|
|
257
|
-
}>, t.TypeC<{
|
|
258
|
-
/** The controlResponse */
|
|
259
|
-
controlResponse: t.UnionC<[t.StringC, t.ObjectC, t.NullC]>;
|
|
260
|
-
/** The relationshipResponseDetails */
|
|
261
|
-
relationshipResponseDetails: t.ArrayC<t.StringC>;
|
|
262
|
-
/** The textRedacted */
|
|
263
|
-
textRedacted: t.BooleanC;
|
|
264
|
-
/** The responseMap */
|
|
265
|
-
responseMap: t.ObjectC;
|
|
266
|
-
/** ID of the response. */
|
|
267
|
-
responseId: t.StringC;
|
|
268
|
-
/** Content of the response. */
|
|
269
|
-
response: t.UnionC<[t.StringC, t.NullC]>;
|
|
270
|
-
/** The response key */
|
|
271
|
-
responseKey: t.UnionC<[t.StringC, t.NullC]>;
|
|
272
|
-
/** The response key */
|
|
273
|
-
contractResponse: t.UnionC<[t.StringC, t.NullC]>;
|
|
274
|
-
/** Type of response. */
|
|
275
|
-
type: t.UnionC<[t.LiteralC<"NOT_SURE">, t.LiteralC<"JUSTIFICATION">, t.LiteralC<"NOT_APPLICABLE">, t.LiteralC<"DEFAULT">, t.LiteralC<"OTHERS">]>;
|
|
276
|
-
/** Source from which the assessment is launched. */
|
|
277
|
-
responseSourceType: t.UnionC<[t.StringC, t.NullC]>;
|
|
278
|
-
/** Error associated with the response. */
|
|
279
|
-
errorCode: t.UnionC<[t.LiteralC<"ATTRIBUTE_DISABLED">, t.LiteralC<"ATTRIBUTE_OPTION_DISABLED">, t.LiteralC<"INVENTORY_NOT_EXISTS">, t.LiteralC<"RELATED_INVENTORY_ATTRIBUTE_DISABLED">, t.LiteralC<"DATA_ELEMENT_NOT_EXISTS">, t.LiteralC<"DUPLICATE_INVENTORY">, t.NullC]>;
|
|
280
|
-
/** Indicates whether the response is valid. */
|
|
281
|
-
valid: t.BooleanC;
|
|
282
|
-
/** The data subject */
|
|
283
|
-
dataSubject: t.UnionC<[t.TypeC<{
|
|
284
|
-
/** The ID of the data subject */
|
|
285
|
-
id: t.UnionC<[t.StringC, t.NullC]>;
|
|
286
|
-
/** The ID of the data subject */
|
|
287
|
-
name: t.UnionC<[t.StringC, t.NullC]>;
|
|
288
|
-
/** The nameKey of the data category */
|
|
289
|
-
nameKey: t.UnionC<[t.StringC, t.NullC]>;
|
|
290
|
-
}>, t.NullC]>;
|
|
291
|
-
/** The data category */
|
|
292
|
-
dataCategory: t.UnionC<[t.TypeC<{
|
|
293
|
-
/** The ID of the data category */
|
|
294
|
-
id: t.UnionC<[t.StringC, t.NullC]>;
|
|
295
|
-
/** The name of the data category */
|
|
296
|
-
name: t.UnionC<[t.StringC, t.NullC]>;
|
|
297
|
-
/** The nameKey of the data category */
|
|
298
|
-
nameKey: t.UnionC<[t.StringC, t.NullC]>;
|
|
299
|
-
}>, t.NullC]>;
|
|
300
|
-
/** The data element */
|
|
301
|
-
dataElement: t.UnionC<[t.TypeC<{
|
|
302
|
-
/** The ID of the data element */
|
|
303
|
-
id: t.UnionC<[t.StringC, t.NullC]>;
|
|
304
|
-
/** The name of the data element */
|
|
305
|
-
name: t.UnionC<[t.StringC, t.NullC]>;
|
|
306
|
-
/** The name key of the data element */
|
|
307
|
-
nameKey: t.UnionC<[t.StringC, t.NullC]>;
|
|
308
|
-
}>, t.NullC]>;
|
|
309
|
-
}>]>>;
|
|
310
|
-
/** Justification comments for the given response. */
|
|
311
|
-
justification: t.UnionC<[t.StringC, t.NullC]>;
|
|
312
|
-
}>>;
|
|
313
|
-
/** Type override */
|
|
314
|
-
export type OneTrustAssessmentQuestionResponses = t.TypeOf<typeof OneTrustAssessmentQuestionResponses>;
|
|
315
|
-
export declare const OneTrustAssessmentQuestionRisk: t.IntersectionC<[t.TypeC<{
|
|
316
|
-
/** ID of the question for which the risk was flagged. */
|
|
317
|
-
questionId: t.StringC;
|
|
318
|
-
/** ID of the flagged risk. */
|
|
319
|
-
riskId: t.StringC;
|
|
320
|
-
}>, t.PartialC<{
|
|
321
|
-
/** Level of risk flagged on the question. */
|
|
322
|
-
level: t.UnionC<[t.NumberC, t.NullC]>;
|
|
323
|
-
/** Score of risk flagged on the question. */
|
|
324
|
-
score: t.UnionC<[t.NumberC, t.NullC]>;
|
|
325
|
-
/** Probability of risk flagged on the question. */
|
|
326
|
-
probability: t.UnionC<[t.NumberC, t.UndefinedC]>;
|
|
327
|
-
/** Impact Level of risk flagged on the question. */
|
|
328
|
-
impactLevel: t.UnionC<[t.NumberC, t.UndefinedC]>;
|
|
329
|
-
}>]>;
|
|
330
|
-
/** Type override */
|
|
331
|
-
export type OneTrustAssessmentQuestionRisk = t.TypeOf<typeof OneTrustAssessmentQuestionRisk>;
|
|
332
|
-
export declare const OneTrustAssessmentQuestion: t.IntersectionC<[t.TypeC<{
|
|
333
|
-
/** The question */
|
|
334
|
-
question: t.TypeC<{
|
|
335
|
-
/** ID of the question. */
|
|
336
|
-
id: t.StringC;
|
|
337
|
-
/** ID of the root version of the question. */
|
|
338
|
-
rootVersionId: t.StringC;
|
|
339
|
-
/** Order in which the question appears in the assessment. */
|
|
340
|
-
sequence: t.NumberC;
|
|
341
|
-
/** Type of question in the assessment. */
|
|
342
|
-
questionType: t.UnionC<[t.StringC, t.NullC]>;
|
|
343
|
-
/** Indicates whether a response to the question is required. */
|
|
344
|
-
required: t.BooleanC;
|
|
345
|
-
/** Data element attributes that are directly updated by the question. */
|
|
346
|
-
attributes: t.StringC;
|
|
347
|
-
/** Short, descriptive name for the question. */
|
|
348
|
-
friendlyName: t.UnionC<[t.StringC, t.NullC]>;
|
|
349
|
-
/** Description of the question. */
|
|
350
|
-
description: t.UnionC<[t.StringC, t.NullC]>;
|
|
351
|
-
/** Tooltip text within a hint for the question. */
|
|
352
|
-
hint: t.UnionC<[t.StringC, t.NullC]>;
|
|
353
|
-
/** ID of the parent question. */
|
|
354
|
-
parentQuestionId: t.UnionC<[t.StringC, t.NullC]>;
|
|
355
|
-
/** Indicates whether the response to the question is prepopulated. */
|
|
356
|
-
prePopulateResponse: t.BooleanC;
|
|
357
|
-
/** Indicates whether the assessment is linked to inventory records. */
|
|
358
|
-
linkAssessmentToInventory: t.BooleanC;
|
|
359
|
-
/** The question options */
|
|
360
|
-
options: t.UnionC<[t.ArrayC<t.IntersectionC<[t.PartialC<{
|
|
361
|
-
/** The translationIdentifier */
|
|
362
|
-
translationIdentifier: t.StringC;
|
|
363
|
-
}>, t.TypeC<{
|
|
364
|
-
/** ID of the option. */
|
|
365
|
-
id: t.StringC;
|
|
366
|
-
/** Name of the option. */
|
|
367
|
-
option: t.StringC;
|
|
368
|
-
/** The key of the option */
|
|
369
|
-
optionKey: t.UnionC<[t.StringC, t.NullC]>;
|
|
370
|
-
/** The hint */
|
|
371
|
-
hint: t.UnionC<[t.StringC, t.NullC]>;
|
|
372
|
-
/** The hint key */
|
|
373
|
-
hintKey: t.UnionC<[t.StringC, t.NullC]>;
|
|
374
|
-
/** The score */
|
|
375
|
-
score: t.UnionC<[t.NumberC, t.NullC]>;
|
|
376
|
-
/** If the option was pre-selected */
|
|
377
|
-
preSelectedOption: t.BooleanC;
|
|
378
|
-
/** Order in which the option appears. */
|
|
379
|
-
sequence: t.UnionC<[t.NumberC, t.NullC]>;
|
|
380
|
-
/** Attribute for which the option is available. */
|
|
381
|
-
attributes: t.UnionC<[t.StringC, t.NullC]>;
|
|
382
|
-
/** Type of option. */
|
|
383
|
-
optionType: t.UnionC<[t.LiteralC<"NOT_SURE">, t.LiteralC<"NOT_APPLICABLE">, t.LiteralC<"OTHERS">, t.LiteralC<"DEFAULT">]>;
|
|
384
|
-
}>]>>, t.NullC]>;
|
|
385
|
-
/** Indicates whether the question is valid. */
|
|
386
|
-
valid: t.BooleanC;
|
|
387
|
-
/** Type of question in the assessment. */
|
|
388
|
-
type: t.UnionC<[t.StringC, t.NullC]>;
|
|
389
|
-
/** Whether the response can be multi select */
|
|
390
|
-
allowMultiSelect: t.BooleanC;
|
|
391
|
-
/** The text of a question. */
|
|
392
|
-
content: t.StringC;
|
|
393
|
-
/** Indicates whether justification comments are required for the question. */
|
|
394
|
-
requireJustification: t.BooleanC;
|
|
395
|
-
/** The attachmentRequired */
|
|
396
|
-
attachmentRequired: t.BooleanC;
|
|
397
|
-
}>;
|
|
398
|
-
/** Indicates whether the question is hidden on the assessment. */
|
|
399
|
-
hidden: t.BooleanC;
|
|
400
|
-
/** Reason for locking the question in the assessment. */
|
|
401
|
-
lockReason: t.UnionC<[t.StringC, t.NullC]>;
|
|
402
|
-
/** The copy errors */
|
|
403
|
-
copyErrors: t.UnionC<[t.StringC, t.NullC]>;
|
|
404
|
-
/** Indicates whether navigation rules are enabled for the question. */
|
|
405
|
-
hasNavigationRules: t.BooleanC;
|
|
406
|
-
/** The responses to this question */
|
|
407
|
-
questionResponses: t.ArrayC<t.TypeC<{
|
|
408
|
-
/** The responses */
|
|
409
|
-
responses: t.ArrayC<t.IntersectionC<[t.PartialC<{
|
|
410
|
-
/** The response maturityScale */
|
|
411
|
-
maturityScale: t.UnionC<[t.StringC, t.NullC]>;
|
|
412
|
-
/** The response effectivenessScale */
|
|
413
|
-
effectivenessScale: t.UnionC<[t.StringC, t.NullC]>;
|
|
414
|
-
/** The response parentAssessmentDetailId */
|
|
415
|
-
parentAssessmentDetailId: t.UnionC<[t.StringC, t.NullC]>;
|
|
416
|
-
/** The response display label */
|
|
417
|
-
displayLabel: t.StringC;
|
|
418
|
-
/** The response type of the parent question */
|
|
419
|
-
parentQuestionType: t.StringC;
|
|
420
|
-
/** The response ID of the parent response */
|
|
421
|
-
parentResponseId: t.StringC;
|
|
422
|
-
/** Whether it's local version */
|
|
423
|
-
isLocalVersion: t.StringC;
|
|
424
|
-
/** Whether relationshipDisplayInformation */
|
|
425
|
-
relationshipDisplayInformation: t.UnionC<[t.StringC, t.NullC]>;
|
|
426
|
-
/** The response lock reason */
|
|
427
|
-
lockReason: t.UnionC<[t.StringC, t.NullC]>;
|
|
428
|
-
}>, t.TypeC<{
|
|
429
|
-
/** The controlResponse */
|
|
430
|
-
controlResponse: t.UnionC<[t.StringC, t.ObjectC, t.NullC]>;
|
|
431
|
-
/** The relationshipResponseDetails */
|
|
432
|
-
relationshipResponseDetails: t.ArrayC<t.StringC>;
|
|
433
|
-
/** The textRedacted */
|
|
434
|
-
textRedacted: t.BooleanC;
|
|
435
|
-
/** The responseMap */
|
|
436
|
-
responseMap: t.ObjectC;
|
|
437
|
-
/** ID of the response. */
|
|
438
|
-
responseId: t.StringC;
|
|
439
|
-
/** Content of the response. */
|
|
440
|
-
response: t.UnionC<[t.StringC, t.NullC]>;
|
|
441
|
-
/** The response key */
|
|
442
|
-
responseKey: t.UnionC<[t.StringC, t.NullC]>;
|
|
443
|
-
/** The response key */
|
|
444
|
-
contractResponse: t.UnionC<[t.StringC, t.NullC]>;
|
|
445
|
-
/** Type of response. */
|
|
446
|
-
type: t.UnionC<[t.LiteralC<"NOT_SURE">, t.LiteralC<"JUSTIFICATION">, t.LiteralC<"NOT_APPLICABLE">, t.LiteralC<"DEFAULT">, t.LiteralC<"OTHERS">]>;
|
|
447
|
-
/** Source from which the assessment is launched. */
|
|
448
|
-
responseSourceType: t.UnionC<[t.StringC, t.NullC]>;
|
|
449
|
-
/** Error associated with the response. */
|
|
450
|
-
errorCode: t.UnionC<[t.LiteralC<"ATTRIBUTE_DISABLED">, t.LiteralC<"ATTRIBUTE_OPTION_DISABLED">, t.LiteralC<"INVENTORY_NOT_EXISTS">, t.LiteralC<"RELATED_INVENTORY_ATTRIBUTE_DISABLED">, t.LiteralC<"DATA_ELEMENT_NOT_EXISTS">, t.LiteralC<"DUPLICATE_INVENTORY">, t.NullC]>;
|
|
451
|
-
/** Indicates whether the response is valid. */
|
|
452
|
-
valid: t.BooleanC;
|
|
453
|
-
/** The data subject */
|
|
454
|
-
dataSubject: t.UnionC<[t.TypeC<{
|
|
455
|
-
/** The ID of the data subject */
|
|
456
|
-
id: t.UnionC<[t.StringC, t.NullC]>;
|
|
457
|
-
/** The ID of the data subject */
|
|
458
|
-
name: t.UnionC<[t.StringC, t.NullC]>;
|
|
459
|
-
/** The nameKey of the data category */
|
|
460
|
-
nameKey: t.UnionC<[t.StringC, t.NullC]>;
|
|
461
|
-
}>, t.NullC]>;
|
|
462
|
-
/** The data category */
|
|
463
|
-
dataCategory: t.UnionC<[t.TypeC<{
|
|
464
|
-
/** The ID of the data category */
|
|
465
|
-
id: t.UnionC<[t.StringC, t.NullC]>;
|
|
466
|
-
/** The name of the data category */
|
|
467
|
-
name: t.UnionC<[t.StringC, t.NullC]>;
|
|
468
|
-
/** The nameKey of the data category */
|
|
469
|
-
nameKey: t.UnionC<[t.StringC, t.NullC]>;
|
|
470
|
-
}>, t.NullC]>;
|
|
471
|
-
/** The data element */
|
|
472
|
-
dataElement: t.UnionC<[t.TypeC<{
|
|
473
|
-
/** The ID of the data element */
|
|
474
|
-
id: t.UnionC<[t.StringC, t.NullC]>;
|
|
475
|
-
/** The name of the data element */
|
|
476
|
-
name: t.UnionC<[t.StringC, t.NullC]>;
|
|
477
|
-
/** The name key of the data element */
|
|
478
|
-
nameKey: t.UnionC<[t.StringC, t.NullC]>;
|
|
479
|
-
}>, t.NullC]>;
|
|
480
|
-
}>]>>;
|
|
481
|
-
/** Justification comments for the given response. */
|
|
482
|
-
justification: t.UnionC<[t.StringC, t.NullC]>;
|
|
483
|
-
}>>;
|
|
484
|
-
/** The risks associated with this question */
|
|
485
|
-
risks: t.UnionC<[t.ArrayC<t.IntersectionC<[t.TypeC<{
|
|
486
|
-
/** ID of the question for which the risk was flagged. */
|
|
487
|
-
questionId: t.StringC;
|
|
488
|
-
/** ID of the flagged risk. */
|
|
489
|
-
riskId: t.StringC;
|
|
490
|
-
}>, t.PartialC<{
|
|
491
|
-
/** Level of risk flagged on the question. */
|
|
492
|
-
level: t.UnionC<[t.NumberC, t.NullC]>;
|
|
493
|
-
/** Score of risk flagged on the question. */
|
|
494
|
-
score: t.UnionC<[t.NumberC, t.NullC]>;
|
|
495
|
-
/** Probability of risk flagged on the question. */
|
|
496
|
-
probability: t.UnionC<[t.NumberC, t.UndefinedC]>;
|
|
497
|
-
/** Impact Level of risk flagged on the question. */
|
|
498
|
-
impactLevel: t.UnionC<[t.NumberC, t.UndefinedC]>;
|
|
499
|
-
}>]>>, t.NullC]>;
|
|
500
|
-
/** List of IDs associated with the question root requests. */
|
|
501
|
-
rootRequestInformationIds: t.ArrayC<t.StringC>;
|
|
502
|
-
/** Number of attachments added to the question. */
|
|
503
|
-
totalAttachments: t.NumberC;
|
|
504
|
-
/** IDs of the attachment(s) added to the question. */
|
|
505
|
-
attachmentIds: t.ArrayC<t.StringC>;
|
|
506
|
-
/** The canReopenWithAllowEditOption */
|
|
507
|
-
canReopenWithAllowEditOption: t.BooleanC;
|
|
508
|
-
/** The riskCreationAllowed */
|
|
509
|
-
riskCreationAllowed: t.BooleanC;
|
|
510
|
-
/** The riskDeletionPopupAllowed */
|
|
511
|
-
riskDeletionPopupAllowed: t.BooleanC;
|
|
512
|
-
/** The allowMaturityScaleOnQuestions */
|
|
513
|
-
allowMaturityScaleOnQuestions: t.BooleanC;
|
|
514
|
-
/** The questionAssociations */
|
|
515
|
-
questionAssociations: t.UnionC<[t.StringC, t.NullC]>;
|
|
516
|
-
/** The issues */
|
|
517
|
-
issues: t.UnionC<[t.StringC, t.NullC]>;
|
|
518
|
-
/** The responseEditableWhileUnderReview */
|
|
519
|
-
responseEditableWhileUnderReview: t.BooleanC;
|
|
520
|
-
}>, t.PartialC<{
|
|
521
|
-
/** The businessKeyReference */
|
|
522
|
-
businessKeyReference: t.UnionC<[t.StringC, t.NullC]>;
|
|
523
|
-
/** The topic */
|
|
524
|
-
topic: t.UnionC<[t.StringC, t.NullC]>;
|
|
525
|
-
/** The questionLaws */
|
|
526
|
-
questionLaws: t.ArrayC<t.StringC>;
|
|
527
|
-
/** The responseFilter */
|
|
528
|
-
responseFilter: t.UnionC<[t.StringC, t.NullC]>;
|
|
529
|
-
/** The linkAssessmentToResponseEntity */
|
|
530
|
-
linkAssessmentToResponseEntity: t.BooleanC;
|
|
531
|
-
/** The translationIdentifier */
|
|
532
|
-
translationIdentifier: t.StringC;
|
|
533
|
-
/** The readOnly */
|
|
534
|
-
readOnly: t.BooleanC;
|
|
535
|
-
/** The schema */
|
|
536
|
-
schema: t.UnionC<[t.StringC, t.NullC]>;
|
|
537
|
-
/** The attributeId */
|
|
538
|
-
attributeId: t.StringC;
|
|
539
|
-
/** Whether it is a vendor question */
|
|
540
|
-
vendorQuestion: t.BooleanC;
|
|
541
|
-
/** Whether the question was seeded */
|
|
542
|
-
seeded: t.BooleanC;
|
|
543
|
-
/** Whether the question allows justification */
|
|
544
|
-
allowJustification: t.BooleanC;
|
|
545
|
-
/** Whether it refers to an asset question */
|
|
546
|
-
assetQuestion: t.BooleanC;
|
|
547
|
-
/** Whether it refers to an entity question */
|
|
548
|
-
entityQuestion: t.BooleanC;
|
|
549
|
-
/** Whether it is a paquestion */
|
|
550
|
-
paquestion: t.BooleanC;
|
|
551
|
-
/** The inventoryTypeEnum */
|
|
552
|
-
inventoryTypeEnum: t.UnionC<[t.StringC, t.NullC]>;
|
|
553
|
-
/** Whether it is a forceOther */
|
|
554
|
-
forceOther: t.BooleanC;
|
|
555
|
-
/** Whether it is a isParentQuestionMultiSelect */
|
|
556
|
-
isParentQuestionMultiSelect: t.BooleanC;
|
|
557
|
-
}>]>;
|
|
558
|
-
/** Type override */
|
|
559
|
-
export type OneTrustAssessmentQuestion = t.TypeOf<typeof OneTrustAssessmentQuestion>;
|
|
560
|
-
export declare const OneTrustAssessmentSectionHeaderRiskStatistics: t.UnionC<[t.TypeC<{
|
|
561
|
-
/** Maximum level of risk in the section. */
|
|
562
|
-
maxRiskLevel: t.UnionC<[t.NumberC, t.NullC]>;
|
|
563
|
-
/** Number of risks in the section. */
|
|
564
|
-
riskCount: t.UnionC<[t.NumberC, t.NullC]>;
|
|
565
|
-
/** ID of the section in the assessment. */
|
|
566
|
-
sectionId: t.UnionC<[t.StringC, t.NullC]>;
|
|
567
|
-
}>, t.NullC]>;
|
|
568
|
-
/** Type override */
|
|
569
|
-
export type OneTrustAssessmentSectionHeaderRiskStatistics = t.TypeOf<typeof OneTrustAssessmentSectionHeaderRiskStatistics>;
|
|
570
|
-
export declare const OneTrustAssessmentSectionHeader: t.IntersectionC<[t.TypeC<{
|
|
571
|
-
/** ID of the section in the assessment. */
|
|
572
|
-
sectionId: t.StringC;
|
|
573
|
-
/** Name of the section. */
|
|
574
|
-
name: t.StringC;
|
|
575
|
-
/** The status of the section */
|
|
576
|
-
status: t.UnionC<[t.StringC, t.NullC]>;
|
|
577
|
-
/** The openNMIQuestionIds */
|
|
578
|
-
openNMIQuestionIds: t.UnionC<[t.StringC, t.NullC]>;
|
|
579
|
-
/** Description of the section header. */
|
|
580
|
-
description: t.UnionC<[t.StringC, t.NullC]>;
|
|
581
|
-
/** Sequence of the section within the form */
|
|
582
|
-
sequence: t.NumberC;
|
|
583
|
-
/** Indicates whether the section is hidden in the assessment. */
|
|
584
|
-
hidden: t.BooleanC;
|
|
585
|
-
/** IDs of invalid questions in the section. */
|
|
586
|
-
invalidQuestionIds: t.ArrayC<t.StringC>;
|
|
587
|
-
/** IDs of required but unanswered questions in the section. */
|
|
588
|
-
requiredUnansweredQuestionIds: t.ArrayC<t.StringC>;
|
|
589
|
-
/** IDs of required questions in the section. */
|
|
590
|
-
requiredQuestionIds: t.ArrayC<t.StringC>;
|
|
591
|
-
/** IDs of unanswered questions in the section. */
|
|
592
|
-
unansweredQuestionIds: t.ArrayC<t.StringC>;
|
|
593
|
-
/** IDs of effectiveness questions in the section. */
|
|
594
|
-
effectivenessQuestionIds: t.ArrayC<t.StringC>;
|
|
595
|
-
/** The risk statistics */
|
|
596
|
-
riskStatistics: t.UnionC<[t.TypeC<{
|
|
597
|
-
/** Maximum level of risk in the section. */
|
|
598
|
-
maxRiskLevel: t.UnionC<[t.NumberC, t.NullC]>;
|
|
599
|
-
/** Number of risks in the section. */
|
|
600
|
-
riskCount: t.UnionC<[t.NumberC, t.NullC]>;
|
|
601
|
-
/** ID of the section in the assessment. */
|
|
602
|
-
sectionId: t.UnionC<[t.StringC, t.NullC]>;
|
|
603
|
-
}>, t.NullC]>;
|
|
604
|
-
/** Whether the section was submitted */
|
|
605
|
-
submitted: t.BooleanC;
|
|
606
|
-
}>, t.PartialC<{
|
|
607
|
-
/** The name key of the template */
|
|
608
|
-
nameKey: t.UnionC<[t.StringC, t.NullC]>;
|
|
609
|
-
}>]>;
|
|
610
|
-
/** Type override */
|
|
611
|
-
export type OneTrustAssessmentSectionHeader = t.TypeOf<typeof OneTrustAssessmentSectionHeader>;
|
|
612
|
-
export declare const OneTrustAssessmentSection: t.TypeC<{
|
|
613
|
-
/** The Assessment section header */
|
|
614
|
-
header: t.IntersectionC<[t.TypeC<{
|
|
615
|
-
/** ID of the section in the assessment. */
|
|
616
|
-
sectionId: t.StringC;
|
|
617
|
-
/** Name of the section. */
|
|
618
|
-
name: t.StringC;
|
|
619
|
-
/** The status of the section */
|
|
620
|
-
status: t.UnionC<[t.StringC, t.NullC]>;
|
|
621
|
-
/** The openNMIQuestionIds */
|
|
622
|
-
openNMIQuestionIds: t.UnionC<[t.StringC, t.NullC]>;
|
|
623
|
-
/** Description of the section header. */
|
|
624
|
-
description: t.UnionC<[t.StringC, t.NullC]>;
|
|
625
|
-
/** Sequence of the section within the form */
|
|
626
|
-
sequence: t.NumberC;
|
|
627
|
-
/** Indicates whether the section is hidden in the assessment. */
|
|
628
|
-
hidden: t.BooleanC;
|
|
629
|
-
/** IDs of invalid questions in the section. */
|
|
630
|
-
invalidQuestionIds: t.ArrayC<t.StringC>;
|
|
631
|
-
/** IDs of required but unanswered questions in the section. */
|
|
632
|
-
requiredUnansweredQuestionIds: t.ArrayC<t.StringC>;
|
|
633
|
-
/** IDs of required questions in the section. */
|
|
634
|
-
requiredQuestionIds: t.ArrayC<t.StringC>;
|
|
635
|
-
/** IDs of unanswered questions in the section. */
|
|
636
|
-
unansweredQuestionIds: t.ArrayC<t.StringC>;
|
|
637
|
-
/** IDs of effectiveness questions in the section. */
|
|
638
|
-
effectivenessQuestionIds: t.ArrayC<t.StringC>;
|
|
639
|
-
/** The risk statistics */
|
|
640
|
-
riskStatistics: t.UnionC<[t.TypeC<{
|
|
641
|
-
/** Maximum level of risk in the section. */
|
|
642
|
-
maxRiskLevel: t.UnionC<[t.NumberC, t.NullC]>;
|
|
643
|
-
/** Number of risks in the section. */
|
|
644
|
-
riskCount: t.UnionC<[t.NumberC, t.NullC]>;
|
|
645
|
-
/** ID of the section in the assessment. */
|
|
646
|
-
sectionId: t.UnionC<[t.StringC, t.NullC]>;
|
|
647
|
-
}>, t.NullC]>;
|
|
648
|
-
/** Whether the section was submitted */
|
|
649
|
-
submitted: t.BooleanC;
|
|
650
|
-
}>, t.PartialC<{
|
|
651
|
-
/** The name key of the template */
|
|
652
|
-
nameKey: t.UnionC<[t.StringC, t.NullC]>;
|
|
653
|
-
}>]>;
|
|
654
|
-
/** The questions within the section */
|
|
655
|
-
questions: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
|
656
|
-
/** The question */
|
|
657
|
-
question: t.TypeC<{
|
|
658
|
-
/** ID of the question. */
|
|
659
|
-
id: t.StringC;
|
|
660
|
-
/** ID of the root version of the question. */
|
|
661
|
-
rootVersionId: t.StringC;
|
|
662
|
-
/** Order in which the question appears in the assessment. */
|
|
663
|
-
sequence: t.NumberC;
|
|
664
|
-
/** Type of question in the assessment. */
|
|
665
|
-
questionType: t.UnionC<[t.StringC, t.NullC]>;
|
|
666
|
-
/** Indicates whether a response to the question is required. */
|
|
667
|
-
required: t.BooleanC;
|
|
668
|
-
/** Data element attributes that are directly updated by the question. */
|
|
669
|
-
attributes: t.StringC;
|
|
670
|
-
/** Short, descriptive name for the question. */
|
|
671
|
-
friendlyName: t.UnionC<[t.StringC, t.NullC]>;
|
|
672
|
-
/** Description of the question. */
|
|
673
|
-
description: t.UnionC<[t.StringC, t.NullC]>;
|
|
674
|
-
/** Tooltip text within a hint for the question. */
|
|
675
|
-
hint: t.UnionC<[t.StringC, t.NullC]>;
|
|
676
|
-
/** ID of the parent question. */
|
|
677
|
-
parentQuestionId: t.UnionC<[t.StringC, t.NullC]>;
|
|
678
|
-
/** Indicates whether the response to the question is prepopulated. */
|
|
679
|
-
prePopulateResponse: t.BooleanC;
|
|
680
|
-
/** Indicates whether the assessment is linked to inventory records. */
|
|
681
|
-
linkAssessmentToInventory: t.BooleanC;
|
|
682
|
-
/** The question options */
|
|
683
|
-
options: t.UnionC<[t.ArrayC<t.IntersectionC<[t.PartialC<{
|
|
684
|
-
/** The translationIdentifier */
|
|
685
|
-
translationIdentifier: t.StringC;
|
|
686
|
-
}>, t.TypeC<{
|
|
687
|
-
/** ID of the option. */
|
|
688
|
-
id: t.StringC;
|
|
689
|
-
/** Name of the option. */
|
|
690
|
-
option: t.StringC;
|
|
691
|
-
/** The key of the option */
|
|
692
|
-
optionKey: t.UnionC<[t.StringC, t.NullC]>;
|
|
693
|
-
/** The hint */
|
|
694
|
-
hint: t.UnionC<[t.StringC, t.NullC]>;
|
|
695
|
-
/** The hint key */
|
|
696
|
-
hintKey: t.UnionC<[t.StringC, t.NullC]>;
|
|
697
|
-
/** The score */
|
|
698
|
-
score: t.UnionC<[t.NumberC, t.NullC]>;
|
|
699
|
-
/** If the option was pre-selected */
|
|
700
|
-
preSelectedOption: t.BooleanC;
|
|
701
|
-
/** Order in which the option appears. */
|
|
702
|
-
sequence: t.UnionC<[t.NumberC, t.NullC]>;
|
|
703
|
-
/** Attribute for which the option is available. */
|
|
704
|
-
attributes: t.UnionC<[t.StringC, t.NullC]>;
|
|
705
|
-
/** Type of option. */
|
|
706
|
-
optionType: t.UnionC<[t.LiteralC<"NOT_SURE">, t.LiteralC<"NOT_APPLICABLE">, t.LiteralC<"OTHERS">, t.LiteralC<"DEFAULT">]>;
|
|
707
|
-
}>]>>, t.NullC]>;
|
|
708
|
-
/** Indicates whether the question is valid. */
|
|
709
|
-
valid: t.BooleanC;
|
|
710
|
-
/** Type of question in the assessment. */
|
|
711
|
-
type: t.UnionC<[t.StringC, t.NullC]>;
|
|
712
|
-
/** Whether the response can be multi select */
|
|
713
|
-
allowMultiSelect: t.BooleanC;
|
|
714
|
-
/** The text of a question. */
|
|
715
|
-
content: t.StringC;
|
|
716
|
-
/** Indicates whether justification comments are required for the question. */
|
|
717
|
-
requireJustification: t.BooleanC;
|
|
718
|
-
/** The attachmentRequired */
|
|
719
|
-
attachmentRequired: t.BooleanC;
|
|
720
|
-
}>;
|
|
721
|
-
/** Indicates whether the question is hidden on the assessment. */
|
|
722
|
-
hidden: t.BooleanC;
|
|
723
|
-
/** Reason for locking the question in the assessment. */
|
|
724
|
-
lockReason: t.UnionC<[t.StringC, t.NullC]>;
|
|
725
|
-
/** The copy errors */
|
|
726
|
-
copyErrors: t.UnionC<[t.StringC, t.NullC]>;
|
|
727
|
-
/** Indicates whether navigation rules are enabled for the question. */
|
|
728
|
-
hasNavigationRules: t.BooleanC;
|
|
729
|
-
/** The responses to this question */
|
|
730
|
-
questionResponses: t.ArrayC<t.TypeC<{
|
|
731
|
-
/** The responses */
|
|
732
|
-
responses: t.ArrayC<t.IntersectionC<[t.PartialC<{
|
|
733
|
-
/** The response maturityScale */
|
|
734
|
-
maturityScale: t.UnionC<[t.StringC, t.NullC]>;
|
|
735
|
-
/** The response effectivenessScale */
|
|
736
|
-
effectivenessScale: t.UnionC<[t.StringC, t.NullC]>;
|
|
737
|
-
/** The response parentAssessmentDetailId */
|
|
738
|
-
parentAssessmentDetailId: t.UnionC<[t.StringC, t.NullC]>;
|
|
739
|
-
/** The response display label */
|
|
740
|
-
displayLabel: t.StringC;
|
|
741
|
-
/** The response type of the parent question */
|
|
742
|
-
parentQuestionType: t.StringC;
|
|
743
|
-
/** The response ID of the parent response */
|
|
744
|
-
parentResponseId: t.StringC;
|
|
745
|
-
/** Whether it's local version */
|
|
746
|
-
isLocalVersion: t.StringC;
|
|
747
|
-
/** Whether relationshipDisplayInformation */
|
|
748
|
-
relationshipDisplayInformation: t.UnionC<[t.StringC, t.NullC]>;
|
|
749
|
-
/** The response lock reason */
|
|
750
|
-
lockReason: t.UnionC<[t.StringC, t.NullC]>;
|
|
751
|
-
}>, t.TypeC<{
|
|
752
|
-
/** The controlResponse */
|
|
753
|
-
controlResponse: t.UnionC<[t.StringC, t.ObjectC, t.NullC]>;
|
|
754
|
-
/** The relationshipResponseDetails */
|
|
755
|
-
relationshipResponseDetails: t.ArrayC<t.StringC>;
|
|
756
|
-
/** The textRedacted */
|
|
757
|
-
textRedacted: t.BooleanC;
|
|
758
|
-
/** The responseMap */
|
|
759
|
-
responseMap: t.ObjectC;
|
|
760
|
-
/** ID of the response. */
|
|
761
|
-
responseId: t.StringC;
|
|
762
|
-
/** Content of the response. */
|
|
763
|
-
response: t.UnionC<[t.StringC, t.NullC]>;
|
|
764
|
-
/** The response key */
|
|
765
|
-
responseKey: t.UnionC<[t.StringC, t.NullC]>;
|
|
766
|
-
/** The response key */
|
|
767
|
-
contractResponse: t.UnionC<[t.StringC, t.NullC]>;
|
|
768
|
-
/** Type of response. */
|
|
769
|
-
type: t.UnionC<[t.LiteralC<"NOT_SURE">, t.LiteralC<"JUSTIFICATION">, t.LiteralC<"NOT_APPLICABLE">, t.LiteralC<"DEFAULT">, t.LiteralC<"OTHERS">]>;
|
|
770
|
-
/** Source from which the assessment is launched. */
|
|
771
|
-
responseSourceType: t.UnionC<[t.StringC, t.NullC]>;
|
|
772
|
-
/** Error associated with the response. */
|
|
773
|
-
errorCode: t.UnionC<[t.LiteralC<"ATTRIBUTE_DISABLED">, t.LiteralC<"ATTRIBUTE_OPTION_DISABLED">, t.LiteralC<"INVENTORY_NOT_EXISTS">, t.LiteralC<"RELATED_INVENTORY_ATTRIBUTE_DISABLED">, t.LiteralC<"DATA_ELEMENT_NOT_EXISTS">, t.LiteralC<"DUPLICATE_INVENTORY">, t.NullC]>;
|
|
774
|
-
/** Indicates whether the response is valid. */
|
|
775
|
-
valid: t.BooleanC;
|
|
776
|
-
/** The data subject */
|
|
777
|
-
dataSubject: t.UnionC<[t.TypeC<{
|
|
778
|
-
/** The ID of the data subject */
|
|
779
|
-
id: t.UnionC<[t.StringC, t.NullC]>;
|
|
780
|
-
/** The ID of the data subject */
|
|
781
|
-
name: t.UnionC<[t.StringC, t.NullC]>;
|
|
782
|
-
/** The nameKey of the data category */
|
|
783
|
-
nameKey: t.UnionC<[t.StringC, t.NullC]>;
|
|
784
|
-
}>, t.NullC]>;
|
|
785
|
-
/** The data category */
|
|
786
|
-
dataCategory: t.UnionC<[t.TypeC<{
|
|
787
|
-
/** The ID of the data category */
|
|
788
|
-
id: t.UnionC<[t.StringC, t.NullC]>;
|
|
789
|
-
/** The name of the data category */
|
|
790
|
-
name: t.UnionC<[t.StringC, t.NullC]>;
|
|
791
|
-
/** The nameKey of the data category */
|
|
792
|
-
nameKey: t.UnionC<[t.StringC, t.NullC]>;
|
|
793
|
-
}>, t.NullC]>;
|
|
794
|
-
/** The data element */
|
|
795
|
-
dataElement: t.UnionC<[t.TypeC<{
|
|
796
|
-
/** The ID of the data element */
|
|
797
|
-
id: t.UnionC<[t.StringC, t.NullC]>;
|
|
798
|
-
/** The name of the data element */
|
|
799
|
-
name: t.UnionC<[t.StringC, t.NullC]>;
|
|
800
|
-
/** The name key of the data element */
|
|
801
|
-
nameKey: t.UnionC<[t.StringC, t.NullC]>;
|
|
802
|
-
}>, t.NullC]>;
|
|
803
|
-
}>]>>;
|
|
804
|
-
/** Justification comments for the given response. */
|
|
805
|
-
justification: t.UnionC<[t.StringC, t.NullC]>;
|
|
806
|
-
}>>;
|
|
807
|
-
/** The risks associated with this question */
|
|
808
|
-
risks: t.UnionC<[t.ArrayC<t.IntersectionC<[t.TypeC<{
|
|
809
|
-
/** ID of the question for which the risk was flagged. */
|
|
810
|
-
questionId: t.StringC;
|
|
811
|
-
/** ID of the flagged risk. */
|
|
812
|
-
riskId: t.StringC;
|
|
813
|
-
}>, t.PartialC<{
|
|
814
|
-
/** Level of risk flagged on the question. */
|
|
815
|
-
level: t.UnionC<[t.NumberC, t.NullC]>;
|
|
816
|
-
/** Score of risk flagged on the question. */
|
|
817
|
-
score: t.UnionC<[t.NumberC, t.NullC]>;
|
|
818
|
-
/** Probability of risk flagged on the question. */
|
|
819
|
-
probability: t.UnionC<[t.NumberC, t.UndefinedC]>;
|
|
820
|
-
/** Impact Level of risk flagged on the question. */
|
|
821
|
-
impactLevel: t.UnionC<[t.NumberC, t.UndefinedC]>;
|
|
822
|
-
}>]>>, t.NullC]>;
|
|
823
|
-
/** List of IDs associated with the question root requests. */
|
|
824
|
-
rootRequestInformationIds: t.ArrayC<t.StringC>;
|
|
825
|
-
/** Number of attachments added to the question. */
|
|
826
|
-
totalAttachments: t.NumberC;
|
|
827
|
-
/** IDs of the attachment(s) added to the question. */
|
|
828
|
-
attachmentIds: t.ArrayC<t.StringC>;
|
|
829
|
-
/** The canReopenWithAllowEditOption */
|
|
830
|
-
canReopenWithAllowEditOption: t.BooleanC;
|
|
831
|
-
/** The riskCreationAllowed */
|
|
832
|
-
riskCreationAllowed: t.BooleanC;
|
|
833
|
-
/** The riskDeletionPopupAllowed */
|
|
834
|
-
riskDeletionPopupAllowed: t.BooleanC;
|
|
835
|
-
/** The allowMaturityScaleOnQuestions */
|
|
836
|
-
allowMaturityScaleOnQuestions: t.BooleanC;
|
|
837
|
-
/** The questionAssociations */
|
|
838
|
-
questionAssociations: t.UnionC<[t.StringC, t.NullC]>;
|
|
839
|
-
/** The issues */
|
|
840
|
-
issues: t.UnionC<[t.StringC, t.NullC]>;
|
|
841
|
-
/** The responseEditableWhileUnderReview */
|
|
842
|
-
responseEditableWhileUnderReview: t.BooleanC;
|
|
843
|
-
}>, t.PartialC<{
|
|
844
|
-
/** The businessKeyReference */
|
|
845
|
-
businessKeyReference: t.UnionC<[t.StringC, t.NullC]>;
|
|
846
|
-
/** The topic */
|
|
847
|
-
topic: t.UnionC<[t.StringC, t.NullC]>;
|
|
848
|
-
/** The questionLaws */
|
|
849
|
-
questionLaws: t.ArrayC<t.StringC>;
|
|
850
|
-
/** The responseFilter */
|
|
851
|
-
responseFilter: t.UnionC<[t.StringC, t.NullC]>;
|
|
852
|
-
/** The linkAssessmentToResponseEntity */
|
|
853
|
-
linkAssessmentToResponseEntity: t.BooleanC;
|
|
854
|
-
/** The translationIdentifier */
|
|
855
|
-
translationIdentifier: t.StringC;
|
|
856
|
-
/** The readOnly */
|
|
857
|
-
readOnly: t.BooleanC;
|
|
858
|
-
/** The schema */
|
|
859
|
-
schema: t.UnionC<[t.StringC, t.NullC]>;
|
|
860
|
-
/** The attributeId */
|
|
861
|
-
attributeId: t.StringC;
|
|
862
|
-
/** Whether it is a vendor question */
|
|
863
|
-
vendorQuestion: t.BooleanC;
|
|
864
|
-
/** Whether the question was seeded */
|
|
865
|
-
seeded: t.BooleanC;
|
|
866
|
-
/** Whether the question allows justification */
|
|
867
|
-
allowJustification: t.BooleanC;
|
|
868
|
-
/** Whether it refers to an asset question */
|
|
869
|
-
assetQuestion: t.BooleanC;
|
|
870
|
-
/** Whether it refers to an entity question */
|
|
871
|
-
entityQuestion: t.BooleanC;
|
|
872
|
-
/** Whether it is a paquestion */
|
|
873
|
-
paquestion: t.BooleanC;
|
|
874
|
-
/** The inventoryTypeEnum */
|
|
875
|
-
inventoryTypeEnum: t.UnionC<[t.StringC, t.NullC]>;
|
|
876
|
-
/** Whether it is a forceOther */
|
|
877
|
-
forceOther: t.BooleanC;
|
|
878
|
-
/** Whether it is a isParentQuestionMultiSelect */
|
|
879
|
-
isParentQuestionMultiSelect: t.BooleanC;
|
|
880
|
-
}>]>>;
|
|
881
|
-
/** Indicates whether navigation rules are enabled for the question. */
|
|
882
|
-
hasNavigationRules: t.BooleanC;
|
|
883
|
-
/** Who submitted the section */
|
|
884
|
-
submittedBy: t.UnionC<[t.IntersectionC<[t.TypeC<{
|
|
885
|
-
/** The ID of the user who submitted the section */
|
|
886
|
-
id: t.StringC;
|
|
887
|
-
/** THe name or email of the user who submitted the section */
|
|
888
|
-
name: t.StringC;
|
|
889
|
-
}>, t.PartialC<{
|
|
890
|
-
/** The name key of the user who submitted the section */
|
|
891
|
-
nameKey: t.UnionC<[t.StringC, t.NullC]>;
|
|
892
|
-
}>]>, t.NullC]>;
|
|
893
|
-
/** Date of the submission */
|
|
894
|
-
submittedDt: t.UnionC<[t.StringC, t.NullC]>;
|
|
895
|
-
/** Name of the section. */
|
|
896
|
-
name: t.StringC;
|
|
897
|
-
/** Indicates whether navigation rules are enabled for the question. */
|
|
898
|
-
hidden: t.BooleanC;
|
|
899
|
-
/** Indicates whether the section is valid. */
|
|
900
|
-
valid: t.BooleanC;
|
|
901
|
-
/** ID of the section in an assessment. */
|
|
902
|
-
sectionId: t.StringC;
|
|
903
|
-
/** Sequence of the section within the form */
|
|
904
|
-
sequence: t.NumberC;
|
|
905
|
-
/** Whether the section was submitted */
|
|
906
|
-
submitted: t.BooleanC;
|
|
907
|
-
/** Descriptions of the section. */
|
|
908
|
-
description: t.UnionC<[t.StringC, t.NullC]>;
|
|
909
|
-
}>;
|
|
910
|
-
/** Type override */
|
|
911
|
-
export type OneTrustAssessmentSection = t.TypeOf<typeof OneTrustAssessmentSection>;
|
|
912
|
-
export declare const OneTrustAssessmentCreatedBy: t.TypeC<{
|
|
913
|
-
/** The ID of the creator */
|
|
914
|
-
id: t.StringC;
|
|
915
|
-
/** The name of the creator */
|
|
916
|
-
name: t.StringC;
|
|
917
|
-
/** The name key of the template */
|
|
918
|
-
nameKey: t.UnionC<[t.StringC, t.NullC]>;
|
|
919
|
-
}>;
|
|
920
|
-
/** Type override */
|
|
921
|
-
export type OneTrustAssessmentCreatedBy = t.TypeOf<typeof OneTrustAssessmentCreatedBy>;
|
|
922
|
-
export declare const OneTrustGetAssessmentResponse: t.TypeC<{
|
|
923
|
-
/** List of users assigned as approvers of the assessment. */
|
|
924
|
-
approvers: t.ArrayC<t.TypeC<{
|
|
925
|
-
/** ID of the user assigned as an approver. */
|
|
926
|
-
id: t.StringC;
|
|
927
|
-
/** ID of the workflow stage */
|
|
928
|
-
workflowStageId: t.StringC;
|
|
929
|
-
/** Name of the user assigned as an approver. */
|
|
930
|
-
name: t.StringC;
|
|
931
|
-
/** More details about the approver */
|
|
932
|
-
approver: t.TypeC<{
|
|
933
|
-
/** ID of the user assigned as an approver. */
|
|
934
|
-
id: t.StringC;
|
|
935
|
-
/** Full name of the user assigned as an approver. */
|
|
936
|
-
fullName: t.StringC;
|
|
937
|
-
/** Email of the user assigned as an approver. */
|
|
938
|
-
email: t.UnionC<[t.StringC, t.NullC]>;
|
|
939
|
-
/** Whether the user assigned as an approver was deleted. */
|
|
940
|
-
deleted: t.BooleanC;
|
|
941
|
-
/** The assignee type */
|
|
942
|
-
assigneeType: t.UnionC<[t.StringC, t.NullC]>;
|
|
943
|
-
}>;
|
|
944
|
-
/** Assessment approval status. */
|
|
945
|
-
approvalState: t.UnionC<[t.LiteralC<"OPEN">, t.LiteralC<"APPROVED">, t.LiteralC<"REJECTED">]>;
|
|
946
|
-
/** Date and time at which the assessment was approved. */
|
|
947
|
-
approvedOn: t.UnionC<[t.StringC, t.NullC]>;
|
|
948
|
-
/** ID of the assessment result. */
|
|
949
|
-
resultId: t.UnionC<[t.StringC, t.NullC]>;
|
|
950
|
-
/** Name of the assessment result. */
|
|
951
|
-
resultName: t.UnionC<[t.LiteralC<"Approved - Remediation required">, t.LiteralC<"Approved">, t.LiteralC<"Rejected">, t.LiteralC<"Assessment suspended - On Hold">, t.StringC, t.NullC]>;
|
|
952
|
-
/** Name key of the assessment result. */
|
|
953
|
-
resultNameKey: t.UnionC<[t.StringC, t.NullC]>;
|
|
954
|
-
}>>;
|
|
955
|
-
/** ID of an assessment. */
|
|
956
|
-
assessmentId: t.StringC;
|
|
957
|
-
/** Number assigned to an assessment. */
|
|
958
|
-
assessmentNumber: t.NumberC;
|
|
959
|
-
/** Date and time at which the assessment was completed. */
|
|
960
|
-
completedOn: t.UnionC<[t.StringC, t.NullC]>;
|
|
961
|
-
/** Status of the assessment. */
|
|
962
|
-
status: t.UnionC<[t.LiteralC<"NOT_STARTED">, t.LiteralC<"IN_PROGRESS">, t.LiteralC<"UNDER_REVIEW">, t.LiteralC<"COMPLETED">]>;
|
|
963
|
-
/** Creator of the Assessment */
|
|
964
|
-
createdBy: t.TypeC<{
|
|
965
|
-
/** The ID of the creator */
|
|
966
|
-
id: t.StringC;
|
|
967
|
-
/** The name of the creator */
|
|
968
|
-
name: t.StringC;
|
|
969
|
-
/** The name key of the template */
|
|
970
|
-
nameKey: t.UnionC<[t.StringC, t.NullC]>;
|
|
971
|
-
}>;
|
|
972
|
-
/** Date and time at which the assessment was created. */
|
|
973
|
-
createdDT: t.StringC;
|
|
974
|
-
/** Date and time by which the assessment must be completed. */
|
|
975
|
-
deadline: t.UnionC<[t.StringC, t.NullC]>;
|
|
976
|
-
/** Description of the assessment. */
|
|
977
|
-
description: t.UnionC<[t.StringC, t.NullC]>;
|
|
978
|
-
/** Overall inherent risk score without considering the existing controls. */
|
|
979
|
-
inherentRiskScore: t.UnionC<[t.NumberC, t.NullC]>;
|
|
980
|
-
/** Date and time at which the assessment was last updated. */
|
|
981
|
-
lastUpdated: t.StringC;
|
|
982
|
-
/** Number of risks captured on the assessment with a low risk level. */
|
|
983
|
-
lowRisk: t.NumberC;
|
|
984
|
-
/** Number of risks captured on the assessment with a medium risk level. */
|
|
985
|
-
mediumRisk: t.NumberC;
|
|
986
|
-
/** Number of risks captured on the assessment with a high risk level. */
|
|
987
|
-
highRisk: t.NumberC;
|
|
988
|
-
/** Name of the assessment. */
|
|
989
|
-
name: t.StringC;
|
|
990
|
-
/** Number of open risks that have not been addressed. */
|
|
991
|
-
openRiskCount: t.NumberC;
|
|
992
|
-
/** The organization group */
|
|
993
|
-
orgGroup: t.IntersectionC<[t.TypeC<{
|
|
994
|
-
/** The ID of the organization group */
|
|
995
|
-
id: t.StringC;
|
|
996
|
-
/** The name of the organization group */
|
|
997
|
-
name: t.StringC;
|
|
998
|
-
}>, t.PartialC<{
|
|
999
|
-
/** The name key of the template */
|
|
1000
|
-
nameKey: t.UnionC<[t.StringC, t.NullC]>;
|
|
1001
|
-
}>]>;
|
|
1002
|
-
/** The primary record */
|
|
1003
|
-
primaryEntityDetails: t.ArrayC<t.TypeC<{
|
|
1004
|
-
/** Unique ID for the primary record. */
|
|
1005
|
-
id: t.StringC;
|
|
1006
|
-
/** Name of the primary record. */
|
|
1007
|
-
name: t.StringC;
|
|
1008
|
-
/** The number associated with the primary record. */
|
|
1009
|
-
number: t.NumberC;
|
|
1010
|
-
/** Name and number of the primary record. */
|
|
1011
|
-
displayName: t.StringC;
|
|
1012
|
-
/** The relationshipResponseDetails */
|
|
1013
|
-
relationshipResponseDetails: t.UnionC<[t.StringC, t.NullC]>;
|
|
1014
|
-
/** The entity business key */
|
|
1015
|
-
entityBusinessKey: t.UnionC<[t.StringC, t.NullC]>;
|
|
1016
|
-
}>>;
|
|
1017
|
-
/** Type of inventory record designated as the primary record. */
|
|
1018
|
-
primaryRecordType: t.UnionC<[t.StringC, t.NullC]>;
|
|
1019
|
-
/** Overall risk score after considering existing controls. */
|
|
1020
|
-
residualRiskScore: t.UnionC<[t.NumberC, t.NullC]>;
|
|
1021
|
-
/** The respondent */
|
|
1022
|
-
respondent: t.TypeC<{
|
|
1023
|
-
/** The ID of the respondent */
|
|
1024
|
-
id: t.StringC;
|
|
1025
|
-
/** The name or email of the respondent */
|
|
1026
|
-
name: t.StringC;
|
|
1027
|
-
}>;
|
|
1028
|
-
/** The respondents */
|
|
1029
|
-
respondents: t.ArrayC<t.TypeC<{
|
|
1030
|
-
/** The ID of the respondent */
|
|
1031
|
-
id: t.StringC;
|
|
1032
|
-
/** The name or email of the respondent */
|
|
1033
|
-
name: t.StringC;
|
|
1034
|
-
/** The name key of the template */
|
|
1035
|
-
nameKey: t.UnionC<[t.StringC, t.NullC]>;
|
|
1036
|
-
}>>;
|
|
1037
|
-
/** Result of the assessment. */
|
|
1038
|
-
result: t.UnionC<[t.StringC, t.NullC]>;
|
|
1039
|
-
/** ID of the result. */
|
|
1040
|
-
resultId: t.UnionC<[t.StringC, t.NullC]>;
|
|
1041
|
-
/** Name of the result. */
|
|
1042
|
-
resultName: t.UnionC<[t.LiteralC<"Approved - Remediation required">, t.LiteralC<"Approved">, t.LiteralC<"Rejected">, t.LiteralC<"Assessment suspended - On Hold">, t.StringC, t.NullC]>;
|
|
1043
|
-
/** Risk level of the assessment. */
|
|
1044
|
-
riskLevel: t.UnionC<[t.LiteralC<"None">, t.LiteralC<"Low">, t.LiteralC<"Medium">, t.LiteralC<"High">, t.LiteralC<"Very High">]>;
|
|
1045
|
-
/** List of sections in the assessment. */
|
|
1046
|
-
sections: t.ArrayC<t.TypeC<{
|
|
1047
|
-
/** The Assessment section header */
|
|
1048
|
-
header: t.IntersectionC<[t.TypeC<{
|
|
1049
|
-
/** ID of the section in the assessment. */
|
|
1050
|
-
sectionId: t.StringC;
|
|
1051
|
-
/** Name of the section. */
|
|
1052
|
-
name: t.StringC;
|
|
1053
|
-
/** The status of the section */
|
|
1054
|
-
status: t.UnionC<[t.StringC, t.NullC]>;
|
|
1055
|
-
/** The openNMIQuestionIds */
|
|
1056
|
-
openNMIQuestionIds: t.UnionC<[t.StringC, t.NullC]>;
|
|
1057
|
-
/** Description of the section header. */
|
|
1058
|
-
description: t.UnionC<[t.StringC, t.NullC]>;
|
|
1059
|
-
/** Sequence of the section within the form */
|
|
1060
|
-
sequence: t.NumberC;
|
|
1061
|
-
/** Indicates whether the section is hidden in the assessment. */
|
|
1062
|
-
hidden: t.BooleanC;
|
|
1063
|
-
/** IDs of invalid questions in the section. */
|
|
1064
|
-
invalidQuestionIds: t.ArrayC<t.StringC>;
|
|
1065
|
-
/** IDs of required but unanswered questions in the section. */
|
|
1066
|
-
requiredUnansweredQuestionIds: t.ArrayC<t.StringC>;
|
|
1067
|
-
/** IDs of required questions in the section. */
|
|
1068
|
-
requiredQuestionIds: t.ArrayC<t.StringC>;
|
|
1069
|
-
/** IDs of unanswered questions in the section. */
|
|
1070
|
-
unansweredQuestionIds: t.ArrayC<t.StringC>;
|
|
1071
|
-
/** IDs of effectiveness questions in the section. */
|
|
1072
|
-
effectivenessQuestionIds: t.ArrayC<t.StringC>;
|
|
1073
|
-
/** The risk statistics */
|
|
1074
|
-
riskStatistics: t.UnionC<[t.TypeC<{
|
|
1075
|
-
/** Maximum level of risk in the section. */
|
|
1076
|
-
maxRiskLevel: t.UnionC<[t.NumberC, t.NullC]>;
|
|
1077
|
-
/** Number of risks in the section. */
|
|
1078
|
-
riskCount: t.UnionC<[t.NumberC, t.NullC]>;
|
|
1079
|
-
/** ID of the section in the assessment. */
|
|
1080
|
-
sectionId: t.UnionC<[t.StringC, t.NullC]>;
|
|
1081
|
-
}>, t.NullC]>;
|
|
1082
|
-
/** Whether the section was submitted */
|
|
1083
|
-
submitted: t.BooleanC;
|
|
1084
|
-
}>, t.PartialC<{
|
|
1085
|
-
/** The name key of the template */
|
|
1086
|
-
nameKey: t.UnionC<[t.StringC, t.NullC]>;
|
|
1087
|
-
}>]>;
|
|
1088
|
-
/** The questions within the section */
|
|
1089
|
-
questions: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
|
1090
|
-
/** The question */
|
|
1091
|
-
question: t.TypeC<{
|
|
1092
|
-
/** ID of the question. */
|
|
1093
|
-
id: t.StringC;
|
|
1094
|
-
/** ID of the root version of the question. */
|
|
1095
|
-
rootVersionId: t.StringC;
|
|
1096
|
-
/** Order in which the question appears in the assessment. */
|
|
1097
|
-
sequence: t.NumberC;
|
|
1098
|
-
/** Type of question in the assessment. */
|
|
1099
|
-
questionType: t.UnionC<[t.StringC, t.NullC]>;
|
|
1100
|
-
/** Indicates whether a response to the question is required. */
|
|
1101
|
-
required: t.BooleanC;
|
|
1102
|
-
/** Data element attributes that are directly updated by the question. */
|
|
1103
|
-
attributes: t.StringC;
|
|
1104
|
-
/** Short, descriptive name for the question. */
|
|
1105
|
-
friendlyName: t.UnionC<[t.StringC, t.NullC]>;
|
|
1106
|
-
/** Description of the question. */
|
|
1107
|
-
description: t.UnionC<[t.StringC, t.NullC]>;
|
|
1108
|
-
/** Tooltip text within a hint for the question. */
|
|
1109
|
-
hint: t.UnionC<[t.StringC, t.NullC]>;
|
|
1110
|
-
/** ID of the parent question. */
|
|
1111
|
-
parentQuestionId: t.UnionC<[t.StringC, t.NullC]>;
|
|
1112
|
-
/** Indicates whether the response to the question is prepopulated. */
|
|
1113
|
-
prePopulateResponse: t.BooleanC;
|
|
1114
|
-
/** Indicates whether the assessment is linked to inventory records. */
|
|
1115
|
-
linkAssessmentToInventory: t.BooleanC;
|
|
1116
|
-
/** The question options */
|
|
1117
|
-
options: t.UnionC<[t.ArrayC<t.IntersectionC<[t.PartialC<{
|
|
1118
|
-
/** The translationIdentifier */
|
|
1119
|
-
translationIdentifier: t.StringC;
|
|
1120
|
-
}>, t.TypeC<{
|
|
1121
|
-
/** ID of the option. */
|
|
1122
|
-
id: t.StringC;
|
|
1123
|
-
/** Name of the option. */
|
|
1124
|
-
option: t.StringC;
|
|
1125
|
-
/** The key of the option */
|
|
1126
|
-
optionKey: t.UnionC<[t.StringC, t.NullC]>;
|
|
1127
|
-
/** The hint */
|
|
1128
|
-
hint: t.UnionC<[t.StringC, t.NullC]>;
|
|
1129
|
-
/** The hint key */
|
|
1130
|
-
hintKey: t.UnionC<[t.StringC, t.NullC]>;
|
|
1131
|
-
/** The score */
|
|
1132
|
-
score: t.UnionC<[t.NumberC, t.NullC]>;
|
|
1133
|
-
/** If the option was pre-selected */
|
|
1134
|
-
preSelectedOption: t.BooleanC;
|
|
1135
|
-
/** Order in which the option appears. */
|
|
1136
|
-
sequence: t.UnionC<[t.NumberC, t.NullC]>;
|
|
1137
|
-
/** Attribute for which the option is available. */
|
|
1138
|
-
attributes: t.UnionC<[t.StringC, t.NullC]>;
|
|
1139
|
-
/** Type of option. */
|
|
1140
|
-
optionType: t.UnionC<[t.LiteralC<"NOT_SURE">, t.LiteralC<"NOT_APPLICABLE">, t.LiteralC<"OTHERS">, t.LiteralC<"DEFAULT">]>;
|
|
1141
|
-
}>]>>, t.NullC]>;
|
|
1142
|
-
/** Indicates whether the question is valid. */
|
|
1143
|
-
valid: t.BooleanC;
|
|
1144
|
-
/** Type of question in the assessment. */
|
|
1145
|
-
type: t.UnionC<[t.StringC, t.NullC]>;
|
|
1146
|
-
/** Whether the response can be multi select */
|
|
1147
|
-
allowMultiSelect: t.BooleanC;
|
|
1148
|
-
/** The text of a question. */
|
|
1149
|
-
content: t.StringC;
|
|
1150
|
-
/** Indicates whether justification comments are required for the question. */
|
|
1151
|
-
requireJustification: t.BooleanC;
|
|
1152
|
-
/** The attachmentRequired */
|
|
1153
|
-
attachmentRequired: t.BooleanC;
|
|
1154
|
-
}>;
|
|
1155
|
-
/** Indicates whether the question is hidden on the assessment. */
|
|
1156
|
-
hidden: t.BooleanC;
|
|
1157
|
-
/** Reason for locking the question in the assessment. */
|
|
1158
|
-
lockReason: t.UnionC<[t.StringC, t.NullC]>;
|
|
1159
|
-
/** The copy errors */
|
|
1160
|
-
copyErrors: t.UnionC<[t.StringC, t.NullC]>;
|
|
1161
|
-
/** Indicates whether navigation rules are enabled for the question. */
|
|
1162
|
-
hasNavigationRules: t.BooleanC;
|
|
1163
|
-
/** The responses to this question */
|
|
1164
|
-
questionResponses: t.ArrayC<t.TypeC<{
|
|
1165
|
-
/** The responses */
|
|
1166
|
-
responses: t.ArrayC<t.IntersectionC<[t.PartialC<{
|
|
1167
|
-
/** The response maturityScale */
|
|
1168
|
-
maturityScale: t.UnionC<[t.StringC, t.NullC]>;
|
|
1169
|
-
/** The response effectivenessScale */
|
|
1170
|
-
effectivenessScale: t.UnionC<[t.StringC, t.NullC]>;
|
|
1171
|
-
/** The response parentAssessmentDetailId */
|
|
1172
|
-
parentAssessmentDetailId: t.UnionC<[t.StringC, t.NullC]>;
|
|
1173
|
-
/** The response display label */
|
|
1174
|
-
displayLabel: t.StringC;
|
|
1175
|
-
/** The response type of the parent question */
|
|
1176
|
-
parentQuestionType: t.StringC;
|
|
1177
|
-
/** The response ID of the parent response */
|
|
1178
|
-
parentResponseId: t.StringC;
|
|
1179
|
-
/** Whether it's local version */
|
|
1180
|
-
isLocalVersion: t.StringC;
|
|
1181
|
-
/** Whether relationshipDisplayInformation */
|
|
1182
|
-
relationshipDisplayInformation: t.UnionC<[t.StringC, t.NullC]>;
|
|
1183
|
-
/** The response lock reason */
|
|
1184
|
-
lockReason: t.UnionC<[t.StringC, t.NullC]>;
|
|
1185
|
-
}>, t.TypeC<{
|
|
1186
|
-
/** The controlResponse */
|
|
1187
|
-
controlResponse: t.UnionC<[t.StringC, t.ObjectC, t.NullC]>;
|
|
1188
|
-
/** The relationshipResponseDetails */
|
|
1189
|
-
relationshipResponseDetails: t.ArrayC<t.StringC>;
|
|
1190
|
-
/** The textRedacted */
|
|
1191
|
-
textRedacted: t.BooleanC;
|
|
1192
|
-
/** The responseMap */
|
|
1193
|
-
responseMap: t.ObjectC;
|
|
1194
|
-
/** ID of the response. */
|
|
1195
|
-
responseId: t.StringC;
|
|
1196
|
-
/** Content of the response. */
|
|
1197
|
-
response: t.UnionC<[t.StringC, t.NullC]>;
|
|
1198
|
-
/** The response key */
|
|
1199
|
-
responseKey: t.UnionC<[t.StringC, t.NullC]>;
|
|
1200
|
-
/** The response key */
|
|
1201
|
-
contractResponse: t.UnionC<[t.StringC, t.NullC]>;
|
|
1202
|
-
/** Type of response. */
|
|
1203
|
-
type: t.UnionC<[t.LiteralC<"NOT_SURE">, t.LiteralC<"JUSTIFICATION">, t.LiteralC<"NOT_APPLICABLE">, t.LiteralC<"DEFAULT">, t.LiteralC<"OTHERS">]>;
|
|
1204
|
-
/** Source from which the assessment is launched. */
|
|
1205
|
-
responseSourceType: t.UnionC<[t.StringC, t.NullC]>;
|
|
1206
|
-
/** Error associated with the response. */
|
|
1207
|
-
errorCode: t.UnionC<[t.LiteralC<"ATTRIBUTE_DISABLED">, t.LiteralC<"ATTRIBUTE_OPTION_DISABLED">, t.LiteralC<"INVENTORY_NOT_EXISTS">, t.LiteralC<"RELATED_INVENTORY_ATTRIBUTE_DISABLED">, t.LiteralC<"DATA_ELEMENT_NOT_EXISTS">, t.LiteralC<"DUPLICATE_INVENTORY">, t.NullC]>;
|
|
1208
|
-
/** Indicates whether the response is valid. */
|
|
1209
|
-
valid: t.BooleanC;
|
|
1210
|
-
/** The data subject */
|
|
1211
|
-
dataSubject: t.UnionC<[t.TypeC<{
|
|
1212
|
-
/** The ID of the data subject */
|
|
1213
|
-
id: t.UnionC<[t.StringC, t.NullC]>;
|
|
1214
|
-
/** The ID of the data subject */
|
|
1215
|
-
name: t.UnionC<[t.StringC, t.NullC]>;
|
|
1216
|
-
/** The nameKey of the data category */
|
|
1217
|
-
nameKey: t.UnionC<[t.StringC, t.NullC]>;
|
|
1218
|
-
}>, t.NullC]>;
|
|
1219
|
-
/** The data category */
|
|
1220
|
-
dataCategory: t.UnionC<[t.TypeC<{
|
|
1221
|
-
/** The ID of the data category */
|
|
1222
|
-
id: t.UnionC<[t.StringC, t.NullC]>;
|
|
1223
|
-
/** The name of the data category */
|
|
1224
|
-
name: t.UnionC<[t.StringC, t.NullC]>;
|
|
1225
|
-
/** The nameKey of the data category */
|
|
1226
|
-
nameKey: t.UnionC<[t.StringC, t.NullC]>;
|
|
1227
|
-
}>, t.NullC]>;
|
|
1228
|
-
/** The data element */
|
|
1229
|
-
dataElement: t.UnionC<[t.TypeC<{
|
|
1230
|
-
/** The ID of the data element */
|
|
1231
|
-
id: t.UnionC<[t.StringC, t.NullC]>;
|
|
1232
|
-
/** The name of the data element */
|
|
1233
|
-
name: t.UnionC<[t.StringC, t.NullC]>;
|
|
1234
|
-
/** The name key of the data element */
|
|
1235
|
-
nameKey: t.UnionC<[t.StringC, t.NullC]>;
|
|
1236
|
-
}>, t.NullC]>;
|
|
1237
|
-
}>]>>;
|
|
1238
|
-
/** Justification comments for the given response. */
|
|
1239
|
-
justification: t.UnionC<[t.StringC, t.NullC]>;
|
|
1240
|
-
}>>;
|
|
1241
|
-
/** The risks associated with this question */
|
|
1242
|
-
risks: t.UnionC<[t.ArrayC<t.IntersectionC<[t.TypeC<{
|
|
1243
|
-
/** ID of the question for which the risk was flagged. */
|
|
1244
|
-
questionId: t.StringC;
|
|
1245
|
-
/** ID of the flagged risk. */
|
|
1246
|
-
riskId: t.StringC;
|
|
1247
|
-
}>, t.PartialC<{
|
|
1248
|
-
/** Level of risk flagged on the question. */
|
|
1249
|
-
level: t.UnionC<[t.NumberC, t.NullC]>;
|
|
1250
|
-
/** Score of risk flagged on the question. */
|
|
1251
|
-
score: t.UnionC<[t.NumberC, t.NullC]>;
|
|
1252
|
-
/** Probability of risk flagged on the question. */
|
|
1253
|
-
probability: t.UnionC<[t.NumberC, t.UndefinedC]>;
|
|
1254
|
-
/** Impact Level of risk flagged on the question. */
|
|
1255
|
-
impactLevel: t.UnionC<[t.NumberC, t.UndefinedC]>;
|
|
1256
|
-
}>]>>, t.NullC]>;
|
|
1257
|
-
/** List of IDs associated with the question root requests. */
|
|
1258
|
-
rootRequestInformationIds: t.ArrayC<t.StringC>;
|
|
1259
|
-
/** Number of attachments added to the question. */
|
|
1260
|
-
totalAttachments: t.NumberC;
|
|
1261
|
-
/** IDs of the attachment(s) added to the question. */
|
|
1262
|
-
attachmentIds: t.ArrayC<t.StringC>;
|
|
1263
|
-
/** The canReopenWithAllowEditOption */
|
|
1264
|
-
canReopenWithAllowEditOption: t.BooleanC;
|
|
1265
|
-
/** The riskCreationAllowed */
|
|
1266
|
-
riskCreationAllowed: t.BooleanC;
|
|
1267
|
-
/** The riskDeletionPopupAllowed */
|
|
1268
|
-
riskDeletionPopupAllowed: t.BooleanC;
|
|
1269
|
-
/** The allowMaturityScaleOnQuestions */
|
|
1270
|
-
allowMaturityScaleOnQuestions: t.BooleanC;
|
|
1271
|
-
/** The questionAssociations */
|
|
1272
|
-
questionAssociations: t.UnionC<[t.StringC, t.NullC]>;
|
|
1273
|
-
/** The issues */
|
|
1274
|
-
issues: t.UnionC<[t.StringC, t.NullC]>;
|
|
1275
|
-
/** The responseEditableWhileUnderReview */
|
|
1276
|
-
responseEditableWhileUnderReview: t.BooleanC;
|
|
1277
|
-
}>, t.PartialC<{
|
|
1278
|
-
/** The businessKeyReference */
|
|
1279
|
-
businessKeyReference: t.UnionC<[t.StringC, t.NullC]>;
|
|
1280
|
-
/** The topic */
|
|
1281
|
-
topic: t.UnionC<[t.StringC, t.NullC]>;
|
|
1282
|
-
/** The questionLaws */
|
|
1283
|
-
questionLaws: t.ArrayC<t.StringC>;
|
|
1284
|
-
/** The responseFilter */
|
|
1285
|
-
responseFilter: t.UnionC<[t.StringC, t.NullC]>;
|
|
1286
|
-
/** The linkAssessmentToResponseEntity */
|
|
1287
|
-
linkAssessmentToResponseEntity: t.BooleanC;
|
|
1288
|
-
/** The translationIdentifier */
|
|
1289
|
-
translationIdentifier: t.StringC;
|
|
1290
|
-
/** The readOnly */
|
|
1291
|
-
readOnly: t.BooleanC;
|
|
1292
|
-
/** The schema */
|
|
1293
|
-
schema: t.UnionC<[t.StringC, t.NullC]>;
|
|
1294
|
-
/** The attributeId */
|
|
1295
|
-
attributeId: t.StringC;
|
|
1296
|
-
/** Whether it is a vendor question */
|
|
1297
|
-
vendorQuestion: t.BooleanC;
|
|
1298
|
-
/** Whether the question was seeded */
|
|
1299
|
-
seeded: t.BooleanC;
|
|
1300
|
-
/** Whether the question allows justification */
|
|
1301
|
-
allowJustification: t.BooleanC;
|
|
1302
|
-
/** Whether it refers to an asset question */
|
|
1303
|
-
assetQuestion: t.BooleanC;
|
|
1304
|
-
/** Whether it refers to an entity question */
|
|
1305
|
-
entityQuestion: t.BooleanC;
|
|
1306
|
-
/** Whether it is a paquestion */
|
|
1307
|
-
paquestion: t.BooleanC;
|
|
1308
|
-
/** The inventoryTypeEnum */
|
|
1309
|
-
inventoryTypeEnum: t.UnionC<[t.StringC, t.NullC]>;
|
|
1310
|
-
/** Whether it is a forceOther */
|
|
1311
|
-
forceOther: t.BooleanC;
|
|
1312
|
-
/** Whether it is a isParentQuestionMultiSelect */
|
|
1313
|
-
isParentQuestionMultiSelect: t.BooleanC;
|
|
1314
|
-
}>]>>;
|
|
1315
|
-
/** Indicates whether navigation rules are enabled for the question. */
|
|
1316
|
-
hasNavigationRules: t.BooleanC;
|
|
1317
|
-
/** Who submitted the section */
|
|
1318
|
-
submittedBy: t.UnionC<[t.IntersectionC<[t.TypeC<{
|
|
1319
|
-
/** The ID of the user who submitted the section */
|
|
1320
|
-
id: t.StringC;
|
|
1321
|
-
/** THe name or email of the user who submitted the section */
|
|
1322
|
-
name: t.StringC;
|
|
1323
|
-
}>, t.PartialC<{
|
|
1324
|
-
/** The name key of the user who submitted the section */
|
|
1325
|
-
nameKey: t.UnionC<[t.StringC, t.NullC]>;
|
|
1326
|
-
}>]>, t.NullC]>;
|
|
1327
|
-
/** Date of the submission */
|
|
1328
|
-
submittedDt: t.UnionC<[t.StringC, t.NullC]>;
|
|
1329
|
-
/** Name of the section. */
|
|
1330
|
-
name: t.StringC;
|
|
1331
|
-
/** Indicates whether navigation rules are enabled for the question. */
|
|
1332
|
-
hidden: t.BooleanC;
|
|
1333
|
-
/** Indicates whether the section is valid. */
|
|
1334
|
-
valid: t.BooleanC;
|
|
1335
|
-
/** ID of the section in an assessment. */
|
|
1336
|
-
sectionId: t.StringC;
|
|
1337
|
-
/** Sequence of the section within the form */
|
|
1338
|
-
sequence: t.NumberC;
|
|
1339
|
-
/** Whether the section was submitted */
|
|
1340
|
-
submitted: t.BooleanC;
|
|
1341
|
-
/** Descriptions of the section. */
|
|
1342
|
-
description: t.UnionC<[t.StringC, t.NullC]>;
|
|
1343
|
-
}>>;
|
|
1344
|
-
/** Date and time at which the assessment was submitted. */
|
|
1345
|
-
submittedOn: t.UnionC<[t.StringC, t.NullC]>;
|
|
1346
|
-
/** List of tags associated with the assessment. */
|
|
1347
|
-
tags: t.ArrayC<t.StringC>;
|
|
1348
|
-
/** The desired target risk score. */
|
|
1349
|
-
targetRiskScore: t.UnionC<[t.NumberC, t.NullC]>;
|
|
1350
|
-
/** The template */
|
|
1351
|
-
template: t.TypeC<{
|
|
1352
|
-
/** The ID of the template */
|
|
1353
|
-
id: t.StringC;
|
|
1354
|
-
/** The name of the template */
|
|
1355
|
-
name: t.StringC;
|
|
1356
|
-
/** The name key of the template */
|
|
1357
|
-
nameKey: t.UnionC<[t.StringC, t.NullC]>;
|
|
1358
|
-
}>;
|
|
1359
|
-
/** Number of total risks on the assessment. */
|
|
1360
|
-
totalRiskCount: t.NumberC;
|
|
1361
|
-
/** Number of very high risks on the assessment. */
|
|
1362
|
-
veryHighRisk: t.NumberC;
|
|
1363
|
-
/** Welcome text if any in the assessment. */
|
|
1364
|
-
welcomeText: t.UnionC<[t.StringC, t.NullC]>;
|
|
1365
|
-
}>;
|
|
1366
|
-
/** Type override */
|
|
1367
|
-
export type OneTrustGetAssessmentResponse = t.TypeOf<typeof OneTrustGetAssessmentResponse>;
|
|
1368
|
-
//# sourceMappingURL=getAssessment.d.ts.map
|