@transcend-io/cli 8.32.4 → 8.32.7
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.
- package/README.md +46 -46
- package/dist/bin/bash-complete.cjs +1 -1
- package/dist/bin/cli.cjs +1 -1
- package/dist/bin/deprecated-command.cjs +2 -2
- package/dist/{chunk-22KX2NM4.cjs → chunk-4GILGOAM.cjs} +4 -4
- package/dist/{chunk-22KX2NM4.cjs.map → chunk-4GILGOAM.cjs.map} +1 -1
- package/dist/{chunk-PGO2YKRX.cjs → chunk-4NEO6Q2F.cjs} +2 -2
- package/dist/{chunk-PGO2YKRX.cjs.map → chunk-4NEO6Q2F.cjs.map} +1 -1
- package/dist/{chunk-DYBVUGHH.cjs → chunk-4OEVQFNG.cjs} +21 -21
- package/dist/{chunk-DYBVUGHH.cjs.map → chunk-4OEVQFNG.cjs.map} +1 -1
- package/dist/{chunk-DQCPGPXG.cjs → chunk-5MG2CEZV.cjs} +2 -2
- package/dist/{chunk-DQCPGPXG.cjs.map → chunk-5MG2CEZV.cjs.map} +1 -1
- package/dist/{chunk-CM7VJEOY.cjs → chunk-ATEDOYYC.cjs} +2 -2
- package/dist/{chunk-CM7VJEOY.cjs.map → chunk-ATEDOYYC.cjs.map} +1 -1
- package/dist/{chunk-VUQAH7YK.cjs → chunk-EMLESF76.cjs} +6 -6
- package/dist/{chunk-VUQAH7YK.cjs.map → chunk-EMLESF76.cjs.map} +1 -1
- package/dist/{chunk-VCPZG4FJ.cjs → chunk-ETSLJPTD.cjs} +2 -2
- package/dist/{chunk-VCPZG4FJ.cjs.map → chunk-ETSLJPTD.cjs.map} +1 -1
- package/dist/{chunk-LQUVB4MI.cjs → chunk-GCTE43TS.cjs} +4 -4
- package/dist/{chunk-LQUVB4MI.cjs.map → chunk-GCTE43TS.cjs.map} +1 -1
- package/dist/{chunk-IHUCIK5T.cjs → chunk-H3EBIKX6.cjs} +2 -2
- package/dist/{chunk-IHUCIK5T.cjs.map → chunk-H3EBIKX6.cjs.map} +1 -1
- package/dist/{chunk-D3VRD5F5.cjs → chunk-HZU3YROT.cjs} +2 -2
- package/dist/{chunk-D3VRD5F5.cjs.map → chunk-HZU3YROT.cjs.map} +1 -1
- package/dist/{chunk-6TKTYQIF.cjs → chunk-ILBF5XZN.cjs} +2 -2
- package/dist/{chunk-6TKTYQIF.cjs.map → chunk-ILBF5XZN.cjs.map} +1 -1
- package/dist/{chunk-BPOXNSPY.cjs → chunk-JRYG6ZXI.cjs} +2 -2
- package/dist/{chunk-BPOXNSPY.cjs.map → chunk-JRYG6ZXI.cjs.map} +1 -1
- package/dist/{chunk-56QKBG2R.cjs → chunk-KYOQWIIS.cjs} +4 -4
- package/dist/{chunk-56QKBG2R.cjs.map → chunk-KYOQWIIS.cjs.map} +1 -1
- package/dist/{chunk-P5GD5LAK.cjs → chunk-ZNTCC7Y7.cjs} +2 -2
- package/dist/{chunk-P5GD5LAK.cjs.map → chunk-ZNTCC7Y7.cjs.map} +1 -1
- package/dist/{impl-SSBP4ONX.cjs → impl-2NLTX2DX.cjs} +2 -2
- package/dist/{impl-SSBP4ONX.cjs.map → impl-2NLTX2DX.cjs.map} +1 -1
- package/dist/{impl-LKX6OLE2.cjs → impl-2Z37FQLH.cjs} +2 -2
- package/dist/{impl-LKX6OLE2.cjs.map → impl-2Z37FQLH.cjs.map} +1 -1
- package/dist/{impl-X23VUODX.cjs → impl-3G7CA7V7.cjs} +2 -2
- package/dist/{impl-X23VUODX.cjs.map → impl-3G7CA7V7.cjs.map} +1 -1
- package/dist/{impl-RMPDHVAH.cjs → impl-43DHFRH3.cjs} +2 -2
- package/dist/{impl-RMPDHVAH.cjs.map → impl-43DHFRH3.cjs.map} +1 -1
- package/dist/{impl-J5PWNHKL.cjs → impl-4GESIKYG.cjs} +2 -2
- package/dist/{impl-J5PWNHKL.cjs.map → impl-4GESIKYG.cjs.map} +1 -1
- package/dist/{impl-NW57RBBR.cjs → impl-4LNG6EWX.cjs} +2 -2
- package/dist/{impl-NW57RBBR.cjs.map → impl-4LNG6EWX.cjs.map} +1 -1
- package/dist/{impl-GZNNNSYW.cjs → impl-5BSN73TG.cjs} +4 -4
- package/dist/{impl-GZNNNSYW.cjs.map → impl-5BSN73TG.cjs.map} +1 -1
- package/dist/{impl-4AI7T6RD.cjs → impl-AB7CBUNN.cjs} +2 -2
- package/dist/{impl-4AI7T6RD.cjs.map → impl-AB7CBUNN.cjs.map} +1 -1
- package/dist/{impl-GA6T4SCB.cjs → impl-ANZ5Q2QW.cjs} +2 -2
- package/dist/{impl-GA6T4SCB.cjs.map → impl-ANZ5Q2QW.cjs.map} +1 -1
- package/dist/{impl-S64WVKSC.cjs → impl-B2KHIHOI.cjs} +2 -2
- package/dist/{impl-S64WVKSC.cjs.map → impl-B2KHIHOI.cjs.map} +1 -1
- package/dist/{impl-WVOFYJLG.cjs → impl-BCRCUBC6.cjs} +2 -2
- package/dist/{impl-WVOFYJLG.cjs.map → impl-BCRCUBC6.cjs.map} +1 -1
- package/dist/{impl-SE32ARTN.cjs → impl-BFSM3FLJ.cjs} +2 -2
- package/dist/{impl-SE32ARTN.cjs.map → impl-BFSM3FLJ.cjs.map} +1 -1
- package/dist/{impl-UA7V6YEM.cjs → impl-C3RL4PL5.cjs} +2 -2
- package/dist/{impl-UA7V6YEM.cjs.map → impl-C3RL4PL5.cjs.map} +1 -1
- package/dist/{impl-IOS3QLTX.cjs → impl-C3YOETUJ.cjs} +2 -2
- package/dist/{impl-IOS3QLTX.cjs.map → impl-C3YOETUJ.cjs.map} +1 -1
- package/dist/{impl-2JA6BPE7.cjs → impl-CUQGOWYL.cjs} +2 -2
- package/dist/{impl-2JA6BPE7.cjs.map → impl-CUQGOWYL.cjs.map} +1 -1
- package/dist/{impl-JY7YM3QH.cjs → impl-CWWJOV4W.cjs} +2 -2
- package/dist/{impl-JY7YM3QH.cjs.map → impl-CWWJOV4W.cjs.map} +1 -1
- package/dist/{impl-QPLTL2SO.cjs → impl-D27XUTVP.cjs} +2 -2
- package/dist/{impl-QPLTL2SO.cjs.map → impl-D27XUTVP.cjs.map} +1 -1
- package/dist/{impl-MRC5UI22.cjs → impl-D6D7MZ4F.cjs} +2 -2
- package/dist/{impl-MRC5UI22.cjs.map → impl-D6D7MZ4F.cjs.map} +1 -1
- package/dist/{impl-Z54SB7SM.cjs → impl-EOWKDUEB.cjs} +2 -2
- package/dist/{impl-Z54SB7SM.cjs.map → impl-EOWKDUEB.cjs.map} +1 -1
- package/dist/impl-EQL4NORJ.cjs +2 -0
- package/dist/{impl-JI6COVDW.cjs.map → impl-EQL4NORJ.cjs.map} +1 -1
- package/dist/{impl-4YFJOKCA.cjs → impl-FAE3G5FE.cjs} +2 -2
- package/dist/{impl-4YFJOKCA.cjs.map → impl-FAE3G5FE.cjs.map} +1 -1
- package/dist/{impl-WTGAAEUZ.cjs → impl-FVEGOBQM.cjs} +2 -2
- package/dist/{impl-WTGAAEUZ.cjs.map → impl-FVEGOBQM.cjs.map} +1 -1
- package/dist/{impl-66CDS7IN.cjs → impl-HNWZZEKE.cjs} +2 -2
- package/dist/{impl-66CDS7IN.cjs.map → impl-HNWZZEKE.cjs.map} +1 -1
- package/dist/{impl-IQGUF37H.cjs → impl-JJ56CQTW.cjs} +2 -2
- package/dist/{impl-IQGUF37H.cjs.map → impl-JJ56CQTW.cjs.map} +1 -1
- package/dist/{impl-XYHIS7X5.cjs → impl-JNDENIQD.cjs} +2 -2
- package/dist/{impl-XYHIS7X5.cjs.map → impl-JNDENIQD.cjs.map} +1 -1
- package/dist/{impl-DA7AASRR.cjs → impl-JOK5WPTD.cjs} +2 -2
- package/dist/{impl-DA7AASRR.cjs.map → impl-JOK5WPTD.cjs.map} +1 -1
- package/dist/{impl-4LAJNPQ4.cjs → impl-KJTD4WO2.cjs} +3 -3
- package/dist/{impl-4LAJNPQ4.cjs.map → impl-KJTD4WO2.cjs.map} +1 -1
- package/dist/{impl-B6DTQRYV.cjs → impl-KRMOTRYI.cjs} +2 -2
- package/dist/{impl-B6DTQRYV.cjs.map → impl-KRMOTRYI.cjs.map} +1 -1
- package/dist/{impl-ZTEP5CYM.cjs → impl-LX4ZUDUY.cjs} +2 -2
- package/dist/{impl-ZTEP5CYM.cjs.map → impl-LX4ZUDUY.cjs.map} +1 -1
- package/dist/{impl-FRWZLZ2V.cjs → impl-MBWE7OAC.cjs} +2 -2
- package/dist/{impl-FRWZLZ2V.cjs.map → impl-MBWE7OAC.cjs.map} +1 -1
- package/dist/{impl-Y3MY5EKD.cjs → impl-O4WDS4V2.cjs} +2 -2
- package/dist/{impl-Y3MY5EKD.cjs.map → impl-O4WDS4V2.cjs.map} +1 -1
- package/dist/{impl-5RX3NB6C.cjs → impl-PISNT2E4.cjs} +2 -2
- package/dist/{impl-5RX3NB6C.cjs.map → impl-PISNT2E4.cjs.map} +1 -1
- package/dist/{impl-GG3S2VBT.cjs → impl-PS3WRA65.cjs} +2 -2
- package/dist/{impl-GG3S2VBT.cjs.map → impl-PS3WRA65.cjs.map} +1 -1
- package/dist/{impl-R35FW4U7.cjs → impl-TBYACXLK.cjs} +5 -5
- package/dist/{impl-R35FW4U7.cjs.map → impl-TBYACXLK.cjs.map} +1 -1
- package/dist/{impl-XU54KM62.cjs → impl-TD5BKXIH.cjs} +2 -2
- package/dist/{impl-XU54KM62.cjs.map → impl-TD5BKXIH.cjs.map} +1 -1
- package/dist/{impl-EXHOBCQW.cjs → impl-VBS6LHXD.cjs} +2 -2
- package/dist/{impl-EXHOBCQW.cjs.map → impl-VBS6LHXD.cjs.map} +1 -1
- package/dist/impl-WPM2STGX.cjs +2 -0
- package/dist/{impl-QOCEM2K5.cjs.map → impl-WPM2STGX.cjs.map} +1 -1
- package/dist/{impl-YIPC6MAR.cjs → impl-WQF6YIDK.cjs} +3 -3
- package/dist/{impl-YIPC6MAR.cjs.map → impl-WQF6YIDK.cjs.map} +1 -1
- package/dist/{impl-ADPBEB3N.cjs → impl-WWYWKXMK.cjs} +2 -2
- package/dist/{impl-ADPBEB3N.cjs.map → impl-WWYWKXMK.cjs.map} +1 -1
- package/dist/{impl-IZIXOMMN.cjs → impl-Y5TP56IB.cjs} +2 -2
- package/dist/{impl-IZIXOMMN.cjs.map → impl-Y5TP56IB.cjs.map} +1 -1
- package/dist/{impl-BLGX7DMN.cjs → impl-YOSAEFO2.cjs} +3 -3
- package/dist/{impl-BLGX7DMN.cjs.map → impl-YOSAEFO2.cjs.map} +1 -1
- package/dist/{impl-BHA2L6BP.cjs → impl-ZIBUPJJN.cjs} +2 -2
- package/dist/{impl-BHA2L6BP.cjs.map → impl-ZIBUPJJN.cjs.map} +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.d.cts +1 -1
- package/package.json +1 -1
- package/dist/impl-JI6COVDW.cjs +0 -2
- package/dist/impl-QOCEM2K5.cjs +0 -2
package/README.md
CHANGED
|
@@ -232,7 +232,7 @@ transcend request approve --auth="$TRANSCEND_API_KEY" --actions=ERASURE --origin
|
|
|
232
232
|
transcend request approve \
|
|
233
233
|
--auth="$TRANSCEND_API_KEY" \
|
|
234
234
|
--actions=SALE_OPT_OUT \
|
|
235
|
-
--silentModeBefore=
|
|
235
|
+
--silentModeBefore=2025-05-03T00:00:00.000Z
|
|
236
236
|
```
|
|
237
237
|
|
|
238
238
|
**Increase the concurrency (defaults to 50)**
|
|
@@ -247,8 +247,8 @@ transcend request approve --auth="$TRANSCEND_API_KEY" --actions=ERASURE --concur
|
|
|
247
247
|
transcend request approve \
|
|
248
248
|
--auth="$TRANSCEND_API_KEY" \
|
|
249
249
|
--actions=SALE_OPT_OUT \
|
|
250
|
-
--createdAtBefore=
|
|
251
|
-
--createdAtAfter=
|
|
250
|
+
--createdAtBefore=2025-05-03T00:00:00.000Z \
|
|
251
|
+
--createdAtAfter=2025-04-03T00:00:00.000Z
|
|
252
252
|
```
|
|
253
253
|
|
|
254
254
|
### `transcend request upload`
|
|
@@ -455,8 +455,8 @@ transcend request download-files --auth="$TRANSCEND_API_KEY" --concurrency=100
|
|
|
455
455
|
```sh
|
|
456
456
|
transcend request download-files \
|
|
457
457
|
--auth="$TRANSCEND_API_KEY" \
|
|
458
|
-
--createdAtBefore=
|
|
459
|
-
--createdAtAfter=
|
|
458
|
+
--createdAtBefore=2025-05-03T00:00:00.000Z \
|
|
459
|
+
--createdAtAfter=2025-04-03T00:00:00.000Z
|
|
460
460
|
```
|
|
461
461
|
|
|
462
462
|
**Download specific requests**
|
|
@@ -522,7 +522,7 @@ transcend request cancel --auth="$TRANSCEND_API_KEY" --actions=ERASURE --cancell
|
|
|
522
522
|
transcend request cancel \
|
|
523
523
|
--auth="$TRANSCEND_API_KEY" \
|
|
524
524
|
--actions=SALE_OPT_OUT \
|
|
525
|
-
--silentModeBefore=
|
|
525
|
+
--silentModeBefore=2025-05-03T00:00:00.000Z
|
|
526
526
|
```
|
|
527
527
|
|
|
528
528
|
**Cancel all open SALE_OPT_OUT, within a specific time frame**
|
|
@@ -531,8 +531,8 @@ transcend request cancel \
|
|
|
531
531
|
transcend request cancel \
|
|
532
532
|
--auth="$TRANSCEND_API_KEY" \
|
|
533
533
|
--actions=SALE_OPT_OUT \
|
|
534
|
-
--createdAtBefore=
|
|
535
|
-
--createdAtAfter=
|
|
534
|
+
--createdAtBefore=2025-05-03T00:00:00.000Z \
|
|
535
|
+
--createdAtAfter=2025-04-03T00:00:00.000Z
|
|
536
536
|
```
|
|
537
537
|
|
|
538
538
|
**Increase the concurrency (defaults to 50)**
|
|
@@ -646,7 +646,7 @@ transcend request restart \
|
|
|
646
646
|
--auth="$TRANSCEND_API_KEY" \
|
|
647
647
|
--statuses=COMPILING,ENRICHING \
|
|
648
648
|
--actions=ACCESS,ERASURE \
|
|
649
|
-
--createdAt=
|
|
649
|
+
--createdAt=2025-05-11T00:00:00.000Z
|
|
650
650
|
```
|
|
651
651
|
|
|
652
652
|
**Restart requests and place everything in silent mode submitted before a certain date**
|
|
@@ -656,7 +656,7 @@ transcend request restart \
|
|
|
656
656
|
--auth="$TRANSCEND_API_KEY" \
|
|
657
657
|
--statuses=COMPILING,ENRICHING \
|
|
658
658
|
--actions=ACCESS,ERASURE \
|
|
659
|
-
--silentModeBefore=
|
|
659
|
+
--silentModeBefore=2025-12-05T00:00:00.000Z
|
|
660
660
|
```
|
|
661
661
|
|
|
662
662
|
**Restart requests within a specific timeframe**
|
|
@@ -666,8 +666,8 @@ transcend request restart \
|
|
|
666
666
|
--auth="$TRANSCEND_API_KEY" \
|
|
667
667
|
--statuses=COMPILING,ENRICHING \
|
|
668
668
|
--actions=ACCESS,ERASURE \
|
|
669
|
-
--createdAtBefore=
|
|
670
|
-
--createdAtAfter=
|
|
669
|
+
--createdAtBefore=2025-04-05T00:00:00.000Z \
|
|
670
|
+
--createdAtAfter=2025-02-21T00:00:00.000Z
|
|
671
671
|
```
|
|
672
672
|
|
|
673
673
|
**Send email receipts to the restarted requests**
|
|
@@ -728,7 +728,7 @@ FLAGS
|
|
|
728
728
|
**Notify all request types that were made before 01/01/2024**
|
|
729
729
|
|
|
730
730
|
```sh
|
|
731
|
-
transcend request notify-additional-time --auth="$TRANSCEND_API_KEY" --createdAtBefore=
|
|
731
|
+
transcend request notify-additional-time --auth="$TRANSCEND_API_KEY" --createdAtBefore=2025-01-01T00:00:00.000Z
|
|
732
732
|
```
|
|
733
733
|
|
|
734
734
|
**Notify all request types that were made during a date range**
|
|
@@ -736,8 +736,8 @@ transcend request notify-additional-time --auth="$TRANSCEND_API_KEY" --createdAt
|
|
|
736
736
|
```sh
|
|
737
737
|
transcend request notify-additional-time \
|
|
738
738
|
--auth="$TRANSCEND_API_KEY" \
|
|
739
|
-
--createdAtBefore=
|
|
740
|
-
--createdAtAfter=
|
|
739
|
+
--createdAtBefore=2025-01-01T00:00:00.000Z \
|
|
740
|
+
--createdAtAfter=2025-12-15T00:00:00.000Z
|
|
741
741
|
```
|
|
742
742
|
|
|
743
743
|
**Notify certain request types**
|
|
@@ -745,7 +745,7 @@ transcend request notify-additional-time \
|
|
|
745
745
|
```sh
|
|
746
746
|
transcend request notify-additional-time \
|
|
747
747
|
--auth="$TRANSCEND_API_KEY" \
|
|
748
|
-
--createdAtBefore=
|
|
748
|
+
--createdAtBefore=2025-01-01T00:00:00.000Z \
|
|
749
749
|
--actions=SALE_OPT_OUT,ERASURE
|
|
750
750
|
```
|
|
751
751
|
|
|
@@ -754,7 +754,7 @@ transcend request notify-additional-time \
|
|
|
754
754
|
```sh
|
|
755
755
|
transcend request notify-additional-time \
|
|
756
756
|
--auth="$TRANSCEND_API_KEY" \
|
|
757
|
-
--createdAtBefore=
|
|
757
|
+
--createdAtBefore=2025-01-01T00:00:00.000Z \
|
|
758
758
|
--transcendUrl=https://api.us.transcend.io
|
|
759
759
|
```
|
|
760
760
|
|
|
@@ -763,7 +763,7 @@ transcend request notify-additional-time \
|
|
|
763
763
|
```sh
|
|
764
764
|
transcend request notify-additional-time \
|
|
765
765
|
--auth="$TRANSCEND_API_KEY" \
|
|
766
|
-
--createdAtBefore=
|
|
766
|
+
--createdAtBefore=2025-01-01T00:00:00.000Z \
|
|
767
767
|
--requestIds=c3ae78c9-2768-4666-991a-d2f729503337,342e4bd1-64ea-4af0-a4ad-704b5a07cfe4
|
|
768
768
|
```
|
|
769
769
|
|
|
@@ -772,7 +772,7 @@ transcend request notify-additional-time \
|
|
|
772
772
|
```sh
|
|
773
773
|
transcend request notify-additional-time \
|
|
774
774
|
--auth="$TRANSCEND_API_KEY" \
|
|
775
|
-
--createdAtBefore=
|
|
775
|
+
--createdAtBefore=2025-01-01T00:00:00.000Z \
|
|
776
776
|
--daysLeft=3
|
|
777
777
|
```
|
|
778
778
|
|
|
@@ -781,7 +781,7 @@ transcend request notify-additional-time \
|
|
|
781
781
|
```sh
|
|
782
782
|
transcend request notify-additional-time \
|
|
783
783
|
--auth="$TRANSCEND_API_KEY" \
|
|
784
|
-
--createdAtBefore=
|
|
784
|
+
--createdAtBefore=2025-01-01T00:00:00.000Z \
|
|
785
785
|
--days=30
|
|
786
786
|
```
|
|
787
787
|
|
|
@@ -790,7 +790,7 @@ transcend request notify-additional-time \
|
|
|
790
790
|
```sh
|
|
791
791
|
transcend request notify-additional-time \
|
|
792
792
|
--auth="$TRANSCEND_API_KEY" \
|
|
793
|
-
--createdAtBefore=
|
|
793
|
+
--createdAtBefore=2025-01-01T00:00:00.000Z \
|
|
794
794
|
--emailTemplate="Custom Email Template"
|
|
795
795
|
```
|
|
796
796
|
|
|
@@ -799,7 +799,7 @@ transcend request notify-additional-time \
|
|
|
799
799
|
```sh
|
|
800
800
|
transcend request notify-additional-time \
|
|
801
801
|
--auth="$TRANSCEND_API_KEY" \
|
|
802
|
-
--createdAtBefore=
|
|
802
|
+
--createdAtBefore=2025-01-01T00:00:00.000Z \
|
|
803
803
|
--concurrency=500
|
|
804
804
|
```
|
|
805
805
|
|
|
@@ -863,8 +863,8 @@ transcend request mark-silent \
|
|
|
863
863
|
transcend request mark-silent \
|
|
864
864
|
--auth="$TRANSCEND_API_KEY" \
|
|
865
865
|
--actions=SALE_OPT_OUT \
|
|
866
|
-
--createdAtBefore=
|
|
867
|
-
--createdAtAfter=
|
|
866
|
+
--createdAtBefore=2025-05-03T00:00:00.000Z \
|
|
867
|
+
--createdAtAfter=2025-04-03T00:00:00.000Z
|
|
868
868
|
```
|
|
869
869
|
|
|
870
870
|
**Increase the concurrency (defaults to 50)**
|
|
@@ -939,8 +939,8 @@ transcend request enricher-restart \
|
|
|
939
939
|
transcend request enricher-restart \
|
|
940
940
|
--auth="$TRANSCEND_API_KEY" \
|
|
941
941
|
--enricherId=3be5e898-fea9-4614-84de-88cd5265c557 \
|
|
942
|
-
--createdAtBefore=
|
|
943
|
-
--createdAtAfter=
|
|
942
|
+
--createdAtBefore=2025-04-05T00:00:00.000Z \
|
|
943
|
+
--createdAtAfter=2025-02-21T00:00:00.000Z
|
|
944
944
|
```
|
|
945
945
|
|
|
946
946
|
**Restart requests that are in an error state**
|
|
@@ -1063,8 +1063,8 @@ transcend request export --auth="$TRANSCEND_API_KEY" --showTests=false
|
|
|
1063
1063
|
```sh
|
|
1064
1064
|
transcend request export \
|
|
1065
1065
|
--auth="$TRANSCEND_API_KEY" \
|
|
1066
|
-
--createdAtBefore=
|
|
1067
|
-
--createdAtAfter=
|
|
1066
|
+
--createdAtBefore=2025-04-05T00:00:00.000Z \
|
|
1067
|
+
--createdAtAfter=2025-02-21T00:00:00.000Z
|
|
1068
1068
|
```
|
|
1069
1069
|
|
|
1070
1070
|
**Write to a specific file location**
|
|
@@ -1761,7 +1761,7 @@ FLAGS
|
|
|
1761
1761
|
**Pull consent manager metrics for a Transcend account**
|
|
1762
1762
|
|
|
1763
1763
|
```sh
|
|
1764
|
-
transcend consent pull-consent-metrics --auth="$TRANSCEND_API_KEY" --start=
|
|
1764
|
+
transcend consent pull-consent-metrics --auth="$TRANSCEND_API_KEY" --start=2025-01-01T00:00:00.000Z
|
|
1765
1765
|
```
|
|
1766
1766
|
|
|
1767
1767
|
**Specifying the backend URL, needed for US hosted backend infrastructure**
|
|
@@ -1769,7 +1769,7 @@ transcend consent pull-consent-metrics --auth="$TRANSCEND_API_KEY" --start=2024-
|
|
|
1769
1769
|
```sh
|
|
1770
1770
|
transcend consent pull-consent-metrics \
|
|
1771
1771
|
--auth="$TRANSCEND_API_KEY" \
|
|
1772
|
-
--start=
|
|
1772
|
+
--start=2025-01-01T00:00:00.000Z \
|
|
1773
1773
|
--transcendUrl=https://api.us.transcend.io
|
|
1774
1774
|
```
|
|
1775
1775
|
|
|
@@ -1778,8 +1778,8 @@ transcend consent pull-consent-metrics \
|
|
|
1778
1778
|
```sh
|
|
1779
1779
|
transcend consent pull-consent-metrics \
|
|
1780
1780
|
--auth="$TRANSCEND_API_KEY" \
|
|
1781
|
-
--start=
|
|
1782
|
-
--end=
|
|
1781
|
+
--start=2025-01-01T00:00:00.000Z \
|
|
1782
|
+
--end=2025-03-01T00:00:00.000Z
|
|
1783
1783
|
```
|
|
1784
1784
|
|
|
1785
1785
|
**Save to an explicit folder**
|
|
@@ -1787,15 +1787,15 @@ transcend consent pull-consent-metrics \
|
|
|
1787
1787
|
```sh
|
|
1788
1788
|
transcend consent pull-consent-metrics \
|
|
1789
1789
|
--auth="$TRANSCEND_API_KEY" \
|
|
1790
|
-
--start=
|
|
1791
|
-
--end=
|
|
1790
|
+
--start=2025-01-01T00:00:00.000Z \
|
|
1791
|
+
--end=2025-03-01T00:00:00.000Z \
|
|
1792
1792
|
--folder=./my-folder/
|
|
1793
1793
|
```
|
|
1794
1794
|
|
|
1795
1795
|
**Bin data hourly vs daily**
|
|
1796
1796
|
|
|
1797
1797
|
```sh
|
|
1798
|
-
transcend consent pull-consent-metrics --auth="$TRANSCEND_API_KEY" --start=
|
|
1798
|
+
transcend consent pull-consent-metrics --auth="$TRANSCEND_API_KEY" --start=2025-01-01T00:00:00.000Z --bin=1h
|
|
1799
1799
|
```
|
|
1800
1800
|
|
|
1801
1801
|
### `transcend consent pull-consent-preferences`
|
|
@@ -1851,7 +1851,7 @@ transcend consent pull-consent-preferences \
|
|
|
1851
1851
|
transcend consent pull-consent-preferences \
|
|
1852
1852
|
--auth="$TRANSCEND_API_KEY" \
|
|
1853
1853
|
--partition=4d1c5daa-90b7-4d18-aa40-f86a43d2c726 \
|
|
1854
|
-
--timestampBefore=
|
|
1854
|
+
--timestampBefore=2025-04-03T00:00:00.000Z
|
|
1855
1855
|
```
|
|
1856
1856
|
|
|
1857
1857
|
**Filter by consent collection time (timestampAfter)**
|
|
@@ -1860,7 +1860,7 @@ transcend consent pull-consent-preferences \
|
|
|
1860
1860
|
transcend consent pull-consent-preferences \
|
|
1861
1861
|
--auth="$TRANSCEND_API_KEY" \
|
|
1862
1862
|
--partition=4d1c5daa-90b7-4d18-aa40-f86a43d2c726 \
|
|
1863
|
-
--timestampAfter=
|
|
1863
|
+
--timestampAfter=2025-04-03T00:00:00.000Z
|
|
1864
1864
|
```
|
|
1865
1865
|
|
|
1866
1866
|
**Filter by last update time (system.updatedAt window)**
|
|
@@ -1869,8 +1869,8 @@ transcend consent pull-consent-preferences \
|
|
|
1869
1869
|
transcend consent pull-consent-preferences \
|
|
1870
1870
|
--auth="$TRANSCEND_API_KEY" \
|
|
1871
1871
|
--partition=4d1c5daa-90b7-4d18-aa40-f86a43d2c726 \
|
|
1872
|
-
--updatedAfter=
|
|
1873
|
-
--updatedBefore=
|
|
1872
|
+
--updatedAfter=2025-08-26T00:00:00.000Z \
|
|
1873
|
+
--updatedBefore=2025-08-27T00:00:00.000Z
|
|
1874
1874
|
```
|
|
1875
1875
|
|
|
1876
1876
|
**Filter specific users by identifiers (name:value). Default name=email if omitted.**
|
|
@@ -2284,7 +2284,7 @@ transcend consent delete-preference-records \
|
|
|
2284
2284
|
--partition=4d1c5daa-90b7-4d18-aa40-f86a43d2c726 \
|
|
2285
2285
|
--file=./preferences-to-delete.csv \
|
|
2286
2286
|
--receiptDirectory=./receipts \
|
|
2287
|
-
--timestamp=
|
|
2287
|
+
--timestamp=2025-08-26T00:00:00.000Z
|
|
2288
2288
|
```
|
|
2289
2289
|
|
|
2290
2290
|
**Delete preference records from preference store using multiple CSV files in a directory**
|
|
@@ -2295,7 +2295,7 @@ transcend consent delete-preference-records \
|
|
|
2295
2295
|
--partition=4d1c5daa-90b7-4d18-aa40-f86a43d2c726 \
|
|
2296
2296
|
--directory=./preferences-to-delete \
|
|
2297
2297
|
--receiptDirectory=./receipts \
|
|
2298
|
-
--timestamp=
|
|
2298
|
+
--timestamp=2025-08-26T00:00:00.000Z
|
|
2299
2299
|
```
|
|
2300
2300
|
|
|
2301
2301
|
**Self-hosted Sombra: include Sombra internal key header**
|
|
@@ -2307,7 +2307,7 @@ transcend consent delete-preference-records \
|
|
|
2307
2307
|
--partition=4d1c5daa-90b7-4d18-aa40-f86a43d2c726 \
|
|
2308
2308
|
--file=./preferences-to-delete.csv \
|
|
2309
2309
|
--receiptDirectory=./receipts \
|
|
2310
|
-
--timestamp=
|
|
2310
|
+
--timestamp=2025-08-26T00:00:00.000Z
|
|
2311
2311
|
```
|
|
2312
2312
|
|
|
2313
2313
|
**Use a specific backend base URL (e.g., US-hosted)**
|
|
@@ -2320,7 +2320,7 @@ transcend consent delete-preference-records \
|
|
|
2320
2320
|
--file=./preferences-to-delete.csv \
|
|
2321
2321
|
--receiptDirectory=./receipts \
|
|
2322
2322
|
--transcendUrl=https://api.us.transcend.io \
|
|
2323
|
-
--timestamp=
|
|
2323
|
+
--timestamp=2025-08-26T00:00:00.000Z
|
|
2324
2324
|
```
|
|
2325
2325
|
|
|
2326
2326
|
**Configure maximum number of concurrent API calls for a deletion file**
|
|
@@ -2334,7 +2334,7 @@ transcend consent delete-preference-records \
|
|
|
2334
2334
|
--fileConcurrency=10 \
|
|
2335
2335
|
--maxItemsInChunk=5 \
|
|
2336
2336
|
--receiptDirectory=./receipts \
|
|
2337
|
-
--timestamp=
|
|
2337
|
+
--timestamp=2025-08-26T00:00:00.000Z
|
|
2338
2338
|
```
|
|
2339
2339
|
|
|
2340
2340
|
**Configure maximum number of files to process concurrently**
|
|
@@ -2346,7 +2346,7 @@ transcend consent delete-preference-records \
|
|
|
2346
2346
|
--file=./preferences-to-delete.csv \
|
|
2347
2347
|
--fileConcurrency=10 \
|
|
2348
2348
|
--receiptDirectory=./receipts \
|
|
2349
|
-
--timestamp=
|
|
2349
|
+
--timestamp=2025-08-26T00:00:00.000Z
|
|
2350
2350
|
```
|
|
2351
2351
|
|
|
2352
2352
|
**Configure maximum items in chunk**
|
|
@@ -2358,7 +2358,7 @@ transcend consent delete-preference-records \
|
|
|
2358
2358
|
--file=./preferences-to-delete.csv \
|
|
2359
2359
|
--maxItemsInChunk=5 \
|
|
2360
2360
|
--receiptDirectory=./receipts \
|
|
2361
|
-
--timestamp=
|
|
2361
|
+
--timestamp=2025-08-26T00:00:00.000Z
|
|
2362
2362
|
```
|
|
2363
2363
|
|
|
2364
2364
|
### `transcend inventory pull`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
"use strict"; function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var _chunkT462ONFXcjs = require('../chunk-T462ONFX.cjs');var
|
|
2
|
+
"use strict"; function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var _chunkT462ONFXcjs = require('../chunk-T462ONFX.cjs');var _chunk4OEVQFNGcjs = require('../chunk-4OEVQFNG.cjs');require('../chunk-JRYG6ZXI.cjs');require('../chunk-5MG2CEZV.cjs');require('../chunk-7PB6LVSE.cjs');var _core = require('@stricli/core');async function e(){let o=process.argv.slice(3);_optionalChain([process, 'access', _ => _.env, 'access', _2 => _2.COMP_LINE, 'optionalAccess', _3 => _3.endsWith, 'call', _4 => _4(" ")])&&o.push(""),await _core.proposeCompletions.call(void 0, _chunk4OEVQFNGcjs.a,o,_chunkT462ONFXcjs.a.call(void 0, process));try{for(let{completion:r}of await _core.proposeCompletions.call(void 0, _chunk4OEVQFNGcjs.a,o,_chunkT462ONFXcjs.a.call(void 0, process)))process.stdout.write(`${r}
|
|
3
3
|
`)}catch (e2){}}e();
|
|
4
4
|
//# sourceMappingURL=bash-complete.cjs.map
|
package/dist/bin/cli.cjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
"use strict";var _chunkT462ONFXcjs = require('../chunk-T462ONFX.cjs');var
|
|
2
|
+
"use strict";var _chunkT462ONFXcjs = require('../chunk-T462ONFX.cjs');var _chunk4OEVQFNGcjs = require('../chunk-4OEVQFNG.cjs');require('../chunk-JRYG6ZXI.cjs');require('../chunk-5MG2CEZV.cjs');require('../chunk-7PB6LVSE.cjs');var _core = require('@stricli/core');async function n(){await _core.run.call(void 0, _chunk4OEVQFNGcjs.a,process.argv.slice(2),_chunkT462ONFXcjs.a.call(void 0, process))}n();
|
|
3
3
|
//# sourceMappingURL=cli.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
"use strict"; function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var
|
|
2
|
+
"use strict"; function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var _chunk4OEVQFNGcjs = require('../chunk-4OEVQFNG.cjs');require('../chunk-JRYG6ZXI.cjs');var _chunkZUNVPK23cjs = require('../chunk-ZUNVPK23.cjs');require('../chunk-5MG2CEZV.cjs');require('../chunk-7PB6LVSE.cjs');var _core = require('@stricli/core');var o={"tr-build-xdi-sync-endpoint":["consent","build-xdi-sync-endpoint"],"tr-consent-manager-service-json-to-yml":["inventory","consent-manager-service-json-to-yml"],"tr-consent-managers-to-business-entities":["inventory","consent-managers-to-business-entities"],"tr-cron-mark-identifiers-completed":["request","cron","mark-identifiers-completed"],"tr-cron-pull-identifiers":["request","cron","pull-identifiers"],"tr-derive-data-silos-from-data-flows":["inventory","derive-data-silos-from-data-flows"],"tr-derive-data-silos-from-data-flows-cross-instance":["inventory","derive-data-silos-from-data-flows-cross-instance"],"tr-discover-silos":["inventory","discover-silos"],"tr-generate-api-keys":["admin","generate-api-keys"],"tr-manual-enrichment-pull-identifiers":["request","preflight","pull-identifiers"],"tr-manual-enrichment-push-identifiers":["request","preflight","push-identifiers"],"tr-mark-request-data-silos-completed":["request","system","mark-request-data-silos-completed"],"tr-pull":["inventory","pull"],"tr-pull-consent-metrics":["consent","pull-consent-metrics"],"tr-pull-consent-preferences":["consent","pull-consent-preferences"],"tr-pull-datapoints":["inventory","pull-datapoints"],"tr-pull-pull-unstructured-discovery-files":["inventory","pull-unstructured-discovery-files"],"tr-push":["inventory","push"],"tr-request-approve":["request","approve"],"tr-request-cancel":["request","cancel"],"tr-request-download-files":["request","download-files"],"tr-request-enricher-restart":["request","enricher-restart"],"tr-request-export":["request","export"],"tr-request-mark-silent":["request","mark-silent"],"tr-request-notify-additional-time":["request","notify-additional-time"],"tr-request-reject-unverified-identifiers":["request","reject-unverified-identifiers"],"tr-request-restart":["request","restart"],"tr-request-upload":["request","upload"],"tr-retry-request-data-silos":["request","system","retry-request-data-silos"],"tr-scan-packages":["inventory","scan-packages"],"tr-skip-preflight-jobs":["request","skip-preflight-jobs"],"tr-skip-request-data-silos":["request","system","skip-request-data-silos"],"tr-sync-ot":["migration","sync-ot"],"tr-update-consent-manager":["consent","update-consent-manager"],"tr-upload-consent-preferences":["consent","upload-consent-preferences"],"tr-upload-cookies-from-csv":["consent","upload-cookies-from-csv"],"tr-upload-data-flows-from-csv":["consent","upload-data-flows-from-csv"],"tr-upload-preferences":["consent","upload-preferences"]};function p(t){return _optionalChain([_core.generateHelpTextForAllCommands.call(void 0, _chunk4OEVQFNGcjs.a), 'access', _ => _.find, 'call', _2 => _2(s=>s[0]===`${_chunk4OEVQFNGcjs.a.config.name} ${t.join(" ")}`), 'optionalAccess', _3 => _3[1]])}function i(t){_chunkZUNVPK23cjs.a.log("[DEPRECATION NOTICE]");let e=o[t];if(!e){let a=Object.entries(o).map(([l,d])=>`\`${l}\` -> \`${_chunk4OEVQFNGcjs.a.config.name} ${d.join(" ")}\``).join(`
|
|
3
3
|
`);_chunkZUNVPK23cjs.a.log(`This command is deprecated as of v7.0.0. Here is a list of new commands, mapped to their legacy command names:
|
|
4
4
|
${a}`);return}_chunkZUNVPK23cjs.a.log(`\`${t}\` is deprecated as of v7.0.0.
|
|
5
|
-
Use \`${
|
|
5
|
+
Use \`${_chunk4OEVQFNGcjs.a.config.name} ${e.join(" ")}\` instead.
|
|
6
6
|
`);let s=p(e);if(!s)throw new Error(`Failed to get help text for command: \`${e.join(" ")}\``);_chunkZUNVPK23cjs.a.log(s)}function m(){let e=_optionalChain([process, 'access', _4 => _4.argv, 'access', _5 => _5.at, 'call', _6 => _6(-1), 'optionalAccess', _7 => _7.split, 'call', _8 => _8("/"), 'access', _9 => _9.pop, 'call', _10 => _10(), 'optionalAccess', _11 => _11.trim, 'call', _12 => _12()]);if(e)i(e);else throw new Error("Deprecated command");process.exit(1)}m();
|
|
7
7
|
//# sourceMappingURL=deprecated-command.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var _chunkKYOQWIIScjs = require('./chunk-KYOQWIIS.cjs');var _chunkZUNVPK23cjs = require('./chunk-ZUNVPK23.cjs');var _chunk5MG2CEZVcjs = require('./chunk-5MG2CEZV.cjs');var _os = require('os');function Kt(e,t){let o=Math.max(1,_nullishCoalesce(_optionalChain([_os.availableParallelism, 'optionalCall', _2 => _2()]), () => (1)));return{poolSize:typeof e=="number"&&e>0?Math.min(e,t):Math.min(o,t),cpuCount:o}}var _child_process = require('child_process');var _path = require('path');var _fs = require('fs');var _colors = require('colors'); var _colors2 = _interopRequireDefault(_colors);function rt(e){return`'${String(e).replace(/'/g,"'\\''")}'`}function ot(e,t,o=!1){if(o)return;let r=_os.platform.call(void 0, );try{if(r==="darwin"){let l=e.map(rt).join(" -f "),s=`
|
|
2
2
|
tell application "Terminal"
|
|
3
3
|
activate
|
|
4
4
|
do script "printf '\\e]0;${t}\\a'; tail -n +1 -f ${l}"
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
`):L.write(`${k}
|
|
12
12
|
`)}catch (e6){}});i.stderr.on("data",x)}return i[at]={structuredPath:a,outPath:f,errPath:m,infoPath:c,warnPath:d,errorPath:g},n&&ot([a,f,m,c,d,g],`worker-${t}`,l),p.on("error",()=>{}),h.on("error",()=>{}),T.on("error",()=>{}),L.on("error",()=>{}),$.on("error",()=>{}),i}var _readline = require('readline'); var q = _interopRequireWildcard(_readline); var gt = _interopRequireWildcard(_readline);var ut="",Ft=(e,t)=>{let o=Math.min(e-1,9),r=e<=1?"0":`0-${o}`,n=e>10?" (Tab/Shift+Tab for \u226510)":"";return t?_colors2.default.dim("Run complete \u2014 digits to view logs \u2022 Tab/Shift+Tab cycle \u2022 Esc/Ctrl+] detach \u2022 q to quit"):_colors2.default.dim(`Hotkeys: [${r}] attach${n} \u2022 e=errors \u2022 w=warnings \u2022 i=info \u2022 l=logs \u2022 Tab/Shift+Tab \u2022 Esc/Ctrl+] detach \u2022 Ctrl+C exit`)};function ue(e,t,o=!1){let r=[...t.renderHeader(e),"",...t.renderWorkers(e),...o?[]:["",Ft(e.poolSize,e.final)],...t.renderExtras?[""].concat(t.renderExtras(e)):[]].join(`
|
|
13
13
|
`);!e.final&&r===ut||(ut=r,e.final?process.stdout.write("\x1B[?25h"):(process.stdout.write("\x1B[?25l"),q.cursorTo(process.stdout,0,0),q.clearScreenDown(process.stdout)),process.stdout.write(`${r}
|
|
14
|
-
`))}function J(e,t,o){let r=t.get(e);if(O(r))try{let n=K(r);if(n!=null)return n}catch (e7){}return o.get(e)}async function dt(e,t,o){await new Promise(r=>{try{let n=_fs.statSync.call(void 0, e),l=Math.max(0,n.size-t),s=_fs.createReadStream.call(void 0, e,{start:l,encoding:"utf8"});s.on("data",a=>o(a)),s.on("end",r),s.on("error",r)}catch (e8){r(void 0)}})}function pt(e,t,o){if(t.ctrl&&t.name==="c")return{type:"CTRL_C"};if(o==="dashboard")return t.name&&/^[0-9]$/.test(t.name)?{type:"ATTACH",id:Number(t.name)}:t.name==="tab"&&!t.shift?{type:"CYCLE",delta:1}:t.name==="tab"&&t.shift?{type:"CYCLE",delta:-1}:t.name==="q"?{type:"QUIT"}:null;if(t.name==="escape"||t.ctrl&&t.name==="]")return{type:"DETACH"};if(t.ctrl&&t.name==="d")return{type:"CTRL_D"};let r=_nullishCoalesce(_nullishCoalesce(t.sequence, () => (e)), () => (""));return r?{type:"FORWARD",sequence:r}:null}function ft(e){return[...e.keys()].sort((t,o)=>t-o)}function mt(e,t,o){if(!e.length)return null;let r=_nullishCoalesce(t, () => (e[0])),n=e.indexOf(r);return n===-1&&(n=0),n=(n+o+e.length)%e.length,e[n]}function ht(e){let{workers:t,onAttach:o,onDetach:r,onCtrlC:n,getLogPaths:l,replayBytes:s=200*1024,replayWhich:a=["out","err"],onEnterAttachScreen:f,ports:m}=e,c=_nullishCoalesce(_optionalChain([m, 'optionalAccess', _17 => _17.stdin]), () => (process.stdin)),d=_nullishCoalesce(_optionalChain([m, 'optionalAccess', _18 => _18.stdout]), () => (process.stdout)),g=_nullishCoalesce(_optionalChain([m, 'optionalAccess', _19 => _19.stderr]), () => (process.stderr)),i=(...b)=>{if(
|
|
14
|
+
`))}function J(e,t,o){let r=t.get(e);if(O(r))try{let n=K(r);if(n!=null)return n}catch (e7){}return o.get(e)}async function dt(e,t,o){await new Promise(r=>{try{let n=_fs.statSync.call(void 0, e),l=Math.max(0,n.size-t),s=_fs.createReadStream.call(void 0, e,{start:l,encoding:"utf8"});s.on("data",a=>o(a)),s.on("end",r),s.on("error",r)}catch (e8){r(void 0)}})}function pt(e,t,o){if(t.ctrl&&t.name==="c")return{type:"CTRL_C"};if(o==="dashboard")return t.name&&/^[0-9]$/.test(t.name)?{type:"ATTACH",id:Number(t.name)}:t.name==="tab"&&!t.shift?{type:"CYCLE",delta:1}:t.name==="tab"&&t.shift?{type:"CYCLE",delta:-1}:t.name==="q"?{type:"QUIT"}:null;if(t.name==="escape"||t.ctrl&&t.name==="]")return{type:"DETACH"};if(t.ctrl&&t.name==="d")return{type:"CTRL_D"};let r=_nullishCoalesce(_nullishCoalesce(t.sequence, () => (e)), () => (""));return r?{type:"FORWARD",sequence:r}:null}function ft(e){return[...e.keys()].sort((t,o)=>t-o)}function mt(e,t,o){if(!e.length)return null;let r=_nullishCoalesce(t, () => (e[0])),n=e.indexOf(r);return n===-1&&(n=0),n=(n+o+e.length)%e.length,e[n]}function ht(e){let{workers:t,onAttach:o,onDetach:r,onCtrlC:n,getLogPaths:l,replayBytes:s=200*1024,replayWhich:a=["out","err"],onEnterAttachScreen:f,ports:m}=e,c=_nullishCoalesce(_optionalChain([m, 'optionalAccess', _17 => _17.stdin]), () => (process.stdin)),d=_nullishCoalesce(_optionalChain([m, 'optionalAccess', _18 => _18.stdout]), () => (process.stdout)),g=_nullishCoalesce(_optionalChain([m, 'optionalAccess', _19 => _19.stderr]), () => (process.stderr)),i=(...b)=>{if(_chunk5MG2CEZVcjs.z)try{(_nullishCoalesce(_optionalChain([m, 'optionalAccess', _20 => _20.stderr]), () => (process.stderr))).write(`[keys] ${b.map(String).join(" ")}
|
|
15
15
|
`)}catch (e9){}};if(!c.isTTY)return()=>{};gt.emitKeypressEvents(c),_optionalChain([c, 'access', _21 => _21.setRawMode, 'optionalCall', _22 => _22(!0)]);let p="dashboard",h=null,T=null,L=null;async function $(b){if(!l)return;let y=l(b);if(!y)return;let S=[];for(let w of a)w==="out"&&S.push(y.outPath),w==="err"&&S.push(y.errPath),w==="structured"&&S.push(y.structuredPath);if(S.length){d.write(`
|
|
16
16
|
------------ replay ------------
|
|
17
17
|
`);for(let w of S)d.write(`
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
`),await dt(w,s,R=>d.write(R));d.write(`
|
|
20
20
|
--------------------------------
|
|
21
21
|
|
|
22
|
-
`)}}let E=async b=>{i("attach()",`id=${b}`);let y=t.get(b);if(!y)return;p==="attached"&&x(),p="attached",h=b,_optionalChain([f, 'optionalCall', _23 => _23(b)]),_optionalChain([o, 'optionalCall', _24 => _24(b)]),await $(b),T=w=>d.write(w),L=w=>g.write(w),_optionalChain([y, 'access', _25 => _25.stdout, 'optionalAccess', _26 => _26.on, 'call', _27 => _27("data",T)]),_optionalChain([y, 'access', _28 => _28.stderr, 'optionalAccess', _29 => _29.on, 'call', _30 => _30("data",L)]);let S=()=>{h===b&&x()};y.once("exit",S)},x=()=>{if(i("detach()",`id=${h}`),h==null)return;let b=h,y=t.get(b);y&&(T&&_optionalChain([y, 'access', _31 => _31.stdout, 'optionalAccess', _32 => _32.off, 'call', _33 => _33("data",T)]),L&&_optionalChain([y, 'access', _34 => _34.stderr, 'optionalAccess', _35 => _35.off, 'call', _36 => _36("data",L)])),T=null,L=null,h=null,p="dashboard",_optionalChain([r, 'optionalCall', _37 => _37()])},k=(b,y)=>{i("keypress",JSON.stringify({str:b,name:y.name,seq:y.sequence,ctrl:y.ctrl,meta:y.meta,shift:y.shift,mode:p}));let S=pt(b,y,p);if(i("mapped",JSON.stringify(S)),!!S)switch(S.type){case"CTRL_C":{if(i("CTRL_C"),p==="attached"&&h!=null){let w=t.get(h);try{_optionalChain([w, 'optionalAccess', _38 => _38.kill, 'call', _39 => _39("SIGINT")])}catch (e10){}x();return}_optionalChain([n, 'optionalCall', _40 => _40()]);return}case"ATTACH":{if(i("ATTACH",`id=${S.id}`,`has=${t.has(S.id)}`),p!=="dashboard")return;t.has(S.id)&&E(S.id);return}case"CYCLE":{if(i("CYCLE",`delta=${S.delta}`),p!=="dashboard")return;let w=mt(ft(t),h,S.delta);w!=null&&E(w);return}case"QUIT":{if(p!=="dashboard")return;_optionalChain([n, 'optionalCall', _41 => _41()]);return}case"DETACH":{i("DETACH"),p==="attached"&&x();return}case"CTRL_D":{if(p==="attached"&&h!=null){let w=t.get(h);try{_optionalChain([w, 'optionalAccess', _42 => _42.stdin, 'optionalAccess', _43 => _43.end, 'call', _44 => _44()])}catch (e11){}}return}case"FORWARD":if(p==="attached"&&h!=null){let w=t.get(h);try{_optionalChain([w, 'optionalAccess', _45 => _45.stdin, 'optionalAccess', _46 => _46.write, 'call', _47 => _47(S.sequence)])}catch (e12){}}}},A=b=>{if(p==="attached"&&h!=null){let y=t.get(h);try{_optionalChain([y, 'optionalAccess', _48 => _48.stdin, 'optionalAccess', _49 => _49.write, 'call', _50 => _50(b)])}catch (e13){}}},j=()=>{c.off("keypress",k),c.off("data",A),_optionalChain([c, 'access', _51 => _51.setRawMode, 'optionalCall', _52 => _52(!1)]),d.write("\x1B[?25h")};return c.on("keypress",k),c.on("data",A),j}async function Re(e){let{title:t,baseDir:o,poolSize:r,cpuCount:n,render:l,childModulePath:s,hooks:a,filesTotal:f,childFlag:m,viewerMode:c=!1}=e,d=_nullishCoalesce(e.openLogWindows, () => (!c)),g=_nullishCoalesce(e.isSilent, () => (!0)),i=Date.now(),p=it(o),h=new Map,T=new Map,L=new Map,$=new
|
|
22
|
+
`)}}let E=async b=>{i("attach()",`id=${b}`);let y=t.get(b);if(!y)return;p==="attached"&&x(),p="attached",h=b,_optionalChain([f, 'optionalCall', _23 => _23(b)]),_optionalChain([o, 'optionalCall', _24 => _24(b)]),await $(b),T=w=>d.write(w),L=w=>g.write(w),_optionalChain([y, 'access', _25 => _25.stdout, 'optionalAccess', _26 => _26.on, 'call', _27 => _27("data",T)]),_optionalChain([y, 'access', _28 => _28.stderr, 'optionalAccess', _29 => _29.on, 'call', _30 => _30("data",L)]);let S=()=>{h===b&&x()};y.once("exit",S)},x=()=>{if(i("detach()",`id=${h}`),h==null)return;let b=h,y=t.get(b);y&&(T&&_optionalChain([y, 'access', _31 => _31.stdout, 'optionalAccess', _32 => _32.off, 'call', _33 => _33("data",T)]),L&&_optionalChain([y, 'access', _34 => _34.stderr, 'optionalAccess', _35 => _35.off, 'call', _36 => _36("data",L)])),T=null,L=null,h=null,p="dashboard",_optionalChain([r, 'optionalCall', _37 => _37()])},k=(b,y)=>{i("keypress",JSON.stringify({str:b,name:y.name,seq:y.sequence,ctrl:y.ctrl,meta:y.meta,shift:y.shift,mode:p}));let S=pt(b,y,p);if(i("mapped",JSON.stringify(S)),!!S)switch(S.type){case"CTRL_C":{if(i("CTRL_C"),p==="attached"&&h!=null){let w=t.get(h);try{_optionalChain([w, 'optionalAccess', _38 => _38.kill, 'call', _39 => _39("SIGINT")])}catch (e10){}x();return}_optionalChain([n, 'optionalCall', _40 => _40()]);return}case"ATTACH":{if(i("ATTACH",`id=${S.id}`,`has=${t.has(S.id)}`),p!=="dashboard")return;t.has(S.id)&&E(S.id);return}case"CYCLE":{if(i("CYCLE",`delta=${S.delta}`),p!=="dashboard")return;let w=mt(ft(t),h,S.delta);w!=null&&E(w);return}case"QUIT":{if(p!=="dashboard")return;_optionalChain([n, 'optionalCall', _41 => _41()]);return}case"DETACH":{i("DETACH"),p==="attached"&&x();return}case"CTRL_D":{if(p==="attached"&&h!=null){let w=t.get(h);try{_optionalChain([w, 'optionalAccess', _42 => _42.stdin, 'optionalAccess', _43 => _43.end, 'call', _44 => _44()])}catch (e11){}}return}case"FORWARD":if(p==="attached"&&h!=null){let w=t.get(h);try{_optionalChain([w, 'optionalAccess', _45 => _45.stdin, 'optionalAccess', _46 => _46.write, 'call', _47 => _47(S.sequence)])}catch (e12){}}}},A=b=>{if(p==="attached"&&h!=null){let y=t.get(h);try{_optionalChain([y, 'optionalAccess', _48 => _48.stdin, 'optionalAccess', _49 => _49.write, 'call', _50 => _50(b)])}catch (e13){}}},j=()=>{c.off("keypress",k),c.off("data",A),_optionalChain([c, 'access', _51 => _51.setRawMode, 'optionalCall', _52 => _52(!1)]),d.write("\x1B[?25h")};return c.on("keypress",k),c.on("data",A),j}async function Re(e){let{title:t,baseDir:o,poolSize:r,cpuCount:n,render:l,childModulePath:s,hooks:a,filesTotal:f,childFlag:m,viewerMode:c=!1}=e,d=_nullishCoalesce(e.openLogWindows, () => (!c)),g=_nullishCoalesce(e.isSilent, () => (!0)),i=Date.now(),p=it(o),h=new Map,T=new Map,L=new Map,$=new _chunkKYOQWIIScjs.dg,x=_nullishCoalesce(_optionalChain([a, 'access', _53 => _53.initTotals, 'optionalCall', _54 => _54()]), () => ({})),k=0,A=0,j=0,b=null,y=!1,S=!1,w=null,R=(u=!1)=>{S||l({title:t,poolSize:r,cpuCount:n,filesTotal:f,filesCompleted:A,filesFailed:j,workerState:T,totals:x,final:u,exportStatus:_optionalChain([a, 'access', _55 => _55.exportStatus, 'optionalCall', _56 => _56()]),throughput:{successSoFar:A,r10s:$.rate(1e4),r60s:$.rate(6e4)}})},U=u=>{let v=a.nextTask();if(!v)return!1;let F=h.get(u),P=a.taskLabel(v),W=_optionalChain([a, 'access', _57 => _57.initSlotProgress, 'optionalCall', _58 => _58(v)]);return T.set(u,{busy:!0,file:P,startedAt:Date.now(),lastLevel:"ok",progress:W}),G(F,{type:"task",payload:v}),R(),!0};for(let u=0;u<r;u+=1){let v=lt({id:u,modulePath:s,logDir:p,openLogWindows:d,isSilent:g,childFlag:m});h.set(u,v),T.set(u,{busy:!1,file:null,startedAt:null,lastLevel:"ok"}),L.set(u,K(v)),k+=1;let F=I(P=>{let W=_(P);if(!W)return;let H=T.get(u);H.lastLevel!==W&&(T.set(u,{...H,lastLevel:W}),R())});_optionalChain([v, 'access', _59 => _59.stderr, 'optionalAccess', _60 => _60.on, 'call', _61 => _61("data",F)]),v.on("message",P=>{if(!(!P||typeof P!="object")){if(P.type==="ready"){y||(y=!0,b=setInterval(()=>R(!1),350)),U(u);return}if(P.type==="progress"){x=a.onProgress(x,P.payload);let W=T.get(u);T.set(u,{...W,progress:P.payload}),R();return}if(P.type==="result"){let W=T.get(u),{totals:H,ok:X}=a.onResult(x,P.payload);x=H,X?(A+=1,$.add(1)):j+=1,T.set(u,{...W,busy:!1,file:null,progress:void 0,lastLevel:X?"ok":"error"}),!U(u)&&O(v)&&G(v,{type:"shutdown"}),R()}}}),v.on("exit",()=>{k-=1,k===0&&(b&&clearInterval(b),R(!0))})}let z=()=>{},Y=()=>{try{_optionalChain([process, 'access', _62 => _62.stdin, 'access', _63 => _63.setRawMode, 'optionalCall', _64 => _64(!1)])}catch (e14){}try{process.stdin.pause()}catch (e15){}},Q=()=>{if(b&&clearInterval(b),_optionalChain([z, 'optionalCall', _65 => _65()]),w)try{process.stdin.off("data",w)}catch (e16){}Y(),process.stdout.write(`
|
|
23
23
|
Stopping workers...
|
|
24
24
|
`);for(let[,u]of h){O(u)&&G(u,{type:"shutdown"});try{_optionalChain([u, 'optionalAccess', _66 => _66.kill, 'call', _67 => _67("SIGTERM")])}catch (e17){}}process.exit(130)},V=u=>{S=!0,process.stdout.write("\x1B[2J\x1B[H"),process.stdout.write(`Attached to worker ${u}. (Esc/Ctrl+] detach \u2022 Ctrl+D EOF \u2022 Ctrl+C SIGINT)
|
|
25
25
|
`)},St=()=>{S=!1,R()};if(process.once("SIGINT",Q),!c){if(process.stdin.isTTY){try{process.stdin.setRawMode(!0)}catch (e18){process.stdout.write(_colors2.default.yellow(`Warning: Unable to enable raw mode for interactive key handling.
|
|
@@ -35,4 +35,4 @@ Press Esc/Ctrl+] to return to dashboard.
|
|
|
35
35
|
`),(async()=>{try{await wt(t,g,i)}catch (e21){m=!1,r(!1),o()}})())},d=(g,i)=>{if(n)try{let p=n.exportCombinedLogs(t,g);a(`
|
|
36
36
|
Wrote combined ${i} logs to: ${p}`),f(g,p)}catch (e22){a(`
|
|
37
37
|
Failed to write combined ${i} logs`)}};return g=>{let i=g.toString("utf8");if(i==="e"){c(["err"],"error");return}if(i==="w"){c(["warn","err"],"warn");return}if(i==="i"){c(["info"],"all");return}if(i==="l"){c(["out","err","structured"],"all");return}if(i==="E"){d("error","error");return}if(i==="W"){d("warn","warn");return}if(i==="I"){d("info","info");return}if(i==="A"){d("all","ALL");return}let p=_optionalChain([s, 'optionalAccess', _78 => _78[i]]);if(p){p({noteExport:f,say:a});return}(i==="\x1B"||i==="")&&(m=!1,r(!1),o())}}var _events = require('events');var _url = require('url');function B(e){return typeof e=="number"?e.toLocaleString():"0"}function yt(e,t=40){let o=Math.max(0,Math.min(100,Math.floor(e))),r=Math.floor(o/100*t);return"\u2588".repeat(r)+"\u2591".repeat(t-r)}function Nt(e){let t=[...e.workerState.values()].filter(n=>n.busy).length,o=e.filesCompleted+e.filesFailed,r=e.filesTotal===0?100:Math.floor(o/Math.max(1,e.filesTotal)*100);return{done:o,inProgress:t,pct:r}}function or(e,t=[]){let{title:o,poolSize:r,cpuCount:n,filesTotal:l,filesCompleted:s,filesFailed:a,throughput:f}=e,{inProgress:m,pct:c}=Nt(e),d=[`${_colors2.default.bold(o)} \u2014 ${r} workers ${_colors2.default.dim(`(CPU avail: ${n})`)}`,`${_colors2.default.dim("Files")} ${B(l)} ${_colors2.default.dim("Completed")} ${B(s)} ${_colors2.default.dim("Failed")} ${a?_colors2.default.red(B(a)):B(a)} ${_colors2.default.dim("In-flight")} ${B(m)}`,`[${yt(c)}] ${c}%`];if(f){let g=Math.round(f.r10s*3600).toLocaleString(),i=Math.round(f.r60s*3600).toLocaleString(),p=_optionalChain([e, 'access', _79 => _79.throughput, 'optionalAccess', _80 => _80.successSoFar])!=null?` Newly uploaded: ${B(e.throughput.successSoFar)}`:"";d.push(_colors2.default.cyan(`Throughput: ${g}/hr (1h: ${i}/hr)${p}`))}return t.length?d.concat(t):d}function nr(e,t=o=>o?_path.basename.call(void 0, o):"-"){return[...e.workerState.entries()].map(([r,n])=>{let l=n.lastLevel==="error"?_colors2.default.red("ERROR "):n.lastLevel==="warn"?_colors2.default.yellow("WARN "):n.busy?_colors2.default.green("WORKING"):_colors2.default.dim("IDLE "),s=t(n.file),a=n.startedAt?`${Math.floor((Date.now()-n.startedAt)/1e3)}s`:"-",f=_nullishCoalesce(_optionalChain([n, 'access', _81 => _81.progress, 'optionalAccess', _82 => _82.processed]), () => (0)),m=_nullishCoalesce(_optionalChain([n, 'access', _83 => _83.progress, 'optionalAccess', _84 => _84.total]), () => (0)),c=m>0?Math.floor(f/m*100):0,d=m>0?yt(c,18):" ".repeat(18),g=m>0?`${f.toLocaleString()}/${m.toLocaleString()} (${c}%)`:_colors2.default.dim("\u2014");return` [w${r}] ${l} | ${s} | ${a} | [${d}] ${g}`})}exports.a = Kt; exports.b = Bt; exports.c = ue; exports.d = or; exports.e = nr; exports.f = Re; exports.g = Oe;
|
|
38
|
-
//# sourceMappingURL=chunk-
|
|
38
|
+
//# sourceMappingURL=chunk-4GILGOAM.cjs.map
|