@transcend-io/cli 10.1.0 → 10.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (262) hide show
  1. package/dist/{app-Cx8-4u8K.mjs → app-C1m4rExX.mjs} +20 -20
  2. package/dist/{app-Cx8-4u8K.mjs.map → app-C1m4rExX.mjs.map} +1 -1
  3. package/dist/{approvePrivacyRequests-Bjq5cPSI.mjs → approvePrivacyRequests-BIHcACAj.mjs} +2 -2
  4. package/dist/{approvePrivacyRequests-Bjq5cPSI.mjs.map → approvePrivacyRequests-BIHcACAj.mjs.map} +1 -1
  5. package/dist/bin/bash-complete.mjs +1 -1
  6. package/dist/bin/cli.mjs +1 -1
  7. package/dist/bin/deprecated-command.mjs +1 -1
  8. package/dist/{buildXdiSyncEndpoint-DWs9ImOw.mjs → buildXdiSyncEndpoint-CBbcir-p.mjs} +2 -2
  9. package/dist/{buildXdiSyncEndpoint-DWs9ImOw.mjs.map → buildXdiSyncEndpoint-CBbcir-p.mjs.map} +1 -1
  10. package/dist/bulkRestartRequests-ByH7TjH2.mjs +2 -0
  11. package/dist/bulkRestartRequests-ByH7TjH2.mjs.map +1 -0
  12. package/dist/bulkRetryEnrichers-DuYXD-64.mjs +2 -0
  13. package/dist/bulkRetryEnrichers-DuYXD-64.mjs.map +1 -0
  14. package/dist/cancelPrivacyRequests-DMgQOffA.mjs +2 -0
  15. package/dist/cancelPrivacyRequests-DMgQOffA.mjs.map +1 -0
  16. package/dist/{collectCsvFilesOrExit-D-csvd13.mjs → collectCsvFilesOrExit-CbtyKAzu.mjs} +1 -1
  17. package/dist/{collectCsvFilesOrExit-D-csvd13.mjs.map → collectCsvFilesOrExit-CbtyKAzu.mjs.map} +1 -1
  18. package/dist/{collectParquetFilesOrExit-C8qT5_57.mjs → collectParquetFilesOrExit-BJiAyaQ5.mjs} +1 -1
  19. package/dist/{collectParquetFilesOrExit-C8qT5_57.mjs.map → collectParquetFilesOrExit-BJiAyaQ5.mjs.map} +1 -1
  20. package/dist/{command-rzZKmlky.mjs → command-DnoHX-eW.mjs} +2 -2
  21. package/dist/{command-rzZKmlky.mjs.map → command-DnoHX-eW.mjs.map} +1 -1
  22. package/dist/commands/admin/parquet-to-csv/worker.mjs +1 -1
  23. package/dist/{consentManagersToBusinessEntities-D1bdBgnA.mjs → consentManagersToBusinessEntities-BdKDganK.mjs} +1 -1
  24. package/dist/{consentManagersToBusinessEntities-D1bdBgnA.mjs.map → consentManagersToBusinessEntities-BdKDganK.mjs.map} +1 -1
  25. package/dist/{constants-mjLYTIJm.mjs → constants-BmwXDQu9.mjs} +2 -2
  26. package/dist/{constants-mjLYTIJm.mjs.map → constants-BmwXDQu9.mjs.map} +1 -1
  27. package/dist/{constants-DYbzl8QH.mjs → constants-ClkQQhJs.mjs} +1 -1
  28. package/dist/{constants-DYbzl8QH.mjs.map → constants-ClkQQhJs.mjs.map} +1 -1
  29. package/dist/{constants-XOsAW1__.mjs → constants-muOBBQA_.mjs} +2 -2
  30. package/dist/{constants-XOsAW1__.mjs.map → constants-muOBBQA_.mjs.map} +1 -1
  31. package/dist/{createExtraKeyHandler-Jp5XpTJi.mjs → createExtraKeyHandler-srtG2U7q.mjs} +2 -2
  32. package/dist/{createExtraKeyHandler-Jp5XpTJi.mjs.map → createExtraKeyHandler-srtG2U7q.mjs.map} +1 -1
  33. package/dist/{dataFlowsToDataSilos-DUj1NhOt.mjs → dataFlowsToDataSilos-Ca2DtTsd.mjs} +1 -1
  34. package/dist/{dataFlowsToDataSilos-DUj1NhOt.mjs.map → dataFlowsToDataSilos-Ca2DtTsd.mjs.map} +1 -1
  35. package/dist/{done-input-validation-C5rgR0Wr.mjs → done-input-validation-BcNBxhEs.mjs} +1 -1
  36. package/dist/{done-input-validation-C5rgR0Wr.mjs.map → done-input-validation-BcNBxhEs.mjs.map} +1 -1
  37. package/dist/{downloadPrivacyRequestFiles-GUbd_PRc.mjs → downloadPrivacyRequestFiles-kKhGnFmx.mjs} +2 -2
  38. package/dist/{downloadPrivacyRequestFiles-GUbd_PRc.mjs.map → downloadPrivacyRequestFiles-kKhGnFmx.mjs.map} +1 -1
  39. package/dist/{extractClientError-X9wJVqGq.mjs → extractClientError-i-Tw_az7.mjs} +1 -1
  40. package/dist/{extractClientError-X9wJVqGq.mjs.map → extractClientError-i-Tw_az7.mjs.map} +1 -1
  41. package/dist/{fetchAllRequests-xGgt_STo.mjs → fetchAllRequests-CHHdyb4Q.mjs} +2 -2
  42. package/dist/{fetchAllRequests-xGgt_STo.mjs.map → fetchAllRequests-CHHdyb4Q.mjs.map} +1 -1
  43. package/dist/generateCrossAccountApiKeys-C7yH3Rbi.mjs +2 -0
  44. package/dist/generateCrossAccountApiKeys-C7yH3Rbi.mjs.map +1 -0
  45. package/dist/{impl-B-PzeHxN.mjs → impl-3VLH9aat.mjs} +2 -2
  46. package/dist/{impl-B-PzeHxN.mjs.map → impl-3VLH9aat.mjs.map} +1 -1
  47. package/dist/{impl-iGMjSniP.mjs → impl-3sDUDXru.mjs} +2 -2
  48. package/dist/{impl-iGMjSniP.mjs.map → impl-3sDUDXru.mjs.map} +1 -1
  49. package/dist/{impl-DfVep2mE.mjs → impl-6mCOBlSD.mjs} +2 -2
  50. package/dist/{impl-DfVep2mE.mjs.map → impl-6mCOBlSD.mjs.map} +1 -1
  51. package/dist/impl-84ylH4aO.mjs +2 -0
  52. package/dist/{impl-BVHfSIVG.mjs.map → impl-84ylH4aO.mjs.map} +1 -1
  53. package/dist/impl-B62XN4tV.mjs +2 -0
  54. package/dist/impl-B62XN4tV.mjs.map +1 -0
  55. package/dist/{impl-BMnXA_Vd.mjs → impl-B9BsXBxS.mjs} +2 -2
  56. package/dist/{impl-BMnXA_Vd.mjs.map → impl-B9BsXBxS.mjs.map} +1 -1
  57. package/dist/{impl-C3DXXn8M.mjs → impl-BNqmxytJ.mjs} +2 -2
  58. package/dist/{impl-C3DXXn8M.mjs.map → impl-BNqmxytJ.mjs.map} +1 -1
  59. package/dist/{impl-Dw9uW5zy2.mjs → impl-BYf4MpWP.mjs} +2 -2
  60. package/dist/impl-BYf4MpWP.mjs.map +1 -0
  61. package/dist/{impl-BBKJIP0Q.mjs → impl-BaC9iEO_.mjs} +2 -2
  62. package/dist/{impl-BBKJIP0Q.mjs.map → impl-BaC9iEO_.mjs.map} +1 -1
  63. package/dist/{impl-CpJljZV2.mjs → impl-BhDS0QIt.mjs} +2 -2
  64. package/dist/{impl-CpJljZV2.mjs.map → impl-BhDS0QIt.mjs.map} +1 -1
  65. package/dist/{impl-CqH3YYuv.mjs → impl-BjCQSRLu.mjs} +2 -2
  66. package/dist/{impl-CqH3YYuv.mjs.map → impl-BjCQSRLu.mjs.map} +1 -1
  67. package/dist/{impl-Cpndlxar.mjs → impl-BjIylEKQ.mjs} +2 -2
  68. package/dist/{impl-Cpndlxar.mjs.map → impl-BjIylEKQ.mjs.map} +1 -1
  69. package/dist/{impl-BBnnC5xq.mjs → impl-BwrEi3s7.mjs} +2 -2
  70. package/dist/{impl-BBnnC5xq.mjs.map → impl-BwrEi3s7.mjs.map} +1 -1
  71. package/dist/{impl-DKAV-8XC.mjs → impl-C4AI1Fsj.mjs} +2 -2
  72. package/dist/{impl-DKAV-8XC.mjs.map → impl-C4AI1Fsj.mjs.map} +1 -1
  73. package/dist/{impl-BKrNGF2F.mjs → impl-CCAeEeMR.mjs} +2 -2
  74. package/dist/{impl-BKrNGF2F.mjs.map → impl-CCAeEeMR.mjs.map} +1 -1
  75. package/dist/{impl-BRiRfzgu.mjs → impl-CFI5y5U-.mjs} +2 -2
  76. package/dist/{impl-BRiRfzgu.mjs.map → impl-CFI5y5U-.mjs.map} +1 -1
  77. package/dist/{impl-CC0rkA9s.mjs → impl-CIfRN0ux.mjs} +2 -2
  78. package/dist/{impl-CC0rkA9s.mjs.map → impl-CIfRN0ux.mjs.map} +1 -1
  79. package/dist/{impl-DhXQb3bm.mjs → impl-CLznNZ5F.mjs} +2 -2
  80. package/dist/{impl-DhXQb3bm.mjs.map → impl-CLznNZ5F.mjs.map} +1 -1
  81. package/dist/{impl-DpwyYsfg.mjs → impl-CUdo0Jyh.mjs} +2 -2
  82. package/dist/{impl-DpwyYsfg.mjs.map → impl-CUdo0Jyh.mjs.map} +1 -1
  83. package/dist/{impl-CvJtt8H2.mjs → impl-Cmj1Vi5Q.mjs} +2 -2
  84. package/dist/{impl-CvJtt8H2.mjs.map → impl-Cmj1Vi5Q.mjs.map} +1 -1
  85. package/dist/{impl-BVnfUDUm.mjs → impl-Cw3_0zqC.mjs} +2 -2
  86. package/dist/{impl-BVnfUDUm.mjs.map → impl-Cw3_0zqC.mjs.map} +1 -1
  87. package/dist/{impl-DaK9UOwL.mjs → impl-CzvCA0Ev.mjs} +2 -2
  88. package/dist/{impl-DaK9UOwL.mjs.map → impl-CzvCA0Ev.mjs.map} +1 -1
  89. package/dist/{impl-BffzTHKU.mjs → impl-D1DmW5-P.mjs} +2 -2
  90. package/dist/{impl-BffzTHKU.mjs.map → impl-D1DmW5-P.mjs.map} +1 -1
  91. package/dist/{impl-Cy8-6_Oo2.mjs → impl-D41c_KGj.mjs} +2 -2
  92. package/dist/impl-D41c_KGj.mjs.map +1 -0
  93. package/dist/impl-DEpCg7UP.mjs +2 -0
  94. package/dist/impl-DEpCg7UP.mjs.map +1 -0
  95. package/dist/{impl-BSKl6rC6.mjs → impl-DHOh4ypd.mjs} +2 -2
  96. package/dist/{impl-BSKl6rC6.mjs.map → impl-DHOh4ypd.mjs.map} +1 -1
  97. package/dist/{impl-StdJMCiM.mjs → impl-DJg0Ibxs.mjs} +2 -2
  98. package/dist/{impl-StdJMCiM.mjs.map → impl-DJg0Ibxs.mjs.map} +1 -1
  99. package/dist/{impl-ogUHfunr.mjs → impl-DUdbbIpf.mjs} +2 -2
  100. package/dist/{impl-ogUHfunr.mjs.map → impl-DUdbbIpf.mjs.map} +1 -1
  101. package/dist/{impl-CODwodEc.mjs → impl-DXHqqWJb.mjs} +2 -2
  102. package/dist/{impl-CODwodEc.mjs.map → impl-DXHqqWJb.mjs.map} +1 -1
  103. package/dist/{impl-CnHiD4zU.mjs → impl-DXaA3sMt.mjs} +2 -2
  104. package/dist/{impl-CnHiD4zU.mjs.map → impl-DXaA3sMt.mjs.map} +1 -1
  105. package/dist/{impl-CPIMsZg-.mjs → impl-Dl4RcPKp.mjs} +2 -2
  106. package/dist/{impl-CPIMsZg-.mjs.map → impl-Dl4RcPKp.mjs.map} +1 -1
  107. package/dist/{impl-CZsYoSZQ.mjs → impl-DvAwxl6Z.mjs} +2 -2
  108. package/dist/{impl-CZsYoSZQ.mjs.map → impl-DvAwxl6Z.mjs.map} +1 -1
  109. package/dist/{impl-D_AxguFh2.mjs → impl-GRdcDZQ4.mjs} +2 -2
  110. package/dist/impl-GRdcDZQ4.mjs.map +1 -0
  111. package/dist/{impl-DJ4VCAcc.mjs → impl-UMb9wjra.mjs} +2 -2
  112. package/dist/{impl-DJ4VCAcc.mjs.map → impl-UMb9wjra.mjs.map} +1 -1
  113. package/dist/{impl-BxOydpyJ.mjs → impl-Yq33AV90.mjs} +2 -2
  114. package/dist/{impl-BxOydpyJ.mjs.map → impl-Yq33AV90.mjs.map} +1 -1
  115. package/dist/{impl-BGGm947r2.mjs → impl-aGDJJgGc.mjs} +2 -2
  116. package/dist/impl-aGDJJgGc.mjs.map +1 -0
  117. package/dist/{impl-DvrSuAJv.mjs → impl-fZQxhZRu.mjs} +2 -2
  118. package/dist/{impl-DvrSuAJv.mjs.map → impl-fZQxhZRu.mjs.map} +1 -1
  119. package/dist/{impl-C-u5h8We.mjs → impl-gitQPEo3.mjs} +2 -2
  120. package/dist/{impl-C-u5h8We.mjs.map → impl-gitQPEo3.mjs.map} +1 -1
  121. package/dist/impl-i-vquwbD.mjs +2 -0
  122. package/dist/impl-i-vquwbD.mjs.map +1 -0
  123. package/dist/{impl-B6TXE2oE.mjs → impl-iteb85IZ.mjs} +2 -2
  124. package/dist/{impl-B6TXE2oE.mjs.map → impl-iteb85IZ.mjs.map} +1 -1
  125. package/dist/{impl-uwkj-RbF.mjs → impl-tYtVXUz2.mjs} +2 -2
  126. package/dist/{impl-uwkj-RbF.mjs.map → impl-tYtVXUz2.mjs.map} +1 -1
  127. package/dist/{impl-yvc0y1uO.mjs → impl-wcRtA0L3.mjs} +2 -2
  128. package/dist/{impl-yvc0y1uO.mjs.map → impl-wcRtA0L3.mjs.map} +1 -1
  129. package/dist/{impl-DpGVNllB.mjs → impl-xtlx25UP.mjs} +2 -2
  130. package/dist/{impl-DpGVNllB.mjs.map → impl-xtlx25UP.mjs.map} +1 -1
  131. package/dist/{impl-Cw10WeUv.mjs → impl-yMumZUUX.mjs} +2 -2
  132. package/dist/{impl-Cw10WeUv.mjs.map → impl-yMumZUUX.mjs.map} +1 -1
  133. package/dist/index.d.mts +842 -1645
  134. package/dist/index.d.mts.map +1 -1
  135. package/dist/index.mjs +4 -4
  136. package/dist/index.mjs.map +1 -1
  137. package/dist/{inquirer-DyRwhvoh.mjs → inquirer-BqZXFEt1.mjs} +2 -2
  138. package/dist/{inquirer-DyRwhvoh.mjs.map → inquirer-BqZXFEt1.mjs.map} +1 -1
  139. package/dist/{listFiles-Odj7j2E1.mjs → listFiles-D2wMHnEr.mjs} +1 -1
  140. package/dist/{listFiles-Odj7j2E1.mjs.map → listFiles-D2wMHnEr.mjs.map} +1 -1
  141. package/dist/markRequestDataSiloIdsCompleted-BaVxVfDe.mjs +2 -0
  142. package/dist/markRequestDataSiloIdsCompleted-BaVxVfDe.mjs.map +1 -0
  143. package/dist/{markSilentPrivacyRequests-ytCzpUkY.mjs → markSilentPrivacyRequests-miaumnaC.mjs} +2 -2
  144. package/dist/{markSilentPrivacyRequests-ytCzpUkY.mjs.map → markSilentPrivacyRequests-miaumnaC.mjs.map} +1 -1
  145. package/dist/notifyPrivacyRequestsAdditionalTime-BUdhSCNL.mjs +2 -0
  146. package/dist/notifyPrivacyRequestsAdditionalTime-BUdhSCNL.mjs.map +1 -0
  147. package/dist/{parquetToCsvOneFile-bgEgRoAi.mjs → parquetToCsvOneFile-B84XXInh.mjs} +1 -1
  148. package/dist/{parquetToCsvOneFile-bgEgRoAi.mjs.map → parquetToCsvOneFile-B84XXInh.mjs.map} +1 -1
  149. package/dist/{parseAttributesFromString-B8h4DudO.mjs → parseAttributesFromString-D1Yl0xwT.mjs} +2 -2
  150. package/dist/{parseAttributesFromString-B8h4DudO.mjs.map → parseAttributesFromString-D1Yl0xwT.mjs.map} +1 -1
  151. package/dist/parseVariablesFromString-BeKOGw5n.mjs +3 -0
  152. package/dist/parseVariablesFromString-BeKOGw5n.mjs.map +1 -0
  153. package/dist/pullAllDatapoints-Bbmky50p.mjs +45 -0
  154. package/dist/pullAllDatapoints-Bbmky50p.mjs.map +1 -0
  155. package/dist/pullChunkedCustomSiloOutstandingIdentifiers-BW5Vws25.mjs +2 -0
  156. package/dist/pullChunkedCustomSiloOutstandingIdentifiers-BW5Vws25.mjs.map +1 -0
  157. package/dist/{pullConsentManagerMetrics-BO0hYPDG.mjs → pullConsentManagerMetrics-zKgjc3Ap.mjs} +1 -1
  158. package/dist/{pullConsentManagerMetrics-BO0hYPDG.mjs.map → pullConsentManagerMetrics-zKgjc3Ap.mjs.map} +1 -1
  159. package/dist/pullManualEnrichmentIdentifiersToCsv-kpGy9H7T.mjs +2 -0
  160. package/dist/pullManualEnrichmentIdentifiersToCsv-kpGy9H7T.mjs.map +1 -0
  161. package/dist/pullTranscendConfiguration-DjOELnPo.mjs +58 -0
  162. package/dist/pullTranscendConfiguration-DjOELnPo.mjs.map +1 -0
  163. package/dist/{pullUnstructuredSubDataPointRecommendations-jE-tdoVK.mjs → pullUnstructuredSubDataPointRecommendations-D0z-vPgq.mjs} +3 -3
  164. package/dist/{pullUnstructuredSubDataPointRecommendations-jE-tdoVK.mjs.map → pullUnstructuredSubDataPointRecommendations-D0z-vPgq.mjs.map} +1 -1
  165. package/dist/{pushCronIdentifiersFromCsv-D9Hzna0W.mjs → pushCronIdentifiersFromCsv-BZRA1n_8.mjs} +2 -2
  166. package/dist/{pushCronIdentifiersFromCsv-D9Hzna0W.mjs.map → pushCronIdentifiersFromCsv-BZRA1n_8.mjs.map} +1 -1
  167. package/dist/{pushManualEnrichmentIdentifiersFromCsv-BiR7PS_d.mjs → pushManualEnrichmentIdentifiersFromCsv-DXqf8WWy.mjs} +2 -2
  168. package/dist/{pushManualEnrichmentIdentifiersFromCsv-BiR7PS_d.mjs.map → pushManualEnrichmentIdentifiersFromCsv-DXqf8WWy.mjs.map} +1 -1
  169. package/dist/{readCsv-0PIlJQCN.mjs → readCsv-C4TyEs-r.mjs} +1 -1
  170. package/dist/{readCsv-0PIlJQCN.mjs.map → readCsv-C4TyEs-r.mjs.map} +1 -1
  171. package/dist/removeUnverifiedRequestIdentifiers-BxWSsJit.mjs +2 -0
  172. package/dist/removeUnverifiedRequestIdentifiers-BxWSsJit.mjs.map +1 -0
  173. package/dist/{request-SLqRySNU.mjs → request-DfkRPQFr.mjs} +1 -1
  174. package/dist/{request-SLqRySNU.mjs.map → request-DfkRPQFr.mjs.map} +1 -1
  175. package/dist/retryRequestDataSilos-BVrJz_GC.mjs +2 -0
  176. package/dist/retryRequestDataSilos-BVrJz_GC.mjs.map +1 -0
  177. package/dist/skipPreflightJobs-CYuoMG3z.mjs +2 -0
  178. package/dist/skipPreflightJobs-CYuoMG3z.mjs.map +1 -0
  179. package/dist/skipRequestDataSilos-BNspAsjR.mjs +2 -0
  180. package/dist/skipRequestDataSilos-BNspAsjR.mjs.map +1 -0
  181. package/dist/streamPrivacyRequestsToCsv-PoyTmQd6.mjs +2 -0
  182. package/dist/streamPrivacyRequestsToCsv-PoyTmQd6.mjs.map +1 -0
  183. package/dist/{syncCodePackages-BOS5foh6.mjs → syncCodePackages-CAk_Hjyl.mjs} +1 -1
  184. package/dist/{syncCodePackages-BOS5foh6.mjs.map → syncCodePackages-CAk_Hjyl.mjs.map} +1 -1
  185. package/dist/updateConsentManagerVersionToLatest-lAw3E1wm.mjs +2 -0
  186. package/dist/updateConsentManagerVersionToLatest-lAw3E1wm.mjs.map +1 -0
  187. package/dist/{uploadConsents-BP5XILuw.mjs → uploadConsents-BzmWrNc1.mjs} +2 -2
  188. package/dist/{uploadConsents-BP5XILuw.mjs.map → uploadConsents-BzmWrNc1.mjs.map} +1 -1
  189. package/dist/{uploadCookiesFromCsv-B42cZgYW.mjs → uploadCookiesFromCsv-TH10UBgw.mjs} +2 -2
  190. package/dist/{uploadCookiesFromCsv-B42cZgYW.mjs.map → uploadCookiesFromCsv-TH10UBgw.mjs.map} +1 -1
  191. package/dist/{uploadDataFlowsFromCsv-D2V567pP.mjs → uploadDataFlowsFromCsv-DUSFCae9.mjs} +2 -2
  192. package/dist/{uploadDataFlowsFromCsv-D2V567pP.mjs.map → uploadDataFlowsFromCsv-DUSFCae9.mjs.map} +1 -1
  193. package/dist/uploadPrivacyRequestsFromCsv-sKSFfE6q.mjs +2 -0
  194. package/dist/uploadPrivacyRequestsFromCsv-sKSFfE6q.mjs.map +1 -0
  195. package/dist/{validateTranscendAuth-DCwAtgvh.mjs → validateTranscendAuth-Cuh2Qfdl.mjs} +1 -1
  196. package/dist/{validateTranscendAuth-DCwAtgvh.mjs.map → validateTranscendAuth-Cuh2Qfdl.mjs.map} +1 -1
  197. package/dist/{writeCsv-Da8NUe1V.mjs → writeCsv-C4pjXGsD.mjs} +1 -1
  198. package/dist/{writeCsv-Da8NUe1V.mjs.map → writeCsv-C4pjXGsD.mjs.map} +1 -1
  199. package/package.json +6 -6
  200. package/dist/RequestDataSilo-Rrc2dL9g.mjs +0 -54
  201. package/dist/RequestDataSilo-Rrc2dL9g.mjs.map +0 -1
  202. package/dist/bulkRestartRequests-sie3tM3W.mjs +0 -2
  203. package/dist/bulkRestartRequests-sie3tM3W.mjs.map +0 -1
  204. package/dist/bulkRetryEnrichers-C1RrxiTR.mjs +0 -2
  205. package/dist/bulkRetryEnrichers-C1RrxiTR.mjs.map +0 -1
  206. package/dist/cancelPrivacyRequests-DmvFijq_.mjs +0 -2
  207. package/dist/cancelPrivacyRequests-DmvFijq_.mjs.map +0 -1
  208. package/dist/dataSilo-Dvi8-PkH.mjs +0 -302
  209. package/dist/dataSilo-Dvi8-PkH.mjs.map +0 -1
  210. package/dist/dataSubject-CF784Ug0.mjs +0 -92
  211. package/dist/dataSubject-CF784Ug0.mjs.map +0 -1
  212. package/dist/fetchAllRequestEnrichers-Bt97Bb7F.mjs +0 -42
  213. package/dist/fetchAllRequestEnrichers-Bt97Bb7F.mjs.map +0 -1
  214. package/dist/fetchAllRequestIdentifiers-BXx3rSee.mjs +0 -10
  215. package/dist/fetchAllRequestIdentifiers-BXx3rSee.mjs.map +0 -1
  216. package/dist/fetchRequestDataSilo-0UvyeL60.mjs +0 -2
  217. package/dist/fetchRequestDataSilo-0UvyeL60.mjs.map +0 -1
  218. package/dist/fetchRequestFilesForRequest-CJH2iB-P.mjs +0 -33
  219. package/dist/fetchRequestFilesForRequest-CJH2iB-P.mjs.map +0 -1
  220. package/dist/generateCrossAccountApiKeys-DztJoLQS.mjs +0 -2
  221. package/dist/generateCrossAccountApiKeys-DztJoLQS.mjs.map +0 -1
  222. package/dist/impl-BGGm947r2.mjs.map +0 -1
  223. package/dist/impl-BVHfSIVG.mjs +0 -2
  224. package/dist/impl-BfeWet_F2.mjs +0 -2
  225. package/dist/impl-BfeWet_F2.mjs.map +0 -1
  226. package/dist/impl-Cy8-6_Oo2.mjs.map +0 -1
  227. package/dist/impl-D_AxguFh2.mjs.map +0 -1
  228. package/dist/impl-Dw9uW5zy2.mjs.map +0 -1
  229. package/dist/impl-PdIU1pLr2.mjs +0 -2
  230. package/dist/impl-PdIU1pLr2.mjs.map +0 -1
  231. package/dist/impl-daUiLV3c.mjs +0 -2
  232. package/dist/impl-daUiLV3c.mjs.map +0 -1
  233. package/dist/markRequestDataSiloIdsCompleted-DJSICILv.mjs +0 -2
  234. package/dist/markRequestDataSiloIdsCompleted-DJSICILv.mjs.map +0 -1
  235. package/dist/notifyPrivacyRequestsAdditionalTime-D8v68eAg.mjs +0 -2
  236. package/dist/notifyPrivacyRequestsAdditionalTime-D8v68eAg.mjs.map +0 -1
  237. package/dist/parseVariablesFromString-CvoeZZ75.mjs +0 -23
  238. package/dist/parseVariablesFromString-CvoeZZ75.mjs.map +0 -1
  239. package/dist/pullAllDatapoints-CqgqXRbp.mjs +0 -45
  240. package/dist/pullAllDatapoints-CqgqXRbp.mjs.map +0 -1
  241. package/dist/pullChunkedCustomSiloOutstandingIdentifiers-DaYEDZ66.mjs +0 -2
  242. package/dist/pullChunkedCustomSiloOutstandingIdentifiers-DaYEDZ66.mjs.map +0 -1
  243. package/dist/pullManualEnrichmentIdentifiersToCsv-BNuhsG20.mjs +0 -2
  244. package/dist/pullManualEnrichmentIdentifiersToCsv-BNuhsG20.mjs.map +0 -1
  245. package/dist/pullTranscendConfiguration-DSyMRyPe.mjs +0 -58
  246. package/dist/pullTranscendConfiguration-DSyMRyPe.mjs.map +0 -1
  247. package/dist/removeUnverifiedRequestIdentifiers-B0Gx09XN.mjs +0 -35
  248. package/dist/removeUnverifiedRequestIdentifiers-B0Gx09XN.mjs.map +0 -1
  249. package/dist/retryRequestDataSilos-DFjFhhC0.mjs +0 -2
  250. package/dist/retryRequestDataSilos-DFjFhhC0.mjs.map +0 -1
  251. package/dist/skipPreflightJobs-Bm8lZZk-.mjs +0 -2
  252. package/dist/skipPreflightJobs-Bm8lZZk-.mjs.map +0 -1
  253. package/dist/skipRequestDataSilos-B5FByYTj.mjs +0 -2
  254. package/dist/skipRequestDataSilos-B5FByYTj.mjs.map +0 -1
  255. package/dist/streamPrivacyRequestsToCsv-CBzh80oQ.mjs +0 -2
  256. package/dist/streamPrivacyRequestsToCsv-CBzh80oQ.mjs.map +0 -1
  257. package/dist/syncEnrichers-C9HcWCrs.mjs +0 -3
  258. package/dist/syncEnrichers-C9HcWCrs.mjs.map +0 -1
  259. package/dist/updateConsentManagerVersionToLatest-X1HAM_IX.mjs +0 -2
  260. package/dist/updateConsentManagerVersionToLatest-X1HAM_IX.mjs.map +0 -1
  261. package/dist/uploadPrivacyRequestsFromCsv-Czc3vGfJ.mjs +0 -2
  262. package/dist/uploadPrivacyRequestsFromCsv-Czc3vGfJ.mjs.map +0 -1
package/dist/index.d.mts CHANGED
@@ -1,11 +1,11 @@
1
1
  import { CommandContext } from "@stricli/core";
2
2
  import { StricliAutoCompleteContext } from "@stricli/auto-complete";
3
- import { AssessmentFormTemplateSource, AssessmentFormTemplateStatus, CodePackageType, ConfidenceLabel, ConsentBundleType, ConsentTrackerStatus, DataCategoryType, EnricherType, IdentifierType, IsoCountryCode, IsoCountrySubdivisionCode, LargeLanguageModelClient, LogicOperator, PreflightRequestStatus, PromptAVendorEmailCompletionLinkType, PromptAVendorEmailSendType, RequestAction, RequestActionObjectResolver, RequestDataSiloStatus, RequestEnricherStatus, RequestOrigin, RequestStatus, ScopeDefinition, ScopeName, SubDataPointDataSubCategoryGuessStatus, UnstructuredSubDataPointRecommendationStatus } from "@transcend-io/privacy-types";
3
+ import { AssessmentFormTemplateSource, AssessmentFormTemplateStatus, CodePackageType, ConsentBundleType, ConsentTrackerStatus, DataCategoryType, IdentifierType, LargeLanguageModelClient, LogicOperator, RequestAction, RequestDataSiloStatus, RequestEnricherStatus, RequestOrigin, RequestStatus, ScopeDefinition, ScopeName, SubDataPointDataSubCategoryGuessStatus, UnstructuredSubDataPointRecommendationStatus } from "@transcend-io/privacy-types";
4
4
  import { ObjByString, Optionalize, Requirize } from "@transcend-io/type-utils";
5
5
  import * as t from "io-ts";
6
- import { Agent, AgentFile, AgentFileFilterBy, ApiKey, AssessmentSection, CodePackage, ConsentManagerMetric, ConsentManagerMetricBin, Identifier, LargeLanguageModel, PromptThread, ReportPromptRunInput, RetentionSchedule, TranscendPromptTemplated, TranscendPromptsAndVariables, UserPreview } from "@transcend-io/sdk";
7
- import { GraphQLClient } from "graphql-request";
6
+ import { Agent, AgentFile, AgentFileFilterBy, ApiKey, AssessmentSection, AttributeKey, CodePackage, ConsentManagerMetric, ConsentManagerMetricBin, DataSiloAttributeValue, DataSubject, LargeLanguageModel, PromptThread, ReportPromptRunInput, RequestEnricher, RequestIdentifier, RetentionSchedule, TranscendPromptTemplated, TranscendPromptsAndVariables, UserPreview } from "@transcend-io/sdk";
8
7
  import inquirer from "inquirer";
8
+ import { GraphQLClient } from "graphql-request";
9
9
  import * as io_ts_types0 from "io-ts-types";
10
10
  import { PersistedState } from "@transcend-io/persisted-state";
11
11
  import { Handlebars, HandlebarsInput } from "@transcend-io/handlebars-utils";
@@ -133830,267 +133830,63 @@ declare function mapRequestEnumValues(client: GraphQLClient, requests: ObjByStri
133830
133830
  columnNameMap: ColumnNameMap;
133831
133831
  }): Promise<void>;
133832
133832
  //#endregion
133833
- //#region src/lib/graphql/fetchAllAssessmentTemplates.d.ts
133833
+ //#region src/lib/requests/mapColumnsToAttributes.d.ts
133834
133834
  /**
133835
- * Represents an assessment template with various properties and metadata.
133835
+ * Mapping from attribute name to request input parameter
133836
133836
  */
133837
- interface AssessmentTemplate {
133838
- /** The ID of the assessment template */
133839
- id: string;
133840
- /** The user who created the assessment template */
133841
- creator: UserPreview;
133842
- /** The user who last edited the assessment template */
133843
- lastEditor: UserPreview;
133844
- /** The title of the assessment template */
133845
- title: string;
133846
- /** The description of the assessment template */
133847
- description: string;
133848
- /** The current status of the assessment template */
133849
- status: AssessmentFormTemplateStatus;
133850
- /** The source fo the form template */
133851
- source: AssessmentFormTemplateSource;
133852
- /** ID of parent template */
133853
- parentId: string;
133854
- /** Indicates if the assessment template is locked */
133855
- isLocked: boolean;
133856
- /** Indicates if the assessment template is archived */
133857
- isArchived: boolean;
133858
- /** The date when the assessment template was created */
133859
- createdAt: string;
133860
- /** The date when the assessment template was last updated */
133861
- updatedAt: string;
133862
- /** The retention schedule of the assessment template */
133863
- retentionSchedule?: RetentionSchedule;
133864
- /** The sections of the assessment template */
133865
- sections: AssessmentSection[];
133866
- }
133837
+ type AttributeNameMap = { [k in string]: string };
133867
133838
  /**
133868
- * Fetch all assessment templates in the organization
133839
+ * Create a mapping from the attributes names that can be included
133840
+ * at request submission, to the names of the columns that map to those
133841
+ * attributes.
133869
133842
  *
133870
133843
  * @param client - GraphQL client
133871
- * @returns All assessment templates in the organization
133844
+ * @param columnNames - The set of all column names
133845
+ * @param state - Cached state of this mapping
133846
+ * @param requestAttributeKeys - Attribute keys to map
133847
+ * @returns Mapping from attributes name to column name
133872
133848
  */
133873
- declare function fetchAllAssessmentTemplates(client: GraphQLClient): Promise<AssessmentTemplate[]>;
133849
+ declare function mapColumnsToAttributes(client: GraphQLClient, columnNames: string[], state: PersistedState<typeof CachedFileState>, requestAttributeKeys: AttributeKey[]): Promise<AttributeNameMap>;
133874
133850
  //#endregion
133875
- //#region src/lib/graphql/fetchAllAttributeKeys.d.ts
133876
- interface AttributeKey {
133877
- /** ID of attribute key */
133878
- id: string;
133879
- /** Name of attribute key */
133880
- name: string;
133881
- /** Attribute key type */
133882
- type: string;
133883
- }
133851
+ //#region src/lib/requests/mapColumnsToIdentifiers.d.ts
133884
133852
  /**
133885
- * Fetch all attribute keys enabled for privacy requests
133886
- *
133887
- * @param client - GraphQL client
133888
- * @returns All attribute keys in the organization
133853
+ * Mapping from identifier name to request input parameter
133889
133854
  */
133890
- declare function fetchAllRequestAttributeKeys(client: GraphQLClient): Promise<AttributeKey[]>;
133891
- //#endregion
133892
- //#region src/lib/graphql/fetchAllRequestEnrichers.d.ts
133893
- interface RequestEnricher {
133894
- /** ID of request enricher */
133895
- id: string;
133896
- /** Name of identifier */
133897
- enricher: {
133898
- /** ID of enricher */id: string; /** Title of enricher */
133899
- title: string; /** Typeof of enricher */
133900
- type: string;
133901
- };
133902
- /** The status of the enricher */
133903
- status: RequestEnricherStatus;
133904
- }
133855
+ type IdentifierNameMap = { [k in string]: string };
133905
133856
  /**
133906
- * Fetch all request enrichers for a particular request
133857
+ * Create a mapping from the identifier names that can be included
133858
+ * at request submission, to the names of the columns that map to those
133859
+ * identifiers.
133907
133860
  *
133908
133861
  * @param client - GraphQL client
133909
- * @param options - Filter options
133910
- * @returns List of request enrichers
133862
+ * @param columnNames - The set of all column names
133863
+ * @param state - Cached state of this mapping
133864
+ * @returns Mapping from identifier name to column name
133911
133865
  */
133912
- declare function fetchAllRequestEnrichers(client: GraphQLClient, {
133913
- requestId
133914
- }: {
133915
- /** ID of request to filter on */requestId: string;
133916
- }): Promise<RequestEnricher[]>;
133866
+ declare function mapColumnsToIdentifiers(client: GraphQLClient, columnNames: string[], state: PersistedState<typeof CachedFileState>): Promise<IdentifierNameMap>;
133917
133867
  //#endregion
133918
- //#region src/lib/graphql/fetchAllRequestIdentifierMetadata.d.ts
133919
- interface RequestIdentifierMetadata {
133920
- /** ID of request identifier */
133921
- id: string;
133922
- /** Name of identifier */
133923
- name: string;
133924
- /** Status of identifier */
133925
- isVerifiedAtLeastOnce: boolean;
133926
- }
133868
+ //#region src/lib/requests/mapCsvRowsToRequestInputs.d.ts
133927
133869
  /**
133928
- * Fetch all request identifier metadata for a particular request
133870
+ * Shape of additional identifiers
133929
133871
  *
133930
- * @param client - GraphQL client
133931
- * @param options - Filter options
133932
- * @returns List of request identifiers
133872
+ * key of object is IdentifierType
133933
133873
  */
133934
- declare function fetchAllRequestIdentifierMetadata(client: GraphQLClient, {
133935
- requestId,
133936
- requestIds,
133937
- updatedAtBefore,
133938
- updatedAtAfter
133939
- }: {
133940
- /** ID of request to filter on */requestId?: string; /** IDs of requests to filter on */
133941
- requestIds?: string[]; /** Filter for request identifiers updated before this date */
133942
- updatedAtBefore?: Date; /** Filter for request identifiers updated after this date */
133943
- updatedAtAfter?: Date;
133944
- }): Promise<RequestIdentifierMetadata[]>;
133945
- //#endregion
133946
- //#region src/lib/graphql/fetchAllRequestIdentifiers.d.ts
133947
- declare const RequestIdentifier: t.TypeC<{
133948
- /** ID of request */id: t.StringC; /** Name of identifier */
133949
- name: t.StringC; /** The underlying identifier value */
133950
- value: t.StringC; /** Type of identifier */
133951
- type: t.KeyofC<{
133952
- email: unknown;
133953
- phone: unknown;
133954
- transcend: unknown;
133955
- coreIdentifier: unknown;
133956
- custom: unknown;
133957
- gaid: unknown;
133958
- idfa: unknown;
133959
- idfv: unknown;
133960
- browserId: unknown;
133961
- microsoftAdvertisingId: unknown;
133962
- amazonFireAdvertisingId: unknown;
133963
- rida: unknown;
133964
- filestackHandle: unknown;
133965
- stripeId: unknown;
133966
- braintreeCustomerId: unknown;
133967
- chargebeeId: unknown;
133968
- thriveTrmContactId: unknown;
133969
- talkableUUID: unknown;
133970
- recurlyId: unknown;
133971
- customerIoId: unknown;
133972
- sprigVisitorId: unknown;
133973
- linkedInURL: unknown;
133974
- advertisingId: unknown;
133975
- personaReferenceId: unknown;
133976
- streamUserId: unknown;
133977
- plaidProcessorToken: unknown;
133978
- onfidoApplicantId: unknown;
133979
- veroUserId: unknown;
133980
- adobeAdvertisingCloudId: unknown;
133981
- adobeAudienceManagerId: unknown;
133982
- adobeExperienceCloudId: unknown;
133983
- adobeTargetId: unknown;
133984
- }>;
133985
- }>;
133874
+ declare const AttestedExtraIdentifiers: t.RecordC<t.StringC, t.ArrayC<t.IntersectionC<[t.TypeC<{
133875
+ /** Value of identifier */value: t.StringC;
133876
+ }>, t.PartialC<{
133877
+ /** Name of identifier - option for non-custom identifier types */name: t.StringC;
133878
+ }>]>>>;
133986
133879
  /** Type override */
133987
- type RequestIdentifier = t.TypeOf<typeof RequestIdentifier>;
133988
- declare const RequestIdentifiersResponse: t.TypeC<{
133989
- identifiers: t.ArrayC<t.TypeC<{
133990
- /** ID of request */id: t.StringC; /** Name of identifier */
133991
- name: t.StringC; /** The underlying identifier value */
133992
- value: t.StringC; /** Type of identifier */
133993
- type: t.KeyofC<{
133994
- email: unknown;
133995
- phone: unknown;
133996
- transcend: unknown;
133997
- coreIdentifier: unknown;
133998
- custom: unknown;
133999
- gaid: unknown;
134000
- idfa: unknown;
134001
- idfv: unknown;
134002
- browserId: unknown;
134003
- microsoftAdvertisingId: unknown;
134004
- amazonFireAdvertisingId: unknown;
134005
- rida: unknown;
134006
- filestackHandle: unknown;
134007
- stripeId: unknown;
134008
- braintreeCustomerId: unknown;
134009
- chargebeeId: unknown;
134010
- thriveTrmContactId: unknown;
134011
- talkableUUID: unknown;
134012
- recurlyId: unknown;
134013
- customerIoId: unknown;
134014
- sprigVisitorId: unknown;
134015
- linkedInURL: unknown;
134016
- advertisingId: unknown;
134017
- personaReferenceId: unknown;
134018
- streamUserId: unknown;
134019
- plaidProcessorToken: unknown;
134020
- onfidoApplicantId: unknown;
134021
- veroUserId: unknown;
134022
- adobeAdvertisingCloudId: unknown;
134023
- adobeAudienceManagerId: unknown;
134024
- adobeExperienceCloudId: unknown;
134025
- adobeTargetId: unknown;
134026
- }>;
134027
- }>>;
134028
- }>;
134029
- /**
134030
- * Validate that the Sombra version meets the minimum requirement for
134031
- * decrypting request identifiers. Call once before bulk-fetching identifiers
134032
- * to avoid repeating this check on every request.
134033
- *
134034
- * @param client - GraphQL client
134035
- */
134036
- declare function validateSombraVersion(client: GraphQLClient): Promise<void>;
134037
- /**
134038
- * Fetch all request identifiers for a particular request
134039
- *
134040
- * @param client - GraphQL client
134041
- * @param sombra - Sombra client
134042
- * @param options - Options
134043
- * @returns List of request identifiers
134044
- */
134045
- declare function fetchAllRequestIdentifiers(client: GraphQLClient, sombra: Got, {
134046
- requestId,
134047
- skipSombraCheck
134048
- }: {
134049
- /** ID of request to filter on */requestId: string; /** Skip the Sombra version check (caller already validated) */
134050
- skipSombraCheck?: boolean;
134051
- }): Promise<RequestIdentifier[]>;
134052
- //#endregion
134053
- //#region src/lib/graphql/fetchAllRequests.d.ts
134054
- declare const RequestPurposeTrigger: t.TypeC<{
134055
- title: t.StringC;
134056
- name: t.StringC;
134057
- consent: t.BooleanC;
134058
- enrichedPreferences: t.ArrayC<t.TypeC<{
134059
- topic: t.StringC;
134060
- selectValues: t.ArrayC<t.TypeC<{
134061
- id: t.StringC;
134062
- name: t.StringC;
134063
- preferenceOption: t.TypeC<{
134064
- id: t.StringC;
134065
- slug: t.StringC;
134066
- title: t.TypeC<{
134067
- defaultMessage: t.StringC;
134068
- }>;
134069
- }>;
134070
- }>>;
134071
- selectValue: t.TypeC<{
134072
- id: t.StringC;
134073
- name: t.StringC;
134074
- }>;
134075
- preferenceTopic: t.TypeC<{
134076
- title: t.TypeC<{
134077
- defaultMessage: t.StringC;
134078
- }>;
134079
- id: t.StringC;
134080
- slug: t.StringC;
134081
- }>;
134082
- name: t.StringC;
134083
- id: t.StringC;
134084
- booleanValue: t.BooleanC;
134085
- }>>;
134086
- }>;
134087
- /** Override type */
134088
- type RequestPurposeTrigger = t.TypeOf<typeof RequestPurposeTrigger>;
134089
- declare const PrivacyRequest: t.IntersectionC<[t.TypeC<{
134090
- /** Request ID */id: t.StringC; /** Time request was made */
134091
- createdAt: t.StringC; /** Email of request */
134092
- email: t.StringC; /** The type of request */
134093
- type: t.KeyofC<{
133880
+ type AttestedExtraIdentifiers = t.TypeOf<typeof AttestedExtraIdentifiers>;
133881
+ declare const PrivacyRequestInput: t.IntersectionC<[t.TypeC<{
133882
+ /** Email of user */email: t.StringC; /** Extra identifiers */
133883
+ attestedExtraIdentifiers: t.RecordC<t.StringC, t.ArrayC<t.IntersectionC<[t.TypeC<{
133884
+ /** Value of identifier */value: t.StringC;
133885
+ }>, t.PartialC<{
133886
+ /** Name of identifier - option for non-custom identifier types */name: t.StringC;
133887
+ }>]>>>; /** Core identifier for user */
133888
+ coreIdentifier: t.StringC; /** Action type being submitted */
133889
+ requestType: t.KeyofC<{
134094
133890
  AUTOMATED_DECISION_MAKING_OPT_OUT: unknown;
134095
133891
  USE_OF_SENSITIVE_INFORMATION_OPT_OUT: unknown;
134096
133892
  CONTACT_OPT_OUT: unknown;
@@ -134110,230 +133906,10 @@ declare const PrivacyRequest: t.IntersectionC<[t.TypeC<{
134110
133906
  BUSINESS_PURPOSE: unknown;
134111
133907
  PLACE_ON_LEGAL_HOLD: unknown;
134112
133908
  REMOVE_FROM_LEGAL_HOLD: unknown;
134113
- }>; /** Link to request in Transcend dashboard */
134114
- link: t.StringC; /** Whether request is in silent mode */
134115
- isSilent: t.BooleanC; /** Where request was made */
134116
- origin: t.KeyofC<{
134117
- PRIVACY_CENTER: unknown;
134118
- ADMIN_DASHBOARD: unknown;
134119
- API: unknown;
134120
- SHOPIFY: unknown;
134121
- }>; /** Whether request is a test request */
134122
- isTest: t.BooleanC; /** The core identifier of the request */
134123
- coreIdentifier: t.StringC; /** Request details */
134124
- details: t.StringC; /** Locale of request */
134125
- locale: t.KeyofC<{
134126
- af: unknown;
134127
- sq: unknown;
134128
- am: unknown;
134129
- ar: unknown;
134130
- "ar-AE": unknown;
134131
- hy: unknown;
134132
- az: unknown;
134133
- eu: unknown;
134134
- bn: unknown;
134135
- bs: unknown;
134136
- "bg-BG": unknown;
134137
- bg: unknown;
134138
- ca: unknown;
134139
- zh: unknown;
134140
- "zh-CN": unknown;
134141
- "zh-HK": unknown;
134142
- "zh-Hans": unknown;
134143
- "zh-TW": unknown;
134144
- "hr-HR": unknown;
134145
- hr: unknown;
134146
- "cs-CZ": unknown;
134147
- cs: unknown;
134148
- da: unknown;
134149
- "da-DK": unknown;
134150
- dv: unknown;
134151
- nl: unknown;
134152
- "nl-BE": unknown;
134153
- "nl-NL": unknown;
134154
- "en-AU": unknown;
134155
- "en-CA": unknown;
134156
- "en-IE": unknown;
134157
- "en-NZ": unknown;
134158
- "en-GB": unknown;
134159
- "en-US": unknown;
134160
- et: unknown;
134161
- "et-EE": unknown;
134162
- fi: unknown;
134163
- "fi-FI": unknown;
134164
- fr: unknown;
134165
- "fr-BE": unknown;
134166
- "fr-CA": unknown;
134167
- "fr-FR": unknown;
134168
- "fr-CH": unknown;
134169
- mk: unknown;
134170
- gl: unknown;
134171
- ka: unknown;
134172
- de: unknown;
134173
- "de-AT": unknown;
134174
- "de-DE": unknown;
134175
- "de-CH": unknown;
134176
- el: unknown;
134177
- "el-GR": unknown;
134178
- gu: unknown;
134179
- ht: unknown;
134180
- ha: unknown;
134181
- "he-IL": unknown;
134182
- he: unknown;
134183
- hi: unknown;
134184
- hu: unknown;
134185
- "hu-HU": unknown;
134186
- is: unknown;
134187
- "is-IS": unknown;
134188
- ga: unknown;
134189
- "ga-IE": unknown;
134190
- it: unknown;
134191
- "it-IT": unknown;
134192
- "it-CH": unknown;
134193
- ja: unknown;
134194
- kn: unknown;
134195
- kk: unknown;
134196
- ko: unknown;
134197
- lv: unknown;
134198
- "lv-LV": unknown;
134199
- "lt-LT": unknown;
134200
- lt: unknown;
134201
- ms: unknown;
134202
- "ms-MY": unknown;
134203
- ml: unknown;
134204
- mt: unknown;
134205
- "mt-MT": unknown;
134206
- mr: unknown;
134207
- mn: unknown;
134208
- nb: unknown;
134209
- "nb-NO": unknown;
134210
- ps: unknown;
134211
- pl: unknown;
134212
- "pl-PL": unknown;
134213
- pt: unknown;
134214
- "pt-BR": unknown;
134215
- "pt-PT": unknown;
134216
- pa: unknown;
134217
- ro: unknown;
134218
- "ro-RO": unknown;
134219
- ru: unknown;
134220
- sr: unknown;
134221
- si: unknown;
134222
- sk: unknown;
134223
- "sk-SK": unknown;
134224
- sl: unknown;
134225
- so: unknown;
134226
- es: unknown;
134227
- "es-AR": unknown;
134228
- "es-CL": unknown;
134229
- "es-CO": unknown;
134230
- "es-CR": unknown;
134231
- "es-ES": unknown;
134232
- "es-MX": unknown;
134233
- sw: unknown;
134234
- sv: unknown;
134235
- "sv-SE": unknown;
134236
- tl: unknown;
134237
- ta: unknown;
134238
- te: unknown;
134239
- th: unknown;
134240
- tr: unknown;
134241
- uk: unknown;
134242
- ur: unknown;
134243
- uz: unknown;
134244
- vi: unknown;
134245
- cy: unknown;
134246
- zu: unknown;
134247
- en: unknown;
134248
- fil: unknown;
134249
- "fa-AF": unknown;
134250
- "af-ZA": unknown;
134251
- "en-AE": unknown;
134252
- "hi-IN": unknown;
134253
- "id-ID": unknown;
134254
- "ja-JP": unknown;
134255
- "ko-KR": unknown;
134256
- "ms-SG": unknown;
134257
- "mr-IN": unknown;
134258
- "ru-RU": unknown;
134259
- "sr-Latn-RS": unknown;
134260
- "sr-Cyrl-RS": unknown;
134261
- "ta-IN": unknown;
134262
- "th-TH": unknown;
134263
- "tr-TR": unknown;
134264
- "uk-UA": unknown;
134265
- "vi-VN": unknown;
134266
- "zu-ZA": unknown;
134267
- "es-419": unknown;
134268
- "sl-SL": unknown;
134269
- "fil-PH": unknown;
134270
- "sq-AL": unknown;
134271
- "sq-MK": unknown;
134272
- "sq-XK": unknown;
134273
- "am-ET": unknown;
134274
- "hy-AM": unknown;
134275
- "az-AZ": unknown;
134276
- "bn-BD": unknown;
134277
- "bn-IN": unknown;
134278
- "bs-BA": unknown;
134279
- "bs-Cyrl-BA": unknown;
134280
- "bs-Latn-BA": unknown;
134281
- "ca-ES": unknown;
134282
- "ca-AD": unknown;
134283
- "ca-FR": unknown;
134284
- "ca-IT": unknown;
134285
- "tl-PH": unknown;
134286
- "ka-GE": unknown;
134287
- "gu-IN": unknown;
134288
- "ht-HT": unknown;
134289
- "ha-NG": unknown;
134290
- "ha-NE": unknown;
134291
- "ha-GH": unknown;
134292
- "kn-IN": unknown;
134293
- "kk-KZ": unknown;
134294
- "mk-MK": unknown;
134295
- "ml-IN": unknown;
134296
- "mn-MN": unknown;
134297
- "ps-AF": unknown;
134298
- "pa-Guru-IN": unknown;
134299
- "pa-Arab-PK": unknown;
134300
- "si-LK": unknown;
134301
- "so-SO": unknown;
134302
- "so-DJ": unknown;
134303
- "so-ET": unknown;
134304
- "so-KE": unknown;
134305
- "sw-KE": unknown;
134306
- "sw-TZ": unknown;
134307
- "sw-UG": unknown;
134308
- "sw-CD": unknown;
134309
- "te-IN": unknown;
134310
- "ur-PK": unknown;
134311
- "ur-IN": unknown;
134312
- "uz-UZ": unknown;
134313
- "cy-GB": unknown;
134314
- "eu-ES": unknown;
134315
- "gl-ES": unknown;
134316
- }>; /** Status of request */
134317
- status: t.KeyofC<{
134318
- CANCELED: unknown;
134319
- ON_HOLD: unknown;
134320
- FAILED_VERIFICATION: unknown;
134321
- COMPLETED: unknown;
134322
- SECONDARY_COMPLETED: unknown;
134323
- REVOKED: unknown;
134324
- REQUEST_MADE: unknown;
134325
- ENRICHING: unknown;
134326
- WAITING: unknown;
134327
- COMPILING: unknown;
134328
- APPROVING: unknown;
134329
- DELAYED: unknown;
134330
- DOWNLOADABLE: unknown;
134331
- VIEW_CATEGORIES: unknown;
134332
- SECONDARY: unknown;
134333
- SECONDARY_APPROVING: unknown;
134334
133909
  }>; /** Type of data subject */
134335
- subjectType: t.StringC; /** Country of request */
134336
- country: t.UnionC<[t.NullC, t.KeyofC<{
133910
+ subjectType: t.StringC;
133911
+ }>, t.PartialC<{
133912
+ /** Country */country: t.KeyofC<{
134337
133913
  AF: unknown;
134338
133914
  AX: unknown;
134339
133915
  AL: unknown;
@@ -134584,8 +134160,8 @@ declare const PrivacyRequest: t.IntersectionC<[t.TypeC<{
134584
134160
  ZM: unknown;
134585
134161
  ZW: unknown;
134586
134162
  EU: unknown;
134587
- }>]>; /** Subdivision of request */
134588
- countrySubDivision: t.UnionC<[t.NullC, t.KeyofC<{
134163
+ }>; /** Country sub division */
134164
+ countrySubDivision: t.KeyofC<{
134589
134165
  "AD-02": unknown;
134590
134166
  "AD-03": unknown;
134591
134167
  "AD-04": unknown;
@@ -139719,967 +139295,306 @@ declare const PrivacyRequest: t.IntersectionC<[t.TypeC<{
139719
139295
  "ZW-MS": unknown;
139720
139296
  "ZW-MV": unknown;
139721
139297
  "ZW-MW": unknown;
139722
- }>]>; /** Request attributes */
139723
- attributeValues: t.ArrayC<t.TypeC<{
139724
- id: t.StringC;
139725
- attributeKey: t.TypeC<{
139726
- name: t.StringC;
139727
- id: t.StringC;
139728
- }>;
139729
- name: t.StringC;
139730
- }>>;
139731
- }>, t.PartialC<{
139732
- /** Days remaining until expired */daysRemaining: t.UnionC<[t.NullC, t.NumberC]>; /** Time when request was successfully completed */
139733
- successfullyCompletedAt: t.UnionC<[t.NullC, t.StringC]>; /** Purpose */
139734
- purpose: t.TypeC<{
139735
- title: t.StringC;
139736
- name: t.StringC;
139737
- consent: t.BooleanC;
139738
- enrichedPreferences: t.ArrayC<t.TypeC<{
139739
- topic: t.StringC;
139740
- selectValues: t.ArrayC<t.TypeC<{
139741
- id: t.StringC;
139742
- name: t.StringC;
139743
- preferenceOption: t.TypeC<{
139744
- id: t.StringC;
139745
- slug: t.StringC;
139746
- title: t.TypeC<{
139747
- defaultMessage: t.StringC;
139748
- }>;
139749
- }>;
139750
- }>>;
139751
- selectValue: t.TypeC<{
139752
- id: t.StringC;
139753
- name: t.StringC;
139754
- }>;
139755
- preferenceTopic: t.TypeC<{
139756
- title: t.TypeC<{
139757
- defaultMessage: t.StringC;
139758
- }>;
139759
- id: t.StringC;
139760
- slug: t.StringC;
139761
- }>;
139762
- name: t.StringC;
139763
- id: t.StringC;
139764
- booleanValue: t.BooleanC;
139765
- }>>;
139298
+ }>; /** Attribute inputs */
139299
+ attributes: t.ArrayC<t.TypeC<{
139300
+ key: t.StringC;
139301
+ values: t.ArrayC<t.StringC>;
139302
+ }>>; /** The status that the request should be created as */
139303
+ status: t.KeyofC<{
139304
+ CANCELED: unknown;
139305
+ FAILED_VERIFICATION: unknown;
139306
+ COMPLETED: unknown;
139307
+ SECONDARY_COMPLETED: unknown;
139308
+ REVOKED: unknown;
139309
+ }>; /** The time that the request was created */
139310
+ createdAt: io_ts_types0.DateFromISOStringC; /** Data silo IDs to submit for */
139311
+ dataSiloIds: t.ArrayC<t.StringC>; /** Language key to map to */
139312
+ locale: t.KeyofC<{
139313
+ af: unknown;
139314
+ sq: unknown;
139315
+ am: unknown;
139316
+ ar: unknown;
139317
+ "ar-AE": unknown;
139318
+ hy: unknown;
139319
+ az: unknown;
139320
+ eu: unknown;
139321
+ bn: unknown;
139322
+ bs: unknown;
139323
+ "bg-BG": unknown;
139324
+ bg: unknown;
139325
+ ca: unknown;
139326
+ zh: unknown;
139327
+ "zh-CN": unknown;
139328
+ "zh-HK": unknown;
139329
+ "zh-Hans": unknown;
139330
+ "zh-TW": unknown;
139331
+ "hr-HR": unknown;
139332
+ hr: unknown;
139333
+ "cs-CZ": unknown;
139334
+ cs: unknown;
139335
+ da: unknown;
139336
+ "da-DK": unknown;
139337
+ dv: unknown;
139338
+ nl: unknown;
139339
+ "nl-BE": unknown;
139340
+ "nl-NL": unknown;
139341
+ "en-AU": unknown;
139342
+ "en-CA": unknown;
139343
+ "en-IE": unknown;
139344
+ "en-NZ": unknown;
139345
+ "en-GB": unknown;
139346
+ "en-US": unknown;
139347
+ et: unknown;
139348
+ "et-EE": unknown;
139349
+ fi: unknown;
139350
+ "fi-FI": unknown;
139351
+ fr: unknown;
139352
+ "fr-BE": unknown;
139353
+ "fr-CA": unknown;
139354
+ "fr-FR": unknown;
139355
+ "fr-CH": unknown;
139356
+ mk: unknown;
139357
+ gl: unknown;
139358
+ ka: unknown;
139359
+ de: unknown;
139360
+ "de-AT": unknown;
139361
+ "de-DE": unknown;
139362
+ "de-CH": unknown;
139363
+ el: unknown;
139364
+ "el-GR": unknown;
139365
+ gu: unknown;
139366
+ ht: unknown;
139367
+ ha: unknown;
139368
+ "he-IL": unknown;
139369
+ he: unknown;
139370
+ hi: unknown;
139371
+ hu: unknown;
139372
+ "hu-HU": unknown;
139373
+ is: unknown;
139374
+ "is-IS": unknown;
139375
+ ga: unknown;
139376
+ "ga-IE": unknown;
139377
+ it: unknown;
139378
+ "it-IT": unknown;
139379
+ "it-CH": unknown;
139380
+ ja: unknown;
139381
+ kn: unknown;
139382
+ kk: unknown;
139383
+ ko: unknown;
139384
+ lv: unknown;
139385
+ "lv-LV": unknown;
139386
+ "lt-LT": unknown;
139387
+ lt: unknown;
139388
+ ms: unknown;
139389
+ "ms-MY": unknown;
139390
+ ml: unknown;
139391
+ mt: unknown;
139392
+ "mt-MT": unknown;
139393
+ mr: unknown;
139394
+ mn: unknown;
139395
+ nb: unknown;
139396
+ "nb-NO": unknown;
139397
+ ps: unknown;
139398
+ pl: unknown;
139399
+ "pl-PL": unknown;
139400
+ pt: unknown;
139401
+ "pt-BR": unknown;
139402
+ "pt-PT": unknown;
139403
+ pa: unknown;
139404
+ ro: unknown;
139405
+ "ro-RO": unknown;
139406
+ ru: unknown;
139407
+ sr: unknown;
139408
+ si: unknown;
139409
+ sk: unknown;
139410
+ "sk-SK": unknown;
139411
+ sl: unknown;
139412
+ so: unknown;
139413
+ es: unknown;
139414
+ "es-AR": unknown;
139415
+ "es-CL": unknown;
139416
+ "es-CO": unknown;
139417
+ "es-CR": unknown;
139418
+ "es-ES": unknown;
139419
+ "es-MX": unknown;
139420
+ sw: unknown;
139421
+ sv: unknown;
139422
+ "sv-SE": unknown;
139423
+ tl: unknown;
139424
+ ta: unknown;
139425
+ te: unknown;
139426
+ th: unknown;
139427
+ tr: unknown;
139428
+ uk: unknown;
139429
+ ur: unknown;
139430
+ uz: unknown;
139431
+ vi: unknown;
139432
+ cy: unknown;
139433
+ zu: unknown;
139434
+ en: unknown;
139435
+ fil: unknown;
139436
+ "fa-AF": unknown;
139437
+ "af-ZA": unknown;
139438
+ "en-AE": unknown;
139439
+ "hi-IN": unknown;
139440
+ "id-ID": unknown;
139441
+ "ja-JP": unknown;
139442
+ "ko-KR": unknown;
139443
+ "ms-SG": unknown;
139444
+ "mr-IN": unknown;
139445
+ "ru-RU": unknown;
139446
+ "sr-Latn-RS": unknown;
139447
+ "sr-Cyrl-RS": unknown;
139448
+ "ta-IN": unknown;
139449
+ "th-TH": unknown;
139450
+ "tr-TR": unknown;
139451
+ "uk-UA": unknown;
139452
+ "vi-VN": unknown;
139453
+ "zu-ZA": unknown;
139454
+ "es-419": unknown;
139455
+ "sl-SL": unknown;
139456
+ "fil-PH": unknown;
139457
+ "sq-AL": unknown;
139458
+ "sq-MK": unknown;
139459
+ "sq-XK": unknown;
139460
+ "am-ET": unknown;
139461
+ "hy-AM": unknown;
139462
+ "az-AZ": unknown;
139463
+ "bn-BD": unknown;
139464
+ "bn-IN": unknown;
139465
+ "bs-BA": unknown;
139466
+ "bs-Cyrl-BA": unknown;
139467
+ "bs-Latn-BA": unknown;
139468
+ "ca-ES": unknown;
139469
+ "ca-AD": unknown;
139470
+ "ca-FR": unknown;
139471
+ "ca-IT": unknown;
139472
+ "tl-PH": unknown;
139473
+ "ka-GE": unknown;
139474
+ "gu-IN": unknown;
139475
+ "ht-HT": unknown;
139476
+ "ha-NG": unknown;
139477
+ "ha-NE": unknown;
139478
+ "ha-GH": unknown;
139479
+ "kn-IN": unknown;
139480
+ "kk-KZ": unknown;
139481
+ "mk-MK": unknown;
139482
+ "ml-IN": unknown;
139483
+ "mn-MN": unknown;
139484
+ "ps-AF": unknown;
139485
+ "pa-Guru-IN": unknown;
139486
+ "pa-Arab-PK": unknown;
139487
+ "si-LK": unknown;
139488
+ "so-SO": unknown;
139489
+ "so-DJ": unknown;
139490
+ "so-ET": unknown;
139491
+ "so-KE": unknown;
139492
+ "sw-KE": unknown;
139493
+ "sw-TZ": unknown;
139494
+ "sw-UG": unknown;
139495
+ "sw-CD": unknown;
139496
+ "te-IN": unknown;
139497
+ "ur-PK": unknown;
139498
+ "ur-IN": unknown;
139499
+ "uz-UZ": unknown;
139500
+ "cy-GB": unknown;
139501
+ "eu-ES": unknown;
139502
+ "gl-ES": unknown;
139766
139503
  }>;
139767
139504
  }>]>;
139768
139505
  /** Type override */
139769
- type PrivacyRequest = t.TypeOf<typeof PrivacyRequest>;
139506
+ type PrivacyRequestInput = t.TypeOf<typeof PrivacyRequestInput>;
139770
139507
  /**
139771
- * Fetch just the total count of requests matching a set of filters.
139772
- * Useful for setting up a progress bar before streaming pages.
139508
+ * Transform the identifier value based on type
139773
139509
  *
139774
- * @param client - GraphQL client
139775
- * @param filterBy - Filter object (already serialized to ISO strings)
139776
- * @returns The total count
139510
+ * @param identifierValue - Value of identifier
139511
+ * @param identifierType - Type of identifier
139512
+ * @param defaultPhoneCountryCode - Default country code for phone numbers
139513
+ * @returns Post-processed identifier
139777
139514
  */
139778
- declare function fetchRequestsTotalCount(client: GraphQLClient, filterBy: Record<string, unknown>): Promise<number>;
139515
+ declare function normalizeIdentifierValue(identifierValue: string, identifierType: IdentifierType, defaultPhoneCountryCode: string): string;
139779
139516
  /**
139780
- * Fetch all requests matching a set of filters.
139517
+ * Take the raw rows in a CSV upload, and map those rows to the request
139518
+ * input shape that can be passed to the Transcend API to submit a privacy
139519
+ * request.
139781
139520
  *
139782
- * When `onPage` is provided the function streams pages to the callback
139783
- * and never accumulates nodes in memory ideal for very large exports.
139784
- * Without `onPage` the function returns all nodes in a single array
139785
- * (existing behaviour, kept for backward compatibility).
139521
+ * @param requestInputs - CSV of requests to be uploaded
139522
+ * @param state - The cached set of mapping values
139523
+ * @param options - Options
139524
+ * @returns [raw input, request input] list
139525
+ */
139526
+ declare function mapCsvRowsToRequestInputs(requestInputs: ObjByString[], state: PersistedState<typeof CachedFileState>, {
139527
+ columnNameMap,
139528
+ identifierNameMap,
139529
+ attributeNameMap,
139530
+ requestAttributeKeys,
139531
+ defaultPhoneCountryCode
139532
+ }: {
139533
+ /** Default country code */defaultPhoneCountryCode?: string; /** Mapping of column names */
139534
+ columnNameMap: ColumnNameMap; /** Mapping of identifier names */
139535
+ identifierNameMap: IdentifierNameMap; /** Mapping of attribute names */
139536
+ attributeNameMap: AttributeNameMap; /** Request attribute keys */
139537
+ requestAttributeKeys: AttributeKey[];
139538
+ }): [Record<string, string>, PrivacyRequestInput][];
139539
+ //#endregion
139540
+ //#region src/lib/requests/downloadPrivacyRequestFiles.d.ts
139541
+ /**
139542
+ * Download a set of privacy requests to disk
139786
139543
  *
139787
- * @param client - GraphQL client
139788
- * @param options - Filter options
139789
- * @returns List of requests (empty when using onPage)
139544
+ * @param options - Options
139545
+ * @returns The number of requests canceled
139790
139546
  */
139791
- declare function fetchAllRequests(client: GraphQLClient, {
139792
- actions,
139793
- statuses,
139794
- origins,
139795
- text,
139547
+ declare function downloadPrivacyRequestFiles({
139548
+ auth,
139549
+ folderPath,
139550
+ requestIds,
139796
139551
  createdAtBefore,
139552
+ sombraAuth,
139797
139553
  createdAtAfter,
139798
139554
  updatedAtBefore,
139799
139555
  updatedAtAfter,
139800
- isTest,
139801
- isSilent,
139802
- isClosed,
139803
- requestIds,
139804
- onPage
139805
- }?: {
139806
- /** Actions to filter on */actions?: RequestAction[]; /** Origins to filter on */
139807
- origins?: RequestOrigin[]; /** Statuses to filter on */
139808
- statuses?: RequestStatus[]; /** Filter for requests created before this date */
139556
+ statuses,
139557
+ concurrency,
139558
+ transcendUrl,
139559
+ approveAfterDownload
139560
+ }: {
139561
+ /** The folder path to download the files to */folderPath: string; /** Transcend API key authentication */
139562
+ auth: string; /** Sombra API key authentication */
139563
+ sombraAuth?: string; /** Concurrency limit for approving */
139564
+ concurrency?: number; /** The request statuses to cancel */
139565
+ statuses?: RequestStatus[]; /** The set of privacy requests to cancel */
139566
+ requestIds?: string[]; /** Filter for requests created before this date */
139809
139567
  createdAtBefore?: Date; /** Filter for requests created after this date */
139810
139568
  createdAtAfter?: Date; /** Filter for requests updated before this date */
139811
139569
  updatedAtBefore?: Date; /** Filter for requests updated after this date */
139812
- updatedAtAfter?: Date; /** Filter for requests with a specific identifier */
139813
- text?: string; /** Return test requests */
139814
- isTest?: boolean; /** Return silent mode requests */
139815
- isSilent?: boolean; /** Filter by whether request is active */
139816
- isClosed?: boolean;
139817
- /**
139818
- * Filter the list of requests for a set of IDs - these are applied
139819
- * at runtime while other filters are applied at the GraphQL level.
139820
- */
139821
- requestIds?: string[]; /** When provided, called with each page of nodes instead of accumulating in memory */
139822
- onPage?: (nodes: PrivacyRequest[]) => void | Promise<void>;
139823
- }): Promise<PrivacyRequest[]>;
139824
- //#endregion
139825
- //#region src/lib/graphql/fetchDataSubjects.d.ts
139826
- interface DataSubject {
139827
- /** ID of data subject */
139828
- id: string;
139829
- /** Type of data subject */
139830
- type: string;
139831
- /** Whether active */
139832
- active: boolean;
139833
- /** Title of data subject */
139834
- title: {
139835
- /** Default message */defaultMessage: string;
139836
- };
139837
- /** Whether silent mode is enabled by default */
139838
- adminDashboardDefaultSilentMode: boolean;
139839
- /** Enabled actions */
139840
- actions: {
139841
- /** Type of action */type: RequestActionObjectResolver;
139842
- }[];
139843
- }
139844
- /**
139845
- * Fetch all data subjects in an organization
139846
- *
139847
- * @param client - GraphQL client
139848
- * @returns List of data subject configurations
139849
- */
139850
- declare function fetchAllDataSubjects(client: GraphQLClient): Promise<DataSubject[]>;
139851
- /**
139852
- * Fetch all of the data subjects in the organization
139853
- *
139854
- * @param input - Input to fetch
139855
- * @param client - GraphQL client
139856
- * @param fetchAll - When true, always fetch all subjects
139857
- * @returns The list of data subjects
139858
- */
139859
- declare function ensureAllDataSubjectsExist({
139860
- 'data-silos': dataSilos,
139861
- 'data-subjects': dataSubjects,
139862
- 'processing-activities': processingActivities,
139863
- enrichers
139864
- }: TranscendInput, client: GraphQLClient, fetchAll?: boolean): Promise<{ [type in string]: DataSubject }>;
139865
- /**
139866
- * Convert a list of data subject types into the block list of IDs to assign to the data silo
139867
- *
139868
- * @param dataSubjectTypes - The list of data subject types that the data silo should be for
139869
- * @param allDataSubjects - All data subjects in the organization
139870
- * @returns The block list of data subject ids to not process against this data silo
139871
- */
139872
- declare function convertToDataSubjectBlockList(dataSubjectTypes: string[], allDataSubjects: { [type in string]: DataSubject }): string[];
139873
- /**
139874
- * Convert a list of data subject types into the allow list of types
139875
- *
139876
- * @param dataSubjectTypes - The list of data subject types that the data silo should be for
139877
- * @param allDataSubjects - All data subjects in the organization
139878
- * @returns The allow list of data subjects for that silo
139879
- */
139880
- declare function convertToDataSubjectAllowlist(dataSubjectTypes: string[], allDataSubjects: { [type in string]: DataSubject }): string[];
139881
- //#endregion
139882
- //#region src/lib/graphql/fetchIdentifiers.d.ts
139883
- /**
139884
- * Fetch all identifiers and if any are found in the config that are
139885
- * missing, create those identifiers.
139886
- *
139887
- * @param input - Transcend input
139888
- * @param client - GraphQL client
139889
- * @param skipPublish - When true, skip publishing to privacy center
139890
- * @returns A map from identifier name to Identifier
139891
- */
139892
- declare function fetchIdentifiersAndCreateMissing({
139893
- enrichers,
139894
- 'data-silos': dataSilos,
139895
- identifiers
139896
- }: TranscendInput, client: GraphQLClient, skipPublish?: boolean): Promise<{ [k in string]: Identifier }>;
139897
- //#endregion
139898
- //#region src/lib/graphql/fetchRequestDataSilo.d.ts
139899
- interface RequestDataSilo {
139900
- /** ID of RequestDataSilo */
139901
- id: string;
139902
- /** Request */
139903
- request: {
139904
- /** Type of request */type: RequestAction;
139905
- };
139906
- }
139907
- interface RequestDataSiloFilters {
139908
- /** ID of request to filter on */
139909
- requestId?: string;
139910
- /** Data silo ID */
139911
- dataSiloId?: string;
139912
- /**
139913
- * The statuses to filter on
139914
- */
139915
- statuses?: RequestDataSiloStatus[];
139916
- /** The request statuses to filter on */
139917
- requestStatuses?: RequestStatus[];
139918
- }
139919
- /**
139920
- * Fetch a count of request data silos
139921
- *
139922
- * @param client - GraphQL client
139923
- * @param options - Filter options
139924
- * @returns List of request identifiers
139925
- */
139926
- declare function fetchRequestDataSilosCount(client: GraphQLClient, {
139927
- requestId,
139928
- dataSiloId,
139929
- requestStatuses,
139930
- statuses
139931
- }: RequestDataSiloFilters): Promise<number>;
139932
- /**
139933
- * Fetch all request data silos by some filter criteria
139934
- *
139935
- * @param client - GraphQL client
139936
- * @param options - Filter options
139937
- * @returns List of request identifiers
139938
- */
139939
- declare function fetchRequestDataSilos(client: GraphQLClient, {
139940
- requestId,
139941
- dataSiloId,
139942
- requestStatuses,
139943
- statuses,
139944
- limit,
139945
- onProgress
139946
- }: {
139947
- /** ID of request to filter on */requestId?: string; /** Data silo ID */
139948
- dataSiloId?: string;
139949
- /**
139950
- * The statuses to filter on
139951
- */
139952
- statuses?: RequestDataSiloStatus[]; /** The request statuses to filter on */
139953
- requestStatuses?: RequestStatus[]; /** Limit on number of requests */
139954
- limit?: number; /** Handle progress updates */
139955
- onProgress?: (numUpdated: number) => void;
139956
- }): Promise<RequestDataSilo[]>;
139957
- /**
139958
- * Fetch all request identifiers for a particular request
139959
- *
139960
- * @param client - GraphQL client
139961
- * @param options - Filter options
139962
- * @returns List of request identifiers
139963
- */
139964
- declare function fetchRequestDataSilo(client: GraphQLClient, {
139965
- requestId,
139966
- dataSiloId
139967
- }: {
139968
- /** ID of request to filter on */requestId: string; /** Data silo ID */
139969
- dataSiloId: string;
139970
- }): Promise<RequestDataSilo>;
139971
- //#endregion
139972
- //#region src/lib/graphql/fetchRequestDataSiloActiveCount.d.ts
139973
- /**
139974
- * Get number of open requests for a data silo
139975
- *
139976
- * @param client - GraphQL client
139977
- * @param options - Filter options
139978
- * @returns List of request identifiers
139979
- */
139980
- declare function fetchRequestDataSiloActiveCount(client: GraphQLClient, {
139981
- dataSiloId
139982
- }: {
139983
- /** Data silo ID */dataSiloId: string;
139570
+ updatedAtAfter?: Date; /** API URL for Transcend backend */
139571
+ transcendUrl?: string; /** When true, approve any requests in Transcend that are in status=APPROVING */
139572
+ approveAfterDownload?: boolean;
139984
139573
  }): Promise<number>;
139985
139574
  //#endregion
139986
- //#region src/lib/graphql/fetchRequestFilesForRequest.d.ts
139987
- interface RequestFileCursor {
139988
- /** The ID of the request file */
139989
- id: string;
139990
- /** The created at timestamp */
139991
- createdAt: string;
139992
- }
139993
- interface RequestFile {
139994
- /** The remote ID */
139995
- remoteId: string;
139996
- /** The file name */
139997
- fileName: string;
139998
- }
139999
- interface RequestFileResponse {
140000
- /** RequestFiles */
140001
- bulkRequestFiles: {
140002
- /** List */nodes: RequestFile[]; /** The page info */
140003
- pageInfo: {
140004
- /** Whether there is a next page */hasNextPage: boolean; /** The end cursor */
140005
- endCursor: string;
140006
- };
140007
- };
140008
- }
140009
- /**
140010
- * Fetch all RequestFiles for a single request
140011
- *
140012
- * @param client - GraphQL client
140013
- * @param pageSize - How many request files to fetch per API call
140014
- * @param filterBy - Filter by
140015
- * @returns All RequestFiles in the organization
140016
- */
140017
- declare function fetchRequestFilesForRequest(client: GraphQLClient, /** How many request files to fetch per API call */
140018
-
140019
- pageSize: number, filterBy: {
140020
- /** Filter by request IDs */requestIds: string[]; /** Filter by data silo ID */
140021
- dataSiloIds: string[];
140022
- }): Promise<RequestFile[]>;
140023
- //#endregion
140024
- //#region src/lib/graphql/syncDataSilos.d.ts
140025
- interface DataSiloAttributeValue {
140026
- /** Key associated to value */
140027
- attributeKey: {
140028
- /** Name of key */name: string;
140029
- };
140030
- /** Name of value */
140031
- name: string;
140032
- }
140033
- interface DataSilo {
140034
- /** ID of dataSilo */
140035
- id: string;
140036
- /** Title of dataSilo */
140037
- title: string;
140038
- /** Type of silo */
140039
- type: string;
140040
- /** The link to the data silo */
140041
- link: string;
140042
- /** Attribute labels */
140043
- attributeValues: DataSiloAttributeValue[];
140044
- /** description */
140045
- description: string;
140046
- /** Metadata for this data silo */
140047
- catalog: {
140048
- /** Whether the data silo supports automated vendor coordination */hasAvcFunctionality: boolean;
140049
- };
140050
- }
140051
- /**
140052
- * Fetch all dataSilos in the organization
140053
- *
140054
- * @param client - GraphQL client
140055
- * @param title - Filter by title
140056
- * @returns All dataSilos in the organization
140057
- */
140058
- declare function fetchAllDataSilos<TDataSilo extends DataSilo>(client: GraphQLClient, {
140059
- titles,
140060
- pageSize,
140061
- ids,
140062
- gql,
140063
- integrationNames
140064
- }: {
140065
- /** Page size to fetch datapoints in */pageSize: number; /** Title */
140066
- titles?: string[]; /** IDs */
140067
- ids?: string[]; /** Set of integration names to fetch */
140068
- integrationNames?: string[]; /** GQL query for data silos */
140069
- gql?: string;
140070
- }): Promise<TDataSilo[]>;
140071
- interface SubDataPoint {
140072
- /** Name (or key) of the subdatapoint */
140073
- name: string;
140074
- /** The description */
140075
- description?: string;
140076
- /** Personal data category */
140077
- categories: DataCategoryInput[];
140078
- /** The processing purpose for this sub datapoint */
140079
- purposes: ProcessingPurposeInput[];
140080
- /**
140081
- * When true, this subdatapoint should be revealed in a data access request.
140082
- * When false, this field should be redacted
140083
- */
140084
- accessRequestVisibilityEnabled: boolean;
140085
- /**
140086
- * When true, this subdatapoint should be redacted during an erasure request.
140087
- * There normally is a choice of enabling hard deletion or redaction at the
140088
- * datapoint level, but if redaction is enabled, this column can be used
140089
- * to define which fields should be redacted.
140090
- */
140091
- erasureRequestRedactionEnabled: boolean;
140092
- /** Attribute attached to subdatapoint */
140093
- attributeValues: DataSiloAttributeValue[];
140094
- /** Data category guesses that are output by the classifier */
140095
- pendingCategoryGuesses?: {
140096
- /** Data category being guessed */category: DataCategoryInput; /** Status of guess */
140097
- status: SubDataPointDataSubCategoryGuessStatus; /** Confidence level of guess */
140098
- confidence: number; /** Confidence label */
140099
- confidenceLabel: ConfidenceLabel; /** classifier version that produced the guess */
140100
- classifierVersion: number;
140101
- }[];
140102
- }
140103
- interface DataPoint {
140104
- /** ID of dataPoint */
140105
- id: string;
140106
- /** Title of dataPoint */
140107
- title: {
140108
- /** Default message */defaultMessage: string;
140109
- };
140110
- /** The path to this data point */
140111
- path: string[];
140112
- /** Description */
140113
- description: {
140114
- /** Default message */defaultMessage: string;
140115
- };
140116
- /** Name */
140117
- name: string;
140118
- /** Global actions */
140119
- actionSettings: {
140120
- /** Action type */type: RequestActionObjectResolver; /** Is enabled */
140121
- active: boolean;
140122
- }[];
140123
- /** Data collection tag for privacy request download zip labeling */
140124
- dataCollection?: {
140125
- /** Title of data collection */title: {
140126
- /** Default message (since message can be translated) */defaultMessage: string;
140127
- };
140128
- };
140129
- /** Metadata for this data silo */
140130
- catalog: {
140131
- /** Whether the data silo supports automated vendor coordination */hasAvcFunctionality: boolean;
140132
- };
140133
- /** Owners of the datapoint */
140134
- owners: {
140135
- /** Email address of the owner */email: string;
140136
- }[];
140137
- /** Teams that own the datapoint */
140138
- teams: {
140139
- /** Name of the team */name: string;
140140
- }[];
140141
- /** Database integration queries */
140142
- dbIntegrationQueries: {
140143
- /** Approved query */query: string | null; /** Suggested query */
140144
- suggestedQuery: string | null; /** Request action */
140145
- requestType: RequestActionObjectResolver;
140146
- }[];
140147
- }
140148
- interface DataPointWithSubDataPoint extends DataPoint {
140149
- /** The associated subdatapoints */
140150
- subDataPoints: SubDataPoint[];
140151
- }
140152
- /**
140153
- * Helper to fetch all subdatapoints for a given datapoint
140154
- *
140155
- * @param client - The GraphQL client
140156
- * @param dataPointId - The datapoint ID
140157
- * @param options - Options
140158
- * @returns The list of subdatapoints
140159
- */
140160
- declare function fetchAllSubDataPoints(client: GraphQLClient, dataPointId: string, {
140161
- debug,
140162
- includeGuessedCategories,
140163
- pageSize
140164
- }: {
140165
- /** Debug logs */debug: boolean; /** Page size */
140166
- pageSize: number; /** When true, metadata around guessed data categories should be included */
140167
- includeGuessedCategories?: boolean;
140168
- }): Promise<SubDataPoint[]>;
140169
- /**
140170
- * Fetch all datapoints for a data silo
140171
- *
140172
- * @param client - GraphQL client
140173
- * @param dataSiloId - Data silo ID
140174
- * @param options - Options
140175
- * @returns List of datapoints
140176
- */
140177
- declare function fetchAllDataPoints(client: GraphQLClient, dataSiloId: string, {
140178
- debug,
140179
- pageSize,
140180
- skipSubDatapoints,
140181
- includeGuessedCategories
140182
- }: {
140183
- /** Debug logs */debug: boolean; /** Page size */
140184
- pageSize: number; /** Skip fetching of subdatapoints */
140185
- skipSubDatapoints?: boolean; /** When true, metadata around guessed data categories should be included */
140186
- includeGuessedCategories?: boolean;
140187
- }): Promise<DataPointWithSubDataPoint[]>;
140188
- interface DataSiloEnriched {
140189
- /** ID of dataSilo */
140190
- id: string;
140191
- /** Title of dataSilo */
140192
- title: string;
140193
- /** Type of silo */
140194
- type: string;
140195
- /** Link to silo */
140196
- link: string;
140197
- /** Outer type of silo */
140198
- outerType: string;
140199
- /** Description of data silo */
140200
- description: string;
140201
- /** Webhook URL */
140202
- url?: string;
140203
- /** Email address of user to notify for prompt a person use case */
140204
- notifyEmailAddress?: string;
140205
- /** Associated API keys */
140206
- apiKeys: {
140207
- /** Title */title: string;
140208
- }[];
140209
- /** Data subject block list */
140210
- subjectBlocklist: {
140211
- /** Type of data subject */type: string;
140212
- }[];
140213
- /** Identifiers */
140214
- identifiers: {
140215
- /** Name of identifier */name: string; /** True if identifier is wired */
140216
- isConnected: boolean;
140217
- }[];
140218
- /** Dependent data silos */
140219
- dependentDataSilos: {
140220
- /** Title of silo */title: string;
140221
- }[];
140222
- /** Silo owners */
140223
- owners: {
140224
- /** Email owners */email: string;
140225
- }[];
140226
- /** The teams assigned to this data silo */
140227
- teams: {
140228
- /** Name of the team assigned to this data silo */name: string;
140229
- }[];
140230
- /** Metadata for this data silo */
140231
- catalog: {
140232
- /** Whether the data silo supports automated vendor coordination */hasAvcFunctionality: boolean;
140233
- };
140234
- /** Silo is live */
140235
- isLive: boolean;
140236
- /** Hosting country of data silo */
140237
- country?: IsoCountryCode;
140238
- /** Hosting subdivision data silo */
140239
- countrySubDivision?: IsoCountrySubdivisionCode;
140240
- /**
140241
- * The frequency with which we should be sending emails for this data silo, in milliseconds.
140242
- */
140243
- promptAVendorEmailSendFrequency: number;
140244
- /**
140245
- * The type of emails to send for this data silo, i.e. send an email for each DSR, across all open DSRs,
140246
- * or per profile in a DSR.
140247
- */
140248
- promptAVendorEmailSendType: PromptAVendorEmailSendType;
140249
- /**
140250
- * Indicates whether prompt-a-vendor emails should include a list of identifiers
140251
- * in addition to a link to the bulk processing UI.
140252
- */
140253
- promptAVendorEmailIncludeIdentifiersAttachment: boolean;
140254
- /**
140255
- * Indicates what kind of link to generate as part of the emails sent out for this Prompt-a-Vendor silo.
140256
- */
140257
- promptAVendorEmailCompletionLinkType: PromptAVendorEmailCompletionLinkType;
140258
- /**
140259
- * The frequency with which we should retry sending emails for this data silo, in milliseconds.
140260
- * Needs to be a string because the number can be larger than the MAX_INT
140261
- */
140262
- manualWorkRetryFrequency: string;
140263
- /** Attribute values tagged to data silo */
140264
- attributeValues: DataSiloAttributeValue[];
140265
- /**
140266
- * The data silos that discovered this particular data silo
140267
- */
140268
- discoveredBy: {
140269
- /** Title of data silo */title: string;
140270
- }[];
140271
- /**
140272
- * The business entities assigned directly to this data silo
140273
- */
140274
- businessEntities: {
140275
- /** Title of business entity */title: string;
140276
- }[];
140277
- }
140278
- /**
140279
- * Fetch all dataSilos with additional metadata
140280
- *
140281
- * @param client - GraphQL client
140282
- * @param options - Filter options
140283
- * @returns All dataSilos in the organization
140284
- */
140285
- declare function fetchEnrichedDataSilos(client: GraphQLClient, {
140286
- ids,
140287
- pageSize,
140288
- titles,
140289
- debug,
140290
- skipDatapoints,
140291
- skipSubDatapoints,
140292
- includeGuessedCategories,
140293
- integrationNames
140294
- }: {
140295
- /** Page size */pageSize: number; /** Filter by IDs */
140296
- ids?: string[]; /** Enable debug logs */
140297
- debug: boolean; /** Filter by title */
140298
- titles?: string[]; /** Integration names */
140299
- integrationNames?: string[]; /** Skip fetching of datapoints */
140300
- skipDatapoints?: boolean; /** Skip fetching of subdatapoints */
140301
- skipSubDatapoints?: boolean; /** When true, metadata around guessed data categories should be included */
140302
- includeGuessedCategories?: boolean;
140303
- }): Promise<[DataSiloEnriched, DataPointWithSubDataPoint[]][]>;
140304
- /**
140305
- * Sync a data silo configuration
140306
- *
140307
- * @param dataSilos - Data silos to sync
140308
- * @param client - GraphQL client
140309
- * @param options - Options
140310
- * @returns Data silo info
140311
- */
140312
- declare function syncDataSilos(dataSilos: DataSiloInput[], client: GraphQLClient, {
140313
- pageSize,
140314
- dataSubjectsByName,
140315
- apiKeysByTitle
140316
- }: {
140317
- /** Page size */pageSize: number; /** The data subjects in the organization */
140318
- dataSubjectsByName: { [type in string]: DataSubject }; /** API key title to API key */
140319
- apiKeysByTitle: { [title in string]: ApiKey };
140320
- }): Promise<{
140321
- /** Whether successfully updated */success: boolean; /** A mapping between data silo title to data silo ID */
140322
- dataSiloTitleToId: { [k in string]: string };
140323
- }>;
140324
- /**
140325
- * Sync data silo dependencies
140326
- *
140327
- * @param client - GraphQL client
140328
- * @param dependencyUpdates - Mapping from [data silo ID, dependency titles]
140329
- * @returns True upon success
140330
- */
140331
- declare function syncDataSiloDependencies(client: GraphQLClient, dependencyUpdates: [string, string[]][]): Promise<boolean>;
140332
- //#endregion
140333
- //#region src/lib/graphql/formatAttributeValues.d.ts
140334
- interface FormattedAttribute {
140335
- /** Attribute key */
140336
- key: string;
140337
- /** Attribute values */
140338
- values: string[];
140339
- }
140340
- /**
140341
- * Format attribute value objects to key-pair values
140342
- *
140343
- * @param vals - Attribute values
140344
- * @returns formatted attributes
140345
- */
140346
- declare function formatAttributeValues(vals: DataSiloAttributeValue[]): FormattedAttribute[];
140347
- //#endregion
140348
- //#region src/lib/graphql/gqls/dataPoint.d.ts
140349
- declare const DATA_POINTS: string;
140350
- declare const DATA_POINT_COUNT: string;
140351
- declare const SUB_DATA_POINTS: string;
140352
- declare const SUB_DATA_POINTS_COUNT: string;
140353
- declare const SUB_DATA_POINTS_WITH_GUESSES: string;
140354
- declare const UPDATE_OR_CREATE_DATA_POINT: string;
140355
- declare const DATAPOINT_EXPORT: string;
140356
- //#endregion
140357
- //#region src/lib/graphql/gqls/entry.d.ts
140358
- declare const ENTRY_COUNT: string;
140359
- //#endregion
140360
- //#region src/lib/graphql/gqls/dataSilo.d.ts
140361
- declare const DATA_SILOS: string;
140362
- declare const DATA_SILO_EXPORT: string;
140363
- declare const DATA_SILOS_ENRICHED: string;
140364
- declare const UPDATE_DATA_SILOS: string;
140365
- declare const CREATE_DATA_SILOS: string;
140366
- //#endregion
140367
- //#region src/lib/graphql/gqls/enricher.d.ts
140368
- declare const ENRICHERS: string;
140369
- interface Initializer {
140370
- /** ID of enricher */
140371
- id: string;
140372
- /** Identifiers */
140373
- identifiers: {
140374
- /** Name of identifier */name: string;
140375
- }[];
140376
- }
140377
- declare const INITIALIZER: string;
140378
- declare const CREATE_ENRICHER: string;
140379
- declare const UPDATE_ENRICHER: string;
140380
- //#endregion
140381
- //#region src/lib/graphql/gqls/identifier.d.ts
140382
- declare const NEW_IDENTIFIER_TYPES: string;
140383
- declare const CREATE_IDENTIFIER: string;
140384
- declare const UPDATE_IDENTIFIER: string;
140385
- //#endregion
140386
- //#region src/lib/graphql/gqls/dataSubject.d.ts
140387
- declare const DATA_SUBJECTS: string;
140388
- declare const CREATE_DATA_SUBJECT: string;
140389
- declare const UPDATE_DATA_SUBJECT: string;
140390
- declare const TOGGLE_DATA_SUBJECT: string;
140391
- //#endregion
140392
- //#region src/lib/graphql/gqls/request.d.ts
140393
- declare const REQUESTS_COUNT: string;
140394
- declare const REQUESTS: string;
140395
- declare const APPROVE_PRIVACY_REQUEST: string;
140396
- declare const CANCEL_PRIVACY_REQUEST: string;
140397
- declare const UPDATE_PRIVACY_REQUEST: string;
140398
- declare const NOTIFY_ADDITIONAL_TIME: string;
140399
- //#endregion
140400
- //#region src/lib/graphql/gqls/RequestEnricher.d.ts
140401
- declare const REQUEST_ENRICHERS: string;
140402
- declare const RETRY_REQUEST_ENRICHER: string;
140403
- declare const SKIP_REQUEST_ENRICHER: string;
140404
- //#endregion
140405
- //#region src/lib/graphql/gqls/assessmentTemplate.d.ts
140406
- declare const ASSESSMENT_TEMPLATES: string;
140407
- //#endregion
140408
- //#region src/lib/graphql/gqls/RequestDataSilo.d.ts
140409
- declare const REQUEST_DATA_SILOS: string;
140410
- declare const CHANGE_REQUEST_DATA_SILO_STATUS: string;
140411
- declare const RETRY_REQUEST_DATA_SILO: string;
140412
- declare const REDUCED_REQUESTS_FOR_DATA_SILO_COUNT: string;
140413
- //#endregion
140414
- //#region src/lib/graphql/gqls/RequestIdentifier.d.ts
140415
- declare const REMOVE_REQUEST_IDENTIFIERS: string;
140416
- declare const REQUEST_IDENTIFIERS: string;
140417
- //#endregion
140418
- //#region src/lib/graphql/gqls/requestFile.d.ts
140419
- declare const REQUEST_FILES: string;
140420
- declare const BULK_REQUEST_FILES: string;
140421
- //#endregion
140422
- //#region src/lib/graphql/gqls/sombraVersion.d.ts
140423
- declare const SOMBRA_VERSION: string;
140424
- //#endregion
140425
- //#region src/lib/graphql/pullTranscendConfiguration.d.ts
140426
- declare const DEFAULT_TRANSCEND_PULL_RESOURCES: TranscendPullResource[];
140427
- interface TranscendPullConfigurationInput {
140428
- /** Page size */
140429
- pageSize: number;
140430
- /** Enable debug logs */
140431
- debug: boolean;
140432
- /** The data silo IDs to sync. If empty list, pull all. */
140433
- dataSiloIds: string[];
140434
- /** Resources to pull in */
140435
- resources?: TranscendPullResource[];
140436
- /** The data silo types to sync.If empty list, pull all. */
140437
- integrationNames: string[];
140438
- /** The tracker statuses to pull */
140439
- trackerStatuses?: ConsentTrackerStatus[];
140440
- /** Skip fetching of datapoints */
140441
- skipDatapoints?: boolean;
140442
- /** Skip fetching of subdatapoints */
140443
- skipSubDatapoints?: boolean;
140444
- /** When true, metadata around guessed data categories should be included */
140445
- includeGuessedCategories?: boolean;
140446
- }
140447
- /**
140448
- * Pull a yaml configuration from Transcend
140449
- *
140450
- * @param client - GraphQL client
140451
- * @param dataSiloIds - The data silos to sync. If empty list, pull all.
140452
- * @returns The configuration
140453
- */
140454
- declare function pullTranscendConfiguration(client: GraphQLClient, {
140455
- dataSiloIds,
140456
- integrationNames,
140457
- debug,
140458
- resources,
140459
- pageSize,
140460
- skipDatapoints,
140461
- includeGuessedCategories,
140462
- skipSubDatapoints,
140463
- trackerStatuses
140464
- }: TranscendPullConfigurationInput): Promise<TranscendInput>;
140465
- //#endregion
140466
- //#region src/lib/graphql/retryRequestEnricher.d.ts
140467
- /**
140468
- * Retry a request enricher
140469
- *
140470
- * @param client - GraphQL client
140471
- * @param id - The ID of the request enricher to restart
140472
- */
140473
- declare function retryRequestEnricher(client: GraphQLClient, id: string): Promise<void>;
140474
- //#endregion
140475
- //#region src/lib/graphql/syncCodePackages.d.ts
140476
- /**
140477
- * Create a new code package
140478
- *
140479
- * @param client - GraphQL client
140480
- * @param input - Code package input
140481
- * @returns Code package ID
140482
- */
140483
- declare function createCodePackage(client: GraphQLClient, input: {
140484
- /** Name of package */name: string; /** Description of package */
140485
- description?: string; /** Type of package */
140486
- type: CodePackageType; /** Relative path to package */
140487
- relativePath: string; /** Repository ID */
140488
- repositoryId?: string; /** Name of repository */
140489
- repositoryName?: string; /** IDs of SDKs */
140490
- softwareDevelopmentKitIds?: string[]; /** IDs of owners */
140491
- ownerIds?: string[]; /** Emails of owners */
140492
- ownerEmails?: string[]; /** IDs of teams */
140493
- teamIds?: string[]; /** Names of teams */
140494
- teamNames?: string[];
140495
- }): Promise<CodePackage>;
140496
- /**
140497
- * Update an existing code package
140498
- *
140499
- * @param client - GraphQL client
140500
- * @param inputs - Code package input
140501
- * @returns Code packages that were updated
140502
- */
140503
- declare function updateCodePackages(client: GraphQLClient, inputs: {
140504
- /** ID of code package */id: string; /** Name of package */
140505
- name: string; /** Description of package */
140506
- description?: string; /** Type of package */
140507
- type: CodePackageType; /** Relative path to package */
140508
- relativePath: string; /** Repository ID */
140509
- repositoryId?: string; /** Name of repository */
140510
- repositoryName?: string; /** IDs of SDKs */
140511
- softwareDevelopmentKitIds?: string[]; /** IDs of owners */
140512
- ownerIds?: string[]; /** Emails of owners */
140513
- ownerEmails?: string[]; /** IDs of teams */
140514
- teamIds?: string[]; /** Names of teams */
140515
- teamNames?: string[];
140516
- }[]): Promise<CodePackage[]>;
140517
- /**
140518
- * Uploads silo discovery results for Transcend to classify
140519
- *
140520
- * @param client - GraphQL Client
140521
- * @param codePackages - Packages to upload
140522
- * @param concurrency - How many concurrent requests to make
140523
- * @returns True if successful, false if any updates failed, or an error occurs
140524
- */
140525
- declare function syncCodePackages(client: GraphQLClient, codePackages: CodePackageInput[], concurrency?: number): Promise<boolean>;
140526
- //#endregion
140527
- //#region src/lib/graphql/syncDataSubject.d.ts
140528
- /**
140529
- * Sync the data subjects
140530
- *
140531
- * @param client - GraphQL client
140532
- * @param options - Options
140533
- */
140534
- declare function syncDataSubject(client: GraphQLClient, {
140535
- dataSubject,
140536
- dataSubjectId,
140537
- skipPublish
140538
- }: {
140539
- /** DataSubject update input */dataSubject: DataSubjectInput; /** Existing data subject Id */
140540
- dataSubjectId: string; /** When true, skip publishing to privacy center */
140541
- skipPublish?: boolean;
140542
- }): Promise<void>;
140543
- //#endregion
140544
- //#region src/lib/graphql/syncEnrichers.d.ts
140545
- interface Enricher {
140546
- /** ID of enricher */
140547
- id: string;
140548
- /** Title of enricher */
140549
- title: string;
140550
- /** URL of enricher */
140551
- url: string;
140552
- /** Server silo */
140553
- type: EnricherType;
140554
- /** Input identifier */
140555
- inputIdentifier: {
140556
- /** Identifier name */name: string;
140557
- };
140558
- /** The selected actions */
140559
- actions: RequestAction[];
140560
- /** Output identifiers */
140561
- identifiers: {
140562
- /** Identifier name */name: string;
140563
- }[];
140564
- /** Data subjects that the preflight check is configured for */
140565
- dataSubjects: {
140566
- /** Data subject type */type: string;
140567
- }[];
140568
- /** The duration (in ms) that the enricher should take to execute. - BigInt */
140569
- expirationDuration: string;
140570
- /** Looker query title */
140571
- lookerQueryTitle?: string;
140572
- /** A regular expression that can be used to match on for cancelation */
140573
- testRegex?: string;
140574
- /** The status that the enricher should transfer to when condition is met. */
140575
- transitionRequestStatus?: PreflightRequestStatus;
140576
- /** The twilio phone number to send from */
140577
- phoneNumbers: string[];
140578
- /**
140579
- * The list of regions that should trigger the enrichment condition
140580
- */
140581
- regionList: (IsoCountryCode | IsoCountrySubdivisionCode)[];
140582
- }
140583
- /**
140584
- * Fetch all enrichers in the organization
140585
- *
140586
- * @param client - GraphQL client
140587
- * @param title - Filter by title
140588
- * @returns All enrichers in the organization
140589
- */
140590
- declare function fetchAllEnrichers(client: GraphQLClient, title?: string): Promise<Enricher[]>;
140591
- /**
140592
- * Sync an enricher configuration
140593
- *
140594
- * @param client - GraphQL client
140595
- * @param options - Options
140596
- */
140597
- declare function syncEnricher(client: GraphQLClient, {
140598
- enricher,
140599
- identifierByName,
140600
- dataSubjectsByName
140601
- }: {
140602
- /** The enricher input */enricher: EnricherInput; /** Index of identifiers in the organization */
140603
- identifierByName: { [name in string]: Identifier }; /** Lookup data subject by name */
140604
- dataSubjectsByName: { [name in string]: DataSubject };
140605
- }): Promise<void>;
140606
- //#endregion
140607
- //#region src/lib/graphql/syncIdentifier.d.ts
140608
- /**
140609
- * Sync the consent manager
140610
- *
140611
- * @param client - GraphQL client
140612
- * @param options - Options
140613
- */
140614
- declare function syncIdentifier(client: GraphQLClient, {
140615
- identifier,
140616
- dataSubjectsByName,
140617
- identifierId,
140618
- skipPublish
140619
- }: {
140620
- /** Identifier update input */identifier: IdentifierInput; /** Data subject lookup by name */
140621
- dataSubjectsByName: { [k in string]: DataSubject }; /** Existing identifier Id */
140622
- identifierId: string; /** When true, skip publishing to privacy center */
140623
- skipPublish?: boolean;
140624
- }): Promise<void>;
140625
- //#endregion
140626
- //#region src/lib/requests/mapColumnsToAttributes.d.ts
140627
- /**
140628
- * Mapping from attribute name to request input parameter
140629
- */
140630
- type AttributeNameMap = { [k in string]: string };
140631
- /**
140632
- * Create a mapping from the attributes names that can be included
140633
- * at request submission, to the names of the columns that map to those
140634
- * attributes.
140635
- *
140636
- * @param client - GraphQL client
140637
- * @param columnNames - The set of all column names
140638
- * @param state - Cached state of this mapping
140639
- * @param requestAttributeKeys - Attribute keys to map
140640
- * @returns Mapping from attributes name to column name
140641
- */
140642
- declare function mapColumnsToAttributes(client: GraphQLClient, columnNames: string[], state: PersistedState<typeof CachedFileState>, requestAttributeKeys: AttributeKey[]): Promise<AttributeNameMap>;
140643
- //#endregion
140644
- //#region src/lib/requests/mapColumnsToIdentifiers.d.ts
140645
- /**
140646
- * Mapping from identifier name to request input parameter
140647
- */
140648
- type IdentifierNameMap = { [k in string]: string };
140649
- /**
140650
- * Create a mapping from the identifier names that can be included
140651
- * at request submission, to the names of the columns that map to those
140652
- * identifiers.
140653
- *
140654
- * @param client - GraphQL client
140655
- * @param columnNames - The set of all column names
140656
- * @param state - Cached state of this mapping
140657
- * @returns Mapping from identifier name to column name
140658
- */
140659
- declare function mapColumnsToIdentifiers(client: GraphQLClient, columnNames: string[], state: PersistedState<typeof CachedFileState>): Promise<IdentifierNameMap>;
140660
- //#endregion
140661
- //#region src/lib/requests/mapCsvRowsToRequestInputs.d.ts
140662
- /**
140663
- * Shape of additional identifiers
140664
- *
140665
- * key of object is IdentifierType
140666
- */
140667
- declare const AttestedExtraIdentifiers: t.RecordC<t.StringC, t.ArrayC<t.IntersectionC<[t.TypeC<{
140668
- /** Value of identifier */value: t.StringC;
140669
- }>, t.PartialC<{
140670
- /** Name of identifier - option for non-custom identifier types */name: t.StringC;
140671
- }>]>>>;
140672
- /** Type override */
140673
- type AttestedExtraIdentifiers = t.TypeOf<typeof AttestedExtraIdentifiers>;
140674
- declare const PrivacyRequestInput: t.IntersectionC<[t.TypeC<{
140675
- /** Email of user */email: t.StringC; /** Extra identifiers */
140676
- attestedExtraIdentifiers: t.RecordC<t.StringC, t.ArrayC<t.IntersectionC<[t.TypeC<{
140677
- /** Value of identifier */value: t.StringC;
140678
- }>, t.PartialC<{
140679
- /** Name of identifier - option for non-custom identifier types */name: t.StringC;
140680
- }>]>>>; /** Core identifier for user */
140681
- coreIdentifier: t.StringC; /** Action type being submitted */
140682
- requestType: t.KeyofC<{
139575
+ //#region src/lib/requests/submitPrivacyRequest.d.ts
139576
+ declare const PrivacyRequestResponse: t.TypeC<{
139577
+ id: t.StringC;
139578
+ link: t.StringC;
139579
+ status: t.KeyofC<{
139580
+ CANCELED: unknown;
139581
+ ON_HOLD: unknown;
139582
+ FAILED_VERIFICATION: unknown;
139583
+ COMPLETED: unknown;
139584
+ SECONDARY_COMPLETED: unknown;
139585
+ REVOKED: unknown;
139586
+ REQUEST_MADE: unknown;
139587
+ ENRICHING: unknown;
139588
+ WAITING: unknown;
139589
+ COMPILING: unknown;
139590
+ APPROVING: unknown;
139591
+ DELAYED: unknown;
139592
+ DOWNLOADABLE: unknown;
139593
+ VIEW_CATEGORIES: unknown;
139594
+ SECONDARY: unknown;
139595
+ SECONDARY_APPROVING: unknown;
139596
+ }>;
139597
+ type: t.KeyofC<{
140683
139598
  AUTOMATED_DECISION_MAKING_OPT_OUT: unknown;
140684
139599
  USE_OF_SENSITIVE_INFORMATION_OPT_OUT: unknown;
140685
139600
  CONTACT_OPT_OUT: unknown;
@@ -140699,10 +139614,13 @@ declare const PrivacyRequestInput: t.IntersectionC<[t.TypeC<{
140699
139614
  BUSINESS_PURPOSE: unknown;
140700
139615
  PLACE_ON_LEGAL_HOLD: unknown;
140701
139616
  REMOVE_FROM_LEGAL_HOLD: unknown;
140702
- }>; /** Type of data subject */
139617
+ }>;
140703
139618
  subjectType: t.StringC;
140704
- }>, t.PartialC<{
140705
- /** Country */country: t.KeyofC<{
139619
+ email: t.UnionC<[t.NullC, t.StringC]>;
139620
+ coreIdentifier: t.StringC;
139621
+ isSilent: t.BooleanC;
139622
+ isTest: t.BooleanC;
139623
+ country: t.UnionC<[t.NullC, t.KeyofC<{
140706
139624
  AF: unknown;
140707
139625
  AX: unknown;
140708
139626
  AL: unknown;
@@ -140953,8 +139871,8 @@ declare const PrivacyRequestInput: t.IntersectionC<[t.TypeC<{
140953
139871
  ZM: unknown;
140954
139872
  ZW: unknown;
140955
139873
  EU: unknown;
140956
- }>; /** Country sub division */
140957
- countrySubDivision: t.KeyofC<{
139874
+ }>]>;
139875
+ countrySubDivision: t.UnionC<[t.NullC, t.KeyofC<{
140958
139876
  "AD-02": unknown;
140959
139877
  "AD-03": unknown;
140960
139878
  "AD-04": unknown;
@@ -146088,20 +145006,276 @@ declare const PrivacyRequestInput: t.IntersectionC<[t.TypeC<{
146088
145006
  "ZW-MS": unknown;
146089
145007
  "ZW-MV": unknown;
146090
145008
  "ZW-MW": unknown;
146091
- }>; /** Attribute inputs */
146092
- attributes: t.ArrayC<t.TypeC<{
146093
- key: t.StringC;
146094
- values: t.ArrayC<t.StringC>;
146095
- }>>; /** The status that the request should be created as */
146096
- status: t.KeyofC<{
146097
- CANCELED: unknown;
146098
- FAILED_VERIFICATION: unknown;
146099
- COMPLETED: unknown;
146100
- SECONDARY_COMPLETED: unknown;
146101
- REVOKED: unknown;
146102
- }>; /** The time that the request was created */
146103
- createdAt: io_ts_types0.DateFromISOStringC; /** Data silo IDs to submit for */
146104
- dataSiloIds: t.ArrayC<t.StringC>; /** Language key to map to */
145009
+ }>]>;
145010
+ attributeValues: t.ArrayC<t.TypeC<{
145011
+ attributeKey: t.TypeC<{
145012
+ name: t.StringC;
145013
+ }>;
145014
+ name: t.StringC;
145015
+ }>>;
145016
+ }>;
145017
+ /** Type override */
145018
+ type PrivacyRequestResponse = t.TypeOf<typeof PrivacyRequestResponse>;
145019
+ /**
145020
+ * Submit a privacy request to the Transcend API
145021
+ *
145022
+ * @param sombra - Sombra instance configured to make requests
145023
+ * @param input - Request input
145024
+ * @param options - Additional options
145025
+ * @returns Successfully submitted request
145026
+ */
145027
+ declare function submitPrivacyRequest(sombra: Got, input: PrivacyRequestInput, {
145028
+ details,
145029
+ isTest,
145030
+ emailIsVerified,
145031
+ skipSendingReceipt,
145032
+ isSilent,
145033
+ additionalAttributes
145034
+ }?: {
145035
+ /** Whether or not the request is a test request */isTest?: boolean; /** Whether or not the request is in silent mode */
145036
+ isSilent?: boolean; /** Whether the email is verified up front */
145037
+ emailIsVerified?: boolean; /** When true, skip sending of the email receipt */
145038
+ skipSendingReceipt?: boolean; /** Request details */
145039
+ details?: string; /** Additional attributes to tag the requests with */
145040
+ additionalAttributes?: ParsedAttributeInput[];
145041
+ }): Promise<PrivacyRequestResponse>;
145042
+ //#endregion
145043
+ //#region src/lib/requests/approvePrivacyRequests.d.ts
145044
+ /**
145045
+ * Approve a set of privacy requests
145046
+ *
145047
+ * @param options - Options
145048
+ * @returns The number of requests approved
145049
+ */
145050
+ declare function approvePrivacyRequests({
145051
+ requestActions,
145052
+ requestOrigins,
145053
+ auth,
145054
+ silentModeBefore,
145055
+ createdAtAfter,
145056
+ createdAtBefore,
145057
+ updatedAtBefore,
145058
+ updatedAtAfter,
145059
+ concurrency,
145060
+ transcendUrl
145061
+ }: {
145062
+ /** The request actions that should be restarted */requestActions: RequestAction[]; /** The request origins that should be restarted */
145063
+ requestOrigins?: RequestOrigin[]; /** Transcend API key authentication */
145064
+ auth: string; /** Concurrency limit for approving */
145065
+ concurrency?: number; /** Mark these requests as silent mode if they were created before this date */
145066
+ silentModeBefore?: Date; /** Filter for requests created before this date */
145067
+ createdAtBefore?: Date; /** Filter for requests created after this date */
145068
+ createdAtAfter?: Date; /** Filter for requests updated before this date */
145069
+ updatedAtBefore?: Date; /** Filter for requests updated after this date */
145070
+ updatedAtAfter?: Date; /** API URL for Transcend backend */
145071
+ transcendUrl?: string;
145072
+ }): Promise<number>;
145073
+ //#endregion
145074
+ //#region src/lib/requests/notifyPrivacyRequestsAdditionalTime.d.ts
145075
+ /**
145076
+ * Mark a set of privacy requests to be in silent mode.
145077
+ * Note requests in silent mode are ignored
145078
+ *
145079
+ * @param options - Options
145080
+ * @returns The number of requests marked silent
145081
+ */
145082
+ declare function notifyPrivacyRequestsAdditionalTime({
145083
+ requestActions,
145084
+ auth,
145085
+ requestIds,
145086
+ createdAtBefore,
145087
+ days,
145088
+ daysLeft,
145089
+ createdAtAfter,
145090
+ updatedAtBefore,
145091
+ updatedAtAfter,
145092
+ emailTemplate,
145093
+ concurrency,
145094
+ transcendUrl
145095
+ }: {
145096
+ /** The request actions that should be restarted */requestActions?: RequestAction[]; /** Filter for requests created before this date */
145097
+ createdAtBefore: Date; /** Filter for requests created after this date */
145098
+ createdAtAfter?: Date; /** Filter for requests updated before this date */
145099
+ updatedAtBefore?: Date; /** Filter for requests updated after this date */
145100
+ updatedAtAfter?: Date; /** Email template */
145101
+ emailTemplate?: string; /** Transcend API key authentication */
145102
+ auth: string; /** Number of days to extend request by */
145103
+ days?: number;
145104
+ /**
145105
+ * Only notify requests that have less than this number of days until they are considered expired.
145106
+ * This allows for re-running the command without notifying the same users multiple times
145107
+ */
145108
+ daysLeft?: number; /** Concurrency limit for approving */
145109
+ concurrency?: number; /** The set of privacy requests to notify */
145110
+ requestIds?: string[]; /** API URL for Transcend backend */
145111
+ transcendUrl?: string;
145112
+ }): Promise<number>;
145113
+ //#endregion
145114
+ //#region src/lib/requests/cancelPrivacyRequests.d.ts
145115
+ /**
145116
+ * Cancel a set of privacy requests
145117
+ *
145118
+ * @param options - Options
145119
+ * @returns The number of requests canceled
145120
+ */
145121
+ declare function cancelPrivacyRequests({
145122
+ requestActions,
145123
+ cancellationTitle,
145124
+ auth,
145125
+ requestIds,
145126
+ silentModeBefore,
145127
+ createdAtBefore,
145128
+ createdAtAfter,
145129
+ updatedAtBefore,
145130
+ updatedAtAfter,
145131
+ statuses,
145132
+ concurrency,
145133
+ transcendUrl
145134
+ }: {
145135
+ /** The request actions that should be restarted */requestActions: RequestAction[]; /** Transcend API key authentication */
145136
+ auth: string; /** Concurrency limit for approving */
145137
+ concurrency?: number; /** The request statuses to cancel */
145138
+ statuses?: RequestStatus[]; /** The set of privacy requests to cancel */
145139
+ requestIds?: string[]; /** Mark these requests as silent mode if they were created before this date */
145140
+ silentModeBefore?: Date; /** Filter for requests created before this date */
145141
+ createdAtBefore?: Date; /** Filter for requests created after this date */
145142
+ createdAtAfter?: Date; /** Filter for requests updated before this date */
145143
+ updatedAtBefore?: Date; /** Filter for requests updated after this date */
145144
+ updatedAtAfter?: Date; /** API URL for Transcend backend */
145145
+ transcendUrl?: string; /** The email template to use when canceling the requests */
145146
+ cancellationTitle?: string;
145147
+ }): Promise<number>;
145148
+ //#endregion
145149
+ //#region src/lib/graphql/ensureAllDataSubjectsExist.d.ts
145150
+ /**
145151
+ * Fetch all of the data subjects in the organization
145152
+ *
145153
+ * @param input - Input to fetch
145154
+ * @param client - GraphQL client
145155
+ * @param fetchAll - When true, always fetch all subjects
145156
+ * @returns The list of data subjects
145157
+ */
145158
+ declare function ensureAllDataSubjectsExist({
145159
+ 'data-silos': dataSilos,
145160
+ 'data-subjects': dataSubjects,
145161
+ 'processing-activities': processingActivities,
145162
+ enrichers
145163
+ }: TranscendInput, client: GraphQLClient, fetchAll?: boolean): Promise<{ [type in string]: DataSubject }>;
145164
+ //#endregion
145165
+ //#region src/lib/graphql/fetchAllAssessmentTemplates.d.ts
145166
+ /**
145167
+ * Represents an assessment template with various properties and metadata.
145168
+ */
145169
+ interface AssessmentTemplate {
145170
+ /** The ID of the assessment template */
145171
+ id: string;
145172
+ /** The user who created the assessment template */
145173
+ creator: UserPreview;
145174
+ /** The user who last edited the assessment template */
145175
+ lastEditor: UserPreview;
145176
+ /** The title of the assessment template */
145177
+ title: string;
145178
+ /** The description of the assessment template */
145179
+ description: string;
145180
+ /** The current status of the assessment template */
145181
+ status: AssessmentFormTemplateStatus;
145182
+ /** The source fo the form template */
145183
+ source: AssessmentFormTemplateSource;
145184
+ /** ID of parent template */
145185
+ parentId: string;
145186
+ /** Indicates if the assessment template is locked */
145187
+ isLocked: boolean;
145188
+ /** Indicates if the assessment template is archived */
145189
+ isArchived: boolean;
145190
+ /** The date when the assessment template was created */
145191
+ createdAt: string;
145192
+ /** The date when the assessment template was last updated */
145193
+ updatedAt: string;
145194
+ /** The retention schedule of the assessment template */
145195
+ retentionSchedule?: RetentionSchedule;
145196
+ /** The sections of the assessment template */
145197
+ sections: AssessmentSection[];
145198
+ }
145199
+ /**
145200
+ * Fetch all assessment templates in the organization
145201
+ *
145202
+ * @param client - GraphQL client
145203
+ * @returns All assessment templates in the organization
145204
+ */
145205
+ declare function fetchAllAssessmentTemplates(client: GraphQLClient): Promise<AssessmentTemplate[]>;
145206
+ //#endregion
145207
+ //#region src/lib/graphql/fetchAllRequests.d.ts
145208
+ declare const RequestPurposeTrigger: t.TypeC<{
145209
+ title: t.StringC;
145210
+ name: t.StringC;
145211
+ consent: t.BooleanC;
145212
+ enrichedPreferences: t.ArrayC<t.TypeC<{
145213
+ topic: t.StringC;
145214
+ selectValues: t.ArrayC<t.TypeC<{
145215
+ id: t.StringC;
145216
+ name: t.StringC;
145217
+ preferenceOption: t.TypeC<{
145218
+ id: t.StringC;
145219
+ slug: t.StringC;
145220
+ title: t.TypeC<{
145221
+ defaultMessage: t.StringC;
145222
+ }>;
145223
+ }>;
145224
+ }>>;
145225
+ selectValue: t.TypeC<{
145226
+ id: t.StringC;
145227
+ name: t.StringC;
145228
+ }>;
145229
+ preferenceTopic: t.TypeC<{
145230
+ title: t.TypeC<{
145231
+ defaultMessage: t.StringC;
145232
+ }>;
145233
+ id: t.StringC;
145234
+ slug: t.StringC;
145235
+ }>;
145236
+ name: t.StringC;
145237
+ id: t.StringC;
145238
+ booleanValue: t.BooleanC;
145239
+ }>>;
145240
+ }>;
145241
+ /** Override type */
145242
+ type RequestPurposeTrigger = t.TypeOf<typeof RequestPurposeTrigger>;
145243
+ declare const PrivacyRequest: t.IntersectionC<[t.TypeC<{
145244
+ /** Request ID */id: t.StringC; /** Time request was made */
145245
+ createdAt: t.StringC; /** Email of request */
145246
+ email: t.StringC; /** The type of request */
145247
+ type: t.KeyofC<{
145248
+ AUTOMATED_DECISION_MAKING_OPT_OUT: unknown;
145249
+ USE_OF_SENSITIVE_INFORMATION_OPT_OUT: unknown;
145250
+ CONTACT_OPT_OUT: unknown;
145251
+ SALE_OPT_OUT: unknown;
145252
+ TRACKING_OPT_OUT: unknown;
145253
+ CUSTOM_OPT_OUT: unknown;
145254
+ AUTOMATED_DECISION_MAKING_OPT_IN: unknown;
145255
+ USE_OF_SENSITIVE_INFORMATION_OPT_IN: unknown;
145256
+ SALE_OPT_IN: unknown;
145257
+ TRACKING_OPT_IN: unknown;
145258
+ CONTACT_OPT_IN: unknown;
145259
+ CUSTOM_OPT_IN: unknown;
145260
+ ACCESS: unknown;
145261
+ ERASURE: unknown;
145262
+ RECTIFICATION: unknown;
145263
+ RESTRICTION: unknown;
145264
+ BUSINESS_PURPOSE: unknown;
145265
+ PLACE_ON_LEGAL_HOLD: unknown;
145266
+ REMOVE_FROM_LEGAL_HOLD: unknown;
145267
+ }>; /** Link to request in Transcend dashboard */
145268
+ link: t.StringC; /** Whether request is in silent mode */
145269
+ isSilent: t.BooleanC; /** Where request was made */
145270
+ origin: t.KeyofC<{
145271
+ PRIVACY_CENTER: unknown;
145272
+ ADMIN_DASHBOARD: unknown;
145273
+ API: unknown;
145274
+ SHOPIFY: unknown;
145275
+ }>; /** Whether request is a test request */
145276
+ isTest: t.BooleanC; /** The core identifier of the request */
145277
+ coreIdentifier: t.StringC; /** Request details */
145278
+ details: t.StringC; /** Locale of request */
146105
145279
  locale: t.KeyofC<{
146106
145280
  af: unknown;
146107
145281
  sq: unknown;
@@ -146293,82 +145467,7 @@ declare const PrivacyRequestInput: t.IntersectionC<[t.TypeC<{
146293
145467
  "cy-GB": unknown;
146294
145468
  "eu-ES": unknown;
146295
145469
  "gl-ES": unknown;
146296
- }>;
146297
- }>]>;
146298
- /** Type override */
146299
- type PrivacyRequestInput = t.TypeOf<typeof PrivacyRequestInput>;
146300
- /**
146301
- * Transform the identifier value based on type
146302
- *
146303
- * @param identifierValue - Value of identifier
146304
- * @param identifierType - Type of identifier
146305
- * @param defaultPhoneCountryCode - Default country code for phone numbers
146306
- * @returns Post-processed identifier
146307
- */
146308
- declare function normalizeIdentifierValue(identifierValue: string, identifierType: IdentifierType, defaultPhoneCountryCode: string): string;
146309
- /**
146310
- * Take the raw rows in a CSV upload, and map those rows to the request
146311
- * input shape that can be passed to the Transcend API to submit a privacy
146312
- * request.
146313
- *
146314
- * @param requestInputs - CSV of requests to be uploaded
146315
- * @param state - The cached set of mapping values
146316
- * @param options - Options
146317
- * @returns [raw input, request input] list
146318
- */
146319
- declare function mapCsvRowsToRequestInputs(requestInputs: ObjByString[], state: PersistedState<typeof CachedFileState>, {
146320
- columnNameMap,
146321
- identifierNameMap,
146322
- attributeNameMap,
146323
- requestAttributeKeys,
146324
- defaultPhoneCountryCode
146325
- }: {
146326
- /** Default country code */defaultPhoneCountryCode?: string; /** Mapping of column names */
146327
- columnNameMap: ColumnNameMap; /** Mapping of identifier names */
146328
- identifierNameMap: IdentifierNameMap; /** Mapping of attribute names */
146329
- attributeNameMap: AttributeNameMap; /** Request attribute keys */
146330
- requestAttributeKeys: AttributeKey[];
146331
- }): [Record<string, string>, PrivacyRequestInput][];
146332
- //#endregion
146333
- //#region src/lib/requests/downloadPrivacyRequestFiles.d.ts
146334
- /**
146335
- * Download a set of privacy requests to disk
146336
- *
146337
- * @param options - Options
146338
- * @returns The number of requests canceled
146339
- */
146340
- declare function downloadPrivacyRequestFiles({
146341
- auth,
146342
- folderPath,
146343
- requestIds,
146344
- createdAtBefore,
146345
- sombraAuth,
146346
- createdAtAfter,
146347
- updatedAtBefore,
146348
- updatedAtAfter,
146349
- statuses,
146350
- concurrency,
146351
- transcendUrl,
146352
- approveAfterDownload
146353
- }: {
146354
- /** The folder path to download the files to */folderPath: string; /** Transcend API key authentication */
146355
- auth: string; /** Sombra API key authentication */
146356
- sombraAuth?: string; /** Concurrency limit for approving */
146357
- concurrency?: number; /** The request statuses to cancel */
146358
- statuses?: RequestStatus[]; /** The set of privacy requests to cancel */
146359
- requestIds?: string[]; /** Filter for requests created before this date */
146360
- createdAtBefore?: Date; /** Filter for requests created after this date */
146361
- createdAtAfter?: Date; /** Filter for requests updated before this date */
146362
- updatedAtBefore?: Date; /** Filter for requests updated after this date */
146363
- updatedAtAfter?: Date; /** API URL for Transcend backend */
146364
- transcendUrl?: string; /** When true, approve any requests in Transcend that are in status=APPROVING */
146365
- approveAfterDownload?: boolean;
146366
- }): Promise<number>;
146367
- //#endregion
146368
- //#region src/lib/requests/submitPrivacyRequest.d.ts
146369
- declare const PrivacyRequestResponse: t.TypeC<{
146370
- id: t.StringC;
146371
- link: t.StringC;
145470
+ }>; /** Status of request */
146372
145471
  status: t.KeyofC<{
146373
145472
  CANCELED: unknown;
146374
145473
  ON_HOLD: unknown;
@@ -146386,33 +145485,8 @@ declare const PrivacyRequestResponse: t.TypeC<{
146386
145485
  VIEW_CATEGORIES: unknown;
146387
145486
  SECONDARY: unknown;
146388
145487
  SECONDARY_APPROVING: unknown;
146389
- }>;
146390
- type: t.KeyofC<{
146391
- AUTOMATED_DECISION_MAKING_OPT_OUT: unknown;
146392
- USE_OF_SENSITIVE_INFORMATION_OPT_OUT: unknown;
146393
- CONTACT_OPT_OUT: unknown;
146394
- SALE_OPT_OUT: unknown;
146395
- TRACKING_OPT_OUT: unknown;
146396
- CUSTOM_OPT_OUT: unknown;
146397
- AUTOMATED_DECISION_MAKING_OPT_IN: unknown;
146398
- USE_OF_SENSITIVE_INFORMATION_OPT_IN: unknown;
146399
- SALE_OPT_IN: unknown;
146400
- TRACKING_OPT_IN: unknown;
146401
- CONTACT_OPT_IN: unknown;
146402
- CUSTOM_OPT_IN: unknown;
146403
- ACCESS: unknown;
146404
- ERASURE: unknown;
146405
- RECTIFICATION: unknown;
146406
- RESTRICTION: unknown;
146407
- BUSINESS_PURPOSE: unknown;
146408
- PLACE_ON_LEGAL_HOLD: unknown;
146409
- REMOVE_FROM_LEGAL_HOLD: unknown;
146410
- }>;
146411
- subjectType: t.StringC;
146412
- email: t.UnionC<[t.NullC, t.StringC]>;
146413
- coreIdentifier: t.StringC;
146414
- isSilent: t.BooleanC;
146415
- isTest: t.BooleanC;
145488
+ }>; /** Type of data subject */
145489
+ subjectType: t.StringC; /** Country of request */
146416
145490
  country: t.UnionC<[t.NullC, t.KeyofC<{
146417
145491
  AF: unknown;
146418
145492
  AX: unknown;
@@ -146664,7 +145738,7 @@ declare const PrivacyRequestResponse: t.TypeC<{
146664
145738
  ZM: unknown;
146665
145739
  ZW: unknown;
146666
145740
  EU: unknown;
146667
- }>]>;
145741
+ }>]>; /** Subdivision of request */
146668
145742
  countrySubDivision: t.UnionC<[t.NullC, t.KeyofC<{
146669
145743
  "AD-02": unknown;
146670
145744
  "AD-03": unknown;
@@ -151799,145 +150873,268 @@ declare const PrivacyRequestResponse: t.TypeC<{
151799
150873
  "ZW-MS": unknown;
151800
150874
  "ZW-MV": unknown;
151801
150875
  "ZW-MW": unknown;
151802
- }>]>;
150876
+ }>]>; /** Request attributes */
151803
150877
  attributeValues: t.ArrayC<t.TypeC<{
150878
+ id: t.StringC;
151804
150879
  attributeKey: t.TypeC<{
151805
150880
  name: t.StringC;
150881
+ id: t.StringC;
151806
150882
  }>;
151807
150883
  name: t.StringC;
151808
150884
  }>>;
151809
- }>;
150885
+ }>, t.PartialC<{
150886
+ /** Days remaining until expired */daysRemaining: t.UnionC<[t.NullC, t.NumberC]>; /** Time when request was successfully completed */
150887
+ successfullyCompletedAt: t.UnionC<[t.NullC, t.StringC]>; /** Purpose */
150888
+ purpose: t.TypeC<{
150889
+ title: t.StringC;
150890
+ name: t.StringC;
150891
+ consent: t.BooleanC;
150892
+ enrichedPreferences: t.ArrayC<t.TypeC<{
150893
+ topic: t.StringC;
150894
+ selectValues: t.ArrayC<t.TypeC<{
150895
+ id: t.StringC;
150896
+ name: t.StringC;
150897
+ preferenceOption: t.TypeC<{
150898
+ id: t.StringC;
150899
+ slug: t.StringC;
150900
+ title: t.TypeC<{
150901
+ defaultMessage: t.StringC;
150902
+ }>;
150903
+ }>;
150904
+ }>>;
150905
+ selectValue: t.TypeC<{
150906
+ id: t.StringC;
150907
+ name: t.StringC;
150908
+ }>;
150909
+ preferenceTopic: t.TypeC<{
150910
+ title: t.TypeC<{
150911
+ defaultMessage: t.StringC;
150912
+ }>;
150913
+ id: t.StringC;
150914
+ slug: t.StringC;
150915
+ }>;
150916
+ name: t.StringC;
150917
+ id: t.StringC;
150918
+ booleanValue: t.BooleanC;
150919
+ }>>;
150920
+ }>;
150921
+ }>]>;
151810
150922
  /** Type override */
151811
- type PrivacyRequestResponse = t.TypeOf<typeof PrivacyRequestResponse>;
150923
+ type PrivacyRequest = t.TypeOf<typeof PrivacyRequest>;
151812
150924
  /**
151813
- * Submit a privacy request to the Transcend API
150925
+ * Fetch just the total count of requests matching a set of filters.
150926
+ * Useful for setting up a progress bar before streaming pages.
151814
150927
  *
151815
- * @param sombra - Sombra instance configured to make requests
151816
- * @param input - Request input
151817
- * @param options - Additional options
151818
- * @returns Successfully submitted request
150928
+ * @param client - GraphQL client
150929
+ * @param filterBy - Filter object (already serialized to ISO strings)
150930
+ * @returns The total count
151819
150931
  */
151820
- declare function submitPrivacyRequest(sombra: Got, input: PrivacyRequestInput, {
151821
- details,
151822
- isTest,
151823
- emailIsVerified,
151824
- skipSendingReceipt,
151825
- isSilent,
151826
- additionalAttributes
151827
- }?: {
151828
- /** Whether or not the request is a test request */isTest?: boolean; /** Whether or not the request is in silent mode */
151829
- isSilent?: boolean; /** Whether the email is verified up front */
151830
- emailIsVerified?: boolean; /** When true, skip sending of the email receipt */
151831
- skipSendingReceipt?: boolean; /** Request details */
151832
- details?: string; /** Additional attributes to tag the requests with */
151833
- additionalAttributes?: ParsedAttributeInput[];
151834
- }): Promise<PrivacyRequestResponse>;
151835
- //#endregion
151836
- //#region src/lib/requests/approvePrivacyRequests.d.ts
150932
+ declare function fetchRequestsTotalCount(client: GraphQLClient, filterBy: Record<string, unknown>): Promise<number>;
151837
150933
  /**
151838
- * Approve a set of privacy requests
150934
+ * Fetch all requests matching a set of filters.
151839
150935
  *
151840
- * @param options - Options
151841
- * @returns The number of requests approved
150936
+ * When `onPage` is provided the function streams pages to the callback
150937
+ * and never accumulates nodes in memory — ideal for very large exports.
150938
+ * Without `onPage` the function returns all nodes in a single array
150939
+ * (existing behaviour, kept for backward compatibility).
150940
+ *
150941
+ * @param client - GraphQL client
150942
+ * @param options - Filter options
150943
+ * @returns List of requests (empty when using onPage)
151842
150944
  */
151843
- declare function approvePrivacyRequests({
151844
- requestActions,
151845
- requestOrigins,
151846
- auth,
151847
- silentModeBefore,
151848
- createdAtAfter,
150945
+ declare function fetchAllRequests(client: GraphQLClient, {
150946
+ actions,
150947
+ statuses,
150948
+ origins,
150949
+ text,
151849
150950
  createdAtBefore,
150951
+ createdAtAfter,
151850
150952
  updatedAtBefore,
151851
150953
  updatedAtAfter,
151852
- concurrency,
151853
- transcendUrl
151854
- }: {
151855
- /** The request actions that should be restarted */requestActions: RequestAction[]; /** The request origins that should be restarted */
151856
- requestOrigins?: RequestOrigin[]; /** Transcend API key authentication */
151857
- auth: string; /** Concurrency limit for approving */
151858
- concurrency?: number; /** Mark these requests as silent mode if they were created before this date */
151859
- silentModeBefore?: Date; /** Filter for requests created before this date */
150954
+ isTest,
150955
+ isSilent,
150956
+ isClosed,
150957
+ requestIds,
150958
+ onPage
150959
+ }?: {
150960
+ /** Actions to filter on */actions?: RequestAction[]; /** Origins to filter on */
150961
+ origins?: RequestOrigin[]; /** Statuses to filter on */
150962
+ statuses?: RequestStatus[]; /** Filter for requests created before this date */
151860
150963
  createdAtBefore?: Date; /** Filter for requests created after this date */
151861
150964
  createdAtAfter?: Date; /** Filter for requests updated before this date */
151862
150965
  updatedAtBefore?: Date; /** Filter for requests updated after this date */
151863
- updatedAtAfter?: Date; /** API URL for Transcend backend */
151864
- transcendUrl?: string;
151865
- }): Promise<number>;
150966
+ updatedAtAfter?: Date; /** Filter for requests with a specific identifier */
150967
+ text?: string; /** Return test requests */
150968
+ isTest?: boolean; /** Return silent mode requests */
150969
+ isSilent?: boolean; /** Filter by whether request is active */
150970
+ isClosed?: boolean;
150971
+ /**
150972
+ * Filter the list of requests for a set of IDs - these are applied
150973
+ * at runtime while other filters are applied at the GraphQL level.
150974
+ */
150975
+ requestIds?: string[]; /** When provided, called with each page of nodes instead of accumulating in memory */
150976
+ onPage?: (nodes: PrivacyRequest[]) => void | Promise<void>;
150977
+ }): Promise<PrivacyRequest[]>;
151866
150978
  //#endregion
151867
- //#region src/lib/requests/notifyPrivacyRequestsAdditionalTime.d.ts
150979
+ //#region src/lib/graphql/fetchRequestDataSiloActiveCount.d.ts
151868
150980
  /**
151869
- * Mark a set of privacy requests to be in silent mode.
151870
- * Note requests in silent mode are ignored
150981
+ * Get number of open requests for a data silo
151871
150982
  *
151872
- * @param options - Options
151873
- * @returns The number of requests marked silent
150983
+ * @param client - GraphQL client
150984
+ * @param options - Filter options
150985
+ * @returns List of request identifiers
151874
150986
  */
151875
- declare function notifyPrivacyRequestsAdditionalTime({
151876
- requestActions,
151877
- auth,
151878
- requestIds,
151879
- createdAtBefore,
151880
- days,
151881
- daysLeft,
151882
- createdAtAfter,
151883
- updatedAtBefore,
151884
- updatedAtAfter,
151885
- emailTemplate,
151886
- concurrency,
151887
- transcendUrl
150987
+ declare function fetchRequestDataSiloActiveCount(client: GraphQLClient, {
150988
+ dataSiloId
151888
150989
  }: {
151889
- /** The request actions that should be restarted */requestActions?: RequestAction[]; /** Filter for requests created before this date */
151890
- createdAtBefore: Date; /** Filter for requests created after this date */
151891
- createdAtAfter?: Date; /** Filter for requests updated before this date */
151892
- updatedAtBefore?: Date; /** Filter for requests updated after this date */
151893
- updatedAtAfter?: Date; /** Email template */
151894
- emailTemplate?: string; /** Transcend API key authentication */
151895
- auth: string; /** Number of days to extend request by */
151896
- days?: number;
151897
- /**
151898
- * Only notify requests that have less than this number of days until they are considered expired.
151899
- * This allows for re-running the command without notifying the same users multiple times
151900
- */
151901
- daysLeft?: number; /** Concurrency limit for approving */
151902
- concurrency?: number; /** The set of privacy requests to notify */
151903
- requestIds?: string[]; /** API URL for Transcend backend */
151904
- transcendUrl?: string;
150990
+ /** Data silo ID */dataSiloId: string;
151905
150991
  }): Promise<number>;
151906
150992
  //#endregion
151907
- //#region src/lib/requests/cancelPrivacyRequests.d.ts
150993
+ //#region src/lib/graphql/gqls/entry.d.ts
150994
+ declare const ENTRY_COUNT: string;
150995
+ //#endregion
150996
+ //#region src/lib/graphql/gqls/request.d.ts
150997
+ declare const REQUESTS_COUNT: string;
150998
+ declare const REQUESTS: string;
150999
+ declare const APPROVE_PRIVACY_REQUEST: string;
151000
+ declare const CANCEL_PRIVACY_REQUEST: string;
151001
+ declare const UPDATE_PRIVACY_REQUEST: string;
151002
+ declare const NOTIFY_ADDITIONAL_TIME: string;
151003
+ //#endregion
151004
+ //#region src/lib/graphql/gqls/assessmentTemplate.d.ts
151005
+ declare const ASSESSMENT_TEMPLATES: string;
151006
+ //#endregion
151007
+ //#region src/lib/graphql/pullTranscendConfiguration.d.ts
151008
+ declare const DEFAULT_TRANSCEND_PULL_RESOURCES: TranscendPullResource[];
151009
+ interface TranscendPullConfigurationInput {
151010
+ /** Page size */
151011
+ pageSize: number;
151012
+ /** Enable debug logs */
151013
+ debug: boolean;
151014
+ /** The data silo IDs to sync. If empty list, pull all. */
151015
+ dataSiloIds: string[];
151016
+ /** Resources to pull in */
151017
+ resources?: TranscendPullResource[];
151018
+ /** The data silo types to sync.If empty list, pull all. */
151019
+ integrationNames: string[];
151020
+ /** The tracker statuses to pull */
151021
+ trackerStatuses?: ConsentTrackerStatus[];
151022
+ /** Skip fetching of datapoints */
151023
+ skipDatapoints?: boolean;
151024
+ /** Skip fetching of subdatapoints */
151025
+ skipSubDatapoints?: boolean;
151026
+ /** When true, metadata around guessed data categories should be included */
151027
+ includeGuessedCategories?: boolean;
151028
+ }
151908
151029
  /**
151909
- * Cancel a set of privacy requests
151030
+ * Pull a yaml configuration from Transcend
151031
+ *
151032
+ * @param client - GraphQL client
151033
+ * @param dataSiloIds - The data silos to sync. If empty list, pull all.
151034
+ * @returns The configuration
151035
+ */
151036
+ declare function pullTranscendConfiguration(client: GraphQLClient, {
151037
+ dataSiloIds,
151038
+ integrationNames,
151039
+ debug,
151040
+ resources,
151041
+ pageSize,
151042
+ skipDatapoints,
151043
+ includeGuessedCategories,
151044
+ skipSubDatapoints,
151045
+ trackerStatuses
151046
+ }: TranscendPullConfigurationInput): Promise<TranscendInput>;
151047
+ //#endregion
151048
+ //#region src/lib/graphql/syncCodePackages.d.ts
151049
+ /**
151050
+ * Create a new code package
151051
+ *
151052
+ * @param client - GraphQL client
151053
+ * @param input - Code package input
151054
+ * @returns Code package ID
151055
+ */
151056
+ declare function createCodePackage(client: GraphQLClient, input: {
151057
+ /** Name of package */name: string; /** Description of package */
151058
+ description?: string; /** Type of package */
151059
+ type: CodePackageType; /** Relative path to package */
151060
+ relativePath: string; /** Repository ID */
151061
+ repositoryId?: string; /** Name of repository */
151062
+ repositoryName?: string; /** IDs of SDKs */
151063
+ softwareDevelopmentKitIds?: string[]; /** IDs of owners */
151064
+ ownerIds?: string[]; /** Emails of owners */
151065
+ ownerEmails?: string[]; /** IDs of teams */
151066
+ teamIds?: string[]; /** Names of teams */
151067
+ teamNames?: string[];
151068
+ }): Promise<CodePackage>;
151069
+ /**
151070
+ * Update an existing code package
151910
151071
  *
151072
+ * @param client - GraphQL client
151073
+ * @param inputs - Code package input
151074
+ * @returns Code packages that were updated
151075
+ */
151076
+ declare function updateCodePackages(client: GraphQLClient, inputs: {
151077
+ /** ID of code package */id: string; /** Name of package */
151078
+ name: string; /** Description of package */
151079
+ description?: string; /** Type of package */
151080
+ type: CodePackageType; /** Relative path to package */
151081
+ relativePath: string; /** Repository ID */
151082
+ repositoryId?: string; /** Name of repository */
151083
+ repositoryName?: string; /** IDs of SDKs */
151084
+ softwareDevelopmentKitIds?: string[]; /** IDs of owners */
151085
+ ownerIds?: string[]; /** Emails of owners */
151086
+ ownerEmails?: string[]; /** IDs of teams */
151087
+ teamIds?: string[]; /** Names of teams */
151088
+ teamNames?: string[];
151089
+ }[]): Promise<CodePackage[]>;
151090
+ /**
151091
+ * Uploads silo discovery results for Transcend to classify
151092
+ *
151093
+ * @param client - GraphQL Client
151094
+ * @param codePackages - Packages to upload
151095
+ * @param concurrency - How many concurrent requests to make
151096
+ * @returns True if successful, false if any updates failed, or an error occurs
151097
+ */
151098
+ declare function syncCodePackages(client: GraphQLClient, codePackages: CodePackageInput[], concurrency?: number): Promise<boolean>;
151099
+ //#endregion
151100
+ //#region src/lib/graphql/syncCookies.d.ts
151101
+ /**
151102
+ * Update or create cookies that already existed
151103
+ *
151104
+ * @param client - GraphQL client
151105
+ * @param cookieInputs - List of cookie input
151106
+ */
151107
+ declare function updateOrCreateCookies(client: GraphQLClient, cookieInputs: CookieInput[]): Promise<void>;
151108
+ /**
151109
+ * Sync the set of cookies from the YML interface into the product
151110
+ *
151111
+ * @param client - GraphQL client
151112
+ * @param cookies - Cookies to sync
151113
+ * @returns True upon success, false upon failure
151114
+ */
151115
+ declare function syncCookies(client: GraphQLClient, cookies: CookieInput[]): Promise<boolean>;
151116
+ //#endregion
151117
+ //#region src/lib/graphql/syncDataSilos.d.ts
151118
+ /**
151119
+ * Sync a data silo configuration
151120
+ *
151121
+ * @param dataSilos - Data silos to sync
151122
+ * @param client - GraphQL client
151911
151123
  * @param options - Options
151912
- * @returns The number of requests canceled
151124
+ * @returns Data silo info
151913
151125
  */
151914
- declare function cancelPrivacyRequests({
151915
- requestActions,
151916
- cancellationTitle,
151917
- auth,
151918
- requestIds,
151919
- silentModeBefore,
151920
- createdAtBefore,
151921
- createdAtAfter,
151922
- updatedAtBefore,
151923
- updatedAtAfter,
151924
- statuses,
151925
- concurrency,
151926
- transcendUrl
151126
+ declare function syncDataSilos(dataSilos: DataSiloInput[], client: GraphQLClient, {
151127
+ pageSize,
151128
+ dataSubjectsByName,
151129
+ apiKeysByTitle
151927
151130
  }: {
151928
- /** The request actions that should be restarted */requestActions: RequestAction[]; /** Transcend API key authentication */
151929
- auth: string; /** Concurrency limit for approving */
151930
- concurrency?: number; /** The request statuses to cancel */
151931
- statuses?: RequestStatus[]; /** The set of privacy requests to cancel */
151932
- requestIds?: string[]; /** Mark these requests as silent mode if they were created before this date */
151933
- silentModeBefore?: Date; /** Filter for requests created before this date */
151934
- createdAtBefore?: Date; /** Filter for requests created after this date */
151935
- createdAtAfter?: Date; /** Filter for requests updated before this date */
151936
- updatedAtBefore?: Date; /** Filter for requests updated after this date */
151937
- updatedAtAfter?: Date; /** API URL for Transcend backend */
151938
- transcendUrl?: string; /** The email template to use when canceling the requests */
151939
- cancellationTitle?: string;
151940
- }): Promise<number>;
151131
+ /** Page size */pageSize: number; /** The data subjects in the organization */
151132
+ dataSubjectsByName: { [type in string]: DataSubject }; /** API key title to API key */
151133
+ apiKeysByTitle: { [title in string]: ApiKey };
151134
+ }): Promise<{
151135
+ /** Whether successfully updated */success: boolean; /** A mapping between data silo title to data silo ID */
151136
+ dataSiloTitleToId: { [k in string]: string };
151137
+ }>;
151941
151138
  //#endregion
151942
151139
  //#region src/lib/requests/getFileMetadataForPrivacyRequests.d.ts
151943
151140
  declare const IntlMessage: t.TypeC<{
@@ -153612,5 +152809,5 @@ declare function enrichPrivacyRequest(sombra: Got, {
153612
152809
  ...rest
153613
152810
  }: EnrichPrivacyRequest, enricherId: string, index?: number): Promise<boolean>;
153614
152811
  //#endregion
153615
- export { ADMIN_DASH, ADMIN_DASH_DATAPOINTS, ADMIN_DASH_INTEGRATIONS, AIIntegrationC, APPROVE_PRIVACY_REQUEST, ASSESSMENT_TEMPLATES, ActionInput, ActionItemCollectionInput, ActionItemInput, AgentFileInput, AgentFunctionInput, AgentInput, ApiKeyGenerateError, ApiKeyInput, AssessmentAnswerOptionInput, AssessmentDisplayLogicInput, AssessmentInput, AssessmentNestedRuleInput, AssessmentResourceInput, AssessmentRetentionScheduleInput, AssessmentRuleInput, AssessmentSectionInput, AssessmentSectionQuestionInput, AssessmentTemplate, AssessmentTemplateInput, AttestedExtraIdentifiers, AttributeInput, AttributeKey, AttributeNameMap, AttributePreview, AttributeValueInput, BLANK, BULK_APPLY, BULK_REQUEST_FILES, BusinessEntityInput, CANCEL_PRIVACY_REQUEST, CAN_APPLY_IN_BULK, CHANGE_REQUEST_DATA_SILO_STATUS, CREATE_DATA_SILOS, CREATE_DATA_SUBJECT, CREATE_ENRICHER, CREATE_IDENTIFIER, CachedFileState, CachedRequestState, CodePackageInput, CodePackageSdk, ColumnName, ColumnNameMap, ConsentManageExperienceInput, ConsentManagerInput, ConsentManagerServiceMetadata, ConsentPreferenceTopic, ConsentPreferenceTopicOptionValue, ConsentPurpose, CookieCsvInput, CookieInput, CronIdentifier, CronIdentifierPush, CronIdentifierWithAction, CsvFormattedIdentifier, CsvRow, DATAPOINT_EXPORT, DATA_POINTS, DATA_POINT_COUNT, DATA_SILOS, DATA_SILOS_ENRICHED, DATA_SILO_EXPORT, DATA_SUBJECTS, DEBUG, DEFAULT_TRANSCEND_API, DEFAULT_TRANSCEND_CONSENT_API, DEFAULT_TRANSCEND_PULL_RESOURCES, DataCategoryGuessInput, DataCategoryInput, DataCategoryPreviewInput, DataCategoryRecommendationInput, DataFlowCsvInput, DataFlowInput, DataPointCsvPreview, DataSilo, DataSiloAttributeValue, DataSiloCsvPreview, DataSiloEnriched, DataSiloInput, DataSubject, DataSubjectInput, DatapointFilterOptions, DatapointInput, ENRICHERS, ENTRY_COUNT, EnabledRouteC, EnabledRoutesC, EnrichPrivacyRequest, Enricher, EnricherInput, ExportedPrivacyRequest, FieldInput, FormattedAttribute, GetPromptParamType, GetPromptResponseType, IDENTIFIER_BLOCK_LIST, INITIALIZER, IP_ADDRESS_REGEX, IS_REQUIRED, IdentifierInput, IdentifierNameMap, ImportOnetrustAssessmentsInput, Initializer, IntlMessage, IntlMessageInput, NEW_IDENTIFIER_TYPES, NONE, NOTIFY_ADDITIONAL_TIME, OneTrustFileFormat, OneTrustPullResource, OneTrustPullSource, OpenAIEnabledRoute, OpenAIEnabledRoutes, OpenAIIntegration, OpenAIRouteName, ParquetToCsvOneFileOptions, ParsedAttributeInput, PartitionInput, PathfinderPolicy, PathfinderPolicyName, PathfinderPolicyNameC, PathfinderPromptRunMetadata, PolicyInput, PrivacyCenterInput, PrivacyRequest, PrivacyRequestInput, PrivacyRequestResponse, PrivacyRequestWithIdentifiers, ProcessingActivityInput, ProcessingPurposeInput, ProcessingPurposePreviewInput, PromptAVendorEmailSettings, PromptGroupInput, PromptInput, PromptPartialInput, PromptRunResult, PurposeMap, REDUCED_REQUESTS_FOR_DATA_SILO_COUNT, REMOVE_REQUEST_IDENTIFIERS, REQUESTS, REQUESTS_COUNT, REQUEST_DATA_SILOS, REQUEST_ENRICHERS, REQUEST_FILES, REQUEST_IDENTIFIERS, RETRYABLE_BATCH_STATUSES, RETRY_REQUEST_DATA_SILO, RETRY_REQUEST_ENRICHER, RegionInput, ReportPromptRunOptions, RepositoryInput, RequestDataSilo, RequestDataSiloFilters, RequestEnricher, RequestFile, RequestFileCursor, RequestFileMetadata, RequestFileMetadataResponse, RequestFileResponse, RequestIdentifier, RequestIdentifierMetadata, RequestIdentifiersResponse, RequestPurposeTrigger, RiskAssignmentInput, RiskLogicInput, SCOPES_BY_TITLE, SCOPE_TITLES, SKIP_REQUEST_ENRICHER, SOMBRA_VERSION, SUB_DATA_POINTS, SUB_DATA_POINTS_COUNT, SUB_DATA_POINTS_WITH_GUESSES, SiloDiscoveryResultInput, SoftwareDevelopmentKitInput, StoredApiKey, SubDataPoint, SubDataPointCsvPreview, SuccessfulRequest, TOGGLE_DATA_SUBJECT, TR_PULL_RESOURCE_SCOPE_MAP, TR_PUSH_RESOURCE_SCOPE_MAP, TR_YML_RESOURCE_TO_FIELD_NAME, TeamInput, TemplateInput, TranscendInput, TranscendPrompt, TranscendPromptManager, TranscendPullConfigurationInput, TranscendPullResource, UPDATE_DATA_SILOS, UPDATE_DATA_SUBJECT, UPDATE_ENRICHER, UPDATE_IDENTIFIER, UPDATE_OR_CREATE_DATA_POINT, UPDATE_PRIVACY_REQUEST, USP_STRING_REGEX, VARIABLE_PARAMETERS_NAME, VARIABLE_PARAMETERS_REGEXP, VendorInput, WebhookHeader, XdiSyncGroups, appendCsvRowsOrdered, appendCsvSync, approvePrivacyRequests, buildAIIntegrationType, buildEnabledRouteType, buildXdiSyncEndpoint, bulkRestartRequests, bulkRetryEnrichers, cancelPrivacyRequests, collectCsvFilesOrExit, collectParquetFilesOrExit, consentManagersToBusinessEntities, convertToDataSubjectAllowlist, convertToDataSubjectBlockList, createCodePackage, createConsentToken, createRegexForTag, defineTranscendPrompts, description, domainToHost, downloadPrivacyRequestFiles, enrichPrivacyRequest, ensureAllDataSubjectsExist, extractClientError, fetchAllAssessmentTemplates, fetchAllDataPoints, fetchAllDataSilos, fetchAllDataSubjects, fetchAllEnrichers, fetchAllRequestAttributeKeys, fetchAllRequestEnrichers, fetchAllRequestIdentifierMetadata, fetchAllRequestIdentifiers, fetchAllRequests, fetchAllSubDataPoints, fetchEnrichedDataSilos, fetchIdentifiersAndCreateMissing, fetchRequestDataSilo, fetchRequestDataSiloActiveCount, fetchRequestDataSilos, fetchRequestDataSilosCount, fetchRequestFilesForRequest, fetchRequestsTotalCount, filterNullishValuesFromObject, filterRows, formatAttributeValues, 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, retryRequestEnricher, skipPreflightJobs, skipRequestDataSilos, streamPrivacyRequestFiles, streamPrivacyRequestsToCsv, submitPrivacyRequest, syncCodePackages, syncConfigurationToTranscend, syncDataSiloDependencies, syncDataSilos, syncDataSubject, syncEnricher, syncIdentifier, updateCodePackages, updateConsentManagerVersionToLatest, uploadConsents, uploadCookiesFromCsv, uploadDataFlowsFromCsv, uploadPrivacyRequestsFromCsv, validateSombraVersion, validateTranscendAuth, version, writeCsv, writeCsvSync, writeLargeCsv, writeTranscendYaml };
152812
+ export { ADMIN_DASH, ADMIN_DASH_DATAPOINTS, ADMIN_DASH_INTEGRATIONS, AIIntegrationC, APPROVE_PRIVACY_REQUEST, ASSESSMENT_TEMPLATES, ActionInput, ActionItemCollectionInput, ActionItemInput, AgentFileInput, AgentFunctionInput, AgentInput, 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, CodePackageInput, CodePackageSdk, ColumnName, ColumnNameMap, ConsentManageExperienceInput, ConsentManagerInput, ConsentManagerServiceMetadata, ConsentPreferenceTopic, ConsentPreferenceTopicOptionValue, ConsentPurpose, CookieCsvInput, CookieInput, CronIdentifier, CronIdentifierPush, CronIdentifierWithAction, CsvFormattedIdentifier, CsvRow, DEBUG, DEFAULT_TRANSCEND_API, DEFAULT_TRANSCEND_CONSENT_API, DEFAULT_TRANSCEND_PULL_RESOURCES, DataCategoryGuessInput, DataCategoryInput, DataCategoryPreviewInput, DataCategoryRecommendationInput, DataFlowCsvInput, DataFlowInput, DataPointCsvPreview, DataSiloCsvPreview, DataSiloInput, DataSubjectInput, DatapointFilterOptions, DatapointInput, ENTRY_COUNT, EnabledRouteC, EnabledRoutesC, EnrichPrivacyRequest, EnricherInput, ExportedPrivacyRequest, FieldInput, GetPromptParamType, GetPromptResponseType, IDENTIFIER_BLOCK_LIST, IP_ADDRESS_REGEX, IS_REQUIRED, IdentifierInput, IdentifierNameMap, ImportOnetrustAssessmentsInput, IntlMessage, IntlMessageInput, NONE, NOTIFY_ADDITIONAL_TIME, OneTrustFileFormat, OneTrustPullResource, OneTrustPullSource, OpenAIEnabledRoute, OpenAIEnabledRoutes, OpenAIIntegration, OpenAIRouteName, ParquetToCsvOneFileOptions, ParsedAttributeInput, PartitionInput, PathfinderPolicy, PathfinderPolicyName, PathfinderPolicyNameC, PathfinderPromptRunMetadata, PolicyInput, PrivacyCenterInput, PrivacyRequest, PrivacyRequestInput, PrivacyRequestResponse, PrivacyRequestWithIdentifiers, ProcessingActivityInput, ProcessingPurposeInput, ProcessingPurposePreviewInput, PromptAVendorEmailSettings, PromptGroupInput, PromptInput, PromptPartialInput, PromptRunResult, PurposeMap, REQUESTS, REQUESTS_COUNT, RETRYABLE_BATCH_STATUSES, RegionInput, ReportPromptRunOptions, 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, TranscendPrompt, TranscendPromptManager, TranscendPullConfigurationInput, TranscendPullResource, UPDATE_PRIVACY_REQUEST, USP_STRING_REGEX, VARIABLE_PARAMETERS_NAME, VARIABLE_PARAMETERS_REGEXP, VendorInput, WebhookHeader, XdiSyncGroups, appendCsvRowsOrdered, appendCsvSync, approvePrivacyRequests, buildAIIntegrationType, buildEnabledRouteType, buildXdiSyncEndpoint, bulkRestartRequests, bulkRetryEnrichers, cancelPrivacyRequests, collectCsvFilesOrExit, collectParquetFilesOrExit, consentManagersToBusinessEntities, createCodePackage, createConsentToken, createRegexForTag, defineTranscendPrompts, 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, streamPrivacyRequestFiles, streamPrivacyRequestsToCsv, submitPrivacyRequest, syncCodePackages, syncConfigurationToTranscend, syncCookies, syncDataSilos, updateCodePackages, updateConsentManagerVersionToLatest, updateOrCreateCookies, uploadConsents, uploadCookiesFromCsv, uploadDataFlowsFromCsv, uploadPrivacyRequestsFromCsv, validateTranscendAuth, version, writeCsv, writeCsvSync, writeLargeCsv, writeTranscendYaml };
153616
152813
  //# sourceMappingURL=index.d.mts.map