@transcend-io/cli 4.26.1 → 4.26.3

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 (51) hide show
  1. package/README.md +17 -23
  2. package/build/graphql/fetchAllAttributes.d.ts +57 -0
  3. package/build/graphql/fetchAllAttributes.d.ts.map +1 -0
  4. package/build/graphql/fetchAllAttributes.js +78 -0
  5. package/build/graphql/fetchAllAttributes.js.map +1 -0
  6. package/build/graphql/fetchAllCookies.d.ts +52 -0
  7. package/build/graphql/fetchAllCookies.d.ts.map +1 -0
  8. package/build/graphql/fetchAllCookies.js +38 -0
  9. package/build/graphql/fetchAllCookies.js.map +1 -0
  10. package/build/graphql/fetchAllDataFlows.d.ts +52 -0
  11. package/build/graphql/fetchAllDataFlows.d.ts.map +1 -0
  12. package/build/graphql/fetchAllDataFlows.js +38 -0
  13. package/build/graphql/fetchAllDataFlows.js.map +1 -0
  14. package/build/graphql/fetchConsentManagerId.d.ts +9 -0
  15. package/build/graphql/fetchConsentManagerId.d.ts.map +1 -0
  16. package/build/graphql/fetchConsentManagerId.js +17 -0
  17. package/build/graphql/fetchConsentManagerId.js.map +1 -0
  18. package/build/graphql/formatAttributeValues.d.ts +2 -2
  19. package/build/graphql/formatAttributeValues.d.ts.map +1 -1
  20. package/build/graphql/formatAttributeValues.js.map +1 -1
  21. package/build/graphql/gqls/attribute.d.ts +6 -0
  22. package/build/graphql/gqls/attribute.d.ts.map +1 -0
  23. package/build/graphql/gqls/attribute.js +104 -0
  24. package/build/graphql/gqls/attribute.js.map +1 -0
  25. package/build/graphql/gqls/consentManager.d.ts +6 -0
  26. package/build/graphql/gqls/consentManager.d.ts.map +1 -0
  27. package/build/graphql/gqls/consentManager.js +122 -0
  28. package/build/graphql/gqls/consentManager.js.map +1 -0
  29. package/build/graphql/gqls/index.d.ts +2 -0
  30. package/build/graphql/gqls/index.d.ts.map +1 -1
  31. package/build/graphql/gqls/index.js +2 -0
  32. package/build/graphql/gqls/index.js.map +1 -1
  33. package/build/graphql/index.d.ts +4 -0
  34. package/build/graphql/index.d.ts.map +1 -1
  35. package/build/graphql/index.js +4 -0
  36. package/build/graphql/index.js.map +1 -1
  37. package/build/graphql/syncDataSilos.d.ts +4 -4
  38. package/build/graphql/syncDataSilos.d.ts.map +1 -1
  39. package/build/requests/mapCsvRowsToRequestInputs.d.ts +2 -2
  40. package/build/requests/mapCsvRowsToRequestInputs.d.ts.map +1 -1
  41. package/build/requests/mapCsvRowsToRequestInputs.js.map +1 -1
  42. package/build/requests/parseAttributesFromString.d.ts +2 -2
  43. package/build/requests/parseAttributesFromString.d.ts.map +1 -1
  44. package/build/requests/submitPrivacyRequest.d.ts +3 -2
  45. package/build/requests/submitPrivacyRequest.d.ts.map +1 -1
  46. package/build/tmp-attribute-key.d.ts +52 -0
  47. package/build/tmp-attribute-key.d.ts.map +1 -0
  48. package/build/tmp-attribute-key.js +46 -0
  49. package/build/tmp-attribute-key.js.map +1 -0
  50. package/build/tsbuildinfo +1 -1
  51. 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,57 @@
1
+ import { GraphQLClient } from 'graphql-request';
2
+ import { AttributeKeyType } from '@transcend-io/privacy-types';
3
+ export interface AttributeValue {
4
+ /** Attribute ID */
5
+ id: string;
6
+ /** Attribute name */
7
+ name: string;
8
+ /** Color of attribute value */
9
+ color: string;
10
+ }
11
+ export interface Attribute {
12
+ /** ID of attribute */
13
+ id: string;
14
+ /** Name of attribute */
15
+ name: string;
16
+ /** if custom attribute */
17
+ isCustom: boolean;
18
+ /** Description */
19
+ description: string;
20
+ /** Type of attribute */
21
+ type: AttributeKeyType;
22
+ /** Values */
23
+ values: AttributeValue[];
24
+ /** Enabled on data silos */
25
+ enabledOnDataSilos: boolean;
26
+ /** Enabled on data requests */
27
+ enabledOnRequests: boolean;
28
+ /** Enabled on sub datapoints */
29
+ enabledOnSubDataPoints: boolean;
30
+ /** Enabled on airgap cookies */
31
+ enabledOnAirgapCookies: boolean;
32
+ /** Enabled on data flows */
33
+ enabledOnAirgapDataFlows: boolean;
34
+ /** Enabled on business entities */
35
+ enabledOnBusinessEntities: boolean;
36
+ /** Enabled on data sub categories */
37
+ enabledOnDataSubCategories: boolean;
38
+ /** Enabled on processing purposes */
39
+ enabledOnProcessingPurposeSubCategories: boolean;
40
+ }
41
+ /**
42
+ * Fetch all attribute values for an attribute key
43
+ *
44
+ * @param client - GraphQL client
45
+ * @param attributeKeyId - Attribute keyID
46
+ * @returns A map from apiKey title to Identifier
47
+ */
48
+ export declare function fetchAllAttributeValues(client: GraphQLClient, attributeKeyId: string): Promise<AttributeValue[]>;
49
+ export declare const SYNC_ATTRIBUTE_TYPES: AttributeKeyType[];
50
+ /**
51
+ * Fetch all attributes in an organization
52
+ *
53
+ * @param client - GraphQL client
54
+ * @returns A map from apiKey title to Identifier
55
+ */
56
+ export declare function fetchAllAttributes(client: GraphQLClient): Promise<Attribute[]>;
57
+ //# sourceMappingURL=fetchAllAttributes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fetchAllAttributes.d.ts","sourceRoot":"","sources":["../../src/graphql/fetchAllAttributes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAKhD,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAG/D,MAAM,WAAW,cAAc;IAC7B,mBAAmB;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,qBAAqB;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,+BAA+B;IAC/B,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,SAAS;IACxB,sBAAsB;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,wBAAwB;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,0BAA0B;IAC1B,QAAQ,EAAE,OAAO,CAAC;IAClB,kBAAkB;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,wBAAwB;IACxB,IAAI,EAAE,gBAAgB,CAAC;IACvB,aAAa;IACb,MAAM,EAAE,cAAc,EAAE,CAAC;IAEzB,4BAA4B;IAC5B,kBAAkB,EAAE,OAAO,CAAC;IAC5B,+BAA+B;IAC/B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,gCAAgC;IAChC,sBAAsB,EAAE,OAAO,CAAC;IAChC,gCAAgC;IAChC,sBAAsB,EAAE,OAAO,CAAC;IAChC,4BAA4B;IAC5B,wBAAwB,EAAE,OAAO,CAAC;IAClC,mCAAmC;IACnC,yBAAyB,EAAE,OAAO,CAAC;IACnC,qCAAqC;IACrC,0BAA0B,EAAE,OAAO,CAAC;IACpC,qCAAqC;IACrC,uCAAuC,EAAE,OAAO,CAAC;CAClD;AAID;;;;;;GAMG;AACH,wBAAsB,uBAAuB,CAC3C,MAAM,EAAE,aAAa,EACrB,cAAc,EAAE,MAAM,GACrB,OAAO,CAAC,cAAc,EAAE,CAAC,CA8B3B;AAED,eAAO,MAAM,oBAAoB,oBAGhC,CAAC;AAEF;;;;;GAKG;AACH,wBAAsB,kBAAkB,CACtC,MAAM,EAAE,aAAa,GACpB,OAAO,CAAC,SAAS,EAAE,CAAC,CAqCtB"}
@@ -0,0 +1,78 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.fetchAllAttributes = exports.SYNC_ATTRIBUTE_TYPES = exports.fetchAllAttributeValues = void 0;
7
+ const gqls_1 = require("./gqls");
8
+ const logger_1 = require("../logger");
9
+ const colors_1 = __importDefault(require("colors"));
10
+ const privacy_types_1 = require("@transcend-io/privacy-types");
11
+ const makeGraphQLRequest_1 = require("./makeGraphQLRequest");
12
+ const PAGE_SIZE = 20;
13
+ /**
14
+ * Fetch all attribute values for an attribute key
15
+ *
16
+ * @param client - GraphQL client
17
+ * @param attributeKeyId - Attribute keyID
18
+ * @returns A map from apiKey title to Identifier
19
+ */
20
+ async function fetchAllAttributeValues(client, attributeKeyId) {
21
+ logger_1.logger.info(colors_1.default.magenta(`Fetching all attribute values for ${attributeKeyId}...`));
22
+ const attributeValues = [];
23
+ let offset = 0;
24
+ // Paginate
25
+ let shouldContinue = false;
26
+ do {
27
+ const { attributeValues: { nodes },
28
+ // eslint-disable-next-line no-await-in-loop
29
+ } = await (0, makeGraphQLRequest_1.makeGraphQLRequest)(client, gqls_1.ATTRIBUTE_VALUES, {
30
+ first: PAGE_SIZE,
31
+ offset,
32
+ attributeKeyId,
33
+ });
34
+ attributeValues.push(...nodes);
35
+ offset += PAGE_SIZE;
36
+ shouldContinue = nodes.length === PAGE_SIZE;
37
+ } while (shouldContinue);
38
+ return attributeValues;
39
+ }
40
+ exports.fetchAllAttributeValues = fetchAllAttributeValues;
41
+ exports.SYNC_ATTRIBUTE_TYPES = [
42
+ privacy_types_1.AttributeKeyType.MultiSelect,
43
+ privacy_types_1.AttributeKeyType.SingleSelect,
44
+ ];
45
+ /**
46
+ * Fetch all attributes in an organization
47
+ *
48
+ * @param client - GraphQL client
49
+ * @returns A map from apiKey title to Identifier
50
+ */
51
+ async function fetchAllAttributes(client) {
52
+ logger_1.logger.info(colors_1.default.magenta('Fetching all attributes...'));
53
+ const attributes = [];
54
+ let offset = 0;
55
+ // Paginate
56
+ let shouldContinue = false;
57
+ do {
58
+ const { attributeKeys: { nodes },
59
+ // eslint-disable-next-line no-await-in-loop
60
+ } = await (0, makeGraphQLRequest_1.makeGraphQLRequest)(client, gqls_1.ATTRIBUTES, {
61
+ first: PAGE_SIZE,
62
+ offset,
63
+ });
64
+ attributes.push(
65
+ // eslint-disable-next-line no-await-in-loop
66
+ ...(await Promise.all(nodes.map(async (node) => ({
67
+ ...node,
68
+ values: exports.SYNC_ATTRIBUTE_TYPES.includes(node.type)
69
+ ? await fetchAllAttributeValues(client, node.id)
70
+ : [],
71
+ })))));
72
+ offset += PAGE_SIZE;
73
+ shouldContinue = nodes.length === PAGE_SIZE;
74
+ } while (shouldContinue);
75
+ return attributes;
76
+ }
77
+ exports.fetchAllAttributes = fetchAllAttributes;
78
+ //# sourceMappingURL=fetchAllAttributes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fetchAllAttributes.js","sourceRoot":"","sources":["../../src/graphql/fetchAllAttributes.ts"],"names":[],"mappings":";;;;;;AACA,iCAAsD;AAEtD,sCAAmC;AACnC,oDAA4B;AAC5B,+DAA+D;AAC/D,6DAA0D;AA2C1D,MAAM,SAAS,GAAG,EAAE,CAAC;AAErB;;;;;;GAMG;AACI,KAAK,UAAU,uBAAuB,CAC3C,MAAqB,EACrB,cAAsB;IAEtB,eAAM,CAAC,IAAI,CACT,gBAAM,CAAC,OAAO,CAAC,qCAAqC,cAAc,KAAK,CAAC,CACzE,CAAC;IACF,MAAM,eAAe,GAAqB,EAAE,CAAC;IAC7C,IAAI,MAAM,GAAG,CAAC,CAAC;IAEf,WAAW;IACX,IAAI,cAAc,GAAG,KAAK,CAAC;IAC3B,GAAG;QACD,MAAM,EACJ,eAAe,EAAE,EAAE,KAAK,EAAE;QAC1B,4CAA4C;UAC7C,GAAG,MAAM,IAAA,uCAAkB,EAMzB,MAAM,EAAE,uBAAgB,EAAE;YAC3B,KAAK,EAAE,SAAS;YAChB,MAAM;YACN,cAAc;SACf,CAAC,CAAC;QACH,eAAe,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,CAAC;QAC/B,MAAM,IAAI,SAAS,CAAC;QACpB,cAAc,GAAG,KAAK,CAAC,MAAM,KAAK,SAAS,CAAC;KAC7C,QAAQ,cAAc,EAAE;IAEzB,OAAO,eAAe,CAAC;AACzB,CAAC;AAjCD,0DAiCC;AAEY,QAAA,oBAAoB,GAAG;IAClC,gCAAgB,CAAC,WAAW;IAC5B,gCAAgB,CAAC,YAAY;CAC9B,CAAC;AAEF;;;;;GAKG;AACI,KAAK,UAAU,kBAAkB,CACtC,MAAqB;IAErB,eAAM,CAAC,IAAI,CAAC,gBAAM,CAAC,OAAO,CAAC,4BAA4B,CAAC,CAAC,CAAC;IAC1D,MAAM,UAAU,GAAgB,EAAE,CAAC;IACnC,IAAI,MAAM,GAAG,CAAC,CAAC;IAEf,WAAW;IACX,IAAI,cAAc,GAAG,KAAK,CAAC;IAC3B,GAAG;QACD,MAAM,EACJ,aAAa,EAAE,EAAE,KAAK,EAAE;QACxB,4CAA4C;UAC7C,GAAG,MAAM,IAAA,uCAAkB,EAMzB,MAAM,EAAE,iBAAU,EAAE;YACrB,KAAK,EAAE,SAAS;YAChB,MAAM;SACP,CAAC,CAAC;QACH,UAAU,CAAC,IAAI;QACb,4CAA4C;QAC5C,GAAG,CAAC,MAAM,OAAO,CAAC,GAAG,CACnB,KAAK,CAAC,GAAG,CAAC,KAAK,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC;YACzB,GAAG,IAAI;YACP,MAAM,EAAE,4BAAoB,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC;gBAC9C,CAAC,CAAC,MAAM,uBAAuB,CAAC,MAAM,EAAE,IAAI,CAAC,EAAE,CAAC;gBAChD,CAAC,CAAC,EAAE;SACP,CAAC,CAAC,CACJ,CAAC,CACH,CAAC;QACF,MAAM,IAAI,SAAS,CAAC;QACpB,cAAc,GAAG,KAAK,CAAC,MAAM,KAAK,SAAS,CAAC;KAC7C,QAAQ,cAAc,EAAE;IAEzB,OAAO,UAAU,CAAC;AACpB,CAAC;AAvCD,gDAuCC"}
@@ -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 ATTRIBUTES: string;
2
+ export declare const CREATE_ATTRIBUTE_VALUES: string;
3
+ export declare const ATTRIBUTE_VALUES: string;
4
+ export declare const CREATE_ATTRIBUTE: string;
5
+ export declare const UPDATE_ATTRIBUTE: string;
6
+ //# sourceMappingURL=attribute.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attribute.d.ts","sourceRoot":"","sources":["../../../src/graphql/gqls/attribute.ts"],"names":[],"mappings":"AAkBA,eAAO,MAAM,UAAU,QAatB,CAAC;AAEF,eAAO,MAAM,uBAAuB,QAQnC,CAAC;AAEF,eAAO,MAAM,gBAAgB,QAkB5B,CAAC;AAEF,eAAO,MAAM,gBAAgB,QAqB5B,CAAC;AAEF,eAAO,MAAM,gBAAgB,QAmB5B,CAAC"}