@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.
- package/cjs/gen/graphqlTypes.js +434 -11
- package/cjs/gen/schema-types.js +2 -0
- package/cjs/private/data/action/defaultActionService.js +7 -0
- package/cjs/private/data/analysis-result/transformer/capabilitySignalsTransformer.js +5 -2
- package/cjs/private/data/analysis-result/transformer/organizationCategoryTransformer.js +4 -0
- package/cjs/private/data/common/apiClient.js +29 -1
- package/cjs/private/data/data-holder/defaultDataHolderService.js +8 -0
- package/cjs/private/data/data-holder/transformer/dataHolderProtectionStateTransformer.js +4 -0
- package/cjs/private/data/organization-analysis/defaultOrganizationAnalysisService.js +6 -0
- package/cjs/private/data/organization-analysis/transformer/organizationAnalysisDomainResolutionTransformer.js +29 -0
- package/cjs/private/data/virtual-presence/transformer/virtualPresenceTransformer.js +8 -0
- package/cjs/private/domain/entities/analysis-result/analysisResultEntity.js +1 -0
- package/cjs/private/domain/entities/data-holder/dataHolderEntity.js +2 -0
- package/cjs/private/domain/entities/organization-analysis/organizationAnalysisEntity.js +17 -1
- package/cjs/private/domain/use-cases/action/getActionUseCase.js +25 -0
- package/cjs/private/domain/use-cases/data-holder/archiveDataHolderUseCase.js +25 -0
- package/cjs/private/domain/use-cases/data-holder/unarchiveDataHolderUseCase.js +25 -0
- package/cjs/public/defaultSudoPrivacyInteractionClient.js +31 -0
- package/cjs/public/typings/analysisResult.js +1 -0
- package/cjs/public/typings/dataHolder.js +2 -0
- package/cjs/public/typings/organizationAnalysis.js +17 -1
- package/docs/assets/hierarchy.js +1 -1
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/DefaultSudoPrivacyInteractionClient.html +93 -27
- package/docs/enums/DataHolderProtectionState.html +12 -6
- package/docs/enums/OrganizationAnalysisDomainResolution.html +70 -0
- package/docs/enums/OrganizationCategory.html +38 -32
- package/docs/enums/ProviderType.html +3 -3
- package/docs/enums/VirtualPresenceState.html +7 -7
- package/docs/hierarchy.html +6 -6
- package/docs/interfaces/CapabilitySignals.html +41 -29
- package/docs/interfaces/DataHolderCount.html +98 -0
- package/docs/interfaces/DataHolderScanSummary.html +14 -14
- package/docs/interfaces/GetOrganizationAnalysisInput.html +24 -5
- package/docs/interfaces/ListAnalysisResultsInput.html +1 -1
- package/docs/interfaces/ListDataHolderScanSummariesInput.html +1 -1
- package/docs/interfaces/ListDataHoldersInput.html +1 -1
- package/docs/interfaces/ListVirtualPresencesInput.html +1 -1
- package/docs/interfaces/OrganizationIdentity.html +5 -5
- package/docs/interfaces/Pagination.html +1 -1
- package/docs/interfaces/RiskIndicators.html +8 -8
- package/docs/interfaces/SudoPrivacyInteractionClient.html +78 -15
- package/docs/interfaces/VirtualPresence.html +22 -13
- package/docs/modules.html +4 -4
- package/docs/types/SudoPrivacyInteractionClientOptions.html +2 -2
- package/lib/gen/graphqlTypes.js +432 -10
- package/lib/gen/schema-types.js +1 -0
- package/lib/private/data/action/defaultActionService.js +7 -0
- package/lib/private/data/analysis-result/transformer/capabilitySignalsTransformer.js +5 -2
- package/lib/private/data/analysis-result/transformer/organizationCategoryTransformer.js +4 -0
- package/lib/private/data/common/apiClient.js +30 -2
- package/lib/private/data/data-holder/defaultDataHolderService.js +8 -0
- package/lib/private/data/data-holder/transformer/dataHolderProtectionStateTransformer.js +4 -0
- package/lib/private/data/organization-analysis/defaultOrganizationAnalysisService.js +6 -0
- package/lib/private/data/organization-analysis/transformer/organizationAnalysisDomainResolutionTransformer.js +25 -0
- package/lib/private/data/virtual-presence/transformer/virtualPresenceTransformer.js +8 -0
- package/lib/private/domain/entities/analysis-result/analysisResultEntity.js +1 -0
- package/lib/private/domain/entities/data-holder/dataHolderEntity.js +2 -0
- package/lib/private/domain/entities/organization-analysis/organizationAnalysisEntity.js +16 -0
- package/lib/private/domain/use-cases/action/getActionUseCase.js +21 -0
- package/lib/private/domain/use-cases/data-holder/archiveDataHolderUseCase.js +21 -0
- package/lib/private/domain/use-cases/data-holder/unarchiveDataHolderUseCase.js +21 -0
- package/lib/public/defaultSudoPrivacyInteractionClient.js +31 -0
- package/lib/public/typings/analysisResult.js +1 -0
- package/lib/public/typings/dataHolder.js +2 -0
- package/lib/public/typings/organizationAnalysis.js +16 -0
- package/package.json +19 -23
- package/types/gen/graphqlTypes.d.ts +331 -645
- package/types/gen/schema-types.d.ts +521 -0
- package/types/private/data/action/defaultActionService.d.ts +1 -0
- package/types/private/data/common/apiClient.d.ts +6 -1
- package/types/private/data/data-holder/defaultDataHolderService.d.ts +2 -0
- package/types/private/data/organization-analysis/defaultOrganizationAnalysisService.d.ts +1 -0
- package/types/private/data/organization-analysis/transformer/organizationAnalysisDomainResolutionTransformer.d.ts +12 -0
- package/types/private/domain/entities/action/actionService.d.ts +11 -0
- package/types/private/domain/entities/analysis-result/analysisResultEntity.d.ts +3 -2
- package/types/private/domain/entities/data-holder/dataHolderEntity.d.ts +2 -0
- package/types/private/domain/entities/data-holder/dataHolderService.d.ts +16 -0
- package/types/private/domain/entities/organization-analysis/organizationAnalysisEntity.d.ts +15 -0
- package/types/private/domain/entities/organization-analysis/organizationAnalysisService.d.ts +8 -1
- package/types/private/domain/entities/virtual-presence/virtualPresenceEntity.d.ts +24 -0
- package/types/private/domain/use-cases/action/getActionUseCase.d.ts +16 -0
- package/types/private/domain/use-cases/data-holder/archiveDataHolderUseCase.d.ts +16 -0
- package/types/private/domain/use-cases/data-holder/unarchiveDataHolderUseCase.d.ts +16 -0
- package/types/public/defaultSudoPrivacyInteractionClient.d.ts +4 -0
- package/types/public/inputs/organizationAnalysis.d.ts +8 -1
- package/types/public/sudoPrivacyInteractionClient.d.ts +27 -0
- package/types/public/typings/analysisResult.d.ts +8 -0
- package/types/public/typings/dataHolder.d.ts +2 -0
- package/types/public/typings/organizationAnalysis.d.ts +15 -0
- package/types/public/typings/virtualPresence.d.ts +25 -0
package/cjs/gen/graphqlTypes.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.OnActionStatusUpdateDocument = exports.OnAnalysisResultUpdateDocument = exports.OnDataHoldersUpdateDocument = exports.OnVirtualPresenceUpdateDocument = exports.ListAvailableActionsDocument = exports.ListDataHolderScanSummariesDocument = exports.ListAnalysisResultsDocument = exports.GetOrganizationAnalysisDocument = exports.GetAnalysisResultDocument = exports.ListDataHoldersDocument = exports.GetDataHolderDocument = exports.ListVirtualPresencesDocument = exports.GetProviderConfigurationDocument = exports.ConfirmActionOutcomeDocument = exports.InitiateActionDocument = exports.RescanVirtualPresenceDocument = exports.DisconnectVirtualPresenceDocument = exports.ConnectVirtualPresenceDocument = exports.VirtualPresenceFieldsFragmentDoc = exports.OrganizationAnalysisFieldsFragmentDoc = exports.DataHolderScanSummaryFieldsFragmentDoc = exports.DataHolderFieldsFragmentDoc = exports.AnalysisResultFieldsFragmentDoc = exports.AnalysisResultDataFieldsFragmentDoc = exports.AvailableActionFieldsFragmentDoc = exports.ActionFieldsFragmentDoc = void 0;
|
|
3
|
+
exports.OnActionStatusUpdateDocument = exports.OnAnalysisResultUpdateDocument = exports.OnDataHoldersUpdateDocument = exports.OnVirtualPresenceUpdateDocument = exports.GetActionDocument = exports.ListAvailableActionsDocument = exports.ListDataHolderScanSummariesDocument = exports.ListAnalysisResultsDocument = exports.GetOrganizationAnalysisDocument = exports.GetAnalysisResultDocument = exports.ListDataHoldersDocument = exports.GetDataHolderDocument = exports.ListVirtualPresencesDocument = exports.GetProviderConfigurationDocument = exports.UnarchiveDataHolderDocument = exports.ArchiveDataHolderDocument = exports.ConfirmActionOutcomeDocument = exports.InitiateActionDocument = exports.RescanVirtualPresenceDocument = exports.DisconnectVirtualPresenceDocument = exports.ConnectVirtualPresenceDocument = exports.VirtualPresenceFieldsFragmentDoc = exports.OrganizationAnalysisFieldsFragmentDoc = exports.DataHolderScanSummaryFieldsFragmentDoc = exports.DataHolderFieldsFragmentDoc = exports.AnalysisResultFieldsFragmentDoc = exports.AnalysisResultDataFieldsFragmentDoc = exports.AvailableActionFieldsFragmentDoc = exports.ActionFieldsFragmentDoc = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
tslib_1.__exportStar(require("./schema-types"), exports);
|
|
4
6
|
exports.ActionFieldsFragmentDoc = {
|
|
5
7
|
kind: 'Document',
|
|
6
8
|
definitions: [
|
|
@@ -265,7 +267,7 @@ exports.AnalysisResultDataFieldsFragmentDoc = {
|
|
|
265
267
|
},
|
|
266
268
|
{
|
|
267
269
|
kind: 'Field',
|
|
268
|
-
name: { kind: 'Name', value: '
|
|
270
|
+
name: { kind: 'Name', value: 'supportsOptOutOfSale' },
|
|
269
271
|
},
|
|
270
272
|
{
|
|
271
273
|
kind: 'Field',
|
|
@@ -526,7 +528,7 @@ exports.AnalysisResultFieldsFragmentDoc = {
|
|
|
526
528
|
},
|
|
527
529
|
{
|
|
528
530
|
kind: 'Field',
|
|
529
|
-
name: { kind: 'Name', value: '
|
|
531
|
+
name: { kind: 'Name', value: 'supportsOptOutOfSale' },
|
|
530
532
|
},
|
|
531
533
|
{
|
|
532
534
|
kind: 'Field',
|
|
@@ -861,7 +863,7 @@ exports.OrganizationAnalysisFieldsFragmentDoc = {
|
|
|
861
863
|
},
|
|
862
864
|
{
|
|
863
865
|
kind: 'Field',
|
|
864
|
-
name: { kind: 'Name', value: '
|
|
866
|
+
name: { kind: 'Name', value: 'supportsOptOutOfSale' },
|
|
865
867
|
},
|
|
866
868
|
{
|
|
867
869
|
kind: 'Field',
|
|
@@ -958,6 +960,26 @@ exports.VirtualPresenceFieldsFragmentDoc = {
|
|
|
958
960
|
kind: 'Field',
|
|
959
961
|
name: { kind: 'Name', value: 'lastScanFailureReason' },
|
|
960
962
|
},
|
|
963
|
+
{
|
|
964
|
+
kind: 'Field',
|
|
965
|
+
name: { kind: 'Name', value: 'dataHolderCount' },
|
|
966
|
+
selectionSet: {
|
|
967
|
+
kind: 'SelectionSet',
|
|
968
|
+
selections: [
|
|
969
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'count' } },
|
|
970
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'monitored' } },
|
|
971
|
+
{
|
|
972
|
+
kind: 'Field',
|
|
973
|
+
name: { kind: 'Name', value: 'initiatedActions' },
|
|
974
|
+
},
|
|
975
|
+
{
|
|
976
|
+
kind: 'Field',
|
|
977
|
+
name: { kind: 'Name', value: 'completedActions' },
|
|
978
|
+
},
|
|
979
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'archived' } },
|
|
980
|
+
],
|
|
981
|
+
},
|
|
982
|
+
},
|
|
961
983
|
{ kind: 'Field', name: { kind: 'Name', value: 'owner' } },
|
|
962
984
|
{ kind: 'Field', name: { kind: 'Name', value: 'version' } },
|
|
963
985
|
{ kind: 'Field', name: { kind: 'Name', value: 'createdAtEpochMs' } },
|
|
@@ -1038,6 +1060,26 @@ exports.ConnectVirtualPresenceDocument = {
|
|
|
1038
1060
|
kind: 'Field',
|
|
1039
1061
|
name: { kind: 'Name', value: 'lastScanFailureReason' },
|
|
1040
1062
|
},
|
|
1063
|
+
{
|
|
1064
|
+
kind: 'Field',
|
|
1065
|
+
name: { kind: 'Name', value: 'dataHolderCount' },
|
|
1066
|
+
selectionSet: {
|
|
1067
|
+
kind: 'SelectionSet',
|
|
1068
|
+
selections: [
|
|
1069
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'count' } },
|
|
1070
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'monitored' } },
|
|
1071
|
+
{
|
|
1072
|
+
kind: 'Field',
|
|
1073
|
+
name: { kind: 'Name', value: 'initiatedActions' },
|
|
1074
|
+
},
|
|
1075
|
+
{
|
|
1076
|
+
kind: 'Field',
|
|
1077
|
+
name: { kind: 'Name', value: 'completedActions' },
|
|
1078
|
+
},
|
|
1079
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'archived' } },
|
|
1080
|
+
],
|
|
1081
|
+
},
|
|
1082
|
+
},
|
|
1041
1083
|
{ kind: 'Field', name: { kind: 'Name', value: 'owner' } },
|
|
1042
1084
|
{ kind: 'Field', name: { kind: 'Name', value: 'version' } },
|
|
1043
1085
|
{ kind: 'Field', name: { kind: 'Name', value: 'createdAtEpochMs' } },
|
|
@@ -1118,6 +1160,26 @@ exports.DisconnectVirtualPresenceDocument = {
|
|
|
1118
1160
|
kind: 'Field',
|
|
1119
1161
|
name: { kind: 'Name', value: 'lastScanFailureReason' },
|
|
1120
1162
|
},
|
|
1163
|
+
{
|
|
1164
|
+
kind: 'Field',
|
|
1165
|
+
name: { kind: 'Name', value: 'dataHolderCount' },
|
|
1166
|
+
selectionSet: {
|
|
1167
|
+
kind: 'SelectionSet',
|
|
1168
|
+
selections: [
|
|
1169
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'count' } },
|
|
1170
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'monitored' } },
|
|
1171
|
+
{
|
|
1172
|
+
kind: 'Field',
|
|
1173
|
+
name: { kind: 'Name', value: 'initiatedActions' },
|
|
1174
|
+
},
|
|
1175
|
+
{
|
|
1176
|
+
kind: 'Field',
|
|
1177
|
+
name: { kind: 'Name', value: 'completedActions' },
|
|
1178
|
+
},
|
|
1179
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'archived' } },
|
|
1180
|
+
],
|
|
1181
|
+
},
|
|
1182
|
+
},
|
|
1121
1183
|
{ kind: 'Field', name: { kind: 'Name', value: 'owner' } },
|
|
1122
1184
|
{ kind: 'Field', name: { kind: 'Name', value: 'version' } },
|
|
1123
1185
|
{ kind: 'Field', name: { kind: 'Name', value: 'createdAtEpochMs' } },
|
|
@@ -1217,6 +1279,26 @@ exports.RescanVirtualPresenceDocument = {
|
|
|
1217
1279
|
kind: 'Field',
|
|
1218
1280
|
name: { kind: 'Name', value: 'lastScanFailureReason' },
|
|
1219
1281
|
},
|
|
1282
|
+
{
|
|
1283
|
+
kind: 'Field',
|
|
1284
|
+
name: { kind: 'Name', value: 'dataHolderCount' },
|
|
1285
|
+
selectionSet: {
|
|
1286
|
+
kind: 'SelectionSet',
|
|
1287
|
+
selections: [
|
|
1288
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'count' } },
|
|
1289
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'monitored' } },
|
|
1290
|
+
{
|
|
1291
|
+
kind: 'Field',
|
|
1292
|
+
name: { kind: 'Name', value: 'initiatedActions' },
|
|
1293
|
+
},
|
|
1294
|
+
{
|
|
1295
|
+
kind: 'Field',
|
|
1296
|
+
name: { kind: 'Name', value: 'completedActions' },
|
|
1297
|
+
},
|
|
1298
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'archived' } },
|
|
1299
|
+
],
|
|
1300
|
+
},
|
|
1301
|
+
},
|
|
1220
1302
|
{ kind: 'Field', name: { kind: 'Name', value: 'owner' } },
|
|
1221
1303
|
{ kind: 'Field', name: { kind: 'Name', value: 'version' } },
|
|
1222
1304
|
{ kind: 'Field', name: { kind: 'Name', value: 'createdAtEpochMs' } },
|
|
@@ -1502,6 +1584,156 @@ exports.ConfirmActionOutcomeDocument = {
|
|
|
1502
1584
|
},
|
|
1503
1585
|
],
|
|
1504
1586
|
};
|
|
1587
|
+
exports.ArchiveDataHolderDocument = {
|
|
1588
|
+
kind: 'Document',
|
|
1589
|
+
definitions: [
|
|
1590
|
+
{
|
|
1591
|
+
kind: 'OperationDefinition',
|
|
1592
|
+
operation: 'mutation',
|
|
1593
|
+
name: { kind: 'Name', value: 'ArchiveDataHolder' },
|
|
1594
|
+
variableDefinitions: [
|
|
1595
|
+
{
|
|
1596
|
+
kind: 'VariableDefinition',
|
|
1597
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } },
|
|
1598
|
+
type: {
|
|
1599
|
+
kind: 'NonNullType',
|
|
1600
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } },
|
|
1601
|
+
},
|
|
1602
|
+
},
|
|
1603
|
+
],
|
|
1604
|
+
selectionSet: {
|
|
1605
|
+
kind: 'SelectionSet',
|
|
1606
|
+
selections: [
|
|
1607
|
+
{
|
|
1608
|
+
kind: 'Field',
|
|
1609
|
+
name: { kind: 'Name', value: 'archiveDataHolder' },
|
|
1610
|
+
arguments: [
|
|
1611
|
+
{
|
|
1612
|
+
kind: 'Argument',
|
|
1613
|
+
name: { kind: 'Name', value: 'id' },
|
|
1614
|
+
value: {
|
|
1615
|
+
kind: 'Variable',
|
|
1616
|
+
name: { kind: 'Name', value: 'id' },
|
|
1617
|
+
},
|
|
1618
|
+
},
|
|
1619
|
+
],
|
|
1620
|
+
selectionSet: {
|
|
1621
|
+
kind: 'SelectionSet',
|
|
1622
|
+
selections: [
|
|
1623
|
+
{
|
|
1624
|
+
kind: 'FragmentSpread',
|
|
1625
|
+
name: { kind: 'Name', value: 'DataHolderFields' },
|
|
1626
|
+
},
|
|
1627
|
+
],
|
|
1628
|
+
},
|
|
1629
|
+
},
|
|
1630
|
+
],
|
|
1631
|
+
},
|
|
1632
|
+
},
|
|
1633
|
+
{
|
|
1634
|
+
kind: 'FragmentDefinition',
|
|
1635
|
+
name: { kind: 'Name', value: 'DataHolderFields' },
|
|
1636
|
+
typeCondition: {
|
|
1637
|
+
kind: 'NamedType',
|
|
1638
|
+
name: { kind: 'Name', value: 'DataHolder' },
|
|
1639
|
+
},
|
|
1640
|
+
selectionSet: {
|
|
1641
|
+
kind: 'SelectionSet',
|
|
1642
|
+
selections: [
|
|
1643
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
1644
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'virtualPresenceId' } },
|
|
1645
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'domainName' } },
|
|
1646
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
1647
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'protectionState' } },
|
|
1648
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'complianceConcern' } },
|
|
1649
|
+
{
|
|
1650
|
+
kind: 'Field',
|
|
1651
|
+
name: { kind: 'Name', value: 'mostRecentInteractionEpochMs' },
|
|
1652
|
+
},
|
|
1653
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'owner' } },
|
|
1654
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'version' } },
|
|
1655
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'createdAtEpochMs' } },
|
|
1656
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'updatedAtEpochMs' } },
|
|
1657
|
+
],
|
|
1658
|
+
},
|
|
1659
|
+
},
|
|
1660
|
+
],
|
|
1661
|
+
};
|
|
1662
|
+
exports.UnarchiveDataHolderDocument = {
|
|
1663
|
+
kind: 'Document',
|
|
1664
|
+
definitions: [
|
|
1665
|
+
{
|
|
1666
|
+
kind: 'OperationDefinition',
|
|
1667
|
+
operation: 'mutation',
|
|
1668
|
+
name: { kind: 'Name', value: 'UnarchiveDataHolder' },
|
|
1669
|
+
variableDefinitions: [
|
|
1670
|
+
{
|
|
1671
|
+
kind: 'VariableDefinition',
|
|
1672
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } },
|
|
1673
|
+
type: {
|
|
1674
|
+
kind: 'NonNullType',
|
|
1675
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } },
|
|
1676
|
+
},
|
|
1677
|
+
},
|
|
1678
|
+
],
|
|
1679
|
+
selectionSet: {
|
|
1680
|
+
kind: 'SelectionSet',
|
|
1681
|
+
selections: [
|
|
1682
|
+
{
|
|
1683
|
+
kind: 'Field',
|
|
1684
|
+
name: { kind: 'Name', value: 'unarchiveDataHolder' },
|
|
1685
|
+
arguments: [
|
|
1686
|
+
{
|
|
1687
|
+
kind: 'Argument',
|
|
1688
|
+
name: { kind: 'Name', value: 'id' },
|
|
1689
|
+
value: {
|
|
1690
|
+
kind: 'Variable',
|
|
1691
|
+
name: { kind: 'Name', value: 'id' },
|
|
1692
|
+
},
|
|
1693
|
+
},
|
|
1694
|
+
],
|
|
1695
|
+
selectionSet: {
|
|
1696
|
+
kind: 'SelectionSet',
|
|
1697
|
+
selections: [
|
|
1698
|
+
{
|
|
1699
|
+
kind: 'FragmentSpread',
|
|
1700
|
+
name: { kind: 'Name', value: 'DataHolderFields' },
|
|
1701
|
+
},
|
|
1702
|
+
],
|
|
1703
|
+
},
|
|
1704
|
+
},
|
|
1705
|
+
],
|
|
1706
|
+
},
|
|
1707
|
+
},
|
|
1708
|
+
{
|
|
1709
|
+
kind: 'FragmentDefinition',
|
|
1710
|
+
name: { kind: 'Name', value: 'DataHolderFields' },
|
|
1711
|
+
typeCondition: {
|
|
1712
|
+
kind: 'NamedType',
|
|
1713
|
+
name: { kind: 'Name', value: 'DataHolder' },
|
|
1714
|
+
},
|
|
1715
|
+
selectionSet: {
|
|
1716
|
+
kind: 'SelectionSet',
|
|
1717
|
+
selections: [
|
|
1718
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
1719
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'virtualPresenceId' } },
|
|
1720
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'domainName' } },
|
|
1721
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
1722
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'protectionState' } },
|
|
1723
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'complianceConcern' } },
|
|
1724
|
+
{
|
|
1725
|
+
kind: 'Field',
|
|
1726
|
+
name: { kind: 'Name', value: 'mostRecentInteractionEpochMs' },
|
|
1727
|
+
},
|
|
1728
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'owner' } },
|
|
1729
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'version' } },
|
|
1730
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'createdAtEpochMs' } },
|
|
1731
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'updatedAtEpochMs' } },
|
|
1732
|
+
],
|
|
1733
|
+
},
|
|
1734
|
+
},
|
|
1735
|
+
],
|
|
1736
|
+
};
|
|
1505
1737
|
exports.GetProviderConfigurationDocument = {
|
|
1506
1738
|
kind: 'Document',
|
|
1507
1739
|
definitions: [
|
|
@@ -1608,6 +1840,26 @@ exports.ListVirtualPresencesDocument = {
|
|
|
1608
1840
|
kind: 'Field',
|
|
1609
1841
|
name: { kind: 'Name', value: 'lastScanFailureReason' },
|
|
1610
1842
|
},
|
|
1843
|
+
{
|
|
1844
|
+
kind: 'Field',
|
|
1845
|
+
name: { kind: 'Name', value: 'dataHolderCount' },
|
|
1846
|
+
selectionSet: {
|
|
1847
|
+
kind: 'SelectionSet',
|
|
1848
|
+
selections: [
|
|
1849
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'count' } },
|
|
1850
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'monitored' } },
|
|
1851
|
+
{
|
|
1852
|
+
kind: 'Field',
|
|
1853
|
+
name: { kind: 'Name', value: 'initiatedActions' },
|
|
1854
|
+
},
|
|
1855
|
+
{
|
|
1856
|
+
kind: 'Field',
|
|
1857
|
+
name: { kind: 'Name', value: 'completedActions' },
|
|
1858
|
+
},
|
|
1859
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'archived' } },
|
|
1860
|
+
],
|
|
1861
|
+
},
|
|
1862
|
+
},
|
|
1611
1863
|
{ kind: 'Field', name: { kind: 'Name', value: 'owner' } },
|
|
1612
1864
|
{ kind: 'Field', name: { kind: 'Name', value: 'version' } },
|
|
1613
1865
|
{ kind: 'Field', name: { kind: 'Name', value: 'createdAtEpochMs' } },
|
|
@@ -2003,7 +2255,7 @@ exports.GetAnalysisResultDocument = {
|
|
|
2003
2255
|
},
|
|
2004
2256
|
{
|
|
2005
2257
|
kind: 'Field',
|
|
2006
|
-
name: { kind: 'Name', value: '
|
|
2258
|
+
name: { kind: 'Name', value: 'supportsOptOutOfSale' },
|
|
2007
2259
|
},
|
|
2008
2260
|
{
|
|
2009
2261
|
kind: 'Field',
|
|
@@ -2140,10 +2392,18 @@ exports.GetOrganizationAnalysisDocument = {
|
|
|
2140
2392
|
},
|
|
2141
2393
|
{
|
|
2142
2394
|
kind: 'VariableDefinition',
|
|
2143
|
-
variable: { kind: 'Variable', name: { kind: 'Name', value: '
|
|
2395
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'name' } },
|
|
2396
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
2397
|
+
},
|
|
2398
|
+
{
|
|
2399
|
+
kind: 'VariableDefinition',
|
|
2400
|
+
variable: {
|
|
2401
|
+
kind: 'Variable',
|
|
2402
|
+
name: { kind: 'Name', value: 'options' },
|
|
2403
|
+
},
|
|
2144
2404
|
type: {
|
|
2145
2405
|
kind: 'NamedType',
|
|
2146
|
-
name: { kind: 'Name', value: '
|
|
2406
|
+
name: { kind: 'Name', value: 'OrganizationAnalysisOptions' },
|
|
2147
2407
|
},
|
|
2148
2408
|
},
|
|
2149
2409
|
],
|
|
@@ -2164,10 +2424,18 @@ exports.GetOrganizationAnalysisDocument = {
|
|
|
2164
2424
|
},
|
|
2165
2425
|
{
|
|
2166
2426
|
kind: 'Argument',
|
|
2167
|
-
name: { kind: 'Name', value: '
|
|
2427
|
+
name: { kind: 'Name', value: 'name' },
|
|
2428
|
+
value: {
|
|
2429
|
+
kind: 'Variable',
|
|
2430
|
+
name: { kind: 'Name', value: 'name' },
|
|
2431
|
+
},
|
|
2432
|
+
},
|
|
2433
|
+
{
|
|
2434
|
+
kind: 'Argument',
|
|
2435
|
+
name: { kind: 'Name', value: 'options' },
|
|
2168
2436
|
value: {
|
|
2169
2437
|
kind: 'Variable',
|
|
2170
|
-
name: { kind: 'Name', value: '
|
|
2438
|
+
name: { kind: 'Name', value: 'options' },
|
|
2171
2439
|
},
|
|
2172
2440
|
},
|
|
2173
2441
|
],
|
|
@@ -2329,7 +2597,7 @@ exports.GetOrganizationAnalysisDocument = {
|
|
|
2329
2597
|
},
|
|
2330
2598
|
{
|
|
2331
2599
|
kind: 'Field',
|
|
2332
|
-
name: { kind: 'Name', value: '
|
|
2600
|
+
name: { kind: 'Name', value: 'supportsOptOutOfSale' },
|
|
2333
2601
|
},
|
|
2334
2602
|
{
|
|
2335
2603
|
kind: 'Field',
|
|
@@ -2674,7 +2942,7 @@ exports.ListAnalysisResultsDocument = {
|
|
|
2674
2942
|
},
|
|
2675
2943
|
{
|
|
2676
2944
|
kind: 'Field',
|
|
2677
|
-
name: { kind: 'Name', value: '
|
|
2945
|
+
name: { kind: 'Name', value: 'supportsOptOutOfSale' },
|
|
2678
2946
|
},
|
|
2679
2947
|
{
|
|
2680
2948
|
kind: 'Field',
|
|
@@ -3004,6 +3272,141 @@ exports.ListAvailableActionsDocument = {
|
|
|
3004
3272
|
},
|
|
3005
3273
|
],
|
|
3006
3274
|
};
|
|
3275
|
+
exports.GetActionDocument = {
|
|
3276
|
+
kind: 'Document',
|
|
3277
|
+
definitions: [
|
|
3278
|
+
{
|
|
3279
|
+
kind: 'OperationDefinition',
|
|
3280
|
+
operation: 'query',
|
|
3281
|
+
name: { kind: 'Name', value: 'GetAction' },
|
|
3282
|
+
variableDefinitions: [
|
|
3283
|
+
{
|
|
3284
|
+
kind: 'VariableDefinition',
|
|
3285
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } },
|
|
3286
|
+
type: {
|
|
3287
|
+
kind: 'NonNullType',
|
|
3288
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } },
|
|
3289
|
+
},
|
|
3290
|
+
},
|
|
3291
|
+
],
|
|
3292
|
+
selectionSet: {
|
|
3293
|
+
kind: 'SelectionSet',
|
|
3294
|
+
selections: [
|
|
3295
|
+
{
|
|
3296
|
+
kind: 'Field',
|
|
3297
|
+
name: { kind: 'Name', value: 'getAction' },
|
|
3298
|
+
arguments: [
|
|
3299
|
+
{
|
|
3300
|
+
kind: 'Argument',
|
|
3301
|
+
name: { kind: 'Name', value: 'id' },
|
|
3302
|
+
value: {
|
|
3303
|
+
kind: 'Variable',
|
|
3304
|
+
name: { kind: 'Name', value: 'id' },
|
|
3305
|
+
},
|
|
3306
|
+
},
|
|
3307
|
+
],
|
|
3308
|
+
selectionSet: {
|
|
3309
|
+
kind: 'SelectionSet',
|
|
3310
|
+
selections: [
|
|
3311
|
+
{
|
|
3312
|
+
kind: 'FragmentSpread',
|
|
3313
|
+
name: { kind: 'Name', value: 'ActionFields' },
|
|
3314
|
+
},
|
|
3315
|
+
],
|
|
3316
|
+
},
|
|
3317
|
+
},
|
|
3318
|
+
],
|
|
3319
|
+
},
|
|
3320
|
+
},
|
|
3321
|
+
{
|
|
3322
|
+
kind: 'FragmentDefinition',
|
|
3323
|
+
name: { kind: 'Name', value: 'ActionFields' },
|
|
3324
|
+
typeCondition: {
|
|
3325
|
+
kind: 'NamedType',
|
|
3326
|
+
name: { kind: 'Name', value: 'Action' },
|
|
3327
|
+
},
|
|
3328
|
+
selectionSet: {
|
|
3329
|
+
kind: 'SelectionSet',
|
|
3330
|
+
selections: [
|
|
3331
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
3332
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'virtualPresenceId' } },
|
|
3333
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'dataHolderId' } },
|
|
3334
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'intent' } },
|
|
3335
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'additionalInfo' } },
|
|
3336
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'fulfilmentMethod' } },
|
|
3337
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'status' } },
|
|
3338
|
+
{
|
|
3339
|
+
kind: 'Field',
|
|
3340
|
+
name: { kind: 'Name', value: 'assistedPayload' },
|
|
3341
|
+
selectionSet: {
|
|
3342
|
+
kind: 'SelectionSet',
|
|
3343
|
+
selections: [
|
|
3344
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'toAddress' } },
|
|
3345
|
+
{
|
|
3346
|
+
kind: 'Field',
|
|
3347
|
+
name: { kind: 'Name', value: 'unsubscribeUrl' },
|
|
3348
|
+
},
|
|
3349
|
+
{
|
|
3350
|
+
kind: 'Field',
|
|
3351
|
+
name: { kind: 'Name', value: 'unsubscribeMailto' },
|
|
3352
|
+
},
|
|
3353
|
+
{
|
|
3354
|
+
kind: 'Field',
|
|
3355
|
+
name: { kind: 'Name', value: 'contact' },
|
|
3356
|
+
selectionSet: {
|
|
3357
|
+
kind: 'SelectionSet',
|
|
3358
|
+
selections: [
|
|
3359
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'email' } },
|
|
3360
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'phone' } },
|
|
3361
|
+
{
|
|
3362
|
+
kind: 'Field',
|
|
3363
|
+
name: { kind: 'Name', value: 'address' },
|
|
3364
|
+
},
|
|
3365
|
+
],
|
|
3366
|
+
},
|
|
3367
|
+
},
|
|
3368
|
+
{
|
|
3369
|
+
kind: 'Field',
|
|
3370
|
+
name: { kind: 'Name', value: 'jurisdiction' },
|
|
3371
|
+
},
|
|
3372
|
+
{
|
|
3373
|
+
kind: 'Field',
|
|
3374
|
+
name: { kind: 'Name', value: 'instructions' },
|
|
3375
|
+
},
|
|
3376
|
+
{
|
|
3377
|
+
kind: 'Field',
|
|
3378
|
+
name: { kind: 'Name', value: 'emailTemplate' },
|
|
3379
|
+
selectionSet: {
|
|
3380
|
+
kind: 'SelectionSet',
|
|
3381
|
+
selections: [
|
|
3382
|
+
{
|
|
3383
|
+
kind: 'Field',
|
|
3384
|
+
name: { kind: 'Name', value: 'subject' },
|
|
3385
|
+
},
|
|
3386
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'body' } },
|
|
3387
|
+
],
|
|
3388
|
+
},
|
|
3389
|
+
},
|
|
3390
|
+
],
|
|
3391
|
+
},
|
|
3392
|
+
},
|
|
3393
|
+
{
|
|
3394
|
+
kind: 'Field',
|
|
3395
|
+
name: { kind: 'Name', value: 'initiatedAtEpochMs' },
|
|
3396
|
+
},
|
|
3397
|
+
{
|
|
3398
|
+
kind: 'Field',
|
|
3399
|
+
name: { kind: 'Name', value: 'completedAtEpochMs' },
|
|
3400
|
+
},
|
|
3401
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'owner' } },
|
|
3402
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'version' } },
|
|
3403
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'createdAtEpochMs' } },
|
|
3404
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'updatedAtEpochMs' } },
|
|
3405
|
+
],
|
|
3406
|
+
},
|
|
3407
|
+
},
|
|
3408
|
+
],
|
|
3409
|
+
};
|
|
3007
3410
|
exports.OnVirtualPresenceUpdateDocument = {
|
|
3008
3411
|
kind: 'Document',
|
|
3009
3412
|
definitions: [
|
|
@@ -3075,6 +3478,26 @@ exports.OnVirtualPresenceUpdateDocument = {
|
|
|
3075
3478
|
kind: 'Field',
|
|
3076
3479
|
name: { kind: 'Name', value: 'lastScanFailureReason' },
|
|
3077
3480
|
},
|
|
3481
|
+
{
|
|
3482
|
+
kind: 'Field',
|
|
3483
|
+
name: { kind: 'Name', value: 'dataHolderCount' },
|
|
3484
|
+
selectionSet: {
|
|
3485
|
+
kind: 'SelectionSet',
|
|
3486
|
+
selections: [
|
|
3487
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'count' } },
|
|
3488
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'monitored' } },
|
|
3489
|
+
{
|
|
3490
|
+
kind: 'Field',
|
|
3491
|
+
name: { kind: 'Name', value: 'initiatedActions' },
|
|
3492
|
+
},
|
|
3493
|
+
{
|
|
3494
|
+
kind: 'Field',
|
|
3495
|
+
name: { kind: 'Name', value: 'completedActions' },
|
|
3496
|
+
},
|
|
3497
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'archived' } },
|
|
3498
|
+
],
|
|
3499
|
+
},
|
|
3500
|
+
},
|
|
3078
3501
|
{ kind: 'Field', name: { kind: 'Name', value: 'owner' } },
|
|
3079
3502
|
{ kind: 'Field', name: { kind: 'Name', value: 'version' } },
|
|
3080
3503
|
{ kind: 'Field', name: { kind: 'Name', value: 'createdAtEpochMs' } },
|
|
@@ -35,6 +35,13 @@ class DefaultActionService {
|
|
|
35
35
|
});
|
|
36
36
|
return this.actionTransformer.fromGraphQLToEntity(result);
|
|
37
37
|
}
|
|
38
|
+
async get(id) {
|
|
39
|
+
const result = await this.appSync.getAction(id);
|
|
40
|
+
if (!result) {
|
|
41
|
+
return undefined;
|
|
42
|
+
}
|
|
43
|
+
return this.actionTransformer.fromGraphQLToEntity(result);
|
|
44
|
+
}
|
|
38
45
|
async confirmOutcome(id) {
|
|
39
46
|
const result = await this.appSync.confirmActionOutcome(id);
|
|
40
47
|
return this.actionTransformer.fromGraphQLToEntity(result);
|
|
@@ -16,7 +16,7 @@ class CapabilitySignalsTransformer {
|
|
|
16
16
|
supportsDataDeletionRequests: this.signalValueTransformer.fromGraphQLToEntity(data.supportsDataDeletionRequests),
|
|
17
17
|
supportsDataExport: this.signalValueTransformer.fromGraphQLToEntity(data.supportsDataExport),
|
|
18
18
|
supportsSubscriptions: this.signalValueTransformer.fromGraphQLToEntity(data.supportsSubscriptions),
|
|
19
|
-
|
|
19
|
+
supportsOptOutOfSale: this.signalValueTransformer.fromGraphQLToEntity(data.supportsOptOutOfSale),
|
|
20
20
|
usesCookiesOrTracking: this.signalValueTransformer.fromGraphQLToEntity(data.usesCookiesOrTracking),
|
|
21
21
|
supportsTwoFactorAuth: this.signalValueTransformer.fromGraphQLToEntity(data.supportsTwoFactorAuth),
|
|
22
22
|
};
|
|
@@ -28,7 +28,10 @@ class CapabilitySignalsTransformer {
|
|
|
28
28
|
supportsDataDeletionRequests: this.signalValueTransformer.fromEntityToAPI(entity.supportsDataDeletionRequests),
|
|
29
29
|
supportsDataExport: this.signalValueTransformer.fromEntityToAPI(entity.supportsDataExport),
|
|
30
30
|
supportsSubscriptions: this.signalValueTransformer.fromEntityToAPI(entity.supportsSubscriptions),
|
|
31
|
-
|
|
31
|
+
supportsOptOutOfSale: this.signalValueTransformer.fromEntityToAPI(entity.supportsOptOutOfSale),
|
|
32
|
+
// Deprecated: surfaced for backward compatibility, populated from
|
|
33
|
+
// `supportsOptOutOfSale`.
|
|
34
|
+
sellsPersonalInformation: this.signalValueTransformer.fromEntityToAPI(entity.supportsOptOutOfSale),
|
|
32
35
|
usesCookiesOrTracking: this.signalValueTransformer.fromEntityToAPI(entity.usesCookiesOrTracking),
|
|
33
36
|
supportsTwoFactorAuth: this.signalValueTransformer.fromEntityToAPI(entity.supportsTwoFactorAuth),
|
|
34
37
|
};
|
|
@@ -11,6 +11,8 @@ const analysisResultEntity_1 = require("../../../domain/entities/analysis-result
|
|
|
11
11
|
class OrganizationCategoryTransformer {
|
|
12
12
|
fromGraphQLToEntity(data) {
|
|
13
13
|
switch (data) {
|
|
14
|
+
case 'AdultEntertainment':
|
|
15
|
+
return analysisResultEntity_1.OrganizationCategoryEntity.AdultEntertainment;
|
|
14
16
|
case 'Automotive':
|
|
15
17
|
return analysisResultEntity_1.OrganizationCategoryEntity.Automotive;
|
|
16
18
|
case 'Communications':
|
|
@@ -75,6 +77,8 @@ class OrganizationCategoryTransformer {
|
|
|
75
77
|
}
|
|
76
78
|
fromEntityToAPI(entity) {
|
|
77
79
|
switch (entity) {
|
|
80
|
+
case analysisResultEntity_1.OrganizationCategoryEntity.AdultEntertainment:
|
|
81
|
+
return analysisResult_1.OrganizationCategory.AdultEntertainment;
|
|
78
82
|
case analysisResultEntity_1.OrganizationCategoryEntity.Automotive:
|
|
79
83
|
return analysisResult_1.OrganizationCategory.Automotive;
|
|
80
84
|
case analysisResultEntity_1.OrganizationCategoryEntity.Communications:
|