@transcend-io/cli 7.0.5 → 7.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (145) hide show
  1. package/README.md +11 -4
  2. package/dist/bin/bash-complete.cjs +1 -1
  3. package/dist/bin/cli.cjs +1 -1
  4. package/dist/bin/deprecated-command.cjs +2 -2
  5. package/dist/{chunk-L7NHDBBN.cjs → chunk-2FBBA65B.cjs} +3 -3
  6. package/dist/{chunk-L7NHDBBN.cjs.map → chunk-2FBBA65B.cjs.map} +1 -1
  7. package/dist/{chunk-K4QC24DY.cjs → chunk-327HQXYV.cjs} +2 -2
  8. package/dist/{chunk-K4QC24DY.cjs.map → chunk-327HQXYV.cjs.map} +1 -1
  9. package/dist/{chunk-XWMFHJGK.cjs → chunk-3G77IGKQ.cjs} +2 -2
  10. package/dist/{chunk-XWMFHJGK.cjs.map → chunk-3G77IGKQ.cjs.map} +1 -1
  11. package/dist/{chunk-EUDUZQOO.cjs → chunk-5JXP3N7U.cjs} +4 -4
  12. package/dist/{chunk-EUDUZQOO.cjs.map → chunk-5JXP3N7U.cjs.map} +1 -1
  13. package/dist/{chunk-XXVZA7HN.cjs → chunk-74OAET6D.cjs} +2 -2
  14. package/dist/{chunk-XXVZA7HN.cjs.map → chunk-74OAET6D.cjs.map} +1 -1
  15. package/dist/{chunk-RQWXNYMW.cjs → chunk-AFYBKLWT.cjs} +2 -2
  16. package/dist/{chunk-RQWXNYMW.cjs.map → chunk-AFYBKLWT.cjs.map} +1 -1
  17. package/dist/{chunk-QBBOYJ3O.cjs → chunk-EAJZX4TX.cjs} +2 -2
  18. package/dist/{chunk-QBBOYJ3O.cjs.map → chunk-EAJZX4TX.cjs.map} +1 -1
  19. package/dist/{chunk-UTG3LZO7.cjs → chunk-I4XVTF53.cjs} +2 -2
  20. package/dist/{chunk-UTG3LZO7.cjs.map → chunk-I4XVTF53.cjs.map} +1 -1
  21. package/dist/{chunk-SAEKBZGF.cjs → chunk-LCDYXJN6.cjs} +2 -2
  22. package/dist/{chunk-SAEKBZGF.cjs.map → chunk-LCDYXJN6.cjs.map} +1 -1
  23. package/dist/{chunk-YGAK4NBT.cjs → chunk-NNMCZMFJ.cjs} +2 -2
  24. package/dist/{chunk-YGAK4NBT.cjs.map → chunk-NNMCZMFJ.cjs.map} +1 -1
  25. package/dist/{chunk-NSKHXTBW.cjs → chunk-NW3O6OPS.cjs} +2 -2
  26. package/dist/{chunk-NSKHXTBW.cjs.map → chunk-NW3O6OPS.cjs.map} +1 -1
  27. package/dist/{chunk-6W7CSPHF.cjs → chunk-PIJPXUK5.cjs} +3 -3
  28. package/dist/{chunk-6W7CSPHF.cjs.map → chunk-PIJPXUK5.cjs.map} +1 -1
  29. package/dist/chunk-Q7I37FJV.cjs +2 -0
  30. package/dist/chunk-Q7I37FJV.cjs.map +1 -0
  31. package/dist/chunk-R77JR6OQ.cjs +2919 -0
  32. package/dist/chunk-R77JR6OQ.cjs.map +1 -0
  33. package/dist/chunk-UWUR56CO.cjs +2 -0
  34. package/dist/chunk-UWUR56CO.cjs.map +1 -0
  35. package/dist/chunk-VIPFYWRR.cjs +2 -0
  36. package/dist/chunk-VIPFYWRR.cjs.map +1 -0
  37. package/dist/{chunk-X37NM7FZ.cjs → chunk-VMGXBH6E.cjs} +19 -19
  38. package/dist/{chunk-X37NM7FZ.cjs.map → chunk-VMGXBH6E.cjs.map} +1 -1
  39. package/dist/{chunk-N27TJLBG.cjs → chunk-YK5YCHD6.cjs} +2 -2
  40. package/dist/{chunk-N27TJLBG.cjs.map → chunk-YK5YCHD6.cjs.map} +1 -1
  41. package/dist/{chunk-TET6I2QK.cjs → chunk-Z2PA2QDO.cjs} +2 -2
  42. package/dist/{chunk-TET6I2QK.cjs.map → chunk-Z2PA2QDO.cjs.map} +1 -1
  43. package/dist/{impl-O2M7RVTK.cjs → impl-275S73PA.cjs} +2 -2
  44. package/dist/{impl-O2M7RVTK.cjs.map → impl-275S73PA.cjs.map} +1 -1
  45. package/dist/{impl-JG5TMU6H.cjs → impl-2ZHRCHKL.cjs} +2 -2
  46. package/dist/{impl-JG5TMU6H.cjs.map → impl-2ZHRCHKL.cjs.map} +1 -1
  47. package/dist/impl-3HQ63RRZ.cjs +2 -0
  48. package/dist/{impl-YL6NFYNB.cjs.map → impl-3HQ63RRZ.cjs.map} +1 -1
  49. package/dist/impl-3ON47TMW.cjs +2 -0
  50. package/dist/{impl-LDTQPPG4.cjs.map → impl-3ON47TMW.cjs.map} +1 -1
  51. package/dist/{impl-CL6KPZLE.cjs → impl-42EGVNC4.cjs} +3 -3
  52. package/dist/{impl-CL6KPZLE.cjs.map → impl-42EGVNC4.cjs.map} +1 -1
  53. package/dist/{impl-ZVQSMGTX.cjs → impl-57FO3PX7.cjs} +5 -5
  54. package/dist/{impl-ZVQSMGTX.cjs.map → impl-57FO3PX7.cjs.map} +1 -1
  55. package/dist/{impl-LZV3EW2T.cjs → impl-5RAQCIIT.cjs} +2 -2
  56. package/dist/{impl-LZV3EW2T.cjs.map → impl-5RAQCIIT.cjs.map} +1 -1
  57. package/dist/{impl-D5TZDNRA.cjs → impl-6ALA6KXM.cjs} +2 -2
  58. package/dist/{impl-D5TZDNRA.cjs.map → impl-6ALA6KXM.cjs.map} +1 -1
  59. package/dist/{impl-OCCJLM7J.cjs → impl-6FMDP53G.cjs} +2 -2
  60. package/dist/{impl-OCCJLM7J.cjs.map → impl-6FMDP53G.cjs.map} +1 -1
  61. package/dist/{impl-U2RBVO73.cjs → impl-7L5YW5CG.cjs} +2 -2
  62. package/dist/{impl-U2RBVO73.cjs.map → impl-7L5YW5CG.cjs.map} +1 -1
  63. package/dist/{impl-2JBFAO77.cjs → impl-B5GIP2VU.cjs} +2 -2
  64. package/dist/{impl-2JBFAO77.cjs.map → impl-B5GIP2VU.cjs.map} +1 -1
  65. package/dist/{impl-QQKQBRMF.cjs → impl-BSJJNNCI.cjs} +2 -2
  66. package/dist/{impl-QQKQBRMF.cjs.map → impl-BSJJNNCI.cjs.map} +1 -1
  67. package/dist/{impl-TGEXS5L4.cjs → impl-C7VBO6EQ.cjs} +2 -2
  68. package/dist/{impl-TGEXS5L4.cjs.map → impl-C7VBO6EQ.cjs.map} +1 -1
  69. package/dist/impl-CNNTC625.cjs +2 -0
  70. package/dist/{impl-6KCSMCD6.cjs.map → impl-CNNTC625.cjs.map} +1 -1
  71. package/dist/{impl-RKBK7S5H.cjs → impl-CSVPLCDE.cjs} +2 -2
  72. package/dist/{impl-RKBK7S5H.cjs.map → impl-CSVPLCDE.cjs.map} +1 -1
  73. package/dist/{impl-5VEW37CW.cjs → impl-EKGVCWVS.cjs} +4 -4
  74. package/dist/{impl-5VEW37CW.cjs.map → impl-EKGVCWVS.cjs.map} +1 -1
  75. package/dist/impl-EZEGBKX7.cjs +2 -0
  76. package/dist/{impl-7Q5BF5OS.cjs.map → impl-EZEGBKX7.cjs.map} +1 -1
  77. package/dist/{impl-6FXWJOHN.cjs → impl-FPDL23FO.cjs} +2 -2
  78. package/dist/{impl-6FXWJOHN.cjs.map → impl-FPDL23FO.cjs.map} +1 -1
  79. package/dist/{impl-2ETA24UG.cjs → impl-HI3ZAAZJ.cjs} +6 -6
  80. package/dist/{impl-2ETA24UG.cjs.map → impl-HI3ZAAZJ.cjs.map} +1 -1
  81. package/dist/{impl-CD3OZA7N.cjs → impl-HKEYENUI.cjs} +2 -2
  82. package/dist/{impl-CD3OZA7N.cjs.map → impl-HKEYENUI.cjs.map} +1 -1
  83. package/dist/impl-IZ6KZF27.cjs +2 -0
  84. package/dist/{impl-6O3K3VET.cjs.map → impl-IZ6KZF27.cjs.map} +1 -1
  85. package/dist/{impl-CVJ7ESYK.cjs → impl-JDJ4CQXV.cjs} +2 -2
  86. package/dist/{impl-CVJ7ESYK.cjs.map → impl-JDJ4CQXV.cjs.map} +1 -1
  87. package/dist/{impl-6FE4QJ4J.cjs → impl-JKSZNCWA.cjs} +2 -2
  88. package/dist/{impl-6FE4QJ4J.cjs.map → impl-JKSZNCWA.cjs.map} +1 -1
  89. package/dist/{impl-XK5I264J.cjs → impl-MEK2DTKK.cjs} +2 -2
  90. package/dist/{impl-XK5I264J.cjs.map → impl-MEK2DTKK.cjs.map} +1 -1
  91. package/dist/{impl-KE2PQIWC.cjs → impl-NL7N7YF4.cjs} +2 -2
  92. package/dist/{impl-KE2PQIWC.cjs.map → impl-NL7N7YF4.cjs.map} +1 -1
  93. package/dist/{impl-DQN5SZPW.cjs → impl-OBAYFQ23.cjs} +2 -2
  94. package/dist/{impl-DQN5SZPW.cjs.map → impl-OBAYFQ23.cjs.map} +1 -1
  95. package/dist/impl-OJ5LZMML.cjs +2 -0
  96. package/dist/{impl-SPMWIV5D.cjs.map → impl-OJ5LZMML.cjs.map} +1 -1
  97. package/dist/impl-OKB3HF7H.cjs +2 -0
  98. package/dist/{impl-7HFUP3UR.cjs.map → impl-OKB3HF7H.cjs.map} +1 -1
  99. package/dist/{impl-5TMNTUZT.cjs → impl-OOKYV6NI.cjs} +3 -3
  100. package/dist/{impl-5TMNTUZT.cjs.map → impl-OOKYV6NI.cjs.map} +1 -1
  101. package/dist/{impl-BMAMFZHY.cjs → impl-P77UGVDU.cjs} +2 -2
  102. package/dist/{impl-BMAMFZHY.cjs.map → impl-P77UGVDU.cjs.map} +1 -1
  103. package/dist/impl-PJF6PVKZ.cjs +2 -0
  104. package/dist/{impl-DDY5QERH.cjs.map → impl-PJF6PVKZ.cjs.map} +1 -1
  105. package/dist/impl-RTDKCEU3.cjs +2 -0
  106. package/dist/{impl-IGRDFRB5.cjs.map → impl-RTDKCEU3.cjs.map} +1 -1
  107. package/dist/impl-S7SJFITO.cjs +2 -0
  108. package/dist/{impl-KEOLBOR2.cjs.map → impl-S7SJFITO.cjs.map} +1 -1
  109. package/dist/{impl-24MFRX5R.cjs → impl-U64CK4IR.cjs} +2 -2
  110. package/dist/{impl-24MFRX5R.cjs.map → impl-U64CK4IR.cjs.map} +1 -1
  111. package/dist/{impl-IXNKHZFW.cjs → impl-V3TJ5WS2.cjs} +2 -2
  112. package/dist/{impl-IXNKHZFW.cjs.map → impl-V3TJ5WS2.cjs.map} +1 -1
  113. package/dist/{impl-3AJDNF67.cjs → impl-VOTMQS3M.cjs} +2 -2
  114. package/dist/{impl-3AJDNF67.cjs.map → impl-VOTMQS3M.cjs.map} +1 -1
  115. package/dist/impl-WMJ7ZSI2.cjs +2 -0
  116. package/dist/{impl-4L4ETIBX.cjs.map → impl-WMJ7ZSI2.cjs.map} +1 -1
  117. package/dist/impl-Y2UFIDZG.cjs +2 -0
  118. package/dist/{impl-GNUG6ZDE.cjs.map → impl-Y2UFIDZG.cjs.map} +1 -1
  119. package/dist/impl-ZP5ZWANC.cjs +2 -0
  120. package/dist/{impl-QGSF3JGN.cjs.map → impl-ZP5ZWANC.cjs.map} +1 -1
  121. package/dist/index.cjs +3 -3
  122. package/dist/index.cjs.map +1 -1
  123. package/dist/index.d.cts +33442 -6116
  124. package/package.json +4 -3
  125. package/dist/chunk-35HDA5WV.cjs +0 -2
  126. package/dist/chunk-35HDA5WV.cjs.map +0 -1
  127. package/dist/chunk-AWMP5TQB.cjs +0 -2847
  128. package/dist/chunk-AWMP5TQB.cjs.map +0 -1
  129. package/dist/chunk-BY7W4UQF.cjs +0 -2
  130. package/dist/chunk-BY7W4UQF.cjs.map +0 -1
  131. package/dist/chunk-ZD2HOHJI.cjs +0 -2
  132. package/dist/chunk-ZD2HOHJI.cjs.map +0 -1
  133. package/dist/impl-4L4ETIBX.cjs +0 -2
  134. package/dist/impl-6KCSMCD6.cjs +0 -2
  135. package/dist/impl-6O3K3VET.cjs +0 -2
  136. package/dist/impl-7HFUP3UR.cjs +0 -2
  137. package/dist/impl-7Q5BF5OS.cjs +0 -2
  138. package/dist/impl-DDY5QERH.cjs +0 -2
  139. package/dist/impl-GNUG6ZDE.cjs +0 -2
  140. package/dist/impl-IGRDFRB5.cjs +0 -2
  141. package/dist/impl-KEOLBOR2.cjs +0 -2
  142. package/dist/impl-LDTQPPG4.cjs +0 -2
  143. package/dist/impl-QGSF3JGN.cjs +0 -2
  144. package/dist/impl-SPMWIV5D.cjs +0 -2
  145. package/dist/impl-YL6NFYNB.cjs +0 -2
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkNW3O6OPScjs = require('./chunk-NW3O6OPS.cjs');var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');require('./chunk-R77JR6OQ.cjs');require('./chunk-ZUNVPK23.cjs');require('./chunk-VIPFYWRR.cjs');require('./chunk-EAJZX4TX.cjs');require('./chunk-Q7I37FJV.cjs');async function a({auth:o,transcendUrl:r,enricherIds:e}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit),await _chunkNW3O6OPScjs.R.call(void 0, {transcendUrl:r,auth:o,enricherIds:e})}exports.skipPreflightJobs = a;
2
+ //# sourceMappingURL=impl-PJF6PVKZ.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-DDY5QERH.cjs","../src/commands/request/skip-preflight-jobs/impl.ts"],"names":["skipPreflightJobs","auth","transcendUrl","enricherIds","doneInputValidation"],"mappings":"AAAA,iIAAwC,wDAAyC,gCAA6B,gCAA6B,gCAA6B,gCAA6B,gCAA6B,MCUlO,SAAsBA,CAAAA,CAEpB,CAAE,IAAA,CAAAC,CAAAA,CAAM,YAAA,CAAAC,CAAAA,CAAc,WAAA,CAAAC,CAAY,CAAA,CACnB,CACfC,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAErC,MAAMJ,iCAAAA,CACJ,YAAA,CAAAE,CAAAA,CACA,IAAA,CAAAD,CAAAA,CACA,WAAA,CAAAE,CACF,CAAC,CACH,CAAA,8BAAA","file":"/home/runner/work/cli/cli/dist/impl-DDY5QERH.cjs","sourcesContent":[null,"import type { LocalContext } from '../../../context';\nimport { skipPreflightJobs as skipPreflightJobsHelper } from '../../../lib/requests';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation';\n\nexport interface SkipPreflightJobsCommandFlags {\n auth: string;\n enricherIds: string[];\n transcendUrl: string;\n}\n\nexport async function skipPreflightJobs(\n this: LocalContext,\n { auth, transcendUrl, enricherIds }: SkipPreflightJobsCommandFlags,\n): Promise<void> {\n doneInputValidation(this.process.exit);\n\n await skipPreflightJobsHelper({\n transcendUrl,\n auth,\n enricherIds,\n });\n}\n"]}
1
+ {"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-PJF6PVKZ.cjs","../src/commands/request/skip-preflight-jobs/impl.ts"],"names":["skipPreflightJobs","auth","transcendUrl","enricherIds","doneInputValidation"],"mappings":"AAAA,iIAAwC,wDAAyC,gCAA6B,gCAA6B,gCAA6B,gCAA6B,gCAA6B,MCUlO,SAAsBA,CAAAA,CAEpB,CAAE,IAAA,CAAAC,CAAAA,CAAM,YAAA,CAAAC,CAAAA,CAAc,WAAA,CAAAC,CAAY,CAAA,CACnB,CACfC,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAErC,MAAMJ,iCAAAA,CACJ,YAAA,CAAAE,CAAAA,CACA,IAAA,CAAAD,CAAAA,CACA,WAAA,CAAAE,CACF,CAAC,CACH,CAAA,8BAAA","file":"/home/runner/work/cli/cli/dist/impl-PJF6PVKZ.cjs","sourcesContent":[null,"import type { LocalContext } from '../../../context';\nimport { skipPreflightJobs as skipPreflightJobsHelper } from '../../../lib/requests';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation';\n\nexport interface SkipPreflightJobsCommandFlags {\n auth: string;\n enricherIds: string[];\n transcendUrl: string;\n}\n\nexport async function skipPreflightJobs(\n this: LocalContext,\n { auth, transcendUrl, enricherIds }: SkipPreflightJobsCommandFlags,\n): Promise<void> {\n doneInputValidation(this.process.exit);\n\n await skipPreflightJobsHelper({\n transcendUrl,\n auth,\n enricherIds,\n });\n}\n"]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _chunk2FBBA65Bcjs = require('./chunk-2FBBA65B.cjs');var _chunkYK5YCHD6cjs = require('./chunk-YK5YCHD6.cjs');var _chunkPIJPXUK5cjs = require('./chunk-PIJPXUK5.cjs');require('./chunk-74OAET6D.cjs');require('./chunk-NW3O6OPS.cjs');var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');require('./chunk-UWUR56CO.cjs');require('./chunk-LCDYXJN6.cjs');require('./chunk-R77JR6OQ.cjs');var _chunkZUNVPK23cjs = require('./chunk-ZUNVPK23.cjs');require('./chunk-VIPFYWRR.cjs');require('./chunk-EAJZX4TX.cjs');require('./chunk-Q7I37FJV.cjs');var _path = require('path');var _colors = require('colors'); var _colors2 = _interopRequireDefault(_colors);var _fs = require('fs');function M({consentManagerYmlFolder:s,output:n}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit),(!_fs.existsSync.call(void 0, s)||!_fs.lstatSync.call(void 0, s).isDirectory())&&(_chunkZUNVPK23cjs.a.error(_colors2.default.red(`Folder does not exist: "${s}"`)),this.process.exit(1));let f=_chunkYK5YCHD6cjs.c.call(void 0, s).map(i=>{let{"consent-manager":u}=_chunk2FBBA65Bcjs.d.call(void 0, _path.join.call(void 0, s,i));return{name:i,input:u}}),e=_chunkPIJPXUK5cjs.h.call(void 0, f);_chunk2FBBA65Bcjs.e.call(void 0, n,{"business-entities":e}),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully wrote ${e.length} business entities to file "${n}"`))}exports.consentManagersToBusinessEntities = M;
2
+ //# sourceMappingURL=impl-RTDKCEU3.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-IGRDFRB5.cjs","../src/commands/inventory/consent-managers-to-business-entities/impl.ts"],"names":["consentManagersToBusinessEntities","consentManagerYmlFolder","output","doneInputValidation","existsSync","lstatSync","logger","colors","inputs","listFiles","directory","consentManager","readTranscendYaml","join","businessEntities","writeTranscendYaml"],"mappings":"AAAA,iOAA+C,wDAAyC,wDAAyC,gCAA6B,gCAA6B,wDAAyC,gCAA6B,gCAA6B,gCAA6B,wDAAyC,gCAA6B,gCAA6B,gCAA6B,4BCOta,gFAEF,wBAEmB,SAQtBA,CAAAA,CAEd,CACE,uBAAA,CAAAC,CAAAA,CACA,MAAA,CAAAC,CACF,CAAA,CACM,CACNC,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAAA,CAInC,CAACC,4BAAAA,CAAkC,CAAA,EACnC,CAACC,2BAAAA,CAAiC,CAAA,CAAE,WAAA,CAAY,CAAA,CAAA,EAAA,CAEhDC,mBAAAA,CAAO,KAAA,CACLC,gBAAAA,CAAO,GAAA,CAAI,CAAA,wBAAA,EAA2BN,CAAuB,CAAA,CAAA,CAAG,CAClE,CAAA,CACA,IAAA,CAAK,OAAA,CAAQ,IAAA,CAAK,CAAC,CAAA,CAAA,CAIrB,IAAMO,CAAAA,CAASC,iCAAAA,CAAiC,CAAA,CAAE,GAAA,CAAKC,CAAAA,EAAc,CACnE,GAAM,CAAE,iBAAA,CAAmBC,CAAe,CAAA,CAAIC,iCAAAA,wBAC5CC,CAAKZ,CAAyBS,CAAS,CACzC,CAAA,CACA,MAAO,CAAE,IAAA,CAAMA,CAAAA,CAAW,KAAA,CAAOC,CAAe,CAClD,CAAC,CAAA,CAGKG,CAAAA,CAAmBd,iCAAAA,CAA8C,CAAA,CAGvEe,iCAAAA,CAAmBb,CAAQ,CACzB,mBAAA,CAAqBY,CACvB,CAAC,CAAA,CAEDR,mBAAAA,CAAO,IAAA,CACLC,gBAAAA,CAAO,KAAA,CACL,CAAA,mBAAA,EAAsBO,CAAAA,CAAiB,MAAM,CAAA,4BAAA,EAA+BZ,CAAM,CAAA,CAAA,CACpF,CACF,CACF,CAAA,8CAAA","file":"/home/runner/work/cli/cli/dist/impl-IGRDFRB5.cjs","sourcesContent":[null,"import type { LocalContext } from '../../../context';\nimport { listFiles } from '../../../lib/api-keys';\nimport { consentManagersToBusinessEntities as consentManagersToBusinessEntitiesHelper } from '../../../lib/consent-manager';\nimport {\n readTranscendYaml,\n writeTranscendYaml,\n} from '../../../lib/readTranscendYaml';\nimport { join } from 'path';\n\nimport colors from 'colors';\nimport { logger } from '../../../logger';\nimport { existsSync, lstatSync } from 'fs';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation';\n\nexport interface ConsentManagersToBusinessEntitiesCommandFlags {\n consentManagerYmlFolder: string;\n output: string;\n}\n\nexport function consentManagersToBusinessEntities(\n this: LocalContext,\n {\n consentManagerYmlFolder,\n output,\n }: ConsentManagersToBusinessEntitiesCommandFlags,\n): void {\n doneInputValidation(this.process.exit);\n\n // Ensure folder is passed\n if (\n !existsSync(consentManagerYmlFolder) ||\n !lstatSync(consentManagerYmlFolder).isDirectory()\n ) {\n logger.error(\n colors.red(`Folder does not exist: \"${consentManagerYmlFolder}\"`),\n );\n this.process.exit(1);\n }\n\n // Read in each consent manager configuration\n const inputs = listFiles(consentManagerYmlFolder).map((directory) => {\n const { 'consent-manager': consentManager } = readTranscendYaml(\n join(consentManagerYmlFolder, directory),\n );\n return { name: directory, input: consentManager };\n });\n\n // Convert to business entities\n const businessEntities = consentManagersToBusinessEntitiesHelper(inputs);\n\n // write to disk\n writeTranscendYaml(output, {\n 'business-entities': businessEntities,\n });\n\n logger.info(\n colors.green(\n `Successfully wrote ${businessEntities.length} business entities to file \"${output}\"`,\n ),\n );\n}\n"]}
1
+ {"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-RTDKCEU3.cjs","../src/commands/inventory/consent-managers-to-business-entities/impl.ts"],"names":["consentManagersToBusinessEntities","consentManagerYmlFolder","output","doneInputValidation","existsSync","lstatSync","logger","colors","inputs","listFiles","directory","consentManager","readTranscendYaml","join","businessEntities","writeTranscendYaml"],"mappings":"AAAA,iOAA+C,wDAAyC,wDAAyC,gCAA6B,gCAA6B,wDAAyC,gCAA6B,gCAA6B,gCAA6B,wDAAyC,gCAA6B,gCAA6B,gCAA6B,4BCOta,gFAEF,wBAEmB,SAQtBA,CAAAA,CAEd,CACE,uBAAA,CAAAC,CAAAA,CACA,MAAA,CAAAC,CACF,CAAA,CACM,CACNC,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAAA,CAInC,CAACC,4BAAAA,CAAkC,CAAA,EACnC,CAACC,2BAAAA,CAAiC,CAAA,CAAE,WAAA,CAAY,CAAA,CAAA,EAAA,CAEhDC,mBAAAA,CAAO,KAAA,CACLC,gBAAAA,CAAO,GAAA,CAAI,CAAA,wBAAA,EAA2BN,CAAuB,CAAA,CAAA,CAAG,CAClE,CAAA,CACA,IAAA,CAAK,OAAA,CAAQ,IAAA,CAAK,CAAC,CAAA,CAAA,CAIrB,IAAMO,CAAAA,CAASC,iCAAAA,CAAiC,CAAA,CAAE,GAAA,CAAKC,CAAAA,EAAc,CACnE,GAAM,CAAE,iBAAA,CAAmBC,CAAe,CAAA,CAAIC,iCAAAA,wBAC5CC,CAAKZ,CAAyBS,CAAS,CACzC,CAAA,CACA,MAAO,CAAE,IAAA,CAAMA,CAAAA,CAAW,KAAA,CAAOC,CAAe,CAClD,CAAC,CAAA,CAGKG,CAAAA,CAAmBd,iCAAAA,CAA8C,CAAA,CAGvEe,iCAAAA,CAAmBb,CAAQ,CACzB,mBAAA,CAAqBY,CACvB,CAAC,CAAA,CAEDR,mBAAAA,CAAO,IAAA,CACLC,gBAAAA,CAAO,KAAA,CACL,CAAA,mBAAA,EAAsBO,CAAAA,CAAiB,MAAM,CAAA,4BAAA,EAA+BZ,CAAM,CAAA,CAAA,CACpF,CACF,CACF,CAAA,8CAAA","file":"/home/runner/work/cli/cli/dist/impl-RTDKCEU3.cjs","sourcesContent":[null,"import type { LocalContext } from '../../../context';\nimport { listFiles } from '../../../lib/api-keys';\nimport { consentManagersToBusinessEntities as consentManagersToBusinessEntitiesHelper } from '../../../lib/consent-manager';\nimport {\n readTranscendYaml,\n writeTranscendYaml,\n} from '../../../lib/readTranscendYaml';\nimport { join } from 'path';\n\nimport colors from 'colors';\nimport { logger } from '../../../logger';\nimport { existsSync, lstatSync } from 'fs';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation';\n\nexport interface ConsentManagersToBusinessEntitiesCommandFlags {\n consentManagerYmlFolder: string;\n output: string;\n}\n\nexport function consentManagersToBusinessEntities(\n this: LocalContext,\n {\n consentManagerYmlFolder,\n output,\n }: ConsentManagersToBusinessEntitiesCommandFlags,\n): void {\n doneInputValidation(this.process.exit);\n\n // Ensure folder is passed\n if (\n !existsSync(consentManagerYmlFolder) ||\n !lstatSync(consentManagerYmlFolder).isDirectory()\n ) {\n logger.error(\n colors.red(`Folder does not exist: \"${consentManagerYmlFolder}\"`),\n );\n this.process.exit(1);\n }\n\n // Read in each consent manager configuration\n const inputs = listFiles(consentManagerYmlFolder).map((directory) => {\n const { 'consent-manager': consentManager } = readTranscendYaml(\n join(consentManagerYmlFolder, directory),\n );\n return { name: directory, input: consentManager };\n });\n\n // Convert to business entities\n const businessEntities = consentManagersToBusinessEntitiesHelper(inputs);\n\n // write to disk\n writeTranscendYaml(output, {\n 'business-entities': businessEntities,\n });\n\n logger.info(\n colors.green(\n `Successfully wrote ${businessEntities.length} business entities to file \"${output}\"`,\n ),\n );\n}\n"]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk74OAET6Dcjs = require('./chunk-74OAET6D.cjs');var _chunkNW3O6OPScjs = require('./chunk-NW3O6OPS.cjs');var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');require('./chunk-R77JR6OQ.cjs');require('./chunk-ZUNVPK23.cjs');require('./chunk-VIPFYWRR.cjs');require('./chunk-EAJZX4TX.cjs');require('./chunk-Q7I37FJV.cjs');async function g({base64EncryptionKey:t,base64SigningKey:s,partition:i,file:a,consentUrl:c,concurrency:p}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit);let m=_chunkNW3O6OPScjs.q.call(void 0, a,_chunk74OAET6Dcjs.b);await _chunk74OAET6Dcjs.f.call(void 0, {base64EncryptionKey:t,base64SigningKey:s,preferences:m,partition:i,concurrency:p,transcendUrl:c})}exports.uploadConsentPreferences = g;
2
+ //# sourceMappingURL=impl-S7SJFITO.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-KEOLBOR2.cjs","../src/commands/consent/upload-consent-preferences/impl.ts"],"names":["uploadConsentPreferences","base64EncryptionKey","base64SigningKey","partition","file","consentUrl","concurrency","doneInputValidation","preferences","readCsv","ConsentPreferenceUpload","uploadConsents"],"mappings":"AAAA,iIAA+C,wDAAyC,wDAAyC,gCAA6B,gCAA6B,gCAA6B,gCAA6B,gCAA6B,MCgBlR,SAAsBA,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,iCAAAA,CAAQL,CAAMM,mBAAuB,CAAA,CAGzD,MAAMC,iCAAAA,CACJ,mBAAA,CAAAV,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-KEOLBOR2.cjs","sourcesContent":[null,"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
+ {"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-S7SJFITO.cjs","../src/commands/consent/upload-consent-preferences/impl.ts"],"names":["uploadConsentPreferences","base64EncryptionKey","base64SigningKey","partition","file","consentUrl","concurrency","doneInputValidation","preferences","readCsv","ConsentPreferenceUpload","uploadConsents"],"mappings":"AAAA,iIAA+C,wDAAyC,wDAAyC,gCAA6B,gCAA6B,gCAA6B,gCAA6B,gCAA6B,MCgBlR,SAAsBA,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,iCAAAA,CAAQL,CAAMM,mBAAuB,CAAA,CAGzD,MAAMC,iCAAAA,CACJ,mBAAA,CAAAV,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-S7SJFITO.cjs","sourcesContent":[null,"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 _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _chunkL7NHDBBNcjs = require('./chunk-L7NHDBBN.cjs');var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');var _chunkZD2HOHJIcjs = require('./chunk-ZD2HOHJI.cjs');require('./chunk-SAEKBZGF.cjs');var _chunkZUNVPK23cjs = require('./chunk-ZUNVPK23.cjs');require('./chunk-BY7W4UQF.cjs');var _iots = require('io-ts'); var f = _interopRequireWildcard(_iots);var _colors = require('colors'); var _colors2 = _interopRequireDefault(_colors);var _fs = require('fs');var _typeutils = require('@transcend-io/type-utils');var _privacytypes = require('@transcend-io/privacy-types');function T({file:t,output:n}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit),_fs.existsSync.call(void 0, t)||(_chunkZUNVPK23cjs.a.error(_colors2.default.red(`File does not exist: --file="${t}"`)),this.process.exit(1));let u=_typeutils.decodeCodec.call(void 0, f.array(_chunkZD2HOHJIcjs.ia),_fs.readFileSync.call(void 0, t,"utf-8")),e=[],r=[];u.forEach(a=>{a.dataFlows.filter(({type:o})=>o!==_privacytypes.DataFlowScope.CSP).forEach(o=>{e.push({value:o.value,type:o.type,status:_privacytypes.ConsentTrackerStatus.Live,trackingPurposes:o.trackingPurposes})}),a.cookies.forEach(o=>{r.push({name:o.name,status:_privacytypes.ConsentTrackerStatus.Live,trackingPurposes:o.trackingPurposes})})}),_chunkL7NHDBBNcjs.e.call(void 0, n,{"data-flows":e,cookies:r}),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully wrote ${e.length} data flows and ${r.length} cookies to file "${n}"`))}exports.consentManagerServiceJsonToYml = T;
2
- //# sourceMappingURL=impl-24MFRX5R.cjs.map
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _chunk2FBBA65Bcjs = require('./chunk-2FBBA65B.cjs');var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');var _chunkUWUR56COcjs = require('./chunk-UWUR56CO.cjs');require('./chunk-LCDYXJN6.cjs');var _chunkZUNVPK23cjs = require('./chunk-ZUNVPK23.cjs');require('./chunk-Q7I37FJV.cjs');var _iots = require('io-ts'); var f = _interopRequireWildcard(_iots);var _colors = require('colors'); var _colors2 = _interopRequireDefault(_colors);var _fs = require('fs');var _typeutils = require('@transcend-io/type-utils');var _privacytypes = require('@transcend-io/privacy-types');function T({file:t,output:n}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit),_fs.existsSync.call(void 0, t)||(_chunkZUNVPK23cjs.a.error(_colors2.default.red(`File does not exist: --file="${t}"`)),this.process.exit(1));let u=_typeutils.decodeCodec.call(void 0, f.array(_chunkUWUR56COcjs.ka),_fs.readFileSync.call(void 0, t,"utf-8")),e=[],r=[];u.forEach(a=>{a.dataFlows.filter(({type:o})=>o!==_privacytypes.DataFlowScope.CSP).forEach(o=>{e.push({value:o.value,type:o.type,status:_privacytypes.ConsentTrackerStatus.Live,trackingPurposes:o.trackingPurposes})}),a.cookies.forEach(o=>{r.push({name:o.name,status:_privacytypes.ConsentTrackerStatus.Live,trackingPurposes:o.trackingPurposes})})}),_chunk2FBBA65Bcjs.e.call(void 0, n,{"data-flows":e,cookies:r}),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully wrote ${e.length} data flows and ${r.length} cookies to file "${n}"`))}exports.consentManagerServiceJsonToYml = T;
2
+ //# sourceMappingURL=impl-U64CK4IR.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-24MFRX5R.cjs","../src/commands/inventory/consent-manager-service-json-to-yml/impl.ts"],"names":["consentManagerServiceJsonToYml","file","output","doneInputValidation","existsSync","logger","colors","services","decodeCodec","ConsentManagerServiceMetadata","readFileSync","dataFlows","cookies","service","type","DataFlowScope","dataFlow","ConsentTrackerStatus","cookie","writeTranscendYaml"],"mappings":"AAAA,mfAAwC,wDAAyC,wDAA0C,gCAA6B,wDAAyC,gCAA6B,qECC3M,gFAEA,wBAEsB,qDACb,2DASrB,SAQSA,CAAAA,CAEd,CAAE,IAAA,CAAAC,CAAAA,CAAM,MAAA,CAAAC,CAAO,CAAA,CACT,CACNC,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAGhCC,4BAAAA,CAAe,CAAA,EAAA,CAClBC,mBAAAA,CAAO,KAAA,CAAMC,gBAAAA,CAAO,GAAA,CAAI,CAAA,6BAAA,EAAgCL,CAAI,CAAA,CAAA,CAAG,CAAC,CAAA,CAChE,IAAA,CAAK,OAAA,CAAQ,IAAA,CAAK,CAAC,CAAA,CAAA,CAIrB,IAAMM,CAAAA,CAAWC,oCAAAA,CACb,CAAA,KAAA,CAAMC,oBAA6B,CAAA,CACrCC,8BAAAA,CAAaT,CAAM,OAAO,CAC5B,CAAA,CAGMU,CAAAA,CAA6B,CAAC,CAAA,CAC9BC,CAAAA,CAAyB,CAAC,CAAA,CAChCL,CAAAA,CAAS,OAAA,CAASM,CAAAA,EAAY,CAC5BA,CAAAA,CAAQ,SAAA,CACL,MAAA,CAAO,CAAC,CAAE,IAAA,CAAAC,CAAK,CAAA,CAAA,EAAMA,CAAAA,GAASC,2BAAAA,CAAc,GAAG,CAAA,CAC/C,OAAA,CAASC,CAAAA,EAAa,CACrBL,CAAAA,CAAU,IAAA,CAAK,CACb,KAAA,CAAOK,CAAAA,CAAS,KAAA,CAChB,IAAA,CAAMA,CAAAA,CAAS,IAAA,CACf,MAAA,CAAQC,kCAAAA,CAAqB,IAAA,CAC7B,gBAAA,CAAkBD,CAAAA,CAAS,gBAC7B,CAAC,CACH,CAAC,CAAA,CAEHH,CAAAA,CAAQ,OAAA,CAAQ,OAAA,CAASK,CAAAA,EAAW,CAClCN,CAAAA,CAAQ,IAAA,CAAK,CACX,IAAA,CAAMM,CAAAA,CAAO,IAAA,CACb,MAAA,CAAQD,kCAAAA,CAAqB,IAAA,CAC7B,gBAAA,CAAkBC,CAAAA,CAAO,gBAC3B,CAAC,CACH,CAAC,CACH,CAAC,CAAA,CAGDC,iCAAAA,CAAmBjB,CAAQ,CACzB,YAAA,CAAcS,CAAAA,CACd,OAAA,CAAAC,CACF,CAAC,CAAA,CAEDP,mBAAAA,CAAO,IAAA,CACLC,gBAAAA,CAAO,KAAA,CACL,CAAA,mBAAA,EAAsBK,CAAAA,CAAU,MAAM,CAAA,gBAAA,EAAmBC,CAAAA,CAAQ,MAAM,CAAA,kBAAA,EAAqBV,CAAM,CAAA,CAAA,CACpG,CACF,CACF,CAAA,2CAAA","file":"/home/runner/work/cli/cli/dist/impl-24MFRX5R.cjs","sourcesContent":[null,"import type { LocalContext } from '../../../context';\nimport * as t from 'io-ts';\nimport { writeTranscendYaml } from '../../../lib/readTranscendYaml';\nimport colors from 'colors';\nimport { logger } from '../../../logger';\nimport { existsSync, readFileSync } from 'fs';\nimport { decodeCodec } from '@transcend-io/type-utils';\nimport {\n ConsentManagerServiceMetadata,\n CookieInput,\n DataFlowInput,\n} from '../../../codecs';\nimport {\n ConsentTrackerStatus,\n DataFlowScope,\n} from '@transcend-io/privacy-types';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation';\n\nexport interface ConsentManagerServiceJsonToYmlCommandFlags {\n file: string;\n output: string;\n}\n\nexport function consentManagerServiceJsonToYml(\n this: LocalContext,\n { file, output }: ConsentManagerServiceJsonToYmlCommandFlags,\n): void {\n doneInputValidation(this.process.exit);\n\n // Ensure files exist\n if (!existsSync(file)) {\n logger.error(colors.red(`File does not exist: --file=\"${file}\"`));\n this.process.exit(1);\n }\n\n // Read in each consent manager configuration\n const services = decodeCodec(\n t.array(ConsentManagerServiceMetadata),\n readFileSync(file, 'utf-8'),\n );\n\n // Create data flows and cookie configurations\n const dataFlows: DataFlowInput[] = [];\n const cookies: CookieInput[] = [];\n services.forEach((service) => {\n service.dataFlows\n .filter(({ type }) => type !== DataFlowScope.CSP)\n .forEach((dataFlow) => {\n dataFlows.push({\n value: dataFlow.value,\n type: dataFlow.type,\n status: ConsentTrackerStatus.Live,\n trackingPurposes: dataFlow.trackingPurposes,\n });\n });\n\n service.cookies.forEach((cookie) => {\n cookies.push({\n name: cookie.name,\n status: ConsentTrackerStatus.Live,\n trackingPurposes: cookie.trackingPurposes,\n });\n });\n });\n\n // write to disk\n writeTranscendYaml(output, {\n 'data-flows': dataFlows,\n cookies,\n });\n\n logger.info(\n colors.green(\n `Successfully wrote ${dataFlows.length} data flows and ${cookies.length} cookies to file \"${output}\"`,\n ),\n );\n}\n"]}
1
+ {"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-U64CK4IR.cjs","../src/commands/inventory/consent-manager-service-json-to-yml/impl.ts"],"names":["consentManagerServiceJsonToYml","file","output","doneInputValidation","existsSync","logger","colors","services","decodeCodec","ConsentManagerServiceMetadata","readFileSync","dataFlows","cookies","service","type","DataFlowScope","dataFlow","ConsentTrackerStatus","cookie","writeTranscendYaml"],"mappings":"AAAA,mfAAwC,wDAAyC,wDAA0C,gCAA6B,wDAAyC,gCAA6B,qECC3M,gFAEA,wBAEsB,qDACb,2DASrB,SAQSA,CAAAA,CAEd,CAAE,IAAA,CAAAC,CAAAA,CAAM,MAAA,CAAAC,CAAO,CAAA,CACT,CACNC,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAGhCC,4BAAAA,CAAe,CAAA,EAAA,CAClBC,mBAAAA,CAAO,KAAA,CAAMC,gBAAAA,CAAO,GAAA,CAAI,CAAA,6BAAA,EAAgCL,CAAI,CAAA,CAAA,CAAG,CAAC,CAAA,CAChE,IAAA,CAAK,OAAA,CAAQ,IAAA,CAAK,CAAC,CAAA,CAAA,CAIrB,IAAMM,CAAAA,CAAWC,oCAAAA,CACb,CAAA,KAAA,CAAMC,oBAA6B,CAAA,CACrCC,8BAAAA,CAAaT,CAAM,OAAO,CAC5B,CAAA,CAGMU,CAAAA,CAA6B,CAAC,CAAA,CAC9BC,CAAAA,CAAyB,CAAC,CAAA,CAChCL,CAAAA,CAAS,OAAA,CAASM,CAAAA,EAAY,CAC5BA,CAAAA,CAAQ,SAAA,CACL,MAAA,CAAO,CAAC,CAAE,IAAA,CAAAC,CAAK,CAAA,CAAA,EAAMA,CAAAA,GAASC,2BAAAA,CAAc,GAAG,CAAA,CAC/C,OAAA,CAASC,CAAAA,EAAa,CACrBL,CAAAA,CAAU,IAAA,CAAK,CACb,KAAA,CAAOK,CAAAA,CAAS,KAAA,CAChB,IAAA,CAAMA,CAAAA,CAAS,IAAA,CACf,MAAA,CAAQC,kCAAAA,CAAqB,IAAA,CAC7B,gBAAA,CAAkBD,CAAAA,CAAS,gBAC7B,CAAC,CACH,CAAC,CAAA,CAEHH,CAAAA,CAAQ,OAAA,CAAQ,OAAA,CAASK,CAAAA,EAAW,CAClCN,CAAAA,CAAQ,IAAA,CAAK,CACX,IAAA,CAAMM,CAAAA,CAAO,IAAA,CACb,MAAA,CAAQD,kCAAAA,CAAqB,IAAA,CAC7B,gBAAA,CAAkBC,CAAAA,CAAO,gBAC3B,CAAC,CACH,CAAC,CACH,CAAC,CAAA,CAGDC,iCAAAA,CAAmBjB,CAAQ,CACzB,YAAA,CAAcS,CAAAA,CACd,OAAA,CAAAC,CACF,CAAC,CAAA,CAEDP,mBAAAA,CAAO,IAAA,CACLC,gBAAAA,CAAO,KAAA,CACL,CAAA,mBAAA,EAAsBK,CAAAA,CAAU,MAAM,CAAA,gBAAA,EAAmBC,CAAAA,CAAQ,MAAM,CAAA,kBAAA,EAAqBV,CAAM,CAAA,CAAA,CACpG,CACF,CACF,CAAA,2CAAA","file":"/home/runner/work/cli/cli/dist/impl-U64CK4IR.cjs","sourcesContent":[null,"import type { LocalContext } from '../../../context';\nimport * as t from 'io-ts';\nimport { writeTranscendYaml } from '../../../lib/readTranscendYaml';\nimport colors from 'colors';\nimport { logger } from '../../../logger';\nimport { existsSync, readFileSync } from 'fs';\nimport { decodeCodec } from '@transcend-io/type-utils';\nimport {\n ConsentManagerServiceMetadata,\n CookieInput,\n DataFlowInput,\n} from '../../../codecs';\nimport {\n ConsentTrackerStatus,\n DataFlowScope,\n} from '@transcend-io/privacy-types';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation';\n\nexport interface ConsentManagerServiceJsonToYmlCommandFlags {\n file: string;\n output: string;\n}\n\nexport function consentManagerServiceJsonToYml(\n this: LocalContext,\n { file, output }: ConsentManagerServiceJsonToYmlCommandFlags,\n): void {\n doneInputValidation(this.process.exit);\n\n // Ensure files exist\n if (!existsSync(file)) {\n logger.error(colors.red(`File does not exist: --file=\"${file}\"`));\n this.process.exit(1);\n }\n\n // Read in each consent manager configuration\n const services = decodeCodec(\n t.array(ConsentManagerServiceMetadata),\n readFileSync(file, 'utf-8'),\n );\n\n // Create data flows and cookie configurations\n const dataFlows: DataFlowInput[] = [];\n const cookies: CookieInput[] = [];\n services.forEach((service) => {\n service.dataFlows\n .filter(({ type }) => type !== DataFlowScope.CSP)\n .forEach((dataFlow) => {\n dataFlows.push({\n value: dataFlow.value,\n type: dataFlow.type,\n status: ConsentTrackerStatus.Live,\n trackingPurposes: dataFlow.trackingPurposes,\n });\n });\n\n service.cookies.forEach((cookie) => {\n cookies.push({\n name: cookie.name,\n status: ConsentTrackerStatus.Live,\n trackingPurposes: cookie.trackingPurposes,\n });\n });\n });\n\n // write to disk\n writeTranscendYaml(output, {\n 'data-flows': dataFlows,\n cookies,\n });\n\n logger.info(\n colors.green(\n `Successfully wrote ${dataFlows.length} data flows and ${cookies.length} cookies to file \"${output}\"`,\n ),\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 _chunkEUDUZQOOcjs = require('./chunk-EUDUZQOO.cjs');require('./chunk-TET6I2QK.cjs');var _chunkZVK4HIDFcjs = require('./chunk-ZVK4HIDF.cjs');require('./chunk-NSKHXTBW.cjs');var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');var _chunkAWMP5TQBcjs = require('./chunk-AWMP5TQB.cjs');var _chunkZUNVPK23cjs = require('./chunk-ZUNVPK23.cjs');var _chunk35HDA5WVcjs = require('./chunk-35HDA5WV.cjs');var _chunkQBBOYJ3Ocjs = require('./chunk-QBBOYJ3O.cjs');require('./chunk-BY7W4UQF.cjs');var _colors = require('colors'); var _colors2 = _interopRequireDefault(_colors);async function v({auth:y,file:a,transcendUrl:C,dataSiloIds:f,includeAttributes:D,includeGuessedCategories:P,parentCategories:b,subCategories:h=[]}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit);try{let o=_chunkAWMP5TQBcjs.qe.call(void 0, C,y),$=await _chunkEUDUZQOOcjs.a.call(void 0, o,{dataSiloIds:f,includeGuessedCategories:P,parentCategories:b,includeAttributes:D,subCategories:h});_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Writing datapoints to file "${a}"...`));let s=[],j=$.map(t=>{let n={"Property ID":t.id,"Data Silo":t.dataSilo.title,Object:t.dataPoint.name,"Object Path":t.dataPoint.path.join("."),Property:t.name,"Property Description":t.description,"Data Categories":t.categories.map(e=>`${e.category}:${e.name}`).join(", "),"Guessed Category":_optionalChain([t, 'access', _ => _.pendingCategoryGuesses, 'optionalAccess', _2 => _2[0]])?`${t.pendingCategoryGuesses[0].category.category}:${t.pendingCategoryGuesses[0].category.name}`:"","Processing Purposes":t.purposes.map(e=>`${e.purpose}:${e.name}`).join(", "),...Object.entries(_chunkQBBOYJ3Ocjs.d.call(void 0, t.attributeValues||[],({attributeKey:e})=>e.name)).reduce((e,[x,A])=>(e[x]=A.map(G=>G.name).join(","),e),{})};return s=_chunkQBBOYJ3Ocjs.j.call(void 0, [...s,...Object.keys(n)]),n});_chunkZVK4HIDFcjs.c.call(void 0, a,j,s)}catch(o){_chunkZUNVPK23cjs.a.error(_colors2.default.red(`An error occurred syncing the datapoints: ${o.message}`)),this.process.exit(1)}_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully synced datapoints to disk at ${a}! View at ${_chunk35HDA5WVcjs.d}`))}exports.pullDatapoints = v;
2
- //# sourceMappingURL=impl-IXNKHZFW.cjs.map
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 _chunk5JXP3N7Ucjs = require('./chunk-5JXP3N7U.cjs');require('./chunk-Z2PA2QDO.cjs');var _chunkZVK4HIDFcjs = require('./chunk-ZVK4HIDF.cjs');require('./chunk-NW3O6OPS.cjs');var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');var _chunkR77JR6OQcjs = require('./chunk-R77JR6OQ.cjs');var _chunkZUNVPK23cjs = require('./chunk-ZUNVPK23.cjs');var _chunkVIPFYWRRcjs = require('./chunk-VIPFYWRR.cjs');var _chunkEAJZX4TXcjs = require('./chunk-EAJZX4TX.cjs');require('./chunk-Q7I37FJV.cjs');var _colors = require('colors'); var _colors2 = _interopRequireDefault(_colors);async function v({auth:y,file:a,transcendUrl:C,dataSiloIds:f,includeAttributes:D,includeGuessedCategories:P,parentCategories:b,subCategories:h=[]}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit);try{let o=_chunkR77JR6OQcjs.Wd.call(void 0, C,y),$=await _chunk5JXP3N7Ucjs.a.call(void 0, o,{dataSiloIds:f,includeGuessedCategories:P,parentCategories:b,includeAttributes:D,subCategories:h});_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Writing datapoints to file "${a}"...`));let s=[],j=$.map(t=>{let n={"Property ID":t.id,"Data Silo":t.dataSilo.title,Object:t.dataPoint.name,"Object Path":t.dataPoint.path.join("."),Property:t.name,"Property Description":t.description,"Data Categories":t.categories.map(e=>`${e.category}:${e.name}`).join(", "),"Guessed Category":_optionalChain([t, 'access', _ => _.pendingCategoryGuesses, 'optionalAccess', _2 => _2[0]])?`${t.pendingCategoryGuesses[0].category.category}:${t.pendingCategoryGuesses[0].category.name}`:"","Processing Purposes":t.purposes.map(e=>`${e.purpose}:${e.name}`).join(", "),...Object.entries(_chunkEAJZX4TXcjs.d.call(void 0, t.attributeValues||[],({attributeKey:e})=>e.name)).reduce((e,[x,A])=>(e[x]=A.map(G=>G.name).join(","),e),{})};return s=_chunkEAJZX4TXcjs.j.call(void 0, [...s,...Object.keys(n)]),n});_chunkZVK4HIDFcjs.c.call(void 0, a,j,s)}catch(o){_chunkZUNVPK23cjs.a.error(_colors2.default.red(`An error occurred syncing the datapoints: ${o.message}`)),this.process.exit(1)}_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully synced datapoints to disk at ${a}! View at ${_chunkVIPFYWRRcjs.d}`))}exports.pullDatapoints = v;
2
+ //# sourceMappingURL=impl-V3TJ5WS2.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-IXNKHZFW.cjs","../src/commands/inventory/pull-datapoints/impl.ts"],"names":["pullDatapoints","auth","file","transcendUrl","dataSiloIds","includeAttributes","includeGuessedCategories","parentCategories","subCategories","doneInputValidation","client","buildTranscendGraphQLClient","dataPoints","pullAllDatapoints","logger","colors","headers","inputs","point","result","category"],"mappings":"AAAA,quBAAwC,gCAA6B,wDAAyC,gCAA6B,wDAAyC,wDAA0C,wDAAyC,wDAAyC,wDAAgD,gCAA6B,gFCI1W,MAmBnB,SAAsBA,CAAAA,CAEpB,CACE,IAAA,CAAAC,CAAAA,CACA,IAAA,CAAAC,CAAAA,CACA,YAAA,CAAAC,CAAAA,CACA,WAAA,CAAAC,CAAAA,CACA,iBAAA,CAAAC,CAAAA,CACA,wBAAA,CAAAC,CAAAA,CACA,gBAAA,CAAAC,CAAAA,CACA,aAAA,CAAAC,CAAAA,CAAgB,CAAC,CACnB,CAAA,CACe,CACfC,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAErC,GAAI,CAEF,IAAMC,CAAAA,CAASC,kCAAAA,CAA4BR,CAAcF,CAAI,CAAA,CAEvDW,CAAAA,CAAa,MAAMC,iCAAAA,CAAkBH,CAAQ,CACjD,WAAA,CAAAN,CAAAA,CACA,wBAAA,CAAAE,CAAAA,CACA,gBAAA,CAAAC,CAAAA,CACA,iBAAA,CAAAF,CAAAA,CACA,aAAA,CAAAG,CACF,CAAC,CAAA,CAEDM,mBAAAA,CAAO,IAAA,CAAKC,gBAAAA,CAAO,OAAA,CAAQ,CAAA,4BAAA,EAA+Bb,CAAI,CAAA,IAAA,CAAM,CAAC,CAAA,CACrE,IAAIc,CAAAA,CAAoB,CAAC,CAAA,CACnBC,CAAAA,CAASL,CAAAA,CAAW,GAAA,CAAKM,CAAAA,EAAU,CACvC,IAAMC,CAAAA,CAAS,CACb,aAAA,CAAeD,CAAAA,CAAM,EAAA,CACrB,WAAA,CAAaA,CAAAA,CAAM,QAAA,CAAS,KAAA,CAC5B,MAAA,CAAQA,CAAAA,CAAM,SAAA,CAAU,IAAA,CACxB,aAAA,CAAeA,CAAAA,CAAM,SAAA,CAAU,IAAA,CAAK,IAAA,CAAK,GAAG,CAAA,CAC5C,QAAA,CAAUA,CAAAA,CAAM,IAAA,CAChB,sBAAA,CAAwBA,CAAAA,CAAM,WAAA,CAC9B,iBAAA,CAAmBA,CAAAA,CAAM,UAAA,CACtB,GAAA,CAAKE,CAAAA,EAAa,CAAA,EAAA","file":"/home/runner/work/cli/cli/dist/impl-IXNKHZFW.cjs","sourcesContent":[null,"import type { LocalContext } from '../../../context';\nimport { uniq, groupBy } from 'lodash-es';\n\nimport { logger } from '../../../logger';\nimport colors from 'colors';\nimport { buildTranscendGraphQLClient } from '../../../lib/graphql';\nimport { ADMIN_DASH_DATAPOINTS } from '../../../constants';\nimport { pullAllDatapoints } from '../../../lib/data-inventory';\nimport { writeCsv } from '../../../lib/cron';\nimport { DataCategoryType } from '@transcend-io/privacy-types';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation';\n\nexport interface PullDatapointsCommandFlags {\n auth: string;\n file: string;\n transcendUrl: string;\n dataSiloIds?: string[];\n includeAttributes: boolean;\n includeGuessedCategories: boolean;\n parentCategories?: DataCategoryType[];\n subCategories?: string[];\n}\n\nexport async function pullDatapoints(\n this: LocalContext,\n {\n auth,\n file,\n transcendUrl,\n dataSiloIds,\n includeAttributes,\n includeGuessedCategories,\n parentCategories,\n subCategories = [],\n }: PullDatapointsCommandFlags,\n): Promise<void> {\n doneInputValidation(this.process.exit);\n\n try {\n // Create a GraphQL client\n const client = buildTranscendGraphQLClient(transcendUrl, auth);\n\n const dataPoints = await pullAllDatapoints(client, {\n dataSiloIds,\n includeGuessedCategories,\n parentCategories,\n includeAttributes,\n subCategories, // TODO: https://transcend.height.app/T-40482 - do by name not ID\n });\n\n logger.info(colors.magenta(`Writing datapoints to file \"${file}\"...`));\n let headers: string[] = [];\n const inputs = dataPoints.map((point) => {\n const result = {\n 'Property ID': point.id,\n 'Data Silo': point.dataSilo.title,\n Object: point.dataPoint.name,\n 'Object Path': point.dataPoint.path.join('.'),\n Property: point.name,\n 'Property Description': point.description,\n 'Data Categories': point.categories\n .map((category) => `${category.category}:${category.name}`)\n .join(', '),\n 'Guessed Category': point.pendingCategoryGuesses?.[0]\n ? `${point.pendingCategoryGuesses![0]!.category.category}:${\n point.pendingCategoryGuesses![0]!.category.name\n }`\n : '',\n 'Processing Purposes': point.purposes\n .map((purpose) => `${purpose.purpose}:${purpose.name}`)\n .join(', '),\n ...Object.entries(\n groupBy(\n point.attributeValues || [],\n ({ attributeKey }) => attributeKey.name,\n ),\n ).reduce((acc, [key, values]) => {\n acc[key] = values.map((value) => value.name).join(',');\n return acc;\n }, {} as Record<string, string>),\n };\n headers = uniq([...headers, ...Object.keys(result)]);\n return result;\n });\n writeCsv(file, inputs, headers);\n } catch (err) {\n logger.error(\n colors.red(`An error occurred syncing the datapoints: ${err.message}`),\n );\n this.process.exit(1);\n }\n\n // Indicate success\n logger.info(\n colors.green(\n `Successfully synced datapoints to disk at ${file}! View at ${ADMIN_DASH_DATAPOINTS}`,\n ),\n );\n}\n"]}
1
+ {"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-V3TJ5WS2.cjs","../src/commands/inventory/pull-datapoints/impl.ts"],"names":["pullDatapoints","auth","file","transcendUrl","dataSiloIds","includeAttributes","includeGuessedCategories","parentCategories","subCategories","doneInputValidation","client","buildTranscendGraphQLClient","dataPoints","pullAllDatapoints","logger","colors","headers","inputs","point","result","category"],"mappings":"AAAA,quBAAwC,gCAA6B,wDAAyC,gCAA6B,wDAAyC,wDAA0C,wDAAyC,wDAAyC,wDAAgD,gCAA6B,gFCI1W,MAmBnB,SAAsBA,CAAAA,CAEpB,CACE,IAAA,CAAAC,CAAAA,CACA,IAAA,CAAAC,CAAAA,CACA,YAAA,CAAAC,CAAAA,CACA,WAAA,CAAAC,CAAAA,CACA,iBAAA,CAAAC,CAAAA,CACA,wBAAA,CAAAC,CAAAA,CACA,gBAAA,CAAAC,CAAAA,CACA,aAAA,CAAAC,CAAAA,CAAgB,CAAC,CACnB,CAAA,CACe,CACfC,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAErC,GAAI,CAEF,IAAMC,CAAAA,CAASC,kCAAAA,CAA4BR,CAAcF,CAAI,CAAA,CAEvDW,CAAAA,CAAa,MAAMC,iCAAAA,CAAkBH,CAAQ,CACjD,WAAA,CAAAN,CAAAA,CACA,wBAAA,CAAAE,CAAAA,CACA,gBAAA,CAAAC,CAAAA,CACA,iBAAA,CAAAF,CAAAA,CACA,aAAA,CAAAG,CACF,CAAC,CAAA,CAEDM,mBAAAA,CAAO,IAAA,CAAKC,gBAAAA,CAAO,OAAA,CAAQ,CAAA,4BAAA,EAA+Bb,CAAI,CAAA,IAAA,CAAM,CAAC,CAAA,CACrE,IAAIc,CAAAA,CAAoB,CAAC,CAAA,CACnBC,CAAAA,CAASL,CAAAA,CAAW,GAAA,CAAKM,CAAAA,EAAU,CACvC,IAAMC,CAAAA,CAAS,CACb,aAAA,CAAeD,CAAAA,CAAM,EAAA,CACrB,WAAA,CAAaA,CAAAA,CAAM,QAAA,CAAS,KAAA,CAC5B,MAAA,CAAQA,CAAAA,CAAM,SAAA,CAAU,IAAA,CACxB,aAAA,CAAeA,CAAAA,CAAM,SAAA,CAAU,IAAA,CAAK,IAAA,CAAK,GAAG,CAAA,CAC5C,QAAA,CAAUA,CAAAA,CAAM,IAAA,CAChB,sBAAA,CAAwBA,CAAAA,CAAM,WAAA,CAC9B,iBAAA,CAAmBA,CAAAA,CAAM,UAAA,CACtB,GAAA,CAAKE,CAAAA,EAAa,CAAA,EAAA","file":"/home/runner/work/cli/cli/dist/impl-V3TJ5WS2.cjs","sourcesContent":[null,"import type { LocalContext } from '../../../context';\nimport { uniq, groupBy } from 'lodash-es';\n\nimport { logger } from '../../../logger';\nimport colors from 'colors';\nimport { buildTranscendGraphQLClient } from '../../../lib/graphql';\nimport { ADMIN_DASH_DATAPOINTS } from '../../../constants';\nimport { pullAllDatapoints } from '../../../lib/data-inventory';\nimport { writeCsv } from '../../../lib/cron';\nimport { DataCategoryType } from '@transcend-io/privacy-types';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation';\n\nexport interface PullDatapointsCommandFlags {\n auth: string;\n file: string;\n transcendUrl: string;\n dataSiloIds?: string[];\n includeAttributes: boolean;\n includeGuessedCategories: boolean;\n parentCategories?: DataCategoryType[];\n subCategories?: string[];\n}\n\nexport async function pullDatapoints(\n this: LocalContext,\n {\n auth,\n file,\n transcendUrl,\n dataSiloIds,\n includeAttributes,\n includeGuessedCategories,\n parentCategories,\n subCategories = [],\n }: PullDatapointsCommandFlags,\n): Promise<void> {\n doneInputValidation(this.process.exit);\n\n try {\n // Create a GraphQL client\n const client = buildTranscendGraphQLClient(transcendUrl, auth);\n\n const dataPoints = await pullAllDatapoints(client, {\n dataSiloIds,\n includeGuessedCategories,\n parentCategories,\n includeAttributes,\n subCategories, // TODO: https://transcend.height.app/T-40482 - do by name not ID\n });\n\n logger.info(colors.magenta(`Writing datapoints to file \"${file}\"...`));\n let headers: string[] = [];\n const inputs = dataPoints.map((point) => {\n const result = {\n 'Property ID': point.id,\n 'Data Silo': point.dataSilo.title,\n Object: point.dataPoint.name,\n 'Object Path': point.dataPoint.path.join('.'),\n Property: point.name,\n 'Property Description': point.description,\n 'Data Categories': point.categories\n .map((category) => `${category.category}:${category.name}`)\n .join(', '),\n 'Guessed Category': point.pendingCategoryGuesses?.[0]\n ? `${point.pendingCategoryGuesses![0]!.category.category}:${\n point.pendingCategoryGuesses![0]!.category.name\n }`\n : '',\n 'Processing Purposes': point.purposes\n .map((purpose) => `${purpose.purpose}:${purpose.name}`)\n .join(', '),\n ...Object.entries(\n groupBy(\n point.attributeValues || [],\n ({ attributeKey }) => attributeKey.name,\n ),\n ).reduce((acc, [key, values]) => {\n acc[key] = values.map((value) => value.name).join(',');\n return acc;\n }, {} as Record<string, string>),\n };\n headers = uniq([...headers, ...Object.keys(result)]);\n return result;\n });\n writeCsv(file, inputs, headers);\n } catch (err) {\n logger.error(\n colors.red(`An error occurred syncing the datapoints: ${err.message}`),\n );\n this.process.exit(1);\n }\n\n // Indicate success\n logger.info(\n colors.green(\n `Successfully synced datapoints to disk at ${file}! View at ${ADMIN_DASH_DATAPOINTS}`,\n ),\n );\n}\n"]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkNSKHXTBWcjs = require('./chunk-NSKHXTBW.cjs');var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');require('./chunk-AWMP5TQB.cjs');require('./chunk-ZUNVPK23.cjs');require('./chunk-35HDA5WV.cjs');require('./chunk-QBBOYJ3O.cjs');require('./chunk-BY7W4UQF.cjs');async function F({auth:i,file:n,transcendUrl:r,cacheFilepath:a,requestReceiptFolder:s,sombraAuth:l,concurrency:p,attributes:d,isTest:c,isSilent:u,skipSendingReceipt:m,emailIsVerified:b,skipFilterStep:g,dryRun:f,debug:C,defaultPhoneCountryCode:h}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit),await _chunkNSKHXTBWcjs.O.call(void 0, {cacheFilepath:a,requestReceiptFolder:s,file:n,auth:i,sombraAuth:l,concurrency:p,transcendUrl:r,defaultPhoneCountryCode:h,attributes:_chunkNSKHXTBWcjs.n.call(void 0, d),debug:C,skipFilterStep:g,isSilent:u,skipSendingReceipt:m,emailIsVerified:b,isTest:c,dryRun:f})}exports.upload = F;
2
- //# sourceMappingURL=impl-3AJDNF67.cjs.map
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkNW3O6OPScjs = require('./chunk-NW3O6OPS.cjs');var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');require('./chunk-R77JR6OQ.cjs');require('./chunk-ZUNVPK23.cjs');require('./chunk-VIPFYWRR.cjs');require('./chunk-EAJZX4TX.cjs');require('./chunk-Q7I37FJV.cjs');async function F({auth:i,file:n,transcendUrl:r,cacheFilepath:a,requestReceiptFolder:s,sombraAuth:l,concurrency:p,attributes:d,isTest:c,isSilent:u,skipSendingReceipt:m,emailIsVerified:b,skipFilterStep:g,dryRun:f,debug:C,defaultPhoneCountryCode:h}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit),await _chunkNW3O6OPScjs.O.call(void 0, {cacheFilepath:a,requestReceiptFolder:s,file:n,auth:i,sombraAuth:l,concurrency:p,transcendUrl:r,defaultPhoneCountryCode:h,attributes:_chunkNW3O6OPScjs.n.call(void 0, d),debug:C,skipFilterStep:g,isSilent:u,skipSendingReceipt:m,emailIsVerified:b,isTest:c,dryRun:f})}exports.upload = F;
2
+ //# sourceMappingURL=impl-VOTMQS3M.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-3AJDNF67.cjs","../src/commands/request/upload/impl.ts"],"names":["upload","auth","file","transcendUrl","cacheFilepath","requestReceiptFolder","sombraAuth","concurrency","attributes","isTest","isSilent","skipSendingReceipt","emailIsVerified","skipFilterStep","dryRun","debug","defaultPhoneCountryCode","doneInputValidation","uploadPrivacyRequestsFromCsv","splitCsvToList"],"mappings":"AAAA,iIAA+C,wDAAyC,gCAA6B,gCAA6B,gCAA6B,gCAA6B,gCAA6B,MC0BzO,SAAsBA,CAAAA,CAEpB,CACE,IAAA,CAAAC,CAAAA,CACA,IAAA,CAAAC,CAAAA,CACA,YAAA,CAAAC,CAAAA,CACA,aAAA,CAAAC,CAAAA,CACA,oBAAA,CAAAC,CAAAA,CACA,UAAA,CAAAC,CAAAA,CACA,WAAA,CAAAC,CAAAA,CACA,UAAA,CAAAC,CAAAA,CACA,MAAA,CAAAC,CAAAA,CACA,QAAA,CAAAC,CAAAA,CACA,kBAAA,CAAAC,CAAAA,CACA,eAAA,CAAAC,CAAAA,CACA,cAAA,CAAAC,CAAAA,CACA,MAAA,CAAAC,CAAAA,CACA,KAAA,CAAAC,CAAAA,CACA,uBAAA,CAAAC,CACF,CAAA,CACe,CACfC,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAErC,MAAMC,iCAAAA,CACJ,aAAA,CAAAd,CAAAA,CACA,oBAAA,CAAAC,CAAAA,CACA,IAAA,CAAAH,CAAAA,CACA,IAAA,CAAAD,CAAAA,CACA,UAAA,CAAAK,CAAAA,CACA,WAAA,CAAAC,CAAAA,CACA,YAAA,CAAAJ,CAAAA,CACA,uBAAA,CAAAa,CAAAA,CACA,UAAA,CAAYG,iCAAAA,CAAyB,CAAA,CACrC,KAAA,CAAAJ,CAAAA,CACA,cAAA,CAAAF,CAAAA,CACA,QAAA,CAAAH,CAAAA,CACA,kBAAA,CAAAC,CAAAA,CACA,eAAA,CAAAC,CAAAA,CACA,MAAA,CAAAH,CAAAA,CACA,MAAA,CAAAK,CACF,CAAC,CACH,CAAA,mBAAA","file":"/home/runner/work/cli/cli/dist/impl-3AJDNF67.cjs","sourcesContent":[null,"import type { LocalContext } from '../../../context';\nimport {\n splitCsvToList,\n uploadPrivacyRequestsFromCsv,\n} from '../../../lib/requests';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation';\n\nexport interface UploadCommandFlags {\n auth: string;\n file: string;\n transcendUrl: string;\n cacheFilepath: string;\n requestReceiptFolder: string;\n sombraAuth?: string;\n concurrency: number;\n attributes: string;\n isTest: boolean;\n isSilent: boolean;\n skipSendingReceipt: boolean;\n emailIsVerified: boolean;\n skipFilterStep: boolean;\n dryRun: boolean;\n debug: boolean;\n defaultPhoneCountryCode: string;\n}\n\nexport async function upload(\n this: LocalContext,\n {\n auth,\n file,\n transcendUrl,\n cacheFilepath,\n requestReceiptFolder,\n sombraAuth,\n concurrency,\n attributes,\n isTest,\n isSilent,\n skipSendingReceipt,\n emailIsVerified,\n skipFilterStep,\n dryRun,\n debug,\n defaultPhoneCountryCode,\n }: UploadCommandFlags,\n): Promise<void> {\n doneInputValidation(this.process.exit);\n\n await uploadPrivacyRequestsFromCsv({\n cacheFilepath,\n requestReceiptFolder,\n file,\n auth,\n sombraAuth,\n concurrency,\n transcendUrl,\n defaultPhoneCountryCode,\n attributes: splitCsvToList(attributes),\n debug,\n skipFilterStep,\n isSilent,\n skipSendingReceipt,\n emailIsVerified,\n isTest,\n dryRun,\n });\n}\n"]}
1
+ {"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-VOTMQS3M.cjs","../src/commands/request/upload/impl.ts"],"names":["upload","auth","file","transcendUrl","cacheFilepath","requestReceiptFolder","sombraAuth","concurrency","attributes","isTest","isSilent","skipSendingReceipt","emailIsVerified","skipFilterStep","dryRun","debug","defaultPhoneCountryCode","doneInputValidation","uploadPrivacyRequestsFromCsv","splitCsvToList"],"mappings":"AAAA,iIAA+C,wDAAyC,gCAA6B,gCAA6B,gCAA6B,gCAA6B,gCAA6B,MC0BzO,SAAsBA,CAAAA,CAEpB,CACE,IAAA,CAAAC,CAAAA,CACA,IAAA,CAAAC,CAAAA,CACA,YAAA,CAAAC,CAAAA,CACA,aAAA,CAAAC,CAAAA,CACA,oBAAA,CAAAC,CAAAA,CACA,UAAA,CAAAC,CAAAA,CACA,WAAA,CAAAC,CAAAA,CACA,UAAA,CAAAC,CAAAA,CACA,MAAA,CAAAC,CAAAA,CACA,QAAA,CAAAC,CAAAA,CACA,kBAAA,CAAAC,CAAAA,CACA,eAAA,CAAAC,CAAAA,CACA,cAAA,CAAAC,CAAAA,CACA,MAAA,CAAAC,CAAAA,CACA,KAAA,CAAAC,CAAAA,CACA,uBAAA,CAAAC,CACF,CAAA,CACe,CACfC,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAErC,MAAMC,iCAAAA,CACJ,aAAA,CAAAd,CAAAA,CACA,oBAAA,CAAAC,CAAAA,CACA,IAAA,CAAAH,CAAAA,CACA,IAAA,CAAAD,CAAAA,CACA,UAAA,CAAAK,CAAAA,CACA,WAAA,CAAAC,CAAAA,CACA,YAAA,CAAAJ,CAAAA,CACA,uBAAA,CAAAa,CAAAA,CACA,UAAA,CAAYG,iCAAAA,CAAyB,CAAA,CACrC,KAAA,CAAAJ,CAAAA,CACA,cAAA,CAAAF,CAAAA,CACA,QAAA,CAAAH,CAAAA,CACA,kBAAA,CAAAC,CAAAA,CACA,eAAA,CAAAC,CAAAA,CACA,MAAA,CAAAH,CAAAA,CACA,MAAA,CAAAK,CACF,CAAC,CACH,CAAA,mBAAA","file":"/home/runner/work/cli/cli/dist/impl-VOTMQS3M.cjs","sourcesContent":[null,"import type { LocalContext } from '../../../context';\nimport {\n splitCsvToList,\n uploadPrivacyRequestsFromCsv,\n} from '../../../lib/requests';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation';\n\nexport interface UploadCommandFlags {\n auth: string;\n file: string;\n transcendUrl: string;\n cacheFilepath: string;\n requestReceiptFolder: string;\n sombraAuth?: string;\n concurrency: number;\n attributes: string;\n isTest: boolean;\n isSilent: boolean;\n skipSendingReceipt: boolean;\n emailIsVerified: boolean;\n skipFilterStep: boolean;\n dryRun: boolean;\n debug: boolean;\n defaultPhoneCountryCode: string;\n}\n\nexport async function upload(\n this: LocalContext,\n {\n auth,\n file,\n transcendUrl,\n cacheFilepath,\n requestReceiptFolder,\n sombraAuth,\n concurrency,\n attributes,\n isTest,\n isSilent,\n skipSendingReceipt,\n emailIsVerified,\n skipFilterStep,\n dryRun,\n debug,\n defaultPhoneCountryCode,\n }: UploadCommandFlags,\n): Promise<void> {\n doneInputValidation(this.process.exit);\n\n await uploadPrivacyRequestsFromCsv({\n cacheFilepath,\n requestReceiptFolder,\n file,\n auth,\n sombraAuth,\n concurrency,\n transcendUrl,\n defaultPhoneCountryCode,\n attributes: splitCsvToList(attributes),\n debug,\n skipFilterStep,\n isSilent,\n skipSendingReceipt,\n emailIsVerified,\n isTest,\n dryRun,\n });\n}\n"]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkNW3O6OPScjs = require('./chunk-NW3O6OPS.cjs');var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');require('./chunk-R77JR6OQ.cjs');require('./chunk-ZUNVPK23.cjs');require('./chunk-VIPFYWRR.cjs');require('./chunk-EAJZX4TX.cjs');require('./chunk-Q7I37FJV.cjs');async function c({auth:i,transcendUrl:n,identifierNames:r,actions:o=[]}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit),await _chunkNW3O6OPScjs.W.call(void 0, {requestActions:o,transcendUrl:n,auth:i,identifierNames:r})}exports.rejectUnverifiedIdentifiers = c;
2
+ //# sourceMappingURL=impl-WMJ7ZSI2.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-4L4ETIBX.cjs","../src/commands/request/reject-unverified-identifiers/impl.ts"],"names":["rejectUnverifiedIdentifiers","auth","transcendUrl","identifierNames","actions","doneInputValidation","removeUnverifiedRequestIdentifiers"],"mappings":"AAAA,iIAAwC,wDAAyC,gCAA6B,gCAA6B,gCAA6B,gCAA6B,gCAA6B,MCYlO,SAAsBA,CAAAA,CAEpB,CACE,IAAA,CAAAC,CAAAA,CACA,YAAA,CAAAC,CAAAA,CACA,eAAA,CAAAC,CAAAA,CACA,OAAA,CAAAC,CAAAA,CAAU,CAAC,CACb,CAAA,CACe,CACfC,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAErC,MAAMC,iCAAAA,CACJ,cAAA,CAAgBF,CAAAA,CAChB,YAAA,CAAAF,CAAAA,CACA,IAAA,CAAAD,CAAAA,CACA,eAAA,CAAAE,CACF,CAAC,CACH,CAAA,wCAAA","file":"/home/runner/work/cli/cli/dist/impl-4L4ETIBX.cjs","sourcesContent":[null,"import type { LocalContext } from '../../../context';\nimport { removeUnverifiedRequestIdentifiers } from '../../../lib/requests';\nimport type { RequestAction } from '@transcend-io/privacy-types';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation';\n\nexport interface RejectUnverifiedIdentifiersCommandFlags {\n auth: string;\n identifierNames: string[];\n actions?: RequestAction[];\n transcendUrl: string;\n}\n\nexport async function rejectUnverifiedIdentifiers(\n this: LocalContext,\n {\n auth,\n transcendUrl,\n identifierNames,\n actions = [],\n }: RejectUnverifiedIdentifiersCommandFlags,\n): Promise<void> {\n doneInputValidation(this.process.exit);\n\n await removeUnverifiedRequestIdentifiers({\n requestActions: actions,\n transcendUrl,\n auth,\n identifierNames,\n });\n}\n"]}
1
+ {"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-WMJ7ZSI2.cjs","../src/commands/request/reject-unverified-identifiers/impl.ts"],"names":["rejectUnverifiedIdentifiers","auth","transcendUrl","identifierNames","actions","doneInputValidation","removeUnverifiedRequestIdentifiers"],"mappings":"AAAA,iIAAwC,wDAAyC,gCAA6B,gCAA6B,gCAA6B,gCAA6B,gCAA6B,MCYlO,SAAsBA,CAAAA,CAEpB,CACE,IAAA,CAAAC,CAAAA,CACA,YAAA,CAAAC,CAAAA,CACA,eAAA,CAAAC,CAAAA,CACA,OAAA,CAAAC,CAAAA,CAAU,CAAC,CACb,CAAA,CACe,CACfC,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAErC,MAAMC,iCAAAA,CACJ,cAAA,CAAgBF,CAAAA,CAChB,YAAA,CAAAF,CAAAA,CACA,IAAA,CAAAD,CAAAA,CACA,eAAA,CAAAE,CACF,CAAC,CACH,CAAA,wCAAA","file":"/home/runner/work/cli/cli/dist/impl-WMJ7ZSI2.cjs","sourcesContent":[null,"import type { LocalContext } from '../../../context';\nimport { removeUnverifiedRequestIdentifiers } from '../../../lib/requests';\nimport type { RequestAction } from '@transcend-io/privacy-types';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation';\n\nexport interface RejectUnverifiedIdentifiersCommandFlags {\n auth: string;\n identifierNames: string[];\n actions?: RequestAction[];\n transcendUrl: string;\n}\n\nexport async function rejectUnverifiedIdentifiers(\n this: LocalContext,\n {\n auth,\n transcendUrl,\n identifierNames,\n actions = [],\n }: RejectUnverifiedIdentifiersCommandFlags,\n): Promise<void> {\n doneInputValidation(this.process.exit);\n\n await removeUnverifiedRequestIdentifiers({\n requestActions: actions,\n transcendUrl,\n auth,\n identifierNames,\n });\n}\n"]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkNW3O6OPScjs = require('./chunk-NW3O6OPS.cjs');var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');require('./chunk-R77JR6OQ.cjs');require('./chunk-ZUNVPK23.cjs');require('./chunk-VIPFYWRR.cjs');require('./chunk-EAJZX4TX.cjs');require('./chunk-Q7I37FJV.cjs');async function c({auth:o,dataSiloId:a,actions:r,transcendUrl:s}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit),await _chunkNW3O6OPScjs.T.call(void 0, {requestActions:r,transcendUrl:s,auth:o,dataSiloId:a})}exports.retryRequestDataSilos = c;
2
+ //# sourceMappingURL=impl-Y2UFIDZG.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-GNUG6ZDE.cjs","../src/commands/request/system/retry-request-data-silos/impl.ts"],"names":["retryRequestDataSilos","auth","dataSiloId","actions","transcendUrl","doneInputValidation"],"mappings":"AAAA,iIAAwC,wDAAyC,gCAA6B,gCAA6B,gCAA6B,gCAA6B,gCAA6B,MCYlO,SAAsBA,CAAAA,CAEpB,CACE,IAAA,CAAAC,CAAAA,CACA,UAAA,CAAAC,CAAAA,CACA,OAAA,CAAAC,CAAAA,CACA,YAAA,CAAAC,CACF,CAAA,CACe,CACfC,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAErC,MAAML,iCAAAA,CACJ,cAAA,CAAgBG,CAAAA,CAChB,YAAA,CAAAC,CAAAA,CACA,IAAA,CAAAH,CAAAA,CACA,UAAA,CAAAC,CACF,CAAC,CACH,CAAA,kCAAA","file":"/home/runner/work/cli/cli/dist/impl-GNUG6ZDE.cjs","sourcesContent":[null,"import type { LocalContext } from '../../../../context';\nimport type { RequestAction } from '@transcend-io/privacy-types';\nimport { retryRequestDataSilos as retryRequestDataSilosHelper } from '../../../../lib/requests';\nimport { doneInputValidation } from '../../../../lib/cli/done-input-validation';\n\nexport interface RetryRequestDataSilosCommandFlags {\n auth: string;\n dataSiloId: string;\n actions: RequestAction[];\n transcendUrl: string;\n}\n\nexport async function retryRequestDataSilos(\n this: LocalContext,\n {\n auth,\n dataSiloId,\n actions,\n transcendUrl,\n }: RetryRequestDataSilosCommandFlags,\n): Promise<void> {\n doneInputValidation(this.process.exit);\n\n await retryRequestDataSilosHelper({\n requestActions: actions,\n transcendUrl,\n auth,\n dataSiloId,\n });\n}\n"]}
1
+ {"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-Y2UFIDZG.cjs","../src/commands/request/system/retry-request-data-silos/impl.ts"],"names":["retryRequestDataSilos","auth","dataSiloId","actions","transcendUrl","doneInputValidation"],"mappings":"AAAA,iIAAwC,wDAAyC,gCAA6B,gCAA6B,gCAA6B,gCAA6B,gCAA6B,MCYlO,SAAsBA,CAAAA,CAEpB,CACE,IAAA,CAAAC,CAAAA,CACA,UAAA,CAAAC,CAAAA,CACA,OAAA,CAAAC,CAAAA,CACA,YAAA,CAAAC,CACF,CAAA,CACe,CACfC,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAErC,MAAML,iCAAAA,CACJ,cAAA,CAAgBG,CAAAA,CAChB,YAAA,CAAAC,CAAAA,CACA,IAAA,CAAAH,CAAAA,CACA,UAAA,CAAAC,CACF,CAAC,CACH,CAAA,kCAAA","file":"/home/runner/work/cli/cli/dist/impl-Y2UFIDZG.cjs","sourcesContent":[null,"import type { LocalContext } from '../../../../context';\nimport type { RequestAction } from '@transcend-io/privacy-types';\nimport { retryRequestDataSilos as retryRequestDataSilosHelper } from '../../../../lib/requests';\nimport { doneInputValidation } from '../../../../lib/cli/done-input-validation';\n\nexport interface RetryRequestDataSilosCommandFlags {\n auth: string;\n dataSiloId: string;\n actions: RequestAction[];\n transcendUrl: string;\n}\n\nexport async function retryRequestDataSilos(\n this: LocalContext,\n {\n auth,\n dataSiloId,\n actions,\n transcendUrl,\n }: RetryRequestDataSilosCommandFlags,\n): Promise<void> {\n doneInputValidation(this.process.exit);\n\n await retryRequestDataSilosHelper({\n requestActions: actions,\n transcendUrl,\n auth,\n dataSiloId,\n });\n}\n"]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-Z2PA2QDO.cjs');var _chunkZVK4HIDFcjs = require('./chunk-ZVK4HIDF.cjs');var _chunkPIJPXUK5cjs = require('./chunk-PIJPXUK5.cjs');require('./chunk-74OAET6D.cjs');require('./chunk-NW3O6OPS.cjs');var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');require('./chunk-UWUR56CO.cjs');require('./chunk-LCDYXJN6.cjs');var _chunkR77JR6OQcjs = require('./chunk-R77JR6OQ.cjs');require('./chunk-ZUNVPK23.cjs');require('./chunk-VIPFYWRR.cjs');require('./chunk-EAJZX4TX.cjs');require('./chunk-Q7I37FJV.cjs');async function S({auth:m,partition:c,sombraAuth:p,file:f,transcendUrl:l,timestampBefore:e,timestampAfter:r,identifiers:n=[],concurrency:g}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit);let u=await _chunkR77JR6OQcjs.Xd.call(void 0, l,m,p),C=await _chunkPIJPXUK5cjs.j.call(void 0, u,{partition:c,filterBy:{...e?{timestampBefore:e.toISOString()}:{},...r?{timestampAfter:r.toISOString()}:{},...n.length>0?{identifiers:n}:{}},limit:g});_chunkZVK4HIDFcjs.c.call(void 0, f,C.map(t=>({...t,purposes:JSON.stringify(t.purposes),...t.purposes})))}exports.pullConsentPreferences = S;
2
+ //# sourceMappingURL=impl-ZP5ZWANC.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-QGSF3JGN.cjs","../src/commands/consent/pull-consent-preferences/impl.ts"],"names":["pullConsentPreferences","auth","partition","sombraAuth","file","transcendUrl","timestampBefore","timestampAfter","identifiers","concurrency","doneInputValidation","sombra","createSombraGotInstance","preferences","fetchConsentPreferences","writeCsv","pref"],"mappings":"AAAA,yGAA4B,wDAAyC,wDAAyC,gCAA6B,gCAA6B,wDAAoC,gCAA6B,gCAA6B,wDAA0C,gCAA6B,gCAA6B,gCAA6B,gCAA6B,MCmBpa,SAAsBA,CAAAA,CAEpB,CACE,IAAA,CAAAC,CAAAA,CACA,SAAA,CAAAC,CAAAA,CACA,UAAA,CAAAC,CAAAA,CACA,IAAA,CAAAC,CAAAA,CACA,YAAA,CAAAC,CAAAA,CACA,eAAA,CAAAC,CAAAA,CACA,cAAA,CAAAC,CAAAA,CACA,WAAA,CAAAC,CAAAA,CAAc,CAAC,CAAA,CACf,WAAA,CAAAC,CACF,CAAA,CACe,CACfC,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAGrC,IAAMC,CAAAA,CAAS,MAAMC,kCAAAA,CAAwBP,CAAcJ,CAAAA,CAAME,CAAU,CAAA,CAGrEU,CAAAA,CAAc,MAAMC,iCAAAA,CAAwBH,CAAQ,CACxD,SAAA,CAAAT,CAAAA,CACA,QAAA,CAAU,CACR,GAAII,CAAAA,CACA,CAAE,eAAA,CAAiBA,CAAAA,CAAgB,WAAA,CAAY,CAAE,CAAA,CACjD,CAAC,CAAA,CACL,GAAIC,CAAAA,CACA,CAAE,cAAA,CAAgBA,CAAAA,CAAe,WAAA,CAAY,CAAE,CAAA,CAC/C,CAAC,CAAA,CACL,GAAIC,CAAAA,CAAY,MAAA,CAAS,CAAA,CAAI,CAAE,WAAA,CAAAA,CAAY,CAAA,CAAI,CAAC,CAClD,CAAA,CACA,KAAA,CAAOC,CACT,CAAC,CAAA,CAGDM,iCAAAA,CACEX,CACAS,CAAAA,CAAY,GAAA,CAAKG,CAAAA,EAAAA,CAAU,CACzB,GAAGA,CAAAA,CACH,QAAA,CAAU,IAAA,CAAK,SAAA,CAAUA,CAAAA,CAAK,QAAQ,CAAA,CACtC,GAAGA,CAAAA,CAAK,QACV,CAAA,CAAE,CACJ,CACF,CAAA,mCAAA","file":"/home/runner/work/cli/cli/dist/impl-QGSF3JGN.cjs","sourcesContent":[null,"import type { LocalContext } from '../../../context';\n\nimport { fetchConsentPreferences } from '../../../lib/consent-manager';\nimport { writeCsv } from '../../../lib/cron';\nimport { createSombraGotInstance } from '../../../lib/graphql';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation';\n\nexport interface PullConsentPreferencesCommandFlags {\n auth: string;\n partition: string;\n sombraAuth?: string;\n file: string;\n transcendUrl: string;\n timestampBefore?: Date;\n timestampAfter?: Date;\n identifiers?: string[];\n concurrency: number;\n}\n\nexport async function pullConsentPreferences(\n this: LocalContext,\n {\n auth,\n partition,\n sombraAuth,\n file,\n transcendUrl,\n timestampBefore,\n timestampAfter,\n identifiers = [],\n concurrency,\n }: PullConsentPreferencesCommandFlags,\n): Promise<void> {\n doneInputValidation(this.process.exit);\n\n // Create sombra instance to communicate with\n const sombra = await createSombraGotInstance(transcendUrl, auth, sombraAuth);\n\n // Fetch preferences\n const preferences = await fetchConsentPreferences(sombra, {\n partition,\n filterBy: {\n ...(timestampBefore\n ? { timestampBefore: timestampBefore.toISOString() }\n : {}),\n ...(timestampAfter\n ? { timestampAfter: timestampAfter.toISOString() }\n : {}),\n ...(identifiers.length > 0 ? { identifiers } : {}),\n },\n limit: concurrency,\n });\n\n // Write to disk\n writeCsv(\n file,\n preferences.map((pref) => ({\n ...pref,\n purposes: JSON.stringify(pref.purposes),\n ...pref.purposes,\n })),\n );\n}\n"]}
1
+ {"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-ZP5ZWANC.cjs","../src/commands/consent/pull-consent-preferences/impl.ts"],"names":["pullConsentPreferences","auth","partition","sombraAuth","file","transcendUrl","timestampBefore","timestampAfter","identifiers","concurrency","doneInputValidation","sombra","createSombraGotInstance","preferences","fetchConsentPreferences","writeCsv","pref"],"mappings":"AAAA,yGAA4B,wDAAyC,wDAAyC,gCAA6B,gCAA6B,wDAAoC,gCAA6B,gCAA6B,wDAA0C,gCAA6B,gCAA6B,gCAA6B,gCAA6B,MCmBpa,SAAsBA,CAAAA,CAEpB,CACE,IAAA,CAAAC,CAAAA,CACA,SAAA,CAAAC,CAAAA,CACA,UAAA,CAAAC,CAAAA,CACA,IAAA,CAAAC,CAAAA,CACA,YAAA,CAAAC,CAAAA,CACA,eAAA,CAAAC,CAAAA,CACA,cAAA,CAAAC,CAAAA,CACA,WAAA,CAAAC,CAAAA,CAAc,CAAC,CAAA,CACf,WAAA,CAAAC,CACF,CAAA,CACe,CACfC,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAGrC,IAAMC,CAAAA,CAAS,MAAMC,kCAAAA,CAAwBP,CAAcJ,CAAAA,CAAME,CAAU,CAAA,CAGrEU,CAAAA,CAAc,MAAMC,iCAAAA,CAAwBH,CAAQ,CACxD,SAAA,CAAAT,CAAAA,CACA,QAAA,CAAU,CACR,GAAII,CAAAA,CACA,CAAE,eAAA,CAAiBA,CAAAA,CAAgB,WAAA,CAAY,CAAE,CAAA,CACjD,CAAC,CAAA,CACL,GAAIC,CAAAA,CACA,CAAE,cAAA,CAAgBA,CAAAA,CAAe,WAAA,CAAY,CAAE,CAAA,CAC/C,CAAC,CAAA,CACL,GAAIC,CAAAA,CAAY,MAAA,CAAS,CAAA,CAAI,CAAE,WAAA,CAAAA,CAAY,CAAA,CAAI,CAAC,CAClD,CAAA,CACA,KAAA,CAAOC,CACT,CAAC,CAAA,CAGDM,iCAAAA,CACEX,CACAS,CAAAA,CAAY,GAAA,CAAKG,CAAAA,EAAAA,CAAU,CACzB,GAAGA,CAAAA,CACH,QAAA,CAAU,IAAA,CAAK,SAAA,CAAUA,CAAAA,CAAK,QAAQ,CAAA,CACtC,GAAGA,CAAAA,CAAK,QACV,CAAA,CAAE,CACJ,CACF,CAAA,mCAAA","file":"/home/runner/work/cli/cli/dist/impl-ZP5ZWANC.cjs","sourcesContent":[null,"import type { LocalContext } from '../../../context';\n\nimport { fetchConsentPreferences } from '../../../lib/consent-manager';\nimport { writeCsv } from '../../../lib/cron';\nimport { createSombraGotInstance } from '../../../lib/graphql';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation';\n\nexport interface PullConsentPreferencesCommandFlags {\n auth: string;\n partition: string;\n sombraAuth?: string;\n file: string;\n transcendUrl: string;\n timestampBefore?: Date;\n timestampAfter?: Date;\n identifiers?: string[];\n concurrency: number;\n}\n\nexport async function pullConsentPreferences(\n this: LocalContext,\n {\n auth,\n partition,\n sombraAuth,\n file,\n transcendUrl,\n timestampBefore,\n timestampAfter,\n identifiers = [],\n concurrency,\n }: PullConsentPreferencesCommandFlags,\n): Promise<void> {\n doneInputValidation(this.process.exit);\n\n // Create sombra instance to communicate with\n const sombra = await createSombraGotInstance(transcendUrl, auth, sombraAuth);\n\n // Fetch preferences\n const preferences = await fetchConsentPreferences(sombra, {\n partition,\n filterBy: {\n ...(timestampBefore\n ? { timestampBefore: timestampBefore.toISOString() }\n : {}),\n ...(timestampAfter\n ? { timestampAfter: timestampAfter.toISOString() }\n : {}),\n ...(identifiers.length > 0 ? { identifiers } : {}),\n },\n limit: concurrency,\n });\n\n // Write to disk\n writeCsv(\n file,\n preferences.map((pref) => ({\n ...pref,\n purposes: JSON.stringify(pref.purposes),\n ...pref.purposes,\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 _chunkK4QC24DYcjs = require('./chunk-K4QC24DY.cjs');var _chunkEUDUZQOOcjs = require('./chunk-EUDUZQOO.cjs');var _chunkIBTP5OXEcjs = require('./chunk-IBTP5OXE.cjs');var _chunkUTG3LZO7cjs = require('./chunk-UTG3LZO7.cjs');var _chunkTD7ADMVOcjs = require('./chunk-TD7ADMVO.cjs');var _chunkL7NHDBBNcjs = require('./chunk-L7NHDBBN.cjs');var _chunkN27TJLBGcjs = require('./chunk-N27TJLBG.cjs');var _chunkTET6I2QKcjs = require('./chunk-TET6I2QK.cjs');var _chunkZVK4HIDFcjs = require('./chunk-ZVK4HIDF.cjs');var _chunk6W7CSPHFcjs = require('./chunk-6W7CSPHF.cjs');var _chunkXXVZA7HNcjs = require('./chunk-XXVZA7HN.cjs');var _chunkNSKHXTBWcjs = require('./chunk-NSKHXTBW.cjs');var _chunkZD2HOHJIcjs = require('./chunk-ZD2HOHJI.cjs');var _chunkSAEKBZGFcjs = require('./chunk-SAEKBZGF.cjs');var _chunkAWMP5TQBcjs = require('./chunk-AWMP5TQB.cjs');require('./chunk-ZUNVPK23.cjs');var _chunk35HDA5WVcjs = require('./chunk-35HDA5WV.cjs');var _chunkQBBOYJ3Ocjs = require('./chunk-QBBOYJ3O.cjs');var _chunkBY7W4UQFcjs = require('./chunk-BY7W4UQF.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 $(a){let e=[],r=0,t=!1;do{let{largeLanguageModels:{nodes:s}}=await _chunkAWMP5TQBcjs.$b.call(void 0, a,_chunkAWMP5TQBcjs.Hb,{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))}function j(a){return new RegExp(`<${a}>([\\s\\S]+?)<\\/${a}>`)}function Tm(a){return a}var H=a=>{try{return JSON.parse(a)}catch (e2){return a}},F= exports.TranscendPromptManager = (_class =class{__init() {this.largeLanguageModels=[]}__init2() {this.agentsByName={}}__init3() {this.agentsByAgentId={}}constructor({prompts:e,handlebarsOptions:r={},transcendUrl:t=_chunk35HDA5WVcjs.e,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=_chunkAWMP5TQBcjs.qe.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=_chunkQBBOYJ3Ocjs.j.call(void 0, e.map(({agentNames:n})=>n||[]).flat()),[o,i,p]=await Promise.all([_chunkAWMP5TQBcjs.Dc.call(void 0, this.graphQLClient,{promptIds:r,promptTitles:t}),$(this.graphQLClient),_chunkAWMP5TQBcjs.jd.call(void 0, this.graphQLClient,{names:s})]);this.agentsByName=_chunkQBBOYJ3Ocjs.e.call(void 0, p,"name"),this.agentsByAgentId=_chunkQBBOYJ3Ocjs.e.call(void 0, p,"agentId"),this.largeLanguageModels=i.filter(n=>n.isTranscendHosted===!1);let m=_chunkQBBOYJ3Ocjs.e.call(void 0, o.prompts,"title"),c=_chunkQBBOYJ3Ocjs.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 _chunkAWMP5TQBcjs.jd.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 _chunkAWMP5TQBcjs.ue.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=[]}=_chunkQBBOYJ3Ocjs.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=_chunkQBBOYJ3Ocjs.b.call(void 0, t,50),i=[];return await _chunkAWMP5TQBcjs.a.call(void 0, o,async p=>{let m=await _chunkAWMP5TQBcjs.jd.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 _chunkAWMP5TQBcjs.yd.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 _chunkAWMP5TQBcjs.Oe.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 _chunkAWMP5TQBcjs.Oe.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 _chunkAWMP5TQBcjs.Oe.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 ym(a){let e=/(https?:\/\/[^\s]+)/g;return a.replace(e,"<link-omitted>")}function bm(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 Lm({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 _chunk327HQXYVcjs = require('./chunk-327HQXYV.cjs');var _chunk5JXP3N7Ucjs = require('./chunk-5JXP3N7U.cjs');var _chunkIBTP5OXEcjs = require('./chunk-IBTP5OXE.cjs');var _chunkI4XVTF53cjs = require('./chunk-I4XVTF53.cjs');var _chunkTD7ADMVOcjs = require('./chunk-TD7ADMVO.cjs');var _chunk2FBBA65Bcjs = require('./chunk-2FBBA65B.cjs');var _chunkYK5YCHD6cjs = require('./chunk-YK5YCHD6.cjs');var _chunkZ2PA2QDOcjs = require('./chunk-Z2PA2QDO.cjs');var _chunkZVK4HIDFcjs = require('./chunk-ZVK4HIDF.cjs');var _chunkPIJPXUK5cjs = require('./chunk-PIJPXUK5.cjs');var _chunk74OAET6Dcjs = require('./chunk-74OAET6D.cjs');var _chunkNW3O6OPScjs = require('./chunk-NW3O6OPS.cjs');var _chunkUWUR56COcjs = require('./chunk-UWUR56CO.cjs');var _chunkLCDYXJN6cjs = require('./chunk-LCDYXJN6.cjs');var _chunkR77JR6OQcjs = require('./chunk-R77JR6OQ.cjs');require('./chunk-ZUNVPK23.cjs');var _chunkVIPFYWRRcjs = require('./chunk-VIPFYWRR.cjs');var _chunkEAJZX4TXcjs = require('./chunk-EAJZX4TX.cjs');var _chunkQ7I37FJVcjs = require('./chunk-Q7I37FJV.cjs');var _typeutils = require('@transcend-io/type-utils');var _handlebarsutils = require('@transcend-io/handlebars-utils');var _privacytypes = require('@transcend-io/privacy-types');var T=20;async function $(a){let e=[],r=0,t=!1;do{let{largeLanguageModels:{nodes:s}}=await _chunkR77JR6OQcjs.cc.call(void 0, a,_chunkR77JR6OQcjs.Hb,{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))}function j(a){return new RegExp(`<${a}>([\\s\\S]+?)<\\/${a}>`)}function Cm(a){return a}var H=a=>{try{return JSON.parse(a)}catch (e2){return a}},F= exports.TranscendPromptManager = (_class =class{__init() {this.largeLanguageModels=[]}__init2() {this.agentsByName={}}__init3() {this.agentsByAgentId={}}constructor({prompts:e,handlebarsOptions:r={},transcendUrl:t=_chunkVIPFYWRRcjs.e,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=_chunkR77JR6OQcjs.Wd.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=_chunkEAJZX4TXcjs.j.call(void 0, e.map(({agentNames:n})=>n||[]).flat()),[o,i,p]=await Promise.all([_chunkR77JR6OQcjs.Gc.call(void 0, this.graphQLClient,{promptIds:r,promptTitles:t}),$(this.graphQLClient),_chunkR77JR6OQcjs.md.call(void 0, this.graphQLClient,{names:s})]);this.agentsByName=_chunkEAJZX4TXcjs.e.call(void 0, p,"name"),this.agentsByAgentId=_chunkEAJZX4TXcjs.e.call(void 0, p,"agentId"),this.largeLanguageModels=i.filter(n=>n.isTranscendHosted===!1);let m=_chunkEAJZX4TXcjs.e.call(void 0, o.prompts,"title"),c=_chunkEAJZX4TXcjs.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 _chunkR77JR6OQcjs.md.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 _chunkR77JR6OQcjs.re.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=[]}=_chunkEAJZX4TXcjs.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=_chunkEAJZX4TXcjs.b.call(void 0, t,50),i=[];return await _chunkR77JR6OQcjs.a.call(void 0, o,async p=>{let m=await _chunkR77JR6OQcjs.md.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 _chunkR77JR6OQcjs.Bd.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 _chunkR77JR6OQcjs.Ie.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 _chunkR77JR6OQcjs.Ie.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 _chunkR77JR6OQcjs.Ie.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 Lm(a){let e=/(https?:\/\/[^\s]+)/g;return a.replace(e,"<link-omitted>")}function Em(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 Sm({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=_chunkQBBOYJ3Ocjs.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 Q=_child_process.execSync.call(void 0, `git show ${i}:${d}`,{encoding:"utf-8"});n[d]=Q});let g=r.split("/").pop().split(".")[0];return{changedFiles:m,fileDiffs:n,repoName:g,commit:i}}exports.ACTIONS = _chunkAWMP5TQBcjs.vb; exports.ADD_MESSAGES_TO_PROMPT_RUN = _chunkAWMP5TQBcjs.Ia; exports.ADD_SILO_DISCOVERY_RESULTS = _chunkAWMP5TQBcjs.I; exports.ADMIN_DASH = _chunk35HDA5WVcjs.b; exports.ADMIN_DASH_DATAPOINTS = _chunk35HDA5WVcjs.d; exports.ADMIN_DASH_INTEGRATIONS = _chunk35HDA5WVcjs.c; exports.AGENTS = _chunkAWMP5TQBcjs.Ib; exports.AGENT_FILES = _chunkAWMP5TQBcjs.Lb; exports.AGENT_FUNCTIONS = _chunkAWMP5TQBcjs.Ob; exports.API_KEYS = _chunkAWMP5TQBcjs.F; exports.APPROVE_PRIVACY_REQUEST = _chunkAWMP5TQBcjs.Y; exports.ASSESSMENTS = _chunkAWMP5TQBcjs.ga; exports.ASSESSMENT_SECTION_FIELDS = _chunkAWMP5TQBcjs.fa; exports.ASSESSMENT_TEMPLATES = _chunkAWMP5TQBcjs.ka; exports.ASSUME_ROLE = _chunkAWMP5TQBcjs.Gb; exports.ATTRIBUTES = _chunkAWMP5TQBcjs.Ma; exports.ATTRIBUTE_KEYS_REQUESTS = _chunkAWMP5TQBcjs.N; exports.ATTRIBUTE_VALUES = _chunkAWMP5TQBcjs.Qa; exports.ActionInput = _chunkZD2HOHJIcjs.E; exports.ActionItemCollectionInput = _chunkZD2HOHJIcjs.P; exports.ActionItemInput = _chunkZD2HOHJIcjs.Q; exports.AgentFileInput = _chunkZD2HOHJIcjs.o; exports.AgentFunctionInput = _chunkZD2HOHJIcjs.n; exports.AgentInput = _chunkZD2HOHJIcjs.m; exports.ApiKeyInput = _chunkZD2HOHJIcjs.c; exports.AssessmentAction = _chunkAWMP5TQBcjs.Xd; exports.AssessmentAnswerOptionInput = _chunkZD2HOHJIcjs.W; exports.AssessmentDisplayLogicInput = _chunkZD2HOHJIcjs.T; exports.AssessmentInput = _chunkZD2HOHJIcjs.aa; exports.AssessmentNestedRule = _chunkAWMP5TQBcjs.Wd; exports.AssessmentNestedRuleInput = _chunkZD2HOHJIcjs.S; exports.AssessmentResourceInput = _chunkZD2HOHJIcjs.$; exports.AssessmentRetentionScheduleInput = _chunkZD2HOHJIcjs.Z; exports.AssessmentRiskLogic = _chunkAWMP5TQBcjs.Zd; exports.AssessmentRule = _chunkAWMP5TQBcjs.Vd; exports.AssessmentRuleInput = _chunkZD2HOHJIcjs.R; exports.AssessmentSectionInput = _chunkZD2HOHJIcjs.Y; exports.AssessmentSectionQuestionInput = _chunkZD2HOHJIcjs.X; exports.AssessmentTemplateInput = _chunkZD2HOHJIcjs._; exports.AttestedExtraIdentifiers = _chunkNSKHXTBWcjs.w; exports.AttributeInput = _chunkZD2HOHJIcjs.k; exports.AttributePreview = _chunkZD2HOHJIcjs.l; exports.AttributeValueInput = _chunkZD2HOHJIcjs.j; exports.BLANK = _chunkNSKHXTBWcjs.c; exports.BULK_APPLY = _chunkNSKHXTBWcjs.b; exports.BULK_REQUEST_FILES = _chunkAWMP5TQBcjs.Ga; exports.BUSINESS_ENTITIES = _chunkAWMP5TQBcjs.sb; exports.BusinessEntityInput = _chunkZD2HOHJIcjs.y; exports.CANCEL_PRIVACY_REQUEST = _chunkAWMP5TQBcjs.Z; exports.CAN_APPLY_IN_BULK = _chunkNSKHXTBWcjs.g; exports.CATALOGS = _chunkAWMP5TQBcjs.t; exports.CHANGE_REQUEST_DATA_SILO_STATUS = _chunkAWMP5TQBcjs.wa; exports.CODE_PACKAGES = _chunkAWMP5TQBcjs.R; exports.CONSENT_MANAGER_ANALYTICS_DATA = _chunkAWMP5TQBcjs.rb; exports.CONSENT_PARTITIONS = _chunkAWMP5TQBcjs.Va; exports.COOKIES = _chunkAWMP5TQBcjs._a; exports.CREATE_ACTION_ITEMS = _chunkAWMP5TQBcjs.zb; exports.CREATE_ACTION_ITEM_COLLECTION = _chunkAWMP5TQBcjs.Ka; exports.CREATE_AGENT = _chunkAWMP5TQBcjs.Jb; exports.CREATE_AGENT_FILE = _chunkAWMP5TQBcjs.Mb; exports.CREATE_AGENT_FUNCTION = _chunkAWMP5TQBcjs.Pb; exports.CREATE_API_KEY = _chunkAWMP5TQBcjs.G; exports.CREATE_ATTRIBUTE = _chunkAWMP5TQBcjs.Ra; exports.CREATE_ATTRIBUTE_VALUES = _chunkAWMP5TQBcjs.Na; exports.CREATE_BUSINESS_ENTITY = _chunkAWMP5TQBcjs.tb; exports.CREATE_CODE_PACKAGE = _chunkAWMP5TQBcjs.T; exports.CREATE_CONSENT_EXPERIENCE = _chunkAWMP5TQBcjs.pb; exports.CREATE_CONSENT_MANAGER = _chunkAWMP5TQBcjs.cb; exports.CREATE_CONSENT_PARTITION = _chunkAWMP5TQBcjs.qb; exports.CREATE_DATA_FLOWS = _chunkAWMP5TQBcjs.Wa; exports.CREATE_DATA_SILOS = _chunkAWMP5TQBcjs.o; exports.CREATE_DATA_SUBJECT = _chunkAWMP5TQBcjs.z; exports.CREATE_DATA_SUB_CATEGORY = _chunkAWMP5TQBcjs.Vb; exports.CREATE_ENRICHER = _chunkAWMP5TQBcjs.r; exports.CREATE_IDENTIFIER = _chunkAWMP5TQBcjs.w; exports.CREATE_PROCESSING_PURPOSE_SUB_CATEGORY = _chunkAWMP5TQBcjs.Yb; exports.CREATE_PROMPT = _chunkAWMP5TQBcjs.qa; exports.CREATE_PROMPT_GROUP = _chunkAWMP5TQBcjs.ua; exports.CREATE_PROMPT_PARTIAL = _chunkAWMP5TQBcjs.sa; exports.CREATE_REPOSITORY = _chunkAWMP5TQBcjs.E; exports.CREATE_SOFTWARE_DEVELOPMENT_KIT = _chunkAWMP5TQBcjs.Q; exports.CREATE_TEAM = _chunkAWMP5TQBcjs.Aa; exports.CREATE_TEMPLATE = _chunkAWMP5TQBcjs.L; exports.CREATE_VENDOR = _chunkAWMP5TQBcjs.Sb; exports.CachedFileState = _chunkNSKHXTBWcjs.h; exports.CachedRequestState = _chunkNSKHXTBWcjs.j; exports.CodePackageInput = _chunkZD2HOHJIcjs.B; exports.CodePackageSdk = _chunkZD2HOHJIcjs.A; exports.ColumnName = _chunkNSKHXTBWcjs.e; exports.ConsentManageExperienceInput = _chunkZD2HOHJIcjs.I; exports.ConsentManagerInput = _chunkZD2HOHJIcjs.K; exports.ConsentManagerMetricBin = _chunkAWMP5TQBcjs.tc; exports.ConsentManagerServiceMetadata = _chunkZD2HOHJIcjs.ia; exports.ConsentPreferenceResponse = _chunk6W7CSPHFcjs.i; exports.ConsentPreferenceTopic = _chunkZD2HOHJIcjs.ca; exports.ConsentPreferenceTopicOptionValue = _chunkZD2HOHJIcjs.ba; exports.ConsentPurpose = _chunkZD2HOHJIcjs.da; exports.CookieCsvInput = _chunkZD2HOHJIcjs.ha; exports.CookieInput = _chunkZD2HOHJIcjs.H; exports.CronIdentifier = _chunkTET6I2QKcjs.a; exports.CronIdentifierPush = _chunkTET6I2QKcjs.c; exports.DATAPOINT_EXPORT = _chunkAWMP5TQBcjs.i; exports.DATA_FLOWS = _chunkAWMP5TQBcjs.Za; exports.DATA_POINTS = _chunkAWMP5TQBcjs.c; exports.DATA_POINT_COUNT = _chunkAWMP5TQBcjs.d; exports.DATA_SILOS = _chunkAWMP5TQBcjs.k; exports.DATA_SILOS_ENRICHED = _chunkAWMP5TQBcjs.m; exports.DATA_SILO_EXPORT = _chunkAWMP5TQBcjs.l; exports.DATA_SUBJECTS = _chunkAWMP5TQBcjs.y; exports.DATA_SUB_CATEGORIES = _chunkAWMP5TQBcjs.Ub; exports.DEFAULT_TRANSCEND_API = _chunk35HDA5WVcjs.e; exports.DEFAULT_TRANSCEND_CONSENT_API = _chunk35HDA5WVcjs.f; exports.DEFAULT_TRANSCEND_PULL_RESOURCES = _chunkAWMP5TQBcjs.be; exports.DELETE_API_KEY = _chunkAWMP5TQBcjs.H; exports.DELETE_ATTRIBUTE_VALUE = _chunkAWMP5TQBcjs.Pa; exports.DEPLOYED_PRIVACY_CENTER_URL = _chunkAWMP5TQBcjs.Bb; exports.DEPLOY_CONSENT_MANAGER = _chunkAWMP5TQBcjs.fb; exports.DETERMINE_LOGIN_METHOD = _chunkAWMP5TQBcjs.Eb; exports.DataCategoryGuessInput = _chunkZD2HOHJIcjs.h; exports.DataCategoryInput = _chunkZD2HOHJIcjs.q; exports.DataCategoryPreviewInput = _chunkZD2HOHJIcjs.g; exports.DataCategoryRecommendationInput = _chunkZD2HOHJIcjs.i; exports.DataFlowCsvInput = _chunkZD2HOHJIcjs.ga; exports.DataFlowInput = _chunkZD2HOHJIcjs.G; exports.DataSiloInput = _chunkZD2HOHJIcjs.O; exports.DataSubjectInput = _chunkZD2HOHJIcjs.D; exports.DatapointInput = _chunkZD2HOHJIcjs.w; exports.ENABLED_PLUGINS = _chunkAWMP5TQBcjs.J; exports.ENRICHERS = _chunkAWMP5TQBcjs.p; exports.ENTRY_COUNT = _chunkAWMP5TQBcjs.j; exports.EXPERIENCES = _chunkAWMP5TQBcjs.Ua; exports.EnrichPrivacyRequest = _chunkK4QC24DYcjs.b; exports.EnricherInput = _chunkZD2HOHJIcjs.e; exports.FETCH_CONSENT_MANAGER = _chunkAWMP5TQBcjs.ab; exports.FETCH_CONSENT_MANAGER_ID = _chunkAWMP5TQBcjs.$a; exports.FETCH_CONSENT_MANAGER_THEME = _chunkAWMP5TQBcjs.bb; exports.FETCH_PRIVACY_CENTER_ID = _chunkAWMP5TQBcjs.Ab; exports.FieldInput = _chunkZD2HOHJIcjs.v; exports.GLOBAL_ACTION_ITEMS = _chunkAWMP5TQBcjs.xb; exports.GLOBAL_ACTION_ITEM_COLLECTIONS = _chunkAWMP5TQBcjs.Ja; exports.IDENTIFIERS = _chunkAWMP5TQBcjs.u; exports.IDENTIFIER_BLOCK_LIST = _chunkNSKHXTBWcjs.d; exports.IMPORT_ONE_TRUST_ASSESSMENT_FORMS = _chunkAWMP5TQBcjs.ha; exports.INITIALIZER = _chunkAWMP5TQBcjs.q; exports.IP_ADDRESS_REGEX = _chunk6W7CSPHFcjs.f; exports.IS_REQUIRED = _chunkNSKHXTBWcjs.f; exports.IdentifierInput = _chunkZD2HOHJIcjs.F; exports.ImportOnetrustAssessmentsInput = _chunkZD2HOHJIcjs.pa; exports.IntlMessage = _chunkNSKHXTBWcjs.A; exports.IntlMessageInput = _chunkZD2HOHJIcjs.N; exports.LARGE_LANGUAGE_MODELS = _chunkAWMP5TQBcjs.Hb; exports.LOGIN = _chunkAWMP5TQBcjs.Fb; exports.MESSAGES = _chunkAWMP5TQBcjs.aa; exports.NEW_IDENTIFIER_TYPES = _chunkAWMP5TQBcjs.v; exports.NONE = _chunkNSKHXTBWcjs.a; exports.NOTIFY_ADDITIONAL_TIME = _chunkAWMP5TQBcjs.$; exports.ORGANIZATION = _chunkAWMP5TQBcjs.M; exports.OneTrustFileFormat = _chunkBY7W4UQFcjs.a; exports.OneTrustPullResource = _chunkBY7W4UQFcjs.b; exports.OneTrustPullSource = _chunkBY7W4UQFcjs.c; exports.OpenAIEnabledRoute = _chunkZD2HOHJIcjs.ka; exports.OpenAIEnabledRoutes = _chunkZD2HOHJIcjs.la; exports.OpenAIIntegration = _chunkZD2HOHJIcjs.ma; exports.OpenAIRouteName = _chunkBY7W4UQFcjs.f; exports.POLICIES = _chunkAWMP5TQBcjs.V; exports.PREFERENCE_TOPICS = _chunkAWMP5TQBcjs.ja; exports.PRIVACY_CENTER = _chunkAWMP5TQBcjs.Cb; exports.PROCESSING_PURPOSE_SUB_CATEGORIES = _chunkAWMP5TQBcjs.Xb; exports.PROMPTS = _chunkAWMP5TQBcjs.la; exports.PROMPTS_WITH_VARIABLES = _chunkAWMP5TQBcjs.oa; exports.PROMPT_GROUPS = _chunkAWMP5TQBcjs.na; exports.PROMPT_PARTIALS = _chunkAWMP5TQBcjs.ma; exports.PROMPT_THREADS = _chunkAWMP5TQBcjs.U; exports.PURPOSES = _chunkAWMP5TQBcjs.ia; exports.ParsedAttributeInput = _chunkNSKHXTBWcjs.o; exports.PartitionInput = _chunkZD2HOHJIcjs.J; exports.PathfinderPolicy = _chunkZD2HOHJIcjs.na; exports.PathfinderPolicyName = _chunkBY7W4UQFcjs.e; exports.PathfinderPolicyNameC = _chunkZD2HOHJIcjs.ja; exports.PathfinderPromptRunMetadata = _chunkZD2HOHJIcjs.oa; exports.PolicyInput = _chunkZD2HOHJIcjs.M; exports.PrivacyCenterInput = _chunkZD2HOHJIcjs.L; exports.PrivacyRequest = _chunkAWMP5TQBcjs.ye; exports.PrivacyRequestInput = _chunkNSKHXTBWcjs.x; exports.PrivacyRequestResponse = _chunkNSKHXTBWcjs.G; exports.ProcessingPurposeInput = _chunkZD2HOHJIcjs.r; exports.ProcessingPurposePreviewInput = _chunkZD2HOHJIcjs.f; exports.PromptAVendorEmailSettings = _chunkZD2HOHJIcjs.x; exports.PromptGroupInput = _chunkZD2HOHJIcjs.u; exports.PromptInput = _chunkZD2HOHJIcjs.s; exports.PromptPartialInput = _chunkZD2HOHJIcjs.t; exports.PurposeMap = _chunkXXVZA7HNcjs.e; exports.REDUCED_REQUESTS_FOR_DATA_SILO_COUNT = _chunkAWMP5TQBcjs.ya; exports.REMOVE_REQUEST_IDENTIFIERS = _chunkAWMP5TQBcjs.Ca; exports.REPORT_PROMPT_RUN = _chunkAWMP5TQBcjs.Ha; exports.REPOSITORIES = _chunkAWMP5TQBcjs.C; exports.REQUESTS = _chunkAWMP5TQBcjs.X; exports.REQUEST_DATA_SILOS = _chunkAWMP5TQBcjs.va; exports.REQUEST_ENRICHERS = _chunkAWMP5TQBcjs.ca; exports.REQUEST_FILES = _chunkAWMP5TQBcjs.Fa; exports.REQUEST_IDENTIFIERS = _chunkAWMP5TQBcjs.Da; exports.RETRY_REQUEST_DATA_SILO = _chunkAWMP5TQBcjs.xa; exports.RETRY_REQUEST_ENRICHER = _chunkAWMP5TQBcjs.da; exports.RepositoryInput = _chunkZD2HOHJIcjs.C; exports.RequestFileMetadata = _chunkNSKHXTBWcjs.B; exports.RequestFileMetadataResponse = _chunkNSKHXTBWcjs.C; exports.RequestIdentifiersResponse = _chunkAWMP5TQBcjs.Ae; exports.RiskAssignmentInput = _chunkZD2HOHJIcjs.U; exports.RiskLogicInput = _chunkZD2HOHJIcjs.V; exports.SCOPES_BY_TITLE = _chunk35HDA5WVcjs.j; exports.SCOPE_TITLES = _chunk35HDA5WVcjs.k; exports.SET_RESOURCE_ATTRIBUTES = _chunkAWMP5TQBcjs.Ta; exports.SKIP_REQUEST_ENRICHER = _chunkAWMP5TQBcjs.ea; exports.SOFTWARE_DEVELOPMENT_KITS = _chunkAWMP5TQBcjs.O; exports.SOMBRA_VERSION = _chunkAWMP5TQBcjs._b; exports.SUB_DATA_POINTS = _chunkAWMP5TQBcjs.e; exports.SUB_DATA_POINTS_COUNT = _chunkAWMP5TQBcjs.f; exports.SUB_DATA_POINTS_WITH_GUESSES = _chunkAWMP5TQBcjs.g; exports.SYNC_ATTRIBUTE_TYPES = _chunkAWMP5TQBcjs.Vc; exports.SoftwareDevelopmentKitInput = _chunkZD2HOHJIcjs.z; exports.StoredApiKey = _chunkZD2HOHJIcjs.fa; exports.SuccessfulRequest = _chunkNSKHXTBWcjs.i; exports.TEAMS = _chunkAWMP5TQBcjs.za; exports.TEMPLATES = _chunkAWMP5TQBcjs.K; exports.TOGGLE_CONSENT_PRECEDENCE = _chunkAWMP5TQBcjs.mb; exports.TOGGLE_DATA_SUBJECT = _chunkAWMP5TQBcjs.B; exports.TOGGLE_TELEMETRY_PARTITION_STRATEGY = _chunkAWMP5TQBcjs.lb; exports.TOGGLE_UNKNOWN_COOKIE_POLICY = _chunkAWMP5TQBcjs.kb; exports.TOGGLE_UNKNOWN_REQUEST_POLICY = _chunkAWMP5TQBcjs.jb; exports.TR_PULL_RESOURCE_SCOPE_MAP = _chunk35HDA5WVcjs.h; exports.TR_PUSH_RESOURCE_SCOPE_MAP = _chunk35HDA5WVcjs.g; exports.TR_YML_RESOURCE_TO_FIELD_NAME = _chunk35HDA5WVcjs.i; exports.TeamInput = _chunkZD2HOHJIcjs.d; exports.TemplateInput = _chunkZD2HOHJIcjs.a; exports.TranscendInput = _chunkZD2HOHJIcjs.ea; exports.TranscendPromptManager = F; exports.TranscendPullResource = _chunkBY7W4UQFcjs.d; exports.UPDATE_ACTION = _chunkAWMP5TQBcjs.wb; exports.UPDATE_ACTION_ITEMS = _chunkAWMP5TQBcjs.yb; exports.UPDATE_ACTION_ITEM_COLLECTION = _chunkAWMP5TQBcjs.La; exports.UPDATE_AGENTS = _chunkAWMP5TQBcjs.Kb; exports.UPDATE_AGENT_FILES = _chunkAWMP5TQBcjs.Nb; exports.UPDATE_AGENT_FUNCTIONS = _chunkAWMP5TQBcjs.Qb; exports.UPDATE_ATTRIBUTE = _chunkAWMP5TQBcjs.Sa; exports.UPDATE_ATTRIBUTE_VALUES = _chunkAWMP5TQBcjs.Oa; exports.UPDATE_BUSINESS_ENTITIES = _chunkAWMP5TQBcjs.ub; exports.UPDATE_CODE_PACKAGES = _chunkAWMP5TQBcjs.S; exports.UPDATE_CONSENT_EXPERIENCE = _chunkAWMP5TQBcjs.ob; exports.UPDATE_CONSENT_MANAGER_DOMAINS = _chunkAWMP5TQBcjs.gb; exports.UPDATE_CONSENT_MANAGER_PARTITION = _chunkAWMP5TQBcjs.hb; exports.UPDATE_CONSENT_MANAGER_THEME = _chunkAWMP5TQBcjs.nb; exports.UPDATE_CONSENT_MANAGER_TO_LATEST = _chunkAWMP5TQBcjs.eb; exports.UPDATE_CONSENT_MANAGER_VERSION = _chunkAWMP5TQBcjs.db; exports.UPDATE_DATA_FLOWS = _chunkAWMP5TQBcjs.Xa; exports.UPDATE_DATA_SILOS = _chunkAWMP5TQBcjs.n; exports.UPDATE_DATA_SUBJECT = _chunkAWMP5TQBcjs.A; exports.UPDATE_DATA_SUB_CATEGORIES = _chunkAWMP5TQBcjs.Wb; exports.UPDATE_ENRICHER = _chunkAWMP5TQBcjs.s; exports.UPDATE_IDENTIFIER = _chunkAWMP5TQBcjs.x; exports.UPDATE_INTL_MESSAGES = _chunkAWMP5TQBcjs.ba; exports.UPDATE_LOAD_OPTIONS = _chunkAWMP5TQBcjs.ib; exports.UPDATE_OR_CREATE_COOKIES = _chunkAWMP5TQBcjs.Ya; exports.UPDATE_OR_CREATE_DATA_POINT = _chunkAWMP5TQBcjs.h; exports.UPDATE_POLICIES = _chunkAWMP5TQBcjs.W; exports.UPDATE_PRIVACY_CENTER = _chunkAWMP5TQBcjs.Db; exports.UPDATE_PRIVACY_REQUEST = _chunkAWMP5TQBcjs._; exports.UPDATE_PROCESSING_PURPOSE_SUB_CATEGORIES = _chunkAWMP5TQBcjs.Zb; exports.UPDATE_PROMPTS = _chunkAWMP5TQBcjs.pa; exports.UPDATE_PROMPT_GROUPS = _chunkAWMP5TQBcjs.ta; exports.UPDATE_PROMPT_PARTIALS = _chunkAWMP5TQBcjs.ra; exports.UPDATE_REPOSITORIES = _chunkAWMP5TQBcjs.D; exports.UPDATE_SOFTWARE_DEVELOPMENT_KITS = _chunkAWMP5TQBcjs.P; exports.UPDATE_TEAM = _chunkAWMP5TQBcjs.Ba; exports.UPDATE_VENDORS = _chunkAWMP5TQBcjs.Tb; exports.USERS = _chunkAWMP5TQBcjs.Ea; exports.USP_STRING_REGEX = _chunkXXVZA7HNcjs.d; exports.VARIABLE_PARAMETERS_NAME = _chunkL7NHDBBNcjs.b; exports.VARIABLE_PARAMETERS_REGEXP = _chunkL7NHDBBNcjs.a; exports.VENDORS = _chunkAWMP5TQBcjs.Rb; exports.VendorInput = _chunkZD2HOHJIcjs.p; exports.WebhookHeader = _chunkZD2HOHJIcjs.b; exports.addMessagesToPromptRun = _chunkAWMP5TQBcjs.Pe; exports.appendCsvSync = _chunkZVK4HIDFcjs.b; exports.approvePrivacyRequests = _chunkNSKHXTBWcjs.I; exports.assumeRole = _chunkAWMP5TQBcjs.He; exports.buildAIIntegrationType = _chunkSAEKBZGFcjs.b; exports.buildEnabledRouteType = _chunkSAEKBZGFcjs.a; exports.buildTranscendGraphQLClient = _chunkAWMP5TQBcjs.qe; exports.buildTranscendGraphQLClientGeneric = _chunkAWMP5TQBcjs.pe; exports.buildXdiSyncEndpoint = _chunk6W7CSPHFcjs.g; exports.bulkRestartRequests = _chunkNSKHXTBWcjs.Q; exports.bulkRetryEnrichers = _chunkNSKHXTBWcjs.S; exports.cancelPrivacyRequests = _chunkNSKHXTBWcjs.L; exports.consentManagersToBusinessEntities = _chunk6W7CSPHFcjs.h; exports.convertToDataSubjectAllowlist = _chunkAWMP5TQBcjs.jc; exports.convertToDataSubjectBlockList = _chunkAWMP5TQBcjs.ic; exports.createActionItemCollection = _chunkAWMP5TQBcjs.nd; exports.createActionItems = _chunkAWMP5TQBcjs.rd; exports.createAgent = _chunkAWMP5TQBcjs.kd; exports.createAgentFile = _chunkAWMP5TQBcjs.zd; exports.createAgentFunction = _chunkAWMP5TQBcjs.vd; exports.createApiKey = _chunkAWMP5TQBcjs.Je; exports.createBusinessEntity = _chunkAWMP5TQBcjs.Yc; exports.createCodePackage = _chunkAWMP5TQBcjs.je; exports.createConsentToken = _chunkXXVZA7HNcjs.a; exports.createDataCategory = _chunkAWMP5TQBcjs.Hd; exports.createDataFlows = _chunkAWMP5TQBcjs.bd; exports.createProcessingPurpose = _chunkAWMP5TQBcjs.Ld; exports.createPrompt = _chunkAWMP5TQBcjs.Ec; exports.createRegexForTag = j; exports.createRepository = _chunkAWMP5TQBcjs.ge; exports.createSoftwareDevelopmentKit = _chunkAWMP5TQBcjs.de; exports.createSombraGotInstance = _chunkAWMP5TQBcjs.re; exports.createTranscendConsentGotInstance = _chunkAWMP5TQBcjs.Fe; exports.createVendor = _chunkAWMP5TQBcjs.Dd; exports.defineTranscendPrompts = Tm; exports.deleteApiKey = _chunkAWMP5TQBcjs.Ke; exports.deployConsentManager = _chunkAWMP5TQBcjs.Me; exports.description = _chunkQBBOYJ3Ocjs.l; exports.domainToHost = _chunk6W7CSPHFcjs.e; exports.downloadPrivacyRequestFiles = _chunkNSKHXTBWcjs.F; exports.enrichPrivacyRequest = _chunkK4QC24DYcjs.c; exports.ensureAllDataSubjectsExist = _chunkAWMP5TQBcjs.hc; exports.extractClientError = _chunkNSKHXTBWcjs.N; exports.fetchActiveSiloDiscoPlugin = _chunkAWMP5TQBcjs.Pd; exports.fetchAllActionItems = _chunkAWMP5TQBcjs.qd; exports.fetchAllActions = _chunkAWMP5TQBcjs.gd; exports.fetchAllAgentFiles = _chunkAWMP5TQBcjs.yd; exports.fetchAllAgentFunctions = _chunkAWMP5TQBcjs.ud; exports.fetchAllAgents = _chunkAWMP5TQBcjs.jd; exports.fetchAllApiKeys = _chunkAWMP5TQBcjs.Ac; exports.fetchAllAssessmentTemplates = _chunkAWMP5TQBcjs.Ud; exports.fetchAllAssessments = _chunkAWMP5TQBcjs.Td; exports.fetchAllAttributeValues = _chunkAWMP5TQBcjs.Uc; exports.fetchAllAttributes = _chunkAWMP5TQBcjs.Wc; exports.fetchAllBusinessEntities = _chunkAWMP5TQBcjs.Xc; exports.fetchAllCatalogs = _chunkAWMP5TQBcjs.ne; exports.fetchAllCookies = _chunkAWMP5TQBcjs.Sd; exports.fetchAllDataCategories = _chunkAWMP5TQBcjs.Gd; exports.fetchAllDataFlows = _chunkAWMP5TQBcjs.$c; exports.fetchAllDataPoints = _chunkAWMP5TQBcjs.mc; exports.fetchAllDataSilos = _chunkAWMP5TQBcjs.kc; exports.fetchAllDataSubjects = _chunkAWMP5TQBcjs.gc; exports.fetchAllEnrichers = _chunkAWMP5TQBcjs.dc; exports.fetchAllIdentifiers = _chunkAWMP5TQBcjs.ac; exports.fetchAllMessages = _chunkAWMP5TQBcjs.Rd; exports.fetchAllPolicies = _chunkAWMP5TQBcjs.Jc; exports.fetchAllPreferenceTopics = _chunkAWMP5TQBcjs.$d; exports.fetchAllPrivacyCenters = _chunkAWMP5TQBcjs.Qd; exports.fetchAllProcessingPurposes = _chunkAWMP5TQBcjs.Kd; exports.fetchAllPromptGroups = _chunkAWMP5TQBcjs.id; exports.fetchAllPromptPartials = _chunkAWMP5TQBcjs.hd; exports.fetchAllPromptThreads = _chunkAWMP5TQBcjs.ue; exports.fetchAllPrompts = _chunkAWMP5TQBcjs.Cc; exports.fetchAllPurposes = _chunkAWMP5TQBcjs.Rc; exports.fetchAllPurposesAndPreferences = _chunkAWMP5TQBcjs.ae; exports.fetchAllRequestAttributeKeys = _chunkAWMP5TQBcjs.xe; exports.fetchAllRequestEnrichers = _chunkAWMP5TQBcjs.Ce; exports.fetchAllRequestIdentifierMetadata = _chunkAWMP5TQBcjs.ve; exports.fetchAllRequestIdentifiers = _chunkAWMP5TQBcjs.Be; exports.fetchAllRequests = _chunkAWMP5TQBcjs.ze; exports.fetchAllSubDataPoints = _chunkAWMP5TQBcjs.lc; exports.fetchAllTeams = _chunkAWMP5TQBcjs.yc; exports.fetchAllTemplates = _chunkAWMP5TQBcjs.ed; exports.fetchAllUsers = _chunkAWMP5TQBcjs.Ie; exports.fetchAllVendors = _chunkAWMP5TQBcjs.Cd; exports.fetchAndIndexCatalogs = _chunkAWMP5TQBcjs.oe; exports.fetchApiKeys = _chunkAWMP5TQBcjs.Bc; exports.fetchConsentManager = _chunkAWMP5TQBcjs.qc; exports.fetchConsentManagerAnalyticsData = _chunkAWMP5TQBcjs.uc; exports.fetchConsentManagerExperiences = _chunkAWMP5TQBcjs.sc; exports.fetchConsentManagerId = _chunkAWMP5TQBcjs.rc; exports.fetchConsentManagerTheme = _chunkAWMP5TQBcjs.vc; exports.fetchConsentPreferences = _chunk6W7CSPHFcjs.j; exports.fetchEnrichedDataSilos = _chunkAWMP5TQBcjs.nc; exports.fetchIdentifiersAndCreateMissing = _chunkAWMP5TQBcjs.bc; exports.fetchPartitions = _chunkAWMP5TQBcjs.Pc; exports.fetchPrivacyCenterId = _chunkAWMP5TQBcjs.Ic; exports.fetchPrivacyCenterUrl = _chunkAWMP5TQBcjs.Hc; exports.fetchPromptsWithVariables = _chunkAWMP5TQBcjs.Dc; exports.fetchRequestDataSilo = _chunkAWMP5TQBcjs.Ee; exports.fetchRequestDataSiloActiveCount = _chunkAWMP5TQBcjs.we; exports.fetchRequestDataSilos = _chunkAWMP5TQBcjs.De; exports.fetchRequestFilesForRequest = _chunkAWMP5TQBcjs.Le; exports.filterNullishValuesFromObject = bm; exports.filterRows = _chunkNSKHXTBWcjs.s; exports.fuzzyMatchColumns = _chunkNSKHXTBWcjs.l; exports.fuzzySearch = _chunkNSKHXTBWcjs.k; exports.generateCrossAccountApiKeys = _chunkN27TJLBGcjs.a; exports.getFileMetadataForPrivacyRequests = _chunkNSKHXTBWcjs.D; exports.getGitFilesThatChanged = Lm; exports.getUniqueValuesForColumn = _chunkNSKHXTBWcjs.r; exports.inquirerAutoComplete = _chunkUTG3LZO7cjs.c; exports.inquirerConfirmBoolean = _chunkUTG3LZO7cjs.a; exports.inquirerConfirmText = _chunkUTG3LZO7cjs.b; exports.listDirectories = _chunkN27TJLBGcjs.d; exports.listFiles = _chunkN27TJLBGcjs.c; exports.loginUser = _chunkAWMP5TQBcjs.Ge; exports.makeGraphQLRequest = _chunkAWMP5TQBcjs.$b; exports.mapColumnsToAttributes = _chunkNSKHXTBWcjs.M; exports.mapColumnsToIdentifiers = _chunkNSKHXTBWcjs.K; exports.mapCsvColumnsToApi = _chunkNSKHXTBWcjs.u; exports.mapCsvRowsToRequestInputs = _chunkNSKHXTBWcjs.z; exports.mapEnumValues = _chunkNSKHXTBWcjs.m; exports.mapRequestEnumValues = _chunkNSKHXTBWcjs.v; exports.markCronIdentifierCompleted = _chunkTET6I2QKcjs.d; exports.markRequestDataSiloIdsCompleted = _chunkTET6I2QKcjs.f; exports.markSilentPrivacyRequests = _chunkNSKHXTBWcjs.t; exports.mergeTranscendInputs = _chunkIBTP5OXEcjs.a; exports.name = _chunk35HDA5WVcjs.a; exports.normalizeIdentifierValue = _chunkNSKHXTBWcjs.y; exports.notifyPrivacyRequestsAdditionalTime = _chunkNSKHXTBWcjs.J; exports.parseAssessmentDisplayLogic = _chunkAWMP5TQBcjs.Yd; exports.parseAssessmentRiskLogic = _chunkAWMP5TQBcjs._d; exports.parseAttributesFromString = _chunkNSKHXTBWcjs.p; exports.parseFilePath = _chunkZVK4HIDFcjs.d; exports.parseVariablesFromString = _chunkTD7ADMVOcjs.a; exports.pullAllDatapoints = _chunkEUDUZQOOcjs.a; exports.pullChunkedCustomSiloOutstandingIdentifiers = _chunkTET6I2QKcjs.g; exports.pullConsentManagerMetrics = _chunk6W7CSPHFcjs.d; exports.pullCronPageOfIdentifiers = _chunkTET6I2QKcjs.b; exports.pullManualEnrichmentIdentifiersToCsv = _chunkK4QC24DYcjs.a; exports.pullPrivacyRequests = _chunkNSKHXTBWcjs.U; exports.pullTranscendConfiguration = _chunkAWMP5TQBcjs.ce; exports.pullUnstructuredSubDataPointRecommendations = _chunkEUDUZQOOcjs.b; exports.pushCronIdentifiersFromCsv = _chunkTET6I2QKcjs.e; exports.pushManualEnrichmentIdentifiersFromCsv = _chunkK4QC24DYcjs.d; exports.readCsv = _chunkNSKHXTBWcjs.q; exports.readTranscendYaml = _chunkL7NHDBBNcjs.d; exports.removeLinks = ym; exports.removeUnverifiedRequestIdentifiers = _chunkNSKHXTBWcjs.W; exports.replaceVariablesInYaml = _chunkL7NHDBBNcjs.c; exports.reportPromptRun = _chunkAWMP5TQBcjs.Oe; exports.restartPrivacyRequest = _chunkNSKHXTBWcjs.P; exports.retryRequestDataSilos = _chunkNSKHXTBWcjs.T; exports.retryRequestEnricher = _chunkAWMP5TQBcjs.te; exports.setResourceAttributes = _chunkAWMP5TQBcjs.se; exports.skipPreflightJobs = _chunkNSKHXTBWcjs.R; exports.skipRequestDataSilos = _chunkNSKHXTBWcjs.V; exports.splitCsvToList = _chunkNSKHXTBWcjs.n; exports.streamPrivacyRequestFiles = _chunkNSKHXTBWcjs.E; exports.submitPrivacyRequest = _chunkNSKHXTBWcjs.H; exports.syncAction = _chunkAWMP5TQBcjs.dd; exports.syncActionItemCollections = _chunkAWMP5TQBcjs.pd; exports.syncActionItems = _chunkAWMP5TQBcjs.td; exports.syncAgentFiles = _chunkAWMP5TQBcjs.Bd; exports.syncAgentFunctions = _chunkAWMP5TQBcjs.xd; exports.syncAgents = _chunkAWMP5TQBcjs.md; exports.syncAttribute = _chunkAWMP5TQBcjs.fc; exports.syncBusinessEntities = _chunkAWMP5TQBcjs._c; exports.syncCodePackages = _chunkAWMP5TQBcjs.le; exports.syncConfigurationToTranscend = _chunkAWMP5TQBcjs.Od; exports.syncConsentManager = _chunkAWMP5TQBcjs.Tc; exports.syncConsentManagerExperiences = _chunkAWMP5TQBcjs.Sc; exports.syncCookies = _chunkAWMP5TQBcjs.xc; exports.syncDataCategories = _chunkAWMP5TQBcjs.Jd; exports.syncDataFlows = _chunkAWMP5TQBcjs.cd; exports.syncDataSiloDependencies = _chunkAWMP5TQBcjs.pc; exports.syncDataSilos = _chunkAWMP5TQBcjs.oc; exports.syncDataSubject = _chunkAWMP5TQBcjs.zc; exports.syncEnricher = _chunkAWMP5TQBcjs.ec; exports.syncIdentifier = _chunkAWMP5TQBcjs.cc; exports.syncIntlMessages = _chunkAWMP5TQBcjs.Nc; exports.syncPartitions = _chunkAWMP5TQBcjs.Qc; exports.syncPolicies = _chunkAWMP5TQBcjs.Lc; exports.syncPrivacyCenter = _chunkAWMP5TQBcjs.Oc; exports.syncProcessingPurposes = _chunkAWMP5TQBcjs.Nd; exports.syncPrompts = _chunkAWMP5TQBcjs.Gc; exports.syncRepositories = _chunkAWMP5TQBcjs.ie; exports.syncSoftwareDevelopmentKits = _chunkAWMP5TQBcjs.fe; exports.syncTemplate = _chunkAWMP5TQBcjs.fd; exports.syncVendors = _chunkAWMP5TQBcjs.Fd; exports.updateActionItem = _chunkAWMP5TQBcjs.sd; exports.updateActionItemCollection = _chunkAWMP5TQBcjs.od; exports.updateAgentFiles = _chunkAWMP5TQBcjs.Ad; exports.updateAgentFunctions = _chunkAWMP5TQBcjs.wd; exports.updateAgents = _chunkAWMP5TQBcjs.ld; exports.updateBusinessEntities = _chunkAWMP5TQBcjs.Zc; exports.updateCodePackages = _chunkAWMP5TQBcjs.ke; exports.updateConsentManagerToLatest = _chunkAWMP5TQBcjs.Ne; exports.updateConsentManagerVersionToLatest = _chunk6W7CSPHFcjs.a; exports.updateDataCategories = _chunkAWMP5TQBcjs.Id; exports.updateDataFlows = _chunkAWMP5TQBcjs.ad; exports.updateIntlMessages = _chunkAWMP5TQBcjs.Mc; exports.updateOrCreateCookies = _chunkAWMP5TQBcjs.wc; exports.updatePolicies = _chunkAWMP5TQBcjs.Kc; exports.updateProcessingPurposes = _chunkAWMP5TQBcjs.Md; exports.updatePrompts = _chunkAWMP5TQBcjs.Fc; exports.updateRepositories = _chunkAWMP5TQBcjs.he; exports.updateSoftwareDevelopmentKits = _chunkAWMP5TQBcjs.ee; exports.updateVendors = _chunkAWMP5TQBcjs.Ed; exports.uploadConsents = _chunkXXVZA7HNcjs.f; exports.uploadCookiesFromCsv = _chunk6W7CSPHFcjs.c; exports.uploadDataFlowsFromCsv = _chunk6W7CSPHFcjs.b; exports.uploadPrivacyRequestsFromCsv = _chunkNSKHXTBWcjs.O; exports.uploadSiloDiscoveryResults = _chunkAWMP5TQBcjs.me; exports.validateTranscendAuth = _chunkN27TJLBGcjs.b; exports.version = _chunkQBBOYJ3Ocjs.m; exports.writeCsv = _chunkZVK4HIDFcjs.c; exports.writeCsvSync = _chunkZVK4HIDFcjs.a; exports.writeLargeCsv = _chunkZVK4HIDFcjs.e; exports.writeTranscendYaml = _chunkL7NHDBBNcjs.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=_chunkEAJZX4TXcjs.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 Q=_child_process.execSync.call(void 0, `git show ${i}:${d}`,{encoding:"utf-8"});n[d]=Q});let g=r.split("/").pop().split(".")[0];return{changedFiles:m,fileDiffs:n,repoName:g,commit:i}}exports.ACTIONS = _chunkR77JR6OQcjs.vb; exports.ADD_MESSAGES_TO_PROMPT_RUN = _chunkR77JR6OQcjs.Ia; exports.ADD_SILO_DISCOVERY_RESULTS = _chunkR77JR6OQcjs.I; exports.ADMIN_DASH = _chunkVIPFYWRRcjs.b; exports.ADMIN_DASH_DATAPOINTS = _chunkVIPFYWRRcjs.d; exports.ADMIN_DASH_INTEGRATIONS = _chunkVIPFYWRRcjs.c; exports.AGENTS = _chunkR77JR6OQcjs.Ib; exports.AGENT_FILES = _chunkR77JR6OQcjs.Lb; exports.AGENT_FUNCTIONS = _chunkR77JR6OQcjs.Ob; exports.API_KEYS = _chunkR77JR6OQcjs.F; exports.APPROVE_PRIVACY_REQUEST = _chunkR77JR6OQcjs.Y; exports.ASSESSMENTS = _chunkR77JR6OQcjs.ga; exports.ASSESSMENT_SECTION_FIELDS = _chunkR77JR6OQcjs.fa; exports.ASSESSMENT_TEMPLATES = _chunkR77JR6OQcjs.ka; exports.ASSUME_ROLE = _chunkR77JR6OQcjs.Gb; exports.ATTRIBUTES = _chunkR77JR6OQcjs.Ma; exports.ATTRIBUTE_KEYS_REQUESTS = _chunkR77JR6OQcjs.N; exports.ATTRIBUTE_VALUES = _chunkR77JR6OQcjs.Qa; exports.ActionInput = _chunkUWUR56COcjs.G; exports.ActionItemCollectionInput = _chunkUWUR56COcjs.R; exports.ActionItemInput = _chunkUWUR56COcjs.S; exports.AgentFileInput = _chunkUWUR56COcjs.o; exports.AgentFunctionInput = _chunkUWUR56COcjs.n; exports.AgentInput = _chunkUWUR56COcjs.m; exports.ApiKeyInput = _chunkUWUR56COcjs.c; exports.AssessmentAction = _chunkR77JR6OQcjs.Ce; exports.AssessmentAnswerOptionInput = _chunkUWUR56COcjs.Y; exports.AssessmentDisplayLogicInput = _chunkUWUR56COcjs.V; exports.AssessmentInput = _chunkUWUR56COcjs.ca; exports.AssessmentNestedRule = _chunkR77JR6OQcjs.Be; exports.AssessmentNestedRuleInput = _chunkUWUR56COcjs.U; exports.AssessmentResourceInput = _chunkUWUR56COcjs.ba; exports.AssessmentRetentionScheduleInput = _chunkUWUR56COcjs.$; exports.AssessmentRiskLogic = _chunkR77JR6OQcjs.Ee; exports.AssessmentRule = _chunkR77JR6OQcjs.Ae; exports.AssessmentRuleInput = _chunkUWUR56COcjs.T; exports.AssessmentSectionInput = _chunkUWUR56COcjs._; exports.AssessmentSectionQuestionInput = _chunkUWUR56COcjs.Z; exports.AssessmentTemplateInput = _chunkUWUR56COcjs.aa; exports.AttestedExtraIdentifiers = _chunkNW3O6OPScjs.w; exports.AttributeInput = _chunkUWUR56COcjs.k; exports.AttributePreview = _chunkUWUR56COcjs.l; exports.AttributeValueInput = _chunkUWUR56COcjs.j; exports.BLANK = _chunkNW3O6OPScjs.c; exports.BULK_APPLY = _chunkNW3O6OPScjs.b; exports.BULK_REQUEST_FILES = _chunkR77JR6OQcjs.Ga; exports.BUSINESS_ENTITIES = _chunkR77JR6OQcjs.sb; exports.BusinessEntityInput = _chunkUWUR56COcjs.y; exports.CANCEL_PRIVACY_REQUEST = _chunkR77JR6OQcjs.Z; exports.CAN_APPLY_IN_BULK = _chunkNW3O6OPScjs.g; exports.CATALOGS = _chunkR77JR6OQcjs.t; exports.CHANGE_REQUEST_DATA_SILO_STATUS = _chunkR77JR6OQcjs.wa; exports.CODE_PACKAGES = _chunkR77JR6OQcjs.R; exports.CONSENT_MANAGER_ANALYTICS_DATA = _chunkR77JR6OQcjs.rb; exports.CONSENT_PARTITIONS = _chunkR77JR6OQcjs.Va; exports.COOKIES = _chunkR77JR6OQcjs._a; exports.CREATE_ACTION_ITEMS = _chunkR77JR6OQcjs.zb; exports.CREATE_ACTION_ITEM_COLLECTION = _chunkR77JR6OQcjs.Ka; exports.CREATE_AGENT = _chunkR77JR6OQcjs.Jb; exports.CREATE_AGENT_FILE = _chunkR77JR6OQcjs.Mb; exports.CREATE_AGENT_FUNCTION = _chunkR77JR6OQcjs.Pb; exports.CREATE_API_KEY = _chunkR77JR6OQcjs.G; exports.CREATE_ATTRIBUTE = _chunkR77JR6OQcjs.Ra; exports.CREATE_ATTRIBUTE_VALUES = _chunkR77JR6OQcjs.Na; exports.CREATE_BUSINESS_ENTITY = _chunkR77JR6OQcjs.tb; exports.CREATE_CODE_PACKAGE = _chunkR77JR6OQcjs.T; exports.CREATE_CONSENT_EXPERIENCE = _chunkR77JR6OQcjs.pb; exports.CREATE_CONSENT_MANAGER = _chunkR77JR6OQcjs.cb; exports.CREATE_CONSENT_PARTITION = _chunkR77JR6OQcjs.qb; exports.CREATE_DATA_FLOWS = _chunkR77JR6OQcjs.Wa; exports.CREATE_DATA_SILOS = _chunkR77JR6OQcjs.o; exports.CREATE_DATA_SUBJECT = _chunkR77JR6OQcjs.z; exports.CREATE_DATA_SUB_CATEGORY = _chunkR77JR6OQcjs.Vb; exports.CREATE_ENRICHER = _chunkR77JR6OQcjs.r; exports.CREATE_IDENTIFIER = _chunkR77JR6OQcjs.w; exports.CREATE_PROCESSING_ACTIVITY = _chunkR77JR6OQcjs.$b; exports.CREATE_PROCESSING_PURPOSE_SUB_CATEGORY = _chunkR77JR6OQcjs.Yb; exports.CREATE_PROMPT = _chunkR77JR6OQcjs.qa; exports.CREATE_PROMPT_GROUP = _chunkR77JR6OQcjs.ua; exports.CREATE_PROMPT_PARTIAL = _chunkR77JR6OQcjs.sa; exports.CREATE_REPOSITORY = _chunkR77JR6OQcjs.E; exports.CREATE_SOFTWARE_DEVELOPMENT_KIT = _chunkR77JR6OQcjs.Q; exports.CREATE_TEAM = _chunkR77JR6OQcjs.Aa; exports.CREATE_TEMPLATE = _chunkR77JR6OQcjs.L; exports.CREATE_VENDOR = _chunkR77JR6OQcjs.Sb; exports.CachedFileState = _chunkNW3O6OPScjs.h; exports.CachedRequestState = _chunkNW3O6OPScjs.j; exports.CodePackageInput = _chunkUWUR56COcjs.D; exports.CodePackageSdk = _chunkUWUR56COcjs.C; exports.ColumnName = _chunkNW3O6OPScjs.e; exports.ConsentManageExperienceInput = _chunkUWUR56COcjs.K; exports.ConsentManagerInput = _chunkUWUR56COcjs.M; exports.ConsentManagerMetricBin = _chunkR77JR6OQcjs.wc; exports.ConsentManagerServiceMetadata = _chunkUWUR56COcjs.ka; exports.ConsentPreferenceResponse = _chunkPIJPXUK5cjs.i; exports.ConsentPreferenceTopic = _chunkUWUR56COcjs.ea; exports.ConsentPreferenceTopicOptionValue = _chunkUWUR56COcjs.da; exports.ConsentPurpose = _chunkUWUR56COcjs.fa; exports.CookieCsvInput = _chunkUWUR56COcjs.ja; exports.CookieInput = _chunkUWUR56COcjs.J; exports.CronIdentifier = _chunkZ2PA2QDOcjs.a; exports.CronIdentifierPush = _chunkZ2PA2QDOcjs.c; exports.DATAPOINT_EXPORT = _chunkR77JR6OQcjs.i; exports.DATA_FLOWS = _chunkR77JR6OQcjs.Za; exports.DATA_POINTS = _chunkR77JR6OQcjs.c; exports.DATA_POINT_COUNT = _chunkR77JR6OQcjs.d; exports.DATA_SILOS = _chunkR77JR6OQcjs.k; exports.DATA_SILOS_ENRICHED = _chunkR77JR6OQcjs.m; exports.DATA_SILO_EXPORT = _chunkR77JR6OQcjs.l; exports.DATA_SUBJECTS = _chunkR77JR6OQcjs.y; exports.DATA_SUB_CATEGORIES = _chunkR77JR6OQcjs.Ub; exports.DEFAULT_TRANSCEND_API = _chunkVIPFYWRRcjs.e; exports.DEFAULT_TRANSCEND_CONSENT_API = _chunkVIPFYWRRcjs.f; exports.DEFAULT_TRANSCEND_PULL_RESOURCES = _chunkR77JR6OQcjs.Ge; exports.DELETE_API_KEY = _chunkR77JR6OQcjs.H; exports.DELETE_ATTRIBUTE_VALUE = _chunkR77JR6OQcjs.Pa; exports.DEPLOYED_PRIVACY_CENTER_URL = _chunkR77JR6OQcjs.Bb; exports.DEPLOY_CONSENT_MANAGER = _chunkR77JR6OQcjs.fb; exports.DETERMINE_LOGIN_METHOD = _chunkR77JR6OQcjs.Eb; exports.DataCategoryGuessInput = _chunkUWUR56COcjs.h; exports.DataCategoryInput = _chunkUWUR56COcjs.q; exports.DataCategoryPreviewInput = _chunkUWUR56COcjs.g; exports.DataCategoryRecommendationInput = _chunkUWUR56COcjs.i; exports.DataFlowCsvInput = _chunkUWUR56COcjs.ia; exports.DataFlowInput = _chunkUWUR56COcjs.I; exports.DataSiloInput = _chunkUWUR56COcjs.Q; exports.DataSubjectInput = _chunkUWUR56COcjs.F; exports.DatapointInput = _chunkUWUR56COcjs.w; exports.ENABLED_PLUGINS = _chunkR77JR6OQcjs.J; exports.ENRICHERS = _chunkR77JR6OQcjs.p; exports.ENTRY_COUNT = _chunkR77JR6OQcjs.j; exports.EXPERIENCES = _chunkR77JR6OQcjs.Ua; exports.EnrichPrivacyRequest = _chunk327HQXYVcjs.b; exports.EnricherInput = _chunkUWUR56COcjs.e; exports.FETCH_CONSENT_MANAGER = _chunkR77JR6OQcjs.ab; exports.FETCH_CONSENT_MANAGER_ID = _chunkR77JR6OQcjs.$a; exports.FETCH_CONSENT_MANAGER_THEME = _chunkR77JR6OQcjs.bb; exports.FETCH_PRIVACY_CENTER_ID = _chunkR77JR6OQcjs.Ab; exports.FieldInput = _chunkUWUR56COcjs.v; exports.GLOBAL_ACTION_ITEMS = _chunkR77JR6OQcjs.xb; exports.GLOBAL_ACTION_ITEM_COLLECTIONS = _chunkR77JR6OQcjs.Ja; exports.IDENTIFIERS = _chunkR77JR6OQcjs.u; exports.IDENTIFIER_BLOCK_LIST = _chunkNW3O6OPScjs.d; exports.IMPORT_ONE_TRUST_ASSESSMENT_FORMS = _chunkR77JR6OQcjs.ha; exports.INITIALIZER = _chunkR77JR6OQcjs.q; exports.IP_ADDRESS_REGEX = _chunkPIJPXUK5cjs.f; exports.IS_REQUIRED = _chunkNW3O6OPScjs.f; exports.IdentifierInput = _chunkUWUR56COcjs.H; exports.ImportOnetrustAssessmentsInput = _chunkUWUR56COcjs.ra; exports.IntlMessage = _chunkNW3O6OPScjs.A; exports.IntlMessageInput = _chunkUWUR56COcjs.P; exports.LARGE_LANGUAGE_MODELS = _chunkR77JR6OQcjs.Hb; exports.LOGIN = _chunkR77JR6OQcjs.Fb; exports.MESSAGES = _chunkR77JR6OQcjs.aa; exports.NEW_IDENTIFIER_TYPES = _chunkR77JR6OQcjs.v; exports.NONE = _chunkNW3O6OPScjs.a; exports.NOTIFY_ADDITIONAL_TIME = _chunkR77JR6OQcjs.$; exports.ORGANIZATION = _chunkR77JR6OQcjs.M; exports.OneTrustFileFormat = _chunkQ7I37FJVcjs.a; exports.OneTrustPullResource = _chunkQ7I37FJVcjs.b; exports.OneTrustPullSource = _chunkQ7I37FJVcjs.c; exports.OpenAIEnabledRoute = _chunkUWUR56COcjs.ma; exports.OpenAIEnabledRoutes = _chunkUWUR56COcjs.na; exports.OpenAIIntegration = _chunkUWUR56COcjs.oa; exports.OpenAIRouteName = _chunkQ7I37FJVcjs.f; exports.POLICIES = _chunkR77JR6OQcjs.V; exports.PREFERENCE_TOPICS = _chunkR77JR6OQcjs.ja; exports.PRIVACY_CENTER = _chunkR77JR6OQcjs.Cb; exports.PROCESSING_ACTIVITIES = _chunkR77JR6OQcjs._b; exports.PROCESSING_PURPOSE_SUB_CATEGORIES = _chunkR77JR6OQcjs.Xb; exports.PROMPTS = _chunkR77JR6OQcjs.la; exports.PROMPTS_WITH_VARIABLES = _chunkR77JR6OQcjs.oa; exports.PROMPT_GROUPS = _chunkR77JR6OQcjs.na; exports.PROMPT_PARTIALS = _chunkR77JR6OQcjs.ma; exports.PROMPT_THREADS = _chunkR77JR6OQcjs.U; exports.PURPOSES = _chunkR77JR6OQcjs.ia; exports.ParsedAttributeInput = _chunkNW3O6OPScjs.o; exports.PartitionInput = _chunkUWUR56COcjs.L; exports.PathfinderPolicy = _chunkUWUR56COcjs.pa; exports.PathfinderPolicyName = _chunkQ7I37FJVcjs.e; exports.PathfinderPolicyNameC = _chunkUWUR56COcjs.la; exports.PathfinderPromptRunMetadata = _chunkUWUR56COcjs.qa; exports.PolicyInput = _chunkUWUR56COcjs.O; exports.PrivacyCenterInput = _chunkUWUR56COcjs.N; exports.PrivacyRequest = _chunkR77JR6OQcjs.me; exports.PrivacyRequestInput = _chunkNW3O6OPScjs.x; exports.PrivacyRequestResponse = _chunkNW3O6OPScjs.G; exports.ProcessingActivityInput = _chunkUWUR56COcjs.A; exports.ProcessingPurposeInput = _chunkUWUR56COcjs.r; exports.ProcessingPurposePreviewInput = _chunkUWUR56COcjs.f; exports.PromptAVendorEmailSettings = _chunkUWUR56COcjs.x; exports.PromptGroupInput = _chunkUWUR56COcjs.u; exports.PromptInput = _chunkUWUR56COcjs.s; exports.PromptPartialInput = _chunkUWUR56COcjs.t; exports.PurposeMap = _chunk74OAET6Dcjs.e; exports.REDUCED_REQUESTS_FOR_DATA_SILO_COUNT = _chunkR77JR6OQcjs.ya; exports.REMOVE_REQUEST_IDENTIFIERS = _chunkR77JR6OQcjs.Ca; exports.REPORT_PROMPT_RUN = _chunkR77JR6OQcjs.Ha; exports.REPOSITORIES = _chunkR77JR6OQcjs.C; exports.REQUESTS = _chunkR77JR6OQcjs.X; exports.REQUEST_DATA_SILOS = _chunkR77JR6OQcjs.va; exports.REQUEST_ENRICHERS = _chunkR77JR6OQcjs.ca; exports.REQUEST_FILES = _chunkR77JR6OQcjs.Fa; exports.REQUEST_IDENTIFIERS = _chunkR77JR6OQcjs.Da; exports.RETRY_REQUEST_DATA_SILO = _chunkR77JR6OQcjs.xa; exports.RETRY_REQUEST_ENRICHER = _chunkR77JR6OQcjs.da; exports.RegionInput = _chunkUWUR56COcjs.z; exports.RepositoryInput = _chunkUWUR56COcjs.E; exports.RequestFileMetadata = _chunkNW3O6OPScjs.B; exports.RequestFileMetadataResponse = _chunkNW3O6OPScjs.C; exports.RequestIdentifiersResponse = _chunkR77JR6OQcjs.ke; exports.RiskAssignmentInput = _chunkUWUR56COcjs.W; exports.RiskLogicInput = _chunkUWUR56COcjs.X; exports.SCOPES_BY_TITLE = _chunkVIPFYWRRcjs.j; exports.SCOPE_TITLES = _chunkVIPFYWRRcjs.k; exports.SET_RESOURCE_ATTRIBUTES = _chunkR77JR6OQcjs.Ta; exports.SKIP_REQUEST_ENRICHER = _chunkR77JR6OQcjs.ea; exports.SOFTWARE_DEVELOPMENT_KITS = _chunkR77JR6OQcjs.O; exports.SOMBRA_VERSION = _chunkR77JR6OQcjs.bc; exports.SUB_DATA_POINTS = _chunkR77JR6OQcjs.e; exports.SUB_DATA_POINTS_COUNT = _chunkR77JR6OQcjs.f; exports.SUB_DATA_POINTS_WITH_GUESSES = _chunkR77JR6OQcjs.g; exports.SYNC_ATTRIBUTE_TYPES = _chunkR77JR6OQcjs.Yc; exports.SoftwareDevelopmentKitInput = _chunkUWUR56COcjs.B; exports.StoredApiKey = _chunkUWUR56COcjs.ha; exports.SuccessfulRequest = _chunkNW3O6OPScjs.i; exports.TEAMS = _chunkR77JR6OQcjs.za; exports.TEMPLATES = _chunkR77JR6OQcjs.K; exports.TOGGLE_CONSENT_PRECEDENCE = _chunkR77JR6OQcjs.mb; exports.TOGGLE_DATA_SUBJECT = _chunkR77JR6OQcjs.B; exports.TOGGLE_TELEMETRY_PARTITION_STRATEGY = _chunkR77JR6OQcjs.lb; exports.TOGGLE_UNKNOWN_COOKIE_POLICY = _chunkR77JR6OQcjs.kb; exports.TOGGLE_UNKNOWN_REQUEST_POLICY = _chunkR77JR6OQcjs.jb; exports.TR_PULL_RESOURCE_SCOPE_MAP = _chunkVIPFYWRRcjs.h; exports.TR_PUSH_RESOURCE_SCOPE_MAP = _chunkVIPFYWRRcjs.g; exports.TR_YML_RESOURCE_TO_FIELD_NAME = _chunkVIPFYWRRcjs.i; exports.TeamInput = _chunkUWUR56COcjs.d; exports.TemplateInput = _chunkUWUR56COcjs.a; exports.TranscendInput = _chunkUWUR56COcjs.ga; exports.TranscendPromptManager = F; exports.TranscendPullResource = _chunkQ7I37FJVcjs.d; exports.UPDATE_ACTION = _chunkR77JR6OQcjs.wb; exports.UPDATE_ACTION_ITEMS = _chunkR77JR6OQcjs.yb; exports.UPDATE_ACTION_ITEM_COLLECTION = _chunkR77JR6OQcjs.La; exports.UPDATE_AGENTS = _chunkR77JR6OQcjs.Kb; exports.UPDATE_AGENT_FILES = _chunkR77JR6OQcjs.Nb; exports.UPDATE_AGENT_FUNCTIONS = _chunkR77JR6OQcjs.Qb; exports.UPDATE_ATTRIBUTE = _chunkR77JR6OQcjs.Sa; exports.UPDATE_ATTRIBUTE_VALUES = _chunkR77JR6OQcjs.Oa; exports.UPDATE_BUSINESS_ENTITIES = _chunkR77JR6OQcjs.ub; exports.UPDATE_CODE_PACKAGES = _chunkR77JR6OQcjs.S; exports.UPDATE_CONSENT_EXPERIENCE = _chunkR77JR6OQcjs.ob; exports.UPDATE_CONSENT_MANAGER_DOMAINS = _chunkR77JR6OQcjs.gb; exports.UPDATE_CONSENT_MANAGER_PARTITION = _chunkR77JR6OQcjs.hb; exports.UPDATE_CONSENT_MANAGER_THEME = _chunkR77JR6OQcjs.nb; exports.UPDATE_CONSENT_MANAGER_TO_LATEST = _chunkR77JR6OQcjs.eb; exports.UPDATE_CONSENT_MANAGER_VERSION = _chunkR77JR6OQcjs.db; exports.UPDATE_DATA_FLOWS = _chunkR77JR6OQcjs.Xa; exports.UPDATE_DATA_SILOS = _chunkR77JR6OQcjs.n; exports.UPDATE_DATA_SUBJECT = _chunkR77JR6OQcjs.A; exports.UPDATE_DATA_SUB_CATEGORIES = _chunkR77JR6OQcjs.Wb; exports.UPDATE_ENRICHER = _chunkR77JR6OQcjs.s; exports.UPDATE_IDENTIFIER = _chunkR77JR6OQcjs.x; exports.UPDATE_INTL_MESSAGES = _chunkR77JR6OQcjs.ba; exports.UPDATE_LOAD_OPTIONS = _chunkR77JR6OQcjs.ib; exports.UPDATE_OR_CREATE_COOKIES = _chunkR77JR6OQcjs.Ya; exports.UPDATE_OR_CREATE_DATA_POINT = _chunkR77JR6OQcjs.h; exports.UPDATE_POLICIES = _chunkR77JR6OQcjs.W; exports.UPDATE_PRIVACY_CENTER = _chunkR77JR6OQcjs.Db; exports.UPDATE_PRIVACY_REQUEST = _chunkR77JR6OQcjs._; exports.UPDATE_PROCESSING_ACTIVITIES = _chunkR77JR6OQcjs.ac; exports.UPDATE_PROCESSING_PURPOSE_SUB_CATEGORIES = _chunkR77JR6OQcjs.Zb; exports.UPDATE_PROMPTS = _chunkR77JR6OQcjs.pa; exports.UPDATE_PROMPT_GROUPS = _chunkR77JR6OQcjs.ta; exports.UPDATE_PROMPT_PARTIALS = _chunkR77JR6OQcjs.ra; exports.UPDATE_REPOSITORIES = _chunkR77JR6OQcjs.D; exports.UPDATE_SOFTWARE_DEVELOPMENT_KITS = _chunkR77JR6OQcjs.P; exports.UPDATE_TEAM = _chunkR77JR6OQcjs.Ba; exports.UPDATE_VENDORS = _chunkR77JR6OQcjs.Tb; exports.USERS = _chunkR77JR6OQcjs.Ea; exports.USP_STRING_REGEX = _chunk74OAET6Dcjs.d; exports.VARIABLE_PARAMETERS_NAME = _chunk2FBBA65Bcjs.b; exports.VARIABLE_PARAMETERS_REGEXP = _chunk2FBBA65Bcjs.a; exports.VENDORS = _chunkR77JR6OQcjs.Rb; exports.VendorInput = _chunkUWUR56COcjs.p; exports.WebhookHeader = _chunkUWUR56COcjs.b; exports.addMessagesToPromptRun = _chunkR77JR6OQcjs.Ud; exports.appendCsvSync = _chunkZVK4HIDFcjs.b; exports.approvePrivacyRequests = _chunkNW3O6OPScjs.I; exports.assumeRole = _chunkR77JR6OQcjs.xe; exports.buildAIIntegrationType = _chunkLCDYXJN6cjs.b; exports.buildEnabledRouteType = _chunkLCDYXJN6cjs.a; exports.buildTranscendGraphQLClient = _chunkR77JR6OQcjs.Wd; exports.buildTranscendGraphQLClientGeneric = _chunkR77JR6OQcjs.Vd; exports.buildXdiSyncEndpoint = _chunkPIJPXUK5cjs.g; exports.bulkRestartRequests = _chunkNW3O6OPScjs.Q; exports.bulkRetryEnrichers = _chunkNW3O6OPScjs.S; exports.cancelPrivacyRequests = _chunkNW3O6OPScjs.L; exports.consentManagersToBusinessEntities = _chunkPIJPXUK5cjs.h; exports.convertToDataSubjectAllowlist = _chunkR77JR6OQcjs.mc; exports.convertToDataSubjectBlockList = _chunkR77JR6OQcjs.lc; exports.createActionItemCollection = _chunkR77JR6OQcjs.qd; exports.createActionItems = _chunkR77JR6OQcjs.ud; exports.createAgent = _chunkR77JR6OQcjs.nd; exports.createAgentFile = _chunkR77JR6OQcjs.Cd; exports.createAgentFunction = _chunkR77JR6OQcjs.yd; exports.createApiKey = _chunkR77JR6OQcjs.ye; exports.createBusinessEntity = _chunkR77JR6OQcjs.$c; exports.createCodePackage = _chunkR77JR6OQcjs.Re; exports.createConsentToken = _chunk74OAET6Dcjs.a; exports.createDataCategory = _chunkR77JR6OQcjs.Kd; exports.createDataFlows = _chunkR77JR6OQcjs.ed; exports.createProcessingPurpose = _chunkR77JR6OQcjs.Od; exports.createPrompt = _chunkR77JR6OQcjs.Hc; exports.createRegexForTag = j; exports.createRepository = _chunkR77JR6OQcjs.Oe; exports.createSoftwareDevelopmentKit = _chunkR77JR6OQcjs.Le; exports.createSombraGotInstance = _chunkR77JR6OQcjs.Xd; exports.createTranscendConsentGotInstance = _chunkR77JR6OQcjs.Yd; exports.createVendor = _chunkR77JR6OQcjs.Gd; exports.defineTranscendPrompts = Cm; exports.deleteApiKey = _chunkR77JR6OQcjs.ze; exports.deployConsentManager = _chunkR77JR6OQcjs.Zd; exports.description = _chunkEAJZX4TXcjs.l; exports.domainToHost = _chunkPIJPXUK5cjs.e; exports.downloadPrivacyRequestFiles = _chunkNW3O6OPScjs.F; exports.enrichPrivacyRequest = _chunk327HQXYVcjs.c; exports.ensureAllDataSubjectsExist = _chunkR77JR6OQcjs.kc; exports.extractClientError = _chunkNW3O6OPScjs.N; exports.fetchActiveSiloDiscoPlugin = _chunkR77JR6OQcjs.$d; exports.fetchAllActionItems = _chunkR77JR6OQcjs.td; exports.fetchAllActions = _chunkR77JR6OQcjs.jd; exports.fetchAllAgentFiles = _chunkR77JR6OQcjs.Bd; exports.fetchAllAgentFunctions = _chunkR77JR6OQcjs.xd; exports.fetchAllAgents = _chunkR77JR6OQcjs.md; exports.fetchAllApiKeys = _chunkR77JR6OQcjs.Dc; exports.fetchAllAssessmentTemplates = _chunkR77JR6OQcjs.be; exports.fetchAllAssessments = _chunkR77JR6OQcjs.ae; exports.fetchAllAttributeValues = _chunkR77JR6OQcjs.Xc; exports.fetchAllAttributes = _chunkR77JR6OQcjs.Zc; exports.fetchAllBusinessEntities = _chunkR77JR6OQcjs._c; exports.fetchAllCatalogs = _chunkR77JR6OQcjs.pe; exports.fetchAllCookies = _chunkR77JR6OQcjs.de; exports.fetchAllDataCategories = _chunkR77JR6OQcjs.Jd; exports.fetchAllDataFlows = _chunkR77JR6OQcjs.cd; exports.fetchAllDataPoints = _chunkR77JR6OQcjs.pc; exports.fetchAllDataSilos = _chunkR77JR6OQcjs.nc; exports.fetchAllDataSubjects = _chunkR77JR6OQcjs.jc; exports.fetchAllEnrichers = _chunkR77JR6OQcjs.gc; exports.fetchAllIdentifiers = _chunkR77JR6OQcjs.dc; exports.fetchAllMessages = _chunkR77JR6OQcjs.ee; exports.fetchAllPolicies = _chunkR77JR6OQcjs.Mc; exports.fetchAllPreferenceTopics = _chunkR77JR6OQcjs.fe; exports.fetchAllPrivacyCenters = _chunkR77JR6OQcjs.ge; exports.fetchAllProcessingActivities = _chunkR77JR6OQcjs.Rd; exports.fetchAllProcessingPurposes = _chunkR77JR6OQcjs.Nd; exports.fetchAllPromptGroups = _chunkR77JR6OQcjs.ld; exports.fetchAllPromptPartials = _chunkR77JR6OQcjs.kd; exports.fetchAllPromptThreads = _chunkR77JR6OQcjs.re; exports.fetchAllPrompts = _chunkR77JR6OQcjs.Fc; exports.fetchAllPurposes = _chunkR77JR6OQcjs.Uc; exports.fetchAllPurposesAndPreferences = _chunkR77JR6OQcjs.he; exports.fetchAllRequestAttributeKeys = _chunkR77JR6OQcjs.ce; exports.fetchAllRequestEnrichers = _chunkR77JR6OQcjs.ie; exports.fetchAllRequestIdentifierMetadata = _chunkR77JR6OQcjs.je; exports.fetchAllRequestIdentifiers = _chunkR77JR6OQcjs.le; exports.fetchAllRequests = _chunkR77JR6OQcjs.ne; exports.fetchAllSubDataPoints = _chunkR77JR6OQcjs.oc; exports.fetchAllTeams = _chunkR77JR6OQcjs.Bc; exports.fetchAllTemplates = _chunkR77JR6OQcjs.hd; exports.fetchAllUsers = _chunkR77JR6OQcjs.oe; exports.fetchAllVendors = _chunkR77JR6OQcjs.Fd; exports.fetchAndIndexCatalogs = _chunkR77JR6OQcjs.qe; exports.fetchApiKeys = _chunkR77JR6OQcjs.Ec; exports.fetchConsentManager = _chunkR77JR6OQcjs.tc; exports.fetchConsentManagerAnalyticsData = _chunkR77JR6OQcjs.xc; exports.fetchConsentManagerExperiences = _chunkR77JR6OQcjs.vc; exports.fetchConsentManagerId = _chunkR77JR6OQcjs.uc; exports.fetchConsentManagerTheme = _chunkR77JR6OQcjs.yc; exports.fetchConsentPreferences = _chunkPIJPXUK5cjs.j; exports.fetchEnrichedDataSilos = _chunkR77JR6OQcjs.qc; exports.fetchIdentifiersAndCreateMissing = _chunkR77JR6OQcjs.ec; exports.fetchPartitions = _chunkR77JR6OQcjs.Sc; exports.fetchPrivacyCenterId = _chunkR77JR6OQcjs.Lc; exports.fetchPrivacyCenterUrl = _chunkR77JR6OQcjs.Kc; exports.fetchPromptsWithVariables = _chunkR77JR6OQcjs.Gc; exports.fetchRequestDataSilo = _chunkR77JR6OQcjs.te; exports.fetchRequestDataSiloActiveCount = _chunkR77JR6OQcjs.ue; exports.fetchRequestDataSilos = _chunkR77JR6OQcjs.se; exports.fetchRequestFilesForRequest = _chunkR77JR6OQcjs.ve; exports.filterNullishValuesFromObject = Em; exports.filterRows = _chunkNW3O6OPScjs.s; exports.fuzzyMatchColumns = _chunkNW3O6OPScjs.l; exports.fuzzySearch = _chunkNW3O6OPScjs.k; exports.generateCrossAccountApiKeys = _chunkYK5YCHD6cjs.a; exports.getFileMetadataForPrivacyRequests = _chunkNW3O6OPScjs.D; exports.getGitFilesThatChanged = Sm; exports.getUniqueValuesForColumn = _chunkNW3O6OPScjs.r; exports.inquirerAutoComplete = _chunkI4XVTF53cjs.c; exports.inquirerConfirmBoolean = _chunkI4XVTF53cjs.a; exports.inquirerConfirmText = _chunkI4XVTF53cjs.b; exports.listDirectories = _chunkYK5YCHD6cjs.d; exports.listFiles = _chunkYK5YCHD6cjs.c; exports.loginUser = _chunkR77JR6OQcjs.we; exports.makeGraphQLRequest = _chunkR77JR6OQcjs.cc; exports.mapColumnsToAttributes = _chunkNW3O6OPScjs.M; exports.mapColumnsToIdentifiers = _chunkNW3O6OPScjs.K; exports.mapCsvColumnsToApi = _chunkNW3O6OPScjs.u; exports.mapCsvRowsToRequestInputs = _chunkNW3O6OPScjs.z; exports.mapEnumValues = _chunkNW3O6OPScjs.m; exports.mapRequestEnumValues = _chunkNW3O6OPScjs.v; exports.markCronIdentifierCompleted = _chunkZ2PA2QDOcjs.d; exports.markRequestDataSiloIdsCompleted = _chunkZ2PA2QDOcjs.f; exports.markSilentPrivacyRequests = _chunkNW3O6OPScjs.t; exports.mergeTranscendInputs = _chunkIBTP5OXEcjs.a; exports.name = _chunkVIPFYWRRcjs.a; exports.normalizeIdentifierValue = _chunkNW3O6OPScjs.y; exports.notifyPrivacyRequestsAdditionalTime = _chunkNW3O6OPScjs.J; exports.parseAssessmentDisplayLogic = _chunkR77JR6OQcjs.De; exports.parseAssessmentRiskLogic = _chunkR77JR6OQcjs.Fe; exports.parseAttributesFromString = _chunkNW3O6OPScjs.p; exports.parseFilePath = _chunkZVK4HIDFcjs.d; exports.parseVariablesFromString = _chunkTD7ADMVOcjs.a; exports.pullAllDatapoints = _chunk5JXP3N7Ucjs.a; exports.pullChunkedCustomSiloOutstandingIdentifiers = _chunkZ2PA2QDOcjs.g; exports.pullConsentManagerMetrics = _chunkPIJPXUK5cjs.d; exports.pullCronPageOfIdentifiers = _chunkZ2PA2QDOcjs.b; exports.pullManualEnrichmentIdentifiersToCsv = _chunk327HQXYVcjs.a; exports.pullPrivacyRequests = _chunkNW3O6OPScjs.U; exports.pullTranscendConfiguration = _chunkR77JR6OQcjs.He; exports.pullUnstructuredSubDataPointRecommendations = _chunk5JXP3N7Ucjs.b; exports.pushCronIdentifiersFromCsv = _chunkZ2PA2QDOcjs.e; exports.pushManualEnrichmentIdentifiersFromCsv = _chunk327HQXYVcjs.d; exports.readCsv = _chunkNW3O6OPScjs.q; exports.readTranscendYaml = _chunk2FBBA65Bcjs.d; exports.removeLinks = Lm; exports.removeUnverifiedRequestIdentifiers = _chunkNW3O6OPScjs.W; exports.replaceVariablesInYaml = _chunk2FBBA65Bcjs.c; exports.reportPromptRun = _chunkR77JR6OQcjs.Ie; exports.restartPrivacyRequest = _chunkNW3O6OPScjs.P; exports.retryRequestDataSilos = _chunkNW3O6OPScjs.T; exports.retryRequestEnricher = _chunkR77JR6OQcjs.Je; exports.setResourceAttributes = _chunkR77JR6OQcjs.Ke; exports.skipPreflightJobs = _chunkNW3O6OPScjs.R; exports.skipRequestDataSilos = _chunkNW3O6OPScjs.V; exports.splitCsvToList = _chunkNW3O6OPScjs.n; exports.streamPrivacyRequestFiles = _chunkNW3O6OPScjs.E; exports.submitPrivacyRequest = _chunkNW3O6OPScjs.H; exports.syncAction = _chunkR77JR6OQcjs.gd; exports.syncActionItemCollections = _chunkR77JR6OQcjs.sd; exports.syncActionItems = _chunkR77JR6OQcjs.wd; exports.syncAgentFiles = _chunkR77JR6OQcjs.Ed; exports.syncAgentFunctions = _chunkR77JR6OQcjs.Ad; exports.syncAgents = _chunkR77JR6OQcjs.pd; exports.syncAttribute = _chunkR77JR6OQcjs.ic; exports.syncBusinessEntities = _chunkR77JR6OQcjs.bd; exports.syncCodePackages = _chunkR77JR6OQcjs.Te; exports.syncConfigurationToTranscend = _chunkR77JR6OQcjs.Td; exports.syncConsentManager = _chunkR77JR6OQcjs.Wc; exports.syncConsentManagerExperiences = _chunkR77JR6OQcjs.Vc; exports.syncCookies = _chunkR77JR6OQcjs.Ac; exports.syncDataCategories = _chunkR77JR6OQcjs.Md; exports.syncDataFlows = _chunkR77JR6OQcjs.fd; exports.syncDataSiloDependencies = _chunkR77JR6OQcjs.sc; exports.syncDataSilos = _chunkR77JR6OQcjs.rc; exports.syncDataSubject = _chunkR77JR6OQcjs.Cc; exports.syncEnricher = _chunkR77JR6OQcjs.hc; exports.syncIdentifier = _chunkR77JR6OQcjs.fc; exports.syncIntlMessages = _chunkR77JR6OQcjs.Qc; exports.syncPartitions = _chunkR77JR6OQcjs.Tc; exports.syncPolicies = _chunkR77JR6OQcjs.Oc; exports.syncPrivacyCenter = _chunkR77JR6OQcjs.Rc; exports.syncProcessingActivities = _chunkR77JR6OQcjs.Sd; exports.syncProcessingPurposes = _chunkR77JR6OQcjs.Qd; exports.syncPrompts = _chunkR77JR6OQcjs.Jc; exports.syncRepositories = _chunkR77JR6OQcjs.Qe; exports.syncSoftwareDevelopmentKits = _chunkR77JR6OQcjs.Ne; exports.syncTemplate = _chunkR77JR6OQcjs.id; exports.syncVendors = _chunkR77JR6OQcjs.Id; exports.updateActionItem = _chunkR77JR6OQcjs.vd; exports.updateActionItemCollection = _chunkR77JR6OQcjs.rd; exports.updateAgentFiles = _chunkR77JR6OQcjs.Dd; exports.updateAgentFunctions = _chunkR77JR6OQcjs.zd; exports.updateAgents = _chunkR77JR6OQcjs.od; exports.updateBusinessEntities = _chunkR77JR6OQcjs.ad; exports.updateCodePackages = _chunkR77JR6OQcjs.Se; exports.updateConsentManagerToLatest = _chunkR77JR6OQcjs._d; exports.updateConsentManagerVersionToLatest = _chunkPIJPXUK5cjs.a; exports.updateDataCategories = _chunkR77JR6OQcjs.Ld; exports.updateDataFlows = _chunkR77JR6OQcjs.dd; exports.updateIntlMessages = _chunkR77JR6OQcjs.Pc; exports.updateOrCreateCookies = _chunkR77JR6OQcjs.zc; exports.updatePolicies = _chunkR77JR6OQcjs.Nc; exports.updateProcessingPurposes = _chunkR77JR6OQcjs.Pd; exports.updatePrompts = _chunkR77JR6OQcjs.Ic; exports.updateRepositories = _chunkR77JR6OQcjs.Pe; exports.updateSoftwareDevelopmentKits = _chunkR77JR6OQcjs.Me; exports.updateVendors = _chunkR77JR6OQcjs.Hd; exports.uploadConsents = _chunk74OAET6Dcjs.f; exports.uploadCookiesFromCsv = _chunkPIJPXUK5cjs.c; exports.uploadDataFlowsFromCsv = _chunkPIJPXUK5cjs.b; exports.uploadPrivacyRequestsFromCsv = _chunkNW3O6OPScjs.O; exports.uploadSiloDiscoveryResults = _chunkR77JR6OQcjs.Ue; exports.validateTranscendAuth = _chunkYK5YCHD6cjs.b; exports.version = _chunkEAJZX4TXcjs.m; exports.writeCsv = _chunkZVK4HIDFcjs.c; exports.writeCsvSync = _chunkZVK4HIDFcjs.a; exports.writeLargeCsv = _chunkZVK4HIDFcjs.e; exports.writeTranscendYaml = _chunk2FBBA65Bcjs.e;
5
5
  //# sourceMappingURL=index.cjs.map