@sudoplatform/sudo-privacy-interaction 2.0.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/gen/graphqlTypes.js +2291 -780
- package/cjs/private/data/action/actionSubscriptionManager.js +25 -0
- package/cjs/private/data/action/defaultActionService.js +80 -0
- package/cjs/private/data/action/transformer/actionFulfilmentMethodTransformer.js +47 -0
- package/cjs/private/data/action/transformer/actionIntentTransformer.js +69 -0
- package/cjs/private/data/action/transformer/actionOriginTransformer.js +37 -0
- package/cjs/private/data/action/transformer/actionStatusTransformer.js +53 -0
- package/cjs/private/data/action/transformer/actionTransformer.js +85 -0
- package/cjs/private/data/action/transformer/availableActionTransformer.js +37 -0
- package/cjs/private/data/analysis-result/transformer/privacyScoreTransformer.js +8 -0
- package/cjs/private/data/common/apiClient.js +58 -0
- package/cjs/private/data/data-holder/defaultDataHolderService.js +12 -0
- package/cjs/private/data/data-holder/transformer/dataHolderScanSummaryTransformer.js +56 -0
- package/cjs/private/data/organization-analysis/defaultOrganizationAnalysisService.js +31 -0
- package/cjs/private/data/organization-analysis/transformer/organizationAnalysisModeTransformer.js +29 -0
- package/cjs/private/data/organization-analysis/transformer/organizationAnalysisTransformer.js +45 -0
- package/cjs/private/data/virtual-presence/transformer/virtualPresenceTransformer.js +2 -0
- package/cjs/private/domain/entities/action/actionEntity.js +86 -0
- package/cjs/private/domain/entities/action/actionService.js +7 -0
- package/cjs/private/domain/entities/organization-analysis/organizationAnalysisEntity.js +24 -0
- package/cjs/private/domain/entities/organization-analysis/organizationAnalysisService.js +7 -0
- package/cjs/private/domain/use-cases/action/confirmActionOutcomeUseCase.js +25 -0
- package/cjs/private/domain/use-cases/action/initiateActionUseCase.js +26 -0
- package/cjs/private/domain/use-cases/action/listAvailableActionsUseCase.js +26 -0
- package/cjs/private/domain/use-cases/action/subscribeToActionUseCase.js +37 -0
- package/cjs/private/domain/use-cases/action/unsubscribeFromActionUseCase.js +27 -0
- package/cjs/private/domain/use-cases/data-holder/listDataHolderScanSummariesUseCase.js +29 -0
- package/cjs/private/domain/use-cases/organization-analysis/getOrganizationAnalysisUseCase.js +25 -0
- package/cjs/public/defaultSudoPrivacyInteractionClient.js +133 -6
- package/cjs/public/inputs/action.js +7 -0
- package/cjs/public/inputs/index.js +2 -0
- package/cjs/public/inputs/organizationAnalysis.js +7 -0
- package/cjs/public/typings/action.js +85 -0
- package/cjs/public/typings/index.js +2 -0
- package/cjs/public/typings/organizationAnalysis.js +24 -0
- package/docs/assets/hierarchy.js +1 -1
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/DefaultSudoPrivacyInteractionClient.html +176 -21
- package/docs/enums/ActionFulfilmentMethod.html +63 -0
- package/docs/enums/ActionIntent.html +84 -0
- package/docs/enums/ActionOrigin.html +75 -0
- package/docs/enums/ActionStatus.html +99 -0
- package/docs/enums/ConnectionState.html +3 -3
- package/docs/enums/DataCategory.html +18 -18
- package/docs/enums/DataHolderProtectionState.html +5 -5
- package/docs/enums/OrganizationAnalysisMode.html +70 -0
- package/docs/enums/OrganizationCategory.html +30 -30
- package/docs/enums/ProviderType.html +3 -3
- package/docs/enums/RetentionStyle.html +5 -5
- package/docs/enums/ShareStyle.html +6 -6
- package/docs/enums/SignalValue.html +4 -4
- package/docs/enums/VirtualPresenceState.html +7 -7
- package/docs/hierarchy.html +6 -5
- package/docs/interfaces/Action.html +167 -0
- package/docs/interfaces/ActionContact.html +77 -0
- package/docs/interfaces/ActionSubscriber.html +92 -0
- package/docs/interfaces/AnalysisResultSubscriber.html +3 -3
- package/docs/interfaces/AssistedEmailTemplate.html +70 -0
- package/docs/interfaces/AssistedPayload.html +113 -0
- package/docs/interfaces/AvailableAction.html +102 -0
- package/docs/interfaces/CapabilitySignals.html +9 -9
- package/docs/interfaces/CategorySignals.html +11 -11
- package/docs/interfaces/DataHolder.html +24 -14
- package/docs/interfaces/DataHolderScanSummary.html +158 -0
- package/docs/interfaces/DataHolderSubscriber.html +3 -3
- package/docs/interfaces/GetDataHolderOptions.html +63 -0
- package/docs/interfaces/GetOrganizationAnalysisInput.html +70 -0
- package/docs/interfaces/InitiateActionInput.html +79 -0
- package/docs/interfaces/ListAnalysisResultsInput.html +1 -1
- package/docs/interfaces/ListAvailableActionsInput.html +61 -0
- package/docs/interfaces/ListDataHolderScanSummariesInput.html +85 -0
- package/docs/interfaces/ListDataHoldersInput.html +1 -1
- package/docs/interfaces/ListVirtualPresencesInput.html +1 -1
- package/docs/interfaces/OrganizationAnalysis.html +131 -0
- package/docs/interfaces/OrganizationIdentity.html +5 -5
- package/docs/interfaces/Pagination.html +2 -1
- package/docs/interfaces/PrivacyScore.html +13 -5
- package/docs/interfaces/PrivacySummary.html +4 -4
- package/docs/interfaces/RetentionInfo.html +4 -4
- package/docs/interfaces/RiskIndicators.html +8 -8
- package/docs/interfaces/ScoreContribution.html +3 -3
- package/docs/interfaces/ScoreCoverage.html +70 -0
- package/docs/interfaces/SudoPrivacyInteractionClient.html +169 -21
- package/docs/interfaces/VirtualPresence.html +21 -12
- package/docs/interfaces/VirtualPresenceSubscriber.html +3 -3
- package/docs/modules.html +4 -4
- package/docs/types/SudoPrivacyInteractionClientOptions.html +2 -2
- package/lib/gen/graphqlTypes.js +2290 -779
- package/lib/private/data/action/actionSubscriptionManager.js +21 -0
- package/lib/private/data/action/defaultActionService.js +76 -0
- package/lib/private/data/action/transformer/actionFulfilmentMethodTransformer.js +43 -0
- package/lib/private/data/action/transformer/actionIntentTransformer.js +65 -0
- package/lib/private/data/action/transformer/actionOriginTransformer.js +33 -0
- package/lib/private/data/action/transformer/actionStatusTransformer.js +49 -0
- package/lib/private/data/action/transformer/actionTransformer.js +81 -0
- package/lib/private/data/action/transformer/availableActionTransformer.js +33 -0
- package/lib/private/data/analysis-result/transformer/privacyScoreTransformer.js +8 -0
- package/lib/private/data/common/apiClient.js +59 -1
- package/lib/private/data/data-holder/defaultDataHolderService.js +12 -0
- package/lib/private/data/data-holder/transformer/dataHolderScanSummaryTransformer.js +52 -0
- package/lib/private/data/organization-analysis/defaultOrganizationAnalysisService.js +27 -0
- package/lib/private/data/organization-analysis/transformer/organizationAnalysisModeTransformer.js +25 -0
- package/lib/private/data/organization-analysis/transformer/organizationAnalysisTransformer.js +41 -0
- package/lib/private/data/virtual-presence/transformer/virtualPresenceTransformer.js +2 -0
- package/lib/private/domain/entities/action/actionEntity.js +83 -0
- package/lib/private/domain/entities/action/actionService.js +6 -0
- package/lib/private/domain/entities/organization-analysis/organizationAnalysisEntity.js +21 -0
- package/lib/private/domain/entities/organization-analysis/organizationAnalysisService.js +6 -0
- package/lib/private/domain/use-cases/action/confirmActionOutcomeUseCase.js +21 -0
- package/lib/private/domain/use-cases/action/initiateActionUseCase.js +22 -0
- package/lib/private/domain/use-cases/action/listAvailableActionsUseCase.js +22 -0
- package/lib/private/domain/use-cases/action/subscribeToActionUseCase.js +33 -0
- package/lib/private/domain/use-cases/action/unsubscribeFromActionUseCase.js +23 -0
- package/lib/private/domain/use-cases/data-holder/listDataHolderScanSummariesUseCase.js +25 -0
- package/lib/private/domain/use-cases/organization-analysis/getOrganizationAnalysisUseCase.js +21 -0
- package/lib/public/defaultSudoPrivacyInteractionClient.js +133 -6
- package/lib/public/inputs/action.js +6 -0
- package/lib/public/inputs/index.js +2 -0
- package/lib/public/inputs/organizationAnalysis.js +6 -0
- package/lib/public/typings/action.js +82 -0
- package/lib/public/typings/index.js +2 -0
- package/lib/public/typings/organizationAnalysis.js +21 -0
- package/package.json +5 -3
- package/types/gen/graphqlTypes.d.ts +569 -1
- package/types/private/data/action/actionSubscriptionManager.d.ts +19 -0
- package/types/private/data/action/defaultActionService.d.ts +23 -0
- package/types/private/data/action/transformer/actionFulfilmentMethodTransformer.d.ts +14 -0
- package/types/private/data/action/transformer/actionIntentTransformer.d.ts +14 -0
- package/types/private/data/action/transformer/actionOriginTransformer.d.ts +12 -0
- package/types/private/data/action/transformer/actionStatusTransformer.d.ts +12 -0
- package/types/private/data/action/transformer/actionTransformer.d.ts +39 -0
- package/types/private/data/action/transformer/availableActionTransformer.d.ts +15 -0
- package/types/private/data/common/apiClient.d.ts +16 -1
- package/types/private/data/common/baseSubscriptionManager.d.ts +5 -0
- package/types/private/data/data-holder/defaultDataHolderService.d.ts +3 -1
- package/types/private/data/data-holder/transformer/dataHolderScanSummaryTransformer.d.ts +18 -0
- package/types/private/data/organization-analysis/defaultOrganizationAnalysisService.d.ts +15 -0
- package/types/private/data/organization-analysis/transformer/organizationAnalysisModeTransformer.d.ts +12 -0
- package/types/private/data/organization-analysis/transformer/organizationAnalysisTransformer.d.ts +14 -0
- package/types/private/domain/entities/action/actionEntity.d.ts +187 -0
- package/types/private/domain/entities/action/actionService.d.ts +99 -0
- package/types/private/domain/entities/analysis-result/analysisResultEntity.d.ts +14 -0
- package/types/private/domain/entities/data-holder/dataHolderEntity.d.ts +34 -0
- package/types/private/domain/entities/data-holder/dataHolderService.d.ts +35 -1
- package/types/private/domain/entities/organization-analysis/organizationAnalysisEntity.d.ts +53 -0
- package/types/private/domain/entities/organization-analysis/organizationAnalysisService.d.ts +35 -0
- package/types/private/domain/entities/virtual-presence/virtualPresenceEntity.d.ts +3 -0
- package/types/private/domain/use-cases/action/confirmActionOutcomeUseCase.d.ts +16 -0
- package/types/private/domain/use-cases/action/initiateActionUseCase.d.ts +17 -0
- package/types/private/domain/use-cases/action/listAvailableActionsUseCase.d.ts +16 -0
- package/types/private/domain/use-cases/action/subscribeToActionUseCase.d.ts +27 -0
- package/types/private/domain/use-cases/action/unsubscribeFromActionUseCase.d.ts +15 -0
- package/types/private/domain/use-cases/data-holder/listDataHolderScanSummariesUseCase.d.ts +36 -0
- package/types/private/domain/use-cases/organization-analysis/getOrganizationAnalysisUseCase.d.ts +16 -0
- package/types/public/defaultSudoPrivacyInteractionClient.d.ts +19 -3
- package/types/public/inputs/action.d.ts +30 -0
- package/types/public/inputs/dataHolder.d.ts +22 -0
- package/types/public/inputs/index.d.ts +2 -0
- package/types/public/inputs/organizationAnalysis.d.ts +18 -0
- package/types/public/sudoPrivacyInteractionClient.d.ts +64 -3
- package/types/public/typings/action.d.ts +185 -0
- package/types/public/typings/analysisResult.d.ts +14 -0
- package/types/public/typings/dataHolder.d.ts +38 -0
- package/types/public/typings/index.d.ts +2 -0
- package/types/public/typings/organizationAnalysis.d.ts +53 -0
- package/types/public/typings/subscription.d.ts +23 -0
- package/types/public/typings/virtualPresence.d.ts +3 -0
|
@@ -79,6 +79,31 @@ export type Scalars = {
|
|
|
79
79
|
output: any;
|
|
80
80
|
};
|
|
81
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
|
+
};
|
|
103
|
+
export type ActionFulfilmentMethod = 'ASSISTED' | 'DELEGATED' | '%future added value';
|
|
104
|
+
export type ActionIntent = 'ACCESS_MY_DATA' | 'DELETE_MY_DATA' | 'LIMIT_DATA_USE' | 'OTHER' | 'STOP_CONTACT' | '%future added value';
|
|
105
|
+
export type ActionOrigin = 'ANALYSIS' | 'DISCOVERY' | 'STATIC' | '%future added value';
|
|
106
|
+
export type ActionStatus = 'COMPLETED_UNVERIFIED' | 'COMPLETED_VERIFIED' | 'CONTRADICTED' | 'FAILED' | 'IN_PROGRESS' | 'PENDING' | 'REQUIRES_USER_INPUT' | '%future added value';
|
|
82
107
|
export type AnalysisResult = {
|
|
83
108
|
createdAtEpochMs: Scalars['Float']['output'];
|
|
84
109
|
data?: Maybe<AnalysisResultData>;
|
|
@@ -116,10 +141,35 @@ export type AnalysisResultUpdate = {
|
|
|
116
141
|
version: Scalars['Int']['output'];
|
|
117
142
|
virtualPresenceId: Scalars['ID']['output'];
|
|
118
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
|
+
};
|
|
119
157
|
export type AuthCodeInput = {
|
|
120
158
|
authCode: Scalars['String']['input'];
|
|
121
159
|
redirectUri?: InputMaybe<Scalars['String']['input']>;
|
|
122
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
|
+
};
|
|
123
173
|
export type CapabilitySignals = {
|
|
124
174
|
sellsPersonalInformation: SignalValue;
|
|
125
175
|
supportsAccountCreation: SignalValue;
|
|
@@ -161,11 +211,31 @@ export type DataHolder = {
|
|
|
161
211
|
version: Scalars['Int']['output'];
|
|
162
212
|
virtualPresenceId: Scalars['ID']['output'];
|
|
163
213
|
};
|
|
214
|
+
export type DataHolderChangeType = 'METADATA_UPDATE' | 'NEW' | 'SIGNIFICANT_UPDATE' | '%future added value';
|
|
164
215
|
export type DataHolderConnection = {
|
|
165
216
|
items: Array<DataHolder>;
|
|
166
217
|
nextToken?: Maybe<Scalars['String']['output']>;
|
|
167
218
|
};
|
|
168
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
|
+
};
|
|
169
239
|
export type DataHolderUpdateItem = {
|
|
170
240
|
complianceConcern: Scalars['Boolean']['output'];
|
|
171
241
|
createdAtEpochMs: Scalars['Float']['output'];
|
|
@@ -187,32 +257,66 @@ export type DataHoldersUpdate = {
|
|
|
187
257
|
items: Array<DataHolderUpdateItem>;
|
|
188
258
|
owner: Scalars['ID']['output'];
|
|
189
259
|
};
|
|
260
|
+
export type InitiateActionInput = {
|
|
261
|
+
dataHolderId: Scalars['ID']['input'];
|
|
262
|
+
fulfilmentMethod: ActionFulfilmentMethod;
|
|
263
|
+
intent: ActionIntent;
|
|
264
|
+
};
|
|
190
265
|
export type ListVirtualPresencesInput = {
|
|
191
266
|
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
192
267
|
nextToken?: InputMaybe<Scalars['String']['input']>;
|
|
193
268
|
};
|
|
194
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;
|
|
195
275
|
/** Connect a virtual presence. */
|
|
196
276
|
connectVirtualPresence: VirtualPresence;
|
|
197
277
|
/** Disconnect a virtual presence. */
|
|
198
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;
|
|
199
285
|
/**
|
|
200
286
|
* Rescan an existing virtual presence for new data holders.
|
|
201
287
|
* Scans from the last scan date forward.
|
|
202
288
|
*/
|
|
203
289
|
rescanVirtualPresence: VirtualPresence;
|
|
204
290
|
};
|
|
291
|
+
export type MutationConfirmActionOutcomeArgs = {
|
|
292
|
+
id: Scalars['ID']['input'];
|
|
293
|
+
};
|
|
205
294
|
export type MutationConnectVirtualPresenceArgs = {
|
|
206
295
|
input?: InputMaybe<ConnectVirtualPresenceInput>;
|
|
207
296
|
};
|
|
208
297
|
export type MutationDisconnectVirtualPresenceArgs = {
|
|
209
298
|
id: Scalars['String']['input'];
|
|
210
299
|
};
|
|
300
|
+
export type MutationInitiateActionArgs = {
|
|
301
|
+
input: InitiateActionInput;
|
|
302
|
+
};
|
|
211
303
|
export type MutationRescanVirtualPresenceArgs = {
|
|
212
304
|
id: Scalars['String']['input'];
|
|
213
305
|
options?: InputMaybe<ScanOptionsInput>;
|
|
214
306
|
};
|
|
215
|
-
export type
|
|
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'];
|
|
317
|
+
};
|
|
318
|
+
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';
|
|
216
320
|
export type OrganizationIdentity = {
|
|
217
321
|
brandName?: Maybe<Scalars['String']['output']>;
|
|
218
322
|
categories: Array<OrganizationCategory>;
|
|
@@ -221,6 +325,7 @@ export type OrganizationIdentity = {
|
|
|
221
325
|
};
|
|
222
326
|
export type PrivacyScore = {
|
|
223
327
|
breakdown: Array<ScoreContribution>;
|
|
328
|
+
coverage: ScoreCoverage;
|
|
224
329
|
score: Scalars['Float']['output'];
|
|
225
330
|
};
|
|
226
331
|
export type PrivacySummary = {
|
|
@@ -237,6 +342,13 @@ export type Query = {
|
|
|
237
342
|
getAnalysisResult?: Maybe<AnalysisResult>;
|
|
238
343
|
/** Get a single data holder by ID */
|
|
239
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>;
|
|
240
352
|
/**
|
|
241
353
|
* Get the opaque provider configuration required by consumers to support
|
|
242
354
|
* the provider OAuth flow.
|
|
@@ -244,6 +356,14 @@ export type Query = {
|
|
|
244
356
|
getProviderConfiguration: ProviderConfiguration;
|
|
245
357
|
/** List analysis results for a virtual presence. */
|
|
246
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;
|
|
247
367
|
/** List data holders by virtual presence */
|
|
248
368
|
listDataHolders: DataHolderConnection;
|
|
249
369
|
/** List virtual presences for the authenticated user */
|
|
@@ -255,11 +375,23 @@ export type QueryGetAnalysisResultArgs = {
|
|
|
255
375
|
export type QueryGetDataHolderArgs = {
|
|
256
376
|
id: Scalars['ID']['input'];
|
|
257
377
|
};
|
|
378
|
+
export type QueryGetOrganizationAnalysisArgs = {
|
|
379
|
+
domain: Scalars['String']['input'];
|
|
380
|
+
mode?: InputMaybe<OrganizationAnalysisMode>;
|
|
381
|
+
};
|
|
258
382
|
export type QueryListAnalysisResultsArgs = {
|
|
259
383
|
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
260
384
|
nextToken?: InputMaybe<Scalars['String']['input']>;
|
|
261
385
|
virtualPresenceId: Scalars['ID']['input'];
|
|
262
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
|
+
};
|
|
263
395
|
export type QueryListDataHoldersArgs = {
|
|
264
396
|
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
265
397
|
nextToken?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -301,9 +433,19 @@ export type ScoreContribution = {
|
|
|
301
433
|
aspect: Scalars['String']['output'];
|
|
302
434
|
contribution: Scalars['Float']['output'];
|
|
303
435
|
};
|
|
436
|
+
export type ScoreCoverage = {
|
|
437
|
+
evaluated: Scalars['Int']['output'];
|
|
438
|
+
total: Scalars['Int']['output'];
|
|
439
|
+
};
|
|
304
440
|
export type ShareStyle = 'INFERENCE_SHARED' | 'NONE' | 'SHARED' | 'SHARED_WITH_CONSENT' | '%future added value';
|
|
305
441
|
export type SignalValue = 'NO' | 'UNKNOWN' | 'YES' | '%future added value';
|
|
306
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>;
|
|
307
449
|
/**
|
|
308
450
|
* Subscribe to analysis result updates for the authenticated user.
|
|
309
451
|
* Emitted each time an analysis result is created or updated.
|
|
@@ -321,6 +463,9 @@ export type Subscription = {
|
|
|
321
463
|
*/
|
|
322
464
|
onVirtualPresenceUpdate?: Maybe<VirtualPresence>;
|
|
323
465
|
};
|
|
466
|
+
export type SubscriptionOnActionStatusUpdateArgs = {
|
|
467
|
+
owner: Scalars['ID']['input'];
|
|
468
|
+
};
|
|
324
469
|
export type SubscriptionOnAnalysisResultUpdateArgs = {
|
|
325
470
|
owner: Scalars['ID']['input'];
|
|
326
471
|
};
|
|
@@ -334,6 +479,7 @@ export type VirtualPresence = {
|
|
|
334
479
|
createdAtEpochMs: Scalars['Float']['output'];
|
|
335
480
|
id: Scalars['ID']['output'];
|
|
336
481
|
identifier: Scalars['String']['output'];
|
|
482
|
+
lastScanFailureReason?: Maybe<Scalars['String']['output']>;
|
|
337
483
|
lastScannedAtEpochMs: Scalars['Float']['output'];
|
|
338
484
|
owner: Scalars['ID']['output'];
|
|
339
485
|
providerType: ProviderType;
|
|
@@ -347,6 +493,105 @@ export type VirtualPresenceConnection = {
|
|
|
347
493
|
nextToken?: Maybe<Scalars['String']['output']>;
|
|
348
494
|
};
|
|
349
495
|
export type VirtualPresenceState = 'CONNECTED' | 'ERROR' | 'INACTIVE' | 'NEEDS_REAUTH' | 'SCANNING' | '%future added value';
|
|
496
|
+
export type ActionFieldsFragment = {
|
|
497
|
+
id: string;
|
|
498
|
+
virtualPresenceId: string;
|
|
499
|
+
dataHolderId?: string | null;
|
|
500
|
+
intent: ActionIntent;
|
|
501
|
+
additionalInfo?: string | null;
|
|
502
|
+
fulfilmentMethod: ActionFulfilmentMethod;
|
|
503
|
+
status: ActionStatus;
|
|
504
|
+
initiatedAtEpochMs?: number | null;
|
|
505
|
+
completedAtEpochMs?: number | null;
|
|
506
|
+
owner: string;
|
|
507
|
+
version: number;
|
|
508
|
+
createdAtEpochMs: number;
|
|
509
|
+
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;
|
|
520
|
+
} | null;
|
|
521
|
+
emailTemplate?: {
|
|
522
|
+
subject?: string | null;
|
|
523
|
+
body: string;
|
|
524
|
+
} | null;
|
|
525
|
+
} | null;
|
|
526
|
+
};
|
|
527
|
+
export type AvailableActionFieldsFragment = {
|
|
528
|
+
intent: ActionIntent;
|
|
529
|
+
additionalInfo?: string | null;
|
|
530
|
+
fulfilmentMethod: ActionFulfilmentMethod;
|
|
531
|
+
origin: ActionOrigin;
|
|
532
|
+
title?: string | null;
|
|
533
|
+
description?: string | null;
|
|
534
|
+
};
|
|
535
|
+
export type AnalysisResultDataFieldsFragment = {
|
|
536
|
+
attribution: Array<string>;
|
|
537
|
+
privacyScore?: {
|
|
538
|
+
score: number;
|
|
539
|
+
breakdown: Array<{
|
|
540
|
+
aspect: string;
|
|
541
|
+
contribution: number;
|
|
542
|
+
}>;
|
|
543
|
+
coverage: {
|
|
544
|
+
evaluated: number;
|
|
545
|
+
total: number;
|
|
546
|
+
};
|
|
547
|
+
} | null;
|
|
548
|
+
privacySummary: {
|
|
549
|
+
bulletPoints: Array<string>;
|
|
550
|
+
sourceUrl: string;
|
|
551
|
+
sourceLastUpdated?: string | null;
|
|
552
|
+
};
|
|
553
|
+
categories: Array<{
|
|
554
|
+
category: DataCategory;
|
|
555
|
+
collected: SignalValue;
|
|
556
|
+
dataLabels: Array<string>;
|
|
557
|
+
sharedWithThirdParties: ShareStyle;
|
|
558
|
+
monetized: SignalValue;
|
|
559
|
+
retained: SignalValue;
|
|
560
|
+
userCanOptOut: SignalValue;
|
|
561
|
+
requiredForService?: SignalValue | null;
|
|
562
|
+
requiredForLaw?: SignalValue | null;
|
|
563
|
+
retention?: {
|
|
564
|
+
style: RetentionStyle;
|
|
565
|
+
timeInDays?: number | null;
|
|
566
|
+
additionalInfo?: string | null;
|
|
567
|
+
} | null;
|
|
568
|
+
}>;
|
|
569
|
+
capabilities: {
|
|
570
|
+
supportsAccountCreation: SignalValue;
|
|
571
|
+
supportsAccountDeletion: SignalValue;
|
|
572
|
+
supportsDataDeletionRequests: SignalValue;
|
|
573
|
+
supportsDataExport: SignalValue;
|
|
574
|
+
supportsSubscriptions: SignalValue;
|
|
575
|
+
sellsPersonalInformation: SignalValue;
|
|
576
|
+
usesCookiesOrTracking: SignalValue;
|
|
577
|
+
supportsTwoFactorAuth: SignalValue;
|
|
578
|
+
};
|
|
579
|
+
riskIndicators: {
|
|
580
|
+
dataCollectionBreadth: number;
|
|
581
|
+
collectsSensitiveDataForNonEssentialPurposes: SignalValue;
|
|
582
|
+
sellsPersonalInformation: SignalValue;
|
|
583
|
+
maxRetentionDays?: number | null;
|
|
584
|
+
hasIndefiniteRetention: SignalValue;
|
|
585
|
+
encryptionPractices: SignalValue;
|
|
586
|
+
breachRisk: SignalValue;
|
|
587
|
+
};
|
|
588
|
+
organizationIdentity?: {
|
|
589
|
+
brandName?: string | null;
|
|
590
|
+
companyName?: string | null;
|
|
591
|
+
primaryCategory?: OrganizationCategory | null;
|
|
592
|
+
categories: Array<OrganizationCategory>;
|
|
593
|
+
} | null;
|
|
594
|
+
};
|
|
350
595
|
export type AnalysisResultFieldsFragment = {
|
|
351
596
|
id: string;
|
|
352
597
|
virtualPresenceId: string;
|
|
@@ -365,6 +610,10 @@ export type AnalysisResultFieldsFragment = {
|
|
|
365
610
|
aspect: string;
|
|
366
611
|
contribution: number;
|
|
367
612
|
}>;
|
|
613
|
+
coverage: {
|
|
614
|
+
evaluated: number;
|
|
615
|
+
total: number;
|
|
616
|
+
};
|
|
368
617
|
} | null;
|
|
369
618
|
privacySummary: {
|
|
370
619
|
bulletPoints: Array<string>;
|
|
@@ -427,12 +676,98 @@ export type DataHolderFieldsFragment = {
|
|
|
427
676
|
createdAtEpochMs: number;
|
|
428
677
|
updatedAtEpochMs: number;
|
|
429
678
|
};
|
|
679
|
+
export type DataHolderScanSummaryFieldsFragment = {
|
|
680
|
+
dataHolderId: string;
|
|
681
|
+
owner: string;
|
|
682
|
+
scannedAtEpochMs: number;
|
|
683
|
+
scanRangeFromEpochMs: number;
|
|
684
|
+
scanRangeToEpochMs: number;
|
|
685
|
+
emailCount: number;
|
|
686
|
+
readCount: number;
|
|
687
|
+
readRate: number;
|
|
688
|
+
marketingEmailCount: number;
|
|
689
|
+
marketingEmailOpened: number;
|
|
690
|
+
marketingOpenRate: number;
|
|
691
|
+
categoryBreakdown: any;
|
|
692
|
+
uncategorizedCount: number;
|
|
693
|
+
};
|
|
694
|
+
export type OrganizationAnalysisFieldsFragment = {
|
|
695
|
+
id: string;
|
|
696
|
+
domain: string;
|
|
697
|
+
status: AnalysisResultStatus;
|
|
698
|
+
lastAnalyzedAtEpochMs: number;
|
|
699
|
+
owner: string;
|
|
700
|
+
version: number;
|
|
701
|
+
createdAtEpochMs: number;
|
|
702
|
+
updatedAtEpochMs: number;
|
|
703
|
+
data?: {
|
|
704
|
+
attribution: Array<string>;
|
|
705
|
+
privacyScore?: {
|
|
706
|
+
score: number;
|
|
707
|
+
breakdown: Array<{
|
|
708
|
+
aspect: string;
|
|
709
|
+
contribution: number;
|
|
710
|
+
}>;
|
|
711
|
+
coverage: {
|
|
712
|
+
evaluated: number;
|
|
713
|
+
total: number;
|
|
714
|
+
};
|
|
715
|
+
} | null;
|
|
716
|
+
privacySummary: {
|
|
717
|
+
bulletPoints: Array<string>;
|
|
718
|
+
sourceUrl: string;
|
|
719
|
+
sourceLastUpdated?: string | null;
|
|
720
|
+
};
|
|
721
|
+
categories: Array<{
|
|
722
|
+
category: DataCategory;
|
|
723
|
+
collected: SignalValue;
|
|
724
|
+
dataLabels: Array<string>;
|
|
725
|
+
sharedWithThirdParties: ShareStyle;
|
|
726
|
+
monetized: SignalValue;
|
|
727
|
+
retained: SignalValue;
|
|
728
|
+
userCanOptOut: SignalValue;
|
|
729
|
+
requiredForService?: SignalValue | null;
|
|
730
|
+
requiredForLaw?: SignalValue | null;
|
|
731
|
+
retention?: {
|
|
732
|
+
style: RetentionStyle;
|
|
733
|
+
timeInDays?: number | null;
|
|
734
|
+
additionalInfo?: string | null;
|
|
735
|
+
} | null;
|
|
736
|
+
}>;
|
|
737
|
+
capabilities: {
|
|
738
|
+
supportsAccountCreation: SignalValue;
|
|
739
|
+
supportsAccountDeletion: SignalValue;
|
|
740
|
+
supportsDataDeletionRequests: SignalValue;
|
|
741
|
+
supportsDataExport: SignalValue;
|
|
742
|
+
supportsSubscriptions: SignalValue;
|
|
743
|
+
sellsPersonalInformation: SignalValue;
|
|
744
|
+
usesCookiesOrTracking: SignalValue;
|
|
745
|
+
supportsTwoFactorAuth: SignalValue;
|
|
746
|
+
};
|
|
747
|
+
riskIndicators: {
|
|
748
|
+
dataCollectionBreadth: number;
|
|
749
|
+
collectsSensitiveDataForNonEssentialPurposes: SignalValue;
|
|
750
|
+
sellsPersonalInformation: SignalValue;
|
|
751
|
+
maxRetentionDays?: number | null;
|
|
752
|
+
hasIndefiniteRetention: SignalValue;
|
|
753
|
+
encryptionPractices: SignalValue;
|
|
754
|
+
breachRisk: SignalValue;
|
|
755
|
+
};
|
|
756
|
+
organizationIdentity?: {
|
|
757
|
+
brandName?: string | null;
|
|
758
|
+
companyName?: string | null;
|
|
759
|
+
primaryCategory?: OrganizationCategory | null;
|
|
760
|
+
categories: Array<OrganizationCategory>;
|
|
761
|
+
} | null;
|
|
762
|
+
} | null;
|
|
763
|
+
};
|
|
430
764
|
export type VirtualPresenceFieldsFragment = {
|
|
431
765
|
id: string;
|
|
432
766
|
providerType: ProviderType;
|
|
433
767
|
identifier: string;
|
|
434
768
|
state: VirtualPresenceState;
|
|
435
769
|
lastScannedAtEpochMs: number;
|
|
770
|
+
lastScanFailureReason?: string | null;
|
|
436
771
|
owner: string;
|
|
437
772
|
version: number;
|
|
438
773
|
createdAtEpochMs: number;
|
|
@@ -448,6 +783,7 @@ export type ConnectVirtualPresenceMutation = {
|
|
|
448
783
|
identifier: string;
|
|
449
784
|
state: VirtualPresenceState;
|
|
450
785
|
lastScannedAtEpochMs: number;
|
|
786
|
+
lastScanFailureReason?: string | null;
|
|
451
787
|
owner: string;
|
|
452
788
|
version: number;
|
|
453
789
|
createdAtEpochMs: number;
|
|
@@ -464,6 +800,7 @@ export type DisconnectVirtualPresenceMutation = {
|
|
|
464
800
|
identifier: string;
|
|
465
801
|
state: VirtualPresenceState;
|
|
466
802
|
lastScannedAtEpochMs: number;
|
|
803
|
+
lastScanFailureReason?: string | null;
|
|
467
804
|
owner: string;
|
|
468
805
|
version: number;
|
|
469
806
|
createdAtEpochMs: number;
|
|
@@ -481,10 +818,83 @@ export type RescanVirtualPresenceMutation = {
|
|
|
481
818
|
identifier: string;
|
|
482
819
|
state: VirtualPresenceState;
|
|
483
820
|
lastScannedAtEpochMs: number;
|
|
821
|
+
lastScanFailureReason?: string | null;
|
|
822
|
+
owner: string;
|
|
823
|
+
version: number;
|
|
824
|
+
createdAtEpochMs: number;
|
|
825
|
+
updatedAtEpochMs: number;
|
|
826
|
+
};
|
|
827
|
+
};
|
|
828
|
+
export type InitiateActionMutationVariables = Exact<{
|
|
829
|
+
input: InitiateActionInput;
|
|
830
|
+
}>;
|
|
831
|
+
export type InitiateActionMutation = {
|
|
832
|
+
initiateAction: {
|
|
833
|
+
id: string;
|
|
834
|
+
virtualPresenceId: string;
|
|
835
|
+
dataHolderId?: string | null;
|
|
836
|
+
intent: ActionIntent;
|
|
837
|
+
additionalInfo?: string | null;
|
|
838
|
+
fulfilmentMethod: ActionFulfilmentMethod;
|
|
839
|
+
status: ActionStatus;
|
|
840
|
+
initiatedAtEpochMs?: number | null;
|
|
841
|
+
completedAtEpochMs?: number | null;
|
|
842
|
+
owner: string;
|
|
843
|
+
version: number;
|
|
844
|
+
createdAtEpochMs: number;
|
|
845
|
+
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;
|
|
856
|
+
} | null;
|
|
857
|
+
emailTemplate?: {
|
|
858
|
+
subject?: string | null;
|
|
859
|
+
body: string;
|
|
860
|
+
} | null;
|
|
861
|
+
} | null;
|
|
862
|
+
};
|
|
863
|
+
};
|
|
864
|
+
export type ConfirmActionOutcomeMutationVariables = Exact<{
|
|
865
|
+
id: Scalars['ID']['input'];
|
|
866
|
+
}>;
|
|
867
|
+
export type ConfirmActionOutcomeMutation = {
|
|
868
|
+
confirmActionOutcome: {
|
|
869
|
+
id: string;
|
|
870
|
+
virtualPresenceId: string;
|
|
871
|
+
dataHolderId?: string | null;
|
|
872
|
+
intent: ActionIntent;
|
|
873
|
+
additionalInfo?: string | null;
|
|
874
|
+
fulfilmentMethod: ActionFulfilmentMethod;
|
|
875
|
+
status: ActionStatus;
|
|
876
|
+
initiatedAtEpochMs?: number | null;
|
|
877
|
+
completedAtEpochMs?: number | null;
|
|
484
878
|
owner: string;
|
|
485
879
|
version: number;
|
|
486
880
|
createdAtEpochMs: number;
|
|
487
881
|
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;
|
|
892
|
+
} | null;
|
|
893
|
+
emailTemplate?: {
|
|
894
|
+
subject?: string | null;
|
|
895
|
+
body: string;
|
|
896
|
+
} | null;
|
|
897
|
+
} | null;
|
|
488
898
|
};
|
|
489
899
|
};
|
|
490
900
|
export type GetProviderConfigurationQueryVariables = Exact<{
|
|
@@ -507,6 +917,7 @@ export type ListVirtualPresencesQuery = {
|
|
|
507
917
|
identifier: string;
|
|
508
918
|
state: VirtualPresenceState;
|
|
509
919
|
lastScannedAtEpochMs: number;
|
|
920
|
+
lastScanFailureReason?: string | null;
|
|
510
921
|
owner: string;
|
|
511
922
|
version: number;
|
|
512
923
|
createdAtEpochMs: number;
|
|
@@ -577,6 +988,86 @@ export type GetAnalysisResultQuery = {
|
|
|
577
988
|
aspect: string;
|
|
578
989
|
contribution: number;
|
|
579
990
|
}>;
|
|
991
|
+
coverage: {
|
|
992
|
+
evaluated: number;
|
|
993
|
+
total: number;
|
|
994
|
+
};
|
|
995
|
+
} | null;
|
|
996
|
+
privacySummary: {
|
|
997
|
+
bulletPoints: Array<string>;
|
|
998
|
+
sourceUrl: string;
|
|
999
|
+
sourceLastUpdated?: string | null;
|
|
1000
|
+
};
|
|
1001
|
+
categories: Array<{
|
|
1002
|
+
category: DataCategory;
|
|
1003
|
+
collected: SignalValue;
|
|
1004
|
+
dataLabels: Array<string>;
|
|
1005
|
+
sharedWithThirdParties: ShareStyle;
|
|
1006
|
+
monetized: SignalValue;
|
|
1007
|
+
retained: SignalValue;
|
|
1008
|
+
userCanOptOut: SignalValue;
|
|
1009
|
+
requiredForService?: SignalValue | null;
|
|
1010
|
+
requiredForLaw?: SignalValue | null;
|
|
1011
|
+
retention?: {
|
|
1012
|
+
style: RetentionStyle;
|
|
1013
|
+
timeInDays?: number | null;
|
|
1014
|
+
additionalInfo?: string | null;
|
|
1015
|
+
} | null;
|
|
1016
|
+
}>;
|
|
1017
|
+
capabilities: {
|
|
1018
|
+
supportsAccountCreation: SignalValue;
|
|
1019
|
+
supportsAccountDeletion: SignalValue;
|
|
1020
|
+
supportsDataDeletionRequests: SignalValue;
|
|
1021
|
+
supportsDataExport: SignalValue;
|
|
1022
|
+
supportsSubscriptions: SignalValue;
|
|
1023
|
+
sellsPersonalInformation: SignalValue;
|
|
1024
|
+
usesCookiesOrTracking: SignalValue;
|
|
1025
|
+
supportsTwoFactorAuth: SignalValue;
|
|
1026
|
+
};
|
|
1027
|
+
riskIndicators: {
|
|
1028
|
+
dataCollectionBreadth: number;
|
|
1029
|
+
collectsSensitiveDataForNonEssentialPurposes: SignalValue;
|
|
1030
|
+
sellsPersonalInformation: SignalValue;
|
|
1031
|
+
maxRetentionDays?: number | null;
|
|
1032
|
+
hasIndefiniteRetention: SignalValue;
|
|
1033
|
+
encryptionPractices: SignalValue;
|
|
1034
|
+
breachRisk: SignalValue;
|
|
1035
|
+
};
|
|
1036
|
+
organizationIdentity?: {
|
|
1037
|
+
brandName?: string | null;
|
|
1038
|
+
companyName?: string | null;
|
|
1039
|
+
primaryCategory?: OrganizationCategory | null;
|
|
1040
|
+
categories: Array<OrganizationCategory>;
|
|
1041
|
+
} | null;
|
|
1042
|
+
} | null;
|
|
1043
|
+
} | null;
|
|
1044
|
+
};
|
|
1045
|
+
export type GetOrganizationAnalysisQueryVariables = Exact<{
|
|
1046
|
+
domain: Scalars['String']['input'];
|
|
1047
|
+
mode?: InputMaybe<OrganizationAnalysisMode>;
|
|
1048
|
+
}>;
|
|
1049
|
+
export type GetOrganizationAnalysisQuery = {
|
|
1050
|
+
getOrganizationAnalysis?: {
|
|
1051
|
+
id: string;
|
|
1052
|
+
domain: string;
|
|
1053
|
+
status: AnalysisResultStatus;
|
|
1054
|
+
lastAnalyzedAtEpochMs: number;
|
|
1055
|
+
owner: string;
|
|
1056
|
+
version: number;
|
|
1057
|
+
createdAtEpochMs: number;
|
|
1058
|
+
updatedAtEpochMs: number;
|
|
1059
|
+
data?: {
|
|
1060
|
+
attribution: Array<string>;
|
|
1061
|
+
privacyScore?: {
|
|
1062
|
+
score: number;
|
|
1063
|
+
breakdown: Array<{
|
|
1064
|
+
aspect: string;
|
|
1065
|
+
contribution: number;
|
|
1066
|
+
}>;
|
|
1067
|
+
coverage: {
|
|
1068
|
+
evaluated: number;
|
|
1069
|
+
total: number;
|
|
1070
|
+
};
|
|
580
1071
|
} | null;
|
|
581
1072
|
privacySummary: {
|
|
582
1073
|
bulletPoints: Array<string>;
|
|
@@ -653,6 +1144,10 @@ export type ListAnalysisResultsQuery = {
|
|
|
653
1144
|
aspect: string;
|
|
654
1145
|
contribution: number;
|
|
655
1146
|
}>;
|
|
1147
|
+
coverage: {
|
|
1148
|
+
evaluated: number;
|
|
1149
|
+
total: number;
|
|
1150
|
+
};
|
|
656
1151
|
} | null;
|
|
657
1152
|
privacySummary: {
|
|
658
1153
|
bulletPoints: Array<string>;
|
|
@@ -704,6 +1199,47 @@ export type ListAnalysisResultsQuery = {
|
|
|
704
1199
|
}>;
|
|
705
1200
|
};
|
|
706
1201
|
};
|
|
1202
|
+
export type ListDataHolderScanSummariesQueryVariables = Exact<{
|
|
1203
|
+
dataHolderId: Scalars['ID']['input'];
|
|
1204
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
1205
|
+
nextToken?: InputMaybe<Scalars['String']['input']>;
|
|
1206
|
+
}>;
|
|
1207
|
+
export type ListDataHolderScanSummariesQuery = {
|
|
1208
|
+
listDataHolderScanSummaries: {
|
|
1209
|
+
nextToken?: string | null;
|
|
1210
|
+
items: Array<{
|
|
1211
|
+
dataHolderId: string;
|
|
1212
|
+
owner: string;
|
|
1213
|
+
scannedAtEpochMs: number;
|
|
1214
|
+
scanRangeFromEpochMs: number;
|
|
1215
|
+
scanRangeToEpochMs: number;
|
|
1216
|
+
emailCount: number;
|
|
1217
|
+
readCount: number;
|
|
1218
|
+
readRate: number;
|
|
1219
|
+
marketingEmailCount: number;
|
|
1220
|
+
marketingEmailOpened: number;
|
|
1221
|
+
marketingOpenRate: number;
|
|
1222
|
+
categoryBreakdown: any;
|
|
1223
|
+
uncategorizedCount: number;
|
|
1224
|
+
}>;
|
|
1225
|
+
};
|
|
1226
|
+
};
|
|
1227
|
+
export type ListAvailableActionsQueryVariables = Exact<{
|
|
1228
|
+
dataHolderId: Scalars['ID']['input'];
|
|
1229
|
+
}>;
|
|
1230
|
+
export type ListAvailableActionsQuery = {
|
|
1231
|
+
listAvailableActions: {
|
|
1232
|
+
nextToken?: string | null;
|
|
1233
|
+
items: Array<{
|
|
1234
|
+
intent: ActionIntent;
|
|
1235
|
+
additionalInfo?: string | null;
|
|
1236
|
+
fulfilmentMethod: ActionFulfilmentMethod;
|
|
1237
|
+
origin: ActionOrigin;
|
|
1238
|
+
title?: string | null;
|
|
1239
|
+
description?: string | null;
|
|
1240
|
+
}>;
|
|
1241
|
+
};
|
|
1242
|
+
};
|
|
707
1243
|
export type OnVirtualPresenceUpdateSubscriptionVariables = Exact<{
|
|
708
1244
|
owner: Scalars['ID']['input'];
|
|
709
1245
|
}>;
|
|
@@ -714,6 +1250,7 @@ export type OnVirtualPresenceUpdateSubscription = {
|
|
|
714
1250
|
identifier: string;
|
|
715
1251
|
state: VirtualPresenceState;
|
|
716
1252
|
lastScannedAtEpochMs: number;
|
|
1253
|
+
lastScanFailureReason?: string | null;
|
|
717
1254
|
owner: string;
|
|
718
1255
|
version: number;
|
|
719
1256
|
createdAtEpochMs: number;
|
|
@@ -757,18 +1294,49 @@ export type OnAnalysisResultUpdateSubscription = {
|
|
|
757
1294
|
updatedAtEpochMs: number;
|
|
758
1295
|
} | null;
|
|
759
1296
|
};
|
|
1297
|
+
export type OnActionStatusUpdateSubscriptionVariables = Exact<{
|
|
1298
|
+
owner: Scalars['ID']['input'];
|
|
1299
|
+
}>;
|
|
1300
|
+
export type OnActionStatusUpdateSubscription = {
|
|
1301
|
+
onActionStatusUpdate?: {
|
|
1302
|
+
id: string;
|
|
1303
|
+
virtualPresenceId: string;
|
|
1304
|
+
dataHolderId?: string | null;
|
|
1305
|
+
intent: ActionIntent;
|
|
1306
|
+
additionalInfo?: string | null;
|
|
1307
|
+
fulfilmentMethod: ActionFulfilmentMethod;
|
|
1308
|
+
status: ActionStatus;
|
|
1309
|
+
initiatedAtEpochMs?: number | null;
|
|
1310
|
+
completedAtEpochMs?: number | null;
|
|
1311
|
+
owner: string;
|
|
1312
|
+
version: number;
|
|
1313
|
+
createdAtEpochMs: number;
|
|
1314
|
+
updatedAtEpochMs: number;
|
|
1315
|
+
} | null;
|
|
1316
|
+
};
|
|
1317
|
+
export declare const ActionFieldsFragmentDoc: DocumentNode<ActionFieldsFragment, unknown>;
|
|
1318
|
+
export declare const AvailableActionFieldsFragmentDoc: DocumentNode<AvailableActionFieldsFragment, unknown>;
|
|
1319
|
+
export declare const AnalysisResultDataFieldsFragmentDoc: DocumentNode<AnalysisResultDataFieldsFragment, unknown>;
|
|
760
1320
|
export declare const AnalysisResultFieldsFragmentDoc: DocumentNode<AnalysisResultFieldsFragment, unknown>;
|
|
761
1321
|
export declare const DataHolderFieldsFragmentDoc: DocumentNode<DataHolderFieldsFragment, unknown>;
|
|
1322
|
+
export declare const DataHolderScanSummaryFieldsFragmentDoc: DocumentNode<DataHolderScanSummaryFieldsFragment, unknown>;
|
|
1323
|
+
export declare const OrganizationAnalysisFieldsFragmentDoc: DocumentNode<OrganizationAnalysisFieldsFragment, unknown>;
|
|
762
1324
|
export declare const VirtualPresenceFieldsFragmentDoc: DocumentNode<VirtualPresenceFieldsFragment, unknown>;
|
|
763
1325
|
export declare const ConnectVirtualPresenceDocument: DocumentNode<ConnectVirtualPresenceMutation, ConnectVirtualPresenceMutationVariables>;
|
|
764
1326
|
export declare const DisconnectVirtualPresenceDocument: DocumentNode<DisconnectVirtualPresenceMutation, DisconnectVirtualPresenceMutationVariables>;
|
|
765
1327
|
export declare const RescanVirtualPresenceDocument: DocumentNode<RescanVirtualPresenceMutation, RescanVirtualPresenceMutationVariables>;
|
|
1328
|
+
export declare const InitiateActionDocument: DocumentNode<InitiateActionMutation, InitiateActionMutationVariables>;
|
|
1329
|
+
export declare const ConfirmActionOutcomeDocument: DocumentNode<ConfirmActionOutcomeMutation, ConfirmActionOutcomeMutationVariables>;
|
|
766
1330
|
export declare const GetProviderConfigurationDocument: DocumentNode<GetProviderConfigurationQuery, GetProviderConfigurationQueryVariables>;
|
|
767
1331
|
export declare const ListVirtualPresencesDocument: DocumentNode<ListVirtualPresencesQuery, ListVirtualPresencesQueryVariables>;
|
|
768
1332
|
export declare const GetDataHolderDocument: DocumentNode<GetDataHolderQuery, GetDataHolderQueryVariables>;
|
|
769
1333
|
export declare const ListDataHoldersDocument: DocumentNode<ListDataHoldersQuery, ListDataHoldersQueryVariables>;
|
|
770
1334
|
export declare const GetAnalysisResultDocument: DocumentNode<GetAnalysisResultQuery, GetAnalysisResultQueryVariables>;
|
|
1335
|
+
export declare const GetOrganizationAnalysisDocument: DocumentNode<GetOrganizationAnalysisQuery, GetOrganizationAnalysisQueryVariables>;
|
|
771
1336
|
export declare const ListAnalysisResultsDocument: DocumentNode<ListAnalysisResultsQuery, ListAnalysisResultsQueryVariables>;
|
|
1337
|
+
export declare const ListDataHolderScanSummariesDocument: DocumentNode<ListDataHolderScanSummariesQuery, ListDataHolderScanSummariesQueryVariables>;
|
|
1338
|
+
export declare const ListAvailableActionsDocument: DocumentNode<ListAvailableActionsQuery, ListAvailableActionsQueryVariables>;
|
|
772
1339
|
export declare const OnVirtualPresenceUpdateDocument: DocumentNode<OnVirtualPresenceUpdateSubscription, OnVirtualPresenceUpdateSubscriptionVariables>;
|
|
773
1340
|
export declare const OnDataHoldersUpdateDocument: DocumentNode<OnDataHoldersUpdateSubscription, OnDataHoldersUpdateSubscriptionVariables>;
|
|
774
1341
|
export declare const OnAnalysisResultUpdateDocument: DocumentNode<OnAnalysisResultUpdateSubscription, OnAnalysisResultUpdateSubscriptionVariables>;
|
|
1342
|
+
export declare const OnActionStatusUpdateDocument: DocumentNode<OnActionStatusUpdateSubscription, OnActionStatusUpdateSubscriptionVariables>;
|