@transcend-io/cli 10.16.0 → 10.17.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 (166) hide show
  1. package/README.md +13 -2
  2. package/dist/{app-COX_n1FP.mjs → app-D_h2VQYJ.mjs} +18 -18
  3. package/dist/{app-COX_n1FP.mjs.map → app-D_h2VQYJ.mjs.map} +1 -1
  4. package/dist/{approvePrivacyRequests-DJItn7R6.mjs → approvePrivacyRequests-CQzypOiU.mjs} +2 -2
  5. package/dist/{approvePrivacyRequests-DJItn7R6.mjs.map → approvePrivacyRequests-CQzypOiU.mjs.map} +1 -1
  6. package/dist/bin/bash-complete.mjs +1 -1
  7. package/dist/bin/cli.mjs +1 -1
  8. package/dist/bin/deprecated-command.mjs +1 -1
  9. package/dist/{buildExamples-CZ8kcEqO.mjs → buildExamples-CbXqb5QS.mjs} +2 -2
  10. package/dist/{buildExamples-CZ8kcEqO.mjs.map → buildExamples-CbXqb5QS.mjs.map} +1 -1
  11. package/dist/{buildXdiSyncEndpoint-CSGwr2H5.mjs → buildXdiSyncEndpoint-16mdsBxp.mjs} +2 -2
  12. package/dist/{buildXdiSyncEndpoint-CSGwr2H5.mjs.map → buildXdiSyncEndpoint-16mdsBxp.mjs.map} +1 -1
  13. package/dist/{bulkRestartRequests-D-t58SeM.mjs → bulkRestartRequests-Bo_R-Bu6.mjs} +2 -2
  14. package/dist/{bulkRestartRequests-D-t58SeM.mjs.map → bulkRestartRequests-Bo_R-Bu6.mjs.map} +1 -1
  15. package/dist/{bulkRetryEnrichers-BmwRLF2w.mjs → bulkRetryEnrichers-By8Lzu96.mjs} +2 -2
  16. package/dist/{bulkRetryEnrichers-BmwRLF2w.mjs.map → bulkRetryEnrichers-By8Lzu96.mjs.map} +1 -1
  17. package/dist/{cancelPrivacyRequests-CFCULeSv.mjs → cancelPrivacyRequests-RygRMV5h.mjs} +2 -2
  18. package/dist/{cancelPrivacyRequests-CFCULeSv.mjs.map → cancelPrivacyRequests-RygRMV5h.mjs.map} +1 -1
  19. package/dist/codecs-CwRYEdQK.mjs +2 -0
  20. package/dist/{codecs-DW8SY77H.mjs.map → codecs-CwRYEdQK.mjs.map} +1 -1
  21. package/dist/{command-8AnltUOG.mjs → command-q8MOijXW.mjs} +2 -2
  22. package/dist/{command-8AnltUOG.mjs.map → command-q8MOijXW.mjs.map} +1 -1
  23. package/dist/constants-BeMH_MWn.mjs +2 -0
  24. package/dist/constants-BeMH_MWn.mjs.map +1 -0
  25. package/dist/{createExtraKeyHandler-DqiD609a.mjs → createExtraKeyHandler-BckC7HfJ.mjs} +2 -2
  26. package/dist/{createExtraKeyHandler-DqiD609a.mjs.map → createExtraKeyHandler-BckC7HfJ.mjs.map} +1 -1
  27. package/dist/{downloadPrivacyRequestFiles-B7HNc-Y1.mjs → downloadPrivacyRequestFiles-DWUBzMms.mjs} +2 -2
  28. package/dist/{downloadPrivacyRequestFiles-B7HNc-Y1.mjs.map → downloadPrivacyRequestFiles-DWUBzMms.mjs.map} +1 -1
  29. package/dist/{enums-CyFTrzXY.mjs → enums-mAXnon_I.mjs} +2 -2
  30. package/dist/enums-mAXnon_I.mjs.map +1 -0
  31. package/dist/{generateCrossAccountApiKeys-kqzneWII.mjs → generateCrossAccountApiKeys-Ch6311KG.mjs} +2 -2
  32. package/dist/{generateCrossAccountApiKeys-kqzneWII.mjs.map → generateCrossAccountApiKeys-Ch6311KG.mjs.map} +1 -1
  33. package/dist/{impl-DTDnN3Hn.mjs → impl-5oKENBqi.mjs} +2 -2
  34. package/dist/{impl-DTDnN3Hn.mjs.map → impl-5oKENBqi.mjs.map} +1 -1
  35. package/dist/{impl-Bkdu-3yo.mjs → impl-84Ex4gfr.mjs} +2 -2
  36. package/dist/{impl-Bkdu-3yo.mjs.map → impl-84Ex4gfr.mjs.map} +1 -1
  37. package/dist/{impl-BVcXWJyI2.mjs → impl-B1jA1R3_2.mjs} +2 -2
  38. package/dist/{impl-BVcXWJyI2.mjs.map → impl-B1jA1R3_2.mjs.map} +1 -1
  39. package/dist/{impl-RqwgNa2O.mjs → impl-B3bx4FKy.mjs} +2 -2
  40. package/dist/{impl-RqwgNa2O.mjs.map → impl-B3bx4FKy.mjs.map} +1 -1
  41. package/dist/{impl-BvOLkTWD.mjs → impl-B3gPt89q.mjs} +2 -2
  42. package/dist/{impl-BvOLkTWD.mjs.map → impl-B3gPt89q.mjs.map} +1 -1
  43. package/dist/{impl-CCSb7Pyd.mjs → impl-B4LIjXnh.mjs} +2 -2
  44. package/dist/{impl-CCSb7Pyd.mjs.map → impl-B4LIjXnh.mjs.map} +1 -1
  45. package/dist/{impl-6rvA_yyd.mjs → impl-B6hA8tWQ.mjs} +2 -2
  46. package/dist/{impl-6rvA_yyd.mjs.map → impl-B6hA8tWQ.mjs.map} +1 -1
  47. package/dist/{impl-CRSNjo07.mjs → impl-B7HFZI-o.mjs} +2 -2
  48. package/dist/{impl-CRSNjo07.mjs.map → impl-B7HFZI-o.mjs.map} +1 -1
  49. package/dist/{impl-DqyYxDti.mjs → impl-BBjnVFyp.mjs} +2 -2
  50. package/dist/{impl-DqyYxDti.mjs.map → impl-BBjnVFyp.mjs.map} +1 -1
  51. package/dist/{impl-BOXnkx44.mjs → impl-BEz9kwDB.mjs} +2 -2
  52. package/dist/{impl-BOXnkx44.mjs.map → impl-BEz9kwDB.mjs.map} +1 -1
  53. package/dist/{impl-C_K23xoc.mjs → impl-BlKCGB2H.mjs} +2 -2
  54. package/dist/{impl-C_K23xoc.mjs.map → impl-BlKCGB2H.mjs.map} +1 -1
  55. package/dist/{impl-X13pzYJN2.mjs → impl-Bopsmew92.mjs} +2 -2
  56. package/dist/{impl-X13pzYJN2.mjs.map → impl-Bopsmew92.mjs.map} +1 -1
  57. package/dist/{impl-DK2Rai3F.mjs → impl-BtgbwWAB.mjs} +2 -2
  58. package/dist/{impl-DK2Rai3F.mjs.map → impl-BtgbwWAB.mjs.map} +1 -1
  59. package/dist/{impl-BDc4D9nA.mjs → impl-BtipvRbs.mjs} +2 -2
  60. package/dist/{impl-BDc4D9nA.mjs.map → impl-BtipvRbs.mjs.map} +1 -1
  61. package/dist/{impl-DQH1CGup.mjs → impl-BzUzbqBO.mjs} +2 -2
  62. package/dist/{impl-DQH1CGup.mjs.map → impl-BzUzbqBO.mjs.map} +1 -1
  63. package/dist/{impl-ChDwTQ3Z2.mjs → impl-C6ZYU5m12.mjs} +2 -2
  64. package/dist/{impl-ChDwTQ3Z2.mjs.map → impl-C6ZYU5m12.mjs.map} +1 -1
  65. package/dist/{impl-Bq-tabdZ2.mjs → impl-CAftr82F2.mjs} +2 -2
  66. package/dist/{impl-Bq-tabdZ2.mjs.map → impl-CAftr82F2.mjs.map} +1 -1
  67. package/dist/{impl-C0I8JaaR.mjs → impl-CCP1-ZeX.mjs} +2 -2
  68. package/dist/{impl-C0I8JaaR.mjs.map → impl-CCP1-ZeX.mjs.map} +1 -1
  69. package/dist/{impl-BcIZos3y.mjs → impl-CDpONRWz.mjs} +2 -2
  70. package/dist/{impl-BcIZos3y.mjs.map → impl-CDpONRWz.mjs.map} +1 -1
  71. package/dist/{impl-BbfuEhKu.mjs → impl-CGOLSFzA.mjs} +2 -2
  72. package/dist/{impl-BbfuEhKu.mjs.map → impl-CGOLSFzA.mjs.map} +1 -1
  73. package/dist/{impl-DMbgck0i.mjs → impl-Cea7k4on.mjs} +2 -2
  74. package/dist/{impl-DMbgck0i.mjs.map → impl-Cea7k4on.mjs.map} +1 -1
  75. package/dist/impl-DF1uDAp0.mjs +2 -0
  76. package/dist/impl-DF1uDAp0.mjs.map +1 -0
  77. package/dist/{impl-Dl-XNXfK.mjs → impl-DGBJkbeS.mjs} +2 -2
  78. package/dist/{impl-Dl-XNXfK.mjs.map → impl-DGBJkbeS.mjs.map} +1 -1
  79. package/dist/{impl-CsHfqKxU.mjs → impl-DOGMbdAR.mjs} +2 -2
  80. package/dist/{impl-CsHfqKxU.mjs.map → impl-DOGMbdAR.mjs.map} +1 -1
  81. package/dist/{impl-BuqBEZCk.mjs → impl-DXaDDpI7.mjs} +2 -2
  82. package/dist/{impl-BuqBEZCk.mjs.map → impl-DXaDDpI7.mjs.map} +1 -1
  83. package/dist/{impl-CLrF-Xhp2.mjs → impl-D_cEbtMo2.mjs} +2 -2
  84. package/dist/{impl-CLrF-Xhp2.mjs.map → impl-D_cEbtMo2.mjs.map} +1 -1
  85. package/dist/{impl-CDNTdi62.mjs → impl-Da2Aoswt.mjs} +2 -2
  86. package/dist/{impl-CDNTdi62.mjs.map → impl-Da2Aoswt.mjs.map} +1 -1
  87. package/dist/{impl-B9AtL5ta2.mjs → impl-DcSsXSNW2.mjs} +2 -2
  88. package/dist/{impl-B9AtL5ta2.mjs.map → impl-DcSsXSNW2.mjs.map} +1 -1
  89. package/dist/{impl-CkU-WD3b.mjs → impl-DefbnFrT.mjs} +2 -2
  90. package/dist/{impl-CkU-WD3b.mjs.map → impl-DefbnFrT.mjs.map} +1 -1
  91. package/dist/{impl-DYsJKLfp.mjs → impl-Dh9KPYhQ.mjs} +2 -2
  92. package/dist/{impl-DYsJKLfp.mjs.map → impl-Dh9KPYhQ.mjs.map} +1 -1
  93. package/dist/{impl-BUF6G3P32.mjs → impl-Djk5Ykxb2.mjs} +2 -2
  94. package/dist/{impl-BUF6G3P32.mjs.map → impl-Djk5Ykxb2.mjs.map} +1 -1
  95. package/dist/{impl-CX1J2iHE.mjs → impl-Dn7OFlxh.mjs} +2 -2
  96. package/dist/{impl-CX1J2iHE.mjs.map → impl-Dn7OFlxh.mjs.map} +1 -1
  97. package/dist/{impl-CkFqqhQ-.mjs → impl-GJ3nq4P6.mjs} +2 -2
  98. package/dist/{impl-CkFqqhQ-.mjs.map → impl-GJ3nq4P6.mjs.map} +1 -1
  99. package/dist/{impl-DiysQB762.mjs → impl-OMY9ATKa2.mjs} +2 -2
  100. package/dist/{impl-DiysQB762.mjs.map → impl-OMY9ATKa2.mjs.map} +1 -1
  101. package/dist/{impl-TTeKThep2.mjs → impl-SnNbavfi2.mjs} +2 -2
  102. package/dist/{impl-TTeKThep2.mjs.map → impl-SnNbavfi2.mjs.map} +1 -1
  103. package/dist/{impl-Bvkhu8fB.mjs → impl-Wu5usA1Y.mjs} +2 -2
  104. package/dist/{impl-Bvkhu8fB.mjs.map → impl-Wu5usA1Y.mjs.map} +1 -1
  105. package/dist/{impl-CeqMxdZm2.mjs → impl-YySyd8Le2.mjs} +2 -2
  106. package/dist/{impl-CeqMxdZm2.mjs.map → impl-YySyd8Le2.mjs.map} +1 -1
  107. package/dist/{impl-0C9N9md8.mjs → impl-d0CyctvS.mjs} +2 -2
  108. package/dist/{impl-0C9N9md8.mjs.map → impl-d0CyctvS.mjs.map} +1 -1
  109. package/dist/{impl-Bul8gUqq.mjs → impl-mKyN6ET8.mjs} +2 -2
  110. package/dist/{impl-Bul8gUqq.mjs.map → impl-mKyN6ET8.mjs.map} +1 -1
  111. package/dist/index.d.mts +29 -10
  112. package/dist/index.d.mts.map +1 -1
  113. package/dist/index.mjs +1 -1
  114. package/dist/{markRequestDataSiloIdsCompleted-nAV0VLEA.mjs → markRequestDataSiloIdsCompleted-DXFBaJTl.mjs} +2 -2
  115. package/dist/{markRequestDataSiloIdsCompleted-nAV0VLEA.mjs.map → markRequestDataSiloIdsCompleted-DXFBaJTl.mjs.map} +1 -1
  116. package/dist/{markSilentPrivacyRequests-BhF4r8n9.mjs → markSilentPrivacyRequests-ChvSN2zw.mjs} +2 -2
  117. package/dist/{markSilentPrivacyRequests-BhF4r8n9.mjs.map → markSilentPrivacyRequests-ChvSN2zw.mjs.map} +1 -1
  118. package/dist/{notifyPrivacyRequestsAdditionalTime-B6e9SfP7.mjs → notifyPrivacyRequestsAdditionalTime-BMXmHJQy.mjs} +2 -2
  119. package/dist/{notifyPrivacyRequestsAdditionalTime-B6e9SfP7.mjs.map → notifyPrivacyRequestsAdditionalTime-BMXmHJQy.mjs.map} +1 -1
  120. package/dist/parseVariablesFromString-CrzXJu3n.mjs +3 -0
  121. package/dist/parseVariablesFromString-CrzXJu3n.mjs.map +1 -0
  122. package/dist/{pullChunkedCustomSiloOutstandingIdentifiers-DiZTo2K_.mjs → pullChunkedCustomSiloOutstandingIdentifiers-VRZvZwup.mjs} +2 -2
  123. package/dist/{pullChunkedCustomSiloOutstandingIdentifiers-DiZTo2K_.mjs.map → pullChunkedCustomSiloOutstandingIdentifiers-VRZvZwup.mjs.map} +1 -1
  124. package/dist/{pullManualEnrichmentIdentifiersToCsv--dw03arC.mjs → pullManualEnrichmentIdentifiersToCsv-BzVcZB_9.mjs} +2 -2
  125. package/dist/{pullManualEnrichmentIdentifiersToCsv--dw03arC.mjs.map → pullManualEnrichmentIdentifiersToCsv-BzVcZB_9.mjs.map} +1 -1
  126. package/dist/pullTranscendConfiguration-CZD-sx8L.mjs +58 -0
  127. package/dist/pullTranscendConfiguration-CZD-sx8L.mjs.map +1 -0
  128. package/dist/{pushCronIdentifiersFromCsv-DdcsnXf5.mjs → pushCronIdentifiersFromCsv-nVaVVfm2.mjs} +2 -2
  129. package/dist/{pushCronIdentifiersFromCsv-DdcsnXf5.mjs.map → pushCronIdentifiersFromCsv-nVaVVfm2.mjs.map} +1 -1
  130. package/dist/{pushManualEnrichmentIdentifiersFromCsv-BYJCQOI-.mjs → pushManualEnrichmentIdentifiersFromCsv-ChJ0dCPU.mjs} +2 -2
  131. package/dist/{pushManualEnrichmentIdentifiersFromCsv-BYJCQOI-.mjs.map → pushManualEnrichmentIdentifiersFromCsv-ChJ0dCPU.mjs.map} +1 -1
  132. package/dist/{readTranscendYaml-I64TqeSd.mjs → readTranscendYaml-B2Asm9c5.mjs} +2 -2
  133. package/dist/{readTranscendYaml-I64TqeSd.mjs.map → readTranscendYaml-B2Asm9c5.mjs.map} +1 -1
  134. package/dist/{removeUnverifiedRequestIdentifiers-CC471vSR.mjs → removeUnverifiedRequestIdentifiers-xejbAnmv.mjs} +2 -2
  135. package/dist/{removeUnverifiedRequestIdentifiers-CC471vSR.mjs.map → removeUnverifiedRequestIdentifiers-xejbAnmv.mjs.map} +1 -1
  136. package/dist/{retryRequestDataSilos-DlkJmEjH.mjs → retryRequestDataSilos-D9v-Ydk6.mjs} +2 -2
  137. package/dist/{retryRequestDataSilos-DlkJmEjH.mjs.map → retryRequestDataSilos-D9v-Ydk6.mjs.map} +1 -1
  138. package/dist/{skipPreflightJobs-xVBZC-iI.mjs → skipPreflightJobs-CAyRUXNn.mjs} +2 -2
  139. package/dist/{skipPreflightJobs-xVBZC-iI.mjs.map → skipPreflightJobs-CAyRUXNn.mjs.map} +1 -1
  140. package/dist/{skipRequestDataSilos-BriqhLT3.mjs → skipRequestDataSilos-DNHaLKzO.mjs} +2 -2
  141. package/dist/{skipRequestDataSilos-BriqhLT3.mjs.map → skipRequestDataSilos-DNHaLKzO.mjs.map} +1 -1
  142. package/dist/{streamPrivacyRequestsToCsv-D8b097c1.mjs → streamPrivacyRequestsToCsv-DK1t54C2.mjs} +2 -2
  143. package/dist/{streamPrivacyRequestsToCsv-D8b097c1.mjs.map → streamPrivacyRequestsToCsv-DK1t54C2.mjs.map} +1 -1
  144. package/dist/{updateConsentManagerVersionToLatest-w_ftOmxi.mjs → updateConsentManagerVersionToLatest-CQ5OaS-T.mjs} +2 -2
  145. package/dist/{updateConsentManagerVersionToLatest-w_ftOmxi.mjs.map → updateConsentManagerVersionToLatest-CQ5OaS-T.mjs.map} +1 -1
  146. package/dist/{uploadConsents-D8IJDaTN.mjs → uploadConsents-CG9C7chh.mjs} +2 -2
  147. package/dist/{uploadConsents-D8IJDaTN.mjs.map → uploadConsents-CG9C7chh.mjs.map} +1 -1
  148. package/dist/{uploadCookiesFromCsv-8hq-Of_p.mjs → uploadCookiesFromCsv-hcAHtlDf.mjs} +2 -2
  149. package/dist/{uploadCookiesFromCsv-8hq-Of_p.mjs.map → uploadCookiesFromCsv-hcAHtlDf.mjs.map} +1 -1
  150. package/dist/{uploadDataFlowsFromCsv-B854o0O5.mjs → uploadDataFlowsFromCsv-B61qZpKb.mjs} +2 -2
  151. package/dist/{uploadDataFlowsFromCsv-B854o0O5.mjs.map → uploadDataFlowsFromCsv-B61qZpKb.mjs.map} +1 -1
  152. package/dist/{uploadPrivacyRequestsFromCsv-D-RTgJsx.mjs → uploadPrivacyRequestsFromCsv-DFKHnc0H.mjs} +2 -2
  153. package/dist/{uploadPrivacyRequestsFromCsv-D-RTgJsx.mjs.map → uploadPrivacyRequestsFromCsv-DFKHnc0H.mjs.map} +1 -1
  154. package/dist/{validateTranscendAuth-CToEUu1U.mjs → validateTranscendAuth-DrVM-Bxh.mjs} +2 -2
  155. package/dist/{validateTranscendAuth-CToEUu1U.mjs.map → validateTranscendAuth-DrVM-Bxh.mjs.map} +1 -1
  156. package/package.json +4 -4
  157. package/dist/codecs-DW8SY77H.mjs +0 -2
  158. package/dist/constants-B7bW_WN2.mjs +0 -2
  159. package/dist/constants-B7bW_WN2.mjs.map +0 -1
  160. package/dist/enums-CyFTrzXY.mjs.map +0 -1
  161. package/dist/impl-e-_DWiv4.mjs +0 -2
  162. package/dist/impl-e-_DWiv4.mjs.map +0 -1
  163. package/dist/parseVariablesFromString-Cpjk0zeN.mjs +0 -3
  164. package/dist/parseVariablesFromString-Cpjk0zeN.mjs.map +0 -1
  165. package/dist/pullTranscendConfiguration-CICvJuZ5.mjs +0 -58
  166. package/dist/pullTranscendConfiguration-CICvJuZ5.mjs.map +0 -1
package/README.md CHANGED
@@ -2431,7 +2431,7 @@ transcend consent delete-preference-records \
2431
2431
 
2432
2432
  ```txt
2433
2433
  USAGE
2434
- transcend inventory pull (--auth value) [--resources all|apiKeys|customFields|templates|dataSilos|enrichers|dataFlows|businessEntities|processingActivities|actions|dataSubjects|identifiers|cookies|consentManager|partitions|prompts|promptPartials|promptGroups|agents|agentFunctions|agentFiles|vendors|dataCategories|processingPurposes|actionItems|actionItemCollections|teams|privacyCenters|policies|messages|assessments|assessmentTemplates|purposes|systemDiscovery] [--file value] [--transcendUrl value] [--dataSiloIds value]... [--integrationNames value]... [--trackerStatuses LIVE|NEEDS_REVIEW] [--pageSize value] [--skipDatapoints] [--skipSubDatapoints] [--includeGuessedCategories] [--debug]
2434
+ transcend inventory pull (--auth value) [--resources all|apiKeys|customFields|templates|dataSilos|enrichers|dataFlows|businessEntities|processingActivities|actions|dataSubjects|identifiers|cookies|consentManager|partitions|prompts|promptPartials|promptGroups|agents|agentFunctions|agentFiles|vendors|dataCategories|processingPurposes|actionItems|actionItemCollections|teams|privacyCenters|policies|messages|assessments|assessmentTemplates|purposes|preferenceOptions|systemDiscovery] [--file value] [--transcendUrl value] [--dataSiloIds value]... [--integrationNames value]... [--trackerStatuses LIVE|NEEDS_REVIEW] [--pageSize value] [--skipDatapoints] [--skipSubDatapoints] [--includeGuessedCategories] [--debug]
2435
2435
  transcend inventory pull --help
2436
2436
 
2437
2437
  Generates a transcend.yml by pulling the configuration from your Transcend instance.
@@ -2445,7 +2445,7 @@ This command can be helpful if you are looking to:
2445
2445
 
2446
2446
  FLAGS
2447
2447
  --auth The Transcend API key. Defaults to the TRANSCEND_API_KEY environment variable when set, so --auth may be omitted if it is exported. The scopes required will vary depending on the operation performed. If in doubt, the Full Admin scope will always work.
2448
- [--resources] The different resource types to pull in. Defaults to dataSilos,enrichers,templates,apiKeys. [all|apiKeys|customFields|templates|dataSilos|enrichers|dataFlows|businessEntities|processingActivities|actions|dataSubjects|identifiers|cookies|consentManager|partitions|prompts|promptPartials|promptGroups|agents|agentFunctions|agentFiles|vendors|dataCategories|processingPurposes|actionItems|actionItemCollections|teams|privacyCenters|policies|messages|assessments|assessmentTemplates|purposes|systemDiscovery, separator = ,]
2448
+ [--resources] The different resource types to pull in. Defaults to dataSilos,enrichers,templates,apiKeys. [all|apiKeys|customFields|templates|dataSilos|enrichers|dataFlows|businessEntities|processingActivities|actions|dataSubjects|identifiers|cookies|consentManager|partitions|prompts|promptPartials|promptGroups|agents|agentFunctions|agentFiles|vendors|dataCategories|processingPurposes|actionItems|actionItemCollections|teams|privacyCenters|policies|messages|assessments|assessmentTemplates|purposes|preferenceOptions|systemDiscovery, separator = ,]
2449
2449
  [--file] Path to the YAML file to pull into [default = ./transcend.yml]
2450
2450
  [--transcendUrl] URL of the Transcend backend. Use https://api.us.transcend.io for US hosting. Defaults to the TRANSCEND_API_URL environment variable when set, so --transcendUrl may be omitted if it is exported. [default = https://api.transcend.io]
2451
2451
  [--dataSiloIds]... The UUIDs of the data silos that should be pulled into the YAML file [separator = ,]
@@ -2497,6 +2497,7 @@ The API key permissions for this command vary based on the `resources` argument:
2497
2497
  | `assessments` | `assessments` | Assessment responses. | View Assessments | [Assessments -> Assessments](https://app.transcend.io/assessments/groups) |
2498
2498
  | `assessmentTemplates` | `assessment-templates` | Assessment template configurations. | View Assessments | [Assessment -> Templates](https://app.transcend.io/assessments/form-templates) |
2499
2499
  | `purposes` | `purposes` | Consent purposes and related preference management topics. | View Consent Manager, View Preference Store Settings | [Consent Management -> Regional Experiences -> Purposes](https://app.transcend.io/consent-manager/regional-experiences/purposes) |
2500
+ | `preferenceOptions` | `preference-options` | Preference option values for single and multi-select preference topics (Preferences -> Preference Topics -> Options tab). | View Preference Store Settings | [Preferences -> Preference Topics -> Options](https://app.transcend.io/preference-store/preference-topics/preference-options) |
2500
2501
  | `systemDiscovery` | `system-discovery` | System discovery results | View Data Map | [System Discovery](https://app.transcend.io/data-map/data-inventory/silo-discovery) |
2501
2502
 
2502
2503
  #### Examples
@@ -2709,6 +2710,7 @@ The API key permissions for this command vary based on the resources declared as
2709
2710
  | `assessments` | `assessments` | Assessment responses. | Manage Assessments | [Assessments -> Assessments](https://app.transcend.io/assessments/groups) |
2710
2711
  | `assessmentTemplates` | `assessment-templates` | Assessment template configurations. | Manage Assessments | [Assessment -> Templates](https://app.transcend.io/assessments/form-templates) |
2711
2712
  | `purposes` | `purposes` | Consent purposes and related preference management topics. | Manage Consent Manager, Manage Preference Store Settings | [Consent Management -> Regional Experiences -> Purposes](https://app.transcend.io/consent-manager/regional-experiences/purposes) |
2713
+ | `preferenceOptions` | `preference-options` | Preference option values for single and multi-select preference topics (Preferences -> Preference Topics -> Options tab). | Manage Preference Store Settings | [Preferences -> Preference Topics -> Options](https://app.transcend.io/preference-store/preference-topics/preference-options) |
2712
2714
  | `systemDiscovery` | `system-discovery` | System discovery results | Manage Data Map | [System Discovery](https://app.transcend.io/data-map/data-inventory/silo-discovery) |
2713
2715
 
2714
2716
  #### Examples
@@ -2799,6 +2801,15 @@ Some things to note about this sync process:
2799
2801
  - a) Data silo owners: If you assign an email address to a data silo, you must first make sure that user is invited into your Transcend instance (https://app.transcend.io/admin/users).
2800
2802
  - b) API keys: This CLI will not create new API keys. You will need to first create the new API keys on the Admin Dashboard (https://app.transcend.io/infrastructure/api-keys). You can then list out the titles of the API keys that you generated in your transcend.yml file, after which the CLI is capable of updating that API key to be able to respond to different data silos in your Data Map
2801
2803
 
2804
+ #### Preference management push notes
2805
+
2806
+ When pushing `purposes`, `preference-options`, or nested `preference-topics`:
2807
+
2808
+ - **Slug format:** Preference topic and option value slugs must match `/^[A-Za-z]+$/` (alphabetical letters only — no digits, dashes, or underscores). The CLI validates this before any API calls. Topic slugs are normalized to PascalCase server-side, so YAML slugs should already be PascalCase or matching will break on subsequent pulls.
2809
+ - **Built-in purposes:** Default purposes (Advertising, Analytics, Essential, Functional, SaleOfInfo) can be updated via API key for most fields (`description`, `title`, `display-order`, `show-in-privacy-center`, `auth-level`, etc.). The CLI omits `configurable` and `show-in-consent-manager` from updates for built-in purposes and logs a warning if your YAML differs on those fields — change them in the [Admin Dashboard](https://app.transcend.io/consent-manager/regional-experiences/purposes) instead.
2810
+ - **BOOLEAN topics:** Do not define `options` for `BOOLEAN` preference topics — the backend auto-creates True/False options. The CLI rejects non-empty options before push.
2811
+ - **Immutable topic fields:** Slug, type, and parent purpose cannot be changed for an existing preference topic. Attempting to change `type` in YAML is rejected by the CLI.
2812
+
2802
2813
  #### CI Integration
2803
2814
 
2804
2815
  Once you have a workflow for creating your transcend.yml file, you will want to integrate your `transcend inventory push` command on your CI.
@@ -1,4 +1,4 @@
1
- import{n as e,r as t}from"./enums-CyFTrzXY.mjs";import{g as n,h as r,m as i,u as a}from"./constants-B7bW_WN2.mjs";import{a as o,n as s,r as c,t as l}from"./parsers-Bl90Wjbz.mjs";import{a as u,i as d,o as f,r as p,s as m}from"./command-8AnltUOG.mjs";import{t as h}from"./buildExamples-CZ8kcEqO.mjs";import{buildApplication as ee,buildCommand as g,buildRouteMap as _,numberParser as v}from"@stricli/core";import{buildInstallCommand as y,buildUninstallCommand as b}from"@stricli/auto-complete";import{ConsentBundleType as x,ConsentTrackerStatus as S,DataCategoryType as C,RequestAction as w,RequestDataSiloStatus as T,RequestEnricherStatus as E,RequestOrigin as D,RequestStatus as O,RestartIdentifierStrategy as k,ScopeName as A,UnstructuredSubDataPointRecommendationStatus as j}from"@transcend-io/privacy-types";const M=g({loader:async()=>{let{chunkCsv:e}=await import(`./impl-BDc4D9nA.mjs`);return e},parameters:{flags:{directory:{kind:`parsed`,parse:String,brief:`Directory containing CSV files to split (required)`},outputDir:{kind:`parsed`,parse:String,brief:`Directory to write chunk files (defaults to each input file's directory)`,optional:!0},clearOutputDir:{kind:`boolean`,brief:`Clear the output directory before writing chunks`,default:!0},chunkSizeMB:{kind:`parsed`,parse:e=>{let t=Number(e);if(!Number.isFinite(t)||t<=0)throw Error(`chunkSizeMB must be a positive number`);return t},brief:`Approximate chunk size in megabytes. Keep well under JS string size limits`,default:`10`},concurrency:{kind:`parsed`,parse:e=>Math.max(1,Number(e)||0),brief:`Max number of worker processes (defaults based on CPU and file count)`,optional:!0},viewerMode:{kind:`boolean`,brief:`Run in non-interactive viewer mode (no attach UI, auto-artifacts)`,default:!1}}},docs:{brief:`Chunk all CSVs in a directory into smaller CSV files`,fullDescription:`Streams every CSV in --directory and writes chunked files of approximately N MB each.
1
+ import{n as e,r as t}from"./enums-mAXnon_I.mjs";import{g as n,h as r,m as i,u as a}from"./constants-BeMH_MWn.mjs";import{a as o,n as s,r as c,t as l}from"./parsers-Bl90Wjbz.mjs";import{a as u,i as d,o as f,r as p,s as m}from"./command-q8MOijXW.mjs";import{t as h}from"./buildExamples-CbXqb5QS.mjs";import{buildApplication as ee,buildCommand as g,buildRouteMap as _,numberParser as v}from"@stricli/core";import{buildInstallCommand as y,buildUninstallCommand as b}from"@stricli/auto-complete";import{ConsentBundleType as x,ConsentTrackerStatus as S,DataCategoryType as C,RequestAction as w,RequestDataSiloStatus as T,RequestEnricherStatus as E,RequestOrigin as D,RequestStatus as O,RestartIdentifierStrategy as k,ScopeName as A,UnstructuredSubDataPointRecommendationStatus as j}from"@transcend-io/privacy-types";const M=g({loader:async()=>{let{chunkCsv:e}=await import(`./impl-BtipvRbs.mjs`);return e},parameters:{flags:{directory:{kind:`parsed`,parse:String,brief:`Directory containing CSV files to split (required)`},outputDir:{kind:`parsed`,parse:String,brief:`Directory to write chunk files (defaults to each input file's directory)`,optional:!0},clearOutputDir:{kind:`boolean`,brief:`Clear the output directory before writing chunks`,default:!0},chunkSizeMB:{kind:`parsed`,parse:e=>{let t=Number(e);if(!Number.isFinite(t)||t<=0)throw Error(`chunkSizeMB must be a positive number`);return t},brief:`Approximate chunk size in megabytes. Keep well under JS string size limits`,default:`10`},concurrency:{kind:`parsed`,parse:e=>Math.max(1,Number(e)||0),brief:`Max number of worker processes (defaults based on CPU and file count)`,optional:!0},viewerMode:{kind:`boolean`,brief:`Run in non-interactive viewer mode (no attach UI, auto-artifacts)`,default:!1}}},docs:{brief:`Chunk all CSVs in a directory into smaller CSV files`,fullDescription:`Streams every CSV in --directory and writes chunked files of approximately N MB each.
2
2
  - Runs files in parallel across worker processes (configurable via --concurrency).
3
3
  - Validates row-length consistency against the header row; logs periodic progress and memory usage.`}}),N=g({loader:async()=>{let{findTextInFolder:e}=await import(`./impl-Df_SZy5X.mjs`);return e},parameters:{flags:{needle:{kind:`parsed`,parse:String,brief:`The text string to search for (case-insensitive)`},root:{kind:`parsed`,parse:String,brief:`Root directory to search`,default:`.`},exts:{kind:`parsed`,parse:String,brief:`Comma-separated file extensions to search (without leading dots)`,default:`csv,json,txt,ndjson,log`},noParquet:{kind:`boolean`,brief:`Skip parquet file scanning (requires duckdb on PATH)`,default:!1},concurrency:{kind:`parsed`,parse:e=>{let t=Number(e);if(!Number.isFinite(t)||t<=0)throw Error(`concurrency must be a positive number`);return t},brief:`Max number of files to scan concurrently`,default:`16`},maxBytes:{kind:`parsed`,parse:e=>{let t=Number(e);if(!Number.isFinite(t)||t<=0)throw Error(`maxBytes must be a positive number`);return t},brief:`Stop scanning each file after this many bytes (useful for huge files)`,optional:!0}}},docs:{brief:`Find a needle in a haystack — search many large files in a folder for a text match`,fullDescription:`Searches a folder of files for a given text string (case-insensitive).
4
4
 
@@ -13,22 +13,22 @@ Supported file types:
13
13
  - Text-based files (csv, json, txt, ndjson, log, etc.) are scanned via streaming byte comparison.
14
14
  - Parquet files are scanned via DuckDB (must be on PATH unless --noParquet is set).
15
15
 
16
- Outputs one matching file path per line to stdout as hits are found.`}}),P=_({routes:{"generate-api-keys":g({loader:async()=>{let{generateApiKeys:e}=await import(`./impl-DYsJKLfp.mjs`);return e},parameters:{flags:{email:{kind:`parsed`,parse:String,brief:`The email address that you use to log into Transcend`},password:{kind:`parsed`,parse:String,brief:`The password for your account login`},apiKeyTitle:{kind:`parsed`,parse:String,brief:`The title of the API key being generated or destroyed`},file:{kind:`parsed`,parse:String,brief:`The file where API keys should be written to`},scopes:{kind:`enum`,values:a,variadic:`,`,brief:`The list of scopes that should be given to the API key`},deleteExistingApiKey:{kind:`boolean`,brief:`When true, if an API key exists with the specified apiKeyTitle, the existing API key is deleted`,default:!0},createNewApiKey:{kind:`boolean`,brief:`When true, new API keys will be created. Set to false if you simply want to delete all API keys with a title`,default:!0},parentOrganizationId:{kind:`parsed`,parse:o,brief:`Filter for only a specific organization by ID, returning all child accounts associated with that organization`,optional:!0},transcendUrl:m()}},docs:{brief:`Generate API keys`,fullDescription:`This command allows for creating API keys across multiple Transcend instances. This is useful for customers that are managing many Transcend instances and need to regularly create, cycle or delete API keys across all of their instances.
16
+ Outputs one matching file path per line to stdout as hits are found.`}}),P=_({routes:{"generate-api-keys":g({loader:async()=>{let{generateApiKeys:e}=await import(`./impl-Dh9KPYhQ.mjs`);return e},parameters:{flags:{email:{kind:`parsed`,parse:String,brief:`The email address that you use to log into Transcend`},password:{kind:`parsed`,parse:String,brief:`The password for your account login`},apiKeyTitle:{kind:`parsed`,parse:String,brief:`The title of the API key being generated or destroyed`},file:{kind:`parsed`,parse:String,brief:`The file where API keys should be written to`},scopes:{kind:`enum`,values:a,variadic:`,`,brief:`The list of scopes that should be given to the API key`},deleteExistingApiKey:{kind:`boolean`,brief:`When true, if an API key exists with the specified apiKeyTitle, the existing API key is deleted`,default:!0},createNewApiKey:{kind:`boolean`,brief:`When true, new API keys will be created. Set to false if you simply want to delete all API keys with a title`,default:!0},parentOrganizationId:{kind:`parsed`,parse:o,brief:`Filter for only a specific organization by ID, returning all child accounts associated with that organization`,optional:!0},transcendUrl:m()}},docs:{brief:`Generate API keys`,fullDescription:`This command allows for creating API keys across multiple Transcend instances. This is useful for customers that are managing many Transcend instances and need to regularly create, cycle or delete API keys across all of their instances.
17
17
 
18
18
  Unlike the other commands that rely on API key authentication, this command relies upon username/password authentication. This command will spit out the API keys into a JSON file, and that JSON file can be used in subsequent CLI commands.
19
19
 
20
- Authentication requires your email and password for the Transcend account. This command will only generate API keys for Transcend instances where you have the permission to "Manage API Keys".`}}),"chunk-csv":M,"find-text-in-folder":N,"parquet-to-csv":g({loader:async()=>{let{parquetToCsv:e}=await import(`./impl-Bul8gUqq.mjs`);return e},parameters:{flags:{directory:{kind:`parsed`,parse:String,brief:`Directory containing Parquet files to convert (required)`},outputDir:{kind:`parsed`,parse:String,brief:`Directory to write CSV files (defaults to each input file's directory)`,optional:!0},clearOutputDir:{kind:`boolean`,brief:`Clear the output directory before writing CSVs`,default:!0},concurrency:{kind:`parsed`,parse:e=>Math.max(1,Number(e)||0),brief:`Max number of worker processes (defaults based on CPU and file count)`,optional:!0},viewerMode:{kind:`boolean`,brief:`Run in non-interactive viewer mode (no attach UI, auto-artifacts)`,default:!1}}},docs:{brief:`Convert all Parquet files in a directory to CSV`,fullDescription:`Streams every .parquet in --directory and writes CSV output files
20
+ Authentication requires your email and password for the Transcend account. This command will only generate API keys for Transcend instances where you have the permission to "Manage API Keys".`}}),"chunk-csv":M,"find-text-in-folder":N,"parquet-to-csv":g({loader:async()=>{let{parquetToCsv:e}=await import(`./impl-mKyN6ET8.mjs`);return e},parameters:{flags:{directory:{kind:`parsed`,parse:String,brief:`Directory containing Parquet files to convert (required)`},outputDir:{kind:`parsed`,parse:String,brief:`Directory to write CSV files (defaults to each input file's directory)`,optional:!0},clearOutputDir:{kind:`boolean`,brief:`Clear the output directory before writing CSVs`,default:!0},concurrency:{kind:`parsed`,parse:e=>Math.max(1,Number(e)||0),brief:`Max number of worker processes (defaults based on CPU and file count)`,optional:!0},viewerMode:{kind:`boolean`,brief:`Run in non-interactive viewer mode (no attach UI, auto-artifacts)`,default:!1}}},docs:{brief:`Convert all Parquet files in a directory to CSV`,fullDescription:`Streams every .parquet in --directory and writes CSV output files
21
21
  - Runs files in parallel across worker processes (configurable via --concurrency).
22
22
  - Validates row consistency; logs periodic progress and memory usage.
23
23
 
24
24
  This is a useful administrative tool for converting Parquet exports to CSV for the purposes
25
- of uploading DSRs or Consent Preferences. e.g. transcend consent upload-preferences ...`}})},docs:{brief:`Admin commands`}}),F=g({loader:async()=>{let{buildXdiSyncEndpoint:e}=await import(`./impl-Bvkhu8fB.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ViewConsentManager]}),xdiLocation:{kind:`parsed`,parse:String,brief:`The location of the XDI that will be loaded by the generated sync endpoint`},file:{kind:`parsed`,parse:String,brief:`The HTML file path where the sync endpoint should be written`,default:`./sync-endpoint.html`},removeIpAddresses:{kind:`boolean`,brief:`When true, remove IP addresses from the domain list`,default:!0},domainBlockList:{kind:`parsed`,parse:l,brief:`The set of domains that should be excluded from the sync endpoint. Comma-separated list.`,default:`localhost`},xdiAllowedCommands:{kind:`parsed`,parse:String,brief:`The allowed set of XDI commands`,default:`ConsentManager:Sync`},transcendUrl:m()}},docs:{brief:`Build XDI sync endpoint`,fullDescription:`This command allows for building of the XDI Sync Endpoint across a set of Transcend accounts.`}}),te=g({loader:async()=>{let{deletePreferenceRecords:e}=await import(`./impl-B5TsrlQT.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ManageStoredPreferences]}),sombraAuth:f(),partition:{kind:`parsed`,parse:String,brief:`Partition ID to used to delete preference records from`},timestamp:{kind:`parsed`,parse:s,brief:`The timestamp when the deletion operation is made. Used for logging purposes.`},file:{kind:`parsed`,parse:String,optional:!0,brief:`Path to the CSV file used to identify preference records to delete`},directory:{kind:`parsed`,parse:String,brief:`Path to the directory of CSV files to load preferences from`,optional:!0},transcendUrl:m(),maxItemsInChunk:{kind:`parsed`,parse:v,brief:`When chunking, how many items to delete in a single chunk (higher = faster, but more load).`,default:`10`},maxConcurrency:{kind:`parsed`,parse:v,brief:`Number of concurrent requests to make when deleting preference records. (Higher = faster, but more load and rate limiting errors).`,default:`10`},fileConcurrency:{kind:`parsed`,parse:v,brief:`Number of files to process concurrently when deleting preference records from multiple files.`,default:`5`},receiptDirectory:{kind:`parsed`,parse:String,brief:`Directory to write receipts of failed deletions to.`,default:`./receipts`}}},docs:{brief:`Delete consent preference records in bulk from Preference Store`,fullDescription:`Uses POST /v1/preferences/{partition}/delete route on sombra to delete consent preference records in bulk from Preference Store based on a CSV file input. Refer to examples/cli-upload-preferences-example.csv for the expected format of the CSV file. The CSV expects the following headers: "name" and "value". The "name" field corresponds to the identifier name as defined on https://app.transcend.io/privacy-requests/identifiers The "value" refers to the actual identifier value for the user whose preference record is being deleted. For Large scale deletions, consider chunking the input CSV into smaller files and using the --directory option to process them concurrently.`}}),I=_({routes:{"build-xdi-sync-endpoint":F,"generate-access-tokens":g({loader:async()=>{let{generateAccessTokens:e}=await import(`./impl-vHEzhNyX.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.GeneratePreferenceAccessTokens]}),file:{kind:`parsed`,parse:String,brief:`Path to the CSV file containing user identifiers to generate access tokens for`},subjectType:{kind:`parsed`,parse:String,brief:`Slug for the data subject that the user will be logged in as on the Privacy Center. e.g. "customer" or "employee"`},emailColumnName:{kind:`parsed`,parse:String,brief:`Name of the column in the CSV that contains user email addresses`,default:`email`},coreIdentifierColumnName:{kind:`parsed`,parse:String,optional:!0,brief:`Name of the column in the CSV that contains user core identifiers`},duration:{kind:`parsed`,parse:c,brief:'How long the access tokens should be valid. Accepts human-friendly values like "2 days", "10h", "90 minutes". A bare number is interpreted as seconds (e.g., "300" = 5 minutes). Powered by the `ms` library: https://github.com/vercel/ms',default:`1y`},transcendUrl:m()}},docs:{brief:`Generate access tokens`,fullDescription:`This command allows for the generation of access tokens for users specified in a CSV file.`}}),"pull-consent-metrics":g({loader:async()=>{let{pullConsentMetrics:e}=await import(`./impl-CDNTdi62.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ViewConsentManager]}),start:{kind:`parsed`,parse:s,brief:`The start date to pull metrics from`},end:{kind:`parsed`,parse:s,brief:`The end date to pull metrics until`,optional:!0},folder:{kind:`parsed`,parse:String,brief:`The folder to save metrics to`,default:`./consent-metrics/`},bin:{kind:`parsed`,parse:String,brief:`The bin metric when pulling data (1h or 1d)`,default:`1d`},transcendUrl:m()}},docs:{brief:`Pull consent metrics`,fullDescription:"This command allows for pulling consent manager metrics for a Transcend account, or a set of Transcend accounts.\n\nBy default, the consent metrics will be written to a folder named `consent-metrics` within the directory where you run the command. You can override the location that these CSVs are written to using the flag `--folder=./my-folder/`. This folder will contain a set of CSV files:\n\n- `CONSENT_CHANGES_TIMESERIES_optIn.csv` -> this is a feed containing the number of explicit opt in events that happen - these are calls to `airgap.setConsent(event, { SaleOfInfo: true });`\n- `CONSENT_CHANGES_TIMESERIES_optOut.csv` -> this is a feed containing the number of explicit opt out events that happen - these are calls to `airgap.setConsent(event, { SaleOfInfo: false });`\n- `CONSENT_SESSIONS_BY_REGIME_Default.csv` -> this contains the number of sessions detected for the bin period\n- `PRIVACY_SIGNAL_TIMESERIES_DNT.csv` -> the number of DNT signals detected.\n- `PRIVACY_SIGNAL_TIMESERIES_GPC.csv` -> the number of GPC signals detected."}}),"pull-consent-preferences":g({loader:async()=>{let{pullConsentPreferences:e}=await import(`./impl-COmkhA32.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ViewManagedConsentDatabaseAdminApi,A.ViewRequestIdentitySettings,A.ViewPreferenceStoreSettings]}),partition:{kind:`parsed`,parse:String,brief:`Partition ID to query in the Preference Store`},sombraAuth:f(),file:{kind:`parsed`,parse:String,brief:`Path to CSV output file`,default:`./preferences.csv`},transcendUrl:m(),timestampBefore:{kind:`parsed`,parse:s,brief:`Filter: preferences collected before this time (timestampBefore)`,optional:!0},timestampAfter:{kind:`parsed`,parse:s,brief:`Filter: preferences collected after this time (timestampAfter)`,optional:!0},updatedBefore:{kind:`parsed`,parse:s,brief:`Filter: preferences updated before this time (system.updatedAt)`,optional:!0},updatedAfter:{kind:`parsed`,parse:s,brief:`Filter: preferences updated after this time (system.updatedAt)`,optional:!0},identifiers:{kind:`parsed`,parse:String,variadic:`,`,brief:`Filter specific users by identifier(s) as "name:value". If name is omitted, defaults to "email". Multiple values separated by commas.`,optional:!0},concurrency:{kind:`parsed`,parse:v,brief:`Page size / concurrency used when downloading (1–50 per API). Higher = fewer pages.`,default:`50`},shouldChunk:{kind:`boolean`,brief:`Whether to download requests in timestamp window chunks.`,default:!0},exportIdentifiersWithDelimiter:{kind:`parsed`,parse:String,brief:`Delimiter to use when combining multiple identifiers into a single column in the output CSV.`,default:`,`},windowConcurrency:{kind:`parsed`,parse:v,brief:`When chunking, how many windows to download in parallel (higher = faster, but more load).`,default:`80`},maxChunks:{kind:`parsed`,parse:v,brief:`Maximum number of chunks to download (higher = more data, but more load).`,default:`20000`},maxLookbackDays:{kind:`parsed`,parse:v,brief:`Maximum lookback period in days for fetching consent preferences.`,default:`3650`}}},docs:{brief:`Pull consent preferences from the Managed Consent Database`,fullDescription:`Uses POST /v1/preferences/{partition}/query with cursor-based pagination. Supports filtering by identifiers, collection timestamps, and system.updatedAt.`}}),"update-consent-manager":g({loader:async()=>{let{updateConsentManager:e}=await import(`./impl-BvOLkTWD.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ManageConsentManagerDeveloperSettings]}),bundleTypes:{kind:`enum`,values:Object.values(x),brief:`The bundle types to deploy. Defaults to PRODUCTION,TEST.`,variadic:`,`},deploy:{kind:`boolean`,brief:`When true, deploy the Consent Manager after updating the version`,default:!1},transcendUrl:m()}},docs:{brief:`Update consent manager`,fullDescription:`This command allows for updating Consent Manager to latest version. The Consent Manager bundle can also be deployed using this command.`}}),"upload-consent-preferences":g({loader:async()=>{let{uploadConsentPreferences:e}=await import(`./impl-DMbgck0i.mjs`);return e},parameters:{flags:{base64EncryptionKey:{kind:`parsed`,parse:String,brief:`The encryption key used to encrypt the userId`},base64SigningKey:{kind:`parsed`,parse:String,brief:`The signing key used to prove authentication of consent request`},partition:{kind:`parsed`,parse:String,brief:`The partition key to download consent preferences to`},file:{kind:`parsed`,parse:String,brief:`The file to pull consent preferences from`,default:`./preferences.csv`},consentUrl:u(),concurrency:{kind:`parsed`,parse:v,brief:`The concurrency to use when uploading requests in parallel`,default:`100`}}},docs:{brief:`Upload consent preferences to the Managed Consent Database`,fullDescription:`This command allows for updating of consent preferences to the Managed Consent Database.`}}),"upload-cookies-from-csv":g({loader:async()=>{let{uploadCookiesFromCsv:e}=await import(`./impl-DqyYxDti.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ManageDataFlow]}),trackerStatus:{kind:`enum`,values:Object.values(S),brief:`The status of the cookies you will upload.`},file:{kind:`parsed`,parse:String,brief:`Path to the CSV file to upload`,default:`./cookies.csv`},transcendUrl:m()}},docs:{brief:`Upload cookies from CSV`,fullDescription:`Upload cookies from CSV. This command allows for uploading of cookies from CSV.
25
+ of uploading DSRs or Consent Preferences. e.g. transcend consent upload-preferences ...`}})},docs:{brief:`Admin commands`}}),F=g({loader:async()=>{let{buildXdiSyncEndpoint:e}=await import(`./impl-Wu5usA1Y.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ViewConsentManager]}),xdiLocation:{kind:`parsed`,parse:String,brief:`The location of the XDI that will be loaded by the generated sync endpoint`},file:{kind:`parsed`,parse:String,brief:`The HTML file path where the sync endpoint should be written`,default:`./sync-endpoint.html`},removeIpAddresses:{kind:`boolean`,brief:`When true, remove IP addresses from the domain list`,default:!0},domainBlockList:{kind:`parsed`,parse:l,brief:`The set of domains that should be excluded from the sync endpoint. Comma-separated list.`,default:`localhost`},xdiAllowedCommands:{kind:`parsed`,parse:String,brief:`The allowed set of XDI commands`,default:`ConsentManager:Sync`},transcendUrl:m()}},docs:{brief:`Build XDI sync endpoint`,fullDescription:`This command allows for building of the XDI Sync Endpoint across a set of Transcend accounts.`}}),te=g({loader:async()=>{let{deletePreferenceRecords:e}=await import(`./impl-B5TsrlQT.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ManageStoredPreferences]}),sombraAuth:f(),partition:{kind:`parsed`,parse:String,brief:`Partition ID to used to delete preference records from`},timestamp:{kind:`parsed`,parse:s,brief:`The timestamp when the deletion operation is made. Used for logging purposes.`},file:{kind:`parsed`,parse:String,optional:!0,brief:`Path to the CSV file used to identify preference records to delete`},directory:{kind:`parsed`,parse:String,brief:`Path to the directory of CSV files to load preferences from`,optional:!0},transcendUrl:m(),maxItemsInChunk:{kind:`parsed`,parse:v,brief:`When chunking, how many items to delete in a single chunk (higher = faster, but more load).`,default:`10`},maxConcurrency:{kind:`parsed`,parse:v,brief:`Number of concurrent requests to make when deleting preference records. (Higher = faster, but more load and rate limiting errors).`,default:`10`},fileConcurrency:{kind:`parsed`,parse:v,brief:`Number of files to process concurrently when deleting preference records from multiple files.`,default:`5`},receiptDirectory:{kind:`parsed`,parse:String,brief:`Directory to write receipts of failed deletions to.`,default:`./receipts`}}},docs:{brief:`Delete consent preference records in bulk from Preference Store`,fullDescription:`Uses POST /v1/preferences/{partition}/delete route on sombra to delete consent preference records in bulk from Preference Store based on a CSV file input. Refer to examples/cli-upload-preferences-example.csv for the expected format of the CSV file. The CSV expects the following headers: "name" and "value". The "name" field corresponds to the identifier name as defined on https://app.transcend.io/privacy-requests/identifiers The "value" refers to the actual identifier value for the user whose preference record is being deleted. For Large scale deletions, consider chunking the input CSV into smaller files and using the --directory option to process them concurrently.`}}),I=_({routes:{"build-xdi-sync-endpoint":F,"generate-access-tokens":g({loader:async()=>{let{generateAccessTokens:e}=await import(`./impl-vHEzhNyX.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.GeneratePreferenceAccessTokens]}),file:{kind:`parsed`,parse:String,brief:`Path to the CSV file containing user identifiers to generate access tokens for`},subjectType:{kind:`parsed`,parse:String,brief:`Slug for the data subject that the user will be logged in as on the Privacy Center. e.g. "customer" or "employee"`},emailColumnName:{kind:`parsed`,parse:String,brief:`Name of the column in the CSV that contains user email addresses`,default:`email`},coreIdentifierColumnName:{kind:`parsed`,parse:String,optional:!0,brief:`Name of the column in the CSV that contains user core identifiers`},duration:{kind:`parsed`,parse:c,brief:'How long the access tokens should be valid. Accepts human-friendly values like "2 days", "10h", "90 minutes". A bare number is interpreted as seconds (e.g., "300" = 5 minutes). Powered by the `ms` library: https://github.com/vercel/ms',default:`1y`},transcendUrl:m()}},docs:{brief:`Generate access tokens`,fullDescription:`This command allows for the generation of access tokens for users specified in a CSV file.`}}),"pull-consent-metrics":g({loader:async()=>{let{pullConsentMetrics:e}=await import(`./impl-Da2Aoswt.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ViewConsentManager]}),start:{kind:`parsed`,parse:s,brief:`The start date to pull metrics from`},end:{kind:`parsed`,parse:s,brief:`The end date to pull metrics until`,optional:!0},folder:{kind:`parsed`,parse:String,brief:`The folder to save metrics to`,default:`./consent-metrics/`},bin:{kind:`parsed`,parse:String,brief:`The bin metric when pulling data (1h or 1d)`,default:`1d`},transcendUrl:m()}},docs:{brief:`Pull consent metrics`,fullDescription:"This command allows for pulling consent manager metrics for a Transcend account, or a set of Transcend accounts.\n\nBy default, the consent metrics will be written to a folder named `consent-metrics` within the directory where you run the command. You can override the location that these CSVs are written to using the flag `--folder=./my-folder/`. This folder will contain a set of CSV files:\n\n- `CONSENT_CHANGES_TIMESERIES_optIn.csv` -> this is a feed containing the number of explicit opt in events that happen - these are calls to `airgap.setConsent(event, { SaleOfInfo: true });`\n- `CONSENT_CHANGES_TIMESERIES_optOut.csv` -> this is a feed containing the number of explicit opt out events that happen - these are calls to `airgap.setConsent(event, { SaleOfInfo: false });`\n- `CONSENT_SESSIONS_BY_REGIME_Default.csv` -> this contains the number of sessions detected for the bin period\n- `PRIVACY_SIGNAL_TIMESERIES_DNT.csv` -> the number of DNT signals detected.\n- `PRIVACY_SIGNAL_TIMESERIES_GPC.csv` -> the number of GPC signals detected."}}),"pull-consent-preferences":g({loader:async()=>{let{pullConsentPreferences:e}=await import(`./impl-COmkhA32.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ViewManagedConsentDatabaseAdminApi,A.ViewRequestIdentitySettings,A.ViewPreferenceStoreSettings]}),partition:{kind:`parsed`,parse:String,brief:`Partition ID to query in the Preference Store`},sombraAuth:f(),file:{kind:`parsed`,parse:String,brief:`Path to CSV output file`,default:`./preferences.csv`},transcendUrl:m(),timestampBefore:{kind:`parsed`,parse:s,brief:`Filter: preferences collected before this time (timestampBefore)`,optional:!0},timestampAfter:{kind:`parsed`,parse:s,brief:`Filter: preferences collected after this time (timestampAfter)`,optional:!0},updatedBefore:{kind:`parsed`,parse:s,brief:`Filter: preferences updated before this time (system.updatedAt)`,optional:!0},updatedAfter:{kind:`parsed`,parse:s,brief:`Filter: preferences updated after this time (system.updatedAt)`,optional:!0},identifiers:{kind:`parsed`,parse:String,variadic:`,`,brief:`Filter specific users by identifier(s) as "name:value". If name is omitted, defaults to "email". Multiple values separated by commas.`,optional:!0},concurrency:{kind:`parsed`,parse:v,brief:`Page size / concurrency used when downloading (1–50 per API). Higher = fewer pages.`,default:`50`},shouldChunk:{kind:`boolean`,brief:`Whether to download requests in timestamp window chunks.`,default:!0},exportIdentifiersWithDelimiter:{kind:`parsed`,parse:String,brief:`Delimiter to use when combining multiple identifiers into a single column in the output CSV.`,default:`,`},windowConcurrency:{kind:`parsed`,parse:v,brief:`When chunking, how many windows to download in parallel (higher = faster, but more load).`,default:`80`},maxChunks:{kind:`parsed`,parse:v,brief:`Maximum number of chunks to download (higher = more data, but more load).`,default:`20000`},maxLookbackDays:{kind:`parsed`,parse:v,brief:`Maximum lookback period in days for fetching consent preferences.`,default:`3650`}}},docs:{brief:`Pull consent preferences from the Managed Consent Database`,fullDescription:`Uses POST /v1/preferences/{partition}/query with cursor-based pagination. Supports filtering by identifiers, collection timestamps, and system.updatedAt.`}}),"update-consent-manager":g({loader:async()=>{let{updateConsentManager:e}=await import(`./impl-B3gPt89q.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ManageConsentManagerDeveloperSettings]}),bundleTypes:{kind:`enum`,values:Object.values(x),brief:`The bundle types to deploy. Defaults to PRODUCTION,TEST.`,variadic:`,`},deploy:{kind:`boolean`,brief:`When true, deploy the Consent Manager after updating the version`,default:!1},transcendUrl:m()}},docs:{brief:`Update consent manager`,fullDescription:`This command allows for updating Consent Manager to latest version. The Consent Manager bundle can also be deployed using this command.`}}),"upload-consent-preferences":g({loader:async()=>{let{uploadConsentPreferences:e}=await import(`./impl-Cea7k4on.mjs`);return e},parameters:{flags:{base64EncryptionKey:{kind:`parsed`,parse:String,brief:`The encryption key used to encrypt the userId`},base64SigningKey:{kind:`parsed`,parse:String,brief:`The signing key used to prove authentication of consent request`},partition:{kind:`parsed`,parse:String,brief:`The partition key to download consent preferences to`},file:{kind:`parsed`,parse:String,brief:`The file to pull consent preferences from`,default:`./preferences.csv`},consentUrl:u(),concurrency:{kind:`parsed`,parse:v,brief:`The concurrency to use when uploading requests in parallel`,default:`100`}}},docs:{brief:`Upload consent preferences to the Managed Consent Database`,fullDescription:`This command allows for updating of consent preferences to the Managed Consent Database.`}}),"upload-cookies-from-csv":g({loader:async()=>{let{uploadCookiesFromCsv:e}=await import(`./impl-BBjnVFyp.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ManageDataFlow]}),trackerStatus:{kind:`enum`,values:Object.values(S),brief:`The status of the cookies you will upload.`},file:{kind:`parsed`,parse:String,brief:`Path to the CSV file to upload`,default:`./cookies.csv`},transcendUrl:m()}},docs:{brief:`Upload cookies from CSV`,fullDescription:`Upload cookies from CSV. This command allows for uploading of cookies from CSV.
26
26
 
27
27
  Step 1) Download the CSV of cookies that you want to edit from the Admin Dashboard under [Consent Management -> Cookies](https://app.transcend.io/consent-manager/cookies). You can download cookies from both the "Triage" and "Approved" tabs.
28
28
 
29
29
  Step 2) You can edit the contents of the CSV file as needed. You may adjust the "Purpose" column, adjust the "Notes" column, add "Owners" and "Teams" or even add custom columns with additional metadata.
30
30
 
31
- Step 3) Upload the modified CSV file back into the dashboard with this command.`}}),"upload-data-flows-from-csv":g({loader:async()=>{let{uploadDataFlowsFromCsv:e}=await import(`./impl-BuqBEZCk.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ManageDataFlow]}),trackerStatus:{kind:`enum`,values:Object.values(S),brief:`The status of the data flows you will upload.`},file:{kind:`parsed`,parse:String,brief:`Path to the CSV file to upload`,default:`./data-flows.csv`},classifyService:{kind:`boolean`,brief:`When true, automatically assign the service for a data flow based on the domain that is specified`,default:!1},transcendUrl:m()}},docs:{brief:`Upload data flows from CSV`,fullDescription:`Upload data flows from CSV. This command allows for uploading of data flows from CSV.
31
+ Step 3) Upload the modified CSV file back into the dashboard with this command.`}}),"upload-data-flows-from-csv":g({loader:async()=>{let{uploadDataFlowsFromCsv:e}=await import(`./impl-DXaDDpI7.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ManageDataFlow]}),trackerStatus:{kind:`enum`,values:Object.values(S),brief:`The status of the data flows you will upload.`},file:{kind:`parsed`,parse:String,brief:`Path to the CSV file to upload`,default:`./data-flows.csv`},classifyService:{kind:`boolean`,brief:`When true, automatically assign the service for a data flow based on the domain that is specified`,default:!1},transcendUrl:m()}},docs:{brief:`Upload data flows from CSV`,fullDescription:`Upload data flows from CSV. This command allows for uploading of data flows from CSV.
32
32
 
33
33
  Step 1) Download the CSV of data flows that you want to edit from the Admin Dashboard under [Consent Management -> Data Flows](https://app.transcend.io/consent-manager/data-flows). You can download data flows from both the "Triage" and "Approved" tabs.
34
34
 
@@ -38,7 +38,7 @@ Step 3) Upload the modified CSV file back into the dashboard with this command.`
38
38
 
39
39
  This command prompts you to map the shape of the CSV to the shape of the Transcend API. There is no requirement for the shape of the incoming CSV, as the script will handle the mapping process.
40
40
 
41
- The script will also produce a JSON cache file that allows for the mappings to be preserved between runs.`}}),"delete-preference-records":te},docs:{brief:`Consent commands`}}),L=g({loader:async()=>{let{consentManagerServiceJsonToYml:e}=await import(`./impl-Dl-XNXfK.mjs`);return e},parameters:{flags:{file:{kind:`parsed`,parse:String,brief:`Path to the services.json file, output of await airgap.getMetadata()`,default:`./services.json`},output:{kind:`parsed`,parse:String,brief:`Path to the output transcend.yml to write to`,default:`./transcend.yml`}}},docs:{brief:`Convert consent manager services to transcend.yml`,fullDescription:`Import the services from an airgap.js file into a Transcend instance.
41
+ The script will also produce a JSON cache file that allows for the mappings to be preserved between runs.`}}),"delete-preference-records":te},docs:{brief:`Consent commands`}}),L=g({loader:async()=>{let{consentManagerServiceJsonToYml:e}=await import(`./impl-DGBJkbeS.mjs`);return e},parameters:{flags:{file:{kind:`parsed`,parse:String,brief:`Path to the services.json file, output of await airgap.getMetadata()`,default:`./services.json`},output:{kind:`parsed`,parse:String,brief:`Path to the output transcend.yml to write to`,default:`./transcend.yml`}}},docs:{brief:`Convert consent manager services to transcend.yml`,fullDescription:`Import the services from an airgap.js file into a Transcend instance.
42
42
 
43
43
  1. Run \`await airgap.getMetadata()\` on a site with airgap
44
44
  2. Right click on the printed object, and click \`Copy object\`
@@ -49,9 +49,9 @@ The script will also produce a JSON cache file that allows for the mappings to b
49
49
 
50
50
  5. Run:
51
51
 
52
- ${h([`inventory`,`push`],{auth:`$TRANSCEND_API_KEY`,file:`./transcend.yml`,classifyService:!0},{argsIndent:5})}`}}),R=g({loader:async()=>{let{consentManagersToBusinessEntities:e}=await import(`./impl-C0I8JaaR.mjs`);return e},parameters:{flags:{consentManagerYmlFolder:{kind:`parsed`,parse:String,brief:`Path to the folder of Consent Manager transcend.yml files to combine`},output:{kind:`parsed`,parse:String,brief:`Path to the output transcend.yml with business entity configuration`,default:`./combined-business-entities.yml`}}},docs:{brief:`Convert consent managers to business entities`,fullDescription:`This command allows for converting a folder or Consent Manager transcend.yml files into a single transcend.yml file where each consent manager configuration is a Business Entity in the data inventory.`}}),z=g({loader:async()=>{let{deriveDataSilosFromDataFlowsCrossInstance:e}=await import(`./impl-DK2Rai3F.mjs`);return e},parameters:{flags:{auth:d({scopes:[]}),dataFlowsYmlFolder:{kind:`parsed`,parse:String,brief:`The folder that contains data flow yml files`},output:{kind:`parsed`,parse:String,brief:`The output transcend.yml file containing the data silo configurations`,default:`./transcend.yml`},ignoreYmls:{kind:`parsed`,parse:String,variadic:`,`,brief:`The set of yml files that should be skipped when uploading`,optional:!0},transcendUrl:m()}},docs:{brief:`Derive data silos from data flows cross instance`,fullDescription:`Given a folder of data flow transcend.yml configurations, convert those configurations to a single transcend.yml configurations of all related data silos.`}}),B=g({loader:async()=>{let{deriveDataSilosFromDataFlows:e}=await import(`./impl-CsHfqKxU.mjs`);return e},parameters:{flags:{auth:d({scopes:[]}),dataFlowsYmlFolder:{kind:`parsed`,parse:String,brief:`The folder that contains data flow yml files`},dataSilosYmlFolder:{kind:`parsed`,parse:String,brief:`The folder that contains data silo yml files`},ignoreYmls:{kind:`parsed`,parse:String,variadic:`,`,brief:`The set of yml files that should be skipped when uploading`,optional:!0},transcendUrl:m()}},docs:{brief:`Derive data silos from data flows`,fullDescription:`Given a folder of data flow transcend.yml configurations, convert those configurations to set of data silo transcend.yml configurations.`}}),V=g({loader:async()=>{let{discoverSilos:e}=await import(`./impl-CkFqqhQ-.mjs`);return e},parameters:{flags:{scanPath:{kind:`parsed`,parse:String,brief:`File path in the project to scan`},dataSiloId:{kind:`parsed`,parse:o,brief:`The UUID of the corresponding data silo`},auth:d({scopes:[A.ManageAssignedDataInventory],requiresSiloScope:!0}),fileGlobs:{kind:`parsed`,parse:String,brief:`You can pass a glob syntax pattern(s) to specify additional file paths to scan. Comma-separated list of globs.`,default:``},ignoreDirs:{kind:`parsed`,parse:String,brief:`Comma-separated list of directories to ignore.`,default:``},transcendUrl:m()}},docs:{brief:`Scan dependency management files to discover new data silos.`,fullDescription:`We support scanning for new data silos in JavaScript, Python, Gradle, and CocoaPods projects.
52
+ ${h([`inventory`,`push`],{auth:`$TRANSCEND_API_KEY`,file:`./transcend.yml`,classifyService:!0},{argsIndent:5})}`}}),R=g({loader:async()=>{let{consentManagersToBusinessEntities:e}=await import(`./impl-CCP1-ZeX.mjs`);return e},parameters:{flags:{consentManagerYmlFolder:{kind:`parsed`,parse:String,brief:`Path to the folder of Consent Manager transcend.yml files to combine`},output:{kind:`parsed`,parse:String,brief:`Path to the output transcend.yml with business entity configuration`,default:`./combined-business-entities.yml`}}},docs:{brief:`Convert consent managers to business entities`,fullDescription:`This command allows for converting a folder or Consent Manager transcend.yml files into a single transcend.yml file where each consent manager configuration is a Business Entity in the data inventory.`}}),z=g({loader:async()=>{let{deriveDataSilosFromDataFlowsCrossInstance:e}=await import(`./impl-BtgbwWAB.mjs`);return e},parameters:{flags:{auth:d({scopes:[]}),dataFlowsYmlFolder:{kind:`parsed`,parse:String,brief:`The folder that contains data flow yml files`},output:{kind:`parsed`,parse:String,brief:`The output transcend.yml file containing the data silo configurations`,default:`./transcend.yml`},ignoreYmls:{kind:`parsed`,parse:String,variadic:`,`,brief:`The set of yml files that should be skipped when uploading`,optional:!0},transcendUrl:m()}},docs:{brief:`Derive data silos from data flows cross instance`,fullDescription:`Given a folder of data flow transcend.yml configurations, convert those configurations to a single transcend.yml configurations of all related data silos.`}}),B=g({loader:async()=>{let{deriveDataSilosFromDataFlows:e}=await import(`./impl-DOGMbdAR.mjs`);return e},parameters:{flags:{auth:d({scopes:[]}),dataFlowsYmlFolder:{kind:`parsed`,parse:String,brief:`The folder that contains data flow yml files`},dataSilosYmlFolder:{kind:`parsed`,parse:String,brief:`The folder that contains data silo yml files`},ignoreYmls:{kind:`parsed`,parse:String,variadic:`,`,brief:`The set of yml files that should be skipped when uploading`,optional:!0},transcendUrl:m()}},docs:{brief:`Derive data silos from data flows`,fullDescription:`Given a folder of data flow transcend.yml configurations, convert those configurations to set of data silo transcend.yml configurations.`}}),V=g({loader:async()=>{let{discoverSilos:e}=await import(`./impl-GJ3nq4P6.mjs`);return e},parameters:{flags:{scanPath:{kind:`parsed`,parse:String,brief:`File path in the project to scan`},dataSiloId:{kind:`parsed`,parse:o,brief:`The UUID of the corresponding data silo`},auth:d({scopes:[A.ManageAssignedDataInventory],requiresSiloScope:!0}),fileGlobs:{kind:`parsed`,parse:String,brief:`You can pass a glob syntax pattern(s) to specify additional file paths to scan. Comma-separated list of globs.`,default:``},ignoreDirs:{kind:`parsed`,parse:String,brief:`Comma-separated list of directories to ignore.`,default:``},transcendUrl:m()}},docs:{brief:`Scan dependency management files to discover new data silos.`,fullDescription:`We support scanning for new data silos in JavaScript, Python, Gradle, and CocoaPods projects.
53
53
 
54
- To get started, add a data silo for the corresponding project type with the "silo discovery" plugin enabled. For example, if you want to scan a JavaScript project, add a package.json data silo. Then, specify the data silo ID in the "--dataSiloId" parameter.`}}),H=g({loader:async()=>{let{pullDatapoints:e}=await import(`./impl-0C9N9md8.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ViewDataInventory]}),file:{kind:`parsed`,parse:String,brief:`The file to save datapoints to`,default:`./datapoints.csv`},transcendUrl:m(),dataSiloIds:{kind:`parsed`,parse:String,variadic:`,`,brief:`List of data silo IDs to filter by`,optional:!0},includeAttributes:{kind:`boolean`,brief:`Whether to include attributes in the output`,default:!1},includeGuessedCategories:{kind:`boolean`,brief:`Whether to include guessed categories in the output`,default:!1},parentCategories:{kind:`enum`,values:Object.values(C),brief:`List of parent categories to filter by`,variadic:`,`,optional:!0},subCategories:{kind:`parsed`,parse:String,brief:`List of subcategories to filter by`,variadic:`,`,optional:!0}}},docs:{brief:`Export the datapoints from your Data Inventory into a CSV.`}}),U=g({loader:async()=>{let{pullUnstructuredDiscoveryFiles:e}=await import(`./impl-B4GlGvLI.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ViewDataInventory]}),file:{kind:`parsed`,parse:String,brief:`The file to save datapoints to`,default:`./unstructured-discovery-files.csv`},transcendUrl:m(),dataSiloIds:{kind:`parsed`,parse:String,brief:`List of data silo IDs to filter by`,variadic:`,`,optional:!0},subCategories:{kind:`parsed`,parse:String,brief:`List of data categories to filter by`,variadic:`,`,optional:!0},status:{kind:`enum`,values:Object.values(j),brief:`List of classification statuses to filter by`,variadic:`,`,optional:!0},includeEncryptedSnippets:{kind:`boolean`,brief:`Whether to include encrypted snippets of the entries classified`,default:!1}}},docs:{brief:`Pull unstructured discovery files`,fullDescription:`This command allows for pulling Unstructured Discovery into a CSV.`}}),W=_({routes:{pull:p,push:g({loader:async()=>{let{push:e}=await import(`./impl-e-_DWiv4.mjs`);return e},parameters:{flags:{auth:d({scopes:`Varies`}),file:{kind:`parsed`,parse:String,brief:`Path to the YAML file to push from`,default:`./transcend.yml`},transcendUrl:m(),pageSize:{kind:`parsed`,parse:v,brief:`The page size to use when paginating over the API`,default:`50`},variables:{kind:`parsed`,parse:String,brief:`The variables to template into the YAML file when pushing configuration. Comma-separated list of key:value pairs.`,default:``},publishToPrivacyCenter:{kind:`boolean`,brief:`When true, publish the configuration to the Privacy Center`,default:!1},classifyService:{kind:`boolean`,brief:`When true, automatically assign the service for a data flow based on the domain that is specified`,default:!1},deleteExtraAttributeValues:{kind:`boolean`,brief:`When true and syncing attributes, delete any extra attributes instead of just upserting`,default:!1}}},docs:{brief:`Push metadata from transcend.yml to Transcend`,fullDescription:`Given a transcend.yml file, sync the contents up to your Transcend instance.`}}),"scan-packages":g({loader:async()=>{let{scanPackages:e}=await import(`./impl-CkU-WD3b.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ManageCodeScanning]}),scanPath:{kind:`parsed`,parse:String,brief:`File path in the project to scan`,default:`./`},ignoreDirs:{kind:`parsed`,parse:String,variadic:`,`,brief:`List of directories to ignore in scan`,optional:!0},repositoryName:{kind:`parsed`,parse:String,brief:`Name of the git repository that the package should be tied to`,optional:!0},transcendUrl:m()}},docs:{brief:`Scan dependency management files to inventory code dependencies.`,fullDescription:`Transcend scans packages and dependencies for the following frameworks:
54
+ To get started, add a data silo for the corresponding project type with the "silo discovery" plugin enabled. For example, if you want to scan a JavaScript project, add a package.json data silo. Then, specify the data silo ID in the "--dataSiloId" parameter.`}}),H=g({loader:async()=>{let{pullDatapoints:e}=await import(`./impl-d0CyctvS.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ViewDataInventory]}),file:{kind:`parsed`,parse:String,brief:`The file to save datapoints to`,default:`./datapoints.csv`},transcendUrl:m(),dataSiloIds:{kind:`parsed`,parse:String,variadic:`,`,brief:`List of data silo IDs to filter by`,optional:!0},includeAttributes:{kind:`boolean`,brief:`Whether to include attributes in the output`,default:!1},includeGuessedCategories:{kind:`boolean`,brief:`Whether to include guessed categories in the output`,default:!1},parentCategories:{kind:`enum`,values:Object.values(C),brief:`List of parent categories to filter by`,variadic:`,`,optional:!0},subCategories:{kind:`parsed`,parse:String,brief:`List of subcategories to filter by`,variadic:`,`,optional:!0}}},docs:{brief:`Export the datapoints from your Data Inventory into a CSV.`}}),U=g({loader:async()=>{let{pullUnstructuredDiscoveryFiles:e}=await import(`./impl-B4GlGvLI.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ViewDataInventory]}),file:{kind:`parsed`,parse:String,brief:`The file to save datapoints to`,default:`./unstructured-discovery-files.csv`},transcendUrl:m(),dataSiloIds:{kind:`parsed`,parse:String,brief:`List of data silo IDs to filter by`,variadic:`,`,optional:!0},subCategories:{kind:`parsed`,parse:String,brief:`List of data categories to filter by`,variadic:`,`,optional:!0},status:{kind:`enum`,values:Object.values(j),brief:`List of classification statuses to filter by`,variadic:`,`,optional:!0},includeEncryptedSnippets:{kind:`boolean`,brief:`Whether to include encrypted snippets of the entries classified`,default:!1}}},docs:{brief:`Pull unstructured discovery files`,fullDescription:`This command allows for pulling Unstructured Discovery into a CSV.`}}),W=_({routes:{pull:p,push:g({loader:async()=>{let{push:e}=await import(`./impl-DF1uDAp0.mjs`);return e},parameters:{flags:{auth:d({scopes:`Varies`}),file:{kind:`parsed`,parse:String,brief:`Path to the YAML file to push from`,default:`./transcend.yml`},transcendUrl:m(),pageSize:{kind:`parsed`,parse:v,brief:`The page size to use when paginating over the API`,default:`50`},variables:{kind:`parsed`,parse:String,brief:`The variables to template into the YAML file when pushing configuration. Comma-separated list of key:value pairs.`,default:``},publishToPrivacyCenter:{kind:`boolean`,brief:`When true, publish the configuration to the Privacy Center`,default:!1},classifyService:{kind:`boolean`,brief:`When true, automatically assign the service for a data flow based on the domain that is specified`,default:!1},deleteExtraAttributeValues:{kind:`boolean`,brief:`When true and syncing attributes, delete any extra attributes instead of just upserting`,default:!1}}},docs:{brief:`Push metadata from transcend.yml to Transcend`,fullDescription:`Given a transcend.yml file, sync the contents up to your Transcend instance.`}}),"scan-packages":g({loader:async()=>{let{scanPackages:e}=await import(`./impl-DefbnFrT.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ManageCodeScanning]}),scanPath:{kind:`parsed`,parse:String,brief:`File path in the project to scan`,default:`./`},ignoreDirs:{kind:`parsed`,parse:String,variadic:`,`,brief:`List of directories to ignore in scan`,optional:!0},repositoryName:{kind:`parsed`,parse:String,brief:`Name of the git repository that the package should be tied to`,optional:!0},transcendUrl:m()}},docs:{brief:`Scan dependency management files to inventory code dependencies.`,fullDescription:`Transcend scans packages and dependencies for the following frameworks:
55
55
 
56
56
  - package.json
57
57
  - requirements.txt & setup.py
@@ -67,14 +67,14 @@ This command will scan the folder you point at to look for any of these files. O
67
67
  - repository name
68
68
  - package names
69
69
  - dependency names and versions
70
- - package descriptions`}}),"discover-silos":V,"pull-datapoints":H,"pull-unstructured-discovery-files":U,"derive-data-silos-from-data-flows":B,"derive-data-silos-from-data-flows-cross-instance":z,"consent-manager-service-json-to-yml":L,"consent-managers-to-business-entities":R},docs:{brief:`Inventory commands`}}),G=_({routes:{"sync-ot":g({loader:async()=>{let{syncOt:e}=await import(`./impl-CRSNjo07.mjs`);return e},parameters:{flags:{hostname:{kind:`parsed`,parse:String,brief:`The domain of the OneTrust environment from which to pull the resource`,optional:!0},oneTrustAuth:{kind:`parsed`,parse:String,brief:`The OAuth access token with the scopes necessary to access the OneTrust Public APIs`,optional:!0},source:{kind:`enum`,values:Object.values(t),brief:`Whether to read the assessments from OneTrust or from a file`,default:`oneTrust`},transcendAuth:{...d({scopes:[A.ManageAssessments]}),optional:!0},transcendUrl:m(),file:{kind:`parsed`,parse:String,brief:`Path to the file to pull the resource into. Must be a json file!`,optional:!0},resource:{kind:`enum`,values:Object.values(e),brief:`The resource to pull from OneTrust. For now, only assessments is supported`,default:`assessments`},dryRun:{kind:`boolean`,brief:`Whether to export the resource to a file rather than sync to Transcend`,default:!1},debug:{kind:`boolean`,brief:`Whether to print detailed logs in case of error`,default:!1}}},docs:{brief:`Sync OneTrust data`,fullDescription:`Pulls resources from a OneTrust and syncs them to a Transcend instance. For now, it only supports retrieving OneTrust Assessments.
70
+ - package descriptions`}}),"discover-silos":V,"pull-datapoints":H,"pull-unstructured-discovery-files":U,"derive-data-silos-from-data-flows":B,"derive-data-silos-from-data-flows-cross-instance":z,"consent-manager-service-json-to-yml":L,"consent-managers-to-business-entities":R},docs:{brief:`Inventory commands`}}),G=_({routes:{"sync-ot":g({loader:async()=>{let{syncOt:e}=await import(`./impl-B7HFZI-o.mjs`);return e},parameters:{flags:{hostname:{kind:`parsed`,parse:String,brief:`The domain of the OneTrust environment from which to pull the resource`,optional:!0},oneTrustAuth:{kind:`parsed`,parse:String,brief:`The OAuth access token with the scopes necessary to access the OneTrust Public APIs`,optional:!0},source:{kind:`enum`,values:Object.values(t),brief:`Whether to read the assessments from OneTrust or from a file`,default:`oneTrust`},transcendAuth:{...d({scopes:[A.ManageAssessments]}),optional:!0},transcendUrl:m(),file:{kind:`parsed`,parse:String,brief:`Path to the file to pull the resource into. Must be a json file!`,optional:!0},resource:{kind:`enum`,values:Object.values(e),brief:`The resource to pull from OneTrust. For now, only assessments is supported`,default:`assessments`},dryRun:{kind:`boolean`,brief:`Whether to export the resource to a file rather than sync to Transcend`,default:!1},debug:{kind:`boolean`,brief:`Whether to print detailed logs in case of error`,default:!1}}},docs:{brief:`Sync OneTrust data`,fullDescription:`Pulls resources from a OneTrust and syncs them to a Transcend instance. For now, it only supports retrieving OneTrust Assessments.
71
71
 
72
72
  This command can be helpful if you are looking to:
73
73
  - Pull resources from your OneTrust account.
74
74
  - Migrate your resources from your OneTrust account to Transcend.
75
75
 
76
76
  OneTrust authentication requires an OAuth Token with scope for accessing the assessment endpoints.
77
- If syncing the resources to Transcend, you will also need to generate an API key on the Transcend Admin Dashboard.`}})},docs:{brief:`Migration commands`}}),K=_({routes:{activate:g({loader:async()=>{let{activate:e}=await import(`./impl-Cx5U2XsV.mjs`);return e},parameters:{flags:{version:{kind:`parsed`,parse:String,brief:`Caller-supplied version label to activate; defaults to the latest uploaded version by createdAt`,optional:!0},"policy-bundle-id":{kind:`parsed`,parse:o,brief:`Parent policy bundle UUID`,optional:!0},"bundle-name":{kind:`parsed`,parse:String,brief:`Parent bundle name (used when --policy-bundle-id is omitted)`,optional:!0},auth:d({scopes:[A.ActivatePolicyEngineBundles]}),"transcend-url":m(),"dry-run":{kind:`boolean`,brief:`Validate activation without flipping the active version`,default:!1},json:{kind:`boolean`,brief:`Print the raw JSON API response`,default:!1}}},docs:{brief:`Activate an uploaded policy bundle version`,fullDescription:`Calls the Policy Engine activate endpoint to make an uploaded version live. Requires the parent bundle UUID or bundle name. When --version is omitted, activates the latest uploaded version by createdAt. Requires a Transcend API key with Activate Policy scope.`}}),deactivate:g({loader:async()=>{let{deactivate:e}=await import(`./impl-DGm5NVUi.mjs`);return e},parameters:{flags:{"bundle-name":{kind:`parsed`,parse:String,brief:`Logical policy bundle name (the same string used in publish/list); resolved to the parent bundle UUID internally`},auth:d({scopes:[A.ActivatePolicyEngineBundles]}),"transcend-url":m(),json:{kind:`boolean`,brief:`Print the raw JSON API response`,default:!1}}},docs:{brief:`Deactivate the active version of a policy bundle`,fullDescription:`Calls the Policy Engine deactivate endpoint to take the currently active version of a bundle offline, clearing its active version pointer. Addressed by bundle name (resolved to the parent bundle UUID internally). Requires a Transcend API key with Activate Policy scope.`}}),eval:g({loader:async()=>{let{_eval:e}=await import(`./impl-DqcpxYHF.mjs`);return e},parameters:{flags:{pkg:{kind:`parsed`,parse:String,brief:`OPA package or query to evaluate (e.g. data.transcend.decision)`},input:{kind:`parsed`,parse:String,brief:`Path to a JSON envelope input file`},bundle:{kind:`parsed`,parse:String,brief:`Optional local policy bundle directory`,optional:!0}}},docs:{brief:`Evaluate one envelope against a local policy bundle`,fullDescription:"Wraps `opa eval` for local policy debugging. Requires the `opa` CLI on PATH. No Transcend API key is needed."}}),lint:g({loader:async()=>{let{lint:e}=await import(`./impl-BJldWkkC.mjs`);return e},parameters:{flags:{dir:{kind:`parsed`,parse:String,brief:`Directory containing Rego policy files`}}},docs:{brief:`Lint and optionally format a local policy bundle`,fullDescription:"Runs `opa check --strict` for Rego validation and `opa fmt` for formatting. When files are not formatted, lists the affected paths, prints a diff, and prompts to format them in place. Requires the `opa` CLI on PATH. No Transcend API key is needed."}}),list:g({loader:async()=>{let{list:e}=await import(`./impl--eayIBq5.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ViewPolicyEngineBundles]}),"transcend-url":m(),limit:{kind:`parsed`,parse:e=>{let t=Number(e);if(!Number.isFinite(t)||t<=0)throw Error(`limit must be a positive number`);return t},brief:`Maximum number of bundles to return`,default:`50`},offset:{kind:`parsed`,parse:e=>{let t=Number(e);if(!Number.isFinite(t)||t<0)throw Error(`offset must be a non-negative number`);return t},brief:`Number of records to skip before returning results`,default:`0`},json:{kind:`boolean`,brief:`Print the raw JSON API response`,default:!1}}},docs:{brief:`List policy bundles for the current organization`,fullDescription:`Lists policy bundles registered for the authenticated organization. Requires a Transcend API key with View Policy scope.`}}),publish:g({loader:async()=>{let{publish:e}=await import(`./impl-CX1J2iHE.mjs`);return e},parameters:{flags:{dir:{kind:`parsed`,parse:String,brief:`Directory containing manifest.json and Rego policy files`},"bundle-name":{kind:`parsed`,parse:String,brief:`Tenant-unique policy bundle name`},auth:d({scopes:[A.ManagePolicyEngineBundles]}),"transcend-url":m(),version:{kind:`parsed`,parse:String,brief:`Version label (defaults to {bundleName}-yyyy-mm-dd-hh-mm-ss)`,optional:!0},description:{kind:`parsed`,parse:String,brief:`Optional description for the uploaded version`,optional:!0},json:{kind:`boolean`,brief:`Print the raw JSON API response`,default:!1}}},docs:{brief:`Build and upload a new policy bundle version`,fullDescription:"Packages manifest.json and .rego policy files from a local directory into a tarball and uploads it to Transcend. Creates the bundle on first upload, then appends immutable versions. Requires the `opa` CLI on PATH (for `opa check` and `opa build` validation) and a Transcend API key with Manage Policy scope."}}),test:g({loader:async()=>{let{test:e}=await import(`./impl-B3u38Ct_.mjs`);return e},parameters:{flags:{dir:{kind:`parsed`,parse:String,brief:`Directory containing Rego policy files and tests`}}},docs:{brief:`Run OPA tests against a local policy bundle`,fullDescription:"Wraps `opa test` for a local policy directory. Requires the `opa` CLI on PATH. No Transcend API key is needed."}}),versions:g({loader:async()=>{let{versions:e}=await import(`./impl-DiRx33sh.mjs`);return e},parameters:{flags:{"bundle-name":{kind:`parsed`,parse:String,brief:`Tenant-unique policy bundle name`},auth:d({scopes:[A.ViewPolicyEngineBundles]}),"transcend-url":m(),limit:{kind:`parsed`,parse:e=>{let t=Number(e);if(!Number.isFinite(t)||t<=0)throw Error(`limit must be a positive number`);return t},brief:`Maximum number of versions to return`,default:`50`},after:{kind:`parsed`,parse:String,brief:`Opaque cursor from a previous response pageInfo.endCursor`,optional:!0},json:{kind:`boolean`,brief:`Print the raw JSON API response`,default:!1}}},docs:{brief:`List versions for a policy bundle`,fullDescription:`Resolves a bundle name to its UUID and lists uploaded versions. Requires a Transcend API key with View Policy scope.`}})},docs:{brief:`Policy Engine commands`}}),q=g({loader:async()=>{let{approve:e}=await import(`./impl-6rvA_yyd.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.RequestApproval,A.ViewRequests,A.ManageRequestCompilation]}),actions:{kind:`enum`,values:Object.values(w),variadic:`,`,brief:`The request actions to approve`},origins:{kind:`enum`,values:Object.values(D),variadic:`,`,brief:`The request origins to approve`,optional:!0},silentModeBefore:{kind:`parsed`,parse:s,brief:`Any requests made before this date should be marked as silent mode`,optional:!0},createdAtBefore:{kind:`parsed`,parse:s,brief:`Approve requests that were submitted before this time`,optional:!0},createdAtAfter:{kind:`parsed`,parse:s,brief:`Approve requests that were submitted after this time`,optional:!0},updatedAtBefore:{kind:`parsed`,parse:s,brief:`Approve requests that were last updated before this time`,optional:!0},updatedAtAfter:{kind:`parsed`,parse:s,brief:`Approve requests that were last updated after this time`,optional:!0},transcendUrl:m(),concurrency:{kind:`parsed`,parse:v,brief:`The concurrency to use when uploading requests in parallel`,default:`50`}}},docs:{brief:`Bulk approve a set of privacy requests`,fullDescription:`Bulk approve a set of privacy requests from the DSR Automation -> Incoming Requests tab.`}}),J=g({loader:async()=>{let{cancel:e}=await import(`./impl-TTeKThep2.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ViewRequests,A.RequestApproval]}),actions:{kind:`enum`,values:Object.values(w),variadic:`,`,brief:`The request actions to cancel`},statuses:{kind:`enum`,values:Object.values(O),variadic:`,`,brief:`The request statuses to cancel. Comma-separated list.`,optional:!0},requestIds:{kind:`parsed`,parse:String,variadic:`,`,brief:`Specify the specific request IDs to cancel`,optional:!0},silentModeBefore:{kind:`parsed`,parse:s,brief:`Any requests made before this date should be marked as silent mode for canceling to skip email sending`,optional:!0},createdAtBefore:{kind:`parsed`,parse:s,brief:`Cancel requests that were submitted before this time`,optional:!0},createdAtAfter:{kind:`parsed`,parse:s,brief:`Cancel requests that were submitted after this time`,optional:!0},updatedAtBefore:{kind:`parsed`,parse:s,brief:`Cancel requests that were last updated before this time`,optional:!0},updatedAtAfter:{kind:`parsed`,parse:s,brief:`Cancel requests that were last updated after this time`,optional:!0},cancellationTitle:{kind:`parsed`,parse:String,brief:`The title of the email template that should be sent to the requests upon cancelation`,default:`Request Canceled`},transcendUrl:m(),concurrency:{kind:`parsed`,parse:v,brief:`The concurrency to use when uploading requests in parallel`,default:`50`}}},docs:{brief:`Bulk cancel a set of privacy requests`,fullDescription:`Bulk cancel a set of privacy requests from the DSR Automation -> Incoming Requests tab.`}}),Y=g({loader:async()=>{let{markIdentifiersCompleted:e}=await import(`./impl-ChDwTQ3Z2.mjs`);return e},parameters:{flags:{auth:d({scopes:[],requiresSiloScope:!0}),dataSiloId:{kind:`parsed`,parse:o,brief:`The ID of the data silo to pull in`},file:{kind:`parsed`,parse:String,brief:`Path to the CSV file where identifiers will be written to`,default:`./cron-identifiers.csv`},transcendUrl:m(),sombraAuth:f()}},docs:{brief:`Mark identifiers as completed after processing.`,fullDescription:`This command takes the output of "${h([`request`,`cron`,`pull-identifiers`],{})}" and notifies Transcend that all of the requests in the CSV have been processed.
77
+ If syncing the resources to Transcend, you will also need to generate an API key on the Transcend Admin Dashboard.`}})},docs:{brief:`Migration commands`}}),K=_({routes:{activate:g({loader:async()=>{let{activate:e}=await import(`./impl-Cx5U2XsV.mjs`);return e},parameters:{flags:{version:{kind:`parsed`,parse:String,brief:`Caller-supplied version label to activate; defaults to the latest uploaded version by createdAt`,optional:!0},"policy-bundle-id":{kind:`parsed`,parse:o,brief:`Parent policy bundle UUID`,optional:!0},"bundle-name":{kind:`parsed`,parse:String,brief:`Parent bundle name (used when --policy-bundle-id is omitted)`,optional:!0},auth:d({scopes:[A.ActivatePolicyEngineBundles]}),"transcend-url":m(),"dry-run":{kind:`boolean`,brief:`Validate activation without flipping the active version`,default:!1},json:{kind:`boolean`,brief:`Print the raw JSON API response`,default:!1}}},docs:{brief:`Activate an uploaded policy bundle version`,fullDescription:`Calls the Policy Engine activate endpoint to make an uploaded version live. Requires the parent bundle UUID or bundle name. When --version is omitted, activates the latest uploaded version by createdAt. Requires a Transcend API key with Activate Policy scope.`}}),deactivate:g({loader:async()=>{let{deactivate:e}=await import(`./impl-DGm5NVUi.mjs`);return e},parameters:{flags:{"bundle-name":{kind:`parsed`,parse:String,brief:`Logical policy bundle name (the same string used in publish/list); resolved to the parent bundle UUID internally`},auth:d({scopes:[A.ActivatePolicyEngineBundles]}),"transcend-url":m(),json:{kind:`boolean`,brief:`Print the raw JSON API response`,default:!1}}},docs:{brief:`Deactivate the active version of a policy bundle`,fullDescription:`Calls the Policy Engine deactivate endpoint to take the currently active version of a bundle offline, clearing its active version pointer. Addressed by bundle name (resolved to the parent bundle UUID internally). Requires a Transcend API key with Activate Policy scope.`}}),eval:g({loader:async()=>{let{_eval:e}=await import(`./impl-DqcpxYHF.mjs`);return e},parameters:{flags:{pkg:{kind:`parsed`,parse:String,brief:`OPA package or query to evaluate (e.g. data.transcend.decision)`},input:{kind:`parsed`,parse:String,brief:`Path to a JSON envelope input file`},bundle:{kind:`parsed`,parse:String,brief:`Optional local policy bundle directory`,optional:!0}}},docs:{brief:`Evaluate one envelope against a local policy bundle`,fullDescription:"Wraps `opa eval` for local policy debugging. Requires the `opa` CLI on PATH. No Transcend API key is needed."}}),lint:g({loader:async()=>{let{lint:e}=await import(`./impl-BJldWkkC.mjs`);return e},parameters:{flags:{dir:{kind:`parsed`,parse:String,brief:`Directory containing Rego policy files`}}},docs:{brief:`Lint and optionally format a local policy bundle`,fullDescription:"Runs `opa check --strict` for Rego validation and `opa fmt` for formatting. When files are not formatted, lists the affected paths, prints a diff, and prompts to format them in place. Requires the `opa` CLI on PATH. No Transcend API key is needed."}}),list:g({loader:async()=>{let{list:e}=await import(`./impl--eayIBq5.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ViewPolicyEngineBundles]}),"transcend-url":m(),limit:{kind:`parsed`,parse:e=>{let t=Number(e);if(!Number.isFinite(t)||t<=0)throw Error(`limit must be a positive number`);return t},brief:`Maximum number of bundles to return`,default:`50`},offset:{kind:`parsed`,parse:e=>{let t=Number(e);if(!Number.isFinite(t)||t<0)throw Error(`offset must be a non-negative number`);return t},brief:`Number of records to skip before returning results`,default:`0`},json:{kind:`boolean`,brief:`Print the raw JSON API response`,default:!1}}},docs:{brief:`List policy bundles for the current organization`,fullDescription:`Lists policy bundles registered for the authenticated organization. Requires a Transcend API key with View Policy scope.`}}),publish:g({loader:async()=>{let{publish:e}=await import(`./impl-Dn7OFlxh.mjs`);return e},parameters:{flags:{dir:{kind:`parsed`,parse:String,brief:`Directory containing manifest.json and Rego policy files`},"bundle-name":{kind:`parsed`,parse:String,brief:`Tenant-unique policy bundle name`},auth:d({scopes:[A.ManagePolicyEngineBundles]}),"transcend-url":m(),version:{kind:`parsed`,parse:String,brief:`Version label (defaults to {bundleName}-yyyy-mm-dd-hh-mm-ss)`,optional:!0},description:{kind:`parsed`,parse:String,brief:`Optional description for the uploaded version`,optional:!0},json:{kind:`boolean`,brief:`Print the raw JSON API response`,default:!1}}},docs:{brief:`Build and upload a new policy bundle version`,fullDescription:"Packages manifest.json and .rego policy files from a local directory into a tarball and uploads it to Transcend. Creates the bundle on first upload, then appends immutable versions. Requires the `opa` CLI on PATH (for `opa check` and `opa build` validation) and a Transcend API key with Manage Policy scope."}}),test:g({loader:async()=>{let{test:e}=await import(`./impl-B3u38Ct_.mjs`);return e},parameters:{flags:{dir:{kind:`parsed`,parse:String,brief:`Directory containing Rego policy files and tests`}}},docs:{brief:`Run OPA tests against a local policy bundle`,fullDescription:"Wraps `opa test` for a local policy directory. Requires the `opa` CLI on PATH. No Transcend API key is needed."}}),versions:g({loader:async()=>{let{versions:e}=await import(`./impl-DiRx33sh.mjs`);return e},parameters:{flags:{"bundle-name":{kind:`parsed`,parse:String,brief:`Tenant-unique policy bundle name`},auth:d({scopes:[A.ViewPolicyEngineBundles]}),"transcend-url":m(),limit:{kind:`parsed`,parse:e=>{let t=Number(e);if(!Number.isFinite(t)||t<=0)throw Error(`limit must be a positive number`);return t},brief:`Maximum number of versions to return`,default:`50`},after:{kind:`parsed`,parse:String,brief:`Opaque cursor from a previous response pageInfo.endCursor`,optional:!0},json:{kind:`boolean`,brief:`Print the raw JSON API response`,default:!1}}},docs:{brief:`List versions for a policy bundle`,fullDescription:`Resolves a bundle name to its UUID and lists uploaded versions. Requires a Transcend API key with View Policy scope.`}})},docs:{brief:`Policy Engine commands`}}),q=g({loader:async()=>{let{approve:e}=await import(`./impl-B6hA8tWQ.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.RequestApproval,A.ViewRequests,A.ManageRequestCompilation]}),actions:{kind:`enum`,values:Object.values(w),variadic:`,`,brief:`The request actions to approve`},origins:{kind:`enum`,values:Object.values(D),variadic:`,`,brief:`The request origins to approve`,optional:!0},silentModeBefore:{kind:`parsed`,parse:s,brief:`Any requests made before this date should be marked as silent mode`,optional:!0},createdAtBefore:{kind:`parsed`,parse:s,brief:`Approve requests that were submitted before this time`,optional:!0},createdAtAfter:{kind:`parsed`,parse:s,brief:`Approve requests that were submitted after this time`,optional:!0},updatedAtBefore:{kind:`parsed`,parse:s,brief:`Approve requests that were last updated before this time`,optional:!0},updatedAtAfter:{kind:`parsed`,parse:s,brief:`Approve requests that were last updated after this time`,optional:!0},transcendUrl:m(),concurrency:{kind:`parsed`,parse:v,brief:`The concurrency to use when uploading requests in parallel`,default:`50`}}},docs:{brief:`Bulk approve a set of privacy requests`,fullDescription:`Bulk approve a set of privacy requests from the DSR Automation -> Incoming Requests tab.`}}),J=g({loader:async()=>{let{cancel:e}=await import(`./impl-SnNbavfi2.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ViewRequests,A.RequestApproval]}),actions:{kind:`enum`,values:Object.values(w),variadic:`,`,brief:`The request actions to cancel`},statuses:{kind:`enum`,values:Object.values(O),variadic:`,`,brief:`The request statuses to cancel. Comma-separated list.`,optional:!0},requestIds:{kind:`parsed`,parse:String,variadic:`,`,brief:`Specify the specific request IDs to cancel`,optional:!0},silentModeBefore:{kind:`parsed`,parse:s,brief:`Any requests made before this date should be marked as silent mode for canceling to skip email sending`,optional:!0},createdAtBefore:{kind:`parsed`,parse:s,brief:`Cancel requests that were submitted before this time`,optional:!0},createdAtAfter:{kind:`parsed`,parse:s,brief:`Cancel requests that were submitted after this time`,optional:!0},updatedAtBefore:{kind:`parsed`,parse:s,brief:`Cancel requests that were last updated before this time`,optional:!0},updatedAtAfter:{kind:`parsed`,parse:s,brief:`Cancel requests that were last updated after this time`,optional:!0},cancellationTitle:{kind:`parsed`,parse:String,brief:`The title of the email template that should be sent to the requests upon cancelation`,default:`Request Canceled`},transcendUrl:m(),concurrency:{kind:`parsed`,parse:v,brief:`The concurrency to use when uploading requests in parallel`,default:`50`}}},docs:{brief:`Bulk cancel a set of privacy requests`,fullDescription:`Bulk cancel a set of privacy requests from the DSR Automation -> Incoming Requests tab.`}}),Y=g({loader:async()=>{let{markIdentifiersCompleted:e}=await import(`./impl-C6ZYU5m12.mjs`);return e},parameters:{flags:{auth:d({scopes:[],requiresSiloScope:!0}),dataSiloId:{kind:`parsed`,parse:o,brief:`The ID of the data silo to pull in`},file:{kind:`parsed`,parse:String,brief:`Path to the CSV file where identifiers will be written to`,default:`./cron-identifiers.csv`},transcendUrl:m(),sombraAuth:f()}},docs:{brief:`Mark identifiers as completed after processing.`,fullDescription:`This command takes the output of "${h([`request`,`cron`,`pull-identifiers`],{})}" and notifies Transcend that all of the requests in the CSV have been processed.
78
78
  This is used in the workflow like:
79
79
 
80
80
  1. Pull identifiers to CSV:
@@ -87,18 +87,18 @@ This is used in the workflow like:
87
87
 
88
88
  ${h([`request`,`cron`,`mark-identifiers-completed`],{auth:`$TRANSCEND_API_KEY`,dataSiloId:`70810f2e-cf90-43f6-9776-901a5950599f`,file:`./outstanding-requests.csv`},{argsIndent:5})}
89
89
 
90
- Read more at https://docs.transcend.io/docs/integrations/cron-job-integration.`}}),X=_({routes:{"pull-identifiers":g({loader:async()=>{let{pullIdentifiers:e}=await import(`./impl-BcIZos3y.mjs`);return e},parameters:{flags:{auth:d({scopes:[],requiresSiloScope:!0}),dataSiloId:{kind:`parsed`,parse:o,brief:`The ID of the data silo to pull in`},actions:{kind:`enum`,values:Object.values(w),variadic:`,`,brief:`The request actions to restart`},file:{kind:`parsed`,parse:String,brief:`Path to the CSV file where identifiers will be written to`,default:`./cron-identifiers.csv`},transcendUrl:m(),sombraAuth:f(),pageLimit:{kind:`parsed`,parse:v,brief:`The page limit to use when pulling in pages of identifiers`,default:`100`},skipRequestCount:{kind:`boolean`,brief:`Whether to skip the count of all outstanding requests. This is required to render the progress bar, but can take a long time to run if you have a large number of outstanding requests to process. In that case, we recommend setting skipRequestCount=true so that you can still proceed with fetching the identifiers`,default:!1},chunkSize:{kind:`parsed`,parse:v,brief:`Maximum number of rows per CSV file. For large datasets, the output will be automatically split into multiple files to avoid file system size limits. Each file will contain at most this many rows`,default:`10000`}}},docs:{brief:`Pull identifiers of outstanding requests for a data silo to a CSV.`,fullDescription:`If you are using the cron job integration, you can run this command to pull the outstanding identifiers for the data silo to a CSV.
90
+ Read more at https://docs.transcend.io/docs/integrations/cron-job-integration.`}}),X=_({routes:{"pull-identifiers":g({loader:async()=>{let{pullIdentifiers:e}=await import(`./impl-CDpONRWz.mjs`);return e},parameters:{flags:{auth:d({scopes:[],requiresSiloScope:!0}),dataSiloId:{kind:`parsed`,parse:o,brief:`The ID of the data silo to pull in`},actions:{kind:`enum`,values:Object.values(w),variadic:`,`,brief:`The request actions to restart`},file:{kind:`parsed`,parse:String,brief:`Path to the CSV file where identifiers will be written to`,default:`./cron-identifiers.csv`},transcendUrl:m(),sombraAuth:f(),pageLimit:{kind:`parsed`,parse:v,brief:`The page limit to use when pulling in pages of identifiers`,default:`100`},skipRequestCount:{kind:`boolean`,brief:`Whether to skip the count of all outstanding requests. This is required to render the progress bar, but can take a long time to run if you have a large number of outstanding requests to process. In that case, we recommend setting skipRequestCount=true so that you can still proceed with fetching the identifiers`,default:!1},chunkSize:{kind:`parsed`,parse:v,brief:`Maximum number of rows per CSV file. For large datasets, the output will be automatically split into multiple files to avoid file system size limits. Each file will contain at most this many rows`,default:`10000`}}},docs:{brief:`Pull identifiers of outstanding requests for a data silo to a CSV.`,fullDescription:`If you are using the cron job integration, you can run this command to pull the outstanding identifiers for the data silo to a CSV.
91
91
 
92
92
  For large datasets, the output will be automatically split into multiple CSV files to avoid file system size limits. Use the --chunkSize parameter to control the maximum number of rows per file.
93
93
 
94
- Read more at https://docs.transcend.io/docs/integrations/cron-job-integration.`}}),"pull-profiles":g({loader:async()=>{let{pullProfiles:e}=await import(`./impl-DiysQB762.mjs`);return e},parameters:{flags:{auth:d({scopes:[],requiresSiloScope:!0}),cronDataSiloId:{kind:`parsed`,parse:o,brief:`The ID of the cron data silo to pull in`},targetDataSiloId:{kind:`parsed`,parse:o,brief:`The ID of the target data silo to pull in`},actions:{kind:`enum`,values:Object.values(w),variadic:`,`,brief:`The request actions to restart`},file:{kind:`parsed`,parse:String,brief:`Path to the CSV file where identifiers will be written to`,default:`./cron-identifiers.csv`},fileTarget:{kind:`parsed`,parse:String,brief:`Path to the CSV file where identifiers will be written to`,default:`./cron-identifiers-target.csv`},transcendUrl:m(),sombraAuth:f(),pageLimit:{kind:`parsed`,parse:v,brief:`The page limit to use when pulling in pages of identifiers`,default:`100`},skipRequestCount:{kind:`boolean`,brief:`Whether to skip the count of all outstanding requests. This is required to render the progress bar, but can take a long time to run if you have a large number of outstanding requests to process. In that case, we recommend setting skipRequestCount=true so that you can still proceed with fetching the identifiers`,default:!1},chunkSize:{kind:`parsed`,parse:v,brief:`Maximum number of rows per CSV file. For large datasets, the output will be automatically split into multiple files to avoid file system size limits. Each file will contain at most this many rows`,default:`10000`}}},docs:{brief:`Pull profiles of outstanding requests for a data silo to a CSV.`,fullDescription:`If you are using the cron job integration, you can run this command to pull the outstanding profiles for the data silo to a CSV.
94
+ Read more at https://docs.transcend.io/docs/integrations/cron-job-integration.`}}),"pull-profiles":g({loader:async()=>{let{pullProfiles:e}=await import(`./impl-OMY9ATKa2.mjs`);return e},parameters:{flags:{auth:d({scopes:[],requiresSiloScope:!0}),cronDataSiloId:{kind:`parsed`,parse:o,brief:`The ID of the cron data silo to pull in`},targetDataSiloId:{kind:`parsed`,parse:o,brief:`The ID of the target data silo to pull in`},actions:{kind:`enum`,values:Object.values(w),variadic:`,`,brief:`The request actions to restart`},file:{kind:`parsed`,parse:String,brief:`Path to the CSV file where identifiers will be written to`,default:`./cron-identifiers.csv`},fileTarget:{kind:`parsed`,parse:String,brief:`Path to the CSV file where identifiers will be written to`,default:`./cron-identifiers-target.csv`},transcendUrl:m(),sombraAuth:f(),pageLimit:{kind:`parsed`,parse:v,brief:`The page limit to use when pulling in pages of identifiers`,default:`100`},skipRequestCount:{kind:`boolean`,brief:`Whether to skip the count of all outstanding requests. This is required to render the progress bar, but can take a long time to run if you have a large number of outstanding requests to process. In that case, we recommend setting skipRequestCount=true so that you can still proceed with fetching the identifiers`,default:!1},chunkSize:{kind:`parsed`,parse:v,brief:`Maximum number of rows per CSV file. For large datasets, the output will be automatically split into multiple files to avoid file system size limits. Each file will contain at most this many rows`,default:`10000`}}},docs:{brief:`Pull profiles of outstanding requests for a data silo to a CSV.`,fullDescription:`If you are using the cron job integration, you can run this command to pull the outstanding profiles for the data silo to a CSV.
95
95
 
96
96
  For large datasets, the output will be automatically split into multiple CSV files to avoid file system size limits. Use the --chunkSize parameter to control the maximum number of rows per file.
97
97
 
98
- Read more at https://docs.transcend.io/docs/integrations/cron-job-integration.`}}),"mark-identifiers-completed":Y},docs:{brief:`Cron commands`,hideRoute:{"pull-profiles":!0}}}),Z=g({loader:async()=>{let{downloadFiles:e}=await import(`./impl-Bq-tabdZ2.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ViewRequestCompilation,A.ViewRequests,A.RequestApproval]}),sombraAuth:f(),concurrency:{kind:`parsed`,parse:v,brief:`The concurrency to use when downloading requests in parallel`,default:`10`},requestIds:{kind:`parsed`,parse:String,variadic:`,`,brief:`Specify the specific request IDs to download`,optional:!0},statuses:{kind:`enum`,values:Object.values(O),variadic:`,`,brief:`The request statuses to download. Comma-separated list. Defaults to APPROVING,DOWNLOADABLE.`,optional:!0},folderPath:{kind:`parsed`,parse:String,brief:`The folder to download files to`,default:`./dsr-files`},createdAtBefore:{kind:`parsed`,parse:s,brief:`Download requests that were submitted before this time`,optional:!0},createdAtAfter:{kind:`parsed`,parse:s,brief:`Download requests that were submitted after this time`,optional:!0},updatedAtBefore:{kind:`parsed`,parse:s,brief:`Download requests that were last updated before this time`,optional:!0},updatedAtAfter:{kind:`parsed`,parse:s,brief:`Download requests that were last updated after this time`,optional:!0},approveAfterDownload:{kind:`boolean`,brief:`If the request is in status=APPROVING, approve the request after its downloaded`,default:!1},transcendUrl:m()}},docs:{brief:`Download the files associated with a Data Subject Access Request (DSAR)`,fullDescription:`Download the files associated with a Data Subject Access Request (DSAR) from DSR Automation -> Incoming Requests tab.`}}),Q=g({loader:async()=>{let{enricherRestart:e}=await import(`./impl-CeqMxdZm2.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ManageRequestCompilation]}),enricherId:{kind:`parsed`,parse:String,brief:`The ID of the enricher to restart`},actions:{kind:`enum`,values:Object.values(w),variadic:`,`,brief:`The request action to restart`,optional:!0},requestEnricherStatuses:{kind:`enum`,values:Object.values(E),variadic:`,`,brief:`The request enricher statuses to restart`,optional:!0},transcendUrl:m(),concurrency:{kind:`parsed`,parse:v,brief:`The concurrency to use when uploading requests in parallel`,default:`15`},requestIds:{kind:`parsed`,parse:String,variadic:`,`,brief:`Specify the specific request IDs to restart`,optional:!0},createdAtBefore:{kind:`parsed`,parse:s,brief:`Restart requests that were submitted before this time`,optional:!0},createdAtAfter:{kind:`parsed`,parse:s,brief:`Restart requests that were submitted after this time`,optional:!0},updatedAtBefore:{kind:`parsed`,parse:s,brief:`Restart requests that were last updated before this time`,optional:!0},updatedAtAfter:{kind:`parsed`,parse:s,brief:`Restart requests that were last updated after this time`,optional:!0}}},docs:{brief:`Bulk restart a particular enricher across a series of DSRs`,fullDescription:`Bulk restart a particular enricher across a series of DSRs.
98
+ Read more at https://docs.transcend.io/docs/integrations/cron-job-integration.`}}),"mark-identifiers-completed":Y},docs:{brief:`Cron commands`,hideRoute:{"pull-profiles":!0}}}),Z=g({loader:async()=>{let{downloadFiles:e}=await import(`./impl-CAftr82F2.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ViewRequestCompilation,A.ViewRequests,A.RequestApproval]}),sombraAuth:f(),concurrency:{kind:`parsed`,parse:v,brief:`The concurrency to use when downloading requests in parallel`,default:`10`},requestIds:{kind:`parsed`,parse:String,variadic:`,`,brief:`Specify the specific request IDs to download`,optional:!0},statuses:{kind:`enum`,values:Object.values(O),variadic:`,`,brief:`The request statuses to download. Comma-separated list. Defaults to APPROVING,DOWNLOADABLE.`,optional:!0},folderPath:{kind:`parsed`,parse:String,brief:`The folder to download files to`,default:`./dsr-files`},createdAtBefore:{kind:`parsed`,parse:s,brief:`Download requests that were submitted before this time`,optional:!0},createdAtAfter:{kind:`parsed`,parse:s,brief:`Download requests that were submitted after this time`,optional:!0},updatedAtBefore:{kind:`parsed`,parse:s,brief:`Download requests that were last updated before this time`,optional:!0},updatedAtAfter:{kind:`parsed`,parse:s,brief:`Download requests that were last updated after this time`,optional:!0},approveAfterDownload:{kind:`boolean`,brief:`If the request is in status=APPROVING, approve the request after its downloaded`,default:!1},transcendUrl:m()}},docs:{brief:`Download the files associated with a Data Subject Access Request (DSAR)`,fullDescription:`Download the files associated with a Data Subject Access Request (DSAR) from DSR Automation -> Incoming Requests tab.`}}),Q=g({loader:async()=>{let{enricherRestart:e}=await import(`./impl-YySyd8Le2.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ManageRequestCompilation]}),enricherId:{kind:`parsed`,parse:String,brief:`The ID of the enricher to restart`},actions:{kind:`enum`,values:Object.values(w),variadic:`,`,brief:`The request action to restart`,optional:!0},requestEnricherStatuses:{kind:`enum`,values:Object.values(E),variadic:`,`,brief:`The request enricher statuses to restart`,optional:!0},transcendUrl:m(),concurrency:{kind:`parsed`,parse:v,brief:`The concurrency to use when uploading requests in parallel`,default:`15`},requestIds:{kind:`parsed`,parse:String,variadic:`,`,brief:`Specify the specific request IDs to restart`,optional:!0},createdAtBefore:{kind:`parsed`,parse:s,brief:`Restart requests that were submitted before this time`,optional:!0},createdAtAfter:{kind:`parsed`,parse:s,brief:`Restart requests that were submitted after this time`,optional:!0},updatedAtBefore:{kind:`parsed`,parse:s,brief:`Restart requests that were last updated before this time`,optional:!0},updatedAtAfter:{kind:`parsed`,parse:s,brief:`Restart requests that were last updated after this time`,optional:!0}}},docs:{brief:`Bulk restart a particular enricher across a series of DSRs`,fullDescription:`Bulk restart a particular enricher across a series of DSRs.
99
99
 
100
100
  The API key needs the following scopes:
101
- - Manage Request Compilation`}}),ne=g({loader:async()=>{let{_export:e}=await import(`./impl-CLrF-Xhp2.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ViewRequests,A.ViewRequestCompilation]}),sombraAuth:f(),actions:{kind:`enum`,values:Object.values(w),variadic:`,`,brief:`The request actions to export`,optional:!0},statuses:{kind:`enum`,values:Object.values(O),variadic:`,`,brief:`The request statuses to export`,optional:!0},transcendUrl:m(),file:{kind:`parsed`,parse:String,brief:`Path to the CSV file where identifiers will be written to`,default:`./transcend-request-export.csv`},concurrency:{kind:`parsed`,parse:v,brief:`Number of parallel date-range chunks to split the query into. Requires both --createdAtAfter and --createdAtBefore to be set.`,default:`1`},skipRequestIdentifiers:{kind:`boolean`,brief:`Skip exporting request identifiers`,optional:!0},createdAtBefore:{kind:`parsed`,parse:s,brief:`Pull requests that were submitted before this time`,optional:!0},createdAtAfter:{kind:`parsed`,parse:s,brief:`Pull requests that were submitted after this time`,optional:!0},updatedAtBefore:{kind:`parsed`,parse:s,brief:`Pull requests that were last updated before this time`,optional:!0},updatedAtAfter:{kind:`parsed`,parse:s,brief:`Pull requests that were last updated after this time`,optional:!0},showTests:{kind:`boolean`,brief:`Filter for test requests or production requests - when not provided, pulls both`,optional:!0},pageLimit:{kind:`parsed`,parse:v,brief:`The page limit to use when pulling in pages of requests`,default:`100`}}},docs:{brief:`Export privacy requests and request identifiers to a CSV file`,fullDescription:`Export privacy requests and request identifiers to a CSV file.`}}),re=g({loader:async()=>{let{markSilent:e}=await import(`./impl-B9AtL5ta2.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ManageRequestCompilation]}),actions:{kind:`enum`,values:Object.values(w),variadic:`,`,brief:`The request actions to mark silent`},statuses:{kind:`enum`,values:Object.values(O),variadic:`,`,brief:`The request statuses to mark silent. Comma-separated list. Defaults to REQUEST_MADE,WAITING,ENRICHING,COMPILING,DELAYED,APPROVING,SECONDARY,SECONDARY_APPROVING.`,optional:!0},requestIds:{kind:`parsed`,parse:String,variadic:`,`,brief:`Specify the specific request IDs to mark silent`,optional:!0},createdAtBefore:{kind:`parsed`,parse:s,brief:`Mark silent requests that were submitted before this time`,optional:!0},createdAtAfter:{kind:`parsed`,parse:s,brief:`Mark silent requests that were submitted after this time`,optional:!0},updatedAtBefore:{kind:`parsed`,parse:s,brief:`Mark silent requests that were last updated before this time`,optional:!0},updatedAtAfter:{kind:`parsed`,parse:s,brief:`Mark silent requests that were last updated after this time`,optional:!0},transcendUrl:m(),concurrency:{kind:`parsed`,parse:v,brief:`The concurrency to use when uploading requests in parallel`,default:`50`}}},docs:{brief:`Bulk update a set of privacy requests to be in silent mode`,fullDescription:`Bulk update a set of privacy requests from the DSR Automation -> Incoming Requests tab to be in silent mode.`}}),ie=g({loader:async()=>{let{notifyAdditionalTime:e}=await import(`./impl-BVcXWJyI2.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ViewRequests,A.RequestApproval]}),createdAtBefore:{kind:`parsed`,parse:s,brief:`Notify requests that are open but submitted before this time`},createdAtAfter:{kind:`parsed`,parse:s,brief:`Notify requests that are open but submitted after this time`,optional:!0},updatedAtBefore:{kind:`parsed`,parse:s,brief:`Notify requests that were last updated before this time`,optional:!0},updatedAtAfter:{kind:`parsed`,parse:s,brief:`Notify requests that were last updated after this time`,optional:!0},actions:{kind:`enum`,values:Object.values(w),variadic:`,`,brief:`The request actions to notify`,optional:!0},daysLeft:{kind:`parsed`,parse:v,brief:`Only notify requests that have less than this number of days until they are considered expired`,default:`10`},days:{kind:`parsed`,parse:v,brief:`The number of days to adjust the expiration of the request to`,default:`45`},requestIds:{kind:`parsed`,parse:String,variadic:`,`,brief:`Specify the specific request IDs to notify`,optional:!0},emailTemplate:{kind:`parsed`,parse:String,brief:`The title of the email template that should be sent to the requests`,default:`Additional Time Needed`},transcendUrl:m(),concurrency:{kind:`parsed`,parse:v,brief:`The concurrency to use when uploading requests in parallel`,default:`50`}}},docs:{brief:`Bulk notify a set of privacy requests that more time is needed`,fullDescription:`Bulk notify a set of privacy requests from the DSR Automation -> Incoming Requests tab that more time is needed to complete the request. Note any request in silent mode will not be emailed.`}}),ae=_({routes:{"pull-identifiers":g({loader:async()=>{let{pullIdentifiers:e}=await import(`./impl-BUF6G3P32.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ViewRequests,A.ViewRequestCompilation]}),sombraAuth:f(),transcendUrl:m(),file:{kind:`parsed`,parse:String,brief:`Path to the CSV file where requests will be written to`,default:`./manual-enrichment-identifiers.csv`},actions:{kind:`enum`,values:Object.values(w),variadic:`,`,brief:`The request actions to pull for`,optional:!0},concurrency:{kind:`parsed`,parse:v,brief:`The concurrency to use when uploading requests in parallel`,default:`100`}}},docs:{brief:`Pull identifiers for manual enrichment`,fullDescription:`This command pulls down the set of privacy requests that are currently pending manual enrichment.
101
+ - Manage Request Compilation`}}),ne=g({loader:async()=>{let{_export:e}=await import(`./impl-D_cEbtMo2.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ViewRequests,A.ViewRequestCompilation]}),sombraAuth:f(),actions:{kind:`enum`,values:Object.values(w),variadic:`,`,brief:`The request actions to export`,optional:!0},statuses:{kind:`enum`,values:Object.values(O),variadic:`,`,brief:`The request statuses to export`,optional:!0},transcendUrl:m(),file:{kind:`parsed`,parse:String,brief:`Path to the CSV file where identifiers will be written to`,default:`./transcend-request-export.csv`},concurrency:{kind:`parsed`,parse:v,brief:`Number of parallel date-range chunks to split the query into. Requires both --createdAtAfter and --createdAtBefore to be set.`,default:`1`},skipRequestIdentifiers:{kind:`boolean`,brief:`Skip exporting request identifiers`,optional:!0},createdAtBefore:{kind:`parsed`,parse:s,brief:`Pull requests that were submitted before this time`,optional:!0},createdAtAfter:{kind:`parsed`,parse:s,brief:`Pull requests that were submitted after this time`,optional:!0},updatedAtBefore:{kind:`parsed`,parse:s,brief:`Pull requests that were last updated before this time`,optional:!0},updatedAtAfter:{kind:`parsed`,parse:s,brief:`Pull requests that were last updated after this time`,optional:!0},showTests:{kind:`boolean`,brief:`Filter for test requests or production requests - when not provided, pulls both`,optional:!0},pageLimit:{kind:`parsed`,parse:v,brief:`The page limit to use when pulling in pages of requests`,default:`100`}}},docs:{brief:`Export privacy requests and request identifiers to a CSV file`,fullDescription:`Export privacy requests and request identifiers to a CSV file.`}}),re=g({loader:async()=>{let{markSilent:e}=await import(`./impl-DcSsXSNW2.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ManageRequestCompilation]}),actions:{kind:`enum`,values:Object.values(w),variadic:`,`,brief:`The request actions to mark silent`},statuses:{kind:`enum`,values:Object.values(O),variadic:`,`,brief:`The request statuses to mark silent. Comma-separated list. Defaults to REQUEST_MADE,WAITING,ENRICHING,COMPILING,DELAYED,APPROVING,SECONDARY,SECONDARY_APPROVING.`,optional:!0},requestIds:{kind:`parsed`,parse:String,variadic:`,`,brief:`Specify the specific request IDs to mark silent`,optional:!0},createdAtBefore:{kind:`parsed`,parse:s,brief:`Mark silent requests that were submitted before this time`,optional:!0},createdAtAfter:{kind:`parsed`,parse:s,brief:`Mark silent requests that were submitted after this time`,optional:!0},updatedAtBefore:{kind:`parsed`,parse:s,brief:`Mark silent requests that were last updated before this time`,optional:!0},updatedAtAfter:{kind:`parsed`,parse:s,brief:`Mark silent requests that were last updated after this time`,optional:!0},transcendUrl:m(),concurrency:{kind:`parsed`,parse:v,brief:`The concurrency to use when uploading requests in parallel`,default:`50`}}},docs:{brief:`Bulk update a set of privacy requests to be in silent mode`,fullDescription:`Bulk update a set of privacy requests from the DSR Automation -> Incoming Requests tab to be in silent mode.`}}),ie=g({loader:async()=>{let{notifyAdditionalTime:e}=await import(`./impl-B1jA1R3_2.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ViewRequests,A.RequestApproval]}),createdAtBefore:{kind:`parsed`,parse:s,brief:`Notify requests that are open but submitted before this time`},createdAtAfter:{kind:`parsed`,parse:s,brief:`Notify requests that are open but submitted after this time`,optional:!0},updatedAtBefore:{kind:`parsed`,parse:s,brief:`Notify requests that were last updated before this time`,optional:!0},updatedAtAfter:{kind:`parsed`,parse:s,brief:`Notify requests that were last updated after this time`,optional:!0},actions:{kind:`enum`,values:Object.values(w),variadic:`,`,brief:`The request actions to notify`,optional:!0},daysLeft:{kind:`parsed`,parse:v,brief:`Only notify requests that have less than this number of days until they are considered expired`,default:`10`},days:{kind:`parsed`,parse:v,brief:`The number of days to adjust the expiration of the request to`,default:`45`},requestIds:{kind:`parsed`,parse:String,variadic:`,`,brief:`Specify the specific request IDs to notify`,optional:!0},emailTemplate:{kind:`parsed`,parse:String,brief:`The title of the email template that should be sent to the requests`,default:`Additional Time Needed`},transcendUrl:m(),concurrency:{kind:`parsed`,parse:v,brief:`The concurrency to use when uploading requests in parallel`,default:`50`}}},docs:{brief:`Bulk notify a set of privacy requests that more time is needed`,fullDescription:`Bulk notify a set of privacy requests from the DSR Automation -> Incoming Requests tab that more time is needed to complete the request. Note any request in silent mode will not be emailed.`}}),ae=_({routes:{"pull-identifiers":g({loader:async()=>{let{pullIdentifiers:e}=await import(`./impl-Djk5Ykxb2.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ViewRequests,A.ViewRequestCompilation]}),sombraAuth:f(),transcendUrl:m(),file:{kind:`parsed`,parse:String,brief:`Path to the CSV file where requests will be written to`,default:`./manual-enrichment-identifiers.csv`},actions:{kind:`enum`,values:Object.values(w),variadic:`,`,brief:`The request actions to pull for`,optional:!0},concurrency:{kind:`parsed`,parse:v,brief:`The concurrency to use when uploading requests in parallel`,default:`100`}}},docs:{brief:`Pull identifiers for manual enrichment`,fullDescription:`This command pulls down the set of privacy requests that are currently pending manual enrichment.
102
102
 
103
103
  This is useful for the following workflow:
104
104
 
@@ -110,7 +110,7 @@ This is useful for the following workflow:
110
110
 
111
111
  3. Push updated back to Transcend:
112
112
 
113
- ${h([`request`,`preflight`,`push-identifiers`],{file:`./enrichment-requests.csv`},{argsIndent:5})}`}}),"push-identifiers":g({loader:async()=>{let{pushIdentifiers:e}=await import(`./impl-Bkdu-3yo.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ManageRequestIdentities,A.ManageRequestCompilation]}),enricherId:{kind:`parsed`,parse:o,brief:`The ID of the Request Enricher to upload to`},sombraAuth:f(),transcendUrl:m(),file:{kind:`parsed`,parse:String,brief:`Path to the CSV file where requests will be written to`,default:`./manual-enrichment-identifiers.csv`},markSilent:{kind:`boolean`,brief:`When true, set requests into silent mode before enriching`,default:!1},concurrency:{kind:`parsed`,parse:v,brief:`The concurrency to use when uploading requests in parallel`,default:`100`}}},docs:{brief:`Push identifiers for manual enrichment`,fullDescription:`This command push up a set of identifiers for a set of requests pending manual enrichment.
113
+ ${h([`request`,`preflight`,`push-identifiers`],{file:`./enrichment-requests.csv`},{argsIndent:5})}`}}),"push-identifiers":g({loader:async()=>{let{pushIdentifiers:e}=await import(`./impl-84Ex4gfr.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ManageRequestIdentities,A.ManageRequestCompilation]}),enricherId:{kind:`parsed`,parse:o,brief:`The ID of the Request Enricher to upload to`},sombraAuth:f(),transcendUrl:m(),file:{kind:`parsed`,parse:String,brief:`Path to the CSV file where requests will be written to`,default:`./manual-enrichment-identifiers.csv`},markSilent:{kind:`boolean`,brief:`When true, set requests into silent mode before enriching`,default:!1},concurrency:{kind:`parsed`,parse:v,brief:`The concurrency to use when uploading requests in parallel`,default:`100`}}},docs:{brief:`Push identifiers for manual enrichment`,fullDescription:`This command push up a set of identifiers for a set of requests pending manual enrichment.
114
114
 
115
115
  This is useful for the following workflow:
116
116
 
@@ -122,10 +122,10 @@ This is useful for the following workflow:
122
122
 
123
123
  3. Push updated back to Transcend:
124
124
 
125
- ${h([`request`,`preflight`,`push-identifiers`],{file:`./enrichment-requests.csv`},{argsIndent:5})}`}})},docs:{brief:`Preflight commands`}}),oe=g({loader:async()=>{let{rejectUnverifiedIdentifiers:e}=await import(`./impl-CCSb7Pyd.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ManageRequestCompilation]}),identifierNames:{kind:`parsed`,parse:String,variadic:`,`,brief:`The names of identifiers to clear out`},actions:{kind:`enum`,values:Object.values(w),variadic:`,`,brief:`The request action to restart`,optional:!0},transcendUrl:m()}},docs:{brief:`Bulk clear out any request identifiers that are unverified`,fullDescription:`Bulk clear out any request identifiers that are unverified.`}}),$=g({loader:async()=>{let{restart:e}=await import(`./impl-BbfuEhKu.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.MakeDataSubjectRequest,A.ViewRequestCompilation]}),actions:{kind:`enum`,values:Object.values(w),variadic:`,`,brief:`The request actions to restart`},statuses:{kind:`enum`,values:Object.values(O),variadic:`,`,brief:`The request statuses to restart`},transcendUrl:m(),requestReceiptFolder:{kind:`parsed`,parse:String,brief:`The path to the folder where receipts of each upload are stored`,default:`./privacy-request-upload-receipts`},sombraAuth:f(),concurrency:{kind:`parsed`,parse:v,brief:`The concurrency to use when uploading requests in parallel`,default:`15`},requestIds:{kind:`parsed`,parse:String,variadic:`,`,brief:`Specify the specific request IDs to restart`,optional:!0},emailIsVerified:{kind:`boolean`,brief:`Indicate whether the primary email address is verified. Set to false to send a verification email`,default:!0},createdAt:{kind:`parsed`,parse:s,brief:`Restart requests that were submitted before a specific date`,optional:!0},silentModeBefore:{kind:`parsed`,parse:s,brief:`Requests older than this date should be marked as silent mode`,optional:!0},createdAtBefore:{kind:`parsed`,parse:s,brief:`Restart requests that were submitted before this time`,optional:!0},createdAtAfter:{kind:`parsed`,parse:s,brief:`Restart requests that were submitted after this time`,optional:!0},updatedAtBefore:{kind:`parsed`,parse:s,brief:`Restart requests that were last updated before this time`,optional:!0},updatedAtAfter:{kind:`parsed`,parse:s,brief:`Restart requests that were last updated after this time`,optional:!0},sendEmailReceipt:{kind:`boolean`,brief:`Send email receipts to the restarted requests`,default:!1},copyIdentifiers:{kind:`boolean`,brief:`Copy over all enriched identifiers from the initial request`,default:!1},restartIdentifierStrategy:{kind:`enum`,values:Object.values(k),brief:`How request identifiers should be handled when restarting`,optional:!0},skipWaitingPeriod:{kind:`boolean`,brief:`Skip queued state of request and go straight to compiling`,default:!1}}},docs:{brief:`Bulk update a set of privacy requests based on a set of request filters`,fullDescription:`Bulk update a set of privacy requests based on a set of request filters.`}}),se=g({loader:async()=>{let{skipPreflightJobs:e}=await import(`./impl-DTDnN3Hn.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ManageRequestCompilation]}),enricherIds:{kind:`parsed`,parse:String,variadic:`,`,brief:`The ID of the enrichers to skip privacy request jobs for`},transcendUrl:m()}},docs:{brief:`Skip preflight jobs`,fullDescription:`This command allows for bulk skipping preflight checks.`}}),ce=_({routes:{"mark-request-data-silos-completed":g({loader:async()=>{let{markRequestDataSilosCompleted:e}=await import(`./impl-RqwgNa2O.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ManageRequestCompilation]}),dataSiloId:{kind:`parsed`,parse:o,brief:`The ID of the data silo to pull in`},file:{kind:`parsed`,parse:String,brief:`Path to the CSV file where identifiers will be written to. The CSV is expected to have 1 column named "Request Id".`,default:`./request-identifiers.csv`},transcendUrl:m()}},docs:{brief:`Mark request data silos as completed`,fullDescription:`This command takes in a CSV of Request IDs as well as a Data Silo ID and marks all associated privacy request jobs as completed.
126
- This command is useful with the "Bulk Response" UI. The CSV is expected to have 1 column named "Request Id".`}}),"retry-request-data-silos":g({loader:async()=>{let{retryRequestDataSilos:e}=await import(`./impl-C_K23xoc.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ManageRequestCompilation]}),dataSiloId:{kind:`parsed`,parse:o,brief:`The ID of the data silo to pull in`},actions:{kind:`enum`,values:Object.values(w),variadic:`,`,brief:`The request actions to restart`},transcendUrl:m()}},docs:{brief:`Retry request data silos`,fullDescription:`This command allows for bulk restarting a set of data silos jobs for open privacy requests. This is equivalent to clicking the "Wipe and Retry" button for a particular data silo across a set of privacy requests.`}}),"skip-request-data-silos":g({loader:async()=>{let{skipRequestDataSilos:e}=await import(`./impl-DQH1CGup.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ManageRequestCompilation]}),dataSiloId:{kind:`parsed`,parse:o,brief:`The ID of the data silo to skip privacy request jobs for`},transcendUrl:m(),statuses:{kind:`enum`,values:Object.values(O),variadic:`,`,brief:`The request statuses to skip`},status:{kind:`enum`,values:[T.Skipped,T.Resolved],brief:`The status to set the request data silo job to`,default:T.Skipped},actionTypes:{kind:`enum`,values:Object.values(w),variadic:`,`,brief:`Filter by request action types (e.g. ACCESS,ERASURE). Only request data silo jobs for these action types will be skipped.`,optional:!0}}},docs:{brief:`Skip request data silos`,fullDescription:`This command allows for bulk skipping all open privacy request jobs for a particular data silo. This command is useful if you want to disable a data silo and then clear out any active privacy requests that are still queued up for that data silo. Use --actionTypes to target specific data actions (e.g. only ERASURE jobs).`}})},docs:{brief:`System commands`}}),le=ee(_({routes:{request:_({routes:{approve:q,upload:g({loader:async()=>{let{upload:e}=await import(`./impl-X13pzYJN2.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.MakeDataSubjectRequest,A.ViewRequestIdentitySettings,A.ViewGlobalAttributes]}),file:{kind:`parsed`,parse:String,brief:`Path to the CSV file of requests to upload`,default:`./requests.csv`},transcendUrl:m(),cacheFilepath:{kind:`parsed`,parse:String,brief:`The path to the JSON file encoding the metadata used to map the CSV shape to Transcend API`,default:`./transcend-privacy-requests-cache.json`},requestReceiptFolder:{kind:`parsed`,parse:String,brief:`The path to the folder where receipts of each upload are stored`,default:`./privacy-request-upload-receipts`},sombraAuth:f(),concurrency:{kind:`parsed`,parse:v,brief:`The concurrency to use when uploading requests in parallel`,default:`50`},attributes:{kind:`parsed`,parse:String,brief:`Tag all of the requests with the following attributes. Format: key1:value1;value2,key2:value3;value4`,default:`Tags:transcend-cli`},isTest:{kind:`boolean`,brief:`Flag whether the requests being uploaded are test requests or regular requests`,default:!1},isSilent:{kind:`boolean`,brief:`Flag whether the requests being uploaded should be submitted in silent mode`,default:!0},skipSendingReceipt:{kind:`boolean`,brief:`Flag whether to skip sending of the receipt email`,default:!1},emailIsVerified:{kind:`boolean`,brief:`Indicate whether the email address being uploaded is pre-verified. Set to false to send a verification email`,default:!0},skipFilterStep:{kind:`boolean`,brief:`When true, skip the interactive step to filter down the CSV`,default:!1},dryRun:{kind:`boolean`,brief:`When true, perform a dry run of the upload instead of calling the API to submit the requests`,default:!1},debug:{kind:`boolean`,brief:`Debug logging`,default:!1},defaultPhoneCountryCode:{kind:`parsed`,parse:String,brief:`When uploading phone numbers, if the phone number is missing a country code, assume this country code`,default:`1`}}},docs:{brief:`Upload a set of requests from a CSV`,fullDescription:`Upload a set of requests from a CSV.
125
+ ${h([`request`,`preflight`,`push-identifiers`],{file:`./enrichment-requests.csv`},{argsIndent:5})}`}})},docs:{brief:`Preflight commands`}}),oe=g({loader:async()=>{let{rejectUnverifiedIdentifiers:e}=await import(`./impl-B4LIjXnh.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ManageRequestCompilation]}),identifierNames:{kind:`parsed`,parse:String,variadic:`,`,brief:`The names of identifiers to clear out`},actions:{kind:`enum`,values:Object.values(w),variadic:`,`,brief:`The request action to restart`,optional:!0},transcendUrl:m()}},docs:{brief:`Bulk clear out any request identifiers that are unverified`,fullDescription:`Bulk clear out any request identifiers that are unverified.`}}),$=g({loader:async()=>{let{restart:e}=await import(`./impl-CGOLSFzA.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.MakeDataSubjectRequest,A.ViewRequestCompilation]}),actions:{kind:`enum`,values:Object.values(w),variadic:`,`,brief:`The request actions to restart`},statuses:{kind:`enum`,values:Object.values(O),variadic:`,`,brief:`The request statuses to restart`},transcendUrl:m(),requestReceiptFolder:{kind:`parsed`,parse:String,brief:`The path to the folder where receipts of each upload are stored`,default:`./privacy-request-upload-receipts`},sombraAuth:f(),concurrency:{kind:`parsed`,parse:v,brief:`The concurrency to use when uploading requests in parallel`,default:`15`},requestIds:{kind:`parsed`,parse:String,variadic:`,`,brief:`Specify the specific request IDs to restart`,optional:!0},emailIsVerified:{kind:`boolean`,brief:`Indicate whether the primary email address is verified. Set to false to send a verification email`,default:!0},createdAt:{kind:`parsed`,parse:s,brief:`Restart requests that were submitted before a specific date`,optional:!0},silentModeBefore:{kind:`parsed`,parse:s,brief:`Requests older than this date should be marked as silent mode`,optional:!0},createdAtBefore:{kind:`parsed`,parse:s,brief:`Restart requests that were submitted before this time`,optional:!0},createdAtAfter:{kind:`parsed`,parse:s,brief:`Restart requests that were submitted after this time`,optional:!0},updatedAtBefore:{kind:`parsed`,parse:s,brief:`Restart requests that were last updated before this time`,optional:!0},updatedAtAfter:{kind:`parsed`,parse:s,brief:`Restart requests that were last updated after this time`,optional:!0},sendEmailReceipt:{kind:`boolean`,brief:`Send email receipts to the restarted requests`,default:!1},copyIdentifiers:{kind:`boolean`,brief:`Copy over all enriched identifiers from the initial request`,default:!1},restartIdentifierStrategy:{kind:`enum`,values:Object.values(k),brief:`How request identifiers should be handled when restarting`,optional:!0},skipWaitingPeriod:{kind:`boolean`,brief:`Skip queued state of request and go straight to compiling`,default:!1}}},docs:{brief:`Bulk update a set of privacy requests based on a set of request filters`,fullDescription:`Bulk update a set of privacy requests based on a set of request filters.`}}),se=g({loader:async()=>{let{skipPreflightJobs:e}=await import(`./impl-5oKENBqi.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ManageRequestCompilation]}),enricherIds:{kind:`parsed`,parse:String,variadic:`,`,brief:`The ID of the enrichers to skip privacy request jobs for`},transcendUrl:m()}},docs:{brief:`Skip preflight jobs`,fullDescription:`This command allows for bulk skipping preflight checks.`}}),ce=_({routes:{"mark-request-data-silos-completed":g({loader:async()=>{let{markRequestDataSilosCompleted:e}=await import(`./impl-B3bx4FKy.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ManageRequestCompilation]}),dataSiloId:{kind:`parsed`,parse:o,brief:`The ID of the data silo to pull in`},file:{kind:`parsed`,parse:String,brief:`Path to the CSV file where identifiers will be written to. The CSV is expected to have 1 column named "Request Id".`,default:`./request-identifiers.csv`},transcendUrl:m()}},docs:{brief:`Mark request data silos as completed`,fullDescription:`This command takes in a CSV of Request IDs as well as a Data Silo ID and marks all associated privacy request jobs as completed.
126
+ This command is useful with the "Bulk Response" UI. The CSV is expected to have 1 column named "Request Id".`}}),"retry-request-data-silos":g({loader:async()=>{let{retryRequestDataSilos:e}=await import(`./impl-BlKCGB2H.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ManageRequestCompilation]}),dataSiloId:{kind:`parsed`,parse:o,brief:`The ID of the data silo to pull in`},actions:{kind:`enum`,values:Object.values(w),variadic:`,`,brief:`The request actions to restart`},transcendUrl:m()}},docs:{brief:`Retry request data silos`,fullDescription:`This command allows for bulk restarting a set of data silos jobs for open privacy requests. This is equivalent to clicking the "Wipe and Retry" button for a particular data silo across a set of privacy requests.`}}),"skip-request-data-silos":g({loader:async()=>{let{skipRequestDataSilos:e}=await import(`./impl-BzUzbqBO.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.ManageRequestCompilation]}),dataSiloId:{kind:`parsed`,parse:o,brief:`The ID of the data silo to skip privacy request jobs for`},transcendUrl:m(),statuses:{kind:`enum`,values:Object.values(O),variadic:`,`,brief:`The request statuses to skip`},status:{kind:`enum`,values:[T.Skipped,T.Resolved],brief:`The status to set the request data silo job to`,default:T.Skipped},actionTypes:{kind:`enum`,values:Object.values(w),variadic:`,`,brief:`Filter by request action types (e.g. ACCESS,ERASURE). Only request data silo jobs for these action types will be skipped.`,optional:!0}}},docs:{brief:`Skip request data silos`,fullDescription:`This command allows for bulk skipping all open privacy request jobs for a particular data silo. This command is useful if you want to disable a data silo and then clear out any active privacy requests that are still queued up for that data silo. Use --actionTypes to target specific data actions (e.g. only ERASURE jobs).`}})},docs:{brief:`System commands`}}),le=ee(_({routes:{request:_({routes:{approve:q,upload:g({loader:async()=>{let{upload:e}=await import(`./impl-Bopsmew92.mjs`);return e},parameters:{flags:{auth:d({scopes:[A.MakeDataSubjectRequest,A.ViewRequestIdentitySettings,A.ViewGlobalAttributes]}),file:{kind:`parsed`,parse:String,brief:`Path to the CSV file of requests to upload`,default:`./requests.csv`},transcendUrl:m(),cacheFilepath:{kind:`parsed`,parse:String,brief:`The path to the JSON file encoding the metadata used to map the CSV shape to Transcend API`,default:`./transcend-privacy-requests-cache.json`},requestReceiptFolder:{kind:`parsed`,parse:String,brief:`The path to the folder where receipts of each upload are stored`,default:`./privacy-request-upload-receipts`},sombraAuth:f(),concurrency:{kind:`parsed`,parse:v,brief:`The concurrency to use when uploading requests in parallel`,default:`50`},attributes:{kind:`parsed`,parse:String,brief:`Tag all of the requests with the following attributes. Format: key1:value1;value2,key2:value3;value4`,default:`Tags:transcend-cli`},isTest:{kind:`boolean`,brief:`Flag whether the requests being uploaded are test requests or regular requests`,default:!1},isSilent:{kind:`boolean`,brief:`Flag whether the requests being uploaded should be submitted in silent mode`,default:!0},skipSendingReceipt:{kind:`boolean`,brief:`Flag whether to skip sending of the receipt email`,default:!1},emailIsVerified:{kind:`boolean`,brief:`Indicate whether the email address being uploaded is pre-verified. Set to false to send a verification email`,default:!0},skipFilterStep:{kind:`boolean`,brief:`When true, skip the interactive step to filter down the CSV`,default:!1},dryRun:{kind:`boolean`,brief:`When true, perform a dry run of the upload instead of calling the API to submit the requests`,default:!1},debug:{kind:`boolean`,brief:`Debug logging`,default:!1},defaultPhoneCountryCode:{kind:`parsed`,parse:String,brief:`When uploading phone numbers, if the phone number is missing a country code, assume this country code`,default:`1`}}},docs:{brief:`Upload a set of requests from a CSV`,fullDescription:`Upload a set of requests from a CSV.
127
127
 
128
128
  This command prompts you to map the shape of the CSV to the shape of the Transcend API. There is no requirement for the shape of the incoming CSV, as the script will handle the mapping process.
129
129
 
130
130
  The script will also produce a JSON cache file that allows for the mappings to be preserved between runs.`}}),"download-files":Z,cancel:J,restart:$,"notify-additional-time":ie,"mark-silent":re,"enricher-restart":Q,"reject-unverified-identifiers":oe,export:ne,"skip-preflight-jobs":se,system:ce,preflight:ae,cron:X},docs:{brief:`All commands related to DSR requests`}}),consent:I,inventory:W,admin:P,migration:G,policy:K,install:y(`@transcend-io/transcend`,{bash:`__@transcend-io/cli_bash_complete`}),uninstall:b(`@transcend-io/transcend`,{bash:!0})},docs:{brief:r,hideRoute:{install:!0,uninstall:!0}}}),{name:i,versionInfo:{currentVersion:n}});export{le as t};
131
- //# sourceMappingURL=app-COX_n1FP.mjs.map
131
+ //# sourceMappingURL=app-D_h2VQYJ.mjs.map