@transcend-io/cli 8.30.1 → 8.31.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- 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-LRADV5OI.cjs → chunk-52MA7ZLS.cjs} +2 -2
- package/dist/{chunk-LRADV5OI.cjs.map → chunk-52MA7ZLS.cjs.map} +1 -1
- package/dist/{chunk-HTS7K7QD.cjs → chunk-55B57ZAY.cjs} +4 -4
- package/dist/{chunk-HTS7K7QD.cjs.map → chunk-55B57ZAY.cjs.map} +1 -1
- package/dist/{chunk-LZA5Y4SB.cjs → chunk-7H4ALAHC.cjs} +4 -4
- package/dist/{chunk-LZA5Y4SB.cjs.map → chunk-7H4ALAHC.cjs.map} +1 -1
- package/dist/{chunk-T3BBQIRY.cjs → chunk-7PB6LVSE.cjs} +2 -2
- package/dist/chunk-7PB6LVSE.cjs.map +1 -0
- package/dist/{chunk-LU3DKRNK.cjs → chunk-ABKDAPPR.cjs} +2 -2
- package/dist/{chunk-LU3DKRNK.cjs.map → chunk-ABKDAPPR.cjs.map} +1 -1
- package/dist/{chunk-XEXS6R45.cjs → chunk-ALOB5SWZ.cjs} +2 -2
- package/dist/{chunk-XEXS6R45.cjs.map → chunk-ALOB5SWZ.cjs.map} +1 -1
- package/dist/{chunk-SPN6SWMF.cjs → chunk-DIB7IOEX.cjs} +2 -2
- package/dist/{chunk-SPN6SWMF.cjs.map → chunk-DIB7IOEX.cjs.map} +1 -1
- package/dist/{chunk-RAA5VWQS.cjs → chunk-G522ZIHS.cjs} +2 -2
- package/dist/{chunk-RAA5VWQS.cjs.map → chunk-G522ZIHS.cjs.map} +1 -1
- package/dist/{chunk-UXFL56TL.cjs → chunk-HCEZRZHV.cjs} +6 -6
- package/dist/{chunk-UXFL56TL.cjs.map → chunk-HCEZRZHV.cjs.map} +1 -1
- package/dist/{chunk-BQSBPO63.cjs → chunk-JH5HRI6D.cjs} +3 -3
- package/dist/{chunk-BQSBPO63.cjs.map → chunk-JH5HRI6D.cjs.map} +1 -1
- package/dist/{chunk-WURUFVEG.cjs → chunk-M3Y6JH6I.cjs} +2 -2
- package/dist/{chunk-WURUFVEG.cjs.map → chunk-M3Y6JH6I.cjs.map} +1 -1
- package/dist/{chunk-FIJLHU4Q.cjs → chunk-M7OVJJGB.cjs} +4 -4
- package/dist/{chunk-FIJLHU4Q.cjs.map → chunk-M7OVJJGB.cjs.map} +1 -1
- package/dist/{chunk-6KRRRMY2.cjs → chunk-MXT7N555.cjs} +21 -21
- package/dist/{chunk-6KRRRMY2.cjs.map → chunk-MXT7N555.cjs.map} +1 -1
- package/dist/{chunk-YYDWSYMF.cjs → chunk-NC6VWOMN.cjs} +2 -2
- package/dist/{chunk-YYDWSYMF.cjs.map → chunk-NC6VWOMN.cjs.map} +1 -1
- package/dist/{chunk-Z2DYKPKM.cjs → chunk-Q2RJZGYW.cjs} +2 -2
- package/dist/{chunk-Z2DYKPKM.cjs.map → chunk-Q2RJZGYW.cjs.map} +1 -1
- package/dist/{chunk-3FIDP42N.cjs → chunk-SKOTYI3A.cjs} +2 -2
- package/dist/chunk-SKOTYI3A.cjs.map +1 -0
- package/dist/{chunk-FHUHBSLE.cjs → chunk-TSJTXXLZ.cjs} +2 -2
- package/dist/{chunk-FHUHBSLE.cjs.map → chunk-TSJTXXLZ.cjs.map} +1 -1
- package/dist/{chunk-OMVVROKB.cjs → chunk-XXFLFF7Q.cjs} +2 -2
- package/dist/{chunk-OMVVROKB.cjs.map → chunk-XXFLFF7Q.cjs.map} +1 -1
- package/dist/impl-4CWCLU5Z.cjs +2 -0
- package/dist/{impl-J62VZXDY.cjs.map → impl-4CWCLU5Z.cjs.map} +1 -1
- package/dist/{impl-BSIFPZLW.cjs → impl-542SIWQ2.cjs} +2 -2
- package/dist/{impl-BSIFPZLW.cjs.map → impl-542SIWQ2.cjs.map} +1 -1
- package/dist/impl-55GTRVMZ.cjs +2 -0
- package/dist/{impl-FKXR7U4X.cjs.map → impl-55GTRVMZ.cjs.map} +1 -1
- package/dist/{impl-KBVYLYIZ.cjs → impl-5VMEZB7F.cjs} +2 -2
- package/dist/{impl-KBVYLYIZ.cjs.map → impl-5VMEZB7F.cjs.map} +1 -1
- package/dist/{impl-2X2FNMJR.cjs → impl-6ANYWCOV.cjs} +2 -2
- package/dist/{impl-2X2FNMJR.cjs.map → impl-6ANYWCOV.cjs.map} +1 -1
- package/dist/{impl-VBE4QUJN.cjs → impl-A7XL5O4W.cjs} +2 -2
- package/dist/{impl-VBE4QUJN.cjs.map → impl-A7XL5O4W.cjs.map} +1 -1
- package/dist/{impl-COZ7ADUO.cjs → impl-BQNXMBQ4.cjs} +4 -4
- package/dist/{impl-COZ7ADUO.cjs.map → impl-BQNXMBQ4.cjs.map} +1 -1
- package/dist/{impl-3BTFEGV4.cjs → impl-CFYRFABZ.cjs} +5 -5
- package/dist/{impl-3BTFEGV4.cjs.map → impl-CFYRFABZ.cjs.map} +1 -1
- package/dist/{impl-T7EOUHYL.cjs → impl-D2HENZNO.cjs} +2 -2
- package/dist/{impl-T7EOUHYL.cjs.map → impl-D2HENZNO.cjs.map} +1 -1
- package/dist/{impl-IFHM4YOL.cjs → impl-GEEPG7OH.cjs} +2 -2
- package/dist/{impl-IFHM4YOL.cjs.map → impl-GEEPG7OH.cjs.map} +1 -1
- package/dist/{impl-EE3BM53W.cjs → impl-GRGWQUU7.cjs} +2 -2
- package/dist/{impl-EE3BM53W.cjs.map → impl-GRGWQUU7.cjs.map} +1 -1
- package/dist/{impl-Z3EAXTJV.cjs → impl-JFYHXSOV.cjs} +2 -2
- package/dist/{impl-Z3EAXTJV.cjs.map → impl-JFYHXSOV.cjs.map} +1 -1
- package/dist/impl-JQVCW52V.cjs +2 -0
- package/dist/{impl-RTZTJWMX.cjs.map → impl-JQVCW52V.cjs.map} +1 -1
- package/dist/impl-JSXYZHX4.cjs +2 -0
- package/dist/{impl-VHY4ALCB.cjs.map → impl-JSXYZHX4.cjs.map} +1 -1
- package/dist/{impl-Q5WCETP4.cjs → impl-K2D3GTZG.cjs} +2 -2
- package/dist/{impl-Q5WCETP4.cjs.map → impl-K2D3GTZG.cjs.map} +1 -1
- package/dist/{impl-463J7BYV.cjs → impl-KQYINEBI.cjs} +2 -2
- package/dist/{impl-463J7BYV.cjs.map → impl-KQYINEBI.cjs.map} +1 -1
- package/dist/impl-KRJNBGJ6.cjs +2 -0
- package/dist/{impl-7BAUUGZT.cjs.map → impl-KRJNBGJ6.cjs.map} +1 -1
- package/dist/{impl-5WHENVVS.cjs → impl-NK42TN4C.cjs} +2 -2
- package/dist/{impl-5WHENVVS.cjs.map → impl-NK42TN4C.cjs.map} +1 -1
- package/dist/{impl-5GGFGRTD.cjs → impl-OQAP7YDW.cjs} +2 -2
- package/dist/{impl-5GGFGRTD.cjs.map → impl-OQAP7YDW.cjs.map} +1 -1
- package/dist/{impl-T5V56TM5.cjs → impl-PHBUSAGS.cjs} +2 -2
- package/dist/{impl-T5V56TM5.cjs.map → impl-PHBUSAGS.cjs.map} +1 -1
- package/dist/{impl-XAZ6YY3R.cjs → impl-PKWSORXX.cjs} +2 -2
- package/dist/{impl-XAZ6YY3R.cjs.map → impl-PKWSORXX.cjs.map} +1 -1
- package/dist/{impl-4CA7VK4U.cjs → impl-PWYKAVK4.cjs} +2 -2
- package/dist/{impl-4CA7VK4U.cjs.map → impl-PWYKAVK4.cjs.map} +1 -1
- package/dist/{impl-UMVE7IPO.cjs → impl-Q3P6DGHG.cjs} +2 -2
- package/dist/{impl-UMVE7IPO.cjs.map → impl-Q3P6DGHG.cjs.map} +1 -1
- package/dist/{impl-ZJ2L727T.cjs → impl-RD5UOJY6.cjs} +2 -2
- package/dist/{impl-ZJ2L727T.cjs.map → impl-RD5UOJY6.cjs.map} +1 -1
- package/dist/{impl-U76PZBUK.cjs → impl-REKQO7ZI.cjs} +2 -2
- package/dist/{impl-U76PZBUK.cjs.map → impl-REKQO7ZI.cjs.map} +1 -1
- package/dist/{impl-IM22LNW5.cjs → impl-RI3WQFOE.cjs} +3 -3
- package/dist/{impl-IM22LNW5.cjs.map → impl-RI3WQFOE.cjs.map} +1 -1
- package/dist/impl-SRI65ZIC.cjs +2 -0
- package/dist/{impl-IBOGAUVL.cjs.map → impl-SRI65ZIC.cjs.map} +1 -1
- package/dist/{impl-YEXEFJS7.cjs → impl-T67PUM7X.cjs} +2 -2
- package/dist/{impl-YEXEFJS7.cjs.map → impl-T67PUM7X.cjs.map} +1 -1
- package/dist/{impl-NEV6KDPU.cjs → impl-TCR3Y3J2.cjs} +2 -2
- package/dist/{impl-NEV6KDPU.cjs.map → impl-TCR3Y3J2.cjs.map} +1 -1
- package/dist/{impl-VPUALIUR.cjs → impl-U46BMUFL.cjs} +2 -2
- package/dist/{impl-VPUALIUR.cjs.map → impl-U46BMUFL.cjs.map} +1 -1
- package/dist/{impl-BLIELFUK.cjs → impl-UVQJ7HSK.cjs} +3 -3
- package/dist/{impl-BLIELFUK.cjs.map → impl-UVQJ7HSK.cjs.map} +1 -1
- package/dist/{impl-GJMVAL3N.cjs → impl-V3MXFXZF.cjs} +2 -2
- package/dist/{impl-GJMVAL3N.cjs.map → impl-V3MXFXZF.cjs.map} +1 -1
- package/dist/{impl-76E4DKAE.cjs → impl-VL3CJ2OT.cjs} +2 -2
- package/dist/{impl-76E4DKAE.cjs.map → impl-VL3CJ2OT.cjs.map} +1 -1
- package/dist/{impl-Z5HT5JQU.cjs → impl-VT3C6SP4.cjs} +2 -2
- package/dist/{impl-Z5HT5JQU.cjs.map → impl-VT3C6SP4.cjs.map} +1 -1
- package/dist/{impl-OFB5I4S6.cjs → impl-VUAC7AYF.cjs} +2 -2
- package/dist/{impl-OFB5I4S6.cjs.map → impl-VUAC7AYF.cjs.map} +1 -1
- package/dist/impl-VXOHC45F.cjs +3 -0
- package/dist/{impl-LMKJ6UBT.cjs.map → impl-VXOHC45F.cjs.map} +1 -1
- package/dist/{impl-UPDFANVR.cjs → impl-WMI46UXI.cjs} +2 -2
- package/dist/{impl-UPDFANVR.cjs.map → impl-WMI46UXI.cjs.map} +1 -1
- package/dist/{impl-FTSCECOZ.cjs → impl-XJBUIDZP.cjs} +2 -2
- package/dist/{impl-FTSCECOZ.cjs.map → impl-XJBUIDZP.cjs.map} +1 -1
- package/dist/impl-XLL66FXK.cjs +2 -0
- package/dist/{impl-X6TORGVF.cjs.map → impl-XLL66FXK.cjs.map} +1 -1
- package/dist/{impl-BSI3RBQ2.cjs → impl-YGVW4RTA.cjs} +2 -2
- package/dist/{impl-BSI3RBQ2.cjs.map → impl-YGVW4RTA.cjs.map} +1 -1
- package/dist/{impl-AWWB3TEU.cjs → impl-ZAKPYQ32.cjs} +2 -2
- package/dist/{impl-AWWB3TEU.cjs.map → impl-ZAKPYQ32.cjs.map} +1 -1
- package/dist/{impl-DS73OYLE.cjs → impl-ZTYQ3IB5.cjs} +2 -2
- package/dist/{impl-DS73OYLE.cjs.map → impl-ZTYQ3IB5.cjs.map} +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.d.cts +3 -3
- package/package.json +1 -1
- package/dist/chunk-3FIDP42N.cjs.map +0 -1
- package/dist/chunk-T3BBQIRY.cjs.map +0 -1
- package/dist/impl-7BAUUGZT.cjs +0 -2
- package/dist/impl-FKXR7U4X.cjs +0 -2
- package/dist/impl-IBOGAUVL.cjs +0 -2
- package/dist/impl-J62VZXDY.cjs +0 -2
- package/dist/impl-LMKJ6UBT.cjs +0 -3
- package/dist/impl-RTZTJWMX.cjs +0 -2
- package/dist/impl-VHY4ALCB.cjs +0 -2
- package/dist/impl-X6TORGVF.cjs +0 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-YGVW4RTA.cjs","../src/lib/consent-manager/types.ts","../src/commands/consent/upload-consent-preferences/impl.ts"],"names":["ConsentPreferenceUpload","uploadConsentPreferences","base64EncryptionKey","base64SigningKey","partition","file","consentUrl","concurrency","doneInputValidation","preferences","readCsv","uploadConsents"],"mappings":"AAAA,mZAAwC,wDAAyC,wDAA0C,gCAA6B,gCAA6B,gCAA6B,gCAA6B,qECA5N,IAENA,CAAAA,CAA4B,CAAA,CAAA,YAAA,CAAa,CAClD,CAAA,CAAA,IAAA,CAAK,CAEL,MAAA,CAAU,CAAA,CAAA,MAAA,CAEV,SAAA,CAAa,CAAA,CAAA,MACf,CAAC,CAAA,CACC,CAAA,CAAA,OAAA,CAAQ,CAER,SAAA,CAAa,CAAA,CAAA,KAAA,CAAM,CAAG,CAAA,CAAA,OAAA,CAAQ,MAAM,CAAA,CAAK,CAAA,CAAA,OAAA,CAAQ,OAAO,CAAC,CAAC,CAAA,CAI1D,OAAA,CAAW,CAAA,CAAA,KAAA,CAAM,CAAG,CAAA,CAAA,OAAA,CAAQ,MAAM,CAAA,CAAK,CAAA,CAAA,OAAA,CAAQ,OAAO,CAAC,CAAC,CAAA,CAIxD,QAAA,CAAY,CAAA,CAAA,KAAA,CAAM,CAAG,CAAA,CAAA,OAAA,CAAQ,MAAM,CAAA,CAAK,CAAA,CAAA,OAAA,CAAQ,OAAO,CAAC,CAAC,CAAA,CAEzD,QAAA,CAAY,CAAA,CAAA,MAAA,CAEZ,GAAA,CAAO,CAAA,CAAA,KAAA,CAAM,CAAG,CAAA,CAAA,MAAA,CAAU,CAAA,CAAA,IAAI,CAAC,CAAA,CAE/B,GAAA,CAAO,CAAA,CAAA,KAAA,CAAM,CAAG,CAAA,CAAA,MAAA,CAAU,CAAA,CAAA,IAAI,CAAC,CAAA,CAK/B,QAAA,CAAY,CAAA,CAAA,MACd,CAAC,CACH,CAAC,CAAA,CChBD,MAAA,SAAsBC,CAAAA,CAEpB,CACE,mBAAA,CAAAC,CAAAA,CACA,gBAAA,CAAAC,CAAAA,CACA,SAAA,CAAAC,CAAAA,CACA,IAAA,CAAAC,CAAAA,CACA,UAAA,CAAAC,CAAAA,CACA,WAAA,CAAAC,CACF,CAAA,CACe,CACfC,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAGrC,IAAMC,CAAAA,CAAcC,kCAAAA,CAAQL,CAAML,CAAuB,CAAA,CAGzD,MAAMW,iCAAAA,CACJ,mBAAA,CAAAT,CAAAA,CACA,gBAAA,CAAAC,CAAAA,CACA,WAAA,CAAAM,CAAAA,CACA,SAAA,CAAAL,CAAAA,CACA,WAAA,CAAAG,CAAAA,CACA,YAAA,CAAcD,CAChB,CAAC,CACH,CAAA,qCAAA","file":"/home/runner/work/cli/cli/dist/impl-YGVW4RTA.cjs","sourcesContent":[null,"import * as t from 'io-ts';\n\nexport const ConsentPreferenceUpload = t.intersection([\n t.type({\n /** User ID */\n userId: t.string,\n /** Has the consent been updated (including no-change confirmation) since default resolution */\n timestamp: t.string,\n }),\n t.partial({\n /** Was tracking consent confirmed by the user? If this is false, the consent was resolved from defaults & is not yet confirmed */\n confirmed: t.union([t.literal('true'), t.literal('false')]),\n /**\n * Has the consent been updated (including no-change confirmation) since default resolution\n */\n updated: t.union([t.literal('true'), t.literal('false')]),\n /**\n * Whether or not the UI has been shown to the end-user (undefined in older versions of airgap.js)\n */\n prompted: t.union([t.literal('true'), t.literal('false')]),\n /** Consent metadata */\n metadata: t.string,\n /** US Privacy (USP) String */\n usp: t.union([t.string, t.null]),\n /** IAB GPP String */\n gpp: t.union([t.string, t.null]),\n /**\n * Purpose map\n * This is a stringified JSON object with keys as purpose names and values as booleans or 'Auto'\n */\n purposes: t.string,\n }),\n]);\n\n/** Type override */\nexport type ConsentPreferenceUpload = t.TypeOf<typeof ConsentPreferenceUpload>;\n","import type { LocalContext } from '../../../context';\n\nimport { uploadConsents } from '../../../lib/consent-manager/uploadConsents';\nimport { ConsentPreferenceUpload } from '../../../lib/consent-manager/types';\nimport { readCsv } from '../../../lib/requests';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation';\n\nexport interface UploadConsentPreferencesCommandFlags {\n base64EncryptionKey: string;\n base64SigningKey: string;\n partition: string;\n file: string;\n consentUrl: string;\n concurrency: number;\n}\n\nexport async function uploadConsentPreferences(\n this: LocalContext,\n {\n base64EncryptionKey,\n base64SigningKey,\n partition,\n file,\n consentUrl,\n concurrency,\n }: UploadConsentPreferencesCommandFlags,\n): Promise<void> {\n doneInputValidation(this.process.exit);\n\n // Load in preferences from csv\n const preferences = readCsv(file, ConsentPreferenceUpload);\n\n // Upload cookies\n await uploadConsents({\n base64EncryptionKey,\n base64SigningKey,\n preferences,\n partition,\n concurrency,\n transcendUrl: consentUrl,\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 _chunk52MA7ZLScjs = require('./chunk-52MA7ZLS.cjs');require('./chunk-M3Y6JH6I.cjs');var _chunkNC6VWOMNcjs = require('./chunk-NC6VWOMN.cjs');require('./chunk-ABKDAPPR.cjs');var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');require('./chunk-55B57ZAY.cjs');require('./chunk-TSJTXXLZ.cjs');var _chunkZUNVPK23cjs = require('./chunk-ZUNVPK23.cjs');require('./chunk-XXFLFF7Q.cjs');require('./chunk-7PB6LVSE.cjs');var _colors = require('colors'); var _colors2 = _interopRequireDefault(_colors);var _privacytypes = require('@transcend-io/privacy-types');var _bluebird = require('bluebird');async function x({auth:d,bundleTypes:r=[_privacytypes.ConsentBundleType.Production,_privacytypes.ConsentBundleType.Test],deploy:i,transcendUrl:s}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit);let t=await _chunkNC6VWOMNcjs.b.call(void 0, d);typeof t=="string"?(await _chunk52MA7ZLScjs.a.call(void 0, {deploy:i,transcendUrl:s,auth:t,bundleTypes:r}),_chunkZUNVPK23cjs.a.info(_colors2.default.green("Successfully updated Consent Manager!"))):(await _bluebird.mapSeries.call(void 0, t,async e=>{_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Updating Consent Manager for organization "${e.organizationName}"...`)),await _chunk52MA7ZLScjs.a.call(void 0, {deploy:i,transcendUrl:s,auth:e.apiKey,bundleTypes:r}),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully updated Consent Manager for organization "${e.organizationName}"!`))}),_chunkZUNVPK23cjs.a.info(_colors2.default.green("Successfully updated Consent Managers!")))}exports.updateConsentManager = x;
|
|
2
|
+
//# sourceMappingURL=impl-ZAKPYQ32.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-ZAKPYQ32.cjs","../src/commands/consent/update-consent-manager/impl.ts"],"names":["updateConsentManager","auth","bundleTypes","ConsentBundleType","deploy","transcendUrl","doneInputValidation","apiKeyOrList","validateTranscendAuth","updateConsentManagerVersionToLatest","logger","colors","mapSeries","apiKey"],"mappings":"AAAA,iOAAmC,gCAA6B,wDAAyC,gCAA6B,wDAAyC,gCAA6B,gCAA6B,wDAAyC,gCAA6B,gCAA6B,gFCCzT,2DACe,oCACR,MAc1B,SAAsBA,CAAAA,CAEpB,CACE,IAAA,CAAAC,CAAAA,CACA,WAAA,CAAAC,CAAAA,CAAc,CAACC,+BAAAA,CAAkB,UAAA,CAAYA,+BAAAA,CAAkB,IAAI,CAAA,CACnE,MAAA,CAAAC,CAAAA,CACA,YAAA,CAAAC,CACF,CAAA,CACe,CACfC,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAGrC,IAAMC,CAAAA,CAAe,MAAMC,iCAAAA,CAA0B,CAAA,CAGjD,OAAOD,CAAAA,EAAiB,QAAA,CAAA,CAE1B,MAAME,iCAAAA,CACJ,MAAA,CAAAL,CAAAA,CACA,YAAA,CAAAC,CAAAA,CACA,IAAA,CAAME,CAAAA,CACN,WAAA,CAAAL,CACF,CAAC,CAAA,CACDQ,mBAAAA,CAAO,IAAA,CAAKC,gBAAAA,CAAO,KAAA,CAAM,uCAAuC,CAAC,CAAA,CAAA,CAAA,CAEjE,MAAMC,iCAAAA,CAAUL,CAAc,MAAOM,CAAAA,EAAW,CAC9CH,mBAAAA,CAAO,IAAA,CACLC,gBAAAA,CAAO,OAAA,CACL,CAAA,2CAAA,EAA8CE,CAAAA,CAAO,gBAAgB,CAAA,IAAA,CACvE,CACF,CAAA,CAEA,MAAMJ,iCAAAA,CACJ,MAAA,CAAAL,CAAAA,CACA,YAAA,CAAAC,CAAAA,CACA,IAAA,CAAMQ,CAAAA,CAAO,MAAA,CACb,WAAA,CAAAX,CACF,CAAC,CAAA,CAEDQ,mBAAAA,CAAO,IAAA,CACLC,gBAAAA,CAAO,KAAA,CACL,CAAA,uDAAA,EAA0DE,CAAAA,CAAO,gBAAgB,CAAA,EAAA,CACnF,CACF,CACF,CAAC,CAAA,CACDH,mBAAAA,CAAO,IAAA,CAAKC,gBAAAA,CAAO,KAAA,CAAM,wCAAwC,CAAC,CAAA,CAEtE,CAAA,iCAAA","file":"/home/runner/work/cli/cli/dist/impl-ZAKPYQ32.cjs","sourcesContent":[null,"import type { LocalContext } from '../../../context';\nimport colors from 'colors';\nimport { ConsentBundleType } from '@transcend-io/privacy-types';\nimport { mapSeries } from 'bluebird';\n\nimport { logger } from '../../../logger';\nimport { updateConsentManagerVersionToLatest } from '../../../lib/consent-manager';\nimport { validateTranscendAuth } from '../../../lib/api-keys';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation';\n\nexport interface UpdateConsentManagerCommandFlags {\n auth: string;\n bundleTypes: ConsentBundleType[];\n deploy: boolean;\n transcendUrl: string;\n}\n\nexport async function updateConsentManager(\n this: LocalContext,\n {\n auth,\n bundleTypes = [ConsentBundleType.Production, ConsentBundleType.Test],\n deploy,\n transcendUrl,\n }: UpdateConsentManagerCommandFlags,\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 // Handle single update\n if (typeof apiKeyOrList === 'string') {\n // Update consent manager\n await updateConsentManagerVersionToLatest({\n deploy,\n transcendUrl,\n auth: apiKeyOrList,\n bundleTypes,\n });\n logger.info(colors.green('Successfully updated Consent Manager!'));\n } else {\n await mapSeries(apiKeyOrList, async (apiKey) => {\n logger.info(\n colors.magenta(\n `Updating Consent Manager for organization \"${apiKey.organizationName}\"...`,\n ),\n );\n\n await updateConsentManagerVersionToLatest({\n deploy,\n transcendUrl,\n auth: apiKey.apiKey,\n bundleTypes,\n });\n\n logger.info(\n colors.green(\n `Successfully updated Consent Manager for organization \"${apiKey.organizationName}\"!`,\n ),\n );\n });\n logger.info(colors.green('Successfully updated Consent Managers!'));\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 _chunkQ2RJZGYWcjs = require('./chunk-Q2RJZGYW.cjs');var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');var _chunk55B57ZAYcjs = require('./chunk-55B57ZAY.cjs');require('./chunk-TSJTXXLZ.cjs');var _chunkZUNVPK23cjs = require('./chunk-ZUNVPK23.cjs');var _chunkXXFLFF7Qcjs = require('./chunk-XXFLFF7Q.cjs');require('./chunk-7PB6LVSE.cjs');var _colors = require('colors'); var _colors2 = _interopRequireDefault(_colors);var _bluebird = require('bluebird');async function _({file:l,fileTarget:f,transcendUrl:p,auth:g,sombraAuth:x,cronDataSiloId:v,targetDataSiloId:N,actions:R,skipRequestCount:h,pageLimit:r,chunkSize:s}){h&&_chunkZUNVPK23cjs.a.info(_colors2.default.yellow("Skipping request count as requested. This may help speed up the call.")),(Number.isNaN(s)||s<=0||s%r!==0)&&(_chunkZUNVPK23cjs.a.error(_colors2.default.red(`Invalid chunk size: "${s}". Must be a positive integer that is a multiple of ${r}.`)),this.process.exit(1)),_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit);let S=_chunk55B57ZAYcjs.xc.call(void 0, p,g),{baseName:j,extension:O}=_chunk55B57ZAYcjs.sg.call(void 0, l),{baseName:A,extension:D}=_chunk55B57ZAYcjs.sg.call(void 0, f),$=0,b=0,d=0;await _chunkQ2RJZGYWcjs.g.call(void 0, {dataSiloId:v,auth:g,sombraAuth:x,actions:R,apiPageSize:r,savePageSize:s,onSave:async o=>{$+=o.length;let k=o.map(t=>t.requestId),E=_chunkXXFLFF7Qcjs.j.call(void 0, k),G=_chunkXXFLFF7Qcjs.b.call(void 0, E,r),y=await _bluebird.map.call(void 0, G,async t=>(_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Fetching target identifiers for ${t.length} requests`)),(await _chunk55B57ZAYcjs.Jd.call(void 0, S,r*2,{requestIds:t,dataSiloIds:[N]})).map(({fileName:I,remoteId:C})=>{if(!C)throw new Error(`Failed to find remoteId for ${I}`);return{RecordId:C,Object:_optionalChain([I, 'access', _2 => _2.replace, 'call', _3 => _3(".json",""), 'access', _4 => _4.split, 'call', _5 => _5("/"), 'access', _6 => _6.pop, 'call', _7 => _7(), 'optionalAccess', _8 => _8.replace, 'call', _9 => _9(" Information","")]),Comment:"Customer data deletion request submitted via transcend.io"}})),{concurrency:1});b+=y.flat().length;let L=_chunkXXFLFF7Qcjs.j.call(void 0, o.map(t=>Object.keys(t)).flat()),M=`${j}-${d}${O}`,Q=`${A}-${d}${D}`;await _chunk55B57ZAYcjs.tg.call(void 0, M,o,L),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully wrote ${o.length} identifiers to file "${l}"`));let n=y.flat(),T=_chunkXXFLFF7Qcjs.j.call(void 0, n.map(t=>Object.keys(t)).flat());await _chunk55B57ZAYcjs.tg.call(void 0, Q,n,T),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully wrote ${n.length} identifiers to file "${f}"`)),_chunkZUNVPK23cjs.a.info(_colors2.default.blue(`Processed chunk of ${_chunkXXFLFF7Qcjs.b.length} identifiers, found ${n.length} target identifiers`)),d+=1},transcendUrl:p,skipRequestCount:h}),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully wrote ${$} identifiers to file "${l}"`)),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully wrote ${b} identifiers to file "${f}"`))}exports.pullProfiles = _;
|
|
2
|
+
//# sourceMappingURL=impl-ZTYQ3IB5.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-ZTYQ3IB5.cjs","../src/commands/request/cron/pull-profiles/impl.ts"],"names":["pullProfiles","file","fileTarget","transcendUrl","auth","sombraAuth","cronDataSiloId","targetDataSiloId","actions","skipRequestCount","pageLimit","chunkSize","logger","colors","doneInputValidation","client","buildTranscendGraphQLClient","baseName","extension","parseFilePath","baseNameTarget","extensionTarget","allIdentifiersCount","allTargetIdentifiersCount","fileCount","pullChunkedCustomSiloOutstandingIdentifiers","chunkToSave","requestIds","d","uniqueRequestIds","uniq_default","chunkedRequestIds","chunk_default","results","map","fetchRequestFilesForRequest","fileName","remoteId"],"mappings":"AAAA,quBAAwC,wDAAyC,wDAAkE,gCAA6B,wDAAyC,wDAAgD,gCAA6B,gFCEnR,oCAEC,MA2BpB,SAAsBA,CAAAA,CAEpB,CACE,IAAA,CAAAC,CAAAA,CACA,UAAA,CAAAC,CAAAA,CACA,YAAA,CAAAC,CAAAA,CACA,IAAA,CAAAC,CAAAA,CACA,UAAA,CAAAC,CAAAA,CACA,cAAA,CAAAC,CAAAA,CACA,gBAAA,CAAAC,CAAAA,CACA,OAAA,CAAAC,CAAAA,CACA,gBAAA,CAAAC,CAAAA,CACA,SAAA,CAAAC,CAAAA,CACA,SAAA,CAAAC,CACF,CAAA,CACe,CACXF,CAAAA,EACFG,mBAAAA,CAAO,IAAA,CACLC,gBAAAA,CAAO,MAAA,CACL,uEACF,CACF,CAAA,CAAA,CAIA,MAAA,CAAO,KAAA,CAAMF,CAAS,CAAA,EACtBA,CAAAA,EAAa,CAAA,EACbA,CAAAA,CAAYD,CAAAA,GAAc,CAAA,CAAA,EAAA,CAE1BE,mBAAAA,CAAO,KAAA,CACLC,gBAAAA,CAAO,GAAA,CACL,CAAA,qBAAA,EAAwBF,CAAS,CAAA,oDAAA,EAAuDD,CAAS,CAAA,CAAA,CACnG,CACF,CAAA,CACA,IAAA,CAAK,OAAA,CAAQ,IAAA,CAAK,CAAC,CAAA,CAAA,CAGrBI,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAGrC,IAAMC,CAAAA,CAASC,kCAAAA,CAA4Bb,CAAcC,CAAI,CAAA,CACvD,CAAE,QAAA,CAAAa,CAAAA,CAAU,SAAA,CAAAC,CAAU,CAAA,CAAIC,kCAAAA,CAAkB,CAAA,CAC5C,CAAE,QAAA,CAAUC,CAAAA,CAAgB,SAAA,CAAWC,CAAgB,CAAA,CAC3DF,kCAAAA,CAAwB,CAAA,CAEtBG,CAAAA,CAAsB,CAAA,CACtBC,CAAAA,CAA4B,CAAA,CAC5BC,CAAAA,CAAY,CAAA,CAmFhB,MAAMC,iCAAAA,CACJ,UAAA,CAAYnB,CAAAA,CACZ,IAAA,CAAAF,CAAAA,CACA,UAAA,CAAAC,CAAAA,CACA,OAAA,CAAAG,CAAAA,CACA,WAAA,CAAaE,CAAAA,CACb,YAAA,CAAcC,CAAAA,CACd,MAAA,CAxFa,MACbe,CAAAA,EACkB,CAElBJ,CAAAA,EAAuBI,CAAAA,CAAY,MAAA,CAGnC,IAAMC,CAAAA,CAAaD,CAAAA,CAAY,GAAA,CAAKE,CAAAA,EAAMA,CAAAA,CAAE,SAAmB,CAAA,CACzDC,CAAAA,CAAmBC,iCAAAA,CAAe,CAAA,CAGlCC,CAAAA,CAAoBC,iCAAAA,CAAMH,CAAkBnB,CAAS,CAAA,CACrDuB,CAAAA,CAAU,MAAMC,2BAAAA,CACpBH,CACA,MAAOJ,CAAAA,EAAAA,CACLf,mBAAAA,CAAO,IAAA,CACLC,gBAAAA,CAAO,OAAA,CACL,CAAA,gCAAA,EAAmCc,CAAAA,CAAW,MAAM,CAAA,SAAA,CACtD,CACF,CAAA,CAAA,CACgB,MAAMQ,kCAAAA,CACpBpB,CACAL,CAAAA,CAAY,CAAA,CACZ,CACE,UAAA,CAAAiB,CAAAA,CACA,WAAA,CAAa,CAACpB,CAAgB,CAChC,CACF,CAAA,CAAA,CACe,GAAA,CAAI,CAAC,CAAE,QAAA,CAAA6B,CAAAA,CAAU,QAAA,CAAAC,CAAS,CAAA,CAAA,EAAM,CAC7C,EAAA,CAAI,CAACA,CAAAA,CACH,MAAM,IAAI,KAAA,CAAM,CAAA,4BAAA,EAA+BD,CAAQ,CAAA,CAAA","file":"/home/runner/work/cli/cli/dist/impl-ZTYQ3IB5.cjs","sourcesContent":[null,"import type { RequestAction } from '@transcend-io/privacy-types';\nimport { logger } from '../../../../logger';\nimport colors from 'colors';\nimport { uniq, chunk } from 'lodash-es';\nimport { map } from 'bluebird';\nimport {\n buildTranscendGraphQLClient,\n fetchRequestFilesForRequest,\n} from '../../../../lib/graphql';\nimport type { LocalContext } from '../../../../context';\nimport {\n pullChunkedCustomSiloOutstandingIdentifiers,\n type CsvFormattedIdentifier,\n} from '../../../../lib/cron';\nimport { doneInputValidation } from '../../../../lib/cli/done-input-validation';\nimport { parseFilePath, writeLargeCsv } from '../../../../lib/helpers';\n\nexport interface PullProfilesCommandFlags {\n file: string;\n fileTarget: string;\n transcendUrl: string;\n auth: string;\n sombraAuth?: string;\n cronDataSiloId: string;\n targetDataSiloId: string;\n actions: RequestAction[];\n skipRequestCount: boolean;\n pageLimit: number;\n chunkSize: number;\n}\n\nexport async function pullProfiles(\n this: LocalContext,\n {\n file,\n fileTarget,\n transcendUrl,\n auth,\n sombraAuth,\n cronDataSiloId,\n targetDataSiloId,\n actions,\n skipRequestCount,\n pageLimit,\n chunkSize,\n }: PullProfilesCommandFlags,\n): Promise<void> {\n if (skipRequestCount) {\n logger.info(\n colors.yellow(\n 'Skipping request count as requested. This may help speed up the call.',\n ),\n );\n }\n\n if (\n Number.isNaN(chunkSize) ||\n chunkSize <= 0 ||\n chunkSize % pageLimit !== 0\n ) {\n logger.error(\n colors.red(\n `Invalid chunk size: \"${chunkSize}\". Must be a positive integer that is a multiple of ${pageLimit}.`,\n ),\n );\n this.process.exit(1);\n }\n\n doneInputValidation(this.process.exit);\n\n // Create GraphQL client to connect to Transcend backend\n const client = buildTranscendGraphQLClient(transcendUrl, auth);\n const { baseName, extension } = parseFilePath(file);\n const { baseName: baseNameTarget, extension: extensionTarget } =\n parseFilePath(fileTarget);\n\n let allIdentifiersCount = 0;\n let allTargetIdentifiersCount = 0;\n let fileCount = 0;\n // Create onSave callback to handle chunked processing\n const onSave = async (\n chunkToSave: CsvFormattedIdentifier[],\n ): Promise<void> => {\n // Add to all identifiers\n allIdentifiersCount += chunkToSave.length;\n\n // Get unique request IDs from this chunk\n const requestIds = chunkToSave.map((d) => d.requestId as string);\n const uniqueRequestIds = uniq(requestIds);\n\n // Pull down target identifiers for this chunk\n const chunkedRequestIds = chunk(uniqueRequestIds, pageLimit);\n const results = await map(\n chunkedRequestIds,\n async (requestIds) => {\n logger.info(\n colors.magenta(\n `Fetching target identifiers for ${requestIds.length} requests`,\n ),\n );\n const results = await fetchRequestFilesForRequest(\n client,\n pageLimit * 2,\n {\n requestIds,\n dataSiloIds: [targetDataSiloId],\n },\n );\n return results.map(({ fileName, remoteId }) => {\n if (!remoteId) {\n throw new Error(`Failed to find remoteId for ${fileName}`);\n }\n return {\n RecordId: remoteId,\n Object: fileName\n .replace('.json', '')\n .split('/')\n .pop()\n ?.replace(' Information', ''),\n Comment:\n 'Customer data deletion request submitted via transcend.io',\n };\n });\n },\n // We are grabbing all the request files for the 'pageLimit' # of requests at a time\n {\n concurrency: 1,\n },\n );\n\n allTargetIdentifiersCount += results.flat().length;\n\n // Write the identifiers and target identifiers to CSV\n const headers = uniq(chunkToSave.map((d) => Object.keys(d)).flat());\n const numberedFileName = `${baseName}-${fileCount}${extension}`;\n const numberedFileNameTarget = `${baseNameTarget}-${fileCount}${extensionTarget}`;\n await writeLargeCsv(numberedFileName, chunkToSave, headers);\n logger.info(\n colors.green(\n `Successfully wrote ${chunkToSave.length} identifiers to file \"${file}\"`,\n ),\n );\n\n const targetIdentifiers = results.flat();\n const headers2 = uniq(targetIdentifiers.map((d) => Object.keys(d)).flat());\n await writeLargeCsv(numberedFileNameTarget, targetIdentifiers, headers2);\n logger.info(\n colors.green(\n `Successfully wrote ${targetIdentifiers.length} identifiers to file \"${fileTarget}\"`,\n ),\n );\n\n logger.info(\n colors.blue(\n `Processed chunk of ${chunk.length} identifiers, found ${targetIdentifiers.length} target identifiers`,\n ),\n );\n fileCount += 1;\n };\n\n // Pull down outstanding identifiers using the new chunked function\n await pullChunkedCustomSiloOutstandingIdentifiers({\n dataSiloId: cronDataSiloId,\n auth,\n sombraAuth,\n actions,\n apiPageSize: pageLimit,\n savePageSize: chunkSize,\n onSave,\n transcendUrl,\n skipRequestCount,\n });\n\n logger.info(\n colors.green(\n `Successfully wrote ${allIdentifiersCount} identifiers to file \"${file}\"`,\n ),\n );\n logger.info(\n colors.green(\n `Successfully wrote ${allTargetIdentifiersCount} identifiers to file \"${fileTarget}\"`,\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 _chunkRAA5VWQScjs = require('./chunk-RAA5VWQS.cjs');var _chunkZ2DYKPKMcjs = require('./chunk-Z2DYKPKM.cjs');var _chunkLZA5Y4SBcjs = require('./chunk-LZA5Y4SB.cjs');var _chunkIBTP5OXEcjs = require('./chunk-IBTP5OXE.cjs');var _chunkBQSBPO63cjs = require('./chunk-BQSBPO63.cjs');var _chunkLRADV5OIcjs = require('./chunk-LRADV5OI.cjs');var _chunkWURUFVEGcjs = require('./chunk-WURUFVEG.cjs');var _chunkYYDWSYMFcjs = require('./chunk-YYDWSYMF.cjs');var _chunkLU3DKRNKcjs = require('./chunk-LU3DKRNK.cjs');var _chunkHTS7K7QDcjs = require('./chunk-HTS7K7QD.cjs');var _chunkFHUHBSLEcjs = require('./chunk-FHUHBSLE.cjs');require('./chunk-ZUNVPK23.cjs');var _chunkOMVVROKBcjs = require('./chunk-OMVVROKB.cjs');var _chunkT3BBQIRYcjs = require('./chunk-T3BBQIRY.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 _chunkHTS7K7QDcjs.ug.call(void 0, a,_chunkHTS7K7QDcjs.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 ec(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=_chunkOMVVROKBcjs.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=_chunkHTS7K7QDcjs.xc.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=_chunkOMVVROKBcjs.j.call(void 0, e.map(({agentNames:n})=>n||[]).flat()),[o,i,p]=await Promise.all([_chunkHTS7K7QDcjs.Dd.call(void 0, this.graphQLClient,{promptIds:r,promptTitles:t}),D(this.graphQLClient),_chunkHTS7K7QDcjs.Hc.call(void 0, this.graphQLClient,{names:s})]);this.agentsByName=_chunkOMVVROKBcjs.e.call(void 0, p,"name"),this.agentsByAgentId=_chunkOMVVROKBcjs.e.call(void 0, p,"agentId"),this.largeLanguageModels=i.filter(n=>n.isTranscendHosted===!1);let m=_chunkOMVVROKBcjs.e.call(void 0, o.prompts,"title"),c=_chunkOMVVROKBcjs.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 _chunkHTS7K7QDcjs.Hc.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 _chunkHTS7K7QDcjs.Ed.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=[]}=_chunkOMVVROKBcjs.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=_chunkOMVVROKBcjs.b.call(void 0, t,50),i=[];return await _bluebird.mapSeries.call(void 0, o,async p=>{let m=await _chunkHTS7K7QDcjs.Hc.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 _chunkHTS7K7QDcjs.Fc.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 _chunkHTS7K7QDcjs.je.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 _chunkHTS7K7QDcjs.je.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 _chunkHTS7K7QDcjs.je.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 nc(a){let e=/(https?:\/\/[^\s]+)/g;return a.replace(e,"<link-omitted>")}function oc(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 cc({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 _chunkG522ZIHScjs = require('./chunk-G522ZIHS.cjs');var _chunkQ2RJZGYWcjs = require('./chunk-Q2RJZGYW.cjs');var _chunk7H4ALAHCcjs = require('./chunk-7H4ALAHC.cjs');var _chunkIBTP5OXEcjs = require('./chunk-IBTP5OXE.cjs');var _chunkJH5HRI6Dcjs = require('./chunk-JH5HRI6D.cjs');var _chunk52MA7ZLScjs = require('./chunk-52MA7ZLS.cjs');var _chunkM3Y6JH6Icjs = require('./chunk-M3Y6JH6I.cjs');var _chunkNC6VWOMNcjs = require('./chunk-NC6VWOMN.cjs');var _chunkABKDAPPRcjs = require('./chunk-ABKDAPPR.cjs');var _chunk55B57ZAYcjs = require('./chunk-55B57ZAY.cjs');var _chunkTSJTXXLZcjs = require('./chunk-TSJTXXLZ.cjs');require('./chunk-ZUNVPK23.cjs');var _chunkXXFLFF7Qcjs = require('./chunk-XXFLFF7Q.cjs');var _chunk7PB6LVSEcjs = require('./chunk-7PB6LVSE.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 _chunk55B57ZAYcjs.ug.call(void 0, a,_chunk55B57ZAYcjs.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 ec(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=_chunkXXFLFF7Qcjs.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=_chunk55B57ZAYcjs.xc.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=_chunkXXFLFF7Qcjs.j.call(void 0, e.map(({agentNames:n})=>n||[]).flat()),[o,i,p]=await Promise.all([_chunk55B57ZAYcjs.Dd.call(void 0, this.graphQLClient,{promptIds:r,promptTitles:t}),D(this.graphQLClient),_chunk55B57ZAYcjs.Hc.call(void 0, this.graphQLClient,{names:s})]);this.agentsByName=_chunkXXFLFF7Qcjs.e.call(void 0, p,"name"),this.agentsByAgentId=_chunkXXFLFF7Qcjs.e.call(void 0, p,"agentId"),this.largeLanguageModels=i.filter(n=>n.isTranscendHosted===!1);let m=_chunkXXFLFF7Qcjs.e.call(void 0, o.prompts,"title"),c=_chunkXXFLFF7Qcjs.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 _chunk55B57ZAYcjs.Hc.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 _chunk55B57ZAYcjs.Ed.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=[]}=_chunkXXFLFF7Qcjs.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=_chunkXXFLFF7Qcjs.b.call(void 0, t,50),i=[];return await _bluebird.mapSeries.call(void 0, o,async p=>{let m=await _chunk55B57ZAYcjs.Hc.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 _chunk55B57ZAYcjs.Fc.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 _chunk55B57ZAYcjs.je.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 _chunk55B57ZAYcjs.je.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 _chunk55B57ZAYcjs.je.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 nc(a){let e=/(https?:\/\/[^\s]+)/g;return a.replace(e,"<link-omitted>")}function oc(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 cc({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 = _chunkHTS7K7QDcjs.ub; exports.ADD_MESSAGES_TO_PROMPT_RUN = _chunkHTS7K7QDcjs.Ha; exports.ADD_SILO_DISCOVERY_RESULTS = _chunkHTS7K7QDcjs.H; exports.ADMIN_DASH = _chunkOMVVROKBcjs.o; exports.ADMIN_DASH_DATAPOINTS = _chunkOMVVROKBcjs.q; exports.ADMIN_DASH_INTEGRATIONS = _chunkOMVVROKBcjs.p; exports.AGENTS = _chunkHTS7K7QDcjs.Hb; exports.AGENT_FILES = _chunkHTS7K7QDcjs.Kb; exports.AGENT_FUNCTIONS = _chunkHTS7K7QDcjs.Nb; exports.API_KEYS = _chunkHTS7K7QDcjs.D; exports.APPROVE_PRIVACY_REQUEST = _chunkHTS7K7QDcjs.X; exports.ASSESSMENTS = _chunkHTS7K7QDcjs.fa; exports.ASSESSMENT_SECTION_FIELDS = _chunkHTS7K7QDcjs.ea; exports.ASSESSMENT_TEMPLATES = _chunkHTS7K7QDcjs.ja; exports.ASSUME_ROLE = _chunkHTS7K7QDcjs.Fb; exports.ATTRIBUTES = _chunkHTS7K7QDcjs.La; exports.ATTRIBUTE_KEYS_REQUESTS = _chunkHTS7K7QDcjs.M; exports.ATTRIBUTE_VALUES = _chunkHTS7K7QDcjs.Pa; exports.ActionInput = _chunkLU3DKRNKcjs.G; exports.ActionItemCollectionInput = _chunkLU3DKRNKcjs.R; exports.ActionItemInput = _chunkLU3DKRNKcjs.S; exports.AgentFileInput = _chunkLU3DKRNKcjs.o; exports.AgentFunctionInput = _chunkLU3DKRNKcjs.n; exports.AgentInput = _chunkLU3DKRNKcjs.m; exports.ApiKeyInput = _chunkLU3DKRNKcjs.c; exports.AssessmentAction = _chunkHTS7K7QDcjs.Sd; exports.AssessmentAnswerOptionInput = _chunkLU3DKRNKcjs.Y; exports.AssessmentDisplayLogicInput = _chunkLU3DKRNKcjs.V; exports.AssessmentInput = _chunkLU3DKRNKcjs.ca; exports.AssessmentNestedRule = _chunkHTS7K7QDcjs.Rd; exports.AssessmentNestedRuleInput = _chunkLU3DKRNKcjs.U; exports.AssessmentResourceInput = _chunkLU3DKRNKcjs.ba; exports.AssessmentRetentionScheduleInput = _chunkLU3DKRNKcjs.$; exports.AssessmentRiskLogic = _chunkHTS7K7QDcjs.Ud; exports.AssessmentRule = _chunkHTS7K7QDcjs.Qd; exports.AssessmentRuleInput = _chunkLU3DKRNKcjs.T; exports.AssessmentRuleWithOperands = _chunkHTS7K7QDcjs.Od; exports.AssessmentRuleWithoutOperands = _chunkHTS7K7QDcjs.Pd; exports.AssessmentSectionInput = _chunkLU3DKRNKcjs._; exports.AssessmentSectionQuestionInput = _chunkLU3DKRNKcjs.Z; exports.AssessmentTemplateInput = _chunkLU3DKRNKcjs.aa; exports.AttestedExtraIdentifiers = _chunkHTS7K7QDcjs.sf; exports.AttributeInput = _chunkLU3DKRNKcjs.k; exports.AttributePreview = _chunkLU3DKRNKcjs.l; exports.AttributeValueInput = _chunkLU3DKRNKcjs.j; exports.BLANK = _chunkHTS7K7QDcjs.ec; exports.BULK_APPLY = _chunkHTS7K7QDcjs.dc; exports.BULK_REQUEST_FILES = _chunkHTS7K7QDcjs.Fa; exports.BUSINESS_ENTITIES = _chunkHTS7K7QDcjs.rb; exports.BusinessEntityInput = _chunkLU3DKRNKcjs.y; exports.CANCEL_PRIVACY_REQUEST = _chunkHTS7K7QDcjs.Y; exports.CAN_APPLY_IN_BULK = _chunkHTS7K7QDcjs.ic; exports.CATALOGS = _chunkHTS7K7QDcjs.r; exports.CHANGE_REQUEST_DATA_SILO_STATUS = _chunkHTS7K7QDcjs.va; exports.CODE_PACKAGES = _chunkHTS7K7QDcjs.Q; exports.CONSENT_MANAGER_ANALYTICS_DATA = _chunkHTS7K7QDcjs.qb; exports.CONSENT_PARTITIONS = _chunkHTS7K7QDcjs.Ua; exports.COOKIES = _chunkHTS7K7QDcjs.Za; exports.CREATE_ACTION_ITEMS = _chunkHTS7K7QDcjs.yb; exports.CREATE_ACTION_ITEM_COLLECTION = _chunkHTS7K7QDcjs.Ja; exports.CREATE_AGENT = _chunkHTS7K7QDcjs.Ib; exports.CREATE_AGENT_FILE = _chunkHTS7K7QDcjs.Lb; exports.CREATE_AGENT_FUNCTION = _chunkHTS7K7QDcjs.Ob; exports.CREATE_API_KEY = _chunkHTS7K7QDcjs.E; exports.CREATE_ATTRIBUTE = _chunkHTS7K7QDcjs.Qa; exports.CREATE_ATTRIBUTE_VALUES = _chunkHTS7K7QDcjs.Ma; exports.CREATE_BUSINESS_ENTITY = _chunkHTS7K7QDcjs.sb; exports.CREATE_CODE_PACKAGE = _chunkHTS7K7QDcjs.S; exports.CREATE_CONSENT_EXPERIENCE = _chunkHTS7K7QDcjs.ob; exports.CREATE_CONSENT_MANAGER = _chunkHTS7K7QDcjs.bb; exports.CREATE_CONSENT_PARTITION = _chunkHTS7K7QDcjs.pb; exports.CREATE_DATA_FLOWS = _chunkHTS7K7QDcjs.Va; exports.CREATE_DATA_SILOS = _chunkHTS7K7QDcjs.m; exports.CREATE_DATA_SUBJECT = _chunkHTS7K7QDcjs.x; exports.CREATE_DATA_SUB_CATEGORY = _chunkHTS7K7QDcjs.Ub; exports.CREATE_ENRICHER = _chunkHTS7K7QDcjs.p; exports.CREATE_IDENTIFIER = _chunkHTS7K7QDcjs.u; exports.CREATE_PREFERENCE_ACCESS_TOKENS = _chunkHTS7K7QDcjs.G; exports.CREATE_PROCESSING_ACTIVITY = _chunkHTS7K7QDcjs._b; exports.CREATE_PROCESSING_PURPOSE_SUB_CATEGORY = _chunkHTS7K7QDcjs.Xb; exports.CREATE_PROMPT = _chunkHTS7K7QDcjs.pa; exports.CREATE_PROMPT_GROUP = _chunkHTS7K7QDcjs.ta; exports.CREATE_PROMPT_PARTIAL = _chunkHTS7K7QDcjs.ra; exports.CREATE_REPOSITORY = _chunkHTS7K7QDcjs.C; exports.CREATE_SOFTWARE_DEVELOPMENT_KIT = _chunkHTS7K7QDcjs.P; exports.CREATE_TEAM = _chunkHTS7K7QDcjs.za; exports.CREATE_TEMPLATE = _chunkHTS7K7QDcjs.K; exports.CREATE_VENDOR = _chunkHTS7K7QDcjs.Rb; exports.CachedFileState = _chunkHTS7K7QDcjs.jc; exports.CachedRequestState = _chunkHTS7K7QDcjs.lc; exports.CodePackageInput = _chunkLU3DKRNKcjs.D; exports.CodePackageSdk = _chunkLU3DKRNKcjs.C; exports.ColumnName = _chunkHTS7K7QDcjs.gc; exports.ConsentManageExperienceInput = _chunkLU3DKRNKcjs.K; exports.ConsentManagerInput = _chunkLU3DKRNKcjs.M; exports.ConsentManagerMetricBin = _chunkHTS7K7QDcjs.Tc; exports.ConsentManagerServiceMetadata = _chunkLU3DKRNKcjs.la; exports.ConsentPreferenceTopic = _chunkLU3DKRNKcjs.ea; exports.ConsentPreferenceTopicOptionValue = _chunkLU3DKRNKcjs.da; exports.ConsentPurpose = _chunkLU3DKRNKcjs.fa; exports.CookieCsvInput = _chunkLU3DKRNKcjs.ka; exports.CookieInput = _chunkLU3DKRNKcjs.J; exports.CronIdentifier = _chunkZ2DYKPKMcjs.a; exports.CronIdentifierPush = _chunkZ2DYKPKMcjs.c; exports.DATAPOINT_EXPORT = _chunkHTS7K7QDcjs.g; exports.DATA_FLOWS = _chunkHTS7K7QDcjs.Ya; exports.DATA_POINTS = _chunkHTS7K7QDcjs.a; exports.DATA_POINT_COUNT = _chunkHTS7K7QDcjs.b; exports.DATA_SILOS = _chunkHTS7K7QDcjs.i; exports.DATA_SILOS_ENRICHED = _chunkHTS7K7QDcjs.k; exports.DATA_SILO_EXPORT = _chunkHTS7K7QDcjs.j; exports.DATA_SUBJECTS = _chunkHTS7K7QDcjs.w; exports.DATA_SUB_CATEGORIES = _chunkHTS7K7QDcjs.Tb; exports.DAY_MS = _chunkHTS7K7QDcjs.fg; exports.DEBUG = _chunkOMVVROKBcjs.z; exports.DEFAULT_TRANSCEND_API = _chunkOMVVROKBcjs.r; exports.DEFAULT_TRANSCEND_CONSENT_API = _chunkOMVVROKBcjs.s; exports.DEFAULT_TRANSCEND_PULL_RESOURCES = _chunkHTS7K7QDcjs.he; exports.DELETE_API_KEY = _chunkHTS7K7QDcjs.F; exports.DELETE_ATTRIBUTE_VALUE = _chunkHTS7K7QDcjs.Oa; exports.DEPLOYED_PRIVACY_CENTER_URL = _chunkHTS7K7QDcjs.Ab; exports.DEPLOY_CONSENT_MANAGER = _chunkHTS7K7QDcjs.eb; exports.DETERMINE_LOGIN_METHOD = _chunkHTS7K7QDcjs.Db; exports.DataCategoryGuessInput = _chunkLU3DKRNKcjs.h; exports.DataCategoryInput = _chunkLU3DKRNKcjs.q; exports.DataCategoryPreviewInput = _chunkLU3DKRNKcjs.g; exports.DataCategoryRecommendationInput = _chunkLU3DKRNKcjs.i; exports.DataFlowCsvInput = _chunkLU3DKRNKcjs.ja; exports.DataFlowInput = _chunkLU3DKRNKcjs.I; exports.DataSiloInput = _chunkLU3DKRNKcjs.Q; exports.DataSubjectInput = _chunkLU3DKRNKcjs.F; exports.DatapointInput = _chunkLU3DKRNKcjs.w; exports.ENABLED_PLUGINS = _chunkHTS7K7QDcjs.I; exports.ENRICHERS = _chunkHTS7K7QDcjs.n; exports.ENTRY_COUNT = _chunkHTS7K7QDcjs.h; exports.EXPERIENCES = _chunkHTS7K7QDcjs.Ta; exports.EnrichPrivacyRequest = _chunkRAA5VWQScjs.b; exports.EnricherInput = _chunkLU3DKRNKcjs.e; exports.FETCH_CONSENT_MANAGER = _chunkHTS7K7QDcjs.$a; exports.FETCH_CONSENT_MANAGER_ID = _chunkHTS7K7QDcjs._a; exports.FETCH_CONSENT_MANAGER_THEME = _chunkHTS7K7QDcjs.ab; exports.FETCH_PRIVACY_CENTER_ID = _chunkHTS7K7QDcjs.zb; exports.FIVE_MIN_MS = _chunkHTS7K7QDcjs.hg; exports.FieldInput = _chunkLU3DKRNKcjs.v; exports.GLOBAL_ACTION_ITEMS = _chunkHTS7K7QDcjs.wb; exports.GLOBAL_ACTION_ITEM_COLLECTIONS = _chunkHTS7K7QDcjs.Ia; exports.HOUR_MS = _chunkHTS7K7QDcjs.gg; exports.IDENTIFIERS = _chunkHTS7K7QDcjs.s; exports.IDENTIFIER_BLOCK_LIST = _chunkHTS7K7QDcjs.fc; exports.IMPORT_ONE_TRUST_ASSESSMENT_FORMS = _chunkHTS7K7QDcjs.ga; exports.INITIALIZER = _chunkHTS7K7QDcjs.o; exports.IP_ADDRESS_REGEX = _chunkLRADV5OIcjs.f; exports.IS_REQUIRED = _chunkHTS7K7QDcjs.hc; exports.IdentifierInput = _chunkLU3DKRNKcjs.H; exports.ImportOnetrustAssessmentsInput = _chunkLU3DKRNKcjs.sa; exports.IntlMessage = _chunkHTS7K7QDcjs.wf; exports.IntlMessageInput = _chunkLU3DKRNKcjs.P; exports.LARGE_LANGUAGE_MODELS = _chunkHTS7K7QDcjs.Gb; exports.LOGIN = _chunkHTS7K7QDcjs.Eb; exports.MESSAGES = _chunkHTS7K7QDcjs.$; exports.NEW_IDENTIFIER_TYPES = _chunkHTS7K7QDcjs.t; exports.NONE = _chunkHTS7K7QDcjs.cc; exports.NOTIFY_ADDITIONAL_TIME = _chunkHTS7K7QDcjs._; exports.ORGANIZATION = _chunkHTS7K7QDcjs.L; exports.OneTrustFileFormat = _chunkT3BBQIRYcjs.a; exports.OneTrustPullResource = _chunkT3BBQIRYcjs.b; exports.OneTrustPullSource = _chunkT3BBQIRYcjs.c; exports.OpenAIEnabledRoute = _chunkLU3DKRNKcjs.na; exports.OpenAIEnabledRoutes = _chunkLU3DKRNKcjs.oa; exports.OpenAIIntegration = _chunkLU3DKRNKcjs.pa; exports.OpenAIRouteName = _chunkT3BBQIRYcjs.f; exports.POLICIES = _chunkHTS7K7QDcjs.U; exports.PREFERENCE_TOPICS = _chunkHTS7K7QDcjs.ia; exports.PRIVACY_CENTER = _chunkHTS7K7QDcjs.Bb; exports.PROCESSING_ACTIVITIES = _chunkHTS7K7QDcjs.Zb; exports.PROCESSING_PURPOSE_SUB_CATEGORIES = _chunkHTS7K7QDcjs.Wb; exports.PROMPTS = _chunkHTS7K7QDcjs.ka; exports.PROMPTS_WITH_VARIABLES = _chunkHTS7K7QDcjs.na; exports.PROMPT_GROUPS = _chunkHTS7K7QDcjs.ma; exports.PROMPT_PARTIALS = _chunkHTS7K7QDcjs.la; exports.PROMPT_THREADS = _chunkHTS7K7QDcjs.T; exports.PURPOSES = _chunkHTS7K7QDcjs.ha; exports.ParsedAttributeInput = _chunkHTS7K7QDcjs.qc; exports.PartitionInput = _chunkLU3DKRNKcjs.L; exports.PathfinderPolicy = _chunkLU3DKRNKcjs.qa; exports.PathfinderPolicyName = _chunkT3BBQIRYcjs.e; exports.PathfinderPolicyNameC = _chunkLU3DKRNKcjs.ma; exports.PathfinderPromptRunMetadata = _chunkLU3DKRNKcjs.ra; exports.PolicyInput = _chunkLU3DKRNKcjs.O; exports.PrivacyCenterInput = _chunkLU3DKRNKcjs.N; exports.PrivacyRequest = _chunkHTS7K7QDcjs.nd; exports.PrivacyRequestInput = _chunkHTS7K7QDcjs.tf; exports.PrivacyRequestResponse = _chunkHTS7K7QDcjs.Cf; exports.ProcessingActivityInput = _chunkLU3DKRNKcjs.A; exports.ProcessingPurposeInput = _chunkLU3DKRNKcjs.r; exports.ProcessingPurposePreviewInput = _chunkLU3DKRNKcjs.f; exports.PromptAVendorEmailSettings = _chunkLU3DKRNKcjs.x; exports.PromptGroupInput = _chunkLU3DKRNKcjs.u; exports.PromptInput = _chunkLU3DKRNKcjs.s; exports.PromptPartialInput = _chunkLU3DKRNKcjs.t; exports.PurposeMap = _chunkWURUFVEGcjs.c; exports.REDUCED_REQUESTS_FOR_DATA_SILO_COUNT = _chunkHTS7K7QDcjs.xa; exports.REMOVE_REQUEST_IDENTIFIERS = _chunkHTS7K7QDcjs.Ba; exports.REPORT_PROMPT_RUN = _chunkHTS7K7QDcjs.Ga; exports.REPOSITORIES = _chunkHTS7K7QDcjs.A; exports.REQUESTS = _chunkHTS7K7QDcjs.W; exports.REQUEST_DATA_SILOS = _chunkHTS7K7QDcjs.ua; exports.REQUEST_ENRICHERS = _chunkHTS7K7QDcjs.ba; exports.REQUEST_FILES = _chunkHTS7K7QDcjs.Ea; exports.REQUEST_IDENTIFIERS = _chunkHTS7K7QDcjs.Ca; exports.RETRYABLE_BATCH_STATUSES = _chunkOMVVROKBcjs.y; exports.RETRY_REQUEST_DATA_SILO = _chunkHTS7K7QDcjs.wa; exports.RETRY_REQUEST_ENRICHER = _chunkHTS7K7QDcjs.ca; exports.RateCounter = _chunkHTS7K7QDcjs.bg; exports.RegionInput = _chunkLU3DKRNKcjs.z; exports.RepositoryInput = _chunkLU3DKRNKcjs.E; exports.RequestFileMetadata = _chunkHTS7K7QDcjs.xf; exports.RequestFileMetadataResponse = _chunkHTS7K7QDcjs.yf; exports.RequestIdentifiersResponse = _chunkHTS7K7QDcjs.kd; exports.RequestPurposeTrigger = _chunkHTS7K7QDcjs.md; exports.RiskAssignmentInput = _chunkLU3DKRNKcjs.W; exports.RiskLogicInput = _chunkLU3DKRNKcjs.X; exports.SCOPES_BY_TITLE = _chunkOMVVROKBcjs.w; exports.SCOPE_TITLES = _chunkOMVVROKBcjs.x; exports.SET_RESOURCE_ATTRIBUTES = _chunkHTS7K7QDcjs.Sa; exports.SILO_DISCOVERY_RESULTS = _chunkHTS7K7QDcjs.bc; exports.SKIP_REQUEST_ENRICHER = _chunkHTS7K7QDcjs.da; exports.SOFTWARE_DEVELOPMENT_KITS = _chunkHTS7K7QDcjs.N; exports.SOMBRA_VERSION = _chunkHTS7K7QDcjs.ac; exports.SUB_DATA_POINTS = _chunkHTS7K7QDcjs.c; exports.SUB_DATA_POINTS_COUNT = _chunkHTS7K7QDcjs.d; exports.SUB_DATA_POINTS_WITH_GUESSES = _chunkHTS7K7QDcjs.e; exports.SYNC_ATTRIBUTE_TYPES = _chunkHTS7K7QDcjs.Nc; exports.SiloDiscoveryResultInput = _chunkLU3DKRNKcjs.ga; exports.SoftwareDevelopmentKitInput = _chunkLU3DKRNKcjs.B; exports.StoredApiKey = _chunkLU3DKRNKcjs.ia; exports.SuccessfulRequest = _chunkHTS7K7QDcjs.kc; exports.TEAMS = _chunkHTS7K7QDcjs.ya; exports.TEMPLATES = _chunkHTS7K7QDcjs.J; exports.TOGGLE_CONSENT_PRECEDENCE = _chunkHTS7K7QDcjs.lb; exports.TOGGLE_DATA_SUBJECT = _chunkHTS7K7QDcjs.z; exports.TOGGLE_TELEMETRY_PARTITION_STRATEGY = _chunkHTS7K7QDcjs.kb; exports.TOGGLE_UNKNOWN_COOKIE_POLICY = _chunkHTS7K7QDcjs.jb; exports.TOGGLE_UNKNOWN_REQUEST_POLICY = _chunkHTS7K7QDcjs.ib; exports.TR_PULL_RESOURCE_SCOPE_MAP = _chunkOMVVROKBcjs.u; exports.TR_PUSH_RESOURCE_SCOPE_MAP = _chunkOMVVROKBcjs.t; exports.TR_YML_RESOURCE_TO_FIELD_NAME = _chunkOMVVROKBcjs.v; exports.TeamInput = _chunkLU3DKRNKcjs.d; exports.TemplateInput = _chunkLU3DKRNKcjs.a; exports.TranscendInput = _chunkLU3DKRNKcjs.ha; exports.TranscendPromptManager = B; exports.TranscendPullResource = _chunkT3BBQIRYcjs.d; exports.UPDATE_ACTION = _chunkHTS7K7QDcjs.vb; exports.UPDATE_ACTION_ITEMS = _chunkHTS7K7QDcjs.xb; exports.UPDATE_ACTION_ITEM_COLLECTION = _chunkHTS7K7QDcjs.Ka; exports.UPDATE_AGENTS = _chunkHTS7K7QDcjs.Jb; exports.UPDATE_AGENT_FILES = _chunkHTS7K7QDcjs.Mb; exports.UPDATE_AGENT_FUNCTIONS = _chunkHTS7K7QDcjs.Pb; exports.UPDATE_ATTRIBUTE = _chunkHTS7K7QDcjs.Ra; exports.UPDATE_ATTRIBUTE_VALUES = _chunkHTS7K7QDcjs.Na; exports.UPDATE_BUSINESS_ENTITIES = _chunkHTS7K7QDcjs.tb; exports.UPDATE_CODE_PACKAGES = _chunkHTS7K7QDcjs.R; exports.UPDATE_CONSENT_EXPERIENCE = _chunkHTS7K7QDcjs.nb; exports.UPDATE_CONSENT_MANAGER_DOMAINS = _chunkHTS7K7QDcjs.fb; exports.UPDATE_CONSENT_MANAGER_PARTITION = _chunkHTS7K7QDcjs.gb; exports.UPDATE_CONSENT_MANAGER_THEME = _chunkHTS7K7QDcjs.mb; exports.UPDATE_CONSENT_MANAGER_TO_LATEST = _chunkHTS7K7QDcjs.db; exports.UPDATE_CONSENT_MANAGER_VERSION = _chunkHTS7K7QDcjs.cb; exports.UPDATE_DATA_FLOWS = _chunkHTS7K7QDcjs.Wa; exports.UPDATE_DATA_SILOS = _chunkHTS7K7QDcjs.l; exports.UPDATE_DATA_SUBJECT = _chunkHTS7K7QDcjs.y; exports.UPDATE_DATA_SUB_CATEGORIES = _chunkHTS7K7QDcjs.Vb; exports.UPDATE_ENRICHER = _chunkHTS7K7QDcjs.q; exports.UPDATE_IDENTIFIER = _chunkHTS7K7QDcjs.v; exports.UPDATE_INTL_MESSAGES = _chunkHTS7K7QDcjs.aa; exports.UPDATE_LOAD_OPTIONS = _chunkHTS7K7QDcjs.hb; exports.UPDATE_OR_CREATE_COOKIES = _chunkHTS7K7QDcjs.Xa; exports.UPDATE_OR_CREATE_DATA_POINT = _chunkHTS7K7QDcjs.f; exports.UPDATE_POLICIES = _chunkHTS7K7QDcjs.V; exports.UPDATE_PRIVACY_CENTER = _chunkHTS7K7QDcjs.Cb; exports.UPDATE_PRIVACY_REQUEST = _chunkHTS7K7QDcjs.Z; exports.UPDATE_PROCESSING_ACTIVITIES = _chunkHTS7K7QDcjs.$b; exports.UPDATE_PROCESSING_PURPOSE_SUB_CATEGORIES = _chunkHTS7K7QDcjs.Yb; exports.UPDATE_PROMPTS = _chunkHTS7K7QDcjs.oa; exports.UPDATE_PROMPT_GROUPS = _chunkHTS7K7QDcjs.sa; exports.UPDATE_PROMPT_PARTIALS = _chunkHTS7K7QDcjs.qa; exports.UPDATE_REPOSITORIES = _chunkHTS7K7QDcjs.B; exports.UPDATE_SOFTWARE_DEVELOPMENT_KITS = _chunkHTS7K7QDcjs.O; exports.UPDATE_TEAM = _chunkHTS7K7QDcjs.Aa; exports.UPDATE_VENDORS = _chunkHTS7K7QDcjs.Sb; exports.USERS = _chunkHTS7K7QDcjs.Da; exports.USP_STRING_REGEX = _chunkWURUFVEGcjs.b; exports.VARIABLE_PARAMETERS_NAME = _chunkBQSBPO63cjs.b; exports.VARIABLE_PARAMETERS_REGEXP = _chunkBQSBPO63cjs.a; exports.VENDORS = _chunkHTS7K7QDcjs.Qb; exports.VendorInput = _chunkLU3DKRNKcjs.p; exports.WebhookHeader = _chunkLU3DKRNKcjs.b; exports.addDaysUtc = _chunkHTS7K7QDcjs.mg; exports.addMessagesToPromptRun = _chunkHTS7K7QDcjs.vc; exports.addMs = _chunkHTS7K7QDcjs.lg; exports.appendCsvRowsOrdered = _chunkHTS7K7QDcjs.pg; exports.appendCsvSync = _chunkHTS7K7QDcjs.qg; exports.approvePrivacyRequests = _chunkHTS7K7QDcjs.Ef; exports.assumeRole = _chunkHTS7K7QDcjs.Ld; exports.buildAIIntegrationType = _chunkFHUHBSLEcjs.b; exports.buildEnabledRouteType = _chunkFHUHBSLEcjs.a; exports.buildTranscendGraphQLClient = _chunkHTS7K7QDcjs.xc; exports.buildTranscendGraphQLClientGeneric = _chunkHTS7K7QDcjs.wc; exports.buildXdiSyncEndpoint = _chunkLRADV5OIcjs.g; exports.bulkRestartRequests = _chunkHTS7K7QDcjs.Mf; exports.bulkRetryEnrichers = _chunkHTS7K7QDcjs.Of; exports.cancelPrivacyRequests = _chunkHTS7K7QDcjs.Hf; exports.clampPageSize = _chunkHTS7K7QDcjs.ig; exports.collectParquetFilesOrExit = _chunkHTS7K7QDcjs.dg; exports.consentManagersToBusinessEntities = _chunkLRADV5OIcjs.h; exports.convertToDataSubjectAllowlist = _chunkHTS7K7QDcjs.zd; exports.convertToDataSubjectBlockList = _chunkHTS7K7QDcjs.yd; exports.createActionItemCollection = _chunkHTS7K7QDcjs.ne; exports.createActionItems = _chunkHTS7K7QDcjs.qe; exports.createAgent = _chunkHTS7K7QDcjs.ze; exports.createAgentFile = _chunkHTS7K7QDcjs.te; exports.createAgentFunction = _chunkHTS7K7QDcjs.we; exports.createApiKey = _chunkHTS7K7QDcjs.Md; exports.createBusinessEntity = _chunkHTS7K7QDcjs.De; exports.createCodePackage = _chunkHTS7K7QDcjs.Me; exports.createConsentToken = _chunkWURUFVEGcjs.a; exports.createDataCategory = _chunkHTS7K7QDcjs.Te; exports.createDataFlows = _chunkHTS7K7QDcjs.Xe; exports.createPreferenceAccessTokens = _chunkHTS7K7QDcjs.Kc; exports.createProcessingPurpose = _chunkHTS7K7QDcjs.ff; exports.createPrompt = _chunkHTS7K7QDcjs.if; exports.createRegexForTag = j; exports.createRepository = _chunkHTS7K7QDcjs.Je; exports.createSoftwareDevelopmentKit = _chunkHTS7K7QDcjs.Ge; exports.createSombraGotInstance = _chunkHTS7K7QDcjs.yc; exports.createTranscendConsentGotInstance = _chunkHTS7K7QDcjs.zc; exports.createVendor = _chunkHTS7K7QDcjs.lf; exports.defineTranscendPrompts = ec; exports.deleteApiKey = _chunkHTS7K7QDcjs.Nd; exports.deployConsentManager = _chunkHTS7K7QDcjs.Ac; exports.description = _chunkOMVVROKBcjs.l; exports.domainToHost = _chunkLRADV5OIcjs.e; exports.downloadPrivacyRequestFiles = _chunkHTS7K7QDcjs.Bf; exports.enrichPrivacyRequest = _chunkRAA5VWQScjs.c; exports.ensureAllDataSubjectsExist = _chunkHTS7K7QDcjs.xd; exports.extractClientError = _chunkHTS7K7QDcjs.Jf; exports.extractErrorMessage = _chunkHTS7K7QDcjs.Yf; exports.fetchActiveSiloDiscoPlugin = _chunkHTS7K7QDcjs.Cc; exports.fetchAllActionItems = _chunkHTS7K7QDcjs.Dc; exports.fetchAllActions = _chunkHTS7K7QDcjs.Ec; exports.fetchAllAgentFiles = _chunkHTS7K7QDcjs.Fc; exports.fetchAllAgentFunctions = _chunkHTS7K7QDcjs.Gc; exports.fetchAllAgents = _chunkHTS7K7QDcjs.Hc; exports.fetchAllApiKeys = _chunkHTS7K7QDcjs.sd; exports.fetchAllAssessmentTemplates = _chunkHTS7K7QDcjs.Jc; exports.fetchAllAssessments = _chunkHTS7K7QDcjs.Ic; exports.fetchAllAttributeValues = _chunkHTS7K7QDcjs.Mc; exports.fetchAllAttributes = _chunkHTS7K7QDcjs.Oc; exports.fetchAllBusinessEntities = _chunkHTS7K7QDcjs.Pc; exports.fetchAllCatalogs = _chunkHTS7K7QDcjs.ud; exports.fetchAllCookies = _chunkHTS7K7QDcjs.Wc; exports.fetchAllDataCategories = _chunkHTS7K7QDcjs.Xc; exports.fetchAllDataFlows = _chunkHTS7K7QDcjs.Yc; exports.fetchAllDataPoints = _chunkHTS7K7QDcjs.Yd; exports.fetchAllDataSilos = _chunkHTS7K7QDcjs.Wd; exports.fetchAllDataSubjects = _chunkHTS7K7QDcjs.wd; exports.fetchAllEnrichers = _chunkHTS7K7QDcjs.ae; exports.fetchAllIdentifiers = _chunkHTS7K7QDcjs.vg; exports.fetchAllMessages = _chunkHTS7K7QDcjs.Zc; exports.fetchAllPolicies = _chunkHTS7K7QDcjs.ad; exports.fetchAllPreferenceTopics = _chunkHTS7K7QDcjs.cd; exports.fetchAllPrivacyCenters = _chunkHTS7K7QDcjs.dd; exports.fetchAllProcessingActivities = _chunkHTS7K7QDcjs.ed; exports.fetchAllProcessingPurposes = _chunkHTS7K7QDcjs.fd; exports.fetchAllPromptGroups = _chunkHTS7K7QDcjs.Ad; exports.fetchAllPromptPartials = _chunkHTS7K7QDcjs.Bd; exports.fetchAllPromptThreads = _chunkHTS7K7QDcjs.Ed; exports.fetchAllPrompts = _chunkHTS7K7QDcjs.Cd; exports.fetchAllPurposes = _chunkHTS7K7QDcjs.gd; exports.fetchAllPurposesAndPreferences = _chunkHTS7K7QDcjs.hd; exports.fetchAllRequestAttributeKeys = _chunkHTS7K7QDcjs.Lc; exports.fetchAllRequestEnrichers = _chunkHTS7K7QDcjs.id; exports.fetchAllRequestIdentifierMetadata = _chunkHTS7K7QDcjs.jd; exports.fetchAllRequestIdentifiers = _chunkHTS7K7QDcjs.ld; exports.fetchAllRequests = _chunkHTS7K7QDcjs.od; exports.fetchAllSiloDiscoveryResults = _chunkHTS7K7QDcjs.ge; exports.fetchAllSubDataPoints = _chunkHTS7K7QDcjs.Xd; exports.fetchAllTeams = _chunkHTS7K7QDcjs.pd; exports.fetchAllTemplates = _chunkHTS7K7QDcjs.ce; exports.fetchAllUsers = _chunkHTS7K7QDcjs.qd; exports.fetchAllVendors = _chunkHTS7K7QDcjs.rd; exports.fetchAndIndexCatalogs = _chunkHTS7K7QDcjs.vd; exports.fetchApiKeys = _chunkHTS7K7QDcjs.td; exports.fetchConsentManager = _chunkHTS7K7QDcjs.Qc; exports.fetchConsentManagerAnalyticsData = _chunkHTS7K7QDcjs.Uc; exports.fetchConsentManagerExperiences = _chunkHTS7K7QDcjs.Sc; exports.fetchConsentManagerId = _chunkHTS7K7QDcjs.Rc; exports.fetchConsentManagerTheme = _chunkHTS7K7QDcjs.Vc; exports.fetchEnrichedDataSilos = _chunkHTS7K7QDcjs.Zd; exports.fetchIdentifiersAndCreateMissing = _chunkHTS7K7QDcjs.wg; exports.fetchPartitions = _chunkHTS7K7QDcjs.ee; exports.fetchPrivacyCenterId = _chunkHTS7K7QDcjs.$c; exports.fetchPrivacyCenterUrl = _chunkHTS7K7QDcjs._c; exports.fetchPromptsWithVariables = _chunkHTS7K7QDcjs.Dd; exports.fetchRequestDataSilo = _chunkHTS7K7QDcjs.Hd; exports.fetchRequestDataSiloActiveCount = _chunkHTS7K7QDcjs.Id; exports.fetchRequestDataSilos = _chunkHTS7K7QDcjs.Gd; exports.fetchRequestDataSilosCount = _chunkHTS7K7QDcjs.Fd; exports.fetchRequestFilesForRequest = _chunkHTS7K7QDcjs.Jd; exports.filterNullishValuesFromObject = oc; exports.filterRows = _chunkHTS7K7QDcjs.uc; exports.formatAttributeValues = _chunkHTS7K7QDcjs.bd; exports.fuzzyMatchColumns = _chunkHTS7K7QDcjs.nc; exports.fuzzySearch = _chunkHTS7K7QDcjs.mc; exports.generateCrossAccountApiKeys = _chunkYYDWSYMFcjs.a; exports.getErrorStatus = _chunkHTS7K7QDcjs.Xf; exports.getFileMetadataForPrivacyRequests = _chunkHTS7K7QDcjs.zf; exports.getGitFilesThatChanged = cc; exports.getUniqueValuesForColumn = _chunkHTS7K7QDcjs.tc; exports.initCsvFile = _chunkHTS7K7QDcjs.og; exports.inquirerAutoComplete = _chunkHTS7K7QDcjs.Vf; exports.inquirerConfirmBoolean = _chunkHTS7K7QDcjs.Tf; exports.inquirerConfirmText = _chunkHTS7K7QDcjs.Uf; exports.limitRecords = _chunkHTS7K7QDcjs.ag; exports.listDirectories = _chunkYYDWSYMFcjs.d; exports.listFiles = _chunkYYDWSYMFcjs.c; exports.loginUser = _chunkHTS7K7QDcjs.Kd; exports.makeGraphQLRequest = _chunkHTS7K7QDcjs.ug; exports.mapColumnsToAttributes = _chunkHTS7K7QDcjs.If; exports.mapColumnsToIdentifiers = _chunkHTS7K7QDcjs.Gf; exports.mapCsvColumnsToApi = _chunkHTS7K7QDcjs.qf; exports.mapCsvRowsToRequestInputs = _chunkHTS7K7QDcjs.vf; exports.mapEnumValues = _chunkHTS7K7QDcjs.oc; exports.mapRequestEnumValues = _chunkHTS7K7QDcjs.rf; exports.markCronIdentifierCompleted = _chunkZ2DYKPKMcjs.d; exports.markRequestDataSiloIdsCompleted = _chunkZ2DYKPKMcjs.f; exports.markSilentPrivacyRequests = _chunkHTS7K7QDcjs.pf; exports.mergeTranscendInputs = _chunkIBTP5OXEcjs.a; exports.name = _chunkOMVVROKBcjs.n; exports.normalizeIdentifierValue = _chunkHTS7K7QDcjs.uf; exports.notifyPrivacyRequestsAdditionalTime = _chunkHTS7K7QDcjs.Ff; exports.parquetToCsvOneFile = _chunkHTS7K7QDcjs.eg; exports.parseAssessmentDisplayLogic = _chunkHTS7K7QDcjs.Td; exports.parseAssessmentRiskLogic = _chunkHTS7K7QDcjs.Vd; exports.parseAttributesFromString = _chunkHTS7K7QDcjs.rc; exports.parseFilePath = _chunkHTS7K7QDcjs.sg; exports.parseVariablesFromString = _chunkHTS7K7QDcjs.Wf; exports.pullAllDatapoints = _chunkLZA5Y4SBcjs.a; exports.pullChunkedCustomSiloOutstandingIdentifiers = _chunkZ2DYKPKMcjs.g; exports.pullConsentManagerMetrics = _chunkLRADV5OIcjs.d; exports.pullCronPageOfIdentifiers = _chunkZ2DYKPKMcjs.b; exports.pullManualEnrichmentIdentifiersToCsv = _chunkRAA5VWQScjs.a; exports.pullPrivacyRequests = _chunkHTS7K7QDcjs.Qf; exports.pullTranscendConfiguration = _chunkHTS7K7QDcjs.ie; exports.pullUnstructuredSubDataPointRecommendations = _chunkLZA5Y4SBcjs.b; exports.pushCronIdentifiersFromCsv = _chunkZ2DYKPKMcjs.e; exports.pushManualEnrichmentIdentifiersFromCsv = _chunkRAA5VWQScjs.d; exports.readCsv = _chunkHTS7K7QDcjs.sc; exports.readSafe = _chunkHTS7K7QDcjs.cg; exports.readTranscendYaml = _chunkBQSBPO63cjs.d; exports.removeLinks = nc; exports.removeUnverifiedRequestIdentifiers = _chunkHTS7K7QDcjs.Sf; exports.replaceVariablesInYaml = _chunkBQSBPO63cjs.c; exports.reportPromptRun = _chunkHTS7K7QDcjs.je; exports.restartPrivacyRequest = _chunkHTS7K7QDcjs.Lf; exports.retryRequestDataSilos = _chunkHTS7K7QDcjs.Pf; exports.retryRequestEnricher = _chunkHTS7K7QDcjs.ke; exports.retrySamePromise = _chunkHTS7K7QDcjs.$f; exports.setResourceAttributes = _chunkHTS7K7QDcjs.le; exports.skipPreflightJobs = _chunkHTS7K7QDcjs.Nf; exports.skipRequestDataSilos = _chunkHTS7K7QDcjs.Rf; exports.sleepPromise = _chunkHTS7K7QDcjs.Zf; exports.splitCsvToList = _chunkHTS7K7QDcjs.pc; exports.splitInHalf = _chunkHTS7K7QDcjs._f; exports.startOfHour = _chunkHTS7K7QDcjs.kg; exports.startOfUtcDay = _chunkHTS7K7QDcjs.jg; exports.streamPrivacyRequestFiles = _chunkHTS7K7QDcjs.Af; exports.submitPrivacyRequest = _chunkHTS7K7QDcjs.Df; exports.syncAction = _chunkHTS7K7QDcjs.me; exports.syncActionItemCollections = _chunkHTS7K7QDcjs.pe; exports.syncActionItems = _chunkHTS7K7QDcjs.se; exports.syncAgentFiles = _chunkHTS7K7QDcjs.ve; exports.syncAgentFunctions = _chunkHTS7K7QDcjs.ye; exports.syncAgents = _chunkHTS7K7QDcjs.Be; exports.syncAttribute = _chunkHTS7K7QDcjs.Ce; exports.syncBusinessEntities = _chunkHTS7K7QDcjs.Fe; exports.syncCodePackages = _chunkHTS7K7QDcjs.Oe; exports.syncConfigurationToTranscend = _chunkHTS7K7QDcjs.xg; exports.syncConsentManager = _chunkHTS7K7QDcjs.Qe; exports.syncConsentManagerExperiences = _chunkHTS7K7QDcjs.Pe; exports.syncCookies = _chunkHTS7K7QDcjs.Se; exports.syncDataCategories = _chunkHTS7K7QDcjs.Ve; exports.syncDataFlows = _chunkHTS7K7QDcjs.Ye; exports.syncDataSiloDependencies = _chunkHTS7K7QDcjs.$d; exports.syncDataSilos = _chunkHTS7K7QDcjs._d; exports.syncDataSubject = _chunkHTS7K7QDcjs.Ze; exports.syncEnricher = _chunkHTS7K7QDcjs.be; exports.syncIdentifier = _chunkHTS7K7QDcjs._e; exports.syncIntlMessages = _chunkHTS7K7QDcjs.af; exports.syncPartitions = _chunkHTS7K7QDcjs.fe; exports.syncPolicies = _chunkHTS7K7QDcjs.cf; exports.syncPrivacyCenter = _chunkHTS7K7QDcjs.df; exports.syncProcessingActivities = _chunkHTS7K7QDcjs.ef; exports.syncProcessingPurposes = _chunkHTS7K7QDcjs.hf; exports.syncPrompts = _chunkHTS7K7QDcjs.kf; exports.syncRepositories = _chunkHTS7K7QDcjs.Le; exports.syncSoftwareDevelopmentKits = _chunkHTS7K7QDcjs.Ie; exports.syncTemplate = _chunkHTS7K7QDcjs.de; exports.syncVendors = _chunkHTS7K7QDcjs.nf; exports.updateActionItem = _chunkHTS7K7QDcjs.re; exports.updateActionItemCollection = _chunkHTS7K7QDcjs.oe; exports.updateAgentFiles = _chunkHTS7K7QDcjs.ue; exports.updateAgentFunctions = _chunkHTS7K7QDcjs.xe; exports.updateAgents = _chunkHTS7K7QDcjs.Ae; exports.updateBusinessEntities = _chunkHTS7K7QDcjs.Ee; exports.updateCodePackages = _chunkHTS7K7QDcjs.Ne; exports.updateConsentManagerToLatest = _chunkHTS7K7QDcjs.Bc; exports.updateConsentManagerVersionToLatest = _chunkLRADV5OIcjs.a; exports.updateDataCategories = _chunkHTS7K7QDcjs.Ue; exports.updateDataFlows = _chunkHTS7K7QDcjs.We; exports.updateIntlMessages = _chunkHTS7K7QDcjs.$e; exports.updateOrCreateCookies = _chunkHTS7K7QDcjs.Re; exports.updatePolicies = _chunkHTS7K7QDcjs.bf; exports.updateProcessingPurposes = _chunkHTS7K7QDcjs.gf; exports.updatePrompts = _chunkHTS7K7QDcjs.jf; exports.updateRepositories = _chunkHTS7K7QDcjs.Ke; exports.updateSoftwareDevelopmentKits = _chunkHTS7K7QDcjs.He; exports.updateVendors = _chunkHTS7K7QDcjs.mf; exports.uploadConsents = _chunkWURUFVEGcjs.d; exports.uploadCookiesFromCsv = _chunkLRADV5OIcjs.c; exports.uploadDataFlowsFromCsv = _chunkLRADV5OIcjs.b; exports.uploadPrivacyRequestsFromCsv = _chunkHTS7K7QDcjs.Kf; exports.uploadSiloDiscoveryResults = _chunkHTS7K7QDcjs.of; exports.validateTranscendAuth = _chunkYYDWSYMFcjs.b; exports.version = _chunkOMVVROKBcjs.m; exports.writeCsv = _chunkHTS7K7QDcjs.rg; exports.writeCsvSync = _chunkHTS7K7QDcjs.ng; exports.writeLargeCsv = _chunkHTS7K7QDcjs.tg; exports.writeTranscendYaml = _chunkBQSBPO63cjs.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=_chunkXXFLFF7Qcjs.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 = _chunk55B57ZAYcjs.ub; exports.ADD_MESSAGES_TO_PROMPT_RUN = _chunk55B57ZAYcjs.Ha; exports.ADD_SILO_DISCOVERY_RESULTS = _chunk55B57ZAYcjs.H; exports.ADMIN_DASH = _chunkXXFLFF7Qcjs.o; exports.ADMIN_DASH_DATAPOINTS = _chunkXXFLFF7Qcjs.q; exports.ADMIN_DASH_INTEGRATIONS = _chunkXXFLFF7Qcjs.p; exports.AGENTS = _chunk55B57ZAYcjs.Hb; exports.AGENT_FILES = _chunk55B57ZAYcjs.Kb; exports.AGENT_FUNCTIONS = _chunk55B57ZAYcjs.Nb; exports.API_KEYS = _chunk55B57ZAYcjs.D; exports.APPROVE_PRIVACY_REQUEST = _chunk55B57ZAYcjs.X; exports.ASSESSMENTS = _chunk55B57ZAYcjs.fa; exports.ASSESSMENT_SECTION_FIELDS = _chunk55B57ZAYcjs.ea; exports.ASSESSMENT_TEMPLATES = _chunk55B57ZAYcjs.ja; exports.ASSUME_ROLE = _chunk55B57ZAYcjs.Fb; exports.ATTRIBUTES = _chunk55B57ZAYcjs.La; exports.ATTRIBUTE_KEYS_REQUESTS = _chunk55B57ZAYcjs.M; exports.ATTRIBUTE_VALUES = _chunk55B57ZAYcjs.Pa; exports.ActionInput = _chunkABKDAPPRcjs.G; exports.ActionItemCollectionInput = _chunkABKDAPPRcjs.R; exports.ActionItemInput = _chunkABKDAPPRcjs.S; exports.AgentFileInput = _chunkABKDAPPRcjs.o; exports.AgentFunctionInput = _chunkABKDAPPRcjs.n; exports.AgentInput = _chunkABKDAPPRcjs.m; exports.ApiKeyInput = _chunkABKDAPPRcjs.c; exports.AssessmentAction = _chunk55B57ZAYcjs.Sd; exports.AssessmentAnswerOptionInput = _chunkABKDAPPRcjs.Y; exports.AssessmentDisplayLogicInput = _chunkABKDAPPRcjs.V; exports.AssessmentInput = _chunkABKDAPPRcjs.ca; exports.AssessmentNestedRule = _chunk55B57ZAYcjs.Rd; exports.AssessmentNestedRuleInput = _chunkABKDAPPRcjs.U; exports.AssessmentResourceInput = _chunkABKDAPPRcjs.ba; exports.AssessmentRetentionScheduleInput = _chunkABKDAPPRcjs.$; exports.AssessmentRiskLogic = _chunk55B57ZAYcjs.Ud; exports.AssessmentRule = _chunk55B57ZAYcjs.Qd; exports.AssessmentRuleInput = _chunkABKDAPPRcjs.T; exports.AssessmentRuleWithOperands = _chunk55B57ZAYcjs.Od; exports.AssessmentRuleWithoutOperands = _chunk55B57ZAYcjs.Pd; exports.AssessmentSectionInput = _chunkABKDAPPRcjs._; exports.AssessmentSectionQuestionInput = _chunkABKDAPPRcjs.Z; exports.AssessmentTemplateInput = _chunkABKDAPPRcjs.aa; exports.AttestedExtraIdentifiers = _chunk55B57ZAYcjs.sf; exports.AttributeInput = _chunkABKDAPPRcjs.k; exports.AttributePreview = _chunkABKDAPPRcjs.l; exports.AttributeValueInput = _chunkABKDAPPRcjs.j; exports.BLANK = _chunk55B57ZAYcjs.ec; exports.BULK_APPLY = _chunk55B57ZAYcjs.dc; exports.BULK_REQUEST_FILES = _chunk55B57ZAYcjs.Fa; exports.BUSINESS_ENTITIES = _chunk55B57ZAYcjs.rb; exports.BusinessEntityInput = _chunkABKDAPPRcjs.y; exports.CANCEL_PRIVACY_REQUEST = _chunk55B57ZAYcjs.Y; exports.CAN_APPLY_IN_BULK = _chunk55B57ZAYcjs.ic; exports.CATALOGS = _chunk55B57ZAYcjs.r; exports.CHANGE_REQUEST_DATA_SILO_STATUS = _chunk55B57ZAYcjs.va; exports.CODE_PACKAGES = _chunk55B57ZAYcjs.Q; exports.CONSENT_MANAGER_ANALYTICS_DATA = _chunk55B57ZAYcjs.qb; exports.CONSENT_PARTITIONS = _chunk55B57ZAYcjs.Ua; exports.COOKIES = _chunk55B57ZAYcjs.Za; exports.CREATE_ACTION_ITEMS = _chunk55B57ZAYcjs.yb; exports.CREATE_ACTION_ITEM_COLLECTION = _chunk55B57ZAYcjs.Ja; exports.CREATE_AGENT = _chunk55B57ZAYcjs.Ib; exports.CREATE_AGENT_FILE = _chunk55B57ZAYcjs.Lb; exports.CREATE_AGENT_FUNCTION = _chunk55B57ZAYcjs.Ob; exports.CREATE_API_KEY = _chunk55B57ZAYcjs.E; exports.CREATE_ATTRIBUTE = _chunk55B57ZAYcjs.Qa; exports.CREATE_ATTRIBUTE_VALUES = _chunk55B57ZAYcjs.Ma; exports.CREATE_BUSINESS_ENTITY = _chunk55B57ZAYcjs.sb; exports.CREATE_CODE_PACKAGE = _chunk55B57ZAYcjs.S; exports.CREATE_CONSENT_EXPERIENCE = _chunk55B57ZAYcjs.ob; exports.CREATE_CONSENT_MANAGER = _chunk55B57ZAYcjs.bb; exports.CREATE_CONSENT_PARTITION = _chunk55B57ZAYcjs.pb; exports.CREATE_DATA_FLOWS = _chunk55B57ZAYcjs.Va; exports.CREATE_DATA_SILOS = _chunk55B57ZAYcjs.m; exports.CREATE_DATA_SUBJECT = _chunk55B57ZAYcjs.x; exports.CREATE_DATA_SUB_CATEGORY = _chunk55B57ZAYcjs.Ub; exports.CREATE_ENRICHER = _chunk55B57ZAYcjs.p; exports.CREATE_IDENTIFIER = _chunk55B57ZAYcjs.u; exports.CREATE_PREFERENCE_ACCESS_TOKENS = _chunk55B57ZAYcjs.G; exports.CREATE_PROCESSING_ACTIVITY = _chunk55B57ZAYcjs._b; exports.CREATE_PROCESSING_PURPOSE_SUB_CATEGORY = _chunk55B57ZAYcjs.Xb; exports.CREATE_PROMPT = _chunk55B57ZAYcjs.pa; exports.CREATE_PROMPT_GROUP = _chunk55B57ZAYcjs.ta; exports.CREATE_PROMPT_PARTIAL = _chunk55B57ZAYcjs.ra; exports.CREATE_REPOSITORY = _chunk55B57ZAYcjs.C; exports.CREATE_SOFTWARE_DEVELOPMENT_KIT = _chunk55B57ZAYcjs.P; exports.CREATE_TEAM = _chunk55B57ZAYcjs.za; exports.CREATE_TEMPLATE = _chunk55B57ZAYcjs.K; exports.CREATE_VENDOR = _chunk55B57ZAYcjs.Rb; exports.CachedFileState = _chunk55B57ZAYcjs.jc; exports.CachedRequestState = _chunk55B57ZAYcjs.lc; exports.CodePackageInput = _chunkABKDAPPRcjs.D; exports.CodePackageSdk = _chunkABKDAPPRcjs.C; exports.ColumnName = _chunk55B57ZAYcjs.gc; exports.ConsentManageExperienceInput = _chunkABKDAPPRcjs.K; exports.ConsentManagerInput = _chunkABKDAPPRcjs.M; exports.ConsentManagerMetricBin = _chunk55B57ZAYcjs.Tc; exports.ConsentManagerServiceMetadata = _chunkABKDAPPRcjs.la; exports.ConsentPreferenceTopic = _chunkABKDAPPRcjs.ea; exports.ConsentPreferenceTopicOptionValue = _chunkABKDAPPRcjs.da; exports.ConsentPurpose = _chunkABKDAPPRcjs.fa; exports.CookieCsvInput = _chunkABKDAPPRcjs.ka; exports.CookieInput = _chunkABKDAPPRcjs.J; exports.CronIdentifier = _chunkQ2RJZGYWcjs.a; exports.CronIdentifierPush = _chunkQ2RJZGYWcjs.c; exports.DATAPOINT_EXPORT = _chunk55B57ZAYcjs.g; exports.DATA_FLOWS = _chunk55B57ZAYcjs.Ya; exports.DATA_POINTS = _chunk55B57ZAYcjs.a; exports.DATA_POINT_COUNT = _chunk55B57ZAYcjs.b; exports.DATA_SILOS = _chunk55B57ZAYcjs.i; exports.DATA_SILOS_ENRICHED = _chunk55B57ZAYcjs.k; exports.DATA_SILO_EXPORT = _chunk55B57ZAYcjs.j; exports.DATA_SUBJECTS = _chunk55B57ZAYcjs.w; exports.DATA_SUB_CATEGORIES = _chunk55B57ZAYcjs.Tb; exports.DAY_MS = _chunk55B57ZAYcjs.fg; exports.DEBUG = _chunkXXFLFF7Qcjs.z; exports.DEFAULT_TRANSCEND_API = _chunkXXFLFF7Qcjs.r; exports.DEFAULT_TRANSCEND_CONSENT_API = _chunkXXFLFF7Qcjs.s; exports.DEFAULT_TRANSCEND_PULL_RESOURCES = _chunk55B57ZAYcjs.he; exports.DELETE_API_KEY = _chunk55B57ZAYcjs.F; exports.DELETE_ATTRIBUTE_VALUE = _chunk55B57ZAYcjs.Oa; exports.DEPLOYED_PRIVACY_CENTER_URL = _chunk55B57ZAYcjs.Ab; exports.DEPLOY_CONSENT_MANAGER = _chunk55B57ZAYcjs.eb; exports.DETERMINE_LOGIN_METHOD = _chunk55B57ZAYcjs.Db; exports.DataCategoryGuessInput = _chunkABKDAPPRcjs.h; exports.DataCategoryInput = _chunkABKDAPPRcjs.q; exports.DataCategoryPreviewInput = _chunkABKDAPPRcjs.g; exports.DataCategoryRecommendationInput = _chunkABKDAPPRcjs.i; exports.DataFlowCsvInput = _chunkABKDAPPRcjs.ja; exports.DataFlowInput = _chunkABKDAPPRcjs.I; exports.DataSiloInput = _chunkABKDAPPRcjs.Q; exports.DataSubjectInput = _chunkABKDAPPRcjs.F; exports.DatapointInput = _chunkABKDAPPRcjs.w; exports.ENABLED_PLUGINS = _chunk55B57ZAYcjs.I; exports.ENRICHERS = _chunk55B57ZAYcjs.n; exports.ENTRY_COUNT = _chunk55B57ZAYcjs.h; exports.EXPERIENCES = _chunk55B57ZAYcjs.Ta; exports.EnrichPrivacyRequest = _chunkG522ZIHScjs.b; exports.EnricherInput = _chunkABKDAPPRcjs.e; exports.FETCH_CONSENT_MANAGER = _chunk55B57ZAYcjs.$a; exports.FETCH_CONSENT_MANAGER_ID = _chunk55B57ZAYcjs._a; exports.FETCH_CONSENT_MANAGER_THEME = _chunk55B57ZAYcjs.ab; exports.FETCH_PRIVACY_CENTER_ID = _chunk55B57ZAYcjs.zb; exports.FIVE_MIN_MS = _chunk55B57ZAYcjs.hg; exports.FieldInput = _chunkABKDAPPRcjs.v; exports.GLOBAL_ACTION_ITEMS = _chunk55B57ZAYcjs.wb; exports.GLOBAL_ACTION_ITEM_COLLECTIONS = _chunk55B57ZAYcjs.Ia; exports.HOUR_MS = _chunk55B57ZAYcjs.gg; exports.IDENTIFIERS = _chunk55B57ZAYcjs.s; exports.IDENTIFIER_BLOCK_LIST = _chunk55B57ZAYcjs.fc; exports.IMPORT_ONE_TRUST_ASSESSMENT_FORMS = _chunk55B57ZAYcjs.ga; exports.INITIALIZER = _chunk55B57ZAYcjs.o; exports.IP_ADDRESS_REGEX = _chunk52MA7ZLScjs.f; exports.IS_REQUIRED = _chunk55B57ZAYcjs.hc; exports.IdentifierInput = _chunkABKDAPPRcjs.H; exports.ImportOnetrustAssessmentsInput = _chunkABKDAPPRcjs.sa; exports.IntlMessage = _chunk55B57ZAYcjs.wf; exports.IntlMessageInput = _chunkABKDAPPRcjs.P; exports.LARGE_LANGUAGE_MODELS = _chunk55B57ZAYcjs.Gb; exports.LOGIN = _chunk55B57ZAYcjs.Eb; exports.MESSAGES = _chunk55B57ZAYcjs.$; exports.NEW_IDENTIFIER_TYPES = _chunk55B57ZAYcjs.t; exports.NONE = _chunk55B57ZAYcjs.cc; exports.NOTIFY_ADDITIONAL_TIME = _chunk55B57ZAYcjs._; exports.ORGANIZATION = _chunk55B57ZAYcjs.L; exports.OneTrustFileFormat = _chunk7PB6LVSEcjs.a; exports.OneTrustPullResource = _chunk7PB6LVSEcjs.b; exports.OneTrustPullSource = _chunk7PB6LVSEcjs.c; exports.OpenAIEnabledRoute = _chunkABKDAPPRcjs.na; exports.OpenAIEnabledRoutes = _chunkABKDAPPRcjs.oa; exports.OpenAIIntegration = _chunkABKDAPPRcjs.pa; exports.OpenAIRouteName = _chunk7PB6LVSEcjs.f; exports.POLICIES = _chunk55B57ZAYcjs.U; exports.PREFERENCE_TOPICS = _chunk55B57ZAYcjs.ia; exports.PRIVACY_CENTER = _chunk55B57ZAYcjs.Bb; exports.PROCESSING_ACTIVITIES = _chunk55B57ZAYcjs.Zb; exports.PROCESSING_PURPOSE_SUB_CATEGORIES = _chunk55B57ZAYcjs.Wb; exports.PROMPTS = _chunk55B57ZAYcjs.ka; exports.PROMPTS_WITH_VARIABLES = _chunk55B57ZAYcjs.na; exports.PROMPT_GROUPS = _chunk55B57ZAYcjs.ma; exports.PROMPT_PARTIALS = _chunk55B57ZAYcjs.la; exports.PROMPT_THREADS = _chunk55B57ZAYcjs.T; exports.PURPOSES = _chunk55B57ZAYcjs.ha; exports.ParsedAttributeInput = _chunk55B57ZAYcjs.qc; exports.PartitionInput = _chunkABKDAPPRcjs.L; exports.PathfinderPolicy = _chunkABKDAPPRcjs.qa; exports.PathfinderPolicyName = _chunk7PB6LVSEcjs.e; exports.PathfinderPolicyNameC = _chunkABKDAPPRcjs.ma; exports.PathfinderPromptRunMetadata = _chunkABKDAPPRcjs.ra; exports.PolicyInput = _chunkABKDAPPRcjs.O; exports.PrivacyCenterInput = _chunkABKDAPPRcjs.N; exports.PrivacyRequest = _chunk55B57ZAYcjs.nd; exports.PrivacyRequestInput = _chunk55B57ZAYcjs.tf; exports.PrivacyRequestResponse = _chunk55B57ZAYcjs.Cf; exports.ProcessingActivityInput = _chunkABKDAPPRcjs.A; exports.ProcessingPurposeInput = _chunkABKDAPPRcjs.r; exports.ProcessingPurposePreviewInput = _chunkABKDAPPRcjs.f; exports.PromptAVendorEmailSettings = _chunkABKDAPPRcjs.x; exports.PromptGroupInput = _chunkABKDAPPRcjs.u; exports.PromptInput = _chunkABKDAPPRcjs.s; exports.PromptPartialInput = _chunkABKDAPPRcjs.t; exports.PurposeMap = _chunkM3Y6JH6Icjs.c; exports.REDUCED_REQUESTS_FOR_DATA_SILO_COUNT = _chunk55B57ZAYcjs.xa; exports.REMOVE_REQUEST_IDENTIFIERS = _chunk55B57ZAYcjs.Ba; exports.REPORT_PROMPT_RUN = _chunk55B57ZAYcjs.Ga; exports.REPOSITORIES = _chunk55B57ZAYcjs.A; exports.REQUESTS = _chunk55B57ZAYcjs.W; exports.REQUEST_DATA_SILOS = _chunk55B57ZAYcjs.ua; exports.REQUEST_ENRICHERS = _chunk55B57ZAYcjs.ba; exports.REQUEST_FILES = _chunk55B57ZAYcjs.Ea; exports.REQUEST_IDENTIFIERS = _chunk55B57ZAYcjs.Ca; exports.RETRYABLE_BATCH_STATUSES = _chunkXXFLFF7Qcjs.y; exports.RETRY_REQUEST_DATA_SILO = _chunk55B57ZAYcjs.wa; exports.RETRY_REQUEST_ENRICHER = _chunk55B57ZAYcjs.ca; exports.RateCounter = _chunk55B57ZAYcjs.bg; exports.RegionInput = _chunkABKDAPPRcjs.z; exports.RepositoryInput = _chunkABKDAPPRcjs.E; exports.RequestFileMetadata = _chunk55B57ZAYcjs.xf; exports.RequestFileMetadataResponse = _chunk55B57ZAYcjs.yf; exports.RequestIdentifiersResponse = _chunk55B57ZAYcjs.kd; exports.RequestPurposeTrigger = _chunk55B57ZAYcjs.md; exports.RiskAssignmentInput = _chunkABKDAPPRcjs.W; exports.RiskLogicInput = _chunkABKDAPPRcjs.X; exports.SCOPES_BY_TITLE = _chunkXXFLFF7Qcjs.w; exports.SCOPE_TITLES = _chunkXXFLFF7Qcjs.x; exports.SET_RESOURCE_ATTRIBUTES = _chunk55B57ZAYcjs.Sa; exports.SILO_DISCOVERY_RESULTS = _chunk55B57ZAYcjs.bc; exports.SKIP_REQUEST_ENRICHER = _chunk55B57ZAYcjs.da; exports.SOFTWARE_DEVELOPMENT_KITS = _chunk55B57ZAYcjs.N; exports.SOMBRA_VERSION = _chunk55B57ZAYcjs.ac; exports.SUB_DATA_POINTS = _chunk55B57ZAYcjs.c; exports.SUB_DATA_POINTS_COUNT = _chunk55B57ZAYcjs.d; exports.SUB_DATA_POINTS_WITH_GUESSES = _chunk55B57ZAYcjs.e; exports.SYNC_ATTRIBUTE_TYPES = _chunk55B57ZAYcjs.Nc; exports.SiloDiscoveryResultInput = _chunkABKDAPPRcjs.ga; exports.SoftwareDevelopmentKitInput = _chunkABKDAPPRcjs.B; exports.StoredApiKey = _chunkABKDAPPRcjs.ia; exports.SuccessfulRequest = _chunk55B57ZAYcjs.kc; exports.TEAMS = _chunk55B57ZAYcjs.ya; exports.TEMPLATES = _chunk55B57ZAYcjs.J; exports.TOGGLE_CONSENT_PRECEDENCE = _chunk55B57ZAYcjs.lb; exports.TOGGLE_DATA_SUBJECT = _chunk55B57ZAYcjs.z; exports.TOGGLE_TELEMETRY_PARTITION_STRATEGY = _chunk55B57ZAYcjs.kb; exports.TOGGLE_UNKNOWN_COOKIE_POLICY = _chunk55B57ZAYcjs.jb; exports.TOGGLE_UNKNOWN_REQUEST_POLICY = _chunk55B57ZAYcjs.ib; exports.TR_PULL_RESOURCE_SCOPE_MAP = _chunkXXFLFF7Qcjs.u; exports.TR_PUSH_RESOURCE_SCOPE_MAP = _chunkXXFLFF7Qcjs.t; exports.TR_YML_RESOURCE_TO_FIELD_NAME = _chunkXXFLFF7Qcjs.v; exports.TeamInput = _chunkABKDAPPRcjs.d; exports.TemplateInput = _chunkABKDAPPRcjs.a; exports.TranscendInput = _chunkABKDAPPRcjs.ha; exports.TranscendPromptManager = B; exports.TranscendPullResource = _chunk7PB6LVSEcjs.d; exports.UPDATE_ACTION = _chunk55B57ZAYcjs.vb; exports.UPDATE_ACTION_ITEMS = _chunk55B57ZAYcjs.xb; exports.UPDATE_ACTION_ITEM_COLLECTION = _chunk55B57ZAYcjs.Ka; exports.UPDATE_AGENTS = _chunk55B57ZAYcjs.Jb; exports.UPDATE_AGENT_FILES = _chunk55B57ZAYcjs.Mb; exports.UPDATE_AGENT_FUNCTIONS = _chunk55B57ZAYcjs.Pb; exports.UPDATE_ATTRIBUTE = _chunk55B57ZAYcjs.Ra; exports.UPDATE_ATTRIBUTE_VALUES = _chunk55B57ZAYcjs.Na; exports.UPDATE_BUSINESS_ENTITIES = _chunk55B57ZAYcjs.tb; exports.UPDATE_CODE_PACKAGES = _chunk55B57ZAYcjs.R; exports.UPDATE_CONSENT_EXPERIENCE = _chunk55B57ZAYcjs.nb; exports.UPDATE_CONSENT_MANAGER_DOMAINS = _chunk55B57ZAYcjs.fb; exports.UPDATE_CONSENT_MANAGER_PARTITION = _chunk55B57ZAYcjs.gb; exports.UPDATE_CONSENT_MANAGER_THEME = _chunk55B57ZAYcjs.mb; exports.UPDATE_CONSENT_MANAGER_TO_LATEST = _chunk55B57ZAYcjs.db; exports.UPDATE_CONSENT_MANAGER_VERSION = _chunk55B57ZAYcjs.cb; exports.UPDATE_DATA_FLOWS = _chunk55B57ZAYcjs.Wa; exports.UPDATE_DATA_SILOS = _chunk55B57ZAYcjs.l; exports.UPDATE_DATA_SUBJECT = _chunk55B57ZAYcjs.y; exports.UPDATE_DATA_SUB_CATEGORIES = _chunk55B57ZAYcjs.Vb; exports.UPDATE_ENRICHER = _chunk55B57ZAYcjs.q; exports.UPDATE_IDENTIFIER = _chunk55B57ZAYcjs.v; exports.UPDATE_INTL_MESSAGES = _chunk55B57ZAYcjs.aa; exports.UPDATE_LOAD_OPTIONS = _chunk55B57ZAYcjs.hb; exports.UPDATE_OR_CREATE_COOKIES = _chunk55B57ZAYcjs.Xa; exports.UPDATE_OR_CREATE_DATA_POINT = _chunk55B57ZAYcjs.f; exports.UPDATE_POLICIES = _chunk55B57ZAYcjs.V; exports.UPDATE_PRIVACY_CENTER = _chunk55B57ZAYcjs.Cb; exports.UPDATE_PRIVACY_REQUEST = _chunk55B57ZAYcjs.Z; exports.UPDATE_PROCESSING_ACTIVITIES = _chunk55B57ZAYcjs.$b; exports.UPDATE_PROCESSING_PURPOSE_SUB_CATEGORIES = _chunk55B57ZAYcjs.Yb; exports.UPDATE_PROMPTS = _chunk55B57ZAYcjs.oa; exports.UPDATE_PROMPT_GROUPS = _chunk55B57ZAYcjs.sa; exports.UPDATE_PROMPT_PARTIALS = _chunk55B57ZAYcjs.qa; exports.UPDATE_REPOSITORIES = _chunk55B57ZAYcjs.B; exports.UPDATE_SOFTWARE_DEVELOPMENT_KITS = _chunk55B57ZAYcjs.O; exports.UPDATE_TEAM = _chunk55B57ZAYcjs.Aa; exports.UPDATE_VENDORS = _chunk55B57ZAYcjs.Sb; exports.USERS = _chunk55B57ZAYcjs.Da; exports.USP_STRING_REGEX = _chunkM3Y6JH6Icjs.b; exports.VARIABLE_PARAMETERS_NAME = _chunkJH5HRI6Dcjs.b; exports.VARIABLE_PARAMETERS_REGEXP = _chunkJH5HRI6Dcjs.a; exports.VENDORS = _chunk55B57ZAYcjs.Qb; exports.VendorInput = _chunkABKDAPPRcjs.p; exports.WebhookHeader = _chunkABKDAPPRcjs.b; exports.addDaysUtc = _chunk55B57ZAYcjs.mg; exports.addMessagesToPromptRun = _chunk55B57ZAYcjs.vc; exports.addMs = _chunk55B57ZAYcjs.lg; exports.appendCsvRowsOrdered = _chunk55B57ZAYcjs.pg; exports.appendCsvSync = _chunk55B57ZAYcjs.qg; exports.approvePrivacyRequests = _chunk55B57ZAYcjs.Ef; exports.assumeRole = _chunk55B57ZAYcjs.Ld; exports.buildAIIntegrationType = _chunkTSJTXXLZcjs.b; exports.buildEnabledRouteType = _chunkTSJTXXLZcjs.a; exports.buildTranscendGraphQLClient = _chunk55B57ZAYcjs.xc; exports.buildTranscendGraphQLClientGeneric = _chunk55B57ZAYcjs.wc; exports.buildXdiSyncEndpoint = _chunk52MA7ZLScjs.g; exports.bulkRestartRequests = _chunk55B57ZAYcjs.Mf; exports.bulkRetryEnrichers = _chunk55B57ZAYcjs.Of; exports.cancelPrivacyRequests = _chunk55B57ZAYcjs.Hf; exports.clampPageSize = _chunk55B57ZAYcjs.ig; exports.collectParquetFilesOrExit = _chunk55B57ZAYcjs.dg; exports.consentManagersToBusinessEntities = _chunk52MA7ZLScjs.h; exports.convertToDataSubjectAllowlist = _chunk55B57ZAYcjs.zd; exports.convertToDataSubjectBlockList = _chunk55B57ZAYcjs.yd; exports.createActionItemCollection = _chunk55B57ZAYcjs.ne; exports.createActionItems = _chunk55B57ZAYcjs.qe; exports.createAgent = _chunk55B57ZAYcjs.ze; exports.createAgentFile = _chunk55B57ZAYcjs.te; exports.createAgentFunction = _chunk55B57ZAYcjs.we; exports.createApiKey = _chunk55B57ZAYcjs.Md; exports.createBusinessEntity = _chunk55B57ZAYcjs.De; exports.createCodePackage = _chunk55B57ZAYcjs.Me; exports.createConsentToken = _chunkM3Y6JH6Icjs.a; exports.createDataCategory = _chunk55B57ZAYcjs.Te; exports.createDataFlows = _chunk55B57ZAYcjs.Xe; exports.createPreferenceAccessTokens = _chunk55B57ZAYcjs.Kc; exports.createProcessingPurpose = _chunk55B57ZAYcjs.ff; exports.createPrompt = _chunk55B57ZAYcjs.if; exports.createRegexForTag = j; exports.createRepository = _chunk55B57ZAYcjs.Je; exports.createSoftwareDevelopmentKit = _chunk55B57ZAYcjs.Ge; exports.createSombraGotInstance = _chunk55B57ZAYcjs.yc; exports.createTranscendConsentGotInstance = _chunk55B57ZAYcjs.zc; exports.createVendor = _chunk55B57ZAYcjs.lf; exports.defineTranscendPrompts = ec; exports.deleteApiKey = _chunk55B57ZAYcjs.Nd; exports.deployConsentManager = _chunk55B57ZAYcjs.Ac; exports.description = _chunkXXFLFF7Qcjs.l; exports.domainToHost = _chunk52MA7ZLScjs.e; exports.downloadPrivacyRequestFiles = _chunk55B57ZAYcjs.Bf; exports.enrichPrivacyRequest = _chunkG522ZIHScjs.c; exports.ensureAllDataSubjectsExist = _chunk55B57ZAYcjs.xd; exports.extractClientError = _chunk55B57ZAYcjs.Jf; exports.extractErrorMessage = _chunk55B57ZAYcjs.Yf; exports.fetchActiveSiloDiscoPlugin = _chunk55B57ZAYcjs.Cc; exports.fetchAllActionItems = _chunk55B57ZAYcjs.Dc; exports.fetchAllActions = _chunk55B57ZAYcjs.Ec; exports.fetchAllAgentFiles = _chunk55B57ZAYcjs.Fc; exports.fetchAllAgentFunctions = _chunk55B57ZAYcjs.Gc; exports.fetchAllAgents = _chunk55B57ZAYcjs.Hc; exports.fetchAllApiKeys = _chunk55B57ZAYcjs.sd; exports.fetchAllAssessmentTemplates = _chunk55B57ZAYcjs.Jc; exports.fetchAllAssessments = _chunk55B57ZAYcjs.Ic; exports.fetchAllAttributeValues = _chunk55B57ZAYcjs.Mc; exports.fetchAllAttributes = _chunk55B57ZAYcjs.Oc; exports.fetchAllBusinessEntities = _chunk55B57ZAYcjs.Pc; exports.fetchAllCatalogs = _chunk55B57ZAYcjs.ud; exports.fetchAllCookies = _chunk55B57ZAYcjs.Wc; exports.fetchAllDataCategories = _chunk55B57ZAYcjs.Xc; exports.fetchAllDataFlows = _chunk55B57ZAYcjs.Yc; exports.fetchAllDataPoints = _chunk55B57ZAYcjs.Yd; exports.fetchAllDataSilos = _chunk55B57ZAYcjs.Wd; exports.fetchAllDataSubjects = _chunk55B57ZAYcjs.wd; exports.fetchAllEnrichers = _chunk55B57ZAYcjs.ae; exports.fetchAllIdentifiers = _chunk55B57ZAYcjs.vg; exports.fetchAllMessages = _chunk55B57ZAYcjs.Zc; exports.fetchAllPolicies = _chunk55B57ZAYcjs.ad; exports.fetchAllPreferenceTopics = _chunk55B57ZAYcjs.cd; exports.fetchAllPrivacyCenters = _chunk55B57ZAYcjs.dd; exports.fetchAllProcessingActivities = _chunk55B57ZAYcjs.ed; exports.fetchAllProcessingPurposes = _chunk55B57ZAYcjs.fd; exports.fetchAllPromptGroups = _chunk55B57ZAYcjs.Ad; exports.fetchAllPromptPartials = _chunk55B57ZAYcjs.Bd; exports.fetchAllPromptThreads = _chunk55B57ZAYcjs.Ed; exports.fetchAllPrompts = _chunk55B57ZAYcjs.Cd; exports.fetchAllPurposes = _chunk55B57ZAYcjs.gd; exports.fetchAllPurposesAndPreferences = _chunk55B57ZAYcjs.hd; exports.fetchAllRequestAttributeKeys = _chunk55B57ZAYcjs.Lc; exports.fetchAllRequestEnrichers = _chunk55B57ZAYcjs.id; exports.fetchAllRequestIdentifierMetadata = _chunk55B57ZAYcjs.jd; exports.fetchAllRequestIdentifiers = _chunk55B57ZAYcjs.ld; exports.fetchAllRequests = _chunk55B57ZAYcjs.od; exports.fetchAllSiloDiscoveryResults = _chunk55B57ZAYcjs.ge; exports.fetchAllSubDataPoints = _chunk55B57ZAYcjs.Xd; exports.fetchAllTeams = _chunk55B57ZAYcjs.pd; exports.fetchAllTemplates = _chunk55B57ZAYcjs.ce; exports.fetchAllUsers = _chunk55B57ZAYcjs.qd; exports.fetchAllVendors = _chunk55B57ZAYcjs.rd; exports.fetchAndIndexCatalogs = _chunk55B57ZAYcjs.vd; exports.fetchApiKeys = _chunk55B57ZAYcjs.td; exports.fetchConsentManager = _chunk55B57ZAYcjs.Qc; exports.fetchConsentManagerAnalyticsData = _chunk55B57ZAYcjs.Uc; exports.fetchConsentManagerExperiences = _chunk55B57ZAYcjs.Sc; exports.fetchConsentManagerId = _chunk55B57ZAYcjs.Rc; exports.fetchConsentManagerTheme = _chunk55B57ZAYcjs.Vc; exports.fetchEnrichedDataSilos = _chunk55B57ZAYcjs.Zd; exports.fetchIdentifiersAndCreateMissing = _chunk55B57ZAYcjs.wg; exports.fetchPartitions = _chunk55B57ZAYcjs.ee; exports.fetchPrivacyCenterId = _chunk55B57ZAYcjs.$c; exports.fetchPrivacyCenterUrl = _chunk55B57ZAYcjs._c; exports.fetchPromptsWithVariables = _chunk55B57ZAYcjs.Dd; exports.fetchRequestDataSilo = _chunk55B57ZAYcjs.Hd; exports.fetchRequestDataSiloActiveCount = _chunk55B57ZAYcjs.Id; exports.fetchRequestDataSilos = _chunk55B57ZAYcjs.Gd; exports.fetchRequestDataSilosCount = _chunk55B57ZAYcjs.Fd; exports.fetchRequestFilesForRequest = _chunk55B57ZAYcjs.Jd; exports.filterNullishValuesFromObject = oc; exports.filterRows = _chunk55B57ZAYcjs.uc; exports.formatAttributeValues = _chunk55B57ZAYcjs.bd; exports.fuzzyMatchColumns = _chunk55B57ZAYcjs.nc; exports.fuzzySearch = _chunk55B57ZAYcjs.mc; exports.generateCrossAccountApiKeys = _chunkNC6VWOMNcjs.a; exports.getErrorStatus = _chunk55B57ZAYcjs.Xf; exports.getFileMetadataForPrivacyRequests = _chunk55B57ZAYcjs.zf; exports.getGitFilesThatChanged = cc; exports.getUniqueValuesForColumn = _chunk55B57ZAYcjs.tc; exports.initCsvFile = _chunk55B57ZAYcjs.og; exports.inquirerAutoComplete = _chunk55B57ZAYcjs.Vf; exports.inquirerConfirmBoolean = _chunk55B57ZAYcjs.Tf; exports.inquirerConfirmText = _chunk55B57ZAYcjs.Uf; exports.limitRecords = _chunk55B57ZAYcjs.ag; exports.listDirectories = _chunkNC6VWOMNcjs.d; exports.listFiles = _chunkNC6VWOMNcjs.c; exports.loginUser = _chunk55B57ZAYcjs.Kd; exports.makeGraphQLRequest = _chunk55B57ZAYcjs.ug; exports.mapColumnsToAttributes = _chunk55B57ZAYcjs.If; exports.mapColumnsToIdentifiers = _chunk55B57ZAYcjs.Gf; exports.mapCsvColumnsToApi = _chunk55B57ZAYcjs.qf; exports.mapCsvRowsToRequestInputs = _chunk55B57ZAYcjs.vf; exports.mapEnumValues = _chunk55B57ZAYcjs.oc; exports.mapRequestEnumValues = _chunk55B57ZAYcjs.rf; exports.markCronIdentifierCompleted = _chunkQ2RJZGYWcjs.d; exports.markRequestDataSiloIdsCompleted = _chunkQ2RJZGYWcjs.f; exports.markSilentPrivacyRequests = _chunk55B57ZAYcjs.pf; exports.mergeTranscendInputs = _chunkIBTP5OXEcjs.a; exports.name = _chunkXXFLFF7Qcjs.n; exports.normalizeIdentifierValue = _chunk55B57ZAYcjs.uf; exports.notifyPrivacyRequestsAdditionalTime = _chunk55B57ZAYcjs.Ff; exports.parquetToCsvOneFile = _chunk55B57ZAYcjs.eg; exports.parseAssessmentDisplayLogic = _chunk55B57ZAYcjs.Td; exports.parseAssessmentRiskLogic = _chunk55B57ZAYcjs.Vd; exports.parseAttributesFromString = _chunk55B57ZAYcjs.rc; exports.parseFilePath = _chunk55B57ZAYcjs.sg; exports.parseVariablesFromString = _chunk55B57ZAYcjs.Wf; exports.pullAllDatapoints = _chunk7H4ALAHCcjs.a; exports.pullChunkedCustomSiloOutstandingIdentifiers = _chunkQ2RJZGYWcjs.g; exports.pullConsentManagerMetrics = _chunk52MA7ZLScjs.d; exports.pullCronPageOfIdentifiers = _chunkQ2RJZGYWcjs.b; exports.pullManualEnrichmentIdentifiersToCsv = _chunkG522ZIHScjs.a; exports.pullPrivacyRequests = _chunk55B57ZAYcjs.Qf; exports.pullTranscendConfiguration = _chunk55B57ZAYcjs.ie; exports.pullUnstructuredSubDataPointRecommendations = _chunk7H4ALAHCcjs.b; exports.pushCronIdentifiersFromCsv = _chunkQ2RJZGYWcjs.e; exports.pushManualEnrichmentIdentifiersFromCsv = _chunkG522ZIHScjs.d; exports.readCsv = _chunk55B57ZAYcjs.sc; exports.readSafe = _chunk55B57ZAYcjs.cg; exports.readTranscendYaml = _chunkJH5HRI6Dcjs.d; exports.removeLinks = nc; exports.removeUnverifiedRequestIdentifiers = _chunk55B57ZAYcjs.Sf; exports.replaceVariablesInYaml = _chunkJH5HRI6Dcjs.c; exports.reportPromptRun = _chunk55B57ZAYcjs.je; exports.restartPrivacyRequest = _chunk55B57ZAYcjs.Lf; exports.retryRequestDataSilos = _chunk55B57ZAYcjs.Pf; exports.retryRequestEnricher = _chunk55B57ZAYcjs.ke; exports.retrySamePromise = _chunk55B57ZAYcjs.$f; exports.setResourceAttributes = _chunk55B57ZAYcjs.le; exports.skipPreflightJobs = _chunk55B57ZAYcjs.Nf; exports.skipRequestDataSilos = _chunk55B57ZAYcjs.Rf; exports.sleepPromise = _chunk55B57ZAYcjs.Zf; exports.splitCsvToList = _chunk55B57ZAYcjs.pc; exports.splitInHalf = _chunk55B57ZAYcjs._f; exports.startOfHour = _chunk55B57ZAYcjs.kg; exports.startOfUtcDay = _chunk55B57ZAYcjs.jg; exports.streamPrivacyRequestFiles = _chunk55B57ZAYcjs.Af; exports.submitPrivacyRequest = _chunk55B57ZAYcjs.Df; exports.syncAction = _chunk55B57ZAYcjs.me; exports.syncActionItemCollections = _chunk55B57ZAYcjs.pe; exports.syncActionItems = _chunk55B57ZAYcjs.se; exports.syncAgentFiles = _chunk55B57ZAYcjs.ve; exports.syncAgentFunctions = _chunk55B57ZAYcjs.ye; exports.syncAgents = _chunk55B57ZAYcjs.Be; exports.syncAttribute = _chunk55B57ZAYcjs.Ce; exports.syncBusinessEntities = _chunk55B57ZAYcjs.Fe; exports.syncCodePackages = _chunk55B57ZAYcjs.Oe; exports.syncConfigurationToTranscend = _chunk55B57ZAYcjs.xg; exports.syncConsentManager = _chunk55B57ZAYcjs.Qe; exports.syncConsentManagerExperiences = _chunk55B57ZAYcjs.Pe; exports.syncCookies = _chunk55B57ZAYcjs.Se; exports.syncDataCategories = _chunk55B57ZAYcjs.Ve; exports.syncDataFlows = _chunk55B57ZAYcjs.Ye; exports.syncDataSiloDependencies = _chunk55B57ZAYcjs.$d; exports.syncDataSilos = _chunk55B57ZAYcjs._d; exports.syncDataSubject = _chunk55B57ZAYcjs.Ze; exports.syncEnricher = _chunk55B57ZAYcjs.be; exports.syncIdentifier = _chunk55B57ZAYcjs._e; exports.syncIntlMessages = _chunk55B57ZAYcjs.af; exports.syncPartitions = _chunk55B57ZAYcjs.fe; exports.syncPolicies = _chunk55B57ZAYcjs.cf; exports.syncPrivacyCenter = _chunk55B57ZAYcjs.df; exports.syncProcessingActivities = _chunk55B57ZAYcjs.ef; exports.syncProcessingPurposes = _chunk55B57ZAYcjs.hf; exports.syncPrompts = _chunk55B57ZAYcjs.kf; exports.syncRepositories = _chunk55B57ZAYcjs.Le; exports.syncSoftwareDevelopmentKits = _chunk55B57ZAYcjs.Ie; exports.syncTemplate = _chunk55B57ZAYcjs.de; exports.syncVendors = _chunk55B57ZAYcjs.nf; exports.updateActionItem = _chunk55B57ZAYcjs.re; exports.updateActionItemCollection = _chunk55B57ZAYcjs.oe; exports.updateAgentFiles = _chunk55B57ZAYcjs.ue; exports.updateAgentFunctions = _chunk55B57ZAYcjs.xe; exports.updateAgents = _chunk55B57ZAYcjs.Ae; exports.updateBusinessEntities = _chunk55B57ZAYcjs.Ee; exports.updateCodePackages = _chunk55B57ZAYcjs.Ne; exports.updateConsentManagerToLatest = _chunk55B57ZAYcjs.Bc; exports.updateConsentManagerVersionToLatest = _chunk52MA7ZLScjs.a; exports.updateDataCategories = _chunk55B57ZAYcjs.Ue; exports.updateDataFlows = _chunk55B57ZAYcjs.We; exports.updateIntlMessages = _chunk55B57ZAYcjs.$e; exports.updateOrCreateCookies = _chunk55B57ZAYcjs.Re; exports.updatePolicies = _chunk55B57ZAYcjs.bf; exports.updateProcessingPurposes = _chunk55B57ZAYcjs.gf; exports.updatePrompts = _chunk55B57ZAYcjs.jf; exports.updateRepositories = _chunk55B57ZAYcjs.Ke; exports.updateSoftwareDevelopmentKits = _chunk55B57ZAYcjs.He; exports.updateVendors = _chunk55B57ZAYcjs.mf; exports.uploadConsents = _chunkM3Y6JH6Icjs.d; exports.uploadCookiesFromCsv = _chunk52MA7ZLScjs.c; exports.uploadDataFlowsFromCsv = _chunk52MA7ZLScjs.b; exports.uploadPrivacyRequestsFromCsv = _chunk55B57ZAYcjs.Kf; exports.uploadSiloDiscoveryResults = _chunk55B57ZAYcjs.of; exports.validateTranscendAuth = _chunkNC6VWOMNcjs.b; exports.version = _chunkXXFLFF7Qcjs.m; exports.writeCsv = _chunk55B57ZAYcjs.rg; exports.writeCsvSync = _chunk55B57ZAYcjs.ng; exports.writeLargeCsv = _chunk55B57ZAYcjs.tg; exports.writeTranscendYaml = _chunkJH5HRI6Dcjs.e;
|
|
5
5
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.d.cts
CHANGED
|
@@ -123023,7 +123023,7 @@ declare const TranscendInput: t.PartialC<{
|
|
|
123023
123023
|
/**
|
|
123024
123024
|
* The full list of silo discovery results
|
|
123025
123025
|
*/
|
|
123026
|
-
|
|
123026
|
+
'system-discovery': t.ArrayC<t.IntersectionC<[t.TypeC<{
|
|
123027
123027
|
/** The unique identifier for the resource */
|
|
123028
123028
|
resourceId: t.StringC;
|
|
123029
123029
|
/** The plugin that found this results */
|
|
@@ -128739,7 +128739,7 @@ declare enum TranscendPullResource {
|
|
|
128739
128739
|
Assessments = "assessments",
|
|
128740
128740
|
AssessmentTemplates = "assessmentTemplates",
|
|
128741
128741
|
Purposes = "purposes",
|
|
128742
|
-
|
|
128742
|
+
SystemDiscovery = "systemDiscovery"
|
|
128743
128743
|
}
|
|
128744
128744
|
/**
|
|
128745
128745
|
* Names of built in policies for pathfinder
|
|
@@ -156227,7 +156227,7 @@ declare function removeUnverifiedRequestIdentifiers({ requestActions, identifier
|
|
|
156227
156227
|
}): Promise<number>;
|
|
156228
156228
|
|
|
156229
156229
|
var description = "A command line interface for programmatic operations across Transcend.";
|
|
156230
|
-
var version = "8.
|
|
156230
|
+
var version = "8.31.1";
|
|
156231
156231
|
|
|
156232
156232
|
/**
|
|
156233
156233
|
* The name of the main binary for the CLI
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"author": "Transcend Inc.",
|
|
3
3
|
"name": "@transcend-io/cli",
|
|
4
4
|
"description": "A command line interface for programmatic operations across Transcend.",
|
|
5
|
-
"version": "8.
|
|
5
|
+
"version": "8.31.1",
|
|
6
6
|
"homepage": "https://github.com/transcend-io/cli",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/cli/cli/dist/chunk-3FIDP42N.cjs","../src/lib/code-scanning/integrations/cocoaPods.ts","../src/lib/code-scanning/integrations/gradle.ts","../src/lib/code-scanning/integrations/pubspec.ts","../src/lib/code-scanning/integrations/swift.ts"],"names":["POD_TARGET_REGEX","POD_PACKAGE_REGEX","cocoaPods","filePath","fileContents","readFileSync","targets","findAllWithRegex","packages","target","ind","CodePackageType","pkg","GRADLE_IMPLEMENTATION_REGEX","GRADLE_PLUGIN_REGEX","GRADLE_IMPLEMENTATION_GROUP_REGEX","GRADLE_APPLICATION_NAME_REGEX","gradle","directory","dirname","targetPlugins","targetGroups","applications"],"mappings":"AAAA,u/BAAwC,wDAAyC,wBCApD,qDAGI,2DACD,IAE1BA,CAAAA,CAAmB,wBAAA,CACnBC,CAAAA,CAAoB,4CAAA,CAEbC,CAAAA,CAAgC,CAC3C,cAAA,CAAgB,CAAC,SAAS,CAAA,CAC1B,UAAA,CAAY,CAAC,MAAM,CAAA,CACnB,YAAA,CAAeC,CAAAA,EAAa,CAC1B,IAAMC,CAAAA,CAAeC,8BAAAA,CAAaF,CAAU,OAAO,CAAA,CAE7CG,CAAAA,CAAUC,yCAAAA,CAEZ,KAAA,CAAO,IAAI,MAAA,CAAOP,CAAAA,CAAkB,GAAG,CAAA,CACvC,OAAA,CAAS,CAAC,QAAA,CAAU,MAAA,CAAQ,QAAQ,CACtC,CAAA,CACAI,CACF,CAAA,CACMI,CAAAA,CAAWD,yCAAAA,CAEb,KAAA,CAAO,IAAI,MAAA,CAAON,CAAAA,CAAmB,GAAG,CAAA,CACxC,OAAA,CAAS,CACP,QAAA,CACA,MAAA,CACA,QAAA,CACA,OAAA,CACA,QAAA,CACA,SAAA,CACA,QACF,CACF,CAAA,CACAG,CACF,CAAA,CAiBA,OAf+BE,CAAAA,CAAQ,GAAA,CAAI,CAACG,CAAAA,CAAQC,CAAAA,CAAAA,EAAAA,CAAS,CAC3D,IAAA,CAAMD,CAAAA,CAAO,IAAA,CACb,IAAA,CAAME,6BAAAA,CAAgB,SAAA,CACtB,uBAAA,CAAyBH,CAAAA,CACtB,MAAA,CACEI,CAAAA,EACCA,CAAAA,CAAI,UAAA,CAAaH,CAAAA,CAAO,UAAA,EAAA,CACvB,CAACH,CAAAA,CAAQI,CAAAA,CAAM,CAAC,CAAA,EAAKE,CAAAA,CAAI,UAAA,CAAaN,CAAAA,CAAQI,CAAAA,CAAM,CAAC,CAAA,CAAE,UAAA,CAC5D,CAAA,CACC,GAAA,CAAKE,CAAAA,EAAAA,CAAS,CACb,IAAA,CAAMA,CAAAA,CAAI,IAAA,CACV,OAAA,CAASA,CAAAA,CAAI,OACf,CAAA,CAAE,CACN,CAAA,CAAE,CAGJ,CACF,CAAA,CCvDA,4BAGwB,IAElBC,CAAAA,CACJ,gDAAA,CACIC,CAAAA,CAAsB,yCAAA,CACtBC,CAAAA,CACJ,uGAAA,CACIC,CAAAA,CAAgC,0BAAA,CAYzBC,CAAAA,CAA6B,CACxC,cAAA,CAAgB,CAAC,gBAAgB,CAAA,CACjC,UAAA,CAAY,CACV,oBAAA,CACA,oBAAA,CACA,2BACF,CAAA,CACA,YAAA,CAAed,CAAAA,EAAa,CAC1B,IAAMC,CAAAA,CAAeC,8BAAAA,CAAaF,CAAU,OAAO,CAAA,CAC7Ce,CAAAA,CAAYC,2BAAAA,CAAgB,CAAA,CAE5Bb,CAAAA,CAAUC,yCAAAA,CAEZ,KAAA,CAAO,IAAI,MAAA,CAAOM,CAAAA,CAA6B,GAAG,CAAA,CAClD,OAAA,CAAS,CAAC,OAAA,CAAS,QAAA,CAAU,MAAA,CAAQ,MAAA,CAAQ,SAAA,CAAW,QAAQ,CAClE,CAAA,CACAT,CACF,CAAA,CACMgB,CAAAA,CAAgBb,yCAAAA,CAElB,KAAA,CAAO,IAAI,MAAA,CAAOO,CAAAA,CAAqB,GAAG,CAAA,CAC1C,OAAA,CAAS,CAAC,QAAA,CAAU,MAAA,CAAQ,OAAA,CAAS,SAAA,CAAW,QAAQ,CAC1D,CAAA,CACAV,CACF,CAAA,CACMiB,CAAAA,CAAed,yCAAAA,CAEjB,KAAA,CAAO,IAAI,MAAA,CAAOQ,CAAAA,CAAmC,GAAG,CAAA,CACxD,OAAA,CAAS,CACP,QAAA,CACA,QAAA,CACA,OAAA,CACA,QAAA,CACA,QAAA,CACA,QAAA,CACA,QAAA,CACA,MAAA,CACA,QAAA,CACA,QAAA,CACA,QAAA,CACA,QAAA,CACA,SAAA,CACA,QACF,CACF,CAAA,CACAX,CACF,CAAA,CACMkB,CAAAA,CAAef,yCAAAA,CAEjB,KAAA,CAAO,IAAI,MAAA,CAAOS,CAAAA,CAA+B,GAAG,CAAA,CACpD,OAAA,CAAS,CAAC,OAAA,CAAS,MAAM,CAC3B,CAAA,CACAZ,CACF,CAAA,CACA,EAAA,CAAIkB,CAAAA,CAAa,MAAA,CAAS,CAAA,CACxB,MAAM,IAAI,KAAA,CAAM,CAAA,0CAAA,EAA6CnB,CAAQ,CAAA,CAAA;AC/CjE;ACkBR","file":"/home/runner/work/cli/cli/dist/chunk-3FIDP42N.cjs","sourcesContent":[null,"import { readFileSync } from 'node:fs';\nimport { CodeScanningConfig } from '../types';\nimport { CodePackageSdk } from '../../../codecs';\nimport { findAllWithRegex } from '@transcend-io/type-utils';\nimport { CodePackageType } from '@transcend-io/privacy-types';\n\nconst POD_TARGET_REGEX = /target ('|\")(.*?)('|\")/;\nconst POD_PACKAGE_REGEX = /pod ('|\")(.*?)('|\")(, ('|\")~> (.+?)('|\")|)/;\n\nexport const cocoaPods: CodeScanningConfig = {\n supportedFiles: ['Podfile'],\n ignoreDirs: ['Pods'],\n scanFunction: (filePath) => {\n const fileContents = readFileSync(filePath, 'utf-8');\n\n const targets = findAllWithRegex(\n {\n value: new RegExp(POD_TARGET_REGEX, 'g'),\n matches: ['quote1', 'name', 'quote2'],\n },\n fileContents,\n );\n const packages = findAllWithRegex(\n {\n value: new RegExp(POD_PACKAGE_REGEX, 'g'),\n matches: [\n 'quote1',\n 'name',\n 'quote2',\n 'extra',\n 'quote3',\n 'version',\n 'quote4',\n ],\n },\n fileContents,\n );\n\n const deps: CodePackageSdk[] = targets.map((target, ind) => ({\n name: target.name,\n type: CodePackageType.CocoaPods,\n softwareDevelopmentKits: packages\n .filter(\n (pkg) =>\n pkg.matchIndex > target.matchIndex &&\n (!targets[ind + 1] || pkg.matchIndex < targets[ind + 1].matchIndex),\n )\n .map((pkg) => ({\n name: pkg.name,\n version: pkg.version,\n })),\n }));\n\n return deps;\n },\n};\n","import { readFileSync } from 'node:fs';\nimport { CodeScanningConfig } from '../types';\nimport { findAllWithRegex } from '@transcend-io/type-utils';\nimport { dirname } from 'node:path';\n\nconst GRADLE_IMPLEMENTATION_REGEX =\n /implementation( *)('|\")(.+?):(.+?):(.+?|)('|\")/;\nconst GRADLE_PLUGIN_REGEX = /apply plugin: *('|\")(.+?)(:(.+?)|)('|\")/;\nconst GRADLE_IMPLEMENTATION_GROUP_REGEX =\n /implementation group:( *)('|\")(.+?)('|\"),( *)name:( *)('|\")(.+?)('|\"),( *)version:( *)('|\")(.+?)('|\")/;\nconst GRADLE_APPLICATION_NAME_REGEX = /applicationId( *)\"(.+?)\"/;\n\n/**\n * So far, there are three ways of defining dependencies that is supported\n * implementation group: 'org.eclipse.jdt', name: 'org.eclipse.jdt.core', version: '3.28.0'\n * or\n * implementation 'com.google.firebase:firebase-analytics:18.0.0'\n * or\n * apply plugin: 'com.google.gms.google-services'\n *\n * single and double quotes are both recognized\n */\nexport const gradle: CodeScanningConfig = {\n supportedFiles: ['build.gradle**'],\n ignoreDirs: [\n 'gradle-app.setting',\n 'gradle-wrapper.jar',\n 'gradle-wrapper.properties',\n ],\n scanFunction: (filePath) => {\n const fileContents = readFileSync(filePath, 'utf-8');\n const directory = dirname(filePath);\n\n const targets = findAllWithRegex(\n {\n value: new RegExp(GRADLE_IMPLEMENTATION_REGEX, 'g'),\n matches: ['space', 'quote1', 'name', 'path', 'version', 'quote2'],\n },\n fileContents,\n );\n const targetPlugins = findAllWithRegex(\n {\n value: new RegExp(GRADLE_PLUGIN_REGEX, 'g'),\n matches: ['quote1', 'name', 'group', 'version', 'quote2'],\n },\n fileContents,\n );\n const targetGroups = findAllWithRegex(\n {\n value: new RegExp(GRADLE_IMPLEMENTATION_GROUP_REGEX, 'g'),\n matches: [\n 'space1',\n 'quote1',\n 'group',\n 'quote2',\n 'space2',\n 'space3',\n 'quote3',\n 'name',\n 'quote4',\n 'space4',\n 'space5',\n 'quote5',\n 'version',\n 'quote6',\n ],\n },\n fileContents,\n );\n const applications = findAllWithRegex(\n {\n value: new RegExp(GRADLE_APPLICATION_NAME_REGEX, 'g'),\n matches: ['space', 'name'],\n },\n fileContents,\n );\n if (applications.length > 1) {\n throw new Error(`Expected only one applicationId per file: ${filePath}`);\n }\n\n return [\n {\n name: applications[0]?.name || directory.split('/').pop()!,\n softwareDevelopmentKits: [\n ...targets,\n ...targetGroups,\n ...targetPlugins,\n ].map((target) => ({\n name: target.name,\n version: target.version || undefined,\n })),\n },\n ];\n },\n};\n","import { readFileSync } from 'node:fs';\nimport { CodeScanningConfig } from '../types';\nimport { CodePackageType } from '@transcend-io/privacy-types';\nimport yaml from 'js-yaml';\nimport { dirname } from 'node:path';\n\n/**\n * Remove YAML comments from a string\n *\n * @param yamlString - YAML string\n * @returns String without comments\n */\nfunction removeYAMLComments(yamlString: string): string {\n return yamlString\n .split('\\n')\n .map((line) => {\n // Remove inline comments\n const commentIndex = line.indexOf('#');\n if (commentIndex > -1) {\n // Check if '#' is not inside a string\n if (\n !line.substring(0, commentIndex).includes('\"') &&\n !line.substring(0, commentIndex).includes(\"'\")\n ) {\n return line.substring(0, commentIndex).trim();\n }\n }\n return line;\n })\n .filter((line) => line.length > 0)\n .join('\\n');\n}\n\nexport const pubspec: CodeScanningConfig = {\n supportedFiles: ['pubspec.yml'],\n ignoreDirs: ['build'],\n scanFunction: (filePath) => {\n const directory = dirname(filePath);\n const fileContents = readFileSync(filePath, 'utf-8');\n const {\n name,\n description,\n dev_dependencies = {},\n dependencies = {},\n } = yaml.load(removeYAMLComments(fileContents)) as {\n /** Name */\n name?: string;\n /** Description */\n description?: string;\n /** Dev dependencies */\n dev_dependencies?: { [k in string]: number | Record<string, string> };\n /** Dependencies */\n dependencies?: { [k in string]: number | Record<string, string> };\n };\n return [\n {\n name: name || directory.split('/').pop()!,\n description,\n type: CodePackageType.RequirementsTxt,\n softwareDevelopmentKits: [\n ...Object.entries(dependencies).map(([name, version]) => ({\n name,\n version:\n typeof version === 'string'\n ? version\n : typeof version === 'number'\n ? version.toString()\n : version?.sdk,\n })),\n ...Object.entries(dev_dependencies).map(([name, version]) => ({\n name,\n version:\n typeof version === 'string'\n ? version\n : typeof version === 'number'\n ? version.toString()\n : version?.sdk,\n isDevDependency: true,\n })),\n ],\n },\n ];\n },\n};\n","import { readFileSync } from 'node:fs';\nimport { CodeScanningConfig } from '../types';\nimport { CodePackageType } from '@transcend-io/privacy-types';\nimport { decodeCodec } from '@transcend-io/type-utils';\nimport * as t from 'io-ts';\nimport { dirname } from 'node:path';\n\nconst SwiftPackage = t.type({\n pins: t.array(\n t.type({\n identity: t.string,\n kind: t.string,\n location: t.string,\n state: t.intersection([\n t.type({\n revision: t.string,\n }),\n t.partial({\n version: t.union([t.string, t.undefined, t.null]),\n }),\n ]),\n }),\n ),\n version: t.number,\n});\n\nconst SwiftPackageV1 = t.type({\n object: t.type({\n pins: t.array(\n t.type({\n package: t.string,\n repositoryURL: t.string,\n state: t.intersection([\n t.type({\n branch: t.union([t.string, t.undefined, t.null]),\n revision: t.string,\n }),\n t.partial({\n version: t.union([t.string, t.undefined, t.null]),\n }),\n ]),\n }),\n ),\n }),\n version: t.number,\n});\n\nexport const swift: CodeScanningConfig = {\n supportedFiles: ['Package.resolved'],\n ignoreDirs: [],\n scanFunction: (filePath) => {\n const fileContents = readFileSync(filePath, 'utf-8');\n\n // Attempt latest version first\n try {\n const parsed = decodeCodec(SwiftPackage, fileContents);\n\n return [\n {\n name: dirname(filePath).split('/').pop() || '', // TODO pull from Package.swift ->> name if possible\n type: CodePackageType.Swift,\n softwareDevelopmentKits: parsed.pins.map((target) => ({\n name: target.identity,\n version: target.state.version || undefined,\n })),\n },\n ];\n } catch (e) {\n // Throw non codec errors\n if (!e?.message?.includes('Failed to decode codec')) {\n throw e;\n }\n\n // Attempt v1\n try {\n const parsed = decodeCodec(SwiftPackageV1, fileContents);\n return [\n {\n name: dirname(filePath).split('/').pop() || '', // TODO pull from Package.swift ->> name if possible\n type: CodePackageType.Swift,\n softwareDevelopmentKits: parsed.object.pins.map((target) => ({\n name: target.package,\n version: target.state.version || undefined,\n })),\n },\n ];\n } catch (e2) {\n if (!e2?.message?.includes('Failed to decode codec')) {\n throw e2;\n }\n throw e;\n }\n }\n },\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/enums.ts"],"names":["OneTrustFileFormat","OneTrustPullResource","OneTrustPullSource","TranscendPullResource","PathfinderPolicyName","makeEnum","OpenAIRouteName"],"mappings":"AAAA,8HAAyB,IAGbA,CAAAA,CAAAA,CAAAA,CAAAA,EAAAA,CACVA,CAAAA,CAAA,IAAA,CAAO,MAAA,CADGA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,EAAA,CAAA,CAAA,CAAA,CAOAC,CAAAA,aAAAA,CAAAA,CAAAA,EAAAA,CACVA,CAAAA,CAAA,WAAA,CAAc,aAAA,CADJA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,EAAA,CAAA,CAAA,CAAA,CAOAC,CAAAA,aAAAA,CAAAA,CAAAA,EAAAA,CACVA,CAAAA,CAAA,QAAA,CAAW,UAAA,CACXA,CAAAA,CAAA,IAAA,CAAO,MAAA,CAFGA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,EAAA,CAAA,CAAA,CAAA,CAQAC,CAAAA,aAAAA,CAAAA,CAAAA,EAAAA,CACVA,CAAAA,CAAA,OAAA,CAAU,SAAA,CACVA,CAAAA,CAAA,UAAA,CAAa,cAAA,CACbA,CAAAA,CAAA,SAAA,CAAY,WAAA,CACZA,CAAAA,CAAA,SAAA,CAAY,WAAA,CACZA,CAAAA,CAAA,SAAA,CAAY,WAAA,CACZA,CAAAA,CAAA,SAAA,CAAY,WAAA,CACZA,CAAAA,CAAA,gBAAA,CAAmB,kBAAA,CACnBA,CAAAA,CAAA,oBAAA,CAAuB,sBAAA,CACvBA,CAAAA,CAAA,OAAA,CAAU,SAAA,CACVA,CAAAA,CAAA,YAAA,CAAe,cAAA,CACfA,CAAAA,CAAA,WAAA,CAAc,aAAA,CACdA,CAAAA,CAAA,OAAA,CAAU,SAAA,CACVA,CAAAA,CAAA,cAAA,CAAiB,gBAAA,CACjBA,CAAAA,CAAA,UAAA,CAAa,YAAA,CACbA,CAAAA,CAAA,OAAA,CAAU,SAAA,CACVA,CAAAA,CAAA,cAAA,CAAiB,gBAAA,CACjBA,CAAAA,CAAA,YAAA,CAAe,cAAA,CACfA,CAAAA,CAAA,MAAA,CAAS,QAAA,CACTA,CAAAA,CAAA,cAAA,CAAiB,gBAAA,CACjBA,CAAAA,CAAA,UAAA,CAAa,YAAA,CACbA,CAAAA,CAAA,OAAA,CAAU,SAAA,CACVA,CAAAA,CAAA,cAAA,CAAiB,gBAAA,CACjBA,CAAAA,CAAA,kBAAA,CAAqB,oBAAA,CACrBA,CAAAA,CAAA,WAAA,CAAc,aAAA,CACdA,CAAAA,CAAA,qBAAA,CAAwB,uBAAA,CACxBA,CAAAA,CAAA,KAAA,CAAQ,OAAA,CACRA,CAAAA,CAAA,cAAA,CAAiB,gBAAA,CACjBA,CAAAA,CAAA,QAAA,CAAW,UAAA,CACXA,CAAAA,CAAA,QAAA,CAAW,UAAA,CACXA,CAAAA,CAAA,WAAA,CAAc,aAAA,CACdA,CAAAA,CAAA,mBAAA,CAAsB,qBAAA,CACtBA,CAAAA,CAAA,QAAA,CAAW,UAAA,CACXA,CAAAA,CAAA,oBAAA,CAAuB,sBAAA,CAjCbA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,EAAA,CAAA,CAAA,CAAA,CAuCCC,CAAAA,aAAuBC,iCAAAA,CAClC,WAAA,CAAa,aAAA,CACb,GAAA,CAAK,KAAA,CACL,cAAA,CAAgB,gBAAA,CAChB,sBAAA,CAAwB,wBAC1B,CAAC,CAAA,CAYYC,CAAAA,aAAkBD,iCAAAA,CAC7B,cAAA,CAAgB,sBAAA,CAChB,UAAA,CAAY,gBAAA,CACZ,WAAA,CAAa,iBAAA,CACb,MAAA,CAAQ,gBAAA,CACR,KAAA,CAAO,6BAAA,CACP,OAAA,CAAS,aAAA,CACT,MAAA,CAAQ,uBAAA,CACR,QAAA,CAAU,gCAAA,CACV,OAAA,CAAS,2CAAA,CACT,IAAA,CAAM,4BAAA,CACN,GAAA,CAAK,mCAAA,CACL,KAAA,CAAO,WAAA,CACP,IAAA,CAAM,mBACR,CAAC,CAAA,CAAA,yFAAA","file":"/home/runner/work/cli/cli/dist/chunk-T3BBQIRY.cjs","sourcesContent":["import { makeEnum } from '@transcend-io/type-utils';\n\n/** Accepted file formats for exporting resources from OneTrust */\nexport enum OneTrustFileFormat {\n Json = 'json',\n}\n\n/**\n * Resources that can be pulled in from OneTrust\n */\nexport enum OneTrustPullResource {\n Assessments = 'assessments',\n}\n\n/**\n * Where to read OneTrust resources from\n */\nexport enum OneTrustPullSource {\n OneTrust = 'oneTrust',\n File = 'file',\n}\n\n/**\n * Resources that can be pulled in\n */\nexport enum TranscendPullResource {\n ApiKeys = 'apiKeys',\n Attributes = 'customFields',\n Templates = 'templates',\n DataSilos = 'dataSilos',\n Enrichers = 'enrichers',\n DataFlows = 'dataFlows',\n BusinessEntities = 'businessEntities',\n ProcessingActivities = 'processingActivities',\n Actions = 'actions',\n DataSubjects = 'dataSubjects',\n Identifiers = 'identifiers',\n Cookies = 'cookies',\n ConsentManager = 'consentManager',\n Partitions = 'partitions',\n Prompts = 'prompts',\n PromptPartials = 'promptPartials',\n PromptGroups = 'promptGroups',\n Agents = 'agents',\n AgentFunctions = 'agentFunctions',\n AgentFiles = 'agentFiles',\n Vendors = 'vendors',\n DataCategories = 'dataCategories',\n ProcessingPurposes = 'processingPurposes',\n ActionItems = 'actionItems',\n ActionItemCollections = 'actionItemCollections',\n Teams = 'teams',\n PrivacyCenters = 'privacyCenters',\n Policies = 'policies',\n Messages = 'messages',\n Assessments = 'assessments',\n AssessmentTemplates = 'assessmentTemplates',\n Purposes = 'purposes',\n SiloDiscoveryResults = 'siloDiscoveryResults',\n}\n\n/**\n * Names of built in policies for pathfinder\n */\nexport const PathfinderPolicyName = makeEnum({\n RedactEmail: 'redactEmail',\n Log: 'log',\n LogToTranscend: 'logToTranscend',\n ApplyTranscendPolicies: 'applyTranscendPolicies',\n});\n\n/**\n * Type override\n */\nexport type PathfinderPolicyName =\n (typeof PathfinderPolicyName)[keyof typeof PathfinderPolicyName];\n\n/**\n * The names of the OpenAI routes that we support setting policies for\n * reference: https://platform.openai.com/docs/api-reference/introduction\n */\nexport const OpenAIRouteName = makeEnum({\n ChatCompletion: '/v1/chat/completions',\n Embeddings: '/v1/embeddings',\n Completions: '/v1/completions',\n Agents: '/v1/assistants',\n Agent: '/v1/assistants/:assistantId',\n Threads: '/v1/threads',\n Thread: '/v1/threads/:threadId',\n Messages: '/v1/threads/:threadId/messages',\n Message: '/v1/threads/:threadId/messages/:messageId',\n Runs: '/v1/threads/:threadId/runs',\n Run: '/v1/threads/:threadId/runs/:runId',\n Files: '/v1/files',\n File: '/v1/files/:fileId',\n});\n\n/**\n * Type override\n */\nexport type OpenAIRouteName =\n (typeof OpenAIRouteName)[keyof typeof OpenAIRouteName];\n"]}
|
package/dist/impl-7BAUUGZT.cjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');var _chunkHTS7K7QDcjs = require('./chunk-HTS7K7QD.cjs');require('./chunk-FHUHBSLE.cjs');require('./chunk-ZUNVPK23.cjs');require('./chunk-OMVVROKB.cjs');require('./chunk-T3BBQIRY.cjs');async function a({auth:o,transcendUrl:r,enricherIds:e}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit),await _chunkHTS7K7QDcjs.Nf.call(void 0, {transcendUrl:r,auth:o,enricherIds:e})}exports.skipPreflightJobs = a;
|
|
2
|
-
//# sourceMappingURL=impl-7BAUUGZT.cjs.map
|
package/dist/impl-FKXR7U4X.cjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkZ2DYKPKMcjs = require('./chunk-Z2DYKPKM.cjs');var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');require('./chunk-HTS7K7QD.cjs');require('./chunk-FHUHBSLE.cjs');require('./chunk-ZUNVPK23.cjs');require('./chunk-OMVVROKB.cjs');require('./chunk-T3BBQIRY.cjs');async function d({file:i,transcendUrl:o,auth:r,sombraAuth:n,dataSiloId:s}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit),await _chunkZ2DYKPKMcjs.e.call(void 0, {file:i,transcendUrl:o,auth:r,sombraAuth:n,dataSiloId:s})}exports.markIdentifiersCompleted = d;
|
|
2
|
-
//# sourceMappingURL=impl-FKXR7U4X.cjs.map
|
package/dist/impl-IBOGAUVL.cjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkRAA5VWQScjs = require('./chunk-RAA5VWQS.cjs');var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');require('./chunk-HTS7K7QD.cjs');require('./chunk-FHUHBSLE.cjs');require('./chunk-ZUNVPK23.cjs');require('./chunk-OMVVROKB.cjs');require('./chunk-T3BBQIRY.cjs');async function u({auth:r,transcendUrl:i,file:e,enricherId:o,concurrency:s,markSilent:a,sombraAuth:m}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit),await _chunkRAA5VWQScjs.d.call(void 0, {file:e,transcendUrl:i,enricherId:o,concurrency:s,markSilent:a,auth:r,sombraAuth:m})}exports.pushIdentifiers = u;
|
|
2
|
-
//# sourceMappingURL=impl-IBOGAUVL.cjs.map
|
package/dist/impl-J62VZXDY.cjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');var _chunkHTS7K7QDcjs = require('./chunk-HTS7K7QD.cjs');require('./chunk-FHUHBSLE.cjs');require('./chunk-ZUNVPK23.cjs');require('./chunk-OMVVROKB.cjs');require('./chunk-T3BBQIRY.cjs');async function c({auth:o,dataSiloId:a,actions:r,transcendUrl:s}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit),await _chunkHTS7K7QDcjs.Pf.call(void 0, {requestActions:r,transcendUrl:s,auth:o,dataSiloId:a})}exports.retryRequestDataSilos = c;
|
|
2
|
-
//# sourceMappingURL=impl-J62VZXDY.cjs.map
|
package/dist/impl-LMKJ6UBT.cjs
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkYYDWSYMFcjs = require('./chunk-YYDWSYMF.cjs');require('./chunk-LU3DKRNK.cjs');var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');require('./chunk-HTS7K7QD.cjs');require('./chunk-FHUHBSLE.cjs');require('./chunk-ZUNVPK23.cjs');var _chunkOMVVROKBcjs = require('./chunk-OMVVROKB.cjs');require('./chunk-T3BBQIRY.cjs');var _fs = require('fs');async function N({email:o,password:r,apiKeyTitle:n,file:s,scopes:a,deleteExistingApiKey:p,createNewApiKey:m,parentOrganizationId:c,transcendUrl:l}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit);let g=a.map(d=>_chunkOMVVROKBcjs.w[d].name),{errors:y,apiKeys:f}=await _chunkYYDWSYMFcjs.a.call(void 0, {transcendUrl:l,password:r,email:o,parentOrganizationId:c,deleteExistingApiKey:p,createNewApiKey:m,apiKeyTitle:n,scopes:g});_fs.writeFileSync.call(void 0, s,`${JSON.stringify(f,null,2)}
|
|
2
|
-
`),y.length>0&&this.process.exit(1)}exports.generateApiKeys = N;
|
|
3
|
-
//# sourceMappingURL=impl-LMKJ6UBT.cjs.map
|
package/dist/impl-RTZTJWMX.cjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkRAA5VWQScjs = require('./chunk-RAA5VWQS.cjs');var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');require('./chunk-HTS7K7QD.cjs');require('./chunk-FHUHBSLE.cjs');require('./chunk-ZUNVPK23.cjs');require('./chunk-OMVVROKB.cjs');require('./chunk-T3BBQIRY.cjs');async function m({auth:i,transcendUrl:n,file:o,concurrency:r,actions:s,sombraAuth:a}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit),await _chunkRAA5VWQScjs.a.call(void 0, {file:o,transcendUrl:n,concurrency:r,requestActions:s,auth:i,sombraAuth:a})}exports.pullIdentifiers = m;
|
|
2
|
-
//# sourceMappingURL=impl-RTZTJWMX.cjs.map
|
package/dist/impl-VHY4ALCB.cjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkLRADV5OIcjs = require('./chunk-LRADV5OI.cjs');require('./chunk-WURUFVEG.cjs');require('./chunk-LU3DKRNK.cjs');var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');require('./chunk-HTS7K7QD.cjs');require('./chunk-FHUHBSLE.cjs');require('./chunk-ZUNVPK23.cjs');require('./chunk-OMVVROKB.cjs');require('./chunk-T3BBQIRY.cjs');async function m({auth:r,trackerStatus:s,file:a,transcendUrl:e}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit),await _chunkLRADV5OIcjs.c.call(void 0, {auth:r,trackerStatus:s,file:a,transcendUrl:e})}exports.uploadCookiesFromCsv = m;
|
|
2
|
-
//# sourceMappingURL=impl-VHY4ALCB.cjs.map
|
package/dist/impl-X6TORGVF.cjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkLRADV5OIcjs = require('./chunk-LRADV5OI.cjs');require('./chunk-WURUFVEG.cjs');require('./chunk-LU3DKRNK.cjs');var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');require('./chunk-HTS7K7QD.cjs');require('./chunk-FHUHBSLE.cjs');require('./chunk-ZUNVPK23.cjs');require('./chunk-OMVVROKB.cjs');require('./chunk-T3BBQIRY.cjs');async function m({auth:a,trackerStatus:r,file:s,classifyService:e,transcendUrl:n}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit),await _chunkLRADV5OIcjs.b.call(void 0, {auth:a,trackerStatus:r,file:s,classifyService:e,transcendUrl:n})}exports.uploadDataFlowsFromCsv = m;
|
|
2
|
-
//# sourceMappingURL=impl-X6TORGVF.cjs.map
|