@transcend-io/cli 8.24.1 → 8.25.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 +36 -15
- 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-YFF6A56N.cjs → chunk-2Q7ADV5Y.cjs} +2 -2
- package/dist/{chunk-YFF6A56N.cjs.map → chunk-2Q7ADV5Y.cjs.map} +1 -1
- package/dist/{chunk-KKAJPI6O.cjs → chunk-5PTFTN6J.cjs} +11 -11
- package/dist/{chunk-KKAJPI6O.cjs.map → chunk-5PTFTN6J.cjs.map} +1 -1
- package/dist/chunk-7ZGJ4MJF.cjs +12 -0
- package/dist/{chunk-AOO3U7W3.cjs.map → chunk-7ZGJ4MJF.cjs.map} +1 -1
- package/dist/{chunk-T5QZTOZC.cjs → chunk-BGZ6TA6C.cjs} +2 -2
- package/dist/{chunk-T5QZTOZC.cjs.map → chunk-BGZ6TA6C.cjs.map} +1 -1
- package/dist/{chunk-NA6JTKNJ.cjs → chunk-COKHIMLO.cjs} +2 -2
- package/dist/{chunk-NA6JTKNJ.cjs.map → chunk-COKHIMLO.cjs.map} +1 -1
- package/dist/chunk-F3BRFYKD.cjs +2 -0
- package/dist/chunk-F3BRFYKD.cjs.map +1 -0
- package/dist/{chunk-TRQBFWZP.cjs → chunk-GG7P2RO6.cjs} +2 -2
- package/dist/{chunk-TRQBFWZP.cjs.map → chunk-GG7P2RO6.cjs.map} +1 -1
- package/dist/{chunk-WAXPOCXW.cjs → chunk-HRNCQV6G.cjs} +4 -4
- package/dist/{chunk-WAXPOCXW.cjs.map → chunk-HRNCQV6G.cjs.map} +1 -1
- package/dist/{chunk-NNHHVBQP.cjs → chunk-KYVDLURL.cjs} +4 -4
- package/dist/{chunk-NNHHVBQP.cjs.map → chunk-KYVDLURL.cjs.map} +1 -1
- package/dist/{chunk-O3EACWMC.cjs → chunk-MOWFESXN.cjs} +2 -2
- package/dist/{chunk-O3EACWMC.cjs.map → chunk-MOWFESXN.cjs.map} +1 -1
- package/dist/{chunk-MWZABOIC.cjs → chunk-MPMKY5NF.cjs} +22 -22
- package/dist/chunk-MPMKY5NF.cjs.map +1 -0
- package/dist/{chunk-VY55L6P5.cjs → chunk-NI434OII.cjs} +2 -2
- package/dist/{chunk-VY55L6P5.cjs.map → chunk-NI434OII.cjs.map} +1 -1
- package/dist/{chunk-VTYBZZQ5.cjs → chunk-RGBVP433.cjs} +2 -2
- package/dist/{chunk-VTYBZZQ5.cjs.map → chunk-RGBVP433.cjs.map} +1 -1
- package/dist/chunk-WWJHUHSQ.cjs +12 -0
- package/dist/chunk-WWJHUHSQ.cjs.map +1 -0
- package/dist/{impl-OPBD2KMY.cjs → impl-32ZRDOCN.cjs} +5 -5
- package/dist/{impl-OPBD2KMY.cjs.map → impl-32ZRDOCN.cjs.map} +1 -1
- package/dist/{impl-3PH5TSFY.cjs → impl-3VTN6SPE.cjs} +3 -3
- package/dist/{impl-3PH5TSFY.cjs.map → impl-3VTN6SPE.cjs.map} +1 -1
- package/dist/{impl-WIGDO7DS.cjs → impl-4YI4ERPI.cjs} +2 -2
- package/dist/{impl-WIGDO7DS.cjs.map → impl-4YI4ERPI.cjs.map} +1 -1
- package/dist/{impl-6HWW3LAY.cjs → impl-5H724WN5.cjs} +2 -2
- package/dist/{impl-6HWW3LAY.cjs.map → impl-5H724WN5.cjs.map} +1 -1
- package/dist/{impl-MAHW2W43.cjs → impl-6S3K72GP.cjs} +2 -2
- package/dist/{impl-MAHW2W43.cjs.map → impl-6S3K72GP.cjs.map} +1 -1
- package/dist/{impl-SMK2SUTD.cjs → impl-7G2TDJGL.cjs} +2 -2
- package/dist/{impl-SMK2SUTD.cjs.map → impl-7G2TDJGL.cjs.map} +1 -1
- package/dist/{impl-VMV24ZJH.cjs → impl-7WCN5RAN.cjs} +2 -2
- package/dist/{impl-VMV24ZJH.cjs.map → impl-7WCN5RAN.cjs.map} +1 -1
- package/dist/{impl-VXHUL55C.cjs → impl-7ZGTTYG5.cjs} +2 -2
- package/dist/{impl-VXHUL55C.cjs.map → impl-7ZGTTYG5.cjs.map} +1 -1
- package/dist/impl-AI276JNQ.cjs +2 -0
- package/dist/impl-AI276JNQ.cjs.map +1 -0
- package/dist/{impl-FO3XHC3T.cjs → impl-AQY6F4SC.cjs} +2 -2
- package/dist/{impl-FO3XHC3T.cjs.map → impl-AQY6F4SC.cjs.map} +1 -1
- package/dist/{impl-IESXEP2S.cjs → impl-CLA7WK6U.cjs} +2 -2
- package/dist/{impl-IESXEP2S.cjs.map → impl-CLA7WK6U.cjs.map} +1 -1
- package/dist/{impl-CUNZ7YNN.cjs → impl-CP2GLGVZ.cjs} +2 -2
- package/dist/{impl-CUNZ7YNN.cjs.map → impl-CP2GLGVZ.cjs.map} +1 -1
- package/dist/impl-CRQ4DYII.cjs +2 -0
- package/dist/impl-CRQ4DYII.cjs.map +1 -0
- package/dist/{impl-OOQNMHTX.cjs → impl-EQ4EH4QJ.cjs} +2 -2
- package/dist/{impl-OOQNMHTX.cjs.map → impl-EQ4EH4QJ.cjs.map} +1 -1
- package/dist/{impl-2YVWUXEC.cjs → impl-FD5CDY7Y.cjs} +2 -2
- package/dist/{impl-2YVWUXEC.cjs.map → impl-FD5CDY7Y.cjs.map} +1 -1
- package/dist/{impl-L6F4PTY3.cjs → impl-FJ4XWHLE.cjs} +2 -2
- package/dist/{impl-L6F4PTY3.cjs.map → impl-FJ4XWHLE.cjs.map} +1 -1
- package/dist/{impl-2TS5SALN.cjs → impl-G6WAGNDN.cjs} +2 -2
- package/dist/{impl-2TS5SALN.cjs.map → impl-G6WAGNDN.cjs.map} +1 -1
- package/dist/{impl-TXQ7EFQE.cjs → impl-GIPZ5EW5.cjs} +2 -2
- package/dist/{impl-TXQ7EFQE.cjs.map → impl-GIPZ5EW5.cjs.map} +1 -1
- package/dist/{impl-7YED2CRU.cjs → impl-HCY5MWEP.cjs} +2 -2
- package/dist/{impl-7YED2CRU.cjs.map → impl-HCY5MWEP.cjs.map} +1 -1
- package/dist/{impl-WLYOQTIL.cjs → impl-HEPMD6RG.cjs} +2 -2
- package/dist/{impl-WLYOQTIL.cjs.map → impl-HEPMD6RG.cjs.map} +1 -1
- package/dist/{impl-MCE7B6NW.cjs → impl-JREQ3SEN.cjs} +2 -2
- package/dist/{impl-MCE7B6NW.cjs.map → impl-JREQ3SEN.cjs.map} +1 -1
- package/dist/{impl-IBGULX7G.cjs → impl-K5LDQF7V.cjs} +2 -2
- package/dist/{impl-IBGULX7G.cjs.map → impl-K5LDQF7V.cjs.map} +1 -1
- package/dist/{impl-WKBZDQYY.cjs → impl-KPZSEHQG.cjs} +2 -2
- package/dist/{impl-WKBZDQYY.cjs.map → impl-KPZSEHQG.cjs.map} +1 -1
- package/dist/{impl-IZTOX7X3.cjs → impl-LGUMGRRA.cjs} +2 -2
- package/dist/{impl-IZTOX7X3.cjs.map → impl-LGUMGRRA.cjs.map} +1 -1
- package/dist/{impl-YEXHKEWQ.cjs → impl-LI3SHHAQ.cjs} +2 -2
- package/dist/{impl-YEXHKEWQ.cjs.map → impl-LI3SHHAQ.cjs.map} +1 -1
- package/dist/{impl-YPKYWIYP.cjs → impl-MH7OR57S.cjs} +2 -2
- package/dist/{impl-YPKYWIYP.cjs.map → impl-MH7OR57S.cjs.map} +1 -1
- package/dist/{impl-OCLMWYMP.cjs → impl-OIXVXSLU.cjs} +2 -2
- package/dist/{impl-OCLMWYMP.cjs.map → impl-OIXVXSLU.cjs.map} +1 -1
- package/dist/{impl-2Y7WAQGJ.cjs → impl-OXOU2A27.cjs} +2 -2
- package/dist/{impl-2Y7WAQGJ.cjs.map → impl-OXOU2A27.cjs.map} +1 -1
- package/dist/impl-PZ3JDEQN.cjs +2 -0
- package/dist/{impl-R3RC2YP7.cjs.map → impl-PZ3JDEQN.cjs.map} +1 -1
- package/dist/{impl-4EEEQLZS.cjs → impl-QSTK5NYY.cjs} +3 -3
- package/dist/{impl-4EEEQLZS.cjs.map → impl-QSTK5NYY.cjs.map} +1 -1
- package/dist/{impl-AKKWJJRW.cjs → impl-QZHQCQ3B.cjs} +2 -2
- package/dist/{impl-AKKWJJRW.cjs.map → impl-QZHQCQ3B.cjs.map} +1 -1
- package/dist/{impl-RHAYM5BX.cjs → impl-SYXFCDZC.cjs} +4 -4
- package/dist/{impl-RHAYM5BX.cjs.map → impl-SYXFCDZC.cjs.map} +1 -1
- package/dist/{impl-DDDGYCKH.cjs → impl-TCN6BRVK.cjs} +2 -2
- package/dist/{impl-DDDGYCKH.cjs.map → impl-TCN6BRVK.cjs.map} +1 -1
- package/dist/{impl-FGLNPBNN.cjs → impl-TFAARXUG.cjs} +2 -2
- package/dist/{impl-FGLNPBNN.cjs.map → impl-TFAARXUG.cjs.map} +1 -1
- package/dist/{impl-ZVMYU6PT.cjs → impl-VAQF5Y6W.cjs} +2 -2
- package/dist/{impl-ZVMYU6PT.cjs.map → impl-VAQF5Y6W.cjs.map} +1 -1
- package/dist/{impl-6OZ2ZIVM.cjs → impl-VGJPIZZY.cjs} +2 -2
- package/dist/{impl-6OZ2ZIVM.cjs.map → impl-VGJPIZZY.cjs.map} +1 -1
- package/dist/impl-VGOV6N6A.cjs +2 -0
- package/dist/impl-VGOV6N6A.cjs.map +1 -0
- package/dist/{impl-DJCQNX56.cjs → impl-X6Z7MKVJ.cjs} +2 -2
- package/dist/{impl-DJCQNX56.cjs.map → impl-X6Z7MKVJ.cjs.map} +1 -1
- package/dist/{impl-YHIIZRG6.cjs → impl-YIYW7STX.cjs} +2 -2
- package/dist/{impl-YHIIZRG6.cjs.map → impl-YIYW7STX.cjs.map} +1 -1
- package/dist/{impl-4RXGRXXS.cjs → impl-ZGACCLWF.cjs} +2 -2
- package/dist/{impl-4RXGRXXS.cjs.map → impl-ZGACCLWF.cjs.map} +1 -1
- package/dist/{impl-JIVQZGAO.cjs → impl-ZV4VREIU.cjs} +2 -2
- package/dist/{impl-JIVQZGAO.cjs.map → impl-ZV4VREIU.cjs.map} +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +43 -89
- package/package.json +1 -1
- package/dist/chunk-AOO3U7W3.cjs +0 -12
- package/dist/chunk-MWZABOIC.cjs.map +0 -1
- package/dist/chunk-ZUT7UIQU.cjs +0 -2
- package/dist/chunk-ZUT7UIQU.cjs.map +0 -1
- package/dist/impl-KUZ5CZKZ.cjs +0 -2
- package/dist/impl-KUZ5CZKZ.cjs.map +0 -1
- package/dist/impl-R3RC2YP7.cjs +0 -2
- package/dist/impl-TJIMDEBN.cjs +0 -12
- package/dist/impl-TJIMDEBN.cjs.map +0 -1
- package/dist/impl-VKEICKZ7.cjs +0 -2
- package/dist/impl-VKEICKZ7.cjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-TFAARXUG.cjs","../src/commands/request/cancel/impl.ts"],"names":["cancel","auth","actions","statuses","requestIds","silentModeBefore","createdAtBefore","createdAtAfter","cancellationTitle","transcendUrl","concurrency","doneInputValidation","cancelPrivacyRequests"],"mappings":"AAAA,iIAAwC,wDAA0C,gCAA6B,gCAA6B,gCAA6B,gCAA6B,MCkBtM,SAAsBA,CAAAA,CAEpB,CACE,IAAA,CAAAC,CAAAA,CACA,OAAA,CAAAC,CAAAA,CACA,QAAA,CAAAC,CAAAA,CAAW,CAAC,CAAA,CACZ,UAAA,CAAAC,CAAAA,CACA,gBAAA,CAAAC,CAAAA,CACA,eAAA,CAAAC,CAAAA,CACA,cAAA,CAAAC,CAAAA,CACA,iBAAA,CAAAC,CAAAA,CACA,YAAA,CAAAC,CAAAA,CACA,WAAA,CAAAC,CACF,CAAA,CACe,CACfC,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAErC,MAAMC,kCAAAA,CACJ,YAAA,CAAAH,CAAAA,CACA,cAAA,CAAgBP,CAAAA,CAChB,IAAA,CAAAD,CAAAA,CACA,iBAAA,CAAAO,CAAAA,CACA,UAAA,CAAAJ,CAAAA,CACA,QAAA,CAAAD,CAAAA,CACA,WAAA,CAAAO,CAAAA,CACA,gBAAA,CAAkBL,CAAAA,CAAmB,IAAI,IAAA,CAAKA,CAAgB,CAAA,CAAI,KAAA,CAAA,CAClE,eAAA,CAAiBC,CAAAA,CAAkB,IAAI,IAAA,CAAKA,CAAe,CAAA,CAAI,KAAA,CAAA,CAC/D,cAAA,CAAgBC,CAAAA,CAAiB,IAAI,IAAA,CAAKA,CAAc,CAAA,CAAI,KAAA,CAC9D,CAAC,CACH,CAAA,mBAAA","file":"/home/runner/work/cli/cli/dist/impl-TFAARXUG.cjs","sourcesContent":[null,"import type { LocalContext } from '../../../context';\nimport { RequestAction, RequestStatus } from '@transcend-io/privacy-types';\nimport { cancelPrivacyRequests } from '../../../lib/requests';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation';\n\nexport interface CancelCommandFlags {\n auth: string;\n actions: RequestAction[];\n statuses?: RequestStatus[];\n requestIds?: string[];\n silentModeBefore?: Date;\n createdAtBefore?: Date;\n createdAtAfter?: Date;\n cancellationTitle: string;\n transcendUrl: string;\n concurrency: number;\n}\n\nexport async function cancel(\n this: LocalContext,\n {\n auth,\n actions,\n statuses = [],\n requestIds,\n silentModeBefore,\n createdAtBefore,\n createdAtAfter,\n cancellationTitle,\n transcendUrl,\n concurrency,\n }: CancelCommandFlags,\n): Promise<void> {\n doneInputValidation(this.process.exit);\n\n await cancelPrivacyRequests({\n transcendUrl,\n requestActions: actions,\n auth,\n cancellationTitle,\n requestIds,\n statuses,\n concurrency,\n silentModeBefore: silentModeBefore ? new Date(silentModeBefore) : undefined,\n createdAtBefore: createdAtBefore ? new Date(createdAtBefore) : undefined,\n createdAtAfter: createdAtAfter ? new Date(createdAtAfter) : undefined,\n });\n}\n"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var
|
|
2
|
-
//# sourceMappingURL=impl-
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _chunk7ZGJ4MJFcjs = require('./chunk-7ZGJ4MJF.cjs');require('./chunk-F3BRFYKD.cjs');var _chunkMOWFESXNcjs = require('./chunk-MOWFESXN.cjs');require('./chunk-5UBGZNDC.cjs');var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');require('./chunk-5PTFTN6J.cjs');require('./chunk-LCDYXJN6.cjs');var _chunkZUNVPK23cjs = require('./chunk-ZUNVPK23.cjs');require('./chunk-NI434OII.cjs');require('./chunk-Q7I37FJV.cjs');var _colors = require('colors'); var _colors2 = _interopRequireDefault(_colors);var _fs = require('fs');async function L({auth:d,xdiLocation:c,file:o,removeIpAddresses:l,domainBlockList:i,xdiAllowedCommands:a,transcendUrl:m}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit);let p=await _chunkMOWFESXNcjs.b.call(void 0, d),{syncGroups:f,html:u}=await _chunk7ZGJ4MJFcjs.g.call(void 0, p,{xdiLocation:c,transcendUrl:m,removeIpAddresses:l,domainBlockList:i.length>0?i:void 0,xdiAllowedCommands:a});_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully constructed sync endpoint for sync groups: ${JSON.stringify(f,null,2)}`)),_fs.writeFileSync.call(void 0, o,u),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Wrote configuration to file "${o}"!`))}exports.buildXdiSyncEndpoint = L;
|
|
2
|
+
//# sourceMappingURL=impl-VAQF5Y6W.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-VAQF5Y6W.cjs","../src/commands/consent/build-xdi-sync-endpoint/impl.ts"],"names":["buildXdiSyncEndpoint","auth","xdiLocation","file","removeIpAddresses","domainBlockList","xdiAllowedCommands","transcendUrl","doneInputValidation","apiKeyOrList","validateTranscendAuth","syncGroups","html","logger","colors"],"mappings":"AAAA,iOAAwC,gCAA6B,wDAAyC,gCAA6B,wDAAyC,gCAA6B,gCAA6B,wDAAyC,gCAA6B,gCAA6B,gFCE9T,wBACW,MAe9B,SAAsBA,CAAAA,CAEpB,CACE,IAAA,CAAAC,CAAAA,CACA,WAAA,CAAAC,CAAAA,CACA,IAAA,CAAAC,CAAAA,CACA,iBAAA,CAAAC,CAAAA,CACA,eAAA,CAAAC,CAAAA,CACA,kBAAA,CAAAC,CAAAA,CACA,YAAA,CAAAC,CACF,CAAA,CACe,CACfC,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAGrC,IAAMC,CAAAA,CAAe,MAAMC,iCAAAA,CAA0B,CAAA,CAG/C,CAAE,UAAA,CAAAC,CAAAA,CAAY,IAAA,CAAAC,CAAK,CAAA,CAAI,MAAMZ,iCAAAA,CAA2BS,CAAc,CAC1E,WAAA,CAAAP,CAAAA,CACA,YAAA,CAAAK,CAAAA,CACA,iBAAA,CAAAH,CAAAA,CACA,eAAA,CAAiBC,CAAAA,CAAgB,MAAA,CAAS,CAAA,CAAIA,CAAAA,CAAkB,KAAA,CAAA,CAChE,kBAAA,CAAAC,CACF,CAAC,CAAA,CAGDO,mBAAAA,CAAO,IAAA,CACLC,gBAAAA,CAAO,KAAA,CACL,CAAA,wDAAA,EAA2D,IAAA,CAAK,SAAA,CAC9DH,CAAAA,CACA,IAAA,CACA,CACF,CAAC,CAAA,CAAA","file":"/home/runner/work/cli/cli/dist/impl-VAQF5Y6W.cjs","sourcesContent":[null,"import type { LocalContext } from '../../../context';\nimport { logger } from '../../../logger';\nimport colors from 'colors';\nimport { writeFileSync } from 'node:fs';\nimport { validateTranscendAuth } from '../../../lib/api-keys';\nimport { buildXdiSyncEndpoint as buildXdiSyncEndpointHelper } from '../../../lib/consent-manager';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation';\n\nexport interface BuildXdiSyncEndpointCommandFlags {\n auth: string;\n xdiLocation: string;\n file: string;\n removeIpAddresses: boolean;\n domainBlockList: string[];\n xdiAllowedCommands: string;\n transcendUrl: string;\n}\n\nexport async function buildXdiSyncEndpoint(\n this: LocalContext,\n {\n auth,\n xdiLocation,\n file,\n removeIpAddresses,\n domainBlockList,\n xdiAllowedCommands,\n transcendUrl,\n }: BuildXdiSyncEndpointCommandFlags,\n): Promise<void> {\n doneInputValidation(this.process.exit);\n\n // Parse authentication as API key or path to list of API keys\n const apiKeyOrList = await validateTranscendAuth(auth);\n\n // Build the sync endpoint\n const { syncGroups, html } = await buildXdiSyncEndpointHelper(apiKeyOrList, {\n xdiLocation,\n transcendUrl,\n removeIpAddresses,\n domainBlockList: domainBlockList.length > 0 ? domainBlockList : undefined,\n xdiAllowedCommands,\n });\n\n // Log success\n logger.info(\n colors.green(\n `Successfully constructed sync endpoint for sync groups: ${JSON.stringify(\n syncGroups,\n null,\n 2,\n )}`,\n ),\n );\n\n // Write to disk\n writeFileSync(file, html);\n logger.info(colors.green(`Wrote configuration to file \"${file}\"!`));\n}\n"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
2
|
-
//# sourceMappingURL=impl-
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkCOKHIMLOcjs = require('./chunk-COKHIMLO.cjs');require('./chunk-LR3CPNDM.cjs');var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');require('./chunk-5PTFTN6J.cjs');require('./chunk-LCDYXJN6.cjs');require('./chunk-ZUNVPK23.cjs');require('./chunk-NI434OII.cjs');require('./chunk-Q7I37FJV.cjs');async function d({file:i,transcendUrl:o,auth:r,sombraAuth:n,dataSiloId:s}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit),await _chunkCOKHIMLOcjs.e.call(void 0, {file:i,transcendUrl:o,auth:r,sombraAuth:n,dataSiloId:s})}exports.markIdentifiersCompleted = d;
|
|
2
|
+
//# sourceMappingURL=impl-VGJPIZZY.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-VGJPIZZY.cjs","../src/commands/request/cron/mark-identifiers-completed/impl.ts"],"names":["markIdentifiersCompleted","file","transcendUrl","auth","sombraAuth","dataSiloId","doneInputValidation","pushCronIdentifiersFromCsv"],"mappings":"AAAA,iIAAwC,gCAA6B,wDAAyC,gCAA6B,gCAA6B,gCAA6B,gCAA6B,gCAA6B,MCY/P,SAAsBA,CAAAA,CAEpB,CACE,IAAA,CAAAC,CAAAA,CACA,YAAA,CAAAC,CAAAA,CACA,IAAA,CAAAC,CAAAA,CACA,UAAA,CAAAC,CAAAA,CACA,UAAA,CAAAC,CACF,CAAA,CACe,CACfC,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAErC,MAAMC,iCAAAA,CACJ,IAAA,CAAAN,CAAAA,CACA,YAAA,CAAAC,CAAAA,CACA,IAAA,CAAAC,CAAAA,CACA,UAAA,CAAAC,CAAAA,CACA,UAAA,CAAAC,CACF,CAAC,CACH,CAAA,qCAAA","file":"/home/runner/work/cli/cli/dist/impl-VGJPIZZY.cjs","sourcesContent":[null,"import type { LocalContext } from '../../../../context';\nimport { pushCronIdentifiersFromCsv } from '../../../../lib/cron';\nimport { doneInputValidation } from '../../../../lib/cli/done-input-validation';\n\nexport interface MarkIdentifiersCompletedCommandFlags {\n file: string;\n transcendUrl: string;\n auth: string;\n sombraAuth?: string;\n dataSiloId: string;\n}\n\nexport async function markIdentifiersCompleted(\n this: LocalContext,\n {\n file,\n transcendUrl,\n auth,\n sombraAuth,\n dataSiloId,\n }: MarkIdentifiersCompletedCommandFlags,\n): Promise<void> {\n doneInputValidation(this.process.exit);\n\n await pushCronIdentifiersFromCsv({\n file,\n transcendUrl,\n auth,\n sombraAuth,\n dataSiloId,\n });\n}\n"]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _chunkWWJHUHSQcjs = require('./chunk-WWJHUHSQ.cjs');var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');var _chunk5PTFTN6Jcjs = require('./chunk-5PTFTN6J.cjs');require('./chunk-LCDYXJN6.cjs');var _chunkZUNVPK23cjs = require('./chunk-ZUNVPK23.cjs');require('./chunk-NI434OII.cjs');require('./chunk-Q7I37FJV.cjs');var _colors = require('colors'); var _colors2 = _interopRequireDefault(_colors);var _fs = require('fs');var _bluebird = require('bluebird');var _path = require('path');async function A({auth:g,partition:l,sombraAuth:h,transcendUrl:u,file:s="",directory:o,dryRun:b,skipExistingRecordCheck:a,receiptFileDir:v,skipWorkflowTriggers:x,forceTriggerWorkflows:y,skipConflictUpdates:F,isSilent:C,attributes:P,concurrency:$}){o&&s&&(_chunkZUNVPK23cjs.a.error(_colors2.default.red("Cannot provide both a directory and a file. Please provide only one.")),this.process.exit(1)),!s&&!o&&(_chunkZUNVPK23cjs.a.error(_colors2.default.red("A file or directory must be provided. Please provide one using --file=./preferences.csv or --directory=./preferences")),this.process.exit(1)),_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit);let t=[];if(o)try{let n=_fs.readdirSync.call(void 0, o).filter(c=>c.endsWith(".csv"));n.length===0&&(_chunkZUNVPK23cjs.a.error(_colors2.default.red(`No CSV files found in directory: ${o}`)),this.process.exit(1)),t.push(...n.map(c=>_path.join.call(void 0, o,c)))}catch(i){_chunkZUNVPK23cjs.a.error(_colors2.default.red(`Failed to read directory: ${o}`)),_chunkZUNVPK23cjs.a.error(_colors2.default.red(i.message)),this.process.exit(1)}else try{s.endsWith(".csv")||(_chunkZUNVPK23cjs.a.error(_colors2.default.red("File must be a CSV file")),this.process.exit(1)),t.push(s)}catch(i){_chunkZUNVPK23cjs.a.error(_colors2.default.red(`Failed to access file: ${s}`)),_chunkZUNVPK23cjs.a.error(_colors2.default.red(i.message)),this.process.exit(1)}_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Processing ${t.length} consent preferences files for partition: ${l}`)),_chunkZUNVPK23cjs.a.debug(`Files to process: ${t.join(", ")}`),a&&_chunkZUNVPK23cjs.a.info(_colors2.default.bgYellow(`Skipping existing record check: ${a}`)),await _bluebird.map.call(void 0, t,async i=>{let n=_path.basename.call(void 0, i).replace(".csv","");await _chunkWWJHUHSQcjs.a.call(void 0, {receiptFilepath:_path.join.call(void 0, v,`${n}-receipts.json`),auth:g,sombraAuth:h,file:i,partition:l,transcendUrl:u,skipConflictUpdates:F,skipWorkflowTriggers:x,skipExistingRecordCheck:a,isSilent:C,dryRun:b,attributes:_chunk5PTFTN6Jcjs.oc.call(void 0, P),forceTriggerWorkflows:y})},{concurrency:$})}exports.uploadPreferences = A;
|
|
2
|
+
//# sourceMappingURL=impl-VGOV6N6A.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-VGOV6N6A.cjs","../src/commands/consent/upload-preferences/impl.ts"],"names":["uploadPreferences","auth","partition","sombraAuth","transcendUrl","file","directory","dryRun","skipExistingRecordCheck","receiptFileDir","skipWorkflowTriggers","forceTriggerWorkflows","skipConflictUpdates","isSilent","attributes","concurrency","logger","colors","doneInputValidation","files","csvFiles","readdirSync"],"mappings":"AAAA,iOAAwC,wDAAyC,wDAA0C,gCAA6B,wDAAyC,gCAA6B,gCAA6B,gFCCxO,wBAKS,oCACR,4BACW,MAsB/B,SAAsBA,CAAAA,CAEpB,CACE,IAAA,CAAAC,CAAAA,CACA,SAAA,CAAAC,CAAAA,CACA,UAAA,CAAAC,CAAAA,CACA,YAAA,CAAAC,CAAAA,CACA,IAAA,CAAAC,CAAAA,CAAO,EAAA,CACP,SAAA,CAAAC,CAAAA,CACA,MAAA,CAAAC,CAAAA,CACA,uBAAA,CAAAC,CAAAA,CACA,cAAA,CAAAC,CAAAA,CACA,oBAAA,CAAAC,CAAAA,CACA,qBAAA,CAAAC,CAAAA,CACA,mBAAA,CAAAC,CAAAA,CACA,QAAA,CAAAC,CAAAA,CACA,UAAA,CAAAC,CAAAA,CACA,WAAA,CAAAC,CACF,CAAA,CACe,CACTT,CAAAA,EAAeD,CAAAA,EAAAA,CACnBW,mBAAAA,CAAO,KAAA,CACLC,gBAAAA,CAAO,GAAA,CACL,sEACF,CACF,CAAA,CACA,IAAA,CAAK,OAAA,CAAQ,IAAA,CAAK,CAAC,CAAA,CAAA,CAGjB,CAACZ,CAAAA,EAAQ,CAACC,CAAAA,EAAAA,CACZU,mBAAAA,CAAO,KAAA,CACLC,gBAAAA,CAAO,GAAA,CACL,sHACF,CACF,CAAA,CACA,IAAA,CAAK,OAAA,CAAQ,IAAA,CAAK,CAAC,CAAA,CAAA,CAGrBC,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAErC,IAAMC,CAAAA,CAAkB,CAAC,CAAA,CAEzB,EAAA,CAAIb,CAAAA,CACF,GAAI,CAEF,IAAMc,CAAAA,CADmBC,6BAAAA,CAAqB,CAAA,CACZ,MAAA,CAAQhB,CAAAA,EAASA,CAAAA,CAAK,QAAA,CAAS,MAAM,CAAC,CAAA,CAEpEe,CAAAA,CAAS,MAAA,GAAW,CAAA,EAAA,CACtBJ,mBAAAA,CAAO,KAAA,CACLC,gBAAAA,CAAO,GAAA,CAAI,CAAA,iCAAA,EAAoCX,CAAS,CAAA,CAAA","file":"/home/runner/work/cli/cli/dist/impl-VGOV6N6A.cjs","sourcesContent":[null,"import type { LocalContext } from '../../../context';\nimport colors from 'colors';\n\nimport { logger } from '../../../logger';\nimport { uploadPreferenceManagementPreferencesInteractive } from '../../../lib/preference-management';\nimport { splitCsvToList } from '../../../lib/requests';\nimport { readdirSync } from 'node:fs';\nimport { map } from 'bluebird';\nimport { basename, join } from 'node:path';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation';\n\nexport interface UploadPreferencesCommandFlags {\n auth: string;\n partition: string;\n sombraAuth?: string;\n transcendUrl: string;\n file?: string;\n directory?: string;\n dryRun: boolean;\n skipExistingRecordCheck: boolean;\n receiptFileDir: string;\n skipWorkflowTriggers: boolean;\n forceTriggerWorkflows: boolean;\n skipConflictUpdates: boolean;\n isSilent: boolean;\n attributes: string;\n receiptFilepath: string;\n concurrency: number;\n}\n\nexport async function uploadPreferences(\n this: LocalContext,\n {\n auth,\n partition,\n sombraAuth,\n transcendUrl,\n file = '',\n directory,\n dryRun,\n skipExistingRecordCheck,\n receiptFileDir,\n skipWorkflowTriggers,\n forceTriggerWorkflows,\n skipConflictUpdates,\n isSilent,\n attributes,\n concurrency,\n }: UploadPreferencesCommandFlags,\n): Promise<void> {\n if (!!directory && !!file) {\n logger.error(\n colors.red(\n 'Cannot provide both a directory and a file. Please provide only one.',\n ),\n );\n this.process.exit(1);\n }\n\n if (!file && !directory) {\n logger.error(\n colors.red(\n 'A file or directory must be provided. Please provide one using --file=./preferences.csv or --directory=./preferences',\n ),\n );\n this.process.exit(1);\n }\n\n doneInputValidation(this.process.exit);\n\n const files: string[] = [];\n\n if (directory) {\n try {\n const filesInDirectory = readdirSync(directory);\n const csvFiles = filesInDirectory.filter((file) => file.endsWith('.csv'));\n\n if (csvFiles.length === 0) {\n logger.error(\n colors.red(`No CSV files found in directory: ${directory}`),\n );\n this.process.exit(1);\n }\n\n // Add full paths for each CSV file\n files.push(...csvFiles.map((file) => join(directory, file)));\n } catch (err) {\n logger.error(colors.red(`Failed to read directory: ${directory}`));\n logger.error(colors.red((err as Error).message));\n this.process.exit(1);\n }\n } else {\n try {\n // Verify file exists and is a CSV\n if (!file.endsWith('.csv')) {\n logger.error(colors.red('File must be a CSV file'));\n this.process.exit(1);\n }\n files.push(file);\n } catch (err) {\n logger.error(colors.red(`Failed to access file: ${file}`));\n logger.error(colors.red((err as Error).message));\n this.process.exit(1);\n }\n }\n\n logger.info(\n colors.green(\n `Processing ${files.length} consent preferences files for partition: ${partition}`,\n ),\n );\n logger.debug(`Files to process: ${files.join(', ')}`);\n\n if (skipExistingRecordCheck) {\n logger.info(\n colors.bgYellow(\n `Skipping existing record check: ${skipExistingRecordCheck}`,\n ),\n );\n }\n\n await map(\n files,\n async (filePath) => {\n const fileName = basename(filePath).replace('.csv', '');\n await uploadPreferenceManagementPreferencesInteractive({\n receiptFilepath: join(receiptFileDir, `${fileName}-receipts.json`),\n auth,\n sombraAuth,\n file: filePath,\n partition,\n transcendUrl,\n skipConflictUpdates,\n skipWorkflowTriggers,\n skipExistingRecordCheck,\n isSilent,\n dryRun,\n attributes: splitCsvToList(attributes),\n forceTriggerWorkflows,\n });\n },\n { concurrency },\n );\n}\n"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
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 _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var
|
|
2
|
-
//# sourceMappingURL=impl-
|
|
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 _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _chunkCOKHIMLOcjs = require('./chunk-COKHIMLO.cjs');require('./chunk-LR3CPNDM.cjs');var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');var _chunk5PTFTN6Jcjs = require('./chunk-5PTFTN6J.cjs');require('./chunk-LCDYXJN6.cjs');var _chunkZUNVPK23cjs = require('./chunk-ZUNVPK23.cjs');require('./chunk-NI434OII.cjs');require('./chunk-Q7I37FJV.cjs');var _colors = require('colors'); var _colors2 = _interopRequireDefault(_colors);var _iots = require('io-ts'); var t = _interopRequireWildcard(_iots);var c=t.type({"Request Id":t.string});async function q({auth:i,dataSiloId:m,file:o,transcendUrl:n}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit),_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Reading "${o}" from disk`));let d=_chunk5PTFTN6Jcjs.rc.call(void 0, o,c);await _chunkCOKHIMLOcjs.f.call(void 0, {requestIds:d.map(l=>l["Request Id"]),transcendUrl:n,auth:i,dataSiloId:m})}exports.markRequestDataSilosCompleted = q;
|
|
2
|
+
//# sourceMappingURL=impl-X6Z7MKVJ.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-X6Z7MKVJ.cjs","../src/commands/request/system/mark-request-data-silos-completed/impl.ts"],"names":["RequestIdRow","markRequestDataSilosCompleted","auth","dataSiloId","file","transcendUrl","doneInputValidation","logger","colors","activeResults","readCsv","markRequestDataSiloIdsCompleted","request"],"mappings":"AAAA,mfAAwC,gCAA6B,wDAAyC,wDAA0C,gCAA6B,wDAAyC,gCAA6B,gCAA6B,gFCCrQ,qEACA,IAObA,CAAAA,CAAiB,CAAA,CAAA,IAAA,CAAK,CAC1B,YAAA,CAAgB,CAAA,CAAA,MAClB,CAAC,CAAA,CASD,MAAA,SAAsBC,CAAAA,CAEpB,CACE,IAAA,CAAAC,CAAAA,CACA,UAAA,CAAAC,CAAAA,CACA,IAAA,CAAAC,CAAAA,CACA,YAAA,CAAAC,CACF,CAAA,CACe,CACfC,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAErCC,mBAAAA,CAAO,IAAA,CAAKC,gBAAAA,CAAO,OAAA,CAAQ,CAAA,SAAA,EAAYJ,CAAI,CAAA,WAAA,CAAa,CAAC,CAAA,CACzD,IAAMK,CAAAA,CAAgBC,kCAAAA,CAAQN,CAAMJ,CAAY,CAAA,CAEhD,MAAMW,iCAAAA,CACJ,UAAA,CAAYF,CAAAA,CAAc,GAAA,CAAKG,CAAAA,EAAYA,CAAAA,CAAQ,YAAY,CAAC,CAAA,CAChE,YAAA,CAAAP,CAAAA,CACA,IAAA,CAAAH,CAAAA,CACA,UAAA,CAAAC,CACF,CAAC,CACH,CAAA,0CAAA","file":"/home/runner/work/cli/cli/dist/impl-X6Z7MKVJ.cjs","sourcesContent":[null,"import type { LocalContext } from '../../../../context';\nimport colors from 'colors';\nimport * as t from 'io-ts';\n\nimport { logger } from '../../../../logger';\nimport { markRequestDataSiloIdsCompleted } from '../../../../lib/cron';\nimport { readCsv } from '../../../../lib/requests';\nimport { doneInputValidation } from '../../../../lib/cli/done-input-validation';\n\nconst RequestIdRow = t.type({\n 'Request Id': t.string,\n});\n\nexport interface MarkRequestDataSilosCompletedCommandFlags {\n auth: string;\n dataSiloId: string;\n file: string;\n transcendUrl: string;\n}\n\nexport async function markRequestDataSilosCompleted(\n this: LocalContext,\n {\n auth,\n dataSiloId,\n file,\n transcendUrl,\n }: MarkRequestDataSilosCompletedCommandFlags,\n): Promise<void> {\n doneInputValidation(this.process.exit);\n\n logger.info(colors.magenta(`Reading \"${file}\" from disk`));\n const activeResults = readCsv(file, RequestIdRow);\n\n await markRequestDataSiloIdsCompleted({\n requestIds: activeResults.map((request) => request['Request Id']),\n transcendUrl,\n auth,\n dataSiloId,\n });\n}\n"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var
|
|
2
|
-
//# sourceMappingURL=impl-
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _chunk2Q7ADV5Ycjs = require('./chunk-2Q7ADV5Y.cjs');require('./chunk-MOWFESXN.cjs');require('./chunk-5UBGZNDC.cjs');var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');var _chunk5PTFTN6Jcjs = require('./chunk-5PTFTN6J.cjs');require('./chunk-LCDYXJN6.cjs');var _chunkZUNVPK23cjs = require('./chunk-ZUNVPK23.cjs');var _chunkNI434OIIcjs = require('./chunk-NI434OII.cjs');require('./chunk-Q7I37FJV.cjs');var _colors = require('colors'); var _colors2 = _interopRequireDefault(_colors);var _child_process = require('child_process');var d='A repository name must be provided. You can specify using --repositoryName=$REPO_NAME or by ensuring the command "git config --get remote.origin.url" returns the name of the repository';async function A({auth:f,scanPath:r,ignoreDirs:u,repositoryName:h,transcendUrl:y}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit);let e=h;if(!e)try{let o=_child_process.execSync.call(void 0, `cd ${r} && git config --get remote.origin.url`).toString("utf-8").trim();[e]=o.includes("https:")?o.split("/").slice(3).join("/").split("."):(o.split(":").pop()||"").split("."),e||(_chunkZUNVPK23cjs.a.error(_colors2.default.red(d)),this.process.exit(1))}catch(a){_chunkZUNVPK23cjs.a.error(_colors2.default.red(`${d} - Got error: ${a.message}`)),this.process.exit(1)}let x=_chunk5PTFTN6Jcjs.wc.call(void 0, y,f),n=await _chunk2Q7ADV5Ycjs.b.call(void 0, {scanPath:r,ignoreDirs:u,repositoryName:e});await _chunk5PTFTN6Jcjs.Me.call(void 0, x,n);let s=new URL(_chunkNI434OIIcjs.o);s.pathname="/code-scanning/code-packages",_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Scan found ${n.length} packages at ${r}! View results at '${s.href}'`))}exports.scanPackages = A;
|
|
2
|
+
//# sourceMappingURL=impl-YIYW7STX.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-YIYW7STX.cjs","../src/commands/inventory/scan-packages/impl.ts"],"names":["REPO_ERROR","scanPackages","auth","scanPath","ignoreDirs","repositoryName","transcendUrl","doneInputValidation","gitRepositoryName","url","execSync","logger","colors","err"],"mappings":"AAAA,iOAAwC,gCAA6B,gCAA6B,wDAAyC,wDAAkD,gCAA6B,wDAAyC,wDAAyC,gCAA6B,gFCEtT,8CAOM,IAGnBA,CAAAA,CACJ,0LAAA,CAYF,MAAA,SAAsBC,CAAAA,CAEpB,CACE,IAAA,CAAAC,CAAAA,CACA,QAAA,CAAAC,CAAAA,CACA,UAAA,CAAAC,CAAAA,CACA,cAAA,CAAAC,CAAAA,CACA,YAAA,CAAAC,CACF,CAAA,CACe,CACfC,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAGrC,IAAIC,CAAAA,CAAoBH,CAAAA,CACxB,EAAA,CAAI,CAACG,CAAAA,CACH,GAAI,CAKF,IAAMC,CAAAA,CAJOC,qCAAAA,CACX,GAAA,EAAMP,CAAQ,CAAA,sCAAA,CAChB,CAAA,CAEiB,QAAA,CAAS,OAAO,CAAA,CAAE,IAAA,CAAK,CAAA,CACxC,CAACK,CAAiB,CAAA,CAAKC,CAAAA,CAAI,QAAA,CAAS,QAAQ,CAAA,CAExCA,CAAAA,CAAI,KAAA,CAAM,GAAG,CAAA,CAAE,KAAA,CAAM,CAAC,CAAA,CAAE,IAAA,CAAK,GAAG,CAAA,CAAE,KAAA,CAAM,GAAG,CAAA,CAAA,CAD1CA,CAAAA,CAAI,KAAA,CAAM,GAAG,CAAA,CAAE,GAAA,CAAI,CAAA,EAAK,EAAA,CAAA,CAAI,KAAA,CAAM,GAAG,CAAA,CAErCD,CAAAA,EAAAA,CACHG,mBAAAA,CAAO,KAAA,CAAMC,gBAAAA,CAAO,GAAA,CAAIZ,CAAU,CAAC,CAAA,CACnC,IAAA,CAAK,OAAA,CAAQ,IAAA,CAAK,CAAC,CAAA,CAEvB,CAAA,KAAA,CAASa,CAAAA,CAAK,CACZF,mBAAAA,CAAO,KAAA,CAAMC,gBAAAA,CAAO,GAAA,CAAI,CAAA,EAAA","file":"/home/runner/work/cli/cli/dist/impl-YIYW7STX.cjs","sourcesContent":[null,"import type { LocalContext } from '../../../context';\nimport { logger } from '../../../logger';\nimport colors from 'colors';\nimport { ADMIN_DASH } from '../../../constants';\nimport { findCodePackagesInFolder } from '../../../lib/code-scanning';\nimport {\n buildTranscendGraphQLClient,\n syncCodePackages,\n} from '../../../lib/graphql';\nimport { execSync } from 'child_process';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation';\n\nconst REPO_ERROR =\n 'A repository name must be provided. ' +\n 'You can specify using --repositoryName=$REPO_NAME or by ensuring the ' +\n 'command \"git config --get remote.origin.url\" returns the name of the repository';\n\nexport interface ScanPackagesCommandFlags {\n auth: string;\n scanPath: string;\n ignoreDirs?: string[];\n repositoryName?: string;\n transcendUrl: string;\n}\n\nexport async function scanPackages(\n this: LocalContext,\n {\n auth,\n scanPath,\n ignoreDirs,\n repositoryName,\n transcendUrl,\n }: ScanPackagesCommandFlags,\n): Promise<void> {\n doneInputValidation(this.process.exit);\n\n // Ensure repository name is specified\n let gitRepositoryName = repositoryName;\n if (!gitRepositoryName) {\n try {\n const name = execSync(\n `cd ${scanPath} && git config --get remote.origin.url`,\n );\n // Trim and parse the URL\n const url = name.toString('utf-8').trim();\n [gitRepositoryName] = !url.includes('https:')\n ? (url.split(':').pop() || '').split('.')\n : url.split('/').slice(3).join('/').split('.');\n if (!gitRepositoryName) {\n logger.error(colors.red(REPO_ERROR));\n this.process.exit(1);\n }\n } catch (err) {\n logger.error(colors.red(`${REPO_ERROR} - Got error: ${err.message}`));\n this.process.exit(1);\n }\n }\n\n // Create a GraphQL client\n const client = buildTranscendGraphQLClient(transcendUrl, auth);\n\n // Scan the codebase to discovery packages\n const results = await findCodePackagesInFolder({\n scanPath,\n ignoreDirs,\n repositoryName: gitRepositoryName,\n });\n\n // Report scan to Transcend\n await syncCodePackages(client, results);\n\n const newUrl = new URL(ADMIN_DASH);\n newUrl.pathname = '/code-scanning/code-packages';\n\n // Indicate success\n logger.info(\n colors.green(\n `Scan found ${results.length} packages at ${scanPath}! ` +\n `View results at '${newUrl.href}'`,\n ),\n );\n}\n"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
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 _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }require('./chunk-
|
|
2
|
-
//# sourceMappingURL=impl-
|
|
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 _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }require('./chunk-COKHIMLO.cjs');var _chunkLR3CPNDMcjs = require('./chunk-LR3CPNDM.cjs');var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');var _chunk5PTFTN6Jcjs = require('./chunk-5PTFTN6J.cjs');require('./chunk-LCDYXJN6.cjs');var _chunkZUNVPK23cjs = require('./chunk-ZUNVPK23.cjs');require('./chunk-NI434OII.cjs');require('./chunk-Q7I37FJV.cjs');var _iots = require('io-ts'); var c = _interopRequireWildcard(_iots);var _colors = require('colors'); var _colors2 = _interopRequireDefault(_colors);var _fs = require('fs');var _cliprogress = require('cli-progress'); var _cliprogress2 = _interopRequireDefault(_cliprogress);var _privacytypes = require('@transcend-io/privacy-types');async function W({auth:T,file:s,transcendUrl:k,duration:$,subjectType:A,emailColumnName:a,coreIdentifierColumnName:r}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit),_fs.existsSync.call(void 0, s)||(_chunkZUNVPK23cjs.a.error(_colors2.default.red(`File does not exist: "${s}". Please provide a valid path to a CSV file.`)),this.process.exit(1));try{let p=_chunk5PTFTN6Jcjs.wc.call(void 0, k,T),P=c.type({[a]:c.string,...r?{[r]:c.string}:{}}),n=_chunk5PTFTN6Jcjs.rc.call(void 0, s,P);if(!n.length)throw new Error("Input CSV is empty.");let d=n.map((t,e)=>[t,e]).filter(([t])=>!_optionalChain([t, 'access', _ => _[a], 'optionalAccess', _2 => _2.trim, 'call', _3 => _3()]));if(d.length){let t=d.map(([,e])=>e+2).join(", ");throw new Error(`The following rows are missing the required "${a}" column: ${t}`)}if(r){let t=n.map((e,o)=>[e,o]).filter(([e])=>!_optionalChain([e, 'access', _4 => _4[r], 'optionalAccess', _5 => _5.trim, 'call', _6 => _6()]));if(t.length){let e=t.map(([,o])=>o+2).join(", ");throw new Error(`The following rows are missing the required "${r}" column: ${e}`)}}let b=Math.max(1,Math.floor($/1e3)),l=n.map(t=>{let e=t[a].trim(),o=r?_optionalChain([t, 'access', _7 => _7[r], 'optionalAccess', _8 => _8.trim, 'call', _9 => _9()]):void 0,j=[_privacytypes.SombraStandardScope.PreferenceManagement];return{subjectType:A,scopes:j,expiresIn:b,email:e,...o?{coreIdentifier:o}:{}}}),g=new _cliprogress2.default.SingleBar({},_cliprogress2.default.Presets.shades_classic);g.start(l.length,0);let v=Date.now(),h=await _chunk5PTFTN6Jcjs.Jc.call(void 0, p,l,t=>{g.update(t)});g.update(l.length),g.stop();let E=h.map(({accessToken:t},e)=>({...n[e],token:t}));_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Writing access tokens to file "${s}"...`)),_chunkLR3CPNDMcjs.c.call(void 0, s,E,!0);let M=Math.round((Date.now()-v)/1e3);_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully generated ${h.length} access tokens to "${s}" in ${M}s!`))}catch(p){_chunkZUNVPK23cjs.a.error(_colors2.default.red(`An error occurred while generating access tokens: ${_optionalChain([p, 'optionalAccess', _10 => _10.message])||String(p)}`)),this.process.exit(1)}}exports.generateAccessTokens = W;
|
|
2
|
+
//# sourceMappingURL=impl-ZGACCLWF.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-ZGACCLWF.cjs","../src/commands/consent/generate-access-tokens/impl.ts"],"names":["generateAccessTokens","auth","file","transcendUrl","duration","subjectType","emailColumnName","coreIdentifierColumnName","doneInputValidation","existsSync","logger","colors","client","buildTranscendGraphQLClient","codec","rows","readCsv","missingEmail","r","i","rowNumbers"],"mappings":"AAAA,+9BAA4B,wDAAyC,wDAAyC,wDAA0D,gCAA6B,wDAAyC,gCAA6B,gCAA6B,qECCrR,gFACA,wBAGQ,qGACH,2DAQY,MA2BpC,SAAsBA,CAAAA,CAEpB,CACE,IAAA,CAAAC,CAAAA,CACA,IAAA,CAAAC,CAAAA,CACA,YAAA,CAAAC,CAAAA,CACA,QAAA,CAAAC,CAAAA,CACA,WAAA,CAAAC,CAAAA,CACA,eAAA,CAAAC,CAAAA,CACA,wBAAA,CAAAC,CACF,CAAA,CACe,CACfC,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAChCC,4BAAAA,CAAe,CAAA,EAAA,CAClBC,mBAAAA,CAAO,KAAA,CACLC,gBAAAA,CAAO,GAAA,CACL,CAAA,sBAAA,EAAyBT,CAAI,CAAA,6CAAA,CAC/B,CACF,CAAA,CACA,IAAA,CAAK,OAAA,CAAQ,IAAA,CAAK,CAAC,CAAA,CAAA,CAGrB,GAAI,CAEF,IAAMU,CAAAA,CAASC,kCAAAA,CAA4BV,CAAcF,CAAI,CAAA,CAGvDa,CAAAA,CAAU,CAAA,CAAA,IAAA,CAAK,CACnB,CAACR,CAAe,CAAA,CAAK,CAAA,CAAA,MAAA,CACrB,GAAIC,CAAAA,CACA,CAAE,CAACA,CAAwB,CAAA,CAAK,CAAA,CAAA,MAAO,CAAA,CACvC,CAAC,CACP,CAAC,CAAA,CACKQ,CAAAA,CAAsCC,kCAAAA,CAAQd,CAAMY,CAAK,CAAA,CAC/D,EAAA,CAAI,CAACC,CAAAA,CAAK,MAAA,CACR,MAAM,IAAI,KAAA,CAAM,qBAAqB,CAAA,CAIvC,IAAME,CAAAA,CAAeF,CAAAA,CAClB,GAAA,CAAI,CAACG,CAAAA,CAAGC,CAAAA,CAAAA,EAAM,CAACD,CAAAA,CAAGC,CAAC,CAAU,CAAA,CAC7B,MAAA,CAAO,CAAC,CAACD,CAAC,CAAA,CAAA,EAAM,iBAACA,CAAAA,mBAAEZ,CAAe,CAAA,6BAAG,IAAA,mBAAK,GAAC,CAAA,CAC9C,EAAA,CAAIW,CAAAA,CAAa,MAAA,CAAQ,CACvB,IAAMG,CAAAA,CAAaH,CAAAA,CAChB,GAAA,CAAI,CAAC,CAAC,CAAEE,CAAC,CAAA,CAAA,EAAMA,CAAAA,CAAI,CAAC,CAAA,CACpB,IAAA,CAAK,IAAI,CAAA,CACZ,MAAM,IAAI,KAAA,CACR,CAAA,6CAAA,EAAgDb,CAAe,CAAA,UAAA,EAAac,CAAU,CAAA,CAAA","file":"/home/runner/work/cli/cli/dist/impl-ZGACCLWF.cjs","sourcesContent":[null,"import type { LocalContext } from '../../../context';\nimport * as t from 'io-ts';\nimport colors from 'colors';\nimport { logger } from '../../../logger';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation';\nimport { existsSync } from 'node:fs';\nimport cliProgress from 'cli-progress';\nimport {\n buildTranscendGraphQLClient,\n createPreferenceAccessTokens,\n PreferenceAccessTokenInput,\n} from '../../../lib/graphql';\nimport { writeCsv } from '../../../lib/cron';\nimport { readCsv } from '../../../lib/requests';\nimport { SombraStandardScope } from '@transcend-io/privacy-types';\n\n/**\n * CLI flags accepted by the `generate-access-tokens` command.\n *\n * These are passed down from the CLI parser into the parent process.\n */\nexport type GenerateAccessTokenCommandFlags = {\n auth: string;\n file: string;\n duration: number;\n transcendUrl: string;\n subjectType: string;\n emailColumnName: string;\n coreIdentifierColumnName?: string;\n};\n\n/**\n * Take in a CSV of user identifiers and generate access tokens for each user.\n *\n * Expected CSV columns:\n * - [emailColumnName] (required)\n * - [coreIdentifierColumnName] (optional)\n *\n * @param this - Bound CLI context (provides process exit + logging).\n * @param flags - CLI options for the run.\n */\nexport async function generateAccessTokens(\n this: LocalContext,\n {\n auth,\n file,\n transcendUrl,\n duration,\n subjectType,\n emailColumnName,\n coreIdentifierColumnName,\n }: GenerateAccessTokenCommandFlags,\n): Promise<void> {\n doneInputValidation(this.process.exit);\n if (!existsSync(file)) {\n logger.error(\n colors.red(\n `File does not exist: \"${file}\". Please provide a valid path to a CSV file.`,\n ),\n );\n this.process.exit(1);\n }\n\n try {\n // Create a GraphQL client\n const client = buildTranscendGraphQLClient(transcendUrl, auth);\n\n // Read + parse CSV\n const codec = t.type({\n [emailColumnName]: t.string,\n ...(coreIdentifierColumnName\n ? { [coreIdentifierColumnName]: t.string }\n : {}),\n });\n const rows: Array<Record<string, string>> = readCsv(file, codec);\n if (!rows.length) {\n throw new Error('Input CSV is empty.');\n }\n\n // Ensure emails and core identifiers exist\n const missingEmail = rows\n .map((r, i) => [r, i] as const)\n .filter(([r]) => !r[emailColumnName]?.trim());\n if (missingEmail.length) {\n const rowNumbers = missingEmail\n .map(([, i]) => i + 2) // +2 to account for header row and 0-indexing\n .join(', ');\n throw new Error(\n `The following rows are missing the required \"${emailColumnName}\" column: ${rowNumbers}`,\n );\n }\n if (coreIdentifierColumnName) {\n const missingCoreId = rows\n .map((r, i) => [r, i] as const)\n .filter(([r]) => !r[coreIdentifierColumnName]?.trim());\n if (missingCoreId.length) {\n const rowNumbers = missingCoreId\n .map(([, i]) => i + 2) // +2 to account for header row and 0-indexing\n .join(', ');\n throw new Error(\n `The following rows are missing the required \"${coreIdentifierColumnName}\" column: ${rowNumbers}`,\n );\n }\n }\n\n // Duration provided by CLI is in ms; GraphQL expects seconds\n const expiresInSeconds = Math.max(1, Math.floor(duration / 1000));\n\n // Build inputs for GraphQL\n const inputs = rows.map((r): PreferenceAccessTokenInput => {\n const email = r[emailColumnName].trim();\n const coreIdentifier = coreIdentifierColumnName\n ? r[coreIdentifierColumnName]?.trim()\n : undefined;\n const scopes = [SombraStandardScope.PreferenceManagement];\n return {\n subjectType,\n scopes,\n expiresIn: expiresInSeconds,\n email,\n ...(coreIdentifier ? { coreIdentifier } : {}),\n };\n });\n\n // Progress bar\n const progressBar = new cliProgress.SingleBar(\n {},\n cliProgress.Presets.shades_classic,\n );\n progressBar.start(inputs.length, 0);\n\n // Kick off token creation (batched internally)\n const t0 = Date.now();\n const results = await createPreferenceAccessTokens(\n client,\n inputs,\n (progress) => {\n progressBar.update(progress);\n },\n );\n progressBar.update(inputs.length);\n progressBar.stop();\n\n // Prepare output CSV rows\n const outputRows = results.map(({ accessToken }, ind) => ({\n ...rows[ind],\n token: accessToken,\n }));\n\n logger.info(colors.magenta(`Writing access tokens to file \"${file}\"...`));\n writeCsv(file, outputRows, true);\n\n const totalTimeSec = Math.round((Date.now() - t0) / 1000);\n logger.info(\n colors.green(\n `Successfully generated ${results.length} access tokens to \"${file}\" in ${totalTimeSec}s!`,\n ),\n );\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n } catch (err: any) {\n logger.error(\n colors.red(\n `An error occurred while generating access tokens: ${\n err?.message || String(err)\n }`,\n ),\n );\n this.process.exit(1);\n }\n}\n"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var
|
|
2
|
-
//# sourceMappingURL=impl-
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var _chunkKYVDLURLcjs = require('./chunk-KYVDLURL.cjs');require('./chunk-COKHIMLO.cjs');var _chunkLR3CPNDMcjs = require('./chunk-LR3CPNDM.cjs');var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');var _chunk5PTFTN6Jcjs = require('./chunk-5PTFTN6J.cjs');require('./chunk-LCDYXJN6.cjs');var _chunkZUNVPK23cjs = require('./chunk-ZUNVPK23.cjs');var _chunkNI434OIIcjs = require('./chunk-NI434OII.cjs');require('./chunk-Q7I37FJV.cjs');var _colors = require('colors'); var _colors2 = _interopRequireDefault(_colors);async function v({auth:y,file:a,transcendUrl:C,dataSiloIds:f,includeAttributes:D,includeGuessedCategories:P,parentCategories:b,subCategories:h=[]}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit);try{let o=_chunk5PTFTN6Jcjs.wc.call(void 0, C,y),$=await _chunkKYVDLURLcjs.a.call(void 0, o,{dataSiloIds:f,includeGuessedCategories:P,parentCategories:b,includeAttributes:D,subCategories:h});_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Writing datapoints to file "${a}"...`));let s=[],j=$.map(t=>{let n={"Property ID":t.id,"Data Silo":t.dataSilo.title,Object:t.dataPoint.name,"Object Path":t.dataPoint.path.join("."),Property:t.name,"Property Description":t.description,"Data Categories":t.categories.map(e=>`${e.category}:${e.name}`).join(", "),"Guessed Category":_optionalChain([t, 'access', _ => _.pendingCategoryGuesses, 'optionalAccess', _2 => _2[0]])?`${t.pendingCategoryGuesses[0].category.category}:${t.pendingCategoryGuesses[0].category.name}`:"","Processing Purposes":t.purposes.map(e=>`${e.purpose}:${e.name}`).join(", "),...Object.entries(_chunkNI434OIIcjs.d.call(void 0, t.attributeValues||[],({attributeKey:e})=>e.name)).reduce((e,[x,A])=>(e[x]=A.map(G=>G.name).join(","),e),{})};return s=_chunkNI434OIIcjs.j.call(void 0, [...s,...Object.keys(n)]),n});_chunkLR3CPNDMcjs.c.call(void 0, a,j,s)}catch(o){_chunkZUNVPK23cjs.a.error(_colors2.default.red(`An error occurred syncing the datapoints: ${o.message}`)),this.process.exit(1)}_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully synced datapoints to disk at ${a}! View at ${_chunkNI434OIIcjs.q}`))}exports.pullDatapoints = v;
|
|
2
|
+
//# sourceMappingURL=impl-ZV4VREIU.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-ZV4VREIU.cjs","../src/commands/inventory/pull-datapoints/impl.ts"],"names":["pullDatapoints","auth","file","transcendUrl","dataSiloIds","includeAttributes","includeGuessedCategories","parentCategories","subCategories","doneInputValidation","client","buildTranscendGraphQLClient","dataPoints","pullAllDatapoints","logger","colors","headers","inputs","point","result","category"],"mappings":"AAAA,quBAAwC,gCAA6B,wDAAyC,wDAAyC,wDAA0C,gCAA6B,wDAAyC,wDAAuD,gCAA6B,gFCIxU,MAmBnB,SAAsBA,CAAAA,CAEpB,CACE,IAAA,CAAAC,CAAAA,CACA,IAAA,CAAAC,CAAAA,CACA,YAAA,CAAAC,CAAAA,CACA,WAAA,CAAAC,CAAAA,CACA,iBAAA,CAAAC,CAAAA,CACA,wBAAA,CAAAC,CAAAA,CACA,gBAAA,CAAAC,CAAAA,CACA,aAAA,CAAAC,CAAAA,CAAgB,CAAC,CACnB,CAAA,CACe,CACfC,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAErC,GAAI,CAEF,IAAMC,CAAAA,CAASC,kCAAAA,CAA4BR,CAAcF,CAAI,CAAA,CAEvDW,CAAAA,CAAa,MAAMC,iCAAAA,CAAkBH,CAAQ,CACjD,WAAA,CAAAN,CAAAA,CACA,wBAAA,CAAAE,CAAAA,CACA,gBAAA,CAAAC,CAAAA,CACA,iBAAA,CAAAF,CAAAA,CACA,aAAA,CAAAG,CACF,CAAC,CAAA,CAEDM,mBAAAA,CAAO,IAAA,CAAKC,gBAAAA,CAAO,OAAA,CAAQ,CAAA,4BAAA,EAA+Bb,CAAI,CAAA,IAAA,CAAM,CAAC,CAAA,CACrE,IAAIc,CAAAA,CAAoB,CAAC,CAAA,CACnBC,CAAAA,CAASL,CAAAA,CAAW,GAAA,CAAKM,CAAAA,EAAU,CACvC,IAAMC,CAAAA,CAAS,CACb,aAAA,CAAeD,CAAAA,CAAM,EAAA,CACrB,WAAA,CAAaA,CAAAA,CAAM,QAAA,CAAS,KAAA,CAC5B,MAAA,CAAQA,CAAAA,CAAM,SAAA,CAAU,IAAA,CACxB,aAAA,CAAeA,CAAAA,CAAM,SAAA,CAAU,IAAA,CAAK,IAAA,CAAK,GAAG,CAAA,CAC5C,QAAA,CAAUA,CAAAA,CAAM,IAAA,CAChB,sBAAA,CAAwBA,CAAAA,CAAM,WAAA,CAC9B,iBAAA,CAAmBA,CAAAA,CAAM,UAAA,CACtB,GAAA,CAAKE,CAAAA,EAAa,CAAA,EAAA","file":"/home/runner/work/cli/cli/dist/impl-ZV4VREIU.cjs","sourcesContent":[null,"import type { LocalContext } from '../../../context';\nimport { uniq, groupBy } from 'lodash-es';\n\nimport { logger } from '../../../logger';\nimport colors from 'colors';\nimport { buildTranscendGraphQLClient } from '../../../lib/graphql';\nimport { ADMIN_DASH_DATAPOINTS } from '../../../constants';\nimport { pullAllDatapoints } from '../../../lib/data-inventory';\nimport { writeCsv } from '../../../lib/cron';\nimport { DataCategoryType } from '@transcend-io/privacy-types';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation';\n\nexport interface PullDatapointsCommandFlags {\n auth: string;\n file: string;\n transcendUrl: string;\n dataSiloIds?: string[];\n includeAttributes: boolean;\n includeGuessedCategories: boolean;\n parentCategories?: DataCategoryType[];\n subCategories?: string[];\n}\n\nexport async function pullDatapoints(\n this: LocalContext,\n {\n auth,\n file,\n transcendUrl,\n dataSiloIds,\n includeAttributes,\n includeGuessedCategories,\n parentCategories,\n subCategories = [],\n }: PullDatapointsCommandFlags,\n): Promise<void> {\n doneInputValidation(this.process.exit);\n\n try {\n // Create a GraphQL client\n const client = buildTranscendGraphQLClient(transcendUrl, auth);\n\n const dataPoints = await pullAllDatapoints(client, {\n dataSiloIds,\n includeGuessedCategories,\n parentCategories,\n includeAttributes,\n subCategories, // TODO: https://transcend.height.app/T-40482 - do by name not ID\n });\n\n logger.info(colors.magenta(`Writing datapoints to file \"${file}\"...`));\n let headers: string[] = [];\n const inputs = dataPoints.map((point) => {\n const result = {\n 'Property ID': point.id,\n 'Data Silo': point.dataSilo.title,\n Object: point.dataPoint.name,\n 'Object Path': point.dataPoint.path.join('.'),\n Property: point.name,\n 'Property Description': point.description,\n 'Data Categories': point.categories\n .map((category) => `${category.category}:${category.name}`)\n .join(', '),\n 'Guessed Category': point.pendingCategoryGuesses?.[0]\n ? `${point.pendingCategoryGuesses![0]!.category.category}:${\n point.pendingCategoryGuesses![0]!.category.name\n }`\n : '',\n 'Processing Purposes': point.purposes\n .map((purpose) => `${purpose.purpose}:${purpose.name}`)\n .join(', '),\n ...Object.entries(\n groupBy(\n point.attributeValues || [],\n ({ attributeKey }) => attributeKey.name,\n ),\n ).reduce((acc, [key, values]) => {\n acc[key] = values.map((value) => value.name).join(',');\n return acc;\n }, {} as Record<string, string>),\n };\n headers = uniq([...headers, ...Object.keys(result)]);\n return result;\n });\n writeCsv(file, inputs, headers);\n } catch (err) {\n logger.error(\n colors.red(`An error occurred syncing the datapoints: ${err.message}`),\n );\n this.process.exit(1);\n }\n\n // Indicate success\n logger.info(\n colors.green(\n `Successfully synced datapoints to disk at ${file}! View at ${ADMIN_DASH_DATAPOINTS}`,\n ),\n );\n}\n"]}
|
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } var _class;var _chunkTRQBFWZPcjs = require('./chunk-TRQBFWZP.cjs');var _chunkNNHHVBQPcjs = require('./chunk-NNHHVBQP.cjs');var _chunkIBTP5OXEcjs = require('./chunk-IBTP5OXE.cjs');var _chunkRE5YALEOcjs = require('./chunk-RE5YALEO.cjs');var _chunkNA6JTKNJcjs = require('./chunk-NA6JTKNJ.cjs');var _chunkLR3CPNDMcjs = require('./chunk-LR3CPNDM.cjs');var _chunkAOO3U7W3cjs = require('./chunk-AOO3U7W3.cjs');var _chunkZUT7UIQUcjs = require('./chunk-ZUT7UIQU.cjs');var _chunkO3EACWMCcjs = require('./chunk-O3EACWMC.cjs');var _chunk5UBGZNDCcjs = require('./chunk-5UBGZNDC.cjs');var _chunkKKAJPI6Ocjs = require('./chunk-KKAJPI6O.cjs');var _chunkLCDYXJN6cjs = require('./chunk-LCDYXJN6.cjs');require('./chunk-ZUNVPK23.cjs');var _chunkVY55L6P5cjs = require('./chunk-VY55L6P5.cjs');var _chunkQ7I37FJVcjs = require('./chunk-Q7I37FJV.cjs');var _typeutils = require('@transcend-io/type-utils');var _handlebarsutils = require('@transcend-io/handlebars-utils');var _privacytypes = require('@transcend-io/privacy-types');var T=20;async function D(a){let e=[],r=0,t=!1;do{let{largeLanguageModels:{nodes:s}}=await _chunkKKAJPI6Ocjs.dg.call(void 0, a,_chunkKKAJPI6Ocjs.Gb,{first:T,offset:r});e.push(...s),r+=T,t=s.length===T}while(t);return e.sort((s,o)=>s.name.localeCompare(o.name))}var _bluebird = require('bluebird');function j(a){return new RegExp(`<${a}>([\\s\\S]+?)<\\/${a}>`)}function qm(a){return a}var H=a=>{try{return JSON.parse(a)}catch (e2){return a}},B= exports.TranscendPromptManager = (_class =class{__init() {this.largeLanguageModels=[]}__init2() {this.agentsByName={}}__init3() {this.agentsByAgentId={}}constructor({prompts:e,handlebarsOptions:r={},transcendUrl:t=_chunkVY55L6P5cjs.r,transcendApiKey:s,requireApproval:o=!0,cacheDuration:i,defaultVariables:p={}}){;_class.prototype.__init.call(this);_class.prototype.__init2.call(this);_class.prototype.__init3.call(this);this.prompts=e,this.transcendUrl=t,this.transcendApiKey=s,this.variables=p,this.defaultVariables=p,this.graphQLClient=_chunkKKAJPI6Ocjs.wc.call(void 0, t,typeof s=="object"?s.release():s),this.requireApproval=o,this.cacheDuration=i,this.handlebarsOptions=r,this.handlebars=_handlebarsutils.createHandlebarsWithHelpers.call(void 0, r)}async fetchPromptsAndMetadata(){let e=_typeutils.getValues.call(void 0, this.prompts),r=e.map(({id:n})=>n).filter(n=>!!n),t=e.map(({title:n})=>n).filter(n=>!!n),s=_chunkVY55L6P5cjs.j.call(void 0, e.map(({agentNames:n})=>n||[]).flat()),[o,i,p]=await Promise.all([_chunkKKAJPI6Ocjs.Cd.call(void 0, this.graphQLClient,{promptIds:r,promptTitles:t}),D(this.graphQLClient),_chunkKKAJPI6Ocjs.Gc.call(void 0, this.graphQLClient,{names:s})]);this.agentsByName=_chunkVY55L6P5cjs.e.call(void 0, p,"name"),this.agentsByAgentId=_chunkVY55L6P5cjs.e.call(void 0, p,"agentId"),this.largeLanguageModels=i.filter(n=>n.isTranscendHosted===!1);let m=_chunkVY55L6P5cjs.e.call(void 0, o.prompts,"title"),c=_chunkVY55L6P5cjs.e.call(void 0, o.prompts,"id");return this.variables={...o.calculatedVariables.reduce((n,g)=>Object.assign(n,{[g.name]:g.data?JSON.parse(g.data):g.data}),{}),...this.defaultVariables},this.handlebars=_handlebarsutils.createHandlebarsWithHelpers.call(void 0, {...this.handlebarsOptions,templates:[...this.handlebarsOptions.templates||[],...o.promptPartials.map(n=>({name:n.slug,content:n.content}))]}),this.promptContentMap=_typeutils.apply.call(void 0, this.prompts,({id:n,title:g})=>{let d=n?c[n]:g?m[g]:void 0;if(!d)throw new Error(`Failed to find prompt with title: "${g}" and id: "${n}"`);return d}),this.lastUpdatedAt=new Date,o}async getAgentByName(e){let r=this.agentsByName[e];if(r)return r;let[t]=await _chunkKKAJPI6Ocjs.Gc.call(void 0, this.graphQLClient,{names:[e]});if(t)return this.agentsByName[t.name]=t,this.agentsByAgentId[t.agentId]=t,t}async getPromptThreadBySlackTs(e){let[r]=await _chunkKKAJPI6Ocjs.Dd.call(void 0, this.graphQLClient,{slackMessageTs:[e]});return r}async getAgentsByName(e){if(e.length<1)throw new Error("Expected at least one name to be provided");let{hasCache:r=[],missingCache:t=[]}=_chunkVY55L6P5cjs.d.call(void 0, e,p=>this.agentsByName[p]?"hasCache":"missingCache"),s=r.map(p=>this.agentsByName[p]);if(t.length===0)return s;let o=_chunkVY55L6P5cjs.b.call(void 0, t,50),i=[];return await _bluebird.mapSeries.call(void 0, o,async p=>{let m=await _chunkKKAJPI6Ocjs.Gc.call(void 0, this.graphQLClient,{names:p});m.forEach(c=>{this.agentsByName[c.name]=c,this.agentsByAgentId[c.agentId]=c}),i.push(...m)}),[...s,...i]}getAgentFiles(e){return _chunkKKAJPI6Ocjs.Ec.call(void 0, this.graphQLClient,e)}getLargeLanguageModel(e){let r=this.largeLanguageModels.find(t=>typeof e=="string"?t.id===e:t.name===e.name&&t.client===e.client);if(!r)throw new Error(`Failed to find model matching: ${typeof e=="string"?e:JSON.stringify(e)}`);return r}async getPromptDefinition(e){(!this.lastUpdatedAt||this.cacheDuration===0||this.cacheDuration&&Date.now()-this.lastUpdatedAt.getTime()>this.cacheDuration)&&await this.fetchPromptsAndMetadata();let{promptContentMap:r}=this;if(!r)throw new Error("Expected this.promptContentMap to be defined");let t=r[e];if(!t)throw new Error(`Expected this.promptContentMap[${e}] to be defined`);return t}async compilePrompt(e,r){let t=await this.getPromptDefinition(e),s=this.prompts[e];if(!s)throw new Error(`Expected this.prompts[${e}] to be defined`);if(this.requireApproval&&t.status!==_privacytypes.PromptStatus.Approved)throw new Error(`Assessment "${t.title}" cannot be used because its in status: "${t.status}"`);if(t.status===_privacytypes.PromptStatus.Rejected)throw new Error(`Assessment "${t.title}" cannot be used because it's in status: "${t.status}"`);return _typeutils.decodeCodec.call(void 0, s.paramCodec,r),this.handlebars.compile(t.content)({currentDate:new Date().toISOString(),...this.variables,...r})}parseAiResponse(e,r){let t=this.prompts[e];if(!t)throw new Error(`Expected this.prompts[${e}] to be defined`);let s=t.extractFromTag&&(j(t.extractFromTag).exec(r)||[])[1]||r;return _typeutils.decodeCodec.call(void 0, t.outputCodec,H(s),!1)}async reportAndParsePromptRun(e,{largeLanguageModel:r,...t}){(!this.lastUpdatedAt||this.cacheDuration===0||this.cacheDuration&&Date.now()-this.lastUpdatedAt.getTime()>this.cacheDuration)&&await this.fetchPromptsAndMetadata();let s=t.name||`@transcend-io/cli-prompt-run-${new Date().toISOString()}`;if(!this.promptContentMap)throw new Error("Expected this.promptContentMap to be defined");let o=this.promptContentMap[e];if(!o)throw new Error(`Expected this.prompts[${e}] to be defined`);if(t.promptRunMessages.length===0)throw new Error("promptRunMessages is expected to have length > 0");if(t.promptRunMessages[0].role!==_privacytypes.ChatCompletionRole.System)throw new Error(`promptRunMessages[0].role is expected to be = ${_privacytypes.ChatCompletionRole.System}`);if(t.promptRunMessages[t.promptRunMessages.length-1].role!==_privacytypes.ChatCompletionRole.Assistant)throw new Error(`promptRunMessages[${t.promptRunMessages.length-1}].role is expected to be = ${_privacytypes.ChatCompletionRole.Assistant}`);let i=t.promptRunMessages[t.promptRunMessages.length-1].content,p;try{p=this.parseAiResponse(e,i)}catch(c){throw await _chunkKKAJPI6Ocjs.he.call(void 0, this.graphQLClient,{productArea:_privacytypes.PromptRunProductArea.PromptManager,...t,name:s,error:c.message,status:_privacytypes.QueueStatus.Error,...typeof r=="string"?{largeLanguageModelId:r}:{largeLanguageModelName:r.name,largeLanguageModelClient:r.client},promptId:o.id,promptRunMessages:t.promptRunMessages.map((n,g)=>({...n,...g===0?{template:o.content}:{}}))}),c}let m=await _chunkKKAJPI6Ocjs.he.call(void 0, this.graphQLClient,{productArea:_privacytypes.PromptRunProductArea.PromptManager,...t,name:s,status:_privacytypes.QueueStatus.Resolved,...typeof r=="string"?{largeLanguageModelId:r}:{largeLanguageModelName:r.name,largeLanguageModelClient:r.client},promptId:o.id,promptRunMessages:t.promptRunMessages.map((c,n)=>({...c,...n===0?{template:o.content}:{}}))});return{result:p,promptRunId:m,promptRunUrl:`https://app.transcend.io/prompts/runs/${m}`}}async reportPromptRunError(e,{largeLanguageModel:r,...t}){(!this.lastUpdatedAt||this.cacheDuration===0||this.cacheDuration&&Date.now()-this.lastUpdatedAt.getTime()>this.cacheDuration)&&await this.fetchPromptsAndMetadata();let s=t.name||`@transcend-io/cli-prompt-run-${new Date().toISOString()}`;if(!this.promptContentMap)throw new Error("Expected this.promptContentMap to be defined");let o=this.promptContentMap[e];if(!o)throw new Error(`Expected this.prompts[${e}] to be defined`);if(t.promptRunMessages.length===0)throw new Error("promptRunMessages is expected to have length > 0");if(t.promptRunMessages[0].role!==_privacytypes.ChatCompletionRole.System)throw new Error(`promptRunMessages[0].role is expected to be = ${_privacytypes.ChatCompletionRole.System}`);let i=await _chunkKKAJPI6Ocjs.he.call(void 0, this.graphQLClient,{productArea:_privacytypes.PromptRunProductArea.PromptManager,...t,name:s,status:_privacytypes.QueueStatus.Error,...typeof r=="string"?{largeLanguageModelId:r}:{largeLanguageModelName:r.name,largeLanguageModelClient:r.client},promptId:o.id,promptRunMessages:t.promptRunMessages.map((p,m)=>({...p,...m===0?{template:o.content}:{}}))});return{promptRunId:i,promptRunUrl:`https://app.transcend.io/prompts/runs/${i}`}}}, _class);function _m(a){let e=/(https?:\/\/[^\s]+)/g;return a.replace(e,"<link-omitted>")}function Jm(a){return Object.entries(a).reduce((e,[r,t])=>t!=null&&t!==""&&!(Array.isArray(t)&&t.length===0)&&!(typeof t=="object"&&Object.keys(t).length===0)?Object.assign(e,{[r]:t}):e,{})}var _fastglob = require('fast-glob'); var _fastglob2 = _interopRequireDefault(_fastglob);var _child_process = require('child_process');function Ym({baseBranch:a,rootDirectory:e,githubRepo:r,excludedGlob:t=[],fileBlockList:s=[]}){_child_process.execSync.call(void 0, `git fetch origin ${a}`);let o=_child_process.execSync.call(void 0, `git ls-remote ${r} "refs/heads/${a}" | cut -f 1`,{encoding:"utf-8"}).split(`
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } var _class;var _chunkGG7P2RO6cjs = require('./chunk-GG7P2RO6.cjs');var _chunkKYVDLURLcjs = require('./chunk-KYVDLURL.cjs');var _chunkIBTP5OXEcjs = require('./chunk-IBTP5OXE.cjs');var _chunkRE5YALEOcjs = require('./chunk-RE5YALEO.cjs');var _chunkCOKHIMLOcjs = require('./chunk-COKHIMLO.cjs');var _chunkLR3CPNDMcjs = require('./chunk-LR3CPNDM.cjs');var _chunk7ZGJ4MJFcjs = require('./chunk-7ZGJ4MJF.cjs');var _chunkF3BRFYKDcjs = require('./chunk-F3BRFYKD.cjs');var _chunkMOWFESXNcjs = require('./chunk-MOWFESXN.cjs');var _chunk5UBGZNDCcjs = require('./chunk-5UBGZNDC.cjs');var _chunk5PTFTN6Jcjs = require('./chunk-5PTFTN6J.cjs');var _chunkLCDYXJN6cjs = require('./chunk-LCDYXJN6.cjs');require('./chunk-ZUNVPK23.cjs');var _chunkNI434OIIcjs = require('./chunk-NI434OII.cjs');var _chunkQ7I37FJVcjs = require('./chunk-Q7I37FJV.cjs');var _typeutils = require('@transcend-io/type-utils');var _handlebarsutils = require('@transcend-io/handlebars-utils');var _privacytypes = require('@transcend-io/privacy-types');var T=20;async function D(a){let e=[],r=0,t=!1;do{let{largeLanguageModels:{nodes:s}}=await _chunk5PTFTN6Jcjs.kg.call(void 0, a,_chunk5PTFTN6Jcjs.Gb,{first:T,offset:r});e.push(...s),r+=T,t=s.length===T}while(t);return e.sort((s,o)=>s.name.localeCompare(o.name))}var _bluebird = require('bluebird');function j(a){return new RegExp(`<${a}>([\\s\\S]+?)<\\/${a}>`)}function Wm(a){return a}var H=a=>{try{return JSON.parse(a)}catch (e2){return a}},B= exports.TranscendPromptManager = (_class =class{__init() {this.largeLanguageModels=[]}__init2() {this.agentsByName={}}__init3() {this.agentsByAgentId={}}constructor({prompts:e,handlebarsOptions:r={},transcendUrl:t=_chunkNI434OIIcjs.r,transcendApiKey:s,requireApproval:o=!0,cacheDuration:i,defaultVariables:p={}}){;_class.prototype.__init.call(this);_class.prototype.__init2.call(this);_class.prototype.__init3.call(this);this.prompts=e,this.transcendUrl=t,this.transcendApiKey=s,this.variables=p,this.defaultVariables=p,this.graphQLClient=_chunk5PTFTN6Jcjs.wc.call(void 0, t,typeof s=="object"?s.release():s),this.requireApproval=o,this.cacheDuration=i,this.handlebarsOptions=r,this.handlebars=_handlebarsutils.createHandlebarsWithHelpers.call(void 0, r)}async fetchPromptsAndMetadata(){let e=_typeutils.getValues.call(void 0, this.prompts),r=e.map(({id:n})=>n).filter(n=>!!n),t=e.map(({title:n})=>n).filter(n=>!!n),s=_chunkNI434OIIcjs.j.call(void 0, e.map(({agentNames:n})=>n||[]).flat()),[o,i,p]=await Promise.all([_chunk5PTFTN6Jcjs.Cd.call(void 0, this.graphQLClient,{promptIds:r,promptTitles:t}),D(this.graphQLClient),_chunk5PTFTN6Jcjs.Gc.call(void 0, this.graphQLClient,{names:s})]);this.agentsByName=_chunkNI434OIIcjs.e.call(void 0, p,"name"),this.agentsByAgentId=_chunkNI434OIIcjs.e.call(void 0, p,"agentId"),this.largeLanguageModels=i.filter(n=>n.isTranscendHosted===!1);let m=_chunkNI434OIIcjs.e.call(void 0, o.prompts,"title"),c=_chunkNI434OIIcjs.e.call(void 0, o.prompts,"id");return this.variables={...o.calculatedVariables.reduce((n,g)=>Object.assign(n,{[g.name]:g.data?JSON.parse(g.data):g.data}),{}),...this.defaultVariables},this.handlebars=_handlebarsutils.createHandlebarsWithHelpers.call(void 0, {...this.handlebarsOptions,templates:[...this.handlebarsOptions.templates||[],...o.promptPartials.map(n=>({name:n.slug,content:n.content}))]}),this.promptContentMap=_typeutils.apply.call(void 0, this.prompts,({id:n,title:g})=>{let d=n?c[n]:g?m[g]:void 0;if(!d)throw new Error(`Failed to find prompt with title: "${g}" and id: "${n}"`);return d}),this.lastUpdatedAt=new Date,o}async getAgentByName(e){let r=this.agentsByName[e];if(r)return r;let[t]=await _chunk5PTFTN6Jcjs.Gc.call(void 0, this.graphQLClient,{names:[e]});if(t)return this.agentsByName[t.name]=t,this.agentsByAgentId[t.agentId]=t,t}async getPromptThreadBySlackTs(e){let[r]=await _chunk5PTFTN6Jcjs.Dd.call(void 0, this.graphQLClient,{slackMessageTs:[e]});return r}async getAgentsByName(e){if(e.length<1)throw new Error("Expected at least one name to be provided");let{hasCache:r=[],missingCache:t=[]}=_chunkNI434OIIcjs.d.call(void 0, e,p=>this.agentsByName[p]?"hasCache":"missingCache"),s=r.map(p=>this.agentsByName[p]);if(t.length===0)return s;let o=_chunkNI434OIIcjs.b.call(void 0, t,50),i=[];return await _bluebird.mapSeries.call(void 0, o,async p=>{let m=await _chunk5PTFTN6Jcjs.Gc.call(void 0, this.graphQLClient,{names:p});m.forEach(c=>{this.agentsByName[c.name]=c,this.agentsByAgentId[c.agentId]=c}),i.push(...m)}),[...s,...i]}getAgentFiles(e){return _chunk5PTFTN6Jcjs.Ec.call(void 0, this.graphQLClient,e)}getLargeLanguageModel(e){let r=this.largeLanguageModels.find(t=>typeof e=="string"?t.id===e:t.name===e.name&&t.client===e.client);if(!r)throw new Error(`Failed to find model matching: ${typeof e=="string"?e:JSON.stringify(e)}`);return r}async getPromptDefinition(e){(!this.lastUpdatedAt||this.cacheDuration===0||this.cacheDuration&&Date.now()-this.lastUpdatedAt.getTime()>this.cacheDuration)&&await this.fetchPromptsAndMetadata();let{promptContentMap:r}=this;if(!r)throw new Error("Expected this.promptContentMap to be defined");let t=r[e];if(!t)throw new Error(`Expected this.promptContentMap[${e}] to be defined`);return t}async compilePrompt(e,r){let t=await this.getPromptDefinition(e),s=this.prompts[e];if(!s)throw new Error(`Expected this.prompts[${e}] to be defined`);if(this.requireApproval&&t.status!==_privacytypes.PromptStatus.Approved)throw new Error(`Assessment "${t.title}" cannot be used because its in status: "${t.status}"`);if(t.status===_privacytypes.PromptStatus.Rejected)throw new Error(`Assessment "${t.title}" cannot be used because it's in status: "${t.status}"`);return _typeutils.decodeCodec.call(void 0, s.paramCodec,r),this.handlebars.compile(t.content)({currentDate:new Date().toISOString(),...this.variables,...r})}parseAiResponse(e,r){let t=this.prompts[e];if(!t)throw new Error(`Expected this.prompts[${e}] to be defined`);let s=t.extractFromTag&&(j(t.extractFromTag).exec(r)||[])[1]||r;return _typeutils.decodeCodec.call(void 0, t.outputCodec,H(s),!1)}async reportAndParsePromptRun(e,{largeLanguageModel:r,...t}){(!this.lastUpdatedAt||this.cacheDuration===0||this.cacheDuration&&Date.now()-this.lastUpdatedAt.getTime()>this.cacheDuration)&&await this.fetchPromptsAndMetadata();let s=t.name||`@transcend-io/cli-prompt-run-${new Date().toISOString()}`;if(!this.promptContentMap)throw new Error("Expected this.promptContentMap to be defined");let o=this.promptContentMap[e];if(!o)throw new Error(`Expected this.prompts[${e}] to be defined`);if(t.promptRunMessages.length===0)throw new Error("promptRunMessages is expected to have length > 0");if(t.promptRunMessages[0].role!==_privacytypes.ChatCompletionRole.System)throw new Error(`promptRunMessages[0].role is expected to be = ${_privacytypes.ChatCompletionRole.System}`);if(t.promptRunMessages[t.promptRunMessages.length-1].role!==_privacytypes.ChatCompletionRole.Assistant)throw new Error(`promptRunMessages[${t.promptRunMessages.length-1}].role is expected to be = ${_privacytypes.ChatCompletionRole.Assistant}`);let i=t.promptRunMessages[t.promptRunMessages.length-1].content,p;try{p=this.parseAiResponse(e,i)}catch(c){throw await _chunk5PTFTN6Jcjs.he.call(void 0, this.graphQLClient,{productArea:_privacytypes.PromptRunProductArea.PromptManager,...t,name:s,error:c.message,status:_privacytypes.QueueStatus.Error,...typeof r=="string"?{largeLanguageModelId:r}:{largeLanguageModelName:r.name,largeLanguageModelClient:r.client},promptId:o.id,promptRunMessages:t.promptRunMessages.map((n,g)=>({...n,...g===0?{template:o.content}:{}}))}),c}let m=await _chunk5PTFTN6Jcjs.he.call(void 0, this.graphQLClient,{productArea:_privacytypes.PromptRunProductArea.PromptManager,...t,name:s,status:_privacytypes.QueueStatus.Resolved,...typeof r=="string"?{largeLanguageModelId:r}:{largeLanguageModelName:r.name,largeLanguageModelClient:r.client},promptId:o.id,promptRunMessages:t.promptRunMessages.map((c,n)=>({...c,...n===0?{template:o.content}:{}}))});return{result:p,promptRunId:m,promptRunUrl:`https://app.transcend.io/prompts/runs/${m}`}}async reportPromptRunError(e,{largeLanguageModel:r,...t}){(!this.lastUpdatedAt||this.cacheDuration===0||this.cacheDuration&&Date.now()-this.lastUpdatedAt.getTime()>this.cacheDuration)&&await this.fetchPromptsAndMetadata();let s=t.name||`@transcend-io/cli-prompt-run-${new Date().toISOString()}`;if(!this.promptContentMap)throw new Error("Expected this.promptContentMap to be defined");let o=this.promptContentMap[e];if(!o)throw new Error(`Expected this.prompts[${e}] to be defined`);if(t.promptRunMessages.length===0)throw new Error("promptRunMessages is expected to have length > 0");if(t.promptRunMessages[0].role!==_privacytypes.ChatCompletionRole.System)throw new Error(`promptRunMessages[0].role is expected to be = ${_privacytypes.ChatCompletionRole.System}`);let i=await _chunk5PTFTN6Jcjs.he.call(void 0, this.graphQLClient,{productArea:_privacytypes.PromptRunProductArea.PromptManager,...t,name:s,status:_privacytypes.QueueStatus.Error,...typeof r=="string"?{largeLanguageModelId:r}:{largeLanguageModelName:r.name,largeLanguageModelClient:r.client},promptId:o.id,promptRunMessages:t.promptRunMessages.map((p,m)=>({...p,...m===0?{template:o.content}:{}}))});return{promptRunId:i,promptRunUrl:`https://app.transcend.io/prompts/runs/${i}`}}}, _class);function Km(a){let e=/(https?:\/\/[^\s]+)/g;return a.replace(e,"<link-omitted>")}function Ym(a){return Object.entries(a).reduce((e,[r,t])=>t!=null&&t!==""&&!(Array.isArray(t)&&t.length===0)&&!(typeof t=="object"&&Object.keys(t).length===0)?Object.assign(e,{[r]:t}):e,{})}var _fastglob = require('fast-glob'); var _fastglob2 = _interopRequireDefault(_fastglob);var _child_process = require('child_process');function sc({baseBranch:a,rootDirectory:e,githubRepo:r,excludedGlob:t=[],fileBlockList:s=[]}){_child_process.execSync.call(void 0, `git fetch origin ${a}`);let o=_child_process.execSync.call(void 0, `git ls-remote ${r} "refs/heads/${a}" | cut -f 1`,{encoding:"utf-8"}).split(`
|
|
2
2
|
`)[0],i=_child_process.execSync.call(void 0, "git rev-parse HEAD",{encoding:"utf-8"}).split(`
|
|
3
|
-
`)[0];if(!o||!i)throw new Error("FAILED TO FIND COMMIT RANGE");let p=_child_process.execSync.call(void 0, `git fetch && git diff --name-only "${a||o}...${i}" -- ${e}`,{encoding:"utf-8"}),m=
|
|
4
|
-
`).filter(d=>d),s),c=t.length>0?_fastglob2.default.sync(m,{ignore:t}):m,n={};c.forEach(d=>{let F=_child_process.execSync.call(void 0, `git show ${i}:${d}`,{encoding:"utf-8"});n[d]=F});let g=r.split("/").pop().split(".")[0];return{changedFiles:m,fileDiffs:n,repoName:g,commit:i}}exports.ACTIONS = _chunkKKAJPI6Ocjs.ub; exports.ADD_MESSAGES_TO_PROMPT_RUN = _chunkKKAJPI6Ocjs.Ha; exports.ADD_SILO_DISCOVERY_RESULTS = _chunkKKAJPI6Ocjs.H; exports.ADMIN_DASH = _chunkVY55L6P5cjs.o; exports.ADMIN_DASH_DATAPOINTS = _chunkVY55L6P5cjs.q; exports.ADMIN_DASH_INTEGRATIONS = _chunkVY55L6P5cjs.p; exports.AGENTS = _chunkKKAJPI6Ocjs.Hb; exports.AGENT_FILES = _chunkKKAJPI6Ocjs.Kb; exports.AGENT_FUNCTIONS = _chunkKKAJPI6Ocjs.Nb; exports.API_KEYS = _chunkKKAJPI6Ocjs.D; exports.APPROVE_PRIVACY_REQUEST = _chunkKKAJPI6Ocjs.X; exports.ASSESSMENTS = _chunkKKAJPI6Ocjs.fa; exports.ASSESSMENT_SECTION_FIELDS = _chunkKKAJPI6Ocjs.ea; exports.ASSESSMENT_TEMPLATES = _chunkKKAJPI6Ocjs.ja; exports.ASSUME_ROLE = _chunkKKAJPI6Ocjs.Fb; exports.ATTRIBUTES = _chunkKKAJPI6Ocjs.La; exports.ATTRIBUTE_KEYS_REQUESTS = _chunkKKAJPI6Ocjs.M; exports.ATTRIBUTE_VALUES = _chunkKKAJPI6Ocjs.Pa; exports.ActionInput = _chunk5UBGZNDCcjs.G; exports.ActionItemCollectionInput = _chunk5UBGZNDCcjs.R; exports.ActionItemInput = _chunk5UBGZNDCcjs.S; exports.AgentFileInput = _chunk5UBGZNDCcjs.o; exports.AgentFunctionInput = _chunk5UBGZNDCcjs.n; exports.AgentInput = _chunk5UBGZNDCcjs.m; exports.ApiKeyInput = _chunk5UBGZNDCcjs.c; exports.AssessmentAction = _chunkKKAJPI6Ocjs.Rd; exports.AssessmentAnswerOptionInput = _chunk5UBGZNDCcjs.Y; exports.AssessmentDisplayLogicInput = _chunk5UBGZNDCcjs.V; exports.AssessmentInput = _chunk5UBGZNDCcjs.ca; exports.AssessmentNestedRule = _chunkKKAJPI6Ocjs.Qd; exports.AssessmentNestedRuleInput = _chunk5UBGZNDCcjs.U; exports.AssessmentResourceInput = _chunk5UBGZNDCcjs.ba; exports.AssessmentRetentionScheduleInput = _chunk5UBGZNDCcjs.$; exports.AssessmentRiskLogic = _chunkKKAJPI6Ocjs.Td; exports.AssessmentRule = _chunkKKAJPI6Ocjs.Pd; exports.AssessmentRuleInput = _chunk5UBGZNDCcjs.T; exports.AssessmentRuleWithOperands = _chunkKKAJPI6Ocjs.Nd; exports.AssessmentRuleWithoutOperands = _chunkKKAJPI6Ocjs.Od; exports.AssessmentSectionInput = _chunk5UBGZNDCcjs._; exports.AssessmentSectionQuestionInput = _chunk5UBGZNDCcjs.Z; exports.AssessmentTemplateInput = _chunk5UBGZNDCcjs.aa; exports.AttestedExtraIdentifiers = _chunkKKAJPI6Ocjs.qf; exports.AttributeInput = _chunk5UBGZNDCcjs.k; exports.AttributePreview = _chunk5UBGZNDCcjs.l; exports.AttributeValueInput = _chunk5UBGZNDCcjs.j; exports.BLANK = _chunkKKAJPI6Ocjs.dc; exports.BULK_APPLY = _chunkKKAJPI6Ocjs.cc; exports.BULK_REQUEST_FILES = _chunkKKAJPI6Ocjs.Fa; exports.BUSINESS_ENTITIES = _chunkKKAJPI6Ocjs.rb; exports.BusinessEntityInput = _chunk5UBGZNDCcjs.y; exports.CANCEL_PRIVACY_REQUEST = _chunkKKAJPI6Ocjs.Y; exports.CAN_APPLY_IN_BULK = _chunkKKAJPI6Ocjs.hc; exports.CATALOGS = _chunkKKAJPI6Ocjs.r; exports.CHANGE_REQUEST_DATA_SILO_STATUS = _chunkKKAJPI6Ocjs.va; exports.CODE_PACKAGES = _chunkKKAJPI6Ocjs.Q; exports.CONSENT_MANAGER_ANALYTICS_DATA = _chunkKKAJPI6Ocjs.qb; exports.CONSENT_PARTITIONS = _chunkKKAJPI6Ocjs.Ua; exports.COOKIES = _chunkKKAJPI6Ocjs.Za; exports.CREATE_ACTION_ITEMS = _chunkKKAJPI6Ocjs.yb; exports.CREATE_ACTION_ITEM_COLLECTION = _chunkKKAJPI6Ocjs.Ja; exports.CREATE_AGENT = _chunkKKAJPI6Ocjs.Ib; exports.CREATE_AGENT_FILE = _chunkKKAJPI6Ocjs.Lb; exports.CREATE_AGENT_FUNCTION = _chunkKKAJPI6Ocjs.Ob; exports.CREATE_API_KEY = _chunkKKAJPI6Ocjs.E; exports.CREATE_ATTRIBUTE = _chunkKKAJPI6Ocjs.Qa; exports.CREATE_ATTRIBUTE_VALUES = _chunkKKAJPI6Ocjs.Ma; exports.CREATE_BUSINESS_ENTITY = _chunkKKAJPI6Ocjs.sb; exports.CREATE_CODE_PACKAGE = _chunkKKAJPI6Ocjs.S; exports.CREATE_CONSENT_EXPERIENCE = _chunkKKAJPI6Ocjs.ob; exports.CREATE_CONSENT_MANAGER = _chunkKKAJPI6Ocjs.bb; exports.CREATE_CONSENT_PARTITION = _chunkKKAJPI6Ocjs.pb; exports.CREATE_DATA_FLOWS = _chunkKKAJPI6Ocjs.Va; exports.CREATE_DATA_SILOS = _chunkKKAJPI6Ocjs.m; exports.CREATE_DATA_SUBJECT = _chunkKKAJPI6Ocjs.x; exports.CREATE_DATA_SUB_CATEGORY = _chunkKKAJPI6Ocjs.Ub; exports.CREATE_ENRICHER = _chunkKKAJPI6Ocjs.p; exports.CREATE_IDENTIFIER = _chunkKKAJPI6Ocjs.u; exports.CREATE_PREFERENCE_ACCESS_TOKENS = _chunkKKAJPI6Ocjs.G; exports.CREATE_PROCESSING_ACTIVITY = _chunkKKAJPI6Ocjs._b; exports.CREATE_PROCESSING_PURPOSE_SUB_CATEGORY = _chunkKKAJPI6Ocjs.Xb; exports.CREATE_PROMPT = _chunkKKAJPI6Ocjs.pa; exports.CREATE_PROMPT_GROUP = _chunkKKAJPI6Ocjs.ta; exports.CREATE_PROMPT_PARTIAL = _chunkKKAJPI6Ocjs.ra; exports.CREATE_REPOSITORY = _chunkKKAJPI6Ocjs.C; exports.CREATE_SOFTWARE_DEVELOPMENT_KIT = _chunkKKAJPI6Ocjs.P; exports.CREATE_TEAM = _chunkKKAJPI6Ocjs.za; exports.CREATE_TEMPLATE = _chunkKKAJPI6Ocjs.K; exports.CREATE_VENDOR = _chunkKKAJPI6Ocjs.Rb; exports.CachedFileState = _chunkKKAJPI6Ocjs.ic; exports.CachedRequestState = _chunkKKAJPI6Ocjs.kc; exports.CodePackageInput = _chunk5UBGZNDCcjs.D; exports.CodePackageSdk = _chunk5UBGZNDCcjs.C; exports.ColumnName = _chunkKKAJPI6Ocjs.fc; exports.ConsentManageExperienceInput = _chunk5UBGZNDCcjs.K; exports.ConsentManagerInput = _chunk5UBGZNDCcjs.M; exports.ConsentManagerMetricBin = _chunkKKAJPI6Ocjs.Sc; exports.ConsentManagerServiceMetadata = _chunk5UBGZNDCcjs.ka; exports.ConsentPreferenceResponse = _chunkAOO3U7W3cjs.i; exports.ConsentPreferenceTopic = _chunk5UBGZNDCcjs.ea; exports.ConsentPreferenceTopicOptionValue = _chunk5UBGZNDCcjs.da; exports.ConsentPurpose = _chunk5UBGZNDCcjs.fa; exports.CookieCsvInput = _chunk5UBGZNDCcjs.ja; exports.CookieInput = _chunk5UBGZNDCcjs.J; exports.CronIdentifier = _chunkNA6JTKNJcjs.a; exports.CronIdentifierPush = _chunkNA6JTKNJcjs.c; exports.DATAPOINT_EXPORT = _chunkKKAJPI6Ocjs.g; exports.DATA_FLOWS = _chunkKKAJPI6Ocjs.Ya; exports.DATA_POINTS = _chunkKKAJPI6Ocjs.a; exports.DATA_POINT_COUNT = _chunkKKAJPI6Ocjs.b; exports.DATA_SILOS = _chunkKKAJPI6Ocjs.i; exports.DATA_SILOS_ENRICHED = _chunkKKAJPI6Ocjs.k; exports.DATA_SILO_EXPORT = _chunkKKAJPI6Ocjs.j; exports.DATA_SUBJECTS = _chunkKKAJPI6Ocjs.w; exports.DATA_SUB_CATEGORIES = _chunkKKAJPI6Ocjs.Tb; exports.DEBUG = _chunkVY55L6P5cjs.z; exports.DEFAULT_TRANSCEND_API = _chunkVY55L6P5cjs.r; exports.DEFAULT_TRANSCEND_CONSENT_API = _chunkVY55L6P5cjs.s; exports.DEFAULT_TRANSCEND_PULL_RESOURCES = _chunkKKAJPI6Ocjs.fe; exports.DELETE_API_KEY = _chunkKKAJPI6Ocjs.F; exports.DELETE_ATTRIBUTE_VALUE = _chunkKKAJPI6Ocjs.Oa; exports.DEPLOYED_PRIVACY_CENTER_URL = _chunkKKAJPI6Ocjs.Ab; exports.DEPLOY_CONSENT_MANAGER = _chunkKKAJPI6Ocjs.eb; exports.DETERMINE_LOGIN_METHOD = _chunkKKAJPI6Ocjs.Db; exports.DataCategoryGuessInput = _chunk5UBGZNDCcjs.h; exports.DataCategoryInput = _chunk5UBGZNDCcjs.q; exports.DataCategoryPreviewInput = _chunk5UBGZNDCcjs.g; exports.DataCategoryRecommendationInput = _chunk5UBGZNDCcjs.i; exports.DataFlowCsvInput = _chunk5UBGZNDCcjs.ia; exports.DataFlowInput = _chunk5UBGZNDCcjs.I; exports.DataSiloInput = _chunk5UBGZNDCcjs.Q; exports.DataSubjectInput = _chunk5UBGZNDCcjs.F; exports.DatapointInput = _chunk5UBGZNDCcjs.w; exports.ENABLED_PLUGINS = _chunkKKAJPI6Ocjs.I; exports.ENRICHERS = _chunkKKAJPI6Ocjs.n; exports.ENTRY_COUNT = _chunkKKAJPI6Ocjs.h; exports.EXPERIENCES = _chunkKKAJPI6Ocjs.Ta; exports.EnrichPrivacyRequest = _chunkTRQBFWZPcjs.b; exports.EnricherInput = _chunk5UBGZNDCcjs.e; exports.FETCH_CONSENT_MANAGER = _chunkKKAJPI6Ocjs.$a; exports.FETCH_CONSENT_MANAGER_ID = _chunkKKAJPI6Ocjs._a; exports.FETCH_CONSENT_MANAGER_THEME = _chunkKKAJPI6Ocjs.ab; exports.FETCH_PRIVACY_CENTER_ID = _chunkKKAJPI6Ocjs.zb; exports.FieldInput = _chunk5UBGZNDCcjs.v; exports.GLOBAL_ACTION_ITEMS = _chunkKKAJPI6Ocjs.wb; exports.GLOBAL_ACTION_ITEM_COLLECTIONS = _chunkKKAJPI6Ocjs.Ia; exports.IDENTIFIERS = _chunkKKAJPI6Ocjs.s; exports.IDENTIFIER_BLOCK_LIST = _chunkKKAJPI6Ocjs.ec; exports.IMPORT_ONE_TRUST_ASSESSMENT_FORMS = _chunkKKAJPI6Ocjs.ga; exports.INITIALIZER = _chunkKKAJPI6Ocjs.o; exports.IP_ADDRESS_REGEX = _chunkAOO3U7W3cjs.f; exports.IS_REQUIRED = _chunkKKAJPI6Ocjs.gc; exports.IdentifierInput = _chunk5UBGZNDCcjs.H; exports.ImportOnetrustAssessmentsInput = _chunk5UBGZNDCcjs.ra; exports.IntlMessage = _chunkKKAJPI6Ocjs.uf; exports.IntlMessageInput = _chunk5UBGZNDCcjs.P; exports.LARGE_LANGUAGE_MODELS = _chunkKKAJPI6Ocjs.Gb; exports.LOGIN = _chunkKKAJPI6Ocjs.Eb; exports.MESSAGES = _chunkKKAJPI6Ocjs.$; exports.NEW_IDENTIFIER_TYPES = _chunkKKAJPI6Ocjs.t; exports.NONE = _chunkKKAJPI6Ocjs.bc; exports.NOTIFY_ADDITIONAL_TIME = _chunkKKAJPI6Ocjs._; exports.ORGANIZATION = _chunkKKAJPI6Ocjs.L; exports.OneTrustFileFormat = _chunkQ7I37FJVcjs.a; exports.OneTrustPullResource = _chunkQ7I37FJVcjs.b; exports.OneTrustPullSource = _chunkQ7I37FJVcjs.c; exports.OpenAIEnabledRoute = _chunk5UBGZNDCcjs.ma; exports.OpenAIEnabledRoutes = _chunk5UBGZNDCcjs.na; exports.OpenAIIntegration = _chunk5UBGZNDCcjs.oa; exports.OpenAIRouteName = _chunkQ7I37FJVcjs.f; exports.POLICIES = _chunkKKAJPI6Ocjs.U; exports.PREFERENCE_TOPICS = _chunkKKAJPI6Ocjs.ia; exports.PRIVACY_CENTER = _chunkKKAJPI6Ocjs.Bb; exports.PROCESSING_ACTIVITIES = _chunkKKAJPI6Ocjs.Zb; exports.PROCESSING_PURPOSE_SUB_CATEGORIES = _chunkKKAJPI6Ocjs.Wb; exports.PROMPTS = _chunkKKAJPI6Ocjs.ka; exports.PROMPTS_WITH_VARIABLES = _chunkKKAJPI6Ocjs.na; exports.PROMPT_GROUPS = _chunkKKAJPI6Ocjs.ma; exports.PROMPT_PARTIALS = _chunkKKAJPI6Ocjs.la; exports.PROMPT_THREADS = _chunkKKAJPI6Ocjs.T; exports.PURPOSES = _chunkKKAJPI6Ocjs.ha; exports.ParsedAttributeInput = _chunkKKAJPI6Ocjs.pc; exports.PartitionInput = _chunk5UBGZNDCcjs.L; exports.PathfinderPolicy = _chunk5UBGZNDCcjs.pa; exports.PathfinderPolicyName = _chunkQ7I37FJVcjs.e; exports.PathfinderPolicyNameC = _chunk5UBGZNDCcjs.la; exports.PathfinderPromptRunMetadata = _chunk5UBGZNDCcjs.qa; exports.PolicyInput = _chunk5UBGZNDCcjs.O; exports.PrivacyCenterInput = _chunk5UBGZNDCcjs.N; exports.PrivacyRequest = _chunkKKAJPI6Ocjs.md; exports.PrivacyRequestInput = _chunkKKAJPI6Ocjs.rf; exports.PrivacyRequestResponse = _chunkKKAJPI6Ocjs.Af; exports.ProcessingActivityInput = _chunk5UBGZNDCcjs.A; exports.ProcessingPurposeInput = _chunk5UBGZNDCcjs.r; exports.ProcessingPurposePreviewInput = _chunk5UBGZNDCcjs.f; exports.PromptAVendorEmailSettings = _chunk5UBGZNDCcjs.x; exports.PromptGroupInput = _chunk5UBGZNDCcjs.u; exports.PromptInput = _chunk5UBGZNDCcjs.s; exports.PromptPartialInput = _chunk5UBGZNDCcjs.t; exports.PurposeMap = _chunkZUT7UIQUcjs.e; exports.REDUCED_REQUESTS_FOR_DATA_SILO_COUNT = _chunkKKAJPI6Ocjs.xa; exports.REMOVE_REQUEST_IDENTIFIERS = _chunkKKAJPI6Ocjs.Ba; exports.REPORT_PROMPT_RUN = _chunkKKAJPI6Ocjs.Ga; exports.REPOSITORIES = _chunkKKAJPI6Ocjs.A; exports.REQUESTS = _chunkKKAJPI6Ocjs.W; exports.REQUEST_DATA_SILOS = _chunkKKAJPI6Ocjs.ua; exports.REQUEST_ENRICHERS = _chunkKKAJPI6Ocjs.ba; exports.REQUEST_FILES = _chunkKKAJPI6Ocjs.Ea; exports.REQUEST_IDENTIFIERS = _chunkKKAJPI6Ocjs.Ca; exports.RETRYABLE_BATCH_STATUSES = _chunkVY55L6P5cjs.y; exports.RETRY_REQUEST_DATA_SILO = _chunkKKAJPI6Ocjs.wa; exports.RETRY_REQUEST_ENRICHER = _chunkKKAJPI6Ocjs.ca; exports.RateCounter = _chunkKKAJPI6Ocjs.$f; exports.RegionInput = _chunk5UBGZNDCcjs.z; exports.RepositoryInput = _chunk5UBGZNDCcjs.E; exports.RequestFileMetadata = _chunkKKAJPI6Ocjs.vf; exports.RequestFileMetadataResponse = _chunkKKAJPI6Ocjs.wf; exports.RequestIdentifiersResponse = _chunkKKAJPI6Ocjs.jd; exports.RequestPurposeTrigger = _chunkKKAJPI6Ocjs.ld; exports.RiskAssignmentInput = _chunk5UBGZNDCcjs.W; exports.RiskLogicInput = _chunk5UBGZNDCcjs.X; exports.SCOPES_BY_TITLE = _chunkVY55L6P5cjs.w; exports.SCOPE_TITLES = _chunkVY55L6P5cjs.x; exports.SET_RESOURCE_ATTRIBUTES = _chunkKKAJPI6Ocjs.Sa; exports.SKIP_REQUEST_ENRICHER = _chunkKKAJPI6Ocjs.da; exports.SOFTWARE_DEVELOPMENT_KITS = _chunkKKAJPI6Ocjs.N; exports.SOMBRA_VERSION = _chunkKKAJPI6Ocjs.ac; exports.SUB_DATA_POINTS = _chunkKKAJPI6Ocjs.c; exports.SUB_DATA_POINTS_COUNT = _chunkKKAJPI6Ocjs.d; exports.SUB_DATA_POINTS_WITH_GUESSES = _chunkKKAJPI6Ocjs.e; exports.SYNC_ATTRIBUTE_TYPES = _chunkKKAJPI6Ocjs.Mc; exports.SoftwareDevelopmentKitInput = _chunk5UBGZNDCcjs.B; exports.StoredApiKey = _chunk5UBGZNDCcjs.ha; exports.SuccessfulRequest = _chunkKKAJPI6Ocjs.jc; exports.TEAMS = _chunkKKAJPI6Ocjs.ya; exports.TEMPLATES = _chunkKKAJPI6Ocjs.J; exports.TOGGLE_CONSENT_PRECEDENCE = _chunkKKAJPI6Ocjs.lb; exports.TOGGLE_DATA_SUBJECT = _chunkKKAJPI6Ocjs.z; exports.TOGGLE_TELEMETRY_PARTITION_STRATEGY = _chunkKKAJPI6Ocjs.kb; exports.TOGGLE_UNKNOWN_COOKIE_POLICY = _chunkKKAJPI6Ocjs.jb; exports.TOGGLE_UNKNOWN_REQUEST_POLICY = _chunkKKAJPI6Ocjs.ib; exports.TR_PULL_RESOURCE_SCOPE_MAP = _chunkVY55L6P5cjs.u; exports.TR_PUSH_RESOURCE_SCOPE_MAP = _chunkVY55L6P5cjs.t; exports.TR_YML_RESOURCE_TO_FIELD_NAME = _chunkVY55L6P5cjs.v; exports.TeamInput = _chunk5UBGZNDCcjs.d; exports.TemplateInput = _chunk5UBGZNDCcjs.a; exports.TranscendInput = _chunk5UBGZNDCcjs.ga; exports.TranscendPromptManager = B; exports.TranscendPullResource = _chunkQ7I37FJVcjs.d; exports.UPDATE_ACTION = _chunkKKAJPI6Ocjs.vb; exports.UPDATE_ACTION_ITEMS = _chunkKKAJPI6Ocjs.xb; exports.UPDATE_ACTION_ITEM_COLLECTION = _chunkKKAJPI6Ocjs.Ka; exports.UPDATE_AGENTS = _chunkKKAJPI6Ocjs.Jb; exports.UPDATE_AGENT_FILES = _chunkKKAJPI6Ocjs.Mb; exports.UPDATE_AGENT_FUNCTIONS = _chunkKKAJPI6Ocjs.Pb; exports.UPDATE_ATTRIBUTE = _chunkKKAJPI6Ocjs.Ra; exports.UPDATE_ATTRIBUTE_VALUES = _chunkKKAJPI6Ocjs.Na; exports.UPDATE_BUSINESS_ENTITIES = _chunkKKAJPI6Ocjs.tb; exports.UPDATE_CODE_PACKAGES = _chunkKKAJPI6Ocjs.R; exports.UPDATE_CONSENT_EXPERIENCE = _chunkKKAJPI6Ocjs.nb; exports.UPDATE_CONSENT_MANAGER_DOMAINS = _chunkKKAJPI6Ocjs.fb; exports.UPDATE_CONSENT_MANAGER_PARTITION = _chunkKKAJPI6Ocjs.gb; exports.UPDATE_CONSENT_MANAGER_THEME = _chunkKKAJPI6Ocjs.mb; exports.UPDATE_CONSENT_MANAGER_TO_LATEST = _chunkKKAJPI6Ocjs.db; exports.UPDATE_CONSENT_MANAGER_VERSION = _chunkKKAJPI6Ocjs.cb; exports.UPDATE_DATA_FLOWS = _chunkKKAJPI6Ocjs.Wa; exports.UPDATE_DATA_SILOS = _chunkKKAJPI6Ocjs.l; exports.UPDATE_DATA_SUBJECT = _chunkKKAJPI6Ocjs.y; exports.UPDATE_DATA_SUB_CATEGORIES = _chunkKKAJPI6Ocjs.Vb; exports.UPDATE_ENRICHER = _chunkKKAJPI6Ocjs.q; exports.UPDATE_IDENTIFIER = _chunkKKAJPI6Ocjs.v; exports.UPDATE_INTL_MESSAGES = _chunkKKAJPI6Ocjs.aa; exports.UPDATE_LOAD_OPTIONS = _chunkKKAJPI6Ocjs.hb; exports.UPDATE_OR_CREATE_COOKIES = _chunkKKAJPI6Ocjs.Xa; exports.UPDATE_OR_CREATE_DATA_POINT = _chunkKKAJPI6Ocjs.f; exports.UPDATE_POLICIES = _chunkKKAJPI6Ocjs.V; exports.UPDATE_PRIVACY_CENTER = _chunkKKAJPI6Ocjs.Cb; exports.UPDATE_PRIVACY_REQUEST = _chunkKKAJPI6Ocjs.Z; exports.UPDATE_PROCESSING_ACTIVITIES = _chunkKKAJPI6Ocjs.$b; exports.UPDATE_PROCESSING_PURPOSE_SUB_CATEGORIES = _chunkKKAJPI6Ocjs.Yb; exports.UPDATE_PROMPTS = _chunkKKAJPI6Ocjs.oa; exports.UPDATE_PROMPT_GROUPS = _chunkKKAJPI6Ocjs.sa; exports.UPDATE_PROMPT_PARTIALS = _chunkKKAJPI6Ocjs.qa; exports.UPDATE_REPOSITORIES = _chunkKKAJPI6Ocjs.B; exports.UPDATE_SOFTWARE_DEVELOPMENT_KITS = _chunkKKAJPI6Ocjs.O; exports.UPDATE_TEAM = _chunkKKAJPI6Ocjs.Aa; exports.UPDATE_VENDORS = _chunkKKAJPI6Ocjs.Sb; exports.USERS = _chunkKKAJPI6Ocjs.Da; exports.USP_STRING_REGEX = _chunkZUT7UIQUcjs.d; exports.VARIABLE_PARAMETERS_NAME = _chunkRE5YALEOcjs.b; exports.VARIABLE_PARAMETERS_REGEXP = _chunkRE5YALEOcjs.a; exports.VENDORS = _chunkKKAJPI6Ocjs.Qb; exports.VendorInput = _chunk5UBGZNDCcjs.p; exports.WebhookHeader = _chunk5UBGZNDCcjs.b; exports.addMessagesToPromptRun = _chunkKKAJPI6Ocjs.uc; exports.appendCsvSync = _chunkLR3CPNDMcjs.b; exports.approvePrivacyRequests = _chunkKKAJPI6Ocjs.Cf; exports.assumeRole = _chunkKKAJPI6Ocjs.Kd; exports.buildAIIntegrationType = _chunkLCDYXJN6cjs.b; exports.buildEnabledRouteType = _chunkLCDYXJN6cjs.a; exports.buildTranscendGraphQLClient = _chunkKKAJPI6Ocjs.wc; exports.buildTranscendGraphQLClientGeneric = _chunkKKAJPI6Ocjs.vc; exports.buildXdiSyncEndpoint = _chunkAOO3U7W3cjs.g; exports.bulkRestartRequests = _chunkKKAJPI6Ocjs.Kf; exports.bulkRetryEnrichers = _chunkKKAJPI6Ocjs.Mf; exports.cancelPrivacyRequests = _chunkKKAJPI6Ocjs.Ff; exports.collectParquetFilesOrExit = _chunkKKAJPI6Ocjs.bg; exports.consentManagersToBusinessEntities = _chunkAOO3U7W3cjs.h; exports.convertToDataSubjectAllowlist = _chunkKKAJPI6Ocjs.yd; exports.convertToDataSubjectBlockList = _chunkKKAJPI6Ocjs.xd; exports.createActionItemCollection = _chunkKKAJPI6Ocjs.le; exports.createActionItems = _chunkKKAJPI6Ocjs.oe; exports.createAgent = _chunkKKAJPI6Ocjs.xe; exports.createAgentFile = _chunkKKAJPI6Ocjs.re; exports.createAgentFunction = _chunkKKAJPI6Ocjs.ue; exports.createApiKey = _chunkKKAJPI6Ocjs.Ld; exports.createBusinessEntity = _chunkKKAJPI6Ocjs.Be; exports.createCodePackage = _chunkKKAJPI6Ocjs.Ke; exports.createConsentToken = _chunkZUT7UIQUcjs.a; exports.createDataCategory = _chunkKKAJPI6Ocjs.Re; exports.createDataFlows = _chunkKKAJPI6Ocjs.Ve; exports.createPreferenceAccessTokens = _chunkKKAJPI6Ocjs.Jc; exports.createProcessingPurpose = _chunkKKAJPI6Ocjs.df; exports.createPrompt = _chunkKKAJPI6Ocjs.gf; exports.createRegexForTag = j; exports.createRepository = _chunkKKAJPI6Ocjs.He; exports.createSoftwareDevelopmentKit = _chunkKKAJPI6Ocjs.Ee; exports.createSombraGotInstance = _chunkKKAJPI6Ocjs.xc; exports.createTranscendConsentGotInstance = _chunkKKAJPI6Ocjs.yc; exports.createVendor = _chunkKKAJPI6Ocjs.jf; exports.defineTranscendPrompts = qm; exports.deleteApiKey = _chunkKKAJPI6Ocjs.Md; exports.deployConsentManager = _chunkKKAJPI6Ocjs.zc; exports.description = _chunkVY55L6P5cjs.l; exports.domainToHost = _chunkAOO3U7W3cjs.e; exports.downloadPrivacyRequestFiles = _chunkKKAJPI6Ocjs.zf; exports.enrichPrivacyRequest = _chunkTRQBFWZPcjs.c; exports.ensureAllDataSubjectsExist = _chunkKKAJPI6Ocjs.wd; exports.extractClientError = _chunkKKAJPI6Ocjs.Hf; exports.extractErrorMessage = _chunkKKAJPI6Ocjs.Wf; exports.fetchActiveSiloDiscoPlugin = _chunkKKAJPI6Ocjs.Bc; exports.fetchAllActionItems = _chunkKKAJPI6Ocjs.Cc; exports.fetchAllActions = _chunkKKAJPI6Ocjs.Dc; exports.fetchAllAgentFiles = _chunkKKAJPI6Ocjs.Ec; exports.fetchAllAgentFunctions = _chunkKKAJPI6Ocjs.Fc; exports.fetchAllAgents = _chunkKKAJPI6Ocjs.Gc; exports.fetchAllApiKeys = _chunkKKAJPI6Ocjs.rd; exports.fetchAllAssessmentTemplates = _chunkKKAJPI6Ocjs.Ic; exports.fetchAllAssessments = _chunkKKAJPI6Ocjs.Hc; exports.fetchAllAttributeValues = _chunkKKAJPI6Ocjs.Lc; exports.fetchAllAttributes = _chunkKKAJPI6Ocjs.Nc; exports.fetchAllBusinessEntities = _chunkKKAJPI6Ocjs.Oc; exports.fetchAllCatalogs = _chunkKKAJPI6Ocjs.td; exports.fetchAllCookies = _chunkKKAJPI6Ocjs.Vc; exports.fetchAllDataCategories = _chunkKKAJPI6Ocjs.Wc; exports.fetchAllDataFlows = _chunkKKAJPI6Ocjs.Xc; exports.fetchAllDataPoints = _chunkKKAJPI6Ocjs.Xd; exports.fetchAllDataSilos = _chunkKKAJPI6Ocjs.Vd; exports.fetchAllDataSubjects = _chunkKKAJPI6Ocjs.vd; exports.fetchAllEnrichers = _chunkKKAJPI6Ocjs.$d; exports.fetchAllIdentifiers = _chunkKKAJPI6Ocjs.eg; exports.fetchAllMessages = _chunkKKAJPI6Ocjs.Yc; exports.fetchAllPolicies = _chunkKKAJPI6Ocjs.$c; exports.fetchAllPreferenceTopics = _chunkKKAJPI6Ocjs.bd; exports.fetchAllPrivacyCenters = _chunkKKAJPI6Ocjs.cd; exports.fetchAllProcessingActivities = _chunkKKAJPI6Ocjs.dd; exports.fetchAllProcessingPurposes = _chunkKKAJPI6Ocjs.ed; exports.fetchAllPromptGroups = _chunkKKAJPI6Ocjs.zd; exports.fetchAllPromptPartials = _chunkKKAJPI6Ocjs.Ad; exports.fetchAllPromptThreads = _chunkKKAJPI6Ocjs.Dd; exports.fetchAllPrompts = _chunkKKAJPI6Ocjs.Bd; exports.fetchAllPurposes = _chunkKKAJPI6Ocjs.fd; exports.fetchAllPurposesAndPreferences = _chunkKKAJPI6Ocjs.gd; exports.fetchAllRequestAttributeKeys = _chunkKKAJPI6Ocjs.Kc; exports.fetchAllRequestEnrichers = _chunkKKAJPI6Ocjs.hd; exports.fetchAllRequestIdentifierMetadata = _chunkKKAJPI6Ocjs.id; exports.fetchAllRequestIdentifiers = _chunkKKAJPI6Ocjs.kd; exports.fetchAllRequests = _chunkKKAJPI6Ocjs.nd; exports.fetchAllSubDataPoints = _chunkKKAJPI6Ocjs.Wd; exports.fetchAllTeams = _chunkKKAJPI6Ocjs.od; exports.fetchAllTemplates = _chunkKKAJPI6Ocjs.be; exports.fetchAllUsers = _chunkKKAJPI6Ocjs.pd; exports.fetchAllVendors = _chunkKKAJPI6Ocjs.qd; exports.fetchAndIndexCatalogs = _chunkKKAJPI6Ocjs.ud; exports.fetchApiKeys = _chunkKKAJPI6Ocjs.sd; exports.fetchConsentManager = _chunkKKAJPI6Ocjs.Pc; exports.fetchConsentManagerAnalyticsData = _chunkKKAJPI6Ocjs.Tc; exports.fetchConsentManagerExperiences = _chunkKKAJPI6Ocjs.Rc; exports.fetchConsentManagerId = _chunkKKAJPI6Ocjs.Qc; exports.fetchConsentManagerTheme = _chunkKKAJPI6Ocjs.Uc; exports.fetchConsentPreferences = _chunkAOO3U7W3cjs.j; exports.fetchEnrichedDataSilos = _chunkKKAJPI6Ocjs.Yd; exports.fetchIdentifiersAndCreateMissing = _chunkKKAJPI6Ocjs.fg; exports.fetchPartitions = _chunkKKAJPI6Ocjs.de; exports.fetchPrivacyCenterId = _chunkKKAJPI6Ocjs._c; exports.fetchPrivacyCenterUrl = _chunkKKAJPI6Ocjs.Zc; exports.fetchPromptsWithVariables = _chunkKKAJPI6Ocjs.Cd; exports.fetchRequestDataSilo = _chunkKKAJPI6Ocjs.Gd; exports.fetchRequestDataSiloActiveCount = _chunkKKAJPI6Ocjs.Hd; exports.fetchRequestDataSilos = _chunkKKAJPI6Ocjs.Fd; exports.fetchRequestDataSilosCount = _chunkKKAJPI6Ocjs.Ed; exports.fetchRequestFilesForRequest = _chunkKKAJPI6Ocjs.Id; exports.filterNullishValuesFromObject = Jm; exports.filterRows = _chunkKKAJPI6Ocjs.tc; exports.formatAttributeValues = _chunkKKAJPI6Ocjs.ad; exports.fuzzyMatchColumns = _chunkKKAJPI6Ocjs.mc; exports.fuzzySearch = _chunkKKAJPI6Ocjs.lc; exports.generateCrossAccountApiKeys = _chunkO3EACWMCcjs.a; exports.getErrorStatus = _chunkKKAJPI6Ocjs.Vf; exports.getFileMetadataForPrivacyRequests = _chunkKKAJPI6Ocjs.xf; exports.getGitFilesThatChanged = Ym; exports.getUniqueValuesForColumn = _chunkKKAJPI6Ocjs.sc; exports.inquirerAutoComplete = _chunkKKAJPI6Ocjs.Tf; exports.inquirerConfirmBoolean = _chunkKKAJPI6Ocjs.Rf; exports.inquirerConfirmText = _chunkKKAJPI6Ocjs.Sf; exports.limitRecords = _chunkKKAJPI6Ocjs._f; exports.listDirectories = _chunkO3EACWMCcjs.d; exports.listFiles = _chunkO3EACWMCcjs.c; exports.loginUser = _chunkKKAJPI6Ocjs.Jd; exports.makeGraphQLRequest = _chunkKKAJPI6Ocjs.dg; exports.mapColumnsToAttributes = _chunkKKAJPI6Ocjs.Gf; exports.mapColumnsToIdentifiers = _chunkKKAJPI6Ocjs.Ef; exports.mapCsvColumnsToApi = _chunkKKAJPI6Ocjs.of; exports.mapCsvRowsToRequestInputs = _chunkKKAJPI6Ocjs.tf; exports.mapEnumValues = _chunkKKAJPI6Ocjs.nc; exports.mapRequestEnumValues = _chunkKKAJPI6Ocjs.pf; exports.markCronIdentifierCompleted = _chunkNA6JTKNJcjs.d; exports.markRequestDataSiloIdsCompleted = _chunkNA6JTKNJcjs.f; exports.markSilentPrivacyRequests = _chunkKKAJPI6Ocjs.nf; exports.mergeTranscendInputs = _chunkIBTP5OXEcjs.a; exports.name = _chunkVY55L6P5cjs.n; exports.normalizeIdentifierValue = _chunkKKAJPI6Ocjs.sf; exports.notifyPrivacyRequestsAdditionalTime = _chunkKKAJPI6Ocjs.Df; exports.parquetToCsvOneFile = _chunkKKAJPI6Ocjs.cg; exports.parseAssessmentDisplayLogic = _chunkKKAJPI6Ocjs.Sd; exports.parseAssessmentRiskLogic = _chunkKKAJPI6Ocjs.Ud; exports.parseAttributesFromString = _chunkKKAJPI6Ocjs.qc; exports.parseFilePath = _chunkLR3CPNDMcjs.d; exports.parseVariablesFromString = _chunkKKAJPI6Ocjs.Uf; exports.pullAllDatapoints = _chunkNNHHVBQPcjs.a; exports.pullChunkedCustomSiloOutstandingIdentifiers = _chunkNA6JTKNJcjs.g; exports.pullConsentManagerMetrics = _chunkAOO3U7W3cjs.d; exports.pullCronPageOfIdentifiers = _chunkNA6JTKNJcjs.b; exports.pullManualEnrichmentIdentifiersToCsv = _chunkTRQBFWZPcjs.a; exports.pullPrivacyRequests = _chunkKKAJPI6Ocjs.Of; exports.pullTranscendConfiguration = _chunkKKAJPI6Ocjs.ge; exports.pullUnstructuredSubDataPointRecommendations = _chunkNNHHVBQPcjs.b; exports.pushCronIdentifiersFromCsv = _chunkNA6JTKNJcjs.e; exports.pushManualEnrichmentIdentifiersFromCsv = _chunkTRQBFWZPcjs.d; exports.readCsv = _chunkKKAJPI6Ocjs.rc; exports.readSafe = _chunkKKAJPI6Ocjs.ag; exports.readTranscendYaml = _chunkRE5YALEOcjs.d; exports.removeLinks = _m; exports.removeUnverifiedRequestIdentifiers = _chunkKKAJPI6Ocjs.Qf; exports.replaceVariablesInYaml = _chunkRE5YALEOcjs.c; exports.reportPromptRun = _chunkKKAJPI6Ocjs.he; exports.restartPrivacyRequest = _chunkKKAJPI6Ocjs.Jf; exports.retryRequestDataSilos = _chunkKKAJPI6Ocjs.Nf; exports.retryRequestEnricher = _chunkKKAJPI6Ocjs.ie; exports.retrySamePromise = _chunkKKAJPI6Ocjs.Zf; exports.setResourceAttributes = _chunkKKAJPI6Ocjs.je; exports.skipPreflightJobs = _chunkKKAJPI6Ocjs.Lf; exports.skipRequestDataSilos = _chunkKKAJPI6Ocjs.Pf; exports.sleepPromise = _chunkKKAJPI6Ocjs.Xf; exports.splitCsvToList = _chunkKKAJPI6Ocjs.oc; exports.splitInHalf = _chunkKKAJPI6Ocjs.Yf; exports.streamPrivacyRequestFiles = _chunkKKAJPI6Ocjs.yf; exports.submitPrivacyRequest = _chunkKKAJPI6Ocjs.Bf; exports.syncAction = _chunkKKAJPI6Ocjs.ke; exports.syncActionItemCollections = _chunkKKAJPI6Ocjs.ne; exports.syncActionItems = _chunkKKAJPI6Ocjs.qe; exports.syncAgentFiles = _chunkKKAJPI6Ocjs.te; exports.syncAgentFunctions = _chunkKKAJPI6Ocjs.we; exports.syncAgents = _chunkKKAJPI6Ocjs.ze; exports.syncAttribute = _chunkKKAJPI6Ocjs.Ae; exports.syncBusinessEntities = _chunkKKAJPI6Ocjs.De; exports.syncCodePackages = _chunkKKAJPI6Ocjs.Me; exports.syncConfigurationToTranscend = _chunkKKAJPI6Ocjs.gg; exports.syncConsentManager = _chunkKKAJPI6Ocjs.Oe; exports.syncConsentManagerExperiences = _chunkKKAJPI6Ocjs.Ne; exports.syncCookies = _chunkKKAJPI6Ocjs.Qe; exports.syncDataCategories = _chunkKKAJPI6Ocjs.Te; exports.syncDataFlows = _chunkKKAJPI6Ocjs.We; exports.syncDataSiloDependencies = _chunkKKAJPI6Ocjs._d; exports.syncDataSilos = _chunkKKAJPI6Ocjs.Zd; exports.syncDataSubject = _chunkKKAJPI6Ocjs.Xe; exports.syncEnricher = _chunkKKAJPI6Ocjs.ae; exports.syncIdentifier = _chunkKKAJPI6Ocjs.Ye; exports.syncIntlMessages = _chunkKKAJPI6Ocjs._e; exports.syncPartitions = _chunkKKAJPI6Ocjs.ee; exports.syncPolicies = _chunkKKAJPI6Ocjs.af; exports.syncPrivacyCenter = _chunkKKAJPI6Ocjs.bf; exports.syncProcessingActivities = _chunkKKAJPI6Ocjs.cf; exports.syncProcessingPurposes = _chunkKKAJPI6Ocjs.ff; exports.syncPrompts = _chunkKKAJPI6Ocjs.if; exports.syncRepositories = _chunkKKAJPI6Ocjs.Je; exports.syncSoftwareDevelopmentKits = _chunkKKAJPI6Ocjs.Ge; exports.syncTemplate = _chunkKKAJPI6Ocjs.ce; exports.syncVendors = _chunkKKAJPI6Ocjs.lf; exports.updateActionItem = _chunkKKAJPI6Ocjs.pe; exports.updateActionItemCollection = _chunkKKAJPI6Ocjs.me; exports.updateAgentFiles = _chunkKKAJPI6Ocjs.se; exports.updateAgentFunctions = _chunkKKAJPI6Ocjs.ve; exports.updateAgents = _chunkKKAJPI6Ocjs.ye; exports.updateBusinessEntities = _chunkKKAJPI6Ocjs.Ce; exports.updateCodePackages = _chunkKKAJPI6Ocjs.Le; exports.updateConsentManagerToLatest = _chunkKKAJPI6Ocjs.Ac; exports.updateConsentManagerVersionToLatest = _chunkAOO3U7W3cjs.a; exports.updateDataCategories = _chunkKKAJPI6Ocjs.Se; exports.updateDataFlows = _chunkKKAJPI6Ocjs.Ue; exports.updateIntlMessages = _chunkKKAJPI6Ocjs.Ze; exports.updateOrCreateCookies = _chunkKKAJPI6Ocjs.Pe; exports.updatePolicies = _chunkKKAJPI6Ocjs.$e; exports.updateProcessingPurposes = _chunkKKAJPI6Ocjs.ef; exports.updatePrompts = _chunkKKAJPI6Ocjs.hf; exports.updateRepositories = _chunkKKAJPI6Ocjs.Ie; exports.updateSoftwareDevelopmentKits = _chunkKKAJPI6Ocjs.Fe; exports.updateVendors = _chunkKKAJPI6Ocjs.kf; exports.uploadConsents = _chunkZUT7UIQUcjs.f; exports.uploadCookiesFromCsv = _chunkAOO3U7W3cjs.c; exports.uploadDataFlowsFromCsv = _chunkAOO3U7W3cjs.b; exports.uploadPrivacyRequestsFromCsv = _chunkKKAJPI6Ocjs.If; exports.uploadSiloDiscoveryResults = _chunkKKAJPI6Ocjs.mf; exports.validateTranscendAuth = _chunkO3EACWMCcjs.b; exports.version = _chunkVY55L6P5cjs.m; exports.writeCsv = _chunkLR3CPNDMcjs.c; exports.writeCsvSync = _chunkLR3CPNDMcjs.a; exports.writeLargeCsv = _chunkLR3CPNDMcjs.e; exports.writeTranscendYaml = _chunkRE5YALEOcjs.e;
|
|
3
|
+
`)[0];if(!o||!i)throw new Error("FAILED TO FIND COMMIT RANGE");let p=_child_process.execSync.call(void 0, `git fetch && git diff --name-only "${a||o}...${i}" -- ${e}`,{encoding:"utf-8"}),m=_chunkNI434OIIcjs.c.call(void 0, p.split(`
|
|
4
|
+
`).filter(d=>d),s),c=t.length>0?_fastglob2.default.sync(m,{ignore:t}):m,n={};c.forEach(d=>{let F=_child_process.execSync.call(void 0, `git show ${i}:${d}`,{encoding:"utf-8"});n[d]=F});let g=r.split("/").pop().split(".")[0];return{changedFiles:m,fileDiffs:n,repoName:g,commit:i}}exports.ACTIONS = _chunk5PTFTN6Jcjs.ub; exports.ADD_MESSAGES_TO_PROMPT_RUN = _chunk5PTFTN6Jcjs.Ha; exports.ADD_SILO_DISCOVERY_RESULTS = _chunk5PTFTN6Jcjs.H; exports.ADMIN_DASH = _chunkNI434OIIcjs.o; exports.ADMIN_DASH_DATAPOINTS = _chunkNI434OIIcjs.q; exports.ADMIN_DASH_INTEGRATIONS = _chunkNI434OIIcjs.p; exports.AGENTS = _chunk5PTFTN6Jcjs.Hb; exports.AGENT_FILES = _chunk5PTFTN6Jcjs.Kb; exports.AGENT_FUNCTIONS = _chunk5PTFTN6Jcjs.Nb; exports.API_KEYS = _chunk5PTFTN6Jcjs.D; exports.APPROVE_PRIVACY_REQUEST = _chunk5PTFTN6Jcjs.X; exports.ASSESSMENTS = _chunk5PTFTN6Jcjs.fa; exports.ASSESSMENT_SECTION_FIELDS = _chunk5PTFTN6Jcjs.ea; exports.ASSESSMENT_TEMPLATES = _chunk5PTFTN6Jcjs.ja; exports.ASSUME_ROLE = _chunk5PTFTN6Jcjs.Fb; exports.ATTRIBUTES = _chunk5PTFTN6Jcjs.La; exports.ATTRIBUTE_KEYS_REQUESTS = _chunk5PTFTN6Jcjs.M; exports.ATTRIBUTE_VALUES = _chunk5PTFTN6Jcjs.Pa; exports.ActionInput = _chunk5UBGZNDCcjs.G; exports.ActionItemCollectionInput = _chunk5UBGZNDCcjs.R; exports.ActionItemInput = _chunk5UBGZNDCcjs.S; exports.AgentFileInput = _chunk5UBGZNDCcjs.o; exports.AgentFunctionInput = _chunk5UBGZNDCcjs.n; exports.AgentInput = _chunk5UBGZNDCcjs.m; exports.ApiKeyInput = _chunk5UBGZNDCcjs.c; exports.AssessmentAction = _chunk5PTFTN6Jcjs.Rd; exports.AssessmentAnswerOptionInput = _chunk5UBGZNDCcjs.Y; exports.AssessmentDisplayLogicInput = _chunk5UBGZNDCcjs.V; exports.AssessmentInput = _chunk5UBGZNDCcjs.ca; exports.AssessmentNestedRule = _chunk5PTFTN6Jcjs.Qd; exports.AssessmentNestedRuleInput = _chunk5UBGZNDCcjs.U; exports.AssessmentResourceInput = _chunk5UBGZNDCcjs.ba; exports.AssessmentRetentionScheduleInput = _chunk5UBGZNDCcjs.$; exports.AssessmentRiskLogic = _chunk5PTFTN6Jcjs.Td; exports.AssessmentRule = _chunk5PTFTN6Jcjs.Pd; exports.AssessmentRuleInput = _chunk5UBGZNDCcjs.T; exports.AssessmentRuleWithOperands = _chunk5PTFTN6Jcjs.Nd; exports.AssessmentRuleWithoutOperands = _chunk5PTFTN6Jcjs.Od; exports.AssessmentSectionInput = _chunk5UBGZNDCcjs._; exports.AssessmentSectionQuestionInput = _chunk5UBGZNDCcjs.Z; exports.AssessmentTemplateInput = _chunk5UBGZNDCcjs.aa; exports.AttestedExtraIdentifiers = _chunk5PTFTN6Jcjs.qf; exports.AttributeInput = _chunk5UBGZNDCcjs.k; exports.AttributePreview = _chunk5UBGZNDCcjs.l; exports.AttributeValueInput = _chunk5UBGZNDCcjs.j; exports.BLANK = _chunk5PTFTN6Jcjs.dc; exports.BULK_APPLY = _chunk5PTFTN6Jcjs.cc; exports.BULK_REQUEST_FILES = _chunk5PTFTN6Jcjs.Fa; exports.BUSINESS_ENTITIES = _chunk5PTFTN6Jcjs.rb; exports.BusinessEntityInput = _chunk5UBGZNDCcjs.y; exports.CANCEL_PRIVACY_REQUEST = _chunk5PTFTN6Jcjs.Y; exports.CAN_APPLY_IN_BULK = _chunk5PTFTN6Jcjs.hc; exports.CATALOGS = _chunk5PTFTN6Jcjs.r; exports.CHANGE_REQUEST_DATA_SILO_STATUS = _chunk5PTFTN6Jcjs.va; exports.CODE_PACKAGES = _chunk5PTFTN6Jcjs.Q; exports.CONSENT_MANAGER_ANALYTICS_DATA = _chunk5PTFTN6Jcjs.qb; exports.CONSENT_PARTITIONS = _chunk5PTFTN6Jcjs.Ua; exports.COOKIES = _chunk5PTFTN6Jcjs.Za; exports.CREATE_ACTION_ITEMS = _chunk5PTFTN6Jcjs.yb; exports.CREATE_ACTION_ITEM_COLLECTION = _chunk5PTFTN6Jcjs.Ja; exports.CREATE_AGENT = _chunk5PTFTN6Jcjs.Ib; exports.CREATE_AGENT_FILE = _chunk5PTFTN6Jcjs.Lb; exports.CREATE_AGENT_FUNCTION = _chunk5PTFTN6Jcjs.Ob; exports.CREATE_API_KEY = _chunk5PTFTN6Jcjs.E; exports.CREATE_ATTRIBUTE = _chunk5PTFTN6Jcjs.Qa; exports.CREATE_ATTRIBUTE_VALUES = _chunk5PTFTN6Jcjs.Ma; exports.CREATE_BUSINESS_ENTITY = _chunk5PTFTN6Jcjs.sb; exports.CREATE_CODE_PACKAGE = _chunk5PTFTN6Jcjs.S; exports.CREATE_CONSENT_EXPERIENCE = _chunk5PTFTN6Jcjs.ob; exports.CREATE_CONSENT_MANAGER = _chunk5PTFTN6Jcjs.bb; exports.CREATE_CONSENT_PARTITION = _chunk5PTFTN6Jcjs.pb; exports.CREATE_DATA_FLOWS = _chunk5PTFTN6Jcjs.Va; exports.CREATE_DATA_SILOS = _chunk5PTFTN6Jcjs.m; exports.CREATE_DATA_SUBJECT = _chunk5PTFTN6Jcjs.x; exports.CREATE_DATA_SUB_CATEGORY = _chunk5PTFTN6Jcjs.Ub; exports.CREATE_ENRICHER = _chunk5PTFTN6Jcjs.p; exports.CREATE_IDENTIFIER = _chunk5PTFTN6Jcjs.u; exports.CREATE_PREFERENCE_ACCESS_TOKENS = _chunk5PTFTN6Jcjs.G; exports.CREATE_PROCESSING_ACTIVITY = _chunk5PTFTN6Jcjs._b; exports.CREATE_PROCESSING_PURPOSE_SUB_CATEGORY = _chunk5PTFTN6Jcjs.Xb; exports.CREATE_PROMPT = _chunk5PTFTN6Jcjs.pa; exports.CREATE_PROMPT_GROUP = _chunk5PTFTN6Jcjs.ta; exports.CREATE_PROMPT_PARTIAL = _chunk5PTFTN6Jcjs.ra; exports.CREATE_REPOSITORY = _chunk5PTFTN6Jcjs.C; exports.CREATE_SOFTWARE_DEVELOPMENT_KIT = _chunk5PTFTN6Jcjs.P; exports.CREATE_TEAM = _chunk5PTFTN6Jcjs.za; exports.CREATE_TEMPLATE = _chunk5PTFTN6Jcjs.K; exports.CREATE_VENDOR = _chunk5PTFTN6Jcjs.Rb; exports.CachedFileState = _chunk5PTFTN6Jcjs.ic; exports.CachedRequestState = _chunk5PTFTN6Jcjs.kc; exports.CodePackageInput = _chunk5UBGZNDCcjs.D; exports.CodePackageSdk = _chunk5UBGZNDCcjs.C; exports.ColumnName = _chunk5PTFTN6Jcjs.fc; exports.ConsentManageExperienceInput = _chunk5UBGZNDCcjs.K; exports.ConsentManagerInput = _chunk5UBGZNDCcjs.M; exports.ConsentManagerMetricBin = _chunk5PTFTN6Jcjs.Sc; exports.ConsentManagerServiceMetadata = _chunk5UBGZNDCcjs.ka; exports.ConsentPreferenceTopic = _chunk5UBGZNDCcjs.ea; exports.ConsentPreferenceTopicOptionValue = _chunk5UBGZNDCcjs.da; exports.ConsentPurpose = _chunk5UBGZNDCcjs.fa; exports.CookieCsvInput = _chunk5UBGZNDCcjs.ja; exports.CookieInput = _chunk5UBGZNDCcjs.J; exports.CronIdentifier = _chunkCOKHIMLOcjs.a; exports.CronIdentifierPush = _chunkCOKHIMLOcjs.c; exports.DATAPOINT_EXPORT = _chunk5PTFTN6Jcjs.g; exports.DATA_FLOWS = _chunk5PTFTN6Jcjs.Ya; exports.DATA_POINTS = _chunk5PTFTN6Jcjs.a; exports.DATA_POINT_COUNT = _chunk5PTFTN6Jcjs.b; exports.DATA_SILOS = _chunk5PTFTN6Jcjs.i; exports.DATA_SILOS_ENRICHED = _chunk5PTFTN6Jcjs.k; exports.DATA_SILO_EXPORT = _chunk5PTFTN6Jcjs.j; exports.DATA_SUBJECTS = _chunk5PTFTN6Jcjs.w; exports.DATA_SUB_CATEGORIES = _chunk5PTFTN6Jcjs.Tb; exports.DAY_MS = _chunk5PTFTN6Jcjs.dg; exports.DEBUG = _chunkNI434OIIcjs.z; exports.DEFAULT_TRANSCEND_API = _chunkNI434OIIcjs.r; exports.DEFAULT_TRANSCEND_CONSENT_API = _chunkNI434OIIcjs.s; exports.DEFAULT_TRANSCEND_PULL_RESOURCES = _chunk5PTFTN6Jcjs.fe; exports.DELETE_API_KEY = _chunk5PTFTN6Jcjs.F; exports.DELETE_ATTRIBUTE_VALUE = _chunk5PTFTN6Jcjs.Oa; exports.DEPLOYED_PRIVACY_CENTER_URL = _chunk5PTFTN6Jcjs.Ab; exports.DEPLOY_CONSENT_MANAGER = _chunk5PTFTN6Jcjs.eb; exports.DETERMINE_LOGIN_METHOD = _chunk5PTFTN6Jcjs.Db; exports.DataCategoryGuessInput = _chunk5UBGZNDCcjs.h; exports.DataCategoryInput = _chunk5UBGZNDCcjs.q; exports.DataCategoryPreviewInput = _chunk5UBGZNDCcjs.g; exports.DataCategoryRecommendationInput = _chunk5UBGZNDCcjs.i; exports.DataFlowCsvInput = _chunk5UBGZNDCcjs.ia; exports.DataFlowInput = _chunk5UBGZNDCcjs.I; exports.DataSiloInput = _chunk5UBGZNDCcjs.Q; exports.DataSubjectInput = _chunk5UBGZNDCcjs.F; exports.DatapointInput = _chunk5UBGZNDCcjs.w; exports.ENABLED_PLUGINS = _chunk5PTFTN6Jcjs.I; exports.ENRICHERS = _chunk5PTFTN6Jcjs.n; exports.ENTRY_COUNT = _chunk5PTFTN6Jcjs.h; exports.EXPERIENCES = _chunk5PTFTN6Jcjs.Ta; exports.EnrichPrivacyRequest = _chunkGG7P2RO6cjs.b; exports.EnricherInput = _chunk5UBGZNDCcjs.e; exports.FETCH_CONSENT_MANAGER = _chunk5PTFTN6Jcjs.$a; exports.FETCH_CONSENT_MANAGER_ID = _chunk5PTFTN6Jcjs._a; exports.FETCH_CONSENT_MANAGER_THEME = _chunk5PTFTN6Jcjs.ab; exports.FETCH_PRIVACY_CENTER_ID = _chunk5PTFTN6Jcjs.zb; exports.FieldInput = _chunk5UBGZNDCcjs.v; exports.GLOBAL_ACTION_ITEMS = _chunk5PTFTN6Jcjs.wb; exports.GLOBAL_ACTION_ITEM_COLLECTIONS = _chunk5PTFTN6Jcjs.Ia; exports.HOUR_MS = _chunk5PTFTN6Jcjs.eg; exports.IDENTIFIERS = _chunk5PTFTN6Jcjs.s; exports.IDENTIFIER_BLOCK_LIST = _chunk5PTFTN6Jcjs.ec; exports.IMPORT_ONE_TRUST_ASSESSMENT_FORMS = _chunk5PTFTN6Jcjs.ga; exports.INITIALIZER = _chunk5PTFTN6Jcjs.o; exports.IP_ADDRESS_REGEX = _chunk7ZGJ4MJFcjs.f; exports.IS_REQUIRED = _chunk5PTFTN6Jcjs.gc; exports.IdentifierInput = _chunk5UBGZNDCcjs.H; exports.ImportOnetrustAssessmentsInput = _chunk5UBGZNDCcjs.ra; exports.IntlMessage = _chunk5PTFTN6Jcjs.uf; exports.IntlMessageInput = _chunk5UBGZNDCcjs.P; exports.LARGE_LANGUAGE_MODELS = _chunk5PTFTN6Jcjs.Gb; exports.LOGIN = _chunk5PTFTN6Jcjs.Eb; exports.MESSAGES = _chunk5PTFTN6Jcjs.$; exports.NEW_IDENTIFIER_TYPES = _chunk5PTFTN6Jcjs.t; exports.NONE = _chunk5PTFTN6Jcjs.bc; exports.NOTIFY_ADDITIONAL_TIME = _chunk5PTFTN6Jcjs._; exports.ORGANIZATION = _chunk5PTFTN6Jcjs.L; exports.OneTrustFileFormat = _chunkQ7I37FJVcjs.a; exports.OneTrustPullResource = _chunkQ7I37FJVcjs.b; exports.OneTrustPullSource = _chunkQ7I37FJVcjs.c; exports.OpenAIEnabledRoute = _chunk5UBGZNDCcjs.ma; exports.OpenAIEnabledRoutes = _chunk5UBGZNDCcjs.na; exports.OpenAIIntegration = _chunk5UBGZNDCcjs.oa; exports.OpenAIRouteName = _chunkQ7I37FJVcjs.f; exports.POLICIES = _chunk5PTFTN6Jcjs.U; exports.PREFERENCE_TOPICS = _chunk5PTFTN6Jcjs.ia; exports.PRIVACY_CENTER = _chunk5PTFTN6Jcjs.Bb; exports.PROCESSING_ACTIVITIES = _chunk5PTFTN6Jcjs.Zb; exports.PROCESSING_PURPOSE_SUB_CATEGORIES = _chunk5PTFTN6Jcjs.Wb; exports.PROMPTS = _chunk5PTFTN6Jcjs.ka; exports.PROMPTS_WITH_VARIABLES = _chunk5PTFTN6Jcjs.na; exports.PROMPT_GROUPS = _chunk5PTFTN6Jcjs.ma; exports.PROMPT_PARTIALS = _chunk5PTFTN6Jcjs.la; exports.PROMPT_THREADS = _chunk5PTFTN6Jcjs.T; exports.PURPOSES = _chunk5PTFTN6Jcjs.ha; exports.ParsedAttributeInput = _chunk5PTFTN6Jcjs.pc; exports.PartitionInput = _chunk5UBGZNDCcjs.L; exports.PathfinderPolicy = _chunk5UBGZNDCcjs.pa; exports.PathfinderPolicyName = _chunkQ7I37FJVcjs.e; exports.PathfinderPolicyNameC = _chunk5UBGZNDCcjs.la; exports.PathfinderPromptRunMetadata = _chunk5UBGZNDCcjs.qa; exports.PolicyInput = _chunk5UBGZNDCcjs.O; exports.PrivacyCenterInput = _chunk5UBGZNDCcjs.N; exports.PrivacyRequest = _chunk5PTFTN6Jcjs.md; exports.PrivacyRequestInput = _chunk5PTFTN6Jcjs.rf; exports.PrivacyRequestResponse = _chunk5PTFTN6Jcjs.Af; exports.ProcessingActivityInput = _chunk5UBGZNDCcjs.A; exports.ProcessingPurposeInput = _chunk5UBGZNDCcjs.r; exports.ProcessingPurposePreviewInput = _chunk5UBGZNDCcjs.f; exports.PromptAVendorEmailSettings = _chunk5UBGZNDCcjs.x; exports.PromptGroupInput = _chunk5UBGZNDCcjs.u; exports.PromptInput = _chunk5UBGZNDCcjs.s; exports.PromptPartialInput = _chunk5UBGZNDCcjs.t; exports.PurposeMap = _chunkF3BRFYKDcjs.c; exports.REDUCED_REQUESTS_FOR_DATA_SILO_COUNT = _chunk5PTFTN6Jcjs.xa; exports.REMOVE_REQUEST_IDENTIFIERS = _chunk5PTFTN6Jcjs.Ba; exports.REPORT_PROMPT_RUN = _chunk5PTFTN6Jcjs.Ga; exports.REPOSITORIES = _chunk5PTFTN6Jcjs.A; exports.REQUESTS = _chunk5PTFTN6Jcjs.W; exports.REQUEST_DATA_SILOS = _chunk5PTFTN6Jcjs.ua; exports.REQUEST_ENRICHERS = _chunk5PTFTN6Jcjs.ba; exports.REQUEST_FILES = _chunk5PTFTN6Jcjs.Ea; exports.REQUEST_IDENTIFIERS = _chunk5PTFTN6Jcjs.Ca; exports.RETRYABLE_BATCH_STATUSES = _chunkNI434OIIcjs.y; exports.RETRY_REQUEST_DATA_SILO = _chunk5PTFTN6Jcjs.wa; exports.RETRY_REQUEST_ENRICHER = _chunk5PTFTN6Jcjs.ca; exports.RateCounter = _chunk5PTFTN6Jcjs.$f; exports.RegionInput = _chunk5UBGZNDCcjs.z; exports.RepositoryInput = _chunk5UBGZNDCcjs.E; exports.RequestFileMetadata = _chunk5PTFTN6Jcjs.vf; exports.RequestFileMetadataResponse = _chunk5PTFTN6Jcjs.wf; exports.RequestIdentifiersResponse = _chunk5PTFTN6Jcjs.jd; exports.RequestPurposeTrigger = _chunk5PTFTN6Jcjs.ld; exports.RiskAssignmentInput = _chunk5UBGZNDCcjs.W; exports.RiskLogicInput = _chunk5UBGZNDCcjs.X; exports.SCOPES_BY_TITLE = _chunkNI434OIIcjs.w; exports.SCOPE_TITLES = _chunkNI434OIIcjs.x; exports.SET_RESOURCE_ATTRIBUTES = _chunk5PTFTN6Jcjs.Sa; exports.SKIP_REQUEST_ENRICHER = _chunk5PTFTN6Jcjs.da; exports.SOFTWARE_DEVELOPMENT_KITS = _chunk5PTFTN6Jcjs.N; exports.SOMBRA_VERSION = _chunk5PTFTN6Jcjs.ac; exports.SUB_DATA_POINTS = _chunk5PTFTN6Jcjs.c; exports.SUB_DATA_POINTS_COUNT = _chunk5PTFTN6Jcjs.d; exports.SUB_DATA_POINTS_WITH_GUESSES = _chunk5PTFTN6Jcjs.e; exports.SYNC_ATTRIBUTE_TYPES = _chunk5PTFTN6Jcjs.Mc; exports.SoftwareDevelopmentKitInput = _chunk5UBGZNDCcjs.B; exports.StoredApiKey = _chunk5UBGZNDCcjs.ha; exports.SuccessfulRequest = _chunk5PTFTN6Jcjs.jc; exports.TEAMS = _chunk5PTFTN6Jcjs.ya; exports.TEMPLATES = _chunk5PTFTN6Jcjs.J; exports.TOGGLE_CONSENT_PRECEDENCE = _chunk5PTFTN6Jcjs.lb; exports.TOGGLE_DATA_SUBJECT = _chunk5PTFTN6Jcjs.z; exports.TOGGLE_TELEMETRY_PARTITION_STRATEGY = _chunk5PTFTN6Jcjs.kb; exports.TOGGLE_UNKNOWN_COOKIE_POLICY = _chunk5PTFTN6Jcjs.jb; exports.TOGGLE_UNKNOWN_REQUEST_POLICY = _chunk5PTFTN6Jcjs.ib; exports.TR_PULL_RESOURCE_SCOPE_MAP = _chunkNI434OIIcjs.u; exports.TR_PUSH_RESOURCE_SCOPE_MAP = _chunkNI434OIIcjs.t; exports.TR_YML_RESOURCE_TO_FIELD_NAME = _chunkNI434OIIcjs.v; exports.TeamInput = _chunk5UBGZNDCcjs.d; exports.TemplateInput = _chunk5UBGZNDCcjs.a; exports.TranscendInput = _chunk5UBGZNDCcjs.ga; exports.TranscendPromptManager = B; exports.TranscendPullResource = _chunkQ7I37FJVcjs.d; exports.UPDATE_ACTION = _chunk5PTFTN6Jcjs.vb; exports.UPDATE_ACTION_ITEMS = _chunk5PTFTN6Jcjs.xb; exports.UPDATE_ACTION_ITEM_COLLECTION = _chunk5PTFTN6Jcjs.Ka; exports.UPDATE_AGENTS = _chunk5PTFTN6Jcjs.Jb; exports.UPDATE_AGENT_FILES = _chunk5PTFTN6Jcjs.Mb; exports.UPDATE_AGENT_FUNCTIONS = _chunk5PTFTN6Jcjs.Pb; exports.UPDATE_ATTRIBUTE = _chunk5PTFTN6Jcjs.Ra; exports.UPDATE_ATTRIBUTE_VALUES = _chunk5PTFTN6Jcjs.Na; exports.UPDATE_BUSINESS_ENTITIES = _chunk5PTFTN6Jcjs.tb; exports.UPDATE_CODE_PACKAGES = _chunk5PTFTN6Jcjs.R; exports.UPDATE_CONSENT_EXPERIENCE = _chunk5PTFTN6Jcjs.nb; exports.UPDATE_CONSENT_MANAGER_DOMAINS = _chunk5PTFTN6Jcjs.fb; exports.UPDATE_CONSENT_MANAGER_PARTITION = _chunk5PTFTN6Jcjs.gb; exports.UPDATE_CONSENT_MANAGER_THEME = _chunk5PTFTN6Jcjs.mb; exports.UPDATE_CONSENT_MANAGER_TO_LATEST = _chunk5PTFTN6Jcjs.db; exports.UPDATE_CONSENT_MANAGER_VERSION = _chunk5PTFTN6Jcjs.cb; exports.UPDATE_DATA_FLOWS = _chunk5PTFTN6Jcjs.Wa; exports.UPDATE_DATA_SILOS = _chunk5PTFTN6Jcjs.l; exports.UPDATE_DATA_SUBJECT = _chunk5PTFTN6Jcjs.y; exports.UPDATE_DATA_SUB_CATEGORIES = _chunk5PTFTN6Jcjs.Vb; exports.UPDATE_ENRICHER = _chunk5PTFTN6Jcjs.q; exports.UPDATE_IDENTIFIER = _chunk5PTFTN6Jcjs.v; exports.UPDATE_INTL_MESSAGES = _chunk5PTFTN6Jcjs.aa; exports.UPDATE_LOAD_OPTIONS = _chunk5PTFTN6Jcjs.hb; exports.UPDATE_OR_CREATE_COOKIES = _chunk5PTFTN6Jcjs.Xa; exports.UPDATE_OR_CREATE_DATA_POINT = _chunk5PTFTN6Jcjs.f; exports.UPDATE_POLICIES = _chunk5PTFTN6Jcjs.V; exports.UPDATE_PRIVACY_CENTER = _chunk5PTFTN6Jcjs.Cb; exports.UPDATE_PRIVACY_REQUEST = _chunk5PTFTN6Jcjs.Z; exports.UPDATE_PROCESSING_ACTIVITIES = _chunk5PTFTN6Jcjs.$b; exports.UPDATE_PROCESSING_PURPOSE_SUB_CATEGORIES = _chunk5PTFTN6Jcjs.Yb; exports.UPDATE_PROMPTS = _chunk5PTFTN6Jcjs.oa; exports.UPDATE_PROMPT_GROUPS = _chunk5PTFTN6Jcjs.sa; exports.UPDATE_PROMPT_PARTIALS = _chunk5PTFTN6Jcjs.qa; exports.UPDATE_REPOSITORIES = _chunk5PTFTN6Jcjs.B; exports.UPDATE_SOFTWARE_DEVELOPMENT_KITS = _chunk5PTFTN6Jcjs.O; exports.UPDATE_TEAM = _chunk5PTFTN6Jcjs.Aa; exports.UPDATE_VENDORS = _chunk5PTFTN6Jcjs.Sb; exports.USERS = _chunk5PTFTN6Jcjs.Da; exports.USP_STRING_REGEX = _chunkF3BRFYKDcjs.b; exports.VARIABLE_PARAMETERS_NAME = _chunkRE5YALEOcjs.b; exports.VARIABLE_PARAMETERS_REGEXP = _chunkRE5YALEOcjs.a; exports.VENDORS = _chunk5PTFTN6Jcjs.Qb; exports.VendorInput = _chunk5UBGZNDCcjs.p; exports.WebhookHeader = _chunk5UBGZNDCcjs.b; exports.addDaysUtc = _chunk5PTFTN6Jcjs.jg; exports.addMessagesToPromptRun = _chunk5PTFTN6Jcjs.uc; exports.addMs = _chunk5PTFTN6Jcjs.ig; exports.appendCsvSync = _chunkLR3CPNDMcjs.b; exports.approvePrivacyRequests = _chunk5PTFTN6Jcjs.Cf; exports.assumeRole = _chunk5PTFTN6Jcjs.Kd; exports.buildAIIntegrationType = _chunkLCDYXJN6cjs.b; exports.buildEnabledRouteType = _chunkLCDYXJN6cjs.a; exports.buildTranscendGraphQLClient = _chunk5PTFTN6Jcjs.wc; exports.buildTranscendGraphQLClientGeneric = _chunk5PTFTN6Jcjs.vc; exports.buildXdiSyncEndpoint = _chunk7ZGJ4MJFcjs.g; exports.bulkRestartRequests = _chunk5PTFTN6Jcjs.Kf; exports.bulkRetryEnrichers = _chunk5PTFTN6Jcjs.Mf; exports.cancelPrivacyRequests = _chunk5PTFTN6Jcjs.Ff; exports.clampPageSize = _chunk5PTFTN6Jcjs.fg; exports.collectParquetFilesOrExit = _chunk5PTFTN6Jcjs.bg; exports.consentManagersToBusinessEntities = _chunk7ZGJ4MJFcjs.h; exports.convertToDataSubjectAllowlist = _chunk5PTFTN6Jcjs.yd; exports.convertToDataSubjectBlockList = _chunk5PTFTN6Jcjs.xd; exports.createActionItemCollection = _chunk5PTFTN6Jcjs.le; exports.createActionItems = _chunk5PTFTN6Jcjs.oe; exports.createAgent = _chunk5PTFTN6Jcjs.xe; exports.createAgentFile = _chunk5PTFTN6Jcjs.re; exports.createAgentFunction = _chunk5PTFTN6Jcjs.ue; exports.createApiKey = _chunk5PTFTN6Jcjs.Ld; exports.createBusinessEntity = _chunk5PTFTN6Jcjs.Be; exports.createCodePackage = _chunk5PTFTN6Jcjs.Ke; exports.createConsentToken = _chunkF3BRFYKDcjs.a; exports.createDataCategory = _chunk5PTFTN6Jcjs.Re; exports.createDataFlows = _chunk5PTFTN6Jcjs.Ve; exports.createPreferenceAccessTokens = _chunk5PTFTN6Jcjs.Jc; exports.createProcessingPurpose = _chunk5PTFTN6Jcjs.df; exports.createPrompt = _chunk5PTFTN6Jcjs.gf; exports.createRegexForTag = j; exports.createRepository = _chunk5PTFTN6Jcjs.He; exports.createSoftwareDevelopmentKit = _chunk5PTFTN6Jcjs.Ee; exports.createSombraGotInstance = _chunk5PTFTN6Jcjs.xc; exports.createTranscendConsentGotInstance = _chunk5PTFTN6Jcjs.yc; exports.createVendor = _chunk5PTFTN6Jcjs.jf; exports.defineTranscendPrompts = Wm; exports.deleteApiKey = _chunk5PTFTN6Jcjs.Md; exports.deployConsentManager = _chunk5PTFTN6Jcjs.zc; exports.description = _chunkNI434OIIcjs.l; exports.domainToHost = _chunk7ZGJ4MJFcjs.e; exports.downloadPrivacyRequestFiles = _chunk5PTFTN6Jcjs.zf; exports.enrichPrivacyRequest = _chunkGG7P2RO6cjs.c; exports.ensureAllDataSubjectsExist = _chunk5PTFTN6Jcjs.wd; exports.extractClientError = _chunk5PTFTN6Jcjs.Hf; exports.extractErrorMessage = _chunk5PTFTN6Jcjs.Wf; exports.fetchActiveSiloDiscoPlugin = _chunk5PTFTN6Jcjs.Bc; exports.fetchAllActionItems = _chunk5PTFTN6Jcjs.Cc; exports.fetchAllActions = _chunk5PTFTN6Jcjs.Dc; exports.fetchAllAgentFiles = _chunk5PTFTN6Jcjs.Ec; exports.fetchAllAgentFunctions = _chunk5PTFTN6Jcjs.Fc; exports.fetchAllAgents = _chunk5PTFTN6Jcjs.Gc; exports.fetchAllApiKeys = _chunk5PTFTN6Jcjs.rd; exports.fetchAllAssessmentTemplates = _chunk5PTFTN6Jcjs.Ic; exports.fetchAllAssessments = _chunk5PTFTN6Jcjs.Hc; exports.fetchAllAttributeValues = _chunk5PTFTN6Jcjs.Lc; exports.fetchAllAttributes = _chunk5PTFTN6Jcjs.Nc; exports.fetchAllBusinessEntities = _chunk5PTFTN6Jcjs.Oc; exports.fetchAllCatalogs = _chunk5PTFTN6Jcjs.td; exports.fetchAllCookies = _chunk5PTFTN6Jcjs.Vc; exports.fetchAllDataCategories = _chunk5PTFTN6Jcjs.Wc; exports.fetchAllDataFlows = _chunk5PTFTN6Jcjs.Xc; exports.fetchAllDataPoints = _chunk5PTFTN6Jcjs.Xd; exports.fetchAllDataSilos = _chunk5PTFTN6Jcjs.Vd; exports.fetchAllDataSubjects = _chunk5PTFTN6Jcjs.vd; exports.fetchAllEnrichers = _chunk5PTFTN6Jcjs.$d; exports.fetchAllIdentifiers = _chunk5PTFTN6Jcjs.lg; exports.fetchAllMessages = _chunk5PTFTN6Jcjs.Yc; exports.fetchAllPolicies = _chunk5PTFTN6Jcjs.$c; exports.fetchAllPreferenceTopics = _chunk5PTFTN6Jcjs.bd; exports.fetchAllPrivacyCenters = _chunk5PTFTN6Jcjs.cd; exports.fetchAllProcessingActivities = _chunk5PTFTN6Jcjs.dd; exports.fetchAllProcessingPurposes = _chunk5PTFTN6Jcjs.ed; exports.fetchAllPromptGroups = _chunk5PTFTN6Jcjs.zd; exports.fetchAllPromptPartials = _chunk5PTFTN6Jcjs.Ad; exports.fetchAllPromptThreads = _chunk5PTFTN6Jcjs.Dd; exports.fetchAllPrompts = _chunk5PTFTN6Jcjs.Bd; exports.fetchAllPurposes = _chunk5PTFTN6Jcjs.fd; exports.fetchAllPurposesAndPreferences = _chunk5PTFTN6Jcjs.gd; exports.fetchAllRequestAttributeKeys = _chunk5PTFTN6Jcjs.Kc; exports.fetchAllRequestEnrichers = _chunk5PTFTN6Jcjs.hd; exports.fetchAllRequestIdentifierMetadata = _chunk5PTFTN6Jcjs.id; exports.fetchAllRequestIdentifiers = _chunk5PTFTN6Jcjs.kd; exports.fetchAllRequests = _chunk5PTFTN6Jcjs.nd; exports.fetchAllSubDataPoints = _chunk5PTFTN6Jcjs.Wd; exports.fetchAllTeams = _chunk5PTFTN6Jcjs.od; exports.fetchAllTemplates = _chunk5PTFTN6Jcjs.be; exports.fetchAllUsers = _chunk5PTFTN6Jcjs.pd; exports.fetchAllVendors = _chunk5PTFTN6Jcjs.qd; exports.fetchAndIndexCatalogs = _chunk5PTFTN6Jcjs.ud; exports.fetchApiKeys = _chunk5PTFTN6Jcjs.sd; exports.fetchConsentManager = _chunk5PTFTN6Jcjs.Pc; exports.fetchConsentManagerAnalyticsData = _chunk5PTFTN6Jcjs.Tc; exports.fetchConsentManagerExperiences = _chunk5PTFTN6Jcjs.Rc; exports.fetchConsentManagerId = _chunk5PTFTN6Jcjs.Qc; exports.fetchConsentManagerTheme = _chunk5PTFTN6Jcjs.Uc; exports.fetchEnrichedDataSilos = _chunk5PTFTN6Jcjs.Yd; exports.fetchIdentifiersAndCreateMissing = _chunk5PTFTN6Jcjs.mg; exports.fetchPartitions = _chunk5PTFTN6Jcjs.de; exports.fetchPrivacyCenterId = _chunk5PTFTN6Jcjs._c; exports.fetchPrivacyCenterUrl = _chunk5PTFTN6Jcjs.Zc; exports.fetchPromptsWithVariables = _chunk5PTFTN6Jcjs.Cd; exports.fetchRequestDataSilo = _chunk5PTFTN6Jcjs.Gd; exports.fetchRequestDataSiloActiveCount = _chunk5PTFTN6Jcjs.Hd; exports.fetchRequestDataSilos = _chunk5PTFTN6Jcjs.Fd; exports.fetchRequestDataSilosCount = _chunk5PTFTN6Jcjs.Ed; exports.fetchRequestFilesForRequest = _chunk5PTFTN6Jcjs.Id; exports.filterNullishValuesFromObject = Ym; exports.filterRows = _chunk5PTFTN6Jcjs.tc; exports.formatAttributeValues = _chunk5PTFTN6Jcjs.ad; exports.fuzzyMatchColumns = _chunk5PTFTN6Jcjs.mc; exports.fuzzySearch = _chunk5PTFTN6Jcjs.lc; exports.generateCrossAccountApiKeys = _chunkMOWFESXNcjs.a; exports.getErrorStatus = _chunk5PTFTN6Jcjs.Vf; exports.getFileMetadataForPrivacyRequests = _chunk5PTFTN6Jcjs.xf; exports.getGitFilesThatChanged = sc; exports.getUniqueValuesForColumn = _chunk5PTFTN6Jcjs.sc; exports.inquirerAutoComplete = _chunk5PTFTN6Jcjs.Tf; exports.inquirerConfirmBoolean = _chunk5PTFTN6Jcjs.Rf; exports.inquirerConfirmText = _chunk5PTFTN6Jcjs.Sf; exports.limitRecords = _chunk5PTFTN6Jcjs._f; exports.listDirectories = _chunkMOWFESXNcjs.d; exports.listFiles = _chunkMOWFESXNcjs.c; exports.loginUser = _chunk5PTFTN6Jcjs.Jd; exports.makeGraphQLRequest = _chunk5PTFTN6Jcjs.kg; exports.mapColumnsToAttributes = _chunk5PTFTN6Jcjs.Gf; exports.mapColumnsToIdentifiers = _chunk5PTFTN6Jcjs.Ef; exports.mapCsvColumnsToApi = _chunk5PTFTN6Jcjs.of; exports.mapCsvRowsToRequestInputs = _chunk5PTFTN6Jcjs.tf; exports.mapEnumValues = _chunk5PTFTN6Jcjs.nc; exports.mapRequestEnumValues = _chunk5PTFTN6Jcjs.pf; exports.markCronIdentifierCompleted = _chunkCOKHIMLOcjs.d; exports.markRequestDataSiloIdsCompleted = _chunkCOKHIMLOcjs.f; exports.markSilentPrivacyRequests = _chunk5PTFTN6Jcjs.nf; exports.mergeTranscendInputs = _chunkIBTP5OXEcjs.a; exports.name = _chunkNI434OIIcjs.n; exports.normalizeIdentifierValue = _chunk5PTFTN6Jcjs.sf; exports.notifyPrivacyRequestsAdditionalTime = _chunk5PTFTN6Jcjs.Df; exports.parquetToCsvOneFile = _chunk5PTFTN6Jcjs.cg; exports.parseAssessmentDisplayLogic = _chunk5PTFTN6Jcjs.Sd; exports.parseAssessmentRiskLogic = _chunk5PTFTN6Jcjs.Ud; exports.parseAttributesFromString = _chunk5PTFTN6Jcjs.qc; exports.parseFilePath = _chunkLR3CPNDMcjs.d; exports.parseVariablesFromString = _chunk5PTFTN6Jcjs.Uf; exports.pullAllDatapoints = _chunkKYVDLURLcjs.a; exports.pullChunkedCustomSiloOutstandingIdentifiers = _chunkCOKHIMLOcjs.g; exports.pullConsentManagerMetrics = _chunk7ZGJ4MJFcjs.d; exports.pullCronPageOfIdentifiers = _chunkCOKHIMLOcjs.b; exports.pullManualEnrichmentIdentifiersToCsv = _chunkGG7P2RO6cjs.a; exports.pullPrivacyRequests = _chunk5PTFTN6Jcjs.Of; exports.pullTranscendConfiguration = _chunk5PTFTN6Jcjs.ge; exports.pullUnstructuredSubDataPointRecommendations = _chunkKYVDLURLcjs.b; exports.pushCronIdentifiersFromCsv = _chunkCOKHIMLOcjs.e; exports.pushManualEnrichmentIdentifiersFromCsv = _chunkGG7P2RO6cjs.d; exports.readCsv = _chunk5PTFTN6Jcjs.rc; exports.readSafe = _chunk5PTFTN6Jcjs.ag; exports.readTranscendYaml = _chunkRE5YALEOcjs.d; exports.removeLinks = Km; exports.removeUnverifiedRequestIdentifiers = _chunk5PTFTN6Jcjs.Qf; exports.replaceVariablesInYaml = _chunkRE5YALEOcjs.c; exports.reportPromptRun = _chunk5PTFTN6Jcjs.he; exports.restartPrivacyRequest = _chunk5PTFTN6Jcjs.Jf; exports.retryRequestDataSilos = _chunk5PTFTN6Jcjs.Nf; exports.retryRequestEnricher = _chunk5PTFTN6Jcjs.ie; exports.retrySamePromise = _chunk5PTFTN6Jcjs.Zf; exports.setResourceAttributes = _chunk5PTFTN6Jcjs.je; exports.skipPreflightJobs = _chunk5PTFTN6Jcjs.Lf; exports.skipRequestDataSilos = _chunk5PTFTN6Jcjs.Pf; exports.sleepPromise = _chunk5PTFTN6Jcjs.Xf; exports.splitCsvToList = _chunk5PTFTN6Jcjs.oc; exports.splitInHalf = _chunk5PTFTN6Jcjs.Yf; exports.startOfHour = _chunk5PTFTN6Jcjs.hg; exports.startOfUtcDay = _chunk5PTFTN6Jcjs.gg; exports.streamPrivacyRequestFiles = _chunk5PTFTN6Jcjs.yf; exports.submitPrivacyRequest = _chunk5PTFTN6Jcjs.Bf; exports.syncAction = _chunk5PTFTN6Jcjs.ke; exports.syncActionItemCollections = _chunk5PTFTN6Jcjs.ne; exports.syncActionItems = _chunk5PTFTN6Jcjs.qe; exports.syncAgentFiles = _chunk5PTFTN6Jcjs.te; exports.syncAgentFunctions = _chunk5PTFTN6Jcjs.we; exports.syncAgents = _chunk5PTFTN6Jcjs.ze; exports.syncAttribute = _chunk5PTFTN6Jcjs.Ae; exports.syncBusinessEntities = _chunk5PTFTN6Jcjs.De; exports.syncCodePackages = _chunk5PTFTN6Jcjs.Me; exports.syncConfigurationToTranscend = _chunk5PTFTN6Jcjs.ng; exports.syncConsentManager = _chunk5PTFTN6Jcjs.Oe; exports.syncConsentManagerExperiences = _chunk5PTFTN6Jcjs.Ne; exports.syncCookies = _chunk5PTFTN6Jcjs.Qe; exports.syncDataCategories = _chunk5PTFTN6Jcjs.Te; exports.syncDataFlows = _chunk5PTFTN6Jcjs.We; exports.syncDataSiloDependencies = _chunk5PTFTN6Jcjs._d; exports.syncDataSilos = _chunk5PTFTN6Jcjs.Zd; exports.syncDataSubject = _chunk5PTFTN6Jcjs.Xe; exports.syncEnricher = _chunk5PTFTN6Jcjs.ae; exports.syncIdentifier = _chunk5PTFTN6Jcjs.Ye; exports.syncIntlMessages = _chunk5PTFTN6Jcjs._e; exports.syncPartitions = _chunk5PTFTN6Jcjs.ee; exports.syncPolicies = _chunk5PTFTN6Jcjs.af; exports.syncPrivacyCenter = _chunk5PTFTN6Jcjs.bf; exports.syncProcessingActivities = _chunk5PTFTN6Jcjs.cf; exports.syncProcessingPurposes = _chunk5PTFTN6Jcjs.ff; exports.syncPrompts = _chunk5PTFTN6Jcjs.if; exports.syncRepositories = _chunk5PTFTN6Jcjs.Je; exports.syncSoftwareDevelopmentKits = _chunk5PTFTN6Jcjs.Ge; exports.syncTemplate = _chunk5PTFTN6Jcjs.ce; exports.syncVendors = _chunk5PTFTN6Jcjs.lf; exports.updateActionItem = _chunk5PTFTN6Jcjs.pe; exports.updateActionItemCollection = _chunk5PTFTN6Jcjs.me; exports.updateAgentFiles = _chunk5PTFTN6Jcjs.se; exports.updateAgentFunctions = _chunk5PTFTN6Jcjs.ve; exports.updateAgents = _chunk5PTFTN6Jcjs.ye; exports.updateBusinessEntities = _chunk5PTFTN6Jcjs.Ce; exports.updateCodePackages = _chunk5PTFTN6Jcjs.Le; exports.updateConsentManagerToLatest = _chunk5PTFTN6Jcjs.Ac; exports.updateConsentManagerVersionToLatest = _chunk7ZGJ4MJFcjs.a; exports.updateDataCategories = _chunk5PTFTN6Jcjs.Se; exports.updateDataFlows = _chunk5PTFTN6Jcjs.Ue; exports.updateIntlMessages = _chunk5PTFTN6Jcjs.Ze; exports.updateOrCreateCookies = _chunk5PTFTN6Jcjs.Pe; exports.updatePolicies = _chunk5PTFTN6Jcjs.$e; exports.updateProcessingPurposes = _chunk5PTFTN6Jcjs.ef; exports.updatePrompts = _chunk5PTFTN6Jcjs.hf; exports.updateRepositories = _chunk5PTFTN6Jcjs.Ie; exports.updateSoftwareDevelopmentKits = _chunk5PTFTN6Jcjs.Fe; exports.updateVendors = _chunk5PTFTN6Jcjs.kf; exports.uploadConsents = _chunkF3BRFYKDcjs.d; exports.uploadCookiesFromCsv = _chunk7ZGJ4MJFcjs.c; exports.uploadDataFlowsFromCsv = _chunk7ZGJ4MJFcjs.b; exports.uploadPrivacyRequestsFromCsv = _chunk5PTFTN6Jcjs.If; exports.uploadSiloDiscoveryResults = _chunk5PTFTN6Jcjs.mf; exports.validateTranscendAuth = _chunkMOWFESXNcjs.b; exports.version = _chunkNI434OIIcjs.m; exports.writeCsv = _chunkLR3CPNDMcjs.c; exports.writeCsvSync = _chunkLR3CPNDMcjs.a; exports.writeLargeCsv = _chunkLR3CPNDMcjs.e; exports.writeTranscendYaml = _chunkRE5YALEOcjs.e;
|
|
5
5
|
//# sourceMappingURL=index.cjs.map
|