@transcend-io/cli 6.12.0 → 6.13.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 (43) hide show
  1. package/README.md +86 -42
  2. package/build/cli-pull-ot.d.ts +3 -0
  3. package/build/cli-pull-ot.d.ts.map +1 -0
  4. package/build/cli-pull-ot.js +55 -0
  5. package/build/cli-pull-ot.js.map +1 -0
  6. package/build/codecs.d.ts +0 -2
  7. package/build/codecs.d.ts.map +1 -1
  8. package/build/enums.d.ts +13 -2
  9. package/build/enums.d.ts.map +1 -1
  10. package/build/enums.js +14 -1
  11. package/build/enums.js.map +1 -1
  12. package/build/graphql/fetchAllRequestIdentifiers.d.ts +2 -0
  13. package/build/graphql/fetchAllRequestIdentifiers.d.ts.map +1 -1
  14. package/build/oneTrust/createOneTrustGotInstance.d.ts +14 -0
  15. package/build/oneTrust/createOneTrustGotInstance.d.ts.map +1 -0
  16. package/build/oneTrust/createOneTrustGotInstance.js +23 -0
  17. package/build/oneTrust/createOneTrustGotInstance.js.map +1 -0
  18. package/build/oneTrust/getAssessment.d.ts +15 -0
  19. package/build/oneTrust/getAssessment.d.ts.map +1 -0
  20. package/build/oneTrust/getAssessment.js +15 -0
  21. package/build/oneTrust/getAssessment.js.map +1 -0
  22. package/build/oneTrust/getListOfAssessments.d.ts +13 -0
  23. package/build/oneTrust/getListOfAssessments.d.ts.map +1 -0
  24. package/build/oneTrust/getListOfAssessments.js +34 -0
  25. package/build/oneTrust/getListOfAssessments.js.map +1 -0
  26. package/build/oneTrust/index.d.ts +6 -0
  27. package/build/oneTrust/index.d.ts.map +1 -0
  28. package/build/oneTrust/index.js +22 -0
  29. package/build/oneTrust/index.js.map +1 -0
  30. package/build/oneTrust/parseCliPullOtArguments.d.ts +23 -0
  31. package/build/oneTrust/parseCliPullOtArguments.d.ts.map +1 -0
  32. package/build/oneTrust/parseCliPullOtArguments.js +67 -0
  33. package/build/oneTrust/parseCliPullOtArguments.js.map +1 -0
  34. package/build/oneTrust/types.d.ts +391 -0
  35. package/build/oneTrust/types.d.ts.map +1 -0
  36. package/build/oneTrust/types.js +4 -0
  37. package/build/oneTrust/types.js.map +1 -0
  38. package/build/oneTrust/writeOneTrustAssessment.d.ts +23 -0
  39. package/build/oneTrust/writeOneTrustAssessment.d.ts.map +1 -0
  40. package/build/oneTrust/writeOneTrustAssessment.js +41 -0
  41. package/build/oneTrust/writeOneTrustAssessment.js.map +1 -0
  42. package/build/tsbuildinfo +1 -1
  43. package/package.json +3 -2
package/README.md CHANGED
@@ -12,141 +12,145 @@
12
12
  - [Authentication](#authentication)
13
13
  - [Arguments](#arguments)
14
14
  - [Usage](#usage-1)
15
- - [tr-push](#tr-push)
15
+ - [tr-pull-ot](#tr-pull-ot)
16
16
  - [Authentication](#authentication-1)
17
17
  - [Arguments](#arguments-1)
18
18
  - [Usage](#usage-2)
19
- - [CI Integration](#ci-integration)
20
- - [Dynamic Variables](#dynamic-variables)
21
- - [tr-scan-packages](#tr-scan-packages)
19
+ - [tr-push](#tr-push)
22
20
  - [Authentication](#authentication-2)
23
21
  - [Arguments](#arguments-2)
24
22
  - [Usage](#usage-3)
25
- - [tr-discover-silos](#tr-discover-silos)
23
+ - [CI Integration](#ci-integration)
24
+ - [Dynamic Variables](#dynamic-variables)
25
+ - [tr-scan-packages](#tr-scan-packages)
26
26
  - [Authentication](#authentication-3)
27
27
  - [Arguments](#arguments-3)
28
28
  - [Usage](#usage-4)
29
- - [tr-request-approve](#tr-request-approve)
29
+ - [tr-discover-silos](#tr-discover-silos)
30
30
  - [Authentication](#authentication-4)
31
31
  - [Arguments](#arguments-4)
32
32
  - [Usage](#usage-5)
33
- - [tr-request-cancel](#tr-request-cancel)
33
+ - [tr-request-approve](#tr-request-approve)
34
34
  - [Authentication](#authentication-5)
35
35
  - [Arguments](#arguments-5)
36
36
  - [Usage](#usage-6)
37
- - [tr-request-notify-additional-time](#tr-request-notify-additional-time)
37
+ - [tr-request-cancel](#tr-request-cancel)
38
38
  - [Authentication](#authentication-6)
39
39
  - [Arguments](#arguments-6)
40
40
  - [Usage](#usage-7)
41
- - [tr-request-mark-silent](#tr-request-mark-silent)
41
+ - [tr-request-notify-additional-time](#tr-request-notify-additional-time)
42
42
  - [Authentication](#authentication-7)
43
43
  - [Arguments](#arguments-7)
44
44
  - [Usage](#usage-8)
45
- - [tr-request-upload](#tr-request-upload)
45
+ - [tr-request-mark-silent](#tr-request-mark-silent)
46
46
  - [Authentication](#authentication-8)
47
47
  - [Arguments](#arguments-8)
48
48
  - [Usage](#usage-9)
49
- - [tr-request-restart](#tr-request-restart)
49
+ - [tr-request-upload](#tr-request-upload)
50
50
  - [Authentication](#authentication-9)
51
51
  - [Arguments](#arguments-9)
52
52
  - [Usage](#usage-10)
53
- - [tr-request-enricher-restart](#tr-request-enricher-restart)
53
+ - [tr-request-restart](#tr-request-restart)
54
54
  - [Authentication](#authentication-10)
55
55
  - [Arguments](#arguments-10)
56
56
  - [Usage](#usage-11)
57
- - [tr-request-reject-unverified-identifiers](#tr-request-reject-unverified-identifiers)
57
+ - [tr-request-enricher-restart](#tr-request-enricher-restart)
58
58
  - [Authentication](#authentication-11)
59
59
  - [Arguments](#arguments-11)
60
60
  - [Usage](#usage-12)
61
- - [tr-request-export](#tr-request-export)
61
+ - [tr-request-reject-unverified-identifiers](#tr-request-reject-unverified-identifiers)
62
62
  - [Authentication](#authentication-12)
63
63
  - [Arguments](#arguments-12)
64
64
  - [Usage](#usage-13)
65
- - [tr-cron-pull-identifiers](#tr-cron-pull-identifiers)
65
+ - [tr-request-export](#tr-request-export)
66
66
  - [Authentication](#authentication-13)
67
67
  - [Arguments](#arguments-13)
68
68
  - [Usage](#usage-14)
69
- - [tr-cron-mark-identifiers-completed](#tr-cron-mark-identifiers-completed)
69
+ - [tr-cron-pull-identifiers](#tr-cron-pull-identifiers)
70
70
  - [Authentication](#authentication-14)
71
71
  - [Arguments](#arguments-14)
72
72
  - [Usage](#usage-15)
73
- - [tr-manual-enrichment-pull-identifiers](#tr-manual-enrichment-pull-identifiers)
73
+ - [tr-cron-mark-identifiers-completed](#tr-cron-mark-identifiers-completed)
74
74
  - [Authentication](#authentication-15)
75
75
  - [Arguments](#arguments-15)
76
76
  - [Usage](#usage-16)
77
- - [tr-manual-enrichment-push-identifiers](#tr-manual-enrichment-push-identifiers)
77
+ - [tr-manual-enrichment-pull-identifiers](#tr-manual-enrichment-pull-identifiers)
78
78
  - [Authentication](#authentication-16)
79
79
  - [Arguments](#arguments-16)
80
80
  - [Usage](#usage-17)
81
- - [tr-mark-request-data-silos-completed](#tr-mark-request-data-silos-completed)
81
+ - [tr-manual-enrichment-push-identifiers](#tr-manual-enrichment-push-identifiers)
82
82
  - [Authentication](#authentication-17)
83
83
  - [Arguments](#arguments-17)
84
84
  - [Usage](#usage-18)
85
- - [tr-skip-request-data-silos](#tr-skip-request-data-silos)
85
+ - [tr-mark-request-data-silos-completed](#tr-mark-request-data-silos-completed)
86
86
  - [Authentication](#authentication-18)
87
87
  - [Arguments](#arguments-18)
88
88
  - [Usage](#usage-19)
89
- - [tr-retry-request-data-silos](#tr-retry-request-data-silos)
89
+ - [tr-skip-request-data-silos](#tr-skip-request-data-silos)
90
90
  - [Authentication](#authentication-19)
91
91
  - [Arguments](#arguments-19)
92
92
  - [Usage](#usage-20)
93
- - [tr-update-consent-manager](#tr-update-consent-manager)
93
+ - [tr-retry-request-data-silos](#tr-retry-request-data-silos)
94
94
  - [Authentication](#authentication-20)
95
95
  - [Arguments](#arguments-20)
96
96
  - [Usage](#usage-21)
97
- - [tr-consent-managers-to-business-entities](#tr-consent-managers-to-business-entities)
97
+ - [tr-update-consent-manager](#tr-update-consent-manager)
98
98
  - [Authentication](#authentication-21)
99
99
  - [Arguments](#arguments-21)
100
100
  - [Usage](#usage-22)
101
- - [tr-consent-manager-service-json-to-yml](#tr-consent-manager-service-json-to-yml)
101
+ - [tr-consent-managers-to-business-entities](#tr-consent-managers-to-business-entities)
102
102
  - [Authentication](#authentication-22)
103
103
  - [Arguments](#arguments-22)
104
104
  - [Usage](#usage-23)
105
- - [tr-derive-data-silos-from-data-flows](#tr-derive-data-silos-from-data-flows)
105
+ - [tr-consent-manager-service-json-to-yml](#tr-consent-manager-service-json-to-yml)
106
106
  - [Authentication](#authentication-23)
107
107
  - [Arguments](#arguments-23)
108
108
  - [Usage](#usage-24)
109
- - [tr-derive-data-silos-from-data-flows-cross-instance](#tr-derive-data-silos-from-data-flows-cross-instance)
109
+ - [tr-derive-data-silos-from-data-flows](#tr-derive-data-silos-from-data-flows)
110
110
  - [Authentication](#authentication-24)
111
111
  - [Arguments](#arguments-24)
112
112
  - [Usage](#usage-25)
113
- - [tr-pull-consent-metrics](#tr-pull-consent-metrics)
113
+ - [tr-derive-data-silos-from-data-flows-cross-instance](#tr-derive-data-silos-from-data-flows-cross-instance)
114
114
  - [Authentication](#authentication-25)
115
115
  - [Arguments](#arguments-25)
116
116
  - [Usage](#usage-26)
117
- - [tr-pull-datapoints](#tr-pull-datapoints)
117
+ - [tr-pull-consent-metrics](#tr-pull-consent-metrics)
118
118
  - [Authentication](#authentication-26)
119
119
  - [Arguments](#arguments-26)
120
120
  - [Usage](#usage-27)
121
- - [tr-upload-preferences](#tr-upload-preferences)
121
+ - [tr-pull-datapoints](#tr-pull-datapoints)
122
122
  - [Authentication](#authentication-27)
123
- - [Authentication](#authentication-28)
124
123
  - [Arguments](#arguments-27)
125
124
  - [Usage](#usage-28)
126
- - [tr-upload-consent-preferences](#tr-upload-consent-preferences)
125
+ - [tr-upload-preferences](#tr-upload-preferences)
126
+ - [Authentication](#authentication-28)
127
127
  - [Authentication](#authentication-29)
128
128
  - [Arguments](#arguments-28)
129
129
  - [Usage](#usage-29)
130
- - [tr-pull-consent-preferences](#tr-pull-consent-preferences)
130
+ - [tr-upload-consent-preferences](#tr-upload-consent-preferences)
131
131
  - [Authentication](#authentication-30)
132
132
  - [Arguments](#arguments-29)
133
133
  - [Usage](#usage-30)
134
- - [tr-upload-data-flows-from-csv](#tr-upload-data-flows-from-csv)
134
+ - [tr-pull-consent-preferences](#tr-pull-consent-preferences)
135
135
  - [Authentication](#authentication-31)
136
136
  - [Arguments](#arguments-30)
137
137
  - [Usage](#usage-31)
138
- - [tr-upload-cookies-from-csv](#tr-upload-cookies-from-csv)
138
+ - [tr-upload-data-flows-from-csv](#tr-upload-data-flows-from-csv)
139
139
  - [Authentication](#authentication-32)
140
140
  - [Arguments](#arguments-31)
141
141
  - [Usage](#usage-32)
142
- - [tr-generate-api-keys](#tr-generate-api-keys)
142
+ - [tr-upload-cookies-from-csv](#tr-upload-cookies-from-csv)
143
143
  - [Authentication](#authentication-33)
144
144
  - [Arguments](#arguments-32)
145
145
  - [Usage](#usage-33)
146
- - [tr-build-xdi-sync-endpoint](#tr-build-xdi-sync-endpoint)
146
+ - [tr-generate-api-keys](#tr-generate-api-keys)
147
147
  - [Authentication](#authentication-34)
148
148
  - [Arguments](#arguments-33)
149
149
  - [Usage](#usage-34)
150
+ - [tr-build-xdi-sync-endpoint](#tr-build-xdi-sync-endpoint)
151
+ - [Authentication](#authentication-35)
152
+ - [Arguments](#arguments-34)
153
+ - [Usage](#usage-35)
150
154
  - [Prompt Manager](#prompt-manager)
151
155
  - [Proxy usage](#proxy-usage)
152
156
 
@@ -172,6 +176,7 @@ yarn add -D @transcend-io/cli
172
176
 
173
177
  # cli commands available within package
174
178
  yarn tr-pull --auth=$TRANSCEND_API_KEY
179
+ yarn tr-pull-ot --auth=$ONE_TRUST_OAUTH_TOKEN --hostname=$ONE_TRUST_HOSTNAME --file=$ONE_TRUST_OUTPUT_FILE
175
180
  yarn tr-push --auth=$TRANSCEND_API_KEY
176
181
  yarn tr-scan-packages --auth=$TRANSCEND_API_KEY
177
182
  yarn tr-discover-silos --auth=$TRANSCEND_API_KEY
@@ -212,6 +217,7 @@ npm i -D @transcend-io/cli
212
217
 
213
218
  # cli commands available within package
214
219
  tr-pull --auth=$TRANSCEND_API_KEY
220
+ tr-pull-ot --auth=$ONE_TRUST_OAUTH_TOKEN --hostname=$ONE_TRUST_HOSTNAME --file=$ONE_TRUST_OUTPUT_FILE
215
221
  tr-push --auth=$TRANSCEND_API_KEY
216
222
  tr-scan-packages --auth=$TRANSCEND_API_KEY
217
223
  tr-discover-silos --auth=$TRANSCEND_API_KEY
@@ -571,6 +577,43 @@ tr-pull --auth=./transcend-api-keys.json --resources=consentManager --file=./tra
571
577
 
572
578
  Note: This command will overwrite the existing transcend.yml file that you have locally.
573
579
 
580
+ ### tr-pull-ot
581
+
582
+ Pulls resources from a OneTrust instance. For now, it only supports retrieving OneTrust Assessments. It sends a request to the [Get List of Assessments](https://developer.onetrust.com/onetrust/reference/getallassessmentbasicdetailsusingget) endpoint to fetch a list of all Assessments in your account. Then, it queries the [Get Assessment](https://developer.onetrust.com/onetrust/reference/exportassessmentusingget) and [Get Risk](https://developer.onetrust.com/onetrust/reference/getriskusingget) endpoints to enrich these assessments with more details such as respondents, approvers, assessment questions and responses, and assessment risks. Finally, it syncs the enriched resources to disk in the specified file and format.
583
+
584
+ This command can be helpful if you are looking to:
585
+
586
+ - Pull resources from your OneTrust account.
587
+ - Migrate your resources from your OneTrust account to Transcend.
588
+
589
+ #### Authentication
590
+
591
+ In order to use this command, you will need to generate a OneTrust OAuth Token with scope for accessing the following endpoints:
592
+
593
+ - [GET /v2/assessments](https://developer.onetrust.com/onetrust/reference/getallassessmentbasicdetailsusingget)
594
+ - [GET /v2/assessments/{assessmentId}/export](https://developer.onetrust.com/onetrust/reference/exportassessmentusingget)
595
+ - [GET /risks/{riskId}](https://developer.onetrust.com/onetrust/reference/getriskusingget)
596
+
597
+ To learn how to generate the token, see the [OAuth 2.0 Scopes](https://developer.onetrust.com/onetrust/reference/oauth-20-scopes) and [Generate Access Token](https://developer.onetrust.com/onetrust/reference/getoauthtoken) pages.
598
+
599
+ #### Arguments
600
+
601
+ | Argument | Description | Type | Default | Required |
602
+ | ---------- | ------------------------------------------------------------------------------------------------- | ------- | ----------- | -------- |
603
+ | auth | The OAuth access token with the scopes necessary to access the OneTrust Public APIs. | string | N/A | true |
604
+ | hostname | The domain of the OneTrust environment from which to pull the resource (e.g. trial.onetrust.com). | string | N/A | true |
605
+ | file | Path to the file to pull the resource into. Its format must match the fileFormat argument. | string | N/A | true |
606
+ | fileFormat | The format of the output file. For now, only json is supported. | string | json | false |
607
+ | resource | The resource to pull from OneTrust. For now, only assessments is supported. | string | assessments | false |
608
+ | debug | Whether to print detailed logs in case of error. | boolean | false | false |
609
+
610
+ #### Usage
611
+
612
+ ```sh
613
+ # Writes out file to ./oneTrustAssessments.json
614
+ tr-pull-ot --auth=$ONE_TRUST_OAUTH_TOKEN --hostname=trial.onetrust.com --file=./oneTrustAssessments.json
615
+ ```
616
+
574
617
  ### tr-push
575
618
 
576
619
  Given a transcend.yml file, sync the contents up to your connected services view (https://app.transcend.io/privacy-requests/connected-services).
@@ -792,12 +835,13 @@ The API key needs the following scopes:
792
835
 
793
836
  #### Arguments
794
837
 
795
- | Argument | Description | Type | Default | Required |
796
- | ----------- | ------------------------------------------------------------- | -------- | --------------------------------------------------------- | -------- |
797
- | auth | Transcend API key. | string | N/A | true |
798
- | scanPath | File path in the project to scan. | string | ./ | false |
799
- | ignoreDirs | List of directories to ignore in scan | string[] | [] | false |
800
- | packageName | Name of the git repository that the package should be tied to | string | $(`cd ${scanPath} && git config --get remote.origin.url`) | false |
838
+ | Argument | Description | Type | Default | Required |
839
+ | ------------ | ----------------------------------------------------------------------------- | ------------ | --------------------------------------------------------- | -------- |
840
+ | auth | Transcend API key. | string | N/A | true |
841
+ | scanPath | File path in the project to scan. | string | ./ | false |
842
+ | ignoreDirs | List of directories to ignore in scan | string[] | [] | false |
843
+ | packageName | Name of the git repository that the package should be tied to | string | $(`cd ${scanPath} && git config --get remote.origin.url`) | false |
844
+ | transcendUrl | URL of the Transcend backend. Use https://api.us.transcend.io for US hosting. | string - URL | https://api.transcend.io | false |
801
845
 
802
846
  #### Usage
803
847
 
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ export {};
3
+ //# sourceMappingURL=cli-pull-ot.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cli-pull-ot.d.ts","sourceRoot":"","sources":["../src/cli-pull-ot.ts"],"names":[],"mappings":""}
@@ -0,0 +1,55 @@
1
+ #!/usr/bin/env node
2
+ "use strict";
3
+ var __importDefault = (this && this.__importDefault) || function (mod) {
4
+ return (mod && mod.__esModule) ? mod : { "default": mod };
5
+ };
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ const logger_1 = require("./logger");
8
+ const colors_1 = __importDefault(require("colors"));
9
+ const oneTrust_1 = require("./oneTrust");
10
+ const enums_1 = require("./enums");
11
+ const bluebird_1 = require("bluebird");
12
+ /**
13
+ * Pull configuration from OneTrust down locally to disk
14
+ *
15
+ * Dev Usage:
16
+ * yarn ts-node ./src/cli-pull-ot.ts --hostname=customer.my.onetrust.com --auth=$ONE_TRUST_OAUTH_TOKEN --file=./oneTrustAssessment.json
17
+ *
18
+ * Standard usage
19
+ * yarn cli-pull-ot --hostname=customer.my.onetrust.com --auth=$ONE_TRUST_OAUTH_TOKEN --file=./oneTrustAssessment.json
20
+ */
21
+ async function main() {
22
+ const { file, fileFormat, hostname, auth, resource, debug } = (0, oneTrust_1.parseCliPullOtArguments)();
23
+ try {
24
+ if (resource === enums_1.OneTrustPullResource.Assessments) {
25
+ // use the hostname and auth token to instantiate a client to talk to OneTrust
26
+ const oneTrust = (0, oneTrust_1.createOneTrustGotInstance)({ hostname, auth });
27
+ // fetch the list of all assessments in the OneTrust organization
28
+ const assessments = await (0, oneTrust_1.getListOfAssessments)({ oneTrust });
29
+ // fetch details about one assessment at a time and sync to disk right away to avoid running out of memory
30
+ await (0, bluebird_1.mapSeries)(assessments, async (assessment, index) => {
31
+ logger_1.logger.info(`Fetching details about assessment ${index + 1} of ${assessments.length}...`);
32
+ const assessmentDetails = await (0, oneTrust_1.getAssessment)({
33
+ oneTrust,
34
+ assessmentId: assessment.assessmentId,
35
+ });
36
+ (0, oneTrust_1.writeOneTrustAssessment)({
37
+ assessment,
38
+ assessmentDetails,
39
+ index,
40
+ total: assessments.length,
41
+ file,
42
+ fileFormat,
43
+ });
44
+ });
45
+ }
46
+ }
47
+ catch (err) {
48
+ logger_1.logger.error(colors_1.default.red(`An error occurred pulling the resource ${resource} from OneTrust: ${debug ? err.stack : err.message}`));
49
+ process.exit(1);
50
+ }
51
+ // Indicate success
52
+ logger_1.logger.info(colors_1.default.green(`Successfully synced OneTrust ${resource} to disk at "${file}"!`));
53
+ }
54
+ main();
55
+ //# sourceMappingURL=cli-pull-ot.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cli-pull-ot.js","sourceRoot":"","sources":["../src/cli-pull-ot.ts"],"names":[],"mappings":";;;;;;AACA,qCAAkC;AAClC,oDAA4B;AAC5B,yCAMoB;AACpB,mCAA+C;AAC/C,uCAAqC;AAErC;;;;;;;;GAQG;AACH,KAAK,UAAU,IAAI;IACjB,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,GACzD,IAAA,kCAAuB,GAAE,CAAC;IAE5B,IAAI;QACF,IAAI,QAAQ,KAAK,4BAAoB,CAAC,WAAW,EAAE;YACjD,8EAA8E;YAC9E,MAAM,QAAQ,GAAG,IAAA,oCAAyB,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;YAE/D,iEAAiE;YACjE,MAAM,WAAW,GAAG,MAAM,IAAA,+BAAoB,EAAC,EAAE,QAAQ,EAAE,CAAC,CAAC;YAE7D,0GAA0G;YAC1G,MAAM,IAAA,oBAAS,EAAC,WAAW,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,EAAE;gBACvD,eAAM,CAAC,IAAI,CACT,qCAAqC,KAAK,GAAG,CAAC,OAC5C,WAAW,CAAC,MACd,KAAK,CACN,CAAC;gBACF,MAAM,iBAAiB,GAAG,MAAM,IAAA,wBAAa,EAAC;oBAC5C,QAAQ;oBACR,YAAY,EAAE,UAAU,CAAC,YAAY;iBACtC,CAAC,CAAC;gBAEH,IAAA,kCAAuB,EAAC;oBACtB,UAAU;oBACV,iBAAiB;oBACjB,KAAK;oBACL,KAAK,EAAE,WAAW,CAAC,MAAM;oBACzB,IAAI;oBACJ,UAAU;iBACX,CAAC,CAAC;YACL,CAAC,CAAC,CAAC;SACJ;KACF;IAAC,OAAO,GAAG,EAAE;QACZ,eAAM,CAAC,KAAK,CACV,gBAAM,CAAC,GAAG,CACR,0CAA0C,QAAQ,mBAChD,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,OAC1B,EAAE,CACH,CACF,CAAC;QACF,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;KACjB;IAED,mBAAmB;IACnB,eAAM,CAAC,IAAI,CACT,gBAAM,CAAC,KAAK,CACV,gCAAgC,QAAQ,gBAAgB,IAAI,IAAI,CACjE,CACF,CAAC;AACJ,CAAC;AAED,IAAI,EAAE,CAAC"}
package/build/codecs.d.ts CHANGED
@@ -113,7 +113,6 @@ export declare const TeamInput: t.IntersectionC<[t.TypeC<{
113
113
  viewScopes: unknown;
114
114
  viewSSO: unknown;
115
115
  viewEmployees: unknown;
116
- viewOptOutStatus: unknown;
117
116
  viewDataInventory: unknown;
118
117
  manageDataInventory: unknown;
119
118
  manageGlobalAttributes: unknown;
@@ -48473,7 +48472,6 @@ export declare const TranscendInput: t.PartialC<{
48473
48472
  viewScopes: unknown;
48474
48473
  viewSSO: unknown;
48475
48474
  viewEmployees: unknown;
48476
- viewOptOutStatus: unknown;
48477
48475
  viewDataInventory: unknown;
48478
48476
  manageDataInventory: unknown;
48479
48477
  manageGlobalAttributes: unknown;