@sudoplatform/sudo-privacy-interaction 2.1.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 (162) hide show
  1. package/cjs/gen/graphqlTypes.js +1111 -132
  2. package/cjs/gen/schema-types.js +2 -0
  3. package/cjs/private/data/action/actionSubscriptionManager.js +25 -0
  4. package/cjs/private/data/action/defaultActionService.js +87 -0
  5. package/cjs/private/data/action/transformer/actionFulfilmentMethodTransformer.js +47 -0
  6. package/cjs/private/data/action/transformer/actionIntentTransformer.js +69 -0
  7. package/cjs/private/data/action/transformer/actionOriginTransformer.js +37 -0
  8. package/cjs/private/data/action/transformer/actionStatusTransformer.js +53 -0
  9. package/cjs/private/data/action/transformer/actionTransformer.js +85 -0
  10. package/cjs/private/data/action/transformer/availableActionTransformer.js +37 -0
  11. package/cjs/private/data/analysis-result/transformer/capabilitySignalsTransformer.js +5 -2
  12. package/cjs/private/data/analysis-result/transformer/organizationCategoryTransformer.js +4 -0
  13. package/cjs/private/data/common/apiClient.js +64 -1
  14. package/cjs/private/data/data-holder/defaultDataHolderService.js +8 -0
  15. package/cjs/private/data/data-holder/transformer/dataHolderProtectionStateTransformer.js +4 -0
  16. package/cjs/private/data/organization-analysis/defaultOrganizationAnalysisService.js +6 -0
  17. package/cjs/private/data/organization-analysis/transformer/organizationAnalysisDomainResolutionTransformer.js +29 -0
  18. package/cjs/private/data/virtual-presence/transformer/virtualPresenceTransformer.js +8 -0
  19. package/cjs/private/domain/entities/action/actionEntity.js +86 -0
  20. package/cjs/private/domain/entities/action/actionService.js +7 -0
  21. package/cjs/private/domain/entities/analysis-result/analysisResultEntity.js +1 -0
  22. package/cjs/private/domain/entities/data-holder/dataHolderEntity.js +2 -0
  23. package/cjs/private/domain/entities/organization-analysis/organizationAnalysisEntity.js +17 -1
  24. package/cjs/private/domain/use-cases/action/confirmActionOutcomeUseCase.js +25 -0
  25. package/cjs/private/domain/use-cases/action/getActionUseCase.js +25 -0
  26. package/cjs/private/domain/use-cases/action/initiateActionUseCase.js +26 -0
  27. package/cjs/private/domain/use-cases/action/listAvailableActionsUseCase.js +26 -0
  28. package/cjs/private/domain/use-cases/action/subscribeToActionUseCase.js +37 -0
  29. package/cjs/private/domain/use-cases/action/unsubscribeFromActionUseCase.js +27 -0
  30. package/cjs/private/domain/use-cases/data-holder/archiveDataHolderUseCase.js +25 -0
  31. package/cjs/private/domain/use-cases/data-holder/unarchiveDataHolderUseCase.js +25 -0
  32. package/cjs/public/defaultSudoPrivacyInteractionClient.js +89 -0
  33. package/cjs/public/inputs/action.js +7 -0
  34. package/cjs/public/inputs/index.js +1 -0
  35. package/cjs/public/typings/action.js +85 -0
  36. package/cjs/public/typings/analysisResult.js +1 -0
  37. package/cjs/public/typings/dataHolder.js +2 -0
  38. package/cjs/public/typings/index.js +1 -0
  39. package/cjs/public/typings/organizationAnalysis.js +17 -1
  40. package/docs/assets/hierarchy.js +1 -1
  41. package/docs/assets/navigation.js +1 -1
  42. package/docs/assets/search.js +1 -1
  43. package/docs/classes/DefaultSudoPrivacyInteractionClient.html +194 -22
  44. package/docs/enums/ActionFulfilmentMethod.html +63 -0
  45. package/docs/enums/ActionIntent.html +84 -0
  46. package/docs/enums/ActionOrigin.html +75 -0
  47. package/docs/enums/ActionStatus.html +99 -0
  48. package/docs/enums/ConnectionState.html +3 -3
  49. package/docs/enums/DataHolderProtectionState.html +12 -6
  50. package/docs/enums/OrganizationAnalysisDomainResolution.html +70 -0
  51. package/docs/enums/OrganizationCategory.html +38 -32
  52. package/docs/enums/ProviderType.html +3 -3
  53. package/docs/enums/VirtualPresenceState.html +7 -7
  54. package/docs/hierarchy.html +6 -6
  55. package/docs/interfaces/Action.html +167 -0
  56. package/docs/interfaces/ActionContact.html +77 -0
  57. package/docs/interfaces/ActionSubscriber.html +92 -0
  58. package/docs/interfaces/AnalysisResultSubscriber.html +3 -3
  59. package/docs/interfaces/AssistedEmailTemplate.html +70 -0
  60. package/docs/interfaces/AssistedPayload.html +113 -0
  61. package/docs/interfaces/AvailableAction.html +102 -0
  62. package/docs/interfaces/CapabilitySignals.html +41 -29
  63. package/docs/interfaces/DataHolderCount.html +98 -0
  64. package/docs/interfaces/DataHolderScanSummary.html +14 -14
  65. package/docs/interfaces/DataHolderSubscriber.html +3 -3
  66. package/docs/interfaces/GetOrganizationAnalysisInput.html +24 -5
  67. package/docs/interfaces/InitiateActionInput.html +79 -0
  68. package/docs/interfaces/ListAnalysisResultsInput.html +1 -1
  69. package/docs/interfaces/ListAvailableActionsInput.html +61 -0
  70. package/docs/interfaces/ListDataHolderScanSummariesInput.html +1 -1
  71. package/docs/interfaces/ListDataHoldersInput.html +1 -1
  72. package/docs/interfaces/ListVirtualPresencesInput.html +1 -1
  73. package/docs/interfaces/OrganizationIdentity.html +5 -5
  74. package/docs/interfaces/Pagination.html +1 -1
  75. package/docs/interfaces/RiskIndicators.html +8 -8
  76. package/docs/interfaces/SudoPrivacyInteractionClient.html +186 -22
  77. package/docs/interfaces/VirtualPresence.html +22 -13
  78. package/docs/interfaces/VirtualPresenceSubscriber.html +3 -3
  79. package/docs/modules.html +4 -4
  80. package/docs/types/SudoPrivacyInteractionClientOptions.html +2 -2
  81. package/lib/gen/graphqlTypes.js +1109 -131
  82. package/lib/gen/schema-types.js +1 -0
  83. package/lib/private/data/action/actionSubscriptionManager.js +21 -0
  84. package/lib/private/data/action/defaultActionService.js +83 -0
  85. package/lib/private/data/action/transformer/actionFulfilmentMethodTransformer.js +43 -0
  86. package/lib/private/data/action/transformer/actionIntentTransformer.js +65 -0
  87. package/lib/private/data/action/transformer/actionOriginTransformer.js +33 -0
  88. package/lib/private/data/action/transformer/actionStatusTransformer.js +49 -0
  89. package/lib/private/data/action/transformer/actionTransformer.js +81 -0
  90. package/lib/private/data/action/transformer/availableActionTransformer.js +33 -0
  91. package/lib/private/data/analysis-result/transformer/capabilitySignalsTransformer.js +5 -2
  92. package/lib/private/data/analysis-result/transformer/organizationCategoryTransformer.js +4 -0
  93. package/lib/private/data/common/apiClient.js +65 -2
  94. package/lib/private/data/data-holder/defaultDataHolderService.js +8 -0
  95. package/lib/private/data/data-holder/transformer/dataHolderProtectionStateTransformer.js +4 -0
  96. package/lib/private/data/organization-analysis/defaultOrganizationAnalysisService.js +6 -0
  97. package/lib/private/data/organization-analysis/transformer/organizationAnalysisDomainResolutionTransformer.js +25 -0
  98. package/lib/private/data/virtual-presence/transformer/virtualPresenceTransformer.js +8 -0
  99. package/lib/private/domain/entities/action/actionEntity.js +83 -0
  100. package/lib/private/domain/entities/action/actionService.js +6 -0
  101. package/lib/private/domain/entities/analysis-result/analysisResultEntity.js +1 -0
  102. package/lib/private/domain/entities/data-holder/dataHolderEntity.js +2 -0
  103. package/lib/private/domain/entities/organization-analysis/organizationAnalysisEntity.js +16 -0
  104. package/lib/private/domain/use-cases/action/confirmActionOutcomeUseCase.js +21 -0
  105. package/lib/private/domain/use-cases/action/getActionUseCase.js +21 -0
  106. package/lib/private/domain/use-cases/action/initiateActionUseCase.js +22 -0
  107. package/lib/private/domain/use-cases/action/listAvailableActionsUseCase.js +22 -0
  108. package/lib/private/domain/use-cases/action/subscribeToActionUseCase.js +33 -0
  109. package/lib/private/domain/use-cases/action/unsubscribeFromActionUseCase.js +23 -0
  110. package/lib/private/domain/use-cases/data-holder/archiveDataHolderUseCase.js +21 -0
  111. package/lib/private/domain/use-cases/data-holder/unarchiveDataHolderUseCase.js +21 -0
  112. package/lib/public/defaultSudoPrivacyInteractionClient.js +89 -0
  113. package/lib/public/inputs/action.js +6 -0
  114. package/lib/public/inputs/index.js +1 -0
  115. package/lib/public/typings/action.js +82 -0
  116. package/lib/public/typings/analysisResult.js +1 -0
  117. package/lib/public/typings/dataHolder.js +2 -0
  118. package/lib/public/typings/index.js +1 -0
  119. package/lib/public/typings/organizationAnalysis.js +16 -0
  120. package/package.json +20 -24
  121. package/types/gen/graphqlTypes.d.ts +427 -497
  122. package/types/gen/schema-types.d.ts +521 -0
  123. package/types/private/data/action/actionSubscriptionManager.d.ts +19 -0
  124. package/types/private/data/action/defaultActionService.d.ts +24 -0
  125. package/types/private/data/action/transformer/actionFulfilmentMethodTransformer.d.ts +14 -0
  126. package/types/private/data/action/transformer/actionIntentTransformer.d.ts +14 -0
  127. package/types/private/data/action/transformer/actionOriginTransformer.d.ts +12 -0
  128. package/types/private/data/action/transformer/actionStatusTransformer.d.ts +12 -0
  129. package/types/private/data/action/transformer/actionTransformer.d.ts +39 -0
  130. package/types/private/data/action/transformer/availableActionTransformer.d.ts +15 -0
  131. package/types/private/data/common/apiClient.d.ts +12 -1
  132. package/types/private/data/data-holder/defaultDataHolderService.d.ts +2 -0
  133. package/types/private/data/organization-analysis/defaultOrganizationAnalysisService.d.ts +1 -0
  134. package/types/private/data/organization-analysis/transformer/organizationAnalysisDomainResolutionTransformer.d.ts +12 -0
  135. package/types/private/domain/entities/action/actionEntity.d.ts +187 -0
  136. package/types/private/domain/entities/action/actionService.d.ts +110 -0
  137. package/types/private/domain/entities/analysis-result/analysisResultEntity.d.ts +3 -2
  138. package/types/private/domain/entities/data-holder/dataHolderEntity.d.ts +2 -0
  139. package/types/private/domain/entities/data-holder/dataHolderService.d.ts +16 -0
  140. package/types/private/domain/entities/organization-analysis/organizationAnalysisEntity.d.ts +15 -0
  141. package/types/private/domain/entities/organization-analysis/organizationAnalysisService.d.ts +8 -1
  142. package/types/private/domain/entities/virtual-presence/virtualPresenceEntity.d.ts +24 -0
  143. package/types/private/domain/use-cases/action/confirmActionOutcomeUseCase.d.ts +16 -0
  144. package/types/private/domain/use-cases/action/getActionUseCase.d.ts +16 -0
  145. package/types/private/domain/use-cases/action/initiateActionUseCase.d.ts +17 -0
  146. package/types/private/domain/use-cases/action/listAvailableActionsUseCase.d.ts +16 -0
  147. package/types/private/domain/use-cases/action/subscribeToActionUseCase.d.ts +27 -0
  148. package/types/private/domain/use-cases/action/unsubscribeFromActionUseCase.d.ts +15 -0
  149. package/types/private/domain/use-cases/data-holder/archiveDataHolderUseCase.d.ts +16 -0
  150. package/types/private/domain/use-cases/data-holder/unarchiveDataHolderUseCase.d.ts +16 -0
  151. package/types/public/defaultSudoPrivacyInteractionClient.d.ts +16 -2
  152. package/types/public/inputs/action.d.ts +30 -0
  153. package/types/public/inputs/index.d.ts +1 -0
  154. package/types/public/inputs/organizationAnalysis.d.ts +8 -1
  155. package/types/public/sudoPrivacyInteractionClient.d.ts +68 -2
  156. package/types/public/typings/action.d.ts +185 -0
  157. package/types/public/typings/analysisResult.d.ts +8 -0
  158. package/types/public/typings/dataHolder.d.ts +2 -0
  159. package/types/public/typings/index.d.ts +1 -0
  160. package/types/public/typings/organizationAnalysis.d.ts +15 -0
  161. package/types/public/typings/subscription.d.ts +23 -0
  162. package/types/public/typings/virtualPresence.d.ts +25 -0
@@ -1,6 +1,124 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.OnAnalysisResultUpdateDocument = exports.OnDataHoldersUpdateDocument = exports.OnVirtualPresenceUpdateDocument = exports.ListDataHolderScanSummariesDocument = exports.ListAnalysisResultsDocument = exports.GetOrganizationAnalysisDocument = exports.GetAnalysisResultDocument = exports.ListDataHoldersDocument = exports.GetDataHolderDocument = exports.ListVirtualPresencesDocument = exports.GetProviderConfigurationDocument = exports.RescanVirtualPresenceDocument = exports.DisconnectVirtualPresenceDocument = exports.ConnectVirtualPresenceDocument = exports.VirtualPresenceFieldsFragmentDoc = exports.OrganizationAnalysisFieldsFragmentDoc = exports.DataHolderScanSummaryFieldsFragmentDoc = exports.DataHolderFieldsFragmentDoc = exports.AnalysisResultFieldsFragmentDoc = exports.AnalysisResultDataFieldsFragmentDoc = 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);
6
+ exports.ActionFieldsFragmentDoc = {
7
+ kind: 'Document',
8
+ definitions: [
9
+ {
10
+ kind: 'FragmentDefinition',
11
+ name: { kind: 'Name', value: 'ActionFields' },
12
+ typeCondition: {
13
+ kind: 'NamedType',
14
+ name: { kind: 'Name', value: 'Action' },
15
+ },
16
+ selectionSet: {
17
+ kind: 'SelectionSet',
18
+ selections: [
19
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
20
+ { kind: 'Field', name: { kind: 'Name', value: 'virtualPresenceId' } },
21
+ { kind: 'Field', name: { kind: 'Name', value: 'dataHolderId' } },
22
+ { kind: 'Field', name: { kind: 'Name', value: 'intent' } },
23
+ { kind: 'Field', name: { kind: 'Name', value: 'additionalInfo' } },
24
+ { kind: 'Field', name: { kind: 'Name', value: 'fulfilmentMethod' } },
25
+ { kind: 'Field', name: { kind: 'Name', value: 'status' } },
26
+ {
27
+ kind: 'Field',
28
+ name: { kind: 'Name', value: 'assistedPayload' },
29
+ selectionSet: {
30
+ kind: 'SelectionSet',
31
+ selections: [
32
+ { kind: 'Field', name: { kind: 'Name', value: 'toAddress' } },
33
+ {
34
+ kind: 'Field',
35
+ name: { kind: 'Name', value: 'unsubscribeUrl' },
36
+ },
37
+ {
38
+ kind: 'Field',
39
+ name: { kind: 'Name', value: 'unsubscribeMailto' },
40
+ },
41
+ {
42
+ kind: 'Field',
43
+ name: { kind: 'Name', value: 'contact' },
44
+ selectionSet: {
45
+ kind: 'SelectionSet',
46
+ selections: [
47
+ { kind: 'Field', name: { kind: 'Name', value: 'email' } },
48
+ { kind: 'Field', name: { kind: 'Name', value: 'phone' } },
49
+ {
50
+ kind: 'Field',
51
+ name: { kind: 'Name', value: 'address' },
52
+ },
53
+ ],
54
+ },
55
+ },
56
+ {
57
+ kind: 'Field',
58
+ name: { kind: 'Name', value: 'jurisdiction' },
59
+ },
60
+ {
61
+ kind: 'Field',
62
+ name: { kind: 'Name', value: 'instructions' },
63
+ },
64
+ {
65
+ kind: 'Field',
66
+ name: { kind: 'Name', value: 'emailTemplate' },
67
+ selectionSet: {
68
+ kind: 'SelectionSet',
69
+ selections: [
70
+ {
71
+ kind: 'Field',
72
+ name: { kind: 'Name', value: 'subject' },
73
+ },
74
+ { kind: 'Field', name: { kind: 'Name', value: 'body' } },
75
+ ],
76
+ },
77
+ },
78
+ ],
79
+ },
80
+ },
81
+ {
82
+ kind: 'Field',
83
+ name: { kind: 'Name', value: 'initiatedAtEpochMs' },
84
+ },
85
+ {
86
+ kind: 'Field',
87
+ name: { kind: 'Name', value: 'completedAtEpochMs' },
88
+ },
89
+ { kind: 'Field', name: { kind: 'Name', value: 'owner' } },
90
+ { kind: 'Field', name: { kind: 'Name', value: 'version' } },
91
+ { kind: 'Field', name: { kind: 'Name', value: 'createdAtEpochMs' } },
92
+ { kind: 'Field', name: { kind: 'Name', value: 'updatedAtEpochMs' } },
93
+ ],
94
+ },
95
+ },
96
+ ],
97
+ };
98
+ exports.AvailableActionFieldsFragmentDoc = {
99
+ kind: 'Document',
100
+ definitions: [
101
+ {
102
+ kind: 'FragmentDefinition',
103
+ name: { kind: 'Name', value: 'AvailableActionFields' },
104
+ typeCondition: {
105
+ kind: 'NamedType',
106
+ name: { kind: 'Name', value: 'AvailableAction' },
107
+ },
108
+ selectionSet: {
109
+ kind: 'SelectionSet',
110
+ selections: [
111
+ { kind: 'Field', name: { kind: 'Name', value: 'intent' } },
112
+ { kind: 'Field', name: { kind: 'Name', value: 'additionalInfo' } },
113
+ { kind: 'Field', name: { kind: 'Name', value: 'fulfilmentMethod' } },
114
+ { kind: 'Field', name: { kind: 'Name', value: 'origin' } },
115
+ { kind: 'Field', name: { kind: 'Name', value: 'title' } },
116
+ { kind: 'Field', name: { kind: 'Name', value: 'description' } },
117
+ ],
118
+ },
119
+ },
120
+ ],
121
+ };
4
122
  exports.AnalysisResultDataFieldsFragmentDoc = {
5
123
  kind: 'Document',
6
124
  definitions: [
@@ -149,7 +267,7 @@ exports.AnalysisResultDataFieldsFragmentDoc = {
149
267
  },
150
268
  {
151
269
  kind: 'Field',
152
- name: { kind: 'Name', value: 'sellsPersonalInformation' },
270
+ name: { kind: 'Name', value: 'supportsOptOutOfSale' },
153
271
  },
154
272
  {
155
273
  kind: 'Field',
@@ -410,7 +528,7 @@ exports.AnalysisResultFieldsFragmentDoc = {
410
528
  },
411
529
  {
412
530
  kind: 'Field',
413
- name: { kind: 'Name', value: 'sellsPersonalInformation' },
531
+ name: { kind: 'Name', value: 'supportsOptOutOfSale' },
414
532
  },
415
533
  {
416
534
  kind: 'Field',
@@ -745,7 +863,7 @@ exports.OrganizationAnalysisFieldsFragmentDoc = {
745
863
  },
746
864
  {
747
865
  kind: 'Field',
748
- name: { kind: 'Name', value: 'sellsPersonalInformation' },
866
+ name: { kind: 'Name', value: 'supportsOptOutOfSale' },
749
867
  },
750
868
  {
751
869
  kind: 'Field',
@@ -842,6 +960,26 @@ exports.VirtualPresenceFieldsFragmentDoc = {
842
960
  kind: 'Field',
843
961
  name: { kind: 'Name', value: 'lastScanFailureReason' },
844
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
+ },
845
983
  { kind: 'Field', name: { kind: 'Name', value: 'owner' } },
846
984
  { kind: 'Field', name: { kind: 'Name', value: 'version' } },
847
985
  { kind: 'Field', name: { kind: 'Name', value: 'createdAtEpochMs' } },
@@ -922,6 +1060,26 @@ exports.ConnectVirtualPresenceDocument = {
922
1060
  kind: 'Field',
923
1061
  name: { kind: 'Name', value: 'lastScanFailureReason' },
924
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
+ },
925
1083
  { kind: 'Field', name: { kind: 'Name', value: 'owner' } },
926
1084
  { kind: 'Field', name: { kind: 'Name', value: 'version' } },
927
1085
  { kind: 'Field', name: { kind: 'Name', value: 'createdAtEpochMs' } },
@@ -1002,6 +1160,26 @@ exports.DisconnectVirtualPresenceDocument = {
1002
1160
  kind: 'Field',
1003
1161
  name: { kind: 'Name', value: 'lastScanFailureReason' },
1004
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
+ },
1005
1183
  { kind: 'Field', name: { kind: 'Name', value: 'owner' } },
1006
1184
  { kind: 'Field', name: { kind: 'Name', value: 'version' } },
1007
1185
  { kind: 'Field', name: { kind: 'Name', value: 'createdAtEpochMs' } },
@@ -1101,47 +1279,42 @@ exports.RescanVirtualPresenceDocument = {
1101
1279
  kind: 'Field',
1102
1280
  name: { kind: 'Name', value: 'lastScanFailureReason' },
1103
1281
  },
1104
- { kind: 'Field', name: { kind: 'Name', value: 'owner' } },
1105
- { kind: 'Field', name: { kind: 'Name', value: 'version' } },
1106
- { kind: 'Field', name: { kind: 'Name', value: 'createdAtEpochMs' } },
1107
- { kind: 'Field', name: { kind: 'Name', value: 'updatedAtEpochMs' } },
1108
- ],
1109
- },
1110
- },
1111
- ],
1112
- };
1113
- exports.GetProviderConfigurationDocument = {
1114
- kind: 'Document',
1115
- definitions: [
1116
- {
1117
- kind: 'OperationDefinition',
1118
- operation: 'query',
1119
- name: { kind: 'Name', value: 'GetProviderConfiguration' },
1120
- selectionSet: {
1121
- kind: 'SelectionSet',
1122
- selections: [
1123
1282
  {
1124
1283
  kind: 'Field',
1125
- name: { kind: 'Name', value: 'getProviderConfiguration' },
1284
+ name: { kind: 'Name', value: 'dataHolderCount' },
1126
1285
  selectionSet: {
1127
1286
  kind: 'SelectionSet',
1128
1287
  selections: [
1129
- { kind: 'Field', name: { kind: 'Name', value: 'data' } },
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' } },
1130
1299
  ],
1131
1300
  },
1132
1301
  },
1302
+ { kind: 'Field', name: { kind: 'Name', value: 'owner' } },
1303
+ { kind: 'Field', name: { kind: 'Name', value: 'version' } },
1304
+ { kind: 'Field', name: { kind: 'Name', value: 'createdAtEpochMs' } },
1305
+ { kind: 'Field', name: { kind: 'Name', value: 'updatedAtEpochMs' } },
1133
1306
  ],
1134
1307
  },
1135
1308
  },
1136
1309
  ],
1137
1310
  };
1138
- exports.ListVirtualPresencesDocument = {
1311
+ exports.InitiateActionDocument = {
1139
1312
  kind: 'Document',
1140
1313
  definitions: [
1141
1314
  {
1142
1315
  kind: 'OperationDefinition',
1143
- operation: 'query',
1144
- name: { kind: 'Name', value: 'ListVirtualPresences' },
1316
+ operation: 'mutation',
1317
+ name: { kind: 'Name', value: 'InitiateAction' },
1145
1318
  variableDefinitions: [
1146
1319
  {
1147
1320
  kind: 'VariableDefinition',
@@ -1150,8 +1323,11 @@ exports.ListVirtualPresencesDocument = {
1150
1323
  name: { kind: 'Name', value: 'input' },
1151
1324
  },
1152
1325
  type: {
1153
- kind: 'NamedType',
1154
- name: { kind: 'Name', value: 'ListVirtualPresencesInput' },
1326
+ kind: 'NonNullType',
1327
+ type: {
1328
+ kind: 'NamedType',
1329
+ name: { kind: 'Name', value: 'InitiateActionInput' },
1330
+ },
1155
1331
  },
1156
1332
  },
1157
1333
  ],
@@ -1160,7 +1336,7 @@ exports.ListVirtualPresencesDocument = {
1160
1336
  selections: [
1161
1337
  {
1162
1338
  kind: 'Field',
1163
- name: { kind: 'Name', value: 'listVirtualPresences' },
1339
+ name: { kind: 'Name', value: 'initiateAction' },
1164
1340
  arguments: [
1165
1341
  {
1166
1342
  kind: 'Argument',
@@ -1175,19 +1351,9 @@ exports.ListVirtualPresencesDocument = {
1175
1351
  kind: 'SelectionSet',
1176
1352
  selections: [
1177
1353
  {
1178
- kind: 'Field',
1179
- name: { kind: 'Name', value: 'items' },
1180
- selectionSet: {
1181
- kind: 'SelectionSet',
1182
- selections: [
1183
- {
1184
- kind: 'FragmentSpread',
1185
- name: { kind: 'Name', value: 'VirtualPresenceFields' },
1186
- },
1187
- ],
1188
- },
1354
+ kind: 'FragmentSpread',
1355
+ name: { kind: 'Name', value: 'ActionFields' },
1189
1356
  },
1190
- { kind: 'Field', name: { kind: 'Name', value: 'nextToken' } },
1191
1357
  ],
1192
1358
  },
1193
1359
  },
@@ -1196,25 +1362,83 @@ exports.ListVirtualPresencesDocument = {
1196
1362
  },
1197
1363
  {
1198
1364
  kind: 'FragmentDefinition',
1199
- name: { kind: 'Name', value: 'VirtualPresenceFields' },
1365
+ name: { kind: 'Name', value: 'ActionFields' },
1200
1366
  typeCondition: {
1201
1367
  kind: 'NamedType',
1202
- name: { kind: 'Name', value: 'VirtualPresence' },
1368
+ name: { kind: 'Name', value: 'Action' },
1203
1369
  },
1204
1370
  selectionSet: {
1205
1371
  kind: 'SelectionSet',
1206
1372
  selections: [
1207
1373
  { kind: 'Field', name: { kind: 'Name', value: 'id' } },
1208
- { kind: 'Field', name: { kind: 'Name', value: 'providerType' } },
1209
- { kind: 'Field', name: { kind: 'Name', value: 'identifier' } },
1210
- { kind: 'Field', name: { kind: 'Name', value: 'state' } },
1374
+ { kind: 'Field', name: { kind: 'Name', value: 'virtualPresenceId' } },
1375
+ { kind: 'Field', name: { kind: 'Name', value: 'dataHolderId' } },
1376
+ { kind: 'Field', name: { kind: 'Name', value: 'intent' } },
1377
+ { kind: 'Field', name: { kind: 'Name', value: 'additionalInfo' } },
1378
+ { kind: 'Field', name: { kind: 'Name', value: 'fulfilmentMethod' } },
1379
+ { kind: 'Field', name: { kind: 'Name', value: 'status' } },
1211
1380
  {
1212
1381
  kind: 'Field',
1213
- name: { kind: 'Name', value: 'lastScannedAtEpochMs' },
1382
+ name: { kind: 'Name', value: 'assistedPayload' },
1383
+ selectionSet: {
1384
+ kind: 'SelectionSet',
1385
+ selections: [
1386
+ { kind: 'Field', name: { kind: 'Name', value: 'toAddress' } },
1387
+ {
1388
+ kind: 'Field',
1389
+ name: { kind: 'Name', value: 'unsubscribeUrl' },
1390
+ },
1391
+ {
1392
+ kind: 'Field',
1393
+ name: { kind: 'Name', value: 'unsubscribeMailto' },
1394
+ },
1395
+ {
1396
+ kind: 'Field',
1397
+ name: { kind: 'Name', value: 'contact' },
1398
+ selectionSet: {
1399
+ kind: 'SelectionSet',
1400
+ selections: [
1401
+ { kind: 'Field', name: { kind: 'Name', value: 'email' } },
1402
+ { kind: 'Field', name: { kind: 'Name', value: 'phone' } },
1403
+ {
1404
+ kind: 'Field',
1405
+ name: { kind: 'Name', value: 'address' },
1406
+ },
1407
+ ],
1408
+ },
1409
+ },
1410
+ {
1411
+ kind: 'Field',
1412
+ name: { kind: 'Name', value: 'jurisdiction' },
1413
+ },
1414
+ {
1415
+ kind: 'Field',
1416
+ name: { kind: 'Name', value: 'instructions' },
1417
+ },
1418
+ {
1419
+ kind: 'Field',
1420
+ name: { kind: 'Name', value: 'emailTemplate' },
1421
+ selectionSet: {
1422
+ kind: 'SelectionSet',
1423
+ selections: [
1424
+ {
1425
+ kind: 'Field',
1426
+ name: { kind: 'Name', value: 'subject' },
1427
+ },
1428
+ { kind: 'Field', name: { kind: 'Name', value: 'body' } },
1429
+ ],
1430
+ },
1431
+ },
1432
+ ],
1433
+ },
1214
1434
  },
1215
1435
  {
1216
1436
  kind: 'Field',
1217
- name: { kind: 'Name', value: 'lastScanFailureReason' },
1437
+ name: { kind: 'Name', value: 'initiatedAtEpochMs' },
1438
+ },
1439
+ {
1440
+ kind: 'Field',
1441
+ name: { kind: 'Name', value: 'completedAtEpochMs' },
1218
1442
  },
1219
1443
  { kind: 'Field', name: { kind: 'Name', value: 'owner' } },
1220
1444
  { kind: 'Field', name: { kind: 'Name', value: 'version' } },
@@ -1225,13 +1449,13 @@ exports.ListVirtualPresencesDocument = {
1225
1449
  },
1226
1450
  ],
1227
1451
  };
1228
- exports.GetDataHolderDocument = {
1452
+ exports.ConfirmActionOutcomeDocument = {
1229
1453
  kind: 'Document',
1230
1454
  definitions: [
1231
1455
  {
1232
1456
  kind: 'OperationDefinition',
1233
- operation: 'query',
1234
- name: { kind: 'Name', value: 'GetDataHolder' },
1457
+ operation: 'mutation',
1458
+ name: { kind: 'Name', value: 'ConfirmActionOutcome' },
1235
1459
  variableDefinitions: [
1236
1460
  {
1237
1461
  kind: 'VariableDefinition',
@@ -1247,7 +1471,7 @@ exports.GetDataHolderDocument = {
1247
1471
  selections: [
1248
1472
  {
1249
1473
  kind: 'Field',
1250
- name: { kind: 'Name', value: 'getDataHolder' },
1474
+ name: { kind: 'Name', value: 'confirmActionOutcome' },
1251
1475
  arguments: [
1252
1476
  {
1253
1477
  kind: 'Argument',
@@ -1263,7 +1487,7 @@ exports.GetDataHolderDocument = {
1263
1487
  selections: [
1264
1488
  {
1265
1489
  kind: 'FragmentSpread',
1266
- name: { kind: 'Name', value: 'DataHolderFields' },
1490
+ name: { kind: 'Name', value: 'ActionFields' },
1267
1491
  },
1268
1492
  ],
1269
1493
  },
@@ -1273,26 +1497,446 @@ exports.GetDataHolderDocument = {
1273
1497
  },
1274
1498
  {
1275
1499
  kind: 'FragmentDefinition',
1276
- name: { kind: 'Name', value: 'DataHolderFields' },
1500
+ name: { kind: 'Name', value: 'ActionFields' },
1277
1501
  typeCondition: {
1278
1502
  kind: 'NamedType',
1279
- name: { kind: 'Name', value: 'DataHolder' },
1503
+ name: { kind: 'Name', value: 'Action' },
1280
1504
  },
1281
1505
  selectionSet: {
1282
1506
  kind: 'SelectionSet',
1283
1507
  selections: [
1284
1508
  { kind: 'Field', name: { kind: 'Name', value: 'id' } },
1285
1509
  { kind: 'Field', name: { kind: 'Name', value: 'virtualPresenceId' } },
1286
- { kind: 'Field', name: { kind: 'Name', value: 'domainName' } },
1287
- { kind: 'Field', name: { kind: 'Name', value: 'name' } },
1288
- { kind: 'Field', name: { kind: 'Name', value: 'protectionState' } },
1289
- { kind: 'Field', name: { kind: 'Name', value: 'complianceConcern' } },
1510
+ { kind: 'Field', name: { kind: 'Name', value: 'dataHolderId' } },
1511
+ { kind: 'Field', name: { kind: 'Name', value: 'intent' } },
1512
+ { kind: 'Field', name: { kind: 'Name', value: 'additionalInfo' } },
1513
+ { kind: 'Field', name: { kind: 'Name', value: 'fulfilmentMethod' } },
1514
+ { kind: 'Field', name: { kind: 'Name', value: 'status' } },
1290
1515
  {
1291
1516
  kind: 'Field',
1292
- name: { kind: 'Name', value: 'mostRecentInteractionEpochMs' },
1293
- },
1294
- { kind: 'Field', name: { kind: 'Name', value: 'owner' } },
1295
- { kind: 'Field', name: { kind: 'Name', value: 'version' } },
1517
+ name: { kind: 'Name', value: 'assistedPayload' },
1518
+ selectionSet: {
1519
+ kind: 'SelectionSet',
1520
+ selections: [
1521
+ { kind: 'Field', name: { kind: 'Name', value: 'toAddress' } },
1522
+ {
1523
+ kind: 'Field',
1524
+ name: { kind: 'Name', value: 'unsubscribeUrl' },
1525
+ },
1526
+ {
1527
+ kind: 'Field',
1528
+ name: { kind: 'Name', value: 'unsubscribeMailto' },
1529
+ },
1530
+ {
1531
+ kind: 'Field',
1532
+ name: { kind: 'Name', value: 'contact' },
1533
+ selectionSet: {
1534
+ kind: 'SelectionSet',
1535
+ selections: [
1536
+ { kind: 'Field', name: { kind: 'Name', value: 'email' } },
1537
+ { kind: 'Field', name: { kind: 'Name', value: 'phone' } },
1538
+ {
1539
+ kind: 'Field',
1540
+ name: { kind: 'Name', value: 'address' },
1541
+ },
1542
+ ],
1543
+ },
1544
+ },
1545
+ {
1546
+ kind: 'Field',
1547
+ name: { kind: 'Name', value: 'jurisdiction' },
1548
+ },
1549
+ {
1550
+ kind: 'Field',
1551
+ name: { kind: 'Name', value: 'instructions' },
1552
+ },
1553
+ {
1554
+ kind: 'Field',
1555
+ name: { kind: 'Name', value: 'emailTemplate' },
1556
+ selectionSet: {
1557
+ kind: 'SelectionSet',
1558
+ selections: [
1559
+ {
1560
+ kind: 'Field',
1561
+ name: { kind: 'Name', value: 'subject' },
1562
+ },
1563
+ { kind: 'Field', name: { kind: 'Name', value: 'body' } },
1564
+ ],
1565
+ },
1566
+ },
1567
+ ],
1568
+ },
1569
+ },
1570
+ {
1571
+ kind: 'Field',
1572
+ name: { kind: 'Name', value: 'initiatedAtEpochMs' },
1573
+ },
1574
+ {
1575
+ kind: 'Field',
1576
+ name: { kind: 'Name', value: 'completedAtEpochMs' },
1577
+ },
1578
+ { kind: 'Field', name: { kind: 'Name', value: 'owner' } },
1579
+ { kind: 'Field', name: { kind: 'Name', value: 'version' } },
1580
+ { kind: 'Field', name: { kind: 'Name', value: 'createdAtEpochMs' } },
1581
+ { kind: 'Field', name: { kind: 'Name', value: 'updatedAtEpochMs' } },
1582
+ ],
1583
+ },
1584
+ },
1585
+ ],
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
+ };
1737
+ exports.GetProviderConfigurationDocument = {
1738
+ kind: 'Document',
1739
+ definitions: [
1740
+ {
1741
+ kind: 'OperationDefinition',
1742
+ operation: 'query',
1743
+ name: { kind: 'Name', value: 'GetProviderConfiguration' },
1744
+ selectionSet: {
1745
+ kind: 'SelectionSet',
1746
+ selections: [
1747
+ {
1748
+ kind: 'Field',
1749
+ name: { kind: 'Name', value: 'getProviderConfiguration' },
1750
+ selectionSet: {
1751
+ kind: 'SelectionSet',
1752
+ selections: [
1753
+ { kind: 'Field', name: { kind: 'Name', value: 'data' } },
1754
+ ],
1755
+ },
1756
+ },
1757
+ ],
1758
+ },
1759
+ },
1760
+ ],
1761
+ };
1762
+ exports.ListVirtualPresencesDocument = {
1763
+ kind: 'Document',
1764
+ definitions: [
1765
+ {
1766
+ kind: 'OperationDefinition',
1767
+ operation: 'query',
1768
+ name: { kind: 'Name', value: 'ListVirtualPresences' },
1769
+ variableDefinitions: [
1770
+ {
1771
+ kind: 'VariableDefinition',
1772
+ variable: {
1773
+ kind: 'Variable',
1774
+ name: { kind: 'Name', value: 'input' },
1775
+ },
1776
+ type: {
1777
+ kind: 'NamedType',
1778
+ name: { kind: 'Name', value: 'ListVirtualPresencesInput' },
1779
+ },
1780
+ },
1781
+ ],
1782
+ selectionSet: {
1783
+ kind: 'SelectionSet',
1784
+ selections: [
1785
+ {
1786
+ kind: 'Field',
1787
+ name: { kind: 'Name', value: 'listVirtualPresences' },
1788
+ arguments: [
1789
+ {
1790
+ kind: 'Argument',
1791
+ name: { kind: 'Name', value: 'input' },
1792
+ value: {
1793
+ kind: 'Variable',
1794
+ name: { kind: 'Name', value: 'input' },
1795
+ },
1796
+ },
1797
+ ],
1798
+ selectionSet: {
1799
+ kind: 'SelectionSet',
1800
+ selections: [
1801
+ {
1802
+ kind: 'Field',
1803
+ name: { kind: 'Name', value: 'items' },
1804
+ selectionSet: {
1805
+ kind: 'SelectionSet',
1806
+ selections: [
1807
+ {
1808
+ kind: 'FragmentSpread',
1809
+ name: { kind: 'Name', value: 'VirtualPresenceFields' },
1810
+ },
1811
+ ],
1812
+ },
1813
+ },
1814
+ { kind: 'Field', name: { kind: 'Name', value: 'nextToken' } },
1815
+ ],
1816
+ },
1817
+ },
1818
+ ],
1819
+ },
1820
+ },
1821
+ {
1822
+ kind: 'FragmentDefinition',
1823
+ name: { kind: 'Name', value: 'VirtualPresenceFields' },
1824
+ typeCondition: {
1825
+ kind: 'NamedType',
1826
+ name: { kind: 'Name', value: 'VirtualPresence' },
1827
+ },
1828
+ selectionSet: {
1829
+ kind: 'SelectionSet',
1830
+ selections: [
1831
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
1832
+ { kind: 'Field', name: { kind: 'Name', value: 'providerType' } },
1833
+ { kind: 'Field', name: { kind: 'Name', value: 'identifier' } },
1834
+ { kind: 'Field', name: { kind: 'Name', value: 'state' } },
1835
+ {
1836
+ kind: 'Field',
1837
+ name: { kind: 'Name', value: 'lastScannedAtEpochMs' },
1838
+ },
1839
+ {
1840
+ kind: 'Field',
1841
+ name: { kind: 'Name', value: 'lastScanFailureReason' },
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
+ },
1863
+ { kind: 'Field', name: { kind: 'Name', value: 'owner' } },
1864
+ { kind: 'Field', name: { kind: 'Name', value: 'version' } },
1865
+ { kind: 'Field', name: { kind: 'Name', value: 'createdAtEpochMs' } },
1866
+ { kind: 'Field', name: { kind: 'Name', value: 'updatedAtEpochMs' } },
1867
+ ],
1868
+ },
1869
+ },
1870
+ ],
1871
+ };
1872
+ exports.GetDataHolderDocument = {
1873
+ kind: 'Document',
1874
+ definitions: [
1875
+ {
1876
+ kind: 'OperationDefinition',
1877
+ operation: 'query',
1878
+ name: { kind: 'Name', value: 'GetDataHolder' },
1879
+ variableDefinitions: [
1880
+ {
1881
+ kind: 'VariableDefinition',
1882
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } },
1883
+ type: {
1884
+ kind: 'NonNullType',
1885
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } },
1886
+ },
1887
+ },
1888
+ ],
1889
+ selectionSet: {
1890
+ kind: 'SelectionSet',
1891
+ selections: [
1892
+ {
1893
+ kind: 'Field',
1894
+ name: { kind: 'Name', value: 'getDataHolder' },
1895
+ arguments: [
1896
+ {
1897
+ kind: 'Argument',
1898
+ name: { kind: 'Name', value: 'id' },
1899
+ value: {
1900
+ kind: 'Variable',
1901
+ name: { kind: 'Name', value: 'id' },
1902
+ },
1903
+ },
1904
+ ],
1905
+ selectionSet: {
1906
+ kind: 'SelectionSet',
1907
+ selections: [
1908
+ {
1909
+ kind: 'FragmentSpread',
1910
+ name: { kind: 'Name', value: 'DataHolderFields' },
1911
+ },
1912
+ ],
1913
+ },
1914
+ },
1915
+ ],
1916
+ },
1917
+ },
1918
+ {
1919
+ kind: 'FragmentDefinition',
1920
+ name: { kind: 'Name', value: 'DataHolderFields' },
1921
+ typeCondition: {
1922
+ kind: 'NamedType',
1923
+ name: { kind: 'Name', value: 'DataHolder' },
1924
+ },
1925
+ selectionSet: {
1926
+ kind: 'SelectionSet',
1927
+ selections: [
1928
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
1929
+ { kind: 'Field', name: { kind: 'Name', value: 'virtualPresenceId' } },
1930
+ { kind: 'Field', name: { kind: 'Name', value: 'domainName' } },
1931
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
1932
+ { kind: 'Field', name: { kind: 'Name', value: 'protectionState' } },
1933
+ { kind: 'Field', name: { kind: 'Name', value: 'complianceConcern' } },
1934
+ {
1935
+ kind: 'Field',
1936
+ name: { kind: 'Name', value: 'mostRecentInteractionEpochMs' },
1937
+ },
1938
+ { kind: 'Field', name: { kind: 'Name', value: 'owner' } },
1939
+ { kind: 'Field', name: { kind: 'Name', value: 'version' } },
1296
1940
  { kind: 'Field', name: { kind: 'Name', value: 'createdAtEpochMs' } },
1297
1941
  { kind: 'Field', name: { kind: 'Name', value: 'updatedAtEpochMs' } },
1298
1942
  ],
@@ -1611,7 +2255,7 @@ exports.GetAnalysisResultDocument = {
1611
2255
  },
1612
2256
  {
1613
2257
  kind: 'Field',
1614
- name: { kind: 'Name', value: 'sellsPersonalInformation' },
2258
+ name: { kind: 'Name', value: 'supportsOptOutOfSale' },
1615
2259
  },
1616
2260
  {
1617
2261
  kind: 'Field',
@@ -1748,10 +2392,18 @@ exports.GetOrganizationAnalysisDocument = {
1748
2392
  },
1749
2393
  {
1750
2394
  kind: 'VariableDefinition',
1751
- variable: { kind: 'Variable', name: { kind: 'Name', value: 'mode' } },
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
+ },
1752
2404
  type: {
1753
2405
  kind: 'NamedType',
1754
- name: { kind: 'Name', value: 'OrganizationAnalysisMode' },
2406
+ name: { kind: 'Name', value: 'OrganizationAnalysisOptions' },
1755
2407
  },
1756
2408
  },
1757
2409
  ],
@@ -1772,10 +2424,18 @@ exports.GetOrganizationAnalysisDocument = {
1772
2424
  },
1773
2425
  {
1774
2426
  kind: 'Argument',
1775
- name: { kind: 'Name', value: 'mode' },
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' },
1776
2436
  value: {
1777
2437
  kind: 'Variable',
1778
- name: { kind: 'Name', value: 'mode' },
2438
+ name: { kind: 'Name', value: 'options' },
1779
2439
  },
1780
2440
  },
1781
2441
  ],
@@ -1937,7 +2597,7 @@ exports.GetOrganizationAnalysisDocument = {
1937
2597
  },
1938
2598
  {
1939
2599
  kind: 'Field',
1940
- name: { kind: 'Name', value: 'sellsPersonalInformation' },
2600
+ name: { kind: 'Name', value: 'supportsOptOutOfSale' },
1941
2601
  },
1942
2602
  {
1943
2603
  kind: 'Field',
@@ -2282,7 +2942,7 @@ exports.ListAnalysisResultsDocument = {
2282
2942
  },
2283
2943
  {
2284
2944
  kind: 'Field',
2285
- name: { kind: 'Name', value: 'sellsPersonalInformation' },
2945
+ name: { kind: 'Name', value: 'supportsOptOutOfSale' },
2286
2946
  },
2287
2947
  {
2288
2948
  kind: 'Field',
@@ -2386,22 +3046,159 @@ exports.ListAnalysisResultsDocument = {
2386
3046
  ],
2387
3047
  },
2388
3048
  },
2389
- { kind: 'Field', name: { kind: 'Name', value: 'owner' } },
2390
- { kind: 'Field', name: { kind: 'Name', value: 'version' } },
2391
- { kind: 'Field', name: { kind: 'Name', value: 'createdAtEpochMs' } },
2392
- { kind: 'Field', name: { kind: 'Name', value: 'updatedAtEpochMs' } },
3049
+ { kind: 'Field', name: { kind: 'Name', value: 'owner' } },
3050
+ { kind: 'Field', name: { kind: 'Name', value: 'version' } },
3051
+ { kind: 'Field', name: { kind: 'Name', value: 'createdAtEpochMs' } },
3052
+ { kind: 'Field', name: { kind: 'Name', value: 'updatedAtEpochMs' } },
3053
+ ],
3054
+ },
3055
+ },
3056
+ ],
3057
+ };
3058
+ exports.ListDataHolderScanSummariesDocument = {
3059
+ kind: 'Document',
3060
+ definitions: [
3061
+ {
3062
+ kind: 'OperationDefinition',
3063
+ operation: 'query',
3064
+ name: { kind: 'Name', value: 'ListDataHolderScanSummaries' },
3065
+ variableDefinitions: [
3066
+ {
3067
+ kind: 'VariableDefinition',
3068
+ variable: {
3069
+ kind: 'Variable',
3070
+ name: { kind: 'Name', value: 'dataHolderId' },
3071
+ },
3072
+ type: {
3073
+ kind: 'NonNullType',
3074
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } },
3075
+ },
3076
+ },
3077
+ {
3078
+ kind: 'VariableDefinition',
3079
+ variable: {
3080
+ kind: 'Variable',
3081
+ name: { kind: 'Name', value: 'limit' },
3082
+ },
3083
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
3084
+ },
3085
+ {
3086
+ kind: 'VariableDefinition',
3087
+ variable: {
3088
+ kind: 'Variable',
3089
+ name: { kind: 'Name', value: 'nextToken' },
3090
+ },
3091
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
3092
+ },
3093
+ ],
3094
+ selectionSet: {
3095
+ kind: 'SelectionSet',
3096
+ selections: [
3097
+ {
3098
+ kind: 'Field',
3099
+ name: { kind: 'Name', value: 'listDataHolderScanSummaries' },
3100
+ arguments: [
3101
+ {
3102
+ kind: 'Argument',
3103
+ name: { kind: 'Name', value: 'dataHolderId' },
3104
+ value: {
3105
+ kind: 'Variable',
3106
+ name: { kind: 'Name', value: 'dataHolderId' },
3107
+ },
3108
+ },
3109
+ {
3110
+ kind: 'Argument',
3111
+ name: { kind: 'Name', value: 'limit' },
3112
+ value: {
3113
+ kind: 'Variable',
3114
+ name: { kind: 'Name', value: 'limit' },
3115
+ },
3116
+ },
3117
+ {
3118
+ kind: 'Argument',
3119
+ name: { kind: 'Name', value: 'nextToken' },
3120
+ value: {
3121
+ kind: 'Variable',
3122
+ name: { kind: 'Name', value: 'nextToken' },
3123
+ },
3124
+ },
3125
+ ],
3126
+ selectionSet: {
3127
+ kind: 'SelectionSet',
3128
+ selections: [
3129
+ {
3130
+ kind: 'Field',
3131
+ name: { kind: 'Name', value: 'items' },
3132
+ selectionSet: {
3133
+ kind: 'SelectionSet',
3134
+ selections: [
3135
+ {
3136
+ kind: 'FragmentSpread',
3137
+ name: {
3138
+ kind: 'Name',
3139
+ value: 'DataHolderScanSummaryFields',
3140
+ },
3141
+ },
3142
+ ],
3143
+ },
3144
+ },
3145
+ { kind: 'Field', name: { kind: 'Name', value: 'nextToken' } },
3146
+ ],
3147
+ },
3148
+ },
3149
+ ],
3150
+ },
3151
+ },
3152
+ {
3153
+ kind: 'FragmentDefinition',
3154
+ name: { kind: 'Name', value: 'DataHolderScanSummaryFields' },
3155
+ typeCondition: {
3156
+ kind: 'NamedType',
3157
+ name: { kind: 'Name', value: 'DataHolderScanSummary' },
3158
+ },
3159
+ selectionSet: {
3160
+ kind: 'SelectionSet',
3161
+ selections: [
3162
+ { kind: 'Field', name: { kind: 'Name', value: 'dataHolderId' } },
3163
+ { kind: 'Field', name: { kind: 'Name', value: 'owner' } },
3164
+ { kind: 'Field', name: { kind: 'Name', value: 'scannedAtEpochMs' } },
3165
+ {
3166
+ kind: 'Field',
3167
+ name: { kind: 'Name', value: 'scanRangeFromEpochMs' },
3168
+ },
3169
+ {
3170
+ kind: 'Field',
3171
+ name: { kind: 'Name', value: 'scanRangeToEpochMs' },
3172
+ },
3173
+ { kind: 'Field', name: { kind: 'Name', value: 'emailCount' } },
3174
+ { kind: 'Field', name: { kind: 'Name', value: 'readCount' } },
3175
+ { kind: 'Field', name: { kind: 'Name', value: 'readRate' } },
3176
+ {
3177
+ kind: 'Field',
3178
+ name: { kind: 'Name', value: 'marketingEmailCount' },
3179
+ },
3180
+ {
3181
+ kind: 'Field',
3182
+ name: { kind: 'Name', value: 'marketingEmailOpened' },
3183
+ },
3184
+ { kind: 'Field', name: { kind: 'Name', value: 'marketingOpenRate' } },
3185
+ { kind: 'Field', name: { kind: 'Name', value: 'categoryBreakdown' } },
3186
+ {
3187
+ kind: 'Field',
3188
+ name: { kind: 'Name', value: 'uncategorizedCount' },
3189
+ },
2393
3190
  ],
2394
3191
  },
2395
3192
  },
2396
3193
  ],
2397
3194
  };
2398
- exports.ListDataHolderScanSummariesDocument = {
3195
+ exports.ListAvailableActionsDocument = {
2399
3196
  kind: 'Document',
2400
3197
  definitions: [
2401
3198
  {
2402
3199
  kind: 'OperationDefinition',
2403
3200
  operation: 'query',
2404
- name: { kind: 'Name', value: 'ListDataHolderScanSummaries' },
3201
+ name: { kind: 'Name', value: 'ListAvailableActions' },
2405
3202
  variableDefinitions: [
2406
3203
  {
2407
3204
  kind: 'VariableDefinition',
@@ -2414,29 +3211,13 @@ exports.ListDataHolderScanSummariesDocument = {
2414
3211
  type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } },
2415
3212
  },
2416
3213
  },
2417
- {
2418
- kind: 'VariableDefinition',
2419
- variable: {
2420
- kind: 'Variable',
2421
- name: { kind: 'Name', value: 'limit' },
2422
- },
2423
- type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
2424
- },
2425
- {
2426
- kind: 'VariableDefinition',
2427
- variable: {
2428
- kind: 'Variable',
2429
- name: { kind: 'Name', value: 'nextToken' },
2430
- },
2431
- type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
2432
- },
2433
3214
  ],
2434
3215
  selectionSet: {
2435
3216
  kind: 'SelectionSet',
2436
3217
  selections: [
2437
3218
  {
2438
3219
  kind: 'Field',
2439
- name: { kind: 'Name', value: 'listDataHolderScanSummaries' },
3220
+ name: { kind: 'Name', value: 'listAvailableActions' },
2440
3221
  arguments: [
2441
3222
  {
2442
3223
  kind: 'Argument',
@@ -2446,22 +3227,6 @@ exports.ListDataHolderScanSummariesDocument = {
2446
3227
  name: { kind: 'Name', value: 'dataHolderId' },
2447
3228
  },
2448
3229
  },
2449
- {
2450
- kind: 'Argument',
2451
- name: { kind: 'Name', value: 'limit' },
2452
- value: {
2453
- kind: 'Variable',
2454
- name: { kind: 'Name', value: 'limit' },
2455
- },
2456
- },
2457
- {
2458
- kind: 'Argument',
2459
- name: { kind: 'Name', value: 'nextToken' },
2460
- value: {
2461
- kind: 'Variable',
2462
- name: { kind: 'Name', value: 'nextToken' },
2463
- },
2464
- },
2465
3230
  ],
2466
3231
  selectionSet: {
2467
3232
  kind: 'SelectionSet',
@@ -2474,10 +3239,7 @@ exports.ListDataHolderScanSummariesDocument = {
2474
3239
  selections: [
2475
3240
  {
2476
3241
  kind: 'FragmentSpread',
2477
- name: {
2478
- kind: 'Name',
2479
- value: 'DataHolderScanSummaryFields',
2480
- },
3242
+ name: { kind: 'Name', value: 'AvailableActionFields' },
2481
3243
  },
2482
3244
  ],
2483
3245
  },
@@ -2491,42 +3253,155 @@ exports.ListDataHolderScanSummariesDocument = {
2491
3253
  },
2492
3254
  {
2493
3255
  kind: 'FragmentDefinition',
2494
- name: { kind: 'Name', value: 'DataHolderScanSummaryFields' },
3256
+ name: { kind: 'Name', value: 'AvailableActionFields' },
2495
3257
  typeCondition: {
2496
3258
  kind: 'NamedType',
2497
- name: { kind: 'Name', value: 'DataHolderScanSummary' },
3259
+ name: { kind: 'Name', value: 'AvailableAction' },
2498
3260
  },
2499
3261
  selectionSet: {
2500
3262
  kind: 'SelectionSet',
2501
3263
  selections: [
2502
- { kind: 'Field', name: { kind: 'Name', value: 'dataHolderId' } },
2503
- { kind: 'Field', name: { kind: 'Name', value: 'owner' } },
2504
- { kind: 'Field', name: { kind: 'Name', value: 'scannedAtEpochMs' } },
2505
- {
2506
- kind: 'Field',
2507
- name: { kind: 'Name', value: 'scanRangeFromEpochMs' },
3264
+ { kind: 'Field', name: { kind: 'Name', value: 'intent' } },
3265
+ { kind: 'Field', name: { kind: 'Name', value: 'additionalInfo' } },
3266
+ { kind: 'Field', name: { kind: 'Name', value: 'fulfilmentMethod' } },
3267
+ { kind: 'Field', name: { kind: 'Name', value: 'origin' } },
3268
+ { kind: 'Field', name: { kind: 'Name', value: 'title' } },
3269
+ { kind: 'Field', name: { kind: 'Name', value: 'description' } },
3270
+ ],
3271
+ },
3272
+ },
3273
+ ],
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' } },
2508
3289
  },
3290
+ },
3291
+ ],
3292
+ selectionSet: {
3293
+ kind: 'SelectionSet',
3294
+ selections: [
2509
3295
  {
2510
3296
  kind: 'Field',
2511
- name: { kind: 'Name', value: 'scanRangeToEpochMs' },
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
+ },
2512
3317
  },
2513
- { kind: 'Field', name: { kind: 'Name', value: 'emailCount' } },
2514
- { kind: 'Field', name: { kind: 'Name', value: 'readCount' } },
2515
- { kind: 'Field', name: { kind: 'Name', value: 'readRate' } },
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' } },
2516
3338
  {
2517
3339
  kind: 'Field',
2518
- name: { kind: 'Name', value: 'marketingEmailCount' },
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
+ },
2519
3392
  },
2520
3393
  {
2521
3394
  kind: 'Field',
2522
- name: { kind: 'Name', value: 'marketingEmailOpened' },
3395
+ name: { kind: 'Name', value: 'initiatedAtEpochMs' },
2523
3396
  },
2524
- { kind: 'Field', name: { kind: 'Name', value: 'marketingOpenRate' } },
2525
- { kind: 'Field', name: { kind: 'Name', value: 'categoryBreakdown' } },
2526
3397
  {
2527
3398
  kind: 'Field',
2528
- name: { kind: 'Name', value: 'uncategorizedCount' },
3399
+ name: { kind: 'Name', value: 'completedAtEpochMs' },
2529
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' } },
2530
3405
  ],
2531
3406
  },
2532
3407
  },
@@ -2603,6 +3478,26 @@ exports.OnVirtualPresenceUpdateDocument = {
2603
3478
  kind: 'Field',
2604
3479
  name: { kind: 'Name', value: 'lastScanFailureReason' },
2605
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
+ },
2606
3501
  { kind: 'Field', name: { kind: 'Name', value: 'owner' } },
2607
3502
  { kind: 'Field', name: { kind: 'Name', value: 'version' } },
2608
3503
  { kind: 'Field', name: { kind: 'Name', value: 'createdAtEpochMs' } },
@@ -2778,3 +3673,87 @@ exports.OnAnalysisResultUpdateDocument = {
2778
3673
  },
2779
3674
  ],
2780
3675
  };
3676
+ exports.OnActionStatusUpdateDocument = {
3677
+ kind: 'Document',
3678
+ definitions: [
3679
+ {
3680
+ kind: 'OperationDefinition',
3681
+ operation: 'subscription',
3682
+ name: { kind: 'Name', value: 'OnActionStatusUpdate' },
3683
+ variableDefinitions: [
3684
+ {
3685
+ kind: 'VariableDefinition',
3686
+ variable: {
3687
+ kind: 'Variable',
3688
+ name: { kind: 'Name', value: 'owner' },
3689
+ },
3690
+ type: {
3691
+ kind: 'NonNullType',
3692
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } },
3693
+ },
3694
+ },
3695
+ ],
3696
+ selectionSet: {
3697
+ kind: 'SelectionSet',
3698
+ selections: [
3699
+ {
3700
+ kind: 'Field',
3701
+ name: { kind: 'Name', value: 'onActionStatusUpdate' },
3702
+ arguments: [
3703
+ {
3704
+ kind: 'Argument',
3705
+ name: { kind: 'Name', value: 'owner' },
3706
+ value: {
3707
+ kind: 'Variable',
3708
+ name: { kind: 'Name', value: 'owner' },
3709
+ },
3710
+ },
3711
+ ],
3712
+ selectionSet: {
3713
+ kind: 'SelectionSet',
3714
+ selections: [
3715
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
3716
+ {
3717
+ kind: 'Field',
3718
+ name: { kind: 'Name', value: 'virtualPresenceId' },
3719
+ },
3720
+ {
3721
+ kind: 'Field',
3722
+ name: { kind: 'Name', value: 'dataHolderId' },
3723
+ },
3724
+ { kind: 'Field', name: { kind: 'Name', value: 'intent' } },
3725
+ {
3726
+ kind: 'Field',
3727
+ name: { kind: 'Name', value: 'additionalInfo' },
3728
+ },
3729
+ {
3730
+ kind: 'Field',
3731
+ name: { kind: 'Name', value: 'fulfilmentMethod' },
3732
+ },
3733
+ { kind: 'Field', name: { kind: 'Name', value: 'status' } },
3734
+ {
3735
+ kind: 'Field',
3736
+ name: { kind: 'Name', value: 'initiatedAtEpochMs' },
3737
+ },
3738
+ {
3739
+ kind: 'Field',
3740
+ name: { kind: 'Name', value: 'completedAtEpochMs' },
3741
+ },
3742
+ { kind: 'Field', name: { kind: 'Name', value: 'owner' } },
3743
+ { kind: 'Field', name: { kind: 'Name', value: 'version' } },
3744
+ {
3745
+ kind: 'Field',
3746
+ name: { kind: 'Name', value: 'createdAtEpochMs' },
3747
+ },
3748
+ {
3749
+ kind: 'Field',
3750
+ name: { kind: 'Name', value: 'updatedAtEpochMs' },
3751
+ },
3752
+ ],
3753
+ },
3754
+ },
3755
+ ],
3756
+ },
3757
+ },
3758
+ ],
3759
+ };