@transcend-io/cli 8.28.0 → 8.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/dist/bin/bash-complete.cjs +1 -1
- package/dist/bin/cli.cjs +1 -1
- package/dist/bin/deprecated-command.cjs +2 -2
- package/dist/{chunk-THOOR2KA.cjs → chunk-4WBBQCOV.cjs} +4 -4
- package/dist/{chunk-THOOR2KA.cjs.map → chunk-4WBBQCOV.cjs.map} +1 -1
- package/dist/{chunk-I7PFP5VB.cjs → chunk-4Y7PZGF3.cjs} +2 -2
- package/dist/{chunk-I7PFP5VB.cjs.map → chunk-4Y7PZGF3.cjs.map} +1 -1
- package/dist/chunk-56COHDFT.cjs +3001 -0
- package/dist/chunk-56COHDFT.cjs.map +1 -0
- package/dist/{chunk-K4TIJ3VM.cjs → chunk-5IHV6OHB.cjs} +2 -2
- package/dist/{chunk-K4TIJ3VM.cjs.map → chunk-5IHV6OHB.cjs.map} +1 -1
- package/dist/{chunk-EYOQLGDV.cjs → chunk-A3GRLGNU.cjs} +2 -2
- package/dist/{chunk-EYOQLGDV.cjs.map → chunk-A3GRLGNU.cjs.map} +1 -1
- package/dist/{chunk-AEL3DOYI.cjs → chunk-BAQ45VZI.cjs} +2 -2
- package/dist/{chunk-AEL3DOYI.cjs.map → chunk-BAQ45VZI.cjs.map} +1 -1
- package/dist/{chunk-FER7XKVN.cjs → chunk-BKPEELIQ.cjs} +2 -2
- package/dist/{chunk-FER7XKVN.cjs.map → chunk-BKPEELIQ.cjs.map} +1 -1
- package/dist/{chunk-JFZPP4VV.cjs → chunk-BQSBPO63.cjs} +3 -3
- package/dist/{chunk-JFZPP4VV.cjs.map → chunk-BQSBPO63.cjs.map} +1 -1
- package/dist/{chunk-LCDYXJN6.cjs → chunk-FHUHBSLE.cjs} +2 -2
- package/dist/{chunk-LCDYXJN6.cjs.map → chunk-FHUHBSLE.cjs.map} +1 -1
- package/dist/{chunk-CQT5QQ3U.cjs → chunk-GNEZHNUR.cjs} +2 -2
- package/dist/{chunk-CQT5QQ3U.cjs.map → chunk-GNEZHNUR.cjs.map} +1 -1
- package/dist/chunk-J5ZSDYK2.cjs +4 -0
- package/dist/chunk-J5ZSDYK2.cjs.map +1 -0
- package/dist/{chunk-ECGHWDVP.cjs → chunk-LU3DKRNK.cjs} +2 -2
- package/dist/chunk-LU3DKRNK.cjs.map +1 -0
- package/dist/{chunk-4PQ4RHUG.cjs → chunk-OSRNUQQ5.cjs} +4 -4
- package/dist/{chunk-4PQ4RHUG.cjs.map → chunk-OSRNUQQ5.cjs.map} +1 -1
- package/dist/{chunk-Q7I37FJV.cjs → chunk-T3BBQIRY.cjs} +2 -2
- package/dist/chunk-T3BBQIRY.cjs.map +1 -0
- package/dist/{chunk-Y35YHYXP.cjs → chunk-U7B2ZKV5.cjs} +21 -21
- package/dist/{chunk-Y35YHYXP.cjs.map → chunk-U7B2ZKV5.cjs.map} +1 -1
- package/dist/{chunk-YKGS253B.cjs → chunk-XSKGXUIG.cjs} +6 -6
- package/dist/{chunk-YKGS253B.cjs.map → chunk-XSKGXUIG.cjs.map} +1 -1
- package/dist/{chunk-RNZ72QMS.cjs → chunk-XURR4JGE.cjs} +2 -2
- package/dist/{chunk-RNZ72QMS.cjs.map → chunk-XURR4JGE.cjs.map} +1 -1
- package/dist/{chunk-L7Z4PFRC.cjs → chunk-ZPCV7RA2.cjs} +2 -2
- package/dist/{chunk-L7Z4PFRC.cjs.map → chunk-ZPCV7RA2.cjs.map} +1 -1
- package/dist/{impl-YWJCIRTP.cjs → impl-5IZGOLMG.cjs} +2 -2
- package/dist/{impl-YWJCIRTP.cjs.map → impl-5IZGOLMG.cjs.map} +1 -1
- package/dist/impl-5KE7PF4S.cjs +2 -0
- package/dist/{impl-PXT7QNSR.cjs.map → impl-5KE7PF4S.cjs.map} +1 -1
- package/dist/{impl-ZTZHVQYY.cjs → impl-63RUFEPF.cjs} +2 -2
- package/dist/{impl-ZTZHVQYY.cjs.map → impl-63RUFEPF.cjs.map} +1 -1
- package/dist/{impl-MBEVWSPX.cjs → impl-CYS34PCP.cjs} +2 -2
- package/dist/{impl-MBEVWSPX.cjs.map → impl-CYS34PCP.cjs.map} +1 -1
- package/dist/{impl-IIIT5MSV.cjs → impl-DFC7R4VO.cjs} +2 -2
- package/dist/{impl-IIIT5MSV.cjs.map → impl-DFC7R4VO.cjs.map} +1 -1
- package/dist/{impl-55NL4KOI.cjs → impl-DLADC4DX.cjs} +2 -2
- package/dist/{impl-55NL4KOI.cjs.map → impl-DLADC4DX.cjs.map} +1 -1
- package/dist/{impl-W35DMTQV.cjs → impl-EA6F65XG.cjs} +2 -2
- package/dist/{impl-W35DMTQV.cjs.map → impl-EA6F65XG.cjs.map} +1 -1
- package/dist/{impl-ANXIZT7S.cjs → impl-ECHPUQTL.cjs} +2 -2
- package/dist/{impl-ANXIZT7S.cjs.map → impl-ECHPUQTL.cjs.map} +1 -1
- package/dist/{impl-3YAJ7ZV3.cjs → impl-EE3BM53W.cjs} +2 -2
- package/dist/{impl-3YAJ7ZV3.cjs.map → impl-EE3BM53W.cjs.map} +1 -1
- package/dist/{impl-SVEK74IU.cjs → impl-FLUPS5AF.cjs} +2 -2
- package/dist/{impl-SVEK74IU.cjs.map → impl-FLUPS5AF.cjs.map} +1 -1
- package/dist/{impl-NCUMPL6B.cjs → impl-HMJ3RSYJ.cjs} +4 -4
- package/dist/{impl-NCUMPL6B.cjs.map → impl-HMJ3RSYJ.cjs.map} +1 -1
- package/dist/impl-HS3DVOVZ.cjs +2 -0
- package/dist/{impl-AP2ZTYJK.cjs.map → impl-HS3DVOVZ.cjs.map} +1 -1
- package/dist/{impl-NISL4HZY.cjs → impl-J4AIXCOM.cjs} +2 -2
- package/dist/{impl-NISL4HZY.cjs.map → impl-J4AIXCOM.cjs.map} +1 -1
- package/dist/{impl-SDQ6LUZD.cjs → impl-KGPFOOKN.cjs} +2 -2
- package/dist/{impl-SDQ6LUZD.cjs.map → impl-KGPFOOKN.cjs.map} +1 -1
- package/dist/{impl-DDQQGOQ3.cjs → impl-L5C2RKOS.cjs} +2 -2
- package/dist/{impl-DDQQGOQ3.cjs.map → impl-L5C2RKOS.cjs.map} +1 -1
- package/dist/{impl-7B7QDZZJ.cjs → impl-MLVDLR4J.cjs} +2 -2
- package/dist/{impl-7B7QDZZJ.cjs.map → impl-MLVDLR4J.cjs.map} +1 -1
- package/dist/impl-NA2AMJMD.cjs +2 -0
- package/dist/{impl-PE52QYSI.cjs.map → impl-NA2AMJMD.cjs.map} +1 -1
- package/dist/impl-NNSUFZJQ.cjs +3 -0
- package/dist/{impl-LDOILOAQ.cjs.map → impl-NNSUFZJQ.cjs.map} +1 -1
- package/dist/{impl-A6W2KTYL.cjs → impl-O752JHWB.cjs} +2 -2
- package/dist/{impl-A6W2KTYL.cjs.map → impl-O752JHWB.cjs.map} +1 -1
- package/dist/{impl-YJ6UUT4D.cjs → impl-P2XOCDM2.cjs} +2 -2
- package/dist/{impl-YJ6UUT4D.cjs.map → impl-P2XOCDM2.cjs.map} +1 -1
- package/dist/{impl-UC5CCT6E.cjs → impl-PC5SSKN6.cjs} +3 -3
- package/dist/{impl-UC5CCT6E.cjs.map → impl-PC5SSKN6.cjs.map} +1 -1
- package/dist/impl-QHSBTADS.cjs +2 -0
- package/dist/{impl-LQEYNOZS.cjs.map → impl-QHSBTADS.cjs.map} +1 -1
- package/dist/{impl-DT5KLE2G.cjs → impl-QZYAF6M6.cjs} +3 -3
- package/dist/{impl-DT5KLE2G.cjs.map → impl-QZYAF6M6.cjs.map} +1 -1
- package/dist/{impl-D7R3HZEC.cjs → impl-R4LLNQUP.cjs} +5 -5
- package/dist/{impl-D7R3HZEC.cjs.map → impl-R4LLNQUP.cjs.map} +1 -1
- package/dist/{impl-YHBNKYSL.cjs → impl-SHD5SUBY.cjs} +2 -2
- package/dist/{impl-YHBNKYSL.cjs.map → impl-SHD5SUBY.cjs.map} +1 -1
- package/dist/{impl-DVE332P5.cjs → impl-THXX4NLG.cjs} +2 -2
- package/dist/{impl-DVE332P5.cjs.map → impl-THXX4NLG.cjs.map} +1 -1
- package/dist/{impl-XHO6WQ2I.cjs → impl-TMXHKQO3.cjs} +2 -2
- package/dist/{impl-XHO6WQ2I.cjs.map → impl-TMXHKQO3.cjs.map} +1 -1
- package/dist/{impl-AZYBYV3X.cjs → impl-TPG3AZ2K.cjs} +2 -2
- package/dist/{impl-AZYBYV3X.cjs.map → impl-TPG3AZ2K.cjs.map} +1 -1
- package/dist/{impl-SVPD3IHV.cjs → impl-TR2HDZHR.cjs} +2 -2
- package/dist/{impl-SVPD3IHV.cjs.map → impl-TR2HDZHR.cjs.map} +1 -1
- package/dist/{impl-LKJFVX7E.cjs → impl-ULIJEGGC.cjs} +2 -2
- package/dist/{impl-LKJFVX7E.cjs.map → impl-ULIJEGGC.cjs.map} +1 -1
- package/dist/{impl-BL4XQEFX.cjs → impl-UNS2BXR7.cjs} +2 -2
- package/dist/{impl-BL4XQEFX.cjs.map → impl-UNS2BXR7.cjs.map} +1 -1
- package/dist/impl-VUTJ4QIY.cjs +2 -0
- package/dist/{impl-ALROZNDJ.cjs.map → impl-VUTJ4QIY.cjs.map} +1 -1
- package/dist/{impl-DXAKJNLZ.cjs → impl-WX2ULFZZ.cjs} +2 -2
- package/dist/{impl-DXAKJNLZ.cjs.map → impl-WX2ULFZZ.cjs.map} +1 -1
- package/dist/impl-XDFFTHEP.cjs +2 -0
- package/dist/{impl-M5QGTDLF.cjs.map → impl-XDFFTHEP.cjs.map} +1 -1
- package/dist/{impl-VZ6NJDAV.cjs → impl-XGCU7DCJ.cjs} +2 -2
- package/dist/{impl-VZ6NJDAV.cjs.map → impl-XGCU7DCJ.cjs.map} +1 -1
- package/dist/{impl-OFRMKTX5.cjs → impl-XPEPCZ67.cjs} +2 -2
- package/dist/{impl-OFRMKTX5.cjs.map → impl-XPEPCZ67.cjs.map} +1 -1
- package/dist/impl-XTRGFE33.cjs +2 -0
- package/dist/{impl-B7ODYIUX.cjs.map → impl-XTRGFE33.cjs.map} +1 -1
- package/dist/impl-XZYXPW67.cjs +2 -0
- package/dist/{impl-BDPD5CCN.cjs.map → impl-XZYXPW67.cjs.map} +1 -1
- package/dist/{impl-IFDUZGZM.cjs → impl-YLR5VYIP.cjs} +2 -2
- package/dist/{impl-IFDUZGZM.cjs.map → impl-YLR5VYIP.cjs.map} +1 -1
- package/dist/{impl-H2BRV4GP.cjs → impl-YTBJQDU6.cjs} +2 -2
- package/dist/{impl-H2BRV4GP.cjs.map → impl-YTBJQDU6.cjs.map} +1 -1
- package/dist/{impl-UZPP5VK5.cjs → impl-ZAXHTVRF.cjs} +2 -2
- package/dist/{impl-UZPP5VK5.cjs.map → impl-ZAXHTVRF.cjs.map} +1 -1
- package/dist/{impl-JPVEFSJB.cjs → impl-ZXJQNHSF.cjs} +2 -2
- package/dist/{impl-JPVEFSJB.cjs.map → impl-ZXJQNHSF.cjs.map} +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10867 -5
- package/package.json +1 -1
- package/dist/chunk-7PF5VVAF.cjs +0 -4
- package/dist/chunk-7PF5VVAF.cjs.map +0 -1
- package/dist/chunk-ECGHWDVP.cjs.map +0 -1
- package/dist/chunk-KUBXRT3V.cjs +0 -2979
- package/dist/chunk-KUBXRT3V.cjs.map +0 -1
- package/dist/chunk-Q7I37FJV.cjs.map +0 -1
- package/dist/impl-ALROZNDJ.cjs +0 -2
- package/dist/impl-AP2ZTYJK.cjs +0 -2
- package/dist/impl-B7ODYIUX.cjs +0 -2
- package/dist/impl-BDPD5CCN.cjs +0 -2
- package/dist/impl-LDOILOAQ.cjs +0 -3
- package/dist/impl-LQEYNOZS.cjs +0 -2
- package/dist/impl-M5QGTDLF.cjs +0 -2
- package/dist/impl-PE52QYSI.cjs +0 -2
- package/dist/impl-PXT7QNSR.cjs +0 -2
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }var _chunkBKPEELIQcjs = require('./chunk-BKPEELIQ.cjs');var _chunkA3GRLGNUcjs = require('./chunk-A3GRLGNU.cjs');var _chunkT3BBQIRYcjs = require('./chunk-T3BBQIRY.cjs');var _autocomplete = require('@stricli/auto-complete');var _core = require('@stricli/core');var R=_core.buildCommand.call(void 0, {loader:async()=>{let{generateApiKeys:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-NNSUFZJQ.cjs")));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:_chunkA3GRLGNUcjs.x,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:_chunkBKPEELIQcjs.a,brief:"Filter for only a specific organization by ID, returning all child accounts associated with that organization",optional:!0},transcendUrl:_chunkBKPEELIQcjs.f.call(void 0, )}},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.
|
|
2
2
|
|
|
3
3
|
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.
|
|
4
4
|
|
|
5
|
-
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".`}});var x=_core.buildCommand.call(void 0, {loader:async()=>{let{chunkCsv:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-
|
|
5
|
+
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".`}});var x=_core.buildCommand.call(void 0, {loader:async()=>{let{chunkCsv:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-YLR5VYIP.cjs")));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 d=Number(e);if(!Number.isFinite(d)||d<=0)throw new Error("chunkSizeMB must be a positive number");return d},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.
|
|
6
6
|
- Runs files in parallel across worker processes (configurable via --concurrency).
|
|
7
|
-
- Validates row-length consistency against the header row; logs periodic progress and memory usage.`}});var U=_core.buildCommand.call(void 0, {loader:async()=>{let{parquetToCsv:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-
|
|
7
|
+
- Validates row-length consistency against the header row; logs periodic progress and memory usage.`}});var U=_core.buildCommand.call(void 0, {loader:async()=>{let{parquetToCsv:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-XPEPCZ67.cjs")));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
|
|
8
8
|
- Runs files in parallel across worker processes (configurable via --concurrency).
|
|
9
9
|
- Validates row consistency; logs periodic progress and memory usage.
|
|
10
10
|
|
|
11
11
|
This is a useful administrative tool for converting Parquet exports to CSV for the purposes
|
|
12
|
-
of uploading DSRs or Consent Preferences. e.g. transcend consent upload-preferences ...`}});var V=_core.buildRouteMap.call(void 0, {routes:{"generate-api-keys":R,"chunk-csv":x,"parquet-to-csv":U},docs:{brief:"Admin commands"}});var _privacytypes = require('@transcend-io/privacy-types');var M=_core.buildCommand.call(void 0, {loader:async()=>{let{buildXdiSyncEndpoint:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-
|
|
12
|
+
of uploading DSRs or Consent Preferences. e.g. transcend consent upload-preferences ...`}});var V=_core.buildRouteMap.call(void 0, {routes:{"generate-api-keys":R,"chunk-csv":x,"parquet-to-csv":U},docs:{brief:"Admin commands"}});var _privacytypes = require('@transcend-io/privacy-types');var M=_core.buildCommand.call(void 0, {loader:async()=>{let{buildXdiSyncEndpoint:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-SHD5SUBY.cjs")));return e},parameters:{flags:{auth:_chunkBKPEELIQcjs.e.call(void 0, {scopes:[_privacytypes.ScopeName.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:_chunkBKPEELIQcjs.b,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:_chunkBKPEELIQcjs.f.call(void 0, )}},docs:{brief:"Build XDI sync endpoint",fullDescription:"This command allows for building of the XDI Sync Endpoint across a set of Transcend accounts."}});var F=_core.buildCommand.call(void 0, {loader:async()=>{let{pullConsentMetrics:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-R4LLNQUP.cjs")));return e},parameters:{flags:{auth:_chunkBKPEELIQcjs.e.call(void 0, {scopes:[_privacytypes.ScopeName.ViewConsentManager]}),start:{kind:"parsed",parse:_chunkBKPEELIQcjs.c,brief:"The start date to pull metrics from"},end:{kind:"parsed",parse:_chunkBKPEELIQcjs.c,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:_chunkBKPEELIQcjs.f.call(void 0, )}},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."}});var N=_core.buildCommand.call(void 0, {loader:async()=>{let{pullConsentPreferences:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-EA6F65XG.cjs")));return e},parameters:{flags:{auth:_chunkBKPEELIQcjs.e.call(void 0, {scopes:[_privacytypes.ScopeName.ViewManagedConsentDatabaseAdminApi,_privacytypes.ScopeName.ViewRequestIdentitySettings,_privacytypes.ScopeName.ViewPreferenceStoreSettings]}),partition:{kind:"parsed",parse:String,brief:"Partition ID to query in the Preference Store"},sombraAuth:_chunkBKPEELIQcjs.h.call(void 0, ),file:{kind:"parsed",parse:String,brief:"Path to CSV output file",default:"./preferences.csv"},transcendUrl:_chunkBKPEELIQcjs.f.call(void 0, ),timestampBefore:{kind:"parsed",parse:_chunkBKPEELIQcjs.c,brief:"Filter: preferences collected before this time (timestampBefore)",optional:!0},timestampAfter:{kind:"parsed",parse:_chunkBKPEELIQcjs.c,brief:"Filter: preferences collected after this time (timestampAfter)",optional:!0},updatedBefore:{kind:"parsed",parse:_chunkBKPEELIQcjs.c,brief:"Filter: preferences updated before this time (system.updatedAt)",optional:!0},updatedAfter:{kind:"parsed",parse:_chunkBKPEELIQcjs.c,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:_core.numberParser,brief:"Page size / concurrency used when downloading (1\u201350 per API). Higher = fewer pages.",default:"50"},shouldChunk:{kind:"boolean",brief:"Whether to download requests in timestamp window chunks.",default:!0},windowConcurrency:{kind:"parsed",parse:_core.numberParser,brief:"When chunking, how many windows to download in parallel (higher = faster, but more load).",default:"100"},maxChunks:{kind:"parsed",parse:_core.numberParser,brief:"Maximum number of chunks to download (higher = more data, but more load).",default:"5000"},maxLookbackDays:{kind:"parsed",parse:_core.numberParser,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."}});var O=_core.buildCommand.call(void 0, {loader:async()=>{let{updateConsentManager:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-TMXHKQO3.cjs")));return e},parameters:{flags:{auth:_chunkBKPEELIQcjs.e.call(void 0, {scopes:[_privacytypes.ScopeName.ManageConsentManagerDeveloperSettings]}),bundleTypes:{kind:"enum",values:Object.values(_privacytypes.ConsentBundleType),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:_chunkBKPEELIQcjs.f.call(void 0, )}},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."}});var j=_core.buildCommand.call(void 0, {loader:async()=>{let{uploadConsentPreferences:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-L5C2RKOS.cjs")));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:_chunkBKPEELIQcjs.g.call(void 0, ),concurrency:{kind:"parsed",parse:_core.numberParser,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."}});var E=_core.buildCommand.call(void 0, {loader:async()=>{let{uploadCookiesFromCsv:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-NA2AMJMD.cjs")));return e},parameters:{flags:{auth:_chunkBKPEELIQcjs.e.call(void 0, {scopes:[_privacytypes.ScopeName.ManageDataFlow]}),trackerStatus:{kind:"enum",values:Object.values(_privacytypes.ConsentTrackerStatus),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:_chunkBKPEELIQcjs.f.call(void 0, )}},docs:{brief:"Upload cookies from CSV",fullDescription:`Upload cookies from CSV. This command allows for uploading of cookies from CSV.
|
|
13
13
|
|
|
14
14
|
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.
|
|
15
15
|
|
|
16
16
|
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.
|
|
17
17
|
|
|
18
|
-
Step 3) Upload the modified CSV file back into the dashboard with this command.`}});var B=_core.buildCommand.call(void 0, {loader:async()=>{let{uploadDataFlowsFromCsv:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-
|
|
18
|
+
Step 3) Upload the modified CSV file back into the dashboard with this command.`}});var B=_core.buildCommand.call(void 0, {loader:async()=>{let{uploadDataFlowsFromCsv:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-HS3DVOVZ.cjs")));return e},parameters:{flags:{auth:_chunkBKPEELIQcjs.e.call(void 0, {scopes:[_privacytypes.ScopeName.ManageDataFlow]}),trackerStatus:{kind:"enum",values:Object.values(_privacytypes.ConsentTrackerStatus),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:_chunkBKPEELIQcjs.f.call(void 0, )}},docs:{brief:"Upload data flows from CSV",fullDescription:`Upload data flows from CSV. This command allows for uploading of data flows from CSV.
|
|
19
19
|
|
|
20
20
|
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.
|
|
21
21
|
|
|
22
22
|
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.
|
|
23
23
|
|
|
24
|
-
Step 3) Upload the modified CSV file back into the dashboard with this command.`}});var W=_core.buildCommand.call(void 0, {loader:async()=>{let{uploadPreferences:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-
|
|
24
|
+
Step 3) Upload the modified CSV file back into the dashboard with this command.`}});var W=_core.buildCommand.call(void 0, {loader:async()=>{let{uploadPreferences:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-P2XOCDM2.cjs")));return e},parameters:{flags:{auth:_chunkBKPEELIQcjs.e.call(void 0, {scopes:[_privacytypes.ScopeName.ManageStoredPreferences,_privacytypes.ScopeName.ViewManagedConsentDatabaseAdminApi,_privacytypes.ScopeName.ViewPreferenceStoreSettings]}),partition:{kind:"parsed",parse:String,brief:"The partition key to download consent preferences to"},sombraAuth:_chunkBKPEELIQcjs.h.call(void 0, ),transcendUrl:_chunkBKPEELIQcjs.f.call(void 0, ),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:_core.numberParser,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.
|
|
25
25
|
|
|
26
26
|
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.
|
|
27
27
|
|
|
28
|
-
The script will also produce a JSON cache file that allows for the mappings to be preserved between runs.`}});var $=_core.buildCommand.call(void 0, {loader:async()=>{let{generateAccessTokens:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-
|
|
28
|
+
The script will also produce a JSON cache file that allows for the mappings to be preserved between runs.`}});var $=_core.buildCommand.call(void 0, {loader:async()=>{let{generateAccessTokens:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-FLUPS5AF.cjs")));return e},parameters:{flags:{auth:_chunkBKPEELIQcjs.e.call(void 0, {scopes:[_privacytypes.ScopeName.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:_chunkBKPEELIQcjs.d,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:_chunkBKPEELIQcjs.f.call(void 0, )}},docs:{brief:"Generate access tokens",fullDescription:"This command allows for the generation of access tokens for users specified in a CSV file."}});var L=_core.buildRouteMap.call(void 0, {routes:{"build-xdi-sync-endpoint":M,"generate-access-tokens":$,"pull-consent-metrics":F,"pull-consent-preferences":N,"update-consent-manager":O,"upload-consent-preferences":j,"upload-cookies-from-csv":E,"upload-data-flows-from-csv":B,"upload-preferences":W},docs:{brief:"Consent commands"}});var Y=_core.buildCommand.call(void 0, {loader:async()=>{let{deriveDataSilosFromDataFlowsCrossInstance:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-YTBJQDU6.cjs")));return e},parameters:{flags:{auth:_chunkBKPEELIQcjs.e.call(void 0, {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:_chunkBKPEELIQcjs.f.call(void 0, )}},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."}});var _=_core.buildCommand.call(void 0, {loader:async()=>{let{deriveDataSilosFromDataFlows:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-THXX4NLG.cjs")));return e},parameters:{flags:{auth:_chunkBKPEELIQcjs.e.call(void 0, {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:_chunkBKPEELIQcjs.f.call(void 0, )}},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."}});var G=_core.buildCommand.call(void 0, {loader:async()=>{let{discoverSilos:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-O752JHWB.cjs")));return e},parameters:{flags:{scanPath:{kind:"parsed",parse:String,brief:"File path in the project to scan"},dataSiloId:{kind:"parsed",parse:_chunkBKPEELIQcjs.a,brief:"The UUID of the corresponding data silo"},auth:_chunkBKPEELIQcjs.e.call(void 0, {scopes:[_privacytypes.ScopeName.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:_chunkBKPEELIQcjs.f.call(void 0, )}},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.
|
|
29
29
|
|
|
30
|
-
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.`}});var z=_core.buildCommand.call(void 0, {loader:async()=>{let{pullDatapoints:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-
|
|
30
|
+
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.`}});var z=_core.buildCommand.call(void 0, {loader:async()=>{let{pullDatapoints:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-KGPFOOKN.cjs")));return e},parameters:{flags:{auth:_chunkBKPEELIQcjs.e.call(void 0, {scopes:[_privacytypes.ScopeName.ViewDataInventory]}),file:{kind:"parsed",parse:String,brief:"The file to save datapoints to",default:"./datapoints.csv"},transcendUrl:_chunkBKPEELIQcjs.f.call(void 0, ),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(_privacytypes.DataCategoryType),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."}});var J=_core.buildCommand.call(void 0, {loader:async()=>{let{pullUnstructuredDiscoveryFiles:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-ECHPUQTL.cjs")));return e},parameters:{flags:{auth:_chunkBKPEELIQcjs.e.call(void 0, {scopes:[_privacytypes.ScopeName.ViewDataInventory]}),file:{kind:"parsed",parse:String,brief:"The file to save datapoints to",default:"./unstructured-discovery-files.csv"},transcendUrl:_chunkBKPEELIQcjs.f.call(void 0, ),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(_privacytypes.UnstructuredSubDataPointRecommendationStatus),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."}});var K=_core.buildCommand.call(void 0, {loader:async()=>{let{push:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-PC5SSKN6.cjs")));return e},parameters:{flags:{auth:_chunkBKPEELIQcjs.e.call(void 0, {scopes:"Varies"}),file:{kind:"parsed",parse:String,brief:"Path to the YAML file to push from",default:"./transcend.yml"},transcendUrl:_chunkBKPEELIQcjs.f.call(void 0, ),pageSize:{kind:"parsed",parse:_core.numberParser,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."}});var H=_core.buildCommand.call(void 0, {loader:async()=>{let{scanPackages:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-CYS34PCP.cjs")));return e},parameters:{flags:{auth:_chunkBKPEELIQcjs.e.call(void 0, {scopes:[_privacytypes.ScopeName.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:_chunkBKPEELIQcjs.f.call(void 0, )}},docs:{brief:"Scan dependency management files to inventory code dependencies.",fullDescription:`Transcend scans packages and dependencies for the following frameworks:
|
|
31
31
|
|
|
32
32
|
- package.json
|
|
33
33
|
- requirements.txt & setup.py
|
|
@@ -43,9 +43,9 @@ This command will scan the folder you point at to look for any of these files. O
|
|
|
43
43
|
- repository name
|
|
44
44
|
- package names
|
|
45
45
|
- dependency names and versions
|
|
46
|
-
- package descriptions`}});function n(e,d,l){let i=e.join(" "),u=wt(d),{forceSingleLine:Fe=!1,argsIndent:S=2}=_nullishCoalesce(l, () => ({}));if(u.length===0)return`${
|
|
46
|
+
- package descriptions`}});function n(e,d,l){let i=e.join(" "),u=wt(d),{forceSingleLine:Fe=!1,argsIndent:S=2}=_nullishCoalesce(l, () => ({}));if(u.length===0)return`${_chunkA3GRLGNUcjs.n} ${i}`;let Ne=`${_chunkA3GRLGNUcjs.n} ${i} ${u.join(" ")}`.length<=117&&!Fe?`${i} ${u.join(" ")}`:`${i} \\
|
|
47
47
|
${" ".repeat(S)}${u.join(` \\
|
|
48
|
-
${" ".repeat(S)}`)}`;return`${
|
|
48
|
+
${" ".repeat(S)}`)}`;return`${_chunkA3GRLGNUcjs.n} ${Ne}`}function X(e,d=0){if(typeof e=="boolean")return e?"true":"false";if(typeof e=="number")return e.toString();if(e instanceof Date)return e.toISOString();if(Array.isArray(e)&&d===0){let l=e.map(i=>X(i,d+1));return l.every(i=>i.startsWith("$")||i.includes(" "))?`"${l.join(",")}"`:l.join(",")}if(typeof e=="string")return d===1?e.startsWith("$")?`\${${e.slice(1)}}`:e:e.startsWith("$")||e.includes(" ")?`"${e}"`:e;throw new Error(`Unsupported value type: ${typeof e}`)}function wt(e,d=0){return Object.entries(e).map(([l,i])=>{if(typeof i=="boolean"&&i)return`--${l}`;let u=X(i,d);return`--${l}=${u}`})}var Q=_core.buildCommand.call(void 0, {loader:async()=>{let{consentManagerServiceJsonToYml:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-EE3BM53W.cjs")));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.
|
|
49
49
|
|
|
50
50
|
1. Run \`await airgap.getMetadata()\` on a site with airgap
|
|
51
51
|
2. Right click on the printed object, and click \`Copy object\`
|
|
@@ -56,14 +56,14 @@ ${" ".repeat(S)}`)}`;return`${_chunkEYOQLGDVcjs.n} ${Ne}`}function X(e,d=0){if(t
|
|
|
56
56
|
|
|
57
57
|
5. Run:
|
|
58
58
|
|
|
59
|
-
${n(["inventory","push"],{auth:"$TRANSCEND_API_KEY",file:"./transcend.yml",classifyService:!0},{argsIndent:5})}`}});var Z=_core.buildCommand.call(void 0, {loader:async()=>{let{consentManagersToBusinessEntities:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-
|
|
59
|
+
${n(["inventory","push"],{auth:"$TRANSCEND_API_KEY",file:"./transcend.yml",classifyService:!0},{argsIndent:5})}`}});var Z=_core.buildCommand.call(void 0, {loader:async()=>{let{consentManagersToBusinessEntities:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-ZAXHTVRF.cjs")));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."}});var ee=_core.buildRouteMap.call(void 0, {routes:{pull:_chunkBKPEELIQcjs.k,push:K,"scan-packages":H,"discover-silos":G,"pull-datapoints":z,"pull-unstructured-discovery-files":J,"derive-data-silos-from-data-flows":_,"derive-data-silos-from-data-flows-cross-instance":Y,"consent-manager-service-json-to-yml":Q,"consent-managers-to-business-entities":Z},docs:{brief:"Inventory commands"}});var te=_core.buildCommand.call(void 0, {loader:async()=>{let{syncOt:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-HMJ3RSYJ.cjs")));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(_chunkT3BBQIRYcjs.c),brief:"Whether to read the assessments from OneTrust or from a file",default:"oneTrust"},transcendAuth:{..._chunkBKPEELIQcjs.e.call(void 0, {scopes:[_privacytypes.ScopeName.ManageAssessments]}),optional:!0},transcendUrl:_chunkBKPEELIQcjs.f.call(void 0, ),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(_chunkT3BBQIRYcjs.b),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.
|
|
60
60
|
|
|
61
61
|
This command can be helpful if you are looking to:
|
|
62
62
|
- Pull resources from your OneTrust account.
|
|
63
63
|
- Migrate your resources from your OneTrust account to Transcend.
|
|
64
64
|
|
|
65
65
|
OneTrust authentication requires an OAuth Token with scope for accessing the assessment endpoints.
|
|
66
|
-
If syncing the resources to Transcend, you will also need to generate an API key on the Transcend Admin Dashboard.`}});var re=_core.buildRouteMap.call(void 0, {routes:{"sync-ot":te},docs:{brief:"Migration commands"}});var ae=_core.buildCommand.call(void 0, {loader:async()=>{let{approve:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-
|
|
66
|
+
If syncing the resources to Transcend, you will also need to generate an API key on the Transcend Admin Dashboard.`}});var re=_core.buildRouteMap.call(void 0, {routes:{"sync-ot":te},docs:{brief:"Migration commands"}});var ae=_core.buildCommand.call(void 0, {loader:async()=>{let{approve:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-TR2HDZHR.cjs")));return e},parameters:{flags:{auth:_chunkBKPEELIQcjs.e.call(void 0, {scopes:[_privacytypes.ScopeName.RequestApproval,_privacytypes.ScopeName.ViewRequests,_privacytypes.ScopeName.ManageRequestCompilation]}),actions:{kind:"enum",values:Object.values(_privacytypes.RequestAction),variadic:",",brief:"The request actions to approve"},origins:{kind:"enum",values:Object.values(_privacytypes.RequestOrigin),variadic:",",brief:"The request origins to approve",optional:!0},silentModeBefore:{kind:"parsed",parse:_chunkBKPEELIQcjs.c,brief:"Any requests made before this date should be marked as silent mode",optional:!0},createdAtBefore:{kind:"parsed",parse:_chunkBKPEELIQcjs.c,brief:"Approve requests that were submitted before this time",optional:!0},createdAtAfter:{kind:"parsed",parse:_chunkBKPEELIQcjs.c,brief:"Approve requests that were submitted after this time",optional:!0},transcendUrl:_chunkBKPEELIQcjs.f.call(void 0, ),concurrency:{kind:"parsed",parse:_core.numberParser,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."}});var se=_core.buildCommand.call(void 0, {loader:async()=>{let{cancel:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-DFC7R4VO.cjs")));return e},parameters:{flags:{auth:_chunkBKPEELIQcjs.e.call(void 0, {scopes:[_privacytypes.ScopeName.ViewRequests,_privacytypes.ScopeName.RequestApproval]}),actions:{kind:"enum",values:Object.values(_privacytypes.RequestAction),variadic:",",brief:"The request actions to cancel"},statuses:{kind:"enum",values:Object.values(_privacytypes.RequestStatus),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:_chunkBKPEELIQcjs.c,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:_chunkBKPEELIQcjs.c,brief:"Cancel requests that were submitted before this time",optional:!0},createdAtAfter:{kind:"parsed",parse:_chunkBKPEELIQcjs.c,brief:"Cancel requests that were submitted 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:_chunkBKPEELIQcjs.f.call(void 0, ),concurrency:{kind:"parsed",parse:_core.numberParser,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."}});var ie=_core.buildCommand.call(void 0, {loader:async()=>{let{markIdentifiersCompleted:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-QHSBTADS.cjs")));return e},parameters:{flags:{auth:_chunkBKPEELIQcjs.e.call(void 0, {scopes:[],requiresSiloScope:!0}),dataSiloId:{kind:"parsed",parse:_chunkBKPEELIQcjs.a,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:_chunkBKPEELIQcjs.f.call(void 0, ),sombraAuth:_chunkBKPEELIQcjs.h.call(void 0, )}},docs:{brief:"Mark identifiers as completed after processing.",fullDescription:`This command takes the output of "${n(["request","cron","pull-identifiers"],{})}" and notifies Transcend that all of the requests in the CSV have been processed.
|
|
67
67
|
This is used in the workflow like:
|
|
68
68
|
|
|
69
69
|
1. Pull identifiers to CSV:
|
|
@@ -76,18 +76,18 @@ This is used in the workflow like:
|
|
|
76
76
|
|
|
77
77
|
${n(["request","cron","mark-identifiers-completed"],{auth:"$TRANSCEND_API_KEY",dataSiloId:"70810f2e-cf90-43f6-9776-901a5950599f",file:"./outstanding-requests.csv"},{argsIndent:5})}
|
|
78
78
|
|
|
79
|
-
Read more at https://docs.transcend.io/docs/integrations/cron-job-integration.`}});var de=_core.buildCommand.call(void 0, {loader:async()=>{let{pullIdentifiers:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-
|
|
79
|
+
Read more at https://docs.transcend.io/docs/integrations/cron-job-integration.`}});var de=_core.buildCommand.call(void 0, {loader:async()=>{let{pullIdentifiers:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-TPG3AZ2K.cjs")));return e},parameters:{flags:{auth:_chunkBKPEELIQcjs.e.call(void 0, {scopes:[],requiresSiloScope:!0}),dataSiloId:{kind:"parsed",parse:_chunkBKPEELIQcjs.a,brief:"The ID of the data silo to pull in"},actions:{kind:"enum",values:Object.values(_privacytypes.RequestAction),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:_chunkBKPEELIQcjs.f.call(void 0, ),sombraAuth:_chunkBKPEELIQcjs.h.call(void 0, ),pageLimit:{kind:"parsed",parse:_core.numberParser,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:_core.numberParser,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.
|
|
80
80
|
|
|
81
81
|
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.
|
|
82
82
|
|
|
83
|
-
Read more at https://docs.transcend.io/docs/integrations/cron-job-integration.`}});var ue=_core.buildCommand.call(void 0, {loader:async()=>{let{pullProfiles:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-
|
|
83
|
+
Read more at https://docs.transcend.io/docs/integrations/cron-job-integration.`}});var ue=_core.buildCommand.call(void 0, {loader:async()=>{let{pullProfiles:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-ULIJEGGC.cjs")));return e},parameters:{flags:{auth:_chunkBKPEELIQcjs.e.call(void 0, {scopes:[],requiresSiloScope:!0}),cronDataSiloId:{kind:"parsed",parse:_chunkBKPEELIQcjs.a,brief:"The ID of the cron data silo to pull in"},targetDataSiloId:{kind:"parsed",parse:_chunkBKPEELIQcjs.a,brief:"The ID of the target data silo to pull in"},actions:{kind:"enum",values:Object.values(_privacytypes.RequestAction),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:_chunkBKPEELIQcjs.f.call(void 0, ),sombraAuth:_chunkBKPEELIQcjs.h.call(void 0, ),pageLimit:{kind:"parsed",parse:_core.numberParser,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:_core.numberParser,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.
|
|
84
84
|
|
|
85
85
|
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.
|
|
86
86
|
|
|
87
|
-
Read more at https://docs.transcend.io/docs/integrations/cron-job-integration.`}});var me=_core.buildRouteMap.call(void 0, {routes:{"pull-identifiers":de,"pull-profiles":ue,"mark-identifiers-completed":ie},docs:{brief:"Cron commands",hideRoute:{"pull-profiles":!0}}});var pe=_core.buildCommand.call(void 0, {loader:async()=>{let{downloadFiles:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-
|
|
87
|
+
Read more at https://docs.transcend.io/docs/integrations/cron-job-integration.`}});var me=_core.buildRouteMap.call(void 0, {routes:{"pull-identifiers":de,"pull-profiles":ue,"mark-identifiers-completed":ie},docs:{brief:"Cron commands",hideRoute:{"pull-profiles":!0}}});var pe=_core.buildCommand.call(void 0, {loader:async()=>{let{downloadFiles:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-DLADC4DX.cjs")));return e},parameters:{flags:{auth:_chunkBKPEELIQcjs.e.call(void 0, {scopes:[_privacytypes.ScopeName.ViewRequestCompilation,_privacytypes.ScopeName.ViewRequests,_privacytypes.ScopeName.RequestApproval]}),sombraAuth:_chunkBKPEELIQcjs.h.call(void 0, ),concurrency:{kind:"parsed",parse:_core.numberParser,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(_privacytypes.RequestStatus),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:_chunkBKPEELIQcjs.c,brief:"Download requests that were submitted before this time",optional:!0},createdAtAfter:{kind:"parsed",parse:_chunkBKPEELIQcjs.c,brief:"Download requests that were submitted 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:_chunkBKPEELIQcjs.f.call(void 0, )}},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."}});var ce=_core.buildCommand.call(void 0, {loader:async()=>{let{enricherRestart:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-XGCU7DCJ.cjs")));return e},parameters:{flags:{auth:_chunkBKPEELIQcjs.e.call(void 0, {scopes:[_privacytypes.ScopeName.ManageRequestCompilation]}),enricherId:{kind:"parsed",parse:String,brief:"The ID of the enricher to restart"},actions:{kind:"enum",values:Object.values(_privacytypes.RequestAction),variadic:",",brief:"The request action to restart",optional:!0},requestEnricherStatuses:{kind:"enum",values:Object.values(_privacytypes.RequestEnricherStatus),variadic:",",brief:"The request enricher statuses to restart",optional:!0},transcendUrl:_chunkBKPEELIQcjs.f.call(void 0, ),concurrency:{kind:"parsed",parse:_core.numberParser,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:_chunkBKPEELIQcjs.c,brief:"Restart requests that were submitted before this time",optional:!0},createdAtAfter:{kind:"parsed",parse:_chunkBKPEELIQcjs.c,brief:"Restart requests that were submitted 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.
|
|
88
88
|
|
|
89
89
|
The API key needs the following scopes:
|
|
90
|
-
- Manage Request Compilation`}});var be=_core.buildCommand.call(void 0, {loader:async()=>{let{_export:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-
|
|
90
|
+
- Manage Request Compilation`}});var be=_core.buildCommand.call(void 0, {loader:async()=>{let{_export:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-MLVDLR4J.cjs")));return e},parameters:{flags:{auth:_chunkBKPEELIQcjs.e.call(void 0, {scopes:[_privacytypes.ScopeName.ViewRequests,_privacytypes.ScopeName.ViewRequestCompilation]}),sombraAuth:_chunkBKPEELIQcjs.h.call(void 0, ),actions:{kind:"enum",values:Object.values(_privacytypes.RequestAction),variadic:",",brief:"The request actions to export",optional:!0},statuses:{kind:"enum",values:Object.values(_privacytypes.RequestStatus),variadic:",",brief:"The request statuses to export",optional:!0},transcendUrl:_chunkBKPEELIQcjs.f.call(void 0, ),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:_core.numberParser,brief:"The concurrency to use when uploading requests in parallel",default:"50"},skipRequestIdentifiers:{kind:"boolean",brief:"Skip exporting request identifiers",optional:!0},createdAtBefore:{kind:"parsed",parse:_chunkBKPEELIQcjs.c,brief:"Pull requests that were submitted before this time",optional:!0},createdAtAfter:{kind:"parsed",parse:_chunkBKPEELIQcjs.c,brief:"Pull requests that were submitted 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:_core.numberParser,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."}});var ge=_core.buildCommand.call(void 0, {loader:async()=>{let{markSilent:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-5KE7PF4S.cjs")));return e},parameters:{flags:{auth:_chunkBKPEELIQcjs.e.call(void 0, {scopes:[_privacytypes.ScopeName.ManageRequestCompilation]}),actions:{kind:"enum",values:Object.values(_privacytypes.RequestAction),variadic:",",brief:"The request actions to mark silent"},statuses:{kind:"enum",values:Object.values(_privacytypes.RequestStatus),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:_chunkBKPEELIQcjs.c,brief:"Mark silent requests that were submitted before this time",optional:!0},createdAtAfter:{kind:"parsed",parse:_chunkBKPEELIQcjs.c,brief:"Mark silent requests that were submitted after this time",optional:!0},transcendUrl:_chunkBKPEELIQcjs.f.call(void 0, ),concurrency:{kind:"parsed",parse:_core.numberParser,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."}});var ye=_core.buildCommand.call(void 0, {loader:async()=>{let{notifyAdditionalTime:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-ZXJQNHSF.cjs")));return e},parameters:{flags:{auth:_chunkBKPEELIQcjs.e.call(void 0, {scopes:[_privacytypes.ScopeName.ViewRequests,_privacytypes.ScopeName.RequestApproval]}),createdAtBefore:{kind:"parsed",parse:_chunkBKPEELIQcjs.c,brief:"Notify requests that are open but submitted before this time"},createdAtAfter:{kind:"parsed",parse:_chunkBKPEELIQcjs.c,brief:"Notify requests that are open but submitted after this time",optional:!0},actions:{kind:"enum",values:Object.values(_privacytypes.RequestAction),variadic:",",brief:"The request actions to notify",optional:!0},daysLeft:{kind:"parsed",parse:_core.numberParser,brief:"Only notify requests that have less than this number of days until they are considered expired",default:"10"},days:{kind:"parsed",parse:_core.numberParser,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:_chunkBKPEELIQcjs.f.call(void 0, ),concurrency:{kind:"parsed",parse:_core.numberParser,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."}});var Ce=_core.buildCommand.call(void 0, {loader:async()=>{let{pullIdentifiers:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-XDFFTHEP.cjs")));return e},parameters:{flags:{auth:_chunkBKPEELIQcjs.e.call(void 0, {scopes:[_privacytypes.ScopeName.ViewRequests,_privacytypes.ScopeName.ViewRequestCompilation]}),sombraAuth:_chunkBKPEELIQcjs.h.call(void 0, ),transcendUrl:_chunkBKPEELIQcjs.f.call(void 0, ),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(_privacytypes.RequestAction),variadic:",",brief:"The request actions to pull for",optional:!0},concurrency:{kind:"parsed",parse:_core.numberParser,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.
|
|
91
91
|
|
|
92
92
|
This is useful for the following workflow:
|
|
93
93
|
|
|
@@ -99,7 +99,7 @@ This is useful for the following workflow:
|
|
|
99
99
|
|
|
100
100
|
3. Push updated back to Transcend:
|
|
101
101
|
|
|
102
|
-
${n(["request","preflight","push-identifiers"],{file:"./enrichment-requests.csv"},{argsIndent:5})}`}});var ve=_core.buildCommand.call(void 0, {loader:async()=>{let{pushIdentifiers:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-
|
|
102
|
+
${n(["request","preflight","push-identifiers"],{file:"./enrichment-requests.csv"},{argsIndent:5})}`}});var ve=_core.buildCommand.call(void 0, {loader:async()=>{let{pushIdentifiers:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-XTRGFE33.cjs")));return e},parameters:{flags:{auth:_chunkBKPEELIQcjs.e.call(void 0, {scopes:[_privacytypes.ScopeName.ManageRequestIdentities,_privacytypes.ScopeName.ManageRequestCompilation]}),enricherId:{kind:"parsed",parse:_chunkBKPEELIQcjs.a,brief:"The ID of the Request Enricher to upload to"},sombraAuth:_chunkBKPEELIQcjs.h.call(void 0, ),transcendUrl:_chunkBKPEELIQcjs.f.call(void 0, ),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:_core.numberParser,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.
|
|
103
103
|
|
|
104
104
|
This is useful for the following workflow:
|
|
105
105
|
|
|
@@ -111,10 +111,10 @@ This is useful for the following workflow:
|
|
|
111
111
|
|
|
112
112
|
3. Push updated back to Transcend:
|
|
113
113
|
|
|
114
|
-
${n(["request","preflight","push-identifiers"],{file:"./enrichment-requests.csv"},{argsIndent:5})}`}});var Te=_core.buildRouteMap.call(void 0, {routes:{"pull-identifiers":Ce,"push-identifiers":ve},docs:{brief:"Preflight commands"}});var Pe=_core.buildCommand.call(void 0, {loader:async()=>{let{rejectUnverifiedIdentifiers:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-
|
|
115
|
-
This command is useful with the "Bulk Response" UI. The CSV is expected to have 1 column named "Request Id".`}});var Re=_core.buildCommand.call(void 0, {loader:async()=>{let{retryRequestDataSilos:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-
|
|
114
|
+
${n(["request","preflight","push-identifiers"],{file:"./enrichment-requests.csv"},{argsIndent:5})}`}});var Te=_core.buildRouteMap.call(void 0, {routes:{"pull-identifiers":Ce,"push-identifiers":ve},docs:{brief:"Preflight commands"}});var Pe=_core.buildCommand.call(void 0, {loader:async()=>{let{rejectUnverifiedIdentifiers:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-63RUFEPF.cjs")));return e},parameters:{flags:{auth:_chunkBKPEELIQcjs.e.call(void 0, {scopes:[_privacytypes.ScopeName.ManageRequestCompilation]}),identifierNames:{kind:"parsed",parse:String,variadic:",",brief:"The names of identifiers to clear out"},actions:{kind:"enum",values:Object.values(_privacytypes.RequestAction),variadic:",",brief:"The request action to restart",optional:!0},transcendUrl:_chunkBKPEELIQcjs.f.call(void 0, )}},docs:{brief:"Bulk clear out any request identifiers that are unverified",fullDescription:"Bulk clear out any request identifiers that are unverified."}});var Ae=_core.buildCommand.call(void 0, {loader:async()=>{let{restart:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-J4AIXCOM.cjs")));return e},parameters:{flags:{auth:_chunkBKPEELIQcjs.e.call(void 0, {scopes:[_privacytypes.ScopeName.MakeDataSubjectRequest,_privacytypes.ScopeName.ViewRequestCompilation]}),actions:{kind:"enum",values:Object.values(_privacytypes.RequestAction),variadic:",",brief:"The request actions to restart"},statuses:{kind:"enum",values:Object.values(_privacytypes.RequestStatus),variadic:",",brief:"The request statuses to restart"},transcendUrl:_chunkBKPEELIQcjs.f.call(void 0, ),requestReceiptFolder:{kind:"parsed",parse:String,brief:"The path to the folder where receipts of each upload are stored",default:"./privacy-request-upload-receipts"},sombraAuth:_chunkBKPEELIQcjs.h.call(void 0, ),concurrency:{kind:"parsed",parse:_core.numberParser,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:_chunkBKPEELIQcjs.c,brief:"Restart requests that were submitted before a specific date",optional:!0},silentModeBefore:{kind:"parsed",parse:_chunkBKPEELIQcjs.c,brief:"Requests older than this date should be marked as silent mode",optional:!0},createdAtBefore:{kind:"parsed",parse:_chunkBKPEELIQcjs.c,brief:"Restart requests that were submitted before this time",optional:!0},createdAtAfter:{kind:"parsed",parse:_chunkBKPEELIQcjs.c,brief:"Restart requests that were submitted 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},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."}});var Ie=_core.buildCommand.call(void 0, {loader:async()=>{let{skipPreflightJobs:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-VUTJ4QIY.cjs")));return e},parameters:{flags:{auth:_chunkBKPEELIQcjs.e.call(void 0, {scopes:[_privacytypes.ScopeName.ManageRequestCompilation]}),enricherIds:{kind:"parsed",parse:String,variadic:",",brief:"The ID of the enrichers to skip privacy request jobs for"},transcendUrl:_chunkBKPEELIQcjs.f.call(void 0, )}},docs:{brief:"Skip preflight jobs",fullDescription:"This command allows for bulk skipping preflight checks."}});var De=_core.buildCommand.call(void 0, {loader:async()=>{let{markRequestDataSilosCompleted:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-5IZGOLMG.cjs")));return e},parameters:{flags:{auth:_chunkBKPEELIQcjs.e.call(void 0, {scopes:[_privacytypes.ScopeName.ManageRequestCompilation]}),dataSiloId:{kind:"parsed",parse:_chunkBKPEELIQcjs.a,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:_chunkBKPEELIQcjs.f.call(void 0, )}},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.
|
|
115
|
+
This command is useful with the "Bulk Response" UI. The CSV is expected to have 1 column named "Request Id".`}});var Re=_core.buildCommand.call(void 0, {loader:async()=>{let{retryRequestDataSilos:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-XZYXPW67.cjs")));return e},parameters:{flags:{auth:_chunkBKPEELIQcjs.e.call(void 0, {scopes:[_privacytypes.ScopeName.ManageRequestCompilation]}),dataSiloId:{kind:"parsed",parse:_chunkBKPEELIQcjs.a,brief:"The ID of the data silo to pull in"},actions:{kind:"enum",values:Object.values(_privacytypes.RequestAction),variadic:",",brief:"The request actions to restart"},transcendUrl:_chunkBKPEELIQcjs.f.call(void 0, )}},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.'}});var xe=_core.buildCommand.call(void 0, {loader:async()=>{let{skipRequestDataSilos:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-UNS2BXR7.cjs")));return e},parameters:{flags:{auth:_chunkBKPEELIQcjs.e.call(void 0, {scopes:[_privacytypes.ScopeName.ManageRequestCompilation]}),dataSiloId:{kind:"parsed",parse:_chunkBKPEELIQcjs.a,brief:"The ID of the data silo to skip privacy request jobs for"},transcendUrl:_chunkBKPEELIQcjs.f.call(void 0, ),statuses:{kind:"enum",values:Object.values(_privacytypes.RequestStatus),variadic:",",brief:"The request statuses to skip"},status:{kind:"enum",values:[_privacytypes.RequestDataSiloStatus.Skipped,_privacytypes.RequestDataSiloStatus.Resolved],brief:"The status to set the request data silo job to",default:_privacytypes.RequestDataSiloStatus.Skipped}}},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."}});var Ue=_core.buildRouteMap.call(void 0, {routes:{"mark-request-data-silos-completed":De,"retry-request-data-silos":Re,"skip-request-data-silos":xe},docs:{brief:"System commands"}});var Ve=_core.buildCommand.call(void 0, {loader:async()=>{let{upload:e}=await Promise.resolve().then(() => _interopRequireWildcard(require("./impl-WX2ULFZZ.cjs")));return e},parameters:{flags:{auth:_chunkBKPEELIQcjs.e.call(void 0, {scopes:[_privacytypes.ScopeName.MakeDataSubjectRequest,_privacytypes.ScopeName.ViewRequestIdentitySettings,_privacytypes.ScopeName.ViewGlobalAttributes]}),file:{kind:"parsed",parse:String,brief:"Path to the CSV file of requests to upload",default:"./requests.csv"},transcendUrl:_chunkBKPEELIQcjs.f.call(void 0, ),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:_chunkBKPEELIQcjs.h.call(void 0, ),concurrency:{kind:"parsed",parse:_core.numberParser,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.
|
|
116
116
|
|
|
117
117
|
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.
|
|
118
118
|
|
|
119
|
-
The script will also produce a JSON cache file that allows for the mappings to be preserved between runs.`}});var Me=_core.buildRouteMap.call(void 0, {routes:{approve:ae,upload:Ve,"download-files":pe,cancel:se,restart:Ae,"notify-additional-time":ye,"mark-silent":ge,"enricher-restart":ce,"reject-unverified-identifiers":Pe,export:be,"skip-preflight-jobs":Ie,system:Ue,preflight:Te,cron:me},docs:{brief:"All commands related to DSR requests"}});var Er=_core.buildRouteMap.call(void 0, {routes:{request:Me,consent:L,inventory:ee,admin:V,migration:re,install:_autocomplete.buildInstallCommand.call(void 0, "@transcend-io/transcend",{bash:"__@transcend-io/cli_bash_complete"}),uninstall:_autocomplete.buildUninstallCommand.call(void 0, "@transcend-io/transcend",{bash:!0})},docs:{brief:
|
|
120
|
-
//# sourceMappingURL=chunk-
|
|
119
|
+
The script will also produce a JSON cache file that allows for the mappings to be preserved between runs.`}});var Me=_core.buildRouteMap.call(void 0, {routes:{approve:ae,upload:Ve,"download-files":pe,cancel:se,restart:Ae,"notify-additional-time":ye,"mark-silent":ge,"enricher-restart":ce,"reject-unverified-identifiers":Pe,export:be,"skip-preflight-jobs":Ie,system:Ue,preflight:Te,cron:me},docs:{brief:"All commands related to DSR requests"}});var Er=_core.buildRouteMap.call(void 0, {routes:{request:Me,consent:L,inventory:ee,admin:V,migration:re,install:_autocomplete.buildInstallCommand.call(void 0, "@transcend-io/transcend",{bash:"__@transcend-io/cli_bash_complete"}),uninstall:_autocomplete.buildUninstallCommand.call(void 0, "@transcend-io/transcend",{bash:!0})},docs:{brief:_chunkA3GRLGNUcjs.l,hideRoute:{install:!0,uninstall:!0}}}),Cn= exports.a =_core.buildApplication.call(void 0, Er,{name:_chunkA3GRLGNUcjs.n,versionInfo:{currentVersion:_chunkA3GRLGNUcjs.m}});exports.a = Cn;
|
|
120
|
+
//# sourceMappingURL=chunk-U7B2ZKV5.cjs.map
|