@transcend-io/cli 6.19.0 → 6.22.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/README.md +20 -23
  2. package/build/cli-sync-ot.js +1 -2
  3. package/build/cli-sync-ot.js.map +1 -1
  4. package/build/cli-upload-preferences.js +3 -0
  5. package/build/cli-upload-preferences.js.map +1 -1
  6. package/build/codecs.d.ts +4 -32
  7. package/build/codecs.d.ts.map +1 -1
  8. package/build/codecs.js +0 -2
  9. package/build/codecs.js.map +1 -1
  10. package/build/enums.d.ts +1 -2
  11. package/build/enums.d.ts.map +1 -1
  12. package/build/enums.js +0 -1
  13. package/build/enums.js.map +1 -1
  14. package/build/graphql/gqls/dataPoint.d.ts.map +1 -1
  15. package/build/graphql/gqls/dataPoint.js +0 -1
  16. package/build/graphql/gqls/dataPoint.js.map +1 -1
  17. package/build/graphql/pullTranscendConfiguration.d.ts.map +1 -1
  18. package/build/graphql/pullTranscendConfiguration.js +0 -1
  19. package/build/graphql/pullTranscendConfiguration.js.map +1 -1
  20. package/build/oneTrust/helpers/index.d.ts +0 -1
  21. package/build/oneTrust/helpers/index.d.ts.map +1 -1
  22. package/build/oneTrust/helpers/index.js +0 -1
  23. package/build/oneTrust/helpers/index.js.map +1 -1
  24. package/build/oneTrust/helpers/parseCliSyncOtArguments.d.ts +1 -3
  25. package/build/oneTrust/helpers/parseCliSyncOtArguments.d.ts.map +1 -1
  26. package/build/oneTrust/helpers/parseCliSyncOtArguments.js +3 -23
  27. package/build/oneTrust/helpers/parseCliSyncOtArguments.js.map +1 -1
  28. package/build/oneTrust/helpers/syncOneTrustAssessmentToDisk.d.ts +1 -4
  29. package/build/oneTrust/helpers/syncOneTrustAssessmentToDisk.d.ts.map +1 -1
  30. package/build/oneTrust/helpers/syncOneTrustAssessmentToDisk.js +15 -27
  31. package/build/oneTrust/helpers/syncOneTrustAssessmentToDisk.js.map +1 -1
  32. package/build/oneTrust/helpers/syncOneTrustAssessmentsFromOneTrust.d.ts +1 -4
  33. package/build/oneTrust/helpers/syncOneTrustAssessmentsFromOneTrust.d.ts.map +1 -1
  34. package/build/oneTrust/helpers/syncOneTrustAssessmentsFromOneTrust.js +3 -5
  35. package/build/oneTrust/helpers/syncOneTrustAssessmentsFromOneTrust.js.map +1 -1
  36. package/build/preference-management/parsePreferenceAndPurposeValuesFromCsv.d.ts +3 -1
  37. package/build/preference-management/parsePreferenceAndPurposeValuesFromCsv.d.ts.map +1 -1
  38. package/build/preference-management/parsePreferenceAndPurposeValuesFromCsv.js +4 -1
  39. package/build/preference-management/parsePreferenceAndPurposeValuesFromCsv.js.map +1 -1
  40. package/build/preference-management/parsePreferenceManagementCsv.d.ts +3 -1
  41. package/build/preference-management/parsePreferenceManagementCsv.d.ts.map +1 -1
  42. package/build/preference-management/parsePreferenceManagementCsv.js +8 -2
  43. package/build/preference-management/parsePreferenceManagementCsv.js.map +1 -1
  44. package/build/preference-management/uploadPreferenceManagementPreferencesInteractive.d.ts +3 -1
  45. package/build/preference-management/uploadPreferenceManagementPreferencesInteractive.d.ts.map +1 -1
  46. package/build/preference-management/uploadPreferenceManagementPreferencesInteractive.js +9 -4
  47. package/build/preference-management/uploadPreferenceManagementPreferencesInteractive.js.map +1 -1
  48. package/build/tsbuildinfo +1 -1
  49. package/package.json +1 -1
  50. package/build/oneTrust/helpers/constants.d.ts +0 -3
  51. package/build/oneTrust/helpers/constants.d.ts.map +0 -1
  52. package/build/oneTrust/helpers/constants.js +0 -15
  53. package/build/oneTrust/helpers/constants.js.map +0 -1
  54. package/build/oneTrust/helpers/flattenOneTrustAssessment.d.ts +0 -5
  55. package/build/oneTrust/helpers/flattenOneTrustAssessment.d.ts.map +0 -1
  56. package/build/oneTrust/helpers/flattenOneTrustAssessment.js +0 -136
  57. package/build/oneTrust/helpers/flattenOneTrustAssessment.js.map +0 -1
  58. package/build/oneTrust/helpers/oneTrustAssessmentToCsv.d.ts +0 -14
  59. package/build/oneTrust/helpers/oneTrustAssessmentToCsv.d.ts.map +0 -1
  60. package/build/oneTrust/helpers/oneTrustAssessmentToCsv.js +0 -25
  61. package/build/oneTrust/helpers/oneTrustAssessmentToCsv.js.map +0 -1
  62. package/build/oneTrust/helpers/oneTrustAssessmentToCsvRecord.d.ts +0 -10
  63. package/build/oneTrust/helpers/oneTrustAssessmentToCsvRecord.d.ts.map +0 -1
  64. package/build/oneTrust/helpers/oneTrustAssessmentToCsvRecord.js +0 -38
  65. package/build/oneTrust/helpers/oneTrustAssessmentToCsvRecord.js.map +0 -1
  66. package/build/oneTrust/helpers/tests/flattenOneTrustQuestionResponses.test.d.ts +0 -2
  67. package/build/oneTrust/helpers/tests/flattenOneTrustQuestionResponses.test.d.ts.map +0 -1
  68. package/build/oneTrust/helpers/tests/flattenOneTrustQuestionResponses.test.js +0 -592
  69. package/build/oneTrust/helpers/tests/flattenOneTrustQuestionResponses.test.js.map +0 -1
package/README.md CHANGED
@@ -618,8 +618,7 @@ The API key needs the following scopes when pushing the various resource types:
618
618
  | source | Whether to read the assessments from OneTrust or from a file | string | oneTrust | false |
619
619
  | transcendAuth | The Transcend API Key to with the scopes necessary to access Transcend's Public APIs. | string | N/A | false |
620
620
  | transcendUrl | URL of the Transcend backend. Use https://api.us.transcend.io for US hosting. | string - URL | https://api.transcend.io | false |
621
- | file | Path to the file to pull the resource into. Its format must match the fileFormat argument. | string | N/A | false |
622
- | fileFormat | The format of the output file. | string | json | false |
621
+ | file | Path to the file to pull the resource into. Must be a json file! | string | N/A | false |
623
622
  | resource | The resource to pull from OneTrust. For now, only assessments is supported. | string | assessments | false |
624
623
  | dryRun | Whether to export the resource to a file rather than sync to Transcend. | boolean | false | false |
625
624
  | debug | Whether to print detailed logs in case of error. | boolean | false | false |
@@ -633,16 +632,9 @@ tr-sync-ot --hostname=trial.onetrust.com --oneTrustAuth=$ONE_TRUST_OAUTH_TOKEN -
633
632
 
634
633
  Alternatively, you can set dryRun to true and sync the resource to disk:
635
634
 
636
- ```sh
637
- # Writes out file to ./oneTrustAssessments.csv
638
- tr-sync-ot --hostname=trial.onetrust.com --oneTrustAuth=$ONE_TRUST_OAUTH_TOKEN --dryRun=true --file=./oneTrustAssessments.csv
639
- ```
640
-
641
- You can also sync to disk in json format:
642
-
643
635
  ```sh
644
636
  # Writes out file to ./oneTrustAssessments.json
645
- tr-sync-ot --hostname=trial.onetrust.com --oneTrustAuth=$ONE_TRUST_OAUTH_TOKEN --dryRun=true --fileFormat=json --file=./oneTrustAssessments.json
637
+ tr-sync-ot --hostname=trial.onetrust.com --oneTrustAuth=$ONE_TRUST_OAUTH_TOKEN --dryRun=true --file=./oneTrustAssessments.json
646
638
  ```
647
639
 
648
640
  Once you save the assessments into disk, you can sync them to Transcend by reading from the file instead:
@@ -2477,19 +2469,24 @@ In order to use this cli, you will first need to follow [this guide](https://doc
2477
2469
 
2478
2470
  #### Arguments
2479
2471
 
2480
- | Argument | Description | Type | Default | Required |
2481
- | -------------------- | ------------------------------------------------------------------------------------------------- | ------------------ | -------------------------------------------- | -------- |
2482
- | auth | The Transcend API key with the scopes necessary for the command. | string | N/A | true |
2483
- | partition | The partition key to download consent preferences to | string | N/A | true |
2484
- | sombraAuth | The sombra internal key, use for additional authentication when self-hosting sombra. | string | N/A | false |
2485
- | transcendUrl | URL of the Transcend backend. Use https://consent.us.transcend.io for US hosting. | string - URL | https://consent.transcend.io | false |
2486
- | file | Path to the CSV file to load preferences from | string - file-path | ./preferences.csv | false |
2487
- | dryRun | Whether to do a dry run only - will write results ti receiptFilepath without updating Transcend | boolean | false | false |
2488
- | skipWorkflowTriggers | Whether to skip workflow triggers when uploading to preference store | boolean | false | false |
2489
- | skipConflictUpdates | Whether to skip uploading of any records where the preference store and file have a hard conflict | boolean | false | false |
2490
- | isSilent | Whether to skip sending emails in workflows | boolean | true | false |
2491
- | attributes | Attributes to add to any DSR request if created | string | Tags:transcend-cli,Source:transcend-cli | false |
2492
- | receiptFilepath | Store resulting, continuing where left off | string - file-path | ./preference-management-upload-receipts.json | false |
2472
+ | Argument | Description | Type | Default | Required |
2473
+ | ----------------------- | ------------------------------------------------------------------------------------------------- | ----------------------- | -------------------------------------------- | -------- |
2474
+ | auth | The Transcend API key with the scopes necessary for the command. | string | N/A | true |
2475
+ | partition | The partition key to download consent preferences to | string | N/A | true |
2476
+ | sombraAuth | The sombra internal key, use for additional authentication when self-hosting sombra. | string | N/A | false |
2477
+ | transcendUrl | URL of the Transcend backend. Use https://consent.us.transcend.io for US hosting. | string - URL | https://consent.transcend.io | false |
2478
+ | file | Path to the CSV file to load preferences from | string - file-path | N/A | true |
2479
+ | directory | Path to the directory of CSV files to load preferences from | string - directory-path | N/A | true |
2480
+ | csv | false |
2481
+ | dryRun | Whether to do a dry run only - will write results ti receiptFilepath without updating Transcend | boolean | false | false |
2482
+ | skipExistingRecordCheck | Whether to skip the check for existing records. SHOULD ONLY BE USED FOR INITIAL UPLOAD | boolean | false | false |
2483
+ | receiptFileDir | Directory path where the response receipts should be saved | string - directory-path | ./receipts' | false |
2484
+ | skipWorkflowTriggers | Whether to skip workflow triggers when uploading to preference store | boolean | false | false |
2485
+ | forceTriggerWorkflows | Whether to force trigger workflows for existing consent records | boolean | false | false |
2486
+ | skipConflictUpdates | Whether to skip uploading of any records where the preference store and file have a hard conflict | boolean | false | false |
2487
+ | isSilent | Whether to skip sending emails in workflows | boolean | true | false |
2488
+ | attributes | Attributes to add to any DSR request if created | string | Tags:transcend-cli,Source:transcend-cli | false |
2489
+ | receiptFilepath | Store resulting, continuing where left off | string - file-path | ./preference-management-upload-receipts.json | false |
2493
2490
 
2494
2491
  #### Usage
2495
2492
 
@@ -20,7 +20,7 @@ const helpers_1 = require("./oneTrust/helpers");
20
20
  * yarn cli-sync-ot --hostname=customer.my.onetrust.com --oneTrustAuth=$ONE_TRUST_OAUTH_TOKEN --transcendAuth=$TRANSCEND_API_KEY
21
21
  */
22
22
  async function main() {
23
- const { file, fileFormat, hostname, oneTrustAuth, transcendAuth, transcendUrl, resource, debug, dryRun, source, } = (0, oneTrust_1.parseCliSyncOtArguments)();
23
+ const { file, hostname, oneTrustAuth, transcendAuth, transcendUrl, resource, debug, dryRun, source, } = (0, oneTrust_1.parseCliSyncOtArguments)();
24
24
  // instantiate a client to talk to OneTrust
25
25
  const oneTrust = hostname && oneTrustAuth
26
26
  ? (0, oneTrust_1.createOneTrustGotInstance)({
@@ -38,7 +38,6 @@ async function main() {
38
38
  await (0, helpers_1.syncOneTrustAssessmentsFromOneTrust)({
39
39
  oneTrust,
40
40
  file,
41
- fileFormat,
42
41
  dryRun,
43
42
  ...(transcend && { transcend }),
44
43
  });
@@ -1 +1 @@
1
- {"version":3,"file":"cli-sync-ot.js","sourceRoot":"","sources":["../src/cli-sync-ot.ts"],"names":[],"mappings":";;;;;;AACA,qCAAkC;AAElC,oDAA4B;AAC5B,yCAAgF;AAChF,mCAAmE;AACnE,uCAAwD;AACxD,gDAG4B;AAE5B;;;;;;;;GAQG;AACH,KAAK,UAAU,IAAI;IACjB,MAAM,EACJ,IAAI,EACJ,UAAU,EACV,QAAQ,EACR,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,QAAQ,EACR,KAAK,EACL,MAAM,EACN,MAAM,GACP,GAAG,IAAA,kCAAuB,GAAE,CAAC;IAE9B,2CAA2C;IAC3C,MAAM,QAAQ,GACZ,QAAQ,IAAI,YAAY;QACtB,CAAC,CAAC,IAAA,oCAAyB,EAAC;YACxB,QAAQ;YACR,IAAI,EAAE,YAAY;SACnB,CAAC;QACJ,CAAC,CAAC,SAAS,CAAC;IAEhB,4CAA4C;IAC5C,MAAM,SAAS,GACb,YAAY,IAAI,aAAa;QAC3B,CAAC,CAAC,IAAA,qCAA2B,EAAC,YAAY,EAAE,aAAa,CAAC;QAC1D,CAAC,CAAC,SAAS,CAAC;IAEhB,IAAI;QACF,IAAI,QAAQ,KAAK,4BAAoB,CAAC,WAAW,EAAE;YACjD,IAAI,MAAM,KAAK,0BAAkB,CAAC,QAAQ,IAAI,Q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dryRun = 'false',
47
47
  /** Whether to skip workflow triggers */
48
48
  skipWorkflowTriggers = 'false',
49
+ /** Whether to force trigger workflows */
50
+ forceTriggerWorkflows = 'false',
49
51
  /** Whether to skip conflict updates */
50
52
  skipConflictUpdates = 'false',
51
53
  /** Whether to skip the check for existing records. SHOULD ONLY BE USED FOR INITIAL UPLOAD */
@@ -132,6 +134,7 @@ async function main() {
132
134
  isSilent: isSilent !== 'false',
133
135
  dryRun: dryRun !== 'false',
134
136
  attributes: (0, requests_1.splitCsvToList)(attributes),
137
+ forceTriggerWorkflows: forceTriggerWorkflows !== 'false',
135
138
  });
136
139
  }, { concurrency: parseInt(concurrency, 10) });
137
140
  }
@@ -1 +1 @@
1
- {"version":3,"file":"cli-upload-preferences.js","sourceRoot":"","sources":["../src/cli-upload-preferences.ts"],"names":[],"mappings":";;;;;;AAEA,gEAAiC;AACjC,oDAA4B;AAE5B,qCAAkC;AAClC,2CAAoD;AACpD,mEAA2F;AAC3F,yCAA4C;AAC5C,2BAAiC;AACjC,uCAA+B;AAC/B,+BAAsC;AAEtC;;;;;;;;;;;;;GAaG;AACH,KAAK,UAAU,IAAI;IACjB,+BAA+B;IAC/B,MAAM;IACJ,yCAAyC;IACzC,SAAS;IACT,oCAAoC;IACpC,IAAI;IACJ,oBAAoB;IACpB,YAAY,GAAG,iCAAqB;IACpC,cAAc;IACd,IAAI;IACJ,qBAAqB;IACrB,UAAU;IACV,iCAAiC;IACjC,SAAS;IACT,8BAA8B;IAC9B,MAAM,GAAG,OAAO;IAChB,wCAAwC;IACxC,oBAAoB,GAAG,OAAO;IAC9B,uCAAuC;IACvC,mBAAmB,GAAG,OAAO;IAC7B,6FAA6F;IAC7F,uBAAuB,GAAG,OAAO;IACjC,qCAAqC;IACrC,QAAQ,GAAG,MAAM;IACjB,sDAAsD;IACtD,UAAU,GAAG,yCAAyC;IACtD,kDAAkD;IAClD,cAAc,GAAG,YAAY;IAC7B,uFAAuF;IACvF,WAAW,GAAG,IAAI,GACn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M,EAAE,MAAM,KAAK,OAAO;YAC1B,UAAU,EAAE,IAAA,yBAAc,EAAC,UAAU,CAAC;YACtC,qBAAqB,EAAE,qBAAqB,KAAK,OAAO;SACzD,CAAC,CAAC;IACL,CAAC,EACD,EAAE,WAAW,EAAE,QAAQ,CAAC,WAAW,EAAE,EAAE,CAAC,EAAE,CAC3C,CAAC;AACJ,CAAC;AAED,IAAI,EAAE,CAAC"}
package/build/codecs.d.ts CHANGED
@@ -5738,12 +5738,6 @@ export declare const DataCategoryGuessInput: t.IntersectionC<[t.TypeC<{
5738
5738
  PENDING: unknown;
5739
5739
  REJECTED: unknown;
5740
5740
  }>;
5741
- /** Confidence label */
5742
- confidenceLabel: t.KeyofC<{
5743
- HIGH: unknown;
5744
- MEDIUM: unknown;
5745
- LOW: unknown;
5746
- }>;
5747
5741
  /** Confidence level of guess */
5748
5742
  confidence: t.NumberC;
5749
5743
  }>, t.PartialC<{
@@ -11665,12 +11659,6 @@ export declare const FieldInput: t.IntersectionC<[t.TypeC<{
11665
11659
  PENDING: unknown;
11666
11660
  REJECTED: unknown;
11667
11661
  }>;
11668
- /** Confidence label */
11669
- confidenceLabel: t.KeyofC<{
11670
- HIGH: unknown;
11671
- MEDIUM: unknown;
11672
- LOW: unknown;
11673
- }>;
11674
11662
  /** Confidence level of guess */
11675
11663
  confidence: t.NumberC;
11676
11664
  }>, t.PartialC<{
@@ -11889,12 +11877,6 @@ export declare const DatapointInput: t.IntersectionC<[t.TypeC<{
11889
11877
  PENDING: unknown;
11890
11878
  REJECTED: unknown;
11891
11879
  }>;
11892
- /** Confidence label */
11893
- confidenceLabel: t.KeyofC<{
11894
- HIGH: unknown;
11895
- MEDIUM: unknown;
11896
- LOW: unknown;
11897
- }>;
11898
11880
  /** Confidence level of guess */
11899
11881
  confidence: t.NumberC;
11900
11882
  }>, t.PartialC<{
@@ -41069,6 +41051,7 @@ export declare const PrivacyCenterInput: t.PartialC<{
41069
41051
  name: t.StringC;
41070
41052
  url: t.StringC;
41071
41053
  }>, t.PartialC<{
41054
+ /** Type override */
41072
41055
  assets: t.ArrayC<t.TypeC<{
41073
41056
  name: t.StringC;
41074
41057
  url: t.StringC;
@@ -41081,7 +41064,7 @@ export declare const PrivacyCenterInput: t.PartialC<{
41081
41064
  assets: t.ArrayC<t.TypeC<{
41082
41065
  name: t.StringC;
41083
41066
  url: t.StringC;
41084
- }>>; /** The parent category */
41067
+ }>>;
41085
41068
  }>]>;
41086
41069
  }>;
41087
41070
  }>;
@@ -41515,12 +41498,6 @@ export declare const DataSiloInput: t.IntersectionC<[t.TypeC<{
41515
41498
  PENDING: unknown;
41516
41499
  REJECTED: unknown;
41517
41500
  }>;
41518
- /** Confidence label */
41519
- confidenceLabel: t.KeyofC<{
41520
- HIGH: unknown;
41521
- MEDIUM: unknown;
41522
- LOW: unknown;
41523
- }>;
41524
41501
  /** Confidence level of guess */
41525
41502
  confidence: t.NumberC;
41526
41503
  }>, t.PartialC<{
@@ -76251,12 +76228,6 @@ export declare const TranscendInput: t.PartialC<{
76251
76228
  PENDING: unknown;
76252
76229
  REJECTED: unknown;
76253
76230
  }>;
76254
- /** Confidence label */
76255
- confidenceLabel: t.KeyofC<{
76256
- HIGH: unknown;
76257
- MEDIUM: unknown;
76258
- LOW: unknown;
76259
- }>;
76260
76231
  /** Confidence level of guess */
76261
76232
  confidence: t.NumberC;
76262
76233
  }>, t.PartialC<{
@@ -88354,6 +88325,7 @@ export declare const TranscendInput: t.PartialC<{
88354
88325
  name: t.StringC;
88355
88326
  url: t.StringC;
88356
88327
  }>, t.PartialC<{
88328
+ /** Type override */
88357
88329
  assets: t.ArrayC<t.TypeC<{
88358
88330
  name: t.StringC;
88359
88331
  url: t.StringC;
@@ -88366,7 +88338,7 @@ export declare const TranscendInput: t.PartialC<{
88366
88338
  assets: t.ArrayC<t.TypeC<{
88367
88339
  name: t.StringC;
88368
88340
  url: t.StringC;
88369
- }>>; /** The parent category */
88341
+ }>>;
88370
88342
  }>]>;
88371
88343
  }>;
88372
88344
  }>;