@sudoplatform/sudo-privacy-interaction 2.2.0 → 2.3.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 (92) hide show
  1. package/cjs/gen/graphqlTypes.js +434 -11
  2. package/cjs/gen/schema-types.js +2 -0
  3. package/cjs/private/data/action/defaultActionService.js +7 -0
  4. package/cjs/private/data/analysis-result/transformer/capabilitySignalsTransformer.js +5 -2
  5. package/cjs/private/data/analysis-result/transformer/organizationCategoryTransformer.js +4 -0
  6. package/cjs/private/data/common/apiClient.js +29 -1
  7. package/cjs/private/data/data-holder/defaultDataHolderService.js +8 -0
  8. package/cjs/private/data/data-holder/transformer/dataHolderProtectionStateTransformer.js +4 -0
  9. package/cjs/private/data/organization-analysis/defaultOrganizationAnalysisService.js +6 -0
  10. package/cjs/private/data/organization-analysis/transformer/organizationAnalysisDomainResolutionTransformer.js +29 -0
  11. package/cjs/private/data/virtual-presence/transformer/virtualPresenceTransformer.js +8 -0
  12. package/cjs/private/domain/entities/analysis-result/analysisResultEntity.js +1 -0
  13. package/cjs/private/domain/entities/data-holder/dataHolderEntity.js +2 -0
  14. package/cjs/private/domain/entities/organization-analysis/organizationAnalysisEntity.js +17 -1
  15. package/cjs/private/domain/use-cases/action/getActionUseCase.js +25 -0
  16. package/cjs/private/domain/use-cases/data-holder/archiveDataHolderUseCase.js +25 -0
  17. package/cjs/private/domain/use-cases/data-holder/unarchiveDataHolderUseCase.js +25 -0
  18. package/cjs/public/defaultSudoPrivacyInteractionClient.js +31 -0
  19. package/cjs/public/typings/analysisResult.js +1 -0
  20. package/cjs/public/typings/dataHolder.js +2 -0
  21. package/cjs/public/typings/organizationAnalysis.js +17 -1
  22. package/docs/assets/hierarchy.js +1 -1
  23. package/docs/assets/navigation.js +1 -1
  24. package/docs/assets/search.js +1 -1
  25. package/docs/classes/DefaultSudoPrivacyInteractionClient.html +93 -27
  26. package/docs/enums/DataHolderProtectionState.html +12 -6
  27. package/docs/enums/OrganizationAnalysisDomainResolution.html +70 -0
  28. package/docs/enums/OrganizationCategory.html +38 -32
  29. package/docs/enums/ProviderType.html +3 -3
  30. package/docs/enums/VirtualPresenceState.html +7 -7
  31. package/docs/hierarchy.html +6 -6
  32. package/docs/interfaces/CapabilitySignals.html +41 -29
  33. package/docs/interfaces/DataHolderCount.html +98 -0
  34. package/docs/interfaces/DataHolderScanSummary.html +14 -14
  35. package/docs/interfaces/GetOrganizationAnalysisInput.html +24 -5
  36. package/docs/interfaces/ListAnalysisResultsInput.html +1 -1
  37. package/docs/interfaces/ListDataHolderScanSummariesInput.html +1 -1
  38. package/docs/interfaces/ListDataHoldersInput.html +1 -1
  39. package/docs/interfaces/ListVirtualPresencesInput.html +1 -1
  40. package/docs/interfaces/OrganizationIdentity.html +5 -5
  41. package/docs/interfaces/Pagination.html +1 -1
  42. package/docs/interfaces/RiskIndicators.html +8 -8
  43. package/docs/interfaces/SudoPrivacyInteractionClient.html +78 -15
  44. package/docs/interfaces/VirtualPresence.html +22 -13
  45. package/docs/modules.html +4 -4
  46. package/docs/types/SudoPrivacyInteractionClientOptions.html +2 -2
  47. package/lib/gen/graphqlTypes.js +432 -10
  48. package/lib/gen/schema-types.js +1 -0
  49. package/lib/private/data/action/defaultActionService.js +7 -0
  50. package/lib/private/data/analysis-result/transformer/capabilitySignalsTransformer.js +5 -2
  51. package/lib/private/data/analysis-result/transformer/organizationCategoryTransformer.js +4 -0
  52. package/lib/private/data/common/apiClient.js +30 -2
  53. package/lib/private/data/data-holder/defaultDataHolderService.js +8 -0
  54. package/lib/private/data/data-holder/transformer/dataHolderProtectionStateTransformer.js +4 -0
  55. package/lib/private/data/organization-analysis/defaultOrganizationAnalysisService.js +6 -0
  56. package/lib/private/data/organization-analysis/transformer/organizationAnalysisDomainResolutionTransformer.js +25 -0
  57. package/lib/private/data/virtual-presence/transformer/virtualPresenceTransformer.js +8 -0
  58. package/lib/private/domain/entities/analysis-result/analysisResultEntity.js +1 -0
  59. package/lib/private/domain/entities/data-holder/dataHolderEntity.js +2 -0
  60. package/lib/private/domain/entities/organization-analysis/organizationAnalysisEntity.js +16 -0
  61. package/lib/private/domain/use-cases/action/getActionUseCase.js +21 -0
  62. package/lib/private/domain/use-cases/data-holder/archiveDataHolderUseCase.js +21 -0
  63. package/lib/private/domain/use-cases/data-holder/unarchiveDataHolderUseCase.js +21 -0
  64. package/lib/public/defaultSudoPrivacyInteractionClient.js +31 -0
  65. package/lib/public/typings/analysisResult.js +1 -0
  66. package/lib/public/typings/dataHolder.js +2 -0
  67. package/lib/public/typings/organizationAnalysis.js +16 -0
  68. package/package.json +19 -23
  69. package/types/gen/graphqlTypes.d.ts +331 -645
  70. package/types/gen/schema-types.d.ts +521 -0
  71. package/types/private/data/action/defaultActionService.d.ts +1 -0
  72. package/types/private/data/common/apiClient.d.ts +6 -1
  73. package/types/private/data/data-holder/defaultDataHolderService.d.ts +2 -0
  74. package/types/private/data/organization-analysis/defaultOrganizationAnalysisService.d.ts +1 -0
  75. package/types/private/data/organization-analysis/transformer/organizationAnalysisDomainResolutionTransformer.d.ts +12 -0
  76. package/types/private/domain/entities/action/actionService.d.ts +11 -0
  77. package/types/private/domain/entities/analysis-result/analysisResultEntity.d.ts +3 -2
  78. package/types/private/domain/entities/data-holder/dataHolderEntity.d.ts +2 -0
  79. package/types/private/domain/entities/data-holder/dataHolderService.d.ts +16 -0
  80. package/types/private/domain/entities/organization-analysis/organizationAnalysisEntity.d.ts +15 -0
  81. package/types/private/domain/entities/organization-analysis/organizationAnalysisService.d.ts +8 -1
  82. package/types/private/domain/entities/virtual-presence/virtualPresenceEntity.d.ts +24 -0
  83. package/types/private/domain/use-cases/action/getActionUseCase.d.ts +16 -0
  84. package/types/private/domain/use-cases/data-holder/archiveDataHolderUseCase.d.ts +16 -0
  85. package/types/private/domain/use-cases/data-holder/unarchiveDataHolderUseCase.d.ts +16 -0
  86. package/types/public/defaultSudoPrivacyInteractionClient.d.ts +4 -0
  87. package/types/public/inputs/organizationAnalysis.d.ts +8 -1
  88. package/types/public/sudoPrivacyInteractionClient.d.ts +27 -0
  89. package/types/public/typings/analysisResult.d.ts +8 -0
  90. package/types/public/typings/dataHolder.d.ts +2 -0
  91. package/types/public/typings/organizationAnalysis.d.ts +15 -0
  92. package/types/public/typings/virtualPresence.d.ts +25 -0
@@ -1,3 +1,4 @@
1
+ export * from './schema-types';
1
2
  export const ActionFieldsFragmentDoc = {
2
3
  kind: 'Document',
3
4
  definitions: [
@@ -262,7 +263,7 @@ export const AnalysisResultDataFieldsFragmentDoc = {
262
263
  },
263
264
  {
264
265
  kind: 'Field',
265
- name: { kind: 'Name', value: 'sellsPersonalInformation' },
266
+ name: { kind: 'Name', value: 'supportsOptOutOfSale' },
266
267
  },
267
268
  {
268
269
  kind: 'Field',
@@ -523,7 +524,7 @@ export const AnalysisResultFieldsFragmentDoc = {
523
524
  },
524
525
  {
525
526
  kind: 'Field',
526
- name: { kind: 'Name', value: 'sellsPersonalInformation' },
527
+ name: { kind: 'Name', value: 'supportsOptOutOfSale' },
527
528
  },
528
529
  {
529
530
  kind: 'Field',
@@ -858,7 +859,7 @@ export const OrganizationAnalysisFieldsFragmentDoc = {
858
859
  },
859
860
  {
860
861
  kind: 'Field',
861
- name: { kind: 'Name', value: 'sellsPersonalInformation' },
862
+ name: { kind: 'Name', value: 'supportsOptOutOfSale' },
862
863
  },
863
864
  {
864
865
  kind: 'Field',
@@ -955,6 +956,26 @@ export const VirtualPresenceFieldsFragmentDoc = {
955
956
  kind: 'Field',
956
957
  name: { kind: 'Name', value: 'lastScanFailureReason' },
957
958
  },
959
+ {
960
+ kind: 'Field',
961
+ name: { kind: 'Name', value: 'dataHolderCount' },
962
+ selectionSet: {
963
+ kind: 'SelectionSet',
964
+ selections: [
965
+ { kind: 'Field', name: { kind: 'Name', value: 'count' } },
966
+ { kind: 'Field', name: { kind: 'Name', value: 'monitored' } },
967
+ {
968
+ kind: 'Field',
969
+ name: { kind: 'Name', value: 'initiatedActions' },
970
+ },
971
+ {
972
+ kind: 'Field',
973
+ name: { kind: 'Name', value: 'completedActions' },
974
+ },
975
+ { kind: 'Field', name: { kind: 'Name', value: 'archived' } },
976
+ ],
977
+ },
978
+ },
958
979
  { kind: 'Field', name: { kind: 'Name', value: 'owner' } },
959
980
  { kind: 'Field', name: { kind: 'Name', value: 'version' } },
960
981
  { kind: 'Field', name: { kind: 'Name', value: 'createdAtEpochMs' } },
@@ -1035,6 +1056,26 @@ export const ConnectVirtualPresenceDocument = {
1035
1056
  kind: 'Field',
1036
1057
  name: { kind: 'Name', value: 'lastScanFailureReason' },
1037
1058
  },
1059
+ {
1060
+ kind: 'Field',
1061
+ name: { kind: 'Name', value: 'dataHolderCount' },
1062
+ selectionSet: {
1063
+ kind: 'SelectionSet',
1064
+ selections: [
1065
+ { kind: 'Field', name: { kind: 'Name', value: 'count' } },
1066
+ { kind: 'Field', name: { kind: 'Name', value: 'monitored' } },
1067
+ {
1068
+ kind: 'Field',
1069
+ name: { kind: 'Name', value: 'initiatedActions' },
1070
+ },
1071
+ {
1072
+ kind: 'Field',
1073
+ name: { kind: 'Name', value: 'completedActions' },
1074
+ },
1075
+ { kind: 'Field', name: { kind: 'Name', value: 'archived' } },
1076
+ ],
1077
+ },
1078
+ },
1038
1079
  { kind: 'Field', name: { kind: 'Name', value: 'owner' } },
1039
1080
  { kind: 'Field', name: { kind: 'Name', value: 'version' } },
1040
1081
  { kind: 'Field', name: { kind: 'Name', value: 'createdAtEpochMs' } },
@@ -1115,6 +1156,26 @@ export const DisconnectVirtualPresenceDocument = {
1115
1156
  kind: 'Field',
1116
1157
  name: { kind: 'Name', value: 'lastScanFailureReason' },
1117
1158
  },
1159
+ {
1160
+ kind: 'Field',
1161
+ name: { kind: 'Name', value: 'dataHolderCount' },
1162
+ selectionSet: {
1163
+ kind: 'SelectionSet',
1164
+ selections: [
1165
+ { kind: 'Field', name: { kind: 'Name', value: 'count' } },
1166
+ { kind: 'Field', name: { kind: 'Name', value: 'monitored' } },
1167
+ {
1168
+ kind: 'Field',
1169
+ name: { kind: 'Name', value: 'initiatedActions' },
1170
+ },
1171
+ {
1172
+ kind: 'Field',
1173
+ name: { kind: 'Name', value: 'completedActions' },
1174
+ },
1175
+ { kind: 'Field', name: { kind: 'Name', value: 'archived' } },
1176
+ ],
1177
+ },
1178
+ },
1118
1179
  { kind: 'Field', name: { kind: 'Name', value: 'owner' } },
1119
1180
  { kind: 'Field', name: { kind: 'Name', value: 'version' } },
1120
1181
  { kind: 'Field', name: { kind: 'Name', value: 'createdAtEpochMs' } },
@@ -1214,6 +1275,26 @@ export const RescanVirtualPresenceDocument = {
1214
1275
  kind: 'Field',
1215
1276
  name: { kind: 'Name', value: 'lastScanFailureReason' },
1216
1277
  },
1278
+ {
1279
+ kind: 'Field',
1280
+ name: { kind: 'Name', value: 'dataHolderCount' },
1281
+ selectionSet: {
1282
+ kind: 'SelectionSet',
1283
+ selections: [
1284
+ { kind: 'Field', name: { kind: 'Name', value: 'count' } },
1285
+ { kind: 'Field', name: { kind: 'Name', value: 'monitored' } },
1286
+ {
1287
+ kind: 'Field',
1288
+ name: { kind: 'Name', value: 'initiatedActions' },
1289
+ },
1290
+ {
1291
+ kind: 'Field',
1292
+ name: { kind: 'Name', value: 'completedActions' },
1293
+ },
1294
+ { kind: 'Field', name: { kind: 'Name', value: 'archived' } },
1295
+ ],
1296
+ },
1297
+ },
1217
1298
  { kind: 'Field', name: { kind: 'Name', value: 'owner' } },
1218
1299
  { kind: 'Field', name: { kind: 'Name', value: 'version' } },
1219
1300
  { kind: 'Field', name: { kind: 'Name', value: 'createdAtEpochMs' } },
@@ -1499,6 +1580,156 @@ export const ConfirmActionOutcomeDocument = {
1499
1580
  },
1500
1581
  ],
1501
1582
  };
1583
+ export const ArchiveDataHolderDocument = {
1584
+ kind: 'Document',
1585
+ definitions: [
1586
+ {
1587
+ kind: 'OperationDefinition',
1588
+ operation: 'mutation',
1589
+ name: { kind: 'Name', value: 'ArchiveDataHolder' },
1590
+ variableDefinitions: [
1591
+ {
1592
+ kind: 'VariableDefinition',
1593
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } },
1594
+ type: {
1595
+ kind: 'NonNullType',
1596
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } },
1597
+ },
1598
+ },
1599
+ ],
1600
+ selectionSet: {
1601
+ kind: 'SelectionSet',
1602
+ selections: [
1603
+ {
1604
+ kind: 'Field',
1605
+ name: { kind: 'Name', value: 'archiveDataHolder' },
1606
+ arguments: [
1607
+ {
1608
+ kind: 'Argument',
1609
+ name: { kind: 'Name', value: 'id' },
1610
+ value: {
1611
+ kind: 'Variable',
1612
+ name: { kind: 'Name', value: 'id' },
1613
+ },
1614
+ },
1615
+ ],
1616
+ selectionSet: {
1617
+ kind: 'SelectionSet',
1618
+ selections: [
1619
+ {
1620
+ kind: 'FragmentSpread',
1621
+ name: { kind: 'Name', value: 'DataHolderFields' },
1622
+ },
1623
+ ],
1624
+ },
1625
+ },
1626
+ ],
1627
+ },
1628
+ },
1629
+ {
1630
+ kind: 'FragmentDefinition',
1631
+ name: { kind: 'Name', value: 'DataHolderFields' },
1632
+ typeCondition: {
1633
+ kind: 'NamedType',
1634
+ name: { kind: 'Name', value: 'DataHolder' },
1635
+ },
1636
+ selectionSet: {
1637
+ kind: 'SelectionSet',
1638
+ selections: [
1639
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
1640
+ { kind: 'Field', name: { kind: 'Name', value: 'virtualPresenceId' } },
1641
+ { kind: 'Field', name: { kind: 'Name', value: 'domainName' } },
1642
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
1643
+ { kind: 'Field', name: { kind: 'Name', value: 'protectionState' } },
1644
+ { kind: 'Field', name: { kind: 'Name', value: 'complianceConcern' } },
1645
+ {
1646
+ kind: 'Field',
1647
+ name: { kind: 'Name', value: 'mostRecentInteractionEpochMs' },
1648
+ },
1649
+ { kind: 'Field', name: { kind: 'Name', value: 'owner' } },
1650
+ { kind: 'Field', name: { kind: 'Name', value: 'version' } },
1651
+ { kind: 'Field', name: { kind: 'Name', value: 'createdAtEpochMs' } },
1652
+ { kind: 'Field', name: { kind: 'Name', value: 'updatedAtEpochMs' } },
1653
+ ],
1654
+ },
1655
+ },
1656
+ ],
1657
+ };
1658
+ export const UnarchiveDataHolderDocument = {
1659
+ kind: 'Document',
1660
+ definitions: [
1661
+ {
1662
+ kind: 'OperationDefinition',
1663
+ operation: 'mutation',
1664
+ name: { kind: 'Name', value: 'UnarchiveDataHolder' },
1665
+ variableDefinitions: [
1666
+ {
1667
+ kind: 'VariableDefinition',
1668
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } },
1669
+ type: {
1670
+ kind: 'NonNullType',
1671
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } },
1672
+ },
1673
+ },
1674
+ ],
1675
+ selectionSet: {
1676
+ kind: 'SelectionSet',
1677
+ selections: [
1678
+ {
1679
+ kind: 'Field',
1680
+ name: { kind: 'Name', value: 'unarchiveDataHolder' },
1681
+ arguments: [
1682
+ {
1683
+ kind: 'Argument',
1684
+ name: { kind: 'Name', value: 'id' },
1685
+ value: {
1686
+ kind: 'Variable',
1687
+ name: { kind: 'Name', value: 'id' },
1688
+ },
1689
+ },
1690
+ ],
1691
+ selectionSet: {
1692
+ kind: 'SelectionSet',
1693
+ selections: [
1694
+ {
1695
+ kind: 'FragmentSpread',
1696
+ name: { kind: 'Name', value: 'DataHolderFields' },
1697
+ },
1698
+ ],
1699
+ },
1700
+ },
1701
+ ],
1702
+ },
1703
+ },
1704
+ {
1705
+ kind: 'FragmentDefinition',
1706
+ name: { kind: 'Name', value: 'DataHolderFields' },
1707
+ typeCondition: {
1708
+ kind: 'NamedType',
1709
+ name: { kind: 'Name', value: 'DataHolder' },
1710
+ },
1711
+ selectionSet: {
1712
+ kind: 'SelectionSet',
1713
+ selections: [
1714
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
1715
+ { kind: 'Field', name: { kind: 'Name', value: 'virtualPresenceId' } },
1716
+ { kind: 'Field', name: { kind: 'Name', value: 'domainName' } },
1717
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
1718
+ { kind: 'Field', name: { kind: 'Name', value: 'protectionState' } },
1719
+ { kind: 'Field', name: { kind: 'Name', value: 'complianceConcern' } },
1720
+ {
1721
+ kind: 'Field',
1722
+ name: { kind: 'Name', value: 'mostRecentInteractionEpochMs' },
1723
+ },
1724
+ { kind: 'Field', name: { kind: 'Name', value: 'owner' } },
1725
+ { kind: 'Field', name: { kind: 'Name', value: 'version' } },
1726
+ { kind: 'Field', name: { kind: 'Name', value: 'createdAtEpochMs' } },
1727
+ { kind: 'Field', name: { kind: 'Name', value: 'updatedAtEpochMs' } },
1728
+ ],
1729
+ },
1730
+ },
1731
+ ],
1732
+ };
1502
1733
  export const GetProviderConfigurationDocument = {
1503
1734
  kind: 'Document',
1504
1735
  definitions: [
@@ -1605,6 +1836,26 @@ export const ListVirtualPresencesDocument = {
1605
1836
  kind: 'Field',
1606
1837
  name: { kind: 'Name', value: 'lastScanFailureReason' },
1607
1838
  },
1839
+ {
1840
+ kind: 'Field',
1841
+ name: { kind: 'Name', value: 'dataHolderCount' },
1842
+ selectionSet: {
1843
+ kind: 'SelectionSet',
1844
+ selections: [
1845
+ { kind: 'Field', name: { kind: 'Name', value: 'count' } },
1846
+ { kind: 'Field', name: { kind: 'Name', value: 'monitored' } },
1847
+ {
1848
+ kind: 'Field',
1849
+ name: { kind: 'Name', value: 'initiatedActions' },
1850
+ },
1851
+ {
1852
+ kind: 'Field',
1853
+ name: { kind: 'Name', value: 'completedActions' },
1854
+ },
1855
+ { kind: 'Field', name: { kind: 'Name', value: 'archived' } },
1856
+ ],
1857
+ },
1858
+ },
1608
1859
  { kind: 'Field', name: { kind: 'Name', value: 'owner' } },
1609
1860
  { kind: 'Field', name: { kind: 'Name', value: 'version' } },
1610
1861
  { kind: 'Field', name: { kind: 'Name', value: 'createdAtEpochMs' } },
@@ -2000,7 +2251,7 @@ export const GetAnalysisResultDocument = {
2000
2251
  },
2001
2252
  {
2002
2253
  kind: 'Field',
2003
- name: { kind: 'Name', value: 'sellsPersonalInformation' },
2254
+ name: { kind: 'Name', value: 'supportsOptOutOfSale' },
2004
2255
  },
2005
2256
  {
2006
2257
  kind: 'Field',
@@ -2137,10 +2388,18 @@ export const GetOrganizationAnalysisDocument = {
2137
2388
  },
2138
2389
  {
2139
2390
  kind: 'VariableDefinition',
2140
- variable: { kind: 'Variable', name: { kind: 'Name', value: 'mode' } },
2391
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'name' } },
2392
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
2393
+ },
2394
+ {
2395
+ kind: 'VariableDefinition',
2396
+ variable: {
2397
+ kind: 'Variable',
2398
+ name: { kind: 'Name', value: 'options' },
2399
+ },
2141
2400
  type: {
2142
2401
  kind: 'NamedType',
2143
- name: { kind: 'Name', value: 'OrganizationAnalysisMode' },
2402
+ name: { kind: 'Name', value: 'OrganizationAnalysisOptions' },
2144
2403
  },
2145
2404
  },
2146
2405
  ],
@@ -2161,10 +2420,18 @@ export const GetOrganizationAnalysisDocument = {
2161
2420
  },
2162
2421
  {
2163
2422
  kind: 'Argument',
2164
- name: { kind: 'Name', value: 'mode' },
2423
+ name: { kind: 'Name', value: 'name' },
2424
+ value: {
2425
+ kind: 'Variable',
2426
+ name: { kind: 'Name', value: 'name' },
2427
+ },
2428
+ },
2429
+ {
2430
+ kind: 'Argument',
2431
+ name: { kind: 'Name', value: 'options' },
2165
2432
  value: {
2166
2433
  kind: 'Variable',
2167
- name: { kind: 'Name', value: 'mode' },
2434
+ name: { kind: 'Name', value: 'options' },
2168
2435
  },
2169
2436
  },
2170
2437
  ],
@@ -2326,7 +2593,7 @@ export const GetOrganizationAnalysisDocument = {
2326
2593
  },
2327
2594
  {
2328
2595
  kind: 'Field',
2329
- name: { kind: 'Name', value: 'sellsPersonalInformation' },
2596
+ name: { kind: 'Name', value: 'supportsOptOutOfSale' },
2330
2597
  },
2331
2598
  {
2332
2599
  kind: 'Field',
@@ -2671,7 +2938,7 @@ export const ListAnalysisResultsDocument = {
2671
2938
  },
2672
2939
  {
2673
2940
  kind: 'Field',
2674
- name: { kind: 'Name', value: 'sellsPersonalInformation' },
2941
+ name: { kind: 'Name', value: 'supportsOptOutOfSale' },
2675
2942
  },
2676
2943
  {
2677
2944
  kind: 'Field',
@@ -3001,6 +3268,141 @@ export const ListAvailableActionsDocument = {
3001
3268
  },
3002
3269
  ],
3003
3270
  };
3271
+ export const GetActionDocument = {
3272
+ kind: 'Document',
3273
+ definitions: [
3274
+ {
3275
+ kind: 'OperationDefinition',
3276
+ operation: 'query',
3277
+ name: { kind: 'Name', value: 'GetAction' },
3278
+ variableDefinitions: [
3279
+ {
3280
+ kind: 'VariableDefinition',
3281
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } },
3282
+ type: {
3283
+ kind: 'NonNullType',
3284
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } },
3285
+ },
3286
+ },
3287
+ ],
3288
+ selectionSet: {
3289
+ kind: 'SelectionSet',
3290
+ selections: [
3291
+ {
3292
+ kind: 'Field',
3293
+ name: { kind: 'Name', value: 'getAction' },
3294
+ arguments: [
3295
+ {
3296
+ kind: 'Argument',
3297
+ name: { kind: 'Name', value: 'id' },
3298
+ value: {
3299
+ kind: 'Variable',
3300
+ name: { kind: 'Name', value: 'id' },
3301
+ },
3302
+ },
3303
+ ],
3304
+ selectionSet: {
3305
+ kind: 'SelectionSet',
3306
+ selections: [
3307
+ {
3308
+ kind: 'FragmentSpread',
3309
+ name: { kind: 'Name', value: 'ActionFields' },
3310
+ },
3311
+ ],
3312
+ },
3313
+ },
3314
+ ],
3315
+ },
3316
+ },
3317
+ {
3318
+ kind: 'FragmentDefinition',
3319
+ name: { kind: 'Name', value: 'ActionFields' },
3320
+ typeCondition: {
3321
+ kind: 'NamedType',
3322
+ name: { kind: 'Name', value: 'Action' },
3323
+ },
3324
+ selectionSet: {
3325
+ kind: 'SelectionSet',
3326
+ selections: [
3327
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
3328
+ { kind: 'Field', name: { kind: 'Name', value: 'virtualPresenceId' } },
3329
+ { kind: 'Field', name: { kind: 'Name', value: 'dataHolderId' } },
3330
+ { kind: 'Field', name: { kind: 'Name', value: 'intent' } },
3331
+ { kind: 'Field', name: { kind: 'Name', value: 'additionalInfo' } },
3332
+ { kind: 'Field', name: { kind: 'Name', value: 'fulfilmentMethod' } },
3333
+ { kind: 'Field', name: { kind: 'Name', value: 'status' } },
3334
+ {
3335
+ kind: 'Field',
3336
+ name: { kind: 'Name', value: 'assistedPayload' },
3337
+ selectionSet: {
3338
+ kind: 'SelectionSet',
3339
+ selections: [
3340
+ { kind: 'Field', name: { kind: 'Name', value: 'toAddress' } },
3341
+ {
3342
+ kind: 'Field',
3343
+ name: { kind: 'Name', value: 'unsubscribeUrl' },
3344
+ },
3345
+ {
3346
+ kind: 'Field',
3347
+ name: { kind: 'Name', value: 'unsubscribeMailto' },
3348
+ },
3349
+ {
3350
+ kind: 'Field',
3351
+ name: { kind: 'Name', value: 'contact' },
3352
+ selectionSet: {
3353
+ kind: 'SelectionSet',
3354
+ selections: [
3355
+ { kind: 'Field', name: { kind: 'Name', value: 'email' } },
3356
+ { kind: 'Field', name: { kind: 'Name', value: 'phone' } },
3357
+ {
3358
+ kind: 'Field',
3359
+ name: { kind: 'Name', value: 'address' },
3360
+ },
3361
+ ],
3362
+ },
3363
+ },
3364
+ {
3365
+ kind: 'Field',
3366
+ name: { kind: 'Name', value: 'jurisdiction' },
3367
+ },
3368
+ {
3369
+ kind: 'Field',
3370
+ name: { kind: 'Name', value: 'instructions' },
3371
+ },
3372
+ {
3373
+ kind: 'Field',
3374
+ name: { kind: 'Name', value: 'emailTemplate' },
3375
+ selectionSet: {
3376
+ kind: 'SelectionSet',
3377
+ selections: [
3378
+ {
3379
+ kind: 'Field',
3380
+ name: { kind: 'Name', value: 'subject' },
3381
+ },
3382
+ { kind: 'Field', name: { kind: 'Name', value: 'body' } },
3383
+ ],
3384
+ },
3385
+ },
3386
+ ],
3387
+ },
3388
+ },
3389
+ {
3390
+ kind: 'Field',
3391
+ name: { kind: 'Name', value: 'initiatedAtEpochMs' },
3392
+ },
3393
+ {
3394
+ kind: 'Field',
3395
+ name: { kind: 'Name', value: 'completedAtEpochMs' },
3396
+ },
3397
+ { kind: 'Field', name: { kind: 'Name', value: 'owner' } },
3398
+ { kind: 'Field', name: { kind: 'Name', value: 'version' } },
3399
+ { kind: 'Field', name: { kind: 'Name', value: 'createdAtEpochMs' } },
3400
+ { kind: 'Field', name: { kind: 'Name', value: 'updatedAtEpochMs' } },
3401
+ ],
3402
+ },
3403
+ },
3404
+ ],
3405
+ };
3004
3406
  export const OnVirtualPresenceUpdateDocument = {
3005
3407
  kind: 'Document',
3006
3408
  definitions: [
@@ -3072,6 +3474,26 @@ export const OnVirtualPresenceUpdateDocument = {
3072
3474
  kind: 'Field',
3073
3475
  name: { kind: 'Name', value: 'lastScanFailureReason' },
3074
3476
  },
3477
+ {
3478
+ kind: 'Field',
3479
+ name: { kind: 'Name', value: 'dataHolderCount' },
3480
+ selectionSet: {
3481
+ kind: 'SelectionSet',
3482
+ selections: [
3483
+ { kind: 'Field', name: { kind: 'Name', value: 'count' } },
3484
+ { kind: 'Field', name: { kind: 'Name', value: 'monitored' } },
3485
+ {
3486
+ kind: 'Field',
3487
+ name: { kind: 'Name', value: 'initiatedActions' },
3488
+ },
3489
+ {
3490
+ kind: 'Field',
3491
+ name: { kind: 'Name', value: 'completedActions' },
3492
+ },
3493
+ { kind: 'Field', name: { kind: 'Name', value: 'archived' } },
3494
+ ],
3495
+ },
3496
+ },
3075
3497
  { kind: 'Field', name: { kind: 'Name', value: 'owner' } },
3076
3498
  { kind: 'Field', name: { kind: 'Name', value: 'version' } },
3077
3499
  { kind: 'Field', name: { kind: 'Name', value: 'createdAtEpochMs' } },
@@ -0,0 +1 @@
1
+ export {};
@@ -32,6 +32,13 @@ export class DefaultActionService {
32
32
  });
33
33
  return this.actionTransformer.fromGraphQLToEntity(result);
34
34
  }
35
+ async get(id) {
36
+ const result = await this.appSync.getAction(id);
37
+ if (!result) {
38
+ return undefined;
39
+ }
40
+ return this.actionTransformer.fromGraphQLToEntity(result);
41
+ }
35
42
  async confirmOutcome(id) {
36
43
  const result = await this.appSync.confirmActionOutcome(id);
37
44
  return this.actionTransformer.fromGraphQLToEntity(result);
@@ -13,7 +13,7 @@ export class CapabilitySignalsTransformer {
13
13
  supportsDataDeletionRequests: this.signalValueTransformer.fromGraphQLToEntity(data.supportsDataDeletionRequests),
14
14
  supportsDataExport: this.signalValueTransformer.fromGraphQLToEntity(data.supportsDataExport),
15
15
  supportsSubscriptions: this.signalValueTransformer.fromGraphQLToEntity(data.supportsSubscriptions),
16
- sellsPersonalInformation: this.signalValueTransformer.fromGraphQLToEntity(data.sellsPersonalInformation),
16
+ supportsOptOutOfSale: this.signalValueTransformer.fromGraphQLToEntity(data.supportsOptOutOfSale),
17
17
  usesCookiesOrTracking: this.signalValueTransformer.fromGraphQLToEntity(data.usesCookiesOrTracking),
18
18
  supportsTwoFactorAuth: this.signalValueTransformer.fromGraphQLToEntity(data.supportsTwoFactorAuth),
19
19
  };
@@ -25,7 +25,10 @@ export class CapabilitySignalsTransformer {
25
25
  supportsDataDeletionRequests: this.signalValueTransformer.fromEntityToAPI(entity.supportsDataDeletionRequests),
26
26
  supportsDataExport: this.signalValueTransformer.fromEntityToAPI(entity.supportsDataExport),
27
27
  supportsSubscriptions: this.signalValueTransformer.fromEntityToAPI(entity.supportsSubscriptions),
28
- sellsPersonalInformation: this.signalValueTransformer.fromEntityToAPI(entity.sellsPersonalInformation),
28
+ supportsOptOutOfSale: this.signalValueTransformer.fromEntityToAPI(entity.supportsOptOutOfSale),
29
+ // Deprecated: surfaced for backward compatibility, populated from
30
+ // `supportsOptOutOfSale`.
31
+ sellsPersonalInformation: this.signalValueTransformer.fromEntityToAPI(entity.supportsOptOutOfSale),
29
32
  usesCookiesOrTracking: this.signalValueTransformer.fromEntityToAPI(entity.usesCookiesOrTracking),
30
33
  supportsTwoFactorAuth: this.signalValueTransformer.fromEntityToAPI(entity.supportsTwoFactorAuth),
31
34
  };
@@ -8,6 +8,8 @@ import { OrganizationCategoryEntity } from '../../../domain/entities/analysis-re
8
8
  export class OrganizationCategoryTransformer {
9
9
  fromGraphQLToEntity(data) {
10
10
  switch (data) {
11
+ case 'AdultEntertainment':
12
+ return OrganizationCategoryEntity.AdultEntertainment;
11
13
  case 'Automotive':
12
14
  return OrganizationCategoryEntity.Automotive;
13
15
  case 'Communications':
@@ -72,6 +74,8 @@ export class OrganizationCategoryTransformer {
72
74
  }
73
75
  fromEntityToAPI(entity) {
74
76
  switch (entity) {
77
+ case OrganizationCategoryEntity.AdultEntertainment:
78
+ return OrganizationCategory.AdultEntertainment;
75
79
  case OrganizationCategoryEntity.Automotive:
76
80
  return OrganizationCategory.Automotive;
77
81
  case OrganizationCategoryEntity.Communications: