@transcend-io/cli 10.23.8 → 10.24.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 +4 -149
- package/dist/{app-DZSLD7Zd.mjs → app-1gLg-ah3.mjs} +19 -19
- package/dist/{app-DZSLD7Zd.mjs.map → app-1gLg-ah3.mjs.map} +1 -1
- package/dist/{approvePrivacyRequests-hhD_2eJf.mjs → approvePrivacyRequests-qaoxGH11.mjs} +2 -2
- package/dist/{approvePrivacyRequests-hhD_2eJf.mjs.map → approvePrivacyRequests-qaoxGH11.mjs.map} +1 -1
- package/dist/bin/bash-complete.mjs +1 -1
- package/dist/bin/cli.mjs +1 -1
- package/dist/bin/deprecated-command.mjs +1 -1
- package/dist/{buildExamples-Cnrp7JLV.mjs → buildExamples-CDlFYuEg.mjs} +2 -2
- package/dist/{buildExamples-Cnrp7JLV.mjs.map → buildExamples-CDlFYuEg.mjs.map} +1 -1
- package/dist/{buildXdiSyncEndpoint-sYqyWMOz.mjs → buildXdiSyncEndpoint-Bmr-hWLk.mjs} +2 -2
- package/dist/{buildXdiSyncEndpoint-sYqyWMOz.mjs.map → buildXdiSyncEndpoint-Bmr-hWLk.mjs.map} +1 -1
- package/dist/{bulkRestartRequests-j6w5C-Yl.mjs → bulkRestartRequests-n2_EwVEM.mjs} +2 -2
- package/dist/{bulkRestartRequests-j6w5C-Yl.mjs.map → bulkRestartRequests-n2_EwVEM.mjs.map} +1 -1
- package/dist/{bulkRetryEnrichers-4f6JgEy5.mjs → bulkRetryEnrichers-DDftLRtp.mjs} +2 -2
- package/dist/{bulkRetryEnrichers-4f6JgEy5.mjs.map → bulkRetryEnrichers-DDftLRtp.mjs.map} +1 -1
- package/dist/{cancelPrivacyRequests-CuAvkjPr.mjs → cancelPrivacyRequests-CunKdVs6.mjs} +2 -2
- package/dist/{cancelPrivacyRequests-CuAvkjPr.mjs.map → cancelPrivacyRequests-CunKdVs6.mjs.map} +1 -1
- package/dist/codecs-HQHBtqht.mjs +2 -0
- package/dist/codecs-HQHBtqht.mjs.map +1 -0
- package/dist/{command-DwHmc02K.mjs → command-DO9AWMvB.mjs} +2 -2
- package/dist/{command-DwHmc02K.mjs.map → command-DO9AWMvB.mjs.map} +1 -1
- package/dist/{constants-ykNINvFg.mjs → constants-C9xZJ9YW.mjs} +2 -2
- package/dist/{constants-ykNINvFg.mjs.map → constants-C9xZJ9YW.mjs.map} +1 -1
- package/dist/{constants-B44yUGaB.mjs → constants-DNF09zFX.mjs} +3 -3
- package/dist/{constants-B44yUGaB.mjs.map → constants-DNF09zFX.mjs.map} +1 -1
- package/dist/constants-DR-hU9Xj.mjs +2 -0
- package/dist/constants-DR-hU9Xj.mjs.map +1 -0
- package/dist/{createExtraKeyHandler-CRxI4Ado.mjs → createExtraKeyHandler-DTbSbhrp.mjs} +2 -2
- package/dist/{createExtraKeyHandler-CRxI4Ado.mjs.map → createExtraKeyHandler-DTbSbhrp.mjs.map} +1 -1
- package/dist/{downloadPrivacyRequestFiles-ATBxJH1e.mjs → downloadPrivacyRequestFiles-AArYL4OL.mjs} +2 -2
- package/dist/{downloadPrivacyRequestFiles-ATBxJH1e.mjs.map → downloadPrivacyRequestFiles-AArYL4OL.mjs.map} +1 -1
- package/dist/enums-UlIe_AeF.mjs +2 -0
- package/dist/enums-UlIe_AeF.mjs.map +1 -0
- package/dist/{fetchAllRequests-Bya6iwzL.mjs → fetchAllRequests-DP24WqrP.mjs} +2 -2
- package/dist/{fetchAllRequests-Bya6iwzL.mjs.map → fetchAllRequests-DP24WqrP.mjs.map} +1 -1
- package/dist/{fuzzyMatchColumns-Ds0TqtJ5.mjs → fuzzyMatchColumns-C1STZ_T1.mjs} +2 -2
- package/dist/{fuzzyMatchColumns-Ds0TqtJ5.mjs.map → fuzzyMatchColumns-C1STZ_T1.mjs.map} +1 -1
- package/dist/{generateCrossAccountApiKeys-DshdzdNz.mjs → generateCrossAccountApiKeys-DfGJ8Svq.mjs} +2 -2
- package/dist/{generateCrossAccountApiKeys-DshdzdNz.mjs.map → generateCrossAccountApiKeys-DfGJ8Svq.mjs.map} +1 -1
- package/dist/{impl-CURLfWZf2.mjs → impl-4heSgrC92.mjs} +2 -2
- package/dist/{impl-CURLfWZf2.mjs.map → impl-4heSgrC92.mjs.map} +1 -1
- package/dist/{impl-CSJ2N_Ir2.mjs → impl-4oiDSr3J2.mjs} +2 -2
- package/dist/{impl-CSJ2N_Ir2.mjs.map → impl-4oiDSr3J2.mjs.map} +1 -1
- package/dist/{impl-DxedWglk.mjs → impl-8gLOHK9a.mjs} +2 -2
- package/dist/{impl-DxedWglk.mjs.map → impl-8gLOHK9a.mjs.map} +1 -1
- package/dist/{impl-XOp8GnrL.mjs → impl-B6kpEx0X.mjs} +2 -2
- package/dist/{impl-XOp8GnrL.mjs.map → impl-B6kpEx0X.mjs.map} +1 -1
- package/dist/{impl-C5RWQxAV.mjs → impl-BF9Ekyjn.mjs} +2 -2
- package/dist/{impl-C5RWQxAV.mjs.map → impl-BF9Ekyjn.mjs.map} +1 -1
- package/dist/{impl-CNMCdcui2.mjs → impl-BVh3JHAk2.mjs} +2 -2
- package/dist/{impl-CNMCdcui2.mjs.map → impl-BVh3JHAk2.mjs.map} +1 -1
- package/dist/{impl-Bu7tLm_r2.mjs → impl-BYtnm2cU2.mjs} +2 -2
- package/dist/{impl-Bu7tLm_r2.mjs.map → impl-BYtnm2cU2.mjs.map} +1 -1
- package/dist/{impl-Cr2Ir47_.mjs → impl-BZ-EmLtv.mjs} +2 -2
- package/dist/{impl-Cr2Ir47_.mjs.map → impl-BZ-EmLtv.mjs.map} +1 -1
- package/dist/{impl-BTVlQk44.mjs → impl-BZ4pxOP_.mjs} +2 -2
- package/dist/{impl-BTVlQk44.mjs.map → impl-BZ4pxOP_.mjs.map} +1 -1
- package/dist/{impl-CdZ-nr1b.mjs → impl-Bgg6AZQS.mjs} +4 -4
- package/dist/{impl-CdZ-nr1b.mjs.map → impl-Bgg6AZQS.mjs.map} +1 -1
- package/dist/{impl-C5qBXz5m.mjs → impl-Bu7iHn-Z.mjs} +2 -2
- package/dist/{impl-C5qBXz5m.mjs.map → impl-Bu7iHn-Z.mjs.map} +1 -1
- package/dist/{impl-BbIP694E.mjs → impl-BvLjryD7.mjs} +2 -2
- package/dist/{impl-BbIP694E.mjs.map → impl-BvLjryD7.mjs.map} +1 -1
- package/dist/{impl-BtuIVPDm2.mjs → impl-C3-twUUE2.mjs} +2 -2
- package/dist/{impl-BtuIVPDm2.mjs.map → impl-C3-twUUE2.mjs.map} +1 -1
- package/dist/{impl-D8O-FWCh2.mjs → impl-C6eLQ_5o2.mjs} +2 -2
- package/dist/{impl-D8O-FWCh2.mjs.map → impl-C6eLQ_5o2.mjs.map} +1 -1
- package/dist/{impl-BlLlNM7E.mjs → impl-C7-Z-9EZ.mjs} +2 -2
- package/dist/{impl-BlLlNM7E.mjs.map → impl-C7-Z-9EZ.mjs.map} +1 -1
- package/dist/{impl-CiA-v1ol.mjs → impl-C8azdMaD.mjs} +2 -2
- package/dist/{impl-CiA-v1ol.mjs.map → impl-C8azdMaD.mjs.map} +1 -1
- package/dist/{impl-BO2Eujga.mjs → impl-CIJjwRW4.mjs} +2 -2
- package/dist/{impl-BO2Eujga.mjs.map → impl-CIJjwRW4.mjs.map} +1 -1
- package/dist/{impl-DK3TWXv_.mjs → impl-Cqruzptc.mjs} +2 -2
- package/dist/{impl-DK3TWXv_.mjs.map → impl-Cqruzptc.mjs.map} +1 -1
- package/dist/{impl-z5dBnPm5.mjs → impl-CtbuXbCF.mjs} +3 -3
- package/dist/{impl-z5dBnPm5.mjs.map → impl-CtbuXbCF.mjs.map} +1 -1
- package/dist/{impl-BQw1FEg8.mjs → impl-CymJoQ9l.mjs} +2 -2
- package/dist/{impl-BQw1FEg8.mjs.map → impl-CymJoQ9l.mjs.map} +1 -1
- package/dist/{impl-BWenu3QG.mjs → impl-D-JYZ74k.mjs} +6 -6
- package/dist/{impl-BWenu3QG.mjs.map → impl-D-JYZ74k.mjs.map} +1 -1
- package/dist/impl-D53J7hI_.mjs +2 -0
- package/dist/{impl-pEfJLCEa.mjs.map → impl-D53J7hI_.mjs.map} +1 -1
- package/dist/{impl-C69Nh_YS.mjs → impl-D9VysVCe.mjs} +2 -2
- package/dist/{impl-C69Nh_YS.mjs.map → impl-D9VysVCe.mjs.map} +1 -1
- package/dist/{impl-DMtn2boK.mjs → impl-DUHcGmOB.mjs} +2 -2
- package/dist/{impl-DMtn2boK.mjs.map → impl-DUHcGmOB.mjs.map} +1 -1
- package/dist/impl-DgkExXp2.mjs +2 -0
- package/dist/{impl-DQ-kymSs.mjs.map → impl-DgkExXp2.mjs.map} +1 -1
- package/dist/{impl-BBV4vPP_2.mjs → impl-DjgE9MBH2.mjs} +2 -2
- package/dist/{impl-BBV4vPP_2.mjs.map → impl-DjgE9MBH2.mjs.map} +1 -1
- package/dist/{impl-g9N2A5pD2.mjs → impl-Dniv3dkB2.mjs} +2 -2
- package/dist/{impl-g9N2A5pD2.mjs.map → impl-Dniv3dkB2.mjs.map} +1 -1
- package/dist/{impl-CG447cmJ2.mjs → impl-DtJCihfL2.mjs} +2 -2
- package/dist/{impl-CG447cmJ2.mjs.map → impl-DtJCihfL2.mjs.map} +1 -1
- package/dist/{impl-D4Hkgaot2.mjs → impl-E2edQft02.mjs} +2 -2
- package/dist/{impl-D4Hkgaot2.mjs.map → impl-E2edQft02.mjs.map} +1 -1
- package/dist/{impl-DEMY1lQi2.mjs → impl-GnoT1LmK2.mjs} +2 -2
- package/dist/{impl-DEMY1lQi2.mjs.map → impl-GnoT1LmK2.mjs.map} +1 -1
- package/dist/{impl-DAw16pQt2.mjs → impl-HaxoPgWV2.mjs} +2 -2
- package/dist/{impl-DAw16pQt2.mjs.map → impl-HaxoPgWV2.mjs.map} +1 -1
- package/dist/{impl-BbYjouAP.mjs → impl-N_erRf2y.mjs} +2 -2
- package/dist/{impl-BbYjouAP.mjs.map → impl-N_erRf2y.mjs.map} +1 -1
- package/dist/{impl-BOQdMQ9g.mjs → impl-SESkv0Uk.mjs} +2 -2
- package/dist/{impl-BOQdMQ9g.mjs.map → impl-SESkv0Uk.mjs.map} +1 -1
- package/dist/{impl-CjEGfVkB2.mjs → impl-SauDltth2.mjs} +2 -2
- package/dist/{impl-CjEGfVkB2.mjs.map → impl-SauDltth2.mjs.map} +1 -1
- package/dist/{impl-Hh10oJIo2.mjs → impl-T66dFrc42.mjs} +2 -2
- package/dist/{impl-Hh10oJIo2.mjs.map → impl-T66dFrc42.mjs.map} +1 -1
- package/dist/{impl-C-OjUv4u.mjs → impl-U_CtHEj5.mjs} +2 -2
- package/dist/{impl-C-OjUv4u.mjs.map → impl-U_CtHEj5.mjs.map} +1 -1
- package/dist/{impl-B76khOE7.mjs → impl-Y2Gge5Bd.mjs} +2 -2
- package/dist/{impl-B76khOE7.mjs.map → impl-Y2Gge5Bd.mjs.map} +1 -1
- package/dist/{impl-YnuTTo-82.mjs → impl-dcRplDpN2.mjs} +2 -2
- package/dist/{impl-YnuTTo-82.mjs.map → impl-dcRplDpN2.mjs.map} +1 -1
- package/dist/{impl-DvbLtWTm.mjs → impl-gfNcn8cd.mjs} +2 -2
- package/dist/{impl-DvbLtWTm.mjs.map → impl-gfNcn8cd.mjs.map} +1 -1
- package/dist/{impl-DJC-VIp42.mjs → impl-nikMH0CU2.mjs} +2 -2
- package/dist/{impl-DJC-VIp42.mjs.map → impl-nikMH0CU2.mjs.map} +1 -1
- package/dist/{impl-DFS1gsy22.mjs → impl-qSB65eS52.mjs} +2 -2
- package/dist/{impl-DFS1gsy22.mjs.map → impl-qSB65eS52.mjs.map} +1 -1
- package/dist/{impl-Cp0-VLGQ.mjs → impl-vQQfP_hX.mjs} +2 -2
- package/dist/{impl-Cp0-VLGQ.mjs.map → impl-vQQfP_hX.mjs.map} +1 -1
- package/dist/{impl-BMHxBLc9.mjs → impl-y9YssNt_.mjs} +2 -2
- package/dist/{impl-BMHxBLc9.mjs.map → impl-y9YssNt_.mjs.map} +1 -1
- package/dist/index.d.mts +4 -562
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/dist/{inquirer-AEchly0b.mjs → inquirer-B0OF_nRe.mjs} +2 -2
- package/dist/{inquirer-AEchly0b.mjs.map → inquirer-B0OF_nRe.mjs.map} +1 -1
- package/dist/{markRequestDataSiloIdsCompleted-CBt4i1QN.mjs → markRequestDataSiloIdsCompleted-CklEg1h9.mjs} +2 -2
- package/dist/{markRequestDataSiloIdsCompleted-CBt4i1QN.mjs.map → markRequestDataSiloIdsCompleted-CklEg1h9.mjs.map} +1 -1
- package/dist/{markSilentPrivacyRequests-KZal6Opm.mjs → markSilentPrivacyRequests-C_Fc81_k.mjs} +2 -2
- package/dist/{markSilentPrivacyRequests-KZal6Opm.mjs.map → markSilentPrivacyRequests-C_Fc81_k.mjs.map} +1 -1
- package/dist/{notifyPrivacyRequestsAdditionalTime-B6TzDKUV.mjs → notifyPrivacyRequestsAdditionalTime-DEb7lcKx.mjs} +2 -2
- package/dist/{notifyPrivacyRequestsAdditionalTime-B6TzDKUV.mjs.map → notifyPrivacyRequestsAdditionalTime-DEb7lcKx.mjs.map} +1 -1
- package/dist/parseVariablesFromString-6ZwJyWSu.mjs +3 -0
- package/dist/parseVariablesFromString-6ZwJyWSu.mjs.map +1 -0
- package/dist/{pullChunkedCustomSiloOutstandingIdentifiers-A-Z4EQMp.mjs → pullChunkedCustomSiloOutstandingIdentifiers-DcSSx712.mjs} +2 -2
- package/dist/{pullChunkedCustomSiloOutstandingIdentifiers-A-Z4EQMp.mjs.map → pullChunkedCustomSiloOutstandingIdentifiers-DcSSx712.mjs.map} +1 -1
- package/dist/{pullManualEnrichmentIdentifiersToCsv-BzxaTka2.mjs → pullManualEnrichmentIdentifiersToCsv-CEtJleqX.mjs} +2 -2
- package/dist/{pullManualEnrichmentIdentifiersToCsv-BzxaTka2.mjs.map → pullManualEnrichmentIdentifiersToCsv-CEtJleqX.mjs.map} +1 -1
- package/dist/pullTranscendConfiguration-C21Yq51h.mjs +58 -0
- package/dist/pullTranscendConfiguration-C21Yq51h.mjs.map +1 -0
- package/dist/{pushCronIdentifiersFromCsv-p6h-NCbw.mjs → pushCronIdentifiersFromCsv-dCDnCM6Y.mjs} +2 -2
- package/dist/{pushCronIdentifiersFromCsv-p6h-NCbw.mjs.map → pushCronIdentifiersFromCsv-dCDnCM6Y.mjs.map} +1 -1
- package/dist/{pushManualEnrichmentIdentifiersFromCsv-HkQoMTNw.mjs → pushManualEnrichmentIdentifiersFromCsv-D6tsUf6k.mjs} +2 -2
- package/dist/{pushManualEnrichmentIdentifiersFromCsv-HkQoMTNw.mjs.map → pushManualEnrichmentIdentifiersFromCsv-D6tsUf6k.mjs.map} +1 -1
- package/dist/readCsv--FfP8n-H.mjs +2 -0
- package/dist/{readCsv-C84Jhrzx.mjs.map → readCsv--FfP8n-H.mjs.map} +1 -1
- package/dist/{readTranscendYaml-dI3G3Og9.mjs → readTranscendYaml-CWIS9ki1.mjs} +3 -3
- package/dist/{readTranscendYaml-dI3G3Og9.mjs.map → readTranscendYaml-CWIS9ki1.mjs.map} +1 -1
- package/dist/{removeUnverifiedRequestIdentifiers-Ba96pjVd.mjs → removeUnverifiedRequestIdentifiers-kGR-7H8G.mjs} +2 -2
- package/dist/{removeUnverifiedRequestIdentifiers-Ba96pjVd.mjs.map → removeUnverifiedRequestIdentifiers-kGR-7H8G.mjs.map} +1 -1
- package/dist/{retryRequestDataSilos-CHVwnmWX.mjs → retryRequestDataSilos-d8gzmd-2.mjs} +2 -2
- package/dist/{retryRequestDataSilos-CHVwnmWX.mjs.map → retryRequestDataSilos-d8gzmd-2.mjs.map} +1 -1
- package/dist/{skipPreflightJobs-BUkkg1Tu.mjs → skipPreflightJobs-B7C-mjSV.mjs} +2 -2
- package/dist/{skipPreflightJobs-BUkkg1Tu.mjs.map → skipPreflightJobs-B7C-mjSV.mjs.map} +1 -1
- package/dist/{skipRequestDataSilos-CiYe8sWw.mjs → skipRequestDataSilos-B5m8luWz.mjs} +2 -2
- package/dist/{skipRequestDataSilos-CiYe8sWw.mjs.map → skipRequestDataSilos-B5m8luWz.mjs.map} +1 -1
- package/dist/{streamPrivacyRequestsToCsv-C5s3sEvM.mjs → streamPrivacyRequestsToCsv-HwUKG1kF.mjs} +2 -2
- package/dist/{streamPrivacyRequestsToCsv-C5s3sEvM.mjs.map → streamPrivacyRequestsToCsv-HwUKG1kF.mjs.map} +1 -1
- package/dist/{updateConsentManagerVersionToLatest-CcKQntwQ.mjs → updateConsentManagerVersionToLatest-B9RIn1o-.mjs} +2 -2
- package/dist/{updateConsentManagerVersionToLatest-CcKQntwQ.mjs.map → updateConsentManagerVersionToLatest-B9RIn1o-.mjs.map} +1 -1
- package/dist/{uploadConsents-CzKKRVfa.mjs → uploadConsents-Cbn0O4fM.mjs} +2 -2
- package/dist/{uploadConsents-CzKKRVfa.mjs.map → uploadConsents-Cbn0O4fM.mjs.map} +1 -1
- package/dist/{uploadCookiesFromCsv-DGL_OBLV.mjs → uploadCookiesFromCsv-r8mTeMe9.mjs} +2 -2
- package/dist/{uploadCookiesFromCsv-DGL_OBLV.mjs.map → uploadCookiesFromCsv-r8mTeMe9.mjs.map} +1 -1
- package/dist/{uploadDataFlowsFromCsv-BfRys5XH.mjs → uploadDataFlowsFromCsv-BsBay5Vi.mjs} +2 -2
- package/dist/{uploadDataFlowsFromCsv-BfRys5XH.mjs.map → uploadDataFlowsFromCsv-BsBay5Vi.mjs.map} +1 -1
- package/dist/{uploadPrivacyRequestsFromCsv-6Q7zYhbN.mjs → uploadPrivacyRequestsFromCsv-B0hRYldF.mjs} +2 -2
- package/dist/{uploadPrivacyRequestsFromCsv-6Q7zYhbN.mjs.map → uploadPrivacyRequestsFromCsv-B0hRYldF.mjs.map} +1 -1
- package/dist/validateTranscendAuth-CbYKgCP5.mjs +2 -0
- package/dist/{validateTranscendAuth-DhzCBA3F.mjs.map → validateTranscendAuth-CbYKgCP5.mjs.map} +1 -1
- package/package.json +5 -7
- package/dist/codecs-Dch3sv5m.mjs +0 -2
- package/dist/codecs-Dch3sv5m.mjs.map +0 -1
- package/dist/constants-KDQK82Fx.mjs +0 -2
- package/dist/constants-KDQK82Fx.mjs.map +0 -1
- package/dist/enums-BymyVyqr.mjs +0 -2
- package/dist/enums-BymyVyqr.mjs.map +0 -1
- package/dist/impl-DQ-kymSs.mjs +0 -2
- package/dist/impl-pEfJLCEa.mjs +0 -2
- package/dist/parseVariablesFromString-RM3zV9Av.mjs +0 -3
- package/dist/parseVariablesFromString-RM3zV9Av.mjs.map +0 -1
- package/dist/pullTranscendConfiguration-C2LAOKG4.mjs +0 -58
- package/dist/pullTranscendConfiguration-C2LAOKG4.mjs.map +0 -1
- package/dist/readCsv-C84Jhrzx.mjs +0 -2
- package/dist/validateTranscendAuth-DhzCBA3F.mjs +0 -2
package/dist/index.d.mts
CHANGED
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
import { CommandContext } from "@stricli/core";
|
|
2
2
|
import { StricliAutoCompleteContext } from "@stricli/auto-complete";
|
|
3
|
-
import { AssessmentFormTemplateSource, AssessmentFormTemplateStatus, CodePackageType, ConsentBundleType, ConsentManagerMetricBin, ConsentTrackerStatus, DataCategoryType, IdentifierType,
|
|
4
|
-
import { ObjByString, Optionalize, Requirize } from "@transcend-io/type-utils";
|
|
3
|
+
import { AssessmentFormTemplateSource, AssessmentFormTemplateStatus, CodePackageType, ConsentBundleType, ConsentManagerMetricBin, ConsentTrackerStatus, DataCategoryType, IdentifierType, LogicOperator, RequestAction, RequestDataSiloStatus, RequestEnricherStatus, RequestOrigin, RequestStatus, RestartIdentifierStrategy, ScopeDefinition, ScopeName, SubDataPointDataSubCategoryGuessStatus, UnstructuredSubDataPointRecommendationStatus } from "@transcend-io/privacy-types";
|
|
5
4
|
import { Got } from "got";
|
|
5
|
+
import { ObjByString } from "@transcend-io/type-utils";
|
|
6
6
|
import * as t from "io-ts";
|
|
7
|
-
import {
|
|
7
|
+
import { ApiKey, AssessmentSection, AttributeKey, CodePackage, ConsentManagerMetric, DataSiloAttributeValue, DataSubject, RequestEnricher, RequestIdentifier, RetentionSchedule, UserPreview } from "@transcend-io/sdk";
|
|
8
8
|
import { Logger, SyncResult } from "@transcend-io/utils";
|
|
9
9
|
import inquirer from "inquirer";
|
|
10
10
|
import { GraphQLClient } from "graphql-request";
|
|
11
11
|
import * as _$io_ts_types0 from "io-ts-types";
|
|
12
12
|
import { PersistedState } from "@transcend-io/persisted-state";
|
|
13
|
-
import { Handlebars, HandlebarsInput } from "@transcend-io/handlebars-utils";
|
|
14
13
|
import { Options } from "csv-parse";
|
|
15
14
|
import { DuckDBInstance } from "@duckdb/node-api";
|
|
16
|
-
import { Secret } from "@transcend-io/secret-value";
|
|
17
15
|
|
|
18
16
|
//#region src/codecs.d.ts
|
|
19
17
|
/**
|
|
@@ -137,8 +135,6 @@ declare const TeamInput: t.IntersectionC<[t.TypeC<{
|
|
|
137
135
|
executeAuditor: unknown;
|
|
138
136
|
viewCodeScanning: unknown;
|
|
139
137
|
manageCodeScanning: unknown;
|
|
140
|
-
viewPathfinder: unknown;
|
|
141
|
-
managePathfinder: unknown;
|
|
142
138
|
viewContractScanning: unknown;
|
|
143
139
|
manageContractScanning: unknown;
|
|
144
140
|
viewAuditorRuns: unknown;
|
|
@@ -5851,84 +5847,6 @@ declare const AttributePreview: t.TypeC<{
|
|
|
5851
5847
|
}>;
|
|
5852
5848
|
/** Type override */
|
|
5853
5849
|
type AttributePreview = t.TypeOf<typeof AttributePreview>;
|
|
5854
|
-
/**
|
|
5855
|
-
* Agent type definition.
|
|
5856
|
-
*/
|
|
5857
|
-
declare const AgentInput: t.IntersectionC<[t.TypeC<{
|
|
5858
|
-
/** The name of the agent. */name: t.StringC; /** The instructions of the agent. */
|
|
5859
|
-
instructions: t.StringC; /** The ID of the agent */
|
|
5860
|
-
agentId: t.StringC; /** Whether the agent has code interpreter enabled */
|
|
5861
|
-
codeInterpreterEnabled: t.BooleanC; /** Whether the agent has retrieval enabled */
|
|
5862
|
-
retrievalEnabled: t.BooleanC; /** Large language model powering the agent */
|
|
5863
|
-
'large-language-model': t.TypeC<{
|
|
5864
|
-
/** Name of the model */name: t.StringC; /** Client of the model */
|
|
5865
|
-
client: t.KeyofC<{
|
|
5866
|
-
openai: unknown;
|
|
5867
|
-
claude: unknown;
|
|
5868
|
-
llama: unknown;
|
|
5869
|
-
}>;
|
|
5870
|
-
}>;
|
|
5871
|
-
}>, t.PartialC<{
|
|
5872
|
-
/** The description of the agent. */description: t.StringC; /** The title of the prompt that the agent is based on */
|
|
5873
|
-
prompt: t.StringC;
|
|
5874
|
-
/**
|
|
5875
|
-
* The email addresses of the employees within your company that are the go-to individuals
|
|
5876
|
-
* for managing this agent
|
|
5877
|
-
*/
|
|
5878
|
-
owners: t.ArrayC<t.StringC>;
|
|
5879
|
-
/**
|
|
5880
|
-
* The names of teams within your Transcend instance that should be responsible
|
|
5881
|
-
* for managing this agent
|
|
5882
|
-
*
|
|
5883
|
-
* @see https://docs.transcend.io/docs/security/access-control#teams
|
|
5884
|
-
* for more information about how to create and manage teams
|
|
5885
|
-
*/
|
|
5886
|
-
teams: t.ArrayC<t.StringC>;
|
|
5887
|
-
/**
|
|
5888
|
-
* The names of the functions that the agent has access to
|
|
5889
|
-
*/
|
|
5890
|
-
'agent-functions': t.ArrayC<t.StringC>;
|
|
5891
|
-
/**
|
|
5892
|
-
* The names of the files that the agent has access to for retrieval
|
|
5893
|
-
*/
|
|
5894
|
-
'agent-files': t.ArrayC<t.StringC>;
|
|
5895
|
-
}>]>;
|
|
5896
|
-
/**
|
|
5897
|
-
* Type override
|
|
5898
|
-
*/
|
|
5899
|
-
type AgentInput = t.TypeOf<typeof AgentInput>;
|
|
5900
|
-
/**
|
|
5901
|
-
* AgentFunction type definition.
|
|
5902
|
-
*/
|
|
5903
|
-
declare const AgentFunctionInput: t.TypeC<{
|
|
5904
|
-
/** Name of the agentFunction */name: t.StringC; /** Description of the agentFunction */
|
|
5905
|
-
description: t.StringC; /** The JSON schema */
|
|
5906
|
-
parameters: t.StringC;
|
|
5907
|
-
}>;
|
|
5908
|
-
/**
|
|
5909
|
-
* Type override
|
|
5910
|
-
*/
|
|
5911
|
-
type AgentFunctionInput = t.TypeOf<typeof AgentFunctionInput>;
|
|
5912
|
-
/**
|
|
5913
|
-
* AgentFile type definition.
|
|
5914
|
-
*/
|
|
5915
|
-
declare const AgentFileInput: t.IntersectionC<[t.TypeC<{
|
|
5916
|
-
/** Name of the agentFile */name: t.StringC; /** File ID */
|
|
5917
|
-
fileId: t.StringC; /** File size */
|
|
5918
|
-
size: t.NumberC; /** File purpose */
|
|
5919
|
-
purpose: t.KeyofC<{
|
|
5920
|
-
ASSISTANTS: unknown;
|
|
5921
|
-
FINE_TUNE: unknown;
|
|
5922
|
-
FINE_TUNE_RESULTS: unknown;
|
|
5923
|
-
ASSISTANTS_OUTPUT: unknown;
|
|
5924
|
-
}>;
|
|
5925
|
-
}>, t.PartialC<{
|
|
5926
|
-
/** Description of the agentFile */description: t.StringC;
|
|
5927
|
-
}>]>;
|
|
5928
|
-
/**
|
|
5929
|
-
* Type override
|
|
5930
|
-
*/
|
|
5931
|
-
type AgentFileInput = t.TypeOf<typeof AgentFileInput>;
|
|
5932
5850
|
/**
|
|
5933
5851
|
* Vendor type definition.
|
|
5934
5852
|
*/
|
|
@@ -63906,7 +63824,6 @@ declare const ActionItemCollectionInput: t.IntersectionC<[t.TypeC<{
|
|
|
63906
63824
|
PRIVACY_CENTER: unknown;
|
|
63907
63825
|
ADMINISTRATION: unknown;
|
|
63908
63826
|
ASSESSMENTS: unknown;
|
|
63909
|
-
PATHFINDER: unknown;
|
|
63910
63827
|
PREFERENCE_MANAGEMENT: unknown;
|
|
63911
63828
|
PROMPT_MANAGER: unknown;
|
|
63912
63829
|
CONTRACT_SCANNING: unknown;
|
|
@@ -81543,7 +81460,6 @@ declare const TranscendInput: t.PartialC<{
|
|
|
81543
81460
|
PRIVACY_CENTER: unknown;
|
|
81544
81461
|
ADMINISTRATION: unknown;
|
|
81545
81462
|
ASSESSMENTS: unknown;
|
|
81546
|
-
PATHFINDER: unknown;
|
|
81547
81463
|
PREFERENCE_MANAGEMENT: unknown;
|
|
81548
81464
|
PROMPT_MANAGER: unknown;
|
|
81549
81465
|
CONTRACT_SCANNING: unknown;
|
|
@@ -81649,8 +81565,6 @@ declare const TranscendInput: t.PartialC<{
|
|
|
81649
81565
|
executeAuditor: unknown;
|
|
81650
81566
|
viewCodeScanning: unknown;
|
|
81651
81567
|
manageCodeScanning: unknown;
|
|
81652
|
-
viewPathfinder: unknown;
|
|
81653
|
-
managePathfinder: unknown;
|
|
81654
81568
|
viewContractScanning: unknown;
|
|
81655
81569
|
manageContractScanning: unknown;
|
|
81656
81570
|
viewAuditorRuns: unknown;
|
|
@@ -121277,72 +121191,6 @@ declare const TranscendInput: t.PartialC<{
|
|
|
121277
121191
|
description: t.StringC; /** The titles of the prompts included. */
|
|
121278
121192
|
prompts: t.ArrayC<t.StringC>;
|
|
121279
121193
|
}>>;
|
|
121280
|
-
/**
|
|
121281
|
-
* Agent definitions
|
|
121282
|
-
*/
|
|
121283
|
-
agents: t.ArrayC<t.IntersectionC<[t.TypeC<{
|
|
121284
|
-
/** The name of the agent. */name: t.StringC; /** The instructions of the agent. */
|
|
121285
|
-
instructions: t.StringC; /** The ID of the agent */
|
|
121286
|
-
agentId: t.StringC; /** Whether the agent has code interpreter enabled */
|
|
121287
|
-
codeInterpreterEnabled: t.BooleanC; /** Whether the agent has retrieval enabled */
|
|
121288
|
-
retrievalEnabled: t.BooleanC; /** Large language model powering the agent */
|
|
121289
|
-
'large-language-model': t.TypeC<{
|
|
121290
|
-
/** Name of the model */name: t.StringC; /** Client of the model */
|
|
121291
|
-
client: t.KeyofC<{
|
|
121292
|
-
openai: unknown;
|
|
121293
|
-
claude: unknown;
|
|
121294
|
-
llama: unknown;
|
|
121295
|
-
}>;
|
|
121296
|
-
}>;
|
|
121297
|
-
}>, t.PartialC<{
|
|
121298
|
-
/** The description of the agent. */description: t.StringC; /** The title of the prompt that the agent is based on */
|
|
121299
|
-
prompt: t.StringC;
|
|
121300
|
-
/**
|
|
121301
|
-
* The email addresses of the employees within your company that are the go-to individuals
|
|
121302
|
-
* for managing this agent
|
|
121303
|
-
*/
|
|
121304
|
-
owners: t.ArrayC<t.StringC>;
|
|
121305
|
-
/**
|
|
121306
|
-
* The names of teams within your Transcend instance that should be responsible
|
|
121307
|
-
* for managing this agent
|
|
121308
|
-
*
|
|
121309
|
-
* @see https://docs.transcend.io/docs/security/access-control#teams
|
|
121310
|
-
* for more information about how to create and manage teams
|
|
121311
|
-
*/
|
|
121312
|
-
teams: t.ArrayC<t.StringC>;
|
|
121313
|
-
/**
|
|
121314
|
-
* The names of the functions that the agent has access to
|
|
121315
|
-
*/
|
|
121316
|
-
'agent-functions': t.ArrayC<t.StringC>;
|
|
121317
|
-
/**
|
|
121318
|
-
* The names of the files that the agent has access to for retrieval
|
|
121319
|
-
*/
|
|
121320
|
-
'agent-files': t.ArrayC<t.StringC>;
|
|
121321
|
-
}>]>>;
|
|
121322
|
-
/**
|
|
121323
|
-
* Agent function definitions
|
|
121324
|
-
*/
|
|
121325
|
-
'agent-functions': t.ArrayC<t.TypeC<{
|
|
121326
|
-
/** Name of the agentFunction */name: t.StringC; /** Description of the agentFunction */
|
|
121327
|
-
description: t.StringC; /** The JSON schema */
|
|
121328
|
-
parameters: t.StringC;
|
|
121329
|
-
}>>;
|
|
121330
|
-
/**
|
|
121331
|
-
* Agent file definitions
|
|
121332
|
-
*/
|
|
121333
|
-
'agent-files': t.ArrayC<t.IntersectionC<[t.TypeC<{
|
|
121334
|
-
/** Name of the agentFile */name: t.StringC; /** File ID */
|
|
121335
|
-
fileId: t.StringC; /** File size */
|
|
121336
|
-
size: t.NumberC; /** File purpose */
|
|
121337
|
-
purpose: t.KeyofC<{
|
|
121338
|
-
ASSISTANTS: unknown;
|
|
121339
|
-
FINE_TUNE: unknown;
|
|
121340
|
-
FINE_TUNE_RESULTS: unknown;
|
|
121341
|
-
ASSISTANTS_OUTPUT: unknown;
|
|
121342
|
-
}>;
|
|
121343
|
-
}>, t.PartialC<{
|
|
121344
|
-
/** Description of the agentFile */description: t.StringC;
|
|
121345
|
-
}>]>>;
|
|
121346
121194
|
/**
|
|
121347
121195
|
* The privacy center configuration
|
|
121348
121196
|
*/
|
|
@@ -150117,121 +149965,6 @@ declare const ConsentManagerServiceMetadata: t.TypeC<{
|
|
|
150117
149965
|
}>;
|
|
150118
149966
|
/** Type override */
|
|
150119
149967
|
type ConsentManagerServiceMetadata = t.TypeOf<typeof ConsentManagerServiceMetadata>;
|
|
150120
|
-
declare const PathfinderPolicyNameC: t.KeyofC<{
|
|
150121
|
-
redactEmail: unknown;
|
|
150122
|
-
log: unknown;
|
|
150123
|
-
logToTranscend: unknown;
|
|
150124
|
-
applyTranscendPolicies: unknown;
|
|
150125
|
-
}>;
|
|
150126
|
-
/** the codec of a route enabled in an AI integration */
|
|
150127
|
-
type EnabledRouteC<T extends t.Mixed> = t.TypeC<{
|
|
150128
|
-
/** the name of the enabled route */routeName: T; /** the enabled policies */
|
|
150129
|
-
enabledPolicies: t.ArrayC<typeof PathfinderPolicyNameC>;
|
|
150130
|
-
}>;
|
|
150131
|
-
/** the codec of routes enabled in an AI integration */
|
|
150132
|
-
type EnabledRoutesC<T extends t.Mixed> = t.ArrayC<EnabledRouteC<T>>;
|
|
150133
|
-
/** the codec of an AI Integration */
|
|
150134
|
-
type AIIntegrationC<T extends t.Mixed> = t.TypeC<{
|
|
150135
|
-
/** the routes enabled in the AI integration */enabledRoutes: EnabledRoutesC<T>;
|
|
150136
|
-
}>;
|
|
150137
|
-
declare const OpenAIEnabledRoute: EnabledRouteC<t.KeyofC<{
|
|
150138
|
-
"/v1/chat/completions": unknown;
|
|
150139
|
-
"/v1/embeddings": unknown;
|
|
150140
|
-
"/v1/completions": unknown;
|
|
150141
|
-
"/v1/assistants": unknown;
|
|
150142
|
-
"/v1/assistants/:assistantId": unknown;
|
|
150143
|
-
"/v1/threads": unknown;
|
|
150144
|
-
"/v1/threads/:threadId": unknown;
|
|
150145
|
-
"/v1/threads/:threadId/messages": unknown;
|
|
150146
|
-
"/v1/threads/:threadId/messages/:messageId": unknown;
|
|
150147
|
-
"/v1/threads/:threadId/runs": unknown;
|
|
150148
|
-
"/v1/threads/:threadId/runs/:runId": unknown;
|
|
150149
|
-
"/v1/files": unknown;
|
|
150150
|
-
"/v1/files/:fileId": unknown;
|
|
150151
|
-
}>>;
|
|
150152
|
-
/** Type override */
|
|
150153
|
-
type OpenAIEnabledRoute = t.TypeOf<typeof OpenAIEnabledRoute>;
|
|
150154
|
-
declare const OpenAIRouteNameC: t.KeyofC<{
|
|
150155
|
-
"/v1/chat/completions": unknown;
|
|
150156
|
-
"/v1/embeddings": unknown;
|
|
150157
|
-
"/v1/completions": unknown;
|
|
150158
|
-
"/v1/assistants": unknown;
|
|
150159
|
-
"/v1/assistants/:assistantId": unknown;
|
|
150160
|
-
"/v1/threads": unknown;
|
|
150161
|
-
"/v1/threads/:threadId": unknown;
|
|
150162
|
-
"/v1/threads/:threadId/messages": unknown;
|
|
150163
|
-
"/v1/threads/:threadId/messages/:messageId": unknown;
|
|
150164
|
-
"/v1/threads/:threadId/runs": unknown;
|
|
150165
|
-
"/v1/threads/:threadId/runs/:runId": unknown;
|
|
150166
|
-
"/v1/files": unknown;
|
|
150167
|
-
"/v1/files/:fileId": unknown;
|
|
150168
|
-
}>;
|
|
150169
|
-
/** The enabled routes for OpenAI */
|
|
150170
|
-
declare const OpenAIEnabledRoutes: EnabledRoutesC<typeof OpenAIRouteNameC>;
|
|
150171
|
-
/** Type override */
|
|
150172
|
-
type OpenAIEnabledRoutes = t.TypeOf<typeof OpenAIEnabledRoutes>;
|
|
150173
|
-
declare const OpenAIIntegration: AIIntegrationC<t.KeyofC<{
|
|
150174
|
-
"/v1/chat/completions": unknown;
|
|
150175
|
-
"/v1/embeddings": unknown;
|
|
150176
|
-
"/v1/completions": unknown;
|
|
150177
|
-
"/v1/assistants": unknown;
|
|
150178
|
-
"/v1/assistants/:assistantId": unknown;
|
|
150179
|
-
"/v1/threads": unknown;
|
|
150180
|
-
"/v1/threads/:threadId": unknown;
|
|
150181
|
-
"/v1/threads/:threadId/messages": unknown;
|
|
150182
|
-
"/v1/threads/:threadId/messages/:messageId": unknown;
|
|
150183
|
-
"/v1/threads/:threadId/runs": unknown;
|
|
150184
|
-
"/v1/threads/:threadId/runs/:runId": unknown;
|
|
150185
|
-
"/v1/files": unknown;
|
|
150186
|
-
"/v1/files/:fileId": unknown;
|
|
150187
|
-
}>>;
|
|
150188
|
-
/** Type override */
|
|
150189
|
-
type OpenAIIntegration = t.TypeOf<typeof OpenAIIntegration>;
|
|
150190
|
-
declare const PathfinderPolicy: t.PartialC<{
|
|
150191
|
-
enabledIntegrations: t.PartialC<{
|
|
150192
|
-
openAI: AIIntegrationC<t.KeyofC<{
|
|
150193
|
-
"/v1/chat/completions": unknown;
|
|
150194
|
-
"/v1/embeddings": unknown;
|
|
150195
|
-
"/v1/completions": unknown;
|
|
150196
|
-
"/v1/assistants": unknown;
|
|
150197
|
-
"/v1/assistants/:assistantId": unknown;
|
|
150198
|
-
"/v1/threads": unknown;
|
|
150199
|
-
"/v1/threads/:threadId": unknown;
|
|
150200
|
-
"/v1/threads/:threadId/messages": unknown;
|
|
150201
|
-
"/v1/threads/:threadId/messages/:messageId": unknown;
|
|
150202
|
-
"/v1/threads/:threadId/runs": unknown;
|
|
150203
|
-
"/v1/threads/:threadId/runs/:runId": unknown;
|
|
150204
|
-
"/v1/files": unknown;
|
|
150205
|
-
"/v1/files/:fileId": unknown;
|
|
150206
|
-
}>>;
|
|
150207
|
-
}>;
|
|
150208
|
-
}>;
|
|
150209
|
-
/** Type override */
|
|
150210
|
-
type PathfinderPolicy = t.TypeOf<typeof PathfinderPolicy>;
|
|
150211
|
-
/**
|
|
150212
|
-
* Interface of metadata that can be passed for logging purposes
|
|
150213
|
-
* via the Transcend Pathfinder
|
|
150214
|
-
*/
|
|
150215
|
-
declare const PathfinderPromptRunMetadata: t.PartialC<{
|
|
150216
|
-
/** Unique name for the current prompt run */promptRunName: t.StringC; /** ID of the Transcend prompt being reported */
|
|
150217
|
-
promptId: t.StringC; /** Title of the prompt being reported on */
|
|
150218
|
-
promptTitle: t.StringC; /** The ID of the prompt group being reported */
|
|
150219
|
-
promptGroupId: t.StringC; /** The title of the prompt group being reported */
|
|
150220
|
-
promptGroupTitle: t.StringC; /** Employee email that is executing the request */
|
|
150221
|
-
runByEmployeeEmail: t.StringC; /** ID of the application calling pathfinder */
|
|
150222
|
-
applicationId: t.StringC; /** Name of the application calling pathfinder */
|
|
150223
|
-
applicationName: t.StringC; /** Name of the code package calling pathfinder */
|
|
150224
|
-
codePackageName: t.StringC; /** Name of the repository calling pathfinder */
|
|
150225
|
-
repositoryName: t.StringC; /** Core identifier of the application user being reported on */
|
|
150226
|
-
applicationUserCoreIdentifier: t.StringC; /** Name of the application user being reported on */
|
|
150227
|
-
applicationUserName: t.StringC; /** Slack message ts that is in context of the API call */
|
|
150228
|
-
slackMessageTs: t.StringC; /** Slack team ID in context of the API call */
|
|
150229
|
-
slackTeamId: t.StringC; /** Slack channel ID in context of the API call */
|
|
150230
|
-
slackChannelId: t.StringC; /** Slack channel name in context of the API call */
|
|
150231
|
-
slackChannelName: t.StringC;
|
|
150232
|
-
}>;
|
|
150233
|
-
/** Type override */
|
|
150234
|
-
type PathfinderPromptRunMetadata = t.TypeOf<typeof PathfinderPromptRunMetadata>;
|
|
150235
149968
|
/** Input for importing multiple OneTrust assessment forms into Transcend */
|
|
150236
149969
|
declare const ImportOnetrustAssessmentsInput: t.PartialC<{
|
|
150237
149970
|
/** 'The rows of the CSV file.' */rows: t.ArrayC<t.TypeC<{
|
|
@@ -150285,9 +150018,6 @@ declare enum TranscendPullResource {
|
|
|
150285
150018
|
Prompts = "prompts",
|
|
150286
150019
|
PromptPartials = "promptPartials",
|
|
150287
150020
|
PromptGroups = "promptGroups",
|
|
150288
|
-
Agents = "agents",
|
|
150289
|
-
AgentFunctions = "agentFunctions",
|
|
150290
|
-
AgentFiles = "agentFiles",
|
|
150291
150021
|
Vendors = "vendors",
|
|
150292
150022
|
DataCategories = "dataCategories",
|
|
150293
150023
|
ProcessingPurposes = "processingPurposes",
|
|
@@ -150305,42 +150035,6 @@ declare enum TranscendPullResource {
|
|
|
150305
150035
|
PreferenceWorkflowConfigs = "preferenceWorkflowConfigs",
|
|
150306
150036
|
WorkflowConfigs = "workflowConfigs"
|
|
150307
150037
|
}
|
|
150308
|
-
/**
|
|
150309
|
-
* Names of built in policies for pathfinder
|
|
150310
|
-
*/
|
|
150311
|
-
declare const PathfinderPolicyName: {
|
|
150312
|
-
RedactEmail: "redactEmail";
|
|
150313
|
-
Log: "log";
|
|
150314
|
-
LogToTranscend: "logToTranscend";
|
|
150315
|
-
ApplyTranscendPolicies: "applyTranscendPolicies";
|
|
150316
|
-
};
|
|
150317
|
-
/**
|
|
150318
|
-
* Type override
|
|
150319
|
-
*/
|
|
150320
|
-
type PathfinderPolicyName = (typeof PathfinderPolicyName)[keyof typeof PathfinderPolicyName];
|
|
150321
|
-
/**
|
|
150322
|
-
* The names of the OpenAI routes that we support setting policies for
|
|
150323
|
-
* reference: https://platform.openai.com/docs/api-reference/introduction
|
|
150324
|
-
*/
|
|
150325
|
-
declare const OpenAIRouteName: {
|
|
150326
|
-
ChatCompletion: "/v1/chat/completions";
|
|
150327
|
-
Embeddings: "/v1/embeddings";
|
|
150328
|
-
Completions: "/v1/completions";
|
|
150329
|
-
Agents: "/v1/assistants";
|
|
150330
|
-
Agent: "/v1/assistants/:assistantId";
|
|
150331
|
-
Threads: "/v1/threads";
|
|
150332
|
-
Thread: "/v1/threads/:threadId";
|
|
150333
|
-
Messages: "/v1/threads/:threadId/messages";
|
|
150334
|
-
Message: "/v1/threads/:threadId/messages/:messageId";
|
|
150335
|
-
Runs: "/v1/threads/:threadId/runs";
|
|
150336
|
-
Run: "/v1/threads/:threadId/runs/:runId";
|
|
150337
|
-
Files: "/v1/files";
|
|
150338
|
-
File: "/v1/files/:fileId";
|
|
150339
|
-
};
|
|
150340
|
-
/**
|
|
150341
|
-
* Type override
|
|
150342
|
-
*/
|
|
150343
|
-
type OpenAIRouteName = (typeof OpenAIRouteName)[keyof typeof OpenAIRouteName];
|
|
150344
150038
|
//#endregion
|
|
150345
150039
|
//#region src/lib/readTranscendYaml.d.ts
|
|
150346
150040
|
declare const VARIABLE_PARAMETERS_REGEXP: RegExp;
|
|
@@ -174323,32 +174017,6 @@ declare function uploadConsents({
|
|
|
174323
174017
|
concurrency?: number;
|
|
174324
174018
|
}): Promise<void>;
|
|
174325
174019
|
//#endregion
|
|
174326
|
-
//#region src/lib/helpers/buildAIIntegrationType.d.ts
|
|
174327
|
-
/**
|
|
174328
|
-
* Helper to build a custom io-ts type representing an AIIntegration
|
|
174329
|
-
*
|
|
174330
|
-
* @param TEnabledRoutes - the type of the enabledRoutes for the AIIntegration type
|
|
174331
|
-
* @returns an AIIntegration type
|
|
174332
|
-
*/
|
|
174333
|
-
declare const buildAIIntegrationType: <T extends t.Mixed, P extends t.ArrayC<EnabledRouteC<T>>>({
|
|
174334
|
-
TEnabledRoutes
|
|
174335
|
-
}: {
|
|
174336
|
-
/** the type of the enabledRoutes property */TEnabledRoutes: P;
|
|
174337
|
-
}) => AIIntegrationC<T>;
|
|
174338
|
-
//#endregion
|
|
174339
|
-
//#region src/lib/helpers/buildEnabledRouteType.d.ts
|
|
174340
|
-
/**
|
|
174341
|
-
* Builds a custom io-ts type that represents a route allowed by the proxy
|
|
174342
|
-
*
|
|
174343
|
-
* @param TRouteName - the string with the name of the allowed route
|
|
174344
|
-
* @returns custom io-ts AllowedRoute type
|
|
174345
|
-
*/
|
|
174346
|
-
declare const buildEnabledRouteType: <T extends t.Mixed>({
|
|
174347
|
-
TRouteName
|
|
174348
|
-
}: {
|
|
174349
|
-
/** the type of the routeName property */TRouteName: T;
|
|
174350
|
-
}) => EnabledRouteC<T>;
|
|
174351
|
-
//#endregion
|
|
174352
174020
|
//#region src/lib/helpers/inquirer.d.ts
|
|
174353
174021
|
/**
|
|
174354
174022
|
* Inquirer confirm text
|
|
@@ -174795,232 +174463,6 @@ declare function listFiles(directory: string, validExtensions?: string[], remove
|
|
|
174795
174463
|
*/
|
|
174796
174464
|
declare function listDirectories(startDir: string): string[];
|
|
174797
174465
|
//#endregion
|
|
174798
|
-
//#region src/lib/ai/TranscendPromptManager.d.ts
|
|
174799
|
-
/**
|
|
174800
|
-
* An LLM Prompt definition
|
|
174801
|
-
*/
|
|
174802
|
-
type TranscendPrompt<TInputParams extends t.Any, TOutputCodec extends t.Any> = ({
|
|
174803
|
-
/** ID of the prompt */id: string; /** Title of the prompt */
|
|
174804
|
-
title?: string;
|
|
174805
|
-
} | {
|
|
174806
|
-
/** ID of the prompt */id?: string; /** Title of the prompt */
|
|
174807
|
-
title: string;
|
|
174808
|
-
}) & {
|
|
174809
|
-
/** The names of the agents that should be loaded along with the prompt */agentNames?: string[]; /** Codec to validate runtime input shape */
|
|
174810
|
-
paramCodec: TInputParams; /** Codec to validate output response */
|
|
174811
|
-
outputCodec: TOutputCodec;
|
|
174812
|
-
/**
|
|
174813
|
-
* If the output that needs to be parsed is returned within a tag
|
|
174814
|
-
* e.g. <tag> or <json> - this is the name of the tag
|
|
174815
|
-
*/
|
|
174816
|
-
extractFromTag?: string;
|
|
174817
|
-
};
|
|
174818
|
-
interface PromptRunResult {
|
|
174819
|
-
/** The ID of the prompt run created on Transcend */
|
|
174820
|
-
promptRunId: string;
|
|
174821
|
-
/** The URL of the prompt run on Transcend */
|
|
174822
|
-
promptRunUrl: string;
|
|
174823
|
-
}
|
|
174824
|
-
/**
|
|
174825
|
-
* Create a regex to extract data from a tag
|
|
174826
|
-
*
|
|
174827
|
-
* Input:
|
|
174828
|
-
* "here is some data <tag>Data</tag>..."
|
|
174829
|
-
*
|
|
174830
|
-
* @param tagName - Name of tag
|
|
174831
|
-
* @returns Data within the tag
|
|
174832
|
-
*/
|
|
174833
|
-
declare function createRegexForTag(tagName: string): RegExp;
|
|
174834
|
-
/**
|
|
174835
|
-
* Helper function to declare prompts
|
|
174836
|
-
*
|
|
174837
|
-
* @param prompts - Prompt config
|
|
174838
|
-
* @returns Prompts as identity function - but type enforced
|
|
174839
|
-
*/
|
|
174840
|
-
declare function defineTranscendPrompts<TPromptNames extends string, TPrompts extends { [k in TPromptNames]: TranscendPrompt<t.Any, t.Any> }>(prompts: TPrompts): TPrompts;
|
|
174841
|
-
/**
|
|
174842
|
-
* Helper to get the type of the parameter for a given prompt
|
|
174843
|
-
*/
|
|
174844
|
-
type GetPromptParamType<TPromptName extends keyof TPrompts, TPrompts extends { [k in TPromptName]: TranscendPrompt<t.Any, t.Any> }> = t.TypeOf<TPrompts[TPromptName]['paramCodec']>;
|
|
174845
|
-
/**
|
|
174846
|
-
* Helper to get the type of the parameter for a given prompt
|
|
174847
|
-
*/
|
|
174848
|
-
type GetPromptResponseType<TPromptName extends keyof TPrompts, TPrompts extends { [k in TPromptName]: TranscendPrompt<t.Any, t.Any> }> = t.TypeOf<TPrompts[TPromptName]['outputCodec']>;
|
|
174849
|
-
/**
|
|
174850
|
-
* Input for reporting a prompt run
|
|
174851
|
-
*/
|
|
174852
|
-
interface ReportPromptRunOptions extends Optionalize<Omit<ReportPromptRunInput, 'status' | 'promptId' | 'largeLanguageModelId'>, 'name' | 'productArea'> {
|
|
174853
|
-
/** The large language model being run. Either the ID of the LLM or the client/name pairing */
|
|
174854
|
-
largeLanguageModel: string | {
|
|
174855
|
-
/** Name of client */client: LargeLanguageModelClient; /** Name of the model */
|
|
174856
|
-
name: string;
|
|
174857
|
-
};
|
|
174858
|
-
}
|
|
174859
|
-
/**
|
|
174860
|
-
* A class that is capable of loading and insert variables into prompts from
|
|
174861
|
-
* Transcend's Prompt Manager
|
|
174862
|
-
*/
|
|
174863
|
-
declare class TranscendPromptManager<TPromptNames extends string, TPrompts extends { [k in TPromptNames]: TranscendPrompt<t.Any, t.Any> }> {
|
|
174864
|
-
/** Prompt definitions */
|
|
174865
|
-
prompts: TPrompts;
|
|
174866
|
-
/** Options for configuring handlebars */
|
|
174867
|
-
handlebarsOptions: HandlebarsInput;
|
|
174868
|
-
/** Prompt name -> content map, populated by call to Transcend API */
|
|
174869
|
-
promptContentMap?: { [k in TPromptNames]: TranscendPromptTemplated };
|
|
174870
|
-
/** The large language models that are registered to this organization for reporting */
|
|
174871
|
-
largeLanguageModels: LargeLanguageModel[];
|
|
174872
|
-
/** The agent definitions registered to this organization */
|
|
174873
|
-
private agentsByName;
|
|
174874
|
-
/** The agent definitions registered to this organization */
|
|
174875
|
-
private agentsByAgentId;
|
|
174876
|
-
/** The GraphQL client that can be used to call Transcend */
|
|
174877
|
-
graphQLClient: GraphQLClient;
|
|
174878
|
-
/** The set of variables to expose in handlebars context specified at class initiation */
|
|
174879
|
-
defaultVariables: { [k in string]: unknown };
|
|
174880
|
-
/**
|
|
174881
|
-
* The set of variables to expose in handlebars context,
|
|
174882
|
-
* merges defaults with calculated variables from the inventory
|
|
174883
|
-
*/
|
|
174884
|
-
variables: { [k in string]: unknown };
|
|
174885
|
-
/** Handlebars compiler */
|
|
174886
|
-
handlebars: typeof Handlebars;
|
|
174887
|
-
/** The Transcend API key */
|
|
174888
|
-
transcendApiKey: string | Secret<string>;
|
|
174889
|
-
/** API of Transcend to call */
|
|
174890
|
-
transcendUrl: string;
|
|
174891
|
-
/** When true, throw an error if the prompt is not approved */
|
|
174892
|
-
requireApproval: boolean;
|
|
174893
|
-
/**
|
|
174894
|
-
* The cache duration in ms for how long prompts and associated metadata should be cached
|
|
174895
|
-
* When undefined - prompts are cached indefinitely unless explicitly re-requested
|
|
174896
|
-
* When 0, prompts and metadata are fetched every time (not recommended)
|
|
174897
|
-
* Setting this to be an hour is a good rate that optimizes for performance and keeping up to date
|
|
174898
|
-
*/
|
|
174899
|
-
cacheDuration?: number;
|
|
174900
|
-
/**
|
|
174901
|
-
* The last time the metadata was fetched
|
|
174902
|
-
*/
|
|
174903
|
-
lastUpdatedAt?: Date;
|
|
174904
|
-
/**
|
|
174905
|
-
* Constructor
|
|
174906
|
-
*
|
|
174907
|
-
* @param options - Options
|
|
174908
|
-
*/
|
|
174909
|
-
constructor({
|
|
174910
|
-
prompts,
|
|
174911
|
-
handlebarsOptions,
|
|
174912
|
-
transcendUrl,
|
|
174913
|
-
transcendApiKey,
|
|
174914
|
-
requireApproval,
|
|
174915
|
-
cacheDuration,
|
|
174916
|
-
defaultVariables
|
|
174917
|
-
}: {
|
|
174918
|
-
/** Prompt definitions to load */prompts: TPrompts; /** Options for configuring handlebars */
|
|
174919
|
-
handlebarsOptions?: HandlebarsInput; /** The Transcend API key */
|
|
174920
|
-
transcendApiKey: string | Secret<string>; /** API of Transcend to call */
|
|
174921
|
-
transcendUrl?: string; /** When true, throw an error if the prompt is not approved */
|
|
174922
|
-
requireApproval?: boolean; /** The set of variables to expose in handlebars context specified at class initiation */
|
|
174923
|
-
defaultVariables?: { [k in string]: unknown };
|
|
174924
|
-
/**
|
|
174925
|
-
* The cache duration in ms for how long prompts and associated metadata should be cached
|
|
174926
|
-
* When undefined - prompts are cached indefinitely unless explicitly re-requested
|
|
174927
|
-
* When 0, prompts and metadata are fetched every time (not recommended)
|
|
174928
|
-
* Setting this to be an hour is a good rate that optimizes for performance and keeping up to date
|
|
174929
|
-
*/
|
|
174930
|
-
cacheDuration?: number;
|
|
174931
|
-
});
|
|
174932
|
-
/**
|
|
174933
|
-
* Fetch prompt metadata from Transcend and cache to the class definition
|
|
174934
|
-
*
|
|
174935
|
-
* @returns A function that can be used to call the prompt
|
|
174936
|
-
*/
|
|
174937
|
-
fetchPromptsAndMetadata(): Promise<TranscendPromptsAndVariables>;
|
|
174938
|
-
/**
|
|
174939
|
-
* Get an agent definition by name
|
|
174940
|
-
*
|
|
174941
|
-
* @param name - Name of the agent to grab
|
|
174942
|
-
* @returns Large language model configuration
|
|
174943
|
-
*/
|
|
174944
|
-
getAgentByName(name: string): Promise<Agent | undefined>;
|
|
174945
|
-
/**
|
|
174946
|
-
* Get a prompt thread by ts
|
|
174947
|
-
*
|
|
174948
|
-
* @param ts - the slack message timestamp to look up thread for
|
|
174949
|
-
* @returns Large language model configuration
|
|
174950
|
-
*/
|
|
174951
|
-
getPromptThreadBySlackTs(ts: string): Promise<PromptThread | undefined>;
|
|
174952
|
-
/**
|
|
174953
|
-
* Get a list of agent definitions by name.
|
|
174954
|
-
* Pulls from cache and may return less agents
|
|
174955
|
-
* than requested if some are not found
|
|
174956
|
-
*
|
|
174957
|
-
* @param names - Names of agents to fetch
|
|
174958
|
-
* @returns The agents that were found matching the names
|
|
174959
|
-
*/
|
|
174960
|
-
getAgentsByName(names: string[]): Promise<Agent[]>;
|
|
174961
|
-
/**
|
|
174962
|
-
* Fetch metadata on agent files
|
|
174963
|
-
*
|
|
174964
|
-
* @param filterBy - Filter by parameters
|
|
174965
|
-
* @returns The files found matching the filter
|
|
174966
|
-
*/
|
|
174967
|
-
getAgentFiles(filterBy: AgentFileFilterBy): Promise<AgentFile[]>;
|
|
174968
|
-
/**
|
|
174969
|
-
* Look up the large language model to report on
|
|
174970
|
-
*
|
|
174971
|
-
* @param largeLanguageModel - Input
|
|
174972
|
-
* @returns Large language model configuration
|
|
174973
|
-
*/
|
|
174974
|
-
getLargeLanguageModel(largeLanguageModel: ReportPromptRunOptions['largeLanguageModel']): LargeLanguageModel;
|
|
174975
|
-
/**
|
|
174976
|
-
* Get a prompt definition by name
|
|
174977
|
-
*
|
|
174978
|
-
* @param promptName - Prompt to compile
|
|
174979
|
-
* @returns Parsed content
|
|
174980
|
-
*/
|
|
174981
|
-
getPromptDefinition<TPromptName extends TPromptNames>(promptName: TPromptName): Promise<TranscendPromptTemplated>;
|
|
174982
|
-
/**
|
|
174983
|
-
* Validate the shape of the response from AI
|
|
174984
|
-
*
|
|
174985
|
-
* @param promptName - Prompt to compile
|
|
174986
|
-
* @param params - Runtime parameters
|
|
174987
|
-
* @returns Parsed content
|
|
174988
|
-
*/
|
|
174989
|
-
compilePrompt<TPromptName extends TPromptNames>(promptName: TPromptName, params: t.TypeOf<TPrompts[TPromptName]['paramCodec']>): Promise<string>;
|
|
174990
|
-
/**
|
|
174991
|
-
* Validate the shape of the response from AI
|
|
174992
|
-
*
|
|
174993
|
-
* @param promptName - Prompt to parse
|
|
174994
|
-
* @param response - AI response as string
|
|
174995
|
-
* @returns Parsed content
|
|
174996
|
-
*/
|
|
174997
|
-
parseAiResponse<TPromptName extends TPromptNames>(promptName: TPromptName, response: string): t.TypeOf<TPrompts[TPromptName]['outputCodec']>;
|
|
174998
|
-
/**
|
|
174999
|
-
* Parse the AI response and report back to Transcend
|
|
175000
|
-
*
|
|
175001
|
-
* @param promptName - Prompt to parse
|
|
175002
|
-
* @param options - Options for reporting
|
|
175003
|
-
* @returns Parsed content
|
|
175004
|
-
*/
|
|
175005
|
-
reportAndParsePromptRun<TPromptName extends TPromptNames>(promptName: TPromptName, {
|
|
175006
|
-
largeLanguageModel,
|
|
175007
|
-
...options
|
|
175008
|
-
}: ReportPromptRunOptions): Promise<PromptRunResult & {
|
|
175009
|
-
/** Resulting prompt run */result: t.TypeOf<TPrompts[TPromptName]['outputCodec']>;
|
|
175010
|
-
}>;
|
|
175011
|
-
/**
|
|
175012
|
-
* Report an error for a particular prompt
|
|
175013
|
-
*
|
|
175014
|
-
* @param promptName - Prompt to parse
|
|
175015
|
-
* @param options - Options for reporting
|
|
175016
|
-
* @returns Parsed content
|
|
175017
|
-
*/
|
|
175018
|
-
reportPromptRunError<TPromptName extends TPromptNames>(promptName: TPromptName, {
|
|
175019
|
-
largeLanguageModel,
|
|
175020
|
-
...options
|
|
175021
|
-
}: Requirize<ReportPromptRunOptions, 'error'>): Promise<PromptRunResult>;
|
|
175022
|
-
}
|
|
175023
|
-
//#endregion
|
|
175024
174466
|
//#region src/lib/ai/removeLinks.d.ts
|
|
175025
174467
|
/**
|
|
175026
174468
|
* Remove links from a string
|
|
@@ -175277,5 +174719,5 @@ declare function enrichPrivacyRequest(sombra: Got, {
|
|
|
175277
174719
|
...rest
|
|
175278
174720
|
}: EnrichPrivacyRequest, enricherId: string, index?: number): Promise<boolean>;
|
|
175279
174721
|
//#endregion
|
|
175280
|
-
export { ADMIN_DASH, ADMIN_DASH_DATAPOINTS, ADMIN_DASH_INTEGRATIONS,
|
|
174722
|
+
export { ADMIN_DASH, ADMIN_DASH_DATAPOINTS, ADMIN_DASH_INTEGRATIONS, APPROVE_PRIVACY_REQUEST, ASSESSMENT_TEMPLATES, ActionInput, ActionItemCollectionInput, ActionItemInput, ApiKeyGenerateError, ApiKeyInput, AssessmentAnswerOptionInput, AssessmentDisplayLogicInput, AssessmentInput, AssessmentNestedRuleInput, AssessmentResourceInput, AssessmentRetentionScheduleInput, AssessmentRuleInput, AssessmentSectionInput, AssessmentSectionQuestionInput, AssessmentTemplate, AssessmentTemplateInput, AttestedExtraIdentifiers, AttributeInput, AttributeNameMap, AttributePreview, AttributeValueInput, BLANK, BULK_APPLY, BusinessEntityInput, CANCEL_PRIVACY_REQUEST, CAN_APPLY_IN_BULK, CachedFileState, CachedRequestState, ChunkedDateRange, CodePackageInput, CodePackageSdk, ColumnName, ColumnNameMap, ConsentManageExperienceInput, ConsentManagerInput, ConsentManagerServiceMetadata, ConsentPreferenceTopic, ConsentPreferenceTopicOptionValue, ConsentPurpose, CookieCsvInput, CookieInput, CronIdentifier, CronIdentifierPush, CronIdentifierWithAction, CronPartition, CsvFormattedIdentifier, CsvRow, DEBUG, DEFAULT_TRANSCEND_API, DEFAULT_TRANSCEND_API_KEY, DEFAULT_TRANSCEND_CONSENT_API, DEFAULT_TRANSCEND_PULL_RESOURCES, DataCategoryGuessInput, DataCategoryInput, DataCategoryPreviewInput, DataCategoryRecommendationInput, DataFlowCsvInput, DataFlowInput, DataPointCsvPreview, DataSiloCsvPreview, DataSiloInput, DataSubjectInput, DatapointFilterOptions, DatapointInput, ENTRY_COUNT, EnrichPrivacyRequest, EnricherInput, ExportedPrivacyRequest, FieldInput, IDENTIFIER_BLOCK_LIST, IP_ADDRESS_REGEX, IS_REQUIRED, IdentifierInput, IdentifierNameMap, ImportOnetrustAssessmentsInput, IntlMessage, IntlMessageInput, NONE, NOTIFY_ADDITIONAL_TIME, OneTrustFileFormat, OneTrustPullResource, OneTrustPullSource, ParquetToCsvOneFileOptions, ParsedAttributeInput, PartitionInput, PolicyInput, PreferenceWorkflowConfigInput, PreferenceWorkflowConfigPurposeInput, PrivacyCenterInput, PrivacyRequest, PrivacyRequestInput, PrivacyRequestResponse, PrivacyRequestWithIdentifiers, ProcessingActivityInput, ProcessingPurposeInput, ProcessingPurposePreviewInput, PromptAVendorEmailSettings, PromptGroupInput, PromptInput, PromptPartialInput, PurposeMap, REQUESTS, REQUESTS_COUNT, RETRYABLE_BATCH_STATUSES, RegionInput, RepositoryInput, RequestFileMetadata, RequestFileMetadataResponse, RequestPurposeTrigger, RiskAssignmentInput, RiskLogicInput, SCOPES_BY_TITLE, SCOPE_TITLES, SiloDiscoveryResultInput, SoftwareDevelopmentKitInput, StoredApiKey, SubDataPointCsvPreview, SuccessfulRequest, TR_PULL_RESOURCE_SCOPE_MAP, TR_PUSH_RESOURCE_SCOPE_MAP, TR_YML_RESOURCE_TO_FIELD_NAME, TeamInput, TemplateInput, TranscendInput, TranscendPullConfigurationInput, TranscendPullResource, UPDATE_PRIVACY_REQUEST, USP_STRING_REGEX, VARIABLE_PARAMETERS_NAME, VARIABLE_PARAMETERS_REGEXP, VendorInput, WebhookHeader, WorkflowConfigInput, XdiSyncGroups, appendCsvRowsOrdered, appendCsvSync, approvePrivacyRequests, buildXdiSyncEndpoint, bulkRestartRequests, bulkRetryEnrichers, cancelPrivacyRequests, collectCsvFilesOrExit, collectParquetFilesOrExit, consentManagersToBusinessEntities, createCodePackage, createConsentToken, description, domainToHost, downloadPrivacyRequestFiles, enrichPrivacyRequest, ensureAllDataSubjectsExist, extractClientError, fetchAllAssessmentTemplates, fetchAllRequests, fetchRequestDataSiloActiveCount, fetchRequestsTotalCount, filterNullishValuesFromObject, filterRows, formatRequestForCsv, fuzzyMatchColumns, fuzzySearch, generateCrossAccountApiKeys, getFileMetadataForPrivacyRequests, getGitFilesThatChanged, getUniqueValuesForColumn, initCsvFile, inquirerAutoComplete, inquirerConfirmBoolean, inquirerConfirmText, listDirectories, listFiles, mapColumnsToAttributes, mapColumnsToIdentifiers, mapCsvColumnsToApi, mapCsvRowsToRequestInputs, mapEnumValues, mapRequestEnumValues, markCronIdentifierCompleted, markRequestDataSiloIdsCompleted, markSilentPrivacyRequests, mergeTranscendInputs, name, normalizeIdentifierValue, notifyPrivacyRequestsAdditionalTime, parquetToCsvOneFile, parseAttributesFromString, parseFilePath, parseVariablesFromString, pullAllDatapoints, pullChunkedCustomSiloOutstandingIdentifiers, pullConsentManagerMetrics, pullCronPageOfIdentifiers, pullManualEnrichmentIdentifiersToCsv, pullPrivacyRequests, pullTranscendConfiguration, pullUnstructuredSubDataPointRecommendations, pushCronIdentifiersFromCsv, pushManualEnrichmentIdentifiersFromCsv, readCsv, readSafe, readTranscendYaml, removeLinks, removeUnverifiedRequestIdentifiers, replaceVariablesInYaml, restartPrivacyRequest, retryRequestDataSilos, skipPreflightJobs, skipRequestDataSilos, splitDateRange, streamPrivacyRequestFiles, streamPrivacyRequestsToCsv, submitPrivacyRequest, syncCodePackages, syncConfigurationToTranscend, syncCookies, syncDataSilos, updateCodePackages, updateConsentManagerVersionToLatest, updateOrCreateCookies, uploadConsents, uploadCookiesFromCsv, uploadDataFlowsFromCsv, uploadPrivacyRequestsFromCsv, validateTranscendAuth, version, writeCsv, writeCsvSync, writeLargeCsv, writeTranscendYaml };
|
|
175281
174723
|
//# sourceMappingURL=index.d.mts.map
|