@sudoplatform/sudo-privacy-interaction 0.0.0-placeholder → 1.0.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 (260) hide show
  1. package/LICENSE +13 -0
  2. package/README.md +30 -0
  3. package/cjs/gen/graphqlTypes.js +1785 -0
  4. package/cjs/index.js +10 -0
  5. package/cjs/private/data/analysis-result/analysisResultSubscriptionManager.js +25 -0
  6. package/cjs/private/data/analysis-result/defaultAnalysisResultService.js +83 -0
  7. package/cjs/private/data/analysis-result/transformer/analysisResultDataTransformer.js +57 -0
  8. package/cjs/private/data/analysis-result/transformer/analysisResultStatusTransformer.js +43 -0
  9. package/cjs/private/data/analysis-result/transformer/analysisResultTransformer.js +47 -0
  10. package/cjs/private/data/analysis-result/transformer/capabilitySignalsTransformer.js +35 -0
  11. package/cjs/private/data/analysis-result/transformer/categorySignalsTransformer.js +51 -0
  12. package/cjs/private/data/analysis-result/transformer/dataCategoryTransformer.js +91 -0
  13. package/cjs/private/data/analysis-result/transformer/organizationCategoryTransformer.js +139 -0
  14. package/cjs/private/data/analysis-result/transformer/organizationIdentityTransformer.js +29 -0
  15. package/cjs/private/data/analysis-result/transformer/privacyScoreTransformer.js +29 -0
  16. package/cjs/private/data/analysis-result/transformer/privacySummaryTransformer.js +25 -0
  17. package/cjs/private/data/analysis-result/transformer/retentionInfoTransformer.js +27 -0
  18. package/cjs/private/data/analysis-result/transformer/retentionStyleTransformer.js +39 -0
  19. package/cjs/private/data/analysis-result/transformer/riskIndicatorsTransformer.js +35 -0
  20. package/cjs/private/data/analysis-result/transformer/shareStyleTransformer.js +41 -0
  21. package/cjs/private/data/analysis-result/transformer/signalValueTransformer.js +35 -0
  22. package/cjs/private/data/common/apiClient.js +209 -0
  23. package/cjs/private/data/common/baseSubscriptionManager.js +73 -0
  24. package/cjs/private/data/common/config.js +23 -0
  25. package/cjs/private/data/common/privateSudoPrivacyInteractionClientOptions.js +7 -0
  26. package/cjs/private/data/common/transformer/errorTransformer.js +30 -0
  27. package/cjs/private/data/data-holder/dataHolderSubscriptionManager.js +25 -0
  28. package/cjs/private/data/data-holder/defaultDataHolderService.js +72 -0
  29. package/cjs/private/data/data-holder/transformer/dataHolderProtectionStateTransformer.js +37 -0
  30. package/cjs/private/data/data-holder/transformer/dataHolderTransformer.js +44 -0
  31. package/cjs/private/data/virtual-presence/defaultVirtualPresenceService.js +74 -0
  32. package/cjs/private/data/virtual-presence/transformer/providerTypeTransformer.js +29 -0
  33. package/cjs/private/data/virtual-presence/transformer/virtualPresenceStateTransformer.js +45 -0
  34. package/cjs/private/data/virtual-presence/transformer/virtualPresenceTransformer.js +43 -0
  35. package/cjs/private/data/virtual-presence/virtualPresenceSubscriptionManager.js +25 -0
  36. package/cjs/private/domain/entities/analysis-result/analysisResultEntity.js +135 -0
  37. package/cjs/private/domain/entities/analysis-result/analysisResultService.js +7 -0
  38. package/cjs/private/domain/entities/data-holder/dataHolderEntity.js +24 -0
  39. package/cjs/private/domain/entities/data-holder/dataHolderService.js +7 -0
  40. package/cjs/private/domain/entities/inputs/scanOptionsEntity.js +7 -0
  41. package/cjs/private/domain/entities/virtual-presence/virtualPresenceEntity.js +38 -0
  42. package/cjs/private/domain/entities/virtual-presence/virtualPresenceService.js +7 -0
  43. package/cjs/private/domain/use-cases/analysis-result/getAnalysisResultUseCase.js +25 -0
  44. package/cjs/private/domain/use-cases/analysis-result/listAnalysisResultsUseCase.js +29 -0
  45. package/cjs/private/domain/use-cases/analysis-result/subscribeToAnalysisResultUseCase.js +37 -0
  46. package/cjs/private/domain/use-cases/analysis-result/unsubscribeFromAnalysisResultUseCase.js +27 -0
  47. package/cjs/private/domain/use-cases/data-holder/getDataHolderUseCase.js +25 -0
  48. package/cjs/private/domain/use-cases/data-holder/listDataHoldersUseCase.js +29 -0
  49. package/cjs/private/domain/use-cases/data-holder/subscribeToDataHoldersUseCase.js +37 -0
  50. package/cjs/private/domain/use-cases/data-holder/unsubscribeFromDataHoldersUseCase.js +27 -0
  51. package/cjs/private/domain/use-cases/virtual-presence/connectVirtualPresenceWithAuthCodeUseCase.js +27 -0
  52. package/cjs/private/domain/use-cases/virtual-presence/connectVirtualPresenceWithRefreshTokenUseCase.js +27 -0
  53. package/cjs/private/domain/use-cases/virtual-presence/disconnectVirtualPresenceUseCase.js +25 -0
  54. package/cjs/private/domain/use-cases/virtual-presence/listVirtualPresencesUseCase.js +30 -0
  55. package/cjs/private/domain/use-cases/virtual-presence/rescanVirtualPresenceUseCase.js +25 -0
  56. package/cjs/private/domain/use-cases/virtual-presence/subscribeToVirtualPresenceUseCase.js +37 -0
  57. package/cjs/private/domain/use-cases/virtual-presence/unsubscribeFromVirtualPresenceUseCase.js +27 -0
  58. package/cjs/public/defaultSudoPrivacyInteractionClient.js +173 -0
  59. package/cjs/public/errors.js +29 -0
  60. package/cjs/public/index.js +13 -0
  61. package/cjs/public/inputs/analysisResult.js +7 -0
  62. package/cjs/public/inputs/common.js +7 -0
  63. package/cjs/public/inputs/dataHolder.js +7 -0
  64. package/cjs/public/inputs/index.js +12 -0
  65. package/cjs/public/inputs/virtualPresence.js +7 -0
  66. package/cjs/public/sudoPrivacyInteractionClient.js +7 -0
  67. package/cjs/public/typings/analysisResult.js +135 -0
  68. package/cjs/public/typings/dataHolder.js +24 -0
  69. package/cjs/public/typings/index.js +12 -0
  70. package/cjs/public/typings/subscription.js +21 -0
  71. package/cjs/public/typings/virtualPresence.js +38 -0
  72. package/docs/.nojekyll +1 -0
  73. package/docs/assets/hierarchy.js +1 -0
  74. package/docs/assets/highlight.css +78 -0
  75. package/docs/assets/icons.js +18 -0
  76. package/docs/assets/icons.svg +1 -0
  77. package/docs/assets/main.js +60 -0
  78. package/docs/assets/navigation.js +1 -0
  79. package/docs/assets/search.js +1 -0
  80. package/docs/assets/style.css +1648 -0
  81. package/docs/classes/DefaultSudoPrivacyInteractionClient.html +383 -0
  82. package/docs/classes/InvalidArgumentError.html +181 -0
  83. package/docs/classes/PrivacyInteractionServiceConfigNotFoundError.html +181 -0
  84. package/docs/enums/AnalysisResultStatus.html +81 -0
  85. package/docs/enums/ConnectionState.html +67 -0
  86. package/docs/enums/DataCategory.html +153 -0
  87. package/docs/enums/DataHolderProtectionState.html +75 -0
  88. package/docs/enums/OrganizationCategory.html +225 -0
  89. package/docs/enums/ProviderType.html +63 -0
  90. package/docs/enums/RetentionStyle.html +75 -0
  91. package/docs/enums/ShareStyle.html +81 -0
  92. package/docs/enums/SignalValue.html +69 -0
  93. package/docs/enums/VirtualPresenceState.html +87 -0
  94. package/docs/hierarchy.html +39 -0
  95. package/docs/index.html +79 -0
  96. package/docs/interfaces/AnalysisResult.html +133 -0
  97. package/docs/interfaces/AnalysisResultData.html +102 -0
  98. package/docs/interfaces/AnalysisResultSubscriber.html +92 -0
  99. package/docs/interfaces/AnalysisResultUpdate.html +125 -0
  100. package/docs/interfaces/CapabilitySignals.html +109 -0
  101. package/docs/interfaces/CategorySignals.html +133 -0
  102. package/docs/interfaces/ConnectVirtualPresenceWithRefreshTokenInput.html +85 -0
  103. package/docs/interfaces/DataHolder.html +142 -0
  104. package/docs/interfaces/DataHolderSubscriber.html +92 -0
  105. package/docs/interfaces/ListAnalysisResultsInput.html +85 -0
  106. package/docs/interfaces/ListDataHoldersInput.html +85 -0
  107. package/docs/interfaces/ListVirtualPresencesInput.html +77 -0
  108. package/docs/interfaces/OrganizationIdentity.html +85 -0
  109. package/docs/interfaces/Pagination.html +77 -0
  110. package/docs/interfaces/PrivacyScore.html +69 -0
  111. package/docs/interfaces/PrivacySummary.html +77 -0
  112. package/docs/interfaces/RescanVirtualPresenceInput.html +69 -0
  113. package/docs/interfaces/RetentionInfo.html +77 -0
  114. package/docs/interfaces/RiskIndicators.html +110 -0
  115. package/docs/interfaces/ScanOptions.html +93 -0
  116. package/docs/interfaces/ScoreContribution.html +69 -0
  117. package/docs/interfaces/SudoPrivacyInteractionClient.html +347 -0
  118. package/docs/interfaces/VirtualPresence.html +126 -0
  119. package/docs/interfaces/VirtualPresenceSubscriber.html +92 -0
  120. package/docs/modules.html +48 -0
  121. package/docs/types/SudoPrivacyInteractionClientOptions.html +57 -0
  122. package/lib/gen/graphqlTypes.js +1782 -0
  123. package/lib/index.js +7 -0
  124. package/lib/private/data/analysis-result/analysisResultSubscriptionManager.js +21 -0
  125. package/lib/private/data/analysis-result/defaultAnalysisResultService.js +79 -0
  126. package/lib/private/data/analysis-result/transformer/analysisResultDataTransformer.js +53 -0
  127. package/lib/private/data/analysis-result/transformer/analysisResultStatusTransformer.js +39 -0
  128. package/lib/private/data/analysis-result/transformer/analysisResultTransformer.js +43 -0
  129. package/lib/private/data/analysis-result/transformer/capabilitySignalsTransformer.js +31 -0
  130. package/lib/private/data/analysis-result/transformer/categorySignalsTransformer.js +47 -0
  131. package/lib/private/data/analysis-result/transformer/dataCategoryTransformer.js +87 -0
  132. package/lib/private/data/analysis-result/transformer/organizationCategoryTransformer.js +135 -0
  133. package/lib/private/data/analysis-result/transformer/organizationIdentityTransformer.js +25 -0
  134. package/lib/private/data/analysis-result/transformer/privacyScoreTransformer.js +25 -0
  135. package/lib/private/data/analysis-result/transformer/privacySummaryTransformer.js +21 -0
  136. package/lib/private/data/analysis-result/transformer/retentionInfoTransformer.js +23 -0
  137. package/lib/private/data/analysis-result/transformer/retentionStyleTransformer.js +35 -0
  138. package/lib/private/data/analysis-result/transformer/riskIndicatorsTransformer.js +31 -0
  139. package/lib/private/data/analysis-result/transformer/shareStyleTransformer.js +37 -0
  140. package/lib/private/data/analysis-result/transformer/signalValueTransformer.js +31 -0
  141. package/lib/private/data/common/apiClient.js +205 -0
  142. package/lib/private/data/common/baseSubscriptionManager.js +69 -0
  143. package/lib/private/data/common/config.js +18 -0
  144. package/lib/private/data/common/privateSudoPrivacyInteractionClientOptions.js +6 -0
  145. package/lib/private/data/common/transformer/errorTransformer.js +26 -0
  146. package/lib/private/data/data-holder/dataHolderSubscriptionManager.js +21 -0
  147. package/lib/private/data/data-holder/defaultDataHolderService.js +68 -0
  148. package/lib/private/data/data-holder/transformer/dataHolderProtectionStateTransformer.js +33 -0
  149. package/lib/private/data/data-holder/transformer/dataHolderTransformer.js +40 -0
  150. package/lib/private/data/virtual-presence/defaultVirtualPresenceService.js +70 -0
  151. package/lib/private/data/virtual-presence/transformer/providerTypeTransformer.js +25 -0
  152. package/lib/private/data/virtual-presence/transformer/virtualPresenceStateTransformer.js +41 -0
  153. package/lib/private/data/virtual-presence/transformer/virtualPresenceTransformer.js +39 -0
  154. package/lib/private/data/virtual-presence/virtualPresenceSubscriptionManager.js +21 -0
  155. package/lib/private/domain/entities/analysis-result/analysisResultEntity.js +132 -0
  156. package/lib/private/domain/entities/analysis-result/analysisResultService.js +6 -0
  157. package/lib/private/domain/entities/data-holder/dataHolderEntity.js +21 -0
  158. package/lib/private/domain/entities/data-holder/dataHolderService.js +6 -0
  159. package/lib/private/domain/entities/inputs/scanOptionsEntity.js +6 -0
  160. package/lib/private/domain/entities/virtual-presence/virtualPresenceEntity.js +35 -0
  161. package/lib/private/domain/entities/virtual-presence/virtualPresenceService.js +6 -0
  162. package/lib/private/domain/use-cases/analysis-result/getAnalysisResultUseCase.js +21 -0
  163. package/lib/private/domain/use-cases/analysis-result/listAnalysisResultsUseCase.js +25 -0
  164. package/lib/private/domain/use-cases/analysis-result/subscribeToAnalysisResultUseCase.js +33 -0
  165. package/lib/private/domain/use-cases/analysis-result/unsubscribeFromAnalysisResultUseCase.js +23 -0
  166. package/lib/private/domain/use-cases/data-holder/getDataHolderUseCase.js +21 -0
  167. package/lib/private/domain/use-cases/data-holder/listDataHoldersUseCase.js +25 -0
  168. package/lib/private/domain/use-cases/data-holder/subscribeToDataHoldersUseCase.js +33 -0
  169. package/lib/private/domain/use-cases/data-holder/unsubscribeFromDataHoldersUseCase.js +23 -0
  170. package/lib/private/domain/use-cases/virtual-presence/connectVirtualPresenceWithAuthCodeUseCase.js +23 -0
  171. package/lib/private/domain/use-cases/virtual-presence/connectVirtualPresenceWithRefreshTokenUseCase.js +23 -0
  172. package/lib/private/domain/use-cases/virtual-presence/disconnectVirtualPresenceUseCase.js +21 -0
  173. package/lib/private/domain/use-cases/virtual-presence/listVirtualPresencesUseCase.js +26 -0
  174. package/lib/private/domain/use-cases/virtual-presence/rescanVirtualPresenceUseCase.js +21 -0
  175. package/lib/private/domain/use-cases/virtual-presence/subscribeToVirtualPresenceUseCase.js +33 -0
  176. package/lib/private/domain/use-cases/virtual-presence/unsubscribeFromVirtualPresenceUseCase.js +23 -0
  177. package/lib/public/defaultSudoPrivacyInteractionClient.js +169 -0
  178. package/lib/public/errors.js +24 -0
  179. package/lib/public/index.js +10 -0
  180. package/lib/public/inputs/analysisResult.js +6 -0
  181. package/lib/public/inputs/common.js +6 -0
  182. package/lib/public/inputs/dataHolder.js +6 -0
  183. package/lib/public/inputs/index.js +9 -0
  184. package/lib/public/inputs/virtualPresence.js +6 -0
  185. package/lib/public/sudoPrivacyInteractionClient.js +6 -0
  186. package/lib/public/typings/analysisResult.js +132 -0
  187. package/lib/public/typings/dataHolder.js +21 -0
  188. package/lib/public/typings/index.js +9 -0
  189. package/lib/public/typings/subscription.js +18 -0
  190. package/lib/public/typings/virtualPresence.js +35 -0
  191. package/package.json +117 -8
  192. package/types/gen/graphqlTypes.d.ts +742 -0
  193. package/types/index.d.ts +6 -0
  194. package/types/private/data/analysis-result/analysisResultSubscriptionManager.d.ts +19 -0
  195. package/types/private/data/analysis-result/defaultAnalysisResultService.d.ts +20 -0
  196. package/types/private/data/analysis-result/transformer/analysisResultDataTransformer.d.ts +18 -0
  197. package/types/private/data/analysis-result/transformer/analysisResultStatusTransformer.d.ts +12 -0
  198. package/types/private/data/analysis-result/transformer/analysisResultTransformer.d.ts +14 -0
  199. package/types/private/data/analysis-result/transformer/capabilitySignalsTransformer.d.ts +13 -0
  200. package/types/private/data/analysis-result/transformer/categorySignalsTransformer.d.ts +16 -0
  201. package/types/private/data/analysis-result/transformer/dataCategoryTransformer.d.ts +12 -0
  202. package/types/private/data/analysis-result/transformer/organizationCategoryTransformer.d.ts +12 -0
  203. package/types/private/data/analysis-result/transformer/organizationIdentityTransformer.d.ts +13 -0
  204. package/types/private/data/analysis-result/transformer/privacyScoreTransformer.d.ts +12 -0
  205. package/types/private/data/analysis-result/transformer/privacySummaryTransformer.d.ts +12 -0
  206. package/types/private/data/analysis-result/transformer/retentionInfoTransformer.d.ts +13 -0
  207. package/types/private/data/analysis-result/transformer/retentionStyleTransformer.d.ts +12 -0
  208. package/types/private/data/analysis-result/transformer/riskIndicatorsTransformer.d.ts +13 -0
  209. package/types/private/data/analysis-result/transformer/shareStyleTransformer.d.ts +12 -0
  210. package/types/private/data/analysis-result/transformer/signalValueTransformer.d.ts +12 -0
  211. package/types/private/data/common/apiClient.d.ts +38 -0
  212. package/types/private/data/common/baseSubscriptionManager.d.ts +46 -0
  213. package/types/private/data/common/config.d.ts +13 -0
  214. package/types/private/data/common/privateSudoPrivacyInteractionClientOptions.d.ts +18 -0
  215. package/types/private/data/common/transformer/errorTransformer.d.ts +15 -0
  216. package/types/private/data/data-holder/dataHolderSubscriptionManager.d.ts +19 -0
  217. package/types/private/data/data-holder/defaultDataHolderService.d.ts +19 -0
  218. package/types/private/data/data-holder/transformer/dataHolderProtectionStateTransformer.d.ts +12 -0
  219. package/types/private/data/data-holder/transformer/dataHolderTransformer.d.ts +12 -0
  220. package/types/private/data/virtual-presence/defaultVirtualPresenceService.d.ts +21 -0
  221. package/types/private/data/virtual-presence/transformer/providerTypeTransformer.d.ts +12 -0
  222. package/types/private/data/virtual-presence/transformer/virtualPresenceStateTransformer.d.ts +12 -0
  223. package/types/private/data/virtual-presence/transformer/virtualPresenceTransformer.d.ts +12 -0
  224. package/types/private/data/virtual-presence/virtualPresenceSubscriptionManager.d.ts +18 -0
  225. package/types/private/domain/entities/analysis-result/analysisResultEntity.d.ts +306 -0
  226. package/types/private/domain/entities/analysis-result/analysisResultService.d.ts +81 -0
  227. package/types/private/domain/entities/data-holder/dataHolderEntity.d.ts +51 -0
  228. package/types/private/domain/entities/data-holder/dataHolderService.d.ts +81 -0
  229. package/types/private/domain/entities/inputs/scanOptionsEntity.d.ts +22 -0
  230. package/types/private/domain/entities/virtual-presence/virtualPresenceEntity.d.ts +60 -0
  231. package/types/private/domain/entities/virtual-presence/virtualPresenceService.d.ts +131 -0
  232. package/types/private/domain/use-cases/analysis-result/getAnalysisResultUseCase.d.ts +16 -0
  233. package/types/private/domain/use-cases/analysis-result/listAnalysisResultsUseCase.d.ts +36 -0
  234. package/types/private/domain/use-cases/analysis-result/subscribeToAnalysisResultUseCase.d.ts +27 -0
  235. package/types/private/domain/use-cases/analysis-result/unsubscribeFromAnalysisResultUseCase.d.ts +15 -0
  236. package/types/private/domain/use-cases/data-holder/getDataHolderUseCase.d.ts +16 -0
  237. package/types/private/domain/use-cases/data-holder/listDataHoldersUseCase.d.ts +36 -0
  238. package/types/private/domain/use-cases/data-holder/subscribeToDataHoldersUseCase.d.ts +27 -0
  239. package/types/private/domain/use-cases/data-holder/unsubscribeFromDataHoldersUseCase.d.ts +15 -0
  240. package/types/private/domain/use-cases/virtual-presence/connectVirtualPresenceWithAuthCodeUseCase.d.ts +16 -0
  241. package/types/private/domain/use-cases/virtual-presence/connectVirtualPresenceWithRefreshTokenUseCase.d.ts +28 -0
  242. package/types/private/domain/use-cases/virtual-presence/disconnectVirtualPresenceUseCase.d.ts +16 -0
  243. package/types/private/domain/use-cases/virtual-presence/listVirtualPresencesUseCase.d.ts +35 -0
  244. package/types/private/domain/use-cases/virtual-presence/rescanVirtualPresenceUseCase.d.ts +27 -0
  245. package/types/private/domain/use-cases/virtual-presence/subscribeToVirtualPresenceUseCase.d.ts +27 -0
  246. package/types/private/domain/use-cases/virtual-presence/unsubscribeFromVirtualPresenceUseCase.d.ts +15 -0
  247. package/types/public/defaultSudoPrivacyInteractionClient.d.ts +36 -0
  248. package/types/public/errors.d.ts +15 -0
  249. package/types/public/index.d.ts +10 -0
  250. package/types/public/inputs/analysisResult.d.ts +17 -0
  251. package/types/public/inputs/common.d.ts +16 -0
  252. package/types/public/inputs/dataHolder.d.ts +17 -0
  253. package/types/public/inputs/index.d.ts +9 -0
  254. package/types/public/inputs/virtualPresence.d.ts +58 -0
  255. package/types/public/sudoPrivacyInteractionClient.d.ts +123 -0
  256. package/types/public/typings/analysisResult.d.ts +331 -0
  257. package/types/public/typings/dataHolder.d.ts +51 -0
  258. package/types/public/typings/index.d.ts +9 -0
  259. package/types/public/typings/subscription.d.ts +86 -0
  260. package/types/public/typings/virtualPresence.d.ts +60 -0
@@ -0,0 +1,1782 @@
1
+ export const AnalysisResultFieldsFragmentDoc = {
2
+ kind: 'Document',
3
+ definitions: [
4
+ {
5
+ kind: 'FragmentDefinition',
6
+ name: { kind: 'Name', value: 'AnalysisResultFields' },
7
+ typeCondition: {
8
+ kind: 'NamedType',
9
+ name: { kind: 'Name', value: 'AnalysisResult' },
10
+ },
11
+ selectionSet: {
12
+ kind: 'SelectionSet',
13
+ selections: [
14
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
15
+ { kind: 'Field', name: { kind: 'Name', value: 'virtualPresenceId' } },
16
+ {
17
+ kind: 'Field',
18
+ name: { kind: 'Name', value: 'dataHolderIdentifier' },
19
+ },
20
+ { kind: 'Field', name: { kind: 'Name', value: 'status' } },
21
+ {
22
+ kind: 'Field',
23
+ name: { kind: 'Name', value: 'lastAnalyzedAtEpochMs' },
24
+ },
25
+ {
26
+ kind: 'Field',
27
+ name: { kind: 'Name', value: 'data' },
28
+ selectionSet: {
29
+ kind: 'SelectionSet',
30
+ selections: [
31
+ {
32
+ kind: 'Field',
33
+ name: { kind: 'Name', value: 'privacyScore' },
34
+ selectionSet: {
35
+ kind: 'SelectionSet',
36
+ selections: [
37
+ { kind: 'Field', name: { kind: 'Name', value: 'score' } },
38
+ {
39
+ kind: 'Field',
40
+ name: { kind: 'Name', value: 'breakdown' },
41
+ selectionSet: {
42
+ kind: 'SelectionSet',
43
+ selections: [
44
+ {
45
+ kind: 'Field',
46
+ name: { kind: 'Name', value: 'aspect' },
47
+ },
48
+ {
49
+ kind: 'Field',
50
+ name: { kind: 'Name', value: 'contribution' },
51
+ },
52
+ ],
53
+ },
54
+ },
55
+ ],
56
+ },
57
+ },
58
+ {
59
+ kind: 'Field',
60
+ name: { kind: 'Name', value: 'privacySummary' },
61
+ selectionSet: {
62
+ kind: 'SelectionSet',
63
+ selections: [
64
+ {
65
+ kind: 'Field',
66
+ name: { kind: 'Name', value: 'bulletPoints' },
67
+ },
68
+ {
69
+ kind: 'Field',
70
+ name: { kind: 'Name', value: 'sourceUrl' },
71
+ },
72
+ {
73
+ kind: 'Field',
74
+ name: { kind: 'Name', value: 'sourceLastUpdated' },
75
+ },
76
+ ],
77
+ },
78
+ },
79
+ {
80
+ kind: 'Field',
81
+ name: { kind: 'Name', value: 'categories' },
82
+ selectionSet: {
83
+ kind: 'SelectionSet',
84
+ selections: [
85
+ {
86
+ kind: 'Field',
87
+ name: { kind: 'Name', value: 'category' },
88
+ },
89
+ {
90
+ kind: 'Field',
91
+ name: { kind: 'Name', value: 'collected' },
92
+ },
93
+ {
94
+ kind: 'Field',
95
+ name: { kind: 'Name', value: 'dataLabels' },
96
+ },
97
+ {
98
+ kind: 'Field',
99
+ name: { kind: 'Name', value: 'sharedWithThirdParties' },
100
+ },
101
+ {
102
+ kind: 'Field',
103
+ name: { kind: 'Name', value: 'usedForAdvertising' },
104
+ },
105
+ {
106
+ kind: 'Field',
107
+ name: { kind: 'Name', value: 'retained' },
108
+ },
109
+ {
110
+ kind: 'Field',
111
+ name: { kind: 'Name', value: 'retention' },
112
+ selectionSet: {
113
+ kind: 'SelectionSet',
114
+ selections: [
115
+ {
116
+ kind: 'Field',
117
+ name: { kind: 'Name', value: 'style' },
118
+ },
119
+ {
120
+ kind: 'Field',
121
+ name: { kind: 'Name', value: 'timeInDays' },
122
+ },
123
+ {
124
+ kind: 'Field',
125
+ name: { kind: 'Name', value: 'additionalInfo' },
126
+ },
127
+ ],
128
+ },
129
+ },
130
+ {
131
+ kind: 'Field',
132
+ name: { kind: 'Name', value: 'userCanOptOut' },
133
+ },
134
+ {
135
+ kind: 'Field',
136
+ name: { kind: 'Name', value: 'requiredForService' },
137
+ },
138
+ {
139
+ kind: 'Field',
140
+ name: { kind: 'Name', value: 'requiredForLaw' },
141
+ },
142
+ ],
143
+ },
144
+ },
145
+ {
146
+ kind: 'Field',
147
+ name: { kind: 'Name', value: 'capabilities' },
148
+ selectionSet: {
149
+ kind: 'SelectionSet',
150
+ selections: [
151
+ {
152
+ kind: 'Field',
153
+ name: {
154
+ kind: 'Name',
155
+ value: 'supportsAccountCreation',
156
+ },
157
+ },
158
+ {
159
+ kind: 'Field',
160
+ name: {
161
+ kind: 'Name',
162
+ value: 'supportsAccountDeletion',
163
+ },
164
+ },
165
+ {
166
+ kind: 'Field',
167
+ name: {
168
+ kind: 'Name',
169
+ value: 'supportsDataDeletionRequests',
170
+ },
171
+ },
172
+ {
173
+ kind: 'Field',
174
+ name: { kind: 'Name', value: 'supportsDataExport' },
175
+ },
176
+ {
177
+ kind: 'Field',
178
+ name: { kind: 'Name', value: 'supportsSubscriptions' },
179
+ },
180
+ {
181
+ kind: 'Field',
182
+ name: {
183
+ kind: 'Name',
184
+ value: 'sellsPersonalInformation',
185
+ },
186
+ },
187
+ {
188
+ kind: 'Field',
189
+ name: { kind: 'Name', value: 'usesCookiesOrTracking' },
190
+ },
191
+ ],
192
+ },
193
+ },
194
+ {
195
+ kind: 'Field',
196
+ name: { kind: 'Name', value: 'riskIndicators' },
197
+ selectionSet: {
198
+ kind: 'SelectionSet',
199
+ selections: [
200
+ {
201
+ kind: 'Field',
202
+ name: { kind: 'Name', value: 'dataCollectionBreadth' },
203
+ },
204
+ {
205
+ kind: 'Field',
206
+ name: {
207
+ kind: 'Name',
208
+ value: 'collectsSensitiveDataForNonEssentialPurposes',
209
+ },
210
+ },
211
+ {
212
+ kind: 'Field',
213
+ name: {
214
+ kind: 'Name',
215
+ value: 'sellsPersonalInformation',
216
+ },
217
+ },
218
+ {
219
+ kind: 'Field',
220
+ name: { kind: 'Name', value: 'maxRetentionDays' },
221
+ },
222
+ {
223
+ kind: 'Field',
224
+ name: { kind: 'Name', value: 'hasIndefiniteRetention' },
225
+ },
226
+ {
227
+ kind: 'Field',
228
+ name: { kind: 'Name', value: 'encryptionPractices' },
229
+ },
230
+ {
231
+ kind: 'Field',
232
+ name: { kind: 'Name', value: 'breachRisk' },
233
+ },
234
+ ],
235
+ },
236
+ },
237
+ {
238
+ kind: 'Field',
239
+ name: { kind: 'Name', value: 'organizationIdentity' },
240
+ selectionSet: {
241
+ kind: 'SelectionSet',
242
+ selections: [
243
+ {
244
+ kind: 'Field',
245
+ name: { kind: 'Name', value: 'brandName' },
246
+ },
247
+ {
248
+ kind: 'Field',
249
+ name: { kind: 'Name', value: 'companyName' },
250
+ },
251
+ {
252
+ kind: 'Field',
253
+ name: { kind: 'Name', value: 'primaryCategory' },
254
+ },
255
+ {
256
+ kind: 'Field',
257
+ name: { kind: 'Name', value: 'categories' },
258
+ },
259
+ ],
260
+ },
261
+ },
262
+ ],
263
+ },
264
+ },
265
+ { kind: 'Field', name: { kind: 'Name', value: 'owner' } },
266
+ { kind: 'Field', name: { kind: 'Name', value: 'version' } },
267
+ { kind: 'Field', name: { kind: 'Name', value: 'createdAtEpochMs' } },
268
+ { kind: 'Field', name: { kind: 'Name', value: 'updatedAtEpochMs' } },
269
+ ],
270
+ },
271
+ },
272
+ ],
273
+ };
274
+ export const DataHolderFieldsFragmentDoc = {
275
+ kind: 'Document',
276
+ definitions: [
277
+ {
278
+ kind: 'FragmentDefinition',
279
+ name: { kind: 'Name', value: 'DataHolderFields' },
280
+ typeCondition: {
281
+ kind: 'NamedType',
282
+ name: { kind: 'Name', value: 'DataHolder' },
283
+ },
284
+ selectionSet: {
285
+ kind: 'SelectionSet',
286
+ selections: [
287
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
288
+ { kind: 'Field', name: { kind: 'Name', value: 'virtualPresenceId' } },
289
+ { kind: 'Field', name: { kind: 'Name', value: 'domainName' } },
290
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
291
+ { kind: 'Field', name: { kind: 'Name', value: 'protectionState' } },
292
+ { kind: 'Field', name: { kind: 'Name', value: 'complianceConcern' } },
293
+ {
294
+ kind: 'Field',
295
+ name: { kind: 'Name', value: 'mostRecentInteractionEpochMs' },
296
+ },
297
+ { kind: 'Field', name: { kind: 'Name', value: 'owner' } },
298
+ { kind: 'Field', name: { kind: 'Name', value: 'version' } },
299
+ { kind: 'Field', name: { kind: 'Name', value: 'createdAtEpochMs' } },
300
+ { kind: 'Field', name: { kind: 'Name', value: 'updatedAtEpochMs' } },
301
+ ],
302
+ },
303
+ },
304
+ ],
305
+ };
306
+ export const VirtualPresenceFieldsFragmentDoc = {
307
+ kind: 'Document',
308
+ definitions: [
309
+ {
310
+ kind: 'FragmentDefinition',
311
+ name: { kind: 'Name', value: 'VirtualPresenceFields' },
312
+ typeCondition: {
313
+ kind: 'NamedType',
314
+ name: { kind: 'Name', value: 'VirtualPresence' },
315
+ },
316
+ selectionSet: {
317
+ kind: 'SelectionSet',
318
+ selections: [
319
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
320
+ { kind: 'Field', name: { kind: 'Name', value: 'providerType' } },
321
+ { kind: 'Field', name: { kind: 'Name', value: 'identifier' } },
322
+ { kind: 'Field', name: { kind: 'Name', value: 'state' } },
323
+ {
324
+ kind: 'Field',
325
+ name: { kind: 'Name', value: 'lastScannedAtEpochMs' },
326
+ },
327
+ { kind: 'Field', name: { kind: 'Name', value: 'owner' } },
328
+ { kind: 'Field', name: { kind: 'Name', value: 'version' } },
329
+ { kind: 'Field', name: { kind: 'Name', value: 'createdAtEpochMs' } },
330
+ { kind: 'Field', name: { kind: 'Name', value: 'updatedAtEpochMs' } },
331
+ ],
332
+ },
333
+ },
334
+ ],
335
+ };
336
+ export const ConnectVirtualPresenceDocument = {
337
+ kind: 'Document',
338
+ definitions: [
339
+ {
340
+ kind: 'OperationDefinition',
341
+ operation: 'mutation',
342
+ name: { kind: 'Name', value: 'ConnectVirtualPresence' },
343
+ variableDefinitions: [
344
+ {
345
+ kind: 'VariableDefinition',
346
+ variable: {
347
+ kind: 'Variable',
348
+ name: { kind: 'Name', value: 'input' },
349
+ },
350
+ type: {
351
+ kind: 'NamedType',
352
+ name: { kind: 'Name', value: 'ConnectVirtualPresenceInput' },
353
+ },
354
+ },
355
+ ],
356
+ selectionSet: {
357
+ kind: 'SelectionSet',
358
+ selections: [
359
+ {
360
+ kind: 'Field',
361
+ name: { kind: 'Name', value: 'connectVirtualPresence' },
362
+ arguments: [
363
+ {
364
+ kind: 'Argument',
365
+ name: { kind: 'Name', value: 'input' },
366
+ value: {
367
+ kind: 'Variable',
368
+ name: { kind: 'Name', value: 'input' },
369
+ },
370
+ },
371
+ ],
372
+ selectionSet: {
373
+ kind: 'SelectionSet',
374
+ selections: [
375
+ {
376
+ kind: 'FragmentSpread',
377
+ name: { kind: 'Name', value: 'VirtualPresenceFields' },
378
+ },
379
+ ],
380
+ },
381
+ },
382
+ ],
383
+ },
384
+ },
385
+ {
386
+ kind: 'FragmentDefinition',
387
+ name: { kind: 'Name', value: 'VirtualPresenceFields' },
388
+ typeCondition: {
389
+ kind: 'NamedType',
390
+ name: { kind: 'Name', value: 'VirtualPresence' },
391
+ },
392
+ selectionSet: {
393
+ kind: 'SelectionSet',
394
+ selections: [
395
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
396
+ { kind: 'Field', name: { kind: 'Name', value: 'providerType' } },
397
+ { kind: 'Field', name: { kind: 'Name', value: 'identifier' } },
398
+ { kind: 'Field', name: { kind: 'Name', value: 'state' } },
399
+ {
400
+ kind: 'Field',
401
+ name: { kind: 'Name', value: 'lastScannedAtEpochMs' },
402
+ },
403
+ { kind: 'Field', name: { kind: 'Name', value: 'owner' } },
404
+ { kind: 'Field', name: { kind: 'Name', value: 'version' } },
405
+ { kind: 'Field', name: { kind: 'Name', value: 'createdAtEpochMs' } },
406
+ { kind: 'Field', name: { kind: 'Name', value: 'updatedAtEpochMs' } },
407
+ ],
408
+ },
409
+ },
410
+ ],
411
+ };
412
+ export const DisconnectVirtualPresenceDocument = {
413
+ kind: 'Document',
414
+ definitions: [
415
+ {
416
+ kind: 'OperationDefinition',
417
+ operation: 'mutation',
418
+ name: { kind: 'Name', value: 'DisconnectVirtualPresence' },
419
+ variableDefinitions: [
420
+ {
421
+ kind: 'VariableDefinition',
422
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } },
423
+ type: {
424
+ kind: 'NonNullType',
425
+ type: {
426
+ kind: 'NamedType',
427
+ name: { kind: 'Name', value: 'String' },
428
+ },
429
+ },
430
+ },
431
+ ],
432
+ selectionSet: {
433
+ kind: 'SelectionSet',
434
+ selections: [
435
+ {
436
+ kind: 'Field',
437
+ name: { kind: 'Name', value: 'disconnectVirtualPresence' },
438
+ arguments: [
439
+ {
440
+ kind: 'Argument',
441
+ name: { kind: 'Name', value: 'id' },
442
+ value: {
443
+ kind: 'Variable',
444
+ name: { kind: 'Name', value: 'id' },
445
+ },
446
+ },
447
+ ],
448
+ selectionSet: {
449
+ kind: 'SelectionSet',
450
+ selections: [
451
+ {
452
+ kind: 'FragmentSpread',
453
+ name: { kind: 'Name', value: 'VirtualPresenceFields' },
454
+ },
455
+ ],
456
+ },
457
+ },
458
+ ],
459
+ },
460
+ },
461
+ {
462
+ kind: 'FragmentDefinition',
463
+ name: { kind: 'Name', value: 'VirtualPresenceFields' },
464
+ typeCondition: {
465
+ kind: 'NamedType',
466
+ name: { kind: 'Name', value: 'VirtualPresence' },
467
+ },
468
+ selectionSet: {
469
+ kind: 'SelectionSet',
470
+ selections: [
471
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
472
+ { kind: 'Field', name: { kind: 'Name', value: 'providerType' } },
473
+ { kind: 'Field', name: { kind: 'Name', value: 'identifier' } },
474
+ { kind: 'Field', name: { kind: 'Name', value: 'state' } },
475
+ {
476
+ kind: 'Field',
477
+ name: { kind: 'Name', value: 'lastScannedAtEpochMs' },
478
+ },
479
+ { kind: 'Field', name: { kind: 'Name', value: 'owner' } },
480
+ { kind: 'Field', name: { kind: 'Name', value: 'version' } },
481
+ { kind: 'Field', name: { kind: 'Name', value: 'createdAtEpochMs' } },
482
+ { kind: 'Field', name: { kind: 'Name', value: 'updatedAtEpochMs' } },
483
+ ],
484
+ },
485
+ },
486
+ ],
487
+ };
488
+ export const RescanVirtualPresenceDocument = {
489
+ kind: 'Document',
490
+ definitions: [
491
+ {
492
+ kind: 'OperationDefinition',
493
+ operation: 'mutation',
494
+ name: { kind: 'Name', value: 'RescanVirtualPresence' },
495
+ variableDefinitions: [
496
+ {
497
+ kind: 'VariableDefinition',
498
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } },
499
+ type: {
500
+ kind: 'NonNullType',
501
+ type: {
502
+ kind: 'NamedType',
503
+ name: { kind: 'Name', value: 'String' },
504
+ },
505
+ },
506
+ },
507
+ {
508
+ kind: 'VariableDefinition',
509
+ variable: {
510
+ kind: 'Variable',
511
+ name: { kind: 'Name', value: 'options' },
512
+ },
513
+ type: {
514
+ kind: 'NamedType',
515
+ name: { kind: 'Name', value: 'ScanOptionsInput' },
516
+ },
517
+ },
518
+ ],
519
+ selectionSet: {
520
+ kind: 'SelectionSet',
521
+ selections: [
522
+ {
523
+ kind: 'Field',
524
+ name: { kind: 'Name', value: 'rescanVirtualPresence' },
525
+ arguments: [
526
+ {
527
+ kind: 'Argument',
528
+ name: { kind: 'Name', value: 'id' },
529
+ value: {
530
+ kind: 'Variable',
531
+ name: { kind: 'Name', value: 'id' },
532
+ },
533
+ },
534
+ {
535
+ kind: 'Argument',
536
+ name: { kind: 'Name', value: 'options' },
537
+ value: {
538
+ kind: 'Variable',
539
+ name: { kind: 'Name', value: 'options' },
540
+ },
541
+ },
542
+ ],
543
+ selectionSet: {
544
+ kind: 'SelectionSet',
545
+ selections: [
546
+ {
547
+ kind: 'FragmentSpread',
548
+ name: { kind: 'Name', value: 'VirtualPresenceFields' },
549
+ },
550
+ ],
551
+ },
552
+ },
553
+ ],
554
+ },
555
+ },
556
+ {
557
+ kind: 'FragmentDefinition',
558
+ name: { kind: 'Name', value: 'VirtualPresenceFields' },
559
+ typeCondition: {
560
+ kind: 'NamedType',
561
+ name: { kind: 'Name', value: 'VirtualPresence' },
562
+ },
563
+ selectionSet: {
564
+ kind: 'SelectionSet',
565
+ selections: [
566
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
567
+ { kind: 'Field', name: { kind: 'Name', value: 'providerType' } },
568
+ { kind: 'Field', name: { kind: 'Name', value: 'identifier' } },
569
+ { kind: 'Field', name: { kind: 'Name', value: 'state' } },
570
+ {
571
+ kind: 'Field',
572
+ name: { kind: 'Name', value: 'lastScannedAtEpochMs' },
573
+ },
574
+ { kind: 'Field', name: { kind: 'Name', value: 'owner' } },
575
+ { kind: 'Field', name: { kind: 'Name', value: 'version' } },
576
+ { kind: 'Field', name: { kind: 'Name', value: 'createdAtEpochMs' } },
577
+ { kind: 'Field', name: { kind: 'Name', value: 'updatedAtEpochMs' } },
578
+ ],
579
+ },
580
+ },
581
+ ],
582
+ };
583
+ export const ListVirtualPresencesDocument = {
584
+ kind: 'Document',
585
+ definitions: [
586
+ {
587
+ kind: 'OperationDefinition',
588
+ operation: 'query',
589
+ name: { kind: 'Name', value: 'ListVirtualPresences' },
590
+ variableDefinitions: [
591
+ {
592
+ kind: 'VariableDefinition',
593
+ variable: {
594
+ kind: 'Variable',
595
+ name: { kind: 'Name', value: 'input' },
596
+ },
597
+ type: {
598
+ kind: 'NamedType',
599
+ name: { kind: 'Name', value: 'ListVirtualPresencesInput' },
600
+ },
601
+ },
602
+ ],
603
+ selectionSet: {
604
+ kind: 'SelectionSet',
605
+ selections: [
606
+ {
607
+ kind: 'Field',
608
+ name: { kind: 'Name', value: 'listVirtualPresences' },
609
+ arguments: [
610
+ {
611
+ kind: 'Argument',
612
+ name: { kind: 'Name', value: 'input' },
613
+ value: {
614
+ kind: 'Variable',
615
+ name: { kind: 'Name', value: 'input' },
616
+ },
617
+ },
618
+ ],
619
+ selectionSet: {
620
+ kind: 'SelectionSet',
621
+ selections: [
622
+ {
623
+ kind: 'Field',
624
+ name: { kind: 'Name', value: 'items' },
625
+ selectionSet: {
626
+ kind: 'SelectionSet',
627
+ selections: [
628
+ {
629
+ kind: 'FragmentSpread',
630
+ name: { kind: 'Name', value: 'VirtualPresenceFields' },
631
+ },
632
+ ],
633
+ },
634
+ },
635
+ { kind: 'Field', name: { kind: 'Name', value: 'nextToken' } },
636
+ ],
637
+ },
638
+ },
639
+ ],
640
+ },
641
+ },
642
+ {
643
+ kind: 'FragmentDefinition',
644
+ name: { kind: 'Name', value: 'VirtualPresenceFields' },
645
+ typeCondition: {
646
+ kind: 'NamedType',
647
+ name: { kind: 'Name', value: 'VirtualPresence' },
648
+ },
649
+ selectionSet: {
650
+ kind: 'SelectionSet',
651
+ selections: [
652
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
653
+ { kind: 'Field', name: { kind: 'Name', value: 'providerType' } },
654
+ { kind: 'Field', name: { kind: 'Name', value: 'identifier' } },
655
+ { kind: 'Field', name: { kind: 'Name', value: 'state' } },
656
+ {
657
+ kind: 'Field',
658
+ name: { kind: 'Name', value: 'lastScannedAtEpochMs' },
659
+ },
660
+ { kind: 'Field', name: { kind: 'Name', value: 'owner' } },
661
+ { kind: 'Field', name: { kind: 'Name', value: 'version' } },
662
+ { kind: 'Field', name: { kind: 'Name', value: 'createdAtEpochMs' } },
663
+ { kind: 'Field', name: { kind: 'Name', value: 'updatedAtEpochMs' } },
664
+ ],
665
+ },
666
+ },
667
+ ],
668
+ };
669
+ export const GetDataHolderDocument = {
670
+ kind: 'Document',
671
+ definitions: [
672
+ {
673
+ kind: 'OperationDefinition',
674
+ operation: 'query',
675
+ name: { kind: 'Name', value: 'GetDataHolder' },
676
+ variableDefinitions: [
677
+ {
678
+ kind: 'VariableDefinition',
679
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } },
680
+ type: {
681
+ kind: 'NonNullType',
682
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } },
683
+ },
684
+ },
685
+ ],
686
+ selectionSet: {
687
+ kind: 'SelectionSet',
688
+ selections: [
689
+ {
690
+ kind: 'Field',
691
+ name: { kind: 'Name', value: 'getDataHolder' },
692
+ arguments: [
693
+ {
694
+ kind: 'Argument',
695
+ name: { kind: 'Name', value: 'id' },
696
+ value: {
697
+ kind: 'Variable',
698
+ name: { kind: 'Name', value: 'id' },
699
+ },
700
+ },
701
+ ],
702
+ selectionSet: {
703
+ kind: 'SelectionSet',
704
+ selections: [
705
+ {
706
+ kind: 'FragmentSpread',
707
+ name: { kind: 'Name', value: 'DataHolderFields' },
708
+ },
709
+ ],
710
+ },
711
+ },
712
+ ],
713
+ },
714
+ },
715
+ {
716
+ kind: 'FragmentDefinition',
717
+ name: { kind: 'Name', value: 'DataHolderFields' },
718
+ typeCondition: {
719
+ kind: 'NamedType',
720
+ name: { kind: 'Name', value: 'DataHolder' },
721
+ },
722
+ selectionSet: {
723
+ kind: 'SelectionSet',
724
+ selections: [
725
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
726
+ { kind: 'Field', name: { kind: 'Name', value: 'virtualPresenceId' } },
727
+ { kind: 'Field', name: { kind: 'Name', value: 'domainName' } },
728
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
729
+ { kind: 'Field', name: { kind: 'Name', value: 'protectionState' } },
730
+ { kind: 'Field', name: { kind: 'Name', value: 'complianceConcern' } },
731
+ {
732
+ kind: 'Field',
733
+ name: { kind: 'Name', value: 'mostRecentInteractionEpochMs' },
734
+ },
735
+ { kind: 'Field', name: { kind: 'Name', value: 'owner' } },
736
+ { kind: 'Field', name: { kind: 'Name', value: 'version' } },
737
+ { kind: 'Field', name: { kind: 'Name', value: 'createdAtEpochMs' } },
738
+ { kind: 'Field', name: { kind: 'Name', value: 'updatedAtEpochMs' } },
739
+ ],
740
+ },
741
+ },
742
+ ],
743
+ };
744
+ export const ListDataHoldersDocument = {
745
+ kind: 'Document',
746
+ definitions: [
747
+ {
748
+ kind: 'OperationDefinition',
749
+ operation: 'query',
750
+ name: { kind: 'Name', value: 'ListDataHolders' },
751
+ variableDefinitions: [
752
+ {
753
+ kind: 'VariableDefinition',
754
+ variable: {
755
+ kind: 'Variable',
756
+ name: { kind: 'Name', value: 'virtualPresenceId' },
757
+ },
758
+ type: {
759
+ kind: 'NonNullType',
760
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } },
761
+ },
762
+ },
763
+ {
764
+ kind: 'VariableDefinition',
765
+ variable: {
766
+ kind: 'Variable',
767
+ name: { kind: 'Name', value: 'limit' },
768
+ },
769
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
770
+ },
771
+ {
772
+ kind: 'VariableDefinition',
773
+ variable: {
774
+ kind: 'Variable',
775
+ name: { kind: 'Name', value: 'nextToken' },
776
+ },
777
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
778
+ },
779
+ ],
780
+ selectionSet: {
781
+ kind: 'SelectionSet',
782
+ selections: [
783
+ {
784
+ kind: 'Field',
785
+ name: { kind: 'Name', value: 'listDataHolders' },
786
+ arguments: [
787
+ {
788
+ kind: 'Argument',
789
+ name: { kind: 'Name', value: 'virtualPresenceId' },
790
+ value: {
791
+ kind: 'Variable',
792
+ name: { kind: 'Name', value: 'virtualPresenceId' },
793
+ },
794
+ },
795
+ {
796
+ kind: 'Argument',
797
+ name: { kind: 'Name', value: 'limit' },
798
+ value: {
799
+ kind: 'Variable',
800
+ name: { kind: 'Name', value: 'limit' },
801
+ },
802
+ },
803
+ {
804
+ kind: 'Argument',
805
+ name: { kind: 'Name', value: 'nextToken' },
806
+ value: {
807
+ kind: 'Variable',
808
+ name: { kind: 'Name', value: 'nextToken' },
809
+ },
810
+ },
811
+ ],
812
+ selectionSet: {
813
+ kind: 'SelectionSet',
814
+ selections: [
815
+ {
816
+ kind: 'Field',
817
+ name: { kind: 'Name', value: 'items' },
818
+ selectionSet: {
819
+ kind: 'SelectionSet',
820
+ selections: [
821
+ {
822
+ kind: 'FragmentSpread',
823
+ name: { kind: 'Name', value: 'DataHolderFields' },
824
+ },
825
+ ],
826
+ },
827
+ },
828
+ { kind: 'Field', name: { kind: 'Name', value: 'nextToken' } },
829
+ ],
830
+ },
831
+ },
832
+ ],
833
+ },
834
+ },
835
+ {
836
+ kind: 'FragmentDefinition',
837
+ name: { kind: 'Name', value: 'DataHolderFields' },
838
+ typeCondition: {
839
+ kind: 'NamedType',
840
+ name: { kind: 'Name', value: 'DataHolder' },
841
+ },
842
+ selectionSet: {
843
+ kind: 'SelectionSet',
844
+ selections: [
845
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
846
+ { kind: 'Field', name: { kind: 'Name', value: 'virtualPresenceId' } },
847
+ { kind: 'Field', name: { kind: 'Name', value: 'domainName' } },
848
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
849
+ { kind: 'Field', name: { kind: 'Name', value: 'protectionState' } },
850
+ { kind: 'Field', name: { kind: 'Name', value: 'complianceConcern' } },
851
+ {
852
+ kind: 'Field',
853
+ name: { kind: 'Name', value: 'mostRecentInteractionEpochMs' },
854
+ },
855
+ { kind: 'Field', name: { kind: 'Name', value: 'owner' } },
856
+ { kind: 'Field', name: { kind: 'Name', value: 'version' } },
857
+ { kind: 'Field', name: { kind: 'Name', value: 'createdAtEpochMs' } },
858
+ { kind: 'Field', name: { kind: 'Name', value: 'updatedAtEpochMs' } },
859
+ ],
860
+ },
861
+ },
862
+ ],
863
+ };
864
+ export const GetAnalysisResultDocument = {
865
+ kind: 'Document',
866
+ definitions: [
867
+ {
868
+ kind: 'OperationDefinition',
869
+ operation: 'query',
870
+ name: { kind: 'Name', value: 'GetAnalysisResult' },
871
+ variableDefinitions: [
872
+ {
873
+ kind: 'VariableDefinition',
874
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } },
875
+ type: {
876
+ kind: 'NonNullType',
877
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } },
878
+ },
879
+ },
880
+ ],
881
+ selectionSet: {
882
+ kind: 'SelectionSet',
883
+ selections: [
884
+ {
885
+ kind: 'Field',
886
+ name: { kind: 'Name', value: 'getAnalysisResult' },
887
+ arguments: [
888
+ {
889
+ kind: 'Argument',
890
+ name: { kind: 'Name', value: 'id' },
891
+ value: {
892
+ kind: 'Variable',
893
+ name: { kind: 'Name', value: 'id' },
894
+ },
895
+ },
896
+ ],
897
+ selectionSet: {
898
+ kind: 'SelectionSet',
899
+ selections: [
900
+ {
901
+ kind: 'FragmentSpread',
902
+ name: { kind: 'Name', value: 'AnalysisResultFields' },
903
+ },
904
+ ],
905
+ },
906
+ },
907
+ ],
908
+ },
909
+ },
910
+ {
911
+ kind: 'FragmentDefinition',
912
+ name: { kind: 'Name', value: 'AnalysisResultFields' },
913
+ typeCondition: {
914
+ kind: 'NamedType',
915
+ name: { kind: 'Name', value: 'AnalysisResult' },
916
+ },
917
+ selectionSet: {
918
+ kind: 'SelectionSet',
919
+ selections: [
920
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
921
+ { kind: 'Field', name: { kind: 'Name', value: 'virtualPresenceId' } },
922
+ {
923
+ kind: 'Field',
924
+ name: { kind: 'Name', value: 'dataHolderIdentifier' },
925
+ },
926
+ { kind: 'Field', name: { kind: 'Name', value: 'status' } },
927
+ {
928
+ kind: 'Field',
929
+ name: { kind: 'Name', value: 'lastAnalyzedAtEpochMs' },
930
+ },
931
+ {
932
+ kind: 'Field',
933
+ name: { kind: 'Name', value: 'data' },
934
+ selectionSet: {
935
+ kind: 'SelectionSet',
936
+ selections: [
937
+ {
938
+ kind: 'Field',
939
+ name: { kind: 'Name', value: 'privacyScore' },
940
+ selectionSet: {
941
+ kind: 'SelectionSet',
942
+ selections: [
943
+ { kind: 'Field', name: { kind: 'Name', value: 'score' } },
944
+ {
945
+ kind: 'Field',
946
+ name: { kind: 'Name', value: 'breakdown' },
947
+ selectionSet: {
948
+ kind: 'SelectionSet',
949
+ selections: [
950
+ {
951
+ kind: 'Field',
952
+ name: { kind: 'Name', value: 'aspect' },
953
+ },
954
+ {
955
+ kind: 'Field',
956
+ name: { kind: 'Name', value: 'contribution' },
957
+ },
958
+ ],
959
+ },
960
+ },
961
+ ],
962
+ },
963
+ },
964
+ {
965
+ kind: 'Field',
966
+ name: { kind: 'Name', value: 'privacySummary' },
967
+ selectionSet: {
968
+ kind: 'SelectionSet',
969
+ selections: [
970
+ {
971
+ kind: 'Field',
972
+ name: { kind: 'Name', value: 'bulletPoints' },
973
+ },
974
+ {
975
+ kind: 'Field',
976
+ name: { kind: 'Name', value: 'sourceUrl' },
977
+ },
978
+ {
979
+ kind: 'Field',
980
+ name: { kind: 'Name', value: 'sourceLastUpdated' },
981
+ },
982
+ ],
983
+ },
984
+ },
985
+ {
986
+ kind: 'Field',
987
+ name: { kind: 'Name', value: 'categories' },
988
+ selectionSet: {
989
+ kind: 'SelectionSet',
990
+ selections: [
991
+ {
992
+ kind: 'Field',
993
+ name: { kind: 'Name', value: 'category' },
994
+ },
995
+ {
996
+ kind: 'Field',
997
+ name: { kind: 'Name', value: 'collected' },
998
+ },
999
+ {
1000
+ kind: 'Field',
1001
+ name: { kind: 'Name', value: 'dataLabels' },
1002
+ },
1003
+ {
1004
+ kind: 'Field',
1005
+ name: { kind: 'Name', value: 'sharedWithThirdParties' },
1006
+ },
1007
+ {
1008
+ kind: 'Field',
1009
+ name: { kind: 'Name', value: 'usedForAdvertising' },
1010
+ },
1011
+ {
1012
+ kind: 'Field',
1013
+ name: { kind: 'Name', value: 'retained' },
1014
+ },
1015
+ {
1016
+ kind: 'Field',
1017
+ name: { kind: 'Name', value: 'retention' },
1018
+ selectionSet: {
1019
+ kind: 'SelectionSet',
1020
+ selections: [
1021
+ {
1022
+ kind: 'Field',
1023
+ name: { kind: 'Name', value: 'style' },
1024
+ },
1025
+ {
1026
+ kind: 'Field',
1027
+ name: { kind: 'Name', value: 'timeInDays' },
1028
+ },
1029
+ {
1030
+ kind: 'Field',
1031
+ name: { kind: 'Name', value: 'additionalInfo' },
1032
+ },
1033
+ ],
1034
+ },
1035
+ },
1036
+ {
1037
+ kind: 'Field',
1038
+ name: { kind: 'Name', value: 'userCanOptOut' },
1039
+ },
1040
+ {
1041
+ kind: 'Field',
1042
+ name: { kind: 'Name', value: 'requiredForService' },
1043
+ },
1044
+ {
1045
+ kind: 'Field',
1046
+ name: { kind: 'Name', value: 'requiredForLaw' },
1047
+ },
1048
+ ],
1049
+ },
1050
+ },
1051
+ {
1052
+ kind: 'Field',
1053
+ name: { kind: 'Name', value: 'capabilities' },
1054
+ selectionSet: {
1055
+ kind: 'SelectionSet',
1056
+ selections: [
1057
+ {
1058
+ kind: 'Field',
1059
+ name: {
1060
+ kind: 'Name',
1061
+ value: 'supportsAccountCreation',
1062
+ },
1063
+ },
1064
+ {
1065
+ kind: 'Field',
1066
+ name: {
1067
+ kind: 'Name',
1068
+ value: 'supportsAccountDeletion',
1069
+ },
1070
+ },
1071
+ {
1072
+ kind: 'Field',
1073
+ name: {
1074
+ kind: 'Name',
1075
+ value: 'supportsDataDeletionRequests',
1076
+ },
1077
+ },
1078
+ {
1079
+ kind: 'Field',
1080
+ name: { kind: 'Name', value: 'supportsDataExport' },
1081
+ },
1082
+ {
1083
+ kind: 'Field',
1084
+ name: { kind: 'Name', value: 'supportsSubscriptions' },
1085
+ },
1086
+ {
1087
+ kind: 'Field',
1088
+ name: {
1089
+ kind: 'Name',
1090
+ value: 'sellsPersonalInformation',
1091
+ },
1092
+ },
1093
+ {
1094
+ kind: 'Field',
1095
+ name: { kind: 'Name', value: 'usesCookiesOrTracking' },
1096
+ },
1097
+ ],
1098
+ },
1099
+ },
1100
+ {
1101
+ kind: 'Field',
1102
+ name: { kind: 'Name', value: 'riskIndicators' },
1103
+ selectionSet: {
1104
+ kind: 'SelectionSet',
1105
+ selections: [
1106
+ {
1107
+ kind: 'Field',
1108
+ name: { kind: 'Name', value: 'dataCollectionBreadth' },
1109
+ },
1110
+ {
1111
+ kind: 'Field',
1112
+ name: {
1113
+ kind: 'Name',
1114
+ value: 'collectsSensitiveDataForNonEssentialPurposes',
1115
+ },
1116
+ },
1117
+ {
1118
+ kind: 'Field',
1119
+ name: {
1120
+ kind: 'Name',
1121
+ value: 'sellsPersonalInformation',
1122
+ },
1123
+ },
1124
+ {
1125
+ kind: 'Field',
1126
+ name: { kind: 'Name', value: 'maxRetentionDays' },
1127
+ },
1128
+ {
1129
+ kind: 'Field',
1130
+ name: { kind: 'Name', value: 'hasIndefiniteRetention' },
1131
+ },
1132
+ {
1133
+ kind: 'Field',
1134
+ name: { kind: 'Name', value: 'encryptionPractices' },
1135
+ },
1136
+ {
1137
+ kind: 'Field',
1138
+ name: { kind: 'Name', value: 'breachRisk' },
1139
+ },
1140
+ ],
1141
+ },
1142
+ },
1143
+ {
1144
+ kind: 'Field',
1145
+ name: { kind: 'Name', value: 'organizationIdentity' },
1146
+ selectionSet: {
1147
+ kind: 'SelectionSet',
1148
+ selections: [
1149
+ {
1150
+ kind: 'Field',
1151
+ name: { kind: 'Name', value: 'brandName' },
1152
+ },
1153
+ {
1154
+ kind: 'Field',
1155
+ name: { kind: 'Name', value: 'companyName' },
1156
+ },
1157
+ {
1158
+ kind: 'Field',
1159
+ name: { kind: 'Name', value: 'primaryCategory' },
1160
+ },
1161
+ {
1162
+ kind: 'Field',
1163
+ name: { kind: 'Name', value: 'categories' },
1164
+ },
1165
+ ],
1166
+ },
1167
+ },
1168
+ ],
1169
+ },
1170
+ },
1171
+ { kind: 'Field', name: { kind: 'Name', value: 'owner' } },
1172
+ { kind: 'Field', name: { kind: 'Name', value: 'version' } },
1173
+ { kind: 'Field', name: { kind: 'Name', value: 'createdAtEpochMs' } },
1174
+ { kind: 'Field', name: { kind: 'Name', value: 'updatedAtEpochMs' } },
1175
+ ],
1176
+ },
1177
+ },
1178
+ ],
1179
+ };
1180
+ export const ListAnalysisResultsDocument = {
1181
+ kind: 'Document',
1182
+ definitions: [
1183
+ {
1184
+ kind: 'OperationDefinition',
1185
+ operation: 'query',
1186
+ name: { kind: 'Name', value: 'ListAnalysisResults' },
1187
+ variableDefinitions: [
1188
+ {
1189
+ kind: 'VariableDefinition',
1190
+ variable: {
1191
+ kind: 'Variable',
1192
+ name: { kind: 'Name', value: 'virtualPresenceId' },
1193
+ },
1194
+ type: {
1195
+ kind: 'NonNullType',
1196
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } },
1197
+ },
1198
+ },
1199
+ {
1200
+ kind: 'VariableDefinition',
1201
+ variable: {
1202
+ kind: 'Variable',
1203
+ name: { kind: 'Name', value: 'limit' },
1204
+ },
1205
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } },
1206
+ },
1207
+ {
1208
+ kind: 'VariableDefinition',
1209
+ variable: {
1210
+ kind: 'Variable',
1211
+ name: { kind: 'Name', value: 'nextToken' },
1212
+ },
1213
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
1214
+ },
1215
+ ],
1216
+ selectionSet: {
1217
+ kind: 'SelectionSet',
1218
+ selections: [
1219
+ {
1220
+ kind: 'Field',
1221
+ name: { kind: 'Name', value: 'listAnalysisResults' },
1222
+ arguments: [
1223
+ {
1224
+ kind: 'Argument',
1225
+ name: { kind: 'Name', value: 'virtualPresenceId' },
1226
+ value: {
1227
+ kind: 'Variable',
1228
+ name: { kind: 'Name', value: 'virtualPresenceId' },
1229
+ },
1230
+ },
1231
+ {
1232
+ kind: 'Argument',
1233
+ name: { kind: 'Name', value: 'limit' },
1234
+ value: {
1235
+ kind: 'Variable',
1236
+ name: { kind: 'Name', value: 'limit' },
1237
+ },
1238
+ },
1239
+ {
1240
+ kind: 'Argument',
1241
+ name: { kind: 'Name', value: 'nextToken' },
1242
+ value: {
1243
+ kind: 'Variable',
1244
+ name: { kind: 'Name', value: 'nextToken' },
1245
+ },
1246
+ },
1247
+ ],
1248
+ selectionSet: {
1249
+ kind: 'SelectionSet',
1250
+ selections: [
1251
+ {
1252
+ kind: 'Field',
1253
+ name: { kind: 'Name', value: 'items' },
1254
+ selectionSet: {
1255
+ kind: 'SelectionSet',
1256
+ selections: [
1257
+ {
1258
+ kind: 'FragmentSpread',
1259
+ name: { kind: 'Name', value: 'AnalysisResultFields' },
1260
+ },
1261
+ ],
1262
+ },
1263
+ },
1264
+ { kind: 'Field', name: { kind: 'Name', value: 'nextToken' } },
1265
+ ],
1266
+ },
1267
+ },
1268
+ ],
1269
+ },
1270
+ },
1271
+ {
1272
+ kind: 'FragmentDefinition',
1273
+ name: { kind: 'Name', value: 'AnalysisResultFields' },
1274
+ typeCondition: {
1275
+ kind: 'NamedType',
1276
+ name: { kind: 'Name', value: 'AnalysisResult' },
1277
+ },
1278
+ selectionSet: {
1279
+ kind: 'SelectionSet',
1280
+ selections: [
1281
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
1282
+ { kind: 'Field', name: { kind: 'Name', value: 'virtualPresenceId' } },
1283
+ {
1284
+ kind: 'Field',
1285
+ name: { kind: 'Name', value: 'dataHolderIdentifier' },
1286
+ },
1287
+ { kind: 'Field', name: { kind: 'Name', value: 'status' } },
1288
+ {
1289
+ kind: 'Field',
1290
+ name: { kind: 'Name', value: 'lastAnalyzedAtEpochMs' },
1291
+ },
1292
+ {
1293
+ kind: 'Field',
1294
+ name: { kind: 'Name', value: 'data' },
1295
+ selectionSet: {
1296
+ kind: 'SelectionSet',
1297
+ selections: [
1298
+ {
1299
+ kind: 'Field',
1300
+ name: { kind: 'Name', value: 'privacyScore' },
1301
+ selectionSet: {
1302
+ kind: 'SelectionSet',
1303
+ selections: [
1304
+ { kind: 'Field', name: { kind: 'Name', value: 'score' } },
1305
+ {
1306
+ kind: 'Field',
1307
+ name: { kind: 'Name', value: 'breakdown' },
1308
+ selectionSet: {
1309
+ kind: 'SelectionSet',
1310
+ selections: [
1311
+ {
1312
+ kind: 'Field',
1313
+ name: { kind: 'Name', value: 'aspect' },
1314
+ },
1315
+ {
1316
+ kind: 'Field',
1317
+ name: { kind: 'Name', value: 'contribution' },
1318
+ },
1319
+ ],
1320
+ },
1321
+ },
1322
+ ],
1323
+ },
1324
+ },
1325
+ {
1326
+ kind: 'Field',
1327
+ name: { kind: 'Name', value: 'privacySummary' },
1328
+ selectionSet: {
1329
+ kind: 'SelectionSet',
1330
+ selections: [
1331
+ {
1332
+ kind: 'Field',
1333
+ name: { kind: 'Name', value: 'bulletPoints' },
1334
+ },
1335
+ {
1336
+ kind: 'Field',
1337
+ name: { kind: 'Name', value: 'sourceUrl' },
1338
+ },
1339
+ {
1340
+ kind: 'Field',
1341
+ name: { kind: 'Name', value: 'sourceLastUpdated' },
1342
+ },
1343
+ ],
1344
+ },
1345
+ },
1346
+ {
1347
+ kind: 'Field',
1348
+ name: { kind: 'Name', value: 'categories' },
1349
+ selectionSet: {
1350
+ kind: 'SelectionSet',
1351
+ selections: [
1352
+ {
1353
+ kind: 'Field',
1354
+ name: { kind: 'Name', value: 'category' },
1355
+ },
1356
+ {
1357
+ kind: 'Field',
1358
+ name: { kind: 'Name', value: 'collected' },
1359
+ },
1360
+ {
1361
+ kind: 'Field',
1362
+ name: { kind: 'Name', value: 'dataLabels' },
1363
+ },
1364
+ {
1365
+ kind: 'Field',
1366
+ name: { kind: 'Name', value: 'sharedWithThirdParties' },
1367
+ },
1368
+ {
1369
+ kind: 'Field',
1370
+ name: { kind: 'Name', value: 'usedForAdvertising' },
1371
+ },
1372
+ {
1373
+ kind: 'Field',
1374
+ name: { kind: 'Name', value: 'retained' },
1375
+ },
1376
+ {
1377
+ kind: 'Field',
1378
+ name: { kind: 'Name', value: 'retention' },
1379
+ selectionSet: {
1380
+ kind: 'SelectionSet',
1381
+ selections: [
1382
+ {
1383
+ kind: 'Field',
1384
+ name: { kind: 'Name', value: 'style' },
1385
+ },
1386
+ {
1387
+ kind: 'Field',
1388
+ name: { kind: 'Name', value: 'timeInDays' },
1389
+ },
1390
+ {
1391
+ kind: 'Field',
1392
+ name: { kind: 'Name', value: 'additionalInfo' },
1393
+ },
1394
+ ],
1395
+ },
1396
+ },
1397
+ {
1398
+ kind: 'Field',
1399
+ name: { kind: 'Name', value: 'userCanOptOut' },
1400
+ },
1401
+ {
1402
+ kind: 'Field',
1403
+ name: { kind: 'Name', value: 'requiredForService' },
1404
+ },
1405
+ {
1406
+ kind: 'Field',
1407
+ name: { kind: 'Name', value: 'requiredForLaw' },
1408
+ },
1409
+ ],
1410
+ },
1411
+ },
1412
+ {
1413
+ kind: 'Field',
1414
+ name: { kind: 'Name', value: 'capabilities' },
1415
+ selectionSet: {
1416
+ kind: 'SelectionSet',
1417
+ selections: [
1418
+ {
1419
+ kind: 'Field',
1420
+ name: {
1421
+ kind: 'Name',
1422
+ value: 'supportsAccountCreation',
1423
+ },
1424
+ },
1425
+ {
1426
+ kind: 'Field',
1427
+ name: {
1428
+ kind: 'Name',
1429
+ value: 'supportsAccountDeletion',
1430
+ },
1431
+ },
1432
+ {
1433
+ kind: 'Field',
1434
+ name: {
1435
+ kind: 'Name',
1436
+ value: 'supportsDataDeletionRequests',
1437
+ },
1438
+ },
1439
+ {
1440
+ kind: 'Field',
1441
+ name: { kind: 'Name', value: 'supportsDataExport' },
1442
+ },
1443
+ {
1444
+ kind: 'Field',
1445
+ name: { kind: 'Name', value: 'supportsSubscriptions' },
1446
+ },
1447
+ {
1448
+ kind: 'Field',
1449
+ name: {
1450
+ kind: 'Name',
1451
+ value: 'sellsPersonalInformation',
1452
+ },
1453
+ },
1454
+ {
1455
+ kind: 'Field',
1456
+ name: { kind: 'Name', value: 'usesCookiesOrTracking' },
1457
+ },
1458
+ ],
1459
+ },
1460
+ },
1461
+ {
1462
+ kind: 'Field',
1463
+ name: { kind: 'Name', value: 'riskIndicators' },
1464
+ selectionSet: {
1465
+ kind: 'SelectionSet',
1466
+ selections: [
1467
+ {
1468
+ kind: 'Field',
1469
+ name: { kind: 'Name', value: 'dataCollectionBreadth' },
1470
+ },
1471
+ {
1472
+ kind: 'Field',
1473
+ name: {
1474
+ kind: 'Name',
1475
+ value: 'collectsSensitiveDataForNonEssentialPurposes',
1476
+ },
1477
+ },
1478
+ {
1479
+ kind: 'Field',
1480
+ name: {
1481
+ kind: 'Name',
1482
+ value: 'sellsPersonalInformation',
1483
+ },
1484
+ },
1485
+ {
1486
+ kind: 'Field',
1487
+ name: { kind: 'Name', value: 'maxRetentionDays' },
1488
+ },
1489
+ {
1490
+ kind: 'Field',
1491
+ name: { kind: 'Name', value: 'hasIndefiniteRetention' },
1492
+ },
1493
+ {
1494
+ kind: 'Field',
1495
+ name: { kind: 'Name', value: 'encryptionPractices' },
1496
+ },
1497
+ {
1498
+ kind: 'Field',
1499
+ name: { kind: 'Name', value: 'breachRisk' },
1500
+ },
1501
+ ],
1502
+ },
1503
+ },
1504
+ {
1505
+ kind: 'Field',
1506
+ name: { kind: 'Name', value: 'organizationIdentity' },
1507
+ selectionSet: {
1508
+ kind: 'SelectionSet',
1509
+ selections: [
1510
+ {
1511
+ kind: 'Field',
1512
+ name: { kind: 'Name', value: 'brandName' },
1513
+ },
1514
+ {
1515
+ kind: 'Field',
1516
+ name: { kind: 'Name', value: 'companyName' },
1517
+ },
1518
+ {
1519
+ kind: 'Field',
1520
+ name: { kind: 'Name', value: 'primaryCategory' },
1521
+ },
1522
+ {
1523
+ kind: 'Field',
1524
+ name: { kind: 'Name', value: 'categories' },
1525
+ },
1526
+ ],
1527
+ },
1528
+ },
1529
+ ],
1530
+ },
1531
+ },
1532
+ { kind: 'Field', name: { kind: 'Name', value: 'owner' } },
1533
+ { kind: 'Field', name: { kind: 'Name', value: 'version' } },
1534
+ { kind: 'Field', name: { kind: 'Name', value: 'createdAtEpochMs' } },
1535
+ { kind: 'Field', name: { kind: 'Name', value: 'updatedAtEpochMs' } },
1536
+ ],
1537
+ },
1538
+ },
1539
+ ],
1540
+ };
1541
+ export const OnVirtualPresenceUpdateDocument = {
1542
+ kind: 'Document',
1543
+ definitions: [
1544
+ {
1545
+ kind: 'OperationDefinition',
1546
+ operation: 'subscription',
1547
+ name: { kind: 'Name', value: 'OnVirtualPresenceUpdate' },
1548
+ variableDefinitions: [
1549
+ {
1550
+ kind: 'VariableDefinition',
1551
+ variable: {
1552
+ kind: 'Variable',
1553
+ name: { kind: 'Name', value: 'owner' },
1554
+ },
1555
+ type: {
1556
+ kind: 'NonNullType',
1557
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } },
1558
+ },
1559
+ },
1560
+ ],
1561
+ selectionSet: {
1562
+ kind: 'SelectionSet',
1563
+ selections: [
1564
+ {
1565
+ kind: 'Field',
1566
+ name: { kind: 'Name', value: 'onVirtualPresenceUpdate' },
1567
+ arguments: [
1568
+ {
1569
+ kind: 'Argument',
1570
+ name: { kind: 'Name', value: 'owner' },
1571
+ value: {
1572
+ kind: 'Variable',
1573
+ name: { kind: 'Name', value: 'owner' },
1574
+ },
1575
+ },
1576
+ ],
1577
+ selectionSet: {
1578
+ kind: 'SelectionSet',
1579
+ selections: [
1580
+ {
1581
+ kind: 'FragmentSpread',
1582
+ name: { kind: 'Name', value: 'VirtualPresenceFields' },
1583
+ },
1584
+ ],
1585
+ },
1586
+ },
1587
+ ],
1588
+ },
1589
+ },
1590
+ {
1591
+ kind: 'FragmentDefinition',
1592
+ name: { kind: 'Name', value: 'VirtualPresenceFields' },
1593
+ typeCondition: {
1594
+ kind: 'NamedType',
1595
+ name: { kind: 'Name', value: 'VirtualPresence' },
1596
+ },
1597
+ selectionSet: {
1598
+ kind: 'SelectionSet',
1599
+ selections: [
1600
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
1601
+ { kind: 'Field', name: { kind: 'Name', value: 'providerType' } },
1602
+ { kind: 'Field', name: { kind: 'Name', value: 'identifier' } },
1603
+ { kind: 'Field', name: { kind: 'Name', value: 'state' } },
1604
+ {
1605
+ kind: 'Field',
1606
+ name: { kind: 'Name', value: 'lastScannedAtEpochMs' },
1607
+ },
1608
+ { kind: 'Field', name: { kind: 'Name', value: 'owner' } },
1609
+ { kind: 'Field', name: { kind: 'Name', value: 'version' } },
1610
+ { kind: 'Field', name: { kind: 'Name', value: 'createdAtEpochMs' } },
1611
+ { kind: 'Field', name: { kind: 'Name', value: 'updatedAtEpochMs' } },
1612
+ ],
1613
+ },
1614
+ },
1615
+ ],
1616
+ };
1617
+ export const OnDataHoldersUpdateDocument = {
1618
+ kind: 'Document',
1619
+ definitions: [
1620
+ {
1621
+ kind: 'OperationDefinition',
1622
+ operation: 'subscription',
1623
+ name: { kind: 'Name', value: 'OnDataHoldersUpdate' },
1624
+ variableDefinitions: [
1625
+ {
1626
+ kind: 'VariableDefinition',
1627
+ variable: {
1628
+ kind: 'Variable',
1629
+ name: { kind: 'Name', value: 'owner' },
1630
+ },
1631
+ type: {
1632
+ kind: 'NonNullType',
1633
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } },
1634
+ },
1635
+ },
1636
+ ],
1637
+ selectionSet: {
1638
+ kind: 'SelectionSet',
1639
+ selections: [
1640
+ {
1641
+ kind: 'Field',
1642
+ name: { kind: 'Name', value: 'onDataHoldersUpdate' },
1643
+ arguments: [
1644
+ {
1645
+ kind: 'Argument',
1646
+ name: { kind: 'Name', value: 'owner' },
1647
+ value: {
1648
+ kind: 'Variable',
1649
+ name: { kind: 'Name', value: 'owner' },
1650
+ },
1651
+ },
1652
+ ],
1653
+ selectionSet: {
1654
+ kind: 'SelectionSet',
1655
+ selections: [
1656
+ {
1657
+ kind: 'Field',
1658
+ name: { kind: 'Name', value: 'items' },
1659
+ selectionSet: {
1660
+ kind: 'SelectionSet',
1661
+ selections: [
1662
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
1663
+ {
1664
+ kind: 'Field',
1665
+ name: { kind: 'Name', value: 'virtualPresenceId' },
1666
+ },
1667
+ {
1668
+ kind: 'Field',
1669
+ name: { kind: 'Name', value: 'domainName' },
1670
+ },
1671
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
1672
+ {
1673
+ kind: 'Field',
1674
+ name: { kind: 'Name', value: 'protectionState' },
1675
+ },
1676
+ {
1677
+ kind: 'Field',
1678
+ name: { kind: 'Name', value: 'complianceConcern' },
1679
+ },
1680
+ {
1681
+ kind: 'Field',
1682
+ name: {
1683
+ kind: 'Name',
1684
+ value: 'mostRecentInteractionEpochMs',
1685
+ },
1686
+ },
1687
+ { kind: 'Field', name: { kind: 'Name', value: 'owner' } },
1688
+ {
1689
+ kind: 'Field',
1690
+ name: { kind: 'Name', value: 'version' },
1691
+ },
1692
+ {
1693
+ kind: 'Field',
1694
+ name: { kind: 'Name', value: 'createdAtEpochMs' },
1695
+ },
1696
+ {
1697
+ kind: 'Field',
1698
+ name: { kind: 'Name', value: 'updatedAtEpochMs' },
1699
+ },
1700
+ ],
1701
+ },
1702
+ },
1703
+ { kind: 'Field', name: { kind: 'Name', value: 'owner' } },
1704
+ ],
1705
+ },
1706
+ },
1707
+ ],
1708
+ },
1709
+ },
1710
+ ],
1711
+ };
1712
+ export const OnAnalysisResultUpdateDocument = {
1713
+ kind: 'Document',
1714
+ definitions: [
1715
+ {
1716
+ kind: 'OperationDefinition',
1717
+ operation: 'subscription',
1718
+ name: { kind: 'Name', value: 'OnAnalysisResultUpdate' },
1719
+ variableDefinitions: [
1720
+ {
1721
+ kind: 'VariableDefinition',
1722
+ variable: {
1723
+ kind: 'Variable',
1724
+ name: { kind: 'Name', value: 'owner' },
1725
+ },
1726
+ type: {
1727
+ kind: 'NonNullType',
1728
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } },
1729
+ },
1730
+ },
1731
+ ],
1732
+ selectionSet: {
1733
+ kind: 'SelectionSet',
1734
+ selections: [
1735
+ {
1736
+ kind: 'Field',
1737
+ name: { kind: 'Name', value: 'onAnalysisResultUpdate' },
1738
+ arguments: [
1739
+ {
1740
+ kind: 'Argument',
1741
+ name: { kind: 'Name', value: 'owner' },
1742
+ value: {
1743
+ kind: 'Variable',
1744
+ name: { kind: 'Name', value: 'owner' },
1745
+ },
1746
+ },
1747
+ ],
1748
+ selectionSet: {
1749
+ kind: 'SelectionSet',
1750
+ selections: [
1751
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
1752
+ {
1753
+ kind: 'Field',
1754
+ name: { kind: 'Name', value: 'virtualPresenceId' },
1755
+ },
1756
+ {
1757
+ kind: 'Field',
1758
+ name: { kind: 'Name', value: 'dataHolderIdentifier' },
1759
+ },
1760
+ { kind: 'Field', name: { kind: 'Name', value: 'status' } },
1761
+ {
1762
+ kind: 'Field',
1763
+ name: { kind: 'Name', value: 'lastAnalyzedAtEpochMs' },
1764
+ },
1765
+ { kind: 'Field', name: { kind: 'Name', value: 'owner' } },
1766
+ { kind: 'Field', name: { kind: 'Name', value: 'version' } },
1767
+ {
1768
+ kind: 'Field',
1769
+ name: { kind: 'Name', value: 'createdAtEpochMs' },
1770
+ },
1771
+ {
1772
+ kind: 'Field',
1773
+ name: { kind: 'Name', value: 'updatedAtEpochMs' },
1774
+ },
1775
+ ],
1776
+ },
1777
+ },
1778
+ ],
1779
+ },
1780
+ },
1781
+ ],
1782
+ };