@transcend-io/cli 6.8.0 → 6.10.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/README.md +96 -12
- package/build/cli-request-upload.js +1 -1
- package/build/cli-request-upload.js.map +1 -1
- package/build/cli-upload-consent-preferences.js +2 -2
- package/build/cli-upload-consent-preferences.js.map +1 -1
- package/build/cli-upload-preferences.d.ts +3 -0
- package/build/cli-upload-preferences.d.ts.map +1 -0
- package/build/cli-upload-preferences.js +79 -0
- package/build/cli-upload-preferences.js.map +1 -0
- package/build/codecs.d.ts +1824 -4
- package/build/codecs.d.ts.map +1 -1
- package/build/codecs.js +232 -2
- package/build/codecs.js.map +1 -1
- package/build/consent-manager/index.d.ts +1 -0
- package/build/consent-manager/index.d.ts.map +1 -1
- package/build/consent-manager/index.js +1 -0
- package/build/consent-manager/index.js.map +1 -1
- package/build/consent-manager/{uploadConsentPreferences.d.ts → uploadConsents.d.ts} +2 -2
- package/build/consent-manager/uploadConsents.d.ts.map +1 -0
- package/build/consent-manager/{uploadConsentPreferences.js → uploadConsents.js} +4 -4
- package/build/consent-manager/uploadConsents.js.map +1 -0
- package/build/constants.d.ts.map +1 -1
- package/build/constants.js +6 -0
- package/build/constants.js.map +1 -1
- package/build/enums.d.ts +3 -1
- package/build/enums.d.ts.map +1 -1
- package/build/enums.js +2 -0
- package/build/enums.js.map +1 -1
- package/build/graphql/createSombraGotInstance.d.ts.map +1 -1
- package/build/graphql/createSombraGotInstance.js.map +1 -1
- package/build/graphql/fetchAllAssessmentTemplates.d.ts +44 -0
- package/build/graphql/fetchAllAssessmentTemplates.d.ts.map +1 -0
- package/build/graphql/fetchAllAssessmentTemplates.js +31 -0
- package/build/graphql/fetchAllAssessmentTemplates.js.map +1 -0
- package/build/graphql/fetchAllAssessments.d.ts +309 -0
- package/build/graphql/fetchAllAssessments.d.ts.map +1 -0
- package/build/graphql/fetchAllAssessments.js +32 -0
- package/build/graphql/fetchAllAssessments.js.map +1 -0
- package/build/graphql/fetchAllPreferenceTopics.d.ts +28 -0
- package/build/graphql/fetchAllPreferenceTopics.d.ts.map +1 -0
- package/build/graphql/fetchAllPreferenceTopics.js +32 -0
- package/build/graphql/fetchAllPreferenceTopics.js.map +1 -0
- package/build/graphql/fetchAllPurposes.d.ts +25 -0
- package/build/graphql/fetchAllPurposes.d.ts.map +1 -0
- package/build/graphql/fetchAllPurposes.js +36 -0
- package/build/graphql/fetchAllPurposes.js.map +1 -0
- package/build/graphql/fetchAllRequestIdentifiers.d.ts +2 -2
- package/build/graphql/fetchConsentManagerId.d.ts +0 -7
- package/build/graphql/fetchConsentManagerId.d.ts.map +1 -1
- package/build/graphql/fetchConsentManagerId.js +1 -12
- package/build/graphql/fetchConsentManagerId.js.map +1 -1
- package/build/graphql/gqls/assessment.d.ts +3 -0
- package/build/graphql/gqls/assessment.d.ts.map +1 -0
- package/build/graphql/gqls/assessment.js +287 -0
- package/build/graphql/gqls/assessment.js.map +1 -0
- package/build/graphql/gqls/assessmentTemplate.d.ts +2 -0
- package/build/graphql/gqls/assessmentTemplate.d.ts.map +1 -0
- package/build/graphql/gqls/assessmentTemplate.js +70 -0
- package/build/graphql/gqls/assessmentTemplate.js.map +1 -0
- package/build/graphql/gqls/consentManager.d.ts +0 -1
- package/build/graphql/gqls/consentManager.d.ts.map +1 -1
- package/build/graphql/gqls/consentManager.js +1 -12
- package/build/graphql/gqls/consentManager.js.map +1 -1
- package/build/graphql/gqls/index.d.ts +4 -0
- package/build/graphql/gqls/index.d.ts.map +1 -1
- package/build/graphql/gqls/index.js +4 -0
- package/build/graphql/gqls/index.js.map +1 -1
- package/build/graphql/gqls/preferenceTopic.d.ts +2 -0
- package/build/graphql/gqls/preferenceTopic.d.ts.map +1 -0
- package/build/graphql/gqls/preferenceTopic.js +33 -0
- package/build/graphql/gqls/preferenceTopic.js.map +1 -0
- package/build/graphql/gqls/purpose.d.ts +2 -0
- package/build/graphql/gqls/purpose.d.ts.map +1 -0
- package/build/graphql/gqls/purpose.js +35 -0
- package/build/graphql/gqls/purpose.js.map +1 -0
- package/build/graphql/index.d.ts +6 -0
- package/build/graphql/index.d.ts.map +1 -1
- package/build/graphql/index.js +6 -0
- package/build/graphql/index.js.map +1 -1
- package/build/graphql/parseAssessmentDisplayLogic.d.ts +56 -0
- package/build/graphql/parseAssessmentDisplayLogic.d.ts.map +1 -0
- package/build/graphql/parseAssessmentDisplayLogic.js +62 -0
- package/build/graphql/parseAssessmentDisplayLogic.js.map +1 -0
- package/build/graphql/parseAssessmentRiskLogic.d.ts +27 -0
- package/build/graphql/parseAssessmentRiskLogic.d.ts.map +1 -0
- package/build/graphql/parseAssessmentRiskLogic.js +51 -0
- package/build/graphql/parseAssessmentRiskLogic.js.map +1 -0
- package/build/graphql/pullTranscendConfiguration.d.ts.map +1 -1
- package/build/graphql/pullTranscendConfiguration.js +220 -1
- package/build/graphql/pullTranscendConfiguration.js.map +1 -1
- package/build/graphql/syncConsentManager.js +2 -1
- package/build/graphql/syncConsentManager.js.map +1 -1
- package/build/graphql/syncCookies.js +1 -1
- package/build/graphql/syncCookies.js.map +1 -1
- package/build/graphql/syncDataFlows.js +2 -2
- package/build/graphql/syncDataFlows.js.map +1 -1
- package/build/preference-management/checkIfPendingPreferenceUpdatesAreNoOp.d.ts +19 -0
- package/build/preference-management/checkIfPendingPreferenceUpdatesAreNoOp.d.ts.map +1 -0
- package/build/preference-management/checkIfPendingPreferenceUpdatesAreNoOp.js +56 -0
- package/build/preference-management/checkIfPendingPreferenceUpdatesAreNoOp.js.map +1 -0
- package/build/preference-management/checkIfPendingPreferenceUpdatesCauseConflict.d.ts +20 -0
- package/build/preference-management/checkIfPendingPreferenceUpdatesCauseConflict.d.ts.map +1 -0
- package/build/preference-management/checkIfPendingPreferenceUpdatesCauseConflict.js +58 -0
- package/build/preference-management/checkIfPendingPreferenceUpdatesCauseConflict.js.map +1 -0
- package/build/preference-management/codecs.d.ts +369 -0
- package/build/preference-management/codecs.d.ts.map +1 -0
- package/build/preference-management/codecs.js +122 -0
- package/build/preference-management/codecs.js.map +1 -0
- package/build/preference-management/getPreferenceUpdatesFromRow.d.ts +37 -0
- package/build/preference-management/getPreferenceUpdatesFromRow.d.ts.map +1 -0
- package/build/preference-management/getPreferenceUpdatesFromRow.js +144 -0
- package/build/preference-management/getPreferenceUpdatesFromRow.js.map +1 -0
- package/build/preference-management/getPreferencesForIdentifiers.d.ts +21 -0
- package/build/preference-management/getPreferencesForIdentifiers.d.ts.map +1 -0
- package/build/preference-management/getPreferencesForIdentifiers.js +113 -0
- package/build/preference-management/getPreferencesForIdentifiers.js.map +1 -0
- package/build/preference-management/index.d.ts +12 -0
- package/build/preference-management/index.d.ts.map +1 -0
- package/build/preference-management/index.js +28 -0
- package/build/preference-management/index.js.map +1 -0
- package/build/preference-management/parsePreferenceAndPurposeValuesFromCsv.d.ts +17 -0
- package/build/preference-management/parsePreferenceAndPurposeValuesFromCsv.d.ts.map +1 -0
- package/build/preference-management/parsePreferenceAndPurposeValuesFromCsv.js +86 -0
- package/build/preference-management/parsePreferenceAndPurposeValuesFromCsv.js.map +1 -0
- package/build/preference-management/parsePreferenceIdentifiersFromCsv.d.ts +18 -0
- package/build/preference-management/parsePreferenceIdentifiersFromCsv.d.ts.map +1 -0
- package/build/preference-management/parsePreferenceIdentifiersFromCsv.js +97 -0
- package/build/preference-management/parsePreferenceIdentifiersFromCsv.js.map +1 -0
- package/build/preference-management/parsePreferenceManagementCsv.d.ts +25 -0
- package/build/preference-management/parsePreferenceManagementCsv.d.ts.map +1 -0
- package/build/preference-management/parsePreferenceManagementCsv.js +145 -0
- package/build/preference-management/parsePreferenceManagementCsv.js.map +1 -0
- package/build/preference-management/parsePreferenceTimestampsFromCsv.d.ts +16 -0
- package/build/preference-management/parsePreferenceTimestampsFromCsv.d.ts.map +1 -0
- package/build/preference-management/parsePreferenceTimestampsFromCsv.js +65 -0
- package/build/preference-management/parsePreferenceTimestampsFromCsv.js.map +1 -0
- package/build/preference-management/tests/checkIfPendingPreferenceUpdatesAreNoOp.test.d.ts +2 -0
- package/build/preference-management/tests/checkIfPendingPreferenceUpdatesAreNoOp.test.d.ts.map +1 -0
- package/build/preference-management/tests/checkIfPendingPreferenceUpdatesAreNoOp.test.js +408 -0
- package/build/preference-management/tests/checkIfPendingPreferenceUpdatesAreNoOp.test.js.map +1 -0
- package/build/preference-management/tests/checkIfPendingPreferenceUpdatesCauseConflict.test.d.ts +2 -0
- package/build/preference-management/tests/checkIfPendingPreferenceUpdatesCauseConflict.test.d.ts.map +1 -0
- package/build/preference-management/tests/checkIfPendingPreferenceUpdatesCauseConflict.test.js +428 -0
- package/build/preference-management/tests/checkIfPendingPreferenceUpdatesCauseConflict.test.js.map +1 -0
- package/build/preference-management/tests/getPreferenceUpdatesFromRow.test.d.ts +2 -0
- package/build/preference-management/tests/getPreferenceUpdatesFromRow.test.d.ts.map +1 -0
- package/build/preference-management/tests/getPreferenceUpdatesFromRow.test.js +549 -0
- package/build/preference-management/tests/getPreferenceUpdatesFromRow.test.js.map +1 -0
- package/build/preference-management/uploadPreferenceManagementPreferencesInteractive.d.ts +33 -0
- package/build/preference-management/uploadPreferenceManagementPreferencesInteractive.d.ts.map +1 -0
- package/build/preference-management/uploadPreferenceManagementPreferencesInteractive.js +166 -0
- package/build/preference-management/uploadPreferenceManagementPreferencesInteractive.js.map +1 -0
- package/build/requests/approvePrivacyRequests.d.ts.map +1 -1
- package/build/requests/approvePrivacyRequests.js +15 -4
- package/build/requests/approvePrivacyRequests.js.map +1 -1
- package/build/requests/bulkRestartRequests.js +2 -2
- package/build/requests/bulkRestartRequests.js.map +1 -1
- package/build/requests/mapColumnsToAttributes.d.ts.map +1 -1
- package/build/requests/mapColumnsToAttributes.js +1 -3
- package/build/requests/mapColumnsToAttributes.js.map +1 -1
- package/build/requests/mapColumnsToIdentifiers.d.ts.map +1 -1
- package/build/requests/mapColumnsToIdentifiers.js +1 -3
- package/build/requests/mapColumnsToIdentifiers.js.map +1 -1
- package/build/requests/mapCsvColumnsToApi.d.ts.map +1 -1
- package/build/requests/mapCsvColumnsToApi.js +1 -3
- package/build/requests/mapCsvColumnsToApi.js.map +1 -1
- package/build/requests/mapRequestEnumValues.d.ts.map +1 -1
- package/build/requests/mapRequestEnumValues.js +6 -6
- package/build/requests/mapRequestEnumValues.js.map +1 -1
- package/build/requests/uploadPrivacyRequestsFromCsv.js +3 -3
- package/build/requests/uploadPrivacyRequestsFromCsv.js.map +1 -1
- package/build/tsbuildinfo +1 -1
- package/package.json +6 -3
- package/build/consent-manager/uploadConsentPreferences.d.ts.map +0 -1
- package/build/consent-manager/uploadConsentPreferences.js.map +0 -1
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { GraphQLClient } from 'graphql-request';
|
|
2
|
+
import type { AssessmentSection, RetentionSchedule, UserPreview } from './fetchAllAssessments';
|
|
3
|
+
import { AssessmentFormTemplateSource, AssessmentFormTemplateStatus } from '@transcend-io/privacy-types';
|
|
4
|
+
/**
|
|
5
|
+
* Represents an assessment template with various properties and metadata.
|
|
6
|
+
*/
|
|
7
|
+
export interface AssessmentTemplate {
|
|
8
|
+
/** The ID of the assessment template */
|
|
9
|
+
id: string;
|
|
10
|
+
/** The user who created the assessment template */
|
|
11
|
+
creator: UserPreview;
|
|
12
|
+
/** The user who last edited the assessment template */
|
|
13
|
+
lastEditor: UserPreview;
|
|
14
|
+
/** The title of the assessment template */
|
|
15
|
+
title: string;
|
|
16
|
+
/** The description of the assessment template */
|
|
17
|
+
description: string;
|
|
18
|
+
/** The current status of the assessment template */
|
|
19
|
+
status: AssessmentFormTemplateStatus;
|
|
20
|
+
/** The source fo the form template */
|
|
21
|
+
source: AssessmentFormTemplateSource;
|
|
22
|
+
/** ID of parent template */
|
|
23
|
+
parentId: string;
|
|
24
|
+
/** Indicates if the assessment template is locked */
|
|
25
|
+
isLocked: boolean;
|
|
26
|
+
/** Indicates if the assessment template is archived */
|
|
27
|
+
isArchived: boolean;
|
|
28
|
+
/** The date when the assessment template was created */
|
|
29
|
+
createdAt: string;
|
|
30
|
+
/** The date when the assessment template was last updated */
|
|
31
|
+
updatedAt: string;
|
|
32
|
+
/** The retention schedule of the assessment template */
|
|
33
|
+
retentionSchedule?: RetentionSchedule;
|
|
34
|
+
/** The sections of the assessment template */
|
|
35
|
+
sections: AssessmentSection[];
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Fetch all assessment templates in the organization
|
|
39
|
+
*
|
|
40
|
+
* @param client - GraphQL client
|
|
41
|
+
* @returns All assessment templates in the organization
|
|
42
|
+
*/
|
|
43
|
+
export declare function fetchAllAssessmentTemplates(client: GraphQLClient): Promise<AssessmentTemplate[]>;
|
|
44
|
+
//# sourceMappingURL=fetchAllAssessmentTemplates.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetchAllAssessmentTemplates.d.ts","sourceRoot":"","sources":["../../src/graphql/fetchAllAssessmentTemplates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAGhD,OAAO,KAAK,EACV,iBAAiB,EACjB,iBAAiB,EACjB,WAAW,EACZ,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,4BAA4B,EAC5B,4BAA4B,EAC7B,MAAM,6BAA6B,CAAC;AAErC;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,wCAAwC;IACxC,EAAE,EAAE,MAAM,CAAC;IACX,mDAAmD;IACnD,OAAO,EAAE,WAAW,CAAC;IACrB,uDAAuD;IACvD,UAAU,EAAE,WAAW,CAAC;IACxB,2CAA2C;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,iDAAiD;IACjD,WAAW,EAAE,MAAM,CAAC;IACpB,oDAAoD;IACpD,MAAM,EAAE,4BAA4B,CAAC;IACrC,sCAAsC;IACtC,MAAM,EAAE,4BAA4B,CAAC;IACrC,4BAA4B;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,qDAAqD;IACrD,QAAQ,EAAE,OAAO,CAAC;IAClB,uDAAuD;IACvD,UAAU,EAAE,OAAO,CAAC;IACpB,wDAAwD;IACxD,SAAS,EAAE,MAAM,CAAC;IAClB,6DAA6D;IAC7D,SAAS,EAAE,MAAM,CAAC;IAClB,wDAAwD;IACxD,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,8CAA8C;IAC9C,QAAQ,EAAE,iBAAiB,EAAE,CAAC;CAC/B;AAID;;;;;GAKG;AACH,wBAAsB,2BAA2B,CAC/C,MAAM,EAAE,aAAa,GACpB,OAAO,CAAC,kBAAkB,EAAE,CAAC,CAyB/B"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.fetchAllAssessmentTemplates = void 0;
|
|
4
|
+
const gqls_1 = require("./gqls");
|
|
5
|
+
const makeGraphQLRequest_1 = require("./makeGraphQLRequest");
|
|
6
|
+
const PAGE_SIZE = 20;
|
|
7
|
+
/**
|
|
8
|
+
* Fetch all assessment templates in the organization
|
|
9
|
+
*
|
|
10
|
+
* @param client - GraphQL client
|
|
11
|
+
* @returns All assessment templates in the organization
|
|
12
|
+
*/
|
|
13
|
+
async function fetchAllAssessmentTemplates(client) {
|
|
14
|
+
const assessmentTemplates = [];
|
|
15
|
+
let offset = 0;
|
|
16
|
+
let shouldContinue = false;
|
|
17
|
+
do {
|
|
18
|
+
const { assessmentFormTemplates: { nodes },
|
|
19
|
+
// eslint-disable-next-line no-await-in-loop
|
|
20
|
+
} = await (0, makeGraphQLRequest_1.makeGraphQLRequest)(client, gqls_1.ASSESSMENT_TEMPLATES, {
|
|
21
|
+
first: PAGE_SIZE,
|
|
22
|
+
offset,
|
|
23
|
+
});
|
|
24
|
+
assessmentTemplates.push(...nodes);
|
|
25
|
+
offset += PAGE_SIZE;
|
|
26
|
+
shouldContinue = nodes.length === PAGE_SIZE;
|
|
27
|
+
} while (shouldContinue);
|
|
28
|
+
return assessmentTemplates.sort((a, b) => a.title.localeCompare(b.title));
|
|
29
|
+
}
|
|
30
|
+
exports.fetchAllAssessmentTemplates = fetchAllAssessmentTemplates;
|
|
31
|
+
//# sourceMappingURL=fetchAllAssessmentTemplates.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetchAllAssessmentTemplates.js","sourceRoot":"","sources":["../../src/graphql/fetchAllAssessmentTemplates.ts"],"names":[],"mappings":";;;AACA,iCAA8C;AAC9C,6DAA0D;AA6C1D,MAAM,SAAS,GAAG,EAAE,CAAC;AAErB;;;;;GAKG;AACI,KAAK,UAAU,2BAA2B,CAC/C,MAAqB;IAErB,MAAM,mBAAmB,GAAyB,EAAE,CAAC;IACrD,IAAI,MAAM,GAAG,CAAC,CAAC;IAEf,IAAI,cAAc,GAAG,KAAK,CAAC;IAC3B,GAAG;QACD,MAAM,EACJ,uBAAuB,EAAE,EAAE,KAAK,EAAE;QAClC,4CAA4C;UAC7C,GAAG,MAAM,IAAA,uCAAkB,EAMzB,MAAM,EAAE,2BAAoB,EAAE;YAC/B,KAAK,EAAE,SAAS;YAChB,MAAM;SACP,CAAC,CAAC;QACH,mBAAmB,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,CAAC;QACnC,MAAM,IAAI,SAAS,CAAC;QACpB,cAAc,GAAG,KAAK,CAAC,MAAM,KAAK,SAAS,CAAC;KAC7C,QAAQ,cAAc,EAAE;IAEzB,OAAO,mBAAmB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;AAC5E,CAAC;AA3BD,kEA2BC"}
|
|
@@ -0,0 +1,309 @@
|
|
|
1
|
+
import { GraphQLClient } from 'graphql-request';
|
|
2
|
+
import { AssessmentFormStatus, AssessmentQuestionSubType, AssessmentQuestionType, AssessmentSyncColumn, AssessmentSyncModel, AttributeSupportedResourceType, DataCategoryType, ProcessingPurpose, RetentionScheduleOperation, RetentionScheduleType } from '@transcend-io/privacy-types';
|
|
3
|
+
/**
|
|
4
|
+
* Represents an assessment with various properties and metadata.
|
|
5
|
+
*/
|
|
6
|
+
export interface Assessment {
|
|
7
|
+
/** The ID of the assessment */
|
|
8
|
+
id: string;
|
|
9
|
+
/** The user who created the assessment */
|
|
10
|
+
creator: UserPreview;
|
|
11
|
+
/** The user who last edited the assessment */
|
|
12
|
+
lastEditor: UserPreview;
|
|
13
|
+
/** The title of the assessment */
|
|
14
|
+
title: string;
|
|
15
|
+
/** The description of the assessment */
|
|
16
|
+
description: string;
|
|
17
|
+
/** The current status of the assessment */
|
|
18
|
+
status: AssessmentFormStatus;
|
|
19
|
+
/** The users assigned to the assessment */
|
|
20
|
+
assignees: UserPreview[];
|
|
21
|
+
/** The external users assigned to the assessment */
|
|
22
|
+
externalAssignees: ExternalUser[];
|
|
23
|
+
/** The users who are reviewers of the assessment */
|
|
24
|
+
reviewers: UserPreview[];
|
|
25
|
+
/** Indicates if the assessment is locked */
|
|
26
|
+
isLocked: boolean;
|
|
27
|
+
/** Indicates if the assessment is archived */
|
|
28
|
+
isArchived: boolean;
|
|
29
|
+
/** Indicates if the assessment was created externally */
|
|
30
|
+
isExternallyCreated: boolean;
|
|
31
|
+
/** The due date of the assessment */
|
|
32
|
+
dueDate: string;
|
|
33
|
+
/** The date when the assessment was created */
|
|
34
|
+
createdAt: string;
|
|
35
|
+
/** The date when the assessment was last updated */
|
|
36
|
+
updatedAt: string;
|
|
37
|
+
/** The date when the assessment was assigned */
|
|
38
|
+
assignedAt: string;
|
|
39
|
+
/** The date when the assessment was submitted */
|
|
40
|
+
submittedAt: string;
|
|
41
|
+
/** The date when the assessment was approved */
|
|
42
|
+
approvedAt: string;
|
|
43
|
+
/** The date when the assessment was rejected */
|
|
44
|
+
rejectedAt: string;
|
|
45
|
+
/** Indicates if the title of the assessment is internal */
|
|
46
|
+
titleIsInternal: boolean;
|
|
47
|
+
/** The retention schedule of the assessment */
|
|
48
|
+
retentionSchedule?: RetentionSchedule;
|
|
49
|
+
/** The attribute values associated with the assessment */
|
|
50
|
+
attributeValues: AttributeValue[];
|
|
51
|
+
/** The sections of the assessment */
|
|
52
|
+
sections: AssessmentSection[];
|
|
53
|
+
/** The group to which the assessment belongs */
|
|
54
|
+
assessmentGroup: AssessmentGroup;
|
|
55
|
+
/** The resources associated with the assessment */
|
|
56
|
+
resources: AssessmentResource[];
|
|
57
|
+
/** The rows that are synced with the assessment */
|
|
58
|
+
syncedRows: AssessmentResource[];
|
|
59
|
+
}
|
|
60
|
+
export interface UserPreview {
|
|
61
|
+
/** ID of user */
|
|
62
|
+
id: string;
|
|
63
|
+
/** Email of user */
|
|
64
|
+
email: string;
|
|
65
|
+
/** Name of user */
|
|
66
|
+
name: string;
|
|
67
|
+
}
|
|
68
|
+
export interface ExternalUser {
|
|
69
|
+
/** ID of external user */
|
|
70
|
+
id: string;
|
|
71
|
+
/** Email of external user */
|
|
72
|
+
email: string;
|
|
73
|
+
}
|
|
74
|
+
export interface RetentionSchedule {
|
|
75
|
+
/** ID of retention schedule */
|
|
76
|
+
id: string;
|
|
77
|
+
/** Type */
|
|
78
|
+
type: RetentionScheduleType;
|
|
79
|
+
/** Duration of retention schedule */
|
|
80
|
+
durationDays: number;
|
|
81
|
+
/** The operation to perform on the retention schedule */
|
|
82
|
+
operation: RetentionScheduleOperation;
|
|
83
|
+
}
|
|
84
|
+
interface AttributeValue {
|
|
85
|
+
/** Name of attribute value */
|
|
86
|
+
name: string;
|
|
87
|
+
/** Key */
|
|
88
|
+
attributeKey: {
|
|
89
|
+
/** Name of key */
|
|
90
|
+
name: string;
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
export interface AssessmentSection {
|
|
94
|
+
/** ID of section */
|
|
95
|
+
id: string;
|
|
96
|
+
/** Title of section */
|
|
97
|
+
title: string;
|
|
98
|
+
/** Status of section */
|
|
99
|
+
status: string;
|
|
100
|
+
/** Index of section */
|
|
101
|
+
index: number;
|
|
102
|
+
/** Questions */
|
|
103
|
+
questions: AssessmentQuestion[];
|
|
104
|
+
/** Assignees */
|
|
105
|
+
assignees: UserPreview[];
|
|
106
|
+
/** External assignees */
|
|
107
|
+
externalAssignees: ExternalUser[];
|
|
108
|
+
/** Whether is reviewed */
|
|
109
|
+
isReviewed: boolean;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Represents a question in the assessment.
|
|
113
|
+
*/
|
|
114
|
+
export interface AssessmentQuestion {
|
|
115
|
+
/**
|
|
116
|
+
* Unique identifier for the question.
|
|
117
|
+
*/
|
|
118
|
+
id: string;
|
|
119
|
+
/** Title of the question */
|
|
120
|
+
title: string;
|
|
121
|
+
/** Index of the question in the assessment */
|
|
122
|
+
index: number;
|
|
123
|
+
/** Type of the question */
|
|
124
|
+
type: AssessmentQuestionType;
|
|
125
|
+
/** Subtype of the question */
|
|
126
|
+
subType: AssessmentQuestionSubType;
|
|
127
|
+
/** Placeholder text for the question */
|
|
128
|
+
placeholder: string;
|
|
129
|
+
/** Description of the question */
|
|
130
|
+
description: string;
|
|
131
|
+
/** Indicates if the question is required */
|
|
132
|
+
isRequired: boolean;
|
|
133
|
+
/** Logic for displaying the question */
|
|
134
|
+
displayLogic: string;
|
|
135
|
+
/** Logic for assessing risk related to the question */
|
|
136
|
+
riskLogic: string[];
|
|
137
|
+
/** Indicates if risk evaluation is required for the question */
|
|
138
|
+
requireRiskEvaluation: boolean;
|
|
139
|
+
/** Indicates if risk matrix evaluation is required for the question */
|
|
140
|
+
requireRiskMatrixEvaluation: boolean;
|
|
141
|
+
/** Categories of risk associated with the question */
|
|
142
|
+
riskCategories: RiskCategory[];
|
|
143
|
+
/** Framework used for risk assessment */
|
|
144
|
+
riskFramework?: RiskFramework;
|
|
145
|
+
/** Level of risk associated with the question */
|
|
146
|
+
riskLevel?: RiskLevel;
|
|
147
|
+
/** Risk level assigned by the reviewer */
|
|
148
|
+
reviewerRiskLevel?: RiskLevel;
|
|
149
|
+
/** Risk level derived from the risk matrix */
|
|
150
|
+
riskLevelFromRiskMatrix?: RiskLevel;
|
|
151
|
+
/** Options available for answering the question */
|
|
152
|
+
answerOptions: AssessmentAnswerOption[];
|
|
153
|
+
/** Answers selected for the question */
|
|
154
|
+
selectedAnswers: AssessmentAnswer[];
|
|
155
|
+
/** User who responded to the question */
|
|
156
|
+
respondent: UserPreview;
|
|
157
|
+
/** Key attribute associated with the question */
|
|
158
|
+
attributeKey?: {
|
|
159
|
+
/** Name of key */
|
|
160
|
+
name: string;
|
|
161
|
+
};
|
|
162
|
+
/** Email of the external respondent */
|
|
163
|
+
externalRespondentEmail?: string;
|
|
164
|
+
/** Comments related to the question */
|
|
165
|
+
comments: Comment[];
|
|
166
|
+
/** Allowed MIME types for file uploads in the question */
|
|
167
|
+
allowedMimeTypes: string[];
|
|
168
|
+
/** Timestamp of the last update to the question */
|
|
169
|
+
updatedAt: string;
|
|
170
|
+
/** Reference identifier for the question */
|
|
171
|
+
referenceId: string;
|
|
172
|
+
/** Previous submissions related to the question */
|
|
173
|
+
previousSubmissions: AssessmentPreviousSubmission[];
|
|
174
|
+
/** Indicates if selecting "Other" is allowed for the question */
|
|
175
|
+
allowSelectOther: boolean;
|
|
176
|
+
/** Model used for synchronization */
|
|
177
|
+
syncModel: AssessmentSyncModel;
|
|
178
|
+
/** Column used for synchronization */
|
|
179
|
+
syncColumn: AssessmentSyncColumn;
|
|
180
|
+
/** Row IDs used for synchronization */
|
|
181
|
+
syncRowIds: string[];
|
|
182
|
+
/** Indicates if synchronization override is allowed */
|
|
183
|
+
syncOverride: boolean;
|
|
184
|
+
}
|
|
185
|
+
export interface RiskCategory {
|
|
186
|
+
/** ID of category */
|
|
187
|
+
id: string;
|
|
188
|
+
/** Title of category */
|
|
189
|
+
title: string;
|
|
190
|
+
}
|
|
191
|
+
export interface RiskFramework {
|
|
192
|
+
/** ID of framework */
|
|
193
|
+
id: string;
|
|
194
|
+
/** Title of framework */
|
|
195
|
+
title: string;
|
|
196
|
+
/** Description of framework */
|
|
197
|
+
description: string;
|
|
198
|
+
/** Risk levels */
|
|
199
|
+
riskLevels: RiskLevel[];
|
|
200
|
+
/** Risk categories */
|
|
201
|
+
riskCategories: RiskCategory[];
|
|
202
|
+
/** Risk matrix columns */
|
|
203
|
+
riskMatrixColumns: RiskMatrixColumn[];
|
|
204
|
+
/** Risk matrix rows */
|
|
205
|
+
riskMatrixRows: RiskMatrixRow[];
|
|
206
|
+
/** Risk matrix settings */
|
|
207
|
+
riskMatrix: RiskMatrix[][];
|
|
208
|
+
/** Creator of risk framework */
|
|
209
|
+
creator?: UserPreview;
|
|
210
|
+
/** Risk matrix row title */
|
|
211
|
+
riskMatrixRowTitle: string;
|
|
212
|
+
/** Risk matrix column title */
|
|
213
|
+
riskMatrixColumnTitle: string;
|
|
214
|
+
}
|
|
215
|
+
export interface RiskLevel {
|
|
216
|
+
/** ID of risk level */
|
|
217
|
+
id: string;
|
|
218
|
+
/** Title of risk level */
|
|
219
|
+
title: string;
|
|
220
|
+
}
|
|
221
|
+
export interface RiskMatrix {
|
|
222
|
+
/** ID of risk matrix */
|
|
223
|
+
id: string;
|
|
224
|
+
/** Title of risk matrix */
|
|
225
|
+
title: string;
|
|
226
|
+
}
|
|
227
|
+
export interface RiskMatrixColumn {
|
|
228
|
+
/** ID of column */
|
|
229
|
+
id: string;
|
|
230
|
+
/** Title of column */
|
|
231
|
+
title: string;
|
|
232
|
+
}
|
|
233
|
+
export interface RiskMatrixRow {
|
|
234
|
+
/** ID of row */
|
|
235
|
+
id: string;
|
|
236
|
+
/** Title of row */
|
|
237
|
+
title: string;
|
|
238
|
+
}
|
|
239
|
+
export interface AssessmentAnswerOption {
|
|
240
|
+
/** ID of answer option */
|
|
241
|
+
id: string;
|
|
242
|
+
/** Index of answer option */
|
|
243
|
+
index: number;
|
|
244
|
+
/** Value of answer */
|
|
245
|
+
value: string;
|
|
246
|
+
}
|
|
247
|
+
export interface AssessmentAnswer {
|
|
248
|
+
/** ID of answer */
|
|
249
|
+
id: string;
|
|
250
|
+
/** Index of answer */
|
|
251
|
+
index: number;
|
|
252
|
+
/** Value of answer */
|
|
253
|
+
value: string;
|
|
254
|
+
}
|
|
255
|
+
export interface AssessmentComment {
|
|
256
|
+
/** ID of comment */
|
|
257
|
+
id: string;
|
|
258
|
+
/** Content of comment */
|
|
259
|
+
content: string;
|
|
260
|
+
/** Date comment made */
|
|
261
|
+
createdAt: string;
|
|
262
|
+
/** Date comment updated */
|
|
263
|
+
updatedAt: string;
|
|
264
|
+
/** Author of comment */
|
|
265
|
+
author?: UserPreview;
|
|
266
|
+
}
|
|
267
|
+
export interface AssessmentPreviousSubmission {
|
|
268
|
+
/** Id of submission */
|
|
269
|
+
id: string;
|
|
270
|
+
/** Date updated */
|
|
271
|
+
updatedAt: string;
|
|
272
|
+
/** ID of question */
|
|
273
|
+
assessmentQuestionId: string;
|
|
274
|
+
/** Answers */
|
|
275
|
+
answers: AssessmentAnswer[];
|
|
276
|
+
}
|
|
277
|
+
export interface AssessmentGroup {
|
|
278
|
+
/** ID of group */
|
|
279
|
+
id: string;
|
|
280
|
+
/** Title of group */
|
|
281
|
+
title: string;
|
|
282
|
+
/** Description of group */
|
|
283
|
+
description: string;
|
|
284
|
+
}
|
|
285
|
+
export interface AssessmentResource {
|
|
286
|
+
/** Type of resource */
|
|
287
|
+
resourceType: AttributeSupportedResourceType;
|
|
288
|
+
/** ID of resource */
|
|
289
|
+
id: string;
|
|
290
|
+
/** Title of resource */
|
|
291
|
+
title?: string;
|
|
292
|
+
/** Name of resource */
|
|
293
|
+
name?: string;
|
|
294
|
+
/** Category of resource */
|
|
295
|
+
category?: DataCategoryType;
|
|
296
|
+
/** Purpose of resource */
|
|
297
|
+
purpose?: ProcessingPurpose;
|
|
298
|
+
/** Type of integration */
|
|
299
|
+
type?: string;
|
|
300
|
+
}
|
|
301
|
+
/**
|
|
302
|
+
* Fetch all assessments in the organization
|
|
303
|
+
*
|
|
304
|
+
* @param client - GraphQL client
|
|
305
|
+
* @returns All assessments in the organization
|
|
306
|
+
*/
|
|
307
|
+
export declare function fetchAllAssessments(client: GraphQLClient): Promise<Assessment[]>;
|
|
308
|
+
export {};
|
|
309
|
+
//# sourceMappingURL=fetchAllAssessments.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetchAllAssessments.d.ts","sourceRoot":"","sources":["../../src/graphql/fetchAllAssessments.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAGhD,OAAO,EACL,oBAAoB,EACpB,yBAAyB,EACzB,sBAAsB,EACtB,oBAAoB,EACpB,mBAAmB,EACnB,8BAA8B,EAC9B,gBAAgB,EAChB,iBAAiB,EACjB,0BAA0B,EAC1B,qBAAqB,EACtB,MAAM,6BAA6B,CAAC;AAErC;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,+BAA+B;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,0CAA0C;IAC1C,OAAO,EAAE,WAAW,CAAC;IACrB,8CAA8C;IAC9C,UAAU,EAAE,WAAW,CAAC;IACxB,kCAAkC;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,wCAAwC;IACxC,WAAW,EAAE,MAAM,CAAC;IACpB,2CAA2C;IAC3C,MAAM,EAAE,oBAAoB,CAAC;IAC7B,2CAA2C;IAC3C,SAAS,EAAE,WAAW,EAAE,CAAC;IACzB,oDAAoD;IACpD,iBAAiB,EAAE,YAAY,EAAE,CAAC;IAClC,oDAAoD;IACpD,SAAS,EAAE,WAAW,EAAE,CAAC;IACzB,4CAA4C;IAC5C,QAAQ,EAAE,OAAO,CAAC;IAClB,8CAA8C;IAC9C,UAAU,EAAE,OAAO,CAAC;IACpB,yDAAyD;IACzD,mBAAmB,EAAE,OAAO,CAAC;IAC7B,qCAAqC;IACrC,OAAO,EAAE,MAAM,CAAC;IAChB,+CAA+C;IAC/C,SAAS,EA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EAAE,MAAM,CAAC;IAClB,2BAA2B;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,wBAAwB;IACxB,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB;AAED,MAAM,WAAW,4BAA4B;IAC3C,uBAAuB;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,mBAAmB;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,qBAAqB;IACrB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,cAAc;IACd,OAAO,EAAE,gBAAgB,EAAE,CAAC;CAC7B;AAED,MAAM,WAAW,eAAe;IAC9B,kBAAkB;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,qBAAqB;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,2BAA2B;IAC3B,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,kBAAkB;IACjC,uBAAuB;IACvB,YAAY,EAAE,8BAA8B,CAAC;IAC7C,qBAAqB;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,wBAAwB;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uBAAuB;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,2BAA2B;IAC3B,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B,0BAA0B;IAC1B,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,0BAA0B;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAID;;;;;GAKG;AACH,wBAAsB,mBAAmB,CACvC,MAAM,EAAE,aAAa,GACpB,OAAO,CAAC,UAAU,EAAE,CAAC,CAyBvB"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.fetchAllAssessments = void 0;
|
|
4
|
+
const gqls_1 = require("./gqls");
|
|
5
|
+
const makeGraphQLRequest_1 = require("./makeGraphQLRequest");
|
|
6
|
+
const PAGE_SIZE = 20;
|
|
7
|
+
/**
|
|
8
|
+
* Fetch all assessments in the organization
|
|
9
|
+
*
|
|
10
|
+
* @param client - GraphQL client
|
|
11
|
+
* @returns All assessments in the organization
|
|
12
|
+
*/
|
|
13
|
+
async function fetchAllAssessments(client) {
|
|
14
|
+
const assessments = [];
|
|
15
|
+
let offset = 0;
|
|
16
|
+
let shouldContinue = false;
|
|
17
|
+
do {
|
|
18
|
+
const { assessmentForms: { nodes },
|
|
19
|
+
// eslint-disable-next-line no-await-in-loop
|
|
20
|
+
} = await (0, makeGraphQLRequest_1.makeGraphQLRequest)(client, gqls_1.ASSESSMENTS, {
|
|
21
|
+
first: PAGE_SIZE,
|
|
22
|
+
offset,
|
|
23
|
+
});
|
|
24
|
+
assessments.push(...nodes);
|
|
25
|
+
offset += PAGE_SIZE;
|
|
26
|
+
shouldContinue = nodes.length === PAGE_SIZE;
|
|
27
|
+
} while (shouldContinue);
|
|
28
|
+
return assessments.sort((a, b) => a.title.localeCompare(b.title));
|
|
29
|
+
}
|
|
30
|
+
exports.fetchAllAssessments = fetchAllAssessments;
|
|
31
|
+
/* eslint-enable max-lines */
|
|
32
|
+
//# sourceMappingURL=fetchAllAssessments.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetchAllAssessments.js","sourceRoot":"","sources":["../../src/graphql/fetchAllAssessments.ts"],"names":[],"mappings":";;;AAEA,iCAAqC;AACrC,6DAA0D;AA2U1D,MAAM,SAAS,GAAG,EAAE,CAAC;AAErB;;;;;GAKG;AACI,KAAK,UAAU,mBAAmB,CACvC,MAAqB;IAErB,MAAM,WAAW,GAAiB,EAAE,CAAC;IACrC,IAAI,MAAM,GAAG,CAAC,CAAC;IAEf,IAAI,cAAc,GAAG,KAAK,CAAC;IAC3B,GAAG;QACD,MAAM,EACJ,eAAe,EAAE,EAAE,KAAK,EAAE;QAC1B,4CAA4C;UAC7C,GAAG,MAAM,IAAA,uCAAkB,EAMzB,MAAM,EAAE,kBAAW,EAAE;YACtB,KAAK,EAAE,SAAS;YAChB,MAAM;SACP,CAAC,CAAC;QACH,WAAW,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,CAAC;QAC3B,MAAM,IAAI,SAAS,CAAC;QACpB,cAAc,GAAG,KAAK,CAAC,MAAM,KAAK,SAAS,CAAC;KAC7C,QAAQ,cAAc,EAAE;IAEzB,OAAO,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;AACpE,CAAC;AA3BD,kDA2BC;AACD,6BAA6B"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { GraphQLClient } from 'graphql-request';
|
|
2
|
+
import { PreferenceTopicType } from '@transcend-io/privacy-types';
|
|
3
|
+
export interface PreferenceTopic {
|
|
4
|
+
/** ID of preference topic */
|
|
5
|
+
id: string;
|
|
6
|
+
/** Slug of preference topic */
|
|
7
|
+
slug: string;
|
|
8
|
+
/** Type of preference topic */
|
|
9
|
+
type: PreferenceTopicType;
|
|
10
|
+
/** Option values */
|
|
11
|
+
preferenceOptionValues: {
|
|
12
|
+
/** Slug of value */
|
|
13
|
+
slug: string;
|
|
14
|
+
}[];
|
|
15
|
+
/** Related purpose */
|
|
16
|
+
purpose: {
|
|
17
|
+
/** Slug */
|
|
18
|
+
trackingType: string;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Fetch all preference topics in the organization
|
|
23
|
+
*
|
|
24
|
+
* @param client - GraphQL client
|
|
25
|
+
* @returns All preference topics in the organization
|
|
26
|
+
*/
|
|
27
|
+
export declare function fetchAllPreferenceTopics(client: GraphQLClient): Promise<PreferenceTopic[]>;
|
|
28
|
+
//# sourceMappingURL=fetchAllPreferenceTopics.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetchAllPreferenceTopics.d.ts","sourceRoot":"","sources":["../../src/graphql/fetchAllPreferenceTopics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAGhD,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAElE,MAAM,WAAW,eAAe;IAC9B,6BAA6B;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,+BAA+B;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,+BAA+B;IAC/B,IAAI,EAAE,mBAAmB,CAAC;IAC1B,oBAAoB;IACpB,sBAAsB,EAAE;QACtB,oBAAoB;QACpB,IAAI,EAAE,MAAM,CAAC;KACd,EAAE,CAAC;IACJ,sBAAsB;IACtB,OAAO,EAAE;QACP,WAAW;QACX,YAAY,EAAE,MAAM,CAAC;KACtB,CAAC;CACH;AAID;;;;;GAKG;AACH,wBAAsB,wBAAwB,CAC5C,MAAM,EAAE,aAAa,GACpB,OAAO,CAAC,eAAe,EAAE,CAAC,CA8B5B"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.fetchAllPreferenceTopics = void 0;
|
|
4
|
+
const gqls_1 = require("./gqls");
|
|
5
|
+
const makeGraphQLRequest_1 = require("./makeGraphQLRequest");
|
|
6
|
+
const PAGE_SIZE = 20;
|
|
7
|
+
/**
|
|
8
|
+
* Fetch all preference topics in the organization
|
|
9
|
+
*
|
|
10
|
+
* @param client - GraphQL client
|
|
11
|
+
* @returns All preference topics in the organization
|
|
12
|
+
*/
|
|
13
|
+
async function fetchAllPreferenceTopics(client) {
|
|
14
|
+
const preferenceTopics = [];
|
|
15
|
+
let offset = 0;
|
|
16
|
+
// Whether to continue looping
|
|
17
|
+
let shouldContinue = false;
|
|
18
|
+
do {
|
|
19
|
+
const { preferenceTopics: { nodes },
|
|
20
|
+
// eslint-disable-next-line no-await-in-loop
|
|
21
|
+
} = await (0, makeGraphQLRequest_1.makeGraphQLRequest)(client, gqls_1.PREFERENCE_TOPICS, {
|
|
22
|
+
first: PAGE_SIZE,
|
|
23
|
+
offset,
|
|
24
|
+
});
|
|
25
|
+
preferenceTopics.push(...nodes);
|
|
26
|
+
offset += PAGE_SIZE;
|
|
27
|
+
shouldContinue = nodes.length === PAGE_SIZE;
|
|
28
|
+
} while (shouldContinue);
|
|
29
|
+
return preferenceTopics.sort((a, b) => `${a.slug}:${a.purpose.trackingType}`.localeCompare(`${b.slug}:${b.purpose.trackingType}`));
|
|
30
|
+
}
|
|
31
|
+
exports.fetchAllPreferenceTopics = fetchAllPreferenceTopics;
|
|
32
|
+
//# sourceMappingURL=fetchAllPreferenceTopics.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetchAllPreferenceTopics.js","sourceRoot":"","sources":["../../src/graphql/fetchAllPreferenceTopics.ts"],"names":[],"mappings":";;;AACA,iCAA2C;AAC3C,6DAA0D;AAsB1D,MAAM,SAAS,GAAG,EAAE,CAAC;AAErB;;;;;GAKG;AACI,KAAK,UAAU,wBAAwB,CAC5C,MAAqB;IAErB,MAAM,gBAAgB,GAAsB,EAAE,CAAC;IAC/C,IAAI,MAAM,GAAG,CAAC,CAAC;IAEf,8BAA8B;IAC9B,IAAI,cAAc,GAAG,KAAK,CAAC;IAC3B,GAAG;QACD,MAAM,EACJ,gBAAgB,EAAE,EAAE,KAAK,EAAE;QAC3B,4CAA4C;UAC7C,GAAG,MAAM,IAAA,uCAAkB,EAMzB,MAAM,EAAE,wBAAiB,EAAE;YAC5B,KAAK,EAAE,SAAS;YAChB,MAAM;SACP,CAAC,CAAC;QACH,gBAAgB,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,CAAC;QAChC,MAAM,IAAI,SAAS,CAAC;QACpB,cAAc,GAAG,KAAK,CAAC,MAAM,KAAK,SAAS,CAAC;KAC7C,QAAQ,cAAc,EAAE;IAEzB,OAAO,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CACpC,GAAG,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,OAAO,CAAC,YAAY,EAAE,CAAC,aAAa,CACjD,GAAG,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,OAAO,CAAC,YAAY,EAAE,CACtC,CACF,CAAC;AACJ,CAAC;AAhCD,4DAgCC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { GraphQLClient } from 'graphql-request';
|
|
2
|
+
export interface Purpose {
|
|
3
|
+
/** ID of purpose */
|
|
4
|
+
id: string;
|
|
5
|
+
/** Name of purpose */
|
|
6
|
+
name: string;
|
|
7
|
+
/** Slug of purpose */
|
|
8
|
+
trackingType: string;
|
|
9
|
+
/** Whether the purpose is active */
|
|
10
|
+
isActive: boolean;
|
|
11
|
+
/** Whether the purpose is deleted */
|
|
12
|
+
deletedAt?: string;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Fetch all purposes in the organization
|
|
16
|
+
*
|
|
17
|
+
* @param client - GraphQL client
|
|
18
|
+
* @param input - Input
|
|
19
|
+
* @returns All purposes in the organization
|
|
20
|
+
*/
|
|
21
|
+
export declare function fetchAllPurposes(client: GraphQLClient, { includeDeleted, }?: {
|
|
22
|
+
/** Whether to include deleted purposes */
|
|
23
|
+
includeDeleted?: boolean;
|
|
24
|
+
}): Promise<Purpose[]>;
|
|
25
|
+
//# sourceMappingURL=fetchAllPurposes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetchAllPurposes.d.ts","sourceRoot":"","sources":["../../src/graphql/fetchAllPurposes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAIhD,MAAM,WAAW,OAAO;IACtB,oBAAoB;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,sBAAsB;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,sBAAsB;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,oCAAoC;IACpC,QAAQ,EAAE,OAAO,CAAC;IAClB,qCAAqC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAID;;;;;;GAMG;AACH,wBAAsB,gBAAgB,CACpC,MAAM,EAAE,aAAa,EACrB,EACE,cAAsB,GACvB,GAAE;IACD,0CAA0C;IAC1C,cAAc,CAAC,EAAE,OAAO,CAAC;CACrB,GACL,OAAO,CAAC,OAAO,EAAE,CAAC,CA6BpB"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.fetchAllPurposes = void 0;
|
|
4
|
+
const gqls_1 = require("./gqls");
|
|
5
|
+
const makeGraphQLRequest_1 = require("./makeGraphQLRequest");
|
|
6
|
+
const PAGE_SIZE = 20;
|
|
7
|
+
/**
|
|
8
|
+
* Fetch all purposes in the organization
|
|
9
|
+
*
|
|
10
|
+
* @param client - GraphQL client
|
|
11
|
+
* @param input - Input
|
|
12
|
+
* @returns All purposes in the organization
|
|
13
|
+
*/
|
|
14
|
+
async function fetchAllPurposes(client, { includeDeleted = false, } = {}) {
|
|
15
|
+
const purposes = [];
|
|
16
|
+
let offset = 0;
|
|
17
|
+
// Whether to continue looping
|
|
18
|
+
let shouldContinue = false;
|
|
19
|
+
do {
|
|
20
|
+
const { purposes: { nodes },
|
|
21
|
+
// eslint-disable-next-line no-await-in-loop
|
|
22
|
+
} = await (0, makeGraphQLRequest_1.makeGraphQLRequest)(client, gqls_1.PURPOSES, {
|
|
23
|
+
first: PAGE_SIZE,
|
|
24
|
+
offset,
|
|
25
|
+
input: {
|
|
26
|
+
includeDeleted,
|
|
27
|
+
},
|
|
28
|
+
});
|
|
29
|
+
purposes.push(...nodes);
|
|
30
|
+
offset += PAGE_SIZE;
|
|
31
|
+
shouldContinue = nodes.length === PAGE_SIZE;
|
|
32
|
+
} while (shouldContinue);
|
|
33
|
+
return purposes.sort((a, b) => a.trackingType.localeCompare(b.trackingType));
|
|
34
|
+
}
|
|
35
|
+
exports.fetchAllPurposes = fetchAllPurposes;
|
|
36
|
+
//# sourceMappingURL=fetchAllPurposes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetchAllPurposes.js","sourceRoot":"","sources":["../../src/graphql/fetchAllPurposes.ts"],"names":[],"mappings":";;;AACA,iCAAkC;AAClC,6DAA0D;AAe1D,MAAM,SAAS,GAAG,EAAE,CAAC;AAErB;;;;;;GAMG;AACI,KAAK,UAAU,gBAAgB,CACpC,MAAqB,EACrB,EACE,cAAc,GAAG,KAAK,MAIpB,EAAE;IAEN,MAAM,QAAQ,GAAc,EAAE,CAAC;IAC/B,IAAI,MAAM,GAAG,CAAC,CAAC;IAEf,8BAA8B;IAC9B,IAAI,cAAc,GAAG,KAAK,CAAC;IAC3B,GAAG;QACD,MAAM,EACJ,QAAQ,EAAE,EAAE,KAAK,EAAE;QACnB,4CAA4C;UAC7C,GAAG,MAAM,IAAA,uCAAkB,EAMzB,MAAM,EAAE,eAAQ,EAAE;YACnB,KAAK,EAAE,SAAS;YAChB,MAAM;YACN,KAAK,EAAE;gBACL,cAAc;aACf;SACF,CAAC,CAAC;QACH,QAAQ,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,CAAC;QACxB,MAAM,IAAI,SAAS,CAAC;QACpB,cAAc,GAAG,KAAK,CAAC,MAAM,KAAK,SAAS,CAAC;KAC7C,QAAQ,cAAc,EAAE;IAEzB,OAAO,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,YAAY,CAAC,aAAa,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC;AAC/E,CAAC;AArCD,4CAqCC"}
|
|
@@ -15,8 +15,8 @@ declare const RequestIdentifier: t.TypeC<{
|
|
|
15
15
|
thriveTrmContactId: unknown;
|
|
16
16
|
customerIoId: unknown;
|
|
17
17
|
linkedInURL: unknown;
|
|
18
|
-
coreIdentifier: unknown;
|
|
19
18
|
custom: unknown;
|
|
19
|
+
coreIdentifier: unknown;
|
|
20
20
|
gaid: unknown;
|
|
21
21
|
idfa: unknown;
|
|
22
22
|
idfv: unknown;
|
|
@@ -54,8 +54,8 @@ export declare const RequestIdentifiersResponse: t.TypeC<{
|
|
|
54
54
|
thriveTrmContactId: unknown;
|
|
55
55
|
customerIoId: unknown;
|
|
56
56
|
linkedInURL: unknown;
|
|
57
|
-
coreIdentifier: unknown;
|
|
58
57
|
custom: unknown;
|
|
58
|
+
coreIdentifier: unknown;
|
|
59
59
|
gaid: unknown;
|
|
60
60
|
idfa: unknown;
|
|
61
61
|
idfv: unknown;
|
|
@@ -60,13 +60,6 @@ export interface ConsentPurpose {
|
|
|
60
60
|
/** Tracking type of purpose */
|
|
61
61
|
trackingType: string;
|
|
62
62
|
}
|
|
63
|
-
/**
|
|
64
|
-
* Fetch consent manager purposes
|
|
65
|
-
*
|
|
66
|
-
* @param client - GraphQL client
|
|
67
|
-
* @returns Consent manager purposes in the organization
|
|
68
|
-
*/
|
|
69
|
-
export declare function fetchPurposes(client: GraphQLClient): Promise<ConsentPurpose[]>;
|
|
70
63
|
export interface ConsentExperience {
|
|
71
64
|
/** ID of experience */
|
|
72
65
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetchConsentManagerId.d.ts","sourceRoot":"","sources":["../../src/graphql/fetchConsentManagerId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EACL,uBAAuB,EACvB,oBAAoB,EACpB,YAAY,EACZ,0BAA0B,EAC1B,eAAe,EACf,yBAAyB,EACzB,cAAc,EACd,eAAe,EACf,wBAAwB,EACzB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,gBAAgB,EAChB,eAAe,EACf,eAAe,EAChB,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"fetchCon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