@sudoplatform/sudo-privacy-interaction 2.2.0 → 2.4.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 (121) hide show
  1. package/cjs/gen/graphqlTypes.js +443 -11
  2. package/cjs/gen/schema-types.js +2 -0
  3. package/cjs/private/data/action/defaultActionService.js +7 -0
  4. package/cjs/private/data/analysis-result/defaultAnalysisResultService.js +6 -0
  5. package/cjs/private/data/analysis-result/transformer/analysisResultStatusReasonTransformer.js +45 -0
  6. package/cjs/private/data/analysis-result/transformer/analysisResultTransformer.js +6 -0
  7. package/cjs/private/data/analysis-result/transformer/capabilitySignalsTransformer.js +5 -2
  8. package/cjs/private/data/analysis-result/transformer/organizationCategoryTransformer.js +4 -0
  9. package/cjs/private/data/common/apiClient.js +29 -1
  10. package/cjs/private/data/data-holder/defaultDataHolderService.js +8 -0
  11. package/cjs/private/data/data-holder/transformer/dataHolderProtectionStateTransformer.js +4 -0
  12. package/cjs/private/data/organization-analysis/defaultOrganizationAnalysisService.js +6 -0
  13. package/cjs/private/data/organization-analysis/transformer/organizationAnalysisDomainResolutionTransformer.js +29 -0
  14. package/cjs/private/data/organization-analysis/transformer/organizationAnalysisTransformer.js +6 -0
  15. package/cjs/private/data/virtual-presence/transformer/virtualPresenceTransformer.js +8 -0
  16. package/cjs/private/domain/entities/analysis-result/analysisResultEntity.js +21 -1
  17. package/cjs/private/domain/entities/data-holder/dataHolderEntity.js +2 -0
  18. package/cjs/private/domain/entities/organization-analysis/organizationAnalysisEntity.js +17 -1
  19. package/cjs/private/domain/use-cases/action/getActionUseCase.js +25 -0
  20. package/cjs/private/domain/use-cases/data-holder/archiveDataHolderUseCase.js +25 -0
  21. package/cjs/private/domain/use-cases/data-holder/unarchiveDataHolderUseCase.js +25 -0
  22. package/cjs/public/defaultSudoPrivacyInteractionClient.js +31 -0
  23. package/cjs/public/typings/analysisResult.js +21 -1
  24. package/cjs/public/typings/dataHolder.js +2 -0
  25. package/cjs/public/typings/organizationAnalysis.js +17 -1
  26. package/docs/assets/hierarchy.js +1 -1
  27. package/docs/assets/navigation.js +1 -1
  28. package/docs/assets/search.js +1 -1
  29. package/docs/classes/DefaultSudoPrivacyInteractionClient.html +93 -27
  30. package/docs/enums/AnalysisResultStatus.html +6 -6
  31. package/docs/enums/AnalysisResultStatusReason.html +81 -0
  32. package/docs/enums/DataCategory.html +18 -18
  33. package/docs/enums/DataHolderProtectionState.html +12 -6
  34. package/docs/enums/OrganizationAnalysisDomainResolution.html +70 -0
  35. package/docs/enums/OrganizationAnalysisMode.html +3 -3
  36. package/docs/enums/OrganizationCategory.html +38 -32
  37. package/docs/enums/ProviderType.html +3 -3
  38. package/docs/enums/RetentionStyle.html +5 -5
  39. package/docs/enums/ShareStyle.html +6 -6
  40. package/docs/enums/SignalValue.html +4 -4
  41. package/docs/enums/VirtualPresenceState.html +7 -7
  42. package/docs/hierarchy.html +6 -6
  43. package/docs/interfaces/AnalysisResult.html +21 -13
  44. package/docs/interfaces/AnalysisResultData.html +8 -8
  45. package/docs/interfaces/AnalysisResultUpdate.html +20 -12
  46. package/docs/interfaces/CapabilitySignals.html +41 -29
  47. package/docs/interfaces/CategorySignals.html +11 -11
  48. package/docs/interfaces/DataHolderCount.html +98 -0
  49. package/docs/interfaces/DataHolderScanSummary.html +14 -14
  50. package/docs/interfaces/GetOrganizationAnalysisInput.html +24 -5
  51. package/docs/interfaces/ListAnalysisResultsInput.html +1 -1
  52. package/docs/interfaces/ListDataHolderScanSummariesInput.html +1 -1
  53. package/docs/interfaces/ListDataHoldersInput.html +1 -1
  54. package/docs/interfaces/ListVirtualPresencesInput.html +1 -1
  55. package/docs/interfaces/OrganizationAnalysis.html +20 -12
  56. package/docs/interfaces/OrganizationIdentity.html +5 -5
  57. package/docs/interfaces/Pagination.html +1 -1
  58. package/docs/interfaces/PrivacyScore.html +4 -4
  59. package/docs/interfaces/PrivacySummary.html +4 -4
  60. package/docs/interfaces/RetentionInfo.html +4 -4
  61. package/docs/interfaces/RiskIndicators.html +8 -8
  62. package/docs/interfaces/ScoreContribution.html +3 -3
  63. package/docs/interfaces/ScoreCoverage.html +3 -3
  64. package/docs/interfaces/SudoPrivacyInteractionClient.html +78 -15
  65. package/docs/interfaces/VirtualPresence.html +22 -13
  66. package/docs/modules.html +4 -4
  67. package/docs/types/SudoPrivacyInteractionClientOptions.html +2 -2
  68. package/lib/gen/graphqlTypes.js +441 -10
  69. package/lib/gen/schema-types.js +1 -0
  70. package/lib/private/data/action/defaultActionService.js +7 -0
  71. package/lib/private/data/analysis-result/defaultAnalysisResultService.js +6 -0
  72. package/lib/private/data/analysis-result/transformer/analysisResultStatusReasonTransformer.js +41 -0
  73. package/lib/private/data/analysis-result/transformer/analysisResultTransformer.js +6 -0
  74. package/lib/private/data/analysis-result/transformer/capabilitySignalsTransformer.js +5 -2
  75. package/lib/private/data/analysis-result/transformer/organizationCategoryTransformer.js +4 -0
  76. package/lib/private/data/common/apiClient.js +30 -2
  77. package/lib/private/data/data-holder/defaultDataHolderService.js +8 -0
  78. package/lib/private/data/data-holder/transformer/dataHolderProtectionStateTransformer.js +4 -0
  79. package/lib/private/data/organization-analysis/defaultOrganizationAnalysisService.js +6 -0
  80. package/lib/private/data/organization-analysis/transformer/organizationAnalysisDomainResolutionTransformer.js +25 -0
  81. package/lib/private/data/organization-analysis/transformer/organizationAnalysisTransformer.js +6 -0
  82. package/lib/private/data/virtual-presence/transformer/virtualPresenceTransformer.js +8 -0
  83. package/lib/private/domain/entities/analysis-result/analysisResultEntity.js +20 -0
  84. package/lib/private/domain/entities/data-holder/dataHolderEntity.js +2 -0
  85. package/lib/private/domain/entities/organization-analysis/organizationAnalysisEntity.js +16 -0
  86. package/lib/private/domain/use-cases/action/getActionUseCase.js +21 -0
  87. package/lib/private/domain/use-cases/data-holder/archiveDataHolderUseCase.js +21 -0
  88. package/lib/private/domain/use-cases/data-holder/unarchiveDataHolderUseCase.js +21 -0
  89. package/lib/public/defaultSudoPrivacyInteractionClient.js +31 -0
  90. package/lib/public/typings/analysisResult.js +20 -0
  91. package/lib/public/typings/dataHolder.js +2 -0
  92. package/lib/public/typings/organizationAnalysis.js +16 -0
  93. package/package.json +19 -23
  94. package/types/gen/graphqlTypes.d.ts +338 -645
  95. package/types/gen/schema-types.d.ts +525 -0
  96. package/types/private/data/action/defaultActionService.d.ts +1 -0
  97. package/types/private/data/analysis-result/defaultAnalysisResultService.d.ts +1 -0
  98. package/types/private/data/analysis-result/transformer/analysisResultStatusReasonTransformer.d.ts +12 -0
  99. package/types/private/data/analysis-result/transformer/analysisResultTransformer.d.ts +1 -0
  100. package/types/private/data/common/apiClient.d.ts +6 -1
  101. package/types/private/data/data-holder/defaultDataHolderService.d.ts +2 -0
  102. package/types/private/data/organization-analysis/defaultOrganizationAnalysisService.d.ts +1 -0
  103. package/types/private/data/organization-analysis/transformer/organizationAnalysisDomainResolutionTransformer.d.ts +12 -0
  104. package/types/private/data/organization-analysis/transformer/organizationAnalysisTransformer.d.ts +1 -0
  105. package/types/private/domain/entities/action/actionService.d.ts +11 -0
  106. package/types/private/domain/entities/analysis-result/analysisResultEntity.d.ts +23 -2
  107. package/types/private/domain/entities/data-holder/dataHolderEntity.d.ts +2 -0
  108. package/types/private/domain/entities/data-holder/dataHolderService.d.ts +16 -0
  109. package/types/private/domain/entities/organization-analysis/organizationAnalysisEntity.d.ts +18 -1
  110. package/types/private/domain/entities/organization-analysis/organizationAnalysisService.d.ts +8 -1
  111. package/types/private/domain/entities/virtual-presence/virtualPresenceEntity.d.ts +24 -0
  112. package/types/private/domain/use-cases/action/getActionUseCase.d.ts +16 -0
  113. package/types/private/domain/use-cases/data-holder/archiveDataHolderUseCase.d.ts +16 -0
  114. package/types/private/domain/use-cases/data-holder/unarchiveDataHolderUseCase.d.ts +16 -0
  115. package/types/public/defaultSudoPrivacyInteractionClient.d.ts +4 -0
  116. package/types/public/inputs/organizationAnalysis.d.ts +8 -1
  117. package/types/public/sudoPrivacyInteractionClient.d.ts +27 -0
  118. package/types/public/typings/analysisResult.d.ts +30 -0
  119. package/types/public/typings/dataHolder.d.ts +2 -0
  120. package/types/public/typings/organizationAnalysis.d.ts +18 -1
  121. package/types/public/typings/virtualPresence.d.ts +25 -0
@@ -1,540 +1,109 @@
1
- import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
2
- export type Maybe<T> = T | null;
3
- export type InputMaybe<T> = Maybe<T>;
4
- export type Exact<T extends {
1
+ /** Internal type. DO NOT USE DIRECTLY. */
2
+ type Exact<T extends {
5
3
  [key: string]: unknown;
6
4
  }> = {
7
5
  [K in keyof T]: T[K];
8
6
  };
9
- export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
10
- [SubKey in K]?: Maybe<T[SubKey]>;
11
- };
12
- export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
13
- [SubKey in K]: Maybe<T[SubKey]>;
14
- };
15
- export type MakeEmpty<T extends {
16
- [key: string]: unknown;
17
- }, K extends keyof T> = {
18
- [_ in K]?: never;
19
- };
7
+ /** Internal type. DO NOT USE DIRECTLY. */
20
8
  export type Incremental<T> = T | {
21
9
  [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
22
10
  };
23
- /** All built-in and custom scalars, mapped to their actual values */
24
- export type Scalars = {
25
- ID: {
26
- input: string;
27
- output: string;
28
- };
29
- String: {
30
- input: string;
31
- output: string;
32
- };
33
- Boolean: {
34
- input: boolean;
35
- output: boolean;
36
- };
37
- Int: {
38
- input: number;
39
- output: number;
40
- };
41
- Float: {
42
- input: number;
43
- output: number;
44
- };
45
- AWSDate: {
46
- input: any;
47
- output: any;
48
- };
49
- AWSDateTime: {
50
- input: any;
51
- output: any;
52
- };
53
- AWSEmail: {
54
- input: any;
55
- output: any;
56
- };
57
- AWSIPAddress: {
58
- input: any;
59
- output: any;
60
- };
61
- AWSJSON: {
62
- input: any;
63
- output: any;
64
- };
65
- AWSPhone: {
66
- input: any;
67
- output: any;
68
- };
69
- AWSTime: {
70
- input: any;
71
- output: any;
72
- };
73
- AWSTimestamp: {
74
- input: any;
75
- output: any;
76
- };
77
- AWSURL: {
78
- input: any;
79
- output: any;
80
- };
81
- };
82
- export type Action = {
83
- additionalInfo?: Maybe<Scalars['String']['output']>;
84
- assistedPayload?: Maybe<AssistedPayload>;
85
- completedAtEpochMs?: Maybe<Scalars['Float']['output']>;
86
- createdAtEpochMs: Scalars['Float']['output'];
87
- dataHolderId?: Maybe<Scalars['ID']['output']>;
88
- fulfilmentMethod: ActionFulfilmentMethod;
89
- id: Scalars['ID']['output'];
90
- initiatedAtEpochMs?: Maybe<Scalars['Float']['output']>;
91
- intent: ActionIntent;
92
- owner: Scalars['ID']['output'];
93
- status: ActionStatus;
94
- updatedAtEpochMs: Scalars['Float']['output'];
95
- version: Scalars['Int']['output'];
96
- virtualPresenceId: Scalars['ID']['output'];
97
- };
98
- export type ActionContact = {
99
- address?: Maybe<Scalars['String']['output']>;
100
- email?: Maybe<Scalars['String']['output']>;
101
- phone?: Maybe<Scalars['String']['output']>;
102
- };
11
+ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
12
+ export * from './schema-types';
103
13
  export type ActionFulfilmentMethod = 'ASSISTED' | 'DELEGATED' | '%future added value';
104
14
  export type ActionIntent = 'ACCESS_MY_DATA' | 'DELETE_MY_DATA' | 'LIMIT_DATA_USE' | 'OTHER' | 'STOP_CONTACT' | '%future added value';
105
15
  export type ActionOrigin = 'ANALYSIS' | 'DISCOVERY' | 'STATIC' | '%future added value';
106
16
  export type ActionStatus = 'COMPLETED_UNVERIFIED' | 'COMPLETED_VERIFIED' | 'CONTRADICTED' | 'FAILED' | 'IN_PROGRESS' | 'PENDING' | 'REQUIRES_USER_INPUT' | '%future added value';
107
- export type AnalysisResult = {
108
- createdAtEpochMs: Scalars['Float']['output'];
109
- data?: Maybe<AnalysisResultData>;
110
- dataHolderIdentifier: Scalars['String']['output'];
111
- id: Scalars['ID']['output'];
112
- lastAnalyzedAtEpochMs: Scalars['Float']['output'];
113
- owner: Scalars['ID']['output'];
114
- status: AnalysisResultStatus;
115
- updatedAtEpochMs: Scalars['Float']['output'];
116
- version: Scalars['Int']['output'];
117
- virtualPresenceId: Scalars['ID']['output'];
118
- };
119
- export type AnalysisResultConnection = {
120
- items: Array<AnalysisResult>;
121
- nextToken?: Maybe<Scalars['String']['output']>;
122
- };
123
- export type AnalysisResultData = {
124
- attribution: Array<Scalars['String']['output']>;
125
- capabilities: CapabilitySignals;
126
- categories: Array<CategorySignals>;
127
- organizationIdentity?: Maybe<OrganizationIdentity>;
128
- privacyScore?: Maybe<PrivacyScore>;
129
- privacySummary: PrivacySummary;
130
- riskIndicators: RiskIndicators;
131
- };
132
17
  export type AnalysisResultStatus = 'COMPLETE' | 'FAILED' | 'PARTIAL' | 'PENDING' | 'UNAVAILABLE' | '%future added value';
133
- export type AnalysisResultUpdate = {
134
- createdAtEpochMs: Scalars['Float']['output'];
135
- dataHolderIdentifier: Scalars['String']['output'];
136
- id: Scalars['ID']['output'];
137
- lastAnalyzedAtEpochMs: Scalars['Float']['output'];
138
- owner: Scalars['ID']['output'];
139
- status: AnalysisResultStatus;
140
- updatedAtEpochMs: Scalars['Float']['output'];
141
- version: Scalars['Int']['output'];
142
- virtualPresenceId: Scalars['ID']['output'];
143
- };
144
- export type AssistedEmailTemplate = {
145
- body: Scalars['String']['output'];
146
- subject?: Maybe<Scalars['String']['output']>;
147
- };
148
- export type AssistedPayload = {
149
- contact?: Maybe<ActionContact>;
150
- emailTemplate?: Maybe<AssistedEmailTemplate>;
151
- instructions?: Maybe<Scalars['String']['output']>;
152
- jurisdiction?: Maybe<Scalars['String']['output']>;
153
- toAddress?: Maybe<Scalars['String']['output']>;
154
- unsubscribeMailto?: Maybe<Scalars['String']['output']>;
155
- unsubscribeUrl?: Maybe<Scalars['String']['output']>;
156
- };
18
+ export type AnalysisResultStatusReason = 'INVALID_DOMAIN' | 'MALICIOUS' | 'NOT_ATTEMPTED' | 'OTHER' | 'POLICY_UNAVAILABLE' | '%future added value';
157
19
  export type AuthCodeInput = {
158
- authCode: Scalars['String']['input'];
159
- redirectUri?: InputMaybe<Scalars['String']['input']>;
160
- };
161
- export type AvailableAction = {
162
- additionalInfo?: Maybe<Scalars['String']['output']>;
163
- description?: Maybe<Scalars['String']['output']>;
164
- fulfilmentMethod: ActionFulfilmentMethod;
165
- intent: ActionIntent;
166
- origin: ActionOrigin;
167
- title?: Maybe<Scalars['String']['output']>;
168
- };
169
- export type AvailableActionConnection = {
170
- items: Array<AvailableAction>;
171
- nextToken?: Maybe<Scalars['String']['output']>;
172
- };
173
- export type CapabilitySignals = {
174
- sellsPersonalInformation: SignalValue;
175
- supportsAccountCreation: SignalValue;
176
- supportsAccountDeletion: SignalValue;
177
- supportsDataDeletionRequests: SignalValue;
178
- supportsDataExport: SignalValue;
179
- supportsSubscriptions: SignalValue;
180
- supportsTwoFactorAuth: SignalValue;
181
- usesCookiesOrTracking: SignalValue;
182
- };
183
- export type CategorySignals = {
184
- category: DataCategory;
185
- collected: SignalValue;
186
- dataLabels: Array<Scalars['String']['output']>;
187
- monetized: SignalValue;
188
- requiredForLaw?: Maybe<SignalValue>;
189
- requiredForService?: Maybe<SignalValue>;
190
- retained: SignalValue;
191
- retention?: Maybe<RetentionInfo>;
192
- sharedWithThirdParties: ShareStyle;
193
- userCanOptOut: SignalValue;
20
+ authCode: string;
21
+ redirectUri?: string | null | undefined;
194
22
  };
195
23
  export type ConnectVirtualPresenceInput = {
196
- authCode?: InputMaybe<AuthCodeInput>;
197
- refreshToken?: InputMaybe<RefreshTokenInput>;
198
- relationshipProvider?: InputMaybe<RelationshipProvider>;
24
+ authCode?: AuthCodeInput | null | undefined;
25
+ refreshToken?: RefreshTokenInput | null | undefined;
26
+ relationshipProvider?: RelationshipProvider | null | undefined;
199
27
  };
200
28
  export type DataCategory = 'ACCOUNT_PROFILE' | 'AUTHENTICATION' | 'BACKGROUND' | 'BIOMETRIC' | 'COMMUNICATION' | 'CONTACTS' | 'DEMOGRAPHIC' | 'DEVICE_IDENTIFIER' | 'FINANCIAL' | 'GOVERNMENT_ISSUED' | 'HEALTH' | 'INFERENCES' | 'LOCATION' | 'OTHER' | 'PII' | 'THIRD_PARTY_DATA' | 'USAGE' | '%future added value';
201
- export type DataHolder = {
202
- complianceConcern: Scalars['Boolean']['output'];
203
- createdAtEpochMs: Scalars['Float']['output'];
204
- domainName: Scalars['String']['output'];
205
- id: Scalars['ID']['output'];
206
- mostRecentInteractionEpochMs: Scalars['Float']['output'];
207
- name: Scalars['String']['output'];
208
- owner: Scalars['ID']['output'];
209
- protectionState: DataHolderProtectionState;
210
- updatedAtEpochMs: Scalars['Float']['output'];
211
- version: Scalars['Int']['output'];
212
- virtualPresenceId: Scalars['ID']['output'];
213
- };
214
- export type DataHolderChangeType = 'METADATA_UPDATE' | 'NEW' | 'SIGNIFICANT_UPDATE' | '%future added value';
215
- export type DataHolderConnection = {
216
- items: Array<DataHolder>;
217
- nextToken?: Maybe<Scalars['String']['output']>;
218
- };
219
- export type DataHolderProtectionState = 'ACTION_REQUESTED' | 'MONITORED' | 'RESOLVED' | '%future added value';
220
- export type DataHolderScanSummary = {
221
- categoryBreakdown: Scalars['AWSJSON']['output'];
222
- dataHolderId: Scalars['ID']['output'];
223
- emailCount: Scalars['Int']['output'];
224
- marketingEmailCount: Scalars['Int']['output'];
225
- marketingEmailOpened: Scalars['Int']['output'];
226
- marketingOpenRate: Scalars['Float']['output'];
227
- owner: Scalars['ID']['output'];
228
- readCount: Scalars['Int']['output'];
229
- readRate: Scalars['Float']['output'];
230
- scanRangeFromEpochMs: Scalars['Float']['output'];
231
- scanRangeToEpochMs: Scalars['Float']['output'];
232
- scannedAtEpochMs: Scalars['Float']['output'];
233
- uncategorizedCount: Scalars['Int']['output'];
234
- };
235
- export type DataHolderScanSummaryConnection = {
236
- items: Array<DataHolderScanSummary>;
237
- nextToken?: Maybe<Scalars['String']['output']>;
238
- };
239
- export type DataHolderUpdateItem = {
240
- complianceConcern: Scalars['Boolean']['output'];
241
- createdAtEpochMs: Scalars['Float']['output'];
242
- domainName: Scalars['String']['output'];
243
- id: Scalars['ID']['output'];
244
- mostRecentInteractionEpochMs: Scalars['Float']['output'];
245
- name: Scalars['String']['output'];
246
- owner: Scalars['ID']['output'];
247
- protectionState: DataHolderProtectionState;
248
- updatedAtEpochMs: Scalars['Float']['output'];
249
- version: Scalars['Int']['output'];
250
- virtualPresenceId: Scalars['ID']['output'];
251
- };
252
- /**
253
- * A batch of data holder updates emitted during discovery.
254
- * Contains all data holders discovered in a single page with their change types.
255
- */
256
- export type DataHoldersUpdate = {
257
- items: Array<DataHolderUpdateItem>;
258
- owner: Scalars['ID']['output'];
259
- };
29
+ export type DataHolderProtectionState = 'ACTION_REQUESTED' | 'ARCHIVED' | 'MONITORED' | 'RESOLVED' | '%future added value';
260
30
  export type InitiateActionInput = {
261
- dataHolderId: Scalars['ID']['input'];
31
+ dataHolderId: string | number;
262
32
  fulfilmentMethod: ActionFulfilmentMethod;
263
33
  intent: ActionIntent;
264
34
  };
265
35
  export type ListVirtualPresencesInput = {
266
- limit?: InputMaybe<Scalars['Int']['input']>;
267
- nextToken?: InputMaybe<Scalars['String']['input']>;
268
- };
269
- export type Mutation = {
270
- /**
271
- * Confirm that an assisted or delegated action was completed, transitioning it
272
- * from COMPLETED_UNVERIFIED to COMPLETED_VERIFIED.
273
- */
274
- confirmActionOutcome: Action;
275
- /** Connect a virtual presence. */
276
- connectVirtualPresence: VirtualPresence;
277
- /** Disconnect a virtual presence. */
278
- disconnectVirtualPresence: VirtualPresence;
279
- /**
280
- * Initiate an action against a data holder relationship. Delegated actions are
281
- * performed on the user's behalf; assisted actions return structured materials
282
- * for the client to complete.
283
- */
284
- initiateAction: Action;
285
- /**
286
- * Rescan an existing virtual presence for new data holders.
287
- * Scans from the last scan date forward.
288
- */
289
- rescanVirtualPresence: VirtualPresence;
290
- };
291
- export type MutationConfirmActionOutcomeArgs = {
292
- id: Scalars['ID']['input'];
293
- };
294
- export type MutationConnectVirtualPresenceArgs = {
295
- input?: InputMaybe<ConnectVirtualPresenceInput>;
296
- };
297
- export type MutationDisconnectVirtualPresenceArgs = {
298
- id: Scalars['String']['input'];
299
- };
300
- export type MutationInitiateActionArgs = {
301
- input: InitiateActionInput;
302
- };
303
- export type MutationRescanVirtualPresenceArgs = {
304
- id: Scalars['String']['input'];
305
- options?: InputMaybe<ScanOptionsInput>;
306
- };
307
- export type OrganizationAnalysis = {
308
- createdAtEpochMs: Scalars['Float']['output'];
309
- data?: Maybe<AnalysisResultData>;
310
- domain: Scalars['String']['output'];
311
- id: Scalars['ID']['output'];
312
- lastAnalyzedAtEpochMs: Scalars['Float']['output'];
313
- owner: Scalars['ID']['output'];
314
- status: AnalysisResultStatus;
315
- updatedAtEpochMs: Scalars['Float']['output'];
316
- version: Scalars['Int']['output'];
36
+ limit?: number | null | undefined;
37
+ nextToken?: string | null | undefined;
317
38
  };
39
+ export type OrganizationAnalysisDomainResolution = 'EXACT' | 'REGISTRABLE' | '%future added value';
318
40
  export type OrganizationAnalysisMode = 'ANALYZE' | 'FETCH' | '%future added value';
319
- export type OrganizationCategory = 'AdTechAndMarketing' | 'Automotive' | 'Communications' | 'CommunityAndCharity' | 'Cryptocurrency' | 'DataBroker' | 'Dating' | 'Education' | 'Employment' | 'EnergyAndUtilities' | 'Entertainment' | 'Finance' | 'FoodAndDining' | 'Gambling' | 'Government' | 'Health' | 'Insurance' | 'Military' | 'News' | 'Other' | 'PersonalEmail' | 'PrivacyAndSecurity' | 'RealEstate' | 'ShippingAndDelivery' | 'Shopping' | 'SocialMedia' | 'SportsAndFitness' | 'Technology' | 'Transportation' | 'Travel' | 'VideoGames' | '%future added value';
320
- export type OrganizationIdentity = {
321
- brandName?: Maybe<Scalars['String']['output']>;
322
- categories: Array<OrganizationCategory>;
323
- companyName?: Maybe<Scalars['String']['output']>;
324
- primaryCategory?: Maybe<OrganizationCategory>;
325
- };
326
- export type PrivacyScore = {
327
- breakdown: Array<ScoreContribution>;
328
- coverage: ScoreCoverage;
329
- score: Scalars['Float']['output'];
330
- };
331
- export type PrivacySummary = {
332
- bulletPoints: Array<Scalars['String']['output']>;
333
- sourceLastUpdated?: Maybe<Scalars['String']['output']>;
334
- sourceUrl: Scalars['String']['output'];
335
- };
336
- export type ProviderConfiguration = {
337
- data: Scalars['ID']['output'];
41
+ export type OrganizationAnalysisOptions = {
42
+ mode?: OrganizationAnalysisMode | null | undefined;
43
+ resolution?: OrganizationAnalysisDomainResolution | null | undefined;
338
44
  };
45
+ export type OrganizationCategory = 'AdTechAndMarketing' | 'AdultEntertainment' | 'Automotive' | 'Communications' | 'CommunityAndCharity' | 'Cryptocurrency' | 'DataBroker' | 'Dating' | 'Education' | 'Employment' | 'EnergyAndUtilities' | 'Entertainment' | 'Finance' | 'FoodAndDining' | 'Gambling' | 'Government' | 'Health' | 'Insurance' | 'Military' | 'News' | 'Other' | 'PersonalEmail' | 'PrivacyAndSecurity' | 'RealEstate' | 'ShippingAndDelivery' | 'Shopping' | 'SocialMedia' | 'SportsAndFitness' | 'Technology' | 'Transportation' | 'Travel' | 'VideoGames' | '%future added value';
339
46
  export type ProviderType = 'EMAIL' | '%future added value';
340
- export type Query = {
341
- /** Get a full analysis result by ID, including typed data. */
342
- getAnalysisResult?: Maybe<AnalysisResult>;
343
- /** Get a single data holder by ID */
344
- getDataHolder?: Maybe<DataHolder>;
345
- /**
346
- * Analyze (read-through) and return the shared, organization-generic analysis
347
- * for a domain. Returns PENDING when an asynchronous source is still resolving;
348
- * re-query for the terminal result. When mode is omitted, the behaviour is
349
- * ANALYZE.
350
- */
351
- getOrganizationAnalysis?: Maybe<OrganizationAnalysis>;
352
- /**
353
- * Get the opaque provider configuration required by consumers to support
354
- * the provider OAuth flow.
355
- */
356
- getProviderConfiguration: ProviderConfiguration;
357
- /** List analysis results for a virtual presence. */
358
- listAnalysisResults: AnalysisResultConnection;
359
- /**
360
- * List the actions currently available for a data holder relationship. Derived
361
- * at query time by merging static, analysis, and discovery sources; not
362
- * persisted. The owning virtual presence is derived from the data holder.
363
- */
364
- listAvailableActions: AvailableActionConnection;
365
- /** List scan summaries for a data holder (most recent first) */
366
- listDataHolderScanSummaries: DataHolderScanSummaryConnection;
367
- /** List data holders by virtual presence */
368
- listDataHolders: DataHolderConnection;
369
- /** List virtual presences for the authenticated user */
370
- listVirtualPresences: VirtualPresenceConnection;
371
- };
372
- export type QueryGetAnalysisResultArgs = {
373
- id: Scalars['ID']['input'];
374
- };
375
- export type QueryGetDataHolderArgs = {
376
- id: Scalars['ID']['input'];
377
- };
378
- export type QueryGetOrganizationAnalysisArgs = {
379
- domain: Scalars['String']['input'];
380
- mode?: InputMaybe<OrganizationAnalysisMode>;
381
- };
382
- export type QueryListAnalysisResultsArgs = {
383
- limit?: InputMaybe<Scalars['Int']['input']>;
384
- nextToken?: InputMaybe<Scalars['String']['input']>;
385
- virtualPresenceId: Scalars['ID']['input'];
386
- };
387
- export type QueryListAvailableActionsArgs = {
388
- dataHolderId: Scalars['ID']['input'];
389
- };
390
- export type QueryListDataHolderScanSummariesArgs = {
391
- dataHolderId: Scalars['ID']['input'];
392
- limit?: InputMaybe<Scalars['Int']['input']>;
393
- nextToken?: InputMaybe<Scalars['String']['input']>;
394
- };
395
- export type QueryListDataHoldersArgs = {
396
- limit?: InputMaybe<Scalars['Int']['input']>;
397
- nextToken?: InputMaybe<Scalars['String']['input']>;
398
- virtualPresenceId: Scalars['ID']['input'];
399
- };
400
- export type QueryListVirtualPresencesArgs = {
401
- input?: InputMaybe<ListVirtualPresencesInput>;
402
- };
403
47
  export type RefreshTokenInput = {
404
- expiresInEpochMs?: InputMaybe<Scalars['Float']['input']>;
405
- providerIdentity: Scalars['String']['input'];
406
- refreshToken: Scalars['String']['input'];
407
- scopes?: InputMaybe<Array<Scalars['String']['input']>>;
48
+ expiresInEpochMs?: number | null | undefined;
49
+ providerIdentity: string;
50
+ refreshToken: string;
51
+ scopes?: Array<string> | null | undefined;
408
52
  };
409
53
  export type RelationshipProvider = 'GMAIL_PROVIDER' | 'TEST_PROVIDER' | '%future added value';
410
- export type RetentionInfo = {
411
- additionalInfo?: Maybe<Scalars['String']['output']>;
412
- style: RetentionStyle;
413
- timeInDays?: Maybe<Scalars['Int']['output']>;
414
- };
415
54
  export type RetentionStyle = 'INDEFINITE' | 'OTHER' | 'RELATIVE_TO_ACCOUNT_CLOSURE_TIME' | 'RELATIVE_TO_DATA_STORAGE_TIME' | '%future added value';
416
- export type RiskIndicators = {
417
- breachRisk: SignalValue;
418
- collectsSensitiveDataForNonEssentialPurposes: SignalValue;
419
- dataCollectionBreadth: Scalars['Int']['output'];
420
- encryptionPractices: SignalValue;
421
- hasIndefiniteRetention: SignalValue;
422
- maxRetentionDays?: Maybe<Scalars['Int']['output']>;
423
- sellsPersonalInformation: SignalValue;
424
- };
425
55
  export type ScanOptionsInput = {
426
- earliestScanDate?: InputMaybe<Scalars['String']['input']>;
427
- excludeCategories?: InputMaybe<Array<Scalars['String']['input']>>;
428
- excludeDomains?: InputMaybe<Array<Scalars['String']['input']>>;
429
- latestScanDate?: InputMaybe<Scalars['String']['input']>;
430
- maximumItemsProcessed?: InputMaybe<Scalars['Int']['input']>;
431
- };
432
- export type ScoreContribution = {
433
- aspect: Scalars['String']['output'];
434
- contribution: Scalars['Float']['output'];
435
- };
436
- export type ScoreCoverage = {
437
- evaluated: Scalars['Int']['output'];
438
- total: Scalars['Int']['output'];
56
+ earliestScanDate?: string | null | undefined;
57
+ excludeCategories?: Array<string> | null | undefined;
58
+ excludeDomains?: Array<string> | null | undefined;
59
+ latestScanDate?: string | null | undefined;
60
+ maximumItemsProcessed?: number | null | undefined;
439
61
  };
440
62
  export type ShareStyle = 'INFERENCE_SHARED' | 'NONE' | 'SHARED' | 'SHARED_WITH_CONSENT' | '%future added value';
441
63
  export type SignalValue = 'NO' | 'UNKNOWN' | 'YES' | '%future added value';
442
- export type Subscription = {
443
- /**
444
- * Subscribe to action status updates for the authenticated user.
445
- * Emitted each time an action's status changes. Carries the scalar fields of the
446
- * action; re-query the action to fetch the full assistedPayload.
447
- */
448
- onActionStatusUpdate?: Maybe<Action>;
449
- /**
450
- * Subscribe to analysis result updates for the authenticated user.
451
- * Emitted each time an analysis result is created or updated.
452
- * Use getAnalysisResult to fetch the full typed data.
453
- */
454
- onAnalysisResultUpdate?: Maybe<AnalysisResultUpdate>;
455
- /**
456
- * Subscribe to batch data holder updates during discovery.
457
- * Emitted once per discovery page with all data holders found in that page.
458
- */
459
- onDataHoldersUpdate?: Maybe<DataHoldersUpdate>;
460
- /**
461
- * Subscribe to virtual presence state updates for the authenticated user.
462
- * Emitted when a virtual presence changes state (e.g. to NEEDS_REAUTH).
463
- */
464
- onVirtualPresenceUpdate?: Maybe<VirtualPresence>;
465
- };
466
- export type SubscriptionOnActionStatusUpdateArgs = {
467
- owner: Scalars['ID']['input'];
468
- };
469
- export type SubscriptionOnAnalysisResultUpdateArgs = {
470
- owner: Scalars['ID']['input'];
471
- };
472
- export type SubscriptionOnDataHoldersUpdateArgs = {
473
- owner: Scalars['ID']['input'];
474
- };
475
- export type SubscriptionOnVirtualPresenceUpdateArgs = {
476
- owner: Scalars['ID']['input'];
477
- };
478
- export type VirtualPresence = {
479
- createdAtEpochMs: Scalars['Float']['output'];
480
- id: Scalars['ID']['output'];
481
- identifier: Scalars['String']['output'];
482
- lastScanFailureReason?: Maybe<Scalars['String']['output']>;
483
- lastScannedAtEpochMs: Scalars['Float']['output'];
484
- owner: Scalars['ID']['output'];
485
- providerType: ProviderType;
486
- relationshipProvider?: Maybe<RelationshipProvider>;
487
- state: VirtualPresenceState;
488
- updatedAtEpochMs: Scalars['Float']['output'];
489
- version: Scalars['Int']['output'];
490
- };
491
- export type VirtualPresenceConnection = {
492
- items: Array<VirtualPresence>;
493
- nextToken?: Maybe<Scalars['String']['output']>;
494
- };
495
64
  export type VirtualPresenceState = 'CONNECTED' | 'ERROR' | 'INACTIVE' | 'NEEDS_REAUTH' | 'SCANNING' | '%future added value';
496
65
  export type ActionFieldsFragment = {
497
66
  id: string;
498
67
  virtualPresenceId: string;
499
- dataHolderId?: string | null;
68
+ dataHolderId: string | null;
500
69
  intent: ActionIntent;
501
- additionalInfo?: string | null;
70
+ additionalInfo: string | null;
502
71
  fulfilmentMethod: ActionFulfilmentMethod;
503
72
  status: ActionStatus;
504
- initiatedAtEpochMs?: number | null;
505
- completedAtEpochMs?: number | null;
73
+ initiatedAtEpochMs: number | null;
74
+ completedAtEpochMs: number | null;
506
75
  owner: string;
507
76
  version: number;
508
77
  createdAtEpochMs: number;
509
78
  updatedAtEpochMs: number;
510
- assistedPayload?: {
511
- toAddress?: string | null;
512
- unsubscribeUrl?: string | null;
513
- unsubscribeMailto?: string | null;
514
- jurisdiction?: string | null;
515
- instructions?: string | null;
516
- contact?: {
517
- email?: string | null;
518
- phone?: string | null;
519
- address?: string | null;
79
+ assistedPayload: {
80
+ toAddress: string | null;
81
+ unsubscribeUrl: string | null;
82
+ unsubscribeMailto: string | null;
83
+ jurisdiction: string | null;
84
+ instructions: string | null;
85
+ contact: {
86
+ email: string | null;
87
+ phone: string | null;
88
+ address: string | null;
520
89
  } | null;
521
- emailTemplate?: {
522
- subject?: string | null;
90
+ emailTemplate: {
91
+ subject: string | null;
523
92
  body: string;
524
93
  } | null;
525
94
  } | null;
526
95
  };
527
96
  export type AvailableActionFieldsFragment = {
528
97
  intent: ActionIntent;
529
- additionalInfo?: string | null;
98
+ additionalInfo: string | null;
530
99
  fulfilmentMethod: ActionFulfilmentMethod;
531
100
  origin: ActionOrigin;
532
- title?: string | null;
533
- description?: string | null;
101
+ title: string | null;
102
+ description: string | null;
534
103
  };
535
104
  export type AnalysisResultDataFieldsFragment = {
536
105
  attribution: Array<string>;
537
- privacyScore?: {
106
+ privacyScore: {
538
107
  score: number;
539
108
  breakdown: Array<{
540
109
  aspect: string;
@@ -548,7 +117,7 @@ export type AnalysisResultDataFieldsFragment = {
548
117
  privacySummary: {
549
118
  bulletPoints: Array<string>;
550
119
  sourceUrl: string;
551
- sourceLastUpdated?: string | null;
120
+ sourceLastUpdated: string | null;
552
121
  };
553
122
  categories: Array<{
554
123
  category: DataCategory;
@@ -558,12 +127,12 @@ export type AnalysisResultDataFieldsFragment = {
558
127
  monetized: SignalValue;
559
128
  retained: SignalValue;
560
129
  userCanOptOut: SignalValue;
561
- requiredForService?: SignalValue | null;
562
- requiredForLaw?: SignalValue | null;
563
- retention?: {
130
+ requiredForService: SignalValue | null;
131
+ requiredForLaw: SignalValue | null;
132
+ retention: {
564
133
  style: RetentionStyle;
565
- timeInDays?: number | null;
566
- additionalInfo?: string | null;
134
+ timeInDays: number | null;
135
+ additionalInfo: string | null;
567
136
  } | null;
568
137
  }>;
569
138
  capabilities: {
@@ -572,7 +141,7 @@ export type AnalysisResultDataFieldsFragment = {
572
141
  supportsDataDeletionRequests: SignalValue;
573
142
  supportsDataExport: SignalValue;
574
143
  supportsSubscriptions: SignalValue;
575
- sellsPersonalInformation: SignalValue;
144
+ supportsOptOutOfSale: SignalValue;
576
145
  usesCookiesOrTracking: SignalValue;
577
146
  supportsTwoFactorAuth: SignalValue;
578
147
  };
@@ -580,15 +149,15 @@ export type AnalysisResultDataFieldsFragment = {
580
149
  dataCollectionBreadth: number;
581
150
  collectsSensitiveDataForNonEssentialPurposes: SignalValue;
582
151
  sellsPersonalInformation: SignalValue;
583
- maxRetentionDays?: number | null;
152
+ maxRetentionDays: number | null;
584
153
  hasIndefiniteRetention: SignalValue;
585
154
  encryptionPractices: SignalValue;
586
155
  breachRisk: SignalValue;
587
156
  };
588
- organizationIdentity?: {
589
- brandName?: string | null;
590
- companyName?: string | null;
591
- primaryCategory?: OrganizationCategory | null;
157
+ organizationIdentity: {
158
+ brandName: string | null;
159
+ companyName: string | null;
160
+ primaryCategory: OrganizationCategory | null;
592
161
  categories: Array<OrganizationCategory>;
593
162
  } | null;
594
163
  };
@@ -597,14 +166,15 @@ export type AnalysisResultFieldsFragment = {
597
166
  virtualPresenceId: string;
598
167
  dataHolderIdentifier: string;
599
168
  status: AnalysisResultStatus;
169
+ statusReason: AnalysisResultStatusReason | null;
600
170
  lastAnalyzedAtEpochMs: number;
601
171
  owner: string;
602
172
  version: number;
603
173
  createdAtEpochMs: number;
604
174
  updatedAtEpochMs: number;
605
- data?: {
175
+ data: {
606
176
  attribution: Array<string>;
607
- privacyScore?: {
177
+ privacyScore: {
608
178
  score: number;
609
179
  breakdown: Array<{
610
180
  aspect: string;
@@ -618,7 +188,7 @@ export type AnalysisResultFieldsFragment = {
618
188
  privacySummary: {
619
189
  bulletPoints: Array<string>;
620
190
  sourceUrl: string;
621
- sourceLastUpdated?: string | null;
191
+ sourceLastUpdated: string | null;
622
192
  };
623
193
  categories: Array<{
624
194
  category: DataCategory;
@@ -628,12 +198,12 @@ export type AnalysisResultFieldsFragment = {
628
198
  monetized: SignalValue;
629
199
  retained: SignalValue;
630
200
  userCanOptOut: SignalValue;
631
- requiredForService?: SignalValue | null;
632
- requiredForLaw?: SignalValue | null;
633
- retention?: {
201
+ requiredForService: SignalValue | null;
202
+ requiredForLaw: SignalValue | null;
203
+ retention: {
634
204
  style: RetentionStyle;
635
- timeInDays?: number | null;
636
- additionalInfo?: string | null;
205
+ timeInDays: number | null;
206
+ additionalInfo: string | null;
637
207
  } | null;
638
208
  }>;
639
209
  capabilities: {
@@ -642,7 +212,7 @@ export type AnalysisResultFieldsFragment = {
642
212
  supportsDataDeletionRequests: SignalValue;
643
213
  supportsDataExport: SignalValue;
644
214
  supportsSubscriptions: SignalValue;
645
- sellsPersonalInformation: SignalValue;
215
+ supportsOptOutOfSale: SignalValue;
646
216
  usesCookiesOrTracking: SignalValue;
647
217
  supportsTwoFactorAuth: SignalValue;
648
218
  };
@@ -650,15 +220,15 @@ export type AnalysisResultFieldsFragment = {
650
220
  dataCollectionBreadth: number;
651
221
  collectsSensitiveDataForNonEssentialPurposes: SignalValue;
652
222
  sellsPersonalInformation: SignalValue;
653
- maxRetentionDays?: number | null;
223
+ maxRetentionDays: number | null;
654
224
  hasIndefiniteRetention: SignalValue;
655
225
  encryptionPractices: SignalValue;
656
226
  breachRisk: SignalValue;
657
227
  };
658
- organizationIdentity?: {
659
- brandName?: string | null;
660
- companyName?: string | null;
661
- primaryCategory?: OrganizationCategory | null;
228
+ organizationIdentity: {
229
+ brandName: string | null;
230
+ companyName: string | null;
231
+ primaryCategory: OrganizationCategory | null;
662
232
  categories: Array<OrganizationCategory>;
663
233
  } | null;
664
234
  } | null;
@@ -688,21 +258,22 @@ export type DataHolderScanSummaryFieldsFragment = {
688
258
  marketingEmailCount: number;
689
259
  marketingEmailOpened: number;
690
260
  marketingOpenRate: number;
691
- categoryBreakdown: any;
261
+ categoryBreakdown: unknown;
692
262
  uncategorizedCount: number;
693
263
  };
694
264
  export type OrganizationAnalysisFieldsFragment = {
695
265
  id: string;
696
266
  domain: string;
697
267
  status: AnalysisResultStatus;
268
+ statusReason: AnalysisResultStatusReason | null;
698
269
  lastAnalyzedAtEpochMs: number;
699
270
  owner: string;
700
271
  version: number;
701
272
  createdAtEpochMs: number;
702
273
  updatedAtEpochMs: number;
703
- data?: {
274
+ data: {
704
275
  attribution: Array<string>;
705
- privacyScore?: {
276
+ privacyScore: {
706
277
  score: number;
707
278
  breakdown: Array<{
708
279
  aspect: string;
@@ -716,7 +287,7 @@ export type OrganizationAnalysisFieldsFragment = {
716
287
  privacySummary: {
717
288
  bulletPoints: Array<string>;
718
289
  sourceUrl: string;
719
- sourceLastUpdated?: string | null;
290
+ sourceLastUpdated: string | null;
720
291
  };
721
292
  categories: Array<{
722
293
  category: DataCategory;
@@ -726,12 +297,12 @@ export type OrganizationAnalysisFieldsFragment = {
726
297
  monetized: SignalValue;
727
298
  retained: SignalValue;
728
299
  userCanOptOut: SignalValue;
729
- requiredForService?: SignalValue | null;
730
- requiredForLaw?: SignalValue | null;
731
- retention?: {
300
+ requiredForService: SignalValue | null;
301
+ requiredForLaw: SignalValue | null;
302
+ retention: {
732
303
  style: RetentionStyle;
733
- timeInDays?: number | null;
734
- additionalInfo?: string | null;
304
+ timeInDays: number | null;
305
+ additionalInfo: string | null;
735
306
  } | null;
736
307
  }>;
737
308
  capabilities: {
@@ -740,7 +311,7 @@ export type OrganizationAnalysisFieldsFragment = {
740
311
  supportsDataDeletionRequests: SignalValue;
741
312
  supportsDataExport: SignalValue;
742
313
  supportsSubscriptions: SignalValue;
743
- sellsPersonalInformation: SignalValue;
314
+ supportsOptOutOfSale: SignalValue;
744
315
  usesCookiesOrTracking: SignalValue;
745
316
  supportsTwoFactorAuth: SignalValue;
746
317
  };
@@ -748,15 +319,15 @@ export type OrganizationAnalysisFieldsFragment = {
748
319
  dataCollectionBreadth: number;
749
320
  collectsSensitiveDataForNonEssentialPurposes: SignalValue;
750
321
  sellsPersonalInformation: SignalValue;
751
- maxRetentionDays?: number | null;
322
+ maxRetentionDays: number | null;
752
323
  hasIndefiniteRetention: SignalValue;
753
324
  encryptionPractices: SignalValue;
754
325
  breachRisk: SignalValue;
755
326
  };
756
- organizationIdentity?: {
757
- brandName?: string | null;
758
- companyName?: string | null;
759
- primaryCategory?: OrganizationCategory | null;
327
+ organizationIdentity: {
328
+ brandName: string | null;
329
+ companyName: string | null;
330
+ primaryCategory: OrganizationCategory | null;
760
331
  categories: Array<OrganizationCategory>;
761
332
  } | null;
762
333
  } | null;
@@ -767,14 +338,21 @@ export type VirtualPresenceFieldsFragment = {
767
338
  identifier: string;
768
339
  state: VirtualPresenceState;
769
340
  lastScannedAtEpochMs: number;
770
- lastScanFailureReason?: string | null;
341
+ lastScanFailureReason: string | null;
771
342
  owner: string;
772
343
  version: number;
773
344
  createdAtEpochMs: number;
774
345
  updatedAtEpochMs: number;
346
+ dataHolderCount: {
347
+ count: number;
348
+ monitored: number;
349
+ initiatedActions: number;
350
+ completedActions: number;
351
+ archived: number;
352
+ };
775
353
  };
776
354
  export type ConnectVirtualPresenceMutationVariables = Exact<{
777
- input?: InputMaybe<ConnectVirtualPresenceInput>;
355
+ input?: ConnectVirtualPresenceInput | null | undefined;
778
356
  }>;
779
357
  export type ConnectVirtualPresenceMutation = {
780
358
  connectVirtualPresence: {
@@ -783,15 +361,22 @@ export type ConnectVirtualPresenceMutation = {
783
361
  identifier: string;
784
362
  state: VirtualPresenceState;
785
363
  lastScannedAtEpochMs: number;
786
- lastScanFailureReason?: string | null;
364
+ lastScanFailureReason: string | null;
787
365
  owner: string;
788
366
  version: number;
789
367
  createdAtEpochMs: number;
790
368
  updatedAtEpochMs: number;
369
+ dataHolderCount: {
370
+ count: number;
371
+ monitored: number;
372
+ initiatedActions: number;
373
+ completedActions: number;
374
+ archived: number;
375
+ };
791
376
  };
792
377
  };
793
378
  export type DisconnectVirtualPresenceMutationVariables = Exact<{
794
- id: Scalars['String']['input'];
379
+ id: string;
795
380
  }>;
796
381
  export type DisconnectVirtualPresenceMutation = {
797
382
  disconnectVirtualPresence: {
@@ -800,16 +385,23 @@ export type DisconnectVirtualPresenceMutation = {
800
385
  identifier: string;
801
386
  state: VirtualPresenceState;
802
387
  lastScannedAtEpochMs: number;
803
- lastScanFailureReason?: string | null;
388
+ lastScanFailureReason: string | null;
804
389
  owner: string;
805
390
  version: number;
806
391
  createdAtEpochMs: number;
807
392
  updatedAtEpochMs: number;
393
+ dataHolderCount: {
394
+ count: number;
395
+ monitored: number;
396
+ initiatedActions: number;
397
+ completedActions: number;
398
+ archived: number;
399
+ };
808
400
  };
809
401
  };
810
402
  export type RescanVirtualPresenceMutationVariables = Exact<{
811
- id: Scalars['String']['input'];
812
- options?: InputMaybe<ScanOptionsInput>;
403
+ id: string;
404
+ options?: ScanOptionsInput | null | undefined;
813
405
  }>;
814
406
  export type RescanVirtualPresenceMutation = {
815
407
  rescanVirtualPresence: {
@@ -818,11 +410,18 @@ export type RescanVirtualPresenceMutation = {
818
410
  identifier: string;
819
411
  state: VirtualPresenceState;
820
412
  lastScannedAtEpochMs: number;
821
- lastScanFailureReason?: string | null;
413
+ lastScanFailureReason: string | null;
822
414
  owner: string;
823
415
  version: number;
824
416
  createdAtEpochMs: number;
825
417
  updatedAtEpochMs: number;
418
+ dataHolderCount: {
419
+ count: number;
420
+ monitored: number;
421
+ initiatedActions: number;
422
+ completedActions: number;
423
+ archived: number;
424
+ };
826
425
  };
827
426
  };
828
427
  export type InitiateActionMutationVariables = Exact<{
@@ -832,71 +431,107 @@ export type InitiateActionMutation = {
832
431
  initiateAction: {
833
432
  id: string;
834
433
  virtualPresenceId: string;
835
- dataHolderId?: string | null;
434
+ dataHolderId: string | null;
836
435
  intent: ActionIntent;
837
- additionalInfo?: string | null;
436
+ additionalInfo: string | null;
838
437
  fulfilmentMethod: ActionFulfilmentMethod;
839
438
  status: ActionStatus;
840
- initiatedAtEpochMs?: number | null;
841
- completedAtEpochMs?: number | null;
439
+ initiatedAtEpochMs: number | null;
440
+ completedAtEpochMs: number | null;
842
441
  owner: string;
843
442
  version: number;
844
443
  createdAtEpochMs: number;
845
444
  updatedAtEpochMs: number;
846
- assistedPayload?: {
847
- toAddress?: string | null;
848
- unsubscribeUrl?: string | null;
849
- unsubscribeMailto?: string | null;
850
- jurisdiction?: string | null;
851
- instructions?: string | null;
852
- contact?: {
853
- email?: string | null;
854
- phone?: string | null;
855
- address?: string | null;
445
+ assistedPayload: {
446
+ toAddress: string | null;
447
+ unsubscribeUrl: string | null;
448
+ unsubscribeMailto: string | null;
449
+ jurisdiction: string | null;
450
+ instructions: string | null;
451
+ contact: {
452
+ email: string | null;
453
+ phone: string | null;
454
+ address: string | null;
856
455
  } | null;
857
- emailTemplate?: {
858
- subject?: string | null;
456
+ emailTemplate: {
457
+ subject: string | null;
859
458
  body: string;
860
459
  } | null;
861
460
  } | null;
862
461
  };
863
462
  };
864
463
  export type ConfirmActionOutcomeMutationVariables = Exact<{
865
- id: Scalars['ID']['input'];
464
+ id: string | number;
866
465
  }>;
867
466
  export type ConfirmActionOutcomeMutation = {
868
467
  confirmActionOutcome: {
869
468
  id: string;
870
469
  virtualPresenceId: string;
871
- dataHolderId?: string | null;
470
+ dataHolderId: string | null;
872
471
  intent: ActionIntent;
873
- additionalInfo?: string | null;
472
+ additionalInfo: string | null;
874
473
  fulfilmentMethod: ActionFulfilmentMethod;
875
474
  status: ActionStatus;
876
- initiatedAtEpochMs?: number | null;
877
- completedAtEpochMs?: number | null;
475
+ initiatedAtEpochMs: number | null;
476
+ completedAtEpochMs: number | null;
878
477
  owner: string;
879
478
  version: number;
880
479
  createdAtEpochMs: number;
881
480
  updatedAtEpochMs: number;
882
- assistedPayload?: {
883
- toAddress?: string | null;
884
- unsubscribeUrl?: string | null;
885
- unsubscribeMailto?: string | null;
886
- jurisdiction?: string | null;
887
- instructions?: string | null;
888
- contact?: {
889
- email?: string | null;
890
- phone?: string | null;
891
- address?: string | null;
481
+ assistedPayload: {
482
+ toAddress: string | null;
483
+ unsubscribeUrl: string | null;
484
+ unsubscribeMailto: string | null;
485
+ jurisdiction: string | null;
486
+ instructions: string | null;
487
+ contact: {
488
+ email: string | null;
489
+ phone: string | null;
490
+ address: string | null;
892
491
  } | null;
893
- emailTemplate?: {
894
- subject?: string | null;
492
+ emailTemplate: {
493
+ subject: string | null;
895
494
  body: string;
896
495
  } | null;
897
496
  } | null;
898
497
  };
899
498
  };
499
+ export type ArchiveDataHolderMutationVariables = Exact<{
500
+ id: string | number;
501
+ }>;
502
+ export type ArchiveDataHolderMutation = {
503
+ archiveDataHolder: {
504
+ id: string;
505
+ virtualPresenceId: string;
506
+ domainName: string;
507
+ name: string;
508
+ protectionState: DataHolderProtectionState;
509
+ complianceConcern: boolean;
510
+ mostRecentInteractionEpochMs: number;
511
+ owner: string;
512
+ version: number;
513
+ createdAtEpochMs: number;
514
+ updatedAtEpochMs: number;
515
+ };
516
+ };
517
+ export type UnarchiveDataHolderMutationVariables = Exact<{
518
+ id: string | number;
519
+ }>;
520
+ export type UnarchiveDataHolderMutation = {
521
+ unarchiveDataHolder: {
522
+ id: string;
523
+ virtualPresenceId: string;
524
+ domainName: string;
525
+ name: string;
526
+ protectionState: DataHolderProtectionState;
527
+ complianceConcern: boolean;
528
+ mostRecentInteractionEpochMs: number;
529
+ owner: string;
530
+ version: number;
531
+ createdAtEpochMs: number;
532
+ updatedAtEpochMs: number;
533
+ };
534
+ };
900
535
  export type GetProviderConfigurationQueryVariables = Exact<{
901
536
  [key: string]: never;
902
537
  }>;
@@ -906,30 +541,37 @@ export type GetProviderConfigurationQuery = {
906
541
  };
907
542
  };
908
543
  export type ListVirtualPresencesQueryVariables = Exact<{
909
- input?: InputMaybe<ListVirtualPresencesInput>;
544
+ input?: ListVirtualPresencesInput | null | undefined;
910
545
  }>;
911
546
  export type ListVirtualPresencesQuery = {
912
547
  listVirtualPresences: {
913
- nextToken?: string | null;
548
+ nextToken: string | null;
914
549
  items: Array<{
915
550
  id: string;
916
551
  providerType: ProviderType;
917
552
  identifier: string;
918
553
  state: VirtualPresenceState;
919
554
  lastScannedAtEpochMs: number;
920
- lastScanFailureReason?: string | null;
555
+ lastScanFailureReason: string | null;
921
556
  owner: string;
922
557
  version: number;
923
558
  createdAtEpochMs: number;
924
559
  updatedAtEpochMs: number;
560
+ dataHolderCount: {
561
+ count: number;
562
+ monitored: number;
563
+ initiatedActions: number;
564
+ completedActions: number;
565
+ archived: number;
566
+ };
925
567
  }>;
926
568
  };
927
569
  };
928
570
  export type GetDataHolderQueryVariables = Exact<{
929
- id: Scalars['ID']['input'];
571
+ id: string | number;
930
572
  }>;
931
573
  export type GetDataHolderQuery = {
932
- getDataHolder?: {
574
+ getDataHolder: {
933
575
  id: string;
934
576
  virtualPresenceId: string;
935
577
  domainName: string;
@@ -944,13 +586,13 @@ export type GetDataHolderQuery = {
944
586
  } | null;
945
587
  };
946
588
  export type ListDataHoldersQueryVariables = Exact<{
947
- virtualPresenceId: Scalars['ID']['input'];
948
- limit?: InputMaybe<Scalars['Int']['input']>;
949
- nextToken?: InputMaybe<Scalars['String']['input']>;
589
+ virtualPresenceId: string | number;
590
+ limit?: number | null | undefined;
591
+ nextToken?: string | null | undefined;
950
592
  }>;
951
593
  export type ListDataHoldersQuery = {
952
594
  listDataHolders: {
953
- nextToken?: string | null;
595
+ nextToken: string | null;
954
596
  items: Array<{
955
597
  id: string;
956
598
  virtualPresenceId: string;
@@ -967,22 +609,23 @@ export type ListDataHoldersQuery = {
967
609
  };
968
610
  };
969
611
  export type GetAnalysisResultQueryVariables = Exact<{
970
- id: Scalars['ID']['input'];
612
+ id: string | number;
971
613
  }>;
972
614
  export type GetAnalysisResultQuery = {
973
- getAnalysisResult?: {
615
+ getAnalysisResult: {
974
616
  id: string;
975
617
  virtualPresenceId: string;
976
618
  dataHolderIdentifier: string;
977
619
  status: AnalysisResultStatus;
620
+ statusReason: AnalysisResultStatusReason | null;
978
621
  lastAnalyzedAtEpochMs: number;
979
622
  owner: string;
980
623
  version: number;
981
624
  createdAtEpochMs: number;
982
625
  updatedAtEpochMs: number;
983
- data?: {
626
+ data: {
984
627
  attribution: Array<string>;
985
- privacyScore?: {
628
+ privacyScore: {
986
629
  score: number;
987
630
  breakdown: Array<{
988
631
  aspect: string;
@@ -996,7 +639,7 @@ export type GetAnalysisResultQuery = {
996
639
  privacySummary: {
997
640
  bulletPoints: Array<string>;
998
641
  sourceUrl: string;
999
- sourceLastUpdated?: string | null;
642
+ sourceLastUpdated: string | null;
1000
643
  };
1001
644
  categories: Array<{
1002
645
  category: DataCategory;
@@ -1006,12 +649,12 @@ export type GetAnalysisResultQuery = {
1006
649
  monetized: SignalValue;
1007
650
  retained: SignalValue;
1008
651
  userCanOptOut: SignalValue;
1009
- requiredForService?: SignalValue | null;
1010
- requiredForLaw?: SignalValue | null;
1011
- retention?: {
652
+ requiredForService: SignalValue | null;
653
+ requiredForLaw: SignalValue | null;
654
+ retention: {
1012
655
  style: RetentionStyle;
1013
- timeInDays?: number | null;
1014
- additionalInfo?: string | null;
656
+ timeInDays: number | null;
657
+ additionalInfo: string | null;
1015
658
  } | null;
1016
659
  }>;
1017
660
  capabilities: {
@@ -1020,7 +663,7 @@ export type GetAnalysisResultQuery = {
1020
663
  supportsDataDeletionRequests: SignalValue;
1021
664
  supportsDataExport: SignalValue;
1022
665
  supportsSubscriptions: SignalValue;
1023
- sellsPersonalInformation: SignalValue;
666
+ supportsOptOutOfSale: SignalValue;
1024
667
  usesCookiesOrTracking: SignalValue;
1025
668
  supportsTwoFactorAuth: SignalValue;
1026
669
  };
@@ -1028,37 +671,39 @@ export type GetAnalysisResultQuery = {
1028
671
  dataCollectionBreadth: number;
1029
672
  collectsSensitiveDataForNonEssentialPurposes: SignalValue;
1030
673
  sellsPersonalInformation: SignalValue;
1031
- maxRetentionDays?: number | null;
674
+ maxRetentionDays: number | null;
1032
675
  hasIndefiniteRetention: SignalValue;
1033
676
  encryptionPractices: SignalValue;
1034
677
  breachRisk: SignalValue;
1035
678
  };
1036
- organizationIdentity?: {
1037
- brandName?: string | null;
1038
- companyName?: string | null;
1039
- primaryCategory?: OrganizationCategory | null;
679
+ organizationIdentity: {
680
+ brandName: string | null;
681
+ companyName: string | null;
682
+ primaryCategory: OrganizationCategory | null;
1040
683
  categories: Array<OrganizationCategory>;
1041
684
  } | null;
1042
685
  } | null;
1043
686
  } | null;
1044
687
  };
1045
688
  export type GetOrganizationAnalysisQueryVariables = Exact<{
1046
- domain: Scalars['String']['input'];
1047
- mode?: InputMaybe<OrganizationAnalysisMode>;
689
+ domain: string;
690
+ name?: string | null | undefined;
691
+ options?: OrganizationAnalysisOptions | null | undefined;
1048
692
  }>;
1049
693
  export type GetOrganizationAnalysisQuery = {
1050
- getOrganizationAnalysis?: {
694
+ getOrganizationAnalysis: {
1051
695
  id: string;
1052
696
  domain: string;
1053
697
  status: AnalysisResultStatus;
698
+ statusReason: AnalysisResultStatusReason | null;
1054
699
  lastAnalyzedAtEpochMs: number;
1055
700
  owner: string;
1056
701
  version: number;
1057
702
  createdAtEpochMs: number;
1058
703
  updatedAtEpochMs: number;
1059
- data?: {
704
+ data: {
1060
705
  attribution: Array<string>;
1061
- privacyScore?: {
706
+ privacyScore: {
1062
707
  score: number;
1063
708
  breakdown: Array<{
1064
709
  aspect: string;
@@ -1072,7 +717,7 @@ export type GetOrganizationAnalysisQuery = {
1072
717
  privacySummary: {
1073
718
  bulletPoints: Array<string>;
1074
719
  sourceUrl: string;
1075
- sourceLastUpdated?: string | null;
720
+ sourceLastUpdated: string | null;
1076
721
  };
1077
722
  categories: Array<{
1078
723
  category: DataCategory;
@@ -1082,12 +727,12 @@ export type GetOrganizationAnalysisQuery = {
1082
727
  monetized: SignalValue;
1083
728
  retained: SignalValue;
1084
729
  userCanOptOut: SignalValue;
1085
- requiredForService?: SignalValue | null;
1086
- requiredForLaw?: SignalValue | null;
1087
- retention?: {
730
+ requiredForService: SignalValue | null;
731
+ requiredForLaw: SignalValue | null;
732
+ retention: {
1088
733
  style: RetentionStyle;
1089
- timeInDays?: number | null;
1090
- additionalInfo?: string | null;
734
+ timeInDays: number | null;
735
+ additionalInfo: string | null;
1091
736
  } | null;
1092
737
  }>;
1093
738
  capabilities: {
@@ -1096,7 +741,7 @@ export type GetOrganizationAnalysisQuery = {
1096
741
  supportsDataDeletionRequests: SignalValue;
1097
742
  supportsDataExport: SignalValue;
1098
743
  supportsSubscriptions: SignalValue;
1099
- sellsPersonalInformation: SignalValue;
744
+ supportsOptOutOfSale: SignalValue;
1100
745
  usesCookiesOrTracking: SignalValue;
1101
746
  supportsTwoFactorAuth: SignalValue;
1102
747
  };
@@ -1104,41 +749,42 @@ export type GetOrganizationAnalysisQuery = {
1104
749
  dataCollectionBreadth: number;
1105
750
  collectsSensitiveDataForNonEssentialPurposes: SignalValue;
1106
751
  sellsPersonalInformation: SignalValue;
1107
- maxRetentionDays?: number | null;
752
+ maxRetentionDays: number | null;
1108
753
  hasIndefiniteRetention: SignalValue;
1109
754
  encryptionPractices: SignalValue;
1110
755
  breachRisk: SignalValue;
1111
756
  };
1112
- organizationIdentity?: {
1113
- brandName?: string | null;
1114
- companyName?: string | null;
1115
- primaryCategory?: OrganizationCategory | null;
757
+ organizationIdentity: {
758
+ brandName: string | null;
759
+ companyName: string | null;
760
+ primaryCategory: OrganizationCategory | null;
1116
761
  categories: Array<OrganizationCategory>;
1117
762
  } | null;
1118
763
  } | null;
1119
764
  } | null;
1120
765
  };
1121
766
  export type ListAnalysisResultsQueryVariables = Exact<{
1122
- virtualPresenceId: Scalars['ID']['input'];
1123
- limit?: InputMaybe<Scalars['Int']['input']>;
1124
- nextToken?: InputMaybe<Scalars['String']['input']>;
767
+ virtualPresenceId: string | number;
768
+ limit?: number | null | undefined;
769
+ nextToken?: string | null | undefined;
1125
770
  }>;
1126
771
  export type ListAnalysisResultsQuery = {
1127
772
  listAnalysisResults: {
1128
- nextToken?: string | null;
773
+ nextToken: string | null;
1129
774
  items: Array<{
1130
775
  id: string;
1131
776
  virtualPresenceId: string;
1132
777
  dataHolderIdentifier: string;
1133
778
  status: AnalysisResultStatus;
779
+ statusReason: AnalysisResultStatusReason | null;
1134
780
  lastAnalyzedAtEpochMs: number;
1135
781
  owner: string;
1136
782
  version: number;
1137
783
  createdAtEpochMs: number;
1138
784
  updatedAtEpochMs: number;
1139
- data?: {
785
+ data: {
1140
786
  attribution: Array<string>;
1141
- privacyScore?: {
787
+ privacyScore: {
1142
788
  score: number;
1143
789
  breakdown: Array<{
1144
790
  aspect: string;
@@ -1152,7 +798,7 @@ export type ListAnalysisResultsQuery = {
1152
798
  privacySummary: {
1153
799
  bulletPoints: Array<string>;
1154
800
  sourceUrl: string;
1155
- sourceLastUpdated?: string | null;
801
+ sourceLastUpdated: string | null;
1156
802
  };
1157
803
  categories: Array<{
1158
804
  category: DataCategory;
@@ -1162,12 +808,12 @@ export type ListAnalysisResultsQuery = {
1162
808
  monetized: SignalValue;
1163
809
  retained: SignalValue;
1164
810
  userCanOptOut: SignalValue;
1165
- requiredForService?: SignalValue | null;
1166
- requiredForLaw?: SignalValue | null;
1167
- retention?: {
811
+ requiredForService: SignalValue | null;
812
+ requiredForLaw: SignalValue | null;
813
+ retention: {
1168
814
  style: RetentionStyle;
1169
- timeInDays?: number | null;
1170
- additionalInfo?: string | null;
815
+ timeInDays: number | null;
816
+ additionalInfo: string | null;
1171
817
  } | null;
1172
818
  }>;
1173
819
  capabilities: {
@@ -1176,7 +822,7 @@ export type ListAnalysisResultsQuery = {
1176
822
  supportsDataDeletionRequests: SignalValue;
1177
823
  supportsDataExport: SignalValue;
1178
824
  supportsSubscriptions: SignalValue;
1179
- sellsPersonalInformation: SignalValue;
825
+ supportsOptOutOfSale: SignalValue;
1180
826
  usesCookiesOrTracking: SignalValue;
1181
827
  supportsTwoFactorAuth: SignalValue;
1182
828
  };
@@ -1184,15 +830,15 @@ export type ListAnalysisResultsQuery = {
1184
830
  dataCollectionBreadth: number;
1185
831
  collectsSensitiveDataForNonEssentialPurposes: SignalValue;
1186
832
  sellsPersonalInformation: SignalValue;
1187
- maxRetentionDays?: number | null;
833
+ maxRetentionDays: number | null;
1188
834
  hasIndefiniteRetention: SignalValue;
1189
835
  encryptionPractices: SignalValue;
1190
836
  breachRisk: SignalValue;
1191
837
  };
1192
- organizationIdentity?: {
1193
- brandName?: string | null;
1194
- companyName?: string | null;
1195
- primaryCategory?: OrganizationCategory | null;
838
+ organizationIdentity: {
839
+ brandName: string | null;
840
+ companyName: string | null;
841
+ primaryCategory: OrganizationCategory | null;
1196
842
  categories: Array<OrganizationCategory>;
1197
843
  } | null;
1198
844
  } | null;
@@ -1200,13 +846,13 @@ export type ListAnalysisResultsQuery = {
1200
846
  };
1201
847
  };
1202
848
  export type ListDataHolderScanSummariesQueryVariables = Exact<{
1203
- dataHolderId: Scalars['ID']['input'];
1204
- limit?: InputMaybe<Scalars['Int']['input']>;
1205
- nextToken?: InputMaybe<Scalars['String']['input']>;
849
+ dataHolderId: string | number;
850
+ limit?: number | null | undefined;
851
+ nextToken?: string | null | undefined;
1206
852
  }>;
1207
853
  export type ListDataHolderScanSummariesQuery = {
1208
854
  listDataHolderScanSummaries: {
1209
- nextToken?: string | null;
855
+ nextToken: string | null;
1210
856
  items: Array<{
1211
857
  dataHolderId: string;
1212
858
  owner: string;
@@ -1219,49 +865,92 @@ export type ListDataHolderScanSummariesQuery = {
1219
865
  marketingEmailCount: number;
1220
866
  marketingEmailOpened: number;
1221
867
  marketingOpenRate: number;
1222
- categoryBreakdown: any;
868
+ categoryBreakdown: unknown;
1223
869
  uncategorizedCount: number;
1224
870
  }>;
1225
871
  };
1226
872
  };
1227
873
  export type ListAvailableActionsQueryVariables = Exact<{
1228
- dataHolderId: Scalars['ID']['input'];
874
+ dataHolderId: string | number;
1229
875
  }>;
1230
876
  export type ListAvailableActionsQuery = {
1231
877
  listAvailableActions: {
1232
- nextToken?: string | null;
878
+ nextToken: string | null;
1233
879
  items: Array<{
1234
880
  intent: ActionIntent;
1235
- additionalInfo?: string | null;
881
+ additionalInfo: string | null;
1236
882
  fulfilmentMethod: ActionFulfilmentMethod;
1237
883
  origin: ActionOrigin;
1238
- title?: string | null;
1239
- description?: string | null;
884
+ title: string | null;
885
+ description: string | null;
1240
886
  }>;
1241
887
  };
1242
888
  };
889
+ export type GetActionQueryVariables = Exact<{
890
+ id: string | number;
891
+ }>;
892
+ export type GetActionQuery = {
893
+ getAction: {
894
+ id: string;
895
+ virtualPresenceId: string;
896
+ dataHolderId: string | null;
897
+ intent: ActionIntent;
898
+ additionalInfo: string | null;
899
+ fulfilmentMethod: ActionFulfilmentMethod;
900
+ status: ActionStatus;
901
+ initiatedAtEpochMs: number | null;
902
+ completedAtEpochMs: number | null;
903
+ owner: string;
904
+ version: number;
905
+ createdAtEpochMs: number;
906
+ updatedAtEpochMs: number;
907
+ assistedPayload: {
908
+ toAddress: string | null;
909
+ unsubscribeUrl: string | null;
910
+ unsubscribeMailto: string | null;
911
+ jurisdiction: string | null;
912
+ instructions: string | null;
913
+ contact: {
914
+ email: string | null;
915
+ phone: string | null;
916
+ address: string | null;
917
+ } | null;
918
+ emailTemplate: {
919
+ subject: string | null;
920
+ body: string;
921
+ } | null;
922
+ } | null;
923
+ } | null;
924
+ };
1243
925
  export type OnVirtualPresenceUpdateSubscriptionVariables = Exact<{
1244
- owner: Scalars['ID']['input'];
926
+ owner: string | number;
1245
927
  }>;
1246
928
  export type OnVirtualPresenceUpdateSubscription = {
1247
- onVirtualPresenceUpdate?: {
929
+ onVirtualPresenceUpdate: {
1248
930
  id: string;
1249
931
  providerType: ProviderType;
1250
932
  identifier: string;
1251
933
  state: VirtualPresenceState;
1252
934
  lastScannedAtEpochMs: number;
1253
- lastScanFailureReason?: string | null;
935
+ lastScanFailureReason: string | null;
1254
936
  owner: string;
1255
937
  version: number;
1256
938
  createdAtEpochMs: number;
1257
939
  updatedAtEpochMs: number;
940
+ dataHolderCount: {
941
+ count: number;
942
+ monitored: number;
943
+ initiatedActions: number;
944
+ completedActions: number;
945
+ archived: number;
946
+ };
1258
947
  } | null;
1259
948
  };
1260
949
  export type OnDataHoldersUpdateSubscriptionVariables = Exact<{
1261
- owner: Scalars['ID']['input'];
950
+ owner: string | number;
1262
951
  }>;
1263
952
  export type OnDataHoldersUpdateSubscription = {
1264
- onDataHoldersUpdate?: {
953
+ onDataHoldersUpdate: {
1265
954
  owner: string;
1266
955
  items: Array<{
1267
956
  id: string;
@@ -1279,14 +968,15 @@ export type OnDataHoldersUpdateSubscription = {
1279
968
  } | null;
1280
969
  };
1281
970
  export type OnAnalysisResultUpdateSubscriptionVariables = Exact<{
1282
- owner: Scalars['ID']['input'];
971
+ owner: string | number;
1283
972
  }>;
1284
973
  export type OnAnalysisResultUpdateSubscription = {
1285
- onAnalysisResultUpdate?: {
974
+ onAnalysisResultUpdate: {
1286
975
  id: string;
1287
976
  virtualPresenceId: string;
1288
977
  dataHolderIdentifier: string;
1289
978
  status: AnalysisResultStatus;
979
+ statusReason: AnalysisResultStatusReason | null;
1290
980
  lastAnalyzedAtEpochMs: number;
1291
981
  owner: string;
1292
982
  version: number;
@@ -1295,19 +985,19 @@ export type OnAnalysisResultUpdateSubscription = {
1295
985
  } | null;
1296
986
  };
1297
987
  export type OnActionStatusUpdateSubscriptionVariables = Exact<{
1298
- owner: Scalars['ID']['input'];
988
+ owner: string | number;
1299
989
  }>;
1300
990
  export type OnActionStatusUpdateSubscription = {
1301
- onActionStatusUpdate?: {
991
+ onActionStatusUpdate: {
1302
992
  id: string;
1303
993
  virtualPresenceId: string;
1304
- dataHolderId?: string | null;
994
+ dataHolderId: string | null;
1305
995
  intent: ActionIntent;
1306
- additionalInfo?: string | null;
996
+ additionalInfo: string | null;
1307
997
  fulfilmentMethod: ActionFulfilmentMethod;
1308
998
  status: ActionStatus;
1309
- initiatedAtEpochMs?: number | null;
1310
- completedAtEpochMs?: number | null;
999
+ initiatedAtEpochMs: number | null;
1000
+ completedAtEpochMs: number | null;
1311
1001
  owner: string;
1312
1002
  version: number;
1313
1003
  createdAtEpochMs: number;
@@ -1327,6 +1017,8 @@ export declare const DisconnectVirtualPresenceDocument: DocumentNode<DisconnectV
1327
1017
  export declare const RescanVirtualPresenceDocument: DocumentNode<RescanVirtualPresenceMutation, RescanVirtualPresenceMutationVariables>;
1328
1018
  export declare const InitiateActionDocument: DocumentNode<InitiateActionMutation, InitiateActionMutationVariables>;
1329
1019
  export declare const ConfirmActionOutcomeDocument: DocumentNode<ConfirmActionOutcomeMutation, ConfirmActionOutcomeMutationVariables>;
1020
+ export declare const ArchiveDataHolderDocument: DocumentNode<ArchiveDataHolderMutation, ArchiveDataHolderMutationVariables>;
1021
+ export declare const UnarchiveDataHolderDocument: DocumentNode<UnarchiveDataHolderMutation, UnarchiveDataHolderMutationVariables>;
1330
1022
  export declare const GetProviderConfigurationDocument: DocumentNode<GetProviderConfigurationQuery, GetProviderConfigurationQueryVariables>;
1331
1023
  export declare const ListVirtualPresencesDocument: DocumentNode<ListVirtualPresencesQuery, ListVirtualPresencesQueryVariables>;
1332
1024
  export declare const GetDataHolderDocument: DocumentNode<GetDataHolderQuery, GetDataHolderQueryVariables>;
@@ -1336,6 +1028,7 @@ export declare const GetOrganizationAnalysisDocument: DocumentNode<GetOrganizati
1336
1028
  export declare const ListAnalysisResultsDocument: DocumentNode<ListAnalysisResultsQuery, ListAnalysisResultsQueryVariables>;
1337
1029
  export declare const ListDataHolderScanSummariesDocument: DocumentNode<ListDataHolderScanSummariesQuery, ListDataHolderScanSummariesQueryVariables>;
1338
1030
  export declare const ListAvailableActionsDocument: DocumentNode<ListAvailableActionsQuery, ListAvailableActionsQueryVariables>;
1031
+ export declare const GetActionDocument: DocumentNode<GetActionQuery, GetActionQueryVariables>;
1339
1032
  export declare const OnVirtualPresenceUpdateDocument: DocumentNode<OnVirtualPresenceUpdateSubscription, OnVirtualPresenceUpdateSubscriptionVariables>;
1340
1033
  export declare const OnDataHoldersUpdateDocument: DocumentNode<OnDataHoldersUpdateSubscription, OnDataHoldersUpdateSubscriptionVariables>;
1341
1034
  export declare const OnAnalysisResultUpdateDocument: DocumentNode<OnAnalysisResultUpdateSubscription, OnAnalysisResultUpdateSubscriptionVariables>;