@transcend-io/privacy-types 4.88.0 → 4.90.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.
package/build/scopes.js CHANGED
@@ -113,30 +113,22 @@ var ScopeType;
113
113
  */
114
114
  var TranscendProduct;
115
115
  (function (TranscendProduct) {
116
- /** Used in the privacy requests product */
117
- TranscendProduct["PrivacyRequests"] = "PRIVACY_REQUESTS";
118
- /** Data Mapping product */
119
- TranscendProduct["DataMapping"] = "DATA_MAPPING";
120
- /** Consent Manager product */
121
- TranscendProduct["ConsentManager"] = "CONSENT_MANAGER";
122
- /** Privacy center */
116
+ TranscendProduct["DsrAutomation"] = "DSR_AUTOMATION";
117
+ TranscendProduct["DataInventory"] = "DATA_INVENTORY";
118
+ TranscendProduct["ConsentManagement"] = "CONSENT_MANAGEMENT";
123
119
  TranscendProduct["PrivacyCenter"] = "PRIVACY_CENTER";
124
- /** Administration and access control */
125
- TranscendProduct["Admin"] = "ADMIN";
126
- /** Assessments Product */
120
+ TranscendProduct["Administration"] = "ADMINISTRATION";
127
121
  TranscendProduct["Assessments"] = "ASSESSMENTS";
128
- /** Sombra. */
129
- TranscendProduct["Sombra"] = "SOMBRA";
130
- /** Prompt Manager */
131
- TranscendProduct["PromptManager"] = "PROMPT_MANAGER";
132
- /** Auditor */
133
- TranscendProduct["Auditor"] = "AUDITOR";
134
- /** Contract Scanning */
135
- TranscendProduct["ContractScanning"] = "CONTRACT_SCANNING";
136
- /** Pathfinder */
137
122
  TranscendProduct["Pathfinder"] = "PATHFINDER";
138
- /** The preference store */
139
- TranscendProduct["PreferenceStore"] = "PREFERENCE_STORE";
123
+ TranscendProduct["PreferenceManagement"] = "PREFERENCE_MANAGEMENT";
124
+ TranscendProduct["PromptManagement"] = "PROMPT_MANAGER";
125
+ TranscendProduct["ContractScanning"] = "CONTRACT_SCANNING";
126
+ TranscendProduct["WebAuditor"] = "WEB_AUDITOR";
127
+ TranscendProduct["Sombra"] = "SOMBRA";
128
+ TranscendProduct["SiloDiscovery"] = "SILO_DISCOVERY";
129
+ TranscendProduct["StructuredDiscovery"] = "STRUCTURED_DISCOVERY";
130
+ TranscendProduct["UnstructuredDiscovery"] = "UNSTRUCTURED_DISCOVERY";
131
+ TranscendProduct["DataLineage"] = "DATA_LINEAGE";
140
132
  })(TranscendProduct || (exports.TranscendProduct = TranscendProduct = {}));
141
133
  /**
142
134
  * The action scope definitions
@@ -147,14 +139,25 @@ const SCOPES_WITHOUT_VIEW_ONLY = {
147
139
  description: 'Full administrative access. All scopes are granted.',
148
140
  title: 'Full Admin',
149
141
  type: ScopeType.Modify,
150
- products: [TranscendProduct.Admin],
142
+ products: (0, type_utils_1.getValues)(TranscendProduct),
151
143
  },
152
144
  [ScopeName.ManageSombraRootKeys]: {
153
145
  dependencies: [],
154
146
  description: 'Ability to perform a key rotation on the encryption keys used within your account.',
155
147
  title: 'Rotate Hosted Sombra keys',
156
148
  type: ScopeType.Modify,
157
- products: [TranscendProduct.Admin],
149
+ products: [
150
+ TranscendProduct.DsrAutomation,
151
+ TranscendProduct.DataInventory,
152
+ TranscendProduct.ConsentManagement,
153
+ TranscendProduct.StructuredDiscovery,
154
+ TranscendProduct.Administration,
155
+ TranscendProduct.Assessments,
156
+ TranscendProduct.Pathfinder,
157
+ TranscendProduct.PromptManagement,
158
+ TranscendProduct.WebAuditor,
159
+ TranscendProduct.ContractScanning,
160
+ ],
158
161
  },
159
162
  [ScopeName.ManageGlobalAttributes]: {
160
163
  dependencies: [ScopeName.ViewGlobalAttributes],
@@ -163,70 +166,90 @@ const SCOPES_WITHOUT_VIEW_ONLY = {
163
166
  'Under the infrastructure tab, manage your custom attributes and select which views those attributes should display in.',
164
167
  title: 'Manage Global Attributes',
165
168
  type: ScopeType.Modify,
166
- products: [TranscendProduct.Admin],
169
+ products: [
170
+ TranscendProduct.DsrAutomation,
171
+ TranscendProduct.DataInventory,
172
+ TranscendProduct.ConsentManagement,
173
+ TranscendProduct.StructuredDiscovery,
174
+ TranscendProduct.Administration,
175
+ TranscendProduct.Assessments,
176
+ TranscendProduct.Pathfinder,
177
+ TranscendProduct.PromptManagement,
178
+ TranscendProduct.WebAuditor,
179
+ TranscendProduct.ContractScanning,
180
+ ],
167
181
  },
168
182
  [ScopeName.ManageAccessControl]: {
169
183
  dependencies: [ScopeName.ViewEmployees, ScopeName.ViewScopes],
170
184
  description: 'Manage what employees in your organization can access within Transcend.',
171
185
  title: 'Manage Access Controls',
172
186
  type: ScopeType.Modify,
173
- products: [TranscendProduct.Admin],
187
+ products: [TranscendProduct.Administration],
174
188
  },
175
189
  [ScopeName.ManageBilling]: {
176
190
  dependencies: [],
177
191
  description: 'Manage billing details for your organization.',
178
192
  title: 'Manage Billing',
179
193
  type: ScopeType.Modify,
180
- products: [TranscendProduct.Admin],
194
+ products: [TranscendProduct.Administration],
181
195
  },
182
196
  [ScopeName.ManageSSO]: {
183
197
  dependencies: [ScopeName.ViewSSO],
184
198
  description: 'Manage SSO configuration for members of your organization.',
185
199
  title: 'Manage SSO',
186
200
  type: ScopeType.Modify,
187
- products: [TranscendProduct.Admin],
201
+ products: [TranscendProduct.Administration],
188
202
  },
189
203
  [ScopeName.ManageApiKeys]: {
190
204
  dependencies: [ScopeName.ViewApiKeys],
191
205
  description: 'Create, update and delete API keys for programmatic access to your Transcend organization.',
192
206
  title: 'Manage API Keys',
193
207
  type: ScopeType.Modify,
194
- products: [TranscendProduct.Admin],
208
+ products: [TranscendProduct.Administration],
195
209
  },
196
210
  [ScopeName.ManageOrganizationInfo]: {
197
211
  dependencies: [],
198
212
  description: 'Edit the top-level organization settings details.',
199
213
  title: 'Manage Organization Information',
200
214
  type: ScopeType.Modify,
201
- products: [TranscendProduct.Admin],
215
+ products: [TranscendProduct.Administration],
202
216
  },
203
217
  [ScopeName.ManageEmailDomains]: {
204
218
  dependencies: [ScopeName.ViewEmailDomains],
205
219
  description: 'Manage the domains from which Transcend can send emails on behalf of your organization.',
206
220
  title: 'Manage Email Domains',
207
221
  type: ScopeType.Modify,
208
- products: [TranscendProduct.Admin],
222
+ products: [
223
+ TranscendProduct.Administration,
224
+ TranscendProduct.DsrAutomation,
225
+ TranscendProduct.PrivacyCenter,
226
+ TranscendProduct.Assessments,
227
+ ],
209
228
  },
210
229
  [ScopeName.ViewCustomerDataPrivacyRequests]: {
211
230
  dependencies: [],
212
231
  description: 'Give permissions for an employee to view the data in an access request.',
213
232
  title: 'View Customer Data in Privacy Requests',
214
233
  type: ScopeType.View,
215
- products: [TranscendProduct.Admin, TranscendProduct.PrivacyRequests],
234
+ products: [TranscendProduct.Administration, TranscendProduct.DsrAutomation],
216
235
  },
217
236
  [ScopeName.ViewCustomerDataDataMapping]: {
218
237
  dependencies: [],
219
238
  description: 'Give permissions for an employee to view the sampled data in the data mapping product.',
220
239
  title: 'View Customer Data in Data Mapping',
221
240
  type: ScopeType.View,
222
- products: [TranscendProduct.Admin, TranscendProduct.DataMapping],
241
+ products: [
242
+ TranscendProduct.Administration,
243
+ TranscendProduct.StructuredDiscovery,
244
+ TranscendProduct.UnstructuredDiscovery,
245
+ ],
223
246
  },
224
247
  [ScopeName.ViewApiKeys]: {
225
248
  dependencies: [],
226
249
  description: 'View the API keys on your account and see what scopes are assigned to them.',
227
250
  title: 'View API Keys',
228
251
  type: ScopeType.View,
229
- products: [TranscendProduct.Admin],
252
+ products: [TranscendProduct.Administration],
230
253
  },
231
254
  [ScopeName.ViewAuditEvents]: {
232
255
  dependencies: [],
@@ -235,21 +258,21 @@ const SCOPES_WITHOUT_VIEW_ONLY = {
235
258
  'View any audit events made throughout the platform. This includes any of the "Audit Trail" tabs across the Admin Dashboard.',
236
259
  title: 'View Audit Events',
237
260
  type: ScopeType.View,
238
- products: [TranscendProduct.Admin],
261
+ products: [TranscendProduct.Administration],
239
262
  },
240
263
  [ScopeName.ViewSSO]: {
241
264
  dependencies: [],
242
265
  description: 'View the SSO configuration for your organization.',
243
266
  title: 'View SSO',
244
267
  type: ScopeType.View,
245
- products: [TranscendProduct.Admin],
268
+ products: [TranscendProduct.Administration],
246
269
  },
247
270
  [ScopeName.ViewScopes]: {
248
271
  dependencies: [ScopeName.ViewEmployees],
249
272
  description: 'View the potential access control scopes that can be assigned to members in the organization.',
250
273
  title: 'View Scopes',
251
274
  type: ScopeType.View,
252
- products: [TranscendProduct.Admin],
275
+ products: [TranscendProduct.Administration],
253
276
  },
254
277
  [ScopeName.ViewAllActionItems]: {
255
278
  dependencies: [],
@@ -257,7 +280,7 @@ const SCOPES_WITHOUT_VIEW_ONLY = {
257
280
  'This is necessary when querying API keys via the API.',
258
281
  title: 'View All Action Items',
259
282
  type: ScopeType.View,
260
- products: [TranscendProduct.Admin],
283
+ products: [TranscendProduct.Administration],
261
284
  },
262
285
  [ScopeName.ManageAllActionItems]: {
263
286
  dependencies: [
@@ -268,63 +291,79 @@ const SCOPES_WITHOUT_VIEW_ONLY = {
268
291
  'This is necessary when querying API keys via the API.',
269
292
  title: 'Manage All Action Items',
270
293
  type: ScopeType.Modify,
271
- products: [TranscendProduct.Admin],
294
+ products: [TranscendProduct.Administration],
272
295
  },
273
296
  [ScopeName.ViewEmployees]: {
274
297
  dependencies: [],
275
298
  description: 'View the list of employees within your organization.',
276
299
  title: 'View Employees',
277
300
  type: ScopeType.View,
278
- products: [TranscendProduct.Admin],
301
+ products: [TranscendProduct.Administration],
279
302
  },
280
303
  [ScopeName.ViewEmailDomains]: {
281
304
  dependencies: [],
282
305
  description: 'View the domains from which Transcend can send emails on behalf of your organization.',
283
306
  title: 'View Email Domains',
284
307
  type: ScopeType.View,
285
- products: [TranscendProduct.Admin],
308
+ products: [
309
+ TranscendProduct.Administration,
310
+ TranscendProduct.DsrAutomation,
311
+ TranscendProduct.PrivacyCenter,
312
+ TranscendProduct.Assessments,
313
+ ],
286
314
  },
287
315
  [ScopeName.ViewGlobalAttributes]: {
288
316
  dependencies: [],
289
317
  description: 'View the attribute definition key/value pairs.',
290
318
  title: 'View Global Attributes',
291
319
  type: ScopeType.View,
292
- products: [TranscendProduct.Admin],
320
+ products: [
321
+ TranscendProduct.DsrAutomation,
322
+ TranscendProduct.DataInventory,
323
+ TranscendProduct.ConsentManagement,
324
+ TranscendProduct.StructuredDiscovery,
325
+ TranscendProduct.Administration,
326
+ TranscendProduct.Assessments,
327
+ TranscendProduct.Pathfinder,
328
+ TranscendProduct.PromptManagement,
329
+ TranscendProduct.WebAuditor,
330
+ TranscendProduct.ContractScanning,
331
+ ],
293
332
  },
294
333
  [ScopeName.ViewLegalHold]: {
295
334
  dependencies: [],
296
335
  description: 'View the individuals that have been placed on legal holds.',
297
336
  title: 'View Legal Hold',
298
337
  type: ScopeType.View,
299
- products: [TranscendProduct.PrivacyRequests],
338
+ products: [TranscendProduct.DsrAutomation],
300
339
  },
301
340
  [ScopeName.ManageLegalHold]: {
302
341
  dependencies: [ScopeName.ViewLegalHold],
303
342
  description: 'Manage and edit the individuals that have been placed on legal holds.',
304
343
  title: 'Manage Legal Holds',
305
344
  type: ScopeType.Modify,
306
- products: [TranscendProduct.PrivacyRequests],
345
+ products: [TranscendProduct.DsrAutomation],
307
346
  },
308
347
  [ScopeName.ManageRequestSecurity]: {
309
348
  dependencies: [],
310
349
  description: 'ReSign expired request encryption contexts, and data silo contexts.',
311
350
  title: 'Manage Request Security',
312
351
  type: ScopeType.Modify,
313
- products: [TranscendProduct.Admin, TranscendProduct.PrivacyRequests],
352
+ products: [TranscendProduct.Administration, TranscendProduct.DsrAutomation],
314
353
  },
315
354
  [ScopeName.ManageRequestCompilation]: {
316
355
  dependencies: [ScopeName.ViewRequests, ScopeName.ViewRequestCompilation],
317
356
  description: 'Make changes to the compilation process of a request. This involves changing the status of data silos in your Data Map, as well as editing profiles and files.', // eslint-disable-line max-len
318
357
  title: 'Manage Request Compilation',
319
358
  type: ScopeType.Modify,
320
- products: [TranscendProduct.PrivacyRequests],
359
+ products: [TranscendProduct.DsrAutomation],
321
360
  },
322
361
  [ScopeName.ManageAssignedRequests]: {
323
362
  dependencies: [ScopeName.ViewAssignedRequests],
324
363
  description: 'Make changes to the compilation process of a request for requests assigned to your or your team. This involves changing the status of data silos in your Data Map, as well as editing profiles and files.', // eslint-disable-line max-len
325
364
  title: 'Manage Assigned Privacy Requests',
326
365
  type: ScopeType.Modify,
327
- products: [TranscendProduct.PrivacyRequests],
366
+ products: [TranscendProduct.DsrAutomation],
328
367
  },
329
368
  [ScopeName.MakeDataSubjectRequest]: {
330
369
  dependencies: [
@@ -334,55 +373,59 @@ const SCOPES_WITHOUT_VIEW_ONLY = {
334
373
  description: 'Submit a new privacy requests.',
335
374
  title: 'Submit New Data Subject Request',
336
375
  type: ScopeType.Modify,
337
- products: [TranscendProduct.PrivacyRequests],
376
+ products: [TranscendProduct.DsrAutomation],
338
377
  },
339
378
  [ScopeName.ManageDataSubjectRequestSettings]: {
340
379
  dependencies: [ScopeName.ViewDataSubjectRequestSettings],
341
380
  description: 'Make changes to the request actions that your organization allows, as well as what data subjects you will serve.',
342
381
  title: 'Manage Data Subject Request Settings',
343
382
  type: ScopeType.Modify,
344
- products: [TranscendProduct.PrivacyRequests],
383
+ products: [TranscendProduct.DsrAutomation],
345
384
  },
346
385
  [ScopeName.ManageEmailTemplates]: {
347
386
  dependencies: [ScopeName.ViewEmailTemplates],
348
387
  description: 'Manage the email communication templates that your organization uses to communicate with your data subjects.',
349
388
  title: 'Manage Email Templates',
350
389
  type: ScopeType.Modify,
351
- products: [TranscendProduct.PrivacyRequests],
390
+ products: [
391
+ TranscendProduct.DsrAutomation,
392
+ TranscendProduct.PrivacyCenter,
393
+ TranscendProduct.Assessments,
394
+ ],
352
395
  },
353
396
  [ScopeName.ManageRequestIdentities]: {
354
397
  dependencies: [ScopeName.ViewRequestIdentitySettings],
355
398
  description: 'Manage how your organization will verify the identities of new privacy requests, and how that identity will be enriched for all of your data silos to lookup that person.', // eslint-disable-line max-len
356
399
  title: 'Manage Request Identity Verification',
357
400
  type: ScopeType.Modify,
358
- products: [TranscendProduct.PrivacyRequests],
401
+ products: [TranscendProduct.DsrAutomation],
359
402
  },
360
403
  [ScopeName.DeployPrivacyCenter]: {
361
404
  dependencies: [ScopeName.ManagePrivacyCenter],
362
405
  description: 'Launch the Privacy Center on your own domain, and publish new changes.',
363
406
  title: 'Publish Privacy Center',
364
407
  type: ScopeType.Modify,
365
- products: [
366
- TranscendProduct.PrivacyRequests,
367
- TranscendProduct.PrivacyCenter,
368
- ],
408
+ products: [TranscendProduct.PrivacyCenter],
369
409
  },
370
410
  [ScopeName.ManageDataMap]: {
371
411
  dependencies: [ScopeName.ViewDataMap],
372
412
  description: 'Edit the configurations on your data silos and determine what information should be included in a request.',
373
413
  title: 'Manage Data Map',
374
414
  type: ScopeType.Modify,
375
- products: [TranscendProduct.PrivacyRequests, TranscendProduct.DataMapping],
415
+ products: [
416
+ TranscendProduct.DsrAutomation,
417
+ TranscendProduct.DataInventory,
418
+ TranscendProduct.StructuredDiscovery,
419
+ TranscendProduct.SiloDiscovery,
420
+ TranscendProduct.UnstructuredDiscovery,
421
+ ],
376
422
  },
377
423
  [ScopeName.ManagePrivacyCenter]: {
378
424
  dependencies: [ScopeName.ViewPrivacyCenter, ScopeName.ManagePolicies],
379
425
  description: 'Make changes to the privacy center configuration and policies.',
380
426
  title: 'Manage Privacy Center Layout',
381
427
  type: ScopeType.Modify,
382
- products: [
383
- TranscendProduct.PrivacyRequests,
384
- TranscendProduct.PrivacyCenter,
385
- ],
428
+ products: [TranscendProduct.PrivacyCenter],
386
429
  },
387
430
  [ScopeName.ManagePolicies]: {
388
431
  dependencies: [ScopeName.ViewPolicies],
@@ -403,14 +446,20 @@ const SCOPES_WITHOUT_VIEW_ONLY = {
403
446
  description: 'Manage the internationalization messages used in the privacy center.',
404
447
  title: 'Manage Internationalization Messages',
405
448
  type: ScopeType.Modify,
406
- products: [TranscendProduct.PrivacyCenter, TranscendProduct.ConsentManager],
449
+ products: [
450
+ TranscendProduct.PrivacyCenter,
451
+ TranscendProduct.ConsentManagement,
452
+ ],
407
453
  },
408
454
  [ScopeName.ViewIntlMessages]: {
409
455
  dependencies: [],
410
456
  description: 'View the internationalization messages used in the privacy center.',
411
457
  title: 'View Internationalization Messages',
412
458
  type: ScopeType.View,
413
- products: [TranscendProduct.PrivacyCenter, TranscendProduct.ConsentManager],
459
+ products: [
460
+ TranscendProduct.PrivacyCenter,
461
+ TranscendProduct.ConsentManagement,
462
+ ],
414
463
  },
415
464
  [ScopeName.RequestApproval]: {
416
465
  dependencies: [
@@ -421,28 +470,28 @@ const SCOPES_WITHOUT_VIEW_ONLY = {
421
470
  description: 'The ability to approve and manage the state of privacy requests, and communicate with the data subject.',
422
471
  title: 'Request Approval and Communication',
423
472
  type: ScopeType.Modify,
424
- products: [TranscendProduct.PrivacyRequests],
473
+ products: [TranscendProduct.DsrAutomation],
425
474
  },
426
475
  [ScopeName.ViewDataSubjectRequestSettings]: {
427
476
  dependencies: [],
428
477
  description: 'View the privacy request actions settings and data subject categories that your organization supports.',
429
478
  title: 'View Data Subject Request Settings',
430
479
  type: ScopeType.View,
431
- products: [TranscendProduct.PrivacyRequests],
480
+ products: [TranscendProduct.DsrAutomation],
432
481
  },
433
482
  [ScopeName.ViewRequestCompilation]: {
434
483
  dependencies: [ScopeName.ViewRequests],
435
484
  description: 'View the status of requests as they compile across your Data Map.',
436
485
  title: 'View the Request Compilation',
437
486
  type: ScopeType.View,
438
- products: [TranscendProduct.PrivacyRequests],
487
+ products: [TranscendProduct.DsrAutomation],
439
488
  },
440
489
  [ScopeName.ViewRequestIdentitySettings]: {
441
490
  dependencies: [],
442
491
  description: 'View the settings for data subject request identity verification.',
443
492
  title: 'View Identity Verification Settings',
444
493
  type: ScopeType.View,
445
- products: [TranscendProduct.PrivacyRequests],
494
+ products: [TranscendProduct.DsrAutomation],
446
495
  },
447
496
  [ScopeName.ViewRequests]: {
448
497
  dependencies: [
@@ -453,7 +502,7 @@ const SCOPES_WITHOUT_VIEW_ONLY = {
453
502
  description: 'View the stream of incoming requests, and any details submit through the form or later enriched.',
454
503
  title: 'View Incoming Requests',
455
504
  type: ScopeType.View,
456
- products: [TranscendProduct.PrivacyRequests],
505
+ products: [TranscendProduct.DsrAutomation],
457
506
  },
458
507
  [ScopeName.ViewAssignedRequests]: {
459
508
  dependencies: [
@@ -466,17 +515,14 @@ const SCOPES_WITHOUT_VIEW_ONLY = {
466
515
  'View the stream of incoming requests assigned to you and your team. You will be able to see any request details submitted through the form or later enriched.',
467
516
  title: 'View Assigned Privacy Requests',
468
517
  type: ScopeType.View,
469
- products: [TranscendProduct.PrivacyRequests],
518
+ products: [TranscendProduct.DsrAutomation],
470
519
  },
471
520
  [ScopeName.ViewPrivacyCenter]: {
472
521
  dependencies: [],
473
522
  description: 'View the full configuration of the privacy center.',
474
523
  title: 'View Privacy Center Layout',
475
524
  type: ScopeType.View,
476
- products: [
477
- TranscendProduct.PrivacyRequests,
478
- TranscendProduct.PrivacyCenter,
479
- ],
525
+ products: [TranscendProduct.PrivacyCenter],
480
526
  },
481
527
  [ScopeName.ViewEmailTemplates]: {
482
528
  dependencies: [],
@@ -484,8 +530,9 @@ const SCOPES_WITHOUT_VIEW_ONLY = {
484
530
  title: 'View Email Templates',
485
531
  type: ScopeType.View,
486
532
  products: [
487
- TranscendProduct.PrivacyRequests,
533
+ TranscendProduct.DsrAutomation,
488
534
  TranscendProduct.PrivacyCenter,
535
+ TranscendProduct.Assessments,
489
536
  ],
490
537
  },
491
538
  [ScopeName.ConnectDataSilos]: {
@@ -496,7 +543,12 @@ const SCOPES_WITHOUT_VIEW_ONLY = {
496
543
  ],
497
544
  description: 'Connect new data silos to your Data Map.',
498
545
  title: 'Connect Data Silos',
499
- products: [TranscendProduct.PrivacyRequests, TranscendProduct.DataMapping],
546
+ products: [
547
+ TranscendProduct.DsrAutomation,
548
+ TranscendProduct.SiloDiscovery,
549
+ TranscendProduct.StructuredDiscovery,
550
+ TranscendProduct.UnstructuredDiscovery,
551
+ ],
500
552
  type: ScopeType.Modify,
501
553
  },
502
554
  [ScopeName.ManageDataInventory]: {
@@ -506,35 +558,63 @@ const SCOPES_WITHOUT_VIEW_ONLY = {
506
558
  'Ability to manage and edit everything in the data mapping product. Includes the data inventory, ROPE, and content classification views.',
507
559
  title: 'Manage Data Inventory',
508
560
  type: ScopeType.Modify,
509
- products: [TranscendProduct.DataMapping],
561
+ products: [
562
+ TranscendProduct.DataInventory,
563
+ TranscendProduct.StructuredDiscovery,
564
+ TranscendProduct.SiloDiscovery,
565
+ TranscendProduct.UnstructuredDiscovery,
566
+ ],
510
567
  },
511
568
  [ScopeName.ManageAssignedDataInventory]: {
512
569
  dependencies: [ScopeName.ViewAssignedDataInventory],
513
570
  description: "Manage the data inventory rows in your organization's Data Map that are assigned to you or your team.",
514
571
  title: 'Manage Assigned Data Inventory',
515
572
  type: ScopeType.Modify,
516
- products: [TranscendProduct.DataMapping],
573
+ products: [
574
+ TranscendProduct.DataInventory,
575
+ TranscendProduct.StructuredDiscovery,
576
+ TranscendProduct.SiloDiscovery,
577
+ TranscendProduct.UnstructuredDiscovery,
578
+ ],
517
579
  },
518
580
  [ScopeName.ManageAssignedIntegrations]: {
519
581
  dependencies: [ScopeName.ViewAssignedIntegrations],
520
582
  description: "Manage the integrations in your organization's Data Map that are assigned to you or your team.",
521
583
  title: 'Manage Assigned Integrations',
522
584
  type: ScopeType.Modify,
523
- products: [TranscendProduct.PrivacyRequests, TranscendProduct.DataMapping],
585
+ products: [
586
+ TranscendProduct.DsrAutomation,
587
+ TranscendProduct.DataInventory,
588
+ TranscendProduct.StructuredDiscovery,
589
+ TranscendProduct.SiloDiscovery,
590
+ TranscendProduct.UnstructuredDiscovery,
591
+ ],
524
592
  },
525
593
  [ScopeName.ViewDataMap]: {
526
594
  dependencies: [ScopeName.ViewGlobalAttributes],
527
595
  description: "View your organization's Data Map and see the configuration settings for each action your support.",
528
596
  title: 'View Data Map',
529
597
  type: ScopeType.View,
530
- products: [TranscendProduct.PrivacyRequests, TranscendProduct.DataMapping],
598
+ products: [
599
+ TranscendProduct.DsrAutomation,
600
+ TranscendProduct.DataInventory,
601
+ TranscendProduct.StructuredDiscovery,
602
+ TranscendProduct.SiloDiscovery,
603
+ TranscendProduct.UnstructuredDiscovery,
604
+ ],
531
605
  },
532
606
  [ScopeName.ViewAssignedIntegrations]: {
533
607
  dependencies: [ScopeName.ViewGlobalAttributes],
534
608
  description: "View the integrations in your organization's Data Map that are assigned to you or your team.",
535
609
  title: 'View Assigned Integrations',
536
610
  type: ScopeType.View,
537
- products: [TranscendProduct.PrivacyRequests, TranscendProduct.DataMapping],
611
+ products: [
612
+ TranscendProduct.DsrAutomation,
613
+ TranscendProduct.DataInventory,
614
+ TranscendProduct.StructuredDiscovery,
615
+ TranscendProduct.SiloDiscovery,
616
+ TranscendProduct.UnstructuredDiscovery,
617
+ ],
538
618
  },
539
619
  [ScopeName.ViewAssignedDataInventory]: {
540
620
  dependencies: [
@@ -544,7 +624,12 @@ const SCOPES_WITHOUT_VIEW_ONLY = {
544
624
  description: 'Ability to view the resources in the data mapping product that are assigned to your or your team.',
545
625
  title: 'View Assigned Data Inventory',
546
626
  type: ScopeType.View,
547
- products: [TranscendProduct.DataMapping],
627
+ products: [
628
+ TranscendProduct.DataInventory,
629
+ TranscendProduct.StructuredDiscovery,
630
+ TranscendProduct.SiloDiscovery,
631
+ TranscendProduct.UnstructuredDiscovery,
632
+ ],
548
633
  },
549
634
  [ScopeName.ViewDataInventory]: {
550
635
  dependencies: [
@@ -557,7 +642,12 @@ const SCOPES_WITHOUT_VIEW_ONLY = {
557
642
  'Ability to view all of the data mapping product. Includes the data inventory, ROPA, and content classification views.',
558
643
  title: 'View Data Inventory',
559
644
  type: ScopeType.View,
560
- products: [TranscendProduct.DataMapping],
645
+ products: [
646
+ TranscendProduct.DataInventory,
647
+ TranscendProduct.StructuredDiscovery,
648
+ TranscendProduct.SiloDiscovery,
649
+ TranscendProduct.UnstructuredDiscovery,
650
+ ],
561
651
  },
562
652
  [ScopeName.ManageConsentManager]: {
563
653
  dependencies: [
@@ -572,7 +662,7 @@ const SCOPES_WITHOUT_VIEW_ONLY = {
572
662
  description: 'Manage & deploy the consent manager changes to your websites.',
573
663
  title: 'Manage Consent Manager',
574
664
  type: ScopeType.Modify,
575
- products: [TranscendProduct.ConsentManager],
665
+ products: [TranscendProduct.ConsentManagement],
576
666
  },
577
667
  [ScopeName.ManageConsentManagerDeveloperSettings]: {
578
668
  dependencies: [ScopeName.ViewConsentManager],
@@ -580,14 +670,14 @@ const SCOPES_WITHOUT_VIEW_ONLY = {
580
670
  'This does not allow for clicking the "Set Changes Live" button.',
581
671
  title: 'Manage Consent Manager Developer Settings',
582
672
  type: ScopeType.Modify,
583
- products: [TranscendProduct.ConsentManager],
673
+ products: [TranscendProduct.ConsentManagement],
584
674
  },
585
675
  [ScopeName.ManageConsentManagerDisplaySettings]: {
586
676
  dependencies: [ScopeName.ViewConsentManager],
587
677
  description: 'Manage the display settings for the consent manager. This includes messages, styles and other UI settings.',
588
678
  title: 'Manage Consent Manager Display Settings',
589
679
  type: ScopeType.Modify,
590
- products: [TranscendProduct.ConsentManager],
680
+ products: [TranscendProduct.ConsentManagement],
591
681
  },
592
682
  [ScopeName.DeployTestConsentManager]: {
593
683
  dependencies: [ScopeName.ViewConsentManager],
@@ -596,7 +686,7 @@ const SCOPES_WITHOUT_VIEW_ONLY = {
596
686
  'Ability to publish changes to the test Consent Manager bundle. This changes the code contents of airgap.js and attempts to invalidate the CDN.',
597
687
  title: 'Deploy Test Consent Manager',
598
688
  type: ScopeType.Modify,
599
- products: [TranscendProduct.ConsentManager],
689
+ products: [TranscendProduct.ConsentManagement],
600
690
  },
601
691
  [ScopeName.DeployConsentManager]: {
602
692
  dependencies: [
@@ -608,21 +698,21 @@ const SCOPES_WITHOUT_VIEW_ONLY = {
608
698
  'Ability to publish changes to the production and test Consent Manager bundle. This changes the code contents of airgap.js and attempts to invalidate the CDN.',
609
699
  title: 'Deploy Consent Manager',
610
700
  type: ScopeType.Modify,
611
- products: [TranscendProduct.ConsentManager],
701
+ products: [TranscendProduct.ConsentManagement],
612
702
  },
613
703
  [ScopeName.ManageAssignedConsentManager]: {
614
704
  dependencies: [ScopeName.ViewAssignedConsentManager],
615
705
  description: 'Manage Data Flows & Cookies assigned to you or your team.',
616
706
  title: 'Manage Assigned Consent Manager',
617
707
  type: ScopeType.Modify,
618
- products: [TranscendProduct.ConsentManager],
708
+ products: [TranscendProduct.ConsentManagement],
619
709
  },
620
710
  [ScopeName.ManageDataFlow]: {
621
711
  dependencies: [ScopeName.ViewDataFlow],
622
712
  description: 'Ability to manage and delete Data Flows and Cookies within the Consent Manager product.',
623
713
  title: 'Manage Data Flows',
624
714
  type: ScopeType.Modify,
625
- products: [TranscendProduct.ConsentManager],
715
+ products: [TranscendProduct.ConsentManagement],
626
716
  },
627
717
  [ScopeName.ViewOptOutStatus]: {
628
718
  dependencies: [],
@@ -630,8 +720,8 @@ const SCOPES_WITHOUT_VIEW_ONLY = {
630
720
  title: 'View Opt Out Status',
631
721
  type: ScopeType.View,
632
722
  products: [
633
- TranscendProduct.PrivacyRequests,
634
- TranscendProduct.ConsentManager,
723
+ TranscendProduct.DsrAutomation,
724
+ TranscendProduct.ConsentManagement,
635
725
  ],
636
726
  },
637
727
  [ScopeName.ViewDataFlow]: {
@@ -639,14 +729,14 @@ const SCOPES_WITHOUT_VIEW_ONLY = {
639
729
  description: 'View Data Flows (tracking purpose maps, site scans)',
640
730
  title: 'View Data Flows',
641
731
  type: ScopeType.View,
642
- products: [TranscendProduct.ConsentManager],
732
+ products: [TranscendProduct.ConsentManagement],
643
733
  },
644
734
  [ScopeName.ViewAssignedConsentManager]: {
645
735
  dependencies: [ScopeName.ViewGlobalAttributes],
646
736
  description: 'View Data Flows and Cookies assigned to you or your team.',
647
737
  title: 'View Assigned Consent Manager',
648
738
  type: ScopeType.View,
649
- products: [TranscendProduct.ConsentManager],
739
+ products: [TranscendProduct.ConsentManagement],
650
740
  },
651
741
  [ScopeName.ViewConsentManager]: {
652
742
  title: 'View Consent Manager',
@@ -656,42 +746,42 @@ const SCOPES_WITHOUT_VIEW_ONLY = {
656
746
  ScopeName.ViewManagedConsentDatabaseAdminApi,
657
747
  ],
658
748
  description: 'View the consent manager configuration.',
659
- products: [TranscendProduct.ConsentManager],
749
+ products: [TranscendProduct.ConsentManagement],
660
750
  },
661
751
  [ScopeName.ViewAssessments]: {
662
752
  title: 'View Assessments',
663
753
  dependencies: [],
664
754
  description: 'View the assessments and assessment templates.',
665
755
  type: ScopeType.View,
666
- products: [TranscendProduct.Assessments, TranscendProduct.DataMapping],
756
+ products: [TranscendProduct.Assessments, TranscendProduct.DataInventory],
667
757
  },
668
758
  [ScopeName.ManageAssessments]: {
669
759
  title: 'Manage Assessments',
670
760
  dependencies: [ScopeName.ViewAssessments],
671
761
  description: 'Manage and edit assessments and assessment templates',
672
762
  type: ScopeType.Modify,
673
- products: [TranscendProduct.Assessments, TranscendProduct.DataMapping],
763
+ products: [TranscendProduct.Assessments, TranscendProduct.DataInventory],
674
764
  },
675
765
  [ScopeName.ViewAssignedAssessments]: {
676
766
  title: 'View Assigned Assessments',
677
767
  dependencies: [],
678
768
  description: 'View the assigned assessments forms.',
679
769
  type: ScopeType.View,
680
- products: [TranscendProduct.Assessments, TranscendProduct.DataMapping],
770
+ products: [TranscendProduct.Assessments, TranscendProduct.DataInventory],
681
771
  },
682
772
  [ScopeName.ManageAssignedAssessments]: {
683
773
  title: 'Manage Assigned Assessments',
684
774
  dependencies: [ScopeName.ViewAssignedAssessments],
685
775
  description: 'Manage and edit the assigned assessments.',
686
776
  type: ScopeType.Modify,
687
- products: [TranscendProduct.Assessments, TranscendProduct.DataMapping],
777
+ products: [TranscendProduct.Assessments, TranscendProduct.DataInventory],
688
778
  },
689
779
  [ScopeName.ApproveAssessments]: {
690
780
  title: 'Approve Assessments',
691
781
  dependencies: [ScopeName.ViewAssessments],
692
782
  description: 'Approve the assessments and assessment templates',
693
783
  type: ScopeType.Modify,
694
- products: [TranscendProduct.Assessments, TranscendProduct.DataMapping],
784
+ products: [TranscendProduct.Assessments, TranscendProduct.DataInventory],
695
785
  },
696
786
  [ScopeName.ViewPathfinder]: {
697
787
  title: 'View Pathfinder',
@@ -726,84 +816,90 @@ const SCOPES_WITHOUT_VIEW_ONLY = {
726
816
  dependencies: [ScopeName.ViewGlobalAttributes],
727
817
  description: 'View the prompts and prompt templates.',
728
818
  type: ScopeType.View,
729
- products: [TranscendProduct.PromptManager],
819
+ products: [TranscendProduct.PromptManagement],
730
820
  },
731
821
  [ScopeName.ManagePrompts]: {
732
822
  title: 'Manage Prompts',
733
823
  dependencies: [ScopeName.ViewPrompts],
734
824
  description: 'Manage and edit prompts and prompt templates',
735
825
  type: ScopeType.Modify,
736
- products: [TranscendProduct.PromptManager],
826
+ products: [TranscendProduct.PromptManagement],
737
827
  },
738
828
  [ScopeName.ViewPromptRuns]: {
739
829
  title: 'View Prompt Runs',
740
830
  dependencies: [ScopeName.ViewPrompts],
741
831
  description: 'View the output run results for prompts.',
742
832
  type: ScopeType.View,
743
- products: [TranscendProduct.PromptManager],
833
+ products: [TranscendProduct.PromptManagement],
744
834
  },
745
835
  [ScopeName.ManagePromptRuns]: {
746
836
  title: 'Manage Prompt Runs',
747
837
  dependencies: [ScopeName.ViewPromptRuns, ScopeName.ViewPrompts],
748
838
  description: 'Manage, edit and create prompt run results',
749
839
  type: ScopeType.Modify,
750
- products: [TranscendProduct.PromptManager],
840
+ products: [TranscendProduct.PromptManagement, TranscendProduct.Pathfinder],
751
841
  },
752
842
  [ScopeName.ViewCodeScanning]: {
753
843
  title: 'View Code Scanning',
754
844
  dependencies: [ScopeName.ViewGlobalAttributes],
755
845
  description: 'View the code scanning tables.',
756
846
  type: ScopeType.View,
757
- products: [TranscendProduct.DataMapping],
847
+ products: [
848
+ TranscendProduct.DataInventory,
849
+ TranscendProduct.ConsentManagement,
850
+ ],
758
851
  },
759
852
  [ScopeName.ManageCodeScanning]: {
760
853
  title: 'Manage Code Scanning',
761
854
  dependencies: [ScopeName.ViewCodeScanning],
762
855
  description: 'Manage, edit and create records in code scanning',
763
856
  type: ScopeType.Modify,
764
- products: [TranscendProduct.DataMapping],
857
+ products: [
858
+ TranscendProduct.DataInventory,
859
+ TranscendProduct.ConsentManagement,
860
+ ],
765
861
  },
766
862
  [ScopeName.ExecutePrompt]: {
767
863
  title: 'Execute Prompt',
768
864
  dependencies: [ScopeName.ViewPromptRuns, ScopeName.ViewPrompts],
769
865
  description: 'Ability to execute a prompt and view the outputs',
770
866
  type: ScopeType.Modify,
771
- products: [TranscendProduct.PromptManager],
867
+ products: [TranscendProduct.PromptManagement],
772
868
  },
773
869
  [ScopeName.ViewAuditorRuns]: {
774
870
  title: 'View Auditor Runs',
775
871
  dependencies: [],
776
872
  description: 'View the output run results for Auditor.',
777
873
  type: ScopeType.View,
778
- products: [TranscendProduct.Auditor],
874
+ products: [TranscendProduct.WebAuditor],
779
875
  },
780
876
  [ScopeName.ManageAuditor]: {
781
877
  title: 'Manage Auditor Runs and Schedules',
782
878
  dependencies: [ScopeName.ViewAuditorRuns],
783
879
  description: 'Manage, edit and create prompt run results',
784
880
  type: ScopeType.Modify,
785
- products: [TranscendProduct.Auditor],
881
+ products: [TranscendProduct.WebAuditor],
786
882
  },
787
883
  [ScopeName.ExecuteAuditor]: {
788
884
  title: 'Execute Auditor',
789
885
  dependencies: [ScopeName.ViewAuditorRuns],
790
886
  description: 'Ability to execute or schedule Auditor and view the outputs',
791
887
  type: ScopeType.Modify,
792
- products: [TranscendProduct.Auditor],
888
+ products: [TranscendProduct.WebAuditor],
793
889
  },
794
890
  [ScopeName.ApprovePrompts]: {
795
891
  title: 'Approve Prompts',
796
892
  dependencies: [ScopeName.ViewPrompts],
797
893
  description: 'Approve the prompts and prompt templates',
798
894
  type: ScopeType.Modify,
799
- products: [TranscendProduct.PromptManager],
895
+ products: [TranscendProduct.PromptManagement],
800
896
  },
801
897
  [ScopeName.ManageActionItemCollections]: {
802
898
  title: 'Manage Action Item Collections',
803
899
  dependencies: [],
804
900
  description: 'Manage and edit action item collections',
805
901
  type: ScopeType.Modify,
806
- products: [TranscendProduct.Admin],
902
+ products: [TranscendProduct.Administration],
807
903
  },
808
904
  [ScopeName.ViewManagedConsentDatabaseAdminApi]: {
809
905
  title: 'View Managed Consent Database Admin API',
@@ -811,8 +907,8 @@ const SCOPES_WITHOUT_VIEW_ONLY = {
811
907
  description: 'Ability to query user consent preferences with the Managed Consent Database Admin API',
812
908
  type: ScopeType.View,
813
909
  products: [
814
- TranscendProduct.ConsentManager,
815
- TranscendProduct.PreferenceStore,
910
+ TranscendProduct.ConsentManagement,
911
+ TranscendProduct.PreferenceManagement,
816
912
  ],
817
913
  },
818
914
  [ScopeName.ManageStoredPreferences]: {
@@ -821,8 +917,8 @@ const SCOPES_WITHOUT_VIEW_ONLY = {
821
917
  description: 'Ability to make updates to user stored consent preferences',
822
918
  type: ScopeType.Modify,
823
919
  products: [
824
- TranscendProduct.ConsentManager,
825
- TranscendProduct.PreferenceStore,
920
+ TranscendProduct.ConsentManagement,
921
+ TranscendProduct.PreferenceManagement,
826
922
  ],
827
923
  },
828
924
  [ScopeName.ManagePreferenceStoreSettings]: {
@@ -830,14 +926,14 @@ const SCOPES_WITHOUT_VIEW_ONLY = {
830
926
  dependencies: [ScopeName.ViewPreferenceStoreSettings],
831
927
  description: 'Ability to make updates to preference store settings',
832
928
  type: ScopeType.Modify,
833
- products: [TranscendProduct.PreferenceStore],
929
+ products: [TranscendProduct.PreferenceManagement],
834
930
  },
835
931
  [ScopeName.ViewPreferenceStoreSettings]: {
836
932
  title: 'View Preference Store Settings',
837
933
  dependencies: [ScopeName.ViewPreferenceStoreSettings],
838
934
  description: 'Ability to view preference store settings',
839
935
  type: ScopeType.Modify,
840
- products: [TranscendProduct.PreferenceStore],
936
+ products: [TranscendProduct.PreferenceManagement],
841
937
  },
842
938
  };
843
939
  exports.TRANSCEND_SCOPES = {
@@ -848,7 +944,7 @@ exports.TRANSCEND_SCOPES = {
848
944
  description: 'Access is granted to all of the scopes of type "View".',
849
945
  title: 'View Only',
850
946
  type: ScopeType.View,
851
- products: [TranscendProduct.Admin],
947
+ products: (0, type_utils_1.getValues)(TranscendProduct),
852
948
  },
853
949
  ...SCOPES_WITHOUT_VIEW_ONLY,
854
950
  };