@transcend-io/cli 4.26.1 → 4.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.
Files changed (39) hide show
  1. package/README.md +17 -23
  2. package/build/graphql/fetchAllCookies.d.ts +52 -0
  3. package/build/graphql/fetchAllCookies.d.ts.map +1 -0
  4. package/build/graphql/fetchAllCookies.js +38 -0
  5. package/build/graphql/fetchAllCookies.js.map +1 -0
  6. package/build/graphql/fetchAllDataFlows.d.ts +52 -0
  7. package/build/graphql/fetchAllDataFlows.d.ts.map +1 -0
  8. package/build/graphql/fetchAllDataFlows.js +38 -0
  9. package/build/graphql/fetchAllDataFlows.js.map +1 -0
  10. package/build/graphql/fetchConsentManagerId.d.ts +9 -0
  11. package/build/graphql/fetchConsentManagerId.d.ts.map +1 -0
  12. package/build/graphql/fetchConsentManagerId.js +17 -0
  13. package/build/graphql/fetchConsentManagerId.js.map +1 -0
  14. package/build/graphql/formatAttributeValues.d.ts +2 -2
  15. package/build/graphql/formatAttributeValues.d.ts.map +1 -1
  16. package/build/graphql/formatAttributeValues.js.map +1 -1
  17. package/build/graphql/gqls/consentManager.d.ts +6 -0
  18. package/build/graphql/gqls/consentManager.d.ts.map +1 -0
  19. package/build/graphql/gqls/consentManager.js +122 -0
  20. package/build/graphql/gqls/consentManager.js.map +1 -0
  21. package/build/graphql/gqls/index.d.ts +1 -0
  22. package/build/graphql/gqls/index.d.ts.map +1 -1
  23. package/build/graphql/gqls/index.js +1 -0
  24. package/build/graphql/gqls/index.js.map +1 -1
  25. package/build/graphql/index.d.ts +3 -0
  26. package/build/graphql/index.d.ts.map +1 -1
  27. package/build/graphql/index.js +3 -0
  28. package/build/graphql/index.js.map +1 -1
  29. package/build/graphql/syncDataSilos.d.ts +4 -4
  30. package/build/graphql/syncDataSilos.d.ts.map +1 -1
  31. package/build/requests/mapCsvRowsToRequestInputs.d.ts +2 -2
  32. package/build/requests/mapCsvRowsToRequestInputs.d.ts.map +1 -1
  33. package/build/requests/mapCsvRowsToRequestInputs.js.map +1 -1
  34. package/build/requests/parseAttributesFromString.d.ts +2 -2
  35. package/build/requests/parseAttributesFromString.d.ts.map +1 -1
  36. package/build/requests/submitPrivacyRequest.d.ts +3 -2
  37. package/build/requests/submitPrivacyRequest.d.ts.map +1 -1
  38. package/build/tsbuildinfo +1 -1
  39. package/package.json +6 -6
package/README.md CHANGED
@@ -24,35 +24,35 @@
24
24
  - [tr-request-upload](#tr-request-upload)
25
25
  - [Authentication](#authentication-3)
26
26
  - [Arguments](#arguments-3)
27
- - [Usage](#usage-4)
27
+ - [Usage](#usage-4)
28
28
  - [tr-request-restart](#tr-request-restart)
29
29
  - [Authentication](#authentication-4)
30
30
  - [Arguments](#arguments-4)
31
- - [Usage](#usage-5)
31
+ - [Usage](#usage-5)
32
32
  - [tr-cron-pull-identifiers](#tr-cron-pull-identifiers)
33
33
  - [Authentication](#authentication-5)
34
34
  - [Arguments](#arguments-5)
35
- - [Usage](#usage-6)
35
+ - [Usage](#usage-6)
36
36
  - [tr-cron-mark-identifiers-completed](#tr-cron-mark-identifiers-completed)
37
37
  - [Authentication](#authentication-6)
38
38
  - [Arguments](#arguments-6)
39
- - [Usage](#usage-7)
39
+ - [Usage](#usage-7)
40
40
  - [tr-manual-enrichment-pull-identifiers](#tr-manual-enrichment-pull-identifiers)
41
41
  - [Authentication](#authentication-7)
42
42
  - [Arguments](#arguments-7)
43
- - [Usage](#usage-8)
43
+ - [Usage](#usage-8)
44
44
  - [tr-manual-enrichment-push-identifiers](#tr-manual-enrichment-push-identifiers)
45
45
  - [Authentication](#authentication-8)
46
46
  - [Arguments](#arguments-8)
47
- - [Usage](#usage-9)
47
+ - [Usage](#usage-9)
48
48
  - [tr-mark-request-data-silos-completed](#tr-mark-request-data-silos-completed)
49
49
  - [Authentication](#authentication-9)
50
50
  - [Arguments](#arguments-9)
51
- - [Usage](#usage-10)
51
+ - [Usage](#usage-10)
52
52
  - [tr-retry-request-data-silos](#tr-retry-request-data-silos)
53
53
  - [Authentication](#authentication-10)
54
54
  - [Arguments](#arguments-10)
55
- - [Usage](#usage-11)
55
+ - [Usage](#usage-11)
56
56
 
57
57
  <!-- END doctoc generated TOC please keep comment here to allow auto update -->
58
58
 
@@ -124,17 +124,11 @@ You can find various examples for your `transcend.yml` file in the [examples/](.
124
124
 
125
125
  The API for this YAML file can be found in [./src/codecs.ts](./src/codecs.ts) under the variable named "TranscendInput". The shape of the YAML file will be type-checked every time a command is run.
126
126
 
127
- You can include a JSON schema to check `transcend.yml` in your IDE by adding this comment to the top of your file:
128
-
129
- ```yml
130
- # yaml-language-server: $schema=https://raw.githubusercontent.com/transcend-io/cli/main/transcend-yml-schema-v4.json
131
- ```
127
+ By default, your editor or IDE should recognize `transcend.yml` and validate it against our published [JSON schema](./transcend-yml-schema-v4.json). This is dependent on whether your editor uses [yaml-language-server](https://github.com/redhat-developer/yaml-language-server), such as through the [VS Code YAML extension](https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml).
132
128
 
133
129
  The structure of `transcend.yml` looks something like the following:
134
130
 
135
131
  ```yaml
136
- # yaml-language-server: $schema=https://raw.githubusercontent.com/transcend-io/cli/main/transcend-yml-schema-v4.json
137
-
138
132
  # Manage at: https://app.transcend.io/infrastructure/api-keys
139
133
  # See https://docs.transcend.io/docs/authentication
140
134
  # Define API keys that may be shared across data silos
@@ -508,7 +502,7 @@ The API key needs the following scopes:
508
502
  | debug | Debug logging. | boolean | false | false |
509
503
  | defaultPhoneCountryCode | When uploading phone numbers, if the phone number is missing a country code, assume this country code. Defaults to USA. | string | 1 | false |
510
504
 
511
- ### Usage
505
+ #### Usage
512
506
 
513
507
  ```sh
514
508
  yarn tr-request-upload --auth=$TRANSCEND_API_KEY --file=/Users/transcend/Desktop/test.csv
@@ -615,7 +609,7 @@ The API key needs the following scopes:
615
609
  | copyIdentifiers | Copy over all enriched identifiers from the initial request. Leave false to restart from scratch with initial identifiers only. | boolean | false | false |
616
610
  | skipWaitingPeriod | Skip queued state of request and go straight to compiling | boolean | false | false |
617
611
 
618
- ### Usage
612
+ #### Usage
619
613
 
620
614
  ```sh
621
615
  yarn tr-request-restart --auth=$TRANSCEND_API_KEY --statuses=COMPILING,ENRICHING --actions=ACCESS,ERASURE
@@ -709,7 +703,7 @@ The API key must be associated to the ID of the integration/data silo that is be
709
703
  | sombraAuth | The sombra internal key, use for additional authentication when self-hosting sombra. | string | N/A | false |
710
704
  | pageLimit | The page limit to use when pulling in pages of identifiers. | number | 100 | false |
711
705
 
712
- ### Usage
706
+ #### Usage
713
707
 
714
708
  ```sh
715
709
  yarn tr-cron-pull-identifiers --auth=$TRANSCEND_API_KEY --dataSiloId=70810f2e-cf90-43f6-9776-901a5950599f --requestType=ERASURE
@@ -772,7 +766,7 @@ The API key must be associated to the ID of the integration/data silo that is be
772
766
  | transcendUrl | URL of the Transcend backend. Use https://api.us.transcend.io for US hosting. | string - URL | https://api.transcend.io | false |
773
767
  | sombraAuth | The sombra internal key, use for additional authentication when self-hosting sombra. | string | N/A | false |
774
768
 
775
- ### Usage
769
+ #### Usage
776
770
 
777
771
  ```sh
778
772
  yarn tr-cron-mark-identifiers-completed --auth=$TRANSCEND_API_KEY --dataSiloId=70810f2e-cf90-43f6-9776-901a5950599f
@@ -830,7 +824,7 @@ The API key must have the following scopes:
830
824
  | actions | The set of request actions to pull requests for. | RequestAction[] | [] | false |
831
825
  | concurrency | The concurrency to use when uploading requests in parallel. | number | 100 | false |
832
826
 
833
- ### Usage
827
+ #### Usage
834
828
 
835
829
  ```sh
836
830
  yarn tr-manual-enrichment-push-identifiers --auth=$TRANSCEND_API_KEY
@@ -891,7 +885,7 @@ The API key must have the following scopes:
891
885
  | file | Path to the CSV file where requests will be written to. | string - file-path | ./manual-enrichment-identifiers.csv | false |
892
886
  | concurrency | The concurrency to use when uploading requests in parallel. | number | 100 | false |
893
887
 
894
- ### Usage
888
+ #### Usage
895
889
 
896
890
  ```sh
897
891
  yarn tr-manual-enrichment-push-identifiers --auth=$TRANSCEND_API_KEY --enricherId=27d45a0d-7d03-47fa-9b30-6d697005cfcf
@@ -943,7 +937,7 @@ The API key must have the following scopes:
943
937
  | file | Path to the CSV file where identifiers will be written to. | string - file-path | ./request-identifiers.csv | false |
944
938
  | transcendUrl | URL of the Transcend backend. Use https://api.us.transcend.io for US hosting. | string - URL | https://api.transcend.io | false |
945
939
 
946
- ### Usage
940
+ #### Usage
947
941
 
948
942
  ```sh
949
943
  yarn tr-mark-request-data-silos-completed --auth=$TRANSCEND_API_KEY --dataSiloId=70810f2e-cf90-43f6-9776-901a5950599f
@@ -984,7 +978,7 @@ The API key must have the following scopes:
984
978
  | actions | The [request action](https://docs.transcend.io/docs/privacy-requests/configuring-requests/data-subject-requests#data-actions) to restart. | RequestAction[] | N/A | true |
985
979
  | transcendUrl | URL of the Transcend backend. Use https://api.us.transcend.io for US hosting. | string - URL | https://api.transcend.io | false |
986
980
 
987
- ### Usage
981
+ #### Usage
988
982
 
989
983
  ```sh
990
984
  yarn tr-retry-request-data-silos --auth=$TRANSCEND_API_KEY --dataSiloId=70810f2e-cf90-43f6-9776-901a5950599f --actions=ACCESS
@@ -0,0 +1,52 @@
1
+ import { GraphQLClient } from 'graphql-request';
2
+ import { ConsentTrackerSource, ConsentTrackerStatus } from '@transcend-io/privacy-types';
3
+ export interface Cookie {
4
+ /** ID of the cookie */
5
+ id: string;
6
+ /** Name of the cookie */
7
+ name: string;
8
+ /** Whether cookie is a regular express */
9
+ isRegex: boolean;
10
+ /** Description of cookie */
11
+ description: string;
12
+ /** Enabled tracking purposes for the cookie */
13
+ trackingPurposes: string[];
14
+ /** The consent service */
15
+ service: {
16
+ /** Integration name of service */
17
+ integrationName: string;
18
+ };
19
+ /** Source of how tracker was added */
20
+ source: ConsentTrackerSource;
21
+ /** Status of cookie labeling */
22
+ status: ConsentTrackerStatus;
23
+ /** Owners of that cookie */
24
+ owners: {
25
+ /** Email address of owner */
26
+ email: string;
27
+ }[];
28
+ /** Teams assigned to that cookie */
29
+ teams: {
30
+ /** Name of team */
31
+ name: string;
32
+ }[];
33
+ /** Attributes assigned to that cookie */
34
+ attributeValues: {
35
+ /** Name of attribute value */
36
+ name: string;
37
+ /** Attribute key that the value represents */
38
+ attributeKey: {
39
+ /** Name of attribute team */
40
+ name: string;
41
+ };
42
+ }[];
43
+ }
44
+ /**
45
+ * Fetch all Cookies in the organization
46
+ *
47
+ * @param client - GraphQL client
48
+ * @param status - The status to fetch
49
+ * @returns All Cookies in the organization
50
+ */
51
+ export declare function fetchAllCookies(client: GraphQLClient, status?: ConsentTrackerStatus): Promise<Cookie[]>;
52
+ //# sourceMappingURL=fetchAllCookies.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fetchAllCookies.d.ts","sourceRoot":"","sources":["../../src/graphql/fetchAllCookies.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAIhD,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,6BAA6B,CAAC;AAErC,MAAM,WAAW,MAAM;IACrB,uBAAuB;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,yBAAyB;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,0CAA0C;IAC1C,OAAO,EAAE,OAAO,CAAC;IACjB,4BAA4B;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB,+CAA+C;IAC/C,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAC3B,0BAA0B;IAC1B,OAAO,EAAE;QACP,kCAAkC;QAClC,eAAe,EAAE,MAAM,CAAC;KACzB,CAAC;IACF,sCAAsC;IACtC,MAAM,EAAE,oBAAoB,CAAC;IAC7B,gCAAgC;IAChC,MAAM,EAAE,oBAAoB,CAAC;IAC7B,4BAA4B;IAC5B,MAAM,EAAE;QACN,6BAA6B;QAC7B,KAAK,EAAE,MAAM,CAAC;KACf,EAAE,CAAC;IACJ,oCAAoC;IACpC,KAAK,EAAE;QACL,mBAAmB;QACnB,IAAI,EAAE,MAAM,CAAC;KACd,EAAE,CAAC;IACJ,yCAAyC;IACzC,eAAe,EAAE;QACf,8BAA8B;QAC9B,IAAI,EAAE,MAAM,CAAC;QACb,8CAA8C;QAC9C,YAAY,EAAE;YACZ,6BAA6B;YAC7B,IAAI,EAAE,MAAM,CAAC;SACd,CAAC;KACH,EAAE,CAAC;CACL;AAID;;;;;;GAMG;AACH,wBAAsB,eAAe,CACnC,MAAM,EAAE,aAAa,EACrB,MAAM,uBAA4B,GACjC,OAAO,CAAC,MAAM,EAAE,CAAC,CA8BnB"}
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.fetchAllCookies = void 0;
4
+ const gqls_1 = require("./gqls");
5
+ const makeGraphQLRequest_1 = require("./makeGraphQLRequest");
6
+ const fetchConsentManagerId_1 = require("./fetchConsentManagerId");
7
+ const privacy_types_1 = require("@transcend-io/privacy-types");
8
+ const PAGE_SIZE = 20;
9
+ /**
10
+ * Fetch all Cookies in the organization
11
+ *
12
+ * @param client - GraphQL client
13
+ * @param status - The status to fetch
14
+ * @returns All Cookies in the organization
15
+ */
16
+ async function fetchAllCookies(client, status = privacy_types_1.ConsentTrackerStatus.Live) {
17
+ const cookies = [];
18
+ let offset = 0;
19
+ const airgapBundleId = await (0, fetchConsentManagerId_1.fetchConsentManagerId)(client);
20
+ // Try to fetch an Cookies with the same title
21
+ let shouldContinue = false;
22
+ do {
23
+ const { cookies: { nodes },
24
+ // eslint-disable-next-line no-await-in-loop
25
+ } = await (0, makeGraphQLRequest_1.makeGraphQLRequest)(client, gqls_1.DATA_FLOWS, {
26
+ first: PAGE_SIZE,
27
+ offset,
28
+ airgapBundleId,
29
+ status,
30
+ });
31
+ cookies.push(...nodes);
32
+ offset += PAGE_SIZE;
33
+ shouldContinue = nodes.length === PAGE_SIZE;
34
+ } while (shouldContinue);
35
+ return cookies;
36
+ }
37
+ exports.fetchAllCookies = fetchAllCookies;
38
+ //# sourceMappingURL=fetchAllCookies.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fetchAllCookies.js","sourceRoot":"","sources":["../../src/graphql/fetchAllCookies.ts"],"names":[],"mappings":";;;AACA,iCAAoC;AACpC,6DAA0D;AAC1D,mEAAgE;AAChE,+DAGqC;AA4CrC,MAAM,SAAS,GAAG,EAAE,CAAC;AAErB;;;;;;GAMG;AACI,KAAK,UAAU,eAAe,CACnC,MAAqB,EACrB,MAAM,GAAG,oCAAoB,CAAC,IAAI;IAElC,MAAM,OAAO,GAAa,EAAE,CAAC;IAC7B,IAAI,MAAM,GAAG,CAAC,CAAC;IAEf,MAAM,cAAc,GAAG,MAAM,IAAA,6CAAqB,EAAC,MAAM,CAAC,CAAC;IAE3D,8CAA8C;IAC9C,IAAI,cAAc,GAAG,KAAK,CAAC;IAC3B,GAAG;QACD,MAAM,EACJ,OAAO,EAAE,EAAE,KAAK,EAAE;QAClB,4CAA4C;UAC7C,GAAG,MAAM,IAAA,uCAAkB,EAMzB,MAAM,EAAE,iBAAU,EAAE;YACrB,KAAK,EAAE,SAAS;YAChB,MAAM;YACN,cAAc;YACd,MAAM;SACP,CAAC,CAAC;QACH,OAAO,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,CAAC;QACvB,MAAM,IAAI,SAAS,CAAC;QACpB,cAAc,GAAG,KAAK,CAAC,MAAM,KAAK,SAAS,CAAC;KAC7C,QAAQ,cAAc,EAAE;IAEzB,OAAO,OAAO,CAAC;AACjB,CAAC;AAjCD,0CAiCC"}
@@ -0,0 +1,52 @@
1
+ import { GraphQLClient } from 'graphql-request';
2
+ import { DataFlowScope, ConsentTrackerSource, ConsentTrackerStatus } from '@transcend-io/privacy-types';
3
+ export interface DataFlow {
4
+ /** ID of data flow */
5
+ id: string;
6
+ /** Value of data flow */
7
+ value: string;
8
+ /** Type of data flow */
9
+ type: DataFlowScope;
10
+ /** Description of data flow */
11
+ description: string;
12
+ /** Enabled tracking purposes */
13
+ trackingType: string[];
14
+ /** The consent service */
15
+ service: {
16
+ /** Integration name of service */
17
+ integrationName: string;
18
+ };
19
+ /** Source of how tracker was added */
20
+ source: ConsentTrackerSource;
21
+ /** Status of data flow labeling */
22
+ status: ConsentTrackerStatus;
23
+ /** Owners of that data flow */
24
+ owners: {
25
+ /** Email address of owner */
26
+ email: string;
27
+ }[];
28
+ /** Teams assigned to that data flow */
29
+ teams: {
30
+ /** Name of team */
31
+ name: string;
32
+ }[];
33
+ /** Attributes assigned to that data flow */
34
+ attributeValues: {
35
+ /** Name of attribute value */
36
+ name: string;
37
+ /** Attribute key that the value represents */
38
+ attributeKey: {
39
+ /** Name of attribute team */
40
+ name: string;
41
+ };
42
+ }[];
43
+ }
44
+ /**
45
+ * Fetch all DataFlows in the organization
46
+ *
47
+ * @param client - GraphQL client
48
+ * @param status - The status to fetch
49
+ * @returns All DataFlows in the organization
50
+ */
51
+ export declare function fetchAllDataFlows(client: GraphQLClient, status?: ConsentTrackerStatus): Promise<DataFlow[]>;
52
+ //# sourceMappingURL=fetchAllDataFlows.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fetchAllDataFlows.d.ts","sourceRoot":"","sources":["../../src/graphql/fetchAllDataFlows.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAIhD,OAAO,EACL,aAAa,EACb,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,6BAA6B,CAAC;AAErC,MAAM,WAAW,QAAQ;IACvB,sBAAsB;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,yBAAyB;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,wBAAwB;IACxB,IAAI,EAAE,aAAa,CAAC;IACpB,+BAA+B;IAC/B,WAAW,EAAE,MAAM,CAAC;IACpB,gCAAgC;IAChC,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,0BAA0B;IAC1B,OAAO,EAAE;QACP,kCAAkC;QAClC,eAAe,EAAE,MAAM,CAAC;KACzB,CAAC;IACF,sCAAsC;IACtC,MAAM,EAAE,oBAAoB,CAAC;IAC7B,mCAAmC;IACnC,MAAM,EAAE,oBAAoB,CAAC;IAC7B,+BAA+B;IAC/B,MAAM,EAAE;QACN,6BAA6B;QAC7B,KAAK,EAAE,MAAM,CAAC;KACf,EAAE,CAAC;IACJ,uCAAuC;IACvC,KAAK,EAAE;QACL,mBAAmB;QACnB,IAAI,EAAE,MAAM,CAAC;KACd,EAAE,CAAC;IACJ,4CAA4C;IAC5C,eAAe,EAAE;QACf,8BAA8B;QAC9B,IAAI,EAAE,MAAM,CAAC;QACb,8CAA8C;QAC9C,YAAY,EAAE;YACZ,6BAA6B;YAC7B,IAAI,EAAE,MAAM,CAAC;SACd,CAAC;KACH,EAAE,CAAC;CACL;AAID;;;;;;GAMG;AACH,wBAAsB,iBAAiB,CACrC,MAAM,EAAE,aAAa,EACrB,MAAM,uBAA4B,GACjC,OAAO,CAAC,QAAQ,EAAE,CAAC,CA8BrB"}
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.fetchAllDataFlows = void 0;
4
+ const gqls_1 = require("./gqls");
5
+ const makeGraphQLRequest_1 = require("./makeGraphQLRequest");
6
+ const fetchConsentManagerId_1 = require("./fetchConsentManagerId");
7
+ const privacy_types_1 = require("@transcend-io/privacy-types");
8
+ const PAGE_SIZE = 20;
9
+ /**
10
+ * Fetch all DataFlows in the organization
11
+ *
12
+ * @param client - GraphQL client
13
+ * @param status - The status to fetch
14
+ * @returns All DataFlows in the organization
15
+ */
16
+ async function fetchAllDataFlows(client, status = privacy_types_1.ConsentTrackerStatus.Live) {
17
+ const dataFlows = [];
18
+ let offset = 0;
19
+ const airgapBundleId = await (0, fetchConsentManagerId_1.fetchConsentManagerId)(client);
20
+ // Try to fetch an DataFlow with the same title
21
+ let shouldContinue = false;
22
+ do {
23
+ const { dataFlows: { nodes },
24
+ // eslint-disable-next-line no-await-in-loop
25
+ } = await (0, makeGraphQLRequest_1.makeGraphQLRequest)(client, gqls_1.DATA_FLOWS, {
26
+ first: PAGE_SIZE,
27
+ offset,
28
+ airgapBundleId,
29
+ status,
30
+ });
31
+ dataFlows.push(...nodes);
32
+ offset += PAGE_SIZE;
33
+ shouldContinue = nodes.length === PAGE_SIZE;
34
+ } while (shouldContinue);
35
+ return dataFlows;
36
+ }
37
+ exports.fetchAllDataFlows = fetchAllDataFlows;
38
+ //# sourceMappingURL=fetchAllDataFlows.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fetchAllDataFlows.js","sourceRoot":"","sources":["../../src/graphql/fetchAllDataFlows.ts"],"names":[],"mappings":";;;AACA,iCAAoC;AACpC,6DAA0D;AAC1D,mEAAgE;AAChE,+DAIqC;AA4CrC,MAAM,SAAS,GAAG,EAAE,CAAC;AAErB;;;;;;GAMG;AACI,KAAK,UAAU,iBAAiB,CACrC,MAAqB,EACrB,MAAM,GAAG,oCAAoB,CAAC,IAAI;IAElC,MAAM,SAAS,GAAe,EAAE,CAAC;IACjC,IAAI,MAAM,GAAG,CAAC,CAAC;IAEf,MAAM,cAAc,GAAG,MAAM,IAAA,6CAAqB,EAAC,MAAM,CAAC,CAAC;IAE3D,+CAA+C;IAC/C,IAAI,cAAc,GAAG,KAAK,CAAC;IAC3B,GAAG;QACD,MAAM,EACJ,SAAS,EAAE,EAAE,KAAK,EAAE;QACpB,4CAA4C;UAC7C,GAAG,MAAM,IAAA,uCAAkB,EAMzB,MAAM,EAAE,iBAAU,EAAE;YACrB,KAAK,EAAE,SAAS;YAChB,MAAM;YACN,cAAc;YACd,MAAM;SACP,CAAC,CAAC;QACH,SAAS,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,CAAC;QACzB,MAAM,IAAI,SAAS,CAAC;QACpB,cAAc,GAAG,KAAK,CAAC,MAAM,KAAK,SAAS,CAAC;KAC7C,QAAQ,cAAc,EAAE;IAEzB,OAAO,SAAS,CAAC;AACnB,CAAC;AAjCD,8CAiCC"}
@@ -0,0 +1,9 @@
1
+ import { GraphQLClient } from 'graphql-request';
2
+ /**
3
+ * Fetch consent manager ID
4
+ *
5
+ * @param client - GraphQL client
6
+ * @returns Consent manager ID in organization
7
+ */
8
+ export declare function fetchConsentManagerId(client: GraphQLClient): Promise<string>;
9
+ //# sourceMappingURL=fetchConsentManagerId.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fetchConsentManagerId.d.ts","sourceRoot":"","sources":["../../src/graphql/fetchConsentManagerId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAIhD;;;;;GAKG;AACH,wBAAsB,qBAAqB,CACzC,MAAM,EAAE,aAAa,GACpB,OAAO,CAAC,MAAM,CAAC,CAcjB"}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.fetchConsentManagerId = void 0;
4
+ const gqls_1 = require("./gqls");
5
+ const makeGraphQLRequest_1 = require("./makeGraphQLRequest");
6
+ /**
7
+ * Fetch consent manager ID
8
+ *
9
+ * @param client - GraphQL client
10
+ * @returns Consent manager ID in organization
11
+ */
12
+ async function fetchConsentManagerId(client) {
13
+ const { consentManager: { consentManager }, } = await (0, makeGraphQLRequest_1.makeGraphQLRequest)(client, gqls_1.FETCH_CONSENT_MANAGER);
14
+ return consentManager.id;
15
+ }
16
+ exports.fetchConsentManagerId = fetchConsentManagerId;
17
+ //# sourceMappingURL=fetchConsentManagerId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fetchConsentManagerId.js","sourceRoot":"","sources":["../../src/graphql/fetchConsentManagerId.ts"],"names":[],"mappings":";;;AACA,iCAA+C;AAC/C,6DAA0D;AAE1D;;;;;GAKG;AACI,KAAK,UAAU,qBAAqB,CACzC,MAAqB;IAErB,MAAM,EACJ,cAAc,EAAE,EAAE,cAAc,EAAE,GACnC,GAAG,MAAM,IAAA,uCAAkB,EASzB,MAAM,EAAE,4BAAqB,CAAC,CAAC;IAClC,OAAO,cAAc,CAAC,EAAE,CAAC;AAC3B,CAAC;AAhBD,sDAgBC"}
@@ -1,4 +1,4 @@
1
- import { AttributeValue } from '.';
1
+ import type { DataSiloAttributeValue } from './syncDataSilos';
2
2
  export interface FormattedAttribute {
3
3
  /** Attribute key */
4
4
  key: string;
@@ -11,5 +11,5 @@ export interface FormattedAttribute {
11
11
  * @param vals - Attribute values
12
12
  * @returns formatted attributes
13
13
  */
14
- export declare function formatAttributeValues(vals: AttributeValue[]): FormattedAttribute[];
14
+ export declare function formatAttributeValues(vals: DataSiloAttributeValue[]): FormattedAttribute[];
15
15
  //# sourceMappingURL=formatAttributeValues.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"formatAttributeValues.d.ts","sourceRoot":"","sources":["../../src/graphql/formatAttributeValues.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,GAAG,CAAC;AAEnC,MAAM,WAAW,kBAAkB;IACjC,oBAAoB;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,uBAAuB;IACvB,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB;AAED;;;;;GAKG;AACH,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,cAAc,EAAE,GACrB,kBAAkB,EAAE,CAmBtB"}
1
+ {"version":3,"file":"formatAttributeValues.d.ts","sourceRoot":"","sources":["../../src/graphql/formatAttributeValues.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAE9D,MAAM,WAAW,kBAAkB;IACjC,oBAAoB;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,uBAAuB;IACvB,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB;AAED;;;;;GAKG;AACH,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,sBAAsB,EAAE,GAC7B,kBAAkB,EAAE,CAmBtB"}
@@ -1 +1 @@
1
- {"version":3,"file":"formatAttributeValues.js","sourceRoot":"","sources":["../../src/graphql/formatAttributeValues.ts"],"names":[],"mappings":";;;AASA;;;;;GAKG;AACH,SAAgB,qBAAqB,CACnC,IAAsB;IAEtB,MAAM,UAAU,GAAyB,EAAE,CAAC;IAE5C,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE;QACf,IAAI,QAAQ,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,GAAG,KAAK,GAAG,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;QAE3E,IAAI,QAAQ,KAAK,SAAS,EAAE;YAC1B,QAAQ,GAAG;gBACT,GAAG,EAAE,GAAG,CAAC,YAAY,CAAC,IAAI;gBAC1B,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC;aACnB,CAAC;YACF,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;SAC3B;aAAM;YACL,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;SAChC;QACD,OAAO,UAAU,CAAC;IACpB,CAAC,CAAC,CAAC;IAEH,OAAO,UAAU,CAAC;AACpB,CAAC;AArBD,sDAqBC"}
1
+ {"version":3,"file":"formatAttributeValues.js","sourceRoot":"","sources":["../../src/graphql/formatAttributeValues.ts"],"names":[],"mappings":";;;AASA;;;;;GAKG;AACH,SAAgB,qBAAqB,CACnC,IAA8B;IAE9B,MAAM,UAAU,GAAyB,EAAE,CAAC;IAE5C,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE;QACf,IAAI,QAAQ,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,GAAG,KAAK,GAAG,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;QAE3E,IAAI,QAAQ,KAAK,SAAS,EAAE;YAC1B,QAAQ,GAAG;gBACT,GAAG,EAAE,GAAG,CAAC,YAAY,CAAC,IAAI;gBAC1B,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC;aACnB,CAAC;YACF,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;SAC3B;aAAM;YACL,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;SAChC;QACD,OAAO,UAAU,CAAC;IACpB,CAAC,CAAC,CAAC;IAEH,OAAO,UAAU,CAAC;AACpB,CAAC;AArBD,sDAqBC"}
@@ -0,0 +1,6 @@
1
+ export declare const CREATE_DATA_FLOWS: string;
2
+ export declare const CREATE_COOKIES: string;
3
+ export declare const DATA_FLOWS: string;
4
+ export declare const COOKIES: string;
5
+ export declare const FETCH_CONSENT_MANAGER: string;
6
+ //# sourceMappingURL=consentManager.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"consentManager.d.ts","sourceRoot":"","sources":["../../../src/graphql/gqls/consentManager.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,QAa7B,CAAC;AAEF,eAAO,MAAM,cAAc,QAa1B,CAAC;AACF,eAAO,MAAM,UAAU,QAuCtB,CAAC;AAEF,eAAO,MAAM,OAAO,QAuCnB,CAAC;AAEF,eAAO,MAAM,qBAAqB,QAQjC,CAAC"}
@@ -0,0 +1,122 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FETCH_CONSENT_MANAGER = exports.COOKIES = exports.DATA_FLOWS = exports.CREATE_COOKIES = exports.CREATE_DATA_FLOWS = void 0;
4
+ const graphql_request_1 = require("graphql-request");
5
+ exports.CREATE_DATA_FLOWS = (0, graphql_request_1.gql) `
6
+ mutation TranscendCreateDataFlows(
7
+ $dataFlows: [DataFlowInput!]!
8
+ $airgapBundleId: ID!
9
+ ) {
10
+ createDataFlows(
11
+ input: { airgapBundleId: $airgapBundleId, dataFlows: $dataFlows }
12
+ ) {
13
+ dataFlows {
14
+ id
15
+ }
16
+ }
17
+ }
18
+ `;
19
+ exports.CREATE_COOKIES = (0, graphql_request_1.gql) `
20
+ mutation TranscendCreateCookies(
21
+ $cookies: [CookieInput!]!
22
+ $airgapBundleId: ID!
23
+ ) {
24
+ createCookies(
25
+ input: { airgapBundleId: $airgapBundleId, cookies: $cookies }
26
+ ) {
27
+ dataFlows {
28
+ id
29
+ }
30
+ }
31
+ }
32
+ `;
33
+ exports.DATA_FLOWS = (0, graphql_request_1.gql) `
34
+ query TranscendCliDataFlows(
35
+ $first: Int!
36
+ $airgapBundleId: ID!
37
+ $offset: Int!
38
+ $status: DataFlowStatus
39
+ ) {
40
+ dataFlows(
41
+ first: $first
42
+ offset: $offset
43
+ filterBy: { status: $status }
44
+ input: { airgapBundleId: $airgapBundleId }
45
+ ) {
46
+ nodes {
47
+ id
48
+ value
49
+ type
50
+ description
51
+ trackingType
52
+ service {
53
+ integrationName
54
+ }
55
+ source
56
+ status
57
+ owners {
58
+ email
59
+ }
60
+ teams {
61
+ name
62
+ }
63
+ attributeValues {
64
+ name
65
+ attributeKey {
66
+ name
67
+ }
68
+ }
69
+ }
70
+ }
71
+ }
72
+ `;
73
+ exports.COOKIES = (0, graphql_request_1.gql) `
74
+ query TranscendCliCookies(
75
+ $first: Int!
76
+ $offset: Int!
77
+ $airgapBundleId: ID!
78
+ $status: DataFlowStatus
79
+ ) {
80
+ cookies(
81
+ first: $first
82
+ offset: $offset
83
+ filterBy: { status: $status }
84
+ input: { airgapBundleId: $airgapBundleId }
85
+ ) {
86
+ nodes {
87
+ id
88
+ name
89
+ isRegex
90
+ description
91
+ trackingPurposes
92
+ service {
93
+ integrationName
94
+ }
95
+ source
96
+ status
97
+ owners {
98
+ email
99
+ }
100
+ teams {
101
+ name
102
+ }
103
+ attributeValues {
104
+ name
105
+ attributeKey {
106
+ name
107
+ }
108
+ }
109
+ }
110
+ }
111
+ }
112
+ `;
113
+ exports.FETCH_CONSENT_MANAGER = (0, graphql_request_1.gql) `
114
+ query TranscendFetchConsentManager {
115
+ consentManager {
116
+ consentManager {
117
+ id
118
+ }
119
+ }
120
+ }
121
+ `;
122
+ //# sourceMappingURL=consentManager.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"consentManager.js","sourceRoot":"","sources":["../../../src/graphql/gqls/consentManager.ts"],"names":[],"mappings":";;;AAAA,qDAAsC;AAEzB,QAAA,iBAAiB,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;CAanC,CAAC;AAEW,QAAA,cAAc,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;CAahC,CAAC;AACW,QAAA,UAAU,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuC5B,CAAC;AAEW,QAAA,OAAO,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuCzB,CAAC;AAEW,QAAA,qBAAqB,GAAG,IAAA,qBAAG,EAAA;;;;;;;;CAQvC,CAAC"}
@@ -12,4 +12,5 @@ export * from './request';
12
12
  export * from './RequestIdentifier';
13
13
  export * from './RequestEnricher';
14
14
  export * from './RequestDataSilo';
15
+ export * from './consentManager';
15
16
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/graphql/gqls/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/graphql/gqls/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC"}
@@ -24,4 +24,5 @@ __exportStar(require("./request"), exports);
24
24
  __exportStar(require("./RequestIdentifier"), exports);
25
25
  __exportStar(require("./RequestEnricher"), exports);
26
26
  __exportStar(require("./RequestDataSilo"), exports);
27
+ __exportStar(require("./consentManager"), exports);
27
28
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/graphql/gqls/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,8CAA4B;AAC5B,6CAA2B;AAC3B,6CAA2B;AAC3B,+CAA6B;AAC7B,gDAA8B;AAC9B,2CAAyB;AACzB,kDAAgC;AAChC,6CAA2B;AAC3B,iDAA+B;AAC/B,iDAA+B;AAC/B,4CAA0B;AAC1B,sDAAoC;AACpC,oDAAkC;AAClC,oDAAkC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/graphql/gqls/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,8CAA4B;AAC5B,6CAA2B;AAC3B,6CAA2B;AAC3B,+CAA6B;AAC7B,gDAA8B;AAC9B,2CAAyB;AACzB,kDAAgC;AAChC,6CAA2B;AAC3B,iDAA+B;AAC/B,iDAA+B;AAC/B,4CAA0B;AAC1B,sDAAoC;AACpC,oDAAkC;AAClC,oDAAkC;AAClC,mDAAiC"}
@@ -17,4 +17,7 @@ export * from './fetchAllRequests';
17
17
  export * from './fetchAllRequestIdentifiers';
18
18
  export * from './fetchAllRequestEnrichers';
19
19
  export * from './fetchRequestDataSilo';
20
+ export * from './fetchAllDataFlows';
21
+ export * from './fetchAllCookies';
22
+ export * from './fetchConsentManagerId';
20
23
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/graphql/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,QAAQ,CAAC;AACvB,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/graphql/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,QAAQ,CAAC;AACvB,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC"}
@@ -29,4 +29,7 @@ __exportStar(require("./fetchAllRequests"), exports);
29
29
  __exportStar(require("./fetchAllRequestIdentifiers"), exports);
30
30
  __exportStar(require("./fetchAllRequestEnrichers"), exports);
31
31
  __exportStar(require("./fetchRequestDataSilo"), exports);
32
+ __exportStar(require("./fetchAllDataFlows"), exports);
33
+ __exportStar(require("./fetchAllCookies"), exports);
34
+ __exportStar(require("./fetchConsentManagerId"), exports);
32
35
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/graphql/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+DAA6C;AAC7C,iDAA+B;AAC/B,sDAAoC;AACpC,qDAAmC;AACnC,+DAA6C;AAC7C,iEAA+C;AAC/C,kDAAgC;AAChC,kDAAgC;AAChC,+DAA6C;AAC7C,kDAAgC;AAChC,uDAAqC;AACrC,4DAA0C;AAC1C,gEAA8C;AAC9C,yCAAuB;AACvB,0DAAwC;AACxC,qDAAmC;AACnC,+DAA6C;AAC7C,6DAA2C;AAC3C,yDAAuC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/graphql/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+DAA6C;AAC7C,iDAA+B;AAC/B,sDAAoC;AACpC,qDAAmC;AACnC,+DAA6C;AAC7C,iEAA+C;AAC/C,kDAAgC;AAChC,kDAAgC;AAChC,+DAA6C;AAC7C,kDAAgC;AAChC,uDAAqC;AACrC,4DAA0C;AAC1C,gEAA8C;AAC9C,yCAAuB;AACvB,0DAAwC;AACxC,qDAAmC;AACnC,+DAA6C;AAC7C,6DAA2C;AAC3C,yDAAuC;AACvC,sDAAoC;AACpC,oDAAkC;AAClC,0DAAwC"}
@@ -3,7 +3,7 @@ import { GraphQLClient } from 'graphql-request';
3
3
  import { DataSubject } from './fetchDataSubjects';
4
4
  import { ApiKey } from './fetchApiKeys';
5
5
  import { PromptAVendorEmailCompletionLinkType, PromptAVendorEmailSendType, RequestActionObjectResolver } from '@transcend-io/privacy-types';
6
- export interface AttributeValue {
6
+ export interface DataSiloAttributeValue {
7
7
  /** Key associated to value */
8
8
  attributeKey: {
9
9
  /** Name of key */
@@ -22,7 +22,7 @@ export interface DataSilo {
22
22
  /** The link to the data silo */
23
23
  link: string;
24
24
  /** Attribute labels */
25
- attributeValues: AttributeValue[];
25
+ attributeValues: DataSiloAttributeValue[];
26
26
  /** description */
27
27
  description: string;
28
28
  /** Metadata for this data silo */
@@ -70,7 +70,7 @@ interface SubDataPoint {
70
70
  */
71
71
  erasureRequestRedactionEnabled: boolean;
72
72
  /** Attribute attached to subdatapoint */
73
- attributeValues: AttributeValue[];
73
+ attributeValues: DataSiloAttributeValue[];
74
74
  }
75
75
  interface DataPoint {
76
76
  /** ID of dataPoint */
@@ -227,7 +227,7 @@ export interface DataSiloEnriched {
227
227
  */
228
228
  manualWorkRetryFrequency: string;
229
229
  /** Attribute values tagged to data silo */
230
- attributeValues: AttributeValue[];
230
+ attributeValues: DataSiloAttributeValue[];
231
231
  }
232
232
  /**
233
233
  * Fetch all dataSilos with additional metadata