@transcend-io/cli 10.25.5 → 10.26.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 (222) hide show
  1. package/README.md +266 -3
  2. package/dist/{app-DYoi_kYl.mjs → app-B9liG9mC.mjs} +38 -21
  3. package/dist/app-B9liG9mC.mjs.map +1 -0
  4. package/dist/{approvePrivacyRequests-D4ZfEesR.mjs → approvePrivacyRequests-Ccc_3C8v.mjs} +2 -2
  5. package/dist/{approvePrivacyRequests-D4ZfEesR.mjs.map → approvePrivacyRequests-Ccc_3C8v.mjs.map} +1 -1
  6. package/dist/bin/bash-complete.mjs +1 -1
  7. package/dist/bin/cli.mjs +1 -1
  8. package/dist/bin/deprecated-command.mjs +1 -1
  9. package/dist/{buildExamples-Cr6HGX4h.mjs → buildExamples-Bd0uvJye.mjs} +2 -2
  10. package/dist/{buildExamples-Cr6HGX4h.mjs.map → buildExamples-Bd0uvJye.mjs.map} +1 -1
  11. package/dist/{buildXdiSyncEndpoint-CXAYh3vF.mjs → buildXdiSyncEndpoint-Cfsq16IY.mjs} +2 -2
  12. package/dist/{buildXdiSyncEndpoint-CXAYh3vF.mjs.map → buildXdiSyncEndpoint-Cfsq16IY.mjs.map} +1 -1
  13. package/dist/{bulkRestartRequests-CSBPINdi.mjs → bulkRestartRequests-CddZT7XC.mjs} +2 -2
  14. package/dist/{bulkRestartRequests-CSBPINdi.mjs.map → bulkRestartRequests-CddZT7XC.mjs.map} +1 -1
  15. package/dist/{bulkRetryEnrichers-BPWSWNuC.mjs → bulkRetryEnrichers-BYheZwIr.mjs} +2 -2
  16. package/dist/{bulkRetryEnrichers-BPWSWNuC.mjs.map → bulkRetryEnrichers-BYheZwIr.mjs.map} +1 -1
  17. package/dist/{cancelPrivacyRequests-CyT7z4fs.mjs → cancelPrivacyRequests-edkg0NB0.mjs} +2 -2
  18. package/dist/{cancelPrivacyRequests-CyT7z4fs.mjs.map → cancelPrivacyRequests-edkg0NB0.mjs.map} +1 -1
  19. package/dist/codecs-DJFlZLGT.mjs +2 -0
  20. package/dist/codecs-DJFlZLGT.mjs.map +1 -0
  21. package/dist/{collectCsvFilesOrExit-C8-Pr9Hr.mjs → collectCsvFilesOrExit-BPo8Mjy7.mjs} +1 -1
  22. package/dist/{collectCsvFilesOrExit-C8-Pr9Hr.mjs.map → collectCsvFilesOrExit-BPo8Mjy7.mjs.map} +1 -1
  23. package/dist/{collectParquetFilesOrExit-DyZISY9X.mjs → collectParquetFilesOrExit-DVS9_OSv.mjs} +1 -1
  24. package/dist/{collectParquetFilesOrExit-DyZISY9X.mjs.map → collectParquetFilesOrExit-DVS9_OSv.mjs.map} +1 -1
  25. package/dist/{command-Cqlyn4cR.mjs → command-B52YWqdY.mjs} +2 -2
  26. package/dist/{command-Cqlyn4cR.mjs.map → command-B52YWqdY.mjs.map} +1 -1
  27. package/dist/commands/admin/parquet-to-csv/worker.mjs +1 -1
  28. package/dist/{consentManagersToBusinessEntities-DGzryQ3W.mjs → consentManagersToBusinessEntities-rf8_xu71.mjs} +1 -1
  29. package/dist/{consentManagersToBusinessEntities-DGzryQ3W.mjs.map → consentManagersToBusinessEntities-rf8_xu71.mjs.map} +1 -1
  30. package/dist/{constants-DNF09zFX.mjs → constants-BgCEW975.mjs} +2 -2
  31. package/dist/{constants-DNF09zFX.mjs.map → constants-BgCEW975.mjs.map} +1 -1
  32. package/dist/{constants-Ch1Lt8Wa.mjs → constants-CXN-RdUM.mjs} +2 -2
  33. package/dist/{constants-Ch1Lt8Wa.mjs.map → constants-CXN-RdUM.mjs.map} +1 -1
  34. package/dist/{createExtraKeyHandler-BbM9bElu.mjs → createExtraKeyHandler-MXCneIvy.mjs} +2 -2
  35. package/dist/{createExtraKeyHandler-BbM9bElu.mjs.map → createExtraKeyHandler-MXCneIvy.mjs.map} +1 -1
  36. package/dist/{dataFlowsToDataSilos-DRGrUosf.mjs → dataFlowsToDataSilos-DRuAfwIn.mjs} +1 -1
  37. package/dist/{dataFlowsToDataSilos-DRGrUosf.mjs.map → dataFlowsToDataSilos-DRuAfwIn.mjs.map} +1 -1
  38. package/dist/{done-input-validation-uqIgnJcw.mjs → done-input-validation-DL31vk7g.mjs} +1 -1
  39. package/dist/{done-input-validation-uqIgnJcw.mjs.map → done-input-validation-DL31vk7g.mjs.map} +1 -1
  40. package/dist/{downloadPrivacyRequestFiles-CaOdAuGW.mjs → downloadPrivacyRequestFiles-BQiPh0al.mjs} +2 -2
  41. package/dist/{downloadPrivacyRequestFiles-CaOdAuGW.mjs.map → downloadPrivacyRequestFiles-BQiPh0al.mjs.map} +1 -1
  42. package/dist/{generateCrossAccountApiKeys-JCZ444Xx.mjs → generateCrossAccountApiKeys-BddQwvq5.mjs} +2 -2
  43. package/dist/{generateCrossAccountApiKeys-JCZ444Xx.mjs.map → generateCrossAccountApiKeys-BddQwvq5.mjs.map} +1 -1
  44. package/dist/{impl-m1WDTmQO.mjs → impl-7JlYzUYe.mjs} +2 -2
  45. package/dist/{impl-m1WDTmQO.mjs.map → impl-7JlYzUYe.mjs.map} +1 -1
  46. package/dist/{impl-Ce4Ua3nx.mjs → impl-7pxeoDZg.mjs} +2 -2
  47. package/dist/{impl-Ce4Ua3nx.mjs.map → impl-7pxeoDZg.mjs.map} +1 -1
  48. package/dist/{impl-BXjWAiAl2.mjs → impl-ATN49LhV2.mjs} +2 -2
  49. package/dist/{impl-BXjWAiAl2.mjs.map → impl-ATN49LhV2.mjs.map} +1 -1
  50. package/dist/{impl-DUxqEjMF.mjs → impl-B1IGYR_V.mjs} +2 -2
  51. package/dist/{impl-DUxqEjMF.mjs.map → impl-B1IGYR_V.mjs.map} +1 -1
  52. package/dist/{impl-DdjTOXMv.mjs → impl-B2eZGemA.mjs} +2 -2
  53. package/dist/{impl-DdjTOXMv.mjs.map → impl-B2eZGemA.mjs.map} +1 -1
  54. package/dist/{impl-DgyNLnJo2.mjs → impl-BDZNvvup2.mjs} +2 -2
  55. package/dist/{impl-DgyNLnJo2.mjs.map → impl-BDZNvvup2.mjs.map} +1 -1
  56. package/dist/{impl-C9Br_VrZ.mjs → impl-BQ6CEC4S.mjs} +2 -2
  57. package/dist/{impl-C9Br_VrZ.mjs.map → impl-BQ6CEC4S.mjs.map} +1 -1
  58. package/dist/{impl-iGEtfSgW2.mjs → impl-BU4p0r4b2.mjs} +2 -2
  59. package/dist/{impl-iGEtfSgW2.mjs.map → impl-BU4p0r4b2.mjs.map} +1 -1
  60. package/dist/{impl-CRH0V2nJ.mjs → impl-Ba84jyic.mjs} +2 -2
  61. package/dist/{impl-CRH0V2nJ.mjs.map → impl-Ba84jyic.mjs.map} +1 -1
  62. package/dist/impl-Bdjx2QKs.mjs +2 -0
  63. package/dist/{impl-Bk6lPywf.mjs.map → impl-Bdjx2QKs.mjs.map} +1 -1
  64. package/dist/{impl-DUS_D3PU2.mjs → impl-BfHyYFlO2.mjs} +2 -2
  65. package/dist/{impl-DUS_D3PU2.mjs.map → impl-BfHyYFlO2.mjs.map} +1 -1
  66. package/dist/{impl-C7Xp0Txd.mjs → impl-BmQR1Pae.mjs} +2 -2
  67. package/dist/{impl-C7Xp0Txd.mjs.map → impl-BmQR1Pae.mjs.map} +1 -1
  68. package/dist/{impl-BX76WSDL.mjs → impl-BnzPrDmM.mjs} +2 -2
  69. package/dist/{impl-BX76WSDL.mjs.map → impl-BnzPrDmM.mjs.map} +1 -1
  70. package/dist/{impl-Dp8o3Xpr.mjs → impl-BohgbWOH.mjs} +2 -2
  71. package/dist/{impl-Dp8o3Xpr.mjs.map → impl-BohgbWOH.mjs.map} +1 -1
  72. package/dist/{impl-BvLjryD7.mjs → impl-Bur_bNXN.mjs} +2 -2
  73. package/dist/{impl-BvLjryD7.mjs.map → impl-Bur_bNXN.mjs.map} +1 -1
  74. package/dist/{impl-NUMkBg7d.mjs → impl-BwuWn3TM.mjs} +2 -2
  75. package/dist/{impl-NUMkBg7d.mjs.map → impl-BwuWn3TM.mjs.map} +1 -1
  76. package/dist/{impl-B0AKcSoy.mjs → impl-BxQE7dL92.mjs} +2 -2
  77. package/dist/impl-BxQE7dL92.mjs.map +1 -0
  78. package/dist/{impl-BMaeLKTr.mjs → impl-C-Cn5Ngw.mjs} +2 -2
  79. package/dist/{impl-BMaeLKTr.mjs.map → impl-C-Cn5Ngw.mjs.map} +1 -1
  80. package/dist/{impl-CBIcjbfD.mjs → impl-C-KfgFsR.mjs} +2 -2
  81. package/dist/{impl-CBIcjbfD.mjs.map → impl-C-KfgFsR.mjs.map} +1 -1
  82. package/dist/{impl-BF9Ekyjn.mjs → impl-C3f_H_77.mjs} +2 -2
  83. package/dist/{impl-BF9Ekyjn.mjs.map → impl-C3f_H_77.mjs.map} +1 -1
  84. package/dist/{impl-Bbd2DHE82.mjs → impl-CAIi2Iei2.mjs} +2 -2
  85. package/dist/{impl-Bbd2DHE82.mjs.map → impl-CAIi2Iei2.mjs.map} +1 -1
  86. package/dist/{impl-iBottQJe.mjs → impl-CC--p8hz.mjs} +2 -2
  87. package/dist/{impl-iBottQJe.mjs.map → impl-CC--p8hz.mjs.map} +1 -1
  88. package/dist/{impl-CMqjJCoY2.mjs → impl-CEuchKDD2.mjs} +2 -2
  89. package/dist/{impl-CMqjJCoY2.mjs.map → impl-CEuchKDD2.mjs.map} +1 -1
  90. package/dist/{impl-Dv2AsuuH2.mjs → impl-CLHN4nhK2.mjs} +2 -2
  91. package/dist/{impl-Dv2AsuuH2.mjs.map → impl-CLHN4nhK2.mjs.map} +1 -1
  92. package/dist/{impl-BLCkTzS02.mjs → impl-CLNmmYJ_2.mjs} +2 -2
  93. package/dist/{impl-BLCkTzS02.mjs.map → impl-CLNmmYJ_2.mjs.map} +1 -1
  94. package/dist/{impl-CCMVpNez.mjs → impl-CLz1VLFS.mjs} +2 -2
  95. package/dist/{impl-CCMVpNez.mjs.map → impl-CLz1VLFS.mjs.map} +1 -1
  96. package/dist/{impl-C5QTz-js2.mjs → impl-CMeeJCDH2.mjs} +2 -2
  97. package/dist/{impl-C5QTz-js2.mjs.map → impl-CMeeJCDH2.mjs.map} +1 -1
  98. package/dist/impl-CWNUfcdj2.mjs +2 -0
  99. package/dist/{impl-o0RdOoiZ2.mjs.map → impl-CWNUfcdj2.mjs.map} +1 -1
  100. package/dist/{impl-BCEw1fsj.mjs → impl-CZG9gzzR.mjs} +2 -2
  101. package/dist/{impl-BCEw1fsj.mjs.map → impl-CZG9gzzR.mjs.map} +1 -1
  102. package/dist/{impl-5db-Jqms.mjs → impl-CZLYI9Eh.mjs} +2 -2
  103. package/dist/{impl-5db-Jqms.mjs.map → impl-CZLYI9Eh.mjs.map} +1 -1
  104. package/dist/{impl-CZWMK-kA2.mjs → impl-C_tLoG0h2.mjs} +2 -2
  105. package/dist/{impl-CZWMK-kA2.mjs.map → impl-C_tLoG0h2.mjs.map} +1 -1
  106. package/dist/{impl-CiaTPxwK.mjs → impl-Ca064LmU.mjs} +2 -2
  107. package/dist/{impl-CiaTPxwK.mjs.map → impl-Ca064LmU.mjs.map} +1 -1
  108. package/dist/{impl-D2WYmqZ0.mjs → impl-CeKxAc_j.mjs} +2 -2
  109. package/dist/{impl-D2WYmqZ0.mjs.map → impl-CeKxAc_j.mjs.map} +1 -1
  110. package/dist/{impl-D-0Z4tn72.mjs → impl-CgepDtLJ2.mjs} +2 -2
  111. package/dist/{impl-D-0Z4tn72.mjs.map → impl-CgepDtLJ2.mjs.map} +1 -1
  112. package/dist/{impl-B_4_7a-i.mjs → impl-Chska4J8.mjs} +2 -2
  113. package/dist/{impl-B_4_7a-i.mjs.map → impl-Chska4J8.mjs.map} +1 -1
  114. package/dist/{impl-DjOWgFlT.mjs → impl-Cj5NeBI22.mjs} +2 -2
  115. package/dist/impl-Cj5NeBI22.mjs.map +1 -0
  116. package/dist/{impl-Bgg6AZQS.mjs → impl-CkoQHhc8.mjs} +2 -2
  117. package/dist/{impl-Bgg6AZQS.mjs.map → impl-CkoQHhc8.mjs.map} +1 -1
  118. package/dist/impl-Cl3hf0Pd.mjs +2 -0
  119. package/dist/impl-Cl3hf0Pd.mjs.map +1 -0
  120. package/dist/{impl-rTqHhQ7X2.mjs → impl-CmlkjIP72.mjs} +2 -2
  121. package/dist/{impl-rTqHhQ7X2.mjs.map → impl-CmlkjIP72.mjs.map} +1 -1
  122. package/dist/{impl-D6rMK5Us.mjs → impl-CnrK11Gr2.mjs} +2 -2
  123. package/dist/impl-CnrK11Gr2.mjs.map +1 -0
  124. package/dist/{impl-Zjvt9J28.mjs → impl-D0-ioxpZ.mjs} +2 -2
  125. package/dist/{impl-Zjvt9J28.mjs.map → impl-D0-ioxpZ.mjs.map} +1 -1
  126. package/dist/{impl-BZbjA9x3.mjs → impl-D0fkfLxw.mjs} +2 -2
  127. package/dist/{impl-BZbjA9x3.mjs.map → impl-D0fkfLxw.mjs.map} +1 -1
  128. package/dist/{impl-X50_5E1x.mjs → impl-D1Jj-4Zn.mjs} +2 -2
  129. package/dist/{impl-X50_5E1x.mjs.map → impl-D1Jj-4Zn.mjs.map} +1 -1
  130. package/dist/{impl-2M02W7-p2.mjs → impl-D3ytHcs42.mjs} +2 -2
  131. package/dist/{impl-2M02W7-p2.mjs.map → impl-D3ytHcs42.mjs.map} +1 -1
  132. package/dist/impl-DBK5c6d0.mjs +2 -0
  133. package/dist/impl-DBK5c6d0.mjs.map +1 -0
  134. package/dist/{impl-DGQW5mVR.mjs → impl-DLWhxaMi.mjs} +2 -2
  135. package/dist/{impl-DGQW5mVR.mjs.map → impl-DLWhxaMi.mjs.map} +1 -1
  136. package/dist/{impl-BgkjL6_C.mjs → impl-DVUNwxIx.mjs} +2 -2
  137. package/dist/{impl-BgkjL6_C.mjs.map → impl-DVUNwxIx.mjs.map} +1 -1
  138. package/dist/impl-DZy7vEEM.mjs +2 -0
  139. package/dist/{impl-CxjrhJ-X.mjs.map → impl-DZy7vEEM.mjs.map} +1 -1
  140. package/dist/{impl-fiK_rZ7c.mjs → impl-DmODS2cY.mjs} +2 -2
  141. package/dist/{impl-fiK_rZ7c.mjs.map → impl-DmODS2cY.mjs.map} +1 -1
  142. package/dist/{impl-D-JYZ74k.mjs → impl-DvSnW_IA.mjs} +2 -2
  143. package/dist/{impl-D-JYZ74k.mjs.map → impl-DvSnW_IA.mjs.map} +1 -1
  144. package/dist/{impl-Be2M3iuo.mjs → impl-DxVB8-h3.mjs} +2 -2
  145. package/dist/{impl-Be2M3iuo.mjs.map → impl-DxVB8-h3.mjs.map} +1 -1
  146. package/dist/impl-FrbAsKvf2.mjs +2 -0
  147. package/dist/{impl-tNN3yVw72.mjs.map → impl-FrbAsKvf2.mjs.map} +1 -1
  148. package/dist/{impl-xNSHqJyt2.mjs → impl-GDBOa4jq2.mjs} +2 -2
  149. package/dist/{impl-xNSHqJyt2.mjs.map → impl-GDBOa4jq2.mjs.map} +1 -1
  150. package/dist/{impl-D3qD4wsS.mjs → impl-xIb20rTt.mjs} +2 -2
  151. package/dist/{impl-D3qD4wsS.mjs.map → impl-xIb20rTt.mjs.map} +1 -1
  152. package/dist/{impl-CPN-_vdL2.mjs → impl-yLtpv9IB2.mjs} +2 -2
  153. package/dist/{impl-CPN-_vdL2.mjs.map → impl-yLtpv9IB2.mjs.map} +1 -1
  154. package/dist/index.d.mts +133 -3
  155. package/dist/index.d.mts.map +1 -1
  156. package/dist/index.mjs +3 -3
  157. package/dist/index.mjs.map +1 -1
  158. package/dist/{listFiles-BPx3iDV6.mjs → listFiles-C5kubvdN.mjs} +1 -1
  159. package/dist/{listFiles-BPx3iDV6.mjs.map → listFiles-C5kubvdN.mjs.map} +1 -1
  160. package/dist/{markRequestDataSiloIdsCompleted-C7HAJehS.mjs → markRequestDataSiloIdsCompleted-C-yZAoq6.mjs} +2 -2
  161. package/dist/{markRequestDataSiloIdsCompleted-C7HAJehS.mjs.map → markRequestDataSiloIdsCompleted-C-yZAoq6.mjs.map} +1 -1
  162. package/dist/{markSilentPrivacyRequests-Ctu7drQy.mjs → markSilentPrivacyRequests-Ir4ZB_lK.mjs} +2 -2
  163. package/dist/{markSilentPrivacyRequests-Ctu7drQy.mjs.map → markSilentPrivacyRequests-Ir4ZB_lK.mjs.map} +1 -1
  164. package/dist/mergeTranscendInputs-DjPe49yR.mjs +3 -0
  165. package/dist/mergeTranscendInputs-DjPe49yR.mjs.map +1 -0
  166. package/dist/{notifyPrivacyRequestsAdditionalTime-Du7706Lb.mjs → notifyPrivacyRequestsAdditionalTime-aOusRVCh.mjs} +2 -2
  167. package/dist/{notifyPrivacyRequestsAdditionalTime-Du7706Lb.mjs.map → notifyPrivacyRequestsAdditionalTime-aOusRVCh.mjs.map} +1 -1
  168. package/dist/{parquetToCsvOneFile-13GirFzy.mjs → parquetToCsvOneFile-0O4iLz0t.mjs} +1 -1
  169. package/dist/{parquetToCsvOneFile-13GirFzy.mjs.map → parquetToCsvOneFile-0O4iLz0t.mjs.map} +1 -1
  170. package/dist/parseVariablesFromString-B4TUkJRF.mjs +2 -0
  171. package/dist/parseVariablesFromString-B4TUkJRF.mjs.map +1 -0
  172. package/dist/{pullAllDatapoints-Bvv9KRR5.mjs → pullAllDatapoints-DJno8LkB.mjs} +1 -1
  173. package/dist/{pullAllDatapoints-Bvv9KRR5.mjs.map → pullAllDatapoints-DJno8LkB.mjs.map} +1 -1
  174. package/dist/{pullChunkedCustomSiloOutstandingIdentifiers-D_TkvoKK.mjs → pullChunkedCustomSiloOutstandingIdentifiers-CZARvaM3.mjs} +2 -2
  175. package/dist/{pullChunkedCustomSiloOutstandingIdentifiers-D_TkvoKK.mjs.map → pullChunkedCustomSiloOutstandingIdentifiers-CZARvaM3.mjs.map} +1 -1
  176. package/dist/{pullConsentManagerMetrics-CR4WwUt6.mjs → pullConsentManagerMetrics-C41UhU8u.mjs} +1 -1
  177. package/dist/{pullConsentManagerMetrics-CR4WwUt6.mjs.map → pullConsentManagerMetrics-C41UhU8u.mjs.map} +1 -1
  178. package/dist/{pullManualEnrichmentIdentifiersToCsv-C_XrnqTo.mjs → pullManualEnrichmentIdentifiersToCsv-dseAHwSI.mjs} +2 -2
  179. package/dist/{pullManualEnrichmentIdentifiersToCsv-C_XrnqTo.mjs.map → pullManualEnrichmentIdentifiersToCsv-dseAHwSI.mjs.map} +1 -1
  180. package/dist/{pushCronIdentifiersFromCsv-hcTHlWyf.mjs → pushCronIdentifiersFromCsv-CowCvbH0.mjs} +2 -2
  181. package/dist/{pushCronIdentifiersFromCsv-hcTHlWyf.mjs.map → pushCronIdentifiersFromCsv-CowCvbH0.mjs.map} +1 -1
  182. package/dist/{pushManualEnrichmentIdentifiersFromCsv-5Dulzugh.mjs → pushManualEnrichmentIdentifiersFromCsv-DkQjQ5b9.mjs} +2 -2
  183. package/dist/{pushManualEnrichmentIdentifiersFromCsv-5Dulzugh.mjs.map → pushManualEnrichmentIdentifiersFromCsv-DkQjQ5b9.mjs.map} +1 -1
  184. package/dist/{readTranscendYaml-ceJQNB1O.mjs → readTranscendYaml-bL1qFPqv.mjs} +2 -2
  185. package/dist/{readTranscendYaml-ceJQNB1O.mjs.map → readTranscendYaml-bL1qFPqv.mjs.map} +1 -1
  186. package/dist/{removeUnverifiedRequestIdentifiers-D2tdogVl.mjs → removeUnverifiedRequestIdentifiers-D9soOpMX.mjs} +2 -2
  187. package/dist/{removeUnverifiedRequestIdentifiers-D2tdogVl.mjs.map → removeUnverifiedRequestIdentifiers-D9soOpMX.mjs.map} +1 -1
  188. package/dist/{retryRequestDataSilos-pQ4DekAX.mjs → retryRequestDataSilos-g20l2uj6.mjs} +2 -2
  189. package/dist/{retryRequestDataSilos-pQ4DekAX.mjs.map → retryRequestDataSilos-g20l2uj6.mjs.map} +1 -1
  190. package/dist/{skipPreflightJobs-BrBvyKxG.mjs → skipPreflightJobs-G1tfj4Nw.mjs} +2 -2
  191. package/dist/{skipPreflightJobs-BrBvyKxG.mjs.map → skipPreflightJobs-G1tfj4Nw.mjs.map} +1 -1
  192. package/dist/{skipRequestDataSilos-DrTtHtF5.mjs → skipRequestDataSilos-Dtk8sCNd.mjs} +2 -2
  193. package/dist/{skipRequestDataSilos-DrTtHtF5.mjs.map → skipRequestDataSilos-Dtk8sCNd.mjs.map} +1 -1
  194. package/dist/{streamPrivacyRequestsToCsv-zGxmk-9Z.mjs → streamPrivacyRequestsToCsv-WHnlMy96.mjs} +2 -2
  195. package/dist/{streamPrivacyRequestsToCsv-zGxmk-9Z.mjs.map → streamPrivacyRequestsToCsv-WHnlMy96.mjs.map} +1 -1
  196. package/dist/{updateConsentManagerVersionToLatest-Dg-j1SQt.mjs → updateConsentManagerVersionToLatest-BJ2psQvP.mjs} +2 -2
  197. package/dist/{updateConsentManagerVersionToLatest-Dg-j1SQt.mjs.map → updateConsentManagerVersionToLatest-BJ2psQvP.mjs.map} +1 -1
  198. package/dist/{uploadConsents-B3lvS6hQ.mjs → uploadConsents-BsH0XF3-.mjs} +2 -2
  199. package/dist/{uploadConsents-B3lvS6hQ.mjs.map → uploadConsents-BsH0XF3-.mjs.map} +1 -1
  200. package/dist/{uploadCookiesFromCsv-DmU8R-_E.mjs → uploadCookiesFromCsv-CqRfU5k-.mjs} +2 -2
  201. package/dist/{uploadCookiesFromCsv-DmU8R-_E.mjs.map → uploadCookiesFromCsv-CqRfU5k-.mjs.map} +1 -1
  202. package/dist/{uploadDataFlowsFromCsv-Ct0rye94.mjs → uploadDataFlowsFromCsv-CgTkrlhJ.mjs} +2 -2
  203. package/dist/{uploadDataFlowsFromCsv-Ct0rye94.mjs.map → uploadDataFlowsFromCsv-CgTkrlhJ.mjs.map} +1 -1
  204. package/dist/{uploadPrivacyRequestsFromCsv-BVi19fS8.mjs → uploadPrivacyRequestsFromCsv-CaYuvzXw.mjs} +2 -2
  205. package/dist/{uploadPrivacyRequestsFromCsv-BVi19fS8.mjs.map → uploadPrivacyRequestsFromCsv-CaYuvzXw.mjs.map} +1 -1
  206. package/dist/{validateTranscendAuth-Dl8UUCAQ.mjs → validateTranscendAuth-CAO5ktnu.mjs} +2 -2
  207. package/dist/{validateTranscendAuth-Dl8UUCAQ.mjs.map → validateTranscendAuth-CAO5ktnu.mjs.map} +1 -1
  208. package/dist/{writeCsv-BMVkiMHM.mjs → writeCsv-DMw5OmWp.mjs} +1 -1
  209. package/dist/{writeCsv-BMVkiMHM.mjs.map → writeCsv-DMw5OmWp.mjs.map} +1 -1
  210. package/package.json +5 -4
  211. package/dist/app-DYoi_kYl.mjs.map +0 -1
  212. package/dist/codecs-DRBjmo_R.mjs +0 -2
  213. package/dist/codecs-DRBjmo_R.mjs.map +0 -1
  214. package/dist/impl-B0AKcSoy.mjs.map +0 -1
  215. package/dist/impl-Bk6lPywf.mjs +0 -2
  216. package/dist/impl-CxjrhJ-X.mjs +0 -2
  217. package/dist/impl-D6rMK5Us.mjs.map +0 -1
  218. package/dist/impl-DjOWgFlT.mjs.map +0 -1
  219. package/dist/impl-o0RdOoiZ2.mjs +0 -2
  220. package/dist/impl-tNN3yVw72.mjs +0 -2
  221. package/dist/parseVariablesFromString-B2TB86Fo.mjs +0 -3
  222. package/dist/parseVariablesFromString-B2TB86Fo.mjs.map +0 -1
@@ -1,3 +1,3 @@
1
- import{r as e}from"./constants-Ch1Lt8Wa.mjs";import{t}from"./logger-Ckep4QXn.mjs";import{a as n}from"./writeCsv-BMVkiMHM.mjs";import{t as r}from"./pullConsentManagerMetrics-CR4WwUt6.mjs";import{t as i}from"./validateTranscendAuth-Dl8UUCAQ.mjs";import{t as a}from"./done-input-validation-uqIgnJcw.mjs";import{ConsentManagerMetricBin as o}from"@transcend-io/privacy-types";import s,{existsSync as c,mkdirSync as l}from"node:fs";import{join as u}from"node:path";import d from"colors";import{buildTranscendGraphQLClient as f}from"@transcend-io/sdk";import{map as p,mapSeries as m}from"@transcend-io/utils";async function h({auth:h,start:g,end:_,folder:v,bin:y,transcendUrl:b}){let x=y;Object.values(o).includes(x)||(t.error(d.red(`Failed to parse argument "bin" with value "${y}"\nExpected one of: \n${Object.values(o).join(`
1
+ import{r as e}from"./constants-CXN-RdUM.mjs";import{t}from"./logger-Ckep4QXn.mjs";import{a as n}from"./writeCsv-DMw5OmWp.mjs";import{t as r}from"./pullConsentManagerMetrics-C41UhU8u.mjs";import{t as i}from"./validateTranscendAuth-CAO5ktnu.mjs";import{t as a}from"./done-input-validation-DL31vk7g.mjs";import{ConsentManagerMetricBin as o}from"@transcend-io/privacy-types";import s,{existsSync as c,mkdirSync as l}from"node:fs";import{join as u}from"node:path";import d from"colors";import{buildTranscendGraphQLClient as f}from"@transcend-io/sdk";import{map as p,mapSeries as m}from"@transcend-io/utils";async function h({auth:h,start:g,end:_,folder:v,bin:y,transcendUrl:b}){let x=y;Object.values(o).includes(x)||(t.error(d.red(`Failed to parse argument "bin" with value "${y}"\nExpected one of: \n${Object.values(o).join(`
2
2
  `)}`)),this.process.exit(1));let S=new Date(g),C=_?new Date(_):new Date;Number.isNaN(S.getTime())&&(t.error(d.red(`Start date provided is invalid date. Got --start="${g}" expected --start="01/01/2023"`)),this.process.exit(1)),Number.isNaN(C.getTime())&&(t.error(d.red(`End date provided is invalid date. Got --end="${_}" expected --end="01/01/2023"`)),this.process.exit(1)),S>C&&(t.error(d.red(`Got a start date "${S.toISOString()}" that was larger than the end date "${C.toISOString()}". Start date must be before end date.`)),this.process.exit(1)),a(this.process.exit);let w=await i(h);if(s.existsSync(v)&&!s.lstatSync(v).isDirectory()&&(t.error(d.red(`The provided argument "folder" was passed a file. expected: folder="./consent-metrics/"`)),this.process.exit(1)),c(v)||l(v),t.info(d.magenta(`Pulling consent metrics from start=${S.toString()} to end=${C.toISOString()} with bin size "${y}"`)),typeof w==`string`){try{let e=await r(f(b,w),{bin:x,start:S,end:C});await p(Object.entries(e),async([e,r])=>{await p(r,async({points:r,name:i})=>{let a=u(v,`${e}_${i}.csv`);t.info(d.magenta(`Writing configuration to file "${a}"...`)),await n(a,r.map(({key:e,value:t})=>({timestamp:e,value:t})))},{concurrency:5})},{concurrency:5})}catch(e){t.error(d.red(`An error occurred syncing the schema: ${e.message}`)),this.process.exit(1)}t.info(d.green(`Successfully synced consent metrics to disk in folder "${v}"! View at ${e}`))}else{let i=[];await m(w,async(e,a)=>{let o=`[${a+1}/${w.length}][${e.organizationName}] `;t.info(d.magenta(`~~~\n\n${o}Attempting to pull consent metrics...\n\n~~~`));let s=f(b,e.apiKey);try{let i=await r(s,{bin:x,start:S,end:C}),a=u(v,e.organizationName);c(a)||l(a),Object.entries(i).forEach(([e,r])=>{r.forEach(({points:r,name:i})=>{let o=u(a,`${e}_${i}.csv`);t.info(d.magenta(`Writing configuration to file "${o}"...`)),n(o,r.map(({key:e,value:t})=>({timestamp:e,value:t})))})}),t.info(d.green(`${o}Successfully pulled configuration!`))}catch(n){t.error(d.red(`${o}Failed to sync configuration.`),n),i.push(e.organizationName)}}),i.length>0&&(t.info(d.red(`Sync encountered errors for "${i.join(`,`)}". View output above for more information, or check out ${e}`)),this.process.exit(1))}}export{h as pullConsentMetrics};
3
- //# sourceMappingURL=impl-Be2M3iuo.mjs.map
3
+ //# sourceMappingURL=impl-DxVB8-h3.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"impl-Be2M3iuo.mjs","names":[],"sources":["../src/commands/consent/pull-consent-metrics/impl.ts"],"sourcesContent":["import fs, { existsSync, mkdirSync } from 'node:fs';\nimport { join } from 'node:path';\n\nimport { ConsentManagerMetricBin } from '@transcend-io/privacy-types';\nimport { buildTranscendGraphQLClient } from '@transcend-io/sdk';\nimport { map, mapSeries } from '@transcend-io/utils';\nimport colors from 'colors';\n\nimport { ADMIN_DASH_INTEGRATIONS } from '../../../constants.js';\nimport type { LocalContext } from '../../../context.js';\nimport { validateTranscendAuth } from '../../../lib/api-keys/index.js';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation.js';\nimport { pullConsentManagerMetrics } from '../../../lib/consent-manager/index.js';\nimport { writeCsv } from '../../../lib/helpers/index.js';\nimport { logger } from '../../../logger.js';\n\nexport interface PullConsentMetricsCommandFlags {\n auth: string;\n start: Date;\n end?: Date;\n folder: string;\n bin: string;\n transcendUrl: string;\n}\n\nexport async function pullConsentMetrics(\n this: LocalContext,\n { auth, start, end, folder, bin, transcendUrl }: PullConsentMetricsCommandFlags,\n): Promise<void> {\n // Validate bin\n const parsedBin = bin as ConsentManagerMetricBin;\n if (!Object.values(ConsentManagerMetricBin).includes(parsedBin)) {\n logger.error(\n colors.red(\n `Failed to parse argument \"bin\" with value \"${bin}\"\\n` +\n `Expected one of: \\n${Object.values(ConsentManagerMetricBin).join('\\n')}`,\n ),\n );\n this.process.exit(1);\n }\n\n // Parse the dates\n const startDate = new Date(start);\n const endDate = end ? new Date(end) : new Date();\n if (Number.isNaN(startDate.getTime())) {\n logger.error(\n colors.red(\n `Start date provided is invalid date. Got --start=\"${start}\" expected --start=\"01/01/2023\"`,\n ),\n );\n this.process.exit(1);\n }\n if (Number.isNaN(endDate.getTime())) {\n logger.error(\n colors.red(\n `End date provided is invalid date. Got --end=\"${end}\" expected --end=\"01/01/2023\"`,\n ),\n );\n this.process.exit(1);\n }\n if (startDate > endDate) {\n logger.error(\n colors.red(\n `Got a start date \"${startDate.toISOString()}\" that was larger than the end date \"${endDate.toISOString()}\". ` +\n 'Start date must be before end date.',\n ),\n );\n this.process.exit(1);\n }\n\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 // Ensure folder either does not exist or is not a file\n if (fs.existsSync(folder) && !fs.lstatSync(folder).isDirectory()) {\n logger.error(\n colors.red(\n 'The provided argument \"folder\" was passed a file. expected: folder=\"./consent-metrics/\"',\n ),\n );\n this.process.exit(1);\n }\n\n // Create the folder if it does not exist\n if (!existsSync(folder)) {\n mkdirSync(folder);\n }\n\n logger.info(\n colors.magenta(\n `Pulling consent metrics from start=${startDate.toString()} to end=${endDate.toISOString()} with bin size \"${bin}\"`,\n ),\n );\n\n // Sync to Disk\n if (typeof apiKeyOrList === 'string') {\n try {\n // Create a GraphQL client\n const client = buildTranscendGraphQLClient(transcendUrl, apiKeyOrList);\n\n // Pull the metrics\n const configuration = await pullConsentManagerMetrics(client, {\n bin: parsedBin,\n start: startDate,\n end: endDate,\n });\n\n // Write to file\n await map(\n Object.entries(configuration),\n async ([metricName, metrics]) => {\n await map(\n metrics,\n async ({ points, name }) => {\n const file = join(folder, `${metricName}_${name}.csv`);\n logger.info(colors.magenta(`Writing configuration to file \"${file}\"...`));\n await writeCsv(\n file,\n points.map(({ key, value }: { key: string; value: string }) => ({\n timestamp: key,\n value,\n })),\n );\n },\n {\n concurrency: 5,\n },\n );\n },\n { concurrency: 5 },\n );\n } catch (err) {\n logger.error(colors.red(`An error occurred syncing the schema: ${err.message}`));\n this.process.exit(1);\n }\n\n // Indicate success\n logger.info(\n colors.green(\n `Successfully synced consent metrics to disk in folder \"${folder}\"! View at ${ADMIN_DASH_INTEGRATIONS}`,\n ),\n );\n } else {\n const encounteredErrors: string[] = [];\n await mapSeries(apiKeyOrList, async (apiKey, ind) => {\n const prefix = `[${ind + 1}/${apiKeyOrList.length}][${apiKey.organizationName}] `;\n logger.info(colors.magenta(`~~~\\n\\n${prefix}Attempting to pull consent metrics...\\n\\n~~~`));\n\n // Create a GraphQL client\n const client = buildTranscendGraphQLClient(transcendUrl, apiKey.apiKey);\n\n try {\n const configuration = await pullConsentManagerMetrics(client, {\n bin: parsedBin,\n start: startDate,\n end: endDate,\n });\n\n // ensure folder exists for that organization\n const subFolder = join(folder, apiKey.organizationName);\n if (!existsSync(subFolder)) {\n mkdirSync(subFolder);\n }\n\n // Write to file\n Object.entries(configuration).forEach(([metricName, metrics]) => {\n metrics.forEach(({ points, name }) => {\n const file = join(subFolder, `${metricName}_${name}.csv`);\n logger.info(colors.magenta(`Writing configuration to file \"${file}\"...`));\n writeCsv(\n file,\n points.map(({ key, value }: { key: string; value: string }) => ({\n timestamp: key,\n value,\n })),\n );\n });\n });\n\n logger.info(colors.green(`${prefix}Successfully pulled configuration!`));\n } catch (err) {\n logger.error(colors.red(`${prefix}Failed to sync configuration.`), err);\n encounteredErrors.push(apiKey.organizationName);\n }\n });\n\n if (encounteredErrors.length > 0) {\n logger.info(\n colors.red(\n `Sync encountered errors for \"${encounteredErrors.join(\n ',',\n )}\". View output above for more information, or check out ${ADMIN_DASH_INTEGRATIONS}`,\n ),\n );\n\n this.process.exit(1);\n }\n }\n}\n"],"mappings":"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"}
1
+ {"version":3,"file":"impl-DxVB8-h3.mjs","names":[],"sources":["../src/commands/consent/pull-consent-metrics/impl.ts"],"sourcesContent":["import fs, { existsSync, mkdirSync } from 'node:fs';\nimport { join } from 'node:path';\n\nimport { ConsentManagerMetricBin } from '@transcend-io/privacy-types';\nimport { buildTranscendGraphQLClient } from '@transcend-io/sdk';\nimport { map, mapSeries } from '@transcend-io/utils';\nimport colors from 'colors';\n\nimport { ADMIN_DASH_INTEGRATIONS } from '../../../constants.js';\nimport type { LocalContext } from '../../../context.js';\nimport { validateTranscendAuth } from '../../../lib/api-keys/index.js';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation.js';\nimport { pullConsentManagerMetrics } from '../../../lib/consent-manager/index.js';\nimport { writeCsv } from '../../../lib/helpers/index.js';\nimport { logger } from '../../../logger.js';\n\nexport interface PullConsentMetricsCommandFlags {\n auth: string;\n start: Date;\n end?: Date;\n folder: string;\n bin: string;\n transcendUrl: string;\n}\n\nexport async function pullConsentMetrics(\n this: LocalContext,\n { auth, start, end, folder, bin, transcendUrl }: PullConsentMetricsCommandFlags,\n): Promise<void> {\n // Validate bin\n const parsedBin = bin as ConsentManagerMetricBin;\n if (!Object.values(ConsentManagerMetricBin).includes(parsedBin)) {\n logger.error(\n colors.red(\n `Failed to parse argument \"bin\" with value \"${bin}\"\\n` +\n `Expected one of: \\n${Object.values(ConsentManagerMetricBin).join('\\n')}`,\n ),\n );\n this.process.exit(1);\n }\n\n // Parse the dates\n const startDate = new Date(start);\n const endDate = end ? new Date(end) : new Date();\n if (Number.isNaN(startDate.getTime())) {\n logger.error(\n colors.red(\n `Start date provided is invalid date. Got --start=\"${start}\" expected --start=\"01/01/2023\"`,\n ),\n );\n this.process.exit(1);\n }\n if (Number.isNaN(endDate.getTime())) {\n logger.error(\n colors.red(\n `End date provided is invalid date. Got --end=\"${end}\" expected --end=\"01/01/2023\"`,\n ),\n );\n this.process.exit(1);\n }\n if (startDate > endDate) {\n logger.error(\n colors.red(\n `Got a start date \"${startDate.toISOString()}\" that was larger than the end date \"${endDate.toISOString()}\". ` +\n 'Start date must be before end date.',\n ),\n );\n this.process.exit(1);\n }\n\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 // Ensure folder either does not exist or is not a file\n if (fs.existsSync(folder) && !fs.lstatSync(folder).isDirectory()) {\n logger.error(\n colors.red(\n 'The provided argument \"folder\" was passed a file. expected: folder=\"./consent-metrics/\"',\n ),\n );\n this.process.exit(1);\n }\n\n // Create the folder if it does not exist\n if (!existsSync(folder)) {\n mkdirSync(folder);\n }\n\n logger.info(\n colors.magenta(\n `Pulling consent metrics from start=${startDate.toString()} to end=${endDate.toISOString()} with bin size \"${bin}\"`,\n ),\n );\n\n // Sync to Disk\n if (typeof apiKeyOrList === 'string') {\n try {\n // Create a GraphQL client\n const client = buildTranscendGraphQLClient(transcendUrl, apiKeyOrList);\n\n // Pull the metrics\n const configuration = await pullConsentManagerMetrics(client, {\n bin: parsedBin,\n start: startDate,\n end: endDate,\n });\n\n // Write to file\n await map(\n Object.entries(configuration),\n async ([metricName, metrics]) => {\n await map(\n metrics,\n async ({ points, name }) => {\n const file = join(folder, `${metricName}_${name}.csv`);\n logger.info(colors.magenta(`Writing configuration to file \"${file}\"...`));\n await writeCsv(\n file,\n points.map(({ key, value }: { key: string; value: string }) => ({\n timestamp: key,\n value,\n })),\n );\n },\n {\n concurrency: 5,\n },\n );\n },\n { concurrency: 5 },\n );\n } catch (err) {\n logger.error(colors.red(`An error occurred syncing the schema: ${err.message}`));\n this.process.exit(1);\n }\n\n // Indicate success\n logger.info(\n colors.green(\n `Successfully synced consent metrics to disk in folder \"${folder}\"! View at ${ADMIN_DASH_INTEGRATIONS}`,\n ),\n );\n } else {\n const encounteredErrors: string[] = [];\n await mapSeries(apiKeyOrList, async (apiKey, ind) => {\n const prefix = `[${ind + 1}/${apiKeyOrList.length}][${apiKey.organizationName}] `;\n logger.info(colors.magenta(`~~~\\n\\n${prefix}Attempting to pull consent metrics...\\n\\n~~~`));\n\n // Create a GraphQL client\n const client = buildTranscendGraphQLClient(transcendUrl, apiKey.apiKey);\n\n try {\n const configuration = await pullConsentManagerMetrics(client, {\n bin: parsedBin,\n start: startDate,\n end: endDate,\n });\n\n // ensure folder exists for that organization\n const subFolder = join(folder, apiKey.organizationName);\n if (!existsSync(subFolder)) {\n mkdirSync(subFolder);\n }\n\n // Write to file\n Object.entries(configuration).forEach(([metricName, metrics]) => {\n metrics.forEach(({ points, name }) => {\n const file = join(subFolder, `${metricName}_${name}.csv`);\n logger.info(colors.magenta(`Writing configuration to file \"${file}\"...`));\n writeCsv(\n file,\n points.map(({ key, value }: { key: string; value: string }) => ({\n timestamp: key,\n value,\n })),\n );\n });\n });\n\n logger.info(colors.green(`${prefix}Successfully pulled configuration!`));\n } catch (err) {\n logger.error(colors.red(`${prefix}Failed to sync configuration.`), err);\n encounteredErrors.push(apiKey.organizationName);\n }\n });\n\n if (encounteredErrors.length > 0) {\n logger.info(\n colors.red(\n `Sync encountered errors for \"${encounteredErrors.join(\n ',',\n )}\". View output above for more information, or check out ${ADMIN_DASH_INTEGRATIONS}`,\n ),\n );\n\n this.process.exit(1);\n }\n }\n}\n"],"mappings":"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"}
@@ -0,0 +1,2 @@
1
+ import{t as e}from"./retryRequestDataSilos-g20l2uj6.mjs";import{t}from"./done-input-validation-DL31vk7g.mjs";async function n({auth:n,dataSiloId:r,actions:i,transcendUrl:a}){t(this.process.exit),await e({requestActions:i,transcendUrl:a,auth:n,dataSiloId:r})}export{n as retryRequestDataSilos};
2
+ //# sourceMappingURL=impl-FrbAsKvf2.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"impl-tNN3yVw72.mjs","names":["retryRequestDataSilosHelper"],"sources":["../src/commands/request/system/retry-request-data-silos/impl.ts"],"sourcesContent":["import type { RequestAction } from '@transcend-io/privacy-types';\n\nimport type { LocalContext } from '../../../../context.js';\nimport { doneInputValidation } from '../../../../lib/cli/done-input-validation.js';\nimport { retryRequestDataSilos as retryRequestDataSilosHelper } from '../../../../lib/requests/index.js';\n\nexport interface RetryRequestDataSilosCommandFlags {\n auth: string;\n dataSiloId: string;\n actions: RequestAction[];\n transcendUrl: string;\n}\n\nexport async function retryRequestDataSilos(\n this: LocalContext,\n { auth, dataSiloId, actions, transcendUrl }: RetryRequestDataSilosCommandFlags,\n): Promise<void> {\n doneInputValidation(this.process.exit);\n\n await retryRequestDataSilosHelper({\n requestActions: actions,\n transcendUrl,\n auth,\n dataSiloId,\n });\n}\n"],"mappings":"6GAaA,eAAsB,EAEpB,CAAE,OAAM,aAAY,UAAS,gBACd,CACf,EAAoB,KAAK,QAAQ,KAAK,CAEtC,MAAMA,EAA4B,CAChC,eAAgB,EAChB,eACA,OACA,aACD,CAAC"}
1
+ {"version":3,"file":"impl-FrbAsKvf2.mjs","names":["retryRequestDataSilosHelper"],"sources":["../src/commands/request/system/retry-request-data-silos/impl.ts"],"sourcesContent":["import type { RequestAction } from '@transcend-io/privacy-types';\n\nimport type { LocalContext } from '../../../../context.js';\nimport { doneInputValidation } from '../../../../lib/cli/done-input-validation.js';\nimport { retryRequestDataSilos as retryRequestDataSilosHelper } from '../../../../lib/requests/index.js';\n\nexport interface RetryRequestDataSilosCommandFlags {\n auth: string;\n dataSiloId: string;\n actions: RequestAction[];\n transcendUrl: string;\n}\n\nexport async function retryRequestDataSilos(\n this: LocalContext,\n { auth, dataSiloId, actions, transcendUrl }: RetryRequestDataSilosCommandFlags,\n): Promise<void> {\n doneInputValidation(this.process.exit);\n\n await retryRequestDataSilosHelper({\n requestActions: actions,\n transcendUrl,\n auth,\n dataSiloId,\n });\n}\n"],"mappings":"6GAaA,eAAsB,EAEpB,CAAE,OAAM,aAAY,UAAS,gBACd,CACf,EAAoB,KAAK,QAAQ,KAAK,CAEtC,MAAMA,EAA4B,CAChC,eAAgB,EAChB,eACA,OACA,aACD,CAAC"}
@@ -1,2 +1,2 @@
1
- import{t as e}from"./logger-Ckep4QXn.mjs";import{t}from"./pullChunkedCustomSiloOutstandingIdentifiers-D_TkvoKK.mjs";import{i as n,s as r}from"./writeCsv-BMVkiMHM.mjs";import{t as i}from"./done-input-validation-uqIgnJcw.mjs";import{uniq as a}from"lodash-es";import o from"colors";async function s({file:s,transcendUrl:c,auth:l,sombraAuth:u,dataSiloId:d,actions:f,pageLimit:p,skipRequestCount:m,chunkSize:h}){m&&e.info(o.yellow(`Skipping request count as requested. This may help speed up the call.`)),(Number.isNaN(h)||h<=0||h%p!==0)&&(e.error(o.red(`Invalid chunk size: "${h}". Must be a positive integer that is a multiple of ${p}.`)),this.process.exit(1)),i(this.process.exit);let{baseName:g,extension:_}=n(s),v=0;await t({transcendUrl:c,apiPageSize:p,savePageSize:h,onSave:async t=>{let n=`${g}-${v}${_}`;return e.info(o.blue(`Saving ${t.length} identifiers to file "${n}"`)),await r(n,t,a(t.map(e=>Object.keys(e)).flat())),e.info(o.green(`Successfully wrote ${t.length} identifiers to file "${n}"`)),v+=1,Promise.resolve()},actions:f,auth:l,sombraAuth:u,dataSiloId:d,skipRequestCount:m})}export{s as pullIdentifiers};
2
- //# sourceMappingURL=impl-xNSHqJyt2.mjs.map
1
+ import{t as e}from"./logger-Ckep4QXn.mjs";import{t}from"./pullChunkedCustomSiloOutstandingIdentifiers-CZARvaM3.mjs";import{i as n,s as r}from"./writeCsv-DMw5OmWp.mjs";import{t as i}from"./done-input-validation-DL31vk7g.mjs";import{uniq as a}from"lodash-es";import o from"colors";async function s({file:s,transcendUrl:c,auth:l,sombraAuth:u,dataSiloId:d,actions:f,pageLimit:p,skipRequestCount:m,chunkSize:h}){m&&e.info(o.yellow(`Skipping request count as requested. This may help speed up the call.`)),(Number.isNaN(h)||h<=0||h%p!==0)&&(e.error(o.red(`Invalid chunk size: "${h}". Must be a positive integer that is a multiple of ${p}.`)),this.process.exit(1)),i(this.process.exit);let{baseName:g,extension:_}=n(s),v=0;await t({transcendUrl:c,apiPageSize:p,savePageSize:h,onSave:async t=>{let n=`${g}-${v}${_}`;return e.info(o.blue(`Saving ${t.length} identifiers to file "${n}"`)),await r(n,t,a(t.map(e=>Object.keys(e)).flat())),e.info(o.green(`Successfully wrote ${t.length} identifiers to file "${n}"`)),v+=1,Promise.resolve()},actions:f,auth:l,sombraAuth:u,dataSiloId:d,skipRequestCount:m})}export{s as pullIdentifiers};
2
+ //# sourceMappingURL=impl-GDBOa4jq2.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"impl-xNSHqJyt2.mjs","names":[],"sources":["../src/commands/request/cron/pull-identifiers/impl.ts"],"sourcesContent":["import { RequestAction } from '@transcend-io/privacy-types';\nimport colors from 'colors';\nimport { uniq } from 'lodash-es';\n\nimport type { LocalContext } from '../../../../context.js';\nimport { doneInputValidation } from '../../../../lib/cli/done-input-validation.js';\nimport {\n CsvFormattedIdentifier,\n pullChunkedCustomSiloOutstandingIdentifiers,\n} from '../../../../lib/cron/index.js';\nimport { parseFilePath, writeLargeCsv } from '../../../../lib/helpers/index.js';\nimport { logger } from '../../../../logger.js';\n\nexport interface PullIdentifiersCommandFlags {\n file: string;\n transcendUrl: string;\n auth: string;\n sombraAuth?: string;\n dataSiloId: string;\n actions: RequestAction[];\n pageLimit: number;\n skipRequestCount: boolean;\n chunkSize: number;\n}\n\nexport async function pullIdentifiers(\n this: LocalContext,\n {\n file,\n transcendUrl,\n auth,\n sombraAuth,\n dataSiloId,\n actions,\n pageLimit,\n skipRequestCount,\n chunkSize,\n }: PullIdentifiersCommandFlags,\n): Promise<void> {\n if (skipRequestCount) {\n logger.info(\n colors.yellow('Skipping request count as requested. This may help speed up the call.'),\n );\n }\n\n if (Number.isNaN(chunkSize) || chunkSize <= 0 || chunkSize % pageLimit !== 0) {\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 const { baseName, extension } = parseFilePath(file);\n let fileCount = 0;\n\n const onSave = async (chunk: CsvFormattedIdentifier[]): Promise<void> => {\n const numberedFileName = `${baseName}-${fileCount}${extension}`;\n logger.info(colors.blue(`Saving ${chunk.length} identifiers to file \"${numberedFileName}\"`));\n\n const headers = uniq(chunk.map((d) => Object.keys(d)).flat());\n await writeLargeCsv(numberedFileName, chunk, headers);\n logger.info(\n colors.green(`Successfully wrote ${chunk.length} identifiers to file \"${numberedFileName}\"`),\n );\n fileCount += 1;\n return Promise.resolve();\n };\n\n // Pull down outstanding identifiers\n await pullChunkedCustomSiloOutstandingIdentifiers({\n transcendUrl,\n apiPageSize: pageLimit,\n savePageSize: chunkSize,\n onSave,\n actions,\n auth,\n sombraAuth,\n dataSiloId,\n skipRequestCount,\n });\n}\n"],"mappings":"uRAyBA,eAAsB,EAEpB,CACE,OACA,eACA,OACA,aACA,aACA,UACA,YACA,mBACA,aAEa,CACX,GACF,EAAO,KACL,EAAO,OAAO,wEAAwE,CACvF,EAGC,OAAO,MAAM,EAAU,EAAI,GAAa,GAAK,EAAY,IAAc,KACzE,EAAO,MACL,EAAO,IACL,wBAAwB,EAAU,sDAAsD,EAAU,GACnG,CACF,CACD,KAAK,QAAQ,KAAK,EAAE,EAGtB,EAAoB,KAAK,QAAQ,KAAK,CAEtC,GAAM,CAAE,WAAU,aAAc,EAAc,EAAK,CAC/C,EAAY,EAgBhB,MAAM,EAA4C,CAChD,eACA,YAAa,EACb,aAAc,EACd,YAlBoB,IAAmD,CACvE,IAAM,EAAmB,GAAG,EAAS,GAAG,IAAY,IASpD,OARA,EAAO,KAAK,EAAO,KAAK,UAAU,EAAM,OAAO,wBAAwB,EAAiB,GAAG,CAAC,CAG5F,MAAM,EAAc,EAAkB,EADtB,EAAK,EAAM,IAAK,GAAM,OAAO,KAAK,EAAE,CAAC,CAAC,MAAM,CACR,CAAC,CACrD,EAAO,KACL,EAAO,MAAM,sBAAsB,EAAM,OAAO,wBAAwB,EAAiB,GAAG,CAC7F,CACD,GAAa,EACN,QAAQ,SAAS,EASxB,UACA,OACA,aACA,aACA,mBACD,CAAC"}
1
+ {"version":3,"file":"impl-GDBOa4jq2.mjs","names":[],"sources":["../src/commands/request/cron/pull-identifiers/impl.ts"],"sourcesContent":["import { RequestAction } from '@transcend-io/privacy-types';\nimport colors from 'colors';\nimport { uniq } from 'lodash-es';\n\nimport type { LocalContext } from '../../../../context.js';\nimport { doneInputValidation } from '../../../../lib/cli/done-input-validation.js';\nimport {\n CsvFormattedIdentifier,\n pullChunkedCustomSiloOutstandingIdentifiers,\n} from '../../../../lib/cron/index.js';\nimport { parseFilePath, writeLargeCsv } from '../../../../lib/helpers/index.js';\nimport { logger } from '../../../../logger.js';\n\nexport interface PullIdentifiersCommandFlags {\n file: string;\n transcendUrl: string;\n auth: string;\n sombraAuth?: string;\n dataSiloId: string;\n actions: RequestAction[];\n pageLimit: number;\n skipRequestCount: boolean;\n chunkSize: number;\n}\n\nexport async function pullIdentifiers(\n this: LocalContext,\n {\n file,\n transcendUrl,\n auth,\n sombraAuth,\n dataSiloId,\n actions,\n pageLimit,\n skipRequestCount,\n chunkSize,\n }: PullIdentifiersCommandFlags,\n): Promise<void> {\n if (skipRequestCount) {\n logger.info(\n colors.yellow('Skipping request count as requested. This may help speed up the call.'),\n );\n }\n\n if (Number.isNaN(chunkSize) || chunkSize <= 0 || chunkSize % pageLimit !== 0) {\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 const { baseName, extension } = parseFilePath(file);\n let fileCount = 0;\n\n const onSave = async (chunk: CsvFormattedIdentifier[]): Promise<void> => {\n const numberedFileName = `${baseName}-${fileCount}${extension}`;\n logger.info(colors.blue(`Saving ${chunk.length} identifiers to file \"${numberedFileName}\"`));\n\n const headers = uniq(chunk.map((d) => Object.keys(d)).flat());\n await writeLargeCsv(numberedFileName, chunk, headers);\n logger.info(\n colors.green(`Successfully wrote ${chunk.length} identifiers to file \"${numberedFileName}\"`),\n );\n fileCount += 1;\n return Promise.resolve();\n };\n\n // Pull down outstanding identifiers\n await pullChunkedCustomSiloOutstandingIdentifiers({\n transcendUrl,\n apiPageSize: pageLimit,\n savePageSize: chunkSize,\n onSave,\n actions,\n auth,\n sombraAuth,\n dataSiloId,\n skipRequestCount,\n });\n}\n"],"mappings":"uRAyBA,eAAsB,EAEpB,CACE,OACA,eACA,OACA,aACA,aACA,UACA,YACA,mBACA,aAEa,CACX,GACF,EAAO,KACL,EAAO,OAAO,wEAAwE,CACvF,EAGC,OAAO,MAAM,EAAU,EAAI,GAAa,GAAK,EAAY,IAAc,KACzE,EAAO,MACL,EAAO,IACL,wBAAwB,EAAU,sDAAsD,EAAU,GACnG,CACF,CACD,KAAK,QAAQ,KAAK,EAAE,EAGtB,EAAoB,KAAK,QAAQ,KAAK,CAEtC,GAAM,CAAE,WAAU,aAAc,EAAc,EAAK,CAC/C,EAAY,EAgBhB,MAAM,EAA4C,CAChD,eACA,YAAa,EACb,aAAc,EACd,YAlBoB,IAAmD,CACvE,IAAM,EAAmB,GAAG,EAAS,GAAG,IAAY,IASpD,OARA,EAAO,KAAK,EAAO,KAAK,UAAU,EAAM,OAAO,wBAAwB,EAAiB,GAAG,CAAC,CAG5F,MAAM,EAAc,EAAkB,EADtB,EAAK,EAAM,IAAK,GAAM,OAAO,KAAK,EAAE,CAAC,CAAC,MAAM,CACR,CAAC,CACrD,EAAO,KACL,EAAO,MAAM,sBAAsB,EAAM,OAAO,wBAAwB,EAAiB,GAAG,CAC7F,CACD,GAAa,EACN,QAAQ,SAAS,EASxB,UACA,OACA,aACA,aACA,mBACD,CAAC"}
@@ -1,2 +1,2 @@
1
- import{t as e}from"./logger-Ckep4QXn.mjs";import{a as t,r as n}from"./readTranscendYaml-ceJQNB1O.mjs";import{t as r}from"./consentManagersToBusinessEntities-DGzryQ3W.mjs";import{t as i}from"./listFiles-BPx3iDV6.mjs";import{t as a}from"./done-input-validation-uqIgnJcw.mjs";import{existsSync as o,lstatSync as s}from"node:fs";import{join as c}from"node:path";import l from"colors";function u({consentManagerYmlFolder:u,output:d}){a(this.process.exit),(!o(u)||!s(u).isDirectory())&&(e.error(l.red(`Folder does not exist: "${u}"`)),this.process.exit(1));let f=r(i(u).map(e=>{let{"consent-manager":t}=n(c(u,e));return{name:e,input:t}}));t(d,{"business-entities":f}),e.info(l.green(`Successfully wrote ${f.length} business entities to file "${d}"`))}export{u as consentManagersToBusinessEntities};
2
- //# sourceMappingURL=impl-D3qD4wsS.mjs.map
1
+ import{t as e}from"./logger-Ckep4QXn.mjs";import{a as t,r as n}from"./readTranscendYaml-bL1qFPqv.mjs";import{t as r}from"./consentManagersToBusinessEntities-rf8_xu71.mjs";import{t as i}from"./listFiles-C5kubvdN.mjs";import{t as a}from"./done-input-validation-DL31vk7g.mjs";import{existsSync as o,lstatSync as s}from"node:fs";import{join as c}from"node:path";import l from"colors";function u({consentManagerYmlFolder:u,output:d}){a(this.process.exit),(!o(u)||!s(u).isDirectory())&&(e.error(l.red(`Folder does not exist: "${u}"`)),this.process.exit(1));let f=r(i(u).map(e=>{let{"consent-manager":t}=n(c(u,e));return{name:e,input:t}}));t(d,{"business-entities":f}),e.info(l.green(`Successfully wrote ${f.length} business entities to file "${d}"`))}export{u as consentManagersToBusinessEntities};
2
+ //# sourceMappingURL=impl-xIb20rTt.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"impl-D3qD4wsS.mjs","names":["consentManagersToBusinessEntitiesHelper"],"sources":["../src/commands/inventory/consent-managers-to-business-entities/impl.ts"],"sourcesContent":["import { existsSync, lstatSync } from 'node:fs';\nimport { join } from 'node:path';\n\nimport colors from 'colors';\n\nimport type { LocalContext } from '../../../context.js';\nimport { listFiles } from '../../../lib/api-keys/index.js';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation.js';\nimport { consentManagersToBusinessEntities as consentManagersToBusinessEntitiesHelper } from '../../../lib/consent-manager/index.js';\nimport { readTranscendYaml, writeTranscendYaml } from '../../../lib/readTranscendYaml.js';\nimport { logger } from '../../../logger.js';\n\nexport interface ConsentManagersToBusinessEntitiesCommandFlags {\n consentManagerYmlFolder: string;\n output: string;\n}\n\nexport function consentManagersToBusinessEntities(\n this: LocalContext,\n { consentManagerYmlFolder, output }: ConsentManagersToBusinessEntitiesCommandFlags,\n): void {\n doneInputValidation(this.process.exit);\n\n // Ensure folder is passed\n if (!existsSync(consentManagerYmlFolder) || !lstatSync(consentManagerYmlFolder).isDirectory()) {\n logger.error(colors.red(`Folder does not exist: \"${consentManagerYmlFolder}\"`));\n this.process.exit(1);\n }\n\n // Read in each consent manager configuration\n const inputs = listFiles(consentManagerYmlFolder).map((directory) => {\n const { 'consent-manager': consentManager } = readTranscendYaml(\n join(consentManagerYmlFolder, directory),\n );\n return { name: directory, input: consentManager };\n });\n\n // Convert to business entities\n const businessEntities = consentManagersToBusinessEntitiesHelper(inputs);\n\n // write to disk\n writeTranscendYaml(output, {\n 'business-entities': businessEntities,\n });\n\n logger.info(\n colors.green(\n `Successfully wrote ${businessEntities.length} business entities to file \"${output}\"`,\n ),\n );\n}\n"],"mappings":"4XAiBA,SAAgB,EAEd,CAAE,0BAAyB,UACrB,CACN,EAAoB,KAAK,QAAQ,KAAK,EAGlC,CAAC,EAAW,EAAwB,EAAI,CAAC,EAAU,EAAwB,CAAC,aAAa,IAC3F,EAAO,MAAM,EAAO,IAAI,2BAA2B,EAAwB,GAAG,CAAC,CAC/E,KAAK,QAAQ,KAAK,EAAE,EAYtB,IAAM,EAAmBA,EARV,EAAU,EAAwB,CAAC,IAAK,GAAc,CACnE,GAAM,CAAE,kBAAmB,GAAmB,EAC5C,EAAK,EAAyB,EAAU,CACzC,CACD,MAAO,CAAE,KAAM,EAAW,MAAO,EAAgB,EAIoB,CAAC,CAGxE,EAAmB,EAAQ,CACzB,oBAAqB,EACtB,CAAC,CAEF,EAAO,KACL,EAAO,MACL,sBAAsB,EAAiB,OAAO,8BAA8B,EAAO,GACpF,CACF"}
1
+ {"version":3,"file":"impl-xIb20rTt.mjs","names":["consentManagersToBusinessEntitiesHelper"],"sources":["../src/commands/inventory/consent-managers-to-business-entities/impl.ts"],"sourcesContent":["import { existsSync, lstatSync } from 'node:fs';\nimport { join } from 'node:path';\n\nimport colors from 'colors';\n\nimport type { LocalContext } from '../../../context.js';\nimport { listFiles } from '../../../lib/api-keys/index.js';\nimport { doneInputValidation } from '../../../lib/cli/done-input-validation.js';\nimport { consentManagersToBusinessEntities as consentManagersToBusinessEntitiesHelper } from '../../../lib/consent-manager/index.js';\nimport { readTranscendYaml, writeTranscendYaml } from '../../../lib/readTranscendYaml.js';\nimport { logger } from '../../../logger.js';\n\nexport interface ConsentManagersToBusinessEntitiesCommandFlags {\n consentManagerYmlFolder: string;\n output: string;\n}\n\nexport function consentManagersToBusinessEntities(\n this: LocalContext,\n { consentManagerYmlFolder, output }: ConsentManagersToBusinessEntitiesCommandFlags,\n): void {\n doneInputValidation(this.process.exit);\n\n // Ensure folder is passed\n if (!existsSync(consentManagerYmlFolder) || !lstatSync(consentManagerYmlFolder).isDirectory()) {\n logger.error(colors.red(`Folder does not exist: \"${consentManagerYmlFolder}\"`));\n this.process.exit(1);\n }\n\n // Read in each consent manager configuration\n const inputs = listFiles(consentManagerYmlFolder).map((directory) => {\n const { 'consent-manager': consentManager } = readTranscendYaml(\n join(consentManagerYmlFolder, directory),\n );\n return { name: directory, input: consentManager };\n });\n\n // Convert to business entities\n const businessEntities = consentManagersToBusinessEntitiesHelper(inputs);\n\n // write to disk\n writeTranscendYaml(output, {\n 'business-entities': businessEntities,\n });\n\n logger.info(\n colors.green(\n `Successfully wrote ${businessEntities.length} business entities to file \"${output}\"`,\n ),\n );\n}\n"],"mappings":"4XAiBA,SAAgB,EAEd,CAAE,0BAAyB,UACrB,CACN,EAAoB,KAAK,QAAQ,KAAK,EAGlC,CAAC,EAAW,EAAwB,EAAI,CAAC,EAAU,EAAwB,CAAC,aAAa,IAC3F,EAAO,MAAM,EAAO,IAAI,2BAA2B,EAAwB,GAAG,CAAC,CAC/E,KAAK,QAAQ,KAAK,EAAE,EAYtB,IAAM,EAAmBA,EARV,EAAU,EAAwB,CAAC,IAAK,GAAc,CACnE,GAAM,CAAE,kBAAmB,GAAmB,EAC5C,EAAK,EAAyB,EAAU,CACzC,CACD,MAAO,CAAE,KAAM,EAAW,MAAO,EAAgB,EAIoB,CAAC,CAGxE,EAAmB,EAAQ,CACzB,oBAAqB,EACtB,CAAC,CAEF,EAAO,KACL,EAAO,MACL,sBAAsB,EAAiB,OAAO,8BAA8B,EAAO,GACpF,CACF"}
@@ -1,2 +1,2 @@
1
- import{t as e}from"./pushCronIdentifiersFromCsv-hcTHlWyf.mjs";import{t}from"./done-input-validation-uqIgnJcw.mjs";async function n({file:n,transcendUrl:r,auth:i,sombraAuth:a,dataSiloId:o}){t(this.process.exit),await e({file:n,transcendUrl:r,auth:i,sombraAuth:a,dataSiloId:o})}export{n as markIdentifiersCompleted};
2
- //# sourceMappingURL=impl-CPN-_vdL2.mjs.map
1
+ import{t as e}from"./pushCronIdentifiersFromCsv-CowCvbH0.mjs";import{t}from"./done-input-validation-DL31vk7g.mjs";async function n({file:n,transcendUrl:r,auth:i,sombraAuth:a,dataSiloId:o}){t(this.process.exit),await e({file:n,transcendUrl:r,auth:i,sombraAuth:a,dataSiloId:o})}export{n as markIdentifiersCompleted};
2
+ //# sourceMappingURL=impl-yLtpv9IB2.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"impl-CPN-_vdL2.mjs","names":[],"sources":["../src/commands/request/cron/mark-identifiers-completed/impl.ts"],"sourcesContent":["import type { LocalContext } from '../../../../context.js';\nimport { doneInputValidation } from '../../../../lib/cli/done-input-validation.js';\nimport { pushCronIdentifiersFromCsv } from '../../../../lib/cron/index.js';\n\nexport interface MarkIdentifiersCompletedCommandFlags {\n file: string;\n transcendUrl: string;\n auth: string;\n sombraAuth?: string;\n dataSiloId: string;\n}\n\nexport async function markIdentifiersCompleted(\n this: LocalContext,\n { file, transcendUrl, auth, sombraAuth, dataSiloId }: MarkIdentifiersCompletedCommandFlags,\n): Promise<void> {\n doneInputValidation(this.process.exit);\n\n await pushCronIdentifiersFromCsv({\n file,\n transcendUrl,\n auth,\n sombraAuth,\n dataSiloId,\n });\n}\n"],"mappings":"kHAYA,eAAsB,EAEpB,CAAE,OAAM,eAAc,OAAM,aAAY,cACzB,CACf,EAAoB,KAAK,QAAQ,KAAK,CAEtC,MAAM,EAA2B,CAC/B,OACA,eACA,OACA,aACA,aACD,CAAC"}
1
+ {"version":3,"file":"impl-yLtpv9IB2.mjs","names":[],"sources":["../src/commands/request/cron/mark-identifiers-completed/impl.ts"],"sourcesContent":["import type { LocalContext } from '../../../../context.js';\nimport { doneInputValidation } from '../../../../lib/cli/done-input-validation.js';\nimport { pushCronIdentifiersFromCsv } from '../../../../lib/cron/index.js';\n\nexport interface MarkIdentifiersCompletedCommandFlags {\n file: string;\n transcendUrl: string;\n auth: string;\n sombraAuth?: string;\n dataSiloId: string;\n}\n\nexport async function markIdentifiersCompleted(\n this: LocalContext,\n { file, transcendUrl, auth, sombraAuth, dataSiloId }: MarkIdentifiersCompletedCommandFlags,\n): Promise<void> {\n doneInputValidation(this.process.exit);\n\n await pushCronIdentifiersFromCsv({\n file,\n transcendUrl,\n auth,\n sombraAuth,\n dataSiloId,\n });\n}\n"],"mappings":"kHAYA,eAAsB,EAEpB,CAAE,OAAM,eAAc,OAAM,aAAY,cACzB,CACf,EAAoB,KAAK,QAAQ,KAAK,CAEtC,MAAM,EAA2B,CAC/B,OACA,eACA,OACA,aACA,aACD,CAAC"}
package/dist/index.d.mts CHANGED
@@ -160,6 +160,8 @@ declare const TeamInput: t.IntersectionC<[t.TypeC<{
160
160
  viewAssignedRules: unknown;
161
161
  manageAssignedRules: unknown;
162
162
  executeRules: unknown;
163
+ viewCustomFunction: unknown;
164
+ manageCustomFunction: unknown;
163
165
  }>>;
164
166
  }>]>;
165
167
  /** Type override */
@@ -58065,6 +58067,90 @@ declare const IntlMessageInput: t.IntersectionC<[t.TypeC<{
58065
58067
  }>]>;
58066
58068
  /** Type override */
58067
58069
  type IntlMessageInput = t.TypeOf<typeof IntlMessageInput>;
58070
+ /**
58071
+ * A set of deletion dependencies, either global (when `workflow` is omitted)
58072
+ * or scoped to a single DSR workflow.
58073
+ *
58074
+ * An empty `titles` list scoped to a workflow is an explicit override, meaning
58075
+ * that workflow runs the data silo with no dependencies at all.
58076
+ */
58077
+ declare const DeletionDependency: t.IntersectionC<[t.TypeC<{
58078
+ /**
58079
+ * The titles of the data silos that must be deleted from first. This list can contain
58080
+ * other internal systems defined in this file, as well as any of the SaaS tools connected
58081
+ * in your Transcend instance.
58082
+ */
58083
+ titles: t.ArrayC<t.StringC>;
58084
+ }>, t.PartialC<{
58085
+ /**
58086
+ * The internal name of the DSR workflow that these dependencies override the global
58087
+ * configuration for. Omit to declare the global configuration.
58088
+ */
58089
+ workflow: t.StringC;
58090
+ }>]>;
58091
+ /** Type override */
58092
+ type DeletionDependency = t.TypeOf<typeof DeletionDependency>;
58093
+ /**
58094
+ * Removes a workflow's deletion dependency override so that the workflow falls back
58095
+ * to the global configuration.
58096
+ */
58097
+ declare const DeletionDependencyReset: t.TypeC<{
58098
+ /** The internal name of the DSR workflow to remove the override from */workflow: t.StringC; /** Must be `true`; declares that the override should be removed */
58099
+ 'reset-to-global': t.LiteralC<true>;
58100
+ }>;
58101
+ /** Type override */
58102
+ type DeletionDependencyReset = t.TypeOf<typeof DeletionDependencyReset>;
58103
+ /**
58104
+ * A single object entry in a data silo's `deletion-dependencies` list.
58105
+ * Global dependencies are written as `{ titles: [...] }`; per-workflow overrides
58106
+ * include a `workflow` key.
58107
+ */
58108
+ declare const DeletionDependencyInput: t.UnionC<[t.IntersectionC<[t.TypeC<{
58109
+ /**
58110
+ * The titles of the data silos that must be deleted from first. This list can contain
58111
+ * other internal systems defined in this file, as well as any of the SaaS tools connected
58112
+ * in your Transcend instance.
58113
+ */
58114
+ titles: t.ArrayC<t.StringC>;
58115
+ }>, t.PartialC<{
58116
+ /**
58117
+ * The internal name of the DSR workflow that these dependencies override the global
58118
+ * configuration for. Omit to declare the global configuration.
58119
+ */
58120
+ workflow: t.StringC;
58121
+ }>]>, t.TypeC<{
58122
+ /** The internal name of the DSR workflow to remove the override from */workflow: t.StringC; /** Must be `true`; declares that the override should be removed */
58123
+ 'reset-to-global': t.LiteralC<true>;
58124
+ }>]>;
58125
+ /** Type override */
58126
+ type DeletionDependencyInput = t.TypeOf<typeof DeletionDependencyInput>;
58127
+ /**
58128
+ * The `deletion-dependencies` field for a data silo.
58129
+ *
58130
+ * Prefer a list of objects: `{ titles: [...] }` for the global configuration and
58131
+ * `{ workflow, titles }` or `{ workflow, reset-to-global: true }` for each override.
58132
+ * A bare list of titles is still accepted for global-only configuration. Mixing
58133
+ * titles and objects in the same list is not allowed.
58134
+ */
58135
+ declare const DeletionDependencies: t.UnionC<[t.ArrayC<t.StringC>, t.ArrayC<t.UnionC<[t.IntersectionC<[t.TypeC<{
58136
+ /**
58137
+ * The titles of the data silos that must be deleted from first. This list can contain
58138
+ * other internal systems defined in this file, as well as any of the SaaS tools connected
58139
+ * in your Transcend instance.
58140
+ */
58141
+ titles: t.ArrayC<t.StringC>;
58142
+ }>, t.PartialC<{
58143
+ /**
58144
+ * The internal name of the DSR workflow that these dependencies override the global
58145
+ * configuration for. Omit to declare the global configuration.
58146
+ */
58147
+ workflow: t.StringC;
58148
+ }>]>, t.TypeC<{
58149
+ /** The internal name of the DSR workflow to remove the override from */workflow: t.StringC; /** Must be `true`; declares that the override should be removed */
58150
+ 'reset-to-global': t.LiteralC<true>;
58151
+ }>]>>]>;
58152
+ /** Type override */
58153
+ type DeletionDependencies = t.TypeOf<typeof DeletionDependencies>;
58068
58154
  /**
58069
58155
  * Input to define a data silo
58070
58156
  *
@@ -58111,8 +58197,29 @@ declare const DataSiloInput: t.IntersectionC<[t.TypeC<{
58111
58197
  * When a data erasure request is being performed, this data silo should not be deleted from
58112
58198
  * until all of the following data silos were deleted first. This list can contain other internal
58113
58199
  * systems defined in this file, as well as any of the SaaS tools connected in your Transcend instance.
58200
+ *
58201
+ * Prefer a list of objects: `{ titles: [...] }` for the global configuration and
58202
+ * `{ workflow, titles }` (or `{ workflow, reset-to-global: true }`) for each override.
58203
+ * A bare list of titles is still accepted for global-only configuration. Workflows that
58204
+ * are not listed keep whatever configuration they already have.
58114
58205
  */
58115
- 'deletion-dependencies': t.ArrayC<t.StringC>;
58206
+ 'deletion-dependencies': t.UnionC<[t.ArrayC<t.StringC>, t.ArrayC<t.UnionC<[t.IntersectionC<[t.TypeC<{
58207
+ /**
58208
+ * The titles of the data silos that must be deleted from first. This list can contain
58209
+ * other internal systems defined in this file, as well as any of the SaaS tools connected
58210
+ * in your Transcend instance.
58211
+ */
58212
+ titles: t.ArrayC<t.StringC>;
58213
+ }>, t.PartialC<{
58214
+ /**
58215
+ * The internal name of the DSR workflow that these dependencies override the global
58216
+ * configuration for. Omit to declare the global configuration.
58217
+ */
58218
+ workflow: t.StringC;
58219
+ }>]>, t.TypeC<{
58220
+ /** The internal name of the DSR workflow to remove the override from */workflow: t.StringC; /** Must be `true`; declares that the override should be removed */
58221
+ 'reset-to-global': t.LiteralC<true>;
58222
+ }>]>>]>;
58116
58223
  /**
58117
58224
  * The email addresses of the employees within your company that are the go-to individuals
58118
58225
  * for managing this data silo
@@ -81544,6 +81651,8 @@ declare const TranscendInput: t.PartialC<{
81544
81651
  viewAssignedRules: unknown;
81545
81652
  manageAssignedRules: unknown;
81546
81653
  executeRules: unknown;
81654
+ viewCustomFunction: unknown;
81655
+ manageCustomFunction: unknown;
81547
81656
  }>>;
81548
81657
  }>]>>;
81549
81658
  /**
@@ -108928,8 +109037,29 @@ declare const TranscendInput: t.PartialC<{
108928
109037
  * When a data erasure request is being performed, this data silo should not be deleted from
108929
109038
  * until all of the following data silos were deleted first. This list can contain other internal
108930
109039
  * systems defined in this file, as well as any of the SaaS tools connected in your Transcend instance.
109040
+ *
109041
+ * Prefer a list of objects: `{ titles: [...] }` for the global configuration and
109042
+ * `{ workflow, titles }` (or `{ workflow, reset-to-global: true }`) for each override.
109043
+ * A bare list of titles is still accepted for global-only configuration. Workflows that
109044
+ * are not listed keep whatever configuration they already have.
108931
109045
  */
108932
- 'deletion-dependencies': t.ArrayC<t.StringC>;
109046
+ 'deletion-dependencies': t.UnionC<[t.ArrayC<t.StringC>, t.ArrayC<t.UnionC<[t.IntersectionC<[t.TypeC<{
109047
+ /**
109048
+ * The titles of the data silos that must be deleted from first. This list can contain
109049
+ * other internal systems defined in this file, as well as any of the SaaS tools connected
109050
+ * in your Transcend instance.
109051
+ */
109052
+ titles: t.ArrayC<t.StringC>;
109053
+ }>, t.PartialC<{
109054
+ /**
109055
+ * The internal name of the DSR workflow that these dependencies override the global
109056
+ * configuration for. Omit to declare the global configuration.
109057
+ */
109058
+ workflow: t.StringC;
109059
+ }>]>, t.TypeC<{
109060
+ /** The internal name of the DSR workflow to remove the override from */workflow: t.StringC; /** Must be `true`; declares that the override should be removed */
109061
+ 'reset-to-global': t.LiteralC<true>;
109062
+ }>]>>]>;
108933
109063
  /**
108934
109064
  * The email addresses of the employees within your company that are the go-to individuals
108935
109065
  * for managing this data silo
@@ -174640,5 +174770,5 @@ declare function enrichPrivacyRequest(sombra: Got, {
174640
174770
  ...rest
174641
174771
  }: EnrichPrivacyRequest, enricherId: string, index?: number): Promise<boolean>;
174642
174772
  //#endregion
174643
- export { ADMIN_DASH, ADMIN_DASH_DATAPOINTS, ADMIN_DASH_INTEGRATIONS, APPROVE_PRIVACY_REQUEST, ASSESSMENT_TEMPLATES, ActionInput, ActionItemCollectionInput, ActionItemInput, ApiKeyGenerateError, ApiKeyInput, AssessmentAnswerOptionInput, AssessmentDisplayLogicInput, AssessmentInput, AssessmentNestedRuleInput, AssessmentResourceInput, AssessmentRetentionScheduleInput, AssessmentRuleInput, AssessmentSectionInput, AssessmentSectionQuestionInput, AssessmentTemplate, AssessmentTemplateInput, AttestedExtraIdentifiers, AttributeInput, AttributeNameMap, AttributePreview, AttributeValueInput, BLANK, BULK_APPLY, BusinessEntityInput, CANCEL_PRIVACY_REQUEST, CAN_APPLY_IN_BULK, CachedFileState, CachedRequestState, ChunkedDateRange, CodePackageInput, CodePackageSdk, ColumnName, ColumnNameMap, ConsentManageExperienceInput, ConsentManagerInput, ConsentManagerServiceMetadata, ConsentPreferenceTopic, ConsentPreferenceTopicOptionValue, ConsentPurpose, CookieCsvInput, CookieInput, CronIdentifier, CronIdentifierPush, CronIdentifierWithAction, CronPartition, CsvFormattedIdentifier, CsvRow, DEBUG, DEFAULT_TRANSCEND_API, DEFAULT_TRANSCEND_API_KEY, DEFAULT_TRANSCEND_CONSENT_API, DEFAULT_TRANSCEND_PULL_RESOURCES, DataCategoryGuessInput, DataCategoryInput, DataCategoryPreviewInput, DataCategoryRecommendationInput, DataFlowCsvInput, DataFlowInput, DataPointCsvPreview, DataSiloCsvPreview, DataSiloInput, DataSubjectInput, DatapointFilterOptions, DatapointInput, ENTRY_COUNT, EnrichPrivacyRequest, EnricherInput, ExportedPrivacyRequest, FieldInput, IDENTIFIER_BLOCK_LIST, IP_ADDRESS_REGEX, IS_REQUIRED, IdentifierInput, IdentifierNameMap, ImportOnetrustAssessmentsInput, IntlMessage, IntlMessageInput, NONE, NOTIFY_ADDITIONAL_TIME, OneTrustFileFormat, OneTrustPullResource, OneTrustPullSource, ParquetToCsvOneFileOptions, ParsedAttributeInput, PartitionInput, PolicyInput, PreferenceWorkflowConfigInput, PreferenceWorkflowConfigPurposeInput, PrivacyCenterInput, PrivacyRequest, PrivacyRequestInput, PrivacyRequestResponse, PrivacyRequestWithIdentifiers, ProcessingActivityInput, ProcessingPurposeInput, ProcessingPurposePreviewInput, PromptAVendorEmailSettings, PurposeMap, REQUESTS, REQUESTS_COUNT, RETRYABLE_BATCH_STATUSES, RegionInput, RepositoryInput, RequestFileMetadata, RequestFileMetadataResponse, RequestPurposeTrigger, RiskAssignmentInput, RiskLogicInput, SCOPES_BY_TITLE, SCOPE_TITLES, SiloDiscoveryResultInput, SoftwareDevelopmentKitInput, StoredApiKey, SubDataPointCsvPreview, SuccessfulRequest, TR_PULL_RESOURCE_SCOPE_MAP, TR_PUSH_RESOURCE_SCOPE_MAP, TR_YML_RESOURCE_TO_FIELD_NAME, TeamInput, TemplateInput, TranscendInput, TranscendPullConfigurationInput, TranscendPullResource, UPDATE_PRIVACY_REQUEST, USP_STRING_REGEX, VARIABLE_PARAMETERS_NAME, VARIABLE_PARAMETERS_REGEXP, VendorInput, WebhookHeader, WorkflowConfigInput, XdiSyncGroups, appendCsvRowsOrdered, appendCsvSync, approvePrivacyRequests, buildXdiSyncEndpoint, bulkRestartRequests, bulkRetryEnrichers, cancelPrivacyRequests, collectCsvFilesOrExit, collectParquetFilesOrExit, consentManagersToBusinessEntities, createCodePackage, createConsentToken, description, domainToHost, downloadPrivacyRequestFiles, enrichPrivacyRequest, ensureAllDataSubjectsExist, extractClientError, fetchAllAssessmentTemplates, fetchAllRequests, fetchRequestDataSiloActiveCount, fetchRequestsTotalCount, filterNullishValuesFromObject, filterRows, formatRequestForCsv, fuzzyMatchColumns, fuzzySearch, generateCrossAccountApiKeys, getFileMetadataForPrivacyRequests, getGitFilesThatChanged, getUniqueValuesForColumn, initCsvFile, inquirerAutoComplete, inquirerConfirmBoolean, inquirerConfirmText, listDirectories, listFiles, mapColumnsToAttributes, mapColumnsToIdentifiers, mapCsvColumnsToApi, mapCsvRowsToRequestInputs, mapEnumValues, mapRequestEnumValues, markCronIdentifierCompleted, markRequestDataSiloIdsCompleted, markSilentPrivacyRequests, mergeTranscendInputs, name, normalizeIdentifierValue, notifyPrivacyRequestsAdditionalTime, parquetToCsvOneFile, parseAttributesFromString, parseFilePath, parseVariablesFromString, pullAllDatapoints, pullChunkedCustomSiloOutstandingIdentifiers, pullConsentManagerMetrics, pullCronPageOfIdentifiers, pullManualEnrichmentIdentifiersToCsv, pullPrivacyRequests, pullTranscendConfiguration, pullUnstructuredSubDataPointRecommendations, pushCronIdentifiersFromCsv, pushManualEnrichmentIdentifiersFromCsv, readCsv, readSafe, readTranscendYaml, removeLinks, removeUnverifiedRequestIdentifiers, replaceVariablesInYaml, restartPrivacyRequest, retryRequestDataSilos, skipPreflightJobs, skipRequestDataSilos, splitDateRange, streamPrivacyRequestFiles, streamPrivacyRequestsToCsv, submitPrivacyRequest, syncCodePackages, syncConfigurationToTranscend, syncCookies, syncDataSilos, updateCodePackages, updateConsentManagerVersionToLatest, updateOrCreateCookies, uploadConsents, uploadCookiesFromCsv, uploadDataFlowsFromCsv, uploadPrivacyRequestsFromCsv, validateTranscendAuth, version, writeCsv, writeCsvSync, writeLargeCsv, writeTranscendYaml };
174773
+ export { ADMIN_DASH, ADMIN_DASH_DATAPOINTS, ADMIN_DASH_INTEGRATIONS, APPROVE_PRIVACY_REQUEST, ASSESSMENT_TEMPLATES, ActionInput, ActionItemCollectionInput, ActionItemInput, ApiKeyGenerateError, ApiKeyInput, AssessmentAnswerOptionInput, AssessmentDisplayLogicInput, AssessmentInput, AssessmentNestedRuleInput, AssessmentResourceInput, AssessmentRetentionScheduleInput, AssessmentRuleInput, AssessmentSectionInput, AssessmentSectionQuestionInput, AssessmentTemplate, AssessmentTemplateInput, AttestedExtraIdentifiers, AttributeInput, AttributeNameMap, AttributePreview, AttributeValueInput, BLANK, BULK_APPLY, BusinessEntityInput, CANCEL_PRIVACY_REQUEST, CAN_APPLY_IN_BULK, CachedFileState, CachedRequestState, ChunkedDateRange, CodePackageInput, CodePackageSdk, ColumnName, ColumnNameMap, ConsentManageExperienceInput, ConsentManagerInput, ConsentManagerServiceMetadata, ConsentPreferenceTopic, ConsentPreferenceTopicOptionValue, ConsentPurpose, CookieCsvInput, CookieInput, CronIdentifier, CronIdentifierPush, CronIdentifierWithAction, CronPartition, CsvFormattedIdentifier, CsvRow, DEBUG, DEFAULT_TRANSCEND_API, DEFAULT_TRANSCEND_API_KEY, DEFAULT_TRANSCEND_CONSENT_API, DEFAULT_TRANSCEND_PULL_RESOURCES, DataCategoryGuessInput, DataCategoryInput, DataCategoryPreviewInput, DataCategoryRecommendationInput, DataFlowCsvInput, DataFlowInput, DataPointCsvPreview, DataSiloCsvPreview, DataSiloInput, DataSubjectInput, DatapointFilterOptions, DatapointInput, DeletionDependencies, DeletionDependency, DeletionDependencyInput, DeletionDependencyReset, ENTRY_COUNT, EnrichPrivacyRequest, EnricherInput, ExportedPrivacyRequest, FieldInput, IDENTIFIER_BLOCK_LIST, IP_ADDRESS_REGEX, IS_REQUIRED, IdentifierInput, IdentifierNameMap, ImportOnetrustAssessmentsInput, IntlMessage, IntlMessageInput, NONE, NOTIFY_ADDITIONAL_TIME, OneTrustFileFormat, OneTrustPullResource, OneTrustPullSource, ParquetToCsvOneFileOptions, ParsedAttributeInput, PartitionInput, PolicyInput, PreferenceWorkflowConfigInput, PreferenceWorkflowConfigPurposeInput, PrivacyCenterInput, PrivacyRequest, PrivacyRequestInput, PrivacyRequestResponse, PrivacyRequestWithIdentifiers, ProcessingActivityInput, ProcessingPurposeInput, ProcessingPurposePreviewInput, PromptAVendorEmailSettings, PurposeMap, REQUESTS, REQUESTS_COUNT, RETRYABLE_BATCH_STATUSES, RegionInput, RepositoryInput, RequestFileMetadata, RequestFileMetadataResponse, RequestPurposeTrigger, RiskAssignmentInput, RiskLogicInput, SCOPES_BY_TITLE, SCOPE_TITLES, SiloDiscoveryResultInput, SoftwareDevelopmentKitInput, StoredApiKey, SubDataPointCsvPreview, SuccessfulRequest, TR_PULL_RESOURCE_SCOPE_MAP, TR_PUSH_RESOURCE_SCOPE_MAP, TR_YML_RESOURCE_TO_FIELD_NAME, TeamInput, TemplateInput, TranscendInput, TranscendPullConfigurationInput, TranscendPullResource, UPDATE_PRIVACY_REQUEST, USP_STRING_REGEX, VARIABLE_PARAMETERS_NAME, VARIABLE_PARAMETERS_REGEXP, VendorInput, WebhookHeader, WorkflowConfigInput, XdiSyncGroups, appendCsvRowsOrdered, appendCsvSync, approvePrivacyRequests, buildXdiSyncEndpoint, bulkRestartRequests, bulkRetryEnrichers, cancelPrivacyRequests, collectCsvFilesOrExit, collectParquetFilesOrExit, consentManagersToBusinessEntities, createCodePackage, createConsentToken, description, domainToHost, downloadPrivacyRequestFiles, enrichPrivacyRequest, ensureAllDataSubjectsExist, extractClientError, fetchAllAssessmentTemplates, fetchAllRequests, fetchRequestDataSiloActiveCount, fetchRequestsTotalCount, filterNullishValuesFromObject, filterRows, formatRequestForCsv, fuzzyMatchColumns, fuzzySearch, generateCrossAccountApiKeys, getFileMetadataForPrivacyRequests, getGitFilesThatChanged, getUniqueValuesForColumn, initCsvFile, inquirerAutoComplete, inquirerConfirmBoolean, inquirerConfirmText, listDirectories, listFiles, mapColumnsToAttributes, mapColumnsToIdentifiers, mapCsvColumnsToApi, mapCsvRowsToRequestInputs, mapEnumValues, mapRequestEnumValues, markCronIdentifierCompleted, markRequestDataSiloIdsCompleted, markSilentPrivacyRequests, mergeTranscendInputs, name, normalizeIdentifierValue, notifyPrivacyRequestsAdditionalTime, parquetToCsvOneFile, parseAttributesFromString, parseFilePath, parseVariablesFromString, pullAllDatapoints, pullChunkedCustomSiloOutstandingIdentifiers, pullConsentManagerMetrics, pullCronPageOfIdentifiers, pullManualEnrichmentIdentifiersToCsv, pullPrivacyRequests, pullTranscendConfiguration, pullUnstructuredSubDataPointRecommendations, pushCronIdentifiersFromCsv, pushManualEnrichmentIdentifiersFromCsv, readCsv, readSafe, readTranscendYaml, removeLinks, removeUnverifiedRequestIdentifiers, replaceVariablesInYaml, restartPrivacyRequest, retryRequestDataSilos, skipPreflightJobs, skipRequestDataSilos, splitDateRange, streamPrivacyRequestFiles, streamPrivacyRequestsToCsv, submitPrivacyRequest, syncCodePackages, syncConfigurationToTranscend, syncCookies, syncDataSilos, updateCodePackages, updateConsentManagerVersionToLatest, updateOrCreateCookies, uploadConsents, uploadCookiesFromCsv, uploadDataFlowsFromCsv, uploadPrivacyRequestsFromCsv, validateTranscendAuth, version, writeCsv, writeCsvSync, writeLargeCsv, writeTranscendYaml };
174644
174774
  //# sourceMappingURL=index.d.mts.map