@transcend-io/cli 10.17.1 → 10.18.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 +19 -28
- package/dist/app-BK2A6qdG.mjs +131 -0
- package/dist/app-BK2A6qdG.mjs.map +1 -0
- package/dist/{approvePrivacyRequests-CLi5rXP3.mjs → approvePrivacyRequests-Cm24QYbH.mjs} +2 -2
- package/dist/{approvePrivacyRequests-CLi5rXP3.mjs.map → approvePrivacyRequests-Cm24QYbH.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-BrLuHDdW.mjs → buildExamples-wKJUpdxN.mjs} +2 -2
- package/dist/{buildExamples-BrLuHDdW.mjs.map → buildExamples-wKJUpdxN.mjs.map} +1 -1
- package/dist/{buildXdiSyncEndpoint-Bxi-Dlsu.mjs → buildXdiSyncEndpoint-Bfm09sxE.mjs} +2 -2
- package/dist/{buildXdiSyncEndpoint-Bxi-Dlsu.mjs.map → buildXdiSyncEndpoint-Bfm09sxE.mjs.map} +1 -1
- package/dist/{bulkRestartRequests-NrX4ED7j.mjs → bulkRestartRequests-kE7DeCH8.mjs} +2 -2
- package/dist/{bulkRestartRequests-NrX4ED7j.mjs.map → bulkRestartRequests-kE7DeCH8.mjs.map} +1 -1
- package/dist/{bulkRetryEnrichers-BYVCTi_Q.mjs → bulkRetryEnrichers-Btjk-K5s.mjs} +2 -2
- package/dist/{bulkRetryEnrichers-BYVCTi_Q.mjs.map → bulkRetryEnrichers-Btjk-K5s.mjs.map} +1 -1
- package/dist/{cancelPrivacyRequests-BxwCIpUR.mjs → cancelPrivacyRequests-9rB0d3ac.mjs} +2 -2
- package/dist/{cancelPrivacyRequests-BxwCIpUR.mjs.map → cancelPrivacyRequests-9rB0d3ac.mjs.map} +1 -1
- package/dist/{codecs-CwRYEdQK.mjs → codecs-8Cq4qQpS.mjs} +1 -1
- package/dist/{codecs-CwRYEdQK.mjs.map → codecs-8Cq4qQpS.mjs.map} +1 -1
- package/dist/{collectCsvFilesOrExit-CaIB1XL9.mjs → collectCsvFilesOrExit-BQdnr-m2.mjs} +2 -2
- package/dist/{collectCsvFilesOrExit-CaIB1XL9.mjs.map → collectCsvFilesOrExit-BQdnr-m2.mjs.map} +1 -1
- package/dist/{collectParquetFilesOrExit-DOdNctY-.mjs → collectParquetFilesOrExit-BJ-GciNy.mjs} +2 -2
- package/dist/{collectParquetFilesOrExit-DOdNctY-.mjs.map → collectParquetFilesOrExit-BJ-GciNy.mjs.map} +1 -1
- package/dist/command-pJ-HQbPw.mjs +9 -0
- package/dist/command-pJ-HQbPw.mjs.map +1 -0
- package/dist/commands/admin/chunk-csv/worker.mjs +1 -1
- package/dist/commands/admin/parquet-to-csv/worker.mjs +1 -1
- package/dist/{consentManagersToBusinessEntities-Rc-_pq8n.mjs → consentManagersToBusinessEntities-l8jRfpYN.mjs} +2 -2
- package/dist/{consentManagersToBusinessEntities-Rc-_pq8n.mjs.map → consentManagersToBusinessEntities-l8jRfpYN.mjs.map} +1 -1
- package/dist/{constants-Opbj9jaF.mjs → constants-BhZIv-FP.mjs} +1 -1
- package/dist/{constants-Opbj9jaF.mjs.map → constants-BhZIv-FP.mjs.map} +1 -1
- package/dist/{constants-BX7PrKxC.mjs → constants-CTOC-2La.mjs} +2 -2
- package/dist/constants-CTOC-2La.mjs.map +1 -0
- package/dist/{constants-2MiVdjAH.mjs → constants-DXUo-hl3.mjs} +2 -2
- package/dist/{constants-2MiVdjAH.mjs.map → constants-DXUo-hl3.mjs.map} +1 -1
- package/dist/{constants-BSZc6Ifl.mjs → constants-KYaYveEQ.mjs} +1 -1
- package/dist/{constants-BSZc6Ifl.mjs.map → constants-KYaYveEQ.mjs.map} +1 -1
- package/dist/{context-C9eacjlu.mjs → context-CdSyuBlf.mjs} +1 -1
- package/dist/{context-C9eacjlu.mjs.map → context-CdSyuBlf.mjs.map} +1 -1
- package/dist/{createExtraKeyHandler-1HjUyY-D.mjs → createExtraKeyHandler-XdmogH1d.mjs} +2 -2
- package/dist/{createExtraKeyHandler-1HjUyY-D.mjs.map → createExtraKeyHandler-XdmogH1d.mjs.map} +1 -1
- package/dist/{dataFlowsToDataSilos-IbmCPmy9.mjs → dataFlowsToDataSilos-Blo6-adp.mjs} +1 -1
- package/dist/{dataFlowsToDataSilos-IbmCPmy9.mjs.map → dataFlowsToDataSilos-Blo6-adp.mjs.map} +1 -1
- package/dist/{done-input-validation-D25TzrxG.mjs → done-input-validation-CvwjeRWr.mjs} +1 -1
- package/dist/{done-input-validation-D25TzrxG.mjs.map → done-input-validation-CvwjeRWr.mjs.map} +1 -1
- package/dist/{downloadPrivacyRequestFiles-CnwWfn0A.mjs → downloadPrivacyRequestFiles-Sknr1FGb.mjs} +2 -2
- package/dist/{downloadPrivacyRequestFiles-CnwWfn0A.mjs.map → downloadPrivacyRequestFiles-Sknr1FGb.mjs.map} +1 -1
- package/dist/{extractClientError-_9Bqmm0v.mjs → extractClientError-CaF_Kj-f.mjs} +1 -1
- package/dist/{extractClientError-_9Bqmm0v.mjs.map → extractClientError-CaF_Kj-f.mjs.map} +1 -1
- package/dist/{fetchAllRequests-rDVYKbqL.mjs → fetchAllRequests-BCHpCeFo.mjs} +2 -2
- package/dist/{fetchAllRequests-rDVYKbqL.mjs.map → fetchAllRequests-BCHpCeFo.mjs.map} +1 -1
- package/dist/{formatPolicyBundleVersionSummary-BJgl5Q3D.mjs → formatPolicyBundleVersionSummary-DvxPXykZ.mjs} +1 -1
- package/dist/{formatPolicyBundleVersionSummary-BJgl5Q3D.mjs.map → formatPolicyBundleVersionSummary-DvxPXykZ.mjs.map} +1 -1
- package/dist/{formatPolicyEngineRequestError-C8g0v7nh.mjs → formatPolicyEngineRequestError-Dn_VYIIj.mjs} +1 -1
- package/dist/{formatPolicyEngineRequestError-C8g0v7nh.mjs.map → formatPolicyEngineRequestError-Dn_VYIIj.mjs.map} +1 -1
- package/dist/{fuzzyMatchColumns-jgLi9Qnf.mjs → fuzzyMatchColumns-Dym9eeQe.mjs} +2 -2
- package/dist/{fuzzyMatchColumns-jgLi9Qnf.mjs.map → fuzzyMatchColumns-Dym9eeQe.mjs.map} +1 -1
- package/dist/{generateCrossAccountApiKeys-BZiBRDZL.mjs → generateCrossAccountApiKeys-Cx0ryS7R.mjs} +2 -2
- package/dist/{generateCrossAccountApiKeys-BZiBRDZL.mjs.map → generateCrossAccountApiKeys-Cx0ryS7R.mjs.map} +1 -1
- package/dist/{impl-BtgbwWAB.mjs → impl-Al6BRaZv.mjs} +2 -2
- package/dist/{impl-BtgbwWAB.mjs.map → impl-Al6BRaZv.mjs.map} +1 -1
- package/dist/{impl-DDrubha_2.mjs → impl-Aldb1uGI2.mjs} +2 -2
- package/dist/{impl-DDrubha_2.mjs.map → impl-Aldb1uGI2.mjs.map} +1 -1
- package/dist/{impl-DGBJkbeS.mjs → impl-B3jtMu4u.mjs} +2 -2
- package/dist/{impl-DGBJkbeS.mjs.map → impl-B3jtMu4u.mjs.map} +1 -1
- package/dist/{impl-BimGJAmf.mjs → impl-BAwyizeI.mjs} +2 -2
- package/dist/{impl-BimGJAmf.mjs.map → impl-BAwyizeI.mjs.map} +1 -1
- package/dist/{impl-DqcpxYHF.mjs → impl-BIFxlKlT.mjs} +2 -2
- package/dist/{impl-DqcpxYHF.mjs.map → impl-BIFxlKlT.mjs.map} +1 -1
- package/dist/{impl-B0k-lsLh.mjs → impl-BMU2cg0K.mjs} +2 -2
- package/dist/{impl-B0k-lsLh.mjs.map → impl-BMU2cg0K.mjs.map} +1 -1
- package/dist/impl-BR2KAlF-.mjs +2 -0
- package/dist/{impl-CBFgXSWV.mjs.map → impl-BR2KAlF-.mjs.map} +1 -1
- package/dist/impl-BcN3aYTh.mjs +2 -0
- package/dist/{impl-taJyQmlW.mjs.map → impl-BcN3aYTh.mjs.map} +1 -1
- package/dist/{impl-ELz2nyJq.mjs → impl-BhSv0Rt4.mjs} +2 -2
- package/dist/{impl-ELz2nyJq.mjs.map → impl-BhSv0Rt4.mjs.map} +1 -1
- package/dist/impl-BklXY5iH.mjs +3 -0
- package/dist/impl-BklXY5iH.mjs.map +1 -0
- package/dist/{impl-0OHjJHDD2.mjs → impl-Bl2wbGhc2.mjs} +2 -2
- package/dist/{impl-0OHjJHDD2.mjs.map → impl-Bl2wbGhc2.mjs.map} +1 -1
- package/dist/{impl-COmkhA32.mjs → impl-Bq3ZIpcG.mjs} +2 -2
- package/dist/{impl-COmkhA32.mjs.map → impl-Bq3ZIpcG.mjs.map} +1 -1
- package/dist/{impl-DwOllcc22.mjs → impl-C2A-7CCE2.mjs} +2 -2
- package/dist/{impl-DwOllcc22.mjs.map → impl-C2A-7CCE2.mjs.map} +1 -1
- package/dist/{impl-BvU-r-wF.mjs → impl-C5gN-WIS.mjs} +2 -2
- package/dist/{impl-BvU-r-wF.mjs.map → impl-C5gN-WIS.mjs.map} +1 -1
- package/dist/{impl-Dj5dWvYr2.mjs → impl-C7qHfIcx2.mjs} +2 -2
- package/dist/{impl-Dj5dWvYr2.mjs.map → impl-C7qHfIcx2.mjs.map} +1 -1
- package/dist/impl-CAjSSYOf.mjs +2 -0
- package/dist/{impl-BeIevZ_X.mjs.map → impl-CAjSSYOf.mjs.map} +1 -1
- package/dist/{impl-D7GBtInJ.mjs → impl-CDhdTP82.mjs} +2 -2
- package/dist/{impl-D7GBtInJ.mjs.map → impl-CDhdTP82.mjs.map} +1 -1
- package/dist/{impl-BIDhVXeB.mjs → impl-CDxkGkel.mjs} +2 -2
- package/dist/{impl-BIDhVXeB.mjs.map → impl-CDxkGkel.mjs.map} +1 -1
- package/dist/{impl-DPCAbsLy2.mjs → impl-CE2r1YjC2.mjs} +2 -2
- package/dist/{impl-DPCAbsLy2.mjs.map → impl-CE2r1YjC2.mjs.map} +1 -1
- package/dist/{impl-B0CVYN6x.mjs → impl-CE8Y3v0F.mjs} +2 -2
- package/dist/{impl-B0CVYN6x.mjs.map → impl-CE8Y3v0F.mjs.map} +1 -1
- package/dist/{impl-CNKjJBfX.mjs → impl-CMY9_nL0.mjs} +2 -2
- package/dist/{impl-CNKjJBfX.mjs.map → impl-CMY9_nL0.mjs.map} +1 -1
- package/dist/{impl-BCsrAqZI.mjs → impl-CQidV4Ed.mjs} +2 -2
- package/dist/{impl-BCsrAqZI.mjs.map → impl-CQidV4Ed.mjs.map} +1 -1
- package/dist/{impl-Cz-cy5Q92.mjs → impl-CV8ZUJpM2.mjs} +2 -2
- package/dist/{impl-Cz-cy5Q92.mjs.map → impl-CV8ZUJpM2.mjs.map} +1 -1
- package/dist/{impl-kU6M_9xS2.mjs → impl-CYEjn9-f2.mjs} +2 -2
- package/dist/{impl-kU6M_9xS2.mjs.map → impl-CYEjn9-f2.mjs.map} +1 -1
- package/dist/impl-CZLMR9_o.mjs +2 -0
- package/dist/{impl-Bjr5Uf1c.mjs.map → impl-CZLMR9_o.mjs.map} +1 -1
- package/dist/{impl-C6wqboV2.mjs → impl-CaRcUBJW.mjs} +2 -2
- package/dist/{impl-C6wqboV2.mjs.map → impl-CaRcUBJW.mjs.map} +1 -1
- package/dist/{impl-z2bzz69O.mjs → impl-Cf0ilMtY.mjs} +2 -2
- package/dist/{impl-z2bzz69O.mjs.map → impl-Cf0ilMtY.mjs.map} +1 -1
- package/dist/{impl-B9rlOyl5.mjs → impl-CfLCStH0.mjs} +2 -2
- package/dist/{impl-B9rlOyl5.mjs.map → impl-CfLCStH0.mjs.map} +1 -1
- package/dist/{impl-DcQfhjZL.mjs → impl-CkHIOElC.mjs} +2 -2
- package/dist/{impl-DcQfhjZL.mjs.map → impl-CkHIOElC.mjs.map} +1 -1
- package/dist/{impl-vHEzhNyX.mjs → impl-CqAhgJRN.mjs} +2 -2
- package/dist/{impl-vHEzhNyX.mjs.map → impl-CqAhgJRN.mjs.map} +1 -1
- package/dist/{impl-CCP1-ZeX.mjs → impl-CtgTs2rf.mjs} +2 -2
- package/dist/{impl-CCP1-ZeX.mjs.map → impl-CtgTs2rf.mjs.map} +1 -1
- package/dist/{impl-zXXUv3a4.mjs → impl-Cy4r4CTO.mjs} +2 -2
- package/dist/{impl-zXXUv3a4.mjs.map → impl-Cy4r4CTO.mjs.map} +1 -1
- package/dist/impl-D37m-KH_.mjs +2 -0
- package/dist/impl-D37m-KH_.mjs.map +1 -0
- package/dist/{impl-B-9HvUMl.mjs → impl-DHfHeId5.mjs} +2 -2
- package/dist/{impl-B-9HvUMl.mjs.map → impl-DHfHeId5.mjs.map} +1 -1
- package/dist/{impl-DiRx33sh.mjs → impl-DI4DE-Kl.mjs} +2 -2
- package/dist/{impl-DiRx33sh.mjs.map → impl-DI4DE-Kl.mjs.map} +1 -1
- package/dist/{impl-B4GlGvLI.mjs → impl-DQGV2G5v.mjs} +2 -2
- package/dist/{impl-B4GlGvLI.mjs.map → impl-DQGV2G5v.mjs.map} +1 -1
- package/dist/{impl-BATZJZAu.mjs → impl-DSHZ8cw-.mjs} +2 -2
- package/dist/{impl-BATZJZAu.mjs.map → impl-DSHZ8cw-.mjs.map} +1 -1
- package/dist/{impl-DZnctw762.mjs → impl-DUGoj_7M.mjs} +2 -2
- package/dist/impl-DUGoj_7M.mjs.map +1 -0
- package/dist/{impl-CsSRW8xl2.mjs → impl-DVAcEvPM2.mjs} +2 -2
- package/dist/{impl-CsSRW8xl2.mjs.map → impl-DVAcEvPM2.mjs.map} +1 -1
- package/dist/{impl--eayIBq5.mjs → impl-DW2M6wCD.mjs} +2 -2
- package/dist/impl-DW2M6wCD.mjs.map +1 -0
- package/dist/{impl-CuxbHVUs.mjs → impl-DWt1-1WC.mjs} +2 -2
- package/dist/{impl-CuxbHVUs.mjs.map → impl-DWt1-1WC.mjs.map} +1 -1
- package/dist/{impl-B7HFZI-o.mjs → impl-DYM8usyf.mjs} +2 -2
- package/dist/{impl-B7HFZI-o.mjs.map → impl-DYM8usyf.mjs.map} +1 -1
- package/dist/{impl-DGm5NVUi.mjs → impl-DYwzsZHS.mjs} +2 -2
- package/dist/{impl-DGm5NVUi.mjs.map → impl-DYwzsZHS.mjs.map} +1 -1
- package/dist/{impl-CgDCcV00.mjs → impl-DhLDaqNH.mjs} +2 -2
- package/dist/{impl-CgDCcV00.mjs.map → impl-DhLDaqNH.mjs.map} +1 -1
- package/dist/{impl-Bw3__zkc2.mjs → impl-Dk8ALjBa2.mjs} +2 -2
- package/dist/{impl-Bw3__zkc2.mjs.map → impl-Dk8ALjBa2.mjs.map} +1 -1
- package/dist/{impl-CPkl4IRz.mjs → impl-DoLi7ouF.mjs} +2 -2
- package/dist/{impl-CPkl4IRz.mjs.map → impl-DoLi7ouF.mjs.map} +1 -1
- package/dist/{impl-B3u38Ct_.mjs → impl-FGDxq3CJ.mjs} +2 -2
- package/dist/{impl-B3u38Ct_.mjs.map → impl-FGDxq3CJ.mjs.map} +1 -1
- package/dist/{impl-B5TsrlQT.mjs → impl-MJ89a6cJ.mjs} +2 -2
- package/dist/{impl-B5TsrlQT.mjs.map → impl-MJ89a6cJ.mjs.map} +1 -1
- package/dist/{impl-CUbaczq8.mjs → impl-TccXt92R.mjs} +2 -2
- package/dist/{impl-CUbaczq8.mjs.map → impl-TccXt92R.mjs.map} +1 -1
- package/dist/{impl-Df_SZy5X.mjs → impl-X-lj6p6X.mjs} +2 -2
- package/dist/{impl-Df_SZy5X.mjs.map → impl-X-lj6p6X.mjs.map} +1 -1
- package/dist/{impl-DOGMbdAR.mjs → impl-cbKOCJZ5.mjs} +2 -2
- package/dist/{impl-DOGMbdAR.mjs.map → impl-cbKOCJZ5.mjs.map} +1 -1
- package/dist/{impl-BJldWkkC.mjs → impl-ivVANd7G.mjs} +2 -2
- package/dist/{impl-BJldWkkC.mjs.map → impl-ivVANd7G.mjs.map} +1 -1
- package/dist/index.d.mts +67 -67
- package/dist/index.mjs +1 -1
- package/dist/{inquirer-BWDP2HHw.mjs → inquirer-CXl1YWCs.mjs} +2 -2
- package/dist/{inquirer-BWDP2HHw.mjs.map → inquirer-CXl1YWCs.mjs.map} +1 -1
- package/dist/{listFiles-DsUfOUWr.mjs → listFiles-B1GqyM33.mjs} +1 -1
- package/dist/{listFiles-DsUfOUWr.mjs.map → listFiles-B1GqyM33.mjs.map} +1 -1
- package/dist/{logger-D1tXVwJj.mjs → logger-B-LXIf3U.mjs} +1 -1
- package/dist/{logger-D1tXVwJj.mjs.map → logger-B-LXIf3U.mjs.map} +1 -1
- package/dist/{markRequestDataSiloIdsCompleted-DDNYecva.mjs → markRequestDataSiloIdsCompleted-DusvJkVf.mjs} +2 -2
- package/dist/{markRequestDataSiloIdsCompleted-DDNYecva.mjs.map → markRequestDataSiloIdsCompleted-DusvJkVf.mjs.map} +1 -1
- package/dist/{markSilentPrivacyRequests-DDDJEoJe.mjs → markSilentPrivacyRequests-De6Qnsph.mjs} +2 -2
- package/dist/{markSilentPrivacyRequests-DDDJEoJe.mjs.map → markSilentPrivacyRequests-De6Qnsph.mjs.map} +1 -1
- package/dist/{notifyPrivacyRequestsAdditionalTime-NGNzjpY9.mjs → notifyPrivacyRequestsAdditionalTime-DzY_0Bp4.mjs} +2 -2
- package/dist/{notifyPrivacyRequestsAdditionalTime-NGNzjpY9.mjs.map → notifyPrivacyRequestsAdditionalTime-DzY_0Bp4.mjs.map} +1 -1
- package/dist/{parquetToCsvOneFile-tKgw5ql1.mjs → parquetToCsvOneFile-DuyOOzqQ.mjs} +2 -2
- package/dist/{parquetToCsvOneFile-tKgw5ql1.mjs.map → parquetToCsvOneFile-DuyOOzqQ.mjs.map} +1 -1
- package/dist/{parseAttributesFromString-COM7aBEj.mjs → parseAttributesFromString-ByzY22WY.mjs} +2 -2
- package/dist/{parseAttributesFromString-COM7aBEj.mjs.map → parseAttributesFromString-ByzY22WY.mjs.map} +1 -1
- package/dist/{parseVariablesFromString-CrzXJu3n.mjs → parseVariablesFromString-COw5Nayn.mjs} +2 -2
- package/dist/{parseVariablesFromString-CrzXJu3n.mjs.map → parseVariablesFromString-COw5Nayn.mjs.map} +1 -1
- package/dist/{printResult-BE0CcmNZ.mjs → printResult-DdSpAx6T.mjs} +1 -1
- package/dist/{printResult-BE0CcmNZ.mjs.map → printResult-DdSpAx6T.mjs.map} +1 -1
- package/dist/{pullAllDatapoints-OrD_W80t.mjs → pullAllDatapoints-D8mTXHun.mjs} +2 -2
- package/dist/{pullAllDatapoints-OrD_W80t.mjs.map → pullAllDatapoints-D8mTXHun.mjs.map} +1 -1
- package/dist/{pullChunkedCustomSiloOutstandingIdentifiers-NtMi2t5b.mjs → pullChunkedCustomSiloOutstandingIdentifiers-T7il7bHx.mjs} +2 -2
- package/dist/{pullChunkedCustomSiloOutstandingIdentifiers-NtMi2t5b.mjs.map → pullChunkedCustomSiloOutstandingIdentifiers-T7il7bHx.mjs.map} +1 -1
- package/dist/{pullConsentManagerMetrics-C0gYmy2K.mjs → pullConsentManagerMetrics-Cma2auCK.mjs} +2 -2
- package/dist/{pullConsentManagerMetrics-C0gYmy2K.mjs.map → pullConsentManagerMetrics-Cma2auCK.mjs.map} +1 -1
- package/dist/{pullManualEnrichmentIdentifiersToCsv-Bl0qvlM2.mjs → pullManualEnrichmentIdentifiersToCsv-CLIvx0xw.mjs} +2 -2
- package/dist/{pullManualEnrichmentIdentifiersToCsv-Bl0qvlM2.mjs.map → pullManualEnrichmentIdentifiersToCsv-CLIvx0xw.mjs.map} +1 -1
- package/dist/{pullTranscendConfiguration-CZD-sx8L.mjs → pullTranscendConfiguration-QBl16rBd.mjs} +2 -2
- package/dist/{pullTranscendConfiguration-CZD-sx8L.mjs.map → pullTranscendConfiguration-QBl16rBd.mjs.map} +1 -1
- package/dist/{pullUnstructuredSubDataPointRecommendations-pDIp5y-W.mjs → pullUnstructuredSubDataPointRecommendations-DkQMoo7S.mjs} +2 -2
- package/dist/{pullUnstructuredSubDataPointRecommendations-pDIp5y-W.mjs.map → pullUnstructuredSubDataPointRecommendations-DkQMoo7S.mjs.map} +1 -1
- package/dist/{pushCronIdentifiersFromCsv-CRZnkyWD.mjs → pushCronIdentifiersFromCsv-COAjK5ll.mjs} +2 -2
- package/dist/{pushCronIdentifiersFromCsv-CRZnkyWD.mjs.map → pushCronIdentifiersFromCsv-COAjK5ll.mjs.map} +1 -1
- package/dist/{pushManualEnrichmentIdentifiersFromCsv-DSFn8TeU.mjs → pushManualEnrichmentIdentifiersFromCsv-BOFhSX-Q.mjs} +2 -2
- package/dist/{pushManualEnrichmentIdentifiersFromCsv-DSFn8TeU.mjs.map → pushManualEnrichmentIdentifiersFromCsv-BOFhSX-Q.mjs.map} +1 -1
- package/dist/{readCsv-ddmavI86.mjs → readCsv-D1e7WRTc.mjs} +1 -1
- package/dist/{readCsv-ddmavI86.mjs.map → readCsv-D1e7WRTc.mjs.map} +1 -1
- package/dist/{readTranscendYaml-B2Asm9c5.mjs → readTranscendYaml-DXGNTxJE.mjs} +2 -2
- package/dist/{readTranscendYaml-B2Asm9c5.mjs.map → readTranscendYaml-DXGNTxJE.mjs.map} +1 -1
- package/dist/{removeUnverifiedRequestIdentifiers-DCeBwyyi.mjs → removeUnverifiedRequestIdentifiers-DMnqAEbS.mjs} +2 -2
- package/dist/{removeUnverifiedRequestIdentifiers-DCeBwyyi.mjs.map → removeUnverifiedRequestIdentifiers-DMnqAEbS.mjs.map} +1 -1
- package/dist/{renderTable-BzIh5FoT.mjs → renderTable-BgjVr6ch.mjs} +1 -1
- package/dist/{renderTable-BzIh5FoT.mjs.map → renderTable-BgjVr6ch.mjs.map} +1 -1
- package/dist/{request-CdglUNWv.mjs → request-C4gYxn1p.mjs} +1 -1
- package/dist/{request-CdglUNWv.mjs.map → request-C4gYxn1p.mjs.map} +1 -1
- package/dist/{resolveBundleIdByName-Bxoxa8CK.mjs → resolveBundleIdByName-DdemhmTX.mjs} +1 -1
- package/dist/{resolveBundleIdByName-Bxoxa8CK.mjs.map → resolveBundleIdByName-DdemhmTX.mjs.map} +1 -1
- package/dist/{retryRequestDataSilos-BjXaDGk3.mjs → retryRequestDataSilos-Xyd_QQFY.mjs} +2 -2
- package/dist/{retryRequestDataSilos-BjXaDGk3.mjs.map → retryRequestDataSilos-Xyd_QQFY.mjs.map} +1 -1
- package/dist/{runOpa-NnuspgN0.mjs → runOpa-DGUkXzFZ.mjs} +2 -2
- package/dist/{runOpa-NnuspgN0.mjs.map → runOpa-DGUkXzFZ.mjs.map} +1 -1
- package/dist/{skipPreflightJobs-DBYfdstu.mjs → skipPreflightJobs-C_bhgZP-.mjs} +2 -2
- package/dist/{skipPreflightJobs-DBYfdstu.mjs.map → skipPreflightJobs-C_bhgZP-.mjs.map} +1 -1
- package/dist/{skipRequestDataSilos-G2Ox2c6q.mjs → skipRequestDataSilos-BoO59V2e.mjs} +2 -2
- package/dist/{skipRequestDataSilos-G2Ox2c6q.mjs.map → skipRequestDataSilos-BoO59V2e.mjs.map} +1 -1
- package/dist/{streamPrivacyRequestsToCsv-vB1a_Xmx.mjs → streamPrivacyRequestsToCsv-DxcuclHD.mjs} +2 -2
- package/dist/{streamPrivacyRequestsToCsv-vB1a_Xmx.mjs.map → streamPrivacyRequestsToCsv-DxcuclHD.mjs.map} +1 -1
- package/dist/{syncCodePackages-kQRUAGvl.mjs → syncCodePackages-CwPtA473.mjs} +2 -2
- package/dist/{syncCodePackages-kQRUAGvl.mjs.map → syncCodePackages-CwPtA473.mjs.map} +1 -1
- package/dist/{updateConsentManagerVersionToLatest-g5a3brwY.mjs → updateConsentManagerVersionToLatest-4gvcHq1B.mjs} +2 -2
- package/dist/{updateConsentManagerVersionToLatest-g5a3brwY.mjs.map → updateConsentManagerVersionToLatest-4gvcHq1B.mjs.map} +1 -1
- package/dist/{uploadConsents-aYnPgzBZ.mjs → uploadConsents-CNUePcp7.mjs} +2 -2
- package/dist/{uploadConsents-aYnPgzBZ.mjs.map → uploadConsents-CNUePcp7.mjs.map} +1 -1
- package/dist/{uploadCookiesFromCsv-DkgIHEdl.mjs → uploadCookiesFromCsv-DtKT2trD.mjs} +2 -2
- package/dist/{uploadCookiesFromCsv-DkgIHEdl.mjs.map → uploadCookiesFromCsv-DtKT2trD.mjs.map} +1 -1
- package/dist/{uploadDataFlowsFromCsv-D1zxhWRt.mjs → uploadDataFlowsFromCsv-CbmavWRd.mjs} +2 -2
- package/dist/{uploadDataFlowsFromCsv-D1zxhWRt.mjs.map → uploadDataFlowsFromCsv-CbmavWRd.mjs.map} +1 -1
- package/dist/{uploadPrivacyRequestsFromCsv-B8lK4TL2.mjs → uploadPrivacyRequestsFromCsv-CfyPdlfZ.mjs} +2 -2
- package/dist/{uploadPrivacyRequestsFromCsv-B8lK4TL2.mjs.map → uploadPrivacyRequestsFromCsv-CfyPdlfZ.mjs.map} +1 -1
- package/dist/{validateTranscendAuth-DrVM-Bxh.mjs → validateTranscendAuth-k4ufmEQW.mjs} +2 -2
- package/dist/{validateTranscendAuth-DrVM-Bxh.mjs.map → validateTranscendAuth-k4ufmEQW.mjs.map} +1 -1
- package/dist/{writeCsv-Dg4Wuj5V.mjs → writeCsv-DDKM_rAU.mjs} +1 -1
- package/dist/{writeCsv-Dg4Wuj5V.mjs.map → writeCsv-DDKM_rAU.mjs.map} +1 -1
- package/package.json +2 -2
- package/dist/app-BksK9SPh.mjs +0 -131
- package/dist/app-BksK9SPh.mjs.map +0 -1
- package/dist/command-BFlaWkwf.mjs +0 -9
- package/dist/command-BFlaWkwf.mjs.map +0 -1
- package/dist/constants-BX7PrKxC.mjs.map +0 -1
- package/dist/impl--eayIBq5.mjs.map +0 -1
- package/dist/impl-B4weFiPq.mjs +0 -2
- package/dist/impl-B4weFiPq.mjs.map +0 -1
- package/dist/impl-BeIevZ_X.mjs +0 -2
- package/dist/impl-Bjr5Uf1c.mjs +0 -2
- package/dist/impl-CBFgXSWV.mjs +0 -2
- package/dist/impl-Cx5U2XsV.mjs +0 -3
- package/dist/impl-Cx5U2XsV.mjs.map +0 -1
- package/dist/impl-DZnctw762.mjs.map +0 -1
- package/dist/impl-taJyQmlW.mjs +0 -2
- package/dist/parsers-Bl90Wjbz.mjs +0 -2
- package/dist/parsers-Bl90Wjbz.mjs.map +0 -1
package/README.md
CHANGED
|
@@ -58,7 +58,7 @@ A command line interface that allows you to programatically interact with the Tr
|
|
|
58
58
|
- [`transcend policy deactivate`](#transcend-policy-deactivate)
|
|
59
59
|
- [`transcend policy eval`](#transcend-policy-eval)
|
|
60
60
|
- [`transcend policy lint`](#transcend-policy-lint)
|
|
61
|
-
- [`transcend policy
|
|
61
|
+
- [`transcend policy bundles`](#transcend-policy-bundles)
|
|
62
62
|
- [`transcend policy publish`](#transcend-policy-publish)
|
|
63
63
|
- [`transcend policy test`](#transcend-policy-test)
|
|
64
64
|
- [`transcend policy versions`](#transcend-policy-versions)
|
|
@@ -3682,20 +3682,19 @@ transcend migration sync-ot --source=file --file=./oneTrustAssessments.json --tr
|
|
|
3682
3682
|
|
|
3683
3683
|
```txt
|
|
3684
3684
|
USAGE
|
|
3685
|
-
transcend policy activate
|
|
3685
|
+
transcend policy activate (--bundle-name value) [--version value] (--auth value) [--transcend-url value] [--dry-run] [--json]
|
|
3686
3686
|
transcend policy activate --help
|
|
3687
3687
|
|
|
3688
|
-
Calls the Policy Engine activate endpoint to make an uploaded version live.
|
|
3688
|
+
Calls the Policy Engine activate endpoint to make an uploaded version live. Addressed by bundle name (resolved to the parent bundle UUID internally). When --version is omitted, activates the latest uploaded version by createdAt. Requires a Transcend API key with Activate Policy scope.
|
|
3689
3689
|
|
|
3690
3690
|
FLAGS
|
|
3691
|
-
|
|
3692
|
-
[--
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
[--
|
|
3696
|
-
[--
|
|
3697
|
-
|
|
3698
|
-
-h --help Print help information and exit
|
|
3691
|
+
--bundle-name Logical policy bundle name (the same string used in publish/bundles); resolved to the parent bundle UUID internally
|
|
3692
|
+
[--version] Caller-supplied version label to activate; defaults to the latest uploaded version by createdAt
|
|
3693
|
+
--auth The Transcend API key. Defaults to the TRANSCEND_API_KEY environment variable when set, so --auth may be omitted if it is exported. Requires scopes: "Activate Policy"
|
|
3694
|
+
[--transcend-url] URL of the Transcend backend. Use https://api.us.transcend.io for US hosting. Defaults to the TRANSCEND_API_URL environment variable when set, so --transcendUrl may be omitted if it is exported. [default = https://api.transcend.io]
|
|
3695
|
+
[--dry-run] Validate activation without flipping the active version [default = false]
|
|
3696
|
+
[--json] Print the raw JSON API response [default = false]
|
|
3697
|
+
-h --help Print help information and exit
|
|
3699
3698
|
```
|
|
3700
3699
|
|
|
3701
3700
|
#### Examples
|
|
@@ -3712,15 +3711,6 @@ transcend policy activate --bundle-name=main --auth="$TRANSCEND_API_KEY"
|
|
|
3712
3711
|
transcend policy activate --version=abc123 --bundle-name=main --auth="$TRANSCEND_API_KEY"
|
|
3713
3712
|
```
|
|
3714
3713
|
|
|
3715
|
-
**Activate using explicit parent bundle UUID**
|
|
3716
|
-
|
|
3717
|
-
```sh
|
|
3718
|
-
transcend policy activate \
|
|
3719
|
-
--version=abc123 \
|
|
3720
|
-
--policy-bundle-id=6a3218db-5703-44eb-8d01-e3ea57ab8e49 \
|
|
3721
|
-
--auth="$TRANSCEND_API_KEY"
|
|
3722
|
-
```
|
|
3723
|
-
|
|
3724
3714
|
**Validate activation without flipping the active version**
|
|
3725
3715
|
|
|
3726
3716
|
```sh
|
|
@@ -3745,7 +3735,7 @@ USAGE
|
|
|
3745
3735
|
Calls the Policy Engine deactivate endpoint to take the currently active version of a bundle offline, clearing its active version pointer. Addressed by bundle name (resolved to the parent bundle UUID internally). Requires a Transcend API key with Activate Policy scope.
|
|
3746
3736
|
|
|
3747
3737
|
FLAGS
|
|
3748
|
-
--bundle-name Logical policy bundle name (the same string used in publish/
|
|
3738
|
+
--bundle-name Logical policy bundle name (the same string used in publish/bundles); resolved to the parent bundle UUID internally
|
|
3749
3739
|
--auth The Transcend API key. Defaults to the TRANSCEND_API_KEY environment variable when set, so --auth may be omitted if it is exported. Requires scopes: "Activate Policy"
|
|
3750
3740
|
[--transcend-url] URL of the Transcend backend. Use https://api.us.transcend.io for US hosting. Defaults to the TRANSCEND_API_URL environment variable when set, so --transcendUrl may be omitted if it is exported. [default = https://api.transcend.io]
|
|
3751
3741
|
[--json] Print the raw JSON API response [default = false]
|
|
@@ -3820,12 +3810,12 @@ FLAGS
|
|
|
3820
3810
|
transcend policy lint --dir=./policies
|
|
3821
3811
|
```
|
|
3822
3812
|
|
|
3823
|
-
### `transcend policy
|
|
3813
|
+
### `transcend policy bundles`
|
|
3824
3814
|
|
|
3825
3815
|
```txt
|
|
3826
3816
|
USAGE
|
|
3827
|
-
transcend policy
|
|
3828
|
-
transcend policy
|
|
3817
|
+
transcend policy bundles (--auth value) [--transcend-url value] [--limit value] [--offset value] [--json]
|
|
3818
|
+
transcend policy bundles --help
|
|
3829
3819
|
|
|
3830
3820
|
Lists policy bundles registered for the authenticated organization. Requires a Transcend API key with View Policy scope.
|
|
3831
3821
|
|
|
@@ -3843,19 +3833,19 @@ FLAGS
|
|
|
3843
3833
|
**List policy bundles for the current organization**
|
|
3844
3834
|
|
|
3845
3835
|
```sh
|
|
3846
|
-
transcend policy
|
|
3836
|
+
transcend policy bundles --auth="$TRANSCEND_API_KEY"
|
|
3847
3837
|
```
|
|
3848
3838
|
|
|
3849
3839
|
**Fetch the next page using offset pagination**
|
|
3850
3840
|
|
|
3851
3841
|
```sh
|
|
3852
|
-
transcend policy
|
|
3842
|
+
transcend policy bundles --auth="$TRANSCEND_API_KEY" --offset=50
|
|
3853
3843
|
```
|
|
3854
3844
|
|
|
3855
3845
|
**Omit --auth by exporting TRANSCEND_API_KEY in the environment**
|
|
3856
3846
|
|
|
3857
3847
|
```sh
|
|
3858
|
-
transcend policy
|
|
3848
|
+
transcend policy bundles
|
|
3859
3849
|
```
|
|
3860
3850
|
|
|
3861
3851
|
Requires the **View Policy** scope on your API key.
|
|
@@ -3864,7 +3854,7 @@ Requires the **View Policy** scope on your API key.
|
|
|
3864
3854
|
|
|
3865
3855
|
```txt
|
|
3866
3856
|
USAGE
|
|
3867
|
-
transcend policy publish (--dir value) (--bundle-name value) (--auth value) [--transcend-url value] [--version value] [--description value] [--json]
|
|
3857
|
+
transcend policy publish (--dir value) (--bundle-name value) (--auth value) [--transcend-url value] [--version value] [--description value] [--json] [--yes]
|
|
3868
3858
|
transcend policy publish --help
|
|
3869
3859
|
|
|
3870
3860
|
Packages manifest.json and .rego policy files from a local directory into a tarball and uploads it to Transcend. Creates the bundle on first upload, then appends immutable versions. Requires the `opa` CLI on PATH (for `opa check` and `opa build` validation) and a Transcend API key with Manage Policy scope.
|
|
@@ -3877,6 +3867,7 @@ FLAGS
|
|
|
3877
3867
|
[--version] Version label (defaults to {bundleName}-yyyy-mm-dd-hh-mm-ss)
|
|
3878
3868
|
[--description] Optional description for the uploaded version
|
|
3879
3869
|
[--json] Print the raw JSON API response [default = false]
|
|
3870
|
+
[--yes] Skip the "create new bundle" confirmation (for CI/non-interactive use) [default = false]
|
|
3880
3871
|
-h --help Print help information and exit
|
|
3881
3872
|
```
|
|
3882
3873
|
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import{n as e,r as t}from"./enums-mAXnon_I.mjs";import{g as n,h as r,m as i,u as a}from"./constants-CTOC-2La.mjs";import{a as o,c as s,d as c,i as l,l as u,o as d,r as f,s as p,u as m}from"./command-pJ-HQbPw.mjs";import{t as h}from"./buildExamples-wKJUpdxN.mjs";import{buildApplication as g,buildCommand as _,buildRouteMap as v,numberParser as y}from"@stricli/core";import{buildInstallCommand as b,buildUninstallCommand as x}from"@stricli/auto-complete";import{ConsentBundleType as S,ConsentTrackerStatus as C,DataCategoryType as w,RequestAction as T,RequestDataSiloStatus as E,RequestEnricherStatus as D,RequestOrigin as O,RequestStatus as k,RestartIdentifierStrategy as A,ScopeName as j,UnstructuredSubDataPointRecommendationStatus as M}from"@transcend-io/privacy-types";const N=_({loader:async()=>{let{chunkCsv:e}=await import(`./impl-CE8Y3v0F.mjs`);return e},parameters:{flags:{directory:{kind:`parsed`,parse:String,brief:`Directory containing CSV files to split (required)`},outputDir:{kind:`parsed`,parse:String,brief:`Directory to write chunk files (defaults to each input file's directory)`,optional:!0},clearOutputDir:{kind:`boolean`,brief:`Clear the output directory before writing chunks`,default:!0},chunkSizeMB:{kind:`parsed`,parse:e=>{let t=Number(e);if(!Number.isFinite(t)||t<=0)throw Error(`chunkSizeMB must be a positive number`);return t},brief:`Approximate chunk size in megabytes. Keep well under JS string size limits`,default:`10`},concurrency:{kind:`parsed`,parse:e=>Math.max(1,Number(e)||0),brief:`Max number of worker processes (defaults based on CPU and file count)`,optional:!0},viewerMode:{kind:`boolean`,brief:`Run in non-interactive viewer mode (no attach UI, auto-artifacts)`,default:!1}}},docs:{brief:`Chunk all CSVs in a directory into smaller CSV files`,fullDescription:`Streams every CSV in --directory and writes chunked files of approximately N MB each.
|
|
2
|
+
- Runs files in parallel across worker processes (configurable via --concurrency).
|
|
3
|
+
- Validates row-length consistency against the header row; logs periodic progress and memory usage.`}}),P=_({loader:async()=>{let{findTextInFolder:e}=await import(`./impl-X-lj6p6X.mjs`);return e},parameters:{flags:{needle:{kind:`parsed`,parse:String,brief:`The text string to search for (case-insensitive)`},root:{kind:`parsed`,parse:String,brief:`Root directory to search`,default:`.`},exts:{kind:`parsed`,parse:String,brief:`Comma-separated file extensions to search (without leading dots)`,default:`csv,json,txt,ndjson,log`},noParquet:{kind:`boolean`,brief:`Skip parquet file scanning (requires duckdb on PATH)`,default:!1},concurrency:{kind:`parsed`,parse:e=>{let t=Number(e);if(!Number.isFinite(t)||t<=0)throw Error(`concurrency must be a positive number`);return t},brief:`Max number of files to scan concurrently`,default:`16`},maxBytes:{kind:`parsed`,parse:e=>{let t=Number(e);if(!Number.isFinite(t)||t<=0)throw Error(`maxBytes must be a positive number`);return t},brief:`Stop scanning each file after this many bytes (useful for huge files)`,optional:!0}}},docs:{brief:`Find a needle in a haystack — search many large files in a folder for a text match`,fullDescription:`Searches a folder of files for a given text string (case-insensitive).
|
|
4
|
+
|
|
5
|
+
Useful for finding a needle in a haystack when you have many large files
|
|
6
|
+
(e.g. multi-GB CSV exports, JSON dumps, log archives) and need to know
|
|
7
|
+
which ones contain a specific value like an email address, ID, or keyword.
|
|
8
|
+
|
|
9
|
+
Files are streamed so memory stays flat even for very large inputs.
|
|
10
|
+
Concurrency is configurable and files are scanned in parallel.
|
|
11
|
+
|
|
12
|
+
Supported file types:
|
|
13
|
+
- Text-based files (csv, json, txt, ndjson, log, etc.) are scanned via streaming byte comparison.
|
|
14
|
+
- Parquet files are scanned via DuckDB (must be on PATH unless --noParquet is set).
|
|
15
|
+
|
|
16
|
+
Outputs one matching file path per line to stdout as hits are found.`}}),F=v({routes:{"generate-api-keys":_({loader:async()=>{let{generateApiKeys:e}=await import(`./impl-C5gN-WIS.mjs`);return e},parameters:{flags:{email:{kind:`parsed`,parse:String,brief:`The email address that you use to log into Transcend`},password:{kind:`parsed`,parse:String,brief:`The password for your account login`},apiKeyTitle:{kind:`parsed`,parse:String,brief:`The title of the API key being generated or destroyed`},file:{kind:`parsed`,parse:String,brief:`The file where API keys should be written to`},scopes:{kind:`enum`,values:a,variadic:`,`,brief:`The list of scopes that should be given to the API key`},deleteExistingApiKey:{kind:`boolean`,brief:`When true, if an API key exists with the specified apiKeyTitle, the existing API key is deleted`,default:!0},createNewApiKey:{kind:`boolean`,brief:`When true, new API keys will be created. Set to false if you simply want to delete all API keys with a title`,default:!0},parentOrganizationId:{kind:`parsed`,parse:c,brief:`Filter for only a specific organization by ID, returning all child accounts associated with that organization`,optional:!0},transcendUrl:p()}},docs:{brief:`Generate API keys`,fullDescription:`This command allows for creating API keys across multiple Transcend instances. This is useful for customers that are managing many Transcend instances and need to regularly create, cycle or delete API keys across all of their instances.
|
|
17
|
+
|
|
18
|
+
Unlike the other commands that rely on API key authentication, this command relies upon username/password authentication. This command will spit out the API keys into a JSON file, and that JSON file can be used in subsequent CLI commands.
|
|
19
|
+
|
|
20
|
+
Authentication requires your email and password for the Transcend account. This command will only generate API keys for Transcend instances where you have the permission to "Manage API Keys".`}}),"chunk-csv":N,"find-text-in-folder":P,"parquet-to-csv":_({loader:async()=>{let{parquetToCsv:e}=await import(`./impl-CDxkGkel.mjs`);return e},parameters:{flags:{directory:{kind:`parsed`,parse:String,brief:`Directory containing Parquet files to convert (required)`},outputDir:{kind:`parsed`,parse:String,brief:`Directory to write CSV files (defaults to each input file's directory)`,optional:!0},clearOutputDir:{kind:`boolean`,brief:`Clear the output directory before writing CSVs`,default:!0},concurrency:{kind:`parsed`,parse:e=>Math.max(1,Number(e)||0),brief:`Max number of worker processes (defaults based on CPU and file count)`,optional:!0},viewerMode:{kind:`boolean`,brief:`Run in non-interactive viewer mode (no attach UI, auto-artifacts)`,default:!1}}},docs:{brief:`Convert all Parquet files in a directory to CSV`,fullDescription:`Streams every .parquet in --directory and writes CSV output files
|
|
21
|
+
- Runs files in parallel across worker processes (configurable via --concurrency).
|
|
22
|
+
- Validates row consistency; logs periodic progress and memory usage.
|
|
23
|
+
|
|
24
|
+
This is a useful administrative tool for converting Parquet exports to CSV for the purposes
|
|
25
|
+
of uploading DSRs or Consent Preferences. e.g. transcend consent upload-preferences ...`}})},docs:{brief:`Admin commands`}}),I=_({loader:async()=>{let{buildXdiSyncEndpoint:e}=await import(`./impl-DHfHeId5.mjs`);return e},parameters:{flags:{auth:l({scopes:[j.ViewConsentManager]}),xdiLocation:{kind:`parsed`,parse:String,brief:`The location of the XDI that will be loaded by the generated sync endpoint`},file:{kind:`parsed`,parse:String,brief:`The HTML file path where the sync endpoint should be written`,default:`./sync-endpoint.html`},removeIpAddresses:{kind:`boolean`,brief:`When true, remove IP addresses from the domain list`,default:!0},domainBlockList:{kind:`parsed`,parse:s,brief:`The set of domains that should be excluded from the sync endpoint. Comma-separated list.`,default:`localhost`},xdiAllowedCommands:{kind:`parsed`,parse:String,brief:`The allowed set of XDI commands`,default:`ConsentManager:Sync`},transcendUrl:p()}},docs:{brief:`Build XDI sync endpoint`,fullDescription:`This command allows for building of the XDI Sync Endpoint across a set of Transcend accounts.`}}),L=_({loader:async()=>{let{deletePreferenceRecords:e}=await import(`./impl-MJ89a6cJ.mjs`);return e},parameters:{flags:{auth:l({scopes:[j.ManageStoredPreferences]}),sombraAuth:d(),partition:{kind:`parsed`,parse:String,brief:`Partition ID to used to delete preference records from`},timestamp:{kind:`parsed`,parse:u,brief:`The timestamp when the deletion operation is made. Used for logging purposes.`},file:{kind:`parsed`,parse:String,optional:!0,brief:`Path to the CSV file used to identify preference records to delete`},directory:{kind:`parsed`,parse:String,brief:`Path to the directory of CSV files to load preferences from`,optional:!0},transcendUrl:p(),maxItemsInChunk:{kind:`parsed`,parse:y,brief:`When chunking, how many items to delete in a single chunk (higher = faster, but more load).`,default:`10`},maxConcurrency:{kind:`parsed`,parse:y,brief:`Number of concurrent requests to make when deleting preference records. (Higher = faster, but more load and rate limiting errors).`,default:`10`},fileConcurrency:{kind:`parsed`,parse:y,brief:`Number of files to process concurrently when deleting preference records from multiple files.`,default:`5`},receiptDirectory:{kind:`parsed`,parse:String,brief:`Directory to write receipts of failed deletions to.`,default:`./receipts`}}},docs:{brief:`Delete consent preference records in bulk from Preference Store`,fullDescription:`Uses POST /v1/preferences/{partition}/delete route on sombra to delete consent preference records in bulk from Preference Store based on a CSV file input. Refer to examples/cli-upload-preferences-example.csv for the expected format of the CSV file. The CSV expects the following headers: "name" and "value". The "name" field corresponds to the identifier name as defined on https://app.transcend.io/privacy-requests/identifiers The "value" refers to the actual identifier value for the user whose preference record is being deleted. For Large scale deletions, consider chunking the input CSV into smaller files and using the --directory option to process them concurrently.`}}),R=v({routes:{"build-xdi-sync-endpoint":I,"generate-access-tokens":_({loader:async()=>{let{generateAccessTokens:e}=await import(`./impl-CqAhgJRN.mjs`);return e},parameters:{flags:{auth:l({scopes:[j.GeneratePreferenceAccessTokens]}),file:{kind:`parsed`,parse:String,brief:`Path to the CSV file containing user identifiers to generate access tokens for`},subjectType:{kind:`parsed`,parse:String,brief:`Slug for the data subject that the user will be logged in as on the Privacy Center. e.g. "customer" or "employee"`},emailColumnName:{kind:`parsed`,parse:String,brief:`Name of the column in the CSV that contains user email addresses`,default:`email`},coreIdentifierColumnName:{kind:`parsed`,parse:String,optional:!0,brief:`Name of the column in the CSV that contains user core identifiers`},duration:{kind:`parsed`,parse:m,brief:'How long the access tokens should be valid. Accepts human-friendly values like "2 days", "10h", "90 minutes". A bare number is interpreted as seconds (e.g., "300" = 5 minutes). Powered by the `ms` library: https://github.com/vercel/ms',default:`1y`},transcendUrl:p()}},docs:{brief:`Generate access tokens`,fullDescription:`This command allows for the generation of access tokens for users specified in a CSV file.`}}),"pull-consent-metrics":_({loader:async()=>{let{pullConsentMetrics:e}=await import(`./impl-Cf0ilMtY.mjs`);return e},parameters:{flags:{auth:l({scopes:[j.ViewConsentManager]}),start:{kind:`parsed`,parse:u,brief:`The start date to pull metrics from`},end:{kind:`parsed`,parse:u,brief:`The end date to pull metrics until`,optional:!0},folder:{kind:`parsed`,parse:String,brief:`The folder to save metrics to`,default:`./consent-metrics/`},bin:{kind:`parsed`,parse:String,brief:`The bin metric when pulling data (1h or 1d)`,default:`1d`},transcendUrl:p()}},docs:{brief:`Pull consent metrics`,fullDescription:"This command allows for pulling consent manager metrics for a Transcend account, or a set of Transcend accounts.\n\nBy default, the consent metrics will be written to a folder named `consent-metrics` within the directory where you run the command. You can override the location that these CSVs are written to using the flag `--folder=./my-folder/`. This folder will contain a set of CSV files:\n\n- `CONSENT_CHANGES_TIMESERIES_optIn.csv` -> this is a feed containing the number of explicit opt in events that happen - these are calls to `airgap.setConsent(event, { SaleOfInfo: true });`\n- `CONSENT_CHANGES_TIMESERIES_optOut.csv` -> this is a feed containing the number of explicit opt out events that happen - these are calls to `airgap.setConsent(event, { SaleOfInfo: false });`\n- `CONSENT_SESSIONS_BY_REGIME_Default.csv` -> this contains the number of sessions detected for the bin period\n- `PRIVACY_SIGNAL_TIMESERIES_DNT.csv` -> the number of DNT signals detected.\n- `PRIVACY_SIGNAL_TIMESERIES_GPC.csv` -> the number of GPC signals detected."}}),"pull-consent-preferences":_({loader:async()=>{let{pullConsentPreferences:e}=await import(`./impl-Bq3ZIpcG.mjs`);return e},parameters:{flags:{auth:l({scopes:[j.ViewManagedConsentDatabaseAdminApi,j.ViewRequestIdentitySettings,j.ViewPreferenceStoreSettings]}),partition:{kind:`parsed`,parse:String,brief:`Partition ID to query in the Preference Store`},sombraAuth:d(),file:{kind:`parsed`,parse:String,brief:`Path to CSV output file`,default:`./preferences.csv`},transcendUrl:p(),timestampBefore:{kind:`parsed`,parse:u,brief:`Filter: preferences collected before this time (timestampBefore)`,optional:!0},timestampAfter:{kind:`parsed`,parse:u,brief:`Filter: preferences collected after this time (timestampAfter)`,optional:!0},updatedBefore:{kind:`parsed`,parse:u,brief:`Filter: preferences updated before this time (system.updatedAt)`,optional:!0},updatedAfter:{kind:`parsed`,parse:u,brief:`Filter: preferences updated after this time (system.updatedAt)`,optional:!0},identifiers:{kind:`parsed`,parse:String,variadic:`,`,brief:`Filter specific users by identifier(s) as "name:value". If name is omitted, defaults to "email". Multiple values separated by commas.`,optional:!0},concurrency:{kind:`parsed`,parse:y,brief:`Page size / concurrency used when downloading (1–50 per API). Higher = fewer pages.`,default:`50`},shouldChunk:{kind:`boolean`,brief:`Whether to download requests in timestamp window chunks.`,default:!0},exportIdentifiersWithDelimiter:{kind:`parsed`,parse:String,brief:`Delimiter to use when combining multiple identifiers into a single column in the output CSV.`,default:`,`},windowConcurrency:{kind:`parsed`,parse:y,brief:`When chunking, how many windows to download in parallel (higher = faster, but more load).`,default:`80`},maxChunks:{kind:`parsed`,parse:y,brief:`Maximum number of chunks to download (higher = more data, but more load).`,default:`20000`},maxLookbackDays:{kind:`parsed`,parse:y,brief:`Maximum lookback period in days for fetching consent preferences.`,default:`3650`}}},docs:{brief:`Pull consent preferences from the Managed Consent Database`,fullDescription:`Uses POST /v1/preferences/{partition}/query with cursor-based pagination. Supports filtering by identifiers, collection timestamps, and system.updatedAt.`}}),"update-consent-manager":_({loader:async()=>{let{updateConsentManager:e}=await import(`./impl-DWt1-1WC.mjs`);return e},parameters:{flags:{auth:l({scopes:[j.ManageConsentManagerDeveloperSettings]}),bundleTypes:{kind:`enum`,values:Object.values(S),brief:`The bundle types to deploy. Defaults to PRODUCTION,TEST.`,variadic:`,`},deploy:{kind:`boolean`,brief:`When true, deploy the Consent Manager after updating the version`,default:!1},transcendUrl:p()}},docs:{brief:`Update consent manager`,fullDescription:`This command allows for updating Consent Manager to latest version. The Consent Manager bundle can also be deployed using this command.`}}),"upload-consent-preferences":_({loader:async()=>{let{uploadConsentPreferences:e}=await import(`./impl-TccXt92R.mjs`);return e},parameters:{flags:{base64EncryptionKey:{kind:`parsed`,parse:String,brief:`The encryption key used to encrypt the userId`},base64SigningKey:{kind:`parsed`,parse:String,brief:`The signing key used to prove authentication of consent request`},partition:{kind:`parsed`,parse:String,brief:`The partition key to download consent preferences to`},file:{kind:`parsed`,parse:String,brief:`The file to pull consent preferences from`,default:`./preferences.csv`},consentUrl:o(),concurrency:{kind:`parsed`,parse:y,brief:`The concurrency to use when uploading requests in parallel`,default:`100`}}},docs:{brief:`Upload consent preferences to the Managed Consent Database`,fullDescription:`This command allows for updating of consent preferences to the Managed Consent Database.`}}),"upload-cookies-from-csv":_({loader:async()=>{let{uploadCookiesFromCsv:e}=await import(`./impl-BcN3aYTh.mjs`);return e},parameters:{flags:{auth:l({scopes:[j.ManageDataFlow]}),trackerStatus:{kind:`enum`,values:Object.values(C),brief:`The status of the cookies you will upload.`},file:{kind:`parsed`,parse:String,brief:`Path to the CSV file to upload`,default:`./cookies.csv`},transcendUrl:p()}},docs:{brief:`Upload cookies from CSV`,fullDescription:`Upload cookies from CSV. This command allows for uploading of cookies from CSV.
|
|
26
|
+
|
|
27
|
+
Step 1) Download the CSV of cookies that you want to edit from the Admin Dashboard under [Consent Management -> Cookies](https://app.transcend.io/consent-manager/cookies). You can download cookies from both the "Triage" and "Approved" tabs.
|
|
28
|
+
|
|
29
|
+
Step 2) You can edit the contents of the CSV file as needed. You may adjust the "Purpose" column, adjust the "Notes" column, add "Owners" and "Teams" or even add custom columns with additional metadata.
|
|
30
|
+
|
|
31
|
+
Step 3) Upload the modified CSV file back into the dashboard with this command.`}}),"upload-data-flows-from-csv":_({loader:async()=>{let{uploadDataFlowsFromCsv:e}=await import(`./impl-BhSv0Rt4.mjs`);return e},parameters:{flags:{auth:l({scopes:[j.ManageDataFlow]}),trackerStatus:{kind:`enum`,values:Object.values(C),brief:`The status of the data flows you will upload.`},file:{kind:`parsed`,parse:String,brief:`Path to the CSV file to upload`,default:`./data-flows.csv`},classifyService:{kind:`boolean`,brief:`When true, automatically assign the service for a data flow based on the domain that is specified`,default:!1},transcendUrl:p()}},docs:{brief:`Upload data flows from CSV`,fullDescription:`Upload data flows from CSV. This command allows for uploading of data flows from CSV.
|
|
32
|
+
|
|
33
|
+
Step 1) Download the CSV of data flows that you want to edit from the Admin Dashboard under [Consent Management -> Data Flows](https://app.transcend.io/consent-manager/data-flows). You can download data flows from both the "Triage" and "Approved" tabs.
|
|
34
|
+
|
|
35
|
+
Step 2) You can edit the contents of the CSV file as needed. You may adjust the "Purpose" column, adjust the "Notes" column, add "Owners" and "Teams" or even add custom columns with additional metadata.
|
|
36
|
+
|
|
37
|
+
Step 3) Upload the modified CSV file back into the dashboard with this command.`}}),"upload-preferences":_({loader:async()=>{let{uploadPreferences:e}=await import(`./impl-BMU2cg0K.mjs`);return e},parameters:{flags:{auth:l({scopes:[j.ManageStoredPreferences,j.ViewManagedConsentDatabaseAdminApi,j.ViewPreferenceStoreSettings]}),partition:{kind:`parsed`,parse:String,brief:`The partition key to download consent preferences to`},sombraAuth:d(),transcendUrl:p(),file:{kind:`parsed`,parse:String,brief:`Path to the CSV file to load preferences from`,optional:!0},directory:{kind:`parsed`,parse:String,brief:`Path to the directory of CSV files to load preferences from`,optional:!0},dryRun:{kind:`boolean`,brief:`Whether to do a dry run only - will write results to receiptFilepath without updating Transcend`,default:!1},skipExistingRecordCheck:{kind:`boolean`,brief:`Whether to skip the check for existing records. SHOULD ONLY BE USED FOR INITIAL UPLOAD`,default:!1},receiptFileDir:{kind:`parsed`,parse:String,brief:`Directory path where the response receipts should be saved`,default:`./receipts`},skipWorkflowTriggers:{kind:`boolean`,brief:`Whether to skip workflow triggers when uploading to preference store`,default:!1},forceTriggerWorkflows:{kind:`boolean`,brief:`Whether to force trigger workflows for existing consent records`,default:!1},skipConflictUpdates:{kind:`boolean`,brief:`Whether to skip uploading of any records where the preference store and file have a hard conflict`,default:!1},isSilent:{kind:`boolean`,brief:`Whether to skip sending emails in workflows`,default:!0},attributes:{kind:`parsed`,parse:String,brief:`Attributes to add to any DSR request if created. Comma-separated list of key:value pairs.`,default:`Tags:transcend-cli,Source:transcend-cli`},receiptFilepath:{kind:`parsed`,parse:String,brief:`Store resulting, continuing where left off`,default:`./preference-management-upload-receipts.json`},concurrency:{kind:`parsed`,parse:y,brief:`The concurrency to use when uploading in parallel`,default:`10`}}},docs:{brief:`Upload preference management data to your Preference Store`,fullDescription:`Upload preference management data to your Preference Store.
|
|
38
|
+
|
|
39
|
+
This command prompts you to map the shape of the CSV to the shape of the Transcend API. There is no requirement for the shape of the incoming CSV, as the script will handle the mapping process.
|
|
40
|
+
|
|
41
|
+
The script will also produce a JSON cache file that allows for the mappings to be preserved between runs.`}}),"delete-preference-records":L},docs:{brief:`Consent commands`}}),z=_({loader:async()=>{let{consentManagerServiceJsonToYml:e}=await import(`./impl-B3jtMu4u.mjs`);return e},parameters:{flags:{file:{kind:`parsed`,parse:String,brief:`Path to the services.json file, output of await airgap.getMetadata()`,default:`./services.json`},output:{kind:`parsed`,parse:String,brief:`Path to the output transcend.yml to write to`,default:`./transcend.yml`}}},docs:{brief:`Convert consent manager services to transcend.yml`,fullDescription:`Import the services from an airgap.js file into a Transcend instance.
|
|
42
|
+
|
|
43
|
+
1. Run \`await airgap.getMetadata()\` on a site with airgap
|
|
44
|
+
2. Right click on the printed object, and click \`Copy object\`
|
|
45
|
+
3. Place output of file in a file named \`services.json\`
|
|
46
|
+
4. Run:
|
|
47
|
+
|
|
48
|
+
${h([`inventory`,`consent-manager-service-json-to-yml`],{file:`./services.json`,output:`./transcend.yml`},{argsIndent:5})}
|
|
49
|
+
|
|
50
|
+
5. Run:
|
|
51
|
+
|
|
52
|
+
${h([`inventory`,`push`],{auth:`$TRANSCEND_API_KEY`,file:`./transcend.yml`,classifyService:!0},{argsIndent:5})}`}}),B=_({loader:async()=>{let{consentManagersToBusinessEntities:e}=await import(`./impl-CtgTs2rf.mjs`);return e},parameters:{flags:{consentManagerYmlFolder:{kind:`parsed`,parse:String,brief:`Path to the folder of Consent Manager transcend.yml files to combine`},output:{kind:`parsed`,parse:String,brief:`Path to the output transcend.yml with business entity configuration`,default:`./combined-business-entities.yml`}}},docs:{brief:`Convert consent managers to business entities`,fullDescription:`This command allows for converting a folder or Consent Manager transcend.yml files into a single transcend.yml file where each consent manager configuration is a Business Entity in the data inventory.`}}),ee=_({loader:async()=>{let{deriveDataSilosFromDataFlowsCrossInstance:e}=await import(`./impl-Al6BRaZv.mjs`);return e},parameters:{flags:{auth:l({scopes:[]}),dataFlowsYmlFolder:{kind:`parsed`,parse:String,brief:`The folder that contains data flow yml files`},output:{kind:`parsed`,parse:String,brief:`The output transcend.yml file containing the data silo configurations`,default:`./transcend.yml`},ignoreYmls:{kind:`parsed`,parse:String,variadic:`,`,brief:`The set of yml files that should be skipped when uploading`,optional:!0},transcendUrl:p()}},docs:{brief:`Derive data silos from data flows cross instance`,fullDescription:`Given a folder of data flow transcend.yml configurations, convert those configurations to a single transcend.yml configurations of all related data silos.`}}),V=_({loader:async()=>{let{deriveDataSilosFromDataFlows:e}=await import(`./impl-cbKOCJZ5.mjs`);return e},parameters:{flags:{auth:l({scopes:[]}),dataFlowsYmlFolder:{kind:`parsed`,parse:String,brief:`The folder that contains data flow yml files`},dataSilosYmlFolder:{kind:`parsed`,parse:String,brief:`The folder that contains data silo yml files`},ignoreYmls:{kind:`parsed`,parse:String,variadic:`,`,brief:`The set of yml files that should be skipped when uploading`,optional:!0},transcendUrl:p()}},docs:{brief:`Derive data silos from data flows`,fullDescription:`Given a folder of data flow transcend.yml configurations, convert those configurations to set of data silo transcend.yml configurations.`}}),H=_({loader:async()=>{let{discoverSilos:e}=await import(`./impl-CDhdTP82.mjs`);return e},parameters:{flags:{scanPath:{kind:`parsed`,parse:String,brief:`File path in the project to scan`},dataSiloId:{kind:`parsed`,parse:c,brief:`The UUID of the corresponding data silo`},auth:l({scopes:[j.ManageAssignedDataInventory],requiresSiloScope:!0}),fileGlobs:{kind:`parsed`,parse:String,brief:`You can pass a glob syntax pattern(s) to specify additional file paths to scan. Comma-separated list of globs.`,default:``},ignoreDirs:{kind:`parsed`,parse:String,brief:`Comma-separated list of directories to ignore.`,default:``},transcendUrl:p()}},docs:{brief:`Scan dependency management files to discover new data silos.`,fullDescription:`We support scanning for new data silos in JavaScript, Python, Gradle, and CocoaPods projects.
|
|
53
|
+
|
|
54
|
+
To get started, add a data silo for the corresponding project type with the "silo discovery" plugin enabled. For example, if you want to scan a JavaScript project, add a package.json data silo. Then, specify the data silo ID in the "--dataSiloId" parameter.`}}),U=_({loader:async()=>{let{pullDatapoints:e}=await import(`./impl-BAwyizeI.mjs`);return e},parameters:{flags:{auth:l({scopes:[j.ViewDataInventory]}),file:{kind:`parsed`,parse:String,brief:`The file to save datapoints to`,default:`./datapoints.csv`},transcendUrl:p(),dataSiloIds:{kind:`parsed`,parse:String,variadic:`,`,brief:`List of data silo IDs to filter by`,optional:!0},includeAttributes:{kind:`boolean`,brief:`Whether to include attributes in the output`,default:!1},includeGuessedCategories:{kind:`boolean`,brief:`Whether to include guessed categories in the output`,default:!1},parentCategories:{kind:`enum`,values:Object.values(w),brief:`List of parent categories to filter by`,variadic:`,`,optional:!0},subCategories:{kind:`parsed`,parse:String,brief:`List of subcategories to filter by`,variadic:`,`,optional:!0}}},docs:{brief:`Export the datapoints from your Data Inventory into a CSV.`}}),W=_({loader:async()=>{let{pullUnstructuredDiscoveryFiles:e}=await import(`./impl-DQGV2G5v.mjs`);return e},parameters:{flags:{auth:l({scopes:[j.ViewDataInventory]}),file:{kind:`parsed`,parse:String,brief:`The file to save datapoints to`,default:`./unstructured-discovery-files.csv`},transcendUrl:p(),dataSiloIds:{kind:`parsed`,parse:String,brief:`List of data silo IDs to filter by`,variadic:`,`,optional:!0},subCategories:{kind:`parsed`,parse:String,brief:`List of data categories to filter by`,variadic:`,`,optional:!0},status:{kind:`enum`,values:Object.values(M),brief:`List of classification statuses to filter by`,variadic:`,`,optional:!0},includeEncryptedSnippets:{kind:`boolean`,brief:`Whether to include encrypted snippets of the entries classified`,default:!1}}},docs:{brief:`Pull unstructured discovery files`,fullDescription:`This command allows for pulling Unstructured Discovery into a CSV.`}}),G=v({routes:{pull:f,push:_({loader:async()=>{let{push:e}=await import(`./impl-CfLCStH0.mjs`);return e},parameters:{flags:{auth:l({scopes:`Varies`}),file:{kind:`parsed`,parse:String,brief:`Path to the YAML file to push from`,default:`./transcend.yml`},transcendUrl:p(),pageSize:{kind:`parsed`,parse:y,brief:`The page size to use when paginating over the API`,default:`50`},variables:{kind:`parsed`,parse:String,brief:`The variables to template into the YAML file when pushing configuration. Comma-separated list of key:value pairs.`,default:``},publishToPrivacyCenter:{kind:`boolean`,brief:`When true, publish the configuration to the Privacy Center`,default:!1},classifyService:{kind:`boolean`,brief:`When true, automatically assign the service for a data flow based on the domain that is specified`,default:!1},deleteExtraAttributeValues:{kind:`boolean`,brief:`When true and syncing attributes, delete any extra attributes instead of just upserting`,default:!1}}},docs:{brief:`Push metadata from transcend.yml to Transcend`,fullDescription:`Given a transcend.yml file, sync the contents up to your Transcend instance.`}}),"scan-packages":_({loader:async()=>{let{scanPackages:e}=await import(`./impl-Cy4r4CTO.mjs`);return e},parameters:{flags:{auth:l({scopes:[j.ManageCodeScanning]}),scanPath:{kind:`parsed`,parse:String,brief:`File path in the project to scan`,default:`./`},ignoreDirs:{kind:`parsed`,parse:String,variadic:`,`,brief:`List of directories to ignore in scan`,optional:!0},repositoryName:{kind:`parsed`,parse:String,brief:`Name of the git repository that the package should be tied to`,optional:!0},transcendUrl:p()}},docs:{brief:`Scan dependency management files to inventory code dependencies.`,fullDescription:`Transcend scans packages and dependencies for the following frameworks:
|
|
55
|
+
|
|
56
|
+
- package.json
|
|
57
|
+
- requirements.txt & setup.py
|
|
58
|
+
- Podfile
|
|
59
|
+
- Package.resolved
|
|
60
|
+
- build.gradle
|
|
61
|
+
- pubspec.yaml
|
|
62
|
+
- Gemfile & .gemspec
|
|
63
|
+
- composer.json
|
|
64
|
+
|
|
65
|
+
This command will scan the folder you point at to look for any of these files. Once found, the build file will be parsed in search of dependencies. Those code packages and dependencies will be uploaded to Transcend. The information uploaded to Transcend is:
|
|
66
|
+
|
|
67
|
+
- repository name
|
|
68
|
+
- package names
|
|
69
|
+
- dependency names and versions
|
|
70
|
+
- package descriptions`}}),"discover-silos":H,"pull-datapoints":U,"pull-unstructured-discovery-files":W,"derive-data-silos-from-data-flows":V,"derive-data-silos-from-data-flows-cross-instance":ee,"consent-manager-service-json-to-yml":z,"consent-managers-to-business-entities":B},docs:{brief:`Inventory commands`}}),K=v({routes:{"sync-ot":_({loader:async()=>{let{syncOt:e}=await import(`./impl-DYM8usyf.mjs`);return e},parameters:{flags:{hostname:{kind:`parsed`,parse:String,brief:`The domain of the OneTrust environment from which to pull the resource`,optional:!0},oneTrustAuth:{kind:`parsed`,parse:String,brief:`The OAuth access token with the scopes necessary to access the OneTrust Public APIs`,optional:!0},source:{kind:`enum`,values:Object.values(t),brief:`Whether to read the assessments from OneTrust or from a file`,default:`oneTrust`},transcendAuth:{...l({scopes:[j.ManageAssessments]}),optional:!0},transcendUrl:p(),file:{kind:`parsed`,parse:String,brief:`Path to the file to pull the resource into. Must be a json file!`,optional:!0},resource:{kind:`enum`,values:Object.values(e),brief:`The resource to pull from OneTrust. For now, only assessments is supported`,default:`assessments`},dryRun:{kind:`boolean`,brief:`Whether to export the resource to a file rather than sync to Transcend`,default:!1},debug:{kind:`boolean`,brief:`Whether to print detailed logs in case of error`,default:!1}}},docs:{brief:`Sync OneTrust data`,fullDescription:`Pulls resources from a OneTrust and syncs them to a Transcend instance. For now, it only supports retrieving OneTrust Assessments.
|
|
71
|
+
|
|
72
|
+
This command can be helpful if you are looking to:
|
|
73
|
+
- Pull resources from your OneTrust account.
|
|
74
|
+
- Migrate your resources from your OneTrust account to Transcend.
|
|
75
|
+
|
|
76
|
+
OneTrust authentication requires an OAuth Token with scope for accessing the assessment endpoints.
|
|
77
|
+
If syncing the resources to Transcend, you will also need to generate an API key on the Transcend Admin Dashboard.`}})},docs:{brief:`Migration commands`}}),q=_({loader:async()=>{let{activate:e}=await import(`./impl-BklXY5iH.mjs`);return e},parameters:{flags:{"bundle-name":{kind:`parsed`,parse:String,brief:`Logical policy bundle name (the same string used in publish/bundles); resolved to the parent bundle UUID internally`},version:{kind:`parsed`,parse:String,brief:`Caller-supplied version label to activate; defaults to the latest uploaded version by createdAt`,optional:!0},auth:l({scopes:[j.ActivatePolicyEngineBundles]}),"transcend-url":p(),"dry-run":{kind:`boolean`,brief:`Validate activation without flipping the active version`,default:!1},json:{kind:`boolean`,brief:`Print the raw JSON API response`,default:!1}}},docs:{brief:`Activate an uploaded policy bundle version`,fullDescription:`Calls the Policy Engine activate endpoint to make an uploaded version live. Addressed by bundle name (resolved to the parent bundle UUID internally). When --version is omitted, activates the latest uploaded version by createdAt. Requires a Transcend API key with Activate Policy scope.`}}),J=_({loader:async()=>{let{bundles:e}=await import(`./impl-DW2M6wCD.mjs`);return e},parameters:{flags:{auth:l({scopes:[j.ViewPolicyEngineBundles]}),"transcend-url":p(),limit:{kind:`parsed`,parse:e=>{let t=Number(e);if(!Number.isFinite(t)||t<=0)throw Error(`limit must be a positive number`);return t},brief:`Maximum number of bundles to return`,default:`50`},offset:{kind:`parsed`,parse:e=>{let t=Number(e);if(!Number.isFinite(t)||t<0)throw Error(`offset must be a non-negative number`);return t},brief:`Number of records to skip before returning results`,default:`0`},json:{kind:`boolean`,brief:`Print the raw JSON API response`,default:!1}}},docs:{brief:`List policy bundles for the current organization`,fullDescription:`Lists policy bundles registered for the authenticated organization. Requires a Transcend API key with View Policy scope.`}}),Y=v({routes:{activate:q,deactivate:_({loader:async()=>{let{deactivate:e}=await import(`./impl-DYwzsZHS.mjs`);return e},parameters:{flags:{"bundle-name":{kind:`parsed`,parse:String,brief:`Logical policy bundle name (the same string used in publish/bundles); resolved to the parent bundle UUID internally`},auth:l({scopes:[j.ActivatePolicyEngineBundles]}),"transcend-url":p(),json:{kind:`boolean`,brief:`Print the raw JSON API response`,default:!1}}},docs:{brief:`Deactivate the active version of a policy bundle`,fullDescription:`Calls the Policy Engine deactivate endpoint to take the currently active version of a bundle offline, clearing its active version pointer. Addressed by bundle name (resolved to the parent bundle UUID internally). Requires a Transcend API key with Activate Policy scope.`}}),eval:_({loader:async()=>{let{_eval:e}=await import(`./impl-BIFxlKlT.mjs`);return e},parameters:{flags:{pkg:{kind:`parsed`,parse:String,brief:`OPA package or query to evaluate (e.g. data.transcend.decision)`},input:{kind:`parsed`,parse:String,brief:`Path to a JSON envelope input file`},bundle:{kind:`parsed`,parse:String,brief:`Optional local policy bundle directory`,optional:!0}}},docs:{brief:`Evaluate one envelope against a local policy bundle`,fullDescription:"Wraps `opa eval` for local policy debugging. Requires the `opa` CLI on PATH. No Transcend API key is needed."}}),lint:_({loader:async()=>{let{lint:e}=await import(`./impl-ivVANd7G.mjs`);return e},parameters:{flags:{dir:{kind:`parsed`,parse:String,brief:`Directory containing Rego policy files`}}},docs:{brief:`Lint and optionally format a local policy bundle`,fullDescription:"Runs `opa check --strict` for Rego validation and `opa fmt` for formatting. When files are not formatted, lists the affected paths, prints a diff, and prompts to format them in place. Requires the `opa` CLI on PATH. No Transcend API key is needed."}}),bundles:J,publish:_({loader:async()=>{let{publish:e}=await import(`./impl-D37m-KH_.mjs`);return e},parameters:{flags:{dir:{kind:`parsed`,parse:String,brief:`Directory containing manifest.json and Rego policy files`},"bundle-name":{kind:`parsed`,parse:String,brief:`Tenant-unique policy bundle name`},auth:l({scopes:[j.ManagePolicyEngineBundles]}),"transcend-url":p(),version:{kind:`parsed`,parse:String,brief:`Version label (defaults to {bundleName}-yyyy-mm-dd-hh-mm-ss)`,optional:!0},description:{kind:`parsed`,parse:String,brief:`Optional description for the uploaded version`,optional:!0},json:{kind:`boolean`,brief:`Print the raw JSON API response`,default:!1},yes:{kind:`boolean`,brief:`Skip the "create new bundle" confirmation (for CI/non-interactive use)`,default:!1}}},docs:{brief:`Build and upload a new policy bundle version`,fullDescription:"Packages manifest.json and .rego policy files from a local directory into a tarball and uploads it to Transcend. Creates the bundle on first upload, then appends immutable versions. Requires the `opa` CLI on PATH (for `opa check` and `opa build` validation) and a Transcend API key with Manage Policy scope."}}),test:_({loader:async()=>{let{test:e}=await import(`./impl-FGDxq3CJ.mjs`);return e},parameters:{flags:{dir:{kind:`parsed`,parse:String,brief:`Directory containing Rego policy files and tests`}}},docs:{brief:`Run OPA tests against a local policy bundle`,fullDescription:"Wraps `opa test` for a local policy directory. Requires the `opa` CLI on PATH. No Transcend API key is needed."}}),versions:_({loader:async()=>{let{versions:e}=await import(`./impl-DI4DE-Kl.mjs`);return e},parameters:{flags:{"bundle-name":{kind:`parsed`,parse:String,brief:`Tenant-unique policy bundle name`},auth:l({scopes:[j.ViewPolicyEngineBundles]}),"transcend-url":p(),limit:{kind:`parsed`,parse:e=>{let t=Number(e);if(!Number.isFinite(t)||t<=0)throw Error(`limit must be a positive number`);return t},brief:`Maximum number of versions to return`,default:`50`},after:{kind:`parsed`,parse:String,brief:`Opaque cursor from a previous response pageInfo.endCursor`,optional:!0},json:{kind:`boolean`,brief:`Print the raw JSON API response`,default:!1}}},docs:{brief:`List versions for a policy bundle`,fullDescription:`Resolves a bundle name to its UUID and lists uploaded versions. Requires a Transcend API key with View Policy scope.`}})},docs:{brief:`Policy Engine commands`}}),X=_({loader:async()=>{let{approve:e}=await import(`./impl-CQidV4Ed.mjs`);return e},parameters:{flags:{auth:l({scopes:[j.RequestApproval,j.ViewRequests,j.ManageRequestCompilation]}),actions:{kind:`enum`,values:Object.values(T),variadic:`,`,brief:`The request actions to approve`},origins:{kind:`enum`,values:Object.values(O),variadic:`,`,brief:`The request origins to approve`,optional:!0},silentModeBefore:{kind:`parsed`,parse:u,brief:`Any requests made before this date should be marked as silent mode`,optional:!0},createdAtBefore:{kind:`parsed`,parse:u,brief:`Approve requests that were submitted before this time`,optional:!0},createdAtAfter:{kind:`parsed`,parse:u,brief:`Approve requests that were submitted after this time`,optional:!0},updatedAtBefore:{kind:`parsed`,parse:u,brief:`Approve requests that were last updated before this time`,optional:!0},updatedAtAfter:{kind:`parsed`,parse:u,brief:`Approve requests that were last updated after this time`,optional:!0},transcendUrl:p(),concurrency:{kind:`parsed`,parse:y,brief:`The concurrency to use when uploading requests in parallel`,default:`50`}}},docs:{brief:`Bulk approve a set of privacy requests`,fullDescription:`Bulk approve a set of privacy requests from the DSR Automation -> Incoming Requests tab.`}}),Z=_({loader:async()=>{let{cancel:e}=await import(`./impl-DUGoj_7M.mjs`);return e},parameters:{flags:{auth:l({scopes:[j.ViewRequests,j.RequestApproval]}),actions:{kind:`enum`,values:Object.values(T),variadic:`,`,brief:`The request actions to cancel`},statuses:{kind:`enum`,values:Object.values(k),variadic:`,`,brief:`The request statuses to cancel. Comma-separated list.`,optional:!0},requestIds:{kind:`parsed`,parse:String,variadic:`,`,brief:`Specify the specific request IDs to cancel`,optional:!0},silentModeBefore:{kind:`parsed`,parse:u,brief:`Any requests made before this date should be marked as silent mode for canceling to skip email sending`,optional:!0},createdAtBefore:{kind:`parsed`,parse:u,brief:`Cancel requests that were submitted before this time`,optional:!0},createdAtAfter:{kind:`parsed`,parse:u,brief:`Cancel requests that were submitted after this time`,optional:!0},updatedAtBefore:{kind:`parsed`,parse:u,brief:`Cancel requests that were last updated before this time`,optional:!0},updatedAtAfter:{kind:`parsed`,parse:u,brief:`Cancel requests that were last updated after this time`,optional:!0},cancellationTitle:{kind:`parsed`,parse:String,brief:`The title of the email template that should be sent to the requests upon cancelation`,default:`Request Canceled`},transcendUrl:p(),concurrency:{kind:`parsed`,parse:y,brief:`The concurrency to use when uploading requests in parallel`,default:`50`}}},docs:{brief:`Bulk cancel a set of privacy requests`,fullDescription:`Bulk cancel a set of privacy requests from the DSR Automation -> Incoming Requests tab.`}}),Q=_({loader:async()=>{let{markIdentifiersCompleted:e}=await import(`./impl-CE2r1YjC2.mjs`);return e},parameters:{flags:{auth:l({scopes:[],requiresSiloScope:!0}),dataSiloId:{kind:`parsed`,parse:c,brief:`The ID of the data silo to pull in`},file:{kind:`parsed`,parse:String,brief:`Path to the CSV file where identifiers will be written to`,default:`./cron-identifiers.csv`},transcendUrl:p(),sombraAuth:d()}},docs:{brief:`Mark identifiers as completed after processing.`,fullDescription:`This command takes the output of "${h([`request`,`cron`,`pull-identifiers`],{})}" and notifies Transcend that all of the requests in the CSV have been processed.
|
|
78
|
+
This is used in the workflow like:
|
|
79
|
+
|
|
80
|
+
1. Pull identifiers to CSV:
|
|
81
|
+
|
|
82
|
+
${h([`request`,`cron`,`pull-identifiers`],{auth:`$TRANSCEND_API_KEY`,dataSiloId:`70810f2e-cf90-43f6-9776-901a5950599f`,actions:[T.Erasure],file:`./outstanding-requests.csv`},{argsIndent:5})}
|
|
83
|
+
|
|
84
|
+
2. Run your process to operate on that CSV of requests.
|
|
85
|
+
|
|
86
|
+
3. Notify Transcend of completion
|
|
87
|
+
|
|
88
|
+
${h([`request`,`cron`,`mark-identifiers-completed`],{auth:`$TRANSCEND_API_KEY`,dataSiloId:`70810f2e-cf90-43f6-9776-901a5950599f`,file:`./outstanding-requests.csv`},{argsIndent:5})}
|
|
89
|
+
|
|
90
|
+
Read more at https://docs.transcend.io/docs/integrations/cron-job-integration.`}}),$=v({routes:{"pull-identifiers":_({loader:async()=>{let{pullIdentifiers:e}=await import(`./impl-CkHIOElC.mjs`);return e},parameters:{flags:{auth:l({scopes:[],requiresSiloScope:!0}),dataSiloId:{kind:`parsed`,parse:c,brief:`The ID of the data silo to pull in`},actions:{kind:`enum`,values:Object.values(T),variadic:`,`,brief:`The request actions to restart`},file:{kind:`parsed`,parse:String,brief:`Path to the CSV file where identifiers will be written to`,default:`./cron-identifiers.csv`},transcendUrl:p(),sombraAuth:d(),pageLimit:{kind:`parsed`,parse:y,brief:`The page limit to use when pulling in pages of identifiers`,default:`100`},skipRequestCount:{kind:`boolean`,brief:`Whether to skip the count of all outstanding requests. This is required to render the progress bar, but can take a long time to run if you have a large number of outstanding requests to process. In that case, we recommend setting skipRequestCount=true so that you can still proceed with fetching the identifiers`,default:!1},chunkSize:{kind:`parsed`,parse:y,brief:`Maximum number of rows per CSV file. For large datasets, the output will be automatically split into multiple files to avoid file system size limits. Each file will contain at most this many rows`,default:`10000`}}},docs:{brief:`Pull identifiers of outstanding requests for a data silo to a CSV.`,fullDescription:`If you are using the cron job integration, you can run this command to pull the outstanding identifiers for the data silo to a CSV.
|
|
91
|
+
|
|
92
|
+
For large datasets, the output will be automatically split into multiple CSV files to avoid file system size limits. Use the --chunkSize parameter to control the maximum number of rows per file.
|
|
93
|
+
|
|
94
|
+
Read more at https://docs.transcend.io/docs/integrations/cron-job-integration.`}}),"pull-profiles":_({loader:async()=>{let{pullProfiles:e}=await import(`./impl-DVAcEvPM2.mjs`);return e},parameters:{flags:{auth:l({scopes:[],requiresSiloScope:!0}),cronDataSiloId:{kind:`parsed`,parse:c,brief:`The ID of the cron data silo to pull in`},targetDataSiloId:{kind:`parsed`,parse:c,brief:`The ID of the target data silo to pull in`},actions:{kind:`enum`,values:Object.values(T),variadic:`,`,brief:`The request actions to restart`},file:{kind:`parsed`,parse:String,brief:`Path to the CSV file where identifiers will be written to`,default:`./cron-identifiers.csv`},fileTarget:{kind:`parsed`,parse:String,brief:`Path to the CSV file where identifiers will be written to`,default:`./cron-identifiers-target.csv`},transcendUrl:p(),sombraAuth:d(),pageLimit:{kind:`parsed`,parse:y,brief:`The page limit to use when pulling in pages of identifiers`,default:`100`},skipRequestCount:{kind:`boolean`,brief:`Whether to skip the count of all outstanding requests. This is required to render the progress bar, but can take a long time to run if you have a large number of outstanding requests to process. In that case, we recommend setting skipRequestCount=true so that you can still proceed with fetching the identifiers`,default:!1},chunkSize:{kind:`parsed`,parse:y,brief:`Maximum number of rows per CSV file. For large datasets, the output will be automatically split into multiple files to avoid file system size limits. Each file will contain at most this many rows`,default:`10000`}}},docs:{brief:`Pull profiles of outstanding requests for a data silo to a CSV.`,fullDescription:`If you are using the cron job integration, you can run this command to pull the outstanding profiles for the data silo to a CSV.
|
|
95
|
+
|
|
96
|
+
For large datasets, the output will be automatically split into multiple CSV files to avoid file system size limits. Use the --chunkSize parameter to control the maximum number of rows per file.
|
|
97
|
+
|
|
98
|
+
Read more at https://docs.transcend.io/docs/integrations/cron-job-integration.`}}),"mark-identifiers-completed":Q},docs:{brief:`Cron commands`,hideRoute:{"pull-profiles":!0}}}),te=_({loader:async()=>{let{downloadFiles:e}=await import(`./impl-CV8ZUJpM2.mjs`);return e},parameters:{flags:{auth:l({scopes:[j.ViewRequestCompilation,j.ViewRequests,j.RequestApproval]}),sombraAuth:d(),concurrency:{kind:`parsed`,parse:y,brief:`The concurrency to use when downloading requests in parallel`,default:`10`},requestIds:{kind:`parsed`,parse:String,variadic:`,`,brief:`Specify the specific request IDs to download`,optional:!0},statuses:{kind:`enum`,values:Object.values(k),variadic:`,`,brief:`The request statuses to download. Comma-separated list. Defaults to APPROVING,DOWNLOADABLE.`,optional:!0},folderPath:{kind:`parsed`,parse:String,brief:`The folder to download files to`,default:`./dsr-files`},createdAtBefore:{kind:`parsed`,parse:u,brief:`Download requests that were submitted before this time`,optional:!0},createdAtAfter:{kind:`parsed`,parse:u,brief:`Download requests that were submitted after this time`,optional:!0},updatedAtBefore:{kind:`parsed`,parse:u,brief:`Download requests that were last updated before this time`,optional:!0},updatedAtAfter:{kind:`parsed`,parse:u,brief:`Download requests that were last updated after this time`,optional:!0},approveAfterDownload:{kind:`boolean`,brief:`If the request is in status=APPROVING, approve the request after its downloaded`,default:!1},transcendUrl:p()}},docs:{brief:`Download the files associated with a Data Subject Access Request (DSAR)`,fullDescription:`Download the files associated with a Data Subject Access Request (DSAR) from DSR Automation -> Incoming Requests tab.`}}),ne=_({loader:async()=>{let{enricherRestart:e}=await import(`./impl-C7qHfIcx2.mjs`);return e},parameters:{flags:{auth:l({scopes:[j.ManageRequestCompilation]}),enricherId:{kind:`parsed`,parse:String,brief:`The ID of the enricher to restart`},actions:{kind:`enum`,values:Object.values(T),variadic:`,`,brief:`The request action to restart`,optional:!0},requestEnricherStatuses:{kind:`enum`,values:Object.values(D),variadic:`,`,brief:`The request enricher statuses to restart`,optional:!0},transcendUrl:p(),concurrency:{kind:`parsed`,parse:y,brief:`The concurrency to use when uploading requests in parallel`,default:`15`},requestIds:{kind:`parsed`,parse:String,variadic:`,`,brief:`Specify the specific request IDs to restart`,optional:!0},createdAtBefore:{kind:`parsed`,parse:u,brief:`Restart requests that were submitted before this time`,optional:!0},createdAtAfter:{kind:`parsed`,parse:u,brief:`Restart requests that were submitted after this time`,optional:!0},updatedAtBefore:{kind:`parsed`,parse:u,brief:`Restart requests that were last updated before this time`,optional:!0},updatedAtAfter:{kind:`parsed`,parse:u,brief:`Restart requests that were last updated after this time`,optional:!0}}},docs:{brief:`Bulk restart a particular enricher across a series of DSRs`,fullDescription:`Bulk restart a particular enricher across a series of DSRs.
|
|
99
|
+
|
|
100
|
+
The API key needs the following scopes:
|
|
101
|
+
- Manage Request Compilation`}}),re=_({loader:async()=>{let{_export:e}=await import(`./impl-CYEjn9-f2.mjs`);return e},parameters:{flags:{auth:l({scopes:[j.ViewRequests,j.ViewRequestCompilation]}),sombraAuth:d(),actions:{kind:`enum`,values:Object.values(T),variadic:`,`,brief:`The request actions to export`,optional:!0},statuses:{kind:`enum`,values:Object.values(k),variadic:`,`,brief:`The request statuses to export`,optional:!0},transcendUrl:p(),file:{kind:`parsed`,parse:String,brief:`Path to the CSV file where identifiers will be written to`,default:`./transcend-request-export.csv`},concurrency:{kind:`parsed`,parse:y,brief:`Number of parallel date-range chunks to split the query into. Requires both --createdAtAfter and --createdAtBefore to be set.`,default:`1`},skipRequestIdentifiers:{kind:`boolean`,brief:`Skip exporting request identifiers`,optional:!0},createdAtBefore:{kind:`parsed`,parse:u,brief:`Pull requests that were submitted before this time`,optional:!0},createdAtAfter:{kind:`parsed`,parse:u,brief:`Pull requests that were submitted after this time`,optional:!0},updatedAtBefore:{kind:`parsed`,parse:u,brief:`Pull requests that were last updated before this time`,optional:!0},updatedAtAfter:{kind:`parsed`,parse:u,brief:`Pull requests that were last updated after this time`,optional:!0},showTests:{kind:`boolean`,brief:`Filter for test requests or production requests - when not provided, pulls both`,optional:!0},pageLimit:{kind:`parsed`,parse:y,brief:`The page limit to use when pulling in pages of requests`,default:`100`}}},docs:{brief:`Export privacy requests and request identifiers to a CSV file`,fullDescription:`Export privacy requests and request identifiers to a CSV file.`}}),ie=_({loader:async()=>{let{markSilent:e}=await import(`./impl-Dk8ALjBa2.mjs`);return e},parameters:{flags:{auth:l({scopes:[j.ManageRequestCompilation]}),actions:{kind:`enum`,values:Object.values(T),variadic:`,`,brief:`The request actions to mark silent`},statuses:{kind:`enum`,values:Object.values(k),variadic:`,`,brief:`The request statuses to mark silent. Comma-separated list. Defaults to REQUEST_MADE,WAITING,ENRICHING,COMPILING,DELAYED,APPROVING,SECONDARY,SECONDARY_APPROVING.`,optional:!0},requestIds:{kind:`parsed`,parse:String,variadic:`,`,brief:`Specify the specific request IDs to mark silent`,optional:!0},createdAtBefore:{kind:`parsed`,parse:u,brief:`Mark silent requests that were submitted before this time`,optional:!0},createdAtAfter:{kind:`parsed`,parse:u,brief:`Mark silent requests that were submitted after this time`,optional:!0},updatedAtBefore:{kind:`parsed`,parse:u,brief:`Mark silent requests that were last updated before this time`,optional:!0},updatedAtAfter:{kind:`parsed`,parse:u,brief:`Mark silent requests that were last updated after this time`,optional:!0},transcendUrl:p(),concurrency:{kind:`parsed`,parse:y,brief:`The concurrency to use when uploading requests in parallel`,default:`50`}}},docs:{brief:`Bulk update a set of privacy requests to be in silent mode`,fullDescription:`Bulk update a set of privacy requests from the DSR Automation -> Incoming Requests tab to be in silent mode.`}}),ae=_({loader:async()=>{let{notifyAdditionalTime:e}=await import(`./impl-Bl2wbGhc2.mjs`);return e},parameters:{flags:{auth:l({scopes:[j.ViewRequests,j.RequestApproval]}),createdAtBefore:{kind:`parsed`,parse:u,brief:`Notify requests that are open but submitted before this time`},createdAtAfter:{kind:`parsed`,parse:u,brief:`Notify requests that are open but submitted after this time`,optional:!0},updatedAtBefore:{kind:`parsed`,parse:u,brief:`Notify requests that were last updated before this time`,optional:!0},updatedAtAfter:{kind:`parsed`,parse:u,brief:`Notify requests that were last updated after this time`,optional:!0},actions:{kind:`enum`,values:Object.values(T),variadic:`,`,brief:`The request actions to notify`,optional:!0},daysLeft:{kind:`parsed`,parse:y,brief:`Only notify requests that have less than this number of days until they are considered expired`,default:`10`},days:{kind:`parsed`,parse:y,brief:`The number of days to adjust the expiration of the request to`,default:`45`},requestIds:{kind:`parsed`,parse:String,variadic:`,`,brief:`Specify the specific request IDs to notify`,optional:!0},emailTemplate:{kind:`parsed`,parse:String,brief:`The title of the email template that should be sent to the requests`,default:`Additional Time Needed`},transcendUrl:p(),concurrency:{kind:`parsed`,parse:y,brief:`The concurrency to use when uploading requests in parallel`,default:`50`}}},docs:{brief:`Bulk notify a set of privacy requests that more time is needed`,fullDescription:`Bulk notify a set of privacy requests from the DSR Automation -> Incoming Requests tab that more time is needed to complete the request. Note any request in silent mode will not be emailed.`}}),oe=v({routes:{"pull-identifiers":_({loader:async()=>{let{pullIdentifiers:e}=await import(`./impl-Aldb1uGI2.mjs`);return e},parameters:{flags:{auth:l({scopes:[j.ViewRequests,j.ViewRequestCompilation]}),sombraAuth:d(),transcendUrl:p(),file:{kind:`parsed`,parse:String,brief:`Path to the CSV file where requests will be written to`,default:`./manual-enrichment-identifiers.csv`},actions:{kind:`enum`,values:Object.values(T),variadic:`,`,brief:`The request actions to pull for`,optional:!0},concurrency:{kind:`parsed`,parse:y,brief:`The concurrency to use when uploading requests in parallel`,default:`100`}}},docs:{brief:`Pull identifiers for manual enrichment`,fullDescription:`This command pulls down the set of privacy requests that are currently pending manual enrichment.
|
|
102
|
+
|
|
103
|
+
This is useful for the following workflow:
|
|
104
|
+
|
|
105
|
+
1. Pull identifiers to CSV:
|
|
106
|
+
|
|
107
|
+
${h([`request`,`preflight`,`pull-identifiers`],{file:`./enrichment-requests.csv`},{argsIndent:5})}
|
|
108
|
+
|
|
109
|
+
2. Fill out the CSV with additional identifiers
|
|
110
|
+
|
|
111
|
+
3. Push updated back to Transcend:
|
|
112
|
+
|
|
113
|
+
${h([`request`,`preflight`,`push-identifiers`],{file:`./enrichment-requests.csv`},{argsIndent:5})}`}}),"push-identifiers":_({loader:async()=>{let{pushIdentifiers:e}=await import(`./impl-DoLi7ouF.mjs`);return e},parameters:{flags:{auth:l({scopes:[j.ManageRequestIdentities,j.ManageRequestCompilation]}),enricherId:{kind:`parsed`,parse:c,brief:`The ID of the Request Enricher to upload to`},sombraAuth:d(),transcendUrl:p(),file:{kind:`parsed`,parse:String,brief:`Path to the CSV file where requests will be written to`,default:`./manual-enrichment-identifiers.csv`},markSilent:{kind:`boolean`,brief:`When true, set requests into silent mode before enriching`,default:!1},concurrency:{kind:`parsed`,parse:y,brief:`The concurrency to use when uploading requests in parallel`,default:`100`}}},docs:{brief:`Push identifiers for manual enrichment`,fullDescription:`This command push up a set of identifiers for a set of requests pending manual enrichment.
|
|
114
|
+
|
|
115
|
+
This is useful for the following workflow:
|
|
116
|
+
|
|
117
|
+
1. Pull identifiers to CSV:
|
|
118
|
+
|
|
119
|
+
${h([`request`,`preflight`,`pull-identifiers`],{file:`./enrichment-requests.csv`},{argsIndent:5})}
|
|
120
|
+
|
|
121
|
+
2. Fill out the CSV with additional identifiers
|
|
122
|
+
|
|
123
|
+
3. Push updated back to Transcend:
|
|
124
|
+
|
|
125
|
+
${h([`request`,`preflight`,`push-identifiers`],{file:`./enrichment-requests.csv`},{argsIndent:5})}`}})},docs:{brief:`Preflight commands`}}),se=_({loader:async()=>{let{rejectUnverifiedIdentifiers:e}=await import(`./impl-CaRcUBJW.mjs`);return e},parameters:{flags:{auth:l({scopes:[j.ManageRequestCompilation]}),identifierNames:{kind:`parsed`,parse:String,variadic:`,`,brief:`The names of identifiers to clear out`},actions:{kind:`enum`,values:Object.values(T),variadic:`,`,brief:`The request action to restart`,optional:!0},transcendUrl:p()}},docs:{brief:`Bulk clear out any request identifiers that are unverified`,fullDescription:`Bulk clear out any request identifiers that are unverified.`}}),ce=_({loader:async()=>{let{restart:e}=await import(`./impl-DSHZ8cw-.mjs`);return e},parameters:{flags:{auth:l({scopes:[j.MakeDataSubjectRequest,j.ViewRequestCompilation]}),actions:{kind:`enum`,values:Object.values(T),variadic:`,`,brief:`The request actions to restart`},statuses:{kind:`enum`,values:Object.values(k),variadic:`,`,brief:`The request statuses to restart`},transcendUrl:p(),requestReceiptFolder:{kind:`parsed`,parse:String,brief:`The path to the folder where receipts of each upload are stored`,default:`./privacy-request-upload-receipts`},sombraAuth:d(),concurrency:{kind:`parsed`,parse:y,brief:`The concurrency to use when uploading requests in parallel`,default:`15`},requestIds:{kind:`parsed`,parse:String,variadic:`,`,brief:`Specify the specific request IDs to restart`,optional:!0},emailIsVerified:{kind:`boolean`,brief:`Indicate whether the primary email address is verified. Set to false to send a verification email`,default:!0},createdAt:{kind:`parsed`,parse:u,brief:`Restart requests that were submitted before a specific date`,optional:!0},silentModeBefore:{kind:`parsed`,parse:u,brief:`Requests older than this date should be marked as silent mode`,optional:!0},createdAtBefore:{kind:`parsed`,parse:u,brief:`Restart requests that were submitted before this time`,optional:!0},createdAtAfter:{kind:`parsed`,parse:u,brief:`Restart requests that were submitted after this time`,optional:!0},updatedAtBefore:{kind:`parsed`,parse:u,brief:`Restart requests that were last updated before this time`,optional:!0},updatedAtAfter:{kind:`parsed`,parse:u,brief:`Restart requests that were last updated after this time`,optional:!0},sendEmailReceipt:{kind:`boolean`,brief:`Send email receipts to the restarted requests`,default:!1},copyIdentifiers:{kind:`boolean`,brief:`Copy over all enriched identifiers from the initial request`,default:!1},restartIdentifierStrategy:{kind:`enum`,values:Object.values(A),brief:`How request identifiers should be handled when restarting`,optional:!0},skipWaitingPeriod:{kind:`boolean`,brief:`Skip queued state of request and go straight to compiling`,default:!1}}},docs:{brief:`Bulk update a set of privacy requests based on a set of request filters`,fullDescription:`Bulk update a set of privacy requests based on a set of request filters.`}}),le=_({loader:async()=>{let{skipPreflightJobs:e}=await import(`./impl-CAjSSYOf.mjs`);return e},parameters:{flags:{auth:l({scopes:[j.ManageRequestCompilation]}),enricherIds:{kind:`parsed`,parse:String,variadic:`,`,brief:`The ID of the enrichers to skip privacy request jobs for`},transcendUrl:p()}},docs:{brief:`Skip preflight jobs`,fullDescription:`This command allows for bulk skipping preflight checks.`}}),ue=v({routes:{"mark-request-data-silos-completed":_({loader:async()=>{let{markRequestDataSilosCompleted:e}=await import(`./impl-BR2KAlF-.mjs`);return e},parameters:{flags:{auth:l({scopes:[j.ManageRequestCompilation]}),dataSiloId:{kind:`parsed`,parse:c,brief:`The ID of the data silo to pull in`},file:{kind:`parsed`,parse:String,brief:`Path to the CSV file where identifiers will be written to. The CSV is expected to have 1 column named "Request Id".`,default:`./request-identifiers.csv`},transcendUrl:p()}},docs:{brief:`Mark request data silos as completed`,fullDescription:`This command takes in a CSV of Request IDs as well as a Data Silo ID and marks all associated privacy request jobs as completed.
|
|
126
|
+
This command is useful with the "Bulk Response" UI. The CSV is expected to have 1 column named "Request Id".`}}),"retry-request-data-silos":_({loader:async()=>{let{retryRequestDataSilos:e}=await import(`./impl-CZLMR9_o.mjs`);return e},parameters:{flags:{auth:l({scopes:[j.ManageRequestCompilation]}),dataSiloId:{kind:`parsed`,parse:c,brief:`The ID of the data silo to pull in`},actions:{kind:`enum`,values:Object.values(T),variadic:`,`,brief:`The request actions to restart`},transcendUrl:p()}},docs:{brief:`Retry request data silos`,fullDescription:`This command allows for bulk restarting a set of data silos jobs for open privacy requests. This is equivalent to clicking the "Wipe and Retry" button for a particular data silo across a set of privacy requests.`}}),"skip-request-data-silos":_({loader:async()=>{let{skipRequestDataSilos:e}=await import(`./impl-CMY9_nL0.mjs`);return e},parameters:{flags:{auth:l({scopes:[j.ManageRequestCompilation]}),dataSiloId:{kind:`parsed`,parse:c,brief:`The ID of the data silo to skip privacy request jobs for`},transcendUrl:p(),statuses:{kind:`enum`,values:Object.values(k),variadic:`,`,brief:`The request statuses to skip`},status:{kind:`enum`,values:[E.Skipped,E.Resolved],brief:`The status to set the request data silo job to`,default:E.Skipped},actionTypes:{kind:`enum`,values:Object.values(T),variadic:`,`,brief:`Filter by request action types (e.g. ACCESS,ERASURE). Only request data silo jobs for these action types will be skipped.`,optional:!0}}},docs:{brief:`Skip request data silos`,fullDescription:`This command allows for bulk skipping all open privacy request jobs for a particular data silo. This command is useful if you want to disable a data silo and then clear out any active privacy requests that are still queued up for that data silo. Use --actionTypes to target specific data actions (e.g. only ERASURE jobs).`}})},docs:{brief:`System commands`}}),de=g(v({routes:{request:v({routes:{approve:X,upload:_({loader:async()=>{let{upload:e}=await import(`./impl-C2A-7CCE2.mjs`);return e},parameters:{flags:{auth:l({scopes:[j.MakeDataSubjectRequest,j.ViewRequestIdentitySettings,j.ViewGlobalAttributes]}),file:{kind:`parsed`,parse:String,brief:`Path to the CSV file of requests to upload`,default:`./requests.csv`},transcendUrl:p(),cacheFilepath:{kind:`parsed`,parse:String,brief:`The path to the JSON file encoding the metadata used to map the CSV shape to Transcend API`,default:`./transcend-privacy-requests-cache.json`},requestReceiptFolder:{kind:`parsed`,parse:String,brief:`The path to the folder where receipts of each upload are stored`,default:`./privacy-request-upload-receipts`},sombraAuth:d(),concurrency:{kind:`parsed`,parse:y,brief:`The concurrency to use when uploading requests in parallel`,default:`50`},attributes:{kind:`parsed`,parse:String,brief:`Tag all of the requests with the following attributes. Format: key1:value1;value2,key2:value3;value4`,default:`Tags:transcend-cli`},isTest:{kind:`boolean`,brief:`Flag whether the requests being uploaded are test requests or regular requests`,default:!1},isSilent:{kind:`boolean`,brief:`Flag whether the requests being uploaded should be submitted in silent mode`,default:!0},skipSendingReceipt:{kind:`boolean`,brief:`Flag whether to skip sending of the receipt email`,default:!1},emailIsVerified:{kind:`boolean`,brief:`Indicate whether the email address being uploaded is pre-verified. Set to false to send a verification email`,default:!0},skipFilterStep:{kind:`boolean`,brief:`When true, skip the interactive step to filter down the CSV`,default:!1},dryRun:{kind:`boolean`,brief:`When true, perform a dry run of the upload instead of calling the API to submit the requests`,default:!1},debug:{kind:`boolean`,brief:`Debug logging`,default:!1},defaultPhoneCountryCode:{kind:`parsed`,parse:String,brief:`When uploading phone numbers, if the phone number is missing a country code, assume this country code`,default:`1`}}},docs:{brief:`Upload a set of requests from a CSV`,fullDescription:`Upload a set of requests from a CSV.
|
|
127
|
+
|
|
128
|
+
This command prompts you to map the shape of the CSV to the shape of the Transcend API. There is no requirement for the shape of the incoming CSV, as the script will handle the mapping process.
|
|
129
|
+
|
|
130
|
+
The script will also produce a JSON cache file that allows for the mappings to be preserved between runs.`}}),"download-files":te,cancel:Z,restart:ce,"notify-additional-time":ae,"mark-silent":ie,"enricher-restart":ne,"reject-unverified-identifiers":se,export:re,"skip-preflight-jobs":le,system:ue,preflight:oe,cron:$},docs:{brief:`All commands related to DSR requests`}}),consent:R,inventory:G,admin:F,migration:K,policy:Y,install:b(`@transcend-io/transcend`,{bash:`__@transcend-io/cli_bash_complete`}),uninstall:x(`@transcend-io/transcend`,{bash:!0})},docs:{brief:r,hideRoute:{install:!0,uninstall:!0}}}),{name:i,versionInfo:{currentVersion:n}});export{de as t};
|
|
131
|
+
//# sourceMappingURL=app-BK2A6qdG.mjs.map
|