@transcend-io/cli 8.25.0 → 8.25.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (147) hide show
  1. package/dist/bin/bash-complete.cjs +1 -1
  2. package/dist/bin/cli.cjs +1 -1
  3. package/dist/bin/deprecated-command.cjs +2 -2
  4. package/dist/{chunk-2Q7ADV5Y.cjs → chunk-4AIAQD56.cjs} +2 -2
  5. package/dist/{chunk-2Q7ADV5Y.cjs.map → chunk-4AIAQD56.cjs.map} +1 -1
  6. package/dist/{chunk-MOWFESXN.cjs → chunk-4MXXWDM2.cjs} +2 -2
  7. package/dist/{chunk-MOWFESXN.cjs.map → chunk-4MXXWDM2.cjs.map} +1 -1
  8. package/dist/{chunk-NI434OII.cjs → chunk-6WIX75ZF.cjs} +2 -2
  9. package/dist/{chunk-NI434OII.cjs.map → chunk-6WIX75ZF.cjs.map} +1 -1
  10. package/dist/{chunk-COKHIMLO.cjs → chunk-7UB5BB7K.cjs} +2 -2
  11. package/dist/{chunk-COKHIMLO.cjs.map → chunk-7UB5BB7K.cjs.map} +1 -1
  12. package/dist/chunk-CD32SMHC.cjs +3 -0
  13. package/dist/chunk-CD32SMHC.cjs.map +1 -0
  14. package/dist/{chunk-7ZGJ4MJF.cjs → chunk-FWTJQA4M.cjs} +2 -2
  15. package/dist/{chunk-7ZGJ4MJF.cjs.map → chunk-FWTJQA4M.cjs.map} +1 -1
  16. package/dist/{chunk-5PTFTN6J.cjs → chunk-GC3HFDP4.cjs} +163 -159
  17. package/dist/chunk-GC3HFDP4.cjs.map +1 -0
  18. package/dist/{chunk-BGZ6TA6C.cjs → chunk-JQY2DY4S.cjs} +2 -2
  19. package/dist/{chunk-BGZ6TA6C.cjs.map → chunk-JQY2DY4S.cjs.map} +1 -1
  20. package/dist/{chunk-WWJHUHSQ.cjs → chunk-LCL7BED2.cjs} +6 -6
  21. package/dist/{chunk-WWJHUHSQ.cjs.map → chunk-LCL7BED2.cjs.map} +1 -1
  22. package/dist/{chunk-F3BRFYKD.cjs → chunk-M2ARSCLF.cjs} +2 -2
  23. package/dist/{chunk-F3BRFYKD.cjs.map → chunk-M2ARSCLF.cjs.map} +1 -1
  24. package/dist/{chunk-KYVDLURL.cjs → chunk-OM2P5WDQ.cjs} +4 -4
  25. package/dist/{chunk-KYVDLURL.cjs.map → chunk-OM2P5WDQ.cjs.map} +1 -1
  26. package/dist/{chunk-MPMKY5NF.cjs → chunk-SY2KZA6N.cjs} +21 -21
  27. package/dist/{chunk-MPMKY5NF.cjs.map → chunk-SY2KZA6N.cjs.map} +1 -1
  28. package/dist/{chunk-HRNCQV6G.cjs → chunk-UO63E354.cjs} +4 -4
  29. package/dist/{chunk-HRNCQV6G.cjs.map → chunk-UO63E354.cjs.map} +1 -1
  30. package/dist/{chunk-RGBVP433.cjs → chunk-XMRABG76.cjs} +2 -2
  31. package/dist/{chunk-RGBVP433.cjs.map → chunk-XMRABG76.cjs.map} +1 -1
  32. package/dist/{impl-6S3K72GP.cjs → impl-27RLTNE6.cjs} +2 -2
  33. package/dist/{impl-6S3K72GP.cjs.map → impl-27RLTNE6.cjs.map} +1 -1
  34. package/dist/impl-3QCQ57NL.cjs +2 -0
  35. package/dist/impl-3QCQ57NL.cjs.map +1 -0
  36. package/dist/{impl-YIYW7STX.cjs → impl-4SDP76RG.cjs} +2 -2
  37. package/dist/{impl-YIYW7STX.cjs.map → impl-4SDP76RG.cjs.map} +1 -1
  38. package/dist/{impl-KPZSEHQG.cjs → impl-5JGDZKKD.cjs} +2 -2
  39. package/dist/{impl-KPZSEHQG.cjs.map → impl-5JGDZKKD.cjs.map} +1 -1
  40. package/dist/{impl-GIPZ5EW5.cjs → impl-6WYAJQUE.cjs} +2 -2
  41. package/dist/{impl-GIPZ5EW5.cjs.map → impl-6WYAJQUE.cjs.map} +1 -1
  42. package/dist/{impl-EQ4EH4QJ.cjs → impl-77XWT55M.cjs} +2 -2
  43. package/dist/{impl-EQ4EH4QJ.cjs.map → impl-77XWT55M.cjs.map} +1 -1
  44. package/dist/impl-7WMPLPUZ.cjs +9 -0
  45. package/dist/impl-7WMPLPUZ.cjs.map +1 -0
  46. package/dist/impl-AXXSN2FC.cjs +2 -0
  47. package/dist/impl-AXXSN2FC.cjs.map +1 -0
  48. package/dist/{impl-HCY5MWEP.cjs → impl-C43DSDWW.cjs} +2 -2
  49. package/dist/{impl-HCY5MWEP.cjs.map → impl-C43DSDWW.cjs.map} +1 -1
  50. package/dist/{impl-AI276JNQ.cjs → impl-CWKT2AM2.cjs} +2 -2
  51. package/dist/{impl-AI276JNQ.cjs.map → impl-CWKT2AM2.cjs.map} +1 -1
  52. package/dist/impl-ELSZK5ML.cjs +2 -0
  53. package/dist/impl-ELSZK5ML.cjs.map +1 -0
  54. package/dist/{impl-FD5CDY7Y.cjs → impl-EVOTRAAK.cjs} +2 -2
  55. package/dist/{impl-FD5CDY7Y.cjs.map → impl-EVOTRAAK.cjs.map} +1 -1
  56. package/dist/{impl-VAQF5Y6W.cjs → impl-F2KNXXMR.cjs} +2 -2
  57. package/dist/{impl-VAQF5Y6W.cjs.map → impl-F2KNXXMR.cjs.map} +1 -1
  58. package/dist/{impl-LGUMGRRA.cjs → impl-FGPCTV3U.cjs} +2 -2
  59. package/dist/{impl-LGUMGRRA.cjs.map → impl-FGPCTV3U.cjs.map} +1 -1
  60. package/dist/{impl-MH7OR57S.cjs → impl-GA66PSNM.cjs} +2 -2
  61. package/dist/{impl-MH7OR57S.cjs.map → impl-GA66PSNM.cjs.map} +1 -1
  62. package/dist/impl-GHJXDRQX.cjs +2 -0
  63. package/dist/impl-GHJXDRQX.cjs.map +1 -0
  64. package/dist/impl-GNNLPQPB.cjs +2 -0
  65. package/dist/impl-GNNLPQPB.cjs.map +1 -0
  66. package/dist/{impl-7WCN5RAN.cjs → impl-HAWCNCIE.cjs} +2 -2
  67. package/dist/{impl-7WCN5RAN.cjs.map → impl-HAWCNCIE.cjs.map} +1 -1
  68. package/dist/{impl-K5LDQF7V.cjs → impl-KLLNTGD6.cjs} +2 -2
  69. package/dist/{impl-K5LDQF7V.cjs.map → impl-KLLNTGD6.cjs.map} +1 -1
  70. package/dist/{impl-7ZGTTYG5.cjs → impl-LLYATZKE.cjs} +2 -2
  71. package/dist/{impl-7ZGTTYG5.cjs.map → impl-LLYATZKE.cjs.map} +1 -1
  72. package/dist/{impl-AQY6F4SC.cjs → impl-MB2TL32H.cjs} +2 -2
  73. package/dist/{impl-AQY6F4SC.cjs.map → impl-MB2TL32H.cjs.map} +1 -1
  74. package/dist/{impl-G6WAGNDN.cjs → impl-N5UML4V3.cjs} +2 -2
  75. package/dist/{impl-G6WAGNDN.cjs.map → impl-N5UML4V3.cjs.map} +1 -1
  76. package/dist/{impl-SYXFCDZC.cjs → impl-OA7FQTRX.cjs} +4 -4
  77. package/dist/{impl-SYXFCDZC.cjs.map → impl-OA7FQTRX.cjs.map} +1 -1
  78. package/dist/impl-P4S3OGOU.cjs +2 -0
  79. package/dist/impl-P4S3OGOU.cjs.map +1 -0
  80. package/dist/impl-Q3D7NUNV.cjs +2 -0
  81. package/dist/{impl-PZ3JDEQN.cjs.map → impl-Q3D7NUNV.cjs.map} +1 -1
  82. package/dist/impl-QFXCNJYB.cjs +2 -0
  83. package/dist/impl-QFXCNJYB.cjs.map +1 -0
  84. package/dist/{impl-JREQ3SEN.cjs → impl-QSLPHFXK.cjs} +2 -2
  85. package/dist/{impl-JREQ3SEN.cjs.map → impl-QSLPHFXK.cjs.map} +1 -1
  86. package/dist/impl-R3CFYSPV.cjs +2 -0
  87. package/dist/impl-R3CFYSPV.cjs.map +1 -0
  88. package/dist/{impl-TFAARXUG.cjs → impl-RID2MAD7.cjs} +2 -2
  89. package/dist/{impl-TFAARXUG.cjs.map → impl-RID2MAD7.cjs.map} +1 -1
  90. package/dist/{impl-VGOV6N6A.cjs → impl-SHH4WC7J.cjs} +2 -2
  91. package/dist/{impl-VGOV6N6A.cjs.map → impl-SHH4WC7J.cjs.map} +1 -1
  92. package/dist/{impl-3VTN6SPE.cjs → impl-SL744OKN.cjs} +3 -3
  93. package/dist/{impl-3VTN6SPE.cjs.map → impl-SL744OKN.cjs.map} +1 -1
  94. package/dist/{impl-QSTK5NYY.cjs → impl-SLYDJIQF.cjs} +3 -3
  95. package/dist/{impl-QSTK5NYY.cjs.map → impl-SLYDJIQF.cjs.map} +1 -1
  96. package/dist/impl-UCJNP22O.cjs +2 -0
  97. package/dist/impl-UCJNP22O.cjs.map +1 -0
  98. package/dist/{impl-OIXVXSLU.cjs → impl-URWHAZIO.cjs} +2 -2
  99. package/dist/{impl-OIXVXSLU.cjs.map → impl-URWHAZIO.cjs.map} +1 -1
  100. package/dist/impl-UVBO46MQ.cjs +2 -0
  101. package/dist/impl-UVBO46MQ.cjs.map +1 -0
  102. package/dist/{impl-FJ4XWHLE.cjs → impl-VEU4X4HE.cjs} +2 -2
  103. package/dist/{impl-FJ4XWHLE.cjs.map → impl-VEU4X4HE.cjs.map} +1 -1
  104. package/dist/impl-WAR6J2SL.cjs +2 -0
  105. package/dist/impl-WAR6J2SL.cjs.map +1 -0
  106. package/dist/{impl-OXOU2A27.cjs → impl-WS774CEP.cjs} +2 -2
  107. package/dist/{impl-OXOU2A27.cjs.map → impl-WS774CEP.cjs.map} +1 -1
  108. package/dist/{impl-CP2GLGVZ.cjs → impl-XAXZ5R2V.cjs} +2 -2
  109. package/dist/{impl-CP2GLGVZ.cjs.map → impl-XAXZ5R2V.cjs.map} +1 -1
  110. package/dist/{impl-CLA7WK6U.cjs → impl-XFY3O27V.cjs} +2 -2
  111. package/dist/{impl-CLA7WK6U.cjs.map → impl-XFY3O27V.cjs.map} +1 -1
  112. package/dist/{impl-HEPMD6RG.cjs → impl-ZCXWTUMJ.cjs} +2 -2
  113. package/dist/{impl-HEPMD6RG.cjs.map → impl-ZCXWTUMJ.cjs.map} +1 -1
  114. package/dist/index.cjs +3 -3
  115. package/dist/index.cjs.map +1 -1
  116. package/dist/index.d.cts +47 -48
  117. package/package.json +1 -1
  118. package/dist/chunk-5PTFTN6J.cjs.map +0 -1
  119. package/dist/chunk-GG7P2RO6.cjs +0 -3
  120. package/dist/chunk-GG7P2RO6.cjs.map +0 -1
  121. package/dist/chunk-LR3CPNDM.cjs +0 -6
  122. package/dist/chunk-LR3CPNDM.cjs.map +0 -1
  123. package/dist/impl-32ZRDOCN.cjs +0 -9
  124. package/dist/impl-32ZRDOCN.cjs.map +0 -1
  125. package/dist/impl-4YI4ERPI.cjs +0 -2
  126. package/dist/impl-4YI4ERPI.cjs.map +0 -1
  127. package/dist/impl-5H724WN5.cjs +0 -2
  128. package/dist/impl-5H724WN5.cjs.map +0 -1
  129. package/dist/impl-7G2TDJGL.cjs +0 -2
  130. package/dist/impl-7G2TDJGL.cjs.map +0 -1
  131. package/dist/impl-CRQ4DYII.cjs +0 -2
  132. package/dist/impl-CRQ4DYII.cjs.map +0 -1
  133. package/dist/impl-LI3SHHAQ.cjs +0 -2
  134. package/dist/impl-LI3SHHAQ.cjs.map +0 -1
  135. package/dist/impl-PZ3JDEQN.cjs +0 -2
  136. package/dist/impl-QZHQCQ3B.cjs +0 -2
  137. package/dist/impl-QZHQCQ3B.cjs.map +0 -1
  138. package/dist/impl-TCN6BRVK.cjs +0 -2
  139. package/dist/impl-TCN6BRVK.cjs.map +0 -1
  140. package/dist/impl-VGJPIZZY.cjs +0 -2
  141. package/dist/impl-VGJPIZZY.cjs.map +0 -1
  142. package/dist/impl-X6Z7MKVJ.cjs +0 -2
  143. package/dist/impl-X6Z7MKVJ.cjs.map +0 -1
  144. package/dist/impl-ZGACCLWF.cjs +0 -2
  145. package/dist/impl-ZGACCLWF.cjs.map +0 -1
  146. package/dist/impl-ZV4VREIU.cjs +0 -2
  147. package/dist/impl-ZV4VREIU.cjs.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-3VTN6SPE.cjs","../src/commands/inventory/push/impl.ts"],"names":["syncConfiguration","transcendUrl","auth","pageSize","publishToPrivacyCenter","contents","deleteExtraAttributeValues","classifyService","client","buildTranscendGraphQLClient","syncConfigurationToTranscend","err","logger","colors"],"mappings":"AAAA,quBAAwC,wDAAyC,wDAAgD,gCAA6B,wDAAyC,wDAA0D,gCAA6B,wDAAyC,wDAAyC,gCAA6B,oCCGnX,wBACY,4BACjB,gFAEF,MAmBnB,SAAeA,CAAAA,CAAkB,CAC/B,YAAA,CAAAC,CAAAA,CACA,IAAA,CAAAC,CAAAA,CACA,QAAA,CAAAC,CAAAA,CACA,sBAAA,CAAAC,CAAAA,CACA,QAAA,CAAAC,CAAAA,CACA,0BAAA,CAAAC,CAAAA,CAA6B,CAAA,CAAA,CAC7B,eAAA,CAAAC,CAAAA,CAAkB,CAAA,CACpB,CAAA,CAeqB,CACnB,IAAMC,CAAAA,CAASC,kCAAAA,CAA4BR,CAAcC,CAAI,CAAA,CAG7D,GAAI,CAWF,MAAO,CAVkB,MAAMQ,kCAAAA,CAC7BL,CACAG,CAAAA,CACA,CACE,QAAA,CAAAL,CAAAA,CACA,sBAAA,CAAAC,CAAAA,CACA,eAAA,CAAAG,CAAAA,CACA,0BAAA,CAAAD,CACF,CACF,CAEF,CAAA,KAAA,CAASK,CAAAA,CAAK,CACZ,OAAAC,mBAAAA,CAAO,KAAA,CACLC,gBAAAA,CAAO,GAAA,CACL,CAAA,iDAAA,EAAoDF,CAAAA,CAAI,OAAO,CAAA,CAAA;AAsI7D;AAAgB;AAAA;AA8D1B,GAAA","file":"/home/runner/work/cli/cli/dist/impl-3VTN6SPE.cjs","sourcesContent":[null,"import type { LocalContext } from '../../../context';\n\nimport { logger } from '../../../logger';\nimport { mapSeries } from 'bluebird';\nimport { existsSync, lstatSync } from 'node:fs';\nimport { join } from 'node:path';\nimport { readTranscendYaml } from '../../../lib/readTranscendYaml';\nimport colors from 'colors';\nimport {\n buildTranscendGraphQLClient,\n syncConfigurationToTranscend,\n} from '../../../lib/graphql';\n\nimport { ADMIN_DASH_INTEGRATIONS } from '../../../constants';\nimport { TranscendInput } from '../../../codecs';\nimport { validateTranscendAuth, listFiles } from '../../../lib/api-keys';\nimport { mergeTranscendInputs } from '../../../lib/mergeTranscendInputs';\nimport { parseVariablesFromString } from '../../../lib/helpers/parseVariablesFromString';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation';\n\n/**\n * Sync configuration to Transcend\n *\n * @param options - Options\n * @returns True if synced successfully, false if error occurs\n */\nasync function syncConfiguration({\n transcendUrl,\n auth,\n pageSize,\n publishToPrivacyCenter,\n contents,\n deleteExtraAttributeValues = false,\n classifyService = false,\n}: {\n /** Transcend YAML */\n contents: TranscendInput;\n /** Transcend URL */\n transcendUrl: string;\n /** API key */\n auth: string;\n /** Page size */\n pageSize: number;\n /** Skip privacy center publish step */\n publishToPrivacyCenter: boolean;\n /** classify data flow service if missing */\n classifyService?: boolean;\n /** Delete attributes when syncing */\n deleteExtraAttributeValues?: boolean;\n}): Promise<boolean> {\n const client = buildTranscendGraphQLClient(transcendUrl, auth);\n\n // Sync to Transcend\n try {\n const encounteredError = await syncConfigurationToTranscend(\n contents,\n client,\n {\n pageSize,\n publishToPrivacyCenter,\n classifyService,\n deleteExtraAttributeValues,\n },\n );\n return !encounteredError;\n } catch (err) {\n logger.error(\n colors.red(\n `An unexpected error occurred syncing the schema: ${err.message}`,\n ),\n );\n return false;\n }\n}\n\nexport interface PushCommandFlags {\n auth: string;\n file: string;\n transcendUrl: string;\n pageSize: number;\n variables: string;\n publishToPrivacyCenter: boolean;\n classifyService: boolean;\n deleteExtraAttributeValues: boolean;\n}\n\nexport async function push(\n this: LocalContext,\n {\n file = './transcend.yml',\n transcendUrl,\n auth,\n variables,\n pageSize,\n publishToPrivacyCenter,\n classifyService,\n deleteExtraAttributeValues,\n }: PushCommandFlags,\n): Promise<void> {\n doneInputValidation(this.process.exit);\n\n // Parse authentication as API key or path to list of API keys\n const apiKeyOrList = await validateTranscendAuth(auth);\n\n // Parse out the variables\n const vars = parseVariablesFromString(variables);\n\n // check if we are being passed a list of API keys and a list of files\n let fileList: string[];\n if (Array.isArray(apiKeyOrList) && lstatSync(file).isDirectory()) {\n fileList = listFiles(file).map((filePath) => join(file, filePath));\n } else {\n fileList = file.split(',');\n }\n\n // Ensure at least one file is parsed\n if (fileList.length < 1) {\n throw new Error('No file specified!');\n }\n\n // eslint-disable-next-line array-callback-return,consistent-return\n const transcendInputs = fileList.map((filePath) => {\n // Ensure yaml file exists on disk\n if (!existsSync(filePath)) {\n logger.error(\n colors.red(\n `The file path does not exist on disk: ${filePath}. You can specify the filepath using --file=./examples/transcend.yml`,\n ),\n );\n this.process.exit(1);\n } else {\n logger.info(colors.magenta(`Reading file \"${filePath}\"...`));\n }\n\n try {\n // Read in the yaml file and validate it's shape\n const newContents = readTranscendYaml(filePath, vars);\n logger.info(colors.green(`Successfully read in \"${filePath}\"`));\n return {\n content: newContents,\n name: filePath.split('/').pop()!.replace('.yml', ''),\n };\n } catch (err) {\n logger.error(\n colors.red(\n `The shape of your yaml file is invalid with the following errors: ${err.message}`,\n ),\n );\n this.process.exit(1);\n }\n });\n\n // process a single API key\n if (typeof apiKeyOrList === 'string') {\n // if passed multiple inputs, merge them together\n const [base, ...rest] = transcendInputs.map(({ content }) => content);\n const contents = mergeTranscendInputs(base, ...rest);\n\n // sync the configuration\n const success = await syncConfiguration({\n transcendUrl,\n auth: apiKeyOrList,\n contents,\n publishToPrivacyCenter,\n deleteExtraAttributeValues,\n pageSize,\n classifyService: !!classifyService,\n });\n\n // exist with error code\n if (!success) {\n logger.info(\n colors.red(\n `Sync encountered errors. View output above for more information, or check out ${ADMIN_DASH_INTEGRATIONS}`,\n ),\n );\n\n this.process.exit(1);\n }\n } else {\n // if passed multiple inputs, expect them to be one per instance\n if (\n transcendInputs.length !== 1 &&\n transcendInputs.length !== apiKeyOrList.length\n ) {\n throw new Error(\n 'Expected list of yml files to be equal to the list of API keys.' +\n `Got ${transcendInputs.length} YML file${\n transcendInputs.length === 1 ? '' : 's'\n } and ${apiKeyOrList.length} API key${\n apiKeyOrList.length === 1 ? '' : 's'\n }`,\n );\n }\n\n const encounteredErrors: string[] = [];\n await mapSeries(apiKeyOrList, async (apiKey, ind) => {\n const prefix = `[${ind + 1}/${apiKeyOrList.length}][${\n apiKey.organizationName\n }] `;\n logger.info(\n colors.magenta(\n `~~~\\n\\n${prefix}Attempting to push configuration...\\n\\n~~~`,\n ),\n );\n\n // use the merged contents if 1 yml passed, else use the contents that map to that organization\n const useContents =\n transcendInputs.length === 1\n ? transcendInputs[0].content\n : transcendInputs.find(\n (input) => input.name === apiKey.organizationName,\n )?.content;\n\n // Throw error if cannot find a yml file matching that organization name\n if (!useContents) {\n logger.error(\n colors.red(\n `${prefix}Failed to find transcend.yml file for organization: \"${apiKey.organizationName}\".`,\n ),\n );\n encounteredErrors.push(apiKey.organizationName);\n return;\n }\n\n const success = await syncConfiguration({\n transcendUrl,\n auth: apiKey.apiKey,\n contents: useContents,\n pageSize,\n publishToPrivacyCenter,\n deleteExtraAttributeValues,\n classifyService,\n });\n\n if (success) {\n logger.info(\n colors.green(`${prefix}Successfully pushed configuration!`),\n );\n } else {\n logger.error(colors.red(`${prefix}Failed to sync configuration.`));\n encounteredErrors.push(apiKey.organizationName);\n }\n });\n\n if (encounteredErrors.length > 0) {\n logger.info(\n colors.red(\n `Sync encountered errors for \"${encounteredErrors.join(\n ',',\n )}\". View output above for more information, or check out ${ADMIN_DASH_INTEGRATIONS}`,\n ),\n );\n\n this.process.exit(1);\n }\n }\n\n // Indicate success\n logger.info(\n colors.green(\n `Successfully synced yaml file to Transcend! View at ${ADMIN_DASH_INTEGRATIONS}`,\n ),\n );\n}\n"]}
1
+ {"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-SL744OKN.cjs","../src/commands/inventory/push/impl.ts"],"names":["syncConfiguration","transcendUrl","auth","pageSize","publishToPrivacyCenter","contents","deleteExtraAttributeValues","classifyService","client","buildTranscendGraphQLClient","syncConfigurationToTranscend","err","logger","colors"],"mappings":"AAAA,quBAAwC,wDAAyC,wDAAgD,gCAA6B,wDAAyC,wDAA0D,gCAA6B,wDAAyC,wDAAyC,gCAA6B,oCCGnX,wBACY,4BACjB,gFAEF,MAmBnB,SAAeA,CAAAA,CAAkB,CAC/B,YAAA,CAAAC,CAAAA,CACA,IAAA,CAAAC,CAAAA,CACA,QAAA,CAAAC,CAAAA,CACA,sBAAA,CAAAC,CAAAA,CACA,QAAA,CAAAC,CAAAA,CACA,0BAAA,CAAAC,CAAAA,CAA6B,CAAA,CAAA,CAC7B,eAAA,CAAAC,CAAAA,CAAkB,CAAA,CACpB,CAAA,CAeqB,CACnB,IAAMC,CAAAA,CAASC,kCAAAA,CAA4BR,CAAcC,CAAI,CAAA,CAG7D,GAAI,CAWF,MAAO,CAVkB,MAAMQ,kCAAAA,CAC7BL,CACAG,CAAAA,CACA,CACE,QAAA,CAAAL,CAAAA,CACA,sBAAA,CAAAC,CAAAA,CACA,eAAA,CAAAG,CAAAA,CACA,0BAAA,CAAAD,CACF,CACF,CAEF,CAAA,KAAA,CAASK,CAAAA,CAAK,CACZ,OAAAC,mBAAAA,CAAO,KAAA,CACLC,gBAAAA,CAAO,GAAA,CACL,CAAA,iDAAA,EAAoDF,CAAAA,CAAI,OAAO,CAAA,CAAA;AAsI7D;AAAgB;AAAA;AA8D1B,GAAA","file":"/home/runner/work/cli/cli/dist/impl-SL744OKN.cjs","sourcesContent":[null,"import type { LocalContext } from '../../../context';\n\nimport { logger } from '../../../logger';\nimport { mapSeries } from 'bluebird';\nimport { existsSync, lstatSync } from 'node:fs';\nimport { join } from 'node:path';\nimport { readTranscendYaml } from '../../../lib/readTranscendYaml';\nimport colors from 'colors';\nimport {\n buildTranscendGraphQLClient,\n syncConfigurationToTranscend,\n} from '../../../lib/graphql';\n\nimport { ADMIN_DASH_INTEGRATIONS } from '../../../constants';\nimport { TranscendInput } from '../../../codecs';\nimport { validateTranscendAuth, listFiles } from '../../../lib/api-keys';\nimport { mergeTranscendInputs } from '../../../lib/mergeTranscendInputs';\nimport { parseVariablesFromString } from '../../../lib/helpers/parseVariablesFromString';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation';\n\n/**\n * Sync configuration to Transcend\n *\n * @param options - Options\n * @returns True if synced successfully, false if error occurs\n */\nasync function syncConfiguration({\n transcendUrl,\n auth,\n pageSize,\n publishToPrivacyCenter,\n contents,\n deleteExtraAttributeValues = false,\n classifyService = false,\n}: {\n /** Transcend YAML */\n contents: TranscendInput;\n /** Transcend URL */\n transcendUrl: string;\n /** API key */\n auth: string;\n /** Page size */\n pageSize: number;\n /** Skip privacy center publish step */\n publishToPrivacyCenter: boolean;\n /** classify data flow service if missing */\n classifyService?: boolean;\n /** Delete attributes when syncing */\n deleteExtraAttributeValues?: boolean;\n}): Promise<boolean> {\n const client = buildTranscendGraphQLClient(transcendUrl, auth);\n\n // Sync to Transcend\n try {\n const encounteredError = await syncConfigurationToTranscend(\n contents,\n client,\n {\n pageSize,\n publishToPrivacyCenter,\n classifyService,\n deleteExtraAttributeValues,\n },\n );\n return !encounteredError;\n } catch (err) {\n logger.error(\n colors.red(\n `An unexpected error occurred syncing the schema: ${err.message}`,\n ),\n );\n return false;\n }\n}\n\nexport interface PushCommandFlags {\n auth: string;\n file: string;\n transcendUrl: string;\n pageSize: number;\n variables: string;\n publishToPrivacyCenter: boolean;\n classifyService: boolean;\n deleteExtraAttributeValues: boolean;\n}\n\nexport async function push(\n this: LocalContext,\n {\n file = './transcend.yml',\n transcendUrl,\n auth,\n variables,\n pageSize,\n publishToPrivacyCenter,\n classifyService,\n deleteExtraAttributeValues,\n }: PushCommandFlags,\n): Promise<void> {\n doneInputValidation(this.process.exit);\n\n // Parse authentication as API key or path to list of API keys\n const apiKeyOrList = await validateTranscendAuth(auth);\n\n // Parse out the variables\n const vars = parseVariablesFromString(variables);\n\n // check if we are being passed a list of API keys and a list of files\n let fileList: string[];\n if (Array.isArray(apiKeyOrList) && lstatSync(file).isDirectory()) {\n fileList = listFiles(file).map((filePath) => join(file, filePath));\n } else {\n fileList = file.split(',');\n }\n\n // Ensure at least one file is parsed\n if (fileList.length < 1) {\n throw new Error('No file specified!');\n }\n\n // eslint-disable-next-line array-callback-return,consistent-return\n const transcendInputs = fileList.map((filePath) => {\n // Ensure yaml file exists on disk\n if (!existsSync(filePath)) {\n logger.error(\n colors.red(\n `The file path does not exist on disk: ${filePath}. You can specify the filepath using --file=./examples/transcend.yml`,\n ),\n );\n this.process.exit(1);\n } else {\n logger.info(colors.magenta(`Reading file \"${filePath}\"...`));\n }\n\n try {\n // Read in the yaml file and validate it's shape\n const newContents = readTranscendYaml(filePath, vars);\n logger.info(colors.green(`Successfully read in \"${filePath}\"`));\n return {\n content: newContents,\n name: filePath.split('/').pop()!.replace('.yml', ''),\n };\n } catch (err) {\n logger.error(\n colors.red(\n `The shape of your yaml file is invalid with the following errors: ${err.message}`,\n ),\n );\n this.process.exit(1);\n }\n });\n\n // process a single API key\n if (typeof apiKeyOrList === 'string') {\n // if passed multiple inputs, merge them together\n const [base, ...rest] = transcendInputs.map(({ content }) => content);\n const contents = mergeTranscendInputs(base, ...rest);\n\n // sync the configuration\n const success = await syncConfiguration({\n transcendUrl,\n auth: apiKeyOrList,\n contents,\n publishToPrivacyCenter,\n deleteExtraAttributeValues,\n pageSize,\n classifyService: !!classifyService,\n });\n\n // exist with error code\n if (!success) {\n logger.info(\n colors.red(\n `Sync encountered errors. View output above for more information, or check out ${ADMIN_DASH_INTEGRATIONS}`,\n ),\n );\n\n this.process.exit(1);\n }\n } else {\n // if passed multiple inputs, expect them to be one per instance\n if (\n transcendInputs.length !== 1 &&\n transcendInputs.length !== apiKeyOrList.length\n ) {\n throw new Error(\n 'Expected list of yml files to be equal to the list of API keys.' +\n `Got ${transcendInputs.length} YML file${\n transcendInputs.length === 1 ? '' : 's'\n } and ${apiKeyOrList.length} API key${\n apiKeyOrList.length === 1 ? '' : 's'\n }`,\n );\n }\n\n const encounteredErrors: string[] = [];\n await mapSeries(apiKeyOrList, async (apiKey, ind) => {\n const prefix = `[${ind + 1}/${apiKeyOrList.length}][${\n apiKey.organizationName\n }] `;\n logger.info(\n colors.magenta(\n `~~~\\n\\n${prefix}Attempting to push configuration...\\n\\n~~~`,\n ),\n );\n\n // use the merged contents if 1 yml passed, else use the contents that map to that organization\n const useContents =\n transcendInputs.length === 1\n ? transcendInputs[0].content\n : transcendInputs.find(\n (input) => input.name === apiKey.organizationName,\n )?.content;\n\n // Throw error if cannot find a yml file matching that organization name\n if (!useContents) {\n logger.error(\n colors.red(\n `${prefix}Failed to find transcend.yml file for organization: \"${apiKey.organizationName}\".`,\n ),\n );\n encounteredErrors.push(apiKey.organizationName);\n return;\n }\n\n const success = await syncConfiguration({\n transcendUrl,\n auth: apiKey.apiKey,\n contents: useContents,\n pageSize,\n publishToPrivacyCenter,\n deleteExtraAttributeValues,\n classifyService,\n });\n\n if (success) {\n logger.info(\n colors.green(`${prefix}Successfully pushed configuration!`),\n );\n } else {\n logger.error(colors.red(`${prefix}Failed to sync configuration.`));\n encounteredErrors.push(apiKey.organizationName);\n }\n });\n\n if (encounteredErrors.length > 0) {\n logger.info(\n colors.red(\n `Sync encountered errors for \"${encounteredErrors.join(\n ',',\n )}\". View output above for more information, or check out ${ADMIN_DASH_INTEGRATIONS}`,\n ),\n );\n\n this.process.exit(1);\n }\n }\n\n // Indicate success\n logger.info(\n colors.green(\n `Successfully synced yaml file to Transcend! View at ${ADMIN_DASH_INTEGRATIONS}`,\n ),\n );\n}\n"]}
@@ -1,6 +1,6 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _chunkRE5YALEOcjs = require('./chunk-RE5YALEO.cjs');var _chunkRGBVP433cjs = require('./chunk-RGBVP433.cjs');var _chunkMOWFESXNcjs = require('./chunk-MOWFESXN.cjs');require('./chunk-5UBGZNDC.cjs');var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');var _chunk5PTFTN6Jcjs = require('./chunk-5PTFTN6J.cjs');require('./chunk-LCDYXJN6.cjs');var _chunkZUNVPK23cjs = require('./chunk-ZUNVPK23.cjs');var _chunkNI434OIIcjs = require('./chunk-NI434OII.cjs');var _chunkQ7I37FJVcjs = require('./chunk-Q7I37FJV.cjs');var _colors = require('colors'); var _colors2 = _interopRequireDefault(_colors);var _bluebird = require('bluebird');var _path = require('path');var _fs = require('fs'); var _fs2 = _interopRequireDefault(_fs);async function Y({auth:b,resources:g=_chunkRGBVP433cjs.i,file:e,transcendUrl:p,dataSiloIds:d=[],integrationNames:T=[],trackerStatuses:h=_chunkRGBVP433cjs.j,pageSize:y,skipDatapoints:S,skipSubDatapoints:$,includeGuessedCategories:A,debug:s}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit);let i=await _chunkMOWFESXNcjs.b.call(void 0, b),C=g.includes("all")?Object.values(_chunkQ7I37FJVcjs.d):g;if(typeof i=="string"){try{let r=_chunk5PTFTN6Jcjs.wc.call(void 0, p,i),t=await _chunk5PTFTN6Jcjs.ge.call(void 0, r,{dataSiloIds:d,integrationNames:T,resources:C,pageSize:y,debug:s,skipDatapoints:S,skipSubDatapoints:$,includeGuessedCategories:A,trackerStatuses:h});_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Writing configuration to file "${e}"...`)),_chunkRE5YALEOcjs.e.call(void 0, e,t)}catch(r){_chunkZUNVPK23cjs.a.error(_colors2.default.red(`An error occurred syncing the schema: ${s?r.stack:r.message}`)),this.process.exit(1)}_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully synced yaml file to disk at ${e}! View at ${_chunkNI434OIIcjs.p}`))}else{if(!_fs2.default.lstatSync(e).isDirectory())throw new Error("File is expected to be a folder when passing in a list of API keys to pull from. e.g. --file=./working/");let r=[];await _bluebird.mapSeries.call(void 0, i,async(t,L)=>{let a=`[${L+1}/${i.length}][${t.organizationName}] `;_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`~~~
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _chunkRE5YALEOcjs = require('./chunk-RE5YALEO.cjs');var _chunkXMRABG76cjs = require('./chunk-XMRABG76.cjs');var _chunk4MXXWDM2cjs = require('./chunk-4MXXWDM2.cjs');require('./chunk-5UBGZNDC.cjs');var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');var _chunkGC3HFDP4cjs = require('./chunk-GC3HFDP4.cjs');require('./chunk-LCDYXJN6.cjs');var _chunkZUNVPK23cjs = require('./chunk-ZUNVPK23.cjs');var _chunk6WIX75ZFcjs = require('./chunk-6WIX75ZF.cjs');var _chunkQ7I37FJVcjs = require('./chunk-Q7I37FJV.cjs');var _colors = require('colors'); var _colors2 = _interopRequireDefault(_colors);var _bluebird = require('bluebird');var _path = require('path');var _fs = require('fs'); var _fs2 = _interopRequireDefault(_fs);async function Y({auth:b,resources:g=_chunkXMRABG76cjs.i,file:e,transcendUrl:p,dataSiloIds:d=[],integrationNames:T=[],trackerStatuses:h=_chunkXMRABG76cjs.j,pageSize:y,skipDatapoints:S,skipSubDatapoints:$,includeGuessedCategories:A,debug:s}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit);let i=await _chunk4MXXWDM2cjs.b.call(void 0, b),C=g.includes("all")?Object.values(_chunkQ7I37FJVcjs.d):g;if(typeof i=="string"){try{let r=_chunkGC3HFDP4cjs.wc.call(void 0, p,i),t=await _chunkGC3HFDP4cjs.ge.call(void 0, r,{dataSiloIds:d,integrationNames:T,resources:C,pageSize:y,debug:s,skipDatapoints:S,skipSubDatapoints:$,includeGuessedCategories:A,trackerStatuses:h});_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Writing configuration to file "${e}"...`)),_chunkRE5YALEOcjs.e.call(void 0, e,t)}catch(r){_chunkZUNVPK23cjs.a.error(_colors2.default.red(`An error occurred syncing the schema: ${s?r.stack:r.message}`)),this.process.exit(1)}_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully synced yaml file to disk at ${e}! View at ${_chunk6WIX75ZFcjs.p}`))}else{if(!_fs2.default.lstatSync(e).isDirectory())throw new Error("File is expected to be a folder when passing in a list of API keys to pull from. e.g. --file=./working/");let r=[];await _bluebird.mapSeries.call(void 0, i,async(t,L)=>{let a=`[${L+1}/${i.length}][${t.organizationName}] `;_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`~~~
2
2
 
3
3
  ${a}Attempting to pull configuration...
4
4
 
5
- ~~~`));let _=_chunk5PTFTN6Jcjs.wc.call(void 0, p,t.apiKey);try{let c=await _chunk5PTFTN6Jcjs.ge.call(void 0, _,{dataSiloIds:d,integrationNames:T,resources:C,pageSize:y,debug:s,skipDatapoints:S,skipSubDatapoints:$,includeGuessedCategories:A,trackerStatuses:h}),w=_path.join.call(void 0, e,`${t.organizationName}.yml`);_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Writing configuration to file "${w}"...`)),_chunkRE5YALEOcjs.e.call(void 0, w,c),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`${a}Successfully pulled configuration!`))}catch(c){_chunkZUNVPK23cjs.a.error(_colors2.default.red(`${a}Failed to sync configuration. - ${c.message}`)),r.push(t.organizationName)}}),r.length>0&&(_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Sync encountered errors for "${r.join(",")}". View output above for more information, or check out ${_chunkNI434OIIcjs.p}`)),this.process.exit(1))}}exports.pull = Y;
6
- //# sourceMappingURL=impl-QSTK5NYY.cjs.map
5
+ ~~~`));let _=_chunkGC3HFDP4cjs.wc.call(void 0, p,t.apiKey);try{let c=await _chunkGC3HFDP4cjs.ge.call(void 0, _,{dataSiloIds:d,integrationNames:T,resources:C,pageSize:y,debug:s,skipDatapoints:S,skipSubDatapoints:$,includeGuessedCategories:A,trackerStatuses:h}),w=_path.join.call(void 0, e,`${t.organizationName}.yml`);_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Writing configuration to file "${w}"...`)),_chunkRE5YALEOcjs.e.call(void 0, w,c),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`${a}Successfully pulled configuration!`))}catch(c){_chunkZUNVPK23cjs.a.error(_colors2.default.red(`${a}Failed to sync configuration. - ${c.message}`)),r.push(t.organizationName)}}),r.length>0&&(_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Sync encountered errors for "${r.join(",")}". View output above for more information, or check out ${_chunk6WIX75ZFcjs.p}`)),this.process.exit(1))}}exports.pull = Y;
6
+ //# sourceMappingURL=impl-SLYDJIQF.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-QSTK5NYY.cjs","../src/commands/inventory/pull/impl.ts"],"names":["pull","auth","resources","DEFAULT_TRANSCEND_PULL_RESOURCES","file","transcendUrl","dataSiloIds","integrationNames","trackerStatuses","DEFAULT_CONSENT_TRACKER_STATUSES","pageSize","skipDatapoints","skipSubDatapoints","includeGuessedCategories","debug","doneInputValidation","apiKeyOrList","validateTranscendAuth","resourcesToPull","TranscendPullResource","client","buildTranscendGraphQLClient","configuration","pullTranscendConfiguration","logger","colors","writeTranscendYaml","err"],"mappings":"AAAA,iOAAwC,wDAAgD,wDAAyC,gCAA6B,wDAAyC,wDAAkD,gCAA6B,wDAAyC,wDAAyC,wDAAyC,gFCS9X,oCACO,4BACL,gEACN,MA0Bf,SAAsBA,CAAAA,CAEpB,CACE,IAAA,CAAAC,CAAAA,CACA,SAAA,CAAAC,CAAAA,CAAYC,mBAAAA,CACZ,IAAA,CAAAC,CAAAA,CACA,YAAA,CAAAC,CAAAA,CACA,WAAA,CAAAC,CAAAA,CAAc,CAAC,CAAA,CACf,gBAAA,CAAAC,CAAAA,CAAmB,CAAC,CAAA,CACpB,eAAA,CAAAC,CAAAA,CAAkBC,mBAAAA,CAClB,QAAA,CAAAC,CAAAA,CACA,cAAA,CAAAC,CAAAA,CACA,iBAAA,CAAAC,CAAAA,CACA,wBAAA,CAAAC,CAAAA,CACA,KAAA,CAAAC,CACF,CAAA,CACe,CACfC,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAGrC,IAAMC,CAAAA,CAAe,MAAMC,iCAAAA,CAA0B,CAAA,CAE/CC,CAAAA,CAA2ChB,CAAAA,CAAU,QAAA,CAAS,KAAK,CAAA,CACrE,MAAA,CAAO,MAAA,CAAOiB,mBAAqB,CAAA,CAClCjB,CAAAA,CAGL,EAAA,CAAI,OAAOc,CAAAA,EAAiB,QAAA,CAAU,CACpC,GAAI,CAEF,IAAMI,CAAAA,CAASC,kCAAAA,CAA4BhB,CAAcW,CAAY,CAAA,CAE/DM,CAAAA,CAAgB,MAAMC,kCAAAA,CAA2BH,CAAQ,CAC7D,WAAA,CAAAd,CAAAA,CACA,gBAAA,CAAAC,CAAAA,CACA,SAAA,CAAWW,CAAAA,CACX,QAAA,CAAAR,CAAAA,CACA,KAAA,CAAAI,CAAAA,CACA,cAAA,CAAAH,CAAAA,CACA,iBAAA,CAAAC,CAAAA,CACA,wBAAA,CAAAC,CAAAA,CACA,eAAA,CAAAL,CACF,CAAC,CAAA,CAEDgB,mBAAAA,CAAO,IAAA,CAAKC,gBAAAA,CAAO,OAAA,CAAQ,CAAA,+BAAA,EAAkCrB,CAAI,CAAA,IAAA,CAAM,CAAC,CAAA,CACxEsB,iCAAAA,CAAmBtB,CAAMkB,CAAa,CACxC,CAAA,KAAA,CAASK,CAAAA,CAAK,CACZH,mBAAAA,CAAO,KAAA,CACLC,gBAAAA,CAAO,GAAA,CACL,CAAA,sCAAA,EACEX,CAAAA,CAAQa,CAAAA,CAAI,KAAA,CAAQA,CAAAA,CAAI,OAC1B,CAAA,CAAA;AA0BA;AAAgB;AAAA;AAiD1B,GAAA","file":"/home/runner/work/cli/cli/dist/impl-QSTK5NYY.cjs","sourcesContent":[null,"import { ConsentTrackerStatus } from '@transcend-io/privacy-types';\nimport type { LocalContext } from '../../../context';\nimport { TranscendPullResource } from '../../../enums';\nimport {\n DEFAULT_CONSENT_TRACKER_STATUSES,\n DEFAULT_TRANSCEND_PULL_RESOURCES,\n} from './command';\n\nimport { logger } from '../../../logger';\nimport colors from 'colors';\nimport { mapSeries } from 'bluebird';\nimport { join } from 'node:path';\nimport fs from 'node:fs';\nimport {\n buildTranscendGraphQLClient,\n pullTranscendConfiguration,\n} from '../../../lib/graphql';\n\nimport { writeTranscendYaml } from '../../../lib/readTranscendYaml';\nimport { ADMIN_DASH_INTEGRATIONS } from '../../../constants';\nimport { validateTranscendAuth } from '../../../lib/api-keys';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation';\n\nexport interface PullCommandFlags {\n auth: string;\n resources?: (TranscendPullResource | 'all')[];\n file: string;\n transcendUrl: string;\n dataSiloIds?: string[];\n integrationNames?: string[];\n trackerStatuses?: ConsentTrackerStatus[];\n pageSize: number;\n skipDatapoints: boolean;\n skipSubDatapoints: boolean;\n includeGuessedCategories: boolean;\n debug: boolean;\n}\n\nexport async function pull(\n this: LocalContext,\n {\n auth,\n resources = DEFAULT_TRANSCEND_PULL_RESOURCES,\n file,\n transcendUrl,\n dataSiloIds = [],\n integrationNames = [],\n trackerStatuses = DEFAULT_CONSENT_TRACKER_STATUSES,\n pageSize,\n skipDatapoints,\n skipSubDatapoints,\n includeGuessedCategories,\n debug,\n }: PullCommandFlags,\n): Promise<void> {\n doneInputValidation(this.process.exit);\n\n // Parse authentication as API key or path to list of API keys\n const apiKeyOrList = await validateTranscendAuth(auth);\n\n const resourcesToPull: TranscendPullResource[] = resources.includes('all')\n ? Object.values(TranscendPullResource)\n : (resources as TranscendPullResource[]);\n\n // Sync to Disk\n if (typeof apiKeyOrList === 'string') {\n try {\n // Create a GraphQL client\n const client = buildTranscendGraphQLClient(transcendUrl, apiKeyOrList);\n\n const configuration = await pullTranscendConfiguration(client, {\n dataSiloIds,\n integrationNames,\n resources: resourcesToPull,\n pageSize,\n debug,\n skipDatapoints,\n skipSubDatapoints,\n includeGuessedCategories,\n trackerStatuses,\n });\n\n logger.info(colors.magenta(`Writing configuration to file \"${file}\"...`));\n writeTranscendYaml(file, configuration);\n } catch (err) {\n logger.error(\n colors.red(\n `An error occurred syncing the schema: ${\n debug ? err.stack : err.message\n }`,\n ),\n );\n this.process.exit(1);\n }\n\n // Indicate success\n logger.info(\n colors.green(\n `Successfully synced yaml file to disk at ${file}! View at ${ADMIN_DASH_INTEGRATIONS}`,\n ),\n );\n } else {\n if (!fs.lstatSync(file).isDirectory()) {\n throw new Error(\n 'File is expected to be a folder when passing in a list of API keys to pull from. e.g. --file=./working/',\n );\n }\n\n const encounteredErrors: string[] = [];\n await mapSeries(apiKeyOrList, async (apiKey, ind) => {\n const prefix = `[${ind + 1}/${apiKeyOrList.length}][${\n apiKey.organizationName\n }] `;\n logger.info(\n colors.magenta(\n `~~~\\n\\n${prefix}Attempting to pull configuration...\\n\\n~~~`,\n ),\n );\n\n // Create a GraphQL client\n const client = buildTranscendGraphQLClient(transcendUrl, apiKey.apiKey);\n\n try {\n const configuration = await pullTranscendConfiguration(client, {\n dataSiloIds,\n integrationNames,\n resources: resourcesToPull,\n pageSize,\n debug,\n skipDatapoints,\n skipSubDatapoints,\n includeGuessedCategories,\n trackerStatuses,\n });\n\n const filePath = join(file, `${apiKey.organizationName}.yml`);\n logger.info(\n colors.magenta(`Writing configuration to file \"${filePath}\"...`),\n );\n writeTranscendYaml(filePath, configuration);\n\n logger.info(\n colors.green(`${prefix}Successfully pulled configuration!`),\n );\n } catch (err) {\n logger.error(\n colors.red(`${prefix}Failed to sync configuration. - ${err.message}`),\n );\n encounteredErrors.push(apiKey.organizationName);\n }\n });\n\n if (encounteredErrors.length > 0) {\n logger.info(\n colors.red(\n `Sync encountered errors for \"${encounteredErrors.join(\n ',',\n )}\". View output above for more information, or check out ${ADMIN_DASH_INTEGRATIONS}`,\n ),\n );\n\n this.process.exit(1);\n }\n }\n}\n"]}
1
+ {"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-SLYDJIQF.cjs","../src/commands/inventory/pull/impl.ts"],"names":["pull","auth","resources","DEFAULT_TRANSCEND_PULL_RESOURCES","file","transcendUrl","dataSiloIds","integrationNames","trackerStatuses","DEFAULT_CONSENT_TRACKER_STATUSES","pageSize","skipDatapoints","skipSubDatapoints","includeGuessedCategories","debug","doneInputValidation","apiKeyOrList","validateTranscendAuth","resourcesToPull","TranscendPullResource","client","buildTranscendGraphQLClient","configuration","pullTranscendConfiguration","logger","colors","writeTranscendYaml","err"],"mappings":"AAAA,iOAAwC,wDAAgD,wDAAyC,gCAA6B,wDAAyC,wDAAkD,gCAA6B,wDAAyC,wDAAyC,wDAAyC,gFCS9X,oCACO,4BACL,gEACN,MA0Bf,SAAsBA,CAAAA,CAEpB,CACE,IAAA,CAAAC,CAAAA,CACA,SAAA,CAAAC,CAAAA,CAAYC,mBAAAA,CACZ,IAAA,CAAAC,CAAAA,CACA,YAAA,CAAAC,CAAAA,CACA,WAAA,CAAAC,CAAAA,CAAc,CAAC,CAAA,CACf,gBAAA,CAAAC,CAAAA,CAAmB,CAAC,CAAA,CACpB,eAAA,CAAAC,CAAAA,CAAkBC,mBAAAA,CAClB,QAAA,CAAAC,CAAAA,CACA,cAAA,CAAAC,CAAAA,CACA,iBAAA,CAAAC,CAAAA,CACA,wBAAA,CAAAC,CAAAA,CACA,KAAA,CAAAC,CACF,CAAA,CACe,CACfC,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAGrC,IAAMC,CAAAA,CAAe,MAAMC,iCAAAA,CAA0B,CAAA,CAE/CC,CAAAA,CAA2ChB,CAAAA,CAAU,QAAA,CAAS,KAAK,CAAA,CACrE,MAAA,CAAO,MAAA,CAAOiB,mBAAqB,CAAA,CAClCjB,CAAAA,CAGL,EAAA,CAAI,OAAOc,CAAAA,EAAiB,QAAA,CAAU,CACpC,GAAI,CAEF,IAAMI,CAAAA,CAASC,kCAAAA,CAA4BhB,CAAcW,CAAY,CAAA,CAE/DM,CAAAA,CAAgB,MAAMC,kCAAAA,CAA2BH,CAAQ,CAC7D,WAAA,CAAAd,CAAAA,CACA,gBAAA,CAAAC,CAAAA,CACA,SAAA,CAAWW,CAAAA,CACX,QAAA,CAAAR,CAAAA,CACA,KAAA,CAAAI,CAAAA,CACA,cAAA,CAAAH,CAAAA,CACA,iBAAA,CAAAC,CAAAA,CACA,wBAAA,CAAAC,CAAAA,CACA,eAAA,CAAAL,CACF,CAAC,CAAA,CAEDgB,mBAAAA,CAAO,IAAA,CAAKC,gBAAAA,CAAO,OAAA,CAAQ,CAAA,+BAAA,EAAkCrB,CAAI,CAAA,IAAA,CAAM,CAAC,CAAA,CACxEsB,iCAAAA,CAAmBtB,CAAMkB,CAAa,CACxC,CAAA,KAAA,CAASK,CAAAA,CAAK,CACZH,mBAAAA,CAAO,KAAA,CACLC,gBAAAA,CAAO,GAAA,CACL,CAAA,sCAAA,EACEX,CAAAA,CAAQa,CAAAA,CAAI,KAAA,CAAQA,CAAAA,CAAI,OAC1B,CAAA,CAAA;AA0BA;AAAgB;AAAA;AAiD1B,GAAA","file":"/home/runner/work/cli/cli/dist/impl-SLYDJIQF.cjs","sourcesContent":[null,"import { ConsentTrackerStatus } from '@transcend-io/privacy-types';\nimport type { LocalContext } from '../../../context';\nimport { TranscendPullResource } from '../../../enums';\nimport {\n DEFAULT_CONSENT_TRACKER_STATUSES,\n DEFAULT_TRANSCEND_PULL_RESOURCES,\n} from './command';\n\nimport { logger } from '../../../logger';\nimport colors from 'colors';\nimport { mapSeries } from 'bluebird';\nimport { join } from 'node:path';\nimport fs from 'node:fs';\nimport {\n buildTranscendGraphQLClient,\n pullTranscendConfiguration,\n} from '../../../lib/graphql';\n\nimport { writeTranscendYaml } from '../../../lib/readTranscendYaml';\nimport { ADMIN_DASH_INTEGRATIONS } from '../../../constants';\nimport { validateTranscendAuth } from '../../../lib/api-keys';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation';\n\nexport interface PullCommandFlags {\n auth: string;\n resources?: (TranscendPullResource | 'all')[];\n file: string;\n transcendUrl: string;\n dataSiloIds?: string[];\n integrationNames?: string[];\n trackerStatuses?: ConsentTrackerStatus[];\n pageSize: number;\n skipDatapoints: boolean;\n skipSubDatapoints: boolean;\n includeGuessedCategories: boolean;\n debug: boolean;\n}\n\nexport async function pull(\n this: LocalContext,\n {\n auth,\n resources = DEFAULT_TRANSCEND_PULL_RESOURCES,\n file,\n transcendUrl,\n dataSiloIds = [],\n integrationNames = [],\n trackerStatuses = DEFAULT_CONSENT_TRACKER_STATUSES,\n pageSize,\n skipDatapoints,\n skipSubDatapoints,\n includeGuessedCategories,\n debug,\n }: PullCommandFlags,\n): Promise<void> {\n doneInputValidation(this.process.exit);\n\n // Parse authentication as API key or path to list of API keys\n const apiKeyOrList = await validateTranscendAuth(auth);\n\n const resourcesToPull: TranscendPullResource[] = resources.includes('all')\n ? Object.values(TranscendPullResource)\n : (resources as TranscendPullResource[]);\n\n // Sync to Disk\n if (typeof apiKeyOrList === 'string') {\n try {\n // Create a GraphQL client\n const client = buildTranscendGraphQLClient(transcendUrl, apiKeyOrList);\n\n const configuration = await pullTranscendConfiguration(client, {\n dataSiloIds,\n integrationNames,\n resources: resourcesToPull,\n pageSize,\n debug,\n skipDatapoints,\n skipSubDatapoints,\n includeGuessedCategories,\n trackerStatuses,\n });\n\n logger.info(colors.magenta(`Writing configuration to file \"${file}\"...`));\n writeTranscendYaml(file, configuration);\n } catch (err) {\n logger.error(\n colors.red(\n `An error occurred syncing the schema: ${\n debug ? err.stack : err.message\n }`,\n ),\n );\n this.process.exit(1);\n }\n\n // Indicate success\n logger.info(\n colors.green(\n `Successfully synced yaml file to disk at ${file}! View at ${ADMIN_DASH_INTEGRATIONS}`,\n ),\n );\n } else {\n if (!fs.lstatSync(file).isDirectory()) {\n throw new Error(\n 'File is expected to be a folder when passing in a list of API keys to pull from. e.g. --file=./working/',\n );\n }\n\n const encounteredErrors: string[] = [];\n await mapSeries(apiKeyOrList, async (apiKey, ind) => {\n const prefix = `[${ind + 1}/${apiKeyOrList.length}][${\n apiKey.organizationName\n }] `;\n logger.info(\n colors.magenta(\n `~~~\\n\\n${prefix}Attempting to pull configuration...\\n\\n~~~`,\n ),\n );\n\n // Create a GraphQL client\n const client = buildTranscendGraphQLClient(transcendUrl, apiKey.apiKey);\n\n try {\n const configuration = await pullTranscendConfiguration(client, {\n dataSiloIds,\n integrationNames,\n resources: resourcesToPull,\n pageSize,\n debug,\n skipDatapoints,\n skipSubDatapoints,\n includeGuessedCategories,\n trackerStatuses,\n });\n\n const filePath = join(file, `${apiKey.organizationName}.yml`);\n logger.info(\n colors.magenta(`Writing configuration to file \"${filePath}\"...`),\n );\n writeTranscendYaml(filePath, configuration);\n\n logger.info(\n colors.green(`${prefix}Successfully pulled configuration!`),\n );\n } catch (err) {\n logger.error(\n colors.red(`${prefix}Failed to sync configuration. - ${err.message}`),\n );\n encounteredErrors.push(apiKey.organizationName);\n }\n });\n\n if (encounteredErrors.length > 0) {\n logger.info(\n colors.red(\n `Sync encountered errors for \"${encounteredErrors.join(\n ',',\n )}\". View output above for more information, or check out ${ADMIN_DASH_INTEGRATIONS}`,\n ),\n );\n\n this.process.exit(1);\n }\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 _chunkOM2P5WDQcjs = require('./chunk-OM2P5WDQ.cjs');var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');var _chunkGC3HFDP4cjs = require('./chunk-GC3HFDP4.cjs');require('./chunk-LCDYXJN6.cjs');var _chunkZUNVPK23cjs = require('./chunk-ZUNVPK23.cjs');var _chunk6WIX75ZFcjs = require('./chunk-6WIX75ZF.cjs');require('./chunk-Q7I37FJV.cjs');var _colors = require('colors'); var _colors2 = _interopRequireDefault(_colors);async function j({auth:p,file:o,transcendUrl:f,dataSiloIds:g,subCategories:C,status:S,includeEncryptedSnippets:a}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit);try{let i=_chunkGC3HFDP4cjs.wc.call(void 0, f,p),b=await _chunkOM2P5WDQcjs.b.call(void 0, i,{dataSiloIds:g,subCategories:C,status:S,includeEncryptedSnippets:a});_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Writing unstructured discovery files to file "${o}"...`));let s=[],h=b.map(t=>{let n={"Entry ID":t.id,"Data Silo ID":t.dataSiloId,"Object Path ID":t.scannedObjectPathId,"Object ID":t.scannedObjectId,...a?{Entry:t.name,"Context Snippet":t.contextSnippet}:{},"Data Category":`${t.dataSubCategory.category}:${t.dataSubCategory.name}`,"Classification Status":t.status,"Confidence Score":t.confidence,"Classification Method":t.classificationMethod,"Classifier Version":t.classifierVersion};return s=_chunk6WIX75ZFcjs.j.call(void 0, [...s,...Object.keys(n)]),n});await _chunkGC3HFDP4cjs.og.call(void 0, o,h,s)}catch(i){_chunkZUNVPK23cjs.a.error(_colors2.default.red(`An error occurred syncing the unstructured discovery files: ${i.message}`)),this.process.exit(1)}_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully synced unstructured discovery files to disk at ${o}!`))}exports.pullUnstructuredDiscoveryFiles = j;
2
+ //# sourceMappingURL=impl-UCJNP22O.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-UCJNP22O.cjs","../src/commands/inventory/pull-unstructured-discovery-files/impl.ts"],"names":["pullUnstructuredDiscoveryFiles","auth","file","transcendUrl","dataSiloIds","subCategories","status","includeEncryptedSnippets","doneInputValidation","client","buildTranscendGraphQLClient","entries","pullUnstructuredSubDataPointRecommendations","logger","colors","headers","inputs","entry","result"],"mappings":"AAAA,iOAAwC,wDAAyC,wDAAkD,gCAA6B,wDAAyC,wDAAyC,gCAA6B,gFCE5P,MAkBnB,SAAsBA,CAAAA,CAEpB,CACE,IAAA,CAAAC,CAAAA,CACA,IAAA,CAAAC,CAAAA,CACA,YAAA,CAAAC,CAAAA,CACA,WAAA,CAAAC,CAAAA,CACA,aAAA,CAAAC,CAAAA,CACA,MAAA,CAAAC,CAAAA,CACA,wBAAA,CAAAC,CACF,CAAA,CACe,CACfC,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAErC,GAAI,CAEF,IAAMC,CAAAA,CAASC,kCAAAA,CAA4BP,CAAcF,CAAI,CAAA,CAEvDU,CAAAA,CAAU,MAAMC,iCAAAA,CAA4CH,CAAQ,CACxE,WAAA,CAAAL,CAAAA,CACA,aAAA,CAAAC,CAAAA,CACA,MAAA,CAAAC,CAAAA,CACA,wBAAA,CAAAC,CACF,CAAC,CAAA,CAEDM,mBAAAA,CAAO,IAAA,CACLC,gBAAAA,CAAO,OAAA,CACL,CAAA,8CAAA,EAAiDZ,CAAI,CAAA,IAAA,CACvD,CACF,CAAA,CACA,IAAIa,CAAAA,CAAoB,CAAC,CAAA,CACnBC,CAAAA,CAASL,CAAAA,CAAQ,GAAA,CAAKM,CAAAA,EAAU,CACpC,IAAMC,CAAAA,CAAS,CACb,UAAA,CAAYD,CAAAA,CAAM,EAAA,CAClB,cAAA,CAAgBA,CAAAA,CAAM,UAAA,CACtB,gBAAA,CAAkBA,CAAAA,CAAM,mBAAA,CACxB,WAAA,CAAaA,CAAAA,CAAM,eAAA,CACnB,GAAIV,CAAAA,CACA,CAAE,KAAA,CAAOU,CAAAA,CAAM,IAAA,CAAM,iBAAA,CAAmBA,CAAAA,CAAM,cAAe,CAAA,CAC7D,CAAC,CAAA,CACL,eAAA,CAAiB,CAAA,EAAA","file":"/home/runner/work/cli/cli/dist/impl-UCJNP22O.cjs","sourcesContent":[null,"import type { LocalContext } from '../../../context';\nimport type { UnstructuredSubDataPointRecommendationStatus } from '@transcend-io/privacy-types';\nimport colors from 'colors';\nimport { uniq } from 'lodash-es';\nimport { pullUnstructuredSubDataPointRecommendations } from '../../../lib/data-inventory';\nimport { buildTranscendGraphQLClient } from '../../../lib/graphql';\nimport { logger } from '../../../logger';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation';\nimport { writeLargeCsv } from '../../../lib/helpers';\n\nexport interface PullUnstructuredDiscoveryFilesCommandFlags {\n auth: string;\n file: string;\n transcendUrl: string;\n dataSiloIds?: string[];\n subCategories?: string[];\n status?: UnstructuredSubDataPointRecommendationStatus[];\n includeEncryptedSnippets: boolean;\n}\n\nexport async function pullUnstructuredDiscoveryFiles(\n this: LocalContext,\n {\n auth,\n file,\n transcendUrl,\n dataSiloIds,\n subCategories,\n status,\n includeEncryptedSnippets,\n }: PullUnstructuredDiscoveryFilesCommandFlags,\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 entries = await pullUnstructuredSubDataPointRecommendations(client, {\n dataSiloIds,\n subCategories, // TODO: https://transcend.height.app/T-40482 - do by name not ID\n status,\n includeEncryptedSnippets,\n });\n\n logger.info(\n colors.magenta(\n `Writing unstructured discovery files to file \"${file}\"...`,\n ),\n );\n let headers: string[] = [];\n const inputs = entries.map((entry) => {\n const result = {\n 'Entry ID': entry.id,\n 'Data Silo ID': entry.dataSiloId,\n 'Object Path ID': entry.scannedObjectPathId,\n 'Object ID': entry.scannedObjectId,\n ...(includeEncryptedSnippets\n ? { Entry: entry.name, 'Context Snippet': entry.contextSnippet }\n : {}),\n 'Data Category': `${entry.dataSubCategory.category}:${entry.dataSubCategory.name}`,\n 'Classification Status': entry.status,\n 'Confidence Score': entry.confidence,\n 'Classification Method': entry.classificationMethod,\n 'Classifier Version': entry.classifierVersion,\n };\n headers = uniq([...headers, ...Object.keys(result)]);\n return result;\n });\n await writeLargeCsv(file, inputs, headers);\n } catch (err) {\n logger.error(\n colors.red(\n `An error occurred syncing the unstructured discovery files: ${err.message}`,\n ),\n );\n this.process.exit(1);\n }\n\n // Indicate success\n logger.info(\n colors.green(\n `Successfully synced unstructured discovery files to disk at ${file}!`,\n ),\n );\n}\n"]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');var _chunk5PTFTN6Jcjs = require('./chunk-5PTFTN6J.cjs');require('./chunk-LCDYXJN6.cjs');require('./chunk-ZUNVPK23.cjs');require('./chunk-NI434OII.cjs');require('./chunk-Q7I37FJV.cjs');var _privacytypes = require('@transcend-io/privacy-types');async function g({auth:r,transcendUrl:a,folderPath:n,requestIds:s,statuses:i=[_privacytypes.RequestStatus.Approving,_privacytypes.RequestStatus.Downloadable],concurrency:l,createdAtBefore:d,createdAtAfter:m,approveAfterDownload:c}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit),await _chunk5PTFTN6Jcjs.zf.call(void 0, {transcendUrl:a,auth:r,folderPath:n,requestIds:s,statuses:i,concurrency:l,createdAtBefore:d,createdAtAfter:m,approveAfterDownload:c})}exports.downloadFiles = g;
2
- //# sourceMappingURL=impl-OIXVXSLU.cjs.map
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');var _chunkGC3HFDP4cjs = require('./chunk-GC3HFDP4.cjs');require('./chunk-LCDYXJN6.cjs');require('./chunk-ZUNVPK23.cjs');require('./chunk-6WIX75ZF.cjs');require('./chunk-Q7I37FJV.cjs');var _privacytypes = require('@transcend-io/privacy-types');async function g({auth:r,transcendUrl:a,folderPath:n,requestIds:s,statuses:i=[_privacytypes.RequestStatus.Approving,_privacytypes.RequestStatus.Downloadable],concurrency:l,createdAtBefore:d,createdAtAfter:m,approveAfterDownload:c}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit),await _chunkGC3HFDP4cjs.zf.call(void 0, {transcendUrl:a,auth:r,folderPath:n,requestIds:s,statuses:i,concurrency:l,createdAtBefore:d,createdAtAfter:m,approveAfterDownload:c})}exports.downloadFiles = g;
2
+ //# sourceMappingURL=impl-URWHAZIO.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-OIXVXSLU.cjs","../src/commands/request/download-files/impl.ts"],"names":["downloadFiles","auth","transcendUrl","folderPath","requestIds","statuses","RequestStatus","concurrency","createdAtBefore","createdAtAfter","approveAfterDownload","doneInputValidation","downloadPrivacyRequestFiles"],"mappings":"AAAA,iIAAwC,wDAA0C,gCAA6B,gCAA6B,gCAA6B,gCAA6B,2DCExK,MAgB9B,SAAsBA,CAAAA,CAEpB,CACE,IAAA,CAAAC,CAAAA,CACA,YAAA,CAAAC,CAAAA,CACA,UAAA,CAAAC,CAAAA,CACA,UAAA,CAAAC,CAAAA,CACA,QAAA,CAAAC,CAAAA,CAAW,CAACC,2BAAAA,CAAc,SAAA,CAAWA,2BAAAA,CAAc,YAAY,CAAA,CAC/D,WAAA,CAAAC,CAAAA,CACA,eAAA,CAAAC,CAAAA,CACA,cAAA,CAAAC,CAAAA,CACA,oBAAA,CAAAC,CACF,CAAA,CACe,CACfC,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAErC,MAAMC,kCAAAA,CACJ,YAAA,CAAAV,CAAAA,CACA,IAAA,CAAAD,CAAAA,CACA,UAAA,CAAAE,CAAAA,CACA,UAAA,CAAAC,CAAAA,CACA,QAAA,CAAAC,CAAAA,CACA,WAAA,CAAAE,CAAAA,CACA,eAAA,CAAAC,CAAAA,CACA,cAAA,CAAAC,CAAAA,CACA,oBAAA,CAAAC,CACF,CAAC,CACH,CAAA,0BAAA","file":"/home/runner/work/cli/cli/dist/impl-OIXVXSLU.cjs","sourcesContent":[null,"import type { LocalContext } from '../../../context';\nimport { downloadPrivacyRequestFiles } from '../../../lib/requests';\nimport { RequestStatus } from '@transcend-io/privacy-types';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation';\n\nexport interface DownloadFilesCommandFlags {\n auth: string;\n sombraAuth?: string;\n concurrency: number;\n requestIds?: string[];\n statuses?: RequestStatus[];\n folderPath: string;\n createdAtBefore?: Date;\n createdAtAfter?: Date;\n approveAfterDownload: boolean;\n transcendUrl: string;\n}\n\nexport async function downloadFiles(\n this: LocalContext,\n {\n auth,\n transcendUrl,\n folderPath,\n requestIds,\n statuses = [RequestStatus.Approving, RequestStatus.Downloadable],\n concurrency,\n createdAtBefore,\n createdAtAfter,\n approveAfterDownload,\n }: DownloadFilesCommandFlags,\n): Promise<void> {\n doneInputValidation(this.process.exit);\n\n await downloadPrivacyRequestFiles({\n transcendUrl,\n auth,\n folderPath,\n requestIds,\n statuses,\n concurrency,\n createdAtBefore,\n createdAtAfter,\n approveAfterDownload,\n });\n}\n"]}
1
+ {"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-URWHAZIO.cjs","../src/commands/request/download-files/impl.ts"],"names":["downloadFiles","auth","transcendUrl","folderPath","requestIds","statuses","RequestStatus","concurrency","createdAtBefore","createdAtAfter","approveAfterDownload","doneInputValidation","downloadPrivacyRequestFiles"],"mappings":"AAAA,iIAAwC,wDAA0C,gCAA6B,gCAA6B,gCAA6B,gCAA6B,2DCExK,MAgB9B,SAAsBA,CAAAA,CAEpB,CACE,IAAA,CAAAC,CAAAA,CACA,YAAA,CAAAC,CAAAA,CACA,UAAA,CAAAC,CAAAA,CACA,UAAA,CAAAC,CAAAA,CACA,QAAA,CAAAC,CAAAA,CAAW,CAACC,2BAAAA,CAAc,SAAA,CAAWA,2BAAAA,CAAc,YAAY,CAAA,CAC/D,WAAA,CAAAC,CAAAA,CACA,eAAA,CAAAC,CAAAA,CACA,cAAA,CAAAC,CAAAA,CACA,oBAAA,CAAAC,CACF,CAAA,CACe,CACfC,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAErC,MAAMC,kCAAAA,CACJ,YAAA,CAAAV,CAAAA,CACA,IAAA,CAAAD,CAAAA,CACA,UAAA,CAAAE,CAAAA,CACA,UAAA,CAAAC,CAAAA,CACA,QAAA,CAAAC,CAAAA,CACA,WAAA,CAAAE,CAAAA,CACA,eAAA,CAAAC,CAAAA,CACA,cAAA,CAAAC,CAAAA,CACA,oBAAA,CAAAC,CACF,CAAC,CACH,CAAA,0BAAA","file":"/home/runner/work/cli/cli/dist/impl-URWHAZIO.cjs","sourcesContent":[null,"import type { LocalContext } from '../../../context';\nimport { downloadPrivacyRequestFiles } from '../../../lib/requests';\nimport { RequestStatus } from '@transcend-io/privacy-types';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation';\n\nexport interface DownloadFilesCommandFlags {\n auth: string;\n sombraAuth?: string;\n concurrency: number;\n requestIds?: string[];\n statuses?: RequestStatus[];\n folderPath: string;\n createdAtBefore?: Date;\n createdAtAfter?: Date;\n approveAfterDownload: boolean;\n transcendUrl: string;\n}\n\nexport async function downloadFiles(\n this: LocalContext,\n {\n auth,\n transcendUrl,\n folderPath,\n requestIds,\n statuses = [RequestStatus.Approving, RequestStatus.Downloadable],\n concurrency,\n createdAtBefore,\n createdAtAfter,\n approveAfterDownload,\n }: DownloadFilesCommandFlags,\n): Promise<void> {\n doneInputValidation(this.process.exit);\n\n await downloadPrivacyRequestFiles({\n transcendUrl,\n auth,\n folderPath,\n requestIds,\n statuses,\n concurrency,\n createdAtBefore,\n createdAtAfter,\n approveAfterDownload,\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 _chunkLCL7BED2cjs = require('./chunk-LCL7BED2.cjs');var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');var _chunkGC3HFDP4cjs = require('./chunk-GC3HFDP4.cjs');require('./chunk-LCDYXJN6.cjs');var _chunkZUNVPK23cjs = require('./chunk-ZUNVPK23.cjs');require('./chunk-6WIX75ZF.cjs');require('./chunk-Q7I37FJV.cjs');var _colors = require('colors'); var _colors2 = _interopRequireDefault(_colors);async function A({auth:C,partition:t,sombraAuth:S,file:r,transcendUrl:P,timestampBefore:a,timestampAfter:c,updatedBefore:n,updatedAfter:o,identifiers:h=[],concurrency:I}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit);let y=await _chunkGC3HFDP4cjs.xc.call(void 0, P,C,S),m=h.map(i=>{if(!i.includes(":"))return{name:"email",value:i};let[v,w]=i.split(":");return{name:v,value:w}}),x={...a?{timestampBefore:a.toISOString()}:{},...c?{timestampAfter:c.toISOString()}:{},...o||n?{system:{...n?{updatedBefore:n.toISOString()}:{},...o?{updatedAfter:o.toISOString()}:{}}}:{},...m.length>0?{identifiers:m}:{}};_chunkZUNVPK23cjs.a.info(`Fetching consent preferences from partition ${t}...`);let f=await _chunkLCL7BED2cjs.c.call(void 0, y,{partition:t,filterBy:x,limit:I});_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Fetched ${f.length} consent preference records from partition ${t}. `)),_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Writing preferences to CSV file at: ${r}`)),await _chunkGC3HFDP4cjs.og.call(void 0, r,f.map(_chunkLCL7BED2cjs.b)),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully wrote preferences to ${r}`))}exports.pullConsentPreferences = A;
2
+ //# sourceMappingURL=impl-UVBO46MQ.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-UVBO46MQ.cjs","../src/commands/consent/pull-consent-preferences/impl.ts"],"names":["pullConsentPreferences","auth","partition","sombraAuth","file","transcendUrl","timestampBefore","timestampAfter","updatedBefore","updatedAfter","identifiers","concurrency","doneInputValidation","sombra","createSombraGotInstance","parsedIdentifiers","identifier","name","value","filterBy","logger","preferences","fetchConsentPreferences","colors"],"mappings":"AAAA,iOAA+C,wDAAyC,wDAAkD,gCAA6B,wDAAyC,gCAA6B,gCAA6B,gFCCvP,MA0BnB,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,aAAA,CAAAC,CAAAA,CACA,YAAA,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,CAAwBT,CAAcJ,CAAAA,CAAME,CAAU,CAAA,CAGrEY,CAAAA,CAAoBL,CAAAA,CAAY,GAAA,CACnCM,CAAAA,EAAqC,CACpC,EAAA,CAAI,CAACA,CAAAA,CAAW,QAAA,CAAS,GAAG,CAAA,CAC1B,MAAO,CACL,IAAA,CAAM,OAAA,CACN,KAAA,CAAOA,CACT,CAAA,CAEF,GAAM,CAACC,CAAAA,CAAMC,CAAK,CAAA,CAAIF,CAAAA,CAAW,KAAA,CAAM,GAAG,CAAA,CAC1C,MAAO,CAAE,IAAA,CAAAC,CAAAA,CAAM,KAAA,CAAAC,CAAM,CACvB,CACF,CAAA,CAGMC,CAAAA,CAAW,CACf,GAAIb,CAAAA,CACA,CAAE,eAAA,CAAiBA,CAAAA,CAAgB,WAAA,CAAY,CAAE,CAAA,CACjD,CAAC,CAAA,CACL,GAAIC,CAAAA,CAAiB,CAAE,cAAA,CAAgBA,CAAAA,CAAe,WAAA,CAAY,CAAE,CAAA,CAAI,CAAC,CAAA,CACzE,GAAIE,CAAAA,EAAgBD,CAAAA,CAChB,CACE,MAAA,CAAQ,CACN,GAAIA,CAAAA,CACA,CAAE,aAAA,CAAeA,CAAAA,CAAc,WAAA,CAAY,CAAE,CAAA,CAC7C,CAAC,CAAA,CACL,GAAIC,CAAAA,CACA,CAAE,YAAA,CAAcA,CAAAA,CAAa,WAAA,CAAY,CAAE,CAAA,CAC3C,CAAC,CACP,CACF,CAAA,CACA,CAAC,CAAA,CACL,GAAIM,CAAAA,CAAkB,MAAA,CAAS,CAAA,CAAI,CAAE,WAAA,CAAaA,CAAkB,CAAA,CAAI,CAAC,CAC3E,CAAA,CAEAK,mBAAAA,CAAO,IAAA,CAAK,CAAA,4CAAA,EAA+ClB,CAAS,CAAA,GAAA,CAAK,CAAA,CAEzE,IAAMmB,CAAAA,CAAc,MAAMC,iCAAAA,CAAwBT,CAAQ,CACxD,SAAA,CAAAX,CAAAA,CACA,QAAA,CAAAiB,CAAAA,CACA,KAAA,CAAOR,CACT,CAAC,CAAA,CAEDS,mBAAAA,CAAO,IAAA,CACLG,gBAAAA,CAAO,KAAA,CACL,CAAA,QAAA,EAAWF,CAAAA,CAAY,MAAM,CAAA,2CAAA,EAA8CnB,CAAS,CAAA,EAAA,CACtF,CACF,CAAA,CAEAkB,mBAAAA,CAAO,IAAA,CAAKG,gBAAAA,CAAO,OAAA,CAAQ,CAAA,oCAAA,EAAuCnB,CAAI,CAAA,CAAA","file":"/home/runner/work/cli/cli/dist/impl-UVBO46MQ.cjs","sourcesContent":[null,"import type { LocalContext } from '../../../context';\nimport colors from 'colors';\n\nimport {\n fetchConsentPreferences,\n transformPreferenceRecordToCsv,\n type PreferenceIdentifier,\n} from '../../../lib/preference-management';\nimport { createSombraGotInstance } from '../../../lib/graphql';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation';\nimport { logger } from '../../../logger';\nimport { writeLargeCsv } from '../../../lib/helpers';\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 updatedBefore?: Date;\n updatedAfter?: 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 updatedBefore,\n updatedAfter,\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 // Identifiers are key:value, parse to PreferenceIdentifier[]\n const parsedIdentifiers = identifiers.map(\n (identifier): PreferenceIdentifier => {\n if (!identifier.includes(':')) {\n return {\n name: 'email',\n value: identifier,\n };\n }\n const [name, value] = identifier.split(':');\n return { name, value };\n },\n );\n\n // Fetch preferences\n const filterBy = {\n ...(timestampBefore\n ? { timestampBefore: timestampBefore.toISOString() }\n : {}),\n ...(timestampAfter ? { timestampAfter: timestampAfter.toISOString() } : {}),\n ...(updatedAfter || updatedBefore\n ? {\n system: {\n ...(updatedBefore\n ? { updatedBefore: updatedBefore.toISOString() }\n : {}),\n ...(updatedAfter\n ? { updatedAfter: updatedAfter.toISOString() }\n : {}),\n },\n }\n : {}),\n ...(parsedIdentifiers.length > 0 ? { identifiers: parsedIdentifiers } : {}),\n };\n\n logger.info(`Fetching consent preferences from partition ${partition}...`);\n\n const preferences = await fetchConsentPreferences(sombra, {\n partition,\n filterBy,\n limit: concurrency,\n });\n\n logger.info(\n colors.green(\n `Fetched ${preferences.length} consent preference records from partition ${partition}. `,\n ),\n );\n\n logger.info(colors.magenta(`Writing preferences to CSV file at: ${file}`));\n\n // Write to disk\n await writeLargeCsv(file, preferences.map(transformPreferenceRecordToCsv));\n\n logger.info(colors.green(`Successfully wrote preferences to ${file}`));\n}\n"]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');var _chunk5PTFTN6Jcjs = require('./chunk-5PTFTN6J.cjs');require('./chunk-LCDYXJN6.cjs');require('./chunk-ZUNVPK23.cjs');require('./chunk-NI434OII.cjs');require('./chunk-Q7I37FJV.cjs');async function d({auth:r,transcendUrl:n,actions:o,statuses:s,requestIds:a,createdAtBefore:i,createdAtAfter:c,concurrency:m}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit),await _chunk5PTFTN6Jcjs.nf.call(void 0, {transcendUrl:n,requestActions:o,auth:r,requestIds:a,statuses:s,concurrency:m,createdAtBefore:i,createdAtAfter:c})}exports.markSilent = d;
2
- //# sourceMappingURL=impl-FJ4XWHLE.cjs.map
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');var _chunkGC3HFDP4cjs = require('./chunk-GC3HFDP4.cjs');require('./chunk-LCDYXJN6.cjs');require('./chunk-ZUNVPK23.cjs');require('./chunk-6WIX75ZF.cjs');require('./chunk-Q7I37FJV.cjs');async function d({auth:r,transcendUrl:n,actions:o,statuses:s,requestIds:a,createdAtBefore:i,createdAtAfter:c,concurrency:m}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit),await _chunkGC3HFDP4cjs.nf.call(void 0, {transcendUrl:n,requestActions:o,auth:r,requestIds:a,statuses:s,concurrency:m,createdAtBefore:i,createdAtAfter:c})}exports.markSilent = d;
2
+ //# sourceMappingURL=impl-VEU4X4HE.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-FJ4XWHLE.cjs","../src/commands/request/mark-silent/impl.ts"],"names":["markSilent","auth","transcendUrl","actions","statuses","requestIds","createdAtBefore","createdAtAfter","concurrency","doneInputValidation","markSilentPrivacyRequests"],"mappings":"AAAA,iIAAwC,wDAA0C,gCAA6B,gCAA6B,gCAA6B,gCAA6B,MCgBtM,SAAsBA,CAAAA,CAEpB,CACE,IAAA,CAAAC,CAAAA,CACA,YAAA,CAAAC,CAAAA,CACA,OAAA,CAAAC,CAAAA,CACA,QAAA,CAAAC,CAAAA,CACA,UAAA,CAAAC,CAAAA,CACA,eAAA,CAAAC,CAAAA,CACA,cAAA,CAAAC,CAAAA,CACA,WAAA,CAAAC,CACF,CAAA,CACe,CACfC,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAErC,MAAMC,kCAAAA,CACJ,YAAA,CAAAR,CAAAA,CACA,cAAA,CAAgBC,CAAAA,CAChB,IAAA,CAAAF,CAAAA,CACA,UAAA,CAAAI,CAAAA,CACA,QAAA,CAAAD,CAAAA,CACA,WAAA,CAAAI,CAAAA,CACA,eAAA,CAAAF,CAAAA,CACA,cAAA,CAAAC,CACF,CAAC,CACH,CAAA,uBAAA","file":"/home/runner/work/cli/cli/dist/impl-FJ4XWHLE.cjs","sourcesContent":[null,"import type { LocalContext } from '../../../context';\nimport { markSilentPrivacyRequests } from '../../../lib/requests';\nimport type { RequestAction, RequestStatus } from '@transcend-io/privacy-types';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation';\n\nexport interface MarkSilentCommandFlags {\n auth: string;\n actions: RequestAction[];\n statuses?: RequestStatus[];\n requestIds?: string[];\n createdAtBefore?: Date;\n createdAtAfter?: Date;\n transcendUrl: string;\n concurrency: number;\n}\n\nexport async function markSilent(\n this: LocalContext,\n {\n auth,\n transcendUrl,\n actions,\n statuses,\n requestIds,\n createdAtBefore,\n createdAtAfter,\n concurrency,\n }: MarkSilentCommandFlags,\n): Promise<void> {\n doneInputValidation(this.process.exit);\n\n await markSilentPrivacyRequests({\n transcendUrl,\n requestActions: actions,\n auth,\n requestIds,\n statuses,\n concurrency,\n createdAtBefore,\n createdAtAfter,\n });\n}\n"]}
1
+ {"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-VEU4X4HE.cjs","../src/commands/request/mark-silent/impl.ts"],"names":["markSilent","auth","transcendUrl","actions","statuses","requestIds","createdAtBefore","createdAtAfter","concurrency","doneInputValidation","markSilentPrivacyRequests"],"mappings":"AAAA,iIAAwC,wDAA0C,gCAA6B,gCAA6B,gCAA6B,gCAA6B,MCgBtM,SAAsBA,CAAAA,CAEpB,CACE,IAAA,CAAAC,CAAAA,CACA,YAAA,CAAAC,CAAAA,CACA,OAAA,CAAAC,CAAAA,CACA,QAAA,CAAAC,CAAAA,CACA,UAAA,CAAAC,CAAAA,CACA,eAAA,CAAAC,CAAAA,CACA,cAAA,CAAAC,CAAAA,CACA,WAAA,CAAAC,CACF,CAAA,CACe,CACfC,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAErC,MAAMC,kCAAAA,CACJ,YAAA,CAAAR,CAAAA,CACA,cAAA,CAAgBC,CAAAA,CAChB,IAAA,CAAAF,CAAAA,CACA,UAAA,CAAAI,CAAAA,CACA,QAAA,CAAAD,CAAAA,CACA,WAAA,CAAAI,CAAAA,CACA,eAAA,CAAAF,CAAAA,CACA,cAAA,CAAAC,CACF,CAAC,CACH,CAAA,uBAAA","file":"/home/runner/work/cli/cli/dist/impl-VEU4X4HE.cjs","sourcesContent":[null,"import type { LocalContext } from '../../../context';\nimport { markSilentPrivacyRequests } from '../../../lib/requests';\nimport type { RequestAction, RequestStatus } from '@transcend-io/privacy-types';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation';\n\nexport interface MarkSilentCommandFlags {\n auth: string;\n actions: RequestAction[];\n statuses?: RequestStatus[];\n requestIds?: string[];\n createdAtBefore?: Date;\n createdAtAfter?: Date;\n transcendUrl: string;\n concurrency: number;\n}\n\nexport async function markSilent(\n this: LocalContext,\n {\n auth,\n transcendUrl,\n actions,\n statuses,\n requestIds,\n createdAtBefore,\n createdAtAfter,\n concurrency,\n }: MarkSilentCommandFlags,\n): Promise<void> {\n doneInputValidation(this.process.exit);\n\n await markSilentPrivacyRequests({\n transcendUrl,\n requestActions: actions,\n auth,\n requestIds,\n statuses,\n concurrency,\n createdAtBefore,\n createdAtAfter,\n });\n}\n"]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk7UB5BB7Kcjs = require('./chunk-7UB5BB7K.cjs');var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');require('./chunk-GC3HFDP4.cjs');require('./chunk-LCDYXJN6.cjs');require('./chunk-ZUNVPK23.cjs');require('./chunk-6WIX75ZF.cjs');require('./chunk-Q7I37FJV.cjs');async function d({file:i,transcendUrl:o,auth:r,sombraAuth:n,dataSiloId:s}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit),await _chunk7UB5BB7Kcjs.e.call(void 0, {file:i,transcendUrl:o,auth:r,sombraAuth:n,dataSiloId:s})}exports.markIdentifiersCompleted = d;
2
+ //# sourceMappingURL=impl-WAR6J2SL.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-WAR6J2SL.cjs","../src/commands/request/cron/mark-identifiers-completed/impl.ts"],"names":["markIdentifiersCompleted","file","transcendUrl","auth","sombraAuth","dataSiloId","doneInputValidation","pushCronIdentifiersFromCsv"],"mappings":"AAAA,iIAAwC,wDAAyC,gCAA6B,gCAA6B,gCAA6B,gCAA6B,gCAA6B,MCYlO,SAAsBA,CAAAA,CAEpB,CACE,IAAA,CAAAC,CAAAA,CACA,YAAA,CAAAC,CAAAA,CACA,IAAA,CAAAC,CAAAA,CACA,UAAA,CAAAC,CAAAA,CACA,UAAA,CAAAC,CACF,CAAA,CACe,CACfC,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAErC,MAAMC,iCAAAA,CACJ,IAAA,CAAAN,CAAAA,CACA,YAAA,CAAAC,CAAAA,CACA,IAAA,CAAAC,CAAAA,CACA,UAAA,CAAAC,CAAAA,CACA,UAAA,CAAAC,CACF,CAAC,CACH,CAAA,qCAAA","file":"/home/runner/work/cli/cli/dist/impl-WAR6J2SL.cjs","sourcesContent":[null,"import type { LocalContext } from '../../../../context';\nimport { pushCronIdentifiersFromCsv } from '../../../../lib/cron';\nimport { doneInputValidation } from '../../../../lib/cli/done-input-validation';\n\nexport interface MarkIdentifiersCompletedCommandFlags {\n file: string;\n transcendUrl: string;\n auth: string;\n sombraAuth?: string;\n dataSiloId: string;\n}\n\nexport async function markIdentifiersCompleted(\n this: LocalContext,\n {\n file,\n transcendUrl,\n auth,\n sombraAuth,\n dataSiloId,\n }: MarkIdentifiersCompletedCommandFlags,\n): Promise<void> {\n doneInputValidation(this.process.exit);\n\n await pushCronIdentifiersFromCsv({\n file,\n transcendUrl,\n auth,\n sombraAuth,\n dataSiloId,\n });\n}\n"]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _chunk7ZGJ4MJFcjs = require('./chunk-7ZGJ4MJF.cjs');require('./chunk-F3BRFYKD.cjs');var _chunkMOWFESXNcjs = require('./chunk-MOWFESXN.cjs');require('./chunk-5UBGZNDC.cjs');var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');require('./chunk-5PTFTN6J.cjs');require('./chunk-LCDYXJN6.cjs');var _chunkZUNVPK23cjs = require('./chunk-ZUNVPK23.cjs');require('./chunk-NI434OII.cjs');require('./chunk-Q7I37FJV.cjs');var _colors = require('colors'); var _colors2 = _interopRequireDefault(_colors);var _privacytypes = require('@transcend-io/privacy-types');var _bluebird = require('bluebird');async function x({auth:d,bundleTypes:r=[_privacytypes.ConsentBundleType.Production,_privacytypes.ConsentBundleType.Test],deploy:i,transcendUrl:s}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit);let t=await _chunkMOWFESXNcjs.b.call(void 0, d);typeof t=="string"?(await _chunk7ZGJ4MJFcjs.a.call(void 0, {deploy:i,transcendUrl:s,auth:t,bundleTypes:r}),_chunkZUNVPK23cjs.a.info(_colors2.default.green("Successfully updated Consent Manager!"))):(await _bluebird.mapSeries.call(void 0, t,async e=>{_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Updating Consent Manager for organization "${e.organizationName}"...`)),await _chunk7ZGJ4MJFcjs.a.call(void 0, {deploy:i,transcendUrl:s,auth:e.apiKey,bundleTypes:r}),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully updated Consent Manager for organization "${e.organizationName}"!`))}),_chunkZUNVPK23cjs.a.info(_colors2.default.green("Successfully updated Consent Managers!")))}exports.updateConsentManager = x;
2
- //# sourceMappingURL=impl-OXOU2A27.cjs.map
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _chunkFWTJQA4Mcjs = require('./chunk-FWTJQA4M.cjs');require('./chunk-M2ARSCLF.cjs');var _chunk4MXXWDM2cjs = require('./chunk-4MXXWDM2.cjs');require('./chunk-5UBGZNDC.cjs');var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');require('./chunk-GC3HFDP4.cjs');require('./chunk-LCDYXJN6.cjs');var _chunkZUNVPK23cjs = require('./chunk-ZUNVPK23.cjs');require('./chunk-6WIX75ZF.cjs');require('./chunk-Q7I37FJV.cjs');var _colors = require('colors'); var _colors2 = _interopRequireDefault(_colors);var _privacytypes = require('@transcend-io/privacy-types');var _bluebird = require('bluebird');async function x({auth:d,bundleTypes:r=[_privacytypes.ConsentBundleType.Production,_privacytypes.ConsentBundleType.Test],deploy:i,transcendUrl:s}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit);let t=await _chunk4MXXWDM2cjs.b.call(void 0, d);typeof t=="string"?(await _chunkFWTJQA4Mcjs.a.call(void 0, {deploy:i,transcendUrl:s,auth:t,bundleTypes:r}),_chunkZUNVPK23cjs.a.info(_colors2.default.green("Successfully updated Consent Manager!"))):(await _bluebird.mapSeries.call(void 0, t,async e=>{_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Updating Consent Manager for organization "${e.organizationName}"...`)),await _chunkFWTJQA4Mcjs.a.call(void 0, {deploy:i,transcendUrl:s,auth:e.apiKey,bundleTypes:r}),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully updated Consent Manager for organization "${e.organizationName}"!`))}),_chunkZUNVPK23cjs.a.info(_colors2.default.green("Successfully updated Consent Managers!")))}exports.updateConsentManager = x;
2
+ //# sourceMappingURL=impl-WS774CEP.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-OXOU2A27.cjs","../src/commands/consent/update-consent-manager/impl.ts"],"names":["updateConsentManager","auth","bundleTypes","ConsentBundleType","deploy","transcendUrl","doneInputValidation","apiKeyOrList","validateTranscendAuth","updateConsentManagerVersionToLatest","logger","colors","mapSeries","apiKey"],"mappings":"AAAA,iOAAmC,gCAA6B,wDAAyC,gCAA6B,wDAAyC,gCAA6B,gCAA6B,wDAAyC,gCAA6B,gCAA6B,gFCCzT,2DACe,oCACR,MAc1B,SAAsBA,CAAAA,CAEpB,CACE,IAAA,CAAAC,CAAAA,CACA,WAAA,CAAAC,CAAAA,CAAc,CAACC,+BAAAA,CAAkB,UAAA,CAAYA,+BAAAA,CAAkB,IAAI,CAAA,CACnE,MAAA,CAAAC,CAAAA,CACA,YAAA,CAAAC,CACF,CAAA,CACe,CACfC,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAGrC,IAAMC,CAAAA,CAAe,MAAMC,iCAAAA,CAA0B,CAAA,CAGjD,OAAOD,CAAAA,EAAiB,QAAA,CAAA,CAE1B,MAAME,iCAAAA,CACJ,MAAA,CAAAL,CAAAA,CACA,YAAA,CAAAC,CAAAA,CACA,IAAA,CAAME,CAAAA,CACN,WAAA,CAAAL,CACF,CAAC,CAAA,CACDQ,mBAAAA,CAAO,IAAA,CAAKC,gBAAAA,CAAO,KAAA,CAAM,uCAAuC,CAAC,CAAA,CAAA,CAAA,CAEjE,MAAMC,iCAAAA,CAAUL,CAAc,MAAOM,CAAAA,EAAW,CAC9CH,mBAAAA,CAAO,IAAA,CACLC,gBAAAA,CAAO,OAAA,CACL,CAAA,2CAAA,EAA8CE,CAAAA,CAAO,gBAAgB,CAAA,IAAA,CACvE,CACF,CAAA,CAEA,MAAMJ,iCAAAA,CACJ,MAAA,CAAAL,CAAAA,CACA,YAAA,CAAAC,CAAAA,CACA,IAAA,CAAMQ,CAAAA,CAAO,MAAA,CACb,WAAA,CAAAX,CACF,CAAC,CAAA,CAEDQ,mBAAAA,CAAO,IAAA,CACLC,gBAAAA,CAAO,KAAA,CACL,CAAA,uDAAA,EAA0DE,CAAAA,CAAO,gBAAgB,CAAA,EAAA,CACnF,CACF,CACF,CAAC,CAAA,CACDH,mBAAAA,CAAO,IAAA,CAAKC,gBAAAA,CAAO,KAAA,CAAM,wCAAwC,CAAC,CAAA,CAEtE,CAAA,iCAAA","file":"/home/runner/work/cli/cli/dist/impl-OXOU2A27.cjs","sourcesContent":[null,"import type { LocalContext } from '../../../context';\nimport colors from 'colors';\nimport { ConsentBundleType } from '@transcend-io/privacy-types';\nimport { mapSeries } from 'bluebird';\n\nimport { logger } from '../../../logger';\nimport { updateConsentManagerVersionToLatest } from '../../../lib/consent-manager';\nimport { validateTranscendAuth } from '../../../lib/api-keys';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation';\n\nexport interface UpdateConsentManagerCommandFlags {\n auth: string;\n bundleTypes: ConsentBundleType[];\n deploy: boolean;\n transcendUrl: string;\n}\n\nexport async function updateConsentManager(\n this: LocalContext,\n {\n auth,\n bundleTypes = [ConsentBundleType.Production, ConsentBundleType.Test],\n deploy,\n transcendUrl,\n }: UpdateConsentManagerCommandFlags,\n): Promise<void> {\n doneInputValidation(this.process.exit);\n\n // Parse authentication as API key or path to list of API keys\n const apiKeyOrList = await validateTranscendAuth(auth);\n\n // Handle single update\n if (typeof apiKeyOrList === 'string') {\n // Update consent manager\n await updateConsentManagerVersionToLatest({\n deploy,\n transcendUrl,\n auth: apiKeyOrList,\n bundleTypes,\n });\n logger.info(colors.green('Successfully updated Consent Manager!'));\n } else {\n await mapSeries(apiKeyOrList, async (apiKey) => {\n logger.info(\n colors.magenta(\n `Updating Consent Manager for organization \"${apiKey.organizationName}\"...`,\n ),\n );\n\n await updateConsentManagerVersionToLatest({\n deploy,\n transcendUrl,\n auth: apiKey.apiKey,\n bundleTypes,\n });\n\n logger.info(\n colors.green(\n `Successfully updated Consent Manager for organization \"${apiKey.organizationName}\"!`,\n ),\n );\n });\n logger.info(colors.green('Successfully updated Consent Managers!'));\n }\n}\n"]}
1
+ {"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-WS774CEP.cjs","../src/commands/consent/update-consent-manager/impl.ts"],"names":["updateConsentManager","auth","bundleTypes","ConsentBundleType","deploy","transcendUrl","doneInputValidation","apiKeyOrList","validateTranscendAuth","updateConsentManagerVersionToLatest","logger","colors","mapSeries","apiKey"],"mappings":"AAAA,iOAAmC,gCAA6B,wDAAyC,gCAA6B,wDAAyC,gCAA6B,gCAA6B,wDAAyC,gCAA6B,gCAA6B,gFCCzT,2DACe,oCACR,MAc1B,SAAsBA,CAAAA,CAEpB,CACE,IAAA,CAAAC,CAAAA,CACA,WAAA,CAAAC,CAAAA,CAAc,CAACC,+BAAAA,CAAkB,UAAA,CAAYA,+BAAAA,CAAkB,IAAI,CAAA,CACnE,MAAA,CAAAC,CAAAA,CACA,YAAA,CAAAC,CACF,CAAA,CACe,CACfC,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAGrC,IAAMC,CAAAA,CAAe,MAAMC,iCAAAA,CAA0B,CAAA,CAGjD,OAAOD,CAAAA,EAAiB,QAAA,CAAA,CAE1B,MAAME,iCAAAA,CACJ,MAAA,CAAAL,CAAAA,CACA,YAAA,CAAAC,CAAAA,CACA,IAAA,CAAME,CAAAA,CACN,WAAA,CAAAL,CACF,CAAC,CAAA,CACDQ,mBAAAA,CAAO,IAAA,CAAKC,gBAAAA,CAAO,KAAA,CAAM,uCAAuC,CAAC,CAAA,CAAA,CAAA,CAEjE,MAAMC,iCAAAA,CAAUL,CAAc,MAAOM,CAAAA,EAAW,CAC9CH,mBAAAA,CAAO,IAAA,CACLC,gBAAAA,CAAO,OAAA,CACL,CAAA,2CAAA,EAA8CE,CAAAA,CAAO,gBAAgB,CAAA,IAAA,CACvE,CACF,CAAA,CAEA,MAAMJ,iCAAAA,CACJ,MAAA,CAAAL,CAAAA,CACA,YAAA,CAAAC,CAAAA,CACA,IAAA,CAAMQ,CAAAA,CAAO,MAAA,CACb,WAAA,CAAAX,CACF,CAAC,CAAA,CAEDQ,mBAAAA,CAAO,IAAA,CACLC,gBAAAA,CAAO,KAAA,CACL,CAAA,uDAAA,EAA0DE,CAAAA,CAAO,gBAAgB,CAAA,EAAA,CACnF,CACF,CACF,CAAC,CAAA,CACDH,mBAAAA,CAAO,IAAA,CAAKC,gBAAAA,CAAO,KAAA,CAAM,wCAAwC,CAAC,CAAA,CAEtE,CAAA,iCAAA","file":"/home/runner/work/cli/cli/dist/impl-WS774CEP.cjs","sourcesContent":[null,"import type { LocalContext } from '../../../context';\nimport colors from 'colors';\nimport { ConsentBundleType } from '@transcend-io/privacy-types';\nimport { mapSeries } from 'bluebird';\n\nimport { logger } from '../../../logger';\nimport { updateConsentManagerVersionToLatest } from '../../../lib/consent-manager';\nimport { validateTranscendAuth } from '../../../lib/api-keys';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation';\n\nexport interface UpdateConsentManagerCommandFlags {\n auth: string;\n bundleTypes: ConsentBundleType[];\n deploy: boolean;\n transcendUrl: string;\n}\n\nexport async function updateConsentManager(\n this: LocalContext,\n {\n auth,\n bundleTypes = [ConsentBundleType.Production, ConsentBundleType.Test],\n deploy,\n transcendUrl,\n }: UpdateConsentManagerCommandFlags,\n): Promise<void> {\n doneInputValidation(this.process.exit);\n\n // Parse authentication as API key or path to list of API keys\n const apiKeyOrList = await validateTranscendAuth(auth);\n\n // Handle single update\n if (typeof apiKeyOrList === 'string') {\n // Update consent manager\n await updateConsentManagerVersionToLatest({\n deploy,\n transcendUrl,\n auth: apiKeyOrList,\n bundleTypes,\n });\n logger.info(colors.green('Successfully updated Consent Manager!'));\n } else {\n await mapSeries(apiKeyOrList, async (apiKey) => {\n logger.info(\n colors.magenta(\n `Updating Consent Manager for organization \"${apiKey.organizationName}\"...`,\n ),\n );\n\n await updateConsentManagerVersionToLatest({\n deploy,\n transcendUrl,\n auth: apiKey.apiKey,\n bundleTypes,\n });\n\n logger.info(\n colors.green(\n `Successfully updated Consent Manager for organization \"${apiKey.organizationName}\"!`,\n ),\n );\n });\n logger.info(colors.green('Successfully updated Consent Managers!'));\n }\n}\n"]}
@@ -1,3 +1,3 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkMOWFESXNcjs = require('./chunk-MOWFESXN.cjs');require('./chunk-5UBGZNDC.cjs');var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');require('./chunk-5PTFTN6J.cjs');require('./chunk-LCDYXJN6.cjs');require('./chunk-ZUNVPK23.cjs');var _chunkNI434OIIcjs = require('./chunk-NI434OII.cjs');require('./chunk-Q7I37FJV.cjs');var _fs = require('fs');async function N({email:o,password:r,apiKeyTitle:n,file:s,scopes:a,deleteExistingApiKey:p,createNewApiKey:m,parentOrganizationId:c,transcendUrl:l}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit);let g=a.map(d=>_chunkNI434OIIcjs.w[d].name),{errors:y,apiKeys:f}=await _chunkMOWFESXNcjs.a.call(void 0, {transcendUrl:l,password:r,email:o,parentOrganizationId:c,deleteExistingApiKey:p,createNewApiKey:m,apiKeyTitle:n,scopes:g});_fs.writeFileSync.call(void 0, s,`${JSON.stringify(f,null,2)}
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk4MXXWDM2cjs = require('./chunk-4MXXWDM2.cjs');require('./chunk-5UBGZNDC.cjs');var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');require('./chunk-GC3HFDP4.cjs');require('./chunk-LCDYXJN6.cjs');require('./chunk-ZUNVPK23.cjs');var _chunk6WIX75ZFcjs = require('./chunk-6WIX75ZF.cjs');require('./chunk-Q7I37FJV.cjs');var _fs = require('fs');async function N({email:o,password:r,apiKeyTitle:n,file:s,scopes:a,deleteExistingApiKey:p,createNewApiKey:m,parentOrganizationId:c,transcendUrl:l}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit);let g=a.map(d=>_chunk6WIX75ZFcjs.w[d].name),{errors:y,apiKeys:f}=await _chunk4MXXWDM2cjs.a.call(void 0, {transcendUrl:l,password:r,email:o,parentOrganizationId:c,deleteExistingApiKey:p,createNewApiKey:m,apiKeyTitle:n,scopes:g});_fs.writeFileSync.call(void 0, s,`${JSON.stringify(f,null,2)}
2
2
  `),y.length>0&&this.process.exit(1)}exports.generateApiKeys = N;
3
- //# sourceMappingURL=impl-CP2GLGVZ.cjs.map
3
+ //# sourceMappingURL=impl-XAXZ5R2V.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-CP2GLGVZ.cjs","../src/commands/admin/generate-api-keys/impl.ts"],"names":["generateApiKeys","email","password","apiKeyTitle","file","scopes","deleteExistingApiKey","createNewApiKey","parentOrganizationId","transcendUrl","doneInputValidation","scopeNames","scopeTitle","SCOPES_BY_TITLE","errors","apiKeys","generateCrossAccountApiKeys","writeFileSync"],"mappings":"AAAA,iIAAwC,gCAA6B,wDAAyC,gCAA6B,gCAA6B,gCAA6B,wDAAyC,gCAA6B,wBCC7O,MAsB9B,SAAsBA,CAAAA,CAEpB,CACE,KAAA,CAAAC,CAAAA,CACA,QAAA,CAAAC,CAAAA,CACA,WAAA,CAAAC,CAAAA,CACA,IAAA,CAAAC,CAAAA,CACA,MAAA,CAAAC,CAAAA,CACA,oBAAA,CAAAC,CAAAA,CACA,eAAA,CAAAC,CAAAA,CACA,oBAAA,CAAAC,CAAAA,CACA,YAAA,CAAAC,CACF,CAAA,CACe,CACfC,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAErC,IAAMC,CAAAA,CAAaN,CAAAA,CAAO,GAAA,CACvBO,CAAAA,EAAeC,mBAAAA,CAAgBD,CAAU,CAAA,CAAE,IAC9C,CAAA,CAGM,CAAE,MAAA,CAAAE,CAAAA,CAAQ,OAAA,CAAAC,CAAQ,CAAA,CAAI,MAAMC,iCAAAA,CAChC,YAAA,CAAAP,CAAAA,CACA,QAAA,CAAAP,CAAAA,CACA,KAAA,CAAAD,CAAAA,CACA,oBAAA,CAAAO,CAAAA,CACA,oBAAA,CAAAF,CAAAA,CACA,eAAA,CAAAC,CAAAA,CACA,WAAA,CAAAJ,CAAAA,CACA,MAAA,CAAQQ,CACV,CAAC,CAAA,CAGDM,+BAAAA,CAAcb,CAAM,CAAA,EAAA;AAItB","file":"/home/runner/work/cli/cli/dist/impl-CP2GLGVZ.cjs","sourcesContent":[null,"import type { LocalContext } from '../../../context';\nimport { writeFileSync } from 'node:fs';\n\nimport { ScopeName } from '@transcend-io/privacy-types';\n\nimport { generateCrossAccountApiKeys } from '../../../lib/api-keys';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation';\nimport { SCOPES_BY_TITLE } from '../../../constants';\n\n// Command flag interface\nexport interface GenerateApiKeysCommandFlags {\n email: string;\n password: string;\n apiKeyTitle: string;\n file: string;\n scopes: string[];\n deleteExistingApiKey: boolean;\n createNewApiKey: boolean;\n parentOrganizationId?: string;\n transcendUrl: string;\n}\n\n// Command implementation\nexport async function generateApiKeys(\n this: LocalContext,\n {\n email,\n password,\n apiKeyTitle,\n file,\n scopes,\n deleteExistingApiKey,\n createNewApiKey,\n parentOrganizationId,\n transcendUrl,\n }: GenerateApiKeysCommandFlags,\n): Promise<void> {\n doneInputValidation(this.process.exit);\n\n const scopeNames = scopes.map(\n (scopeTitle) => SCOPES_BY_TITLE[scopeTitle].name as ScopeName,\n );\n\n // Upload privacy requests\n const { errors, apiKeys } = await generateCrossAccountApiKeys({\n transcendUrl,\n password,\n email,\n parentOrganizationId,\n deleteExistingApiKey,\n createNewApiKey,\n apiKeyTitle,\n scopes: scopeNames,\n });\n\n // Write to disk\n writeFileSync(file, `${JSON.stringify(apiKeys, null, 2)}\\n`);\n if (errors.length > 0) {\n this.process.exit(1);\n }\n}\n"]}
1
+ {"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-XAXZ5R2V.cjs","../src/commands/admin/generate-api-keys/impl.ts"],"names":["generateApiKeys","email","password","apiKeyTitle","file","scopes","deleteExistingApiKey","createNewApiKey","parentOrganizationId","transcendUrl","doneInputValidation","scopeNames","scopeTitle","SCOPES_BY_TITLE","errors","apiKeys","generateCrossAccountApiKeys","writeFileSync"],"mappings":"AAAA,iIAAwC,gCAA6B,wDAAyC,gCAA6B,gCAA6B,gCAA6B,wDAAyC,gCAA6B,wBCC7O,MAsB9B,SAAsBA,CAAAA,CAEpB,CACE,KAAA,CAAAC,CAAAA,CACA,QAAA,CAAAC,CAAAA,CACA,WAAA,CAAAC,CAAAA,CACA,IAAA,CAAAC,CAAAA,CACA,MAAA,CAAAC,CAAAA,CACA,oBAAA,CAAAC,CAAAA,CACA,eAAA,CAAAC,CAAAA,CACA,oBAAA,CAAAC,CAAAA,CACA,YAAA,CAAAC,CACF,CAAA,CACe,CACfC,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAErC,IAAMC,CAAAA,CAAaN,CAAAA,CAAO,GAAA,CACvBO,CAAAA,EAAeC,mBAAAA,CAAgBD,CAAU,CAAA,CAAE,IAC9C,CAAA,CAGM,CAAE,MAAA,CAAAE,CAAAA,CAAQ,OAAA,CAAAC,CAAQ,CAAA,CAAI,MAAMC,iCAAAA,CAChC,YAAA,CAAAP,CAAAA,CACA,QAAA,CAAAP,CAAAA,CACA,KAAA,CAAAD,CAAAA,CACA,oBAAA,CAAAO,CAAAA,CACA,oBAAA,CAAAF,CAAAA,CACA,eAAA,CAAAC,CAAAA,CACA,WAAA,CAAAJ,CAAAA,CACA,MAAA,CAAQQ,CACV,CAAC,CAAA,CAGDM,+BAAAA,CAAcb,CAAM,CAAA,EAAA;AAItB","file":"/home/runner/work/cli/cli/dist/impl-XAXZ5R2V.cjs","sourcesContent":[null,"import type { LocalContext } from '../../../context';\nimport { writeFileSync } from 'node:fs';\n\nimport { ScopeName } from '@transcend-io/privacy-types';\n\nimport { generateCrossAccountApiKeys } from '../../../lib/api-keys';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation';\nimport { SCOPES_BY_TITLE } from '../../../constants';\n\n// Command flag interface\nexport interface GenerateApiKeysCommandFlags {\n email: string;\n password: string;\n apiKeyTitle: string;\n file: string;\n scopes: string[];\n deleteExistingApiKey: boolean;\n createNewApiKey: boolean;\n parentOrganizationId?: string;\n transcendUrl: string;\n}\n\n// Command implementation\nexport async function generateApiKeys(\n this: LocalContext,\n {\n email,\n password,\n apiKeyTitle,\n file,\n scopes,\n deleteExistingApiKey,\n createNewApiKey,\n parentOrganizationId,\n transcendUrl,\n }: GenerateApiKeysCommandFlags,\n): Promise<void> {\n doneInputValidation(this.process.exit);\n\n const scopeNames = scopes.map(\n (scopeTitle) => SCOPES_BY_TITLE[scopeTitle].name as ScopeName,\n );\n\n // Upload privacy requests\n const { errors, apiKeys } = await generateCrossAccountApiKeys({\n transcendUrl,\n password,\n email,\n parentOrganizationId,\n deleteExistingApiKey,\n createNewApiKey,\n apiKeyTitle,\n scopes: scopeNames,\n });\n\n // Write to disk\n writeFileSync(file, `${JSON.stringify(apiKeys, null, 2)}\\n`);\n if (errors.length > 0) {\n this.process.exit(1);\n }\n}\n"]}
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _chunk2Q7ADV5Ycjs = require('./chunk-2Q7ADV5Y.cjs');require('./chunk-MOWFESXN.cjs');require('./chunk-5UBGZNDC.cjs');var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');var _chunk5PTFTN6Jcjs = require('./chunk-5PTFTN6J.cjs');require('./chunk-LCDYXJN6.cjs');var _chunkZUNVPK23cjs = require('./chunk-ZUNVPK23.cjs');var _chunkNI434OIIcjs = require('./chunk-NI434OII.cjs');require('./chunk-Q7I37FJV.cjs');var _querystring = require('query-string');var _colors = require('colors'); var _colors2 = _interopRequireDefault(_colors);var _fastglob = require('fast-glob'); var _fastglob2 = _interopRequireDefault(_fastglob);async function m({scanPath:t,fileGlobs:e,ignoreDirs:g,config:p}){let{ignoreDirs:f,supportedFiles:s,scanFunction:a}=p,n=e===""?s:s.concat(e.split(",")),l=[...g.split(","),...f].filter(o=>o.length>0);try{let o=await _fastglob2.default.call(void 0, `${t}/**/${n.join("|")}`,{ignore:l.map(i=>`${t}/**/${i}`),unique:!0,onlyFiles:!0});_chunkZUNVPK23cjs.a.info(`Scanning: ${o.length} files`);let I=o.map(i=>a(i)).flat().map(i=>i.softwareDevelopmentKits||[]).flat(),d=[...new Set(I.map(i=>i.name))];return _chunkZUNVPK23cjs.a.info(`Found: ${d.length} unique dependencies`),d.map(i=>({name:i,resourceId:`${t}/**/${i}`,useStrictClassifier:!0}))}catch(o){throw new Error(`Error scanning globs ${m} with error: ${o}`)}}async function P({scanPath:t,dataSiloId:e,auth:g,fileGlobs:p,ignoreDirs:f,transcendUrl:s}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit);let a=_chunk5PTFTN6Jcjs.wc.call(void 0, s,g),n=await _chunk5PTFTN6Jcjs.Bc.call(void 0, a,e),l=_chunk2Q7ADV5Ycjs.a[n.dataSilo.type];l||(_chunkZUNVPK23cjs.a.error(_colors2.default.red(`This plugin "${n.dataSilo.type}" is not supported for offline silo discovery.`)),this.process.exit(1));let o=await m({scanPath:t,fileGlobs:p,ignoreDirs:f,config:l});await _chunk5PTFTN6Jcjs.mf.call(void 0, a,n.id,o);let c=new URL(_chunkNI434OIIcjs.o);c.pathname="/data-map/data-inventory/silo-discovery/triage",c.search=_querystring.stringify.call(void 0, {filters:JSON.stringify({pluginIds:[n.id]})}),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Scan found ${o.length} potential data silos at ${t}! View at '${c.href}'
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _chunk4AIAQD56cjs = require('./chunk-4AIAQD56.cjs');require('./chunk-4MXXWDM2.cjs');require('./chunk-5UBGZNDC.cjs');var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');var _chunkGC3HFDP4cjs = require('./chunk-GC3HFDP4.cjs');require('./chunk-LCDYXJN6.cjs');var _chunkZUNVPK23cjs = require('./chunk-ZUNVPK23.cjs');var _chunk6WIX75ZFcjs = require('./chunk-6WIX75ZF.cjs');require('./chunk-Q7I37FJV.cjs');var _querystring = require('query-string');var _colors = require('colors'); var _colors2 = _interopRequireDefault(_colors);var _fastglob = require('fast-glob'); var _fastglob2 = _interopRequireDefault(_fastglob);async function m({scanPath:t,fileGlobs:e,ignoreDirs:g,config:p}){let{ignoreDirs:f,supportedFiles:s,scanFunction:a}=p,n=e===""?s:s.concat(e.split(",")),l=[...g.split(","),...f].filter(o=>o.length>0);try{let o=await _fastglob2.default.call(void 0, `${t}/**/${n.join("|")}`,{ignore:l.map(i=>`${t}/**/${i}`),unique:!0,onlyFiles:!0});_chunkZUNVPK23cjs.a.info(`Scanning: ${o.length} files`);let I=o.map(i=>a(i)).flat().map(i=>i.softwareDevelopmentKits||[]).flat(),d=[...new Set(I.map(i=>i.name))];return _chunkZUNVPK23cjs.a.info(`Found: ${d.length} unique dependencies`),d.map(i=>({name:i,resourceId:`${t}/**/${i}`,useStrictClassifier:!0}))}catch(o){throw new Error(`Error scanning globs ${m} with error: ${o}`)}}async function P({scanPath:t,dataSiloId:e,auth:g,fileGlobs:p,ignoreDirs:f,transcendUrl:s}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit);let a=_chunkGC3HFDP4cjs.wc.call(void 0, s,g),n=await _chunkGC3HFDP4cjs.Bc.call(void 0, a,e),l=_chunk4AIAQD56cjs.a[n.dataSilo.type];l||(_chunkZUNVPK23cjs.a.error(_colors2.default.red(`This plugin "${n.dataSilo.type}" is not supported for offline silo discovery.`)),this.process.exit(1));let o=await m({scanPath:t,fileGlobs:p,ignoreDirs:f,config:l});await _chunkGC3HFDP4cjs.mf.call(void 0, a,n.id,o);let c=new URL(_chunk6WIX75ZFcjs.o);c.pathname="/data-map/data-inventory/silo-discovery/triage",c.search=_querystring.stringify.call(void 0, {filters:JSON.stringify({pluginIds:[n.id]})}),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Scan found ${o.length} potential data silos at ${t}! View at '${c.href}'
2
2
 
3
3
  NOTE: it may take 2-3 minutes for scan results to appear in the UI.`))}exports.discoverSilos = P;
4
- //# sourceMappingURL=impl-CLA7WK6U.cjs.map
4
+ //# sourceMappingURL=impl-XFY3O27V.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-CLA7WK6U.cjs","../src/commands/inventory/discover-silos/impl.ts","../src/lib/code-scanning/findFilesToScan.ts"],"names":["findFilesToScan","scanPath","fileGlobs","ignoreDirs","config","IGNORE_DIRS","supportedFiles","scanFunction","globsToSupport","dirsToIgnore","dir","filesToScan","fastGlob"],"mappings":"AAAA,iOAAwC,gCAA6B,gCAA6B,wDAAyC,wDAA0D,gCAA6B,wDAAyC,wDAAyC,gCAA6B,2CCCvT,gFAEP,yFCHE,MAsBrB,SAAsBA,CAAAA,CAAgB,CACpC,QAAA,CAAAC,CAAAA,CACA,SAAA,CAAAC,CAAAA,CACA,UAAA,CAAAC,CAAAA,CACA,MAAA,CAAAC,CACF,CAAA,CASuC,CACrC,GAAM,CAAE,UAAA,CAAYC,CAAAA,CAAa,cAAA,CAAAC,CAAAA,CAAgB,YAAA,CAAAC,CAAa,CAAA,CAAIH,CAAAA,CAC5DI,CAAAA,CACJN,CAAAA,GAAc,EAAA,CACVI,CAAAA,CACAA,CAAAA,CAAe,MAAA,CAAOJ,CAAAA,CAAU,KAAA,CAAM,GAAG,CAAC,CAAA,CAC1CO,CAAAA,CAAe,CAAC,GAAGN,CAAAA,CAAW,KAAA,CAAM,GAAG,CAAA,CAAG,GAAGE,CAAW,CAAA,CAAE,MAAA,CAC7DK,CAAAA,EAAQA,CAAAA,CAAI,MAAA,CAAS,CACxB,CAAA,CACA,GAAI,CACF,IAAMC,CAAAA,CAAwB,MAAMC,gCAAAA,CAClC,EAAA;ADuByB;AAI/B,oEAAA","file":"/home/runner/work/cli/cli/dist/impl-CLA7WK6U.cjs","sourcesContent":[null,"import type { LocalContext } from '../../../context';\nimport { stringify } from 'query-string';\nimport { logger } from '../../../logger';\nimport colors from 'colors';\nimport { ADMIN_DASH } from '../../../constants';\nimport {\n fetchActiveSiloDiscoPlugin,\n buildTranscendGraphQLClient,\n uploadSiloDiscoveryResults,\n} from '../../../lib/graphql';\nimport { findFilesToScan } from '../../../lib/code-scanning/findFilesToScan';\nimport { SILO_DISCOVERY_CONFIGS } from '../../../lib/code-scanning';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation';\n\nexport interface DiscoverSilosCommandFlags {\n scanPath: string;\n dataSiloId: string;\n auth: string;\n fileGlobs: string;\n ignoreDirs: string;\n transcendUrl: string;\n}\n\nexport async function discoverSilos(\n this: LocalContext,\n {\n scanPath,\n dataSiloId,\n auth,\n fileGlobs,\n ignoreDirs,\n transcendUrl,\n }: DiscoverSilosCommandFlags,\n): Promise<void> {\n doneInputValidation(this.process.exit);\n\n // Create a GraphQL client\n const client = buildTranscendGraphQLClient(transcendUrl, auth);\n\n const plugin = await fetchActiveSiloDiscoPlugin(client, dataSiloId);\n\n const config = SILO_DISCOVERY_CONFIGS[plugin.dataSilo.type];\n if (!config) {\n logger.error(\n colors.red(\n `This plugin \"${plugin.dataSilo.type}\" is not supported for offline silo discovery.`,\n ),\n );\n this.process.exit(1);\n }\n\n const results = await findFilesToScan({\n scanPath,\n fileGlobs,\n ignoreDirs,\n config,\n });\n\n await uploadSiloDiscoveryResults(client, plugin.id, results);\n\n const newUrl = new URL(ADMIN_DASH);\n newUrl.pathname = '/data-map/data-inventory/silo-discovery/triage';\n newUrl.search = stringify({\n filters: JSON.stringify({ pluginIds: [plugin.id] }),\n });\n\n // Indicate success\n logger.info(\n colors.green(\n `Scan found ${results.length} potential data silos at ${scanPath}! ` +\n `View at '${newUrl.href}' ` +\n '\\n\\n NOTE: it may take 2-3 minutes for scan results to appear in the UI.',\n ),\n );\n}\n","import fastGlob from 'fast-glob';\nimport { logger } from '../../logger';\nimport { CodeScanningConfig } from './types';\n\nexport interface SiloDiscoveryRawResults {\n /** The name of the potential data silo entry */\n name: string;\n /** A unique UUID (represents the same resource across different silo discovery runs) */\n resourceId: string;\n /** Any hosts associated with the entry */\n host?: string;\n /** Type of data silo */\n type?: string | undefined;\n}\n\n/**\n * Helper to scan for data silos in all package.json files that it can find in a directory\n *\n * @deprecated TODO: https://transcend.height.app/T-32325 - use code scanning instead\n * @param options - Options\n * @returns the list of integrations\n */\nexport async function findFilesToScan({\n scanPath,\n fileGlobs,\n ignoreDirs,\n config,\n}: {\n /** Where to look for package.json files */\n scanPath: string;\n /** Globs to look for */\n fileGlobs: string;\n /** The directories to ignore (excludes node_modules and serverless-build) */\n ignoreDirs: string;\n /** Silo Discovery configuration */\n config: CodeScanningConfig;\n}): Promise<SiloDiscoveryRawResults[]> {\n const { ignoreDirs: IGNORE_DIRS, supportedFiles, scanFunction } = config;\n const globsToSupport =\n fileGlobs === ''\n ? supportedFiles\n : supportedFiles.concat(fileGlobs.split(','));\n const dirsToIgnore = [...ignoreDirs.split(','), ...IGNORE_DIRS].filter(\n (dir) => dir.length > 0,\n );\n try {\n const filesToScan: string[] = await fastGlob(\n `${scanPath}/**/${globsToSupport.join('|')}`,\n {\n ignore: dirsToIgnore.map((dir: string) => `${scanPath}/**/${dir}`),\n unique: true,\n onlyFiles: true,\n },\n );\n logger.info(`Scanning: ${filesToScan.length} files`);\n const allPackages = filesToScan\n .map((filePath: string) => scanFunction(filePath))\n .flat();\n const allSdks = allPackages\n .map((appPackage) => appPackage.softwareDevelopmentKits || [])\n .flat();\n const uniqueDeps = new Set(allSdks.map((sdk) => sdk.name));\n const deps = [...uniqueDeps];\n logger.info(`Found: ${deps.length} unique dependencies`);\n return deps.map((dep) => ({\n name: dep,\n resourceId: `${scanPath}/**/${dep}`,\n useStrictClassifier: true,\n }));\n } catch (error) {\n throw new Error(\n `Error scanning globs ${findFilesToScan} with error: ${error}`,\n );\n }\n}\n"]}
1
+ {"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-XFY3O27V.cjs","../src/commands/inventory/discover-silos/impl.ts","../src/lib/code-scanning/findFilesToScan.ts"],"names":["findFilesToScan","scanPath","fileGlobs","ignoreDirs","config","IGNORE_DIRS","supportedFiles","scanFunction","globsToSupport","dirsToIgnore","dir","filesToScan","fastGlob"],"mappings":"AAAA,iOAAwC,gCAA6B,gCAA6B,wDAAyC,wDAA0D,gCAA6B,wDAAyC,wDAAyC,gCAA6B,2CCCvT,gFAEP,yFCHE,MAsBrB,SAAsBA,CAAAA,CAAgB,CACpC,QAAA,CAAAC,CAAAA,CACA,SAAA,CAAAC,CAAAA,CACA,UAAA,CAAAC,CAAAA,CACA,MAAA,CAAAC,CACF,CAAA,CASuC,CACrC,GAAM,CAAE,UAAA,CAAYC,CAAAA,CAAa,cAAA,CAAAC,CAAAA,CAAgB,YAAA,CAAAC,CAAa,CAAA,CAAIH,CAAAA,CAC5DI,CAAAA,CACJN,CAAAA,GAAc,EAAA,CACVI,CAAAA,CACAA,CAAAA,CAAe,MAAA,CAAOJ,CAAAA,CAAU,KAAA,CAAM,GAAG,CAAC,CAAA,CAC1CO,CAAAA,CAAe,CAAC,GAAGN,CAAAA,CAAW,KAAA,CAAM,GAAG,CAAA,CAAG,GAAGE,CAAW,CAAA,CAAE,MAAA,CAC7DK,CAAAA,EAAQA,CAAAA,CAAI,MAAA,CAAS,CACxB,CAAA,CACA,GAAI,CACF,IAAMC,CAAAA,CAAwB,MAAMC,gCAAAA,CAClC,EAAA;ADuByB;AAI/B,oEAAA","file":"/home/runner/work/cli/cli/dist/impl-XFY3O27V.cjs","sourcesContent":[null,"import type { LocalContext } from '../../../context';\nimport { stringify } from 'query-string';\nimport { logger } from '../../../logger';\nimport colors from 'colors';\nimport { ADMIN_DASH } from '../../../constants';\nimport {\n fetchActiveSiloDiscoPlugin,\n buildTranscendGraphQLClient,\n uploadSiloDiscoveryResults,\n} from '../../../lib/graphql';\nimport { findFilesToScan } from '../../../lib/code-scanning/findFilesToScan';\nimport { SILO_DISCOVERY_CONFIGS } from '../../../lib/code-scanning';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation';\n\nexport interface DiscoverSilosCommandFlags {\n scanPath: string;\n dataSiloId: string;\n auth: string;\n fileGlobs: string;\n ignoreDirs: string;\n transcendUrl: string;\n}\n\nexport async function discoverSilos(\n this: LocalContext,\n {\n scanPath,\n dataSiloId,\n auth,\n fileGlobs,\n ignoreDirs,\n transcendUrl,\n }: DiscoverSilosCommandFlags,\n): Promise<void> {\n doneInputValidation(this.process.exit);\n\n // Create a GraphQL client\n const client = buildTranscendGraphQLClient(transcendUrl, auth);\n\n const plugin = await fetchActiveSiloDiscoPlugin(client, dataSiloId);\n\n const config = SILO_DISCOVERY_CONFIGS[plugin.dataSilo.type];\n if (!config) {\n logger.error(\n colors.red(\n `This plugin \"${plugin.dataSilo.type}\" is not supported for offline silo discovery.`,\n ),\n );\n this.process.exit(1);\n }\n\n const results = await findFilesToScan({\n scanPath,\n fileGlobs,\n ignoreDirs,\n config,\n });\n\n await uploadSiloDiscoveryResults(client, plugin.id, results);\n\n const newUrl = new URL(ADMIN_DASH);\n newUrl.pathname = '/data-map/data-inventory/silo-discovery/triage';\n newUrl.search = stringify({\n filters: JSON.stringify({ pluginIds: [plugin.id] }),\n });\n\n // Indicate success\n logger.info(\n colors.green(\n `Scan found ${results.length} potential data silos at ${scanPath}! ` +\n `View at '${newUrl.href}' ` +\n '\\n\\n NOTE: it may take 2-3 minutes for scan results to appear in the UI.',\n ),\n );\n}\n","import fastGlob from 'fast-glob';\nimport { logger } from '../../logger';\nimport { CodeScanningConfig } from './types';\n\nexport interface SiloDiscoveryRawResults {\n /** The name of the potential data silo entry */\n name: string;\n /** A unique UUID (represents the same resource across different silo discovery runs) */\n resourceId: string;\n /** Any hosts associated with the entry */\n host?: string;\n /** Type of data silo */\n type?: string | undefined;\n}\n\n/**\n * Helper to scan for data silos in all package.json files that it can find in a directory\n *\n * @deprecated TODO: https://transcend.height.app/T-32325 - use code scanning instead\n * @param options - Options\n * @returns the list of integrations\n */\nexport async function findFilesToScan({\n scanPath,\n fileGlobs,\n ignoreDirs,\n config,\n}: {\n /** Where to look for package.json files */\n scanPath: string;\n /** Globs to look for */\n fileGlobs: string;\n /** The directories to ignore (excludes node_modules and serverless-build) */\n ignoreDirs: string;\n /** Silo Discovery configuration */\n config: CodeScanningConfig;\n}): Promise<SiloDiscoveryRawResults[]> {\n const { ignoreDirs: IGNORE_DIRS, supportedFiles, scanFunction } = config;\n const globsToSupport =\n fileGlobs === ''\n ? supportedFiles\n : supportedFiles.concat(fileGlobs.split(','));\n const dirsToIgnore = [...ignoreDirs.split(','), ...IGNORE_DIRS].filter(\n (dir) => dir.length > 0,\n );\n try {\n const filesToScan: string[] = await fastGlob(\n `${scanPath}/**/${globsToSupport.join('|')}`,\n {\n ignore: dirsToIgnore.map((dir: string) => `${scanPath}/**/${dir}`),\n unique: true,\n onlyFiles: true,\n },\n );\n logger.info(`Scanning: ${filesToScan.length} files`);\n const allPackages = filesToScan\n .map((filePath: string) => scanFunction(filePath))\n .flat();\n const allSdks = allPackages\n .map((appPackage) => appPackage.softwareDevelopmentKits || [])\n .flat();\n const uniqueDeps = new Set(allSdks.map((sdk) => sdk.name));\n const deps = [...uniqueDeps];\n logger.info(`Found: ${deps.length} unique dependencies`);\n return deps.map((dep) => ({\n name: dep,\n resourceId: `${scanPath}/**/${dep}`,\n useStrictClassifier: true,\n }));\n } catch (error) {\n throw new Error(\n `Error scanning globs ${findFilesToScan} with error: ${error}`,\n );\n }\n}\n"]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');var _chunk5PTFTN6Jcjs = require('./chunk-5PTFTN6J.cjs');require('./chunk-LCDYXJN6.cjs');require('./chunk-ZUNVPK23.cjs');require('./chunk-NI434OII.cjs');require('./chunk-Q7I37FJV.cjs');async function y({auth:s,requestReceiptFolder:r,sombraAuth:o,actions:a,statuses:i,requestIds:n,createdAt:c,emailIsVerified:u,silentModeBefore:d,sendEmailReceipt:m,copyIdentifiers:p,skipWaitingPeriod:l,createdAtBefore:f,createdAtAfter:R,concurrency:q,transcendUrl:g}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit),await _chunk5PTFTN6Jcjs.Kf.call(void 0, {requestReceiptFolder:r,auth:s,sombraAuth:o,requestActions:a,requestStatuses:i,requestIds:n,createdAt:c,emailIsVerified:u,silentModeBefore:d,sendEmailReceipt:m,copyIdentifiers:p,skipWaitingPeriod:l,createdAtBefore:f,createdAtAfter:R,concurrency:q,transcendUrl:g})}exports.restart = y;
2
- //# sourceMappingURL=impl-HEPMD6RG.cjs.map
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');var _chunkGC3HFDP4cjs = require('./chunk-GC3HFDP4.cjs');require('./chunk-LCDYXJN6.cjs');require('./chunk-ZUNVPK23.cjs');require('./chunk-6WIX75ZF.cjs');require('./chunk-Q7I37FJV.cjs');async function y({auth:s,requestReceiptFolder:r,sombraAuth:o,actions:a,statuses:i,requestIds:n,createdAt:c,emailIsVerified:u,silentModeBefore:d,sendEmailReceipt:m,copyIdentifiers:p,skipWaitingPeriod:l,createdAtBefore:f,createdAtAfter:R,concurrency:q,transcendUrl:g}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit),await _chunkGC3HFDP4cjs.Kf.call(void 0, {requestReceiptFolder:r,auth:s,sombraAuth:o,requestActions:a,requestStatuses:i,requestIds:n,createdAt:c,emailIsVerified:u,silentModeBefore:d,sendEmailReceipt:m,copyIdentifiers:p,skipWaitingPeriod:l,createdAtBefore:f,createdAtAfter:R,concurrency:q,transcendUrl:g})}exports.restart = y;
2
+ //# sourceMappingURL=impl-ZCXWTUMJ.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-HEPMD6RG.cjs","../src/commands/request/restart/impl.ts"],"names":["restart","auth","requestReceiptFolder","sombraAuth","actions","statuses","requestIds","createdAt","emailIsVerified","silentModeBefore","sendEmailReceipt","copyIdentifiers","skipWaitingPeriod","createdAtBefore","createdAtAfter","concurrency","transcendUrl","doneInputValidation","bulkRestartRequests"],"mappings":"AAAA,iIAAwC,wDAA0C,gCAA6B,gCAA6B,gCAA6B,gCAA6B,MCwBtM,SAAsBA,CAAAA,CAEpB,CACE,IAAA,CAAAC,CAAAA,CACA,oBAAA,CAAAC,CAAAA,CACA,UAAA,CAAAC,CAAAA,CACA,OAAA,CAAAC,CAAAA,CACA,QAAA,CAAAC,CAAAA,CACA,UAAA,CAAAC,CAAAA,CACA,SAAA,CAAAC,CAAAA,CACA,eAAA,CAAAC,CAAAA,CACA,gBAAA,CAAAC,CAAAA,CACA,gBAAA,CAAAC,CAAAA,CACA,eAAA,CAAAC,CAAAA,CACA,iBAAA,CAAAC,CAAAA,CACA,eAAA,CAAAC,CAAAA,CACA,cAAA,CAAAC,CAAAA,CACA,WAAA,CAAAC,CAAAA,CACA,YAAA,CAAAC,CACF,CAAA,CACe,CACfC,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAErC,MAAMC,kCAAAA,CACJ,oBAAA,CAAAhB,CAAAA,CACA,IAAA,CAAAD,CAAAA,CACA,UAAA,CAAAE,CAAAA,CACA,cAAA,CAAgBC,CAAAA,CAChB,eAAA,CAAiBC,CAAAA,CACjB,UAAA,CAAAC,CAAAA,CACA,SAAA,CAAAC,CAAAA,CACA,eAAA,CAAAC,CAAAA,CACA,gBAAA,CAAAC,CAAAA,CACA,gBAAA,CAAAC,CAAAA,CACA,eAAA,CAAAC,CAAAA,CACA,iBAAA,CAAAC,CAAAA,CACA,eAAA,CAAAC,CAAAA,CACA,cAAA,CAAAC,CAAAA,CACA,WAAA,CAAAC,CAAAA,CACA,YAAA,CAAAC,CACF,CAAC,CACH,CAAA,oBAAA","file":"/home/runner/work/cli/cli/dist/impl-HEPMD6RG.cjs","sourcesContent":[null,"import type { LocalContext } from '../../../context';\nimport { bulkRestartRequests } from '../../../lib/requests';\nimport type { RequestAction, RequestStatus } from '@transcend-io/privacy-types';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation';\n\nexport interface RestartCommandFlags {\n auth: string;\n actions: RequestAction[];\n statuses: RequestStatus[];\n transcendUrl: string;\n requestReceiptFolder: string;\n sombraAuth?: string;\n concurrency: number;\n requestIds?: string[];\n emailIsVerified: boolean;\n createdAt?: Date;\n silentModeBefore?: Date;\n createdAtBefore?: Date;\n createdAtAfter?: Date;\n sendEmailReceipt: boolean;\n copyIdentifiers: boolean;\n skipWaitingPeriod: boolean;\n}\n\nexport async function restart(\n this: LocalContext,\n {\n auth,\n requestReceiptFolder,\n sombraAuth,\n actions,\n statuses,\n requestIds,\n createdAt,\n emailIsVerified,\n silentModeBefore,\n sendEmailReceipt,\n copyIdentifiers,\n skipWaitingPeriod,\n createdAtBefore,\n createdAtAfter,\n concurrency,\n transcendUrl,\n }: RestartCommandFlags,\n): Promise<void> {\n doneInputValidation(this.process.exit);\n\n await bulkRestartRequests({\n requestReceiptFolder,\n auth,\n sombraAuth,\n requestActions: actions,\n requestStatuses: statuses,\n requestIds,\n createdAt,\n emailIsVerified,\n silentModeBefore,\n sendEmailReceipt,\n copyIdentifiers,\n skipWaitingPeriod,\n createdAtBefore,\n createdAtAfter,\n concurrency,\n transcendUrl,\n });\n}\n"]}
1
+ {"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-ZCXWTUMJ.cjs","../src/commands/request/restart/impl.ts"],"names":["restart","auth","requestReceiptFolder","sombraAuth","actions","statuses","requestIds","createdAt","emailIsVerified","silentModeBefore","sendEmailReceipt","copyIdentifiers","skipWaitingPeriod","createdAtBefore","createdAtAfter","concurrency","transcendUrl","doneInputValidation","bulkRestartRequests"],"mappings":"AAAA,iIAAwC,wDAA0C,gCAA6B,gCAA6B,gCAA6B,gCAA6B,MCwBtM,SAAsBA,CAAAA,CAEpB,CACE,IAAA,CAAAC,CAAAA,CACA,oBAAA,CAAAC,CAAAA,CACA,UAAA,CAAAC,CAAAA,CACA,OAAA,CAAAC,CAAAA,CACA,QAAA,CAAAC,CAAAA,CACA,UAAA,CAAAC,CAAAA,CACA,SAAA,CAAAC,CAAAA,CACA,eAAA,CAAAC,CAAAA,CACA,gBAAA,CAAAC,CAAAA,CACA,gBAAA,CAAAC,CAAAA,CACA,eAAA,CAAAC,CAAAA,CACA,iBAAA,CAAAC,CAAAA,CACA,eAAA,CAAAC,CAAAA,CACA,cAAA,CAAAC,CAAAA,CACA,WAAA,CAAAC,CAAAA,CACA,YAAA,CAAAC,CACF,CAAA,CACe,CACfC,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAErC,MAAMC,kCAAAA,CACJ,oBAAA,CAAAhB,CAAAA,CACA,IAAA,CAAAD,CAAAA,CACA,UAAA,CAAAE,CAAAA,CACA,cAAA,CAAgBC,CAAAA,CAChB,eAAA,CAAiBC,CAAAA,CACjB,UAAA,CAAAC,CAAAA,CACA,SAAA,CAAAC,CAAAA,CACA,eAAA,CAAAC,CAAAA,CACA,gBAAA,CAAAC,CAAAA,CACA,gBAAA,CAAAC,CAAAA,CACA,eAAA,CAAAC,CAAAA,CACA,iBAAA,CAAAC,CAAAA,CACA,eAAA,CAAAC,CAAAA,CACA,cAAA,CAAAC,CAAAA,CACA,WAAA,CAAAC,CAAAA,CACA,YAAA,CAAAC,CACF,CAAC,CACH,CAAA,oBAAA","file":"/home/runner/work/cli/cli/dist/impl-ZCXWTUMJ.cjs","sourcesContent":[null,"import type { LocalContext } from '../../../context';\nimport { bulkRestartRequests } from '../../../lib/requests';\nimport type { RequestAction, RequestStatus } from '@transcend-io/privacy-types';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation';\n\nexport interface RestartCommandFlags {\n auth: string;\n actions: RequestAction[];\n statuses: RequestStatus[];\n transcendUrl: string;\n requestReceiptFolder: string;\n sombraAuth?: string;\n concurrency: number;\n requestIds?: string[];\n emailIsVerified: boolean;\n createdAt?: Date;\n silentModeBefore?: Date;\n createdAtBefore?: Date;\n createdAtAfter?: Date;\n sendEmailReceipt: boolean;\n copyIdentifiers: boolean;\n skipWaitingPeriod: boolean;\n}\n\nexport async function restart(\n this: LocalContext,\n {\n auth,\n requestReceiptFolder,\n sombraAuth,\n actions,\n statuses,\n requestIds,\n createdAt,\n emailIsVerified,\n silentModeBefore,\n sendEmailReceipt,\n copyIdentifiers,\n skipWaitingPeriod,\n createdAtBefore,\n createdAtAfter,\n concurrency,\n transcendUrl,\n }: RestartCommandFlags,\n): Promise<void> {\n doneInputValidation(this.process.exit);\n\n await bulkRestartRequests({\n requestReceiptFolder,\n auth,\n sombraAuth,\n requestActions: actions,\n requestStatuses: statuses,\n requestIds,\n createdAt,\n emailIsVerified,\n silentModeBefore,\n sendEmailReceipt,\n copyIdentifiers,\n skipWaitingPeriod,\n createdAtBefore,\n createdAtAfter,\n concurrency,\n transcendUrl,\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 _chunkGG7P2RO6cjs = require('./chunk-GG7P2RO6.cjs');var _chunkKYVDLURLcjs = require('./chunk-KYVDLURL.cjs');var _chunkIBTP5OXEcjs = require('./chunk-IBTP5OXE.cjs');var _chunkRE5YALEOcjs = require('./chunk-RE5YALEO.cjs');var _chunkCOKHIMLOcjs = require('./chunk-COKHIMLO.cjs');var _chunkLR3CPNDMcjs = require('./chunk-LR3CPNDM.cjs');var _chunk7ZGJ4MJFcjs = require('./chunk-7ZGJ4MJF.cjs');var _chunkF3BRFYKDcjs = require('./chunk-F3BRFYKD.cjs');var _chunkMOWFESXNcjs = require('./chunk-MOWFESXN.cjs');var _chunk5UBGZNDCcjs = require('./chunk-5UBGZNDC.cjs');var _chunk5PTFTN6Jcjs = require('./chunk-5PTFTN6J.cjs');var _chunkLCDYXJN6cjs = require('./chunk-LCDYXJN6.cjs');require('./chunk-ZUNVPK23.cjs');var _chunkNI434OIIcjs = require('./chunk-NI434OII.cjs');var _chunkQ7I37FJVcjs = require('./chunk-Q7I37FJV.cjs');var _typeutils = require('@transcend-io/type-utils');var _handlebarsutils = require('@transcend-io/handlebars-utils');var _privacytypes = require('@transcend-io/privacy-types');var T=20;async function D(a){let e=[],r=0,t=!1;do{let{largeLanguageModels:{nodes:s}}=await _chunk5PTFTN6Jcjs.kg.call(void 0, a,_chunk5PTFTN6Jcjs.Gb,{first:T,offset:r});e.push(...s),r+=T,t=s.length===T}while(t);return e.sort((s,o)=>s.name.localeCompare(o.name))}var _bluebird = require('bluebird');function j(a){return new RegExp(`<${a}>([\\s\\S]+?)<\\/${a}>`)}function Wm(a){return a}var H=a=>{try{return JSON.parse(a)}catch (e2){return a}},B= exports.TranscendPromptManager = (_class =class{__init() {this.largeLanguageModels=[]}__init2() {this.agentsByName={}}__init3() {this.agentsByAgentId={}}constructor({prompts:e,handlebarsOptions:r={},transcendUrl:t=_chunkNI434OIIcjs.r,transcendApiKey:s,requireApproval:o=!0,cacheDuration:i,defaultVariables:p={}}){;_class.prototype.__init.call(this);_class.prototype.__init2.call(this);_class.prototype.__init3.call(this);this.prompts=e,this.transcendUrl=t,this.transcendApiKey=s,this.variables=p,this.defaultVariables=p,this.graphQLClient=_chunk5PTFTN6Jcjs.wc.call(void 0, t,typeof s=="object"?s.release():s),this.requireApproval=o,this.cacheDuration=i,this.handlebarsOptions=r,this.handlebars=_handlebarsutils.createHandlebarsWithHelpers.call(void 0, r)}async fetchPromptsAndMetadata(){let e=_typeutils.getValues.call(void 0, this.prompts),r=e.map(({id:n})=>n).filter(n=>!!n),t=e.map(({title:n})=>n).filter(n=>!!n),s=_chunkNI434OIIcjs.j.call(void 0, e.map(({agentNames:n})=>n||[]).flat()),[o,i,p]=await Promise.all([_chunk5PTFTN6Jcjs.Cd.call(void 0, this.graphQLClient,{promptIds:r,promptTitles:t}),D(this.graphQLClient),_chunk5PTFTN6Jcjs.Gc.call(void 0, this.graphQLClient,{names:s})]);this.agentsByName=_chunkNI434OIIcjs.e.call(void 0, p,"name"),this.agentsByAgentId=_chunkNI434OIIcjs.e.call(void 0, p,"agentId"),this.largeLanguageModels=i.filter(n=>n.isTranscendHosted===!1);let m=_chunkNI434OIIcjs.e.call(void 0, o.prompts,"title"),c=_chunkNI434OIIcjs.e.call(void 0, o.prompts,"id");return this.variables={...o.calculatedVariables.reduce((n,g)=>Object.assign(n,{[g.name]:g.data?JSON.parse(g.data):g.data}),{}),...this.defaultVariables},this.handlebars=_handlebarsutils.createHandlebarsWithHelpers.call(void 0, {...this.handlebarsOptions,templates:[...this.handlebarsOptions.templates||[],...o.promptPartials.map(n=>({name:n.slug,content:n.content}))]}),this.promptContentMap=_typeutils.apply.call(void 0, this.prompts,({id:n,title:g})=>{let d=n?c[n]:g?m[g]:void 0;if(!d)throw new Error(`Failed to find prompt with title: "${g}" and id: "${n}"`);return d}),this.lastUpdatedAt=new Date,o}async getAgentByName(e){let r=this.agentsByName[e];if(r)return r;let[t]=await _chunk5PTFTN6Jcjs.Gc.call(void 0, this.graphQLClient,{names:[e]});if(t)return this.agentsByName[t.name]=t,this.agentsByAgentId[t.agentId]=t,t}async getPromptThreadBySlackTs(e){let[r]=await _chunk5PTFTN6Jcjs.Dd.call(void 0, this.graphQLClient,{slackMessageTs:[e]});return r}async getAgentsByName(e){if(e.length<1)throw new Error("Expected at least one name to be provided");let{hasCache:r=[],missingCache:t=[]}=_chunkNI434OIIcjs.d.call(void 0, e,p=>this.agentsByName[p]?"hasCache":"missingCache"),s=r.map(p=>this.agentsByName[p]);if(t.length===0)return s;let o=_chunkNI434OIIcjs.b.call(void 0, t,50),i=[];return await _bluebird.mapSeries.call(void 0, o,async p=>{let m=await _chunk5PTFTN6Jcjs.Gc.call(void 0, this.graphQLClient,{names:p});m.forEach(c=>{this.agentsByName[c.name]=c,this.agentsByAgentId[c.agentId]=c}),i.push(...m)}),[...s,...i]}getAgentFiles(e){return _chunk5PTFTN6Jcjs.Ec.call(void 0, this.graphQLClient,e)}getLargeLanguageModel(e){let r=this.largeLanguageModels.find(t=>typeof e=="string"?t.id===e:t.name===e.name&&t.client===e.client);if(!r)throw new Error(`Failed to find model matching: ${typeof e=="string"?e:JSON.stringify(e)}`);return r}async getPromptDefinition(e){(!this.lastUpdatedAt||this.cacheDuration===0||this.cacheDuration&&Date.now()-this.lastUpdatedAt.getTime()>this.cacheDuration)&&await this.fetchPromptsAndMetadata();let{promptContentMap:r}=this;if(!r)throw new Error("Expected this.promptContentMap to be defined");let t=r[e];if(!t)throw new Error(`Expected this.promptContentMap[${e}] to be defined`);return t}async compilePrompt(e,r){let t=await this.getPromptDefinition(e),s=this.prompts[e];if(!s)throw new Error(`Expected this.prompts[${e}] to be defined`);if(this.requireApproval&&t.status!==_privacytypes.PromptStatus.Approved)throw new Error(`Assessment "${t.title}" cannot be used because its in status: "${t.status}"`);if(t.status===_privacytypes.PromptStatus.Rejected)throw new Error(`Assessment "${t.title}" cannot be used because it's in status: "${t.status}"`);return _typeutils.decodeCodec.call(void 0, s.paramCodec,r),this.handlebars.compile(t.content)({currentDate:new Date().toISOString(),...this.variables,...r})}parseAiResponse(e,r){let t=this.prompts[e];if(!t)throw new Error(`Expected this.prompts[${e}] to be defined`);let s=t.extractFromTag&&(j(t.extractFromTag).exec(r)||[])[1]||r;return _typeutils.decodeCodec.call(void 0, t.outputCodec,H(s),!1)}async reportAndParsePromptRun(e,{largeLanguageModel:r,...t}){(!this.lastUpdatedAt||this.cacheDuration===0||this.cacheDuration&&Date.now()-this.lastUpdatedAt.getTime()>this.cacheDuration)&&await this.fetchPromptsAndMetadata();let s=t.name||`@transcend-io/cli-prompt-run-${new Date().toISOString()}`;if(!this.promptContentMap)throw new Error("Expected this.promptContentMap to be defined");let o=this.promptContentMap[e];if(!o)throw new Error(`Expected this.prompts[${e}] to be defined`);if(t.promptRunMessages.length===0)throw new Error("promptRunMessages is expected to have length > 0");if(t.promptRunMessages[0].role!==_privacytypes.ChatCompletionRole.System)throw new Error(`promptRunMessages[0].role is expected to be = ${_privacytypes.ChatCompletionRole.System}`);if(t.promptRunMessages[t.promptRunMessages.length-1].role!==_privacytypes.ChatCompletionRole.Assistant)throw new Error(`promptRunMessages[${t.promptRunMessages.length-1}].role is expected to be = ${_privacytypes.ChatCompletionRole.Assistant}`);let i=t.promptRunMessages[t.promptRunMessages.length-1].content,p;try{p=this.parseAiResponse(e,i)}catch(c){throw await _chunk5PTFTN6Jcjs.he.call(void 0, this.graphQLClient,{productArea:_privacytypes.PromptRunProductArea.PromptManager,...t,name:s,error:c.message,status:_privacytypes.QueueStatus.Error,...typeof r=="string"?{largeLanguageModelId:r}:{largeLanguageModelName:r.name,largeLanguageModelClient:r.client},promptId:o.id,promptRunMessages:t.promptRunMessages.map((n,g)=>({...n,...g===0?{template:o.content}:{}}))}),c}let m=await _chunk5PTFTN6Jcjs.he.call(void 0, this.graphQLClient,{productArea:_privacytypes.PromptRunProductArea.PromptManager,...t,name:s,status:_privacytypes.QueueStatus.Resolved,...typeof r=="string"?{largeLanguageModelId:r}:{largeLanguageModelName:r.name,largeLanguageModelClient:r.client},promptId:o.id,promptRunMessages:t.promptRunMessages.map((c,n)=>({...c,...n===0?{template:o.content}:{}}))});return{result:p,promptRunId:m,promptRunUrl:`https://app.transcend.io/prompts/runs/${m}`}}async reportPromptRunError(e,{largeLanguageModel:r,...t}){(!this.lastUpdatedAt||this.cacheDuration===0||this.cacheDuration&&Date.now()-this.lastUpdatedAt.getTime()>this.cacheDuration)&&await this.fetchPromptsAndMetadata();let s=t.name||`@transcend-io/cli-prompt-run-${new Date().toISOString()}`;if(!this.promptContentMap)throw new Error("Expected this.promptContentMap to be defined");let o=this.promptContentMap[e];if(!o)throw new Error(`Expected this.prompts[${e}] to be defined`);if(t.promptRunMessages.length===0)throw new Error("promptRunMessages is expected to have length > 0");if(t.promptRunMessages[0].role!==_privacytypes.ChatCompletionRole.System)throw new Error(`promptRunMessages[0].role is expected to be = ${_privacytypes.ChatCompletionRole.System}`);let i=await _chunk5PTFTN6Jcjs.he.call(void 0, this.graphQLClient,{productArea:_privacytypes.PromptRunProductArea.PromptManager,...t,name:s,status:_privacytypes.QueueStatus.Error,...typeof r=="string"?{largeLanguageModelId:r}:{largeLanguageModelName:r.name,largeLanguageModelClient:r.client},promptId:o.id,promptRunMessages:t.promptRunMessages.map((p,m)=>({...p,...m===0?{template:o.content}:{}}))});return{promptRunId:i,promptRunUrl:`https://app.transcend.io/prompts/runs/${i}`}}}, _class);function Km(a){let e=/(https?:\/\/[^\s]+)/g;return a.replace(e,"<link-omitted>")}function Ym(a){return Object.entries(a).reduce((e,[r,t])=>t!=null&&t!==""&&!(Array.isArray(t)&&t.length===0)&&!(typeof t=="object"&&Object.keys(t).length===0)?Object.assign(e,{[r]:t}):e,{})}var _fastglob = require('fast-glob'); var _fastglob2 = _interopRequireDefault(_fastglob);var _child_process = require('child_process');function sc({baseBranch:a,rootDirectory:e,githubRepo:r,excludedGlob:t=[],fileBlockList:s=[]}){_child_process.execSync.call(void 0, `git fetch origin ${a}`);let o=_child_process.execSync.call(void 0, `git ls-remote ${r} "refs/heads/${a}" | cut -f 1`,{encoding:"utf-8"}).split(`
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } var _class;var _chunkCD32SMHCcjs = require('./chunk-CD32SMHC.cjs');var _chunk7UB5BB7Kcjs = require('./chunk-7UB5BB7K.cjs');var _chunkOM2P5WDQcjs = require('./chunk-OM2P5WDQ.cjs');var _chunkIBTP5OXEcjs = require('./chunk-IBTP5OXE.cjs');var _chunkRE5YALEOcjs = require('./chunk-RE5YALEO.cjs');var _chunkFWTJQA4Mcjs = require('./chunk-FWTJQA4M.cjs');var _chunkM2ARSCLFcjs = require('./chunk-M2ARSCLF.cjs');var _chunk4MXXWDM2cjs = require('./chunk-4MXXWDM2.cjs');var _chunk5UBGZNDCcjs = require('./chunk-5UBGZNDC.cjs');var _chunkGC3HFDP4cjs = require('./chunk-GC3HFDP4.cjs');var _chunkLCDYXJN6cjs = require('./chunk-LCDYXJN6.cjs');require('./chunk-ZUNVPK23.cjs');var _chunk6WIX75ZFcjs = require('./chunk-6WIX75ZF.cjs');var _chunkQ7I37FJVcjs = require('./chunk-Q7I37FJV.cjs');var _typeutils = require('@transcend-io/type-utils');var _handlebarsutils = require('@transcend-io/handlebars-utils');var _privacytypes = require('@transcend-io/privacy-types');var T=20;async function D(a){let e=[],r=0,t=!1;do{let{largeLanguageModels:{nodes:s}}=await _chunkGC3HFDP4cjs.pg.call(void 0, a,_chunkGC3HFDP4cjs.Gb,{first:T,offset:r});e.push(...s),r+=T,t=s.length===T}while(t);return e.sort((s,o)=>s.name.localeCompare(o.name))}var _bluebird = require('bluebird');function j(a){return new RegExp(`<${a}>([\\s\\S]+?)<\\/${a}>`)}function Wm(a){return a}var H=a=>{try{return JSON.parse(a)}catch (e2){return a}},B= exports.TranscendPromptManager = (_class =class{__init() {this.largeLanguageModels=[]}__init2() {this.agentsByName={}}__init3() {this.agentsByAgentId={}}constructor({prompts:e,handlebarsOptions:r={},transcendUrl:t=_chunk6WIX75ZFcjs.r,transcendApiKey:s,requireApproval:o=!0,cacheDuration:i,defaultVariables:p={}}){;_class.prototype.__init.call(this);_class.prototype.__init2.call(this);_class.prototype.__init3.call(this);this.prompts=e,this.transcendUrl=t,this.transcendApiKey=s,this.variables=p,this.defaultVariables=p,this.graphQLClient=_chunkGC3HFDP4cjs.wc.call(void 0, t,typeof s=="object"?s.release():s),this.requireApproval=o,this.cacheDuration=i,this.handlebarsOptions=r,this.handlebars=_handlebarsutils.createHandlebarsWithHelpers.call(void 0, r)}async fetchPromptsAndMetadata(){let e=_typeutils.getValues.call(void 0, this.prompts),r=e.map(({id:n})=>n).filter(n=>!!n),t=e.map(({title:n})=>n).filter(n=>!!n),s=_chunk6WIX75ZFcjs.j.call(void 0, e.map(({agentNames:n})=>n||[]).flat()),[o,i,p]=await Promise.all([_chunkGC3HFDP4cjs.Cd.call(void 0, this.graphQLClient,{promptIds:r,promptTitles:t}),D(this.graphQLClient),_chunkGC3HFDP4cjs.Gc.call(void 0, this.graphQLClient,{names:s})]);this.agentsByName=_chunk6WIX75ZFcjs.e.call(void 0, p,"name"),this.agentsByAgentId=_chunk6WIX75ZFcjs.e.call(void 0, p,"agentId"),this.largeLanguageModels=i.filter(n=>n.isTranscendHosted===!1);let m=_chunk6WIX75ZFcjs.e.call(void 0, o.prompts,"title"),c=_chunk6WIX75ZFcjs.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 _chunkGC3HFDP4cjs.Gc.call(void 0, this.graphQLClient,{names:[e]});if(t)return this.agentsByName[t.name]=t,this.agentsByAgentId[t.agentId]=t,t}async getPromptThreadBySlackTs(e){let[r]=await _chunkGC3HFDP4cjs.Dd.call(void 0, this.graphQLClient,{slackMessageTs:[e]});return r}async getAgentsByName(e){if(e.length<1)throw new Error("Expected at least one name to be provided");let{hasCache:r=[],missingCache:t=[]}=_chunk6WIX75ZFcjs.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=_chunk6WIX75ZFcjs.b.call(void 0, t,50),i=[];return await _bluebird.mapSeries.call(void 0, o,async p=>{let m=await _chunkGC3HFDP4cjs.Gc.call(void 0, this.graphQLClient,{names:p});m.forEach(c=>{this.agentsByName[c.name]=c,this.agentsByAgentId[c.agentId]=c}),i.push(...m)}),[...s,...i]}getAgentFiles(e){return _chunkGC3HFDP4cjs.Ec.call(void 0, this.graphQLClient,e)}getLargeLanguageModel(e){let r=this.largeLanguageModels.find(t=>typeof e=="string"?t.id===e:t.name===e.name&&t.client===e.client);if(!r)throw new Error(`Failed to find model matching: ${typeof e=="string"?e:JSON.stringify(e)}`);return r}async getPromptDefinition(e){(!this.lastUpdatedAt||this.cacheDuration===0||this.cacheDuration&&Date.now()-this.lastUpdatedAt.getTime()>this.cacheDuration)&&await this.fetchPromptsAndMetadata();let{promptContentMap:r}=this;if(!r)throw new Error("Expected this.promptContentMap to be defined");let t=r[e];if(!t)throw new Error(`Expected this.promptContentMap[${e}] to be defined`);return t}async compilePrompt(e,r){let t=await this.getPromptDefinition(e),s=this.prompts[e];if(!s)throw new Error(`Expected this.prompts[${e}] to be defined`);if(this.requireApproval&&t.status!==_privacytypes.PromptStatus.Approved)throw new Error(`Assessment "${t.title}" cannot be used because its in status: "${t.status}"`);if(t.status===_privacytypes.PromptStatus.Rejected)throw new Error(`Assessment "${t.title}" cannot be used because it's in status: "${t.status}"`);return _typeutils.decodeCodec.call(void 0, s.paramCodec,r),this.handlebars.compile(t.content)({currentDate:new Date().toISOString(),...this.variables,...r})}parseAiResponse(e,r){let t=this.prompts[e];if(!t)throw new Error(`Expected this.prompts[${e}] to be defined`);let s=t.extractFromTag&&(j(t.extractFromTag).exec(r)||[])[1]||r;return _typeutils.decodeCodec.call(void 0, t.outputCodec,H(s),!1)}async reportAndParsePromptRun(e,{largeLanguageModel:r,...t}){(!this.lastUpdatedAt||this.cacheDuration===0||this.cacheDuration&&Date.now()-this.lastUpdatedAt.getTime()>this.cacheDuration)&&await this.fetchPromptsAndMetadata();let s=t.name||`@transcend-io/cli-prompt-run-${new Date().toISOString()}`;if(!this.promptContentMap)throw new Error("Expected this.promptContentMap to be defined");let o=this.promptContentMap[e];if(!o)throw new Error(`Expected this.prompts[${e}] to be defined`);if(t.promptRunMessages.length===0)throw new Error("promptRunMessages is expected to have length > 0");if(t.promptRunMessages[0].role!==_privacytypes.ChatCompletionRole.System)throw new Error(`promptRunMessages[0].role is expected to be = ${_privacytypes.ChatCompletionRole.System}`);if(t.promptRunMessages[t.promptRunMessages.length-1].role!==_privacytypes.ChatCompletionRole.Assistant)throw new Error(`promptRunMessages[${t.promptRunMessages.length-1}].role is expected to be = ${_privacytypes.ChatCompletionRole.Assistant}`);let i=t.promptRunMessages[t.promptRunMessages.length-1].content,p;try{p=this.parseAiResponse(e,i)}catch(c){throw await _chunkGC3HFDP4cjs.he.call(void 0, this.graphQLClient,{productArea:_privacytypes.PromptRunProductArea.PromptManager,...t,name:s,error:c.message,status:_privacytypes.QueueStatus.Error,...typeof r=="string"?{largeLanguageModelId:r}:{largeLanguageModelName:r.name,largeLanguageModelClient:r.client},promptId:o.id,promptRunMessages:t.promptRunMessages.map((n,g)=>({...n,...g===0?{template:o.content}:{}}))}),c}let m=await _chunkGC3HFDP4cjs.he.call(void 0, this.graphQLClient,{productArea:_privacytypes.PromptRunProductArea.PromptManager,...t,name:s,status:_privacytypes.QueueStatus.Resolved,...typeof r=="string"?{largeLanguageModelId:r}:{largeLanguageModelName:r.name,largeLanguageModelClient:r.client},promptId:o.id,promptRunMessages:t.promptRunMessages.map((c,n)=>({...c,...n===0?{template:o.content}:{}}))});return{result:p,promptRunId:m,promptRunUrl:`https://app.transcend.io/prompts/runs/${m}`}}async reportPromptRunError(e,{largeLanguageModel:r,...t}){(!this.lastUpdatedAt||this.cacheDuration===0||this.cacheDuration&&Date.now()-this.lastUpdatedAt.getTime()>this.cacheDuration)&&await this.fetchPromptsAndMetadata();let s=t.name||`@transcend-io/cli-prompt-run-${new Date().toISOString()}`;if(!this.promptContentMap)throw new Error("Expected this.promptContentMap to be defined");let o=this.promptContentMap[e];if(!o)throw new Error(`Expected this.prompts[${e}] to be defined`);if(t.promptRunMessages.length===0)throw new Error("promptRunMessages is expected to have length > 0");if(t.promptRunMessages[0].role!==_privacytypes.ChatCompletionRole.System)throw new Error(`promptRunMessages[0].role is expected to be = ${_privacytypes.ChatCompletionRole.System}`);let i=await _chunkGC3HFDP4cjs.he.call(void 0, this.graphQLClient,{productArea:_privacytypes.PromptRunProductArea.PromptManager,...t,name:s,status:_privacytypes.QueueStatus.Error,...typeof r=="string"?{largeLanguageModelId:r}:{largeLanguageModelName:r.name,largeLanguageModelClient:r.client},promptId:o.id,promptRunMessages:t.promptRunMessages.map((p,m)=>({...p,...m===0?{template:o.content}:{}}))});return{promptRunId:i,promptRunUrl:`https://app.transcend.io/prompts/runs/${i}`}}}, _class);function Km(a){let e=/(https?:\/\/[^\s]+)/g;return a.replace(e,"<link-omitted>")}function Ym(a){return Object.entries(a).reduce((e,[r,t])=>t!=null&&t!==""&&!(Array.isArray(t)&&t.length===0)&&!(typeof t=="object"&&Object.keys(t).length===0)?Object.assign(e,{[r]:t}):e,{})}var _fastglob = require('fast-glob'); var _fastglob2 = _interopRequireDefault(_fastglob);var _child_process = require('child_process');function sc({baseBranch:a,rootDirectory:e,githubRepo:r,excludedGlob:t=[],fileBlockList:s=[]}){_child_process.execSync.call(void 0, `git fetch origin ${a}`);let o=_child_process.execSync.call(void 0, `git ls-remote ${r} "refs/heads/${a}" | cut -f 1`,{encoding:"utf-8"}).split(`
2
2
  `)[0],i=_child_process.execSync.call(void 0, "git rev-parse HEAD",{encoding:"utf-8"}).split(`
3
- `)[0];if(!o||!i)throw new Error("FAILED TO FIND COMMIT RANGE");let p=_child_process.execSync.call(void 0, `git fetch && git diff --name-only "${a||o}...${i}" -- ${e}`,{encoding:"utf-8"}),m=_chunkNI434OIIcjs.c.call(void 0, p.split(`
4
- `).filter(d=>d),s),c=t.length>0?_fastglob2.default.sync(m,{ignore:t}):m,n={};c.forEach(d=>{let F=_child_process.execSync.call(void 0, `git show ${i}:${d}`,{encoding:"utf-8"});n[d]=F});let g=r.split("/").pop().split(".")[0];return{changedFiles:m,fileDiffs:n,repoName:g,commit:i}}exports.ACTIONS = _chunk5PTFTN6Jcjs.ub; exports.ADD_MESSAGES_TO_PROMPT_RUN = _chunk5PTFTN6Jcjs.Ha; exports.ADD_SILO_DISCOVERY_RESULTS = _chunk5PTFTN6Jcjs.H; exports.ADMIN_DASH = _chunkNI434OIIcjs.o; exports.ADMIN_DASH_DATAPOINTS = _chunkNI434OIIcjs.q; exports.ADMIN_DASH_INTEGRATIONS = _chunkNI434OIIcjs.p; exports.AGENTS = _chunk5PTFTN6Jcjs.Hb; exports.AGENT_FILES = _chunk5PTFTN6Jcjs.Kb; exports.AGENT_FUNCTIONS = _chunk5PTFTN6Jcjs.Nb; exports.API_KEYS = _chunk5PTFTN6Jcjs.D; exports.APPROVE_PRIVACY_REQUEST = _chunk5PTFTN6Jcjs.X; exports.ASSESSMENTS = _chunk5PTFTN6Jcjs.fa; exports.ASSESSMENT_SECTION_FIELDS = _chunk5PTFTN6Jcjs.ea; exports.ASSESSMENT_TEMPLATES = _chunk5PTFTN6Jcjs.ja; exports.ASSUME_ROLE = _chunk5PTFTN6Jcjs.Fb; exports.ATTRIBUTES = _chunk5PTFTN6Jcjs.La; exports.ATTRIBUTE_KEYS_REQUESTS = _chunk5PTFTN6Jcjs.M; exports.ATTRIBUTE_VALUES = _chunk5PTFTN6Jcjs.Pa; exports.ActionInput = _chunk5UBGZNDCcjs.G; exports.ActionItemCollectionInput = _chunk5UBGZNDCcjs.R; exports.ActionItemInput = _chunk5UBGZNDCcjs.S; exports.AgentFileInput = _chunk5UBGZNDCcjs.o; exports.AgentFunctionInput = _chunk5UBGZNDCcjs.n; exports.AgentInput = _chunk5UBGZNDCcjs.m; exports.ApiKeyInput = _chunk5UBGZNDCcjs.c; exports.AssessmentAction = _chunk5PTFTN6Jcjs.Rd; exports.AssessmentAnswerOptionInput = _chunk5UBGZNDCcjs.Y; exports.AssessmentDisplayLogicInput = _chunk5UBGZNDCcjs.V; exports.AssessmentInput = _chunk5UBGZNDCcjs.ca; exports.AssessmentNestedRule = _chunk5PTFTN6Jcjs.Qd; exports.AssessmentNestedRuleInput = _chunk5UBGZNDCcjs.U; exports.AssessmentResourceInput = _chunk5UBGZNDCcjs.ba; exports.AssessmentRetentionScheduleInput = _chunk5UBGZNDCcjs.$; exports.AssessmentRiskLogic = _chunk5PTFTN6Jcjs.Td; exports.AssessmentRule = _chunk5PTFTN6Jcjs.Pd; exports.AssessmentRuleInput = _chunk5UBGZNDCcjs.T; exports.AssessmentRuleWithOperands = _chunk5PTFTN6Jcjs.Nd; exports.AssessmentRuleWithoutOperands = _chunk5PTFTN6Jcjs.Od; exports.AssessmentSectionInput = _chunk5UBGZNDCcjs._; exports.AssessmentSectionQuestionInput = _chunk5UBGZNDCcjs.Z; exports.AssessmentTemplateInput = _chunk5UBGZNDCcjs.aa; exports.AttestedExtraIdentifiers = _chunk5PTFTN6Jcjs.qf; exports.AttributeInput = _chunk5UBGZNDCcjs.k; exports.AttributePreview = _chunk5UBGZNDCcjs.l; exports.AttributeValueInput = _chunk5UBGZNDCcjs.j; exports.BLANK = _chunk5PTFTN6Jcjs.dc; exports.BULK_APPLY = _chunk5PTFTN6Jcjs.cc; exports.BULK_REQUEST_FILES = _chunk5PTFTN6Jcjs.Fa; exports.BUSINESS_ENTITIES = _chunk5PTFTN6Jcjs.rb; exports.BusinessEntityInput = _chunk5UBGZNDCcjs.y; exports.CANCEL_PRIVACY_REQUEST = _chunk5PTFTN6Jcjs.Y; exports.CAN_APPLY_IN_BULK = _chunk5PTFTN6Jcjs.hc; exports.CATALOGS = _chunk5PTFTN6Jcjs.r; exports.CHANGE_REQUEST_DATA_SILO_STATUS = _chunk5PTFTN6Jcjs.va; exports.CODE_PACKAGES = _chunk5PTFTN6Jcjs.Q; exports.CONSENT_MANAGER_ANALYTICS_DATA = _chunk5PTFTN6Jcjs.qb; exports.CONSENT_PARTITIONS = _chunk5PTFTN6Jcjs.Ua; exports.COOKIES = _chunk5PTFTN6Jcjs.Za; exports.CREATE_ACTION_ITEMS = _chunk5PTFTN6Jcjs.yb; exports.CREATE_ACTION_ITEM_COLLECTION = _chunk5PTFTN6Jcjs.Ja; exports.CREATE_AGENT = _chunk5PTFTN6Jcjs.Ib; exports.CREATE_AGENT_FILE = _chunk5PTFTN6Jcjs.Lb; exports.CREATE_AGENT_FUNCTION = _chunk5PTFTN6Jcjs.Ob; exports.CREATE_API_KEY = _chunk5PTFTN6Jcjs.E; exports.CREATE_ATTRIBUTE = _chunk5PTFTN6Jcjs.Qa; exports.CREATE_ATTRIBUTE_VALUES = _chunk5PTFTN6Jcjs.Ma; exports.CREATE_BUSINESS_ENTITY = _chunk5PTFTN6Jcjs.sb; exports.CREATE_CODE_PACKAGE = _chunk5PTFTN6Jcjs.S; exports.CREATE_CONSENT_EXPERIENCE = _chunk5PTFTN6Jcjs.ob; exports.CREATE_CONSENT_MANAGER = _chunk5PTFTN6Jcjs.bb; exports.CREATE_CONSENT_PARTITION = _chunk5PTFTN6Jcjs.pb; exports.CREATE_DATA_FLOWS = _chunk5PTFTN6Jcjs.Va; exports.CREATE_DATA_SILOS = _chunk5PTFTN6Jcjs.m; exports.CREATE_DATA_SUBJECT = _chunk5PTFTN6Jcjs.x; exports.CREATE_DATA_SUB_CATEGORY = _chunk5PTFTN6Jcjs.Ub; exports.CREATE_ENRICHER = _chunk5PTFTN6Jcjs.p; exports.CREATE_IDENTIFIER = _chunk5PTFTN6Jcjs.u; exports.CREATE_PREFERENCE_ACCESS_TOKENS = _chunk5PTFTN6Jcjs.G; exports.CREATE_PROCESSING_ACTIVITY = _chunk5PTFTN6Jcjs._b; exports.CREATE_PROCESSING_PURPOSE_SUB_CATEGORY = _chunk5PTFTN6Jcjs.Xb; exports.CREATE_PROMPT = _chunk5PTFTN6Jcjs.pa; exports.CREATE_PROMPT_GROUP = _chunk5PTFTN6Jcjs.ta; exports.CREATE_PROMPT_PARTIAL = _chunk5PTFTN6Jcjs.ra; exports.CREATE_REPOSITORY = _chunk5PTFTN6Jcjs.C; exports.CREATE_SOFTWARE_DEVELOPMENT_KIT = _chunk5PTFTN6Jcjs.P; exports.CREATE_TEAM = _chunk5PTFTN6Jcjs.za; exports.CREATE_TEMPLATE = _chunk5PTFTN6Jcjs.K; exports.CREATE_VENDOR = _chunk5PTFTN6Jcjs.Rb; exports.CachedFileState = _chunk5PTFTN6Jcjs.ic; exports.CachedRequestState = _chunk5PTFTN6Jcjs.kc; exports.CodePackageInput = _chunk5UBGZNDCcjs.D; exports.CodePackageSdk = _chunk5UBGZNDCcjs.C; exports.ColumnName = _chunk5PTFTN6Jcjs.fc; exports.ConsentManageExperienceInput = _chunk5UBGZNDCcjs.K; exports.ConsentManagerInput = _chunk5UBGZNDCcjs.M; exports.ConsentManagerMetricBin = _chunk5PTFTN6Jcjs.Sc; exports.ConsentManagerServiceMetadata = _chunk5UBGZNDCcjs.ka; exports.ConsentPreferenceTopic = _chunk5UBGZNDCcjs.ea; exports.ConsentPreferenceTopicOptionValue = _chunk5UBGZNDCcjs.da; exports.ConsentPurpose = _chunk5UBGZNDCcjs.fa; exports.CookieCsvInput = _chunk5UBGZNDCcjs.ja; exports.CookieInput = _chunk5UBGZNDCcjs.J; exports.CronIdentifier = _chunkCOKHIMLOcjs.a; exports.CronIdentifierPush = _chunkCOKHIMLOcjs.c; exports.DATAPOINT_EXPORT = _chunk5PTFTN6Jcjs.g; exports.DATA_FLOWS = _chunk5PTFTN6Jcjs.Ya; exports.DATA_POINTS = _chunk5PTFTN6Jcjs.a; exports.DATA_POINT_COUNT = _chunk5PTFTN6Jcjs.b; exports.DATA_SILOS = _chunk5PTFTN6Jcjs.i; exports.DATA_SILOS_ENRICHED = _chunk5PTFTN6Jcjs.k; exports.DATA_SILO_EXPORT = _chunk5PTFTN6Jcjs.j; exports.DATA_SUBJECTS = _chunk5PTFTN6Jcjs.w; exports.DATA_SUB_CATEGORIES = _chunk5PTFTN6Jcjs.Tb; exports.DAY_MS = _chunk5PTFTN6Jcjs.dg; exports.DEBUG = _chunkNI434OIIcjs.z; exports.DEFAULT_TRANSCEND_API = _chunkNI434OIIcjs.r; exports.DEFAULT_TRANSCEND_CONSENT_API = _chunkNI434OIIcjs.s; exports.DEFAULT_TRANSCEND_PULL_RESOURCES = _chunk5PTFTN6Jcjs.fe; exports.DELETE_API_KEY = _chunk5PTFTN6Jcjs.F; exports.DELETE_ATTRIBUTE_VALUE = _chunk5PTFTN6Jcjs.Oa; exports.DEPLOYED_PRIVACY_CENTER_URL = _chunk5PTFTN6Jcjs.Ab; exports.DEPLOY_CONSENT_MANAGER = _chunk5PTFTN6Jcjs.eb; exports.DETERMINE_LOGIN_METHOD = _chunk5PTFTN6Jcjs.Db; exports.DataCategoryGuessInput = _chunk5UBGZNDCcjs.h; exports.DataCategoryInput = _chunk5UBGZNDCcjs.q; exports.DataCategoryPreviewInput = _chunk5UBGZNDCcjs.g; exports.DataCategoryRecommendationInput = _chunk5UBGZNDCcjs.i; exports.DataFlowCsvInput = _chunk5UBGZNDCcjs.ia; exports.DataFlowInput = _chunk5UBGZNDCcjs.I; exports.DataSiloInput = _chunk5UBGZNDCcjs.Q; exports.DataSubjectInput = _chunk5UBGZNDCcjs.F; exports.DatapointInput = _chunk5UBGZNDCcjs.w; exports.ENABLED_PLUGINS = _chunk5PTFTN6Jcjs.I; exports.ENRICHERS = _chunk5PTFTN6Jcjs.n; exports.ENTRY_COUNT = _chunk5PTFTN6Jcjs.h; exports.EXPERIENCES = _chunk5PTFTN6Jcjs.Ta; exports.EnrichPrivacyRequest = _chunkGG7P2RO6cjs.b; exports.EnricherInput = _chunk5UBGZNDCcjs.e; exports.FETCH_CONSENT_MANAGER = _chunk5PTFTN6Jcjs.$a; exports.FETCH_CONSENT_MANAGER_ID = _chunk5PTFTN6Jcjs._a; exports.FETCH_CONSENT_MANAGER_THEME = _chunk5PTFTN6Jcjs.ab; exports.FETCH_PRIVACY_CENTER_ID = _chunk5PTFTN6Jcjs.zb; exports.FieldInput = _chunk5UBGZNDCcjs.v; exports.GLOBAL_ACTION_ITEMS = _chunk5PTFTN6Jcjs.wb; exports.GLOBAL_ACTION_ITEM_COLLECTIONS = _chunk5PTFTN6Jcjs.Ia; exports.HOUR_MS = _chunk5PTFTN6Jcjs.eg; exports.IDENTIFIERS = _chunk5PTFTN6Jcjs.s; exports.IDENTIFIER_BLOCK_LIST = _chunk5PTFTN6Jcjs.ec; exports.IMPORT_ONE_TRUST_ASSESSMENT_FORMS = _chunk5PTFTN6Jcjs.ga; exports.INITIALIZER = _chunk5PTFTN6Jcjs.o; exports.IP_ADDRESS_REGEX = _chunk7ZGJ4MJFcjs.f; exports.IS_REQUIRED = _chunk5PTFTN6Jcjs.gc; exports.IdentifierInput = _chunk5UBGZNDCcjs.H; exports.ImportOnetrustAssessmentsInput = _chunk5UBGZNDCcjs.ra; exports.IntlMessage = _chunk5PTFTN6Jcjs.uf; exports.IntlMessageInput = _chunk5UBGZNDCcjs.P; exports.LARGE_LANGUAGE_MODELS = _chunk5PTFTN6Jcjs.Gb; exports.LOGIN = _chunk5PTFTN6Jcjs.Eb; exports.MESSAGES = _chunk5PTFTN6Jcjs.$; exports.NEW_IDENTIFIER_TYPES = _chunk5PTFTN6Jcjs.t; exports.NONE = _chunk5PTFTN6Jcjs.bc; exports.NOTIFY_ADDITIONAL_TIME = _chunk5PTFTN6Jcjs._; exports.ORGANIZATION = _chunk5PTFTN6Jcjs.L; exports.OneTrustFileFormat = _chunkQ7I37FJVcjs.a; exports.OneTrustPullResource = _chunkQ7I37FJVcjs.b; exports.OneTrustPullSource = _chunkQ7I37FJVcjs.c; exports.OpenAIEnabledRoute = _chunk5UBGZNDCcjs.ma; exports.OpenAIEnabledRoutes = _chunk5UBGZNDCcjs.na; exports.OpenAIIntegration = _chunk5UBGZNDCcjs.oa; exports.OpenAIRouteName = _chunkQ7I37FJVcjs.f; exports.POLICIES = _chunk5PTFTN6Jcjs.U; exports.PREFERENCE_TOPICS = _chunk5PTFTN6Jcjs.ia; exports.PRIVACY_CENTER = _chunk5PTFTN6Jcjs.Bb; exports.PROCESSING_ACTIVITIES = _chunk5PTFTN6Jcjs.Zb; exports.PROCESSING_PURPOSE_SUB_CATEGORIES = _chunk5PTFTN6Jcjs.Wb; exports.PROMPTS = _chunk5PTFTN6Jcjs.ka; exports.PROMPTS_WITH_VARIABLES = _chunk5PTFTN6Jcjs.na; exports.PROMPT_GROUPS = _chunk5PTFTN6Jcjs.ma; exports.PROMPT_PARTIALS = _chunk5PTFTN6Jcjs.la; exports.PROMPT_THREADS = _chunk5PTFTN6Jcjs.T; exports.PURPOSES = _chunk5PTFTN6Jcjs.ha; exports.ParsedAttributeInput = _chunk5PTFTN6Jcjs.pc; exports.PartitionInput = _chunk5UBGZNDCcjs.L; exports.PathfinderPolicy = _chunk5UBGZNDCcjs.pa; exports.PathfinderPolicyName = _chunkQ7I37FJVcjs.e; exports.PathfinderPolicyNameC = _chunk5UBGZNDCcjs.la; exports.PathfinderPromptRunMetadata = _chunk5UBGZNDCcjs.qa; exports.PolicyInput = _chunk5UBGZNDCcjs.O; exports.PrivacyCenterInput = _chunk5UBGZNDCcjs.N; exports.PrivacyRequest = _chunk5PTFTN6Jcjs.md; exports.PrivacyRequestInput = _chunk5PTFTN6Jcjs.rf; exports.PrivacyRequestResponse = _chunk5PTFTN6Jcjs.Af; exports.ProcessingActivityInput = _chunk5UBGZNDCcjs.A; exports.ProcessingPurposeInput = _chunk5UBGZNDCcjs.r; exports.ProcessingPurposePreviewInput = _chunk5UBGZNDCcjs.f; exports.PromptAVendorEmailSettings = _chunk5UBGZNDCcjs.x; exports.PromptGroupInput = _chunk5UBGZNDCcjs.u; exports.PromptInput = _chunk5UBGZNDCcjs.s; exports.PromptPartialInput = _chunk5UBGZNDCcjs.t; exports.PurposeMap = _chunkF3BRFYKDcjs.c; exports.REDUCED_REQUESTS_FOR_DATA_SILO_COUNT = _chunk5PTFTN6Jcjs.xa; exports.REMOVE_REQUEST_IDENTIFIERS = _chunk5PTFTN6Jcjs.Ba; exports.REPORT_PROMPT_RUN = _chunk5PTFTN6Jcjs.Ga; exports.REPOSITORIES = _chunk5PTFTN6Jcjs.A; exports.REQUESTS = _chunk5PTFTN6Jcjs.W; exports.REQUEST_DATA_SILOS = _chunk5PTFTN6Jcjs.ua; exports.REQUEST_ENRICHERS = _chunk5PTFTN6Jcjs.ba; exports.REQUEST_FILES = _chunk5PTFTN6Jcjs.Ea; exports.REQUEST_IDENTIFIERS = _chunk5PTFTN6Jcjs.Ca; exports.RETRYABLE_BATCH_STATUSES = _chunkNI434OIIcjs.y; exports.RETRY_REQUEST_DATA_SILO = _chunk5PTFTN6Jcjs.wa; exports.RETRY_REQUEST_ENRICHER = _chunk5PTFTN6Jcjs.ca; exports.RateCounter = _chunk5PTFTN6Jcjs.$f; exports.RegionInput = _chunk5UBGZNDCcjs.z; exports.RepositoryInput = _chunk5UBGZNDCcjs.E; exports.RequestFileMetadata = _chunk5PTFTN6Jcjs.vf; exports.RequestFileMetadataResponse = _chunk5PTFTN6Jcjs.wf; exports.RequestIdentifiersResponse = _chunk5PTFTN6Jcjs.jd; exports.RequestPurposeTrigger = _chunk5PTFTN6Jcjs.ld; exports.RiskAssignmentInput = _chunk5UBGZNDCcjs.W; exports.RiskLogicInput = _chunk5UBGZNDCcjs.X; exports.SCOPES_BY_TITLE = _chunkNI434OIIcjs.w; exports.SCOPE_TITLES = _chunkNI434OIIcjs.x; exports.SET_RESOURCE_ATTRIBUTES = _chunk5PTFTN6Jcjs.Sa; exports.SKIP_REQUEST_ENRICHER = _chunk5PTFTN6Jcjs.da; exports.SOFTWARE_DEVELOPMENT_KITS = _chunk5PTFTN6Jcjs.N; exports.SOMBRA_VERSION = _chunk5PTFTN6Jcjs.ac; exports.SUB_DATA_POINTS = _chunk5PTFTN6Jcjs.c; exports.SUB_DATA_POINTS_COUNT = _chunk5PTFTN6Jcjs.d; exports.SUB_DATA_POINTS_WITH_GUESSES = _chunk5PTFTN6Jcjs.e; exports.SYNC_ATTRIBUTE_TYPES = _chunk5PTFTN6Jcjs.Mc; exports.SoftwareDevelopmentKitInput = _chunk5UBGZNDCcjs.B; exports.StoredApiKey = _chunk5UBGZNDCcjs.ha; exports.SuccessfulRequest = _chunk5PTFTN6Jcjs.jc; exports.TEAMS = _chunk5PTFTN6Jcjs.ya; exports.TEMPLATES = _chunk5PTFTN6Jcjs.J; exports.TOGGLE_CONSENT_PRECEDENCE = _chunk5PTFTN6Jcjs.lb; exports.TOGGLE_DATA_SUBJECT = _chunk5PTFTN6Jcjs.z; exports.TOGGLE_TELEMETRY_PARTITION_STRATEGY = _chunk5PTFTN6Jcjs.kb; exports.TOGGLE_UNKNOWN_COOKIE_POLICY = _chunk5PTFTN6Jcjs.jb; exports.TOGGLE_UNKNOWN_REQUEST_POLICY = _chunk5PTFTN6Jcjs.ib; exports.TR_PULL_RESOURCE_SCOPE_MAP = _chunkNI434OIIcjs.u; exports.TR_PUSH_RESOURCE_SCOPE_MAP = _chunkNI434OIIcjs.t; exports.TR_YML_RESOURCE_TO_FIELD_NAME = _chunkNI434OIIcjs.v; exports.TeamInput = _chunk5UBGZNDCcjs.d; exports.TemplateInput = _chunk5UBGZNDCcjs.a; exports.TranscendInput = _chunk5UBGZNDCcjs.ga; exports.TranscendPromptManager = B; exports.TranscendPullResource = _chunkQ7I37FJVcjs.d; exports.UPDATE_ACTION = _chunk5PTFTN6Jcjs.vb; exports.UPDATE_ACTION_ITEMS = _chunk5PTFTN6Jcjs.xb; exports.UPDATE_ACTION_ITEM_COLLECTION = _chunk5PTFTN6Jcjs.Ka; exports.UPDATE_AGENTS = _chunk5PTFTN6Jcjs.Jb; exports.UPDATE_AGENT_FILES = _chunk5PTFTN6Jcjs.Mb; exports.UPDATE_AGENT_FUNCTIONS = _chunk5PTFTN6Jcjs.Pb; exports.UPDATE_ATTRIBUTE = _chunk5PTFTN6Jcjs.Ra; exports.UPDATE_ATTRIBUTE_VALUES = _chunk5PTFTN6Jcjs.Na; exports.UPDATE_BUSINESS_ENTITIES = _chunk5PTFTN6Jcjs.tb; exports.UPDATE_CODE_PACKAGES = _chunk5PTFTN6Jcjs.R; exports.UPDATE_CONSENT_EXPERIENCE = _chunk5PTFTN6Jcjs.nb; exports.UPDATE_CONSENT_MANAGER_DOMAINS = _chunk5PTFTN6Jcjs.fb; exports.UPDATE_CONSENT_MANAGER_PARTITION = _chunk5PTFTN6Jcjs.gb; exports.UPDATE_CONSENT_MANAGER_THEME = _chunk5PTFTN6Jcjs.mb; exports.UPDATE_CONSENT_MANAGER_TO_LATEST = _chunk5PTFTN6Jcjs.db; exports.UPDATE_CONSENT_MANAGER_VERSION = _chunk5PTFTN6Jcjs.cb; exports.UPDATE_DATA_FLOWS = _chunk5PTFTN6Jcjs.Wa; exports.UPDATE_DATA_SILOS = _chunk5PTFTN6Jcjs.l; exports.UPDATE_DATA_SUBJECT = _chunk5PTFTN6Jcjs.y; exports.UPDATE_DATA_SUB_CATEGORIES = _chunk5PTFTN6Jcjs.Vb; exports.UPDATE_ENRICHER = _chunk5PTFTN6Jcjs.q; exports.UPDATE_IDENTIFIER = _chunk5PTFTN6Jcjs.v; exports.UPDATE_INTL_MESSAGES = _chunk5PTFTN6Jcjs.aa; exports.UPDATE_LOAD_OPTIONS = _chunk5PTFTN6Jcjs.hb; exports.UPDATE_OR_CREATE_COOKIES = _chunk5PTFTN6Jcjs.Xa; exports.UPDATE_OR_CREATE_DATA_POINT = _chunk5PTFTN6Jcjs.f; exports.UPDATE_POLICIES = _chunk5PTFTN6Jcjs.V; exports.UPDATE_PRIVACY_CENTER = _chunk5PTFTN6Jcjs.Cb; exports.UPDATE_PRIVACY_REQUEST = _chunk5PTFTN6Jcjs.Z; exports.UPDATE_PROCESSING_ACTIVITIES = _chunk5PTFTN6Jcjs.$b; exports.UPDATE_PROCESSING_PURPOSE_SUB_CATEGORIES = _chunk5PTFTN6Jcjs.Yb; exports.UPDATE_PROMPTS = _chunk5PTFTN6Jcjs.oa; exports.UPDATE_PROMPT_GROUPS = _chunk5PTFTN6Jcjs.sa; exports.UPDATE_PROMPT_PARTIALS = _chunk5PTFTN6Jcjs.qa; exports.UPDATE_REPOSITORIES = _chunk5PTFTN6Jcjs.B; exports.UPDATE_SOFTWARE_DEVELOPMENT_KITS = _chunk5PTFTN6Jcjs.O; exports.UPDATE_TEAM = _chunk5PTFTN6Jcjs.Aa; exports.UPDATE_VENDORS = _chunk5PTFTN6Jcjs.Sb; exports.USERS = _chunk5PTFTN6Jcjs.Da; exports.USP_STRING_REGEX = _chunkF3BRFYKDcjs.b; exports.VARIABLE_PARAMETERS_NAME = _chunkRE5YALEOcjs.b; exports.VARIABLE_PARAMETERS_REGEXP = _chunkRE5YALEOcjs.a; exports.VENDORS = _chunk5PTFTN6Jcjs.Qb; exports.VendorInput = _chunk5UBGZNDCcjs.p; exports.WebhookHeader = _chunk5UBGZNDCcjs.b; exports.addDaysUtc = _chunk5PTFTN6Jcjs.jg; exports.addMessagesToPromptRun = _chunk5PTFTN6Jcjs.uc; exports.addMs = _chunk5PTFTN6Jcjs.ig; exports.appendCsvSync = _chunkLR3CPNDMcjs.b; exports.approvePrivacyRequests = _chunk5PTFTN6Jcjs.Cf; exports.assumeRole = _chunk5PTFTN6Jcjs.Kd; exports.buildAIIntegrationType = _chunkLCDYXJN6cjs.b; exports.buildEnabledRouteType = _chunkLCDYXJN6cjs.a; exports.buildTranscendGraphQLClient = _chunk5PTFTN6Jcjs.wc; exports.buildTranscendGraphQLClientGeneric = _chunk5PTFTN6Jcjs.vc; exports.buildXdiSyncEndpoint = _chunk7ZGJ4MJFcjs.g; exports.bulkRestartRequests = _chunk5PTFTN6Jcjs.Kf; exports.bulkRetryEnrichers = _chunk5PTFTN6Jcjs.Mf; exports.cancelPrivacyRequests = _chunk5PTFTN6Jcjs.Ff; exports.clampPageSize = _chunk5PTFTN6Jcjs.fg; exports.collectParquetFilesOrExit = _chunk5PTFTN6Jcjs.bg; exports.consentManagersToBusinessEntities = _chunk7ZGJ4MJFcjs.h; exports.convertToDataSubjectAllowlist = _chunk5PTFTN6Jcjs.yd; exports.convertToDataSubjectBlockList = _chunk5PTFTN6Jcjs.xd; exports.createActionItemCollection = _chunk5PTFTN6Jcjs.le; exports.createActionItems = _chunk5PTFTN6Jcjs.oe; exports.createAgent = _chunk5PTFTN6Jcjs.xe; exports.createAgentFile = _chunk5PTFTN6Jcjs.re; exports.createAgentFunction = _chunk5PTFTN6Jcjs.ue; exports.createApiKey = _chunk5PTFTN6Jcjs.Ld; exports.createBusinessEntity = _chunk5PTFTN6Jcjs.Be; exports.createCodePackage = _chunk5PTFTN6Jcjs.Ke; exports.createConsentToken = _chunkF3BRFYKDcjs.a; exports.createDataCategory = _chunk5PTFTN6Jcjs.Re; exports.createDataFlows = _chunk5PTFTN6Jcjs.Ve; exports.createPreferenceAccessTokens = _chunk5PTFTN6Jcjs.Jc; exports.createProcessingPurpose = _chunk5PTFTN6Jcjs.df; exports.createPrompt = _chunk5PTFTN6Jcjs.gf; exports.createRegexForTag = j; exports.createRepository = _chunk5PTFTN6Jcjs.He; exports.createSoftwareDevelopmentKit = _chunk5PTFTN6Jcjs.Ee; exports.createSombraGotInstance = _chunk5PTFTN6Jcjs.xc; exports.createTranscendConsentGotInstance = _chunk5PTFTN6Jcjs.yc; exports.createVendor = _chunk5PTFTN6Jcjs.jf; exports.defineTranscendPrompts = Wm; exports.deleteApiKey = _chunk5PTFTN6Jcjs.Md; exports.deployConsentManager = _chunk5PTFTN6Jcjs.zc; exports.description = _chunkNI434OIIcjs.l; exports.domainToHost = _chunk7ZGJ4MJFcjs.e; exports.downloadPrivacyRequestFiles = _chunk5PTFTN6Jcjs.zf; exports.enrichPrivacyRequest = _chunkGG7P2RO6cjs.c; exports.ensureAllDataSubjectsExist = _chunk5PTFTN6Jcjs.wd; exports.extractClientError = _chunk5PTFTN6Jcjs.Hf; exports.extractErrorMessage = _chunk5PTFTN6Jcjs.Wf; exports.fetchActiveSiloDiscoPlugin = _chunk5PTFTN6Jcjs.Bc; exports.fetchAllActionItems = _chunk5PTFTN6Jcjs.Cc; exports.fetchAllActions = _chunk5PTFTN6Jcjs.Dc; exports.fetchAllAgentFiles = _chunk5PTFTN6Jcjs.Ec; exports.fetchAllAgentFunctions = _chunk5PTFTN6Jcjs.Fc; exports.fetchAllAgents = _chunk5PTFTN6Jcjs.Gc; exports.fetchAllApiKeys = _chunk5PTFTN6Jcjs.rd; exports.fetchAllAssessmentTemplates = _chunk5PTFTN6Jcjs.Ic; exports.fetchAllAssessments = _chunk5PTFTN6Jcjs.Hc; exports.fetchAllAttributeValues = _chunk5PTFTN6Jcjs.Lc; exports.fetchAllAttributes = _chunk5PTFTN6Jcjs.Nc; exports.fetchAllBusinessEntities = _chunk5PTFTN6Jcjs.Oc; exports.fetchAllCatalogs = _chunk5PTFTN6Jcjs.td; exports.fetchAllCookies = _chunk5PTFTN6Jcjs.Vc; exports.fetchAllDataCategories = _chunk5PTFTN6Jcjs.Wc; exports.fetchAllDataFlows = _chunk5PTFTN6Jcjs.Xc; exports.fetchAllDataPoints = _chunk5PTFTN6Jcjs.Xd; exports.fetchAllDataSilos = _chunk5PTFTN6Jcjs.Vd; exports.fetchAllDataSubjects = _chunk5PTFTN6Jcjs.vd; exports.fetchAllEnrichers = _chunk5PTFTN6Jcjs.$d; exports.fetchAllIdentifiers = _chunk5PTFTN6Jcjs.lg; exports.fetchAllMessages = _chunk5PTFTN6Jcjs.Yc; exports.fetchAllPolicies = _chunk5PTFTN6Jcjs.$c; exports.fetchAllPreferenceTopics = _chunk5PTFTN6Jcjs.bd; exports.fetchAllPrivacyCenters = _chunk5PTFTN6Jcjs.cd; exports.fetchAllProcessingActivities = _chunk5PTFTN6Jcjs.dd; exports.fetchAllProcessingPurposes = _chunk5PTFTN6Jcjs.ed; exports.fetchAllPromptGroups = _chunk5PTFTN6Jcjs.zd; exports.fetchAllPromptPartials = _chunk5PTFTN6Jcjs.Ad; exports.fetchAllPromptThreads = _chunk5PTFTN6Jcjs.Dd; exports.fetchAllPrompts = _chunk5PTFTN6Jcjs.Bd; exports.fetchAllPurposes = _chunk5PTFTN6Jcjs.fd; exports.fetchAllPurposesAndPreferences = _chunk5PTFTN6Jcjs.gd; exports.fetchAllRequestAttributeKeys = _chunk5PTFTN6Jcjs.Kc; exports.fetchAllRequestEnrichers = _chunk5PTFTN6Jcjs.hd; exports.fetchAllRequestIdentifierMetadata = _chunk5PTFTN6Jcjs.id; exports.fetchAllRequestIdentifiers = _chunk5PTFTN6Jcjs.kd; exports.fetchAllRequests = _chunk5PTFTN6Jcjs.nd; exports.fetchAllSubDataPoints = _chunk5PTFTN6Jcjs.Wd; exports.fetchAllTeams = _chunk5PTFTN6Jcjs.od; exports.fetchAllTemplates = _chunk5PTFTN6Jcjs.be; exports.fetchAllUsers = _chunk5PTFTN6Jcjs.pd; exports.fetchAllVendors = _chunk5PTFTN6Jcjs.qd; exports.fetchAndIndexCatalogs = _chunk5PTFTN6Jcjs.ud; exports.fetchApiKeys = _chunk5PTFTN6Jcjs.sd; exports.fetchConsentManager = _chunk5PTFTN6Jcjs.Pc; exports.fetchConsentManagerAnalyticsData = _chunk5PTFTN6Jcjs.Tc; exports.fetchConsentManagerExperiences = _chunk5PTFTN6Jcjs.Rc; exports.fetchConsentManagerId = _chunk5PTFTN6Jcjs.Qc; exports.fetchConsentManagerTheme = _chunk5PTFTN6Jcjs.Uc; exports.fetchEnrichedDataSilos = _chunk5PTFTN6Jcjs.Yd; exports.fetchIdentifiersAndCreateMissing = _chunk5PTFTN6Jcjs.mg; exports.fetchPartitions = _chunk5PTFTN6Jcjs.de; exports.fetchPrivacyCenterId = _chunk5PTFTN6Jcjs._c; exports.fetchPrivacyCenterUrl = _chunk5PTFTN6Jcjs.Zc; exports.fetchPromptsWithVariables = _chunk5PTFTN6Jcjs.Cd; exports.fetchRequestDataSilo = _chunk5PTFTN6Jcjs.Gd; exports.fetchRequestDataSiloActiveCount = _chunk5PTFTN6Jcjs.Hd; exports.fetchRequestDataSilos = _chunk5PTFTN6Jcjs.Fd; exports.fetchRequestDataSilosCount = _chunk5PTFTN6Jcjs.Ed; exports.fetchRequestFilesForRequest = _chunk5PTFTN6Jcjs.Id; exports.filterNullishValuesFromObject = Ym; exports.filterRows = _chunk5PTFTN6Jcjs.tc; exports.formatAttributeValues = _chunk5PTFTN6Jcjs.ad; exports.fuzzyMatchColumns = _chunk5PTFTN6Jcjs.mc; exports.fuzzySearch = _chunk5PTFTN6Jcjs.lc; exports.generateCrossAccountApiKeys = _chunkMOWFESXNcjs.a; exports.getErrorStatus = _chunk5PTFTN6Jcjs.Vf; exports.getFileMetadataForPrivacyRequests = _chunk5PTFTN6Jcjs.xf; exports.getGitFilesThatChanged = sc; exports.getUniqueValuesForColumn = _chunk5PTFTN6Jcjs.sc; exports.inquirerAutoComplete = _chunk5PTFTN6Jcjs.Tf; exports.inquirerConfirmBoolean = _chunk5PTFTN6Jcjs.Rf; exports.inquirerConfirmText = _chunk5PTFTN6Jcjs.Sf; exports.limitRecords = _chunk5PTFTN6Jcjs._f; exports.listDirectories = _chunkMOWFESXNcjs.d; exports.listFiles = _chunkMOWFESXNcjs.c; exports.loginUser = _chunk5PTFTN6Jcjs.Jd; exports.makeGraphQLRequest = _chunk5PTFTN6Jcjs.kg; exports.mapColumnsToAttributes = _chunk5PTFTN6Jcjs.Gf; exports.mapColumnsToIdentifiers = _chunk5PTFTN6Jcjs.Ef; exports.mapCsvColumnsToApi = _chunk5PTFTN6Jcjs.of; exports.mapCsvRowsToRequestInputs = _chunk5PTFTN6Jcjs.tf; exports.mapEnumValues = _chunk5PTFTN6Jcjs.nc; exports.mapRequestEnumValues = _chunk5PTFTN6Jcjs.pf; exports.markCronIdentifierCompleted = _chunkCOKHIMLOcjs.d; exports.markRequestDataSiloIdsCompleted = _chunkCOKHIMLOcjs.f; exports.markSilentPrivacyRequests = _chunk5PTFTN6Jcjs.nf; exports.mergeTranscendInputs = _chunkIBTP5OXEcjs.a; exports.name = _chunkNI434OIIcjs.n; exports.normalizeIdentifierValue = _chunk5PTFTN6Jcjs.sf; exports.notifyPrivacyRequestsAdditionalTime = _chunk5PTFTN6Jcjs.Df; exports.parquetToCsvOneFile = _chunk5PTFTN6Jcjs.cg; exports.parseAssessmentDisplayLogic = _chunk5PTFTN6Jcjs.Sd; exports.parseAssessmentRiskLogic = _chunk5PTFTN6Jcjs.Ud; exports.parseAttributesFromString = _chunk5PTFTN6Jcjs.qc; exports.parseFilePath = _chunkLR3CPNDMcjs.d; exports.parseVariablesFromString = _chunk5PTFTN6Jcjs.Uf; exports.pullAllDatapoints = _chunkKYVDLURLcjs.a; exports.pullChunkedCustomSiloOutstandingIdentifiers = _chunkCOKHIMLOcjs.g; exports.pullConsentManagerMetrics = _chunk7ZGJ4MJFcjs.d; exports.pullCronPageOfIdentifiers = _chunkCOKHIMLOcjs.b; exports.pullManualEnrichmentIdentifiersToCsv = _chunkGG7P2RO6cjs.a; exports.pullPrivacyRequests = _chunk5PTFTN6Jcjs.Of; exports.pullTranscendConfiguration = _chunk5PTFTN6Jcjs.ge; exports.pullUnstructuredSubDataPointRecommendations = _chunkKYVDLURLcjs.b; exports.pushCronIdentifiersFromCsv = _chunkCOKHIMLOcjs.e; exports.pushManualEnrichmentIdentifiersFromCsv = _chunkGG7P2RO6cjs.d; exports.readCsv = _chunk5PTFTN6Jcjs.rc; exports.readSafe = _chunk5PTFTN6Jcjs.ag; exports.readTranscendYaml = _chunkRE5YALEOcjs.d; exports.removeLinks = Km; exports.removeUnverifiedRequestIdentifiers = _chunk5PTFTN6Jcjs.Qf; exports.replaceVariablesInYaml = _chunkRE5YALEOcjs.c; exports.reportPromptRun = _chunk5PTFTN6Jcjs.he; exports.restartPrivacyRequest = _chunk5PTFTN6Jcjs.Jf; exports.retryRequestDataSilos = _chunk5PTFTN6Jcjs.Nf; exports.retryRequestEnricher = _chunk5PTFTN6Jcjs.ie; exports.retrySamePromise = _chunk5PTFTN6Jcjs.Zf; exports.setResourceAttributes = _chunk5PTFTN6Jcjs.je; exports.skipPreflightJobs = _chunk5PTFTN6Jcjs.Lf; exports.skipRequestDataSilos = _chunk5PTFTN6Jcjs.Pf; exports.sleepPromise = _chunk5PTFTN6Jcjs.Xf; exports.splitCsvToList = _chunk5PTFTN6Jcjs.oc; exports.splitInHalf = _chunk5PTFTN6Jcjs.Yf; exports.startOfHour = _chunk5PTFTN6Jcjs.hg; exports.startOfUtcDay = _chunk5PTFTN6Jcjs.gg; exports.streamPrivacyRequestFiles = _chunk5PTFTN6Jcjs.yf; exports.submitPrivacyRequest = _chunk5PTFTN6Jcjs.Bf; exports.syncAction = _chunk5PTFTN6Jcjs.ke; exports.syncActionItemCollections = _chunk5PTFTN6Jcjs.ne; exports.syncActionItems = _chunk5PTFTN6Jcjs.qe; exports.syncAgentFiles = _chunk5PTFTN6Jcjs.te; exports.syncAgentFunctions = _chunk5PTFTN6Jcjs.we; exports.syncAgents = _chunk5PTFTN6Jcjs.ze; exports.syncAttribute = _chunk5PTFTN6Jcjs.Ae; exports.syncBusinessEntities = _chunk5PTFTN6Jcjs.De; exports.syncCodePackages = _chunk5PTFTN6Jcjs.Me; exports.syncConfigurationToTranscend = _chunk5PTFTN6Jcjs.ng; exports.syncConsentManager = _chunk5PTFTN6Jcjs.Oe; exports.syncConsentManagerExperiences = _chunk5PTFTN6Jcjs.Ne; exports.syncCookies = _chunk5PTFTN6Jcjs.Qe; exports.syncDataCategories = _chunk5PTFTN6Jcjs.Te; exports.syncDataFlows = _chunk5PTFTN6Jcjs.We; exports.syncDataSiloDependencies = _chunk5PTFTN6Jcjs._d; exports.syncDataSilos = _chunk5PTFTN6Jcjs.Zd; exports.syncDataSubject = _chunk5PTFTN6Jcjs.Xe; exports.syncEnricher = _chunk5PTFTN6Jcjs.ae; exports.syncIdentifier = _chunk5PTFTN6Jcjs.Ye; exports.syncIntlMessages = _chunk5PTFTN6Jcjs._e; exports.syncPartitions = _chunk5PTFTN6Jcjs.ee; exports.syncPolicies = _chunk5PTFTN6Jcjs.af; exports.syncPrivacyCenter = _chunk5PTFTN6Jcjs.bf; exports.syncProcessingActivities = _chunk5PTFTN6Jcjs.cf; exports.syncProcessingPurposes = _chunk5PTFTN6Jcjs.ff; exports.syncPrompts = _chunk5PTFTN6Jcjs.if; exports.syncRepositories = _chunk5PTFTN6Jcjs.Je; exports.syncSoftwareDevelopmentKits = _chunk5PTFTN6Jcjs.Ge; exports.syncTemplate = _chunk5PTFTN6Jcjs.ce; exports.syncVendors = _chunk5PTFTN6Jcjs.lf; exports.updateActionItem = _chunk5PTFTN6Jcjs.pe; exports.updateActionItemCollection = _chunk5PTFTN6Jcjs.me; exports.updateAgentFiles = _chunk5PTFTN6Jcjs.se; exports.updateAgentFunctions = _chunk5PTFTN6Jcjs.ve; exports.updateAgents = _chunk5PTFTN6Jcjs.ye; exports.updateBusinessEntities = _chunk5PTFTN6Jcjs.Ce; exports.updateCodePackages = _chunk5PTFTN6Jcjs.Le; exports.updateConsentManagerToLatest = _chunk5PTFTN6Jcjs.Ac; exports.updateConsentManagerVersionToLatest = _chunk7ZGJ4MJFcjs.a; exports.updateDataCategories = _chunk5PTFTN6Jcjs.Se; exports.updateDataFlows = _chunk5PTFTN6Jcjs.Ue; exports.updateIntlMessages = _chunk5PTFTN6Jcjs.Ze; exports.updateOrCreateCookies = _chunk5PTFTN6Jcjs.Pe; exports.updatePolicies = _chunk5PTFTN6Jcjs.$e; exports.updateProcessingPurposes = _chunk5PTFTN6Jcjs.ef; exports.updatePrompts = _chunk5PTFTN6Jcjs.hf; exports.updateRepositories = _chunk5PTFTN6Jcjs.Ie; exports.updateSoftwareDevelopmentKits = _chunk5PTFTN6Jcjs.Fe; exports.updateVendors = _chunk5PTFTN6Jcjs.kf; exports.uploadConsents = _chunkF3BRFYKDcjs.d; exports.uploadCookiesFromCsv = _chunk7ZGJ4MJFcjs.c; exports.uploadDataFlowsFromCsv = _chunk7ZGJ4MJFcjs.b; exports.uploadPrivacyRequestsFromCsv = _chunk5PTFTN6Jcjs.If; exports.uploadSiloDiscoveryResults = _chunk5PTFTN6Jcjs.mf; exports.validateTranscendAuth = _chunkMOWFESXNcjs.b; exports.version = _chunkNI434OIIcjs.m; exports.writeCsv = _chunkLR3CPNDMcjs.c; exports.writeCsvSync = _chunkLR3CPNDMcjs.a; exports.writeLargeCsv = _chunkLR3CPNDMcjs.e; exports.writeTranscendYaml = _chunkRE5YALEOcjs.e;
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=_chunk6WIX75ZFcjs.c.call(void 0, p.split(`
4
+ `).filter(d=>d),s),c=t.length>0?_fastglob2.default.sync(m,{ignore:t}):m,n={};c.forEach(d=>{let F=_child_process.execSync.call(void 0, `git show ${i}:${d}`,{encoding:"utf-8"});n[d]=F});let g=r.split("/").pop().split(".")[0];return{changedFiles:m,fileDiffs:n,repoName:g,commit:i}}exports.ACTIONS = _chunkGC3HFDP4cjs.ub; exports.ADD_MESSAGES_TO_PROMPT_RUN = _chunkGC3HFDP4cjs.Ha; exports.ADD_SILO_DISCOVERY_RESULTS = _chunkGC3HFDP4cjs.H; exports.ADMIN_DASH = _chunk6WIX75ZFcjs.o; exports.ADMIN_DASH_DATAPOINTS = _chunk6WIX75ZFcjs.q; exports.ADMIN_DASH_INTEGRATIONS = _chunk6WIX75ZFcjs.p; exports.AGENTS = _chunkGC3HFDP4cjs.Hb; exports.AGENT_FILES = _chunkGC3HFDP4cjs.Kb; exports.AGENT_FUNCTIONS = _chunkGC3HFDP4cjs.Nb; exports.API_KEYS = _chunkGC3HFDP4cjs.D; exports.APPROVE_PRIVACY_REQUEST = _chunkGC3HFDP4cjs.X; exports.ASSESSMENTS = _chunkGC3HFDP4cjs.fa; exports.ASSESSMENT_SECTION_FIELDS = _chunkGC3HFDP4cjs.ea; exports.ASSESSMENT_TEMPLATES = _chunkGC3HFDP4cjs.ja; exports.ASSUME_ROLE = _chunkGC3HFDP4cjs.Fb; exports.ATTRIBUTES = _chunkGC3HFDP4cjs.La; exports.ATTRIBUTE_KEYS_REQUESTS = _chunkGC3HFDP4cjs.M; exports.ATTRIBUTE_VALUES = _chunkGC3HFDP4cjs.Pa; exports.ActionInput = _chunk5UBGZNDCcjs.G; exports.ActionItemCollectionInput = _chunk5UBGZNDCcjs.R; exports.ActionItemInput = _chunk5UBGZNDCcjs.S; exports.AgentFileInput = _chunk5UBGZNDCcjs.o; exports.AgentFunctionInput = _chunk5UBGZNDCcjs.n; exports.AgentInput = _chunk5UBGZNDCcjs.m; exports.ApiKeyInput = _chunk5UBGZNDCcjs.c; exports.AssessmentAction = _chunkGC3HFDP4cjs.Rd; exports.AssessmentAnswerOptionInput = _chunk5UBGZNDCcjs.Y; exports.AssessmentDisplayLogicInput = _chunk5UBGZNDCcjs.V; exports.AssessmentInput = _chunk5UBGZNDCcjs.ca; exports.AssessmentNestedRule = _chunkGC3HFDP4cjs.Qd; exports.AssessmentNestedRuleInput = _chunk5UBGZNDCcjs.U; exports.AssessmentResourceInput = _chunk5UBGZNDCcjs.ba; exports.AssessmentRetentionScheduleInput = _chunk5UBGZNDCcjs.$; exports.AssessmentRiskLogic = _chunkGC3HFDP4cjs.Td; exports.AssessmentRule = _chunkGC3HFDP4cjs.Pd; exports.AssessmentRuleInput = _chunk5UBGZNDCcjs.T; exports.AssessmentRuleWithOperands = _chunkGC3HFDP4cjs.Nd; exports.AssessmentRuleWithoutOperands = _chunkGC3HFDP4cjs.Od; exports.AssessmentSectionInput = _chunk5UBGZNDCcjs._; exports.AssessmentSectionQuestionInput = _chunk5UBGZNDCcjs.Z; exports.AssessmentTemplateInput = _chunk5UBGZNDCcjs.aa; exports.AttestedExtraIdentifiers = _chunkGC3HFDP4cjs.qf; exports.AttributeInput = _chunk5UBGZNDCcjs.k; exports.AttributePreview = _chunk5UBGZNDCcjs.l; exports.AttributeValueInput = _chunk5UBGZNDCcjs.j; exports.BLANK = _chunkGC3HFDP4cjs.dc; exports.BULK_APPLY = _chunkGC3HFDP4cjs.cc; exports.BULK_REQUEST_FILES = _chunkGC3HFDP4cjs.Fa; exports.BUSINESS_ENTITIES = _chunkGC3HFDP4cjs.rb; exports.BusinessEntityInput = _chunk5UBGZNDCcjs.y; exports.CANCEL_PRIVACY_REQUEST = _chunkGC3HFDP4cjs.Y; exports.CAN_APPLY_IN_BULK = _chunkGC3HFDP4cjs.hc; exports.CATALOGS = _chunkGC3HFDP4cjs.r; exports.CHANGE_REQUEST_DATA_SILO_STATUS = _chunkGC3HFDP4cjs.va; exports.CODE_PACKAGES = _chunkGC3HFDP4cjs.Q; exports.CONSENT_MANAGER_ANALYTICS_DATA = _chunkGC3HFDP4cjs.qb; exports.CONSENT_PARTITIONS = _chunkGC3HFDP4cjs.Ua; exports.COOKIES = _chunkGC3HFDP4cjs.Za; exports.CREATE_ACTION_ITEMS = _chunkGC3HFDP4cjs.yb; exports.CREATE_ACTION_ITEM_COLLECTION = _chunkGC3HFDP4cjs.Ja; exports.CREATE_AGENT = _chunkGC3HFDP4cjs.Ib; exports.CREATE_AGENT_FILE = _chunkGC3HFDP4cjs.Lb; exports.CREATE_AGENT_FUNCTION = _chunkGC3HFDP4cjs.Ob; exports.CREATE_API_KEY = _chunkGC3HFDP4cjs.E; exports.CREATE_ATTRIBUTE = _chunkGC3HFDP4cjs.Qa; exports.CREATE_ATTRIBUTE_VALUES = _chunkGC3HFDP4cjs.Ma; exports.CREATE_BUSINESS_ENTITY = _chunkGC3HFDP4cjs.sb; exports.CREATE_CODE_PACKAGE = _chunkGC3HFDP4cjs.S; exports.CREATE_CONSENT_EXPERIENCE = _chunkGC3HFDP4cjs.ob; exports.CREATE_CONSENT_MANAGER = _chunkGC3HFDP4cjs.bb; exports.CREATE_CONSENT_PARTITION = _chunkGC3HFDP4cjs.pb; exports.CREATE_DATA_FLOWS = _chunkGC3HFDP4cjs.Va; exports.CREATE_DATA_SILOS = _chunkGC3HFDP4cjs.m; exports.CREATE_DATA_SUBJECT = _chunkGC3HFDP4cjs.x; exports.CREATE_DATA_SUB_CATEGORY = _chunkGC3HFDP4cjs.Ub; exports.CREATE_ENRICHER = _chunkGC3HFDP4cjs.p; exports.CREATE_IDENTIFIER = _chunkGC3HFDP4cjs.u; exports.CREATE_PREFERENCE_ACCESS_TOKENS = _chunkGC3HFDP4cjs.G; exports.CREATE_PROCESSING_ACTIVITY = _chunkGC3HFDP4cjs._b; exports.CREATE_PROCESSING_PURPOSE_SUB_CATEGORY = _chunkGC3HFDP4cjs.Xb; exports.CREATE_PROMPT = _chunkGC3HFDP4cjs.pa; exports.CREATE_PROMPT_GROUP = _chunkGC3HFDP4cjs.ta; exports.CREATE_PROMPT_PARTIAL = _chunkGC3HFDP4cjs.ra; exports.CREATE_REPOSITORY = _chunkGC3HFDP4cjs.C; exports.CREATE_SOFTWARE_DEVELOPMENT_KIT = _chunkGC3HFDP4cjs.P; exports.CREATE_TEAM = _chunkGC3HFDP4cjs.za; exports.CREATE_TEMPLATE = _chunkGC3HFDP4cjs.K; exports.CREATE_VENDOR = _chunkGC3HFDP4cjs.Rb; exports.CachedFileState = _chunkGC3HFDP4cjs.ic; exports.CachedRequestState = _chunkGC3HFDP4cjs.kc; exports.CodePackageInput = _chunk5UBGZNDCcjs.D; exports.CodePackageSdk = _chunk5UBGZNDCcjs.C; exports.ColumnName = _chunkGC3HFDP4cjs.fc; exports.ConsentManageExperienceInput = _chunk5UBGZNDCcjs.K; exports.ConsentManagerInput = _chunk5UBGZNDCcjs.M; exports.ConsentManagerMetricBin = _chunkGC3HFDP4cjs.Sc; exports.ConsentManagerServiceMetadata = _chunk5UBGZNDCcjs.ka; exports.ConsentPreferenceTopic = _chunk5UBGZNDCcjs.ea; exports.ConsentPreferenceTopicOptionValue = _chunk5UBGZNDCcjs.da; exports.ConsentPurpose = _chunk5UBGZNDCcjs.fa; exports.CookieCsvInput = _chunk5UBGZNDCcjs.ja; exports.CookieInput = _chunk5UBGZNDCcjs.J; exports.CronIdentifier = _chunk7UB5BB7Kcjs.a; exports.CronIdentifierPush = _chunk7UB5BB7Kcjs.c; exports.DATAPOINT_EXPORT = _chunkGC3HFDP4cjs.g; exports.DATA_FLOWS = _chunkGC3HFDP4cjs.Ya; exports.DATA_POINTS = _chunkGC3HFDP4cjs.a; exports.DATA_POINT_COUNT = _chunkGC3HFDP4cjs.b; exports.DATA_SILOS = _chunkGC3HFDP4cjs.i; exports.DATA_SILOS_ENRICHED = _chunkGC3HFDP4cjs.k; exports.DATA_SILO_EXPORT = _chunkGC3HFDP4cjs.j; exports.DATA_SUBJECTS = _chunkGC3HFDP4cjs.w; exports.DATA_SUB_CATEGORIES = _chunkGC3HFDP4cjs.Tb; exports.DAY_MS = _chunkGC3HFDP4cjs.dg; exports.DEBUG = _chunk6WIX75ZFcjs.z; exports.DEFAULT_TRANSCEND_API = _chunk6WIX75ZFcjs.r; exports.DEFAULT_TRANSCEND_CONSENT_API = _chunk6WIX75ZFcjs.s; exports.DEFAULT_TRANSCEND_PULL_RESOURCES = _chunkGC3HFDP4cjs.fe; exports.DELETE_API_KEY = _chunkGC3HFDP4cjs.F; exports.DELETE_ATTRIBUTE_VALUE = _chunkGC3HFDP4cjs.Oa; exports.DEPLOYED_PRIVACY_CENTER_URL = _chunkGC3HFDP4cjs.Ab; exports.DEPLOY_CONSENT_MANAGER = _chunkGC3HFDP4cjs.eb; exports.DETERMINE_LOGIN_METHOD = _chunkGC3HFDP4cjs.Db; exports.DataCategoryGuessInput = _chunk5UBGZNDCcjs.h; exports.DataCategoryInput = _chunk5UBGZNDCcjs.q; exports.DataCategoryPreviewInput = _chunk5UBGZNDCcjs.g; exports.DataCategoryRecommendationInput = _chunk5UBGZNDCcjs.i; exports.DataFlowCsvInput = _chunk5UBGZNDCcjs.ia; exports.DataFlowInput = _chunk5UBGZNDCcjs.I; exports.DataSiloInput = _chunk5UBGZNDCcjs.Q; exports.DataSubjectInput = _chunk5UBGZNDCcjs.F; exports.DatapointInput = _chunk5UBGZNDCcjs.w; exports.ENABLED_PLUGINS = _chunkGC3HFDP4cjs.I; exports.ENRICHERS = _chunkGC3HFDP4cjs.n; exports.ENTRY_COUNT = _chunkGC3HFDP4cjs.h; exports.EXPERIENCES = _chunkGC3HFDP4cjs.Ta; exports.EnrichPrivacyRequest = _chunkCD32SMHCcjs.b; exports.EnricherInput = _chunk5UBGZNDCcjs.e; exports.FETCH_CONSENT_MANAGER = _chunkGC3HFDP4cjs.$a; exports.FETCH_CONSENT_MANAGER_ID = _chunkGC3HFDP4cjs._a; exports.FETCH_CONSENT_MANAGER_THEME = _chunkGC3HFDP4cjs.ab; exports.FETCH_PRIVACY_CENTER_ID = _chunkGC3HFDP4cjs.zb; exports.FieldInput = _chunk5UBGZNDCcjs.v; exports.GLOBAL_ACTION_ITEMS = _chunkGC3HFDP4cjs.wb; exports.GLOBAL_ACTION_ITEM_COLLECTIONS = _chunkGC3HFDP4cjs.Ia; exports.HOUR_MS = _chunkGC3HFDP4cjs.eg; exports.IDENTIFIERS = _chunkGC3HFDP4cjs.s; exports.IDENTIFIER_BLOCK_LIST = _chunkGC3HFDP4cjs.ec; exports.IMPORT_ONE_TRUST_ASSESSMENT_FORMS = _chunkGC3HFDP4cjs.ga; exports.INITIALIZER = _chunkGC3HFDP4cjs.o; exports.IP_ADDRESS_REGEX = _chunkFWTJQA4Mcjs.f; exports.IS_REQUIRED = _chunkGC3HFDP4cjs.gc; exports.IdentifierInput = _chunk5UBGZNDCcjs.H; exports.ImportOnetrustAssessmentsInput = _chunk5UBGZNDCcjs.ra; exports.IntlMessage = _chunkGC3HFDP4cjs.uf; exports.IntlMessageInput = _chunk5UBGZNDCcjs.P; exports.LARGE_LANGUAGE_MODELS = _chunkGC3HFDP4cjs.Gb; exports.LOGIN = _chunkGC3HFDP4cjs.Eb; exports.MESSAGES = _chunkGC3HFDP4cjs.$; exports.NEW_IDENTIFIER_TYPES = _chunkGC3HFDP4cjs.t; exports.NONE = _chunkGC3HFDP4cjs.bc; exports.NOTIFY_ADDITIONAL_TIME = _chunkGC3HFDP4cjs._; exports.ORGANIZATION = _chunkGC3HFDP4cjs.L; exports.OneTrustFileFormat = _chunkQ7I37FJVcjs.a; exports.OneTrustPullResource = _chunkQ7I37FJVcjs.b; exports.OneTrustPullSource = _chunkQ7I37FJVcjs.c; exports.OpenAIEnabledRoute = _chunk5UBGZNDCcjs.ma; exports.OpenAIEnabledRoutes = _chunk5UBGZNDCcjs.na; exports.OpenAIIntegration = _chunk5UBGZNDCcjs.oa; exports.OpenAIRouteName = _chunkQ7I37FJVcjs.f; exports.POLICIES = _chunkGC3HFDP4cjs.U; exports.PREFERENCE_TOPICS = _chunkGC3HFDP4cjs.ia; exports.PRIVACY_CENTER = _chunkGC3HFDP4cjs.Bb; exports.PROCESSING_ACTIVITIES = _chunkGC3HFDP4cjs.Zb; exports.PROCESSING_PURPOSE_SUB_CATEGORIES = _chunkGC3HFDP4cjs.Wb; exports.PROMPTS = _chunkGC3HFDP4cjs.ka; exports.PROMPTS_WITH_VARIABLES = _chunkGC3HFDP4cjs.na; exports.PROMPT_GROUPS = _chunkGC3HFDP4cjs.ma; exports.PROMPT_PARTIALS = _chunkGC3HFDP4cjs.la; exports.PROMPT_THREADS = _chunkGC3HFDP4cjs.T; exports.PURPOSES = _chunkGC3HFDP4cjs.ha; exports.ParsedAttributeInput = _chunkGC3HFDP4cjs.pc; exports.PartitionInput = _chunk5UBGZNDCcjs.L; exports.PathfinderPolicy = _chunk5UBGZNDCcjs.pa; exports.PathfinderPolicyName = _chunkQ7I37FJVcjs.e; exports.PathfinderPolicyNameC = _chunk5UBGZNDCcjs.la; exports.PathfinderPromptRunMetadata = _chunk5UBGZNDCcjs.qa; exports.PolicyInput = _chunk5UBGZNDCcjs.O; exports.PrivacyCenterInput = _chunk5UBGZNDCcjs.N; exports.PrivacyRequest = _chunkGC3HFDP4cjs.md; exports.PrivacyRequestInput = _chunkGC3HFDP4cjs.rf; exports.PrivacyRequestResponse = _chunkGC3HFDP4cjs.Af; exports.ProcessingActivityInput = _chunk5UBGZNDCcjs.A; exports.ProcessingPurposeInput = _chunk5UBGZNDCcjs.r; exports.ProcessingPurposePreviewInput = _chunk5UBGZNDCcjs.f; exports.PromptAVendorEmailSettings = _chunk5UBGZNDCcjs.x; exports.PromptGroupInput = _chunk5UBGZNDCcjs.u; exports.PromptInput = _chunk5UBGZNDCcjs.s; exports.PromptPartialInput = _chunk5UBGZNDCcjs.t; exports.PurposeMap = _chunkM2ARSCLFcjs.c; exports.REDUCED_REQUESTS_FOR_DATA_SILO_COUNT = _chunkGC3HFDP4cjs.xa; exports.REMOVE_REQUEST_IDENTIFIERS = _chunkGC3HFDP4cjs.Ba; exports.REPORT_PROMPT_RUN = _chunkGC3HFDP4cjs.Ga; exports.REPOSITORIES = _chunkGC3HFDP4cjs.A; exports.REQUESTS = _chunkGC3HFDP4cjs.W; exports.REQUEST_DATA_SILOS = _chunkGC3HFDP4cjs.ua; exports.REQUEST_ENRICHERS = _chunkGC3HFDP4cjs.ba; exports.REQUEST_FILES = _chunkGC3HFDP4cjs.Ea; exports.REQUEST_IDENTIFIERS = _chunkGC3HFDP4cjs.Ca; exports.RETRYABLE_BATCH_STATUSES = _chunk6WIX75ZFcjs.y; exports.RETRY_REQUEST_DATA_SILO = _chunkGC3HFDP4cjs.wa; exports.RETRY_REQUEST_ENRICHER = _chunkGC3HFDP4cjs.ca; exports.RateCounter = _chunkGC3HFDP4cjs.$f; exports.RegionInput = _chunk5UBGZNDCcjs.z; exports.RepositoryInput = _chunk5UBGZNDCcjs.E; exports.RequestFileMetadata = _chunkGC3HFDP4cjs.vf; exports.RequestFileMetadataResponse = _chunkGC3HFDP4cjs.wf; exports.RequestIdentifiersResponse = _chunkGC3HFDP4cjs.jd; exports.RequestPurposeTrigger = _chunkGC3HFDP4cjs.ld; exports.RiskAssignmentInput = _chunk5UBGZNDCcjs.W; exports.RiskLogicInput = _chunk5UBGZNDCcjs.X; exports.SCOPES_BY_TITLE = _chunk6WIX75ZFcjs.w; exports.SCOPE_TITLES = _chunk6WIX75ZFcjs.x; exports.SET_RESOURCE_ATTRIBUTES = _chunkGC3HFDP4cjs.Sa; exports.SKIP_REQUEST_ENRICHER = _chunkGC3HFDP4cjs.da; exports.SOFTWARE_DEVELOPMENT_KITS = _chunkGC3HFDP4cjs.N; exports.SOMBRA_VERSION = _chunkGC3HFDP4cjs.ac; exports.SUB_DATA_POINTS = _chunkGC3HFDP4cjs.c; exports.SUB_DATA_POINTS_COUNT = _chunkGC3HFDP4cjs.d; exports.SUB_DATA_POINTS_WITH_GUESSES = _chunkGC3HFDP4cjs.e; exports.SYNC_ATTRIBUTE_TYPES = _chunkGC3HFDP4cjs.Mc; exports.SoftwareDevelopmentKitInput = _chunk5UBGZNDCcjs.B; exports.StoredApiKey = _chunk5UBGZNDCcjs.ha; exports.SuccessfulRequest = _chunkGC3HFDP4cjs.jc; exports.TEAMS = _chunkGC3HFDP4cjs.ya; exports.TEMPLATES = _chunkGC3HFDP4cjs.J; exports.TOGGLE_CONSENT_PRECEDENCE = _chunkGC3HFDP4cjs.lb; exports.TOGGLE_DATA_SUBJECT = _chunkGC3HFDP4cjs.z; exports.TOGGLE_TELEMETRY_PARTITION_STRATEGY = _chunkGC3HFDP4cjs.kb; exports.TOGGLE_UNKNOWN_COOKIE_POLICY = _chunkGC3HFDP4cjs.jb; exports.TOGGLE_UNKNOWN_REQUEST_POLICY = _chunkGC3HFDP4cjs.ib; exports.TR_PULL_RESOURCE_SCOPE_MAP = _chunk6WIX75ZFcjs.u; exports.TR_PUSH_RESOURCE_SCOPE_MAP = _chunk6WIX75ZFcjs.t; exports.TR_YML_RESOURCE_TO_FIELD_NAME = _chunk6WIX75ZFcjs.v; exports.TeamInput = _chunk5UBGZNDCcjs.d; exports.TemplateInput = _chunk5UBGZNDCcjs.a; exports.TranscendInput = _chunk5UBGZNDCcjs.ga; exports.TranscendPromptManager = B; exports.TranscendPullResource = _chunkQ7I37FJVcjs.d; exports.UPDATE_ACTION = _chunkGC3HFDP4cjs.vb; exports.UPDATE_ACTION_ITEMS = _chunkGC3HFDP4cjs.xb; exports.UPDATE_ACTION_ITEM_COLLECTION = _chunkGC3HFDP4cjs.Ka; exports.UPDATE_AGENTS = _chunkGC3HFDP4cjs.Jb; exports.UPDATE_AGENT_FILES = _chunkGC3HFDP4cjs.Mb; exports.UPDATE_AGENT_FUNCTIONS = _chunkGC3HFDP4cjs.Pb; exports.UPDATE_ATTRIBUTE = _chunkGC3HFDP4cjs.Ra; exports.UPDATE_ATTRIBUTE_VALUES = _chunkGC3HFDP4cjs.Na; exports.UPDATE_BUSINESS_ENTITIES = _chunkGC3HFDP4cjs.tb; exports.UPDATE_CODE_PACKAGES = _chunkGC3HFDP4cjs.R; exports.UPDATE_CONSENT_EXPERIENCE = _chunkGC3HFDP4cjs.nb; exports.UPDATE_CONSENT_MANAGER_DOMAINS = _chunkGC3HFDP4cjs.fb; exports.UPDATE_CONSENT_MANAGER_PARTITION = _chunkGC3HFDP4cjs.gb; exports.UPDATE_CONSENT_MANAGER_THEME = _chunkGC3HFDP4cjs.mb; exports.UPDATE_CONSENT_MANAGER_TO_LATEST = _chunkGC3HFDP4cjs.db; exports.UPDATE_CONSENT_MANAGER_VERSION = _chunkGC3HFDP4cjs.cb; exports.UPDATE_DATA_FLOWS = _chunkGC3HFDP4cjs.Wa; exports.UPDATE_DATA_SILOS = _chunkGC3HFDP4cjs.l; exports.UPDATE_DATA_SUBJECT = _chunkGC3HFDP4cjs.y; exports.UPDATE_DATA_SUB_CATEGORIES = _chunkGC3HFDP4cjs.Vb; exports.UPDATE_ENRICHER = _chunkGC3HFDP4cjs.q; exports.UPDATE_IDENTIFIER = _chunkGC3HFDP4cjs.v; exports.UPDATE_INTL_MESSAGES = _chunkGC3HFDP4cjs.aa; exports.UPDATE_LOAD_OPTIONS = _chunkGC3HFDP4cjs.hb; exports.UPDATE_OR_CREATE_COOKIES = _chunkGC3HFDP4cjs.Xa; exports.UPDATE_OR_CREATE_DATA_POINT = _chunkGC3HFDP4cjs.f; exports.UPDATE_POLICIES = _chunkGC3HFDP4cjs.V; exports.UPDATE_PRIVACY_CENTER = _chunkGC3HFDP4cjs.Cb; exports.UPDATE_PRIVACY_REQUEST = _chunkGC3HFDP4cjs.Z; exports.UPDATE_PROCESSING_ACTIVITIES = _chunkGC3HFDP4cjs.$b; exports.UPDATE_PROCESSING_PURPOSE_SUB_CATEGORIES = _chunkGC3HFDP4cjs.Yb; exports.UPDATE_PROMPTS = _chunkGC3HFDP4cjs.oa; exports.UPDATE_PROMPT_GROUPS = _chunkGC3HFDP4cjs.sa; exports.UPDATE_PROMPT_PARTIALS = _chunkGC3HFDP4cjs.qa; exports.UPDATE_REPOSITORIES = _chunkGC3HFDP4cjs.B; exports.UPDATE_SOFTWARE_DEVELOPMENT_KITS = _chunkGC3HFDP4cjs.O; exports.UPDATE_TEAM = _chunkGC3HFDP4cjs.Aa; exports.UPDATE_VENDORS = _chunkGC3HFDP4cjs.Sb; exports.USERS = _chunkGC3HFDP4cjs.Da; exports.USP_STRING_REGEX = _chunkM2ARSCLFcjs.b; exports.VARIABLE_PARAMETERS_NAME = _chunkRE5YALEOcjs.b; exports.VARIABLE_PARAMETERS_REGEXP = _chunkRE5YALEOcjs.a; exports.VENDORS = _chunkGC3HFDP4cjs.Qb; exports.VendorInput = _chunk5UBGZNDCcjs.p; exports.WebhookHeader = _chunk5UBGZNDCcjs.b; exports.addDaysUtc = _chunkGC3HFDP4cjs.jg; exports.addMessagesToPromptRun = _chunkGC3HFDP4cjs.uc; exports.addMs = _chunkGC3HFDP4cjs.ig; exports.appendCsvSync = _chunkGC3HFDP4cjs.lg; exports.approvePrivacyRequests = _chunkGC3HFDP4cjs.Cf; exports.assumeRole = _chunkGC3HFDP4cjs.Kd; exports.buildAIIntegrationType = _chunkLCDYXJN6cjs.b; exports.buildEnabledRouteType = _chunkLCDYXJN6cjs.a; exports.buildTranscendGraphQLClient = _chunkGC3HFDP4cjs.wc; exports.buildTranscendGraphQLClientGeneric = _chunkGC3HFDP4cjs.vc; exports.buildXdiSyncEndpoint = _chunkFWTJQA4Mcjs.g; exports.bulkRestartRequests = _chunkGC3HFDP4cjs.Kf; exports.bulkRetryEnrichers = _chunkGC3HFDP4cjs.Mf; exports.cancelPrivacyRequests = _chunkGC3HFDP4cjs.Ff; exports.clampPageSize = _chunkGC3HFDP4cjs.fg; exports.collectParquetFilesOrExit = _chunkGC3HFDP4cjs.bg; exports.consentManagersToBusinessEntities = _chunkFWTJQA4Mcjs.h; exports.convertToDataSubjectAllowlist = _chunkGC3HFDP4cjs.yd; exports.convertToDataSubjectBlockList = _chunkGC3HFDP4cjs.xd; exports.createActionItemCollection = _chunkGC3HFDP4cjs.le; exports.createActionItems = _chunkGC3HFDP4cjs.oe; exports.createAgent = _chunkGC3HFDP4cjs.xe; exports.createAgentFile = _chunkGC3HFDP4cjs.re; exports.createAgentFunction = _chunkGC3HFDP4cjs.ue; exports.createApiKey = _chunkGC3HFDP4cjs.Ld; exports.createBusinessEntity = _chunkGC3HFDP4cjs.Be; exports.createCodePackage = _chunkGC3HFDP4cjs.Ke; exports.createConsentToken = _chunkM2ARSCLFcjs.a; exports.createDataCategory = _chunkGC3HFDP4cjs.Re; exports.createDataFlows = _chunkGC3HFDP4cjs.Ve; exports.createPreferenceAccessTokens = _chunkGC3HFDP4cjs.Jc; exports.createProcessingPurpose = _chunkGC3HFDP4cjs.df; exports.createPrompt = _chunkGC3HFDP4cjs.gf; exports.createRegexForTag = j; exports.createRepository = _chunkGC3HFDP4cjs.He; exports.createSoftwareDevelopmentKit = _chunkGC3HFDP4cjs.Ee; exports.createSombraGotInstance = _chunkGC3HFDP4cjs.xc; exports.createTranscendConsentGotInstance = _chunkGC3HFDP4cjs.yc; exports.createVendor = _chunkGC3HFDP4cjs.jf; exports.defineTranscendPrompts = Wm; exports.deleteApiKey = _chunkGC3HFDP4cjs.Md; exports.deployConsentManager = _chunkGC3HFDP4cjs.zc; exports.description = _chunk6WIX75ZFcjs.l; exports.domainToHost = _chunkFWTJQA4Mcjs.e; exports.downloadPrivacyRequestFiles = _chunkGC3HFDP4cjs.zf; exports.enrichPrivacyRequest = _chunkCD32SMHCcjs.c; exports.ensureAllDataSubjectsExist = _chunkGC3HFDP4cjs.wd; exports.extractClientError = _chunkGC3HFDP4cjs.Hf; exports.extractErrorMessage = _chunkGC3HFDP4cjs.Wf; exports.fetchActiveSiloDiscoPlugin = _chunkGC3HFDP4cjs.Bc; exports.fetchAllActionItems = _chunkGC3HFDP4cjs.Cc; exports.fetchAllActions = _chunkGC3HFDP4cjs.Dc; exports.fetchAllAgentFiles = _chunkGC3HFDP4cjs.Ec; exports.fetchAllAgentFunctions = _chunkGC3HFDP4cjs.Fc; exports.fetchAllAgents = _chunkGC3HFDP4cjs.Gc; exports.fetchAllApiKeys = _chunkGC3HFDP4cjs.rd; exports.fetchAllAssessmentTemplates = _chunkGC3HFDP4cjs.Ic; exports.fetchAllAssessments = _chunkGC3HFDP4cjs.Hc; exports.fetchAllAttributeValues = _chunkGC3HFDP4cjs.Lc; exports.fetchAllAttributes = _chunkGC3HFDP4cjs.Nc; exports.fetchAllBusinessEntities = _chunkGC3HFDP4cjs.Oc; exports.fetchAllCatalogs = _chunkGC3HFDP4cjs.td; exports.fetchAllCookies = _chunkGC3HFDP4cjs.Vc; exports.fetchAllDataCategories = _chunkGC3HFDP4cjs.Wc; exports.fetchAllDataFlows = _chunkGC3HFDP4cjs.Xc; exports.fetchAllDataPoints = _chunkGC3HFDP4cjs.Xd; exports.fetchAllDataSilos = _chunkGC3HFDP4cjs.Vd; exports.fetchAllDataSubjects = _chunkGC3HFDP4cjs.vd; exports.fetchAllEnrichers = _chunkGC3HFDP4cjs.$d; exports.fetchAllIdentifiers = _chunkGC3HFDP4cjs.qg; exports.fetchAllMessages = _chunkGC3HFDP4cjs.Yc; exports.fetchAllPolicies = _chunkGC3HFDP4cjs.$c; exports.fetchAllPreferenceTopics = _chunkGC3HFDP4cjs.bd; exports.fetchAllPrivacyCenters = _chunkGC3HFDP4cjs.cd; exports.fetchAllProcessingActivities = _chunkGC3HFDP4cjs.dd; exports.fetchAllProcessingPurposes = _chunkGC3HFDP4cjs.ed; exports.fetchAllPromptGroups = _chunkGC3HFDP4cjs.zd; exports.fetchAllPromptPartials = _chunkGC3HFDP4cjs.Ad; exports.fetchAllPromptThreads = _chunkGC3HFDP4cjs.Dd; exports.fetchAllPrompts = _chunkGC3HFDP4cjs.Bd; exports.fetchAllPurposes = _chunkGC3HFDP4cjs.fd; exports.fetchAllPurposesAndPreferences = _chunkGC3HFDP4cjs.gd; exports.fetchAllRequestAttributeKeys = _chunkGC3HFDP4cjs.Kc; exports.fetchAllRequestEnrichers = _chunkGC3HFDP4cjs.hd; exports.fetchAllRequestIdentifierMetadata = _chunkGC3HFDP4cjs.id; exports.fetchAllRequestIdentifiers = _chunkGC3HFDP4cjs.kd; exports.fetchAllRequests = _chunkGC3HFDP4cjs.nd; exports.fetchAllSubDataPoints = _chunkGC3HFDP4cjs.Wd; exports.fetchAllTeams = _chunkGC3HFDP4cjs.od; exports.fetchAllTemplates = _chunkGC3HFDP4cjs.be; exports.fetchAllUsers = _chunkGC3HFDP4cjs.pd; exports.fetchAllVendors = _chunkGC3HFDP4cjs.qd; exports.fetchAndIndexCatalogs = _chunkGC3HFDP4cjs.ud; exports.fetchApiKeys = _chunkGC3HFDP4cjs.sd; exports.fetchConsentManager = _chunkGC3HFDP4cjs.Pc; exports.fetchConsentManagerAnalyticsData = _chunkGC3HFDP4cjs.Tc; exports.fetchConsentManagerExperiences = _chunkGC3HFDP4cjs.Rc; exports.fetchConsentManagerId = _chunkGC3HFDP4cjs.Qc; exports.fetchConsentManagerTheme = _chunkGC3HFDP4cjs.Uc; exports.fetchEnrichedDataSilos = _chunkGC3HFDP4cjs.Yd; exports.fetchIdentifiersAndCreateMissing = _chunkGC3HFDP4cjs.rg; exports.fetchPartitions = _chunkGC3HFDP4cjs.de; exports.fetchPrivacyCenterId = _chunkGC3HFDP4cjs._c; exports.fetchPrivacyCenterUrl = _chunkGC3HFDP4cjs.Zc; exports.fetchPromptsWithVariables = _chunkGC3HFDP4cjs.Cd; exports.fetchRequestDataSilo = _chunkGC3HFDP4cjs.Gd; exports.fetchRequestDataSiloActiveCount = _chunkGC3HFDP4cjs.Hd; exports.fetchRequestDataSilos = _chunkGC3HFDP4cjs.Fd; exports.fetchRequestDataSilosCount = _chunkGC3HFDP4cjs.Ed; exports.fetchRequestFilesForRequest = _chunkGC3HFDP4cjs.Id; exports.filterNullishValuesFromObject = Ym; exports.filterRows = _chunkGC3HFDP4cjs.tc; exports.formatAttributeValues = _chunkGC3HFDP4cjs.ad; exports.fuzzyMatchColumns = _chunkGC3HFDP4cjs.mc; exports.fuzzySearch = _chunkGC3HFDP4cjs.lc; exports.generateCrossAccountApiKeys = _chunk4MXXWDM2cjs.a; exports.getErrorStatus = _chunkGC3HFDP4cjs.Vf; exports.getFileMetadataForPrivacyRequests = _chunkGC3HFDP4cjs.xf; exports.getGitFilesThatChanged = sc; exports.getUniqueValuesForColumn = _chunkGC3HFDP4cjs.sc; exports.inquirerAutoComplete = _chunkGC3HFDP4cjs.Tf; exports.inquirerConfirmBoolean = _chunkGC3HFDP4cjs.Rf; exports.inquirerConfirmText = _chunkGC3HFDP4cjs.Sf; exports.limitRecords = _chunkGC3HFDP4cjs._f; exports.listDirectories = _chunk4MXXWDM2cjs.d; exports.listFiles = _chunk4MXXWDM2cjs.c; exports.loginUser = _chunkGC3HFDP4cjs.Jd; exports.makeGraphQLRequest = _chunkGC3HFDP4cjs.pg; exports.mapColumnsToAttributes = _chunkGC3HFDP4cjs.Gf; exports.mapColumnsToIdentifiers = _chunkGC3HFDP4cjs.Ef; exports.mapCsvColumnsToApi = _chunkGC3HFDP4cjs.of; exports.mapCsvRowsToRequestInputs = _chunkGC3HFDP4cjs.tf; exports.mapEnumValues = _chunkGC3HFDP4cjs.nc; exports.mapRequestEnumValues = _chunkGC3HFDP4cjs.pf; exports.markCronIdentifierCompleted = _chunk7UB5BB7Kcjs.d; exports.markRequestDataSiloIdsCompleted = _chunk7UB5BB7Kcjs.f; exports.markSilentPrivacyRequests = _chunkGC3HFDP4cjs.nf; exports.mergeTranscendInputs = _chunkIBTP5OXEcjs.a; exports.name = _chunk6WIX75ZFcjs.n; exports.normalizeIdentifierValue = _chunkGC3HFDP4cjs.sf; exports.notifyPrivacyRequestsAdditionalTime = _chunkGC3HFDP4cjs.Df; exports.parquetToCsvOneFile = _chunkGC3HFDP4cjs.cg; exports.parseAssessmentDisplayLogic = _chunkGC3HFDP4cjs.Sd; exports.parseAssessmentRiskLogic = _chunkGC3HFDP4cjs.Ud; exports.parseAttributesFromString = _chunkGC3HFDP4cjs.qc; exports.parseFilePath = _chunkGC3HFDP4cjs.ng; exports.parseVariablesFromString = _chunkGC3HFDP4cjs.Uf; exports.pullAllDatapoints = _chunkOM2P5WDQcjs.a; exports.pullChunkedCustomSiloOutstandingIdentifiers = _chunk7UB5BB7Kcjs.g; exports.pullConsentManagerMetrics = _chunkFWTJQA4Mcjs.d; exports.pullCronPageOfIdentifiers = _chunk7UB5BB7Kcjs.b; exports.pullManualEnrichmentIdentifiersToCsv = _chunkCD32SMHCcjs.a; exports.pullPrivacyRequests = _chunkGC3HFDP4cjs.Of; exports.pullTranscendConfiguration = _chunkGC3HFDP4cjs.ge; exports.pullUnstructuredSubDataPointRecommendations = _chunkOM2P5WDQcjs.b; exports.pushCronIdentifiersFromCsv = _chunk7UB5BB7Kcjs.e; exports.pushManualEnrichmentIdentifiersFromCsv = _chunkCD32SMHCcjs.d; exports.readCsv = _chunkGC3HFDP4cjs.rc; exports.readSafe = _chunkGC3HFDP4cjs.ag; exports.readTranscendYaml = _chunkRE5YALEOcjs.d; exports.removeLinks = Km; exports.removeUnverifiedRequestIdentifiers = _chunkGC3HFDP4cjs.Qf; exports.replaceVariablesInYaml = _chunkRE5YALEOcjs.c; exports.reportPromptRun = _chunkGC3HFDP4cjs.he; exports.restartPrivacyRequest = _chunkGC3HFDP4cjs.Jf; exports.retryRequestDataSilos = _chunkGC3HFDP4cjs.Nf; exports.retryRequestEnricher = _chunkGC3HFDP4cjs.ie; exports.retrySamePromise = _chunkGC3HFDP4cjs.Zf; exports.setResourceAttributes = _chunkGC3HFDP4cjs.je; exports.skipPreflightJobs = _chunkGC3HFDP4cjs.Lf; exports.skipRequestDataSilos = _chunkGC3HFDP4cjs.Pf; exports.sleepPromise = _chunkGC3HFDP4cjs.Xf; exports.splitCsvToList = _chunkGC3HFDP4cjs.oc; exports.splitInHalf = _chunkGC3HFDP4cjs.Yf; exports.startOfHour = _chunkGC3HFDP4cjs.hg; exports.startOfUtcDay = _chunkGC3HFDP4cjs.gg; exports.streamPrivacyRequestFiles = _chunkGC3HFDP4cjs.yf; exports.submitPrivacyRequest = _chunkGC3HFDP4cjs.Bf; exports.syncAction = _chunkGC3HFDP4cjs.ke; exports.syncActionItemCollections = _chunkGC3HFDP4cjs.ne; exports.syncActionItems = _chunkGC3HFDP4cjs.qe; exports.syncAgentFiles = _chunkGC3HFDP4cjs.te; exports.syncAgentFunctions = _chunkGC3HFDP4cjs.we; exports.syncAgents = _chunkGC3HFDP4cjs.ze; exports.syncAttribute = _chunkGC3HFDP4cjs.Ae; exports.syncBusinessEntities = _chunkGC3HFDP4cjs.De; exports.syncCodePackages = _chunkGC3HFDP4cjs.Me; exports.syncConfigurationToTranscend = _chunkGC3HFDP4cjs.sg; exports.syncConsentManager = _chunkGC3HFDP4cjs.Oe; exports.syncConsentManagerExperiences = _chunkGC3HFDP4cjs.Ne; exports.syncCookies = _chunkGC3HFDP4cjs.Qe; exports.syncDataCategories = _chunkGC3HFDP4cjs.Te; exports.syncDataFlows = _chunkGC3HFDP4cjs.We; exports.syncDataSiloDependencies = _chunkGC3HFDP4cjs._d; exports.syncDataSilos = _chunkGC3HFDP4cjs.Zd; exports.syncDataSubject = _chunkGC3HFDP4cjs.Xe; exports.syncEnricher = _chunkGC3HFDP4cjs.ae; exports.syncIdentifier = _chunkGC3HFDP4cjs.Ye; exports.syncIntlMessages = _chunkGC3HFDP4cjs._e; exports.syncPartitions = _chunkGC3HFDP4cjs.ee; exports.syncPolicies = _chunkGC3HFDP4cjs.af; exports.syncPrivacyCenter = _chunkGC3HFDP4cjs.bf; exports.syncProcessingActivities = _chunkGC3HFDP4cjs.cf; exports.syncProcessingPurposes = _chunkGC3HFDP4cjs.ff; exports.syncPrompts = _chunkGC3HFDP4cjs.if; exports.syncRepositories = _chunkGC3HFDP4cjs.Je; exports.syncSoftwareDevelopmentKits = _chunkGC3HFDP4cjs.Ge; exports.syncTemplate = _chunkGC3HFDP4cjs.ce; exports.syncVendors = _chunkGC3HFDP4cjs.lf; exports.updateActionItem = _chunkGC3HFDP4cjs.pe; exports.updateActionItemCollection = _chunkGC3HFDP4cjs.me; exports.updateAgentFiles = _chunkGC3HFDP4cjs.se; exports.updateAgentFunctions = _chunkGC3HFDP4cjs.ve; exports.updateAgents = _chunkGC3HFDP4cjs.ye; exports.updateBusinessEntities = _chunkGC3HFDP4cjs.Ce; exports.updateCodePackages = _chunkGC3HFDP4cjs.Le; exports.updateConsentManagerToLatest = _chunkGC3HFDP4cjs.Ac; exports.updateConsentManagerVersionToLatest = _chunkFWTJQA4Mcjs.a; exports.updateDataCategories = _chunkGC3HFDP4cjs.Se; exports.updateDataFlows = _chunkGC3HFDP4cjs.Ue; exports.updateIntlMessages = _chunkGC3HFDP4cjs.Ze; exports.updateOrCreateCookies = _chunkGC3HFDP4cjs.Pe; exports.updatePolicies = _chunkGC3HFDP4cjs.$e; exports.updateProcessingPurposes = _chunkGC3HFDP4cjs.ef; exports.updatePrompts = _chunkGC3HFDP4cjs.hf; exports.updateRepositories = _chunkGC3HFDP4cjs.Ie; exports.updateSoftwareDevelopmentKits = _chunkGC3HFDP4cjs.Fe; exports.updateVendors = _chunkGC3HFDP4cjs.kf; exports.uploadConsents = _chunkM2ARSCLFcjs.d; exports.uploadCookiesFromCsv = _chunkFWTJQA4Mcjs.c; exports.uploadDataFlowsFromCsv = _chunkFWTJQA4Mcjs.b; exports.uploadPrivacyRequestsFromCsv = _chunkGC3HFDP4cjs.If; exports.uploadSiloDiscoveryResults = _chunkGC3HFDP4cjs.mf; exports.validateTranscendAuth = _chunk4MXXWDM2cjs.b; exports.version = _chunk6WIX75ZFcjs.m; exports.writeCsv = _chunkGC3HFDP4cjs.mg; exports.writeCsvSync = _chunkGC3HFDP4cjs.kg; exports.writeLargeCsv = _chunkGC3HFDP4cjs.og; exports.writeTranscendYaml = _chunkRE5YALEOcjs.e;
5
5
  //# sourceMappingURL=index.cjs.map