@transcend-io/cli 8.31.0 → 8.31.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) 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-5SEDJJAH.cjs → chunk-52MA7ZLS.cjs} +2 -2
  5. package/dist/{chunk-5SEDJJAH.cjs.map → chunk-52MA7ZLS.cjs.map} +1 -1
  6. package/dist/{chunk-VWGA62SG.cjs → chunk-55B57ZAY.cjs} +4 -4
  7. package/dist/{chunk-VWGA62SG.cjs.map → chunk-55B57ZAY.cjs.map} +1 -1
  8. package/dist/{chunk-HAAVY3FG.cjs → chunk-7H4ALAHC.cjs} +4 -4
  9. package/dist/{chunk-HAAVY3FG.cjs.map → chunk-7H4ALAHC.cjs.map} +1 -1
  10. package/dist/{chunk-CBBHRSKJ.cjs → chunk-ALOB5SWZ.cjs} +2 -2
  11. package/dist/{chunk-CBBHRSKJ.cjs.map → chunk-ALOB5SWZ.cjs.map} +1 -1
  12. package/dist/{chunk-CLJATLM4.cjs → chunk-DIB7IOEX.cjs} +2 -2
  13. package/dist/{chunk-CLJATLM4.cjs.map → chunk-DIB7IOEX.cjs.map} +1 -1
  14. package/dist/{chunk-J7BM4Z6U.cjs → chunk-G522ZIHS.cjs} +2 -2
  15. package/dist/{chunk-J7BM4Z6U.cjs.map → chunk-G522ZIHS.cjs.map} +1 -1
  16. package/dist/{chunk-ZZPMCMEB.cjs → chunk-HCEZRZHV.cjs} +6 -6
  17. package/dist/{chunk-ZZPMCMEB.cjs.map → chunk-HCEZRZHV.cjs.map} +1 -1
  18. package/dist/{chunk-HUZESENZ.cjs → chunk-M3Y6JH6I.cjs} +2 -2
  19. package/dist/{chunk-HUZESENZ.cjs.map → chunk-M3Y6JH6I.cjs.map} +1 -1
  20. package/dist/{chunk-JSVWGZUF.cjs → chunk-M7OVJJGB.cjs} +4 -4
  21. package/dist/{chunk-JSVWGZUF.cjs.map → chunk-M7OVJJGB.cjs.map} +1 -1
  22. package/dist/{chunk-EA6WCT7X.cjs → chunk-MXT7N555.cjs} +21 -21
  23. package/dist/{chunk-EA6WCT7X.cjs.map → chunk-MXT7N555.cjs.map} +1 -1
  24. package/dist/{chunk-UHERPTMC.cjs → chunk-NC6VWOMN.cjs} +2 -2
  25. package/dist/{chunk-UHERPTMC.cjs.map → chunk-NC6VWOMN.cjs.map} +1 -1
  26. package/dist/{chunk-FMFQTG5Q.cjs → chunk-Q2RJZGYW.cjs} +2 -2
  27. package/dist/{chunk-FMFQTG5Q.cjs.map → chunk-Q2RJZGYW.cjs.map} +1 -1
  28. package/dist/{chunk-WAWECZTF.cjs → chunk-SKOTYI3A.cjs} +2 -2
  29. package/dist/chunk-SKOTYI3A.cjs.map +1 -0
  30. package/dist/{chunk-FZTNEEMW.cjs → chunk-XXFLFF7Q.cjs} +2 -2
  31. package/dist/{chunk-FZTNEEMW.cjs.map → chunk-XXFLFF7Q.cjs.map} +1 -1
  32. package/dist/{impl-3X74MLJH.cjs → impl-4CWCLU5Z.cjs} +2 -2
  33. package/dist/{impl-3X74MLJH.cjs.map → impl-4CWCLU5Z.cjs.map} +1 -1
  34. package/dist/{impl-3NPILIEL.cjs → impl-542SIWQ2.cjs} +2 -2
  35. package/dist/{impl-3NPILIEL.cjs.map → impl-542SIWQ2.cjs.map} +1 -1
  36. package/dist/{impl-EUBXVGYE.cjs → impl-55GTRVMZ.cjs} +2 -2
  37. package/dist/{impl-EUBXVGYE.cjs.map → impl-55GTRVMZ.cjs.map} +1 -1
  38. package/dist/{impl-YGWOUGKU.cjs → impl-5VMEZB7F.cjs} +2 -2
  39. package/dist/{impl-YGWOUGKU.cjs.map → impl-5VMEZB7F.cjs.map} +1 -1
  40. package/dist/{impl-GRFZUIPA.cjs → impl-6ANYWCOV.cjs} +2 -2
  41. package/dist/{impl-GRFZUIPA.cjs.map → impl-6ANYWCOV.cjs.map} +1 -1
  42. package/dist/{impl-CDNCBR7T.cjs → impl-A7XL5O4W.cjs} +2 -2
  43. package/dist/{impl-CDNCBR7T.cjs.map → impl-A7XL5O4W.cjs.map} +1 -1
  44. package/dist/{impl-AS634NMX.cjs → impl-BQNXMBQ4.cjs} +4 -4
  45. package/dist/{impl-AS634NMX.cjs.map → impl-BQNXMBQ4.cjs.map} +1 -1
  46. package/dist/{impl-GISNUHI6.cjs → impl-CFYRFABZ.cjs} +5 -5
  47. package/dist/{impl-GISNUHI6.cjs.map → impl-CFYRFABZ.cjs.map} +1 -1
  48. package/dist/{impl-YL4BEMVB.cjs → impl-D2HENZNO.cjs} +2 -2
  49. package/dist/{impl-YL4BEMVB.cjs.map → impl-D2HENZNO.cjs.map} +1 -1
  50. package/dist/{impl-MDV6LYET.cjs → impl-GEEPG7OH.cjs} +2 -2
  51. package/dist/{impl-MDV6LYET.cjs.map → impl-GEEPG7OH.cjs.map} +1 -1
  52. package/dist/{impl-64R4NW2W.cjs → impl-JFYHXSOV.cjs} +2 -2
  53. package/dist/{impl-64R4NW2W.cjs.map → impl-JFYHXSOV.cjs.map} +1 -1
  54. package/dist/{impl-E6HLH54N.cjs → impl-JQVCW52V.cjs} +2 -2
  55. package/dist/{impl-E6HLH54N.cjs.map → impl-JQVCW52V.cjs.map} +1 -1
  56. package/dist/impl-JSXYZHX4.cjs +2 -0
  57. package/dist/{impl-VWVHHW42.cjs.map → impl-JSXYZHX4.cjs.map} +1 -1
  58. package/dist/{impl-U2HXJYMF.cjs → impl-K2D3GTZG.cjs} +2 -2
  59. package/dist/{impl-U2HXJYMF.cjs.map → impl-K2D3GTZG.cjs.map} +1 -1
  60. package/dist/{impl-ZNEHRZSH.cjs → impl-KQYINEBI.cjs} +2 -2
  61. package/dist/{impl-ZNEHRZSH.cjs.map → impl-KQYINEBI.cjs.map} +1 -1
  62. package/dist/{impl-WJUSRANT.cjs → impl-KRJNBGJ6.cjs} +2 -2
  63. package/dist/{impl-WJUSRANT.cjs.map → impl-KRJNBGJ6.cjs.map} +1 -1
  64. package/dist/{impl-L5CDLEYL.cjs → impl-NK42TN4C.cjs} +2 -2
  65. package/dist/{impl-L5CDLEYL.cjs.map → impl-NK42TN4C.cjs.map} +1 -1
  66. package/dist/{impl-2F2MAY5Q.cjs → impl-OQAP7YDW.cjs} +2 -2
  67. package/dist/{impl-2F2MAY5Q.cjs.map → impl-OQAP7YDW.cjs.map} +1 -1
  68. package/dist/{impl-MEYQSNWH.cjs → impl-PHBUSAGS.cjs} +2 -2
  69. package/dist/{impl-MEYQSNWH.cjs.map → impl-PHBUSAGS.cjs.map} +1 -1
  70. package/dist/{impl-4TYC4KRL.cjs → impl-PKWSORXX.cjs} +2 -2
  71. package/dist/{impl-4TYC4KRL.cjs.map → impl-PKWSORXX.cjs.map} +1 -1
  72. package/dist/{impl-BRV53IYV.cjs → impl-PWYKAVK4.cjs} +2 -2
  73. package/dist/{impl-BRV53IYV.cjs.map → impl-PWYKAVK4.cjs.map} +1 -1
  74. package/dist/{impl-ZVMSDS7K.cjs → impl-Q3P6DGHG.cjs} +2 -2
  75. package/dist/{impl-ZVMSDS7K.cjs.map → impl-Q3P6DGHG.cjs.map} +1 -1
  76. package/dist/{impl-FOWYFCLQ.cjs → impl-RD5UOJY6.cjs} +2 -2
  77. package/dist/{impl-FOWYFCLQ.cjs.map → impl-RD5UOJY6.cjs.map} +1 -1
  78. package/dist/{impl-5BYWLODX.cjs → impl-REKQO7ZI.cjs} +2 -2
  79. package/dist/{impl-5BYWLODX.cjs.map → impl-REKQO7ZI.cjs.map} +1 -1
  80. package/dist/{impl-KM3U7E44.cjs → impl-RI3WQFOE.cjs} +3 -3
  81. package/dist/{impl-KM3U7E44.cjs.map → impl-RI3WQFOE.cjs.map} +1 -1
  82. package/dist/impl-SRI65ZIC.cjs +2 -0
  83. package/dist/{impl-C52MFDKN.cjs.map → impl-SRI65ZIC.cjs.map} +1 -1
  84. package/dist/{impl-T3YCRT7O.cjs → impl-T67PUM7X.cjs} +2 -2
  85. package/dist/{impl-T3YCRT7O.cjs.map → impl-T67PUM7X.cjs.map} +1 -1
  86. package/dist/{impl-NRPKPOKV.cjs → impl-TCR3Y3J2.cjs} +2 -2
  87. package/dist/{impl-NRPKPOKV.cjs.map → impl-TCR3Y3J2.cjs.map} +1 -1
  88. package/dist/{impl-FORZFZ2Q.cjs → impl-U46BMUFL.cjs} +2 -2
  89. package/dist/{impl-FORZFZ2Q.cjs.map → impl-U46BMUFL.cjs.map} +1 -1
  90. package/dist/{impl-BBDBG5OZ.cjs → impl-UVQJ7HSK.cjs} +3 -3
  91. package/dist/{impl-BBDBG5OZ.cjs.map → impl-UVQJ7HSK.cjs.map} +1 -1
  92. package/dist/{impl-QOFK7XCV.cjs → impl-V3MXFXZF.cjs} +2 -2
  93. package/dist/{impl-QOFK7XCV.cjs.map → impl-V3MXFXZF.cjs.map} +1 -1
  94. package/dist/{impl-HRQUBR2Y.cjs → impl-VL3CJ2OT.cjs} +2 -2
  95. package/dist/{impl-HRQUBR2Y.cjs.map → impl-VL3CJ2OT.cjs.map} +1 -1
  96. package/dist/{impl-TU75DDAK.cjs → impl-VT3C6SP4.cjs} +2 -2
  97. package/dist/{impl-TU75DDAK.cjs.map → impl-VT3C6SP4.cjs.map} +1 -1
  98. package/dist/{impl-B4H2FDZW.cjs → impl-VUAC7AYF.cjs} +2 -2
  99. package/dist/{impl-B4H2FDZW.cjs.map → impl-VUAC7AYF.cjs.map} +1 -1
  100. package/dist/{impl-OTMLF2EA.cjs → impl-VXOHC45F.cjs} +2 -2
  101. package/dist/{impl-OTMLF2EA.cjs.map → impl-VXOHC45F.cjs.map} +1 -1
  102. package/dist/{impl-P2KE5XGI.cjs → impl-WMI46UXI.cjs} +2 -2
  103. package/dist/{impl-P2KE5XGI.cjs.map → impl-WMI46UXI.cjs.map} +1 -1
  104. package/dist/{impl-DLES54N2.cjs → impl-XJBUIDZP.cjs} +2 -2
  105. package/dist/{impl-DLES54N2.cjs.map → impl-XJBUIDZP.cjs.map} +1 -1
  106. package/dist/{impl-7XQ333J3.cjs → impl-XLL66FXK.cjs} +2 -2
  107. package/dist/{impl-7XQ333J3.cjs.map → impl-XLL66FXK.cjs.map} +1 -1
  108. package/dist/{impl-FCNDIDLG.cjs → impl-YGVW4RTA.cjs} +2 -2
  109. package/dist/{impl-FCNDIDLG.cjs.map → impl-YGVW4RTA.cjs.map} +1 -1
  110. package/dist/{impl-YDV6YOOI.cjs → impl-ZAKPYQ32.cjs} +2 -2
  111. package/dist/{impl-YDV6YOOI.cjs.map → impl-ZAKPYQ32.cjs.map} +1 -1
  112. package/dist/{impl-ZHTH3L2C.cjs → impl-ZTYQ3IB5.cjs} +2 -2
  113. package/dist/{impl-ZHTH3L2C.cjs.map → impl-ZTYQ3IB5.cjs.map} +1 -1
  114. package/dist/index.cjs +3 -3
  115. package/dist/index.d.cts +1 -1
  116. package/package.json +1 -1
  117. package/dist/chunk-WAWECZTF.cjs.map +0 -1
  118. package/dist/impl-C52MFDKN.cjs +0 -2
  119. package/dist/impl-VWVHHW42.cjs +0 -2
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-FCNDIDLG.cjs","../src/lib/consent-manager/types.ts","../src/commands/consent/upload-consent-preferences/impl.ts"],"names":["ConsentPreferenceUpload","uploadConsentPreferences","base64EncryptionKey","base64SigningKey","partition","file","consentUrl","concurrency","doneInputValidation","preferences","readCsv","uploadConsents"],"mappings":"AAAA,mZAAwC,wDAAyC,wDAA0C,gCAA6B,gCAA6B,gCAA6B,gCAA6B,qECA5N,IAENA,CAAAA,CAA4B,CAAA,CAAA,YAAA,CAAa,CAClD,CAAA,CAAA,IAAA,CAAK,CAEL,MAAA,CAAU,CAAA,CAAA,MAAA,CAEV,SAAA,CAAa,CAAA,CAAA,MACf,CAAC,CAAA,CACC,CAAA,CAAA,OAAA,CAAQ,CAER,SAAA,CAAa,CAAA,CAAA,KAAA,CAAM,CAAG,CAAA,CAAA,OAAA,CAAQ,MAAM,CAAA,CAAK,CAAA,CAAA,OAAA,CAAQ,OAAO,CAAC,CAAC,CAAA,CAI1D,OAAA,CAAW,CAAA,CAAA,KAAA,CAAM,CAAG,CAAA,CAAA,OAAA,CAAQ,MAAM,CAAA,CAAK,CAAA,CAAA,OAAA,CAAQ,OAAO,CAAC,CAAC,CAAA,CAIxD,QAAA,CAAY,CAAA,CAAA,KAAA,CAAM,CAAG,CAAA,CAAA,OAAA,CAAQ,MAAM,CAAA,CAAK,CAAA,CAAA,OAAA,CAAQ,OAAO,CAAC,CAAC,CAAA,CAEzD,QAAA,CAAY,CAAA,CAAA,MAAA,CAEZ,GAAA,CAAO,CAAA,CAAA,KAAA,CAAM,CAAG,CAAA,CAAA,MAAA,CAAU,CAAA,CAAA,IAAI,CAAC,CAAA,CAE/B,GAAA,CAAO,CAAA,CAAA,KAAA,CAAM,CAAG,CAAA,CAAA,MAAA,CAAU,CAAA,CAAA,IAAI,CAAC,CAAA,CAK/B,QAAA,CAAY,CAAA,CAAA,MACd,CAAC,CACH,CAAC,CAAA,CChBD,MAAA,SAAsBC,CAAAA,CAEpB,CACE,mBAAA,CAAAC,CAAAA,CACA,gBAAA,CAAAC,CAAAA,CACA,SAAA,CAAAC,CAAAA,CACA,IAAA,CAAAC,CAAAA,CACA,UAAA,CAAAC,CAAAA,CACA,WAAA,CAAAC,CACF,CAAA,CACe,CACfC,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAGrC,IAAMC,CAAAA,CAAcC,kCAAAA,CAAQL,CAAML,CAAuB,CAAA,CAGzD,MAAMW,iCAAAA,CACJ,mBAAA,CAAAT,CAAAA,CACA,gBAAA,CAAAC,CAAAA,CACA,WAAA,CAAAM,CAAAA,CACA,SAAA,CAAAL,CAAAA,CACA,WAAA,CAAAG,CAAAA,CACA,YAAA,CAAcD,CAChB,CAAC,CACH,CAAA,qCAAA","file":"/home/runner/work/cli/cli/dist/impl-FCNDIDLG.cjs","sourcesContent":[null,"import * as t from 'io-ts';\n\nexport const ConsentPreferenceUpload = t.intersection([\n t.type({\n /** User ID */\n userId: t.string,\n /** Has the consent been updated (including no-change confirmation) since default resolution */\n timestamp: t.string,\n }),\n t.partial({\n /** Was tracking consent confirmed by the user? If this is false, the consent was resolved from defaults & is not yet confirmed */\n confirmed: t.union([t.literal('true'), t.literal('false')]),\n /**\n * Has the consent been updated (including no-change confirmation) since default resolution\n */\n updated: t.union([t.literal('true'), t.literal('false')]),\n /**\n * Whether or not the UI has been shown to the end-user (undefined in older versions of airgap.js)\n */\n prompted: t.union([t.literal('true'), t.literal('false')]),\n /** Consent metadata */\n metadata: t.string,\n /** US Privacy (USP) String */\n usp: t.union([t.string, t.null]),\n /** IAB GPP String */\n gpp: t.union([t.string, t.null]),\n /**\n * Purpose map\n * This is a stringified JSON object with keys as purpose names and values as booleans or 'Auto'\n */\n purposes: t.string,\n }),\n]);\n\n/** Type override */\nexport type ConsentPreferenceUpload = t.TypeOf<typeof ConsentPreferenceUpload>;\n","import type { LocalContext } from '../../../context';\n\nimport { uploadConsents } from '../../../lib/consent-manager/uploadConsents';\nimport { ConsentPreferenceUpload } from '../../../lib/consent-manager/types';\nimport { readCsv } from '../../../lib/requests';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation';\n\nexport interface UploadConsentPreferencesCommandFlags {\n base64EncryptionKey: string;\n base64SigningKey: string;\n partition: string;\n file: string;\n consentUrl: string;\n concurrency: number;\n}\n\nexport async function uploadConsentPreferences(\n this: LocalContext,\n {\n base64EncryptionKey,\n base64SigningKey,\n partition,\n file,\n consentUrl,\n concurrency,\n }: UploadConsentPreferencesCommandFlags,\n): Promise<void> {\n doneInputValidation(this.process.exit);\n\n // Load in preferences from csv\n const preferences = readCsv(file, ConsentPreferenceUpload);\n\n // Upload cookies\n await uploadConsents({\n base64EncryptionKey,\n base64SigningKey,\n preferences,\n partition,\n concurrency,\n transcendUrl: consentUrl,\n });\n}\n"]}
1
+ {"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-YGVW4RTA.cjs","../src/lib/consent-manager/types.ts","../src/commands/consent/upload-consent-preferences/impl.ts"],"names":["ConsentPreferenceUpload","uploadConsentPreferences","base64EncryptionKey","base64SigningKey","partition","file","consentUrl","concurrency","doneInputValidation","preferences","readCsv","uploadConsents"],"mappings":"AAAA,mZAAwC,wDAAyC,wDAA0C,gCAA6B,gCAA6B,gCAA6B,gCAA6B,qECA5N,IAENA,CAAAA,CAA4B,CAAA,CAAA,YAAA,CAAa,CAClD,CAAA,CAAA,IAAA,CAAK,CAEL,MAAA,CAAU,CAAA,CAAA,MAAA,CAEV,SAAA,CAAa,CAAA,CAAA,MACf,CAAC,CAAA,CACC,CAAA,CAAA,OAAA,CAAQ,CAER,SAAA,CAAa,CAAA,CAAA,KAAA,CAAM,CAAG,CAAA,CAAA,OAAA,CAAQ,MAAM,CAAA,CAAK,CAAA,CAAA,OAAA,CAAQ,OAAO,CAAC,CAAC,CAAA,CAI1D,OAAA,CAAW,CAAA,CAAA,KAAA,CAAM,CAAG,CAAA,CAAA,OAAA,CAAQ,MAAM,CAAA,CAAK,CAAA,CAAA,OAAA,CAAQ,OAAO,CAAC,CAAC,CAAA,CAIxD,QAAA,CAAY,CAAA,CAAA,KAAA,CAAM,CAAG,CAAA,CAAA,OAAA,CAAQ,MAAM,CAAA,CAAK,CAAA,CAAA,OAAA,CAAQ,OAAO,CAAC,CAAC,CAAA,CAEzD,QAAA,CAAY,CAAA,CAAA,MAAA,CAEZ,GAAA,CAAO,CAAA,CAAA,KAAA,CAAM,CAAG,CAAA,CAAA,MAAA,CAAU,CAAA,CAAA,IAAI,CAAC,CAAA,CAE/B,GAAA,CAAO,CAAA,CAAA,KAAA,CAAM,CAAG,CAAA,CAAA,MAAA,CAAU,CAAA,CAAA,IAAI,CAAC,CAAA,CAK/B,QAAA,CAAY,CAAA,CAAA,MACd,CAAC,CACH,CAAC,CAAA,CChBD,MAAA,SAAsBC,CAAAA,CAEpB,CACE,mBAAA,CAAAC,CAAAA,CACA,gBAAA,CAAAC,CAAAA,CACA,SAAA,CAAAC,CAAAA,CACA,IAAA,CAAAC,CAAAA,CACA,UAAA,CAAAC,CAAAA,CACA,WAAA,CAAAC,CACF,CAAA,CACe,CACfC,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAGrC,IAAMC,CAAAA,CAAcC,kCAAAA,CAAQL,CAAML,CAAuB,CAAA,CAGzD,MAAMW,iCAAAA,CACJ,mBAAA,CAAAT,CAAAA,CACA,gBAAA,CAAAC,CAAAA,CACA,WAAA,CAAAM,CAAAA,CACA,SAAA,CAAAL,CAAAA,CACA,WAAA,CAAAG,CAAAA,CACA,YAAA,CAAcD,CAChB,CAAC,CACH,CAAA,qCAAA","file":"/home/runner/work/cli/cli/dist/impl-YGVW4RTA.cjs","sourcesContent":[null,"import * as t from 'io-ts';\n\nexport const ConsentPreferenceUpload = t.intersection([\n t.type({\n /** User ID */\n userId: t.string,\n /** Has the consent been updated (including no-change confirmation) since default resolution */\n timestamp: t.string,\n }),\n t.partial({\n /** Was tracking consent confirmed by the user? If this is false, the consent was resolved from defaults & is not yet confirmed */\n confirmed: t.union([t.literal('true'), t.literal('false')]),\n /**\n * Has the consent been updated (including no-change confirmation) since default resolution\n */\n updated: t.union([t.literal('true'), t.literal('false')]),\n /**\n * Whether or not the UI has been shown to the end-user (undefined in older versions of airgap.js)\n */\n prompted: t.union([t.literal('true'), t.literal('false')]),\n /** Consent metadata */\n metadata: t.string,\n /** US Privacy (USP) String */\n usp: t.union([t.string, t.null]),\n /** IAB GPP String */\n gpp: t.union([t.string, t.null]),\n /**\n * Purpose map\n * This is a stringified JSON object with keys as purpose names and values as booleans or 'Auto'\n */\n purposes: t.string,\n }),\n]);\n\n/** Type override */\nexport type ConsentPreferenceUpload = t.TypeOf<typeof ConsentPreferenceUpload>;\n","import type { LocalContext } from '../../../context';\n\nimport { uploadConsents } from '../../../lib/consent-manager/uploadConsents';\nimport { ConsentPreferenceUpload } from '../../../lib/consent-manager/types';\nimport { readCsv } from '../../../lib/requests';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation';\n\nexport interface UploadConsentPreferencesCommandFlags {\n base64EncryptionKey: string;\n base64SigningKey: string;\n partition: string;\n file: string;\n consentUrl: string;\n concurrency: number;\n}\n\nexport async function uploadConsentPreferences(\n this: LocalContext,\n {\n base64EncryptionKey,\n base64SigningKey,\n partition,\n file,\n consentUrl,\n concurrency,\n }: UploadConsentPreferencesCommandFlags,\n): Promise<void> {\n doneInputValidation(this.process.exit);\n\n // Load in preferences from csv\n const preferences = readCsv(file, ConsentPreferenceUpload);\n\n // Upload cookies\n await uploadConsents({\n base64EncryptionKey,\n base64SigningKey,\n preferences,\n partition,\n concurrency,\n transcendUrl: consentUrl,\n });\n}\n"]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _chunk5SEDJJAHcjs = require('./chunk-5SEDJJAH.cjs');require('./chunk-HUZESENZ.cjs');var _chunkUHERPTMCcjs = require('./chunk-UHERPTMC.cjs');require('./chunk-ABKDAPPR.cjs');var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');require('./chunk-VWGA62SG.cjs');require('./chunk-TSJTXXLZ.cjs');var _chunkZUNVPK23cjs = require('./chunk-ZUNVPK23.cjs');require('./chunk-FZTNEEMW.cjs');require('./chunk-7PB6LVSE.cjs');var _colors = require('colors'); var _colors2 = _interopRequireDefault(_colors);var _privacytypes = require('@transcend-io/privacy-types');var _bluebird = require('bluebird');async function x({auth:d,bundleTypes:r=[_privacytypes.ConsentBundleType.Production,_privacytypes.ConsentBundleType.Test],deploy:i,transcendUrl:s}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit);let t=await _chunkUHERPTMCcjs.b.call(void 0, d);typeof t=="string"?(await _chunk5SEDJJAHcjs.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 _chunk5SEDJJAHcjs.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-YDV6YOOI.cjs.map
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _chunk52MA7ZLScjs = require('./chunk-52MA7ZLS.cjs');require('./chunk-M3Y6JH6I.cjs');var _chunkNC6VWOMNcjs = require('./chunk-NC6VWOMN.cjs');require('./chunk-ABKDAPPR.cjs');var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');require('./chunk-55B57ZAY.cjs');require('./chunk-TSJTXXLZ.cjs');var _chunkZUNVPK23cjs = require('./chunk-ZUNVPK23.cjs');require('./chunk-XXFLFF7Q.cjs');require('./chunk-7PB6LVSE.cjs');var _colors = require('colors'); var _colors2 = _interopRequireDefault(_colors);var _privacytypes = require('@transcend-io/privacy-types');var _bluebird = require('bluebird');async function x({auth:d,bundleTypes:r=[_privacytypes.ConsentBundleType.Production,_privacytypes.ConsentBundleType.Test],deploy:i,transcendUrl:s}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit);let t=await _chunkNC6VWOMNcjs.b.call(void 0, d);typeof t=="string"?(await _chunk52MA7ZLScjs.a.call(void 0, {deploy:i,transcendUrl:s,auth:t,bundleTypes:r}),_chunkZUNVPK23cjs.a.info(_colors2.default.green("Successfully updated Consent Manager!"))):(await _bluebird.mapSeries.call(void 0, t,async e=>{_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Updating Consent Manager for organization "${e.organizationName}"...`)),await _chunk52MA7ZLScjs.a.call(void 0, {deploy:i,transcendUrl:s,auth:e.apiKey,bundleTypes:r}),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully updated Consent Manager for organization "${e.organizationName}"!`))}),_chunkZUNVPK23cjs.a.info(_colors2.default.green("Successfully updated Consent Managers!")))}exports.updateConsentManager = x;
2
+ //# sourceMappingURL=impl-ZAKPYQ32.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-YDV6YOOI.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-YDV6YOOI.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-ZAKPYQ32.cjs","../src/commands/consent/update-consent-manager/impl.ts"],"names":["updateConsentManager","auth","bundleTypes","ConsentBundleType","deploy","transcendUrl","doneInputValidation","apiKeyOrList","validateTranscendAuth","updateConsentManagerVersionToLatest","logger","colors","mapSeries","apiKey"],"mappings":"AAAA,iOAAmC,gCAA6B,wDAAyC,gCAA6B,wDAAyC,gCAA6B,gCAA6B,wDAAyC,gCAA6B,gCAA6B,gFCCzT,2DACe,oCACR,MAc1B,SAAsBA,CAAAA,CAEpB,CACE,IAAA,CAAAC,CAAAA,CACA,WAAA,CAAAC,CAAAA,CAAc,CAACC,+BAAAA,CAAkB,UAAA,CAAYA,+BAAAA,CAAkB,IAAI,CAAA,CACnE,MAAA,CAAAC,CAAAA,CACA,YAAA,CAAAC,CACF,CAAA,CACe,CACfC,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAGrC,IAAMC,CAAAA,CAAe,MAAMC,iCAAAA,CAA0B,CAAA,CAGjD,OAAOD,CAAAA,EAAiB,QAAA,CAAA,CAE1B,MAAME,iCAAAA,CACJ,MAAA,CAAAL,CAAAA,CACA,YAAA,CAAAC,CAAAA,CACA,IAAA,CAAME,CAAAA,CACN,WAAA,CAAAL,CACF,CAAC,CAAA,CACDQ,mBAAAA,CAAO,IAAA,CAAKC,gBAAAA,CAAO,KAAA,CAAM,uCAAuC,CAAC,CAAA,CAAA,CAAA,CAEjE,MAAMC,iCAAAA,CAAUL,CAAc,MAAOM,CAAAA,EAAW,CAC9CH,mBAAAA,CAAO,IAAA,CACLC,gBAAAA,CAAO,OAAA,CACL,CAAA,2CAAA,EAA8CE,CAAAA,CAAO,gBAAgB,CAAA,IAAA,CACvE,CACF,CAAA,CAEA,MAAMJ,iCAAAA,CACJ,MAAA,CAAAL,CAAAA,CACA,YAAA,CAAAC,CAAAA,CACA,IAAA,CAAMQ,CAAAA,CAAO,MAAA,CACb,WAAA,CAAAX,CACF,CAAC,CAAA,CAEDQ,mBAAAA,CAAO,IAAA,CACLC,gBAAAA,CAAO,KAAA,CACL,CAAA,uDAAA,EAA0DE,CAAAA,CAAO,gBAAgB,CAAA,EAAA,CACnF,CACF,CACF,CAAC,CAAA,CACDH,mBAAAA,CAAO,IAAA,CAAKC,gBAAAA,CAAO,KAAA,CAAM,wCAAwC,CAAC,CAAA,CAEtE,CAAA,iCAAA","file":"/home/runner/work/cli/cli/dist/impl-ZAKPYQ32.cjs","sourcesContent":[null,"import type { LocalContext } from '../../../context';\nimport colors from 'colors';\nimport { ConsentBundleType } from '@transcend-io/privacy-types';\nimport { mapSeries } from 'bluebird';\n\nimport { logger } from '../../../logger';\nimport { updateConsentManagerVersionToLatest } from '../../../lib/consent-manager';\nimport { validateTranscendAuth } from '../../../lib/api-keys';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation';\n\nexport interface UpdateConsentManagerCommandFlags {\n auth: string;\n bundleTypes: ConsentBundleType[];\n deploy: boolean;\n transcendUrl: string;\n}\n\nexport async function updateConsentManager(\n this: LocalContext,\n {\n auth,\n bundleTypes = [ConsentBundleType.Production, ConsentBundleType.Test],\n deploy,\n transcendUrl,\n }: UpdateConsentManagerCommandFlags,\n): Promise<void> {\n doneInputValidation(this.process.exit);\n\n // Parse authentication as API key or path to list of API keys\n const apiKeyOrList = await validateTranscendAuth(auth);\n\n // Handle single update\n if (typeof apiKeyOrList === 'string') {\n // Update consent manager\n await updateConsentManagerVersionToLatest({\n deploy,\n transcendUrl,\n auth: apiKeyOrList,\n bundleTypes,\n });\n logger.info(colors.green('Successfully updated Consent Manager!'));\n } else {\n await mapSeries(apiKeyOrList, async (apiKey) => {\n logger.info(\n colors.magenta(\n `Updating Consent Manager for organization \"${apiKey.organizationName}\"...`,\n ),\n );\n\n await updateConsentManagerVersionToLatest({\n deploy,\n transcendUrl,\n auth: apiKey.apiKey,\n bundleTypes,\n });\n\n logger.info(\n colors.green(\n `Successfully updated Consent Manager for organization \"${apiKey.organizationName}\"!`,\n ),\n );\n });\n logger.info(colors.green('Successfully updated Consent Managers!'));\n }\n}\n"]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var _chunkFMFQTG5Qcjs = require('./chunk-FMFQTG5Q.cjs');var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');var _chunkVWGA62SGcjs = require('./chunk-VWGA62SG.cjs');require('./chunk-TSJTXXLZ.cjs');var _chunkZUNVPK23cjs = require('./chunk-ZUNVPK23.cjs');var _chunkFZTNEEMWcjs = require('./chunk-FZTNEEMW.cjs');require('./chunk-7PB6LVSE.cjs');var _colors = require('colors'); var _colors2 = _interopRequireDefault(_colors);var _bluebird = require('bluebird');async function _({file:l,fileTarget:f,transcendUrl:p,auth:g,sombraAuth:x,cronDataSiloId:v,targetDataSiloId:N,actions:R,skipRequestCount:h,pageLimit:r,chunkSize:s}){h&&_chunkZUNVPK23cjs.a.info(_colors2.default.yellow("Skipping request count as requested. This may help speed up the call.")),(Number.isNaN(s)||s<=0||s%r!==0)&&(_chunkZUNVPK23cjs.a.error(_colors2.default.red(`Invalid chunk size: "${s}". Must be a positive integer that is a multiple of ${r}.`)),this.process.exit(1)),_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit);let S=_chunkVWGA62SGcjs.xc.call(void 0, p,g),{baseName:j,extension:O}=_chunkVWGA62SGcjs.sg.call(void 0, l),{baseName:A,extension:D}=_chunkVWGA62SGcjs.sg.call(void 0, f),$=0,b=0,d=0;await _chunkFMFQTG5Qcjs.g.call(void 0, {dataSiloId:v,auth:g,sombraAuth:x,actions:R,apiPageSize:r,savePageSize:s,onSave:async o=>{$+=o.length;let k=o.map(t=>t.requestId),E=_chunkFZTNEEMWcjs.j.call(void 0, k),G=_chunkFZTNEEMWcjs.b.call(void 0, E,r),y=await _bluebird.map.call(void 0, G,async t=>(_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Fetching target identifiers for ${t.length} requests`)),(await _chunkVWGA62SGcjs.Jd.call(void 0, S,r*2,{requestIds:t,dataSiloIds:[N]})).map(({fileName:I,remoteId:C})=>{if(!C)throw new Error(`Failed to find remoteId for ${I}`);return{RecordId:C,Object:_optionalChain([I, 'access', _2 => _2.replace, 'call', _3 => _3(".json",""), 'access', _4 => _4.split, 'call', _5 => _5("/"), 'access', _6 => _6.pop, 'call', _7 => _7(), 'optionalAccess', _8 => _8.replace, 'call', _9 => _9(" Information","")]),Comment:"Customer data deletion request submitted via transcend.io"}})),{concurrency:1});b+=y.flat().length;let L=_chunkFZTNEEMWcjs.j.call(void 0, o.map(t=>Object.keys(t)).flat()),M=`${j}-${d}${O}`,Q=`${A}-${d}${D}`;await _chunkVWGA62SGcjs.tg.call(void 0, M,o,L),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully wrote ${o.length} identifiers to file "${l}"`));let n=y.flat(),T=_chunkFZTNEEMWcjs.j.call(void 0, n.map(t=>Object.keys(t)).flat());await _chunkVWGA62SGcjs.tg.call(void 0, Q,n,T),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully wrote ${n.length} identifiers to file "${f}"`)),_chunkZUNVPK23cjs.a.info(_colors2.default.blue(`Processed chunk of ${_chunkFZTNEEMWcjs.b.length} identifiers, found ${n.length} target identifiers`)),d+=1},transcendUrl:p,skipRequestCount:h}),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully wrote ${$} identifiers to file "${l}"`)),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully wrote ${b} identifiers to file "${f}"`))}exports.pullProfiles = _;
2
- //# sourceMappingURL=impl-ZHTH3L2C.cjs.map
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var _chunkQ2RJZGYWcjs = require('./chunk-Q2RJZGYW.cjs');var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');var _chunk55B57ZAYcjs = require('./chunk-55B57ZAY.cjs');require('./chunk-TSJTXXLZ.cjs');var _chunkZUNVPK23cjs = require('./chunk-ZUNVPK23.cjs');var _chunkXXFLFF7Qcjs = require('./chunk-XXFLFF7Q.cjs');require('./chunk-7PB6LVSE.cjs');var _colors = require('colors'); var _colors2 = _interopRequireDefault(_colors);var _bluebird = require('bluebird');async function _({file:l,fileTarget:f,transcendUrl:p,auth:g,sombraAuth:x,cronDataSiloId:v,targetDataSiloId:N,actions:R,skipRequestCount:h,pageLimit:r,chunkSize:s}){h&&_chunkZUNVPK23cjs.a.info(_colors2.default.yellow("Skipping request count as requested. This may help speed up the call.")),(Number.isNaN(s)||s<=0||s%r!==0)&&(_chunkZUNVPK23cjs.a.error(_colors2.default.red(`Invalid chunk size: "${s}". Must be a positive integer that is a multiple of ${r}.`)),this.process.exit(1)),_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit);let S=_chunk55B57ZAYcjs.xc.call(void 0, p,g),{baseName:j,extension:O}=_chunk55B57ZAYcjs.sg.call(void 0, l),{baseName:A,extension:D}=_chunk55B57ZAYcjs.sg.call(void 0, f),$=0,b=0,d=0;await _chunkQ2RJZGYWcjs.g.call(void 0, {dataSiloId:v,auth:g,sombraAuth:x,actions:R,apiPageSize:r,savePageSize:s,onSave:async o=>{$+=o.length;let k=o.map(t=>t.requestId),E=_chunkXXFLFF7Qcjs.j.call(void 0, k),G=_chunkXXFLFF7Qcjs.b.call(void 0, E,r),y=await _bluebird.map.call(void 0, G,async t=>(_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Fetching target identifiers for ${t.length} requests`)),(await _chunk55B57ZAYcjs.Jd.call(void 0, S,r*2,{requestIds:t,dataSiloIds:[N]})).map(({fileName:I,remoteId:C})=>{if(!C)throw new Error(`Failed to find remoteId for ${I}`);return{RecordId:C,Object:_optionalChain([I, 'access', _2 => _2.replace, 'call', _3 => _3(".json",""), 'access', _4 => _4.split, 'call', _5 => _5("/"), 'access', _6 => _6.pop, 'call', _7 => _7(), 'optionalAccess', _8 => _8.replace, 'call', _9 => _9(" Information","")]),Comment:"Customer data deletion request submitted via transcend.io"}})),{concurrency:1});b+=y.flat().length;let L=_chunkXXFLFF7Qcjs.j.call(void 0, o.map(t=>Object.keys(t)).flat()),M=`${j}-${d}${O}`,Q=`${A}-${d}${D}`;await _chunk55B57ZAYcjs.tg.call(void 0, M,o,L),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully wrote ${o.length} identifiers to file "${l}"`));let n=y.flat(),T=_chunkXXFLFF7Qcjs.j.call(void 0, n.map(t=>Object.keys(t)).flat());await _chunk55B57ZAYcjs.tg.call(void 0, Q,n,T),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully wrote ${n.length} identifiers to file "${f}"`)),_chunkZUNVPK23cjs.a.info(_colors2.default.blue(`Processed chunk of ${_chunkXXFLFF7Qcjs.b.length} identifiers, found ${n.length} target identifiers`)),d+=1},transcendUrl:p,skipRequestCount:h}),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully wrote ${$} identifiers to file "${l}"`)),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully wrote ${b} identifiers to file "${f}"`))}exports.pullProfiles = _;
2
+ //# sourceMappingURL=impl-ZTYQ3IB5.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-ZHTH3L2C.cjs","../src/commands/request/cron/pull-profiles/impl.ts"],"names":["pullProfiles","file","fileTarget","transcendUrl","auth","sombraAuth","cronDataSiloId","targetDataSiloId","actions","skipRequestCount","pageLimit","chunkSize","logger","colors","doneInputValidation","client","buildTranscendGraphQLClient","baseName","extension","parseFilePath","baseNameTarget","extensionTarget","allIdentifiersCount","allTargetIdentifiersCount","fileCount","pullChunkedCustomSiloOutstandingIdentifiers","chunkToSave","requestIds","d","uniqueRequestIds","uniq_default","chunkedRequestIds","chunk_default","results","map","fetchRequestFilesForRequest","fileName","remoteId"],"mappings":"AAAA,quBAAwC,wDAAyC,wDAAkE,gCAA6B,wDAAyC,wDAAgD,gCAA6B,gFCEnR,oCAEC,MA2BpB,SAAsBA,CAAAA,CAEpB,CACE,IAAA,CAAAC,CAAAA,CACA,UAAA,CAAAC,CAAAA,CACA,YAAA,CAAAC,CAAAA,CACA,IAAA,CAAAC,CAAAA,CACA,UAAA,CAAAC,CAAAA,CACA,cAAA,CAAAC,CAAAA,CACA,gBAAA,CAAAC,CAAAA,CACA,OAAA,CAAAC,CAAAA,CACA,gBAAA,CAAAC,CAAAA,CACA,SAAA,CAAAC,CAAAA,CACA,SAAA,CAAAC,CACF,CAAA,CACe,CACXF,CAAAA,EACFG,mBAAAA,CAAO,IAAA,CACLC,gBAAAA,CAAO,MAAA,CACL,uEACF,CACF,CAAA,CAAA,CAIA,MAAA,CAAO,KAAA,CAAMF,CAAS,CAAA,EACtBA,CAAAA,EAAa,CAAA,EACbA,CAAAA,CAAYD,CAAAA,GAAc,CAAA,CAAA,EAAA,CAE1BE,mBAAAA,CAAO,KAAA,CACLC,gBAAAA,CAAO,GAAA,CACL,CAAA,qBAAA,EAAwBF,CAAS,CAAA,oDAAA,EAAuDD,CAAS,CAAA,CAAA,CACnG,CACF,CAAA,CACA,IAAA,CAAK,OAAA,CAAQ,IAAA,CAAK,CAAC,CAAA,CAAA,CAGrBI,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAGrC,IAAMC,CAAAA,CAASC,kCAAAA,CAA4Bb,CAAcC,CAAI,CAAA,CACvD,CAAE,QAAA,CAAAa,CAAAA,CAAU,SAAA,CAAAC,CAAU,CAAA,CAAIC,kCAAAA,CAAkB,CAAA,CAC5C,CAAE,QAAA,CAAUC,CAAAA,CAAgB,SAAA,CAAWC,CAAgB,CAAA,CAC3DF,kCAAAA,CAAwB,CAAA,CAEtBG,CAAAA,CAAsB,CAAA,CACtBC,CAAAA,CAA4B,CAAA,CAC5BC,CAAAA,CAAY,CAAA,CAmFhB,MAAMC,iCAAAA,CACJ,UAAA,CAAYnB,CAAAA,CACZ,IAAA,CAAAF,CAAAA,CACA,UAAA,CAAAC,CAAAA,CACA,OAAA,CAAAG,CAAAA,CACA,WAAA,CAAaE,CAAAA,CACb,YAAA,CAAcC,CAAAA,CACd,MAAA,CAxFa,MACbe,CAAAA,EACkB,CAElBJ,CAAAA,EAAuBI,CAAAA,CAAY,MAAA,CAGnC,IAAMC,CAAAA,CAAaD,CAAAA,CAAY,GAAA,CAAKE,CAAAA,EAAMA,CAAAA,CAAE,SAAmB,CAAA,CACzDC,CAAAA,CAAmBC,iCAAAA,CAAe,CAAA,CAGlCC,CAAAA,CAAoBC,iCAAAA,CAAMH,CAAkBnB,CAAS,CAAA,CACrDuB,CAAAA,CAAU,MAAMC,2BAAAA,CACpBH,CACA,MAAOJ,CAAAA,EAAAA,CACLf,mBAAAA,CAAO,IAAA,CACLC,gBAAAA,CAAO,OAAA,CACL,CAAA,gCAAA,EAAmCc,CAAAA,CAAW,MAAM,CAAA,SAAA,CACtD,CACF,CAAA,CAAA,CACgB,MAAMQ,kCAAAA,CACpBpB,CACAL,CAAAA,CAAY,CAAA,CACZ,CACE,UAAA,CAAAiB,CAAAA,CACA,WAAA,CAAa,CAACpB,CAAgB,CAChC,CACF,CAAA,CAAA,CACe,GAAA,CAAI,CAAC,CAAE,QAAA,CAAA6B,CAAAA,CAAU,QAAA,CAAAC,CAAS,CAAA,CAAA,EAAM,CAC7C,EAAA,CAAI,CAACA,CAAAA,CACH,MAAM,IAAI,KAAA,CAAM,CAAA,4BAAA,EAA+BD,CAAQ,CAAA,CAAA","file":"/home/runner/work/cli/cli/dist/impl-ZHTH3L2C.cjs","sourcesContent":[null,"import type { RequestAction } from '@transcend-io/privacy-types';\nimport { logger } from '../../../../logger';\nimport colors from 'colors';\nimport { uniq, chunk } from 'lodash-es';\nimport { map } from 'bluebird';\nimport {\n buildTranscendGraphQLClient,\n fetchRequestFilesForRequest,\n} from '../../../../lib/graphql';\nimport type { LocalContext } from '../../../../context';\nimport {\n pullChunkedCustomSiloOutstandingIdentifiers,\n type CsvFormattedIdentifier,\n} from '../../../../lib/cron';\nimport { doneInputValidation } from '../../../../lib/cli/done-input-validation';\nimport { parseFilePath, writeLargeCsv } from '../../../../lib/helpers';\n\nexport interface PullProfilesCommandFlags {\n file: string;\n fileTarget: string;\n transcendUrl: string;\n auth: string;\n sombraAuth?: string;\n cronDataSiloId: string;\n targetDataSiloId: string;\n actions: RequestAction[];\n skipRequestCount: boolean;\n pageLimit: number;\n chunkSize: number;\n}\n\nexport async function pullProfiles(\n this: LocalContext,\n {\n file,\n fileTarget,\n transcendUrl,\n auth,\n sombraAuth,\n cronDataSiloId,\n targetDataSiloId,\n actions,\n skipRequestCount,\n pageLimit,\n chunkSize,\n }: PullProfilesCommandFlags,\n): Promise<void> {\n if (skipRequestCount) {\n logger.info(\n colors.yellow(\n 'Skipping request count as requested. This may help speed up the call.',\n ),\n );\n }\n\n if (\n Number.isNaN(chunkSize) ||\n chunkSize <= 0 ||\n chunkSize % pageLimit !== 0\n ) {\n logger.error(\n colors.red(\n `Invalid chunk size: \"${chunkSize}\". Must be a positive integer that is a multiple of ${pageLimit}.`,\n ),\n );\n this.process.exit(1);\n }\n\n doneInputValidation(this.process.exit);\n\n // Create GraphQL client to connect to Transcend backend\n const client = buildTranscendGraphQLClient(transcendUrl, auth);\n const { baseName, extension } = parseFilePath(file);\n const { baseName: baseNameTarget, extension: extensionTarget } =\n parseFilePath(fileTarget);\n\n let allIdentifiersCount = 0;\n let allTargetIdentifiersCount = 0;\n let fileCount = 0;\n // Create onSave callback to handle chunked processing\n const onSave = async (\n chunkToSave: CsvFormattedIdentifier[],\n ): Promise<void> => {\n // Add to all identifiers\n allIdentifiersCount += chunkToSave.length;\n\n // Get unique request IDs from this chunk\n const requestIds = chunkToSave.map((d) => d.requestId as string);\n const uniqueRequestIds = uniq(requestIds);\n\n // Pull down target identifiers for this chunk\n const chunkedRequestIds = chunk(uniqueRequestIds, pageLimit);\n const results = await map(\n chunkedRequestIds,\n async (requestIds) => {\n logger.info(\n colors.magenta(\n `Fetching target identifiers for ${requestIds.length} requests`,\n ),\n );\n const results = await fetchRequestFilesForRequest(\n client,\n pageLimit * 2,\n {\n requestIds,\n dataSiloIds: [targetDataSiloId],\n },\n );\n return results.map(({ fileName, remoteId }) => {\n if (!remoteId) {\n throw new Error(`Failed to find remoteId for ${fileName}`);\n }\n return {\n RecordId: remoteId,\n Object: fileName\n .replace('.json', '')\n .split('/')\n .pop()\n ?.replace(' Information', ''),\n Comment:\n 'Customer data deletion request submitted via transcend.io',\n };\n });\n },\n // We are grabbing all the request files for the 'pageLimit' # of requests at a time\n {\n concurrency: 1,\n },\n );\n\n allTargetIdentifiersCount += results.flat().length;\n\n // Write the identifiers and target identifiers to CSV\n const headers = uniq(chunkToSave.map((d) => Object.keys(d)).flat());\n const numberedFileName = `${baseName}-${fileCount}${extension}`;\n const numberedFileNameTarget = `${baseNameTarget}-${fileCount}${extensionTarget}`;\n await writeLargeCsv(numberedFileName, chunkToSave, headers);\n logger.info(\n colors.green(\n `Successfully wrote ${chunkToSave.length} identifiers to file \"${file}\"`,\n ),\n );\n\n const targetIdentifiers = results.flat();\n const headers2 = uniq(targetIdentifiers.map((d) => Object.keys(d)).flat());\n await writeLargeCsv(numberedFileNameTarget, targetIdentifiers, headers2);\n logger.info(\n colors.green(\n `Successfully wrote ${targetIdentifiers.length} identifiers to file \"${fileTarget}\"`,\n ),\n );\n\n logger.info(\n colors.blue(\n `Processed chunk of ${chunk.length} identifiers, found ${targetIdentifiers.length} target identifiers`,\n ),\n );\n fileCount += 1;\n };\n\n // Pull down outstanding identifiers using the new chunked function\n await pullChunkedCustomSiloOutstandingIdentifiers({\n dataSiloId: cronDataSiloId,\n auth,\n sombraAuth,\n actions,\n apiPageSize: pageLimit,\n savePageSize: chunkSize,\n onSave,\n transcendUrl,\n skipRequestCount,\n });\n\n logger.info(\n colors.green(\n `Successfully wrote ${allIdentifiersCount} identifiers to file \"${file}\"`,\n ),\n );\n logger.info(\n colors.green(\n `Successfully wrote ${allTargetIdentifiersCount} identifiers to file \"${fileTarget}\"`,\n ),\n );\n}\n"]}
1
+ {"version":3,"sources":["/home/runner/work/cli/cli/dist/impl-ZTYQ3IB5.cjs","../src/commands/request/cron/pull-profiles/impl.ts"],"names":["pullProfiles","file","fileTarget","transcendUrl","auth","sombraAuth","cronDataSiloId","targetDataSiloId","actions","skipRequestCount","pageLimit","chunkSize","logger","colors","doneInputValidation","client","buildTranscendGraphQLClient","baseName","extension","parseFilePath","baseNameTarget","extensionTarget","allIdentifiersCount","allTargetIdentifiersCount","fileCount","pullChunkedCustomSiloOutstandingIdentifiers","chunkToSave","requestIds","d","uniqueRequestIds","uniq_default","chunkedRequestIds","chunk_default","results","map","fetchRequestFilesForRequest","fileName","remoteId"],"mappings":"AAAA,quBAAwC,wDAAyC,wDAAkE,gCAA6B,wDAAyC,wDAAgD,gCAA6B,gFCEnR,oCAEC,MA2BpB,SAAsBA,CAAAA,CAEpB,CACE,IAAA,CAAAC,CAAAA,CACA,UAAA,CAAAC,CAAAA,CACA,YAAA,CAAAC,CAAAA,CACA,IAAA,CAAAC,CAAAA,CACA,UAAA,CAAAC,CAAAA,CACA,cAAA,CAAAC,CAAAA,CACA,gBAAA,CAAAC,CAAAA,CACA,OAAA,CAAAC,CAAAA,CACA,gBAAA,CAAAC,CAAAA,CACA,SAAA,CAAAC,CAAAA,CACA,SAAA,CAAAC,CACF,CAAA,CACe,CACXF,CAAAA,EACFG,mBAAAA,CAAO,IAAA,CACLC,gBAAAA,CAAO,MAAA,CACL,uEACF,CACF,CAAA,CAAA,CAIA,MAAA,CAAO,KAAA,CAAMF,CAAS,CAAA,EACtBA,CAAAA,EAAa,CAAA,EACbA,CAAAA,CAAYD,CAAAA,GAAc,CAAA,CAAA,EAAA,CAE1BE,mBAAAA,CAAO,KAAA,CACLC,gBAAAA,CAAO,GAAA,CACL,CAAA,qBAAA,EAAwBF,CAAS,CAAA,oDAAA,EAAuDD,CAAS,CAAA,CAAA,CACnG,CACF,CAAA,CACA,IAAA,CAAK,OAAA,CAAQ,IAAA,CAAK,CAAC,CAAA,CAAA,CAGrBI,iCAAAA,IAAoB,CAAK,OAAA,CAAQ,IAAI,CAAA,CAGrC,IAAMC,CAAAA,CAASC,kCAAAA,CAA4Bb,CAAcC,CAAI,CAAA,CACvD,CAAE,QAAA,CAAAa,CAAAA,CAAU,SAAA,CAAAC,CAAU,CAAA,CAAIC,kCAAAA,CAAkB,CAAA,CAC5C,CAAE,QAAA,CAAUC,CAAAA,CAAgB,SAAA,CAAWC,CAAgB,CAAA,CAC3DF,kCAAAA,CAAwB,CAAA,CAEtBG,CAAAA,CAAsB,CAAA,CACtBC,CAAAA,CAA4B,CAAA,CAC5BC,CAAAA,CAAY,CAAA,CAmFhB,MAAMC,iCAAAA,CACJ,UAAA,CAAYnB,CAAAA,CACZ,IAAA,CAAAF,CAAAA,CACA,UAAA,CAAAC,CAAAA,CACA,OAAA,CAAAG,CAAAA,CACA,WAAA,CAAaE,CAAAA,CACb,YAAA,CAAcC,CAAAA,CACd,MAAA,CAxFa,MACbe,CAAAA,EACkB,CAElBJ,CAAAA,EAAuBI,CAAAA,CAAY,MAAA,CAGnC,IAAMC,CAAAA,CAAaD,CAAAA,CAAY,GAAA,CAAKE,CAAAA,EAAMA,CAAAA,CAAE,SAAmB,CAAA,CACzDC,CAAAA,CAAmBC,iCAAAA,CAAe,CAAA,CAGlCC,CAAAA,CAAoBC,iCAAAA,CAAMH,CAAkBnB,CAAS,CAAA,CACrDuB,CAAAA,CAAU,MAAMC,2BAAAA,CACpBH,CACA,MAAOJ,CAAAA,EAAAA,CACLf,mBAAAA,CAAO,IAAA,CACLC,gBAAAA,CAAO,OAAA,CACL,CAAA,gCAAA,EAAmCc,CAAAA,CAAW,MAAM,CAAA,SAAA,CACtD,CACF,CAAA,CAAA,CACgB,MAAMQ,kCAAAA,CACpBpB,CACAL,CAAAA,CAAY,CAAA,CACZ,CACE,UAAA,CAAAiB,CAAAA,CACA,WAAA,CAAa,CAACpB,CAAgB,CAChC,CACF,CAAA,CAAA,CACe,GAAA,CAAI,CAAC,CAAE,QAAA,CAAA6B,CAAAA,CAAU,QAAA,CAAAC,CAAS,CAAA,CAAA,EAAM,CAC7C,EAAA,CAAI,CAACA,CAAAA,CACH,MAAM,IAAI,KAAA,CAAM,CAAA,4BAAA,EAA+BD,CAAQ,CAAA,CAAA","file":"/home/runner/work/cli/cli/dist/impl-ZTYQ3IB5.cjs","sourcesContent":[null,"import type { RequestAction } from '@transcend-io/privacy-types';\nimport { logger } from '../../../../logger';\nimport colors from 'colors';\nimport { uniq, chunk } from 'lodash-es';\nimport { map } from 'bluebird';\nimport {\n buildTranscendGraphQLClient,\n fetchRequestFilesForRequest,\n} from '../../../../lib/graphql';\nimport type { LocalContext } from '../../../../context';\nimport {\n pullChunkedCustomSiloOutstandingIdentifiers,\n type CsvFormattedIdentifier,\n} from '../../../../lib/cron';\nimport { doneInputValidation } from '../../../../lib/cli/done-input-validation';\nimport { parseFilePath, writeLargeCsv } from '../../../../lib/helpers';\n\nexport interface PullProfilesCommandFlags {\n file: string;\n fileTarget: string;\n transcendUrl: string;\n auth: string;\n sombraAuth?: string;\n cronDataSiloId: string;\n targetDataSiloId: string;\n actions: RequestAction[];\n skipRequestCount: boolean;\n pageLimit: number;\n chunkSize: number;\n}\n\nexport async function pullProfiles(\n this: LocalContext,\n {\n file,\n fileTarget,\n transcendUrl,\n auth,\n sombraAuth,\n cronDataSiloId,\n targetDataSiloId,\n actions,\n skipRequestCount,\n pageLimit,\n chunkSize,\n }: PullProfilesCommandFlags,\n): Promise<void> {\n if (skipRequestCount) {\n logger.info(\n colors.yellow(\n 'Skipping request count as requested. This may help speed up the call.',\n ),\n );\n }\n\n if (\n Number.isNaN(chunkSize) ||\n chunkSize <= 0 ||\n chunkSize % pageLimit !== 0\n ) {\n logger.error(\n colors.red(\n `Invalid chunk size: \"${chunkSize}\". Must be a positive integer that is a multiple of ${pageLimit}.`,\n ),\n );\n this.process.exit(1);\n }\n\n doneInputValidation(this.process.exit);\n\n // Create GraphQL client to connect to Transcend backend\n const client = buildTranscendGraphQLClient(transcendUrl, auth);\n const { baseName, extension } = parseFilePath(file);\n const { baseName: baseNameTarget, extension: extensionTarget } =\n parseFilePath(fileTarget);\n\n let allIdentifiersCount = 0;\n let allTargetIdentifiersCount = 0;\n let fileCount = 0;\n // Create onSave callback to handle chunked processing\n const onSave = async (\n chunkToSave: CsvFormattedIdentifier[],\n ): Promise<void> => {\n // Add to all identifiers\n allIdentifiersCount += chunkToSave.length;\n\n // Get unique request IDs from this chunk\n const requestIds = chunkToSave.map((d) => d.requestId as string);\n const uniqueRequestIds = uniq(requestIds);\n\n // Pull down target identifiers for this chunk\n const chunkedRequestIds = chunk(uniqueRequestIds, pageLimit);\n const results = await map(\n chunkedRequestIds,\n async (requestIds) => {\n logger.info(\n colors.magenta(\n `Fetching target identifiers for ${requestIds.length} requests`,\n ),\n );\n const results = await fetchRequestFilesForRequest(\n client,\n pageLimit * 2,\n {\n requestIds,\n dataSiloIds: [targetDataSiloId],\n },\n );\n return results.map(({ fileName, remoteId }) => {\n if (!remoteId) {\n throw new Error(`Failed to find remoteId for ${fileName}`);\n }\n return {\n RecordId: remoteId,\n Object: fileName\n .replace('.json', '')\n .split('/')\n .pop()\n ?.replace(' Information', ''),\n Comment:\n 'Customer data deletion request submitted via transcend.io',\n };\n });\n },\n // We are grabbing all the request files for the 'pageLimit' # of requests at a time\n {\n concurrency: 1,\n },\n );\n\n allTargetIdentifiersCount += results.flat().length;\n\n // Write the identifiers and target identifiers to CSV\n const headers = uniq(chunkToSave.map((d) => Object.keys(d)).flat());\n const numberedFileName = `${baseName}-${fileCount}${extension}`;\n const numberedFileNameTarget = `${baseNameTarget}-${fileCount}${extensionTarget}`;\n await writeLargeCsv(numberedFileName, chunkToSave, headers);\n logger.info(\n colors.green(\n `Successfully wrote ${chunkToSave.length} identifiers to file \"${file}\"`,\n ),\n );\n\n const targetIdentifiers = results.flat();\n const headers2 = uniq(targetIdentifiers.map((d) => Object.keys(d)).flat());\n await writeLargeCsv(numberedFileNameTarget, targetIdentifiers, headers2);\n logger.info(\n colors.green(\n `Successfully wrote ${targetIdentifiers.length} identifiers to file \"${fileTarget}\"`,\n ),\n );\n\n logger.info(\n colors.blue(\n `Processed chunk of ${chunk.length} identifiers, found ${targetIdentifiers.length} target identifiers`,\n ),\n );\n fileCount += 1;\n };\n\n // Pull down outstanding identifiers using the new chunked function\n await pullChunkedCustomSiloOutstandingIdentifiers({\n dataSiloId: cronDataSiloId,\n auth,\n sombraAuth,\n actions,\n apiPageSize: pageLimit,\n savePageSize: chunkSize,\n onSave,\n transcendUrl,\n skipRequestCount,\n });\n\n logger.info(\n colors.green(\n `Successfully wrote ${allIdentifiersCount} identifiers to file \"${file}\"`,\n ),\n );\n logger.info(\n colors.green(\n `Successfully wrote ${allTargetIdentifiersCount} identifiers to file \"${fileTarget}\"`,\n ),\n );\n}\n"]}
package/dist/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } var _class;var _chunkJ7BM4Z6Ucjs = require('./chunk-J7BM4Z6U.cjs');var _chunkFMFQTG5Qcjs = require('./chunk-FMFQTG5Q.cjs');var _chunkHAAVY3FGcjs = require('./chunk-HAAVY3FG.cjs');var _chunkIBTP5OXEcjs = require('./chunk-IBTP5OXE.cjs');var _chunkJH5HRI6Dcjs = require('./chunk-JH5HRI6D.cjs');var _chunk5SEDJJAHcjs = require('./chunk-5SEDJJAH.cjs');var _chunkHUZESENZcjs = require('./chunk-HUZESENZ.cjs');var _chunkUHERPTMCcjs = require('./chunk-UHERPTMC.cjs');var _chunkABKDAPPRcjs = require('./chunk-ABKDAPPR.cjs');var _chunkVWGA62SGcjs = require('./chunk-VWGA62SG.cjs');var _chunkTSJTXXLZcjs = require('./chunk-TSJTXXLZ.cjs');require('./chunk-ZUNVPK23.cjs');var _chunkFZTNEEMWcjs = require('./chunk-FZTNEEMW.cjs');var _chunk7PB6LVSEcjs = require('./chunk-7PB6LVSE.cjs');var _typeutils = require('@transcend-io/type-utils');var _handlebarsutils = require('@transcend-io/handlebars-utils');var _privacytypes = require('@transcend-io/privacy-types');var T=20;async function D(a){let e=[],r=0,t=!1;do{let{largeLanguageModels:{nodes:s}}=await _chunkVWGA62SGcjs.ug.call(void 0, a,_chunkVWGA62SGcjs.Gb,{first:T,offset:r});e.push(...s),r+=T,t=s.length===T}while(t);return e.sort((s,o)=>s.name.localeCompare(o.name))}var _bluebird = require('bluebird');function j(a){return new RegExp(`<${a}>([\\s\\S]+?)<\\/${a}>`)}function ec(a){return a}var H=a=>{try{return JSON.parse(a)}catch (e2){return a}},B= exports.TranscendPromptManager = (_class =class{__init() {this.largeLanguageModels=[]}__init2() {this.agentsByName={}}__init3() {this.agentsByAgentId={}}constructor({prompts:e,handlebarsOptions:r={},transcendUrl:t=_chunkFZTNEEMWcjs.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=_chunkVWGA62SGcjs.xc.call(void 0, t,typeof s=="object"?s.release():s),this.requireApproval=o,this.cacheDuration=i,this.handlebarsOptions=r,this.handlebars=_handlebarsutils.createHandlebarsWithHelpers.call(void 0, r)}async fetchPromptsAndMetadata(){let e=_typeutils.getValues.call(void 0, this.prompts),r=e.map(({id:n})=>n).filter(n=>!!n),t=e.map(({title:n})=>n).filter(n=>!!n),s=_chunkFZTNEEMWcjs.j.call(void 0, e.map(({agentNames:n})=>n||[]).flat()),[o,i,p]=await Promise.all([_chunkVWGA62SGcjs.Dd.call(void 0, this.graphQLClient,{promptIds:r,promptTitles:t}),D(this.graphQLClient),_chunkVWGA62SGcjs.Hc.call(void 0, this.graphQLClient,{names:s})]);this.agentsByName=_chunkFZTNEEMWcjs.e.call(void 0, p,"name"),this.agentsByAgentId=_chunkFZTNEEMWcjs.e.call(void 0, p,"agentId"),this.largeLanguageModels=i.filter(n=>n.isTranscendHosted===!1);let m=_chunkFZTNEEMWcjs.e.call(void 0, o.prompts,"title"),c=_chunkFZTNEEMWcjs.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 _chunkVWGA62SGcjs.Hc.call(void 0, this.graphQLClient,{names:[e]});if(t)return this.agentsByName[t.name]=t,this.agentsByAgentId[t.agentId]=t,t}async getPromptThreadBySlackTs(e){let[r]=await _chunkVWGA62SGcjs.Ed.call(void 0, this.graphQLClient,{slackMessageTs:[e]});return r}async getAgentsByName(e){if(e.length<1)throw new Error("Expected at least one name to be provided");let{hasCache:r=[],missingCache:t=[]}=_chunkFZTNEEMWcjs.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=_chunkFZTNEEMWcjs.b.call(void 0, t,50),i=[];return await _bluebird.mapSeries.call(void 0, o,async p=>{let m=await _chunkVWGA62SGcjs.Hc.call(void 0, this.graphQLClient,{names:p});m.forEach(c=>{this.agentsByName[c.name]=c,this.agentsByAgentId[c.agentId]=c}),i.push(...m)}),[...s,...i]}getAgentFiles(e){return _chunkVWGA62SGcjs.Fc.call(void 0, this.graphQLClient,e)}getLargeLanguageModel(e){let r=this.largeLanguageModels.find(t=>typeof e=="string"?t.id===e:t.name===e.name&&t.client===e.client);if(!r)throw new Error(`Failed to find model matching: ${typeof e=="string"?e:JSON.stringify(e)}`);return r}async getPromptDefinition(e){(!this.lastUpdatedAt||this.cacheDuration===0||this.cacheDuration&&Date.now()-this.lastUpdatedAt.getTime()>this.cacheDuration)&&await this.fetchPromptsAndMetadata();let{promptContentMap:r}=this;if(!r)throw new Error("Expected this.promptContentMap to be defined");let t=r[e];if(!t)throw new Error(`Expected this.promptContentMap[${e}] to be defined`);return t}async compilePrompt(e,r){let t=await this.getPromptDefinition(e),s=this.prompts[e];if(!s)throw new Error(`Expected this.prompts[${e}] to be defined`);if(this.requireApproval&&t.status!==_privacytypes.PromptStatus.Approved)throw new Error(`Assessment "${t.title}" cannot be used because its in status: "${t.status}"`);if(t.status===_privacytypes.PromptStatus.Rejected)throw new Error(`Assessment "${t.title}" cannot be used because it's in status: "${t.status}"`);return _typeutils.decodeCodec.call(void 0, s.paramCodec,r),this.handlebars.compile(t.content)({currentDate:new Date().toISOString(),...this.variables,...r})}parseAiResponse(e,r){let t=this.prompts[e];if(!t)throw new Error(`Expected this.prompts[${e}] to be defined`);let s=t.extractFromTag&&(j(t.extractFromTag).exec(r)||[])[1]||r;return _typeutils.decodeCodec.call(void 0, t.outputCodec,H(s),!1)}async reportAndParsePromptRun(e,{largeLanguageModel:r,...t}){(!this.lastUpdatedAt||this.cacheDuration===0||this.cacheDuration&&Date.now()-this.lastUpdatedAt.getTime()>this.cacheDuration)&&await this.fetchPromptsAndMetadata();let s=t.name||`@transcend-io/cli-prompt-run-${new Date().toISOString()}`;if(!this.promptContentMap)throw new Error("Expected this.promptContentMap to be defined");let o=this.promptContentMap[e];if(!o)throw new Error(`Expected this.prompts[${e}] to be defined`);if(t.promptRunMessages.length===0)throw new Error("promptRunMessages is expected to have length > 0");if(t.promptRunMessages[0].role!==_privacytypes.ChatCompletionRole.System)throw new Error(`promptRunMessages[0].role is expected to be = ${_privacytypes.ChatCompletionRole.System}`);if(t.promptRunMessages[t.promptRunMessages.length-1].role!==_privacytypes.ChatCompletionRole.Assistant)throw new Error(`promptRunMessages[${t.promptRunMessages.length-1}].role is expected to be = ${_privacytypes.ChatCompletionRole.Assistant}`);let i=t.promptRunMessages[t.promptRunMessages.length-1].content,p;try{p=this.parseAiResponse(e,i)}catch(c){throw await _chunkVWGA62SGcjs.je.call(void 0, this.graphQLClient,{productArea:_privacytypes.PromptRunProductArea.PromptManager,...t,name:s,error:c.message,status:_privacytypes.QueueStatus.Error,...typeof r=="string"?{largeLanguageModelId:r}:{largeLanguageModelName:r.name,largeLanguageModelClient:r.client},promptId:o.id,promptRunMessages:t.promptRunMessages.map((n,g)=>({...n,...g===0?{template:o.content}:{}}))}),c}let m=await _chunkVWGA62SGcjs.je.call(void 0, this.graphQLClient,{productArea:_privacytypes.PromptRunProductArea.PromptManager,...t,name:s,status:_privacytypes.QueueStatus.Resolved,...typeof r=="string"?{largeLanguageModelId:r}:{largeLanguageModelName:r.name,largeLanguageModelClient:r.client},promptId:o.id,promptRunMessages:t.promptRunMessages.map((c,n)=>({...c,...n===0?{template:o.content}:{}}))});return{result:p,promptRunId:m,promptRunUrl:`https://app.transcend.io/prompts/runs/${m}`}}async reportPromptRunError(e,{largeLanguageModel:r,...t}){(!this.lastUpdatedAt||this.cacheDuration===0||this.cacheDuration&&Date.now()-this.lastUpdatedAt.getTime()>this.cacheDuration)&&await this.fetchPromptsAndMetadata();let s=t.name||`@transcend-io/cli-prompt-run-${new Date().toISOString()}`;if(!this.promptContentMap)throw new Error("Expected this.promptContentMap to be defined");let o=this.promptContentMap[e];if(!o)throw new Error(`Expected this.prompts[${e}] to be defined`);if(t.promptRunMessages.length===0)throw new Error("promptRunMessages is expected to have length > 0");if(t.promptRunMessages[0].role!==_privacytypes.ChatCompletionRole.System)throw new Error(`promptRunMessages[0].role is expected to be = ${_privacytypes.ChatCompletionRole.System}`);let i=await _chunkVWGA62SGcjs.je.call(void 0, this.graphQLClient,{productArea:_privacytypes.PromptRunProductArea.PromptManager,...t,name:s,status:_privacytypes.QueueStatus.Error,...typeof r=="string"?{largeLanguageModelId:r}:{largeLanguageModelName:r.name,largeLanguageModelClient:r.client},promptId:o.id,promptRunMessages:t.promptRunMessages.map((p,m)=>({...p,...m===0?{template:o.content}:{}}))});return{promptRunId:i,promptRunUrl:`https://app.transcend.io/prompts/runs/${i}`}}}, _class);function nc(a){let e=/(https?:\/\/[^\s]+)/g;return a.replace(e,"<link-omitted>")}function oc(a){return Object.entries(a).reduce((e,[r,t])=>t!=null&&t!==""&&!(Array.isArray(t)&&t.length===0)&&!(typeof t=="object"&&Object.keys(t).length===0)?Object.assign(e,{[r]:t}):e,{})}var _fastglob = require('fast-glob'); var _fastglob2 = _interopRequireDefault(_fastglob);var _child_process = require('child_process');function cc({baseBranch:a,rootDirectory:e,githubRepo:r,excludedGlob:t=[],fileBlockList:s=[]}){_child_process.execSync.call(void 0, `git fetch origin ${a}`);let o=_child_process.execSync.call(void 0, `git ls-remote ${r} "refs/heads/${a}" | cut -f 1`,{encoding:"utf-8"}).split(`
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } var _class;var _chunkG522ZIHScjs = require('./chunk-G522ZIHS.cjs');var _chunkQ2RJZGYWcjs = require('./chunk-Q2RJZGYW.cjs');var _chunk7H4ALAHCcjs = require('./chunk-7H4ALAHC.cjs');var _chunkIBTP5OXEcjs = require('./chunk-IBTP5OXE.cjs');var _chunkJH5HRI6Dcjs = require('./chunk-JH5HRI6D.cjs');var _chunk52MA7ZLScjs = require('./chunk-52MA7ZLS.cjs');var _chunkM3Y6JH6Icjs = require('./chunk-M3Y6JH6I.cjs');var _chunkNC6VWOMNcjs = require('./chunk-NC6VWOMN.cjs');var _chunkABKDAPPRcjs = require('./chunk-ABKDAPPR.cjs');var _chunk55B57ZAYcjs = require('./chunk-55B57ZAY.cjs');var _chunkTSJTXXLZcjs = require('./chunk-TSJTXXLZ.cjs');require('./chunk-ZUNVPK23.cjs');var _chunkXXFLFF7Qcjs = require('./chunk-XXFLFF7Q.cjs');var _chunk7PB6LVSEcjs = require('./chunk-7PB6LVSE.cjs');var _typeutils = require('@transcend-io/type-utils');var _handlebarsutils = require('@transcend-io/handlebars-utils');var _privacytypes = require('@transcend-io/privacy-types');var T=20;async function D(a){let e=[],r=0,t=!1;do{let{largeLanguageModels:{nodes:s}}=await _chunk55B57ZAYcjs.ug.call(void 0, a,_chunk55B57ZAYcjs.Gb,{first:T,offset:r});e.push(...s),r+=T,t=s.length===T}while(t);return e.sort((s,o)=>s.name.localeCompare(o.name))}var _bluebird = require('bluebird');function j(a){return new RegExp(`<${a}>([\\s\\S]+?)<\\/${a}>`)}function ec(a){return a}var H=a=>{try{return JSON.parse(a)}catch (e2){return a}},B= exports.TranscendPromptManager = (_class =class{__init() {this.largeLanguageModels=[]}__init2() {this.agentsByName={}}__init3() {this.agentsByAgentId={}}constructor({prompts:e,handlebarsOptions:r={},transcendUrl:t=_chunkXXFLFF7Qcjs.r,transcendApiKey:s,requireApproval:o=!0,cacheDuration:i,defaultVariables:p={}}){;_class.prototype.__init.call(this);_class.prototype.__init2.call(this);_class.prototype.__init3.call(this);this.prompts=e,this.transcendUrl=t,this.transcendApiKey=s,this.variables=p,this.defaultVariables=p,this.graphQLClient=_chunk55B57ZAYcjs.xc.call(void 0, t,typeof s=="object"?s.release():s),this.requireApproval=o,this.cacheDuration=i,this.handlebarsOptions=r,this.handlebars=_handlebarsutils.createHandlebarsWithHelpers.call(void 0, r)}async fetchPromptsAndMetadata(){let e=_typeutils.getValues.call(void 0, this.prompts),r=e.map(({id:n})=>n).filter(n=>!!n),t=e.map(({title:n})=>n).filter(n=>!!n),s=_chunkXXFLFF7Qcjs.j.call(void 0, e.map(({agentNames:n})=>n||[]).flat()),[o,i,p]=await Promise.all([_chunk55B57ZAYcjs.Dd.call(void 0, this.graphQLClient,{promptIds:r,promptTitles:t}),D(this.graphQLClient),_chunk55B57ZAYcjs.Hc.call(void 0, this.graphQLClient,{names:s})]);this.agentsByName=_chunkXXFLFF7Qcjs.e.call(void 0, p,"name"),this.agentsByAgentId=_chunkXXFLFF7Qcjs.e.call(void 0, p,"agentId"),this.largeLanguageModels=i.filter(n=>n.isTranscendHosted===!1);let m=_chunkXXFLFF7Qcjs.e.call(void 0, o.prompts,"title"),c=_chunkXXFLFF7Qcjs.e.call(void 0, o.prompts,"id");return this.variables={...o.calculatedVariables.reduce((n,g)=>Object.assign(n,{[g.name]:g.data?JSON.parse(g.data):g.data}),{}),...this.defaultVariables},this.handlebars=_handlebarsutils.createHandlebarsWithHelpers.call(void 0, {...this.handlebarsOptions,templates:[...this.handlebarsOptions.templates||[],...o.promptPartials.map(n=>({name:n.slug,content:n.content}))]}),this.promptContentMap=_typeutils.apply.call(void 0, this.prompts,({id:n,title:g})=>{let d=n?c[n]:g?m[g]:void 0;if(!d)throw new Error(`Failed to find prompt with title: "${g}" and id: "${n}"`);return d}),this.lastUpdatedAt=new Date,o}async getAgentByName(e){let r=this.agentsByName[e];if(r)return r;let[t]=await _chunk55B57ZAYcjs.Hc.call(void 0, this.graphQLClient,{names:[e]});if(t)return this.agentsByName[t.name]=t,this.agentsByAgentId[t.agentId]=t,t}async getPromptThreadBySlackTs(e){let[r]=await _chunk55B57ZAYcjs.Ed.call(void 0, this.graphQLClient,{slackMessageTs:[e]});return r}async getAgentsByName(e){if(e.length<1)throw new Error("Expected at least one name to be provided");let{hasCache:r=[],missingCache:t=[]}=_chunkXXFLFF7Qcjs.d.call(void 0, e,p=>this.agentsByName[p]?"hasCache":"missingCache"),s=r.map(p=>this.agentsByName[p]);if(t.length===0)return s;let o=_chunkXXFLFF7Qcjs.b.call(void 0, t,50),i=[];return await _bluebird.mapSeries.call(void 0, o,async p=>{let m=await _chunk55B57ZAYcjs.Hc.call(void 0, this.graphQLClient,{names:p});m.forEach(c=>{this.agentsByName[c.name]=c,this.agentsByAgentId[c.agentId]=c}),i.push(...m)}),[...s,...i]}getAgentFiles(e){return _chunk55B57ZAYcjs.Fc.call(void 0, this.graphQLClient,e)}getLargeLanguageModel(e){let r=this.largeLanguageModels.find(t=>typeof e=="string"?t.id===e:t.name===e.name&&t.client===e.client);if(!r)throw new Error(`Failed to find model matching: ${typeof e=="string"?e:JSON.stringify(e)}`);return r}async getPromptDefinition(e){(!this.lastUpdatedAt||this.cacheDuration===0||this.cacheDuration&&Date.now()-this.lastUpdatedAt.getTime()>this.cacheDuration)&&await this.fetchPromptsAndMetadata();let{promptContentMap:r}=this;if(!r)throw new Error("Expected this.promptContentMap to be defined");let t=r[e];if(!t)throw new Error(`Expected this.promptContentMap[${e}] to be defined`);return t}async compilePrompt(e,r){let t=await this.getPromptDefinition(e),s=this.prompts[e];if(!s)throw new Error(`Expected this.prompts[${e}] to be defined`);if(this.requireApproval&&t.status!==_privacytypes.PromptStatus.Approved)throw new Error(`Assessment "${t.title}" cannot be used because its in status: "${t.status}"`);if(t.status===_privacytypes.PromptStatus.Rejected)throw new Error(`Assessment "${t.title}" cannot be used because it's in status: "${t.status}"`);return _typeutils.decodeCodec.call(void 0, s.paramCodec,r),this.handlebars.compile(t.content)({currentDate:new Date().toISOString(),...this.variables,...r})}parseAiResponse(e,r){let t=this.prompts[e];if(!t)throw new Error(`Expected this.prompts[${e}] to be defined`);let s=t.extractFromTag&&(j(t.extractFromTag).exec(r)||[])[1]||r;return _typeutils.decodeCodec.call(void 0, t.outputCodec,H(s),!1)}async reportAndParsePromptRun(e,{largeLanguageModel:r,...t}){(!this.lastUpdatedAt||this.cacheDuration===0||this.cacheDuration&&Date.now()-this.lastUpdatedAt.getTime()>this.cacheDuration)&&await this.fetchPromptsAndMetadata();let s=t.name||`@transcend-io/cli-prompt-run-${new Date().toISOString()}`;if(!this.promptContentMap)throw new Error("Expected this.promptContentMap to be defined");let o=this.promptContentMap[e];if(!o)throw new Error(`Expected this.prompts[${e}] to be defined`);if(t.promptRunMessages.length===0)throw new Error("promptRunMessages is expected to have length > 0");if(t.promptRunMessages[0].role!==_privacytypes.ChatCompletionRole.System)throw new Error(`promptRunMessages[0].role is expected to be = ${_privacytypes.ChatCompletionRole.System}`);if(t.promptRunMessages[t.promptRunMessages.length-1].role!==_privacytypes.ChatCompletionRole.Assistant)throw new Error(`promptRunMessages[${t.promptRunMessages.length-1}].role is expected to be = ${_privacytypes.ChatCompletionRole.Assistant}`);let i=t.promptRunMessages[t.promptRunMessages.length-1].content,p;try{p=this.parseAiResponse(e,i)}catch(c){throw await _chunk55B57ZAYcjs.je.call(void 0, this.graphQLClient,{productArea:_privacytypes.PromptRunProductArea.PromptManager,...t,name:s,error:c.message,status:_privacytypes.QueueStatus.Error,...typeof r=="string"?{largeLanguageModelId:r}:{largeLanguageModelName:r.name,largeLanguageModelClient:r.client},promptId:o.id,promptRunMessages:t.promptRunMessages.map((n,g)=>({...n,...g===0?{template:o.content}:{}}))}),c}let m=await _chunk55B57ZAYcjs.je.call(void 0, this.graphQLClient,{productArea:_privacytypes.PromptRunProductArea.PromptManager,...t,name:s,status:_privacytypes.QueueStatus.Resolved,...typeof r=="string"?{largeLanguageModelId:r}:{largeLanguageModelName:r.name,largeLanguageModelClient:r.client},promptId:o.id,promptRunMessages:t.promptRunMessages.map((c,n)=>({...c,...n===0?{template:o.content}:{}}))});return{result:p,promptRunId:m,promptRunUrl:`https://app.transcend.io/prompts/runs/${m}`}}async reportPromptRunError(e,{largeLanguageModel:r,...t}){(!this.lastUpdatedAt||this.cacheDuration===0||this.cacheDuration&&Date.now()-this.lastUpdatedAt.getTime()>this.cacheDuration)&&await this.fetchPromptsAndMetadata();let s=t.name||`@transcend-io/cli-prompt-run-${new Date().toISOString()}`;if(!this.promptContentMap)throw new Error("Expected this.promptContentMap to be defined");let o=this.promptContentMap[e];if(!o)throw new Error(`Expected this.prompts[${e}] to be defined`);if(t.promptRunMessages.length===0)throw new Error("promptRunMessages is expected to have length > 0");if(t.promptRunMessages[0].role!==_privacytypes.ChatCompletionRole.System)throw new Error(`promptRunMessages[0].role is expected to be = ${_privacytypes.ChatCompletionRole.System}`);let i=await _chunk55B57ZAYcjs.je.call(void 0, this.graphQLClient,{productArea:_privacytypes.PromptRunProductArea.PromptManager,...t,name:s,status:_privacytypes.QueueStatus.Error,...typeof r=="string"?{largeLanguageModelId:r}:{largeLanguageModelName:r.name,largeLanguageModelClient:r.client},promptId:o.id,promptRunMessages:t.promptRunMessages.map((p,m)=>({...p,...m===0?{template:o.content}:{}}))});return{promptRunId:i,promptRunUrl:`https://app.transcend.io/prompts/runs/${i}`}}}, _class);function nc(a){let e=/(https?:\/\/[^\s]+)/g;return a.replace(e,"<link-omitted>")}function oc(a){return Object.entries(a).reduce((e,[r,t])=>t!=null&&t!==""&&!(Array.isArray(t)&&t.length===0)&&!(typeof t=="object"&&Object.keys(t).length===0)?Object.assign(e,{[r]:t}):e,{})}var _fastglob = require('fast-glob'); var _fastglob2 = _interopRequireDefault(_fastglob);var _child_process = require('child_process');function cc({baseBranch:a,rootDirectory:e,githubRepo:r,excludedGlob:t=[],fileBlockList:s=[]}){_child_process.execSync.call(void 0, `git fetch origin ${a}`);let o=_child_process.execSync.call(void 0, `git ls-remote ${r} "refs/heads/${a}" | cut -f 1`,{encoding:"utf-8"}).split(`
2
2
  `)[0],i=_child_process.execSync.call(void 0, "git rev-parse HEAD",{encoding:"utf-8"}).split(`
3
- `)[0];if(!o||!i)throw new Error("FAILED TO FIND COMMIT RANGE");let p=_child_process.execSync.call(void 0, `git fetch && git diff --name-only "${a||o}...${i}" -- ${e}`,{encoding:"utf-8"}),m=_chunkFZTNEEMWcjs.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 = _chunkVWGA62SGcjs.ub; exports.ADD_MESSAGES_TO_PROMPT_RUN = _chunkVWGA62SGcjs.Ha; exports.ADD_SILO_DISCOVERY_RESULTS = _chunkVWGA62SGcjs.H; exports.ADMIN_DASH = _chunkFZTNEEMWcjs.o; exports.ADMIN_DASH_DATAPOINTS = _chunkFZTNEEMWcjs.q; exports.ADMIN_DASH_INTEGRATIONS = _chunkFZTNEEMWcjs.p; exports.AGENTS = _chunkVWGA62SGcjs.Hb; exports.AGENT_FILES = _chunkVWGA62SGcjs.Kb; exports.AGENT_FUNCTIONS = _chunkVWGA62SGcjs.Nb; exports.API_KEYS = _chunkVWGA62SGcjs.D; exports.APPROVE_PRIVACY_REQUEST = _chunkVWGA62SGcjs.X; exports.ASSESSMENTS = _chunkVWGA62SGcjs.fa; exports.ASSESSMENT_SECTION_FIELDS = _chunkVWGA62SGcjs.ea; exports.ASSESSMENT_TEMPLATES = _chunkVWGA62SGcjs.ja; exports.ASSUME_ROLE = _chunkVWGA62SGcjs.Fb; exports.ATTRIBUTES = _chunkVWGA62SGcjs.La; exports.ATTRIBUTE_KEYS_REQUESTS = _chunkVWGA62SGcjs.M; exports.ATTRIBUTE_VALUES = _chunkVWGA62SGcjs.Pa; exports.ActionInput = _chunkABKDAPPRcjs.G; exports.ActionItemCollectionInput = _chunkABKDAPPRcjs.R; exports.ActionItemInput = _chunkABKDAPPRcjs.S; exports.AgentFileInput = _chunkABKDAPPRcjs.o; exports.AgentFunctionInput = _chunkABKDAPPRcjs.n; exports.AgentInput = _chunkABKDAPPRcjs.m; exports.ApiKeyInput = _chunkABKDAPPRcjs.c; exports.AssessmentAction = _chunkVWGA62SGcjs.Sd; exports.AssessmentAnswerOptionInput = _chunkABKDAPPRcjs.Y; exports.AssessmentDisplayLogicInput = _chunkABKDAPPRcjs.V; exports.AssessmentInput = _chunkABKDAPPRcjs.ca; exports.AssessmentNestedRule = _chunkVWGA62SGcjs.Rd; exports.AssessmentNestedRuleInput = _chunkABKDAPPRcjs.U; exports.AssessmentResourceInput = _chunkABKDAPPRcjs.ba; exports.AssessmentRetentionScheduleInput = _chunkABKDAPPRcjs.$; exports.AssessmentRiskLogic = _chunkVWGA62SGcjs.Ud; exports.AssessmentRule = _chunkVWGA62SGcjs.Qd; exports.AssessmentRuleInput = _chunkABKDAPPRcjs.T; exports.AssessmentRuleWithOperands = _chunkVWGA62SGcjs.Od; exports.AssessmentRuleWithoutOperands = _chunkVWGA62SGcjs.Pd; exports.AssessmentSectionInput = _chunkABKDAPPRcjs._; exports.AssessmentSectionQuestionInput = _chunkABKDAPPRcjs.Z; exports.AssessmentTemplateInput = _chunkABKDAPPRcjs.aa; exports.AttestedExtraIdentifiers = _chunkVWGA62SGcjs.sf; exports.AttributeInput = _chunkABKDAPPRcjs.k; exports.AttributePreview = _chunkABKDAPPRcjs.l; exports.AttributeValueInput = _chunkABKDAPPRcjs.j; exports.BLANK = _chunkVWGA62SGcjs.ec; exports.BULK_APPLY = _chunkVWGA62SGcjs.dc; exports.BULK_REQUEST_FILES = _chunkVWGA62SGcjs.Fa; exports.BUSINESS_ENTITIES = _chunkVWGA62SGcjs.rb; exports.BusinessEntityInput = _chunkABKDAPPRcjs.y; exports.CANCEL_PRIVACY_REQUEST = _chunkVWGA62SGcjs.Y; exports.CAN_APPLY_IN_BULK = _chunkVWGA62SGcjs.ic; exports.CATALOGS = _chunkVWGA62SGcjs.r; exports.CHANGE_REQUEST_DATA_SILO_STATUS = _chunkVWGA62SGcjs.va; exports.CODE_PACKAGES = _chunkVWGA62SGcjs.Q; exports.CONSENT_MANAGER_ANALYTICS_DATA = _chunkVWGA62SGcjs.qb; exports.CONSENT_PARTITIONS = _chunkVWGA62SGcjs.Ua; exports.COOKIES = _chunkVWGA62SGcjs.Za; exports.CREATE_ACTION_ITEMS = _chunkVWGA62SGcjs.yb; exports.CREATE_ACTION_ITEM_COLLECTION = _chunkVWGA62SGcjs.Ja; exports.CREATE_AGENT = _chunkVWGA62SGcjs.Ib; exports.CREATE_AGENT_FILE = _chunkVWGA62SGcjs.Lb; exports.CREATE_AGENT_FUNCTION = _chunkVWGA62SGcjs.Ob; exports.CREATE_API_KEY = _chunkVWGA62SGcjs.E; exports.CREATE_ATTRIBUTE = _chunkVWGA62SGcjs.Qa; exports.CREATE_ATTRIBUTE_VALUES = _chunkVWGA62SGcjs.Ma; exports.CREATE_BUSINESS_ENTITY = _chunkVWGA62SGcjs.sb; exports.CREATE_CODE_PACKAGE = _chunkVWGA62SGcjs.S; exports.CREATE_CONSENT_EXPERIENCE = _chunkVWGA62SGcjs.ob; exports.CREATE_CONSENT_MANAGER = _chunkVWGA62SGcjs.bb; exports.CREATE_CONSENT_PARTITION = _chunkVWGA62SGcjs.pb; exports.CREATE_DATA_FLOWS = _chunkVWGA62SGcjs.Va; exports.CREATE_DATA_SILOS = _chunkVWGA62SGcjs.m; exports.CREATE_DATA_SUBJECT = _chunkVWGA62SGcjs.x; exports.CREATE_DATA_SUB_CATEGORY = _chunkVWGA62SGcjs.Ub; exports.CREATE_ENRICHER = _chunkVWGA62SGcjs.p; exports.CREATE_IDENTIFIER = _chunkVWGA62SGcjs.u; exports.CREATE_PREFERENCE_ACCESS_TOKENS = _chunkVWGA62SGcjs.G; exports.CREATE_PROCESSING_ACTIVITY = _chunkVWGA62SGcjs._b; exports.CREATE_PROCESSING_PURPOSE_SUB_CATEGORY = _chunkVWGA62SGcjs.Xb; exports.CREATE_PROMPT = _chunkVWGA62SGcjs.pa; exports.CREATE_PROMPT_GROUP = _chunkVWGA62SGcjs.ta; exports.CREATE_PROMPT_PARTIAL = _chunkVWGA62SGcjs.ra; exports.CREATE_REPOSITORY = _chunkVWGA62SGcjs.C; exports.CREATE_SOFTWARE_DEVELOPMENT_KIT = _chunkVWGA62SGcjs.P; exports.CREATE_TEAM = _chunkVWGA62SGcjs.za; exports.CREATE_TEMPLATE = _chunkVWGA62SGcjs.K; exports.CREATE_VENDOR = _chunkVWGA62SGcjs.Rb; exports.CachedFileState = _chunkVWGA62SGcjs.jc; exports.CachedRequestState = _chunkVWGA62SGcjs.lc; exports.CodePackageInput = _chunkABKDAPPRcjs.D; exports.CodePackageSdk = _chunkABKDAPPRcjs.C; exports.ColumnName = _chunkVWGA62SGcjs.gc; exports.ConsentManageExperienceInput = _chunkABKDAPPRcjs.K; exports.ConsentManagerInput = _chunkABKDAPPRcjs.M; exports.ConsentManagerMetricBin = _chunkVWGA62SGcjs.Tc; exports.ConsentManagerServiceMetadata = _chunkABKDAPPRcjs.la; exports.ConsentPreferenceTopic = _chunkABKDAPPRcjs.ea; exports.ConsentPreferenceTopicOptionValue = _chunkABKDAPPRcjs.da; exports.ConsentPurpose = _chunkABKDAPPRcjs.fa; exports.CookieCsvInput = _chunkABKDAPPRcjs.ka; exports.CookieInput = _chunkABKDAPPRcjs.J; exports.CronIdentifier = _chunkFMFQTG5Qcjs.a; exports.CronIdentifierPush = _chunkFMFQTG5Qcjs.c; exports.DATAPOINT_EXPORT = _chunkVWGA62SGcjs.g; exports.DATA_FLOWS = _chunkVWGA62SGcjs.Ya; exports.DATA_POINTS = _chunkVWGA62SGcjs.a; exports.DATA_POINT_COUNT = _chunkVWGA62SGcjs.b; exports.DATA_SILOS = _chunkVWGA62SGcjs.i; exports.DATA_SILOS_ENRICHED = _chunkVWGA62SGcjs.k; exports.DATA_SILO_EXPORT = _chunkVWGA62SGcjs.j; exports.DATA_SUBJECTS = _chunkVWGA62SGcjs.w; exports.DATA_SUB_CATEGORIES = _chunkVWGA62SGcjs.Tb; exports.DAY_MS = _chunkVWGA62SGcjs.fg; exports.DEBUG = _chunkFZTNEEMWcjs.z; exports.DEFAULT_TRANSCEND_API = _chunkFZTNEEMWcjs.r; exports.DEFAULT_TRANSCEND_CONSENT_API = _chunkFZTNEEMWcjs.s; exports.DEFAULT_TRANSCEND_PULL_RESOURCES = _chunkVWGA62SGcjs.he; exports.DELETE_API_KEY = _chunkVWGA62SGcjs.F; exports.DELETE_ATTRIBUTE_VALUE = _chunkVWGA62SGcjs.Oa; exports.DEPLOYED_PRIVACY_CENTER_URL = _chunkVWGA62SGcjs.Ab; exports.DEPLOY_CONSENT_MANAGER = _chunkVWGA62SGcjs.eb; exports.DETERMINE_LOGIN_METHOD = _chunkVWGA62SGcjs.Db; exports.DataCategoryGuessInput = _chunkABKDAPPRcjs.h; exports.DataCategoryInput = _chunkABKDAPPRcjs.q; exports.DataCategoryPreviewInput = _chunkABKDAPPRcjs.g; exports.DataCategoryRecommendationInput = _chunkABKDAPPRcjs.i; exports.DataFlowCsvInput = _chunkABKDAPPRcjs.ja; exports.DataFlowInput = _chunkABKDAPPRcjs.I; exports.DataSiloInput = _chunkABKDAPPRcjs.Q; exports.DataSubjectInput = _chunkABKDAPPRcjs.F; exports.DatapointInput = _chunkABKDAPPRcjs.w; exports.ENABLED_PLUGINS = _chunkVWGA62SGcjs.I; exports.ENRICHERS = _chunkVWGA62SGcjs.n; exports.ENTRY_COUNT = _chunkVWGA62SGcjs.h; exports.EXPERIENCES = _chunkVWGA62SGcjs.Ta; exports.EnrichPrivacyRequest = _chunkJ7BM4Z6Ucjs.b; exports.EnricherInput = _chunkABKDAPPRcjs.e; exports.FETCH_CONSENT_MANAGER = _chunkVWGA62SGcjs.$a; exports.FETCH_CONSENT_MANAGER_ID = _chunkVWGA62SGcjs._a; exports.FETCH_CONSENT_MANAGER_THEME = _chunkVWGA62SGcjs.ab; exports.FETCH_PRIVACY_CENTER_ID = _chunkVWGA62SGcjs.zb; exports.FIVE_MIN_MS = _chunkVWGA62SGcjs.hg; exports.FieldInput = _chunkABKDAPPRcjs.v; exports.GLOBAL_ACTION_ITEMS = _chunkVWGA62SGcjs.wb; exports.GLOBAL_ACTION_ITEM_COLLECTIONS = _chunkVWGA62SGcjs.Ia; exports.HOUR_MS = _chunkVWGA62SGcjs.gg; exports.IDENTIFIERS = _chunkVWGA62SGcjs.s; exports.IDENTIFIER_BLOCK_LIST = _chunkVWGA62SGcjs.fc; exports.IMPORT_ONE_TRUST_ASSESSMENT_FORMS = _chunkVWGA62SGcjs.ga; exports.INITIALIZER = _chunkVWGA62SGcjs.o; exports.IP_ADDRESS_REGEX = _chunk5SEDJJAHcjs.f; exports.IS_REQUIRED = _chunkVWGA62SGcjs.hc; exports.IdentifierInput = _chunkABKDAPPRcjs.H; exports.ImportOnetrustAssessmentsInput = _chunkABKDAPPRcjs.sa; exports.IntlMessage = _chunkVWGA62SGcjs.wf; exports.IntlMessageInput = _chunkABKDAPPRcjs.P; exports.LARGE_LANGUAGE_MODELS = _chunkVWGA62SGcjs.Gb; exports.LOGIN = _chunkVWGA62SGcjs.Eb; exports.MESSAGES = _chunkVWGA62SGcjs.$; exports.NEW_IDENTIFIER_TYPES = _chunkVWGA62SGcjs.t; exports.NONE = _chunkVWGA62SGcjs.cc; exports.NOTIFY_ADDITIONAL_TIME = _chunkVWGA62SGcjs._; exports.ORGANIZATION = _chunkVWGA62SGcjs.L; exports.OneTrustFileFormat = _chunk7PB6LVSEcjs.a; exports.OneTrustPullResource = _chunk7PB6LVSEcjs.b; exports.OneTrustPullSource = _chunk7PB6LVSEcjs.c; exports.OpenAIEnabledRoute = _chunkABKDAPPRcjs.na; exports.OpenAIEnabledRoutes = _chunkABKDAPPRcjs.oa; exports.OpenAIIntegration = _chunkABKDAPPRcjs.pa; exports.OpenAIRouteName = _chunk7PB6LVSEcjs.f; exports.POLICIES = _chunkVWGA62SGcjs.U; exports.PREFERENCE_TOPICS = _chunkVWGA62SGcjs.ia; exports.PRIVACY_CENTER = _chunkVWGA62SGcjs.Bb; exports.PROCESSING_ACTIVITIES = _chunkVWGA62SGcjs.Zb; exports.PROCESSING_PURPOSE_SUB_CATEGORIES = _chunkVWGA62SGcjs.Wb; exports.PROMPTS = _chunkVWGA62SGcjs.ka; exports.PROMPTS_WITH_VARIABLES = _chunkVWGA62SGcjs.na; exports.PROMPT_GROUPS = _chunkVWGA62SGcjs.ma; exports.PROMPT_PARTIALS = _chunkVWGA62SGcjs.la; exports.PROMPT_THREADS = _chunkVWGA62SGcjs.T; exports.PURPOSES = _chunkVWGA62SGcjs.ha; exports.ParsedAttributeInput = _chunkVWGA62SGcjs.qc; exports.PartitionInput = _chunkABKDAPPRcjs.L; exports.PathfinderPolicy = _chunkABKDAPPRcjs.qa; exports.PathfinderPolicyName = _chunk7PB6LVSEcjs.e; exports.PathfinderPolicyNameC = _chunkABKDAPPRcjs.ma; exports.PathfinderPromptRunMetadata = _chunkABKDAPPRcjs.ra; exports.PolicyInput = _chunkABKDAPPRcjs.O; exports.PrivacyCenterInput = _chunkABKDAPPRcjs.N; exports.PrivacyRequest = _chunkVWGA62SGcjs.nd; exports.PrivacyRequestInput = _chunkVWGA62SGcjs.tf; exports.PrivacyRequestResponse = _chunkVWGA62SGcjs.Cf; exports.ProcessingActivityInput = _chunkABKDAPPRcjs.A; exports.ProcessingPurposeInput = _chunkABKDAPPRcjs.r; exports.ProcessingPurposePreviewInput = _chunkABKDAPPRcjs.f; exports.PromptAVendorEmailSettings = _chunkABKDAPPRcjs.x; exports.PromptGroupInput = _chunkABKDAPPRcjs.u; exports.PromptInput = _chunkABKDAPPRcjs.s; exports.PromptPartialInput = _chunkABKDAPPRcjs.t; exports.PurposeMap = _chunkHUZESENZcjs.c; exports.REDUCED_REQUESTS_FOR_DATA_SILO_COUNT = _chunkVWGA62SGcjs.xa; exports.REMOVE_REQUEST_IDENTIFIERS = _chunkVWGA62SGcjs.Ba; exports.REPORT_PROMPT_RUN = _chunkVWGA62SGcjs.Ga; exports.REPOSITORIES = _chunkVWGA62SGcjs.A; exports.REQUESTS = _chunkVWGA62SGcjs.W; exports.REQUEST_DATA_SILOS = _chunkVWGA62SGcjs.ua; exports.REQUEST_ENRICHERS = _chunkVWGA62SGcjs.ba; exports.REQUEST_FILES = _chunkVWGA62SGcjs.Ea; exports.REQUEST_IDENTIFIERS = _chunkVWGA62SGcjs.Ca; exports.RETRYABLE_BATCH_STATUSES = _chunkFZTNEEMWcjs.y; exports.RETRY_REQUEST_DATA_SILO = _chunkVWGA62SGcjs.wa; exports.RETRY_REQUEST_ENRICHER = _chunkVWGA62SGcjs.ca; exports.RateCounter = _chunkVWGA62SGcjs.bg; exports.RegionInput = _chunkABKDAPPRcjs.z; exports.RepositoryInput = _chunkABKDAPPRcjs.E; exports.RequestFileMetadata = _chunkVWGA62SGcjs.xf; exports.RequestFileMetadataResponse = _chunkVWGA62SGcjs.yf; exports.RequestIdentifiersResponse = _chunkVWGA62SGcjs.kd; exports.RequestPurposeTrigger = _chunkVWGA62SGcjs.md; exports.RiskAssignmentInput = _chunkABKDAPPRcjs.W; exports.RiskLogicInput = _chunkABKDAPPRcjs.X; exports.SCOPES_BY_TITLE = _chunkFZTNEEMWcjs.w; exports.SCOPE_TITLES = _chunkFZTNEEMWcjs.x; exports.SET_RESOURCE_ATTRIBUTES = _chunkVWGA62SGcjs.Sa; exports.SILO_DISCOVERY_RESULTS = _chunkVWGA62SGcjs.bc; exports.SKIP_REQUEST_ENRICHER = _chunkVWGA62SGcjs.da; exports.SOFTWARE_DEVELOPMENT_KITS = _chunkVWGA62SGcjs.N; exports.SOMBRA_VERSION = _chunkVWGA62SGcjs.ac; exports.SUB_DATA_POINTS = _chunkVWGA62SGcjs.c; exports.SUB_DATA_POINTS_COUNT = _chunkVWGA62SGcjs.d; exports.SUB_DATA_POINTS_WITH_GUESSES = _chunkVWGA62SGcjs.e; exports.SYNC_ATTRIBUTE_TYPES = _chunkVWGA62SGcjs.Nc; exports.SiloDiscoveryResultInput = _chunkABKDAPPRcjs.ga; exports.SoftwareDevelopmentKitInput = _chunkABKDAPPRcjs.B; exports.StoredApiKey = _chunkABKDAPPRcjs.ia; exports.SuccessfulRequest = _chunkVWGA62SGcjs.kc; exports.TEAMS = _chunkVWGA62SGcjs.ya; exports.TEMPLATES = _chunkVWGA62SGcjs.J; exports.TOGGLE_CONSENT_PRECEDENCE = _chunkVWGA62SGcjs.lb; exports.TOGGLE_DATA_SUBJECT = _chunkVWGA62SGcjs.z; exports.TOGGLE_TELEMETRY_PARTITION_STRATEGY = _chunkVWGA62SGcjs.kb; exports.TOGGLE_UNKNOWN_COOKIE_POLICY = _chunkVWGA62SGcjs.jb; exports.TOGGLE_UNKNOWN_REQUEST_POLICY = _chunkVWGA62SGcjs.ib; exports.TR_PULL_RESOURCE_SCOPE_MAP = _chunkFZTNEEMWcjs.u; exports.TR_PUSH_RESOURCE_SCOPE_MAP = _chunkFZTNEEMWcjs.t; exports.TR_YML_RESOURCE_TO_FIELD_NAME = _chunkFZTNEEMWcjs.v; exports.TeamInput = _chunkABKDAPPRcjs.d; exports.TemplateInput = _chunkABKDAPPRcjs.a; exports.TranscendInput = _chunkABKDAPPRcjs.ha; exports.TranscendPromptManager = B; exports.TranscendPullResource = _chunk7PB6LVSEcjs.d; exports.UPDATE_ACTION = _chunkVWGA62SGcjs.vb; exports.UPDATE_ACTION_ITEMS = _chunkVWGA62SGcjs.xb; exports.UPDATE_ACTION_ITEM_COLLECTION = _chunkVWGA62SGcjs.Ka; exports.UPDATE_AGENTS = _chunkVWGA62SGcjs.Jb; exports.UPDATE_AGENT_FILES = _chunkVWGA62SGcjs.Mb; exports.UPDATE_AGENT_FUNCTIONS = _chunkVWGA62SGcjs.Pb; exports.UPDATE_ATTRIBUTE = _chunkVWGA62SGcjs.Ra; exports.UPDATE_ATTRIBUTE_VALUES = _chunkVWGA62SGcjs.Na; exports.UPDATE_BUSINESS_ENTITIES = _chunkVWGA62SGcjs.tb; exports.UPDATE_CODE_PACKAGES = _chunkVWGA62SGcjs.R; exports.UPDATE_CONSENT_EXPERIENCE = _chunkVWGA62SGcjs.nb; exports.UPDATE_CONSENT_MANAGER_DOMAINS = _chunkVWGA62SGcjs.fb; exports.UPDATE_CONSENT_MANAGER_PARTITION = _chunkVWGA62SGcjs.gb; exports.UPDATE_CONSENT_MANAGER_THEME = _chunkVWGA62SGcjs.mb; exports.UPDATE_CONSENT_MANAGER_TO_LATEST = _chunkVWGA62SGcjs.db; exports.UPDATE_CONSENT_MANAGER_VERSION = _chunkVWGA62SGcjs.cb; exports.UPDATE_DATA_FLOWS = _chunkVWGA62SGcjs.Wa; exports.UPDATE_DATA_SILOS = _chunkVWGA62SGcjs.l; exports.UPDATE_DATA_SUBJECT = _chunkVWGA62SGcjs.y; exports.UPDATE_DATA_SUB_CATEGORIES = _chunkVWGA62SGcjs.Vb; exports.UPDATE_ENRICHER = _chunkVWGA62SGcjs.q; exports.UPDATE_IDENTIFIER = _chunkVWGA62SGcjs.v; exports.UPDATE_INTL_MESSAGES = _chunkVWGA62SGcjs.aa; exports.UPDATE_LOAD_OPTIONS = _chunkVWGA62SGcjs.hb; exports.UPDATE_OR_CREATE_COOKIES = _chunkVWGA62SGcjs.Xa; exports.UPDATE_OR_CREATE_DATA_POINT = _chunkVWGA62SGcjs.f; exports.UPDATE_POLICIES = _chunkVWGA62SGcjs.V; exports.UPDATE_PRIVACY_CENTER = _chunkVWGA62SGcjs.Cb; exports.UPDATE_PRIVACY_REQUEST = _chunkVWGA62SGcjs.Z; exports.UPDATE_PROCESSING_ACTIVITIES = _chunkVWGA62SGcjs.$b; exports.UPDATE_PROCESSING_PURPOSE_SUB_CATEGORIES = _chunkVWGA62SGcjs.Yb; exports.UPDATE_PROMPTS = _chunkVWGA62SGcjs.oa; exports.UPDATE_PROMPT_GROUPS = _chunkVWGA62SGcjs.sa; exports.UPDATE_PROMPT_PARTIALS = _chunkVWGA62SGcjs.qa; exports.UPDATE_REPOSITORIES = _chunkVWGA62SGcjs.B; exports.UPDATE_SOFTWARE_DEVELOPMENT_KITS = _chunkVWGA62SGcjs.O; exports.UPDATE_TEAM = _chunkVWGA62SGcjs.Aa; exports.UPDATE_VENDORS = _chunkVWGA62SGcjs.Sb; exports.USERS = _chunkVWGA62SGcjs.Da; exports.USP_STRING_REGEX = _chunkHUZESENZcjs.b; exports.VARIABLE_PARAMETERS_NAME = _chunkJH5HRI6Dcjs.b; exports.VARIABLE_PARAMETERS_REGEXP = _chunkJH5HRI6Dcjs.a; exports.VENDORS = _chunkVWGA62SGcjs.Qb; exports.VendorInput = _chunkABKDAPPRcjs.p; exports.WebhookHeader = _chunkABKDAPPRcjs.b; exports.addDaysUtc = _chunkVWGA62SGcjs.mg; exports.addMessagesToPromptRun = _chunkVWGA62SGcjs.vc; exports.addMs = _chunkVWGA62SGcjs.lg; exports.appendCsvRowsOrdered = _chunkVWGA62SGcjs.pg; exports.appendCsvSync = _chunkVWGA62SGcjs.qg; exports.approvePrivacyRequests = _chunkVWGA62SGcjs.Ef; exports.assumeRole = _chunkVWGA62SGcjs.Ld; exports.buildAIIntegrationType = _chunkTSJTXXLZcjs.b; exports.buildEnabledRouteType = _chunkTSJTXXLZcjs.a; exports.buildTranscendGraphQLClient = _chunkVWGA62SGcjs.xc; exports.buildTranscendGraphQLClientGeneric = _chunkVWGA62SGcjs.wc; exports.buildXdiSyncEndpoint = _chunk5SEDJJAHcjs.g; exports.bulkRestartRequests = _chunkVWGA62SGcjs.Mf; exports.bulkRetryEnrichers = _chunkVWGA62SGcjs.Of; exports.cancelPrivacyRequests = _chunkVWGA62SGcjs.Hf; exports.clampPageSize = _chunkVWGA62SGcjs.ig; exports.collectParquetFilesOrExit = _chunkVWGA62SGcjs.dg; exports.consentManagersToBusinessEntities = _chunk5SEDJJAHcjs.h; exports.convertToDataSubjectAllowlist = _chunkVWGA62SGcjs.zd; exports.convertToDataSubjectBlockList = _chunkVWGA62SGcjs.yd; exports.createActionItemCollection = _chunkVWGA62SGcjs.ne; exports.createActionItems = _chunkVWGA62SGcjs.qe; exports.createAgent = _chunkVWGA62SGcjs.ze; exports.createAgentFile = _chunkVWGA62SGcjs.te; exports.createAgentFunction = _chunkVWGA62SGcjs.we; exports.createApiKey = _chunkVWGA62SGcjs.Md; exports.createBusinessEntity = _chunkVWGA62SGcjs.De; exports.createCodePackage = _chunkVWGA62SGcjs.Me; exports.createConsentToken = _chunkHUZESENZcjs.a; exports.createDataCategory = _chunkVWGA62SGcjs.Te; exports.createDataFlows = _chunkVWGA62SGcjs.Xe; exports.createPreferenceAccessTokens = _chunkVWGA62SGcjs.Kc; exports.createProcessingPurpose = _chunkVWGA62SGcjs.ff; exports.createPrompt = _chunkVWGA62SGcjs.if; exports.createRegexForTag = j; exports.createRepository = _chunkVWGA62SGcjs.Je; exports.createSoftwareDevelopmentKit = _chunkVWGA62SGcjs.Ge; exports.createSombraGotInstance = _chunkVWGA62SGcjs.yc; exports.createTranscendConsentGotInstance = _chunkVWGA62SGcjs.zc; exports.createVendor = _chunkVWGA62SGcjs.lf; exports.defineTranscendPrompts = ec; exports.deleteApiKey = _chunkVWGA62SGcjs.Nd; exports.deployConsentManager = _chunkVWGA62SGcjs.Ac; exports.description = _chunkFZTNEEMWcjs.l; exports.domainToHost = _chunk5SEDJJAHcjs.e; exports.downloadPrivacyRequestFiles = _chunkVWGA62SGcjs.Bf; exports.enrichPrivacyRequest = _chunkJ7BM4Z6Ucjs.c; exports.ensureAllDataSubjectsExist = _chunkVWGA62SGcjs.xd; exports.extractClientError = _chunkVWGA62SGcjs.Jf; exports.extractErrorMessage = _chunkVWGA62SGcjs.Yf; exports.fetchActiveSiloDiscoPlugin = _chunkVWGA62SGcjs.Cc; exports.fetchAllActionItems = _chunkVWGA62SGcjs.Dc; exports.fetchAllActions = _chunkVWGA62SGcjs.Ec; exports.fetchAllAgentFiles = _chunkVWGA62SGcjs.Fc; exports.fetchAllAgentFunctions = _chunkVWGA62SGcjs.Gc; exports.fetchAllAgents = _chunkVWGA62SGcjs.Hc; exports.fetchAllApiKeys = _chunkVWGA62SGcjs.sd; exports.fetchAllAssessmentTemplates = _chunkVWGA62SGcjs.Jc; exports.fetchAllAssessments = _chunkVWGA62SGcjs.Ic; exports.fetchAllAttributeValues = _chunkVWGA62SGcjs.Mc; exports.fetchAllAttributes = _chunkVWGA62SGcjs.Oc; exports.fetchAllBusinessEntities = _chunkVWGA62SGcjs.Pc; exports.fetchAllCatalogs = _chunkVWGA62SGcjs.ud; exports.fetchAllCookies = _chunkVWGA62SGcjs.Wc; exports.fetchAllDataCategories = _chunkVWGA62SGcjs.Xc; exports.fetchAllDataFlows = _chunkVWGA62SGcjs.Yc; exports.fetchAllDataPoints = _chunkVWGA62SGcjs.Yd; exports.fetchAllDataSilos = _chunkVWGA62SGcjs.Wd; exports.fetchAllDataSubjects = _chunkVWGA62SGcjs.wd; exports.fetchAllEnrichers = _chunkVWGA62SGcjs.ae; exports.fetchAllIdentifiers = _chunkVWGA62SGcjs.vg; exports.fetchAllMessages = _chunkVWGA62SGcjs.Zc; exports.fetchAllPolicies = _chunkVWGA62SGcjs.ad; exports.fetchAllPreferenceTopics = _chunkVWGA62SGcjs.cd; exports.fetchAllPrivacyCenters = _chunkVWGA62SGcjs.dd; exports.fetchAllProcessingActivities = _chunkVWGA62SGcjs.ed; exports.fetchAllProcessingPurposes = _chunkVWGA62SGcjs.fd; exports.fetchAllPromptGroups = _chunkVWGA62SGcjs.Ad; exports.fetchAllPromptPartials = _chunkVWGA62SGcjs.Bd; exports.fetchAllPromptThreads = _chunkVWGA62SGcjs.Ed; exports.fetchAllPrompts = _chunkVWGA62SGcjs.Cd; exports.fetchAllPurposes = _chunkVWGA62SGcjs.gd; exports.fetchAllPurposesAndPreferences = _chunkVWGA62SGcjs.hd; exports.fetchAllRequestAttributeKeys = _chunkVWGA62SGcjs.Lc; exports.fetchAllRequestEnrichers = _chunkVWGA62SGcjs.id; exports.fetchAllRequestIdentifierMetadata = _chunkVWGA62SGcjs.jd; exports.fetchAllRequestIdentifiers = _chunkVWGA62SGcjs.ld; exports.fetchAllRequests = _chunkVWGA62SGcjs.od; exports.fetchAllSiloDiscoveryResults = _chunkVWGA62SGcjs.ge; exports.fetchAllSubDataPoints = _chunkVWGA62SGcjs.Xd; exports.fetchAllTeams = _chunkVWGA62SGcjs.pd; exports.fetchAllTemplates = _chunkVWGA62SGcjs.ce; exports.fetchAllUsers = _chunkVWGA62SGcjs.qd; exports.fetchAllVendors = _chunkVWGA62SGcjs.rd; exports.fetchAndIndexCatalogs = _chunkVWGA62SGcjs.vd; exports.fetchApiKeys = _chunkVWGA62SGcjs.td; exports.fetchConsentManager = _chunkVWGA62SGcjs.Qc; exports.fetchConsentManagerAnalyticsData = _chunkVWGA62SGcjs.Uc; exports.fetchConsentManagerExperiences = _chunkVWGA62SGcjs.Sc; exports.fetchConsentManagerId = _chunkVWGA62SGcjs.Rc; exports.fetchConsentManagerTheme = _chunkVWGA62SGcjs.Vc; exports.fetchEnrichedDataSilos = _chunkVWGA62SGcjs.Zd; exports.fetchIdentifiersAndCreateMissing = _chunkVWGA62SGcjs.wg; exports.fetchPartitions = _chunkVWGA62SGcjs.ee; exports.fetchPrivacyCenterId = _chunkVWGA62SGcjs.$c; exports.fetchPrivacyCenterUrl = _chunkVWGA62SGcjs._c; exports.fetchPromptsWithVariables = _chunkVWGA62SGcjs.Dd; exports.fetchRequestDataSilo = _chunkVWGA62SGcjs.Hd; exports.fetchRequestDataSiloActiveCount = _chunkVWGA62SGcjs.Id; exports.fetchRequestDataSilos = _chunkVWGA62SGcjs.Gd; exports.fetchRequestDataSilosCount = _chunkVWGA62SGcjs.Fd; exports.fetchRequestFilesForRequest = _chunkVWGA62SGcjs.Jd; exports.filterNullishValuesFromObject = oc; exports.filterRows = _chunkVWGA62SGcjs.uc; exports.formatAttributeValues = _chunkVWGA62SGcjs.bd; exports.fuzzyMatchColumns = _chunkVWGA62SGcjs.nc; exports.fuzzySearch = _chunkVWGA62SGcjs.mc; exports.generateCrossAccountApiKeys = _chunkUHERPTMCcjs.a; exports.getErrorStatus = _chunkVWGA62SGcjs.Xf; exports.getFileMetadataForPrivacyRequests = _chunkVWGA62SGcjs.zf; exports.getGitFilesThatChanged = cc; exports.getUniqueValuesForColumn = _chunkVWGA62SGcjs.tc; exports.initCsvFile = _chunkVWGA62SGcjs.og; exports.inquirerAutoComplete = _chunkVWGA62SGcjs.Vf; exports.inquirerConfirmBoolean = _chunkVWGA62SGcjs.Tf; exports.inquirerConfirmText = _chunkVWGA62SGcjs.Uf; exports.limitRecords = _chunkVWGA62SGcjs.ag; exports.listDirectories = _chunkUHERPTMCcjs.d; exports.listFiles = _chunkUHERPTMCcjs.c; exports.loginUser = _chunkVWGA62SGcjs.Kd; exports.makeGraphQLRequest = _chunkVWGA62SGcjs.ug; exports.mapColumnsToAttributes = _chunkVWGA62SGcjs.If; exports.mapColumnsToIdentifiers = _chunkVWGA62SGcjs.Gf; exports.mapCsvColumnsToApi = _chunkVWGA62SGcjs.qf; exports.mapCsvRowsToRequestInputs = _chunkVWGA62SGcjs.vf; exports.mapEnumValues = _chunkVWGA62SGcjs.oc; exports.mapRequestEnumValues = _chunkVWGA62SGcjs.rf; exports.markCronIdentifierCompleted = _chunkFMFQTG5Qcjs.d; exports.markRequestDataSiloIdsCompleted = _chunkFMFQTG5Qcjs.f; exports.markSilentPrivacyRequests = _chunkVWGA62SGcjs.pf; exports.mergeTranscendInputs = _chunkIBTP5OXEcjs.a; exports.name = _chunkFZTNEEMWcjs.n; exports.normalizeIdentifierValue = _chunkVWGA62SGcjs.uf; exports.notifyPrivacyRequestsAdditionalTime = _chunkVWGA62SGcjs.Ff; exports.parquetToCsvOneFile = _chunkVWGA62SGcjs.eg; exports.parseAssessmentDisplayLogic = _chunkVWGA62SGcjs.Td; exports.parseAssessmentRiskLogic = _chunkVWGA62SGcjs.Vd; exports.parseAttributesFromString = _chunkVWGA62SGcjs.rc; exports.parseFilePath = _chunkVWGA62SGcjs.sg; exports.parseVariablesFromString = _chunkVWGA62SGcjs.Wf; exports.pullAllDatapoints = _chunkHAAVY3FGcjs.a; exports.pullChunkedCustomSiloOutstandingIdentifiers = _chunkFMFQTG5Qcjs.g; exports.pullConsentManagerMetrics = _chunk5SEDJJAHcjs.d; exports.pullCronPageOfIdentifiers = _chunkFMFQTG5Qcjs.b; exports.pullManualEnrichmentIdentifiersToCsv = _chunkJ7BM4Z6Ucjs.a; exports.pullPrivacyRequests = _chunkVWGA62SGcjs.Qf; exports.pullTranscendConfiguration = _chunkVWGA62SGcjs.ie; exports.pullUnstructuredSubDataPointRecommendations = _chunkHAAVY3FGcjs.b; exports.pushCronIdentifiersFromCsv = _chunkFMFQTG5Qcjs.e; exports.pushManualEnrichmentIdentifiersFromCsv = _chunkJ7BM4Z6Ucjs.d; exports.readCsv = _chunkVWGA62SGcjs.sc; exports.readSafe = _chunkVWGA62SGcjs.cg; exports.readTranscendYaml = _chunkJH5HRI6Dcjs.d; exports.removeLinks = nc; exports.removeUnverifiedRequestIdentifiers = _chunkVWGA62SGcjs.Sf; exports.replaceVariablesInYaml = _chunkJH5HRI6Dcjs.c; exports.reportPromptRun = _chunkVWGA62SGcjs.je; exports.restartPrivacyRequest = _chunkVWGA62SGcjs.Lf; exports.retryRequestDataSilos = _chunkVWGA62SGcjs.Pf; exports.retryRequestEnricher = _chunkVWGA62SGcjs.ke; exports.retrySamePromise = _chunkVWGA62SGcjs.$f; exports.setResourceAttributes = _chunkVWGA62SGcjs.le; exports.skipPreflightJobs = _chunkVWGA62SGcjs.Nf; exports.skipRequestDataSilos = _chunkVWGA62SGcjs.Rf; exports.sleepPromise = _chunkVWGA62SGcjs.Zf; exports.splitCsvToList = _chunkVWGA62SGcjs.pc; exports.splitInHalf = _chunkVWGA62SGcjs._f; exports.startOfHour = _chunkVWGA62SGcjs.kg; exports.startOfUtcDay = _chunkVWGA62SGcjs.jg; exports.streamPrivacyRequestFiles = _chunkVWGA62SGcjs.Af; exports.submitPrivacyRequest = _chunkVWGA62SGcjs.Df; exports.syncAction = _chunkVWGA62SGcjs.me; exports.syncActionItemCollections = _chunkVWGA62SGcjs.pe; exports.syncActionItems = _chunkVWGA62SGcjs.se; exports.syncAgentFiles = _chunkVWGA62SGcjs.ve; exports.syncAgentFunctions = _chunkVWGA62SGcjs.ye; exports.syncAgents = _chunkVWGA62SGcjs.Be; exports.syncAttribute = _chunkVWGA62SGcjs.Ce; exports.syncBusinessEntities = _chunkVWGA62SGcjs.Fe; exports.syncCodePackages = _chunkVWGA62SGcjs.Oe; exports.syncConfigurationToTranscend = _chunkVWGA62SGcjs.xg; exports.syncConsentManager = _chunkVWGA62SGcjs.Qe; exports.syncConsentManagerExperiences = _chunkVWGA62SGcjs.Pe; exports.syncCookies = _chunkVWGA62SGcjs.Se; exports.syncDataCategories = _chunkVWGA62SGcjs.Ve; exports.syncDataFlows = _chunkVWGA62SGcjs.Ye; exports.syncDataSiloDependencies = _chunkVWGA62SGcjs.$d; exports.syncDataSilos = _chunkVWGA62SGcjs._d; exports.syncDataSubject = _chunkVWGA62SGcjs.Ze; exports.syncEnricher = _chunkVWGA62SGcjs.be; exports.syncIdentifier = _chunkVWGA62SGcjs._e; exports.syncIntlMessages = _chunkVWGA62SGcjs.af; exports.syncPartitions = _chunkVWGA62SGcjs.fe; exports.syncPolicies = _chunkVWGA62SGcjs.cf; exports.syncPrivacyCenter = _chunkVWGA62SGcjs.df; exports.syncProcessingActivities = _chunkVWGA62SGcjs.ef; exports.syncProcessingPurposes = _chunkVWGA62SGcjs.hf; exports.syncPrompts = _chunkVWGA62SGcjs.kf; exports.syncRepositories = _chunkVWGA62SGcjs.Le; exports.syncSoftwareDevelopmentKits = _chunkVWGA62SGcjs.Ie; exports.syncTemplate = _chunkVWGA62SGcjs.de; exports.syncVendors = _chunkVWGA62SGcjs.nf; exports.updateActionItem = _chunkVWGA62SGcjs.re; exports.updateActionItemCollection = _chunkVWGA62SGcjs.oe; exports.updateAgentFiles = _chunkVWGA62SGcjs.ue; exports.updateAgentFunctions = _chunkVWGA62SGcjs.xe; exports.updateAgents = _chunkVWGA62SGcjs.Ae; exports.updateBusinessEntities = _chunkVWGA62SGcjs.Ee; exports.updateCodePackages = _chunkVWGA62SGcjs.Ne; exports.updateConsentManagerToLatest = _chunkVWGA62SGcjs.Bc; exports.updateConsentManagerVersionToLatest = _chunk5SEDJJAHcjs.a; exports.updateDataCategories = _chunkVWGA62SGcjs.Ue; exports.updateDataFlows = _chunkVWGA62SGcjs.We; exports.updateIntlMessages = _chunkVWGA62SGcjs.$e; exports.updateOrCreateCookies = _chunkVWGA62SGcjs.Re; exports.updatePolicies = _chunkVWGA62SGcjs.bf; exports.updateProcessingPurposes = _chunkVWGA62SGcjs.gf; exports.updatePrompts = _chunkVWGA62SGcjs.jf; exports.updateRepositories = _chunkVWGA62SGcjs.Ke; exports.updateSoftwareDevelopmentKits = _chunkVWGA62SGcjs.He; exports.updateVendors = _chunkVWGA62SGcjs.mf; exports.uploadConsents = _chunkHUZESENZcjs.d; exports.uploadCookiesFromCsv = _chunk5SEDJJAHcjs.c; exports.uploadDataFlowsFromCsv = _chunk5SEDJJAHcjs.b; exports.uploadPrivacyRequestsFromCsv = _chunkVWGA62SGcjs.Kf; exports.uploadSiloDiscoveryResults = _chunkVWGA62SGcjs.of; exports.validateTranscendAuth = _chunkUHERPTMCcjs.b; exports.version = _chunkFZTNEEMWcjs.m; exports.writeCsv = _chunkVWGA62SGcjs.rg; exports.writeCsvSync = _chunkVWGA62SGcjs.ng; exports.writeLargeCsv = _chunkVWGA62SGcjs.tg; exports.writeTranscendYaml = _chunkJH5HRI6Dcjs.e;
3
+ `)[0];if(!o||!i)throw new Error("FAILED TO FIND COMMIT RANGE");let p=_child_process.execSync.call(void 0, `git fetch && git diff --name-only "${a||o}...${i}" -- ${e}`,{encoding:"utf-8"}),m=_chunkXXFLFF7Qcjs.c.call(void 0, p.split(`
4
+ `).filter(d=>d),s),c=t.length>0?_fastglob2.default.sync(m,{ignore:t}):m,n={};c.forEach(d=>{let F=_child_process.execSync.call(void 0, `git show ${i}:${d}`,{encoding:"utf-8"});n[d]=F});let g=r.split("/").pop().split(".")[0];return{changedFiles:m,fileDiffs:n,repoName:g,commit:i}}exports.ACTIONS = _chunk55B57ZAYcjs.ub; exports.ADD_MESSAGES_TO_PROMPT_RUN = _chunk55B57ZAYcjs.Ha; exports.ADD_SILO_DISCOVERY_RESULTS = _chunk55B57ZAYcjs.H; exports.ADMIN_DASH = _chunkXXFLFF7Qcjs.o; exports.ADMIN_DASH_DATAPOINTS = _chunkXXFLFF7Qcjs.q; exports.ADMIN_DASH_INTEGRATIONS = _chunkXXFLFF7Qcjs.p; exports.AGENTS = _chunk55B57ZAYcjs.Hb; exports.AGENT_FILES = _chunk55B57ZAYcjs.Kb; exports.AGENT_FUNCTIONS = _chunk55B57ZAYcjs.Nb; exports.API_KEYS = _chunk55B57ZAYcjs.D; exports.APPROVE_PRIVACY_REQUEST = _chunk55B57ZAYcjs.X; exports.ASSESSMENTS = _chunk55B57ZAYcjs.fa; exports.ASSESSMENT_SECTION_FIELDS = _chunk55B57ZAYcjs.ea; exports.ASSESSMENT_TEMPLATES = _chunk55B57ZAYcjs.ja; exports.ASSUME_ROLE = _chunk55B57ZAYcjs.Fb; exports.ATTRIBUTES = _chunk55B57ZAYcjs.La; exports.ATTRIBUTE_KEYS_REQUESTS = _chunk55B57ZAYcjs.M; exports.ATTRIBUTE_VALUES = _chunk55B57ZAYcjs.Pa; exports.ActionInput = _chunkABKDAPPRcjs.G; exports.ActionItemCollectionInput = _chunkABKDAPPRcjs.R; exports.ActionItemInput = _chunkABKDAPPRcjs.S; exports.AgentFileInput = _chunkABKDAPPRcjs.o; exports.AgentFunctionInput = _chunkABKDAPPRcjs.n; exports.AgentInput = _chunkABKDAPPRcjs.m; exports.ApiKeyInput = _chunkABKDAPPRcjs.c; exports.AssessmentAction = _chunk55B57ZAYcjs.Sd; exports.AssessmentAnswerOptionInput = _chunkABKDAPPRcjs.Y; exports.AssessmentDisplayLogicInput = _chunkABKDAPPRcjs.V; exports.AssessmentInput = _chunkABKDAPPRcjs.ca; exports.AssessmentNestedRule = _chunk55B57ZAYcjs.Rd; exports.AssessmentNestedRuleInput = _chunkABKDAPPRcjs.U; exports.AssessmentResourceInput = _chunkABKDAPPRcjs.ba; exports.AssessmentRetentionScheduleInput = _chunkABKDAPPRcjs.$; exports.AssessmentRiskLogic = _chunk55B57ZAYcjs.Ud; exports.AssessmentRule = _chunk55B57ZAYcjs.Qd; exports.AssessmentRuleInput = _chunkABKDAPPRcjs.T; exports.AssessmentRuleWithOperands = _chunk55B57ZAYcjs.Od; exports.AssessmentRuleWithoutOperands = _chunk55B57ZAYcjs.Pd; exports.AssessmentSectionInput = _chunkABKDAPPRcjs._; exports.AssessmentSectionQuestionInput = _chunkABKDAPPRcjs.Z; exports.AssessmentTemplateInput = _chunkABKDAPPRcjs.aa; exports.AttestedExtraIdentifiers = _chunk55B57ZAYcjs.sf; exports.AttributeInput = _chunkABKDAPPRcjs.k; exports.AttributePreview = _chunkABKDAPPRcjs.l; exports.AttributeValueInput = _chunkABKDAPPRcjs.j; exports.BLANK = _chunk55B57ZAYcjs.ec; exports.BULK_APPLY = _chunk55B57ZAYcjs.dc; exports.BULK_REQUEST_FILES = _chunk55B57ZAYcjs.Fa; exports.BUSINESS_ENTITIES = _chunk55B57ZAYcjs.rb; exports.BusinessEntityInput = _chunkABKDAPPRcjs.y; exports.CANCEL_PRIVACY_REQUEST = _chunk55B57ZAYcjs.Y; exports.CAN_APPLY_IN_BULK = _chunk55B57ZAYcjs.ic; exports.CATALOGS = _chunk55B57ZAYcjs.r; exports.CHANGE_REQUEST_DATA_SILO_STATUS = _chunk55B57ZAYcjs.va; exports.CODE_PACKAGES = _chunk55B57ZAYcjs.Q; exports.CONSENT_MANAGER_ANALYTICS_DATA = _chunk55B57ZAYcjs.qb; exports.CONSENT_PARTITIONS = _chunk55B57ZAYcjs.Ua; exports.COOKIES = _chunk55B57ZAYcjs.Za; exports.CREATE_ACTION_ITEMS = _chunk55B57ZAYcjs.yb; exports.CREATE_ACTION_ITEM_COLLECTION = _chunk55B57ZAYcjs.Ja; exports.CREATE_AGENT = _chunk55B57ZAYcjs.Ib; exports.CREATE_AGENT_FILE = _chunk55B57ZAYcjs.Lb; exports.CREATE_AGENT_FUNCTION = _chunk55B57ZAYcjs.Ob; exports.CREATE_API_KEY = _chunk55B57ZAYcjs.E; exports.CREATE_ATTRIBUTE = _chunk55B57ZAYcjs.Qa; exports.CREATE_ATTRIBUTE_VALUES = _chunk55B57ZAYcjs.Ma; exports.CREATE_BUSINESS_ENTITY = _chunk55B57ZAYcjs.sb; exports.CREATE_CODE_PACKAGE = _chunk55B57ZAYcjs.S; exports.CREATE_CONSENT_EXPERIENCE = _chunk55B57ZAYcjs.ob; exports.CREATE_CONSENT_MANAGER = _chunk55B57ZAYcjs.bb; exports.CREATE_CONSENT_PARTITION = _chunk55B57ZAYcjs.pb; exports.CREATE_DATA_FLOWS = _chunk55B57ZAYcjs.Va; exports.CREATE_DATA_SILOS = _chunk55B57ZAYcjs.m; exports.CREATE_DATA_SUBJECT = _chunk55B57ZAYcjs.x; exports.CREATE_DATA_SUB_CATEGORY = _chunk55B57ZAYcjs.Ub; exports.CREATE_ENRICHER = _chunk55B57ZAYcjs.p; exports.CREATE_IDENTIFIER = _chunk55B57ZAYcjs.u; exports.CREATE_PREFERENCE_ACCESS_TOKENS = _chunk55B57ZAYcjs.G; exports.CREATE_PROCESSING_ACTIVITY = _chunk55B57ZAYcjs._b; exports.CREATE_PROCESSING_PURPOSE_SUB_CATEGORY = _chunk55B57ZAYcjs.Xb; exports.CREATE_PROMPT = _chunk55B57ZAYcjs.pa; exports.CREATE_PROMPT_GROUP = _chunk55B57ZAYcjs.ta; exports.CREATE_PROMPT_PARTIAL = _chunk55B57ZAYcjs.ra; exports.CREATE_REPOSITORY = _chunk55B57ZAYcjs.C; exports.CREATE_SOFTWARE_DEVELOPMENT_KIT = _chunk55B57ZAYcjs.P; exports.CREATE_TEAM = _chunk55B57ZAYcjs.za; exports.CREATE_TEMPLATE = _chunk55B57ZAYcjs.K; exports.CREATE_VENDOR = _chunk55B57ZAYcjs.Rb; exports.CachedFileState = _chunk55B57ZAYcjs.jc; exports.CachedRequestState = _chunk55B57ZAYcjs.lc; exports.CodePackageInput = _chunkABKDAPPRcjs.D; exports.CodePackageSdk = _chunkABKDAPPRcjs.C; exports.ColumnName = _chunk55B57ZAYcjs.gc; exports.ConsentManageExperienceInput = _chunkABKDAPPRcjs.K; exports.ConsentManagerInput = _chunkABKDAPPRcjs.M; exports.ConsentManagerMetricBin = _chunk55B57ZAYcjs.Tc; exports.ConsentManagerServiceMetadata = _chunkABKDAPPRcjs.la; exports.ConsentPreferenceTopic = _chunkABKDAPPRcjs.ea; exports.ConsentPreferenceTopicOptionValue = _chunkABKDAPPRcjs.da; exports.ConsentPurpose = _chunkABKDAPPRcjs.fa; exports.CookieCsvInput = _chunkABKDAPPRcjs.ka; exports.CookieInput = _chunkABKDAPPRcjs.J; exports.CronIdentifier = _chunkQ2RJZGYWcjs.a; exports.CronIdentifierPush = _chunkQ2RJZGYWcjs.c; exports.DATAPOINT_EXPORT = _chunk55B57ZAYcjs.g; exports.DATA_FLOWS = _chunk55B57ZAYcjs.Ya; exports.DATA_POINTS = _chunk55B57ZAYcjs.a; exports.DATA_POINT_COUNT = _chunk55B57ZAYcjs.b; exports.DATA_SILOS = _chunk55B57ZAYcjs.i; exports.DATA_SILOS_ENRICHED = _chunk55B57ZAYcjs.k; exports.DATA_SILO_EXPORT = _chunk55B57ZAYcjs.j; exports.DATA_SUBJECTS = _chunk55B57ZAYcjs.w; exports.DATA_SUB_CATEGORIES = _chunk55B57ZAYcjs.Tb; exports.DAY_MS = _chunk55B57ZAYcjs.fg; exports.DEBUG = _chunkXXFLFF7Qcjs.z; exports.DEFAULT_TRANSCEND_API = _chunkXXFLFF7Qcjs.r; exports.DEFAULT_TRANSCEND_CONSENT_API = _chunkXXFLFF7Qcjs.s; exports.DEFAULT_TRANSCEND_PULL_RESOURCES = _chunk55B57ZAYcjs.he; exports.DELETE_API_KEY = _chunk55B57ZAYcjs.F; exports.DELETE_ATTRIBUTE_VALUE = _chunk55B57ZAYcjs.Oa; exports.DEPLOYED_PRIVACY_CENTER_URL = _chunk55B57ZAYcjs.Ab; exports.DEPLOY_CONSENT_MANAGER = _chunk55B57ZAYcjs.eb; exports.DETERMINE_LOGIN_METHOD = _chunk55B57ZAYcjs.Db; exports.DataCategoryGuessInput = _chunkABKDAPPRcjs.h; exports.DataCategoryInput = _chunkABKDAPPRcjs.q; exports.DataCategoryPreviewInput = _chunkABKDAPPRcjs.g; exports.DataCategoryRecommendationInput = _chunkABKDAPPRcjs.i; exports.DataFlowCsvInput = _chunkABKDAPPRcjs.ja; exports.DataFlowInput = _chunkABKDAPPRcjs.I; exports.DataSiloInput = _chunkABKDAPPRcjs.Q; exports.DataSubjectInput = _chunkABKDAPPRcjs.F; exports.DatapointInput = _chunkABKDAPPRcjs.w; exports.ENABLED_PLUGINS = _chunk55B57ZAYcjs.I; exports.ENRICHERS = _chunk55B57ZAYcjs.n; exports.ENTRY_COUNT = _chunk55B57ZAYcjs.h; exports.EXPERIENCES = _chunk55B57ZAYcjs.Ta; exports.EnrichPrivacyRequest = _chunkG522ZIHScjs.b; exports.EnricherInput = _chunkABKDAPPRcjs.e; exports.FETCH_CONSENT_MANAGER = _chunk55B57ZAYcjs.$a; exports.FETCH_CONSENT_MANAGER_ID = _chunk55B57ZAYcjs._a; exports.FETCH_CONSENT_MANAGER_THEME = _chunk55B57ZAYcjs.ab; exports.FETCH_PRIVACY_CENTER_ID = _chunk55B57ZAYcjs.zb; exports.FIVE_MIN_MS = _chunk55B57ZAYcjs.hg; exports.FieldInput = _chunkABKDAPPRcjs.v; exports.GLOBAL_ACTION_ITEMS = _chunk55B57ZAYcjs.wb; exports.GLOBAL_ACTION_ITEM_COLLECTIONS = _chunk55B57ZAYcjs.Ia; exports.HOUR_MS = _chunk55B57ZAYcjs.gg; exports.IDENTIFIERS = _chunk55B57ZAYcjs.s; exports.IDENTIFIER_BLOCK_LIST = _chunk55B57ZAYcjs.fc; exports.IMPORT_ONE_TRUST_ASSESSMENT_FORMS = _chunk55B57ZAYcjs.ga; exports.INITIALIZER = _chunk55B57ZAYcjs.o; exports.IP_ADDRESS_REGEX = _chunk52MA7ZLScjs.f; exports.IS_REQUIRED = _chunk55B57ZAYcjs.hc; exports.IdentifierInput = _chunkABKDAPPRcjs.H; exports.ImportOnetrustAssessmentsInput = _chunkABKDAPPRcjs.sa; exports.IntlMessage = _chunk55B57ZAYcjs.wf; exports.IntlMessageInput = _chunkABKDAPPRcjs.P; exports.LARGE_LANGUAGE_MODELS = _chunk55B57ZAYcjs.Gb; exports.LOGIN = _chunk55B57ZAYcjs.Eb; exports.MESSAGES = _chunk55B57ZAYcjs.$; exports.NEW_IDENTIFIER_TYPES = _chunk55B57ZAYcjs.t; exports.NONE = _chunk55B57ZAYcjs.cc; exports.NOTIFY_ADDITIONAL_TIME = _chunk55B57ZAYcjs._; exports.ORGANIZATION = _chunk55B57ZAYcjs.L; exports.OneTrustFileFormat = _chunk7PB6LVSEcjs.a; exports.OneTrustPullResource = _chunk7PB6LVSEcjs.b; exports.OneTrustPullSource = _chunk7PB6LVSEcjs.c; exports.OpenAIEnabledRoute = _chunkABKDAPPRcjs.na; exports.OpenAIEnabledRoutes = _chunkABKDAPPRcjs.oa; exports.OpenAIIntegration = _chunkABKDAPPRcjs.pa; exports.OpenAIRouteName = _chunk7PB6LVSEcjs.f; exports.POLICIES = _chunk55B57ZAYcjs.U; exports.PREFERENCE_TOPICS = _chunk55B57ZAYcjs.ia; exports.PRIVACY_CENTER = _chunk55B57ZAYcjs.Bb; exports.PROCESSING_ACTIVITIES = _chunk55B57ZAYcjs.Zb; exports.PROCESSING_PURPOSE_SUB_CATEGORIES = _chunk55B57ZAYcjs.Wb; exports.PROMPTS = _chunk55B57ZAYcjs.ka; exports.PROMPTS_WITH_VARIABLES = _chunk55B57ZAYcjs.na; exports.PROMPT_GROUPS = _chunk55B57ZAYcjs.ma; exports.PROMPT_PARTIALS = _chunk55B57ZAYcjs.la; exports.PROMPT_THREADS = _chunk55B57ZAYcjs.T; exports.PURPOSES = _chunk55B57ZAYcjs.ha; exports.ParsedAttributeInput = _chunk55B57ZAYcjs.qc; exports.PartitionInput = _chunkABKDAPPRcjs.L; exports.PathfinderPolicy = _chunkABKDAPPRcjs.qa; exports.PathfinderPolicyName = _chunk7PB6LVSEcjs.e; exports.PathfinderPolicyNameC = _chunkABKDAPPRcjs.ma; exports.PathfinderPromptRunMetadata = _chunkABKDAPPRcjs.ra; exports.PolicyInput = _chunkABKDAPPRcjs.O; exports.PrivacyCenterInput = _chunkABKDAPPRcjs.N; exports.PrivacyRequest = _chunk55B57ZAYcjs.nd; exports.PrivacyRequestInput = _chunk55B57ZAYcjs.tf; exports.PrivacyRequestResponse = _chunk55B57ZAYcjs.Cf; exports.ProcessingActivityInput = _chunkABKDAPPRcjs.A; exports.ProcessingPurposeInput = _chunkABKDAPPRcjs.r; exports.ProcessingPurposePreviewInput = _chunkABKDAPPRcjs.f; exports.PromptAVendorEmailSettings = _chunkABKDAPPRcjs.x; exports.PromptGroupInput = _chunkABKDAPPRcjs.u; exports.PromptInput = _chunkABKDAPPRcjs.s; exports.PromptPartialInput = _chunkABKDAPPRcjs.t; exports.PurposeMap = _chunkM3Y6JH6Icjs.c; exports.REDUCED_REQUESTS_FOR_DATA_SILO_COUNT = _chunk55B57ZAYcjs.xa; exports.REMOVE_REQUEST_IDENTIFIERS = _chunk55B57ZAYcjs.Ba; exports.REPORT_PROMPT_RUN = _chunk55B57ZAYcjs.Ga; exports.REPOSITORIES = _chunk55B57ZAYcjs.A; exports.REQUESTS = _chunk55B57ZAYcjs.W; exports.REQUEST_DATA_SILOS = _chunk55B57ZAYcjs.ua; exports.REQUEST_ENRICHERS = _chunk55B57ZAYcjs.ba; exports.REQUEST_FILES = _chunk55B57ZAYcjs.Ea; exports.REQUEST_IDENTIFIERS = _chunk55B57ZAYcjs.Ca; exports.RETRYABLE_BATCH_STATUSES = _chunkXXFLFF7Qcjs.y; exports.RETRY_REQUEST_DATA_SILO = _chunk55B57ZAYcjs.wa; exports.RETRY_REQUEST_ENRICHER = _chunk55B57ZAYcjs.ca; exports.RateCounter = _chunk55B57ZAYcjs.bg; exports.RegionInput = _chunkABKDAPPRcjs.z; exports.RepositoryInput = _chunkABKDAPPRcjs.E; exports.RequestFileMetadata = _chunk55B57ZAYcjs.xf; exports.RequestFileMetadataResponse = _chunk55B57ZAYcjs.yf; exports.RequestIdentifiersResponse = _chunk55B57ZAYcjs.kd; exports.RequestPurposeTrigger = _chunk55B57ZAYcjs.md; exports.RiskAssignmentInput = _chunkABKDAPPRcjs.W; exports.RiskLogicInput = _chunkABKDAPPRcjs.X; exports.SCOPES_BY_TITLE = _chunkXXFLFF7Qcjs.w; exports.SCOPE_TITLES = _chunkXXFLFF7Qcjs.x; exports.SET_RESOURCE_ATTRIBUTES = _chunk55B57ZAYcjs.Sa; exports.SILO_DISCOVERY_RESULTS = _chunk55B57ZAYcjs.bc; exports.SKIP_REQUEST_ENRICHER = _chunk55B57ZAYcjs.da; exports.SOFTWARE_DEVELOPMENT_KITS = _chunk55B57ZAYcjs.N; exports.SOMBRA_VERSION = _chunk55B57ZAYcjs.ac; exports.SUB_DATA_POINTS = _chunk55B57ZAYcjs.c; exports.SUB_DATA_POINTS_COUNT = _chunk55B57ZAYcjs.d; exports.SUB_DATA_POINTS_WITH_GUESSES = _chunk55B57ZAYcjs.e; exports.SYNC_ATTRIBUTE_TYPES = _chunk55B57ZAYcjs.Nc; exports.SiloDiscoveryResultInput = _chunkABKDAPPRcjs.ga; exports.SoftwareDevelopmentKitInput = _chunkABKDAPPRcjs.B; exports.StoredApiKey = _chunkABKDAPPRcjs.ia; exports.SuccessfulRequest = _chunk55B57ZAYcjs.kc; exports.TEAMS = _chunk55B57ZAYcjs.ya; exports.TEMPLATES = _chunk55B57ZAYcjs.J; exports.TOGGLE_CONSENT_PRECEDENCE = _chunk55B57ZAYcjs.lb; exports.TOGGLE_DATA_SUBJECT = _chunk55B57ZAYcjs.z; exports.TOGGLE_TELEMETRY_PARTITION_STRATEGY = _chunk55B57ZAYcjs.kb; exports.TOGGLE_UNKNOWN_COOKIE_POLICY = _chunk55B57ZAYcjs.jb; exports.TOGGLE_UNKNOWN_REQUEST_POLICY = _chunk55B57ZAYcjs.ib; exports.TR_PULL_RESOURCE_SCOPE_MAP = _chunkXXFLFF7Qcjs.u; exports.TR_PUSH_RESOURCE_SCOPE_MAP = _chunkXXFLFF7Qcjs.t; exports.TR_YML_RESOURCE_TO_FIELD_NAME = _chunkXXFLFF7Qcjs.v; exports.TeamInput = _chunkABKDAPPRcjs.d; exports.TemplateInput = _chunkABKDAPPRcjs.a; exports.TranscendInput = _chunkABKDAPPRcjs.ha; exports.TranscendPromptManager = B; exports.TranscendPullResource = _chunk7PB6LVSEcjs.d; exports.UPDATE_ACTION = _chunk55B57ZAYcjs.vb; exports.UPDATE_ACTION_ITEMS = _chunk55B57ZAYcjs.xb; exports.UPDATE_ACTION_ITEM_COLLECTION = _chunk55B57ZAYcjs.Ka; exports.UPDATE_AGENTS = _chunk55B57ZAYcjs.Jb; exports.UPDATE_AGENT_FILES = _chunk55B57ZAYcjs.Mb; exports.UPDATE_AGENT_FUNCTIONS = _chunk55B57ZAYcjs.Pb; exports.UPDATE_ATTRIBUTE = _chunk55B57ZAYcjs.Ra; exports.UPDATE_ATTRIBUTE_VALUES = _chunk55B57ZAYcjs.Na; exports.UPDATE_BUSINESS_ENTITIES = _chunk55B57ZAYcjs.tb; exports.UPDATE_CODE_PACKAGES = _chunk55B57ZAYcjs.R; exports.UPDATE_CONSENT_EXPERIENCE = _chunk55B57ZAYcjs.nb; exports.UPDATE_CONSENT_MANAGER_DOMAINS = _chunk55B57ZAYcjs.fb; exports.UPDATE_CONSENT_MANAGER_PARTITION = _chunk55B57ZAYcjs.gb; exports.UPDATE_CONSENT_MANAGER_THEME = _chunk55B57ZAYcjs.mb; exports.UPDATE_CONSENT_MANAGER_TO_LATEST = _chunk55B57ZAYcjs.db; exports.UPDATE_CONSENT_MANAGER_VERSION = _chunk55B57ZAYcjs.cb; exports.UPDATE_DATA_FLOWS = _chunk55B57ZAYcjs.Wa; exports.UPDATE_DATA_SILOS = _chunk55B57ZAYcjs.l; exports.UPDATE_DATA_SUBJECT = _chunk55B57ZAYcjs.y; exports.UPDATE_DATA_SUB_CATEGORIES = _chunk55B57ZAYcjs.Vb; exports.UPDATE_ENRICHER = _chunk55B57ZAYcjs.q; exports.UPDATE_IDENTIFIER = _chunk55B57ZAYcjs.v; exports.UPDATE_INTL_MESSAGES = _chunk55B57ZAYcjs.aa; exports.UPDATE_LOAD_OPTIONS = _chunk55B57ZAYcjs.hb; exports.UPDATE_OR_CREATE_COOKIES = _chunk55B57ZAYcjs.Xa; exports.UPDATE_OR_CREATE_DATA_POINT = _chunk55B57ZAYcjs.f; exports.UPDATE_POLICIES = _chunk55B57ZAYcjs.V; exports.UPDATE_PRIVACY_CENTER = _chunk55B57ZAYcjs.Cb; exports.UPDATE_PRIVACY_REQUEST = _chunk55B57ZAYcjs.Z; exports.UPDATE_PROCESSING_ACTIVITIES = _chunk55B57ZAYcjs.$b; exports.UPDATE_PROCESSING_PURPOSE_SUB_CATEGORIES = _chunk55B57ZAYcjs.Yb; exports.UPDATE_PROMPTS = _chunk55B57ZAYcjs.oa; exports.UPDATE_PROMPT_GROUPS = _chunk55B57ZAYcjs.sa; exports.UPDATE_PROMPT_PARTIALS = _chunk55B57ZAYcjs.qa; exports.UPDATE_REPOSITORIES = _chunk55B57ZAYcjs.B; exports.UPDATE_SOFTWARE_DEVELOPMENT_KITS = _chunk55B57ZAYcjs.O; exports.UPDATE_TEAM = _chunk55B57ZAYcjs.Aa; exports.UPDATE_VENDORS = _chunk55B57ZAYcjs.Sb; exports.USERS = _chunk55B57ZAYcjs.Da; exports.USP_STRING_REGEX = _chunkM3Y6JH6Icjs.b; exports.VARIABLE_PARAMETERS_NAME = _chunkJH5HRI6Dcjs.b; exports.VARIABLE_PARAMETERS_REGEXP = _chunkJH5HRI6Dcjs.a; exports.VENDORS = _chunk55B57ZAYcjs.Qb; exports.VendorInput = _chunkABKDAPPRcjs.p; exports.WebhookHeader = _chunkABKDAPPRcjs.b; exports.addDaysUtc = _chunk55B57ZAYcjs.mg; exports.addMessagesToPromptRun = _chunk55B57ZAYcjs.vc; exports.addMs = _chunk55B57ZAYcjs.lg; exports.appendCsvRowsOrdered = _chunk55B57ZAYcjs.pg; exports.appendCsvSync = _chunk55B57ZAYcjs.qg; exports.approvePrivacyRequests = _chunk55B57ZAYcjs.Ef; exports.assumeRole = _chunk55B57ZAYcjs.Ld; exports.buildAIIntegrationType = _chunkTSJTXXLZcjs.b; exports.buildEnabledRouteType = _chunkTSJTXXLZcjs.a; exports.buildTranscendGraphQLClient = _chunk55B57ZAYcjs.xc; exports.buildTranscendGraphQLClientGeneric = _chunk55B57ZAYcjs.wc; exports.buildXdiSyncEndpoint = _chunk52MA7ZLScjs.g; exports.bulkRestartRequests = _chunk55B57ZAYcjs.Mf; exports.bulkRetryEnrichers = _chunk55B57ZAYcjs.Of; exports.cancelPrivacyRequests = _chunk55B57ZAYcjs.Hf; exports.clampPageSize = _chunk55B57ZAYcjs.ig; exports.collectParquetFilesOrExit = _chunk55B57ZAYcjs.dg; exports.consentManagersToBusinessEntities = _chunk52MA7ZLScjs.h; exports.convertToDataSubjectAllowlist = _chunk55B57ZAYcjs.zd; exports.convertToDataSubjectBlockList = _chunk55B57ZAYcjs.yd; exports.createActionItemCollection = _chunk55B57ZAYcjs.ne; exports.createActionItems = _chunk55B57ZAYcjs.qe; exports.createAgent = _chunk55B57ZAYcjs.ze; exports.createAgentFile = _chunk55B57ZAYcjs.te; exports.createAgentFunction = _chunk55B57ZAYcjs.we; exports.createApiKey = _chunk55B57ZAYcjs.Md; exports.createBusinessEntity = _chunk55B57ZAYcjs.De; exports.createCodePackage = _chunk55B57ZAYcjs.Me; exports.createConsentToken = _chunkM3Y6JH6Icjs.a; exports.createDataCategory = _chunk55B57ZAYcjs.Te; exports.createDataFlows = _chunk55B57ZAYcjs.Xe; exports.createPreferenceAccessTokens = _chunk55B57ZAYcjs.Kc; exports.createProcessingPurpose = _chunk55B57ZAYcjs.ff; exports.createPrompt = _chunk55B57ZAYcjs.if; exports.createRegexForTag = j; exports.createRepository = _chunk55B57ZAYcjs.Je; exports.createSoftwareDevelopmentKit = _chunk55B57ZAYcjs.Ge; exports.createSombraGotInstance = _chunk55B57ZAYcjs.yc; exports.createTranscendConsentGotInstance = _chunk55B57ZAYcjs.zc; exports.createVendor = _chunk55B57ZAYcjs.lf; exports.defineTranscendPrompts = ec; exports.deleteApiKey = _chunk55B57ZAYcjs.Nd; exports.deployConsentManager = _chunk55B57ZAYcjs.Ac; exports.description = _chunkXXFLFF7Qcjs.l; exports.domainToHost = _chunk52MA7ZLScjs.e; exports.downloadPrivacyRequestFiles = _chunk55B57ZAYcjs.Bf; exports.enrichPrivacyRequest = _chunkG522ZIHScjs.c; exports.ensureAllDataSubjectsExist = _chunk55B57ZAYcjs.xd; exports.extractClientError = _chunk55B57ZAYcjs.Jf; exports.extractErrorMessage = _chunk55B57ZAYcjs.Yf; exports.fetchActiveSiloDiscoPlugin = _chunk55B57ZAYcjs.Cc; exports.fetchAllActionItems = _chunk55B57ZAYcjs.Dc; exports.fetchAllActions = _chunk55B57ZAYcjs.Ec; exports.fetchAllAgentFiles = _chunk55B57ZAYcjs.Fc; exports.fetchAllAgentFunctions = _chunk55B57ZAYcjs.Gc; exports.fetchAllAgents = _chunk55B57ZAYcjs.Hc; exports.fetchAllApiKeys = _chunk55B57ZAYcjs.sd; exports.fetchAllAssessmentTemplates = _chunk55B57ZAYcjs.Jc; exports.fetchAllAssessments = _chunk55B57ZAYcjs.Ic; exports.fetchAllAttributeValues = _chunk55B57ZAYcjs.Mc; exports.fetchAllAttributes = _chunk55B57ZAYcjs.Oc; exports.fetchAllBusinessEntities = _chunk55B57ZAYcjs.Pc; exports.fetchAllCatalogs = _chunk55B57ZAYcjs.ud; exports.fetchAllCookies = _chunk55B57ZAYcjs.Wc; exports.fetchAllDataCategories = _chunk55B57ZAYcjs.Xc; exports.fetchAllDataFlows = _chunk55B57ZAYcjs.Yc; exports.fetchAllDataPoints = _chunk55B57ZAYcjs.Yd; exports.fetchAllDataSilos = _chunk55B57ZAYcjs.Wd; exports.fetchAllDataSubjects = _chunk55B57ZAYcjs.wd; exports.fetchAllEnrichers = _chunk55B57ZAYcjs.ae; exports.fetchAllIdentifiers = _chunk55B57ZAYcjs.vg; exports.fetchAllMessages = _chunk55B57ZAYcjs.Zc; exports.fetchAllPolicies = _chunk55B57ZAYcjs.ad; exports.fetchAllPreferenceTopics = _chunk55B57ZAYcjs.cd; exports.fetchAllPrivacyCenters = _chunk55B57ZAYcjs.dd; exports.fetchAllProcessingActivities = _chunk55B57ZAYcjs.ed; exports.fetchAllProcessingPurposes = _chunk55B57ZAYcjs.fd; exports.fetchAllPromptGroups = _chunk55B57ZAYcjs.Ad; exports.fetchAllPromptPartials = _chunk55B57ZAYcjs.Bd; exports.fetchAllPromptThreads = _chunk55B57ZAYcjs.Ed; exports.fetchAllPrompts = _chunk55B57ZAYcjs.Cd; exports.fetchAllPurposes = _chunk55B57ZAYcjs.gd; exports.fetchAllPurposesAndPreferences = _chunk55B57ZAYcjs.hd; exports.fetchAllRequestAttributeKeys = _chunk55B57ZAYcjs.Lc; exports.fetchAllRequestEnrichers = _chunk55B57ZAYcjs.id; exports.fetchAllRequestIdentifierMetadata = _chunk55B57ZAYcjs.jd; exports.fetchAllRequestIdentifiers = _chunk55B57ZAYcjs.ld; exports.fetchAllRequests = _chunk55B57ZAYcjs.od; exports.fetchAllSiloDiscoveryResults = _chunk55B57ZAYcjs.ge; exports.fetchAllSubDataPoints = _chunk55B57ZAYcjs.Xd; exports.fetchAllTeams = _chunk55B57ZAYcjs.pd; exports.fetchAllTemplates = _chunk55B57ZAYcjs.ce; exports.fetchAllUsers = _chunk55B57ZAYcjs.qd; exports.fetchAllVendors = _chunk55B57ZAYcjs.rd; exports.fetchAndIndexCatalogs = _chunk55B57ZAYcjs.vd; exports.fetchApiKeys = _chunk55B57ZAYcjs.td; exports.fetchConsentManager = _chunk55B57ZAYcjs.Qc; exports.fetchConsentManagerAnalyticsData = _chunk55B57ZAYcjs.Uc; exports.fetchConsentManagerExperiences = _chunk55B57ZAYcjs.Sc; exports.fetchConsentManagerId = _chunk55B57ZAYcjs.Rc; exports.fetchConsentManagerTheme = _chunk55B57ZAYcjs.Vc; exports.fetchEnrichedDataSilos = _chunk55B57ZAYcjs.Zd; exports.fetchIdentifiersAndCreateMissing = _chunk55B57ZAYcjs.wg; exports.fetchPartitions = _chunk55B57ZAYcjs.ee; exports.fetchPrivacyCenterId = _chunk55B57ZAYcjs.$c; exports.fetchPrivacyCenterUrl = _chunk55B57ZAYcjs._c; exports.fetchPromptsWithVariables = _chunk55B57ZAYcjs.Dd; exports.fetchRequestDataSilo = _chunk55B57ZAYcjs.Hd; exports.fetchRequestDataSiloActiveCount = _chunk55B57ZAYcjs.Id; exports.fetchRequestDataSilos = _chunk55B57ZAYcjs.Gd; exports.fetchRequestDataSilosCount = _chunk55B57ZAYcjs.Fd; exports.fetchRequestFilesForRequest = _chunk55B57ZAYcjs.Jd; exports.filterNullishValuesFromObject = oc; exports.filterRows = _chunk55B57ZAYcjs.uc; exports.formatAttributeValues = _chunk55B57ZAYcjs.bd; exports.fuzzyMatchColumns = _chunk55B57ZAYcjs.nc; exports.fuzzySearch = _chunk55B57ZAYcjs.mc; exports.generateCrossAccountApiKeys = _chunkNC6VWOMNcjs.a; exports.getErrorStatus = _chunk55B57ZAYcjs.Xf; exports.getFileMetadataForPrivacyRequests = _chunk55B57ZAYcjs.zf; exports.getGitFilesThatChanged = cc; exports.getUniqueValuesForColumn = _chunk55B57ZAYcjs.tc; exports.initCsvFile = _chunk55B57ZAYcjs.og; exports.inquirerAutoComplete = _chunk55B57ZAYcjs.Vf; exports.inquirerConfirmBoolean = _chunk55B57ZAYcjs.Tf; exports.inquirerConfirmText = _chunk55B57ZAYcjs.Uf; exports.limitRecords = _chunk55B57ZAYcjs.ag; exports.listDirectories = _chunkNC6VWOMNcjs.d; exports.listFiles = _chunkNC6VWOMNcjs.c; exports.loginUser = _chunk55B57ZAYcjs.Kd; exports.makeGraphQLRequest = _chunk55B57ZAYcjs.ug; exports.mapColumnsToAttributes = _chunk55B57ZAYcjs.If; exports.mapColumnsToIdentifiers = _chunk55B57ZAYcjs.Gf; exports.mapCsvColumnsToApi = _chunk55B57ZAYcjs.qf; exports.mapCsvRowsToRequestInputs = _chunk55B57ZAYcjs.vf; exports.mapEnumValues = _chunk55B57ZAYcjs.oc; exports.mapRequestEnumValues = _chunk55B57ZAYcjs.rf; exports.markCronIdentifierCompleted = _chunkQ2RJZGYWcjs.d; exports.markRequestDataSiloIdsCompleted = _chunkQ2RJZGYWcjs.f; exports.markSilentPrivacyRequests = _chunk55B57ZAYcjs.pf; exports.mergeTranscendInputs = _chunkIBTP5OXEcjs.a; exports.name = _chunkXXFLFF7Qcjs.n; exports.normalizeIdentifierValue = _chunk55B57ZAYcjs.uf; exports.notifyPrivacyRequestsAdditionalTime = _chunk55B57ZAYcjs.Ff; exports.parquetToCsvOneFile = _chunk55B57ZAYcjs.eg; exports.parseAssessmentDisplayLogic = _chunk55B57ZAYcjs.Td; exports.parseAssessmentRiskLogic = _chunk55B57ZAYcjs.Vd; exports.parseAttributesFromString = _chunk55B57ZAYcjs.rc; exports.parseFilePath = _chunk55B57ZAYcjs.sg; exports.parseVariablesFromString = _chunk55B57ZAYcjs.Wf; exports.pullAllDatapoints = _chunk7H4ALAHCcjs.a; exports.pullChunkedCustomSiloOutstandingIdentifiers = _chunkQ2RJZGYWcjs.g; exports.pullConsentManagerMetrics = _chunk52MA7ZLScjs.d; exports.pullCronPageOfIdentifiers = _chunkQ2RJZGYWcjs.b; exports.pullManualEnrichmentIdentifiersToCsv = _chunkG522ZIHScjs.a; exports.pullPrivacyRequests = _chunk55B57ZAYcjs.Qf; exports.pullTranscendConfiguration = _chunk55B57ZAYcjs.ie; exports.pullUnstructuredSubDataPointRecommendations = _chunk7H4ALAHCcjs.b; exports.pushCronIdentifiersFromCsv = _chunkQ2RJZGYWcjs.e; exports.pushManualEnrichmentIdentifiersFromCsv = _chunkG522ZIHScjs.d; exports.readCsv = _chunk55B57ZAYcjs.sc; exports.readSafe = _chunk55B57ZAYcjs.cg; exports.readTranscendYaml = _chunkJH5HRI6Dcjs.d; exports.removeLinks = nc; exports.removeUnverifiedRequestIdentifiers = _chunk55B57ZAYcjs.Sf; exports.replaceVariablesInYaml = _chunkJH5HRI6Dcjs.c; exports.reportPromptRun = _chunk55B57ZAYcjs.je; exports.restartPrivacyRequest = _chunk55B57ZAYcjs.Lf; exports.retryRequestDataSilos = _chunk55B57ZAYcjs.Pf; exports.retryRequestEnricher = _chunk55B57ZAYcjs.ke; exports.retrySamePromise = _chunk55B57ZAYcjs.$f; exports.setResourceAttributes = _chunk55B57ZAYcjs.le; exports.skipPreflightJobs = _chunk55B57ZAYcjs.Nf; exports.skipRequestDataSilos = _chunk55B57ZAYcjs.Rf; exports.sleepPromise = _chunk55B57ZAYcjs.Zf; exports.splitCsvToList = _chunk55B57ZAYcjs.pc; exports.splitInHalf = _chunk55B57ZAYcjs._f; exports.startOfHour = _chunk55B57ZAYcjs.kg; exports.startOfUtcDay = _chunk55B57ZAYcjs.jg; exports.streamPrivacyRequestFiles = _chunk55B57ZAYcjs.Af; exports.submitPrivacyRequest = _chunk55B57ZAYcjs.Df; exports.syncAction = _chunk55B57ZAYcjs.me; exports.syncActionItemCollections = _chunk55B57ZAYcjs.pe; exports.syncActionItems = _chunk55B57ZAYcjs.se; exports.syncAgentFiles = _chunk55B57ZAYcjs.ve; exports.syncAgentFunctions = _chunk55B57ZAYcjs.ye; exports.syncAgents = _chunk55B57ZAYcjs.Be; exports.syncAttribute = _chunk55B57ZAYcjs.Ce; exports.syncBusinessEntities = _chunk55B57ZAYcjs.Fe; exports.syncCodePackages = _chunk55B57ZAYcjs.Oe; exports.syncConfigurationToTranscend = _chunk55B57ZAYcjs.xg; exports.syncConsentManager = _chunk55B57ZAYcjs.Qe; exports.syncConsentManagerExperiences = _chunk55B57ZAYcjs.Pe; exports.syncCookies = _chunk55B57ZAYcjs.Se; exports.syncDataCategories = _chunk55B57ZAYcjs.Ve; exports.syncDataFlows = _chunk55B57ZAYcjs.Ye; exports.syncDataSiloDependencies = _chunk55B57ZAYcjs.$d; exports.syncDataSilos = _chunk55B57ZAYcjs._d; exports.syncDataSubject = _chunk55B57ZAYcjs.Ze; exports.syncEnricher = _chunk55B57ZAYcjs.be; exports.syncIdentifier = _chunk55B57ZAYcjs._e; exports.syncIntlMessages = _chunk55B57ZAYcjs.af; exports.syncPartitions = _chunk55B57ZAYcjs.fe; exports.syncPolicies = _chunk55B57ZAYcjs.cf; exports.syncPrivacyCenter = _chunk55B57ZAYcjs.df; exports.syncProcessingActivities = _chunk55B57ZAYcjs.ef; exports.syncProcessingPurposes = _chunk55B57ZAYcjs.hf; exports.syncPrompts = _chunk55B57ZAYcjs.kf; exports.syncRepositories = _chunk55B57ZAYcjs.Le; exports.syncSoftwareDevelopmentKits = _chunk55B57ZAYcjs.Ie; exports.syncTemplate = _chunk55B57ZAYcjs.de; exports.syncVendors = _chunk55B57ZAYcjs.nf; exports.updateActionItem = _chunk55B57ZAYcjs.re; exports.updateActionItemCollection = _chunk55B57ZAYcjs.oe; exports.updateAgentFiles = _chunk55B57ZAYcjs.ue; exports.updateAgentFunctions = _chunk55B57ZAYcjs.xe; exports.updateAgents = _chunk55B57ZAYcjs.Ae; exports.updateBusinessEntities = _chunk55B57ZAYcjs.Ee; exports.updateCodePackages = _chunk55B57ZAYcjs.Ne; exports.updateConsentManagerToLatest = _chunk55B57ZAYcjs.Bc; exports.updateConsentManagerVersionToLatest = _chunk52MA7ZLScjs.a; exports.updateDataCategories = _chunk55B57ZAYcjs.Ue; exports.updateDataFlows = _chunk55B57ZAYcjs.We; exports.updateIntlMessages = _chunk55B57ZAYcjs.$e; exports.updateOrCreateCookies = _chunk55B57ZAYcjs.Re; exports.updatePolicies = _chunk55B57ZAYcjs.bf; exports.updateProcessingPurposes = _chunk55B57ZAYcjs.gf; exports.updatePrompts = _chunk55B57ZAYcjs.jf; exports.updateRepositories = _chunk55B57ZAYcjs.Ke; exports.updateSoftwareDevelopmentKits = _chunk55B57ZAYcjs.He; exports.updateVendors = _chunk55B57ZAYcjs.mf; exports.uploadConsents = _chunkM3Y6JH6Icjs.d; exports.uploadCookiesFromCsv = _chunk52MA7ZLScjs.c; exports.uploadDataFlowsFromCsv = _chunk52MA7ZLScjs.b; exports.uploadPrivacyRequestsFromCsv = _chunk55B57ZAYcjs.Kf; exports.uploadSiloDiscoveryResults = _chunk55B57ZAYcjs.of; exports.validateTranscendAuth = _chunkNC6VWOMNcjs.b; exports.version = _chunkXXFLFF7Qcjs.m; exports.writeCsv = _chunk55B57ZAYcjs.rg; exports.writeCsvSync = _chunk55B57ZAYcjs.ng; exports.writeLargeCsv = _chunk55B57ZAYcjs.tg; exports.writeTranscendYaml = _chunkJH5HRI6Dcjs.e;
5
5
  //# sourceMappingURL=index.cjs.map
package/dist/index.d.cts CHANGED
@@ -156227,7 +156227,7 @@ declare function removeUnverifiedRequestIdentifiers({ requestActions, identifier
156227
156227
  }): Promise<number>;
156228
156228
 
156229
156229
  var description = "A command line interface for programmatic operations across Transcend.";
156230
- var version = "8.31.0";
156230
+ var version = "8.31.1";
156231
156231
 
156232
156232
  /**
156233
156233
  * The name of the main binary for the CLI
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "author": "Transcend Inc.",
3
3
  "name": "@transcend-io/cli",
4
4
  "description": "A command line interface for programmatic operations across Transcend.",
5
- "version": "8.31.0",
5
+ "version": "8.31.1",
6
6
  "homepage": "https://github.com/transcend-io/cli",
7
7
  "repository": {
8
8
  "type": "git",
@@ -1 +0,0 @@
1
- {"version":3,"sources":["/home/runner/work/cli/cli/dist/chunk-WAWECZTF.cjs","../src/lib/code-scanning/integrations/cocoaPods.ts","../src/lib/code-scanning/integrations/gradle.ts","../src/lib/code-scanning/integrations/pubspec.ts","../src/lib/code-scanning/integrations/swift.ts"],"names":["POD_TARGET_REGEX","POD_PACKAGE_REGEX","cocoaPods","filePath","fileContents","readFileSync","targets","findAllWithRegex","packages","target","ind","CodePackageType","pkg","GRADLE_IMPLEMENTATION_REGEX","GRADLE_PLUGIN_REGEX","GRADLE_IMPLEMENTATION_GROUP_REGEX","GRADLE_APPLICATION_NAME_REGEX","gradle","directory","dirname","targetPlugins","targetGroups","applications"],"mappings":"AAAA,u/BAAwC,wDAAyC,wBCApD,qDAGI,2DACD,IAE1BA,CAAAA,CAAmB,wBAAA,CACnBC,CAAAA,CAAoB,4CAAA,CAEbC,CAAAA,CAAgC,CAC3C,cAAA,CAAgB,CAAC,SAAS,CAAA,CAC1B,UAAA,CAAY,CAAC,MAAM,CAAA,CACnB,YAAA,CAAeC,CAAAA,EAAa,CAC1B,IAAMC,CAAAA,CAAeC,8BAAAA,CAAaF,CAAU,OAAO,CAAA,CAE7CG,CAAAA,CAAUC,yCAAAA,CAEZ,KAAA,CAAO,IAAI,MAAA,CAAOP,CAAAA,CAAkB,GAAG,CAAA,CACvC,OAAA,CAAS,CAAC,QAAA,CAAU,MAAA,CAAQ,QAAQ,CACtC,CAAA,CACAI,CACF,CAAA,CACMI,CAAAA,CAAWD,yCAAAA,CAEb,KAAA,CAAO,IAAI,MAAA,CAAON,CAAAA,CAAmB,GAAG,CAAA,CACxC,OAAA,CAAS,CACP,QAAA,CACA,MAAA,CACA,QAAA,CACA,OAAA,CACA,QAAA,CACA,SAAA,CACA,QACF,CACF,CAAA,CACAG,CACF,CAAA,CAiBA,OAf+BE,CAAAA,CAAQ,GAAA,CAAI,CAACG,CAAAA,CAAQC,CAAAA,CAAAA,EAAAA,CAAS,CAC3D,IAAA,CAAMD,CAAAA,CAAO,IAAA,CACb,IAAA,CAAME,6BAAAA,CAAgB,SAAA,CACtB,uBAAA,CAAyBH,CAAAA,CACtB,MAAA,CACEI,CAAAA,EACCA,CAAAA,CAAI,UAAA,CAAaH,CAAAA,CAAO,UAAA,EAAA,CACvB,CAACH,CAAAA,CAAQI,CAAAA,CAAM,CAAC,CAAA,EAAKE,CAAAA,CAAI,UAAA,CAAaN,CAAAA,CAAQI,CAAAA,CAAM,CAAC,CAAA,CAAE,UAAA,CAC5D,CAAA,CACC,GAAA,CAAKE,CAAAA,EAAAA,CAAS,CACb,IAAA,CAAMA,CAAAA,CAAI,IAAA,CACV,OAAA,CAASA,CAAAA,CAAI,OACf,CAAA,CAAE,CACN,CAAA,CAAE,CAGJ,CACF,CAAA,CCvDA,4BAGwB,IAElBC,CAAAA,CACJ,gDAAA,CACIC,CAAAA,CAAsB,yCAAA,CACtBC,CAAAA,CACJ,uGAAA,CACIC,CAAAA,CAAgC,0BAAA,CAYzBC,CAAAA,CAA6B,CACxC,cAAA,CAAgB,CAAC,gBAAgB,CAAA,CACjC,UAAA,CAAY,CACV,oBAAA,CACA,oBAAA,CACA,2BACF,CAAA,CACA,YAAA,CAAed,CAAAA,EAAa,CAC1B,IAAMC,CAAAA,CAAeC,8BAAAA,CAAaF,CAAU,OAAO,CAAA,CAC7Ce,CAAAA,CAAYC,2BAAAA,CAAgB,CAAA,CAE5Bb,CAAAA,CAAUC,yCAAAA,CAEZ,KAAA,CAAO,IAAI,MAAA,CAAOM,CAAAA,CAA6B,GAAG,CAAA,CAClD,OAAA,CAAS,CAAC,OAAA,CAAS,QAAA,CAAU,MAAA,CAAQ,MAAA,CAAQ,SAAA,CAAW,QAAQ,CAClE,CAAA,CACAT,CACF,CAAA,CACMgB,CAAAA,CAAgBb,yCAAAA,CAElB,KAAA,CAAO,IAAI,MAAA,CAAOO,CAAAA,CAAqB,GAAG,CAAA,CAC1C,OAAA,CAAS,CAAC,QAAA,CAAU,MAAA,CAAQ,OAAA,CAAS,SAAA,CAAW,QAAQ,CAC1D,CAAA,CACAV,CACF,CAAA,CACMiB,CAAAA,CAAed,yCAAAA,CAEjB,KAAA,CAAO,IAAI,MAAA,CAAOQ,CAAAA,CAAmC,GAAG,CAAA,CACxD,OAAA,CAAS,CACP,QAAA,CACA,QAAA,CACA,OAAA,CACA,QAAA,CACA,QAAA,CACA,QAAA,CACA,QAAA,CACA,MAAA,CACA,QAAA,CACA,QAAA,CACA,QAAA,CACA,QAAA,CACA,SAAA,CACA,QACF,CACF,CAAA,CACAX,CACF,CAAA,CACMkB,CAAAA,CAAef,yCAAAA,CAEjB,KAAA,CAAO,IAAI,MAAA,CAAOS,CAAAA,CAA+B,GAAG,CAAA,CACpD,OAAA,CAAS,CAAC,OAAA,CAAS,MAAM,CAC3B,CAAA,CACAZ,CACF,CAAA,CACA,EAAA,CAAIkB,CAAAA,CAAa,MAAA,CAAS,CAAA,CACxB,MAAM,IAAI,KAAA,CAAM,CAAA,0CAAA,EAA6CnB,CAAQ,CAAA,CAAA;AC/CjE;ACkBR","file":"/home/runner/work/cli/cli/dist/chunk-WAWECZTF.cjs","sourcesContent":[null,"import { readFileSync } from 'node:fs';\nimport { CodeScanningConfig } from '../types';\nimport { CodePackageSdk } from '../../../codecs';\nimport { findAllWithRegex } from '@transcend-io/type-utils';\nimport { CodePackageType } from '@transcend-io/privacy-types';\n\nconst POD_TARGET_REGEX = /target ('|\")(.*?)('|\")/;\nconst POD_PACKAGE_REGEX = /pod ('|\")(.*?)('|\")(, ('|\")~> (.+?)('|\")|)/;\n\nexport const cocoaPods: CodeScanningConfig = {\n supportedFiles: ['Podfile'],\n ignoreDirs: ['Pods'],\n scanFunction: (filePath) => {\n const fileContents = readFileSync(filePath, 'utf-8');\n\n const targets = findAllWithRegex(\n {\n value: new RegExp(POD_TARGET_REGEX, 'g'),\n matches: ['quote1', 'name', 'quote2'],\n },\n fileContents,\n );\n const packages = findAllWithRegex(\n {\n value: new RegExp(POD_PACKAGE_REGEX, 'g'),\n matches: [\n 'quote1',\n 'name',\n 'quote2',\n 'extra',\n 'quote3',\n 'version',\n 'quote4',\n ],\n },\n fileContents,\n );\n\n const deps: CodePackageSdk[] = targets.map((target, ind) => ({\n name: target.name,\n type: CodePackageType.CocoaPods,\n softwareDevelopmentKits: packages\n .filter(\n (pkg) =>\n pkg.matchIndex > target.matchIndex &&\n (!targets[ind + 1] || pkg.matchIndex < targets[ind + 1].matchIndex),\n )\n .map((pkg) => ({\n name: pkg.name,\n version: pkg.version,\n })),\n }));\n\n return deps;\n },\n};\n","import { readFileSync } from 'node:fs';\nimport { CodeScanningConfig } from '../types';\nimport { findAllWithRegex } from '@transcend-io/type-utils';\nimport { dirname } from 'node:path';\n\nconst GRADLE_IMPLEMENTATION_REGEX =\n /implementation( *)('|\")(.+?):(.+?):(.+?|)('|\")/;\nconst GRADLE_PLUGIN_REGEX = /apply plugin: *('|\")(.+?)(:(.+?)|)('|\")/;\nconst GRADLE_IMPLEMENTATION_GROUP_REGEX =\n /implementation group:( *)('|\")(.+?)('|\"),( *)name:( *)('|\")(.+?)('|\"),( *)version:( *)('|\")(.+?)('|\")/;\nconst GRADLE_APPLICATION_NAME_REGEX = /applicationId( *)\"(.+?)\"/;\n\n/**\n * So far, there are three ways of defining dependencies that is supported\n * implementation group: 'org.eclipse.jdt', name: 'org.eclipse.jdt.core', version: '3.28.0'\n * or\n * implementation 'com.google.firebase:firebase-analytics:18.0.0'\n * or\n * apply plugin: 'com.google.gms.google-services'\n *\n * single and double quotes are both recognized\n */\nexport const gradle: CodeScanningConfig = {\n supportedFiles: ['build.gradle**'],\n ignoreDirs: [\n 'gradle-app.setting',\n 'gradle-wrapper.jar',\n 'gradle-wrapper.properties',\n ],\n scanFunction: (filePath) => {\n const fileContents = readFileSync(filePath, 'utf-8');\n const directory = dirname(filePath);\n\n const targets = findAllWithRegex(\n {\n value: new RegExp(GRADLE_IMPLEMENTATION_REGEX, 'g'),\n matches: ['space', 'quote1', 'name', 'path', 'version', 'quote2'],\n },\n fileContents,\n );\n const targetPlugins = findAllWithRegex(\n {\n value: new RegExp(GRADLE_PLUGIN_REGEX, 'g'),\n matches: ['quote1', 'name', 'group', 'version', 'quote2'],\n },\n fileContents,\n );\n const targetGroups = findAllWithRegex(\n {\n value: new RegExp(GRADLE_IMPLEMENTATION_GROUP_REGEX, 'g'),\n matches: [\n 'space1',\n 'quote1',\n 'group',\n 'quote2',\n 'space2',\n 'space3',\n 'quote3',\n 'name',\n 'quote4',\n 'space4',\n 'space5',\n 'quote5',\n 'version',\n 'quote6',\n ],\n },\n fileContents,\n );\n const applications = findAllWithRegex(\n {\n value: new RegExp(GRADLE_APPLICATION_NAME_REGEX, 'g'),\n matches: ['space', 'name'],\n },\n fileContents,\n );\n if (applications.length > 1) {\n throw new Error(`Expected only one applicationId per file: ${filePath}`);\n }\n\n return [\n {\n name: applications[0]?.name || directory.split('/').pop()!,\n softwareDevelopmentKits: [\n ...targets,\n ...targetGroups,\n ...targetPlugins,\n ].map((target) => ({\n name: target.name,\n version: target.version || undefined,\n })),\n },\n ];\n },\n};\n","import { readFileSync } from 'node:fs';\nimport { CodeScanningConfig } from '../types';\nimport { CodePackageType } from '@transcend-io/privacy-types';\nimport yaml from 'js-yaml';\nimport { dirname } from 'node:path';\n\n/**\n * Remove YAML comments from a string\n *\n * @param yamlString - YAML string\n * @returns String without comments\n */\nfunction removeYAMLComments(yamlString: string): string {\n return yamlString\n .split('\\n')\n .map((line) => {\n // Remove inline comments\n const commentIndex = line.indexOf('#');\n if (commentIndex > -1) {\n // Check if '#' is not inside a string\n if (\n !line.substring(0, commentIndex).includes('\"') &&\n !line.substring(0, commentIndex).includes(\"'\")\n ) {\n return line.substring(0, commentIndex).trim();\n }\n }\n return line;\n })\n .filter((line) => line.length > 0)\n .join('\\n');\n}\n\nexport const pubspec: CodeScanningConfig = {\n supportedFiles: ['pubspec.yml'],\n ignoreDirs: ['build'],\n scanFunction: (filePath) => {\n const directory = dirname(filePath);\n const fileContents = readFileSync(filePath, 'utf-8');\n const {\n name,\n description,\n dev_dependencies = {},\n dependencies = {},\n } = yaml.load(removeYAMLComments(fileContents)) as {\n /** Name */\n name?: string;\n /** Description */\n description?: string;\n /** Dev dependencies */\n dev_dependencies?: { [k in string]: number | Record<string, string> };\n /** Dependencies */\n dependencies?: { [k in string]: number | Record<string, string> };\n };\n return [\n {\n name: name || directory.split('/').pop()!,\n description,\n type: CodePackageType.RequirementsTxt,\n softwareDevelopmentKits: [\n ...Object.entries(dependencies).map(([name, version]) => ({\n name,\n version:\n typeof version === 'string'\n ? version\n : typeof version === 'number'\n ? version.toString()\n : version?.sdk,\n })),\n ...Object.entries(dev_dependencies).map(([name, version]) => ({\n name,\n version:\n typeof version === 'string'\n ? version\n : typeof version === 'number'\n ? version.toString()\n : version?.sdk,\n isDevDependency: true,\n })),\n ],\n },\n ];\n },\n};\n","import { readFileSync } from 'node:fs';\nimport { CodeScanningConfig } from '../types';\nimport { CodePackageType } from '@transcend-io/privacy-types';\nimport { decodeCodec } from '@transcend-io/type-utils';\nimport * as t from 'io-ts';\nimport { dirname } from 'node:path';\n\nconst SwiftPackage = t.type({\n pins: t.array(\n t.type({\n identity: t.string,\n kind: t.string,\n location: t.string,\n state: t.intersection([\n t.type({\n revision: t.string,\n }),\n t.partial({\n version: t.union([t.string, t.undefined, t.null]),\n }),\n ]),\n }),\n ),\n version: t.number,\n});\n\nconst SwiftPackageV1 = t.type({\n object: t.type({\n pins: t.array(\n t.type({\n package: t.string,\n repositoryURL: t.string,\n state: t.intersection([\n t.type({\n branch: t.union([t.string, t.undefined, t.null]),\n revision: t.string,\n }),\n t.partial({\n version: t.union([t.string, t.undefined, t.null]),\n }),\n ]),\n }),\n ),\n }),\n version: t.number,\n});\n\nexport const swift: CodeScanningConfig = {\n supportedFiles: ['Package.resolved'],\n ignoreDirs: [],\n scanFunction: (filePath) => {\n const fileContents = readFileSync(filePath, 'utf-8');\n\n // Attempt latest version first\n try {\n const parsed = decodeCodec(SwiftPackage, fileContents);\n\n return [\n {\n name: dirname(filePath).split('/').pop() || '', // TODO pull from Package.swift ->> name if possible\n type: CodePackageType.Swift,\n softwareDevelopmentKits: parsed.pins.map((target) => ({\n name: target.identity,\n version: target.state.version || undefined,\n })),\n },\n ];\n } catch (e) {\n // Throw non codec errors\n if (!e?.message?.includes('Failed to decode codec')) {\n throw e;\n }\n\n // Attempt v1\n try {\n const parsed = decodeCodec(SwiftPackageV1, fileContents);\n return [\n {\n name: dirname(filePath).split('/').pop() || '', // TODO pull from Package.swift ->> name if possible\n type: CodePackageType.Swift,\n softwareDevelopmentKits: parsed.object.pins.map((target) => ({\n name: target.package,\n version: target.state.version || undefined,\n })),\n },\n ];\n } catch (e2) {\n if (!e2?.message?.includes('Failed to decode codec')) {\n throw e2;\n }\n throw e;\n }\n }\n },\n};\n"]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkJ7BM4Z6Ucjs = require('./chunk-J7BM4Z6U.cjs');var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');require('./chunk-VWGA62SG.cjs');require('./chunk-TSJTXXLZ.cjs');require('./chunk-ZUNVPK23.cjs');require('./chunk-FZTNEEMW.cjs');require('./chunk-7PB6LVSE.cjs');async function u({auth:r,transcendUrl:i,file:e,enricherId:o,concurrency:s,markSilent:a,sombraAuth:m}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit),await _chunkJ7BM4Z6Ucjs.d.call(void 0, {file:e,transcendUrl:i,enricherId:o,concurrency:s,markSilent:a,auth:r,sombraAuth:m})}exports.pushIdentifiers = u;
2
- //# sourceMappingURL=impl-C52MFDKN.cjs.map
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk5SEDJJAHcjs = require('./chunk-5SEDJJAH.cjs');require('./chunk-HUZESENZ.cjs');require('./chunk-ABKDAPPR.cjs');var _chunkWKCTKYN4cjs = require('./chunk-WKCTKYN4.cjs');require('./chunk-VWGA62SG.cjs');require('./chunk-TSJTXXLZ.cjs');require('./chunk-ZUNVPK23.cjs');require('./chunk-FZTNEEMW.cjs');require('./chunk-7PB6LVSE.cjs');async function m({auth:r,trackerStatus:s,file:a,transcendUrl:e}){_chunkWKCTKYN4cjs.a.call(void 0, this.process.exit),await _chunk5SEDJJAHcjs.c.call(void 0, {auth:r,trackerStatus:s,file:a,transcendUrl:e})}exports.uploadCookiesFromCsv = m;
2
- //# sourceMappingURL=impl-VWVHHW42.cjs.map