@transcend-io/cli 5.7.2 → 6.0.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 (39) hide show
  1. package/CHANGELOG.md +56 -1
  2. package/README.md +2 -0
  3. package/build/codecs.d.ts +22 -30
  4. package/build/codecs.d.ts.map +1 -1
  5. package/build/codecs.js +8 -8
  6. package/build/codecs.js.map +1 -1
  7. package/build/constants.d.ts.map +1 -1
  8. package/build/constants.js +4 -0
  9. package/build/constants.js.map +1 -1
  10. package/build/enums.d.ts +3 -2
  11. package/build/enums.d.ts.map +1 -1
  12. package/build/enums.js +1 -0
  13. package/build/enums.js.map +1 -1
  14. package/build/graphql/fetchConsentManagerId.d.ts +6 -8
  15. package/build/graphql/fetchConsentManagerId.d.ts.map +1 -1
  16. package/build/graphql/fetchConsentManagerId.js +1 -27
  17. package/build/graphql/fetchConsentManagerId.js.map +1 -1
  18. package/build/graphql/gqls/consentManager.d.ts.map +1 -1
  19. package/build/graphql/gqls/consentManager.js +5 -2
  20. package/build/graphql/gqls/consentManager.js.map +1 -1
  21. package/build/graphql/index.d.ts +1 -0
  22. package/build/graphql/index.d.ts.map +1 -1
  23. package/build/graphql/index.js +1 -0
  24. package/build/graphql/index.js.map +1 -1
  25. package/build/graphql/pullTranscendConfiguration.d.ts.map +1 -1
  26. package/build/graphql/pullTranscendConfiguration.js +16 -13
  27. package/build/graphql/pullTranscendConfiguration.js.map +1 -1
  28. package/build/graphql/syncConfigurationToTranscend.d.ts.map +1 -1
  29. package/build/graphql/syncConfigurationToTranscend.js +7 -1
  30. package/build/graphql/syncConfigurationToTranscend.js.map +1 -1
  31. package/build/graphql/syncConsentManager.d.ts.map +1 -1
  32. package/build/graphql/syncConsentManager.js +14 -21
  33. package/build/graphql/syncConsentManager.js.map +1 -1
  34. package/build/graphql/syncPartitions.d.ts +26 -0
  35. package/build/graphql/syncPartitions.d.ts.map +1 -0
  36. package/build/graphql/syncPartitions.js +67 -0
  37. package/build/graphql/syncPartitions.js.map +1 -0
  38. package/build/tsbuildinfo +1 -1
  39. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -4,8 +4,10 @@
4
4
  ## Table of Contents
5
5
 
6
6
  - [Changelog](#changelog)
7
- - [[5.0.0] - 2024-04-23](#500---2024-04-23)
7
+ - [[6.0.0] - 2024-09-03](#600---2024-09-03)
8
8
  - [Changed](#changed)
9
+ - [[5.0.0] - 2024-04-23](#500---2024-04-23)
10
+ - [Changed](#changed-1)
9
11
 
10
12
  <!-- END doctoc generated TOC please keep comment here to allow auto update -->
11
13
 
@@ -16,6 +18,59 @@ All notable changes to the Transcend CLI tools will be documented in this file.
16
18
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
17
19
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
18
20
 
21
+ ## [6.0.0] - 2024-09-03
22
+
23
+ ### Changed
24
+
25
+ - Updates the shape of `transcend.yml` for the `consent-manager.experiences[0].purposes[*]`
26
+
27
+ Before:
28
+
29
+ ```yml
30
+ consent-manager:
31
+ ...
32
+ experiences:
33
+ - name: Unknown
34
+ ...
35
+ purposes:
36
+ - name: Functional
37
+ - name: SaleOfInfo
38
+ optedOutPurposes:
39
+ - name: SaleOfInfo
40
+ ```
41
+
42
+ After:
43
+
44
+ ```yml
45
+ consent-manager:
46
+ ...
47
+ experiences:
48
+ - name: Unknown
49
+ ...
50
+ purposes:
51
+ - trackingType: Functional
52
+ - trackingType: SaleOfInfo
53
+ optedOutPurposes:
54
+ - trackingType: SaleOfInfo
55
+ ```
56
+
57
+ - Updates the shape of `transcend.yml` for the `consent-manager.partitions` to be at top level `partitions`
58
+
59
+ Before:
60
+
61
+ ```yml
62
+ consent-manager:
63
+ ...
64
+ partitions:
65
+ - ...
66
+ ```
67
+
68
+ After:
69
+
70
+ ```yml
71
+ partitions: ...
72
+ ```
73
+
19
74
  ## [5.0.0] - 2024-04-23
20
75
 
21
76
  ### Changed
package/README.md CHANGED
@@ -380,6 +380,7 @@ The API key permissions for this command vary based on the value to the `resourc
380
380
  | dataFlows | Consent Manager Data Flow definitions. | View Data Flows | false | [Consent Management -> Data Flows](https://app.transcend.io/consent-manager/data-flows/approved) |
381
381
  | cookies | Consent Manager Cookie definitions. | View Data Flows | false | [Consent Management -> Cookies](https://app.transcend.io/consent-manager/cookies/approved) |
382
382
  | consentManager | Consent Manager general settings, including domain list. | View Consent Manager | false | [Consent Management -> Developer Settings](https://app.transcend.io/consent-manager/developer-settings) |
383
+ | partitions | The partitions in the account (often representative of separate data controllers). | View Consent Manager | false | [Consent Management -> Developer Settings -> Advanced Settings](https://app.transcend.io/consent-manager/developer-settings/advanced-settings) |
383
384
  | assessments | The Transcend assessments | View Assessments | false | [Assessments -> Browse](https://app.transcend.io/assessments/browse) |
384
385
  | assessmentTemplates | The Transcend assessment templates | View Assessments | false | [Assessments -> Templates](https://app.transcend.io/assessments/templates) |
385
386
  | prompts | The Transcend AI prompts | View Prompts | false | [Prompt Manager -> Browse](https://app.transcend.io/prompts/browse) |
@@ -585,6 +586,7 @@ The API key needs the following scopes when pushing the various resource types:
585
586
  | dataFlows | Consent Manager Data Flow definitions. | Manage Data Flows | false | [Consent Management -> Data Flows](https://app.transcend.io/consent-manager/data-flows/approved) |
586
587
  | cookies | Consent Manager Cookie definitions. | Manage Data Flows | false | [Consent Management -> Cookies](https://app.transcend.io/consent-manager/cookies/approved) |
587
588
  | consentManager | Consent Manager general settings, including domain list. | Manage Consent Manager Developer Settings | false | [Consent Management -> Developer Settings](https://app.transcend.io/consent-manager/developer-settings) |
589
+ | partitions | The partitions in the account (often representative of separate data controllers). | Manage Consent Manager Developer Settings | false | [Consent Management -> Developer Settings -> Advanced Settings](https://app.transcend.io/consent-manager/developer-settings/advanced-settings) |
588
590
  | assessments | The Transcend assessments | Manage Assessments | false | [Assessments -> Browse](https://app.transcend.io/assessments/browse) |
589
591
  | assessmentTemplates | The Transcend assessment templates | Manage Assessments | false | [Assessments -> Templates](https://app.transcend.io/assessments/templates) |
590
592
  | prompts | The Transcend AI prompts | View Prompts | false | [Prompt Manager -> Browse](https://app.transcend.io/prompts/browse) |
package/build/codecs.d.ts CHANGED
@@ -33931,13 +33931,13 @@ export declare const ConsentManageExperienceInput: t.IntersectionC<[t.TypeC<{
33931
33931
  }>;
33932
33932
  /** Purposes that can be opted out of in a particular experience */
33933
33933
  purposes: t.ArrayC<t.TypeC<{
33934
- /** Name of purpose */
33935
- name: t.StringC;
33934
+ /** Slug of purpose */
33935
+ trackingType: t.StringC;
33936
33936
  }>>;
33937
33937
  /** Purposes that are opted out by default in a particular experience */
33938
33938
  optedOutPurposes: t.ArrayC<t.TypeC<{
33939
- /** Name of purpose */
33940
- name: t.StringC;
33939
+ /** Slug of purpose */
33940
+ trackingType: t.StringC;
33941
33941
  }>>;
33942
33942
  /**
33943
33943
  * Browser languages that define this regional experience
@@ -34621,7 +34621,7 @@ export declare const ConsentManageExperienceInput: t.IntersectionC<[t.TypeC<{
34621
34621
  }>]>;
34622
34622
  /** Type override */
34623
34623
  export type ConsentManageExperienceInput = t.TypeOf<typeof ConsentManageExperienceInput>;
34624
- export declare const ConsentPartition: t.IntersectionC<[t.TypeC<{
34624
+ export declare const PartitionInput: t.IntersectionC<[t.TypeC<{
34625
34625
  /** Name of partition */
34626
34626
  name: t.StringC;
34627
34627
  }>, t.PartialC<{
@@ -34629,7 +34629,7 @@ export declare const ConsentPartition: t.IntersectionC<[t.TypeC<{
34629
34629
  partition: t.StringC;
34630
34630
  }>]>;
34631
34631
  /** Type override */
34632
- export type ConsentPartition = t.TypeOf<typeof ConsentPartition>;
34632
+ export type PartitionInput = t.TypeOf<typeof PartitionInput>;
34633
34633
  export declare const ConsentManagerInput: t.PartialC<{
34634
34634
  /** Airgap version */
34635
34635
  version: t.StringC;
@@ -34640,14 +34640,6 @@ export declare const ConsentManagerInput: t.PartialC<{
34640
34640
  }>, t.StringC>;
34641
34641
  /** The consent manager domains in the instance */
34642
34642
  domains: t.ArrayC<t.StringC>;
34643
- /** The full list of consent manager partitions (e.g. dev vs staging vs prod) */
34644
- partitions: t.ArrayC<t.IntersectionC<[t.TypeC<{
34645
- /** Name of partition */
34646
- name: t.StringC;
34647
- }>, t.PartialC<{
34648
- /** Value of partition, cannot be pushed, can only be pulled */
34649
- partition: t.StringC;
34650
- }>]>>;
34651
34643
  /** Key used to partition consent records */
34652
34644
  partition: t.StringC;
34653
34645
  /** Precedence of signals vs user input */
@@ -40121,13 +40113,13 @@ export declare const ConsentManagerInput: t.PartialC<{
40121
40113
  }>;
40122
40114
  /** Purposes that can be opted out of in a particular experience */
40123
40115
  purposes: t.ArrayC<t.TypeC<{
40124
- /** Name of purpose */
40125
- name: t.StringC;
40116
+ /** Slug of purpose */
40117
+ trackingType: t.StringC;
40126
40118
  }>>;
40127
40119
  /** Purposes that are opted out by default in a particular experience */
40128
40120
  optedOutPurposes: t.ArrayC<t.TypeC<{
40129
- /** Name of purpose */
40130
- name: t.StringC;
40121
+ /** Slug of purpose */
40122
+ trackingType: t.StringC;
40131
40123
  }>>;
40132
40124
  /**
40133
40125
  * Browser languages that define this regional experience
@@ -80578,14 +80570,6 @@ export declare const TranscendInput: t.PartialC<{
80578
80570
  }>, t.StringC>;
80579
80571
  /** The consent manager domains in the instance */
80580
80572
  domains: t.ArrayC<t.StringC>;
80581
- /** The full list of consent manager partitions (e.g. dev vs staging vs prod) */
80582
- partitions: t.ArrayC<t.IntersectionC<[t.TypeC<{
80583
- /** Name of partition */
80584
- name: t.StringC;
80585
- }>, t.PartialC<{
80586
- /** Value of partition, cannot be pushed, can only be pulled */
80587
- partition: t.StringC;
80588
- }>]>>;
80589
80573
  /** Key used to partition consent records */
80590
80574
  partition: t.StringC;
80591
80575
  /** Precedence of signals vs user input */
@@ -86059,13 +86043,13 @@ export declare const TranscendInput: t.PartialC<{
86059
86043
  }>;
86060
86044
  /** Purposes that can be opted out of in a particular experience */
86061
86045
  purposes: t.ArrayC<t.TypeC<{
86062
- /** Name of purpose */
86063
- name: t.StringC;
86046
+ /** Slug of purpose */
86047
+ trackingType: t.StringC;
86064
86048
  }>>;
86065
86049
  /** Purposes that are opted out by default in a particular experience */
86066
86050
  optedOutPurposes: t.ArrayC<t.TypeC<{
86067
- /** Name of purpose */
86068
- name: t.StringC;
86051
+ /** Slug of purpose */
86052
+ trackingType: t.StringC;
86069
86053
  }>>;
86070
86054
  /**
86071
86055
  * Browser languages that define this regional experience
@@ -87300,6 +87284,14 @@ export declare const TranscendInput: t.PartialC<{
87300
87284
  "sl-SL": t.StringC;
87301
87285
  }>;
87302
87286
  }>]>>;
87287
+ /** The full list of consent manager partitions (e.g. dev vs staging vs prod) */
87288
+ partitions: t.ArrayC<t.IntersectionC<[t.TypeC<{
87289
+ /** Name of partition */
87290
+ name: t.StringC;
87291
+ }>, t.PartialC<{
87292
+ /** Value of partition, cannot be pushed, can only be pulled */
87293
+ partition: t.StringC;
87294
+ }>]>>;
87303
87295
  }>;
87304
87296
  /** Type override */
87305
87297
  export type TranscendInput = t.TypeOf<typeof TranscendInput>;