@transcend-io/cli 6.26.0 → 6.26.2
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 +10 -9
- package/build/cli-cron-pull-identifiers.js +5 -1
- package/build/cli-cron-pull-identifiers.js.map +1 -1
- package/build/codecs.d.ts +0 -4
- package/build/codecs.d.ts.map +1 -1
- package/build/codecs.js +0 -2
- package/build/codecs.js.map +1 -1
- package/build/cron/pullCustomSiloOutstandingIdentifiers.d.ts +3 -1
- package/build/cron/pullCustomSiloOutstandingIdentifiers.d.ts.map +1 -1
- package/build/cron/pullCustomSiloOutstandingIdentifiers.js +20 -8
- package/build/cron/pullCustomSiloOutstandingIdentifiers.js.map +1 -1
- package/build/graphql/fetchAllPrivacyCenters.d.ts +0 -2
- package/build/graphql/fetchAllPrivacyCenters.d.ts.map +1 -1
- package/build/graphql/fetchAllPrivacyCenters.js.map +1 -1
- package/build/graphql/gqls/privacyCenter.d.ts.map +1 -1
- package/build/graphql/gqls/privacyCenter.js +0 -1
- package/build/graphql/gqls/privacyCenter.js.map +1 -1
- package/build/graphql/pullTranscendConfiguration.d.ts.map +1 -1
- package/build/graphql/pullTranscendConfiguration.js +0 -1
- package/build/graphql/pullTranscendConfiguration.js.map +1 -1
- package/build/graphql/syncPrivacyCenter.d.ts.map +1 -1
- package/build/graphql/syncPrivacyCenter.js +0 -1
- package/build/graphql/syncPrivacyCenter.js.map +1 -1
- package/build/tsbuildinfo +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1764,15 +1764,16 @@ The API key must be associated to the ID of the integration/data silo that is be
|
|
|
1764
1764
|
|
|
1765
1765
|
#### Arguments
|
|
1766
1766
|
|
|
1767
|
-
| Argument
|
|
1768
|
-
|
|
|
1769
|
-
| auth
|
|
1770
|
-
| dataSiloId
|
|
1771
|
-
| actions
|
|
1772
|
-
| file
|
|
1773
|
-
| transcendUrl
|
|
1774
|
-
| sombraAuth
|
|
1775
|
-
| pageLimit
|
|
1767
|
+
| Argument | Description | Type | Default | Required |
|
|
1768
|
+
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------ | ------------------------ | -------- |
|
|
1769
|
+
| auth | The Transcend API key with the scopes necessary for the command. | string | N/A | true |
|
|
1770
|
+
| dataSiloId | The ID of the data silo to pull in. | string - UUID | N/A | true |
|
|
1771
|
+
| actions | The [request action](https://docs.transcend.io/docs/privacy-requests/configuring-requests/data-subject-requests#data-actions) to restart. | RequestAction[] | N/A | true |
|
|
1772
|
+
| file | Path to the CSV file where identifiers will be written to. | string - file-path | ./cron-identifiers.csv | false |
|
|
1773
|
+
| transcendUrl | URL of the Transcend backend. Use https://api.us.transcend.io for US hosting. | string - URL | https://api.transcend.io | false |
|
|
1774
|
+
| sombraAuth | The sombra internal key, use for additional authentication when self-hosting sombra. | string | N/A | false |
|
|
1775
|
+
| pageLimit | The page limit to use when pulling in pages of identifiers. | number | 100 | false |
|
|
1776
|
+
| skipRequestCount | 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. | boolean | false | false |
|
|
1776
1777
|
|
|
1777
1778
|
#### Usage
|
|
1778
1779
|
|
|
@@ -31,7 +31,7 @@ const requests_1 = require("./requests");
|
|
|
31
31
|
*/
|
|
32
32
|
async function main() {
|
|
33
33
|
// Parse command line arguments
|
|
34
|
-
const { file = './cron-identifiers.csv', transcendUrl = constants_1.DEFAULT_TRANSCEND_API, auth, sombraAuth, dataSiloId, actions, pageLimit = '100', } = (0, yargs_parser_1.default)(process.argv.slice(2));
|
|
34
|
+
const { file = './cron-identifiers.csv', transcendUrl = constants_1.DEFAULT_TRANSCEND_API, auth, sombraAuth, dataSiloId, actions, pageLimit = '100', skipRequestCount = false, } = (0, yargs_parser_1.default)(process.argv.slice(2));
|
|
35
35
|
// Ensure auth is passed
|
|
36
36
|
if (!auth) {
|
|
37
37
|
logger_1.logger.error(colors_1.default.red('A Transcend API key must be provided. You can specify using --auth=$TRANSCEND_API_KEY'));
|
|
@@ -45,6 +45,9 @@ async function main() {
|
|
|
45
45
|
logger_1.logger.error(colors_1.default.red('At least one action must be provided. You can specify using --actions=ERASURE'));
|
|
46
46
|
process.exit(1);
|
|
47
47
|
}
|
|
48
|
+
if (skipRequestCount === 'true') {
|
|
49
|
+
logger_1.logger.info(colors_1.default.yellow('Skipping request count as requested. This may help speed up the call.'));
|
|
50
|
+
}
|
|
48
51
|
// Validate actions
|
|
49
52
|
const parsedActions = (0, requests_1.splitCsvToList)(actions);
|
|
50
53
|
const invalidActions = parsedActions.filter(
|
|
@@ -63,6 +66,7 @@ async function main() {
|
|
|
63
66
|
auth,
|
|
64
67
|
sombraAuth,
|
|
65
68
|
dataSiloId,
|
|
69
|
+
skipRequestCount: skipRequestCount === 'true',
|
|
66
70
|
});
|
|
67
71
|
// Write CSV
|
|
68
72
|
const headers = (0, uniq_1.default)(identifiersFormattedForCsv.map((d) => Object.keys(d)).flat());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli-cron-pull-identifiers.js","sourceRoot":"","sources":["../src/cli-cron-pull-identifiers.ts"],"names":[],"mappings":";;;;;;AAEA,gEAAiC;AACjC,oDAA4B;AAE5B,qCAAkC;AAClC,uDAA+B;AAC/B,iCAAwE;AACxE,+DAA4D;AAC5D,2CAAoD;AACpD,yCAA4C;AAE5C;;;;;;;;;;;;;;;;GAgBG;AACH,KAAK,UAAU,IAAI;IACjB,+BAA+B;IAC/B,MAAM,EACJ,IAAI,GAAG,wBAAwB,EAC/B,YAAY,GAAG,iCAAqB,EACpC,IAAI,EACJ,UAAU,EACV,UAAU,EACV,OAAO,EACP,SAAS,GAAG,KAAK,
|
|
1
|
+
{"version":3,"file":"cli-cron-pull-identifiers.js","sourceRoot":"","sources":["../src/cli-cron-pull-identifiers.ts"],"names":[],"mappings":";;;;;;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AAC,MAAM,CAAC,MAAM,CAAC,6BAAa,CAAC,CAAC,QAAQ,CAAC,IAAW,CAAC,CAC9D,CAAC;IACF,IAAI,cAAc,CAAC,MAAM,GAAG,CAAC,EAAE;QAC7B,eAAM,CAAC,KAAK,CACV,gBAAM,CAAC,GAAG,CACR,4BAA4B,cAAc,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM;YACxD,sBAAsB,MAAM,CAAC,MAAM,CAAC,6BAAa,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAClE,CACF,CAAC;QACF,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;KACjB;IAED,oCAAoC;IACpC,MAAM,EAAE,0BAA0B,EAAE,GAClC,MAAM,IAAA,2CAAoC,EAAC;QACzC,YAAY;QACZ,SAAS,EAAE,QAAQ,CAAC,SAAS,EAAE,EAAE,CAAC;QAClC,OAAO,EAAE,aAAa;QACtB,IAAI;QACJ,UAAU;QACV,UAAU;QACV,gBAAgB,EAAE,gBAAgB,KAAK,MAAM;KAC9C,CAAC,CAAC;IAEL,YAAY;IACZ,MAAM,OAAO,GAAG,IAAA,cAAI,EAClB,0BAA0B,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAC7D,CAAC;IACF,IAAA,eAAQ,EAAC,IAAI,EAAE,0BAA0B,EAAE,OAAO,CAAC,CAAC;IACpD,eAAM,CAAC,IAAI,CACT,gBAAM,CAAC,KAAK,CACV,sBAAsB,0BAA0B,CAAC,MAAM,yBAAyB,IAAI,GAAG,CACxF,CACF,CAAC;AACJ,CAAC;AAED,IAAI,EAAE,CAAC"}
|
package/build/codecs.d.ts
CHANGED
|
@@ -40854,8 +40854,6 @@ export declare const PrivacyCenterInput: t.PartialC<{
|
|
|
40854
40854
|
showConsentManager: t.BooleanC;
|
|
40855
40855
|
/** Whether or not to show the manage your privacy page */
|
|
40856
40856
|
showManageYourPrivacy: t.BooleanC;
|
|
40857
|
-
/** Whether or not to show the privacy preferences page */
|
|
40858
|
-
showPrivacyPreferences: t.BooleanC;
|
|
40859
40857
|
/** Whether or not to show the marketing preferences page */
|
|
40860
40858
|
showMarketingPreferences: t.BooleanC;
|
|
40861
40859
|
/** What languages are supported for the privacy center */
|
|
@@ -88262,8 +88260,6 @@ export declare const TranscendInput: t.PartialC<{
|
|
|
88262
88260
|
showConsentManager: t.BooleanC;
|
|
88263
88261
|
/** Whether or not to show the manage your privacy page */
|
|
88264
88262
|
showManageYourPrivacy: t.BooleanC;
|
|
88265
|
-
/** Whether or not to show the privacy preferences page */
|
|
88266
|
-
showPrivacyPreferences: t.BooleanC;
|
|
88267
88263
|
/** Whether or not to show the marketing preferences page */
|
|
88268
88264
|
showMarketingPreferences: t.BooleanC;
|
|
88269
88265
|
/** What languages are supported for the privacy center */
|