@transcend-io/sdk 0.1.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,11 +1,52 @@
1
1
  import { Logger } from "@transcend-io/utils";
2
2
  import { GraphQLClient, RequestDocument, Variables } from "graphql-request";
3
3
  import { Got } from "got";
4
- import { ActionItemCode, ActionItemPriorityOverride, AssessmentFormStatus, AssessmentQuestionSubType, AssessmentQuestionType, AssessmentSyncColumn, AssessmentSyncModel, AttributeKeyType, AttributeSupportedResourceType, BrowserTimeZone, ChatCompletionRole, CodePackageType, ConsentBundleType, ConsentPrecedenceOption, ConsentTrackerSource, ConsentTrackerStatus, Controllership, DataCategoryType, DataFlowScope, DataProtectionImpactAssessmentStatus, DefaultConsentOption, IdentifierType, IsoCountryCode, IsoCountrySubdivisionCode, LargeLanguageModelClient, LogicOperator, PreferenceQueryResponseItem, PreferenceStoreAuthLevel, PreferenceStoreIdentifier, PreferenceStorePurposeResponse, PreferenceTopicType, PrivacyCenterThemePartial, ProcessingPurpose, PromptFilePurpose, PromptResponseFormat, PromptRunProductArea, PromptStatus, QueueStatus, RegionDetectionMethod, RegionsOperator, RequestAction, RetentionScheduleOperation, RetentionScheduleType, RetentionType, ScopeName, SignedIabAgreementOption, SombraStandardScope, TelemetryPartitionStrategy, TranscendProduct, UnknownRequestPolicy } from "@transcend-io/privacy-types";
4
+ import { DocumentNode } from "graphql";
5
+ import { ActionItemCode, ActionItemPriorityOverride, AssessmentFormStatus, AssessmentQuestionSubType, AssessmentQuestionType, AssessmentSyncColumn, AssessmentSyncModel, AttributeKeyType, AttributeSupportedResourceType, BrowserTimeZone, ChatCompletionRole, CodePackageType, ConfidenceLabel, ConsentBundleType, ConsentPrecedenceOption, ConsentTrackerSource, ConsentTrackerStatus, Controllership, DataCategoryType, DataFlowScope, DataProtectionImpactAssessmentStatus, DefaultConsentOption, EnricherType, IdentifierType, IsoCountryCode, IsoCountrySubdivisionCode, LargeLanguageModelClient, LogicOperator, OrderDirection, PreferenceQueryResponseItem, PreferenceStoreAuthLevel, PreferenceStoreIdentifier, PreferenceStorePurposeResponse, PreferenceTopicType, PreflightRequestStatus, PrivacyCenterThemePartial, ProcessingPurpose, PromptAVendorEmailCompletionLinkType, PromptAVendorEmailSendType, PromptFilePurpose, PromptResponseFormat, PromptRunProductArea, PromptStatus, QueueStatus, RegionDetectionMethod, RegionsOperator, RequestAction, RequestActionObjectResolver, RequestDataSiloStatus, RequestEnricherStatus, RequestStatus, RetentionScheduleOperation, RetentionScheduleType, RetentionType, ScopeName, SignedIabAgreementOption, SombraStandardScope, SubDataPointDataSubCategoryGuessStatus, TelemetryPartitionStrategy, TranscendProduct, UnknownRequestPolicy } from "@transcend-io/privacy-types";
5
6
  import * as t from "io-ts";
6
7
  import { BrowserLanguage, InitialViewState, OnConsentExpiry, UserPrivacySignalEnum } from "@transcend-io/airgap.js-types";
7
8
  import { LocaleValue } from "@transcend-io/internationalization";
8
9
 
10
+ //#region src/gqls/shared.d.ts
11
+ /**
12
+ * Shared GQL field selection constants and types used across
13
+ * multiple SDK domains (consent, data-inventory, etc.).
14
+ */
15
+ /** Owner fields shared across queries */
16
+ declare const OWNER_FIELDS = "\n id\n name\n email\n";
17
+ /** Team fields shared across queries */
18
+ declare const TEAM_FIELDS = "\n id\n name\n";
19
+ /** Attribute value fields (with nested key) shared across queries */
20
+ declare const ATTRIBUTE_VALUE_FIELDS = "\n id\n name\n attributeKey {\n id\n name\n }\n";
21
+ /** Owner assigned to an entity */
22
+ interface TranscendOwnerGql {
23
+ /** Owner ID */
24
+ id: string;
25
+ /** Owner display name */
26
+ name: string;
27
+ /** Owner email */
28
+ email: string;
29
+ }
30
+ /** Team assigned to an entity */
31
+ interface TranscendTeamGql {
32
+ /** Team ID */
33
+ id: string;
34
+ /** Team name */
35
+ name: string;
36
+ }
37
+ /** Attribute value on an entity */
38
+ interface TranscendAttributeValueGql {
39
+ /** Attribute value ID */
40
+ id: string;
41
+ /** Attribute value name */
42
+ name: string;
43
+ /** Attribute key */
44
+ attributeKey: {
45
+ /** Attribute key ID */id: string; /** Attribute key name */
46
+ name: string;
47
+ };
48
+ }
49
+ //#endregion
9
50
  //#region src/api/buildTranscendGraphQLClient.d.ts
10
51
  /**
11
52
  * Create a GraphQL client
@@ -27,6 +68,8 @@ declare function buildTranscendGraphQLClientGeneric(transcendUrl: string, header
27
68
  declare function buildTranscendGraphQLClient(transcendUrl: string, auth: string, version?: string): GraphQLClient;
28
69
  //#endregion
29
70
  //#region src/api/makeGraphQLRequest.d.ts
71
+ /** Logger that silently discards all messages */
72
+ declare const NOOP_LOGGER: Logger;
30
73
  /**
31
74
  * Make a GraphQL request with retries
32
75
  *
@@ -37,7 +80,7 @@ declare function buildTranscendGraphQLClient(transcendUrl: string, auth: string,
37
80
  */
38
81
  declare function makeGraphQLRequest<T, V extends Variables = Variables>(client: GraphQLClient, document: RequestDocument, options: {
39
82
  /** GraphQL variables */variables?: V; /** Logger for retry/error messages */
40
- logger: Logger; /** Additional request headers */
83
+ logger?: Logger; /** Additional request headers */
41
84
  requestHeaders?: Record<string, string> | string[][] | Headers; /** Max number of retry attempts (default 4) */
42
85
  maxRetries?: number;
43
86
  }): Promise<T>;
@@ -52,8 +95,8 @@ declare function makeGraphQLRequest<T, V extends Variables = Variables>(client:
52
95
  * @param options - Additional options
53
96
  * @returns The instance of got that is capable of making requests to the customer ingress
54
97
  */
55
- declare function createSombraGotInstance(transcendUrl: string, transcendApiKey: string, options: {
56
- /** Logger instance */logger: Logger; /** Sombra API key */
98
+ declare function createSombraGotInstance(transcendUrl: string, transcendApiKey: string, options?: {
99
+ /** Logger instance */logger?: Logger; /** Sombra API key */
57
100
  sombraApiKey?: string; /** Override Sombra URL (replaces process.env.SOMBRA_URL lookup) */
58
101
  sombraUrl?: string;
59
102
  }): Promise<Got>;
@@ -90,8 +133,8 @@ interface BusinessEntity {
90
133
  * @param client - GraphQL client
91
134
  * @returns All businessEntities in the organization
92
135
  */
93
- declare function fetchAllBusinessEntities(client: GraphQLClient, options: {
94
- /** Logger instance */logger: Logger;
136
+ declare function fetchAllBusinessEntities(client: GraphQLClient, options?: {
137
+ /** Logger instance */logger?: Logger;
95
138
  }): Promise<BusinessEntity[]>;
96
139
  //#endregion
97
140
  //#region src/data-inventory/fetchAllDataCategories.d.ts
@@ -129,10 +172,198 @@ interface DataSubCategory {
129
172
  * @param options - Options
130
173
  * @returns All dataSubCategories in the organization
131
174
  */
132
- declare function fetchAllDataCategories(client: GraphQLClient, options: {
133
- /** Logger instance */logger: Logger;
175
+ declare function fetchAllDataCategories(client: GraphQLClient, options?: {
176
+ /** Logger instance */logger?: Logger;
134
177
  }): Promise<DataSubCategory[]>;
135
178
  //#endregion
179
+ //#region src/dsr-automation/formatAttributeValues.d.ts
180
+ interface DataSiloAttributeValue {
181
+ /** Key associated to value */
182
+ attributeKey: {
183
+ /** Name of key */name: string;
184
+ };
185
+ /** Name of value */
186
+ name: string;
187
+ }
188
+ interface FormattedAttribute {
189
+ /** Attribute key */
190
+ key: string;
191
+ /** Attribute values */
192
+ values: string[];
193
+ }
194
+ /**
195
+ * Format attribute value objects to key-pair values
196
+ *
197
+ * @param vals - Attribute values
198
+ * @returns formatted attributes
199
+ */
200
+ declare function formatAttributeValues(vals: DataSiloAttributeValue[]): FormattedAttribute[];
201
+ //#endregion
202
+ //#region src/data-inventory/fetchAllDataSilos.d.ts
203
+ interface DataSilo {
204
+ /** ID of dataSilo */
205
+ id: string;
206
+ /** Title of dataSilo */
207
+ title: string;
208
+ /** Type of silo */
209
+ type: string;
210
+ /** The link to the data silo */
211
+ link: string;
212
+ /** Attribute labels */
213
+ attributeValues: DataSiloAttributeValue[];
214
+ /** description */
215
+ description: string;
216
+ /** Metadata for this data silo */
217
+ catalog: {
218
+ /** Whether the data silo supports automated vendor coordination */hasAvcFunctionality: boolean;
219
+ };
220
+ }
221
+ /**
222
+ * Fetch all dataSilos in the organization
223
+ *
224
+ * @param client - GraphQL client
225
+ * @param options - Filter and pagination options
226
+ * @returns All dataSilos in the organization
227
+ */
228
+ declare function fetchAllDataSilos<TDataSilo extends DataSilo>(client: GraphQLClient, options: {
229
+ /** Page size to fetch data silos in */pageSize: number; /** Filter by title */
230
+ titles?: string[]; /** Filter by IDs */
231
+ ids?: string[]; /** Set of integration names to fetch */
232
+ integrationNames?: string[]; /** GQL query override for data silos */
233
+ gql?: string; /** Logger instance */
234
+ logger?: Logger;
235
+ }): Promise<TDataSilo[]>;
236
+ //#endregion
237
+ //#region src/data-inventory/fetchAllDataPoints.d.ts
238
+ interface SubDataPointCategory {
239
+ /** Sub-category name */
240
+ name: string;
241
+ /** Top-level category */
242
+ category: DataCategoryType;
243
+ }
244
+ interface SubDataPointPurpose {
245
+ /** Sub-purpose name */
246
+ name: string;
247
+ /** Top-level purpose */
248
+ purpose: ProcessingPurpose;
249
+ }
250
+ interface SubDataPoint {
251
+ /** Name (or key) of the subdatapoint */
252
+ name: string;
253
+ /** The description */
254
+ description?: string;
255
+ /** Personal data category */
256
+ categories: SubDataPointCategory[];
257
+ /** The processing purpose for this sub datapoint */
258
+ purposes: SubDataPointPurpose[];
259
+ /**
260
+ * When true, this subdatapoint should be revealed in a data access request.
261
+ * When false, this field should be redacted
262
+ */
263
+ accessRequestVisibilityEnabled: boolean;
264
+ /**
265
+ * When true, this subdatapoint should be redacted during an erasure request.
266
+ * There normally is a choice of enabling hard deletion or redaction at the
267
+ * datapoint level, but if redaction is enabled, this column can be used
268
+ * to define which fields should be redacted.
269
+ */
270
+ erasureRequestRedactionEnabled: boolean;
271
+ /** Attribute attached to subdatapoint */
272
+ attributeValues: DataSiloAttributeValue[];
273
+ /** Data category guesses that are output by the classifier */
274
+ pendingCategoryGuesses?: {
275
+ /** Data category being guessed */category: SubDataPointCategory; /** Status of guess */
276
+ status: SubDataPointDataSubCategoryGuessStatus; /** Confidence level of guess */
277
+ confidence: number; /** Confidence label */
278
+ confidenceLabel: ConfidenceLabel; /** classifier version that produced the guess */
279
+ classifierVersion: number;
280
+ }[];
281
+ }
282
+ interface DataPoint {
283
+ /** ID of dataPoint */
284
+ id: string;
285
+ /** Title of dataPoint */
286
+ title: {
287
+ /** Default message */defaultMessage: string;
288
+ };
289
+ /** The path to this data point */
290
+ path: string[];
291
+ /** Description */
292
+ description: {
293
+ /** Default message */defaultMessage: string;
294
+ };
295
+ /** Name */
296
+ name: string;
297
+ /** Global actions */
298
+ actionSettings: {
299
+ /** Action type */type: RequestActionObjectResolver; /** Is enabled */
300
+ active: boolean;
301
+ }[];
302
+ /** Data collection tag for privacy request download zip labeling */
303
+ dataCollection?: {
304
+ /** Title of data collection */title: {
305
+ /** Default message (since message can be translated) */defaultMessage: string;
306
+ };
307
+ };
308
+ /** Metadata for this data silo */
309
+ catalog: {
310
+ /** Whether the data silo supports automated vendor coordination */hasAvcFunctionality: boolean;
311
+ };
312
+ /** Owners of the datapoint */
313
+ owners: {
314
+ /** Email address of the owner */email: string;
315
+ }[];
316
+ /** Teams that own the datapoint */
317
+ teams: {
318
+ /** Name of the team */name: string;
319
+ }[];
320
+ /** Database integration queries */
321
+ dbIntegrationQueries: {
322
+ /** Approved query */query: string | null; /** Suggested query */
323
+ suggestedQuery: string | null; /** Request action */
324
+ requestType: RequestActionObjectResolver;
325
+ }[];
326
+ }
327
+ interface DataPointWithSubDataPoint extends DataPoint {
328
+ /** The associated subdatapoints */
329
+ subDataPoints: SubDataPoint[];
330
+ }
331
+ /**
332
+ * Helper to fetch all subdatapoints for a given datapoint
333
+ *
334
+ * @param client - The GraphQL client
335
+ * @param dataPointId - The datapoint ID
336
+ * @param options - Options
337
+ * @returns The list of subdatapoints
338
+ */
339
+ declare function fetchAllSubDataPoints(client: GraphQLClient, options: {
340
+ /** Filter criteria */filterBy: {
341
+ /** Datapoint ID to fetch sub-datapoints for */dataPointId: string;
342
+ }; /** Enable debug logging */
343
+ debug?: boolean; /** Page size for paginated fetching */
344
+ pageSize: number; /** When true, metadata around guessed data categories should be included */
345
+ includeGuessedCategories?: boolean; /** Logger instance */
346
+ logger?: Logger;
347
+ }): Promise<SubDataPoint[]>;
348
+ /**
349
+ * Fetch all datapoints for a data silo
350
+ *
351
+ * @param client - GraphQL client
352
+ * @param dataSiloId - Data silo ID
353
+ * @param options - Options
354
+ * @returns List of datapoints
355
+ */
356
+ declare function fetchAllDataPoints(client: GraphQLClient, options: {
357
+ /** Filter criteria */filterBy: {
358
+ /** Data silo ID to fetch datapoints for */dataSiloId: string;
359
+ }; /** Enable debug logging */
360
+ debug?: boolean; /** Page size for paginated fetching */
361
+ pageSize: number; /** Skip fetching of subdatapoints */
362
+ skipSubDatapoints?: boolean; /** When true, metadata around guessed data categories should be included */
363
+ includeGuessedCategories?: boolean; /** Logger instance */
364
+ logger?: Logger;
365
+ }): Promise<DataPointWithSubDataPoint[]>;
366
+ //#endregion
136
367
  //#region src/data-inventory/fetchAllIdentifiers.d.ts
137
368
  interface Identifier {
138
369
  /** ID of identifier */
@@ -175,8 +406,8 @@ interface Identifier {
175
406
  * @param options - Options
176
407
  * @returns All identifiers in the organization
177
408
  */
178
- declare function fetchAllIdentifiers(client: GraphQLClient, options: {
179
- /** Logger instance */logger: Logger;
409
+ declare function fetchAllIdentifiers(client: GraphQLClient, options?: {
410
+ /** Logger instance */logger?: Logger;
180
411
  }): Promise<Identifier[]>;
181
412
  //#endregion
182
413
  //#region src/administration/formatRegions.d.ts
@@ -269,8 +500,8 @@ interface ProcessingActivity {
269
500
  * @param options - Options
270
501
  * @returns All processingActivities in the organization
271
502
  */
272
- declare function fetchAllProcessingActivities(client: GraphQLClient, options: {
273
- /** Logger instance */logger: Logger;
503
+ declare function fetchAllProcessingActivities(client: GraphQLClient, options?: {
504
+ /** Logger instance */logger?: Logger;
274
505
  }): Promise<ProcessingActivity[]>;
275
506
  //#endregion
276
507
  //#region src/data-inventory/fetchAllVendors.d.ts
@@ -321,10 +552,136 @@ interface Vendor {
321
552
  * @param client - GraphQL client
322
553
  * @returns All vendors in the organization
323
554
  */
324
- declare function fetchAllVendors(client: GraphQLClient, options: {
325
- /** Logger instance */logger: Logger;
555
+ declare function fetchAllVendors(client: GraphQLClient, options?: {
556
+ /** Logger instance */logger?: Logger;
326
557
  }): Promise<Vendor[]>;
327
558
  //#endregion
559
+ //#region src/data-inventory/fetchEnrichedDataSilos.d.ts
560
+ interface DataSiloEnriched {
561
+ /** ID of dataSilo */
562
+ id: string;
563
+ /** Title of dataSilo */
564
+ title: string;
565
+ /** Type of silo */
566
+ type: string;
567
+ /** Link to silo */
568
+ link: string;
569
+ /** Outer type of silo */
570
+ outerType: string;
571
+ /** Description of data silo */
572
+ description: string;
573
+ /** Webhook URL */
574
+ url?: string;
575
+ /** Email address of user to notify for prompt a person use case */
576
+ notifyEmailAddress?: string;
577
+ /** Associated API keys */
578
+ apiKeys: {
579
+ /** Title */title: string;
580
+ }[];
581
+ /** Data subject block list */
582
+ subjectBlocklist: {
583
+ /** Type of data subject */type: string;
584
+ }[];
585
+ /** Identifiers */
586
+ identifiers: {
587
+ /** Name of identifier */name: string; /** True if identifier is wired */
588
+ isConnected: boolean;
589
+ }[];
590
+ /** Dependent data silos */
591
+ dependentDataSilos: {
592
+ /** Title of silo */title: string;
593
+ }[];
594
+ /** Silo owners */
595
+ owners: {
596
+ /** Email owners */email: string;
597
+ }[];
598
+ /** The teams assigned to this data silo */
599
+ teams: {
600
+ /** Name of the team assigned to this data silo */name: string;
601
+ }[];
602
+ /** Metadata for this data silo */
603
+ catalog: {
604
+ /** Whether the data silo supports automated vendor coordination */hasAvcFunctionality: boolean;
605
+ };
606
+ /** Silo is live */
607
+ isLive: boolean;
608
+ /** Hosting country of data silo */
609
+ country?: IsoCountryCode;
610
+ /** Hosting subdivision data silo */
611
+ countrySubDivision?: IsoCountrySubdivisionCode;
612
+ /**
613
+ * The frequency with which we should be sending emails for this data silo, in milliseconds.
614
+ */
615
+ promptAVendorEmailSendFrequency: number;
616
+ /**
617
+ * The type of emails to send for this data silo, i.e. send an email for each DSR, across all open DSRs,
618
+ * or per profile in a DSR.
619
+ */
620
+ promptAVendorEmailSendType: PromptAVendorEmailSendType;
621
+ /**
622
+ * Indicates whether prompt-a-vendor emails should include a list of identifiers
623
+ * in addition to a link to the bulk processing UI.
624
+ */
625
+ promptAVendorEmailIncludeIdentifiersAttachment: boolean;
626
+ /**
627
+ * Indicates what kind of link to generate as part of the emails sent out for this Prompt-a-Vendor silo.
628
+ */
629
+ promptAVendorEmailCompletionLinkType: PromptAVendorEmailCompletionLinkType;
630
+ /**
631
+ * The frequency with which we should retry sending emails for this data silo, in milliseconds.
632
+ * Needs to be a string because the number can be larger than the MAX_INT
633
+ */
634
+ manualWorkRetryFrequency: string;
635
+ /** Attribute values tagged to data silo */
636
+ attributeValues: DataSiloAttributeValue[];
637
+ /**
638
+ * The data silos that discovered this particular data silo
639
+ */
640
+ discoveredBy: {
641
+ /** Title of data silo */title: string;
642
+ }[];
643
+ /**
644
+ * The business entities assigned directly to this data silo
645
+ */
646
+ businessEntities: {
647
+ /** Title of business entity */title: string;
648
+ }[];
649
+ }
650
+ /**
651
+ * Fetch all dataSilos with additional metadata
652
+ *
653
+ * @param client - GraphQL client
654
+ * @param options - Filter options
655
+ * @returns All dataSilos in the organization
656
+ */
657
+ declare function fetchEnrichedDataSilos(client: GraphQLClient, options: {
658
+ /** Page size */pageSize: number; /** Filter by IDs */
659
+ ids?: string[]; /** Enable debug logs */
660
+ debug?: boolean; /** Filter by title */
661
+ titles?: string[]; /** Integration names */
662
+ integrationNames?: string[]; /** Skip fetching of datapoints */
663
+ skipDatapoints?: boolean; /** Skip fetching of subdatapoints */
664
+ skipSubDatapoints?: boolean; /** When true, metadata around guessed data categories should be included */
665
+ includeGuessedCategories?: boolean; /** Logger instance */
666
+ logger?: Logger;
667
+ }): Promise<[DataSiloEnriched, DataPointWithSubDataPoint[]][]>;
668
+ //#endregion
669
+ //#region src/data-inventory/gqls/dataPoint.d.ts
670
+ declare const DATA_POINTS: string;
671
+ declare const DATA_POINT_COUNT: string;
672
+ declare const SUB_DATA_POINTS: string;
673
+ declare const SUB_DATA_POINTS_COUNT: string;
674
+ declare const SUB_DATA_POINTS_WITH_GUESSES: string;
675
+ declare const UPDATE_OR_CREATE_DATA_POINT: string;
676
+ declare const DATAPOINT_EXPORT: string;
677
+ //#endregion
678
+ //#region src/data-inventory/gqls/dataSilo.d.ts
679
+ declare const DATA_SILOS: string;
680
+ declare const DATA_SILO_EXPORT: string;
681
+ declare const DATA_SILOS_ENRICHED: string;
682
+ declare const UPDATE_DATA_SILOS: string;
683
+ declare const CREATE_DATA_SILOS: string;
684
+ //#endregion
328
685
  //#region src/data-inventory/syncBusinessEntities.d.ts
329
686
  interface BusinessEntityInput {
330
687
  /** Display title of the business entity */
@@ -358,17 +715,19 @@ interface BusinessEntityInput {
358
715
  * @param businessEntity - Input
359
716
  * @returns Created business entity
360
717
  */
361
- declare function createBusinessEntity(client: GraphQLClient, businessEntity: BusinessEntityInput, options: {
362
- /** Logger instance */logger: Logger;
718
+ declare function createBusinessEntity(client: GraphQLClient, options: {
719
+ /** Business entity to create */input: BusinessEntityInput; /** Logger instance */
720
+ logger?: Logger;
363
721
  }): Promise<BusinessEntity>;
364
722
  /**
365
723
  * Input to update business entities
366
724
  *
367
725
  * @param client - GraphQL client
368
- * @param businessEntityIdParis - [BusinessEntityInput, businessEntityId] list
726
+ * @param options - Options
369
727
  */
370
- declare function updateBusinessEntities(client: GraphQLClient, businessEntityIdParis: [BusinessEntityInput, string][], options: {
371
- /** Logger instance */logger: Logger;
728
+ declare function updateBusinessEntities(client: GraphQLClient, options: {
729
+ /** [BusinessEntityInput, businessEntityId] list */input: [BusinessEntityInput, string][]; /** Logger instance */
730
+ logger?: Logger;
372
731
  }): Promise<void>;
373
732
  /**
374
733
  * Sync the data inventory business entities
@@ -377,8 +736,8 @@ declare function updateBusinessEntities(client: GraphQLClient, businessEntityIdP
377
736
  * @param inputs - Inputs to create
378
737
  * @returns True if run without error, returns false if an error occurred
379
738
  */
380
- declare function syncBusinessEntities(client: GraphQLClient, inputs: BusinessEntityInput[], options: {
381
- /** Logger instance */logger: Logger;
739
+ declare function syncBusinessEntities(client: GraphQLClient, inputs: BusinessEntityInput[], options?: {
740
+ /** Logger instance */logger?: Logger;
382
741
  }): Promise<boolean>;
383
742
  //#endregion
384
743
  //#region src/data-inventory/syncDataCategories.d.ts
@@ -409,18 +768,19 @@ interface DataCategoryInput {
409
768
  * @param options - Options
410
769
  * @returns Created data category
411
770
  */
412
- declare function createDataCategory(client: GraphQLClient, dataCategory: DataCategoryInput, options: {
413
- /** Logger instance */logger: Logger;
771
+ declare function createDataCategory(client: GraphQLClient, options: {
772
+ /** Data category to create */input: DataCategoryInput; /** Logger instance */
773
+ logger?: Logger;
414
774
  }): Promise<Pick<DataSubCategory, 'id' | 'name' | 'category'>>;
415
775
  /**
416
776
  * Update data categories
417
777
  *
418
778
  * @param client - GraphQL client
419
- * @param dataCategoryIdPairs - [DataCategoryInput, dataCategoryId] list
420
779
  * @param options - Options
421
780
  */
422
- declare function updateDataCategories(client: GraphQLClient, dataCategoryIdPairs: [DataCategoryInput, string][], options: {
423
- /** Logger instance */logger: Logger;
781
+ declare function updateDataCategories(client: GraphQLClient, options: {
782
+ /** [DataCategoryInput, dataCategoryId] list */input: [DataCategoryInput, string][]; /** Logger instance */
783
+ logger?: Logger;
424
784
  }): Promise<void>;
425
785
  /**
426
786
  * Sync the data inventory data categories
@@ -430,8 +790,21 @@ declare function updateDataCategories(client: GraphQLClient, dataCategoryIdPairs
430
790
  * @param options - Options
431
791
  * @returns True if run without error, returns false if an error occurred
432
792
  */
433
- declare function syncDataCategories(client: GraphQLClient, inputs: DataCategoryInput[], options: {
434
- /** Logger instance */logger: Logger;
793
+ declare function syncDataCategories(client: GraphQLClient, inputs: DataCategoryInput[], options?: {
794
+ /** Logger instance */logger?: Logger;
795
+ }): Promise<boolean>;
796
+ //#endregion
797
+ //#region src/data-inventory/syncDataSiloDependencies.d.ts
798
+ /**
799
+ * Sync data silo dependencies
800
+ *
801
+ * @param client - GraphQL client
802
+ * @param options - Options
803
+ * @returns True upon success
804
+ */
805
+ declare function syncDataSiloDependencies(client: GraphQLClient, options: {
806
+ /** Pairs of [data silo ID, dependency titles] */input: [string, string[]][]; /** Logger instance */
807
+ logger?: Logger;
435
808
  }): Promise<boolean>;
436
809
  //#endregion
437
810
  //#region src/data-inventory/syncProcessingActivities.d.ts
@@ -496,8 +869,8 @@ interface ProcessingActivityInput {
496
869
  * @param options - Options
497
870
  * @returns True if run without error, returns false if an error occurred
498
871
  */
499
- declare function syncProcessingActivities(client: GraphQLClient, inputs: ProcessingActivityInput[], options: {
500
- /** Logger instance */logger: Logger;
872
+ declare function syncProcessingActivities(client: GraphQLClient, inputs: ProcessingActivityInput[], options?: {
873
+ /** Logger instance */logger?: Logger;
501
874
  }): Promise<boolean>;
502
875
  //#endregion
503
876
  //#region src/data-inventory/syncVendors.d.ts
@@ -539,17 +912,19 @@ interface VendorInput {
539
912
  * @param vendor - Input
540
913
  * @returns Created vendor
541
914
  */
542
- declare function createVendor(client: GraphQLClient, vendor: VendorInput, options: {
543
- /** Logger instance */logger: Logger;
915
+ declare function createVendor(client: GraphQLClient, options: {
916
+ /** Vendor to create */input: VendorInput; /** Logger instance */
917
+ logger?: Logger;
544
918
  }): Promise<Pick<Vendor, 'id' | 'title'>>;
545
919
  /**
546
920
  * Input to update vendors
547
921
  *
548
922
  * @param client - GraphQL client
549
- * @param vendorIdParis - [VendorInput, vendorId] list
923
+ * @param options - Options
550
924
  */
551
- declare function updateVendors(client: GraphQLClient, vendorIdParis: [VendorInput, string][], options: {
552
- /** Logger instance */logger: Logger;
925
+ declare function updateVendors(client: GraphQLClient, options: {
926
+ /** [VendorInput, vendorId] list */input: [VendorInput, string][]; /** Logger instance */
927
+ logger?: Logger;
553
928
  }): Promise<void>;
554
929
  /**
555
930
  * Sync the data inventory vendors
@@ -558,8 +933,8 @@ declare function updateVendors(client: GraphQLClient, vendorIdParis: [VendorInpu
558
933
  * @param inputs - Inputs to create
559
934
  * @returns True if run without error, returns false if an error occurred
560
935
  */
561
- declare function syncVendors(client: GraphQLClient, inputs: VendorInput[], options: {
562
- /** Logger instance */logger: Logger;
936
+ declare function syncVendors(client: GraphQLClient, inputs: VendorInput[], options?: {
937
+ /** Logger instance */logger?: Logger;
563
938
  }): Promise<boolean>;
564
939
  //#endregion
565
940
  //#region src/preference-management/fetchAllPurposes.d.ts
@@ -602,9 +977,11 @@ interface Purpose {
602
977
  * @param options - Options
603
978
  * @returns All purposes in the organization
604
979
  */
605
- declare function fetchAllPurposes(client: GraphQLClient, options: {
606
- /** Logger instance */logger: Logger; /** Whether to include deleted purposes */
607
- includeDeleted?: boolean;
980
+ declare function fetchAllPurposes(client: GraphQLClient, options?: {
981
+ /** Logger instance */logger?: Logger; /** Filter options */
982
+ filterBy?: {
983
+ /** Whether to include deleted purposes */includeDeleted?: boolean;
984
+ };
608
985
  }): Promise<Purpose[]>;
609
986
  //#endregion
610
987
  //#region src/preference-management/fetchAllPreferenceTopics.d.ts
@@ -649,8 +1026,8 @@ interface PreferenceTopic {
649
1026
  * @param options - Options
650
1027
  * @returns All preference topics in the organization
651
1028
  */
652
- declare function fetchAllPreferenceTopics(client: GraphQLClient, options: {
653
- /** Logger instance */logger: Logger;
1029
+ declare function fetchAllPreferenceTopics(client: GraphQLClient, options?: {
1030
+ /** Logger instance */logger?: Logger;
654
1031
  }): Promise<PreferenceTopic[]>;
655
1032
  //#endregion
656
1033
  //#region src/preference-management/fetchAllPurposesAndPreferences.d.ts
@@ -665,8 +1042,8 @@ interface PurposeWithPreferences extends Purpose {
665
1042
  * @param options - Options
666
1043
  * @returns List of purposes with their preference topics
667
1044
  */
668
- declare function fetchAllPurposesAndPreferences(client: GraphQLClient, options: {
669
- /** Logger instance */logger: Logger;
1045
+ declare function fetchAllPurposesAndPreferences(client: GraphQLClient, options?: {
1046
+ /** Logger instance */logger?: Logger;
670
1047
  }): Promise<PurposeWithPreferences[]>;
671
1048
  //#endregion
672
1049
  //#region src/preference-management/createPreferenceAccessTokens.d.ts
@@ -696,7 +1073,7 @@ interface PreferenceAccessTokenInputWithIndex extends PreferenceAccessTokenInput
696
1073
  */
697
1074
  declare function createPreferenceAccessTokens(client: GraphQLClient, options: {
698
1075
  /** Records to create tokens for */records: PreferenceAccessTokenInputWithIndex[]; /** Logger instance */
699
- logger: Logger; /** Optional progress emitter */
1076
+ logger?: Logger; /** Optional progress emitter */
700
1077
  emitProgress?: (progress: number) => void; /** Number of concurrent requests to make (default: 10) */
701
1078
  concurrency?: number;
702
1079
  }): Promise<{
@@ -39660,7 +40037,7 @@ declare const RETRY_PREFERENCE_MSGS: string[];
39660
40037
  * Options for retrying preference operations.
39661
40038
  */
39662
40039
  type RetryOptions = {
39663
- logger: Logger; /** Max attempts including the first try (default 12) */
40040
+ logger?: Logger; /** Max attempts including the first try (default 12) */
39664
40041
  maxAttempts?: number; /** Initial backoff in ms (default 250) */
39665
40042
  baseDelayMs?: number; /** Optional custom predicate to decide if an error is retryable */
39666
40043
  isRetryable?: (err: unknown, message: string) => boolean; /** Optional hook to log on each retry */
@@ -39772,7 +40149,7 @@ declare function consentWindowHasAny(sombra: Got, {
39772
40149
  baseFilter: PreferencesQueryFilter; /** After ISO date */
39773
40150
  afterISO: string; /** Before ISO date */
39774
40151
  beforeISO: string;
39775
- logger: Logger;
40152
+ logger?: Logger;
39776
40153
  }): Promise<boolean>;
39777
40154
  //#endregion
39778
40155
  //#region src/preference-management/discoverConsentWindow.d.ts
@@ -39807,7 +40184,7 @@ declare function findEarliestDayWithData(sombra: Got, opts: {
39807
40184
  mode: ChunkMode; /** Base filter */
39808
40185
  baseFilter: PreferencesQueryFilter; /** Optional safety cap in days to avoid unbounded lookback (default ~10 years) */
39809
40186
  maxLookbackDays?: number; /** Logger */
39810
- logger: Logger;
40187
+ logger?: Logger;
39811
40188
  }): Promise<Date>;
39812
40189
  /**
39813
40190
  * Find latest day with data using exponential growth forward from earliest (UTC day math).
@@ -39823,7 +40200,7 @@ declare function findLatestDayWithData(sombra: Got, opts: {
39823
40200
  mode: ChunkMode; /** Base filter */
39824
40201
  baseFilter: PreferencesQueryFilter; /** Earliest date */
39825
40202
  earliest: Date; /** Logger */
39826
- logger: Logger;
40203
+ logger?: Logger;
39827
40204
  }): Promise<Date>;
39828
40205
  //#endregion
39829
40206
  //#region src/preference-management/fetchConsentPreferences.d.ts
@@ -39850,7 +40227,7 @@ declare function fetchConsentPreferences(sombra: Got, {
39850
40227
  filterBy?: PreferencesQueryFilter; /** Number of users per page (1–50 per API spec) */
39851
40228
  limit?: number; /** Optional streaming sink; if provided, pages are not accumulated */
39852
40229
  onItems?: (items: PreferenceQueryResponseItem[]) => Promise<void> | void;
39853
- logger: Logger;
40230
+ logger?: Logger;
39854
40231
  }): Promise<PreferenceQueryResponseItem[]>;
39855
40232
  //#endregion
39856
40233
  //#region src/preference-management/getPreferencesForIdentifiers.d.ts
@@ -39875,7 +40252,7 @@ declare function getPreferencesForIdentifiers(sombra: Got, {
39875
40252
  partitionKey: string; /** Whether to skip logging */
39876
40253
  skipLogging?: boolean; /** Concurrency for requests (default 40) */
39877
40254
  concurrency?: number; /** Logger */
39878
- logger: Logger; /** Optional progress callback (completed count, total identifiers) */
40255
+ logger?: Logger; /** Optional progress callback (completed count, total identifiers) */
39879
40256
  onProgress?: (completed: number, total: number) => void;
39880
40257
  }): Promise<PreferenceQueryResponseItem[]>;
39881
40258
  //#endregion
@@ -39909,7 +40286,7 @@ declare function fetchConsentPreferencesChunked(sombra: Got, {
39909
40286
  maxChunks?: number; /** Max lookback days for discovering bounds */
39910
40287
  maxLookbackDays?: number; /** Optional streaming sink; if provided, items are not accumulated */
39911
40288
  onItems?: (items: PreferenceQueryResponseItem[]) => Promise<any> | any; /** Logger */
39912
- logger: Logger; /** Optional progress: completed chunks, total chunks, records fetched so far */
40289
+ logger?: Logger; /** Optional progress: completed chunks, total chunks, records fetched so far */
39913
40290
  onProgress?: (completed: number, total: number, fetched: number) => void;
39914
40291
  }): Promise<PreferenceQueryResponseItem[]>;
39915
40292
  //#endregion
@@ -39969,8 +40346,11 @@ interface Attribute {
39969
40346
  * @param attributeKeyId - Attribute keyID
39970
40347
  * @returns A map from apiKey title to Identifier
39971
40348
  */
39972
- declare function fetchAllAttributeValues(client: GraphQLClient, attributeKeyId: string, options: {
39973
- /** Logger instance */logger: Logger;
40349
+ declare function fetchAllAttributeValues(client: GraphQLClient, options: {
40350
+ /** Logger instance */logger?: Logger; /** Filter options */
40351
+ filterBy: {
40352
+ /** Attribute key ID */attributeKeyId: string;
40353
+ };
39974
40354
  }): Promise<AttributeValue[]>;
39975
40355
  declare const SYNC_ATTRIBUTE_TYPES: AttributeKeyType[];
39976
40356
  /**
@@ -39979,8 +40359,8 @@ declare const SYNC_ATTRIBUTE_TYPES: AttributeKeyType[];
39979
40359
  * @param client - GraphQL client
39980
40360
  * @returns A map from apiKey title to Identifier
39981
40361
  */
39982
- declare function fetchAllAttributes(client: GraphQLClient, options: {
39983
- /** Logger instance */logger: Logger;
40362
+ declare function fetchAllAttributes(client: GraphQLClient, options?: {
40363
+ /** Logger instance */logger?: Logger;
39984
40364
  }): Promise<Attribute[]>;
39985
40365
  //#endregion
39986
40366
  //#region src/administration/fetchAllMessages.d.ts
@@ -40005,8 +40385,8 @@ interface Message {
40005
40385
  * @param client - GraphQL client
40006
40386
  * @returns All messages in the organization
40007
40387
  */
40008
- declare function fetchAllMessages(client: GraphQLClient, options: {
40009
- /** Logger instance */logger: Logger;
40388
+ declare function fetchAllMessages(client: GraphQLClient, options?: {
40389
+ /** Logger instance */logger?: Logger;
40010
40390
  }): Promise<Message[]>;
40011
40391
  //#endregion
40012
40392
  //#region src/administration/fetchAllTeams.d.ts
@@ -40043,8 +40423,8 @@ interface Team {
40043
40423
  * @param options - Options
40044
40424
  * @returns All teams in the organization
40045
40425
  */
40046
- declare function fetchAllTeams(client: GraphQLClient, options: {
40047
- /** Logger instance */logger: Logger;
40426
+ declare function fetchAllTeams(client: GraphQLClient, options?: {
40427
+ /** Logger instance */logger?: Logger;
40048
40428
  }): Promise<Team[]>;
40049
40429
  //#endregion
40050
40430
  //#region src/administration/fetchAllUsers.d.ts
@@ -40063,8 +40443,8 @@ interface User {
40063
40443
  * @param options - Options
40064
40444
  * @returns All users in the organization
40065
40445
  */
40066
- declare function fetchAllUsers(client: GraphQLClient, options: {
40067
- /** Logger instance */logger: Logger;
40446
+ declare function fetchAllUsers(client: GraphQLClient, options?: {
40447
+ /** Logger instance */logger?: Logger;
40068
40448
  }): Promise<User[]>;
40069
40449
  //#endregion
40070
40450
  //#region src/administration/fetchApiKeys.d.ts
@@ -40091,25 +40471,24 @@ interface FetchApiKeysInput {
40091
40471
  * @param options - Options
40092
40472
  * @returns API keys
40093
40473
  */
40094
- declare function fetchAllApiKeys(client: GraphQLClient, options: {
40095
- /** Filter on titles */titles?: string[]; /** Logger instance */
40096
- logger: Logger;
40474
+ declare function fetchAllApiKeys(client: GraphQLClient, options?: {
40475
+ /** Logger instance */logger?: Logger; /** Filter options */
40476
+ filterBy?: {
40477
+ /** Filter on titles */titles?: string[];
40478
+ };
40097
40479
  }): Promise<ApiKey[]>;
40098
40480
  /**
40099
40481
  * Fetch all apiKeys and if any are found in the config that are
40100
40482
  * missing, create those apiKeys.
40101
40483
  *
40102
- * @param apiKeyInputs - API keys to fetch metadata on
40103
40484
  * @param client - GraphQL client
40104
- * @param fetchAll - When true, fetch all API keys
40105
40485
  * @param options - Options
40106
40486
  * @returns A map from apiKey title to Identifier
40107
40487
  */
40108
- declare function fetchApiKeys({
40109
- 'api-keys': apiKeyInputs,
40110
- 'data-silos': dataSilos
40111
- }: FetchApiKeysInput, client: GraphQLClient, fetchAll: boolean | undefined, options: {
40112
- /** Logger instance */logger: Logger;
40488
+ declare function fetchApiKeys(client: GraphQLClient, options?: {
40489
+ /** API key input configuration */apiKeyInputs?: FetchApiKeysInput; /** When true, fetch all API keys */
40490
+ fetchAll?: boolean; /** Logger instance */
40491
+ logger?: Logger;
40113
40492
  }): Promise<{ [k in string]: ApiKey }>;
40114
40493
  //#endregion
40115
40494
  //#region src/administration/loginUser.d.ts
@@ -40133,17 +40512,13 @@ interface UserRole {
40133
40512
  * Log in as a user
40134
40513
  *
40135
40514
  * @param client - GraphQL client
40136
- * @param options - Email/password
40515
+ * @param options - Options
40137
40516
  * @returns Cookie and roles
40138
40517
  */
40139
- declare function loginUser(client: GraphQLClient, {
40140
- email,
40141
- password,
40142
- logger
40143
- }: {
40518
+ declare function loginUser(client: GraphQLClient, options: {
40144
40519
  /** Email of user */email: string; /** Password of user */
40145
40520
  password: string; /** Logger instance */
40146
- logger: Logger;
40521
+ logger?: Logger;
40147
40522
  }): Promise<{
40148
40523
  /** Cookie to be used to make subsequent requests */loginCookie: string; /** Roles of the user */
40149
40524
  roles: UserRole[];
@@ -40152,16 +40527,12 @@ declare function loginUser(client: GraphQLClient, {
40152
40527
  * Assume role for user into another organization
40153
40528
  *
40154
40529
  * @param client - GraphQL client
40155
- * @param options - Email/password
40530
+ * @param options - Options
40156
40531
  */
40157
- declare function assumeRole(client: GraphQLClient, {
40158
- email,
40159
- roleId,
40160
- logger
40161
- }: {
40532
+ declare function assumeRole(client: GraphQLClient, options: {
40162
40533
  /** Email of user */email: string; /** Role of user assuming into */
40163
40534
  roleId: string; /** Logger instance */
40164
- logger: Logger;
40535
+ logger?: Logger;
40165
40536
  }): Promise<void>;
40166
40537
  //#endregion
40167
40538
  //#region src/administration/manageApiKeys.d.ts
@@ -40177,25 +40548,25 @@ interface CreatedApiKey {
40177
40548
  * Create an API key
40178
40549
  *
40179
40550
  * @param client - GraphQL client
40180
- * @param input - Input
40181
40551
  * @param options - Options
40182
40552
  * @returns The API key
40183
40553
  */
40184
- declare function createApiKey(client: GraphQLClient, input: {
40185
- /** Title of API key */title: string; /** Scopes for API key */
40186
- scopes: ScopeName[];
40187
- }, options: {
40188
- /** Logger instance */logger: Logger;
40554
+ declare function createApiKey(client: GraphQLClient, options: {
40555
+ /** Input for creating an API key */input: {
40556
+ /** Title of API key */title: string; /** Scopes for API key */
40557
+ scopes: ScopeName[];
40558
+ }; /** Logger instance */
40559
+ logger?: Logger;
40189
40560
  }): Promise<CreatedApiKey>;
40190
40561
  /**
40191
40562
  * Delete an API key
40192
40563
  *
40193
40564
  * @param client - GraphQL client
40194
- * @param id - API key Id
40195
40565
  * @param options - Options
40196
40566
  */
40197
- declare function deleteApiKey(client: GraphQLClient, id: string, options: {
40198
- /** Logger instance */logger: Logger;
40567
+ declare function deleteApiKey(client: GraphQLClient, options: {
40568
+ /** API key ID to delete */id: string; /** Logger instance */
40569
+ logger?: Logger;
40199
40570
  }): Promise<void>;
40200
40571
  //#endregion
40201
40572
  //#region src/administration/setResourceAttributes.d.ts
@@ -40217,8 +40588,8 @@ interface SetResourceAttributesInput {
40217
40588
  * @param client - GraphQL client
40218
40589
  * @param input - Input
40219
40590
  */
40220
- declare function setResourceAttributes(client: GraphQLClient, input: SetResourceAttributesInput, options: {
40221
- /** Logger instance */logger: Logger;
40591
+ declare function setResourceAttributes(client: GraphQLClient, input: SetResourceAttributesInput, options?: {
40592
+ /** Logger instance */logger?: Logger;
40222
40593
  }): Promise<void>;
40223
40594
  //#endregion
40224
40595
  //#region src/administration/syncAttribute.d.ts
@@ -40253,10 +40624,10 @@ declare function syncAttribute(client: GraphQLClient, attribute: AttributeInput,
40253
40624
  existingAttribute,
40254
40625
  deleteExtraAttributeValues,
40255
40626
  logger
40256
- }: {
40627
+ }?: {
40257
40628
  /** The existing attribute configuration if it exists */existingAttribute?: Attribute; /** When true, delete extra attributes not specified in the list of values */
40258
40629
  deleteExtraAttributeValues?: boolean; /** Logger instance */
40259
- logger: Logger;
40630
+ logger?: Logger;
40260
40631
  }): Promise<void>;
40261
40632
  //#endregion
40262
40633
  //#region src/administration/syncIntlMessages.d.ts
@@ -40276,10 +40647,11 @@ interface IntlMessageInput {
40276
40647
  * Update or create intl messages
40277
40648
  *
40278
40649
  * @param client - GraphQL client
40279
- * @param messageInputs - List of message inputs
40650
+ * @param options - Options
40280
40651
  */
40281
- declare function updateIntlMessages(client: GraphQLClient, messageInputs: IntlMessageInput[], options: {
40282
- /** Logger instance */logger: Logger;
40652
+ declare function updateIntlMessages(client: GraphQLClient, options: {
40653
+ /** List of message inputs */input: IntlMessageInput[]; /** Logger instance */
40654
+ logger?: Logger;
40283
40655
  }): Promise<void>;
40284
40656
  /**
40285
40657
  * Sync the set of messages from the YML interface into the product
@@ -40288,8 +40660,8 @@ declare function updateIntlMessages(client: GraphQLClient, messageInputs: IntlMe
40288
40660
  * @param messages - messages to sync
40289
40661
  * @returns True upon success, false upon failure
40290
40662
  */
40291
- declare function syncIntlMessages(client: GraphQLClient, messages: IntlMessageInput[], options: {
40292
- /** Logger instance */logger: Logger;
40663
+ declare function syncIntlMessages(client: GraphQLClient, messages: IntlMessageInput[], options?: {
40664
+ /** Logger instance */logger?: Logger;
40293
40665
  }): Promise<boolean>;
40294
40666
  //#endregion
40295
40667
  //#region src/administration/syncTeams.d.ts
@@ -40317,20 +40689,22 @@ interface TeamInput {
40317
40689
  * @param options - Options
40318
40690
  * @returns Created team
40319
40691
  */
40320
- declare function createTeam(client: GraphQLClient, team: TeamInput, options: {
40321
- /** Logger instance */logger: Logger;
40692
+ declare function createTeam(client: GraphQLClient, options: {
40693
+ /** Team to create */input: TeamInput; /** Logger instance */
40694
+ logger?: Logger;
40322
40695
  }): Promise<Pick<Team, 'id' | 'name'>>;
40323
40696
  /**
40324
40697
  * Input to update teams
40325
40698
  *
40326
40699
  * @param client - GraphQL client
40327
- * @param input - Team input to update
40328
- * @param teamId - ID of team
40329
40700
  * @param options - Options
40330
40701
  * @returns Updated team
40331
40702
  */
40332
- declare function updateTeam(client: GraphQLClient, input: TeamInput, teamId: string, options: {
40333
- /** Logger instance */logger: Logger;
40703
+ declare function updateTeam(client: GraphQLClient, options: {
40704
+ /** Team input to update */input: TeamInput & {
40705
+ /** ID of team to update */id: string;
40706
+ }; /** Logger instance */
40707
+ logger?: Logger;
40334
40708
  }): Promise<Pick<Team, 'id' | 'name'>>;
40335
40709
  /**
40336
40710
  * Sync the teams
@@ -40340,8 +40714,8 @@ declare function updateTeam(client: GraphQLClient, input: TeamInput, teamId: str
40340
40714
  * @param options - Options
40341
40715
  * @returns True if run without error, returns false if an error occurred
40342
40716
  */
40343
- declare function syncTeams(client: GraphQLClient, inputs: TeamInput[], options: {
40344
- /** Logger instance */logger: Logger;
40717
+ declare function syncTeams(client: GraphQLClient, inputs: TeamInput[], options?: {
40718
+ /** Logger instance */logger?: Logger;
40345
40719
  }): Promise<boolean>;
40346
40720
  //#endregion
40347
40721
  //#region src/administration/gqls/attributeKey.d.ts
@@ -40368,118 +40742,295 @@ declare function createTranscendConsentGotInstance(transcendUrl: string): Got;
40368
40742
  declare function deployConsentManager(client: GraphQLClient, input: {
40369
40743
  /** ID of Consent Manager */id: string; /** Type of bundle */
40370
40744
  bundleType: ConsentBundleType;
40371
- }, options: {
40372
- /** Logger instance */logger: Logger;
40745
+ }, options?: {
40746
+ /** Logger instance */logger?: Logger;
40373
40747
  }): Promise<void>;
40374
40748
  /**
40375
40749
  * Update the Consent Manager to the latest airgap.js version
40376
40750
  *
40377
40751
  * @param client - GraphQL client
40378
- * @param input - Update input
40379
40752
  * @param options - Options
40380
40753
  */
40381
- declare function updateConsentManagerToLatest(client: GraphQLClient, input: {
40382
- /** ID of Consent Manager */id: string; /** Type of bundle */
40383
- bundleType: ConsentBundleType;
40384
- }, options: {
40385
- /** Logger instance */logger: Logger;
40754
+ declare function updateConsentManagerToLatest(client: GraphQLClient, options: {
40755
+ /** Consent manager to update */input: {
40756
+ /** ID of Consent Manager */id: string; /** Type of bundle */
40757
+ bundleType: ConsentBundleType;
40758
+ }; /** Logger instance */
40759
+ logger?: Logger;
40386
40760
  }): Promise<void>;
40387
40761
  //#endregion
40388
- //#region src/consent/fetchAllCookies.d.ts
40389
- interface Cookie {
40390
- /** ID of the cookie */
40762
+ //#region src/consent/gqls/shared.d.ts
40763
+ /** Service associated with a cookie or data flow */
40764
+ interface TranscendCookieServiceGql {
40765
+ /** Service ID */
40391
40766
  id: string;
40392
- /** Name of the cookie */
40767
+ /** Human-readable service title */
40768
+ title: string;
40769
+ /** Integration slug */
40770
+ integrationName: string;
40771
+ }
40772
+ /** Service fields shared by cookies and data flows */
40773
+ declare const SERVICE_FIELDS = "\n id\n title\n integrationName\n";
40774
+ /** Tracking purpose assigned to a cookie or data flow */
40775
+ interface TranscendTrackingPurposeGql {
40776
+ /** Purpose ID */
40777
+ id: string;
40778
+ /** Purpose display name */
40393
40779
  name: string;
40394
- /** Whether cookie is a regular expression */
40780
+ /** Purpose slug (e.g. "Advertising", "Analytics") */
40781
+ trackingType: string;
40782
+ }
40783
+ /** Tracking purpose fields */
40784
+ declare const TRACKING_PURPOSE_FIELDS = "\n id\n name\n trackingType\n";
40785
+ //#endregion
40786
+ //#region src/consent/gqls/cookies.d.ts
40787
+ /** Cookie domain with occurrence count */
40788
+ interface TranscendCookieDomainGql {
40789
+ /** Domain ID */
40790
+ id: string;
40791
+ /** Domain name */
40792
+ domain: string;
40793
+ /** Number of occurrences on this domain */
40794
+ occurrences: number;
40795
+ }
40796
+ /** Cookie node returned by COOKIES query */
40797
+ interface TranscendCookieGql {
40798
+ /** Cookie ID */
40799
+ id: string;
40800
+ /** Cookie name */
40801
+ name: string;
40802
+ /** Whether this is a regex pattern */
40395
40803
  isRegex: boolean;
40396
- /** Description of cookie */
40397
- description: string;
40398
- /** Enabled tracking purposes for the cookie */
40804
+ /** Description */
40805
+ description?: string;
40806
+ /** Tracking purpose slugs (string array) */
40399
40807
  trackingPurposes: string[];
40400
- /** The consent service */
40401
- service: {
40402
- /** Integration name of service */integrationName: string;
40403
- };
40404
- /** Source of how tracker was added */
40808
+ /** Resolved tracking purposes */
40809
+ purposes: TranscendTrackingPurposeGql[];
40810
+ /** Frequency of occurrence (0-1) */
40811
+ frequency: number;
40812
+ /** Associated service */
40813
+ service?: TranscendCookieServiceGql;
40814
+ /** Whether marked as junk */
40815
+ isJunk: boolean;
40816
+ /** How the tracker was discovered */
40405
40817
  source: ConsentTrackerSource;
40406
- /** Status of cookie labeling */
40818
+ /** Triage status */
40407
40819
  status: ConsentTrackerStatus;
40408
- /** Owners of that cookie */
40409
- owners: {
40410
- /** Email address of owner */email: string;
40411
- }[];
40412
- /** Teams assigned to that cookie */
40413
- teams: {
40414
- /** Name of team */name: string;
40415
- }[];
40416
- /** Attributes assigned to that cookie */
40417
- attributeValues: {
40418
- /** Name of attribute value */name: string; /** Attribute key that the value represents */
40419
- attributeKey: {
40420
- /** Name of attribute key */name: string;
40421
- };
40422
- }[];
40820
+ /** Assigned owners */
40821
+ owners: TranscendOwnerGql[];
40822
+ /** Assigned teams */
40823
+ teams: TranscendTeamGql[];
40824
+ /** Custom attribute values */
40825
+ attributeValues: TranscendAttributeValueGql[];
40826
+ /** Creation timestamp */
40827
+ createdAt: string;
40828
+ /** Last updated timestamp */
40829
+ updatedAt: string;
40830
+ /** Last seen by telemetry */
40831
+ lastDiscoveredAt?: string;
40832
+ /** Domains this cookie appears on */
40833
+ domains: TranscendCookieDomainGql[];
40834
+ /** Total telemetry occurrences */
40835
+ occurrences: number;
40836
+ /** Number of sites seen on (all time) */
40837
+ consentSiteCountAllTime: number;
40838
+ /** Number of sites seen on (last week) */
40839
+ consentSiteCountLastWeek: number;
40840
+ }
40841
+ /** Input for updating or creating a cookie */
40842
+ interface TranscendUpdateCookieInputGql {
40843
+ /** Cookie name (used as identifier for upsert) */
40844
+ name: string;
40845
+ /** Tracking purpose slugs */
40846
+ trackingPurposes?: string[];
40847
+ /** Purpose IDs to assign */
40848
+ purposeIds?: string[];
40849
+ /** Description */
40850
+ description?: string;
40851
+ /** Service integration name */
40852
+ service?: string;
40853
+ /** Mark as junk */
40854
+ isJunk?: boolean;
40855
+ /** Triage status */
40856
+ status?: ConsentTrackerStatus;
40857
+ /** Whether this is a regex pattern */
40858
+ isRegex?: boolean;
40859
+ /** How the tracker was discovered */
40860
+ source?: ConsentTrackerSource;
40861
+ }
40862
+ /** Full response from the COOKIES query */
40863
+ interface TranscendCliCookiesResponse {
40864
+ /** Cookies result */
40865
+ cookies: {
40866
+ /** List of cookie nodes */nodes: TranscendCookieGql[]; /** Total count of matching cookies */
40867
+ totalCount: number;
40868
+ };
40869
+ }
40870
+ declare const COOKIES: string;
40871
+ /** Full response from the UPDATE_OR_CREATE_COOKIES mutation */
40872
+ interface TranscendCliUpdateOrCreateCookiesResponse {
40873
+ /** Mutation result */
40874
+ updateOrCreateCookies: {
40875
+ /** Client mutation ID */clientMutationId: string | null;
40876
+ };
40877
+ }
40878
+ declare const UPDATE_OR_CREATE_COOKIES: string;
40879
+ /** Full response from the DELETE_COOKIES mutation */
40880
+ interface TranscendCliDeleteCookiesResponse {
40881
+ /** Mutation result */
40882
+ deleteCookies: {
40883
+ /** Client mutation ID */clientMutationId: string | null;
40884
+ };
40885
+ }
40886
+ declare const DELETE_COOKIES: string;
40887
+ //#endregion
40888
+ //#region src/consent/fetchAllCookies.d.ts
40889
+ /** Sort order for cookie queries */
40890
+ interface CookieOrder {
40891
+ /** Field to sort by */
40892
+ field: string;
40893
+ /** Sort direction */
40894
+ direction: OrderDirection;
40423
40895
  }
40424
40896
  /**
40425
40897
  * Fetch all Cookies in the organization
40426
40898
  *
40427
40899
  * @param client - GraphQL client
40428
- * @param status - The status to fetch
40429
40900
  * @param options - Options
40430
40901
  * @returns All Cookies in the organization
40431
40902
  */
40432
- declare function fetchAllCookies(client: GraphQLClient, status: ConsentTrackerStatus | undefined, options: {
40433
- /** Logger instance */logger: Logger;
40434
- }): Promise<Cookie[]>;
40903
+ declare function fetchAllCookies(client: GraphQLClient, options?: {
40904
+ /** Logger instance */logger?: Logger; /** Filter options */
40905
+ filterBy?: {
40906
+ /** The status to fetch */status?: ConsentTrackerStatus;
40907
+ }; /** Sort ordering (defaults to createdAt ASC, name ASC) */
40908
+ orderBy?: CookieOrder[];
40909
+ }): Promise<TranscendCookieGql[]>;
40435
40910
  //#endregion
40436
- //#region src/consent/fetchAllDataFlows.d.ts
40437
- interface DataFlow {
40438
- /** ID of data flow */
40911
+ //#region src/consent/gqls/dataFlows.d.ts
40912
+ /** Data flow node returned by DATA_FLOWS query and UPDATE_DATA_FLOWS mutation */
40913
+ interface TranscendDataFlowGql {
40914
+ /** Data flow ID */
40439
40915
  id: string;
40440
- /** Value of data flow */
40916
+ /** URL/host value */
40441
40917
  value: string;
40442
- /** Type of data flow */
40918
+ /** Scope type (HOST, PATH, REGEX, etc.) */
40443
40919
  type: DataFlowScope;
40444
- /** Description of data flow */
40445
- description: string;
40446
- /** Enabled tracking purposes */
40920
+ /** Description */
40921
+ description?: string;
40922
+ /** Tracking purpose slugs */
40447
40923
  trackingType: string[];
40448
- /** The consent service */
40449
- service: {
40450
- /** Integration name of service */integrationName: string;
40451
- };
40452
- /** Source of how tracker was added */
40924
+ /** Resolved tracking purposes */
40925
+ purposes: TranscendTrackingPurposeGql[];
40926
+ /** Frequency of occurrence (0-1) */
40927
+ frequency: number;
40928
+ /** Associated service */
40929
+ service?: TranscendCookieServiceGql;
40930
+ /** Whether marked as junk */
40931
+ isJunk: boolean;
40932
+ /** How the tracker was discovered */
40453
40933
  source: ConsentTrackerSource;
40454
- /** Status of data flow labeling */
40934
+ /** Triage status */
40455
40935
  status: ConsentTrackerStatus;
40456
- /** Owners of that data flow */
40457
- owners: {
40458
- /** Email address of owner */email: string;
40459
- }[];
40460
- /** Teams assigned to that data flow */
40461
- teams: {
40462
- /** Name of team */name: string;
40463
- }[];
40464
- /** Attributes assigned to that data flow */
40465
- attributeValues: {
40466
- /** Name of attribute value */name: string; /** Attribute key that the value represents */
40467
- attributeKey: {
40468
- /** Name of attribute key */name: string;
40469
- };
40470
- }[];
40936
+ /** Assigned owners */
40937
+ owners: TranscendOwnerGql[];
40938
+ /** Assigned teams */
40939
+ teams: TranscendTeamGql[];
40940
+ /** Custom attribute values */
40941
+ attributeValues: TranscendAttributeValueGql[];
40942
+ /** Creation timestamp */
40943
+ createdAt: string;
40944
+ /** Last updated timestamp */
40945
+ updatedAt: string;
40946
+ /** Last seen by telemetry */
40947
+ lastDiscoveredAt?: string;
40948
+ /** Total telemetry occurrences */
40949
+ occurrences: number;
40950
+ /** Number of sites seen on (all time) */
40951
+ consentSiteCountAllTime: number;
40952
+ /** Number of sites seen on (last week) */
40953
+ consentSiteCountLastWeek: number;
40954
+ }
40955
+ /** Input for updating a data flow */
40956
+ interface TranscendUpdateDataFlowInputGql {
40957
+ /** Data flow ID */
40958
+ id: string;
40959
+ /** URL/host value */
40960
+ value?: string;
40961
+ /** Scope type */
40962
+ type?: DataFlowScope;
40963
+ /** Tracking purpose slugs */
40964
+ trackingType?: string[];
40965
+ /** Purpose IDs to assign */
40966
+ purposeIds?: string[];
40967
+ /** Description */
40968
+ description?: string;
40969
+ /** Service integration name */
40970
+ service?: string;
40971
+ /** Mark as junk */
40972
+ isJunk?: boolean;
40973
+ /** Triage status */
40974
+ status?: ConsentTrackerStatus;
40975
+ }
40976
+ /** Full response from the CREATE_DATA_FLOWS mutation */
40977
+ interface TranscendCliCreateDataFlowsResponse {
40978
+ /** Mutation result */
40979
+ createDataFlows: {
40980
+ /** Created data flows (IDs only) */dataFlows: {
40981
+ /** Data flow ID */id: string;
40982
+ }[];
40983
+ };
40984
+ }
40985
+ declare const CREATE_DATA_FLOWS: string;
40986
+ /** Full response from the UPDATE_DATA_FLOWS mutation */
40987
+ interface TranscendCliUpdateDataFlowsResponse {
40988
+ /** Mutation result */
40989
+ updateDataFlows: {
40990
+ /** Updated data flows with full fields */dataFlows: TranscendDataFlowGql[];
40991
+ };
40992
+ }
40993
+ declare const UPDATE_DATA_FLOWS: string;
40994
+ /** Full response from the DATA_FLOWS query */
40995
+ interface TranscendCliDataFlowsResponse {
40996
+ /** Data flows result */
40997
+ dataFlows: {
40998
+ /** List of data flow nodes */nodes: TranscendDataFlowGql[]; /** Total count of matching data flows */
40999
+ totalCount: number;
41000
+ };
41001
+ }
41002
+ declare const DATA_FLOWS: string;
41003
+ /** Full response from the DELETE_DATA_FLOWS mutation */
41004
+ interface TranscendCliDeleteDataFlowsResponse {
41005
+ /** Mutation result */
41006
+ deleteDataFlows: {
41007
+ /** Client mutation ID */clientMutationId: string | null;
41008
+ };
41009
+ }
41010
+ declare const DELETE_DATA_FLOWS: string;
41011
+ //#endregion
41012
+ //#region src/consent/fetchAllDataFlows.d.ts
41013
+ /** Sort order for data flow queries */
41014
+ interface DataFlowOrder {
41015
+ /** Field to sort by */
41016
+ field: string;
41017
+ /** Sort direction */
41018
+ direction: OrderDirection;
40471
41019
  }
40472
41020
  /**
40473
41021
  * Fetch all DataFlows in the organization
40474
41022
  *
40475
41023
  * @param client - GraphQL client
40476
- * @param status - The status to fetch
40477
41024
  * @param options - Options
40478
41025
  * @returns All DataFlows in the organization
40479
41026
  */
40480
- declare function fetchAllDataFlows(client: GraphQLClient, status: ConsentTrackerStatus | undefined, options: {
40481
- /** Logger instance */logger: Logger;
40482
- }): Promise<DataFlow[]>;
41027
+ declare function fetchAllDataFlows(client: GraphQLClient, options?: {
41028
+ /** Logger instance */logger?: Logger; /** Filter options */
41029
+ filterBy?: {
41030
+ /** The status to fetch */status?: ConsentTrackerStatus;
41031
+ }; /** Sort ordering (defaults to createdAt ASC, value ASC) */
41032
+ orderBy?: DataFlowOrder[];
41033
+ }): Promise<TranscendDataFlowGql[]>;
40483
41034
  //#endregion
40484
41035
  //#region src/consent/fetchAllPolicies.d.ts
40485
41036
  interface Policy {
@@ -40505,8 +41056,8 @@ interface Policy {
40505
41056
  * @param options - Options
40506
41057
  * @returns All policies in the organization
40507
41058
  */
40508
- declare function fetchAllPolicies(client: GraphQLClient, options: {
40509
- /** Logger instance */logger: Logger;
41059
+ declare function fetchAllPolicies(client: GraphQLClient, options?: {
41060
+ /** Logger instance */logger?: Logger;
40510
41061
  }): Promise<Policy[]>;
40511
41062
  //#endregion
40512
41063
  //#region src/consent/fetchAllPrivacyCenters.d.ts
@@ -40559,8 +41110,8 @@ interface PrivacyCenter {
40559
41110
  * @param options - Options
40560
41111
  * @returns All privacy centers in the organization
40561
41112
  */
40562
- declare function fetchAllPrivacyCenters(client: GraphQLClient, options: {
40563
- /** Logger instance */logger: Logger;
41113
+ declare function fetchAllPrivacyCenters(client: GraphQLClient, options?: {
41114
+ /** Logger instance */logger?: Logger;
40564
41115
  }): Promise<PrivacyCenter[]>;
40565
41116
  //#endregion
40566
41117
  //#region src/consent/fetchAllProcessingPurposes.d.ts
@@ -40596,10 +41147,104 @@ interface ProcessingPurposeSubCategory {
40596
41147
  * @param options - Options
40597
41148
  * @returns All processingPurposeSubCategories in the organization
40598
41149
  */
40599
- declare function fetchAllProcessingPurposes(client: GraphQLClient, options: {
40600
- /** Logger instance */logger: Logger;
41150
+ declare function fetchAllProcessingPurposes(client: GraphQLClient, options?: {
41151
+ /** Logger instance */logger?: Logger;
40601
41152
  }): Promise<ProcessingPurposeSubCategory[]>;
40602
41153
  //#endregion
41154
+ //#region src/consent/gqls/consentManager.d.ts
41155
+ /** Full response from FETCH_CONSENT_MANAGER_ID */
41156
+ interface TranscendCliFetchConsentManagerIdResponse {
41157
+ /** Consent manager wrapper */
41158
+ consentManager: {
41159
+ /** Consent manager object */consentManager: {
41160
+ /** Consent manager / airgap bundle ID */id: string;
41161
+ };
41162
+ };
41163
+ }
41164
+ declare const FETCH_CONSENT_MANAGER_ID: string;
41165
+ /** Consent manager configuration */
41166
+ interface TranscendConsentManagerConfigGql {
41167
+ /** Configured domains */
41168
+ domains: string[];
41169
+ /** Consent precedence setting */
41170
+ consentPrecedence: string;
41171
+ /** Unknown request policy */
41172
+ unknownRequestPolicy: string;
41173
+ /** Unknown cookie policy */
41174
+ unknownCookiePolicy: string;
41175
+ /** Sync endpoint URL */
41176
+ syncEndpoint: string;
41177
+ /** Telemetry partitioning strategy */
41178
+ telemetryPartitioning: string;
41179
+ /** Signed IAB agreement status */
41180
+ signedIabAgreement: string;
41181
+ /** Sync groups setting */
41182
+ syncGroups: string;
41183
+ /** Partition parameter */
41184
+ partition: string;
41185
+ }
41186
+ /** Consent manager node */
41187
+ interface TranscendConsentManagerGql {
41188
+ /** Consent manager / airgap bundle ID */
41189
+ id: string;
41190
+ /** Production bundle URL */
41191
+ bundleURL: string;
41192
+ /** Test bundle URL */
41193
+ testBundleURL: string;
41194
+ /** Configuration settings */
41195
+ configuration: TranscendConsentManagerConfigGql;
41196
+ /** Partition info */
41197
+ partition?: {
41198
+ /** Partition value */partition: string;
41199
+ };
41200
+ }
41201
+ /** Full response from FETCH_CONSENT_MANAGER */
41202
+ interface TranscendCliFetchConsentManagerResponse {
41203
+ /** Consent manager wrapper */
41204
+ consentManager: {
41205
+ /** Consent manager object */consentManager: TranscendConsentManagerGql;
41206
+ };
41207
+ }
41208
+ declare const FETCH_CONSENT_MANAGER: string;
41209
+ /** Consent manager theme fields */
41210
+ interface TranscendConsentManagerThemeGql {
41211
+ /** Primary color */
41212
+ primaryColor: string;
41213
+ /** Font color */
41214
+ fontColor: string;
41215
+ /** Privacy policy URL */
41216
+ privacyPolicy?: string;
41217
+ /** Auto-prompt setting */
41218
+ prompt: number;
41219
+ }
41220
+ /** Full response from FETCH_CONSENT_MANAGER_THEME */
41221
+ interface TranscendCliFetchConsentManagerThemeResponse {
41222
+ /** Theme wrapper */
41223
+ consentManagerTheme: {
41224
+ /** Theme object */theme: TranscendConsentManagerThemeGql;
41225
+ };
41226
+ }
41227
+ declare const FETCH_CONSENT_MANAGER_THEME: string;
41228
+ /** Shared response type for mutations that return only clientMutationId */
41229
+ interface TranscendClientMutationIdResponse {
41230
+ /** Mutation result keyed by mutation name */
41231
+ [key: string]: {
41232
+ /** Client mutation ID */clientMutationId: string | null;
41233
+ };
41234
+ }
41235
+ declare const CREATE_CONSENT_MANAGER: string;
41236
+ declare const UPDATE_CONSENT_MANAGER_VERSION: string;
41237
+ declare const UPDATE_CONSENT_MANAGER_TO_LATEST: string;
41238
+ declare const DEPLOY_CONSENT_MANAGER: string;
41239
+ declare const UPDATE_CONSENT_MANAGER_DOMAINS: string;
41240
+ declare const UPDATE_CONSENT_MANAGER_PARTITION: string;
41241
+ declare const UPDATE_LOAD_OPTIONS: string;
41242
+ declare const TOGGLE_UNKNOWN_REQUEST_POLICY: string;
41243
+ declare const TOGGLE_UNKNOWN_COOKIE_POLICY: string;
41244
+ declare const TOGGLE_TELEMETRY_PARTITION_STRATEGY: string;
41245
+ declare const TOGGLE_CONSENT_PRECEDENCE: string;
41246
+ declare const UPDATE_CONSENT_MANAGER_THEME: string;
41247
+ //#endregion
40603
41248
  //#region src/consent/fetchConsentManagerId.d.ts
40604
41249
  interface ConsentManager {
40605
41250
  /** ID of consent manager */
@@ -40632,8 +41277,8 @@ interface ConsentManager {
40632
41277
  * @param options - Options
40633
41278
  * @returns Consent manager ID in organization
40634
41279
  */
40635
- declare function fetchConsentManager(client: GraphQLClient, options: {
40636
- /** Logger instance */logger: Logger;
41280
+ declare function fetchConsentManager(client: GraphQLClient, options?: {
41281
+ /** Logger instance */logger?: Logger;
40637
41282
  }): Promise<ConsentManager>;
40638
41283
  /**
40639
41284
  * Fetch consent manager ID
@@ -40642,8 +41287,8 @@ declare function fetchConsentManager(client: GraphQLClient, options: {
40642
41287
  * @param options - Options
40643
41288
  * @returns Consent manager ID in organization
40644
41289
  */
40645
- declare function fetchConsentManagerId(client: GraphQLClient, options: {
40646
- /** Logger instance */logger: Logger; /** Max number of requests to send */
41290
+ declare function fetchConsentManagerId(client: GraphQLClient, options?: {
41291
+ /** Logger instance */logger?: Logger; /** Max number of requests to send */
40647
41292
  maxRequests?: number;
40648
41293
  }): Promise<string>;
40649
41294
  interface ConsentExperience {
@@ -40690,8 +41335,8 @@ interface ConsentExperience {
40690
41335
  * @param options - Options
40691
41336
  * @returns Consent manager experiences in the organization
40692
41337
  */
40693
- declare function fetchConsentManagerExperiences(client: GraphQLClient, options: {
40694
- /** Logger instance */logger: Logger;
41338
+ declare function fetchConsentManagerExperiences(client: GraphQLClient, options?: {
41339
+ /** Logger instance */logger?: Logger;
40695
41340
  }): Promise<ConsentExperience[]>;
40696
41341
  /**
40697
41342
  * The allowed bin sizes for pulling consent metrics
@@ -40725,19 +41370,9 @@ declare function fetchConsentManagerAnalyticsData(client: GraphQLClient, input:
40725
41370
  airgapBundleId: string; /** Bin interval */
40726
41371
  binInterval: ConsentManagerMetricBin; /** Whether or not to smooth the time series */
40727
41372
  smoothTimeseries: false;
40728
- }, options: {
40729
- /** Logger instance */logger: Logger;
41373
+ }, options?: {
41374
+ /** Logger instance */logger?: Logger;
40730
41375
  }): Promise<ConsentManagerMetric[]>;
40731
- interface ConsentManagerTheme {
40732
- /** Primary color */
40733
- primaryColor: string;
40734
- /** Font color */
40735
- fontColor: string;
40736
- /** Privacy policy URL */
40737
- privacyPolicy?: string;
40738
- /** Auto-prompt setting */
40739
- prompt: number;
40740
- }
40741
41376
  /**
40742
41377
  * Fetch consent manager theme
40743
41378
  *
@@ -40746,9 +41381,12 @@ interface ConsentManagerTheme {
40746
41381
  * @param options - Options
40747
41382
  * @returns Consent manager ID in organization
40748
41383
  */
40749
- declare function fetchConsentManagerTheme(client: GraphQLClient, airgapBundleId: string, options: {
40750
- /** Logger instance */logger: Logger;
40751
- }): Promise<ConsentManagerTheme>;
41384
+ declare function fetchConsentManagerTheme(client: GraphQLClient, options: {
41385
+ /** Logger instance */logger?: Logger; /** Filter options */
41386
+ filterBy: {
41387
+ /** Airgap bundle ID to fetch for */airgapBundleId: string;
41388
+ };
41389
+ }): Promise<TranscendConsentManagerThemeGql>;
40752
41390
  //#endregion
40753
41391
  //#region src/consent/fetchPrivacyCenterId.d.ts
40754
41392
  /**
@@ -40758,8 +41396,8 @@ declare function fetchConsentManagerTheme(client: GraphQLClient, airgapBundleId:
40758
41396
  * @param options - Options
40759
41397
  * @returns Privacy center URL in organization
40760
41398
  */
40761
- declare function fetchPrivacyCenterUrl(client: GraphQLClient, options: {
40762
- /** Logger instance */logger: Logger;
41399
+ declare function fetchPrivacyCenterUrl(client: GraphQLClient, options?: {
41400
+ /** Logger instance */logger?: Logger;
40763
41401
  }): Promise<string>;
40764
41402
  /**
40765
41403
  * Fetch privacy center ID
@@ -40768,38 +41406,210 @@ declare function fetchPrivacyCenterUrl(client: GraphQLClient, options: {
40768
41406
  * @param options - Options
40769
41407
  * @returns Privacy center ID in organization
40770
41408
  */
40771
- declare function fetchPrivacyCenterId(client: GraphQLClient, options: {
40772
- /** Logger instance */logger: Logger; /** URL to look up */
40773
- url?: string;
41409
+ declare function fetchPrivacyCenterId(client: GraphQLClient, options?: {
41410
+ /** Logger instance */logger?: Logger; /** Filter options */
41411
+ filterBy?: {
41412
+ /** URL to look up */url?: string;
41413
+ };
40774
41414
  }): Promise<string>;
40775
41415
  //#endregion
40776
- //#region src/consent/gqls/consentManager.d.ts
41416
+ //#region src/consent/gqls/experiences.d.ts
41417
+ /** Region associated with a consent experience */
41418
+ interface TranscendExperienceRegionGql {
41419
+ /** ISO country subdivision code */
41420
+ countrySubDivision?: string;
41421
+ /** ISO country code */
41422
+ country?: string;
41423
+ }
41424
+ /** Experience purpose reference */
41425
+ interface TranscendExperiencePurposeGql {
41426
+ /** Purpose display name */
41427
+ name: string;
41428
+ /** Purpose slug */
41429
+ trackingType: string;
41430
+ }
41431
+ /** Consent experience (regional regime) returned by EXPERIENCES query */
41432
+ interface TranscendExperienceGql {
41433
+ /** Experience ID */
41434
+ id: string;
41435
+ /** Internal name */
41436
+ name: string;
41437
+ /** Display name shown to users */
41438
+ displayName?: string;
41439
+ /** Regions where this experience applies */
41440
+ regions: TranscendExperienceRegionGql[];
41441
+ /** Whether regions list is inclusive or exclusive */
41442
+ operator: string;
41443
+ /** Display priority for ordering */
41444
+ displayPriority: number;
41445
+ /** Behavior on consent expiry */
41446
+ onConsentExpiry: string;
41447
+ /** Consent expiry duration */
41448
+ consentExpiry: number;
41449
+ /** Initial view state for auto-prompting */
41450
+ viewState: string;
41451
+ /** Purposes that can be opted out of */
41452
+ purposes: TranscendExperiencePurposeGql[];
41453
+ /** Purposes opted out by default */
41454
+ optedOutPurposes: TranscendExperiencePurposeGql[];
41455
+ /** Browser languages for this experience */
41456
+ browserLanguages: string[];
41457
+ /** Browser time zones for this experience */
41458
+ browserTimeZones: string[];
41459
+ }
41460
+ /** Full response from the EXPERIENCES query */
41461
+ interface TranscendCliExperiencesResponse {
41462
+ /** Experiences result */
41463
+ experiences: {
41464
+ /** Total count of experiences */totalCount: number; /** List of experience nodes */
41465
+ nodes: TranscendExperienceGql[];
41466
+ };
41467
+ }
40777
41468
  declare const EXPERIENCES: string;
40778
- declare const CONSENT_PARTITIONS: string;
40779
- declare const CREATE_DATA_FLOWS: string;
40780
- declare const UPDATE_DATA_FLOWS: string;
40781
- declare const UPDATE_OR_CREATE_COOKIES: string;
40782
- declare const DATA_FLOWS: string;
40783
- declare const COOKIES: string;
40784
- declare const FETCH_CONSENT_MANAGER_ID: string;
40785
- declare const FETCH_CONSENT_MANAGER: string;
40786
- declare const FETCH_CONSENT_MANAGER_THEME: string;
40787
- declare const CREATE_CONSENT_MANAGER: string;
40788
- declare const UPDATE_CONSENT_MANAGER_VERSION: string;
40789
- declare const UPDATE_CONSENT_MANAGER_TO_LATEST: string;
40790
- declare const DEPLOY_CONSENT_MANAGER: string;
40791
- declare const UPDATE_CONSENT_MANAGER_DOMAINS: string;
40792
- declare const UPDATE_CONSENT_MANAGER_PARTITION: string;
40793
- declare const UPDATE_LOAD_OPTIONS: string;
40794
- declare const TOGGLE_UNKNOWN_REQUEST_POLICY: string;
40795
- declare const TOGGLE_UNKNOWN_COOKIE_POLICY: string;
40796
- declare const TOGGLE_TELEMETRY_PARTITION_STRATEGY: string;
40797
- declare const TOGGLE_CONSENT_PRECEDENCE: string;
40798
- declare const UPDATE_CONSENT_MANAGER_THEME: string;
41469
+ /** Full response from the UPDATE_CONSENT_EXPERIENCE mutation */
41470
+ interface TranscendCliUpdateConsentExperienceResponse {
41471
+ /** Mutation result */
41472
+ updateExperience: {
41473
+ /** Client mutation ID */clientMutationId: string | null;
41474
+ };
41475
+ }
40799
41476
  declare const UPDATE_CONSENT_EXPERIENCE: string;
41477
+ /** Full response from the CREATE_CONSENT_EXPERIENCE mutation */
41478
+ interface TranscendCliCreateConsentExperienceResponse {
41479
+ /** Mutation result */
41480
+ createExperience: {
41481
+ /** Client mutation ID */clientMutationId: string | null;
41482
+ };
41483
+ }
40800
41484
  declare const CREATE_CONSENT_EXPERIENCE: string;
41485
+ //#endregion
41486
+ //#region src/consent/gqls/purposes.d.ts
41487
+ /** Preference topic title translation */
41488
+ interface TranscendPreferenceTopicTitle {
41489
+ /** Translated description */
41490
+ description: string;
41491
+ }
41492
+ /** Preference topic linked to a purpose */
41493
+ interface TranscendPreferenceTopicGql {
41494
+ /** Topic ID */
41495
+ id: string;
41496
+ /** Topic slug */
41497
+ slug: string;
41498
+ /** Topic title with translations */
41499
+ title: TranscendPreferenceTopicTitle;
41500
+ /** Display color */
41501
+ color: string;
41502
+ }
41503
+ /** Data silo (integration) mapped to a purpose */
41504
+ interface TranscendMappedDataSiloGql {
41505
+ /** Data silo ID */
41506
+ id: string;
41507
+ /** Data silo display title */
41508
+ title: string;
41509
+ /** Data silo type */
41510
+ type: string;
41511
+ }
41512
+ /** Tracking purpose returned by the PURPOSES query */
41513
+ interface TranscendPurposeGql {
41514
+ /** Purpose ID */
41515
+ id: string;
41516
+ /** Purpose display name */
41517
+ name: string;
41518
+ /** Purpose description */
41519
+ description: string | null;
41520
+ /** Default consent state */
41521
+ defaultConsent: string;
41522
+ /** Purpose slug */
41523
+ trackingType: string;
41524
+ /** Whether the purpose is user-configurable */
41525
+ configurable: boolean;
41526
+ /** Whether the purpose is essential (non-optional) */
41527
+ essential: boolean;
41528
+ /** Whether the purpose appears in the consent manager UI */
41529
+ showInConsentManager: boolean;
41530
+ /** Whether the purpose is currently active */
41531
+ isActive: boolean;
41532
+ /** Display ordering weight */
41533
+ displayOrder: number;
41534
+ /** Signals that trigger automatic opt-out (e.g. GPC) */
41535
+ optOutSignals: string[];
41536
+ /** Soft-deletion timestamp, null if active */
41537
+ deletedAt: string | null;
41538
+ /** Authentication level required */
41539
+ authLevel: string;
41540
+ /** Whether the purpose appears in the privacy center */
41541
+ showInPrivacyCenter: boolean;
41542
+ /** Localized display title */
41543
+ title: string | null;
41544
+ /** Linked preference topics */
41545
+ preferenceTopics: TranscendPreferenceTopicGql[];
41546
+ /** Number of data points tracked under this purpose */
41547
+ purposeDataPointCount: number;
41548
+ /** Number of preference topic option value data points */
41549
+ preferenceTopicOptionValueDataPointCount: number;
41550
+ /** Data silos mapped to this purpose */
41551
+ mappedDataSilos: TranscendMappedDataSiloGql[];
41552
+ }
41553
+ /** Full response from the PURPOSES query */
41554
+ interface TranscendCliPurposesResponse {
41555
+ /** Purposes result */
41556
+ purposes: {
41557
+ /** List of purpose nodes */nodes: TranscendPurposeGql[]; /** Total count of purposes */
41558
+ totalCount: number;
41559
+ };
41560
+ }
41561
+ declare const PURPOSES: string;
41562
+ //#endregion
41563
+ //#region src/consent/gqls/partitions.d.ts
41564
+ /** Consent partition node */
41565
+ interface TranscendConsentPartitionGql {
41566
+ /** Partition ID */
41567
+ id: string;
41568
+ /** Partition name */
41569
+ name: string;
41570
+ /** Partition key */
41571
+ partition: string;
41572
+ }
41573
+ /** Full response from the CONSENT_PARTITIONS query */
41574
+ interface TranscendCliConsentPartitionsResponse {
41575
+ /** Partitions result */
41576
+ consentPartitions: {
41577
+ /** List of partition nodes */nodes: TranscendConsentPartitionGql[];
41578
+ };
41579
+ }
41580
+ declare const CONSENT_PARTITIONS: string;
41581
+ /** Full response from the CREATE_CONSENT_PARTITION mutation */
41582
+ interface TranscendCliCreateConsentPartitionResponse {
41583
+ /** Mutation result */
41584
+ createConsentPartition: {
41585
+ /** Client mutation ID */clientMutationId: string | null;
41586
+ };
41587
+ }
40801
41588
  declare const CREATE_CONSENT_PARTITION: string;
40802
41589
  //#endregion
41590
+ //#region src/consent/gqls/stats.d.ts
41591
+ /** Stats counts returned by COOKIE_STATS and DATA_FLOW_STATS */
41592
+ interface TranscendTrackerStatsGql {
41593
+ /** Number of live (approved) items */
41594
+ liveCount: number;
41595
+ /** Number of items needing review */
41596
+ needReviewCount: number;
41597
+ /** Number of junked items */
41598
+ junkCount: number;
41599
+ }
41600
+ /** Full response from the COOKIE_STATS query */
41601
+ interface TranscendCliCookieStatsResponse {
41602
+ /** Cookie stats result */
41603
+ cookieStats: TranscendTrackerStatsGql;
41604
+ }
41605
+ declare const COOKIE_STATS: string;
41606
+ /** Full response from the DATA_FLOW_STATS query */
41607
+ interface TranscendCliDataFlowStatsResponse {
41608
+ /** Data flow stats result */
41609
+ dataFlowStats: TranscendTrackerStatsGql;
41610
+ }
41611
+ declare const DATA_FLOW_STATS: string;
41612
+ //#endregion
40803
41613
  //#region src/consent/gqls/consentManagerMetrics.d.ts
40804
41614
  declare const CONSENT_MANAGER_ANALYTICS_DATA: string;
40805
41615
  //#endregion
@@ -40892,8 +41702,8 @@ interface ConsentManagerInput {
40892
41702
  * @param experiences - The experience inputs
40893
41703
  * @param options - Options
40894
41704
  */
40895
- declare function syncConsentManagerExperiences(client: GraphQLClient, experiences: ConsentManageExperienceInput[], options: {
40896
- /** Logger instance */logger: Logger;
41705
+ declare function syncConsentManagerExperiences(client: GraphQLClient, experiences: ConsentManageExperienceInput[], options?: {
41706
+ /** Logger instance */logger?: Logger;
40897
41707
  }): Promise<void>;
40898
41708
  /**
40899
41709
  * Sync the consent manager
@@ -40902,8 +41712,8 @@ declare function syncConsentManagerExperiences(client: GraphQLClient, experience
40902
41712
  * @param consentManager - The consent manager input
40903
41713
  * @param options - Options
40904
41714
  */
40905
- declare function syncConsentManager(client: GraphQLClient, consentManager: ConsentManagerInput, options: {
40906
- /** Logger instance */logger: Logger;
41715
+ declare function syncConsentManager(client: GraphQLClient, consentManager: ConsentManagerInput, options?: {
41716
+ /** Logger instance */logger?: Logger;
40907
41717
  }): Promise<void>;
40908
41718
  //#endregion
40909
41719
  //#region src/consent/syncCookies.d.ts
@@ -40934,11 +41744,11 @@ interface CookieInput {
40934
41744
  * Update or create cookies
40935
41745
  *
40936
41746
  * @param client - GraphQL client
40937
- * @param cookieInputs - List of cookie inputs
40938
41747
  * @param options - Options
40939
41748
  */
40940
- declare function updateOrCreateCookies(client: GraphQLClient, cookieInputs: CookieInput[], options: {
40941
- /** Logger instance */logger: Logger;
41749
+ declare function updateOrCreateCookies(client: GraphQLClient, options: {
41750
+ /** List of cookie inputs */input: CookieInput[]; /** Logger instance */
41751
+ logger?: Logger;
40942
41752
  }): Promise<void>;
40943
41753
  /**
40944
41754
  * Sync the set of cookies into the product
@@ -40948,8 +41758,8 @@ declare function updateOrCreateCookies(client: GraphQLClient, cookieInputs: Cook
40948
41758
  * @param options - Options
40949
41759
  * @returns True upon success, false upon failure
40950
41760
  */
40951
- declare function syncCookies(client: GraphQLClient, cookies: CookieInput[], options: {
40952
- /** Logger instance */logger: Logger;
41761
+ declare function syncCookies(client: GraphQLClient, cookies: CookieInput[], options?: {
41762
+ /** Logger instance */logger?: Logger;
40953
41763
  }): Promise<boolean>;
40954
41764
  //#endregion
40955
41765
  //#region src/consent/syncDataFlows.d.ts
@@ -40989,46 +41799,39 @@ interface DataFlowInput {
40989
41799
  * Update data flows that already existed
40990
41800
  *
40991
41801
  * @param client - GraphQL client
40992
- * @param dataFlowInputs - [DataFlowInput, Data Flow ID] mappings to update
40993
- * @param classifyService - Classify service if missing
40994
41802
  * @param options - Options
40995
41803
  */
40996
- declare function updateDataFlows(client: GraphQLClient, dataFlowInputs: [DataFlowInput, string][], classifyService: boolean | undefined, options: {
40997
- /** Logger instance */logger: Logger;
41804
+ declare function updateDataFlows(client: GraphQLClient, options: {
41805
+ /** [DataFlowInput, Data Flow ID] mappings to update */input: [DataFlowInput, string][]; /** Classify service if missing */
41806
+ classifyService?: boolean; /** Logger instance */
41807
+ logger?: Logger;
40998
41808
  }): Promise<void>;
40999
41809
  /**
41000
41810
  * Create new data flows
41001
41811
  *
41002
41812
  * @param client - GraphQL client
41003
41813
  * @param dataFlowInputs - List of data flows to create
41004
- * @param classifyService - Classify service if missing
41005
41814
  * @param options - Options
41006
41815
  */
41007
- declare function createDataFlows(client: GraphQLClient, dataFlowInputs: DataFlowInput[], classifyService: boolean | undefined, options: {
41008
- /** Logger instance */logger: Logger;
41816
+ declare function createDataFlows(client: GraphQLClient, options: {
41817
+ /** Data flow inputs to create */input: DataFlowInput[]; /** Classify service if missing */
41818
+ classifyService?: boolean; /** Logger instance */
41819
+ logger?: Logger;
41009
41820
  }): Promise<void>;
41010
41821
  /**
41011
41822
  * Sync data flow configurations into Transcend
41012
41823
  *
41013
41824
  * @param client - GraphQL client
41014
41825
  * @param dataFlows - The data flows to upload
41015
- * @param classifyService - When true, auto classify the service based on the data flow value
41016
41826
  * @param options - Options
41017
41827
  * @returns True if the command ran successfully, returns false if an error occurred
41018
41828
  */
41019
- declare function syncDataFlows(client: GraphQLClient, dataFlows: DataFlowInput[], classifyService: boolean, options: {
41020
- /** Logger instance */logger: Logger;
41829
+ declare function syncDataFlows(client: GraphQLClient, dataFlows: DataFlowInput[], options?: {
41830
+ /** When true, auto classify the service based on the data flow value */classifyService?: boolean; /** Logger instance */
41831
+ logger?: Logger;
41021
41832
  }): Promise<boolean>;
41022
41833
  //#endregion
41023
41834
  //#region src/consent/syncPartitions.d.ts
41024
- interface TranscendPartition {
41025
- /** ID of the partition */
41026
- id: string;
41027
- /** Name of partition */
41028
- name: string;
41029
- /** Partition value */
41030
- partition: string;
41031
- }
41032
41835
  interface PartitionInput {
41033
41836
  /** Name of partition */
41034
41837
  name: string;
@@ -41042,9 +41845,9 @@ interface PartitionInput {
41042
41845
  * @param options - Options
41043
41846
  * @returns Partition list
41044
41847
  */
41045
- declare function fetchPartitions(client: GraphQLClient, options: {
41046
- /** Logger instance */logger: Logger;
41047
- }): Promise<TranscendPartition[]>;
41848
+ declare function fetchPartitions(client: GraphQLClient, options?: {
41849
+ /** Logger instance */logger?: Logger;
41850
+ }): Promise<TranscendConsentPartitionGql[]>;
41048
41851
  /**
41049
41852
  * Sync the consent partitions
41050
41853
  *
@@ -41053,8 +41856,8 @@ declare function fetchPartitions(client: GraphQLClient, options: {
41053
41856
  * @param options - Options
41054
41857
  * @returns True on success
41055
41858
  */
41056
- declare function syncPartitions(client: GraphQLClient, partitionInputs: PartitionInput[], options: {
41057
- /** Logger instance */logger: Logger;
41859
+ declare function syncPartitions(client: GraphQLClient, partitionInputs: PartitionInput[], options?: {
41860
+ /** Logger instance */logger?: Logger;
41058
41861
  }): Promise<boolean>;
41059
41862
  //#endregion
41060
41863
  //#region src/consent/syncPolicies.d.ts
@@ -41074,11 +41877,11 @@ interface PolicyInput {
41074
41877
  * Update or create policies
41075
41878
  *
41076
41879
  * @param client - GraphQL client
41077
- * @param policyInputs - List of policy input
41078
41880
  * @param options - Options
41079
41881
  */
41080
- declare function updatePolicies(client: GraphQLClient, policyInputs: [PolicyInput, string | undefined][], options: {
41081
- /** Logger instance */logger: Logger;
41882
+ declare function updatePolicies(client: GraphQLClient, options: {
41883
+ /** [PolicyInput, policyId] list */input: [PolicyInput, string | undefined][]; /** Logger instance */
41884
+ logger?: Logger;
41082
41885
  }): Promise<void>;
41083
41886
  /**
41084
41887
  * Sync the set of policies from the YML interface into the product
@@ -41088,8 +41891,8 @@ declare function updatePolicies(client: GraphQLClient, policyInputs: [PolicyInpu
41088
41891
  * @param options - Options
41089
41892
  * @returns True upon success, false upon failure
41090
41893
  */
41091
- declare function syncPolicies(client: GraphQLClient, policies: PolicyInput[], options: {
41092
- /** Logger instance */logger: Logger;
41894
+ declare function syncPolicies(client: GraphQLClient, policies: PolicyInput[], options?: {
41895
+ /** Logger instance */logger?: Logger;
41093
41896
  }): Promise<boolean>;
41094
41897
  //#endregion
41095
41898
  //#region src/consent/syncPrivacyCenter.d.ts
@@ -41145,8 +41948,8 @@ interface PrivacyCenterInput {
41145
41948
  * @param options - Options
41146
41949
  * @returns Whether the privacy center was synced successfully
41147
41950
  */
41148
- declare function syncPrivacyCenter(client: GraphQLClient, privacyCenter: PrivacyCenterInput, options: {
41149
- /** Logger instance */logger: Logger;
41951
+ declare function syncPrivacyCenter(client: GraphQLClient, privacyCenter: PrivacyCenterInput, options?: {
41952
+ /** Logger instance */logger?: Logger;
41150
41953
  }): Promise<boolean>;
41151
41954
  //#endregion
41152
41955
  //#region src/consent/syncProcessingPurposes.d.ts
@@ -41175,18 +41978,19 @@ interface ProcessingPurposeInput {
41175
41978
  * @param options - Options
41176
41979
  * @returns Created processing purpose
41177
41980
  */
41178
- declare function createProcessingPurpose(client: GraphQLClient, processingPurpose: ProcessingPurposeInput, options: {
41179
- /** Logger instance */logger: Logger;
41981
+ declare function createProcessingPurpose(client: GraphQLClient, options: {
41982
+ /** Processing purpose to create */input: ProcessingPurposeInput; /** Logger instance */
41983
+ logger?: Logger;
41180
41984
  }): Promise<Pick<ProcessingPurposeSubCategory, 'id' | 'name' | 'purpose'>>;
41181
41985
  /**
41182
41986
  * Input to update processing purposes
41183
41987
  *
41184
41988
  * @param client - GraphQL client
41185
- * @param processingPurposeIdPairs - [ProcessingPurposeInput, processingPurposeId] list
41186
41989
  * @param options - Options
41187
41990
  */
41188
- declare function updateProcessingPurposes(client: GraphQLClient, processingPurposeIdPairs: [ProcessingPurposeInput, string][], options: {
41189
- /** Logger instance */logger: Logger;
41991
+ declare function updateProcessingPurposes(client: GraphQLClient, options: {
41992
+ /** [ProcessingPurposeInput, processingPurposeId] list */input: [ProcessingPurposeInput, string][]; /** Logger instance */
41993
+ logger?: Logger;
41190
41994
  }): Promise<void>;
41191
41995
  /**
41192
41996
  * Sync the data inventory processing purposes
@@ -41196,10 +42000,842 @@ declare function updateProcessingPurposes(client: GraphQLClient, processingPurpo
41196
42000
  * @param options - Options
41197
42001
  * @returns True if run without error, returns false if an error occurred
41198
42002
  */
41199
- declare function syncProcessingPurposes(client: GraphQLClient, inputs: ProcessingPurposeInput[], options: {
41200
- /** Logger instance */logger: Logger;
42003
+ declare function syncProcessingPurposes(client: GraphQLClient, inputs: ProcessingPurposeInput[], options?: {
42004
+ /** Logger instance */logger?: Logger;
41201
42005
  }): Promise<boolean>;
41202
42006
  //#endregion
42007
+ //#region src/dsr-automation/fetchAllRequestEnrichers.d.ts
42008
+ interface RequestEnricher {
42009
+ /** ID of request enricher */
42010
+ id: string;
42011
+ /** Name of identifier */
42012
+ enricher: {
42013
+ /** ID of enricher */id: string; /** Title of enricher */
42014
+ title: string; /** Typeof of enricher */
42015
+ type: string;
42016
+ };
42017
+ /** The status of the enricher */
42018
+ status: RequestEnricherStatus;
42019
+ }
42020
+ /**
42021
+ * Fetch all request enrichers for a particular request
42022
+ *
42023
+ * @param client - GraphQL client
42024
+ * @param options - Options
42025
+ * @returns List of request enrichers
42026
+ */
42027
+ declare function fetchAllRequestEnrichers(client: GraphQLClient, options: {
42028
+ /** Logger instance */logger?: Logger; /** Filter options */
42029
+ filterBy: {
42030
+ /** ID of request to filter on */requestId: string;
42031
+ };
42032
+ }): Promise<RequestEnricher[]>;
42033
+ //#endregion
42034
+ //#region src/dsr-automation/fetchAllRequestIdentifiers.d.ts
42035
+ declare const RequestIdentifier: t.TypeC<{
42036
+ /** ID of request */id: t.StringC; /** Name of identifier */
42037
+ name: t.StringC; /** The underlying identifier value */
42038
+ value: t.StringC; /** Type of identifier */
42039
+ type: t.KeyofC<{
42040
+ email: unknown;
42041
+ phone: unknown;
42042
+ coreIdentifier: unknown;
42043
+ custom: unknown;
42044
+ gaid: unknown;
42045
+ idfa: unknown;
42046
+ idfv: unknown;
42047
+ browserId: unknown;
42048
+ microsoftAdvertisingId: unknown;
42049
+ amazonFireAdvertisingId: unknown;
42050
+ rida: unknown;
42051
+ filestackHandle: unknown;
42052
+ stripeId: unknown;
42053
+ braintreeCustomerId: unknown;
42054
+ chargebeeId: unknown;
42055
+ thriveTrmContactId: unknown;
42056
+ talkableUUID: unknown;
42057
+ recurlyId: unknown;
42058
+ customerIoId: unknown;
42059
+ sprigVisitorId: unknown;
42060
+ linkedInURL: unknown;
42061
+ advertisingId: unknown;
42062
+ personaReferenceId: unknown;
42063
+ streamUserId: unknown;
42064
+ plaidProcessorToken: unknown;
42065
+ onfidoApplicantId: unknown;
42066
+ veroUserId: unknown;
42067
+ adobeAdvertisingCloudId: unknown;
42068
+ adobeAudienceManagerId: unknown;
42069
+ adobeExperienceCloudId: unknown;
42070
+ adobeTargetId: unknown;
42071
+ transcend: unknown;
42072
+ }>;
42073
+ }>;
42074
+ /** Type override */
42075
+ type RequestIdentifier = t.TypeOf<typeof RequestIdentifier>;
42076
+ declare const RequestIdentifiersResponse: t.TypeC<{
42077
+ identifiers: t.ArrayC<t.TypeC<{
42078
+ /** ID of request */id: t.StringC; /** Name of identifier */
42079
+ name: t.StringC; /** The underlying identifier value */
42080
+ value: t.StringC; /** Type of identifier */
42081
+ type: t.KeyofC<{
42082
+ email: unknown;
42083
+ phone: unknown;
42084
+ coreIdentifier: unknown;
42085
+ custom: unknown;
42086
+ gaid: unknown;
42087
+ idfa: unknown;
42088
+ idfv: unknown;
42089
+ browserId: unknown;
42090
+ microsoftAdvertisingId: unknown;
42091
+ amazonFireAdvertisingId: unknown;
42092
+ rida: unknown;
42093
+ filestackHandle: unknown;
42094
+ stripeId: unknown;
42095
+ braintreeCustomerId: unknown;
42096
+ chargebeeId: unknown;
42097
+ thriveTrmContactId: unknown;
42098
+ talkableUUID: unknown;
42099
+ recurlyId: unknown;
42100
+ customerIoId: unknown;
42101
+ sprigVisitorId: unknown;
42102
+ linkedInURL: unknown;
42103
+ advertisingId: unknown;
42104
+ personaReferenceId: unknown;
42105
+ streamUserId: unknown;
42106
+ plaidProcessorToken: unknown;
42107
+ onfidoApplicantId: unknown;
42108
+ veroUserId: unknown;
42109
+ adobeAdvertisingCloudId: unknown;
42110
+ adobeAudienceManagerId: unknown;
42111
+ adobeExperienceCloudId: unknown;
42112
+ adobeTargetId: unknown;
42113
+ transcend: unknown;
42114
+ }>;
42115
+ }>>;
42116
+ }>;
42117
+ /**
42118
+ * Validate that the Sombra version meets the minimum requirement for
42119
+ * decrypting request identifiers. Call once before bulk-fetching identifiers
42120
+ * to avoid repeating this check on every request.
42121
+ *
42122
+ * @param client - GraphQL client
42123
+ * @param options - Options
42124
+ */
42125
+ declare function validateSombraVersion(client: GraphQLClient, options?: {
42126
+ /** Logger instance */logger?: Logger;
42127
+ }): Promise<void>;
42128
+ /**
42129
+ * Fetch all request identifiers for a particular request
42130
+ *
42131
+ * @param client - GraphQL client
42132
+ * @param sombra - Sombra client
42133
+ * @param options - Options
42134
+ * @returns List of request identifiers
42135
+ */
42136
+ declare function fetchAllRequestIdentifiers(client: GraphQLClient, sombra: Got, options: {
42137
+ /** Filter options */filterBy: {
42138
+ /** ID of request to filter on */requestId: string;
42139
+ }; /** Skip the Sombra version check (caller already validated) */
42140
+ skipSombraCheck?: boolean; /** Logger instance */
42141
+ logger?: Logger;
42142
+ }): Promise<RequestIdentifier[]>;
42143
+ //#endregion
42144
+ //#region src/dsr-automation/fetchAllRequestIdentifierMetadata.d.ts
42145
+ interface RequestIdentifierMetadata {
42146
+ /** ID of request identifier */
42147
+ id: string;
42148
+ /** Name of identifier */
42149
+ name: string;
42150
+ /** Status of identifier */
42151
+ isVerifiedAtLeastOnce: boolean;
42152
+ }
42153
+ /**
42154
+ * Fetch all request identifier metadata for a particular request
42155
+ *
42156
+ * @param client - GraphQL client
42157
+ * @param options - Filter options
42158
+ * @returns List of request identifiers
42159
+ */
42160
+ declare function fetchAllRequestIdentifierMetadata(client: GraphQLClient, options?: {
42161
+ /** Logger instance */logger?: Logger; /** Filter options */
42162
+ filterBy?: {
42163
+ /** ID of request to filter on */requestId?: string; /** IDs of requests to filter on */
42164
+ requestIds?: string[]; /** Filter for request identifiers updated before this date */
42165
+ updatedAtBefore?: Date; /** Filter for request identifiers updated after this date */
42166
+ updatedAtAfter?: Date;
42167
+ };
42168
+ }): Promise<RequestIdentifierMetadata[]>;
42169
+ //#endregion
42170
+ //#region src/dsr-automation/fetchDataSubjects.d.ts
42171
+ interface DataSubject {
42172
+ /** ID of data subject */
42173
+ id: string;
42174
+ /** Type of data subject */
42175
+ type: string;
42176
+ /** Whether active */
42177
+ active: boolean;
42178
+ /** Title of data subject */
42179
+ title: {
42180
+ /** Default message */defaultMessage: string;
42181
+ };
42182
+ /** Whether silent mode is enabled by default */
42183
+ adminDashboardDefaultSilentMode: boolean;
42184
+ /** Enabled actions */
42185
+ actions: {
42186
+ /** Type of action */type: RequestActionObjectResolver;
42187
+ }[];
42188
+ }
42189
+ /**
42190
+ * Fetch all data subjects in an organization
42191
+ *
42192
+ * @param client - GraphQL client
42193
+ * @param options - Options
42194
+ * @returns List of data subject configurations
42195
+ */
42196
+ declare function fetchAllDataSubjects(client: GraphQLClient, options?: {
42197
+ /** Logger instance */logger?: Logger;
42198
+ }): Promise<DataSubject[]>;
42199
+ /**
42200
+ * Create a single data subject
42201
+ *
42202
+ * @param client - GraphQL client
42203
+ * @param options - Options
42204
+ * @returns Created data subject
42205
+ */
42206
+ declare function createDataSubject(client: GraphQLClient, options: {
42207
+ /** The type string for the new subject */input: string; /** Logger instance */
42208
+ logger?: Logger;
42209
+ }): Promise<DataSubject>;
42210
+ /**
42211
+ * Convert a list of data subject types into the block list of IDs to assign to the data silo
42212
+ *
42213
+ * @param dataSubjectTypes - The list of data subject types that the data silo should be for
42214
+ * @param allDataSubjects - All data subjects in the organization
42215
+ * @returns The block list of data subject ids to not process against this data silo
42216
+ */
42217
+ declare function convertToDataSubjectBlockList(dataSubjectTypes: string[], allDataSubjects: { [type in string]: DataSubject }): string[];
42218
+ /**
42219
+ * Convert a list of data subject types into the allow list of types
42220
+ *
42221
+ * @param dataSubjectTypes - The list of data subject types that the data silo should be for
42222
+ * @param allDataSubjects - All data subjects in the organization
42223
+ * @returns The allow list of data subjects for that silo
42224
+ */
42225
+ declare function convertToDataSubjectAllowlist(dataSubjectTypes: string[], allDataSubjects: { [type in string]: DataSubject }): string[];
42226
+ //#endregion
42227
+ //#region src/dsr-automation/fetchIdentifiers.d.ts
42228
+ interface IdentifiersAndCreateMissingInput {
42229
+ /** Enricher configurations */
42230
+ enrichers?: {
42231
+ /** Input identifier name */'input-identifier'?: string; /** Output identifier names */
42232
+ 'output-identifiers': string[];
42233
+ }[];
42234
+ /** Data silo configurations */
42235
+ 'data-silos'?: {
42236
+ /** Identity keys */'identity-keys'?: string[];
42237
+ }[];
42238
+ /** Identifier configurations */
42239
+ identifiers?: {
42240
+ /** Identifier name */name: string;
42241
+ }[];
42242
+ }
42243
+ /**
42244
+ * Fetch all identifiers and if any are found in the config that are
42245
+ * missing, create those identifiers.
42246
+ *
42247
+ * @param client - GraphQL client
42248
+ * @param options - Options
42249
+ * @returns A map from identifier name to Identifier
42250
+ */
42251
+ declare function fetchIdentifiersAndCreateMissing(client: GraphQLClient, options: {
42252
+ /** Transcend input configuration */input: IdentifiersAndCreateMissingInput; /** When true, skip publishing to privacy center */
42253
+ skipPublish?: boolean; /** Logger instance */
42254
+ logger?: Logger;
42255
+ }): Promise<{ [k in string]: Identifier }>;
42256
+ //#endregion
42257
+ //#region src/dsr-automation/retryRequestEnricher.d.ts
42258
+ /**
42259
+ * Retry a request enricher
42260
+ *
42261
+ * @param client - GraphQL client
42262
+ * @param options - Options
42263
+ */
42264
+ declare function retryRequestEnricher(client: GraphQLClient, options: {
42265
+ /** The ID of the request enricher to restart */id: string; /** Logger instance */
42266
+ logger?: Logger;
42267
+ }): Promise<void>;
42268
+ //#endregion
42269
+ //#region src/dsr-automation/syncDataSubject.d.ts
42270
+ interface DataSubjectInput {
42271
+ /** The type of the data subject */
42272
+ type: string;
42273
+ /** Whether the data subject is active on the Privacy Center & DSR API */
42274
+ active?: boolean;
42275
+ /** The title of the data subject */
42276
+ title?: string;
42277
+ /** Whether or not to default new requests made in the admin dashboard to silent mode */
42278
+ adminDashboardDefaultSilentMode?: boolean;
42279
+ /** Enabled request actions for the data subject */
42280
+ actions?: RequestAction[];
42281
+ }
42282
+ /**
42283
+ * Sync the data subjects
42284
+ *
42285
+ * @param client - GraphQL client
42286
+ * @param options - Options
42287
+ */
42288
+ declare function syncDataSubject(client: GraphQLClient, options: {
42289
+ /** DataSubject update input */input: DataSubjectInput; /** Existing data subject Id */
42290
+ dataSubjectId: string; /** When true, skip publishing to privacy center */
42291
+ skipPublish?: boolean; /** Logger instance */
42292
+ logger?: Logger;
42293
+ }): Promise<void>;
42294
+ //#endregion
42295
+ //#region src/dsr-automation/syncEnrichers.d.ts
42296
+ interface EnricherInput {
42297
+ /** The display title of the enricher */
42298
+ title: string;
42299
+ /** The names of the identifiers that can be resolved by this enricher */
42300
+ 'output-identifiers': string[];
42301
+ /** Internal description for why the enricher is needed */
42302
+ description?: string;
42303
+ /** The URL of the enricher */
42304
+ url?: string;
42305
+ /** The type of enricher */
42306
+ type?: EnricherType;
42307
+ /** The name of the identifier that will be the input to this enricher */
42308
+ 'input-identifier'?: string;
42309
+ /** A regular expression that can be used to match on for cancellation */
42310
+ testRegex?: string;
42311
+ /** For looker integration - the title of the looker query to run */
42312
+ lookerQueryTitle?: string;
42313
+ /** The duration (in ms) that the enricher should take to execute */
42314
+ expirationDuration?: number;
42315
+ /** The status that the enricher should transfer to when condition is met */
42316
+ transitionRequestStatus?: PreflightRequestStatus;
42317
+ /** For twilio integration - the phone numbers that can be used to send text codes */
42318
+ phoneNumbers?: string[];
42319
+ /** The list of regions that should trigger the preflight check */
42320
+ regionList?: (IsoCountryCode | IsoCountrySubdivisionCode)[];
42321
+ /** Specify which data subjects the enricher should run for */
42322
+ 'data-subjects'?: string[];
42323
+ /** Headers to include in the webhook */
42324
+ headers?: {
42325
+ /** Header name */name: string; /** Header value */
42326
+ value: string; /** Whether the value is a secret */
42327
+ isSecret?: boolean;
42328
+ }[];
42329
+ /** The privacy actions that the enricher should run against */
42330
+ 'privacy-actions'?: RequestAction[];
42331
+ }
42332
+ interface Enricher {
42333
+ /** ID of enricher */
42334
+ id: string;
42335
+ /** Title of enricher */
42336
+ title: string;
42337
+ /** URL of enricher */
42338
+ url: string;
42339
+ /** Server silo */
42340
+ type: EnricherType;
42341
+ /** Input identifier */
42342
+ inputIdentifier: {
42343
+ /** Identifier name */name: string;
42344
+ };
42345
+ /** The selected actions */
42346
+ actions: RequestAction[];
42347
+ /** Output identifiers */
42348
+ identifiers: {
42349
+ /** Identifier name */name: string;
42350
+ }[];
42351
+ /** Data subjects that the preflight check is configured for */
42352
+ dataSubjects: {
42353
+ /** Data subject type */type: string;
42354
+ }[];
42355
+ /** The duration (in ms) that the enricher should take to execute. - BigInt */
42356
+ expirationDuration: string;
42357
+ /** Looker query title */
42358
+ lookerQueryTitle?: string;
42359
+ /** A regular expression that can be used to match on for cancelation */
42360
+ testRegex?: string;
42361
+ /** The status that the enricher should transfer to when condition is met. */
42362
+ transitionRequestStatus?: PreflightRequestStatus;
42363
+ /** The twilio phone number to send from */
42364
+ phoneNumbers: string[];
42365
+ /** The list of regions that should trigger the enrichment condition */
42366
+ regionList: (IsoCountryCode | IsoCountrySubdivisionCode)[];
42367
+ }
42368
+ interface DataSubjectRef {
42369
+ /** ID of data subject */
42370
+ id: string;
42371
+ /** Type of data subject */
42372
+ type: string;
42373
+ }
42374
+ /**
42375
+ * Fetch all enrichers in the organization
42376
+ *
42377
+ * @param client - GraphQL client
42378
+ * @param options - Options
42379
+ * @returns All enrichers in the organization
42380
+ */
42381
+ declare function fetchAllEnrichers(client: GraphQLClient, options?: {
42382
+ /** Logger instance */logger?: Logger; /** Filter options */
42383
+ filterBy?: {
42384
+ /** Filter by title */title?: string;
42385
+ };
42386
+ }): Promise<Enricher[]>;
42387
+ /**
42388
+ * Sync an enricher configuration
42389
+ *
42390
+ * @param client - GraphQL client
42391
+ * @param options - Options
42392
+ */
42393
+ declare function syncEnricher(client: GraphQLClient, options: {
42394
+ /** The enricher input */input: EnricherInput; /** Index of identifiers in the organization */
42395
+ identifierByName: { [name in string]: Identifier }; /** Lookup data subject by name */
42396
+ dataSubjectsByName: { [name in string]: DataSubjectRef }; /** Logger instance */
42397
+ logger?: Logger;
42398
+ }): Promise<void>;
42399
+ //#endregion
42400
+ //#region src/dsr-automation/syncIdentifier.d.ts
42401
+ interface IdentifierInput {
42402
+ /** The name of the identifier */
42403
+ name: string;
42404
+ /** The type of the identifier */
42405
+ type: string;
42406
+ /** Regular expression to verify the identifier */
42407
+ regex?: string;
42408
+ /** The fixed set of options that an identifier can take on */
42409
+ selectOptions?: string[];
42410
+ /** Whether or not the identifier is shown in the privacy center form */
42411
+ privacyCenterVisibility?: RequestAction[];
42412
+ /** The set of data subjects that this identifier is enabled for */
42413
+ dataSubjects?: string[];
42414
+ /** When true, the identifier is a required field on the privacy center form */
42415
+ isRequiredInForm?: boolean;
42416
+ /** Placeholder message for identifier */
42417
+ placeholder?: string;
42418
+ /** Display title for identifier */
42419
+ displayTitle?: string;
42420
+ /** Display description for identifier */
42421
+ displayDescription?: string;
42422
+ /** The display order for the identifier */
42423
+ displayOrder?: number;
42424
+ /** Whether or not the identifier is unique on the preference store */
42425
+ isUniqueOnPreferenceStore?: boolean;
42426
+ }
42427
+ /**
42428
+ * Sync a single identifier
42429
+ *
42430
+ * @param client - GraphQL client
42431
+ * @param options - Options
42432
+ */
42433
+ declare function syncIdentifier(client: GraphQLClient, options: {
42434
+ /** Identifier update input */input: IdentifierInput; /** Data subject lookup by name */
42435
+ dataSubjectsByName: { [k in string]: DataSubject }; /** Existing identifier Id */
42436
+ identifierId: string; /** When true, skip publishing to privacy center */
42437
+ skipPublish?: boolean; /** Logger instance */
42438
+ logger?: Logger;
42439
+ }): Promise<void>;
42440
+ //#endregion
42441
+ //#region src/dsr-automation/gqls/dataSubject.d.ts
42442
+ declare const DATA_SUBJECTS: DocumentNode;
42443
+ declare const CREATE_DATA_SUBJECT: DocumentNode;
42444
+ declare const UPDATE_DATA_SUBJECT: DocumentNode;
42445
+ declare const TOGGLE_DATA_SUBJECT: DocumentNode;
42446
+ //#endregion
42447
+ //#region src/dsr-automation/gqls/dsrIdentifier.d.ts
42448
+ declare const NEW_IDENTIFIER_TYPES: DocumentNode;
42449
+ declare const CREATE_IDENTIFIER: DocumentNode;
42450
+ declare const UPDATE_IDENTIFIER: DocumentNode;
42451
+ //#endregion
42452
+ //#region src/dsr-automation/gqls/enricher.d.ts
42453
+ declare const ENRICHERS: string;
42454
+ interface Initializer {
42455
+ /** ID of enricher */
42456
+ id: string;
42457
+ /** Identifiers */
42458
+ identifiers: {
42459
+ /** Name of identifier */name: string;
42460
+ }[];
42461
+ }
42462
+ declare const INITIALIZER: string;
42463
+ declare const CREATE_ENRICHER: string;
42464
+ declare const UPDATE_ENRICHER: string;
42465
+ //#endregion
42466
+ //#region src/dsr-automation/gqls/requestEnricher.d.ts
42467
+ declare const REQUEST_ENRICHERS: string;
42468
+ declare const RETRY_REQUEST_ENRICHER: string;
42469
+ declare const SKIP_REQUEST_ENRICHER: string;
42470
+ //#endregion
42471
+ //#region src/dsr-automation/gqls/requestIdentifier.d.ts
42472
+ declare const REMOVE_REQUEST_IDENTIFIERS: DocumentNode;
42473
+ declare const REQUEST_IDENTIFIERS: DocumentNode;
42474
+ //#endregion
42475
+ //#region src/dsr-automation/gqls/sombraVersion.d.ts
42476
+ declare const SOMBRA_VERSION: DocumentNode;
42477
+ //#endregion
42478
+ //#region src/dsr-automation/fetchActiveSiloDiscoPlugin.d.ts
42479
+ interface Plugin {
42480
+ /** Associated data silo */
42481
+ dataSilo: {
42482
+ /** The type of plugin */type: string;
42483
+ };
42484
+ /** The ID of this plugin */
42485
+ id: string;
42486
+ }
42487
+ interface PluginResponse {
42488
+ /** The key object of the response */
42489
+ plugins: {
42490
+ /** The total count */totalCount: number; /** The list of plugins */
42491
+ plugins: Plugin[];
42492
+ };
42493
+ }
42494
+ /**
42495
+ * Fetch a data silo discovery plugin
42496
+ *
42497
+ * @param client - GraphQL client
42498
+ * @param options - Options
42499
+ * @returns An active data silo plugin (if multiple, returns the first)
42500
+ */
42501
+ declare function fetchActiveSiloDiscoPlugin(client: GraphQLClient, options: {
42502
+ /** Logger instance */logger?: Logger; /** Filter options */
42503
+ filterBy: {
42504
+ /** The data silo to look up plugins for */dataSiloId: string;
42505
+ };
42506
+ }): Promise<Plugin>;
42507
+ //#endregion
42508
+ //#region src/dsr-automation/fetchAllActions.d.ts
42509
+ interface Action {
42510
+ /** ID of identifier */
42511
+ id: string;
42512
+ /** Type of action */
42513
+ type: RequestAction;
42514
+ /** Whether to skip secondary when no files exist */
42515
+ skipSecondaryIfNoFiles: boolean;
42516
+ /** Whether to skip downloadable step */
42517
+ skipDownloadableStep: boolean;
42518
+ /** Whether action requires review */
42519
+ requiresReview: boolean;
42520
+ /** Waiting period for action */
42521
+ waitingPeriod: number;
42522
+ /** Method in which the data subject's region is detected */
42523
+ regionDetectionMethod: RegionDetectionMethod;
42524
+ /** The list of regions to show in the form */
42525
+ regionList: (IsoCountryCode | IsoCountrySubdivisionCode)[];
42526
+ }
42527
+ /**
42528
+ * Fetch all actions in the organization
42529
+ *
42530
+ * @param client - GraphQL client
42531
+ * @param options - Options
42532
+ * @returns All actions in the organization
42533
+ */
42534
+ declare function fetchAllActions(client: GraphQLClient, options?: {
42535
+ /** Logger instance */logger?: Logger;
42536
+ }): Promise<Action[]>;
42537
+ //#endregion
42538
+ //#region src/dsr-automation/fetchAllAttributeKeys.d.ts
42539
+ interface AttributeKey {
42540
+ /** ID of attribute key */
42541
+ id: string;
42542
+ /** Name of attribute key */
42543
+ name: string;
42544
+ /** Attribute key type */
42545
+ type: string;
42546
+ }
42547
+ /**
42548
+ * Fetch all attribute keys enabled for privacy requests
42549
+ *
42550
+ * @param client - GraphQL client
42551
+ * @param options - Options
42552
+ * @returns All attribute keys in the organization
42553
+ */
42554
+ declare function fetchAllRequestAttributeKeys(client: GraphQLClient, options?: {
42555
+ /** Logger instance */logger?: Logger;
42556
+ }): Promise<AttributeKey[]>;
42557
+ //#endregion
42558
+ //#region src/dsr-automation/fetchAllSiloDiscoveryResults.d.ts
42559
+ interface SiloDiscoveryResult {
42560
+ /** Title of silo discovery result */
42561
+ title?: string;
42562
+ /** Resource ID of silo discovery result */
42563
+ resourceId: string;
42564
+ /** Suggested catalog */
42565
+ suggestedCatalog: {
42566
+ /** Title for the suggested catalog */title: string;
42567
+ };
42568
+ /** The likelihood that data is sensitive for this results */
42569
+ containsSensitiveData: string;
42570
+ /** The status of silo discovery triage */
42571
+ status: string;
42572
+ /** Hosting country of data silo discovery result */
42573
+ country?: IsoCountryCode;
42574
+ /** Hosting subdivision data silo discovery result */
42575
+ countrySubDivision?: IsoCountrySubdivisionCode;
42576
+ /** Plaintext context data silo discovery result */
42577
+ plaintextContext: string;
42578
+ /** The plugin that found this result */
42579
+ plugin: {
42580
+ /** The data silo the plugin belongs to */dataSilo: {
42581
+ /** The internal display title */title: string;
42582
+ };
42583
+ };
42584
+ }
42585
+ /**
42586
+ * Fetch all silo discovery results in the organization
42587
+ *
42588
+ * @param client - GraphQL client
42589
+ * @param options - Options
42590
+ * @returns All silo discovery results in the organization
42591
+ */
42592
+ declare function fetchAllSiloDiscoveryResults(client: GraphQLClient, options?: {
42593
+ /** Logger instance */logger?: Logger;
42594
+ }): Promise<SiloDiscoveryResult[]>;
42595
+ //#endregion
42596
+ //#region src/dsr-automation/fetchCatalogs.d.ts
42597
+ interface Catalog {
42598
+ /** Integration name */
42599
+ integrationName: string;
42600
+ /** Title of Data Silo */
42601
+ title: string;
42602
+ /** Whether API is supported */
42603
+ hasApiFunctionality: boolean;
42604
+ }
42605
+ /**
42606
+ * Fetch all integration catalogs in an organization
42607
+ *
42608
+ * @param client - Client
42609
+ * @param options - Options
42610
+ * @returns Integration catalogs
42611
+ */
42612
+ declare function fetchAllCatalogs(client: GraphQLClient, options?: {
42613
+ /** Logger instance */logger?: Logger;
42614
+ }): Promise<Catalog[]>;
42615
+ interface IndexedCatalogs {
42616
+ /** Mapping from service name to service title */
42617
+ serviceToTitle: { [k in string]: string };
42618
+ /** Mapping from service name to boolean indicate if service has API integration support */
42619
+ serviceToSupportedIntegration: { [k in string]: boolean };
42620
+ }
42621
+ /**
42622
+ * Fetch all integration catalogs and index them for usage in common utility manners
42623
+ *
42624
+ * @param client - Client
42625
+ * @param options - Options
42626
+ * @returns Integration catalogs
42627
+ */
42628
+ declare function fetchAndIndexCatalogs(client: GraphQLClient, options?: {
42629
+ /** Logger instance */logger?: Logger;
42630
+ }): Promise<{
42631
+ /** List of all catalogs */catalogs: Catalog[];
42632
+ } & IndexedCatalogs>;
42633
+ //#endregion
42634
+ //#region src/dsr-automation/fetchRequestDataSilo.d.ts
42635
+ interface RequestDataSilo {
42636
+ /** ID of RequestDataSilo */
42637
+ id: string;
42638
+ /** Request */
42639
+ request: {
42640
+ /** Type of request */type: RequestAction;
42641
+ };
42642
+ }
42643
+ interface RequestDataSiloFilters {
42644
+ /** ID of request to filter on */
42645
+ requestId?: string;
42646
+ /** Data silo ID */
42647
+ dataSiloId?: string;
42648
+ /** The statuses to filter on */
42649
+ statuses?: RequestDataSiloStatus[];
42650
+ /** The request statuses to filter on */
42651
+ requestStatuses?: RequestStatus[];
42652
+ }
42653
+ /**
42654
+ * Fetch a count of request data silos
42655
+ *
42656
+ * @param client - GraphQL client
42657
+ * @param options - Options
42658
+ * @returns Count of request data silos
42659
+ */
42660
+ declare function fetchRequestDataSilosCount(client: GraphQLClient, options?: {
42661
+ /** Logger instance */logger?: Logger; /** Filter options */
42662
+ filterBy?: RequestDataSiloFilters;
42663
+ }): Promise<number>;
42664
+ /**
42665
+ * Fetch all request data silos by some filter criteria
42666
+ *
42667
+ * @param client - GraphQL client
42668
+ * @param options - Options
42669
+ * @returns List of request data silos
42670
+ */
42671
+ declare function fetchRequestDataSilos(client: GraphQLClient, options?: {
42672
+ /** Logger instance */logger?: Logger; /** Filter options */
42673
+ filterBy?: RequestDataSiloFilters; /** Limit on number of requests */
42674
+ limit?: number; /** Handle progress updates */
42675
+ onProgress?: (numUpdated: number) => void;
42676
+ }): Promise<RequestDataSilo[]>;
42677
+ /**
42678
+ * Fetch a single request data silo by request and data silo IDs
42679
+ *
42680
+ * @param client - GraphQL client
42681
+ * @param options - Options
42682
+ * @returns The matching request data silo
42683
+ */
42684
+ declare function fetchRequestDataSilo(client: GraphQLClient, options: {
42685
+ /** Logger instance */logger?: Logger; /** Filter options */
42686
+ filterBy: {
42687
+ /** ID of request to filter on */requestId: string; /** Data silo ID */
42688
+ dataSiloId: string;
42689
+ };
42690
+ }): Promise<RequestDataSilo>;
42691
+ //#endregion
42692
+ //#region src/dsr-automation/fetchRequestFilesForRequest.d.ts
42693
+ interface RequestFileCursor {
42694
+ /** The ID of the request file */
42695
+ id: string;
42696
+ /** The created at timestamp */
42697
+ createdAt: string;
42698
+ }
42699
+ interface RequestFile {
42700
+ /** The remote ID */
42701
+ remoteId: string;
42702
+ /** The file name */
42703
+ fileName: string;
42704
+ }
42705
+ interface RequestFileResponse {
42706
+ /** RequestFiles */
42707
+ bulkRequestFiles: {
42708
+ /** List */nodes: RequestFile[]; /** The page info */
42709
+ pageInfo: {
42710
+ /** Whether there is a next page */hasNextPage: boolean; /** The end cursor */
42711
+ endCursor: string;
42712
+ };
42713
+ };
42714
+ }
42715
+ /**
42716
+ * Fetch all RequestFiles for a single request
42717
+ *
42718
+ * @param client - GraphQL client
42719
+ * @param options - Options
42720
+ * @returns All RequestFiles in the organization
42721
+ */
42722
+ declare function fetchRequestFilesForRequest(client: GraphQLClient, options: {
42723
+ /** Logger instance */logger?: Logger; /** How many request files to fetch per API call */
42724
+ pageSize?: number; /** Filter options */
42725
+ filterBy: {
42726
+ /** Filter by request IDs */requestIds: string[]; /** Filter by data silo ID */
42727
+ dataSiloIds: string[];
42728
+ };
42729
+ }): Promise<RequestFile[]>;
42730
+ //#endregion
42731
+ //#region src/dsr-automation/gqls/requestDataSilo.d.ts
42732
+ declare const REQUEST_DATA_SILOS: string;
42733
+ declare const CHANGE_REQUEST_DATA_SILO_STATUS: string;
42734
+ declare const RETRY_REQUEST_DATA_SILO: string;
42735
+ declare const REDUCED_REQUESTS_FOR_DATA_SILO_COUNT: string;
42736
+ //#endregion
42737
+ //#region src/dsr-automation/gqls/requestFile.d.ts
42738
+ declare const REQUEST_FILES: string;
42739
+ declare const BULK_REQUEST_FILES: string;
42740
+ //#endregion
42741
+ //#region src/dsr-automation/syncAction.d.ts
42742
+ interface SyncActionInput {
42743
+ /** Whether to skip secondary when no files exist */
42744
+ skipSecondaryIfNoFiles?: boolean;
42745
+ /** Whether to skip downloadable step */
42746
+ skipDownloadableStep?: boolean;
42747
+ /** Whether the request action requires review */
42748
+ requiresReview?: boolean;
42749
+ /** The wait period for the action */
42750
+ waitingPeriod?: number;
42751
+ /** The method in which the data subject's region is detected */
42752
+ regionDetectionMethod?: string;
42753
+ /** The list of regions to show in the form */
42754
+ regionList?: (IsoCountryCode | IsoCountrySubdivisionCode)[];
42755
+ /** The list of regions NOT to show in the form */
42756
+ regionBlockList?: (IsoCountryCode | IsoCountrySubdivisionCode)[];
42757
+ }
42758
+ /**
42759
+ * Sync the consent manager
42760
+ *
42761
+ * @param client - GraphQL client
42762
+ * @param actionInput - Action update details
42763
+ * @param options - Options
42764
+ */
42765
+ declare function syncAction(client: GraphQLClient, actionInput: {
42766
+ /** Action update input */action: SyncActionInput; /** Existing action Id */
42767
+ actionId: string; /** When true, skip publishing to privacy center */
42768
+ skipPublish?: boolean;
42769
+ }, options?: {
42770
+ /** Logger instance */logger?: Logger;
42771
+ }): Promise<void>;
42772
+ //#endregion
42773
+ //#region src/dsr-automation/syncTemplates.d.ts
42774
+ interface Template {
42775
+ /** ID of Template */
42776
+ id: string;
42777
+ /** Title of Template */
42778
+ title: string;
42779
+ /** Template subject (e.g. email subject) */
42780
+ subject: {
42781
+ /** Default message for template subject */defaultMessage: string;
42782
+ };
42783
+ /** Template body - rich text HTML */
42784
+ template: {
42785
+ /** Default message for template body */defaultMessage: string;
42786
+ };
42787
+ }
42788
+ interface SyncTemplateInput {
42789
+ /** The title of the template */
42790
+ title: string;
42791
+ }
42792
+ /**
42793
+ * Fetch all Templates in the organization
42794
+ *
42795
+ * @param client - GraphQL client
42796
+ * @param options - Options
42797
+ * @returns All Templates in the organization
42798
+ */
42799
+ declare function fetchAllTemplates(client: GraphQLClient, options?: {
42800
+ /** Logger instance */logger?: Logger; /** Filter options */
42801
+ filterBy?: {
42802
+ /** Filter by title */title?: string;
42803
+ };
42804
+ }): Promise<Template[]>;
42805
+ /**
42806
+ * Sync an email template configuration
42807
+ *
42808
+ * @param client - GraphQL client
42809
+ * @param template - The email template input
42810
+ * @param options - Options
42811
+ */
42812
+ declare function syncTemplate(client: GraphQLClient, template: SyncTemplateInput, options?: {
42813
+ /** Logger instance */logger?: Logger;
42814
+ }): Promise<void>;
42815
+ //#endregion
42816
+ //#region src/dsr-automation/uploadSiloDiscoveryResults.d.ts
42817
+ interface SiloDiscoveryRawResult {
42818
+ /** The name of the potential data silo entry */
42819
+ name: string;
42820
+ /** A unique UUID (represents the same resource across different silo discovery runs) */
42821
+ resourceId: string;
42822
+ /** Any hosts associated with the entry */
42823
+ host?: string;
42824
+ /** Type of data silo */
42825
+ type?: string | undefined;
42826
+ }
42827
+ /**
42828
+ * Uploads silo discovery results for Transcend to classify
42829
+ *
42830
+ * @param client - GraphQL Client
42831
+ * @param options - Options
42832
+ */
42833
+ declare function uploadSiloDiscoveryResults(client: GraphQLClient, options: {
42834
+ /** Plugin ID to associate with the results */pluginId: string; /** The discovery results to upload */
42835
+ results: SiloDiscoveryRawResult[]; /** Logger instance */
42836
+ logger?: Logger;
42837
+ }): Promise<void>;
42838
+ //#endregion
41203
42839
  //#region src/ai/addMessagesToPromptRun.d.ts
41204
42840
  interface AddMessagesToPromptRunInput {
41205
42841
  /** ID of run */
@@ -41235,8 +42871,8 @@ declare function addMessagesToPromptRun(client: GraphQLClient, {
41235
42871
  promptRunId,
41236
42872
  promptRunMessages,
41237
42873
  ...rest
41238
- }: AddMessagesToPromptRunInput, options: {
41239
- /** Logger instance */logger: Logger;
42874
+ }: AddMessagesToPromptRunInput, options?: {
42875
+ /** Logger instance */logger?: Logger;
41240
42876
  }): Promise<string>;
41241
42877
  //#endregion
41242
42878
  //#region src/ai/fetchAllAgentFiles.d.ts
@@ -41271,8 +42907,8 @@ interface AgentFileFilterBy {
41271
42907
  * @param options - Options
41272
42908
  * @returns All agent files in the organization
41273
42909
  */
41274
- declare function fetchAllAgentFiles(client: GraphQLClient, options: {
41275
- /** Logger instance */logger: Logger; /** Filter by */
42910
+ declare function fetchAllAgentFiles(client: GraphQLClient, options?: {
42911
+ /** Logger instance */logger?: Logger; /** Filter by */
41276
42912
  filterBy?: AgentFileFilterBy;
41277
42913
  }): Promise<AgentFile[]>;
41278
42914
  //#endregion
@@ -41433,8 +43069,8 @@ interface AgentFunction {
41433
43069
  * @param options - Options
41434
43070
  * @returns All agent functions in the organization
41435
43071
  */
41436
- declare function fetchAllAgentFunctions(client: GraphQLClient, options: {
41437
- /** Logger instance */logger: Logger;
43072
+ declare function fetchAllAgentFunctions(client: GraphQLClient, options?: {
43073
+ /** Logger instance */logger?: Logger;
41438
43074
  }): Promise<AgentFunction[]>;
41439
43075
  //#endregion
41440
43076
  //#region src/ai/fetchAllAgents.d.ts
@@ -41486,8 +43122,8 @@ interface Agent {
41486
43122
  * @param options - Options
41487
43123
  * @returns All agents in the organization
41488
43124
  */
41489
- declare function fetchAllAgents(client: GraphQLClient, options: {
41490
- /** Logger instance */logger: Logger; /** Filter by */
43125
+ declare function fetchAllAgents(client: GraphQLClient, options?: {
43126
+ /** Logger instance */logger?: Logger; /** Filter by */
41491
43127
  filterBy?: {
41492
43128
  /** Names of the agents to filter for */names?: string[]; /** IDs of agents */
41493
43129
  agentIds?: string[];
@@ -41512,8 +43148,8 @@ interface LargeLanguageModel {
41512
43148
  * @param options - Options
41513
43149
  * @returns All LargeLanguageModels in the organization
41514
43150
  */
41515
- declare function fetchAllLargeLanguageModels(client: GraphQLClient, options: {
41516
- /** Logger instance */logger: Logger;
43151
+ declare function fetchAllLargeLanguageModels(client: GraphQLClient, options?: {
43152
+ /** Logger instance */logger?: Logger;
41517
43153
  }): Promise<LargeLanguageModel[]>;
41518
43154
  //#endregion
41519
43155
  //#region src/ai/fetchPromptGroups.d.ts
@@ -41536,8 +43172,8 @@ interface PromptGroup {
41536
43172
  * @param options - Options
41537
43173
  * @returns All PromptGroups in the organization
41538
43174
  */
41539
- declare function fetchAllPromptGroups(client: GraphQLClient, options: {
41540
- /** Logger instance */logger: Logger;
43175
+ declare function fetchAllPromptGroups(client: GraphQLClient, options?: {
43176
+ /** Logger instance */logger?: Logger;
41541
43177
  }): Promise<PromptGroup[]>;
41542
43178
  //#endregion
41543
43179
  //#region src/ai/fetchPromptPartials.d.ts
@@ -41556,8 +43192,8 @@ interface PromptPartial {
41556
43192
  * @param options - Options
41557
43193
  * @returns All PromptPartials in the organization
41558
43194
  */
41559
- declare function fetchAllPromptPartials(client: GraphQLClient, options: {
41560
- /** Logger instance */logger: Logger;
43195
+ declare function fetchAllPromptPartials(client: GraphQLClient, options?: {
43196
+ /** Logger instance */logger?: Logger;
41561
43197
  }): Promise<PromptPartial[]>;
41562
43198
  //#endregion
41563
43199
  //#region src/ai/fetchPrompts.d.ts
@@ -41584,8 +43220,8 @@ interface Prompt {
41584
43220
  * @param options - Options
41585
43221
  * @returns All Prompts in the organization
41586
43222
  */
41587
- declare function fetchAllPrompts(client: GraphQLClient, options: {
41588
- /** Logger instance */logger: Logger; /** Filter options */
43223
+ declare function fetchAllPrompts(client: GraphQLClient, options?: {
43224
+ /** Logger instance */logger?: Logger; /** Filter options */
41589
43225
  filterBy?: {
41590
43226
  /** Filter by text */text?: string; /** Filter by ids */
41591
43227
  ids?: string[]; /** Filter by titles */
@@ -41644,10 +43280,12 @@ type TranscendPromptsAndVariables = {
41644
43280
  * @param options - Options
41645
43281
  * @returns Prompts and template variables
41646
43282
  */
41647
- declare function fetchPromptsWithVariables(client: GraphQLClient, options: {
41648
- /** Logger instance */logger: Logger; /** Filter by prompt titles */
41649
- promptTitles?: string[]; /** Filter by prompt ids */
41650
- promptIds?: string[];
43283
+ declare function fetchPromptsWithVariables(client: GraphQLClient, options?: {
43284
+ /** Logger instance */logger?: Logger; /** Filter options */
43285
+ filterBy?: {
43286
+ /** Filter by prompt titles */titles?: string[]; /** Filter by prompt ids */
43287
+ ids?: string[];
43288
+ };
41651
43289
  }): Promise<TranscendPromptsAndVariables>;
41652
43290
  //#endregion
41653
43291
  //#region src/ai/fetchPromptThreads.d.ts
@@ -41673,7 +43311,7 @@ interface PromptThread {
41673
43311
  * @returns All PromptThreads in the organization
41674
43312
  */
41675
43313
  declare function fetchAllPromptThreads(client: GraphQLClient, options: {
41676
- /** Logger instance */logger: Logger; /** Filter options */
43314
+ /** Logger instance */logger?: Logger; /** Filter options */
41677
43315
  filterBy: {
41678
43316
  /** Thread IDs to filter on */threadIds?: string[]; /** Slack message timestamps to filter on */
41679
43317
  slackMessageTs?: string[];
@@ -41745,8 +43383,8 @@ interface ReportPromptRunInput {
41745
43383
  * @param options - Options
41746
43384
  * @returns Prompt ID
41747
43385
  */
41748
- declare function reportPromptRun(client: GraphQLClient, input: ReportPromptRunInput, options: {
41749
- /** Logger instance */logger: Logger;
43386
+ declare function reportPromptRun(client: GraphQLClient, input: ReportPromptRunInput, options?: {
43387
+ /** Logger instance */logger?: Logger;
41750
43388
  }): Promise<string>;
41751
43389
  //#endregion
41752
43390
  //#region src/ai/syncAgentFiles.d.ts
@@ -41770,18 +43408,19 @@ interface AgentFileInput {
41770
43408
  * @param options - Options
41771
43409
  * @returns Created agent file
41772
43410
  */
41773
- declare function createAgentFile(client: GraphQLClient, agentFile: AgentFileInput, options: {
41774
- /** Logger instance */logger: Logger;
43411
+ declare function createAgentFile(client: GraphQLClient, options: {
43412
+ /** Agent file to create */input: AgentFileInput; /** Logger instance */
43413
+ logger?: Logger;
41775
43414
  }): Promise<Pick<AgentFile, 'id' | 'name' | 'fileId'>>;
41776
43415
  /**
41777
43416
  * Update agent files
41778
43417
  *
41779
43418
  * @param client - GraphQL client
41780
- * @param agentFileIdPairs - [AgentFileInput, agentFileId] list
41781
43419
  * @param options - Options
41782
43420
  */
41783
- declare function updateAgentFiles(client: GraphQLClient, agentFileIdPairs: [AgentFileInput, string][], options: {
41784
- /** Logger instance */logger: Logger;
43421
+ declare function updateAgentFiles(client: GraphQLClient, options: {
43422
+ /** [AgentFileInput, agentFileId] list */input: [AgentFileInput, string][]; /** Logger instance */
43423
+ logger?: Logger;
41785
43424
  }): Promise<void>;
41786
43425
  /**
41787
43426
  * Sync the agent files
@@ -41791,8 +43430,8 @@ declare function updateAgentFiles(client: GraphQLClient, agentFileIdPairs: [Agen
41791
43430
  * @param options - Options
41792
43431
  * @returns True if run without error, returns false if an error occurred
41793
43432
  */
41794
- declare function syncAgentFiles(client: GraphQLClient, inputs: AgentFileInput[], options: {
41795
- /** Logger instance */logger: Logger;
43433
+ declare function syncAgentFiles(client: GraphQLClient, inputs: AgentFileInput[], options?: {
43434
+ /** Logger instance */logger?: Logger;
41796
43435
  }): Promise<boolean>;
41797
43436
  //#endregion
41798
43437
  //#region src/ai/syncAgentFunctions.d.ts
@@ -41812,18 +43451,19 @@ interface AgentFunctionInput {
41812
43451
  * @param options - Options
41813
43452
  * @returns Created agent function
41814
43453
  */
41815
- declare function createAgentFunction(client: GraphQLClient, agentFunction: AgentFunctionInput, options: {
41816
- /** Logger instance */logger: Logger;
43454
+ declare function createAgentFunction(client: GraphQLClient, options: {
43455
+ /** Agent function to create */input: AgentFunctionInput; /** Logger instance */
43456
+ logger?: Logger;
41817
43457
  }): Promise<Pick<AgentFunction, 'id' | 'name'>>;
41818
43458
  /**
41819
43459
  * Update agent functions
41820
43460
  *
41821
43461
  * @param client - GraphQL client
41822
- * @param agentFunctionIdPairs - [AgentFunctionInput, agentFunctionId] list
41823
43462
  * @param options - Options
41824
43463
  */
41825
- declare function updateAgentFunctions(client: GraphQLClient, agentFunctionIdPairs: [AgentFunctionInput, string][], options: {
41826
- /** Logger instance */logger: Logger;
43464
+ declare function updateAgentFunctions(client: GraphQLClient, options: {
43465
+ /** [AgentFunctionInput, agentFunctionId] list */input: [AgentFunctionInput, string][]; /** Logger instance */
43466
+ logger?: Logger;
41827
43467
  }): Promise<void>;
41828
43468
  /**
41829
43469
  * Sync the agent functions
@@ -41833,8 +43473,8 @@ declare function updateAgentFunctions(client: GraphQLClient, agentFunctionIdPair
41833
43473
  * @param options - Options
41834
43474
  * @returns True if run without error, returns false if an error occurred
41835
43475
  */
41836
- declare function syncAgentFunctions(client: GraphQLClient, inputs: AgentFunctionInput[], options: {
41837
- /** Logger instance */logger: Logger;
43476
+ declare function syncAgentFunctions(client: GraphQLClient, inputs: AgentFunctionInput[], options?: {
43477
+ /** Logger instance */logger?: Logger;
41838
43478
  }): Promise<boolean>;
41839
43479
  //#endregion
41840
43480
  //#region src/ai/syncAgents.d.ts
@@ -41863,18 +43503,19 @@ interface AgentInput {
41863
43503
  * @param options - Options
41864
43504
  * @returns Created agent
41865
43505
  */
41866
- declare function createAgent(client: GraphQLClient, agent: AgentInput, options: {
41867
- /** Logger instance */logger: Logger;
43506
+ declare function createAgent(client: GraphQLClient, options: {
43507
+ /** Agent to create */input: AgentInput; /** Logger instance */
43508
+ logger?: Logger;
41868
43509
  }): Promise<Pick<Agent, 'id' | 'name' | 'agentId'>>;
41869
43510
  /**
41870
43511
  * Update agents
41871
43512
  *
41872
43513
  * @param client - GraphQL client
41873
- * @param agentIdPairs - [AgentInput, agentId] list
41874
43514
  * @param options - Options
41875
43515
  */
41876
- declare function updateAgents(client: GraphQLClient, agentIdPairs: [AgentInput, string][], options: {
41877
- /** Logger instance */logger: Logger;
43516
+ declare function updateAgents(client: GraphQLClient, options: {
43517
+ /** [AgentInput, agentId] list */input: [AgentInput, string][]; /** Logger instance */
43518
+ logger?: Logger;
41878
43519
  }): Promise<void>;
41879
43520
  /**
41880
43521
  * Sync the agents
@@ -41884,8 +43525,8 @@ declare function updateAgents(client: GraphQLClient, agentIdPairs: [AgentInput,
41884
43525
  * @param options - Options
41885
43526
  * @returns True if run without error, returns false if an error occurred
41886
43527
  */
41887
- declare function syncAgents(client: GraphQLClient, inputs: AgentInput[], options: {
41888
- /** Logger instance */logger: Logger;
43528
+ declare function syncAgents(client: GraphQLClient, inputs: AgentInput[], options?: {
43529
+ /** Logger instance */logger?: Logger;
41889
43530
  }): Promise<boolean>;
41890
43531
  //#endregion
41891
43532
  //#region src/ai/syncPromptGroups.d.ts
@@ -41913,18 +43554,19 @@ interface EditPromptGroupInput {
41913
43554
  * @param options - Options
41914
43555
  * @returns Prompt group ID
41915
43556
  */
41916
- declare function createPromptGroup(client: GraphQLClient, input: EditPromptGroupInput, options: {
41917
- /** Logger instance */logger: Logger;
43557
+ declare function createPromptGroup(client: GraphQLClient, options: {
43558
+ /** Prompt group to create */input: EditPromptGroupInput; /** Logger instance */
43559
+ logger?: Logger;
41918
43560
  }): Promise<string>;
41919
43561
  /**
41920
43562
  * Update a set of existing prompt groups
41921
43563
  *
41922
43564
  * @param client - GraphQL client
41923
- * @param input - Prompt input
41924
43565
  * @param options - Options
41925
43566
  */
41926
- declare function updatePromptGroups(client: GraphQLClient, input: [EditPromptGroupInput, string][], options: {
41927
- /** Logger instance */logger: Logger;
43567
+ declare function updatePromptGroups(client: GraphQLClient, options: {
43568
+ /** [EditPromptGroupInput, promptGroupId] list */input: [EditPromptGroupInput, string][]; /** Logger instance */
43569
+ logger?: Logger;
41928
43570
  }): Promise<void>;
41929
43571
  /**
41930
43572
  * Sync the prompt groups
@@ -41934,8 +43576,8 @@ declare function updatePromptGroups(client: GraphQLClient, input: [EditPromptGro
41934
43576
  * @param options - Options
41935
43577
  * @returns True if synced successfully
41936
43578
  */
41937
- declare function syncPromptGroups(client: GraphQLClient, promptGroups: PromptGroupInput[], options: {
41938
- /** Logger instance */logger: Logger; /** Concurrency */
43579
+ declare function syncPromptGroups(client: GraphQLClient, promptGroups: PromptGroupInput[], options?: {
43580
+ /** Logger instance */logger?: Logger; /** Concurrency */
41939
43581
  concurrency?: number;
41940
43582
  }): Promise<boolean>;
41941
43583
  //#endregion
@@ -41954,21 +43596,22 @@ interface PromptPartialInput {
41954
43596
  * @param options - Options
41955
43597
  * @returns Prompt partial ID
41956
43598
  */
41957
- declare function createPromptPartial(client: GraphQLClient, input: {
41958
- /** Title of prompt partial */title: string; /** Prompt content */
41959
- content: string;
41960
- }, options: {
41961
- /** Logger instance */logger: Logger;
43599
+ declare function createPromptPartial(client: GraphQLClient, options: {
43600
+ /** Prompt partial to create */input: {
43601
+ /** Title of prompt partial */title: string; /** Prompt content */
43602
+ content: string;
43603
+ }; /** Logger instance */
43604
+ logger?: Logger;
41962
43605
  }): Promise<string>;
41963
43606
  /**
41964
43607
  * Update a set of existing prompt partials
41965
43608
  *
41966
43609
  * @param client - GraphQL client
41967
- * @param input - Prompt input
41968
43610
  * @param options - Options
41969
43611
  */
41970
- declare function updatePromptPartials(client: GraphQLClient, input: [PromptPartialInput, string][], options: {
41971
- /** Logger instance */logger: Logger;
43612
+ declare function updatePromptPartials(client: GraphQLClient, options: {
43613
+ /** [PromptPartialInput, promptPartialId] list */input: [PromptPartialInput, string][]; /** Logger instance */
43614
+ logger?: Logger;
41972
43615
  }): Promise<void>;
41973
43616
  /**
41974
43617
  * Sync the prompt partials
@@ -41978,8 +43621,8 @@ declare function updatePromptPartials(client: GraphQLClient, input: [PromptParti
41978
43621
  * @param options - Options
41979
43622
  * @returns True if synced successfully
41980
43623
  */
41981
- declare function syncPromptPartials(client: GraphQLClient, promptPartials: PromptPartialInput[], options: {
41982
- /** Logger instance */logger: Logger; /** Concurrency */
43624
+ declare function syncPromptPartials(client: GraphQLClient, promptPartials: PromptPartialInput[], options?: {
43625
+ /** Logger instance */logger?: Logger; /** Concurrency */
41983
43626
  concurrency?: number;
41984
43627
  }): Promise<boolean>;
41985
43628
  //#endregion
@@ -42006,21 +43649,22 @@ interface PromptInput {
42006
43649
  * @param options - Options
42007
43650
  * @returns Prompt ID
42008
43651
  */
42009
- declare function createPrompt(client: GraphQLClient, input: {
42010
- /** Title of prompt */title: string; /** Prompt content */
42011
- content: string;
42012
- }, options: {
42013
- /** Logger instance */logger: Logger;
43652
+ declare function createPrompt(client: GraphQLClient, options: {
43653
+ /** Prompt to create */input: {
43654
+ /** Title of prompt */title: string; /** Prompt content */
43655
+ content: string;
43656
+ }; /** Logger instance */
43657
+ logger?: Logger;
42014
43658
  }): Promise<string>;
42015
43659
  /**
42016
43660
  * Update a set of existing prompts
42017
43661
  *
42018
43662
  * @param client - GraphQL client
42019
- * @param input - Prompt input
42020
43663
  * @param options - Options
42021
43664
  */
42022
- declare function updatePrompts(client: GraphQLClient, input: [PromptInput, string][], options: {
42023
- /** Logger instance */logger: Logger;
43665
+ declare function updatePrompts(client: GraphQLClient, options: {
43666
+ /** [PromptInput, promptId] list */input: [PromptInput, string][]; /** Logger instance */
43667
+ logger?: Logger;
42024
43668
  }): Promise<void>;
42025
43669
  /**
42026
43670
  * Sync the prompts
@@ -42030,8 +43674,8 @@ declare function updatePrompts(client: GraphQLClient, input: [PromptInput, strin
42030
43674
  * @param options - Options
42031
43675
  * @returns True if synced successfully
42032
43676
  */
42033
- declare function syncPrompts(client: GraphQLClient, prompts: PromptInput[], options: {
42034
- /** Logger instance */logger: Logger; /** Concurrency */
43677
+ declare function syncPrompts(client: GraphQLClient, prompts: PromptInput[], options?: {
43678
+ /** Logger instance */logger?: Logger; /** Concurrency */
42035
43679
  concurrency?: number;
42036
43680
  }): Promise<boolean>;
42037
43681
  //#endregion
@@ -42055,8 +43699,8 @@ interface ActionItemCollection {
42055
43699
  * @param options - Options
42056
43700
  * @returns All action item collections in the organization
42057
43701
  */
42058
- declare function fetchAllActionItemCollections(client: GraphQLClient, options: {
42059
- /** Logger instance */logger: Logger; /** Filter by */
43702
+ declare function fetchAllActionItemCollections(client: GraphQLClient, options?: {
43703
+ /** Logger instance */logger?: Logger; /** Filter by */
42060
43704
  filterBy?: {
42061
43705
  /** Filter on location */location?: TranscendProduct;
42062
43706
  };
@@ -42138,8 +43782,8 @@ interface ActionItem extends Omit<ActionItemRaw, 'ids' | 'titles' | 'links' | 'n
42138
43782
  * @param options - Options
42139
43783
  * @returns All action items in the organization
42140
43784
  */
42141
- declare function fetchAllActionItems(client: GraphQLClient, options: {
42142
- /** Logger instance */logger: Logger; /** Filter by */
43785
+ declare function fetchAllActionItems(client: GraphQLClient, options?: {
43786
+ /** Logger instance */logger?: Logger; /** Filter by */
42143
43787
  filterBy?: {
42144
43788
  /** Names of the action items to filter for */priority?: ActionItemPriorityOverride[]; /** Type of action item */
42145
43789
  type?: ActionItemCode[]; /** Whether resolved or not */
@@ -42452,8 +44096,8 @@ interface AssessmentResource {
42452
44096
  * @param client - GraphQL client
42453
44097
  * @returns All assessments in the organization
42454
44098
  */
42455
- declare function fetchAllAssessments(client: GraphQLClient, options: {
42456
- /** Logger instance */logger: Logger;
44099
+ declare function fetchAllAssessments(client: GraphQLClient, options?: {
44100
+ /** Logger instance */logger?: Logger;
42457
44101
  }): Promise<Assessment[]>;
42458
44102
  //#endregion
42459
44103
  //#region src/assessments/gqls/assessment.d.ts
@@ -42566,19 +44210,21 @@ interface ActionItemCollectionInput {
42566
44210
  * @param options - Options
42567
44211
  * @returns Created action item collection
42568
44212
  */
42569
- declare function createActionItemCollection(client: GraphQLClient, actionItemCollection: ActionItemCollectionInput, options: {
42570
- /** Logger instance */logger: Logger;
44213
+ declare function createActionItemCollection(client: GraphQLClient, options: {
44214
+ /** Action item collection to create */input: ActionItemCollectionInput; /** Logger instance */
44215
+ logger?: Logger;
42571
44216
  }): Promise<Pick<ActionItemCollection, 'id' | 'title'>>;
42572
44217
  /**
42573
44218
  * Update an action item collection
42574
44219
  *
42575
44220
  * @param client - GraphQL client
42576
- * @param input - Input to update
42577
- * @param actionItemCollectionId - ID of action item collection to update
42578
44221
  * @param options - Options
42579
44222
  */
42580
- declare function updateActionItemCollection(client: GraphQLClient, input: ActionItemCollectionInput, actionItemCollectionId: string, options: {
42581
- /** Logger instance */logger: Logger;
44223
+ declare function updateActionItemCollection(client: GraphQLClient, options: {
44224
+ /** Action item collection input to update */input: ActionItemCollectionInput & {
44225
+ /** ID of action item collection to update */id: string;
44226
+ }; /** Logger instance */
44227
+ logger?: Logger;
42582
44228
  }): Promise<void>;
42583
44229
  /**
42584
44230
  * Sync the action item collections
@@ -42588,8 +44234,8 @@ declare function updateActionItemCollection(client: GraphQLClient, input: Action
42588
44234
  * @param options - Options
42589
44235
  * @returns True if run without error, returns false if an error occurred
42590
44236
  */
42591
- declare function syncActionItemCollections(client: GraphQLClient, inputs: ActionItemCollectionInput[], options: {
42592
- /** Logger instance */logger: Logger;
44237
+ declare function syncActionItemCollections(client: GraphQLClient, inputs: ActionItemCollectionInput[], options?: {
44238
+ /** Logger instance */logger?: Logger;
42593
44239
  }): Promise<boolean>;
42594
44240
  //#endregion
42595
44241
  //#region src/assessments/syncActionItems.d.ts
@@ -42637,20 +44283,23 @@ interface ActionItemInput {
42637
44283
  * @param actionItemCollectionByTitle - Action item collections indexed by title
42638
44284
  * @param options - Options
42639
44285
  */
42640
- declare function createActionItems(client: GraphQLClient, actionItems: ActionItemInput[], actionItemCollectionByTitle: { [k in string]: ActionItemCollection }, options: {
42641
- /** Logger instance */logger: Logger; /** Attribute keys indexed by name */
44286
+ declare function createActionItems(client: GraphQLClient, options: {
44287
+ /** Action items to create */input: ActionItemInput[]; /** Logger instance */
44288
+ logger?: Logger; /** Action item collections indexed by title */
44289
+ actionItemCollectionByTitle: { [k in string]: ActionItemCollection }; /** Attribute keys indexed by name */
42642
44290
  attributeKeysByName?: { [k in string]: ActionItemAttributeKey };
42643
44291
  }): Promise<void>;
42644
44292
  /**
42645
44293
  * Update an action item
42646
44294
  *
42647
44295
  * @param client - GraphQL client
42648
- * @param input - Input to update
42649
- * @param actionItemId - ID of action item to update
42650
44296
  * @param options - Options
42651
44297
  */
42652
- declare function updateActionItem(client: GraphQLClient, input: ActionItemInput, actionItemId: string, options: {
42653
- /** Logger instance */logger: Logger; /** Attribute keys indexed by name */
44298
+ declare function updateActionItem(client: GraphQLClient, options: {
44299
+ /** Action item input to update */input: ActionItemInput & {
44300
+ /** ID of action item to update */id: string;
44301
+ }; /** Logger instance */
44302
+ logger?: Logger; /** Attribute keys indexed by name */
42654
44303
  attributeKeysByName?: { [k in string]: ActionItemAttributeKey };
42655
44304
  }): Promise<void>;
42656
44305
  /**
@@ -42661,8 +44310,8 @@ declare function updateActionItem(client: GraphQLClient, input: ActionItemInput,
42661
44310
  * @param options - Options
42662
44311
  * @returns True if run without error, returns false if an error occurred
42663
44312
  */
42664
- declare function syncActionItems(client: GraphQLClient, inputs: ActionItemInput[], options: {
42665
- /** Logger instance */logger: Logger; /** Pre-fetched attribute keys (pass result of fetchAllAttributes) */
44313
+ declare function syncActionItems(client: GraphQLClient, inputs: ActionItemInput[], options?: {
44314
+ /** Logger instance */logger?: Logger; /** Pre-fetched attribute keys (pass result of fetchAllAttributes) */
42666
44315
  attributeKeys?: ActionItemAttributeKey[];
42667
44316
  }): Promise<boolean>;
42668
44317
  //#endregion
@@ -42707,8 +44356,8 @@ interface CodePackage {
42707
44356
  * @param options - Options
42708
44357
  * @returns All code packages in the organization
42709
44358
  */
42710
- declare function fetchAllCodePackages(client: GraphQLClient, options: {
42711
- /** Logger instance */logger: Logger;
44359
+ declare function fetchAllCodePackages(client: GraphQLClient, options?: {
44360
+ /** Logger instance */logger?: Logger;
42712
44361
  }): Promise<CodePackage[]>;
42713
44362
  //#endregion
42714
44363
  //#region src/code-intelligence/fetchAllRepositories.d.ts
@@ -42739,8 +44388,8 @@ interface Repository {
42739
44388
  * @param options - Options
42740
44389
  * @returns All repositories in the organization
42741
44390
  */
42742
- declare function fetchAllRepositories(client: GraphQLClient, options: {
42743
- /** Logger instance */logger: Logger;
44391
+ declare function fetchAllRepositories(client: GraphQLClient, options?: {
44392
+ /** Logger instance */logger?: Logger;
42744
44393
  }): Promise<Repository[]>;
42745
44394
  //#endregion
42746
44395
  //#region src/code-intelligence/fetchAllSoftwareDevelopmentKits.d.ts
@@ -42775,8 +44424,8 @@ interface SoftwareDevelopmentKit {
42775
44424
  * @param options - Options
42776
44425
  * @returns All software development kits in the organization
42777
44426
  */
42778
- declare function fetchAllSoftwareDevelopmentKits(client: GraphQLClient, options: {
42779
- /** Logger instance */logger: Logger;
44427
+ declare function fetchAllSoftwareDevelopmentKits(client: GraphQLClient, options?: {
44428
+ /** Logger instance */logger?: Logger;
42780
44429
  }): Promise<SoftwareDevelopmentKit[]>;
42781
44430
  //#endregion
42782
44431
  //#region src/code-intelligence/gqls/codePackage.d.ts
@@ -42801,36 +44450,37 @@ interface RepositoryInput {
42801
44450
  * @param options - Options
42802
44451
  * @returns Created repository
42803
44452
  */
42804
- declare function createRepository(client: GraphQLClient, input: {
42805
- /** Title of repository */name: string; /** Description of the repository */
42806
- description?: string; /** Github repository */
42807
- url: string; /** User IDs of owners */
42808
- ownerIds?: string[]; /** Emails of owners */
42809
- ownerEmails?: string[]; /** Team IDs */
42810
- teamIds?: string[]; /** Team names */
42811
- teamNames?: string[];
42812
- }, options: {
42813
- /** Logger instance */logger: Logger;
44453
+ declare function createRepository(client: GraphQLClient, options: {
44454
+ /** Repository to create */input: {
44455
+ /** Title of repository */name: string; /** Description of the repository */
44456
+ description?: string; /** Github repository */
44457
+ url: string; /** User IDs of owners */
44458
+ ownerIds?: string[]; /** Emails of owners */
44459
+ ownerEmails?: string[]; /** Team IDs */
44460
+ teamIds?: string[]; /** Team names */
44461
+ teamNames?: string[];
44462
+ }; /** Logger instance */
44463
+ logger?: Logger;
42814
44464
  }): Promise<Repository>;
42815
44465
  /**
42816
44466
  * Update an existing repository
42817
44467
  *
42818
44468
  * @param client - GraphQL client
42819
- * @param inputs - Repository input
42820
44469
  * @param options - Options
42821
44470
  * @returns Updated repositories
42822
44471
  */
42823
- declare function updateRepositories(client: GraphQLClient, inputs: {
42824
- /** ID of repository */id: string; /** Title of repository */
42825
- name?: string; /** Description of the repository */
42826
- description?: string; /** Github repository */
42827
- url?: string; /** User IDs of owners */
42828
- ownerIds?: string[]; /** Emails of owners */
42829
- ownerEmails?: string[]; /** Team IDs */
42830
- teamIds?: string[]; /** Team names */
42831
- teamNames?: string[];
42832
- }[], options: {
42833
- /** Logger instance */logger: Logger;
44472
+ declare function updateRepositories(client: GraphQLClient, options: {
44473
+ /** Repository inputs to update */input: {
44474
+ /** ID of repository */id: string; /** Title of repository */
44475
+ name?: string; /** Description of the repository */
44476
+ description?: string; /** Github repository */
44477
+ url?: string; /** User IDs of owners */
44478
+ ownerIds?: string[]; /** Emails of owners */
44479
+ ownerEmails?: string[]; /** Team IDs */
44480
+ teamIds?: string[]; /** Team names */
44481
+ teamNames?: string[];
44482
+ }[]; /** Logger instance */
44483
+ logger?: Logger;
42834
44484
  }): Promise<Repository[]>;
42835
44485
  /**
42836
44486
  * Sync the repositories
@@ -42840,8 +44490,8 @@ declare function updateRepositories(client: GraphQLClient, inputs: {
42840
44490
  * @param options - Options
42841
44491
  * @returns The repositories that were upserted and whether the sync was successful
42842
44492
  */
42843
- declare function syncRepositories(client: GraphQLClient, repositories: RepositoryInput[], options: {
42844
- /** Logger instance */logger: Logger; /** Concurrency */
44493
+ declare function syncRepositories(client: GraphQLClient, repositories: RepositoryInput[], options?: {
44494
+ /** Logger instance */logger?: Logger; /** Concurrency */
42845
44495
  concurrency?: number;
42846
44496
  }): Promise<{
42847
44497
  /** The repositories that were upserted */repositories: Repository[]; /** If successful */
@@ -42871,45 +44521,46 @@ interface SoftwareDevelopmentKitInput {
42871
44521
  * @param options - Options
42872
44522
  * @returns Created software development kit
42873
44523
  */
42874
- declare function createSoftwareDevelopmentKit(client: GraphQLClient, input: {
42875
- /** Title of software development kit */name: string; /** Code package type */
42876
- codePackageType: CodePackageType; /** Description of the SDK */
42877
- description?: string; /** Github repository */
42878
- repositoryUrl?: string; /** Integration name */
42879
- catalogIntegrationName?: string; /** Doc links */
42880
- documentationLinks?: string[]; /** Code package IDs */
42881
- codePackageIds?: string[]; /** Code package names */
42882
- codePackageNames?: string[]; /** User IDs of owners */
42883
- ownerIds?: string[]; /** Emails of owners */
42884
- ownerEmails?: string[]; /** Team IDs */
42885
- teamIds?: string[]; /** Team names */
42886
- teamNames?: string[];
42887
- }, options: {
42888
- /** Logger instance */logger: Logger;
44524
+ declare function createSoftwareDevelopmentKit(client: GraphQLClient, options: {
44525
+ /** Software development kit to create */input: {
44526
+ /** Title of software development kit */name: string; /** Code package type */
44527
+ codePackageType: CodePackageType; /** Description of the SDK */
44528
+ description?: string; /** Github repository */
44529
+ repositoryUrl?: string; /** Integration name */
44530
+ catalogIntegrationName?: string; /** Doc links */
44531
+ documentationLinks?: string[]; /** Code package IDs */
44532
+ codePackageIds?: string[]; /** Code package names */
44533
+ codePackageNames?: string[]; /** User IDs of owners */
44534
+ ownerIds?: string[]; /** Emails of owners */
44535
+ ownerEmails?: string[]; /** Team IDs */
44536
+ teamIds?: string[]; /** Team names */
44537
+ teamNames?: string[];
44538
+ }; /** Logger instance */
44539
+ logger?: Logger;
42889
44540
  }): Promise<SoftwareDevelopmentKit>;
42890
44541
  /**
42891
44542
  * Update an existing software development kit
42892
44543
  *
42893
44544
  * @param client - GraphQL client
42894
- * @param inputs - Software development kit input
42895
44545
  * @param options - Options
42896
44546
  * @returns Updated software development kits
42897
44547
  */
42898
- declare function updateSoftwareDevelopmentKits(client: GraphQLClient, inputs: {
42899
- /** ID of software development kit */id: string; /** Title of software development kit */
42900
- name?: string; /** Description of the SDK */
42901
- description?: string; /** Github repository */
42902
- repositoryUrl?: string; /** Integration name */
42903
- catalogIntegrationName?: string; /** Doc links */
42904
- documentationLinks?: string[]; /** Code package IDs */
42905
- codePackageIds?: string[]; /** Code package names */
42906
- codePackageNames?: string[]; /** User IDs of owners */
42907
- ownerIds?: string[]; /** Emails of owners */
42908
- ownerEmails?: string[]; /** Team IDs */
42909
- teamIds?: string[]; /** Team names */
42910
- teamNames?: string[];
42911
- }[], options: {
42912
- /** Logger instance */logger: Logger;
44548
+ declare function updateSoftwareDevelopmentKits(client: GraphQLClient, options: {
44549
+ /** Software development kit inputs to update */input: {
44550
+ /** ID of software development kit */id: string; /** Title of software development kit */
44551
+ name?: string; /** Description of the SDK */
44552
+ description?: string; /** Github repository */
44553
+ repositoryUrl?: string; /** Integration name */
44554
+ catalogIntegrationName?: string; /** Doc links */
44555
+ documentationLinks?: string[]; /** Code package IDs */
44556
+ codePackageIds?: string[]; /** Code package names */
44557
+ codePackageNames?: string[]; /** User IDs of owners */
44558
+ ownerIds?: string[]; /** Emails of owners */
44559
+ ownerEmails?: string[]; /** Team IDs */
44560
+ teamIds?: string[]; /** Team names */
44561
+ teamNames?: string[];
44562
+ }[]; /** Logger instance */
44563
+ logger?: Logger;
42913
44564
  }): Promise<SoftwareDevelopmentKit[]>;
42914
44565
  /**
42915
44566
  * Sync the software development kits
@@ -42919,244 +44570,14 @@ declare function updateSoftwareDevelopmentKits(client: GraphQLClient, inputs: {
42919
44570
  * @param options - Options
42920
44571
  * @returns The software development kits that were upserted and whether the sync was successful
42921
44572
  */
42922
- declare function syncSoftwareDevelopmentKits(client: GraphQLClient, softwareDevelopmentKits: SoftwareDevelopmentKitInput[], options: {
42923
- /** Logger instance */logger: Logger; /** Concurrency */
44573
+ declare function syncSoftwareDevelopmentKits(client: GraphQLClient, softwareDevelopmentKits: SoftwareDevelopmentKitInput[], options?: {
44574
+ /** Logger instance */logger?: Logger; /** Concurrency */
42924
44575
  concurrency?: number;
42925
44576
  }): Promise<{
42926
44577
  /** The SDKs that were upserted */softwareDevelopmentKits: SoftwareDevelopmentKit[]; /** If successful */
42927
44578
  success: boolean;
42928
44579
  }>;
42929
44580
  //#endregion
42930
- //#region src/dsr-automation/fetchActiveSiloDiscoPlugin.d.ts
42931
- interface Plugin {
42932
- /** Associated data silo */
42933
- dataSilo: {
42934
- /** The type of plugin */type: string;
42935
- };
42936
- /** The ID of this plugin */
42937
- id: string;
42938
- }
42939
- interface PluginResponse {
42940
- /** The key object of the response */
42941
- plugins: {
42942
- /** The total count */totalCount: number; /** The list of plugins */
42943
- plugins: Plugin[];
42944
- };
42945
- }
42946
- /**
42947
- * Fetch a data silo discovery plugin
42948
- *
42949
- * @param client - GraphQL client
42950
- * @param dataSiloId - The data silo to look up plugins for
42951
- * @param options - Options
42952
- * @returns An active data silo plugin (if multiple, returns the first)
42953
- */
42954
- declare function fetchActiveSiloDiscoPlugin(client: GraphQLClient, dataSiloId: string, options: {
42955
- /** Logger instance */logger: Logger;
42956
- }): Promise<Plugin>;
42957
- //#endregion
42958
- //#region src/dsr-automation/fetchAllActions.d.ts
42959
- interface Action {
42960
- /** ID of identifier */
42961
- id: string;
42962
- /** Type of action */
42963
- type: RequestAction;
42964
- /** Whether to skip secondary when no files exist */
42965
- skipSecondaryIfNoFiles: boolean;
42966
- /** Whether to skip downloadable step */
42967
- skipDownloadableStep: boolean;
42968
- /** Whether action requires review */
42969
- requiresReview: boolean;
42970
- /** Waiting period for action */
42971
- waitingPeriod: number;
42972
- /** Method in which the data subject's region is detected */
42973
- regionDetectionMethod: RegionDetectionMethod;
42974
- /** The list of regions to show in the form */
42975
- regionList: (IsoCountryCode | IsoCountrySubdivisionCode)[];
42976
- }
42977
- /**
42978
- * Fetch all actions in the organization
42979
- *
42980
- * @param client - GraphQL client
42981
- * @param options - Options
42982
- * @returns All actions in the organization
42983
- */
42984
- declare function fetchAllActions(client: GraphQLClient, options: {
42985
- /** Logger instance */logger: Logger;
42986
- }): Promise<Action[]>;
42987
- //#endregion
42988
- //#region src/dsr-automation/fetchAllSiloDiscoveryResults.d.ts
42989
- interface SiloDiscoveryResult {
42990
- /** Title of silo discovery result */
42991
- title?: string;
42992
- /** Resource ID of silo discovery result */
42993
- resourceId: string;
42994
- /** Suggested catalog */
42995
- suggestedCatalog: {
42996
- /** Title for the suggested catalog */title: string;
42997
- };
42998
- /** The likelihood that data is sensitive for this results */
42999
- containsSensitiveData: string;
43000
- /** The status of silo discovery triage */
43001
- status: string;
43002
- /** Hosting country of data silo discovery result */
43003
- country?: IsoCountryCode;
43004
- /** Hosting subdivision data silo discovery result */
43005
- countrySubDivision?: IsoCountrySubdivisionCode;
43006
- /** Plaintext context data silo discovery result */
43007
- plaintextContext: string;
43008
- /** The plugin that found this result */
43009
- plugin: {
43010
- /** The data silo the plugin belongs to */dataSilo: {
43011
- /** The internal display title */title: string;
43012
- };
43013
- };
43014
- }
43015
- /**
43016
- * Fetch all silo discovery results in the organization
43017
- *
43018
- * @param client - GraphQL client
43019
- * @param options - Options
43020
- * @returns All silo discovery results in the organization
43021
- */
43022
- declare function fetchAllSiloDiscoveryResults(client: GraphQLClient, options: {
43023
- /** Logger instance */logger: Logger;
43024
- }): Promise<SiloDiscoveryResult[]>;
43025
- //#endregion
43026
- //#region src/dsr-automation/fetchCatalogs.d.ts
43027
- interface Catalog {
43028
- /** Integration name */
43029
- integrationName: string;
43030
- /** Title of Data Silo */
43031
- title: string;
43032
- /** Whether API is supported */
43033
- hasApiFunctionality: boolean;
43034
- }
43035
- /**
43036
- * Fetch all integration catalogs in an organization
43037
- *
43038
- * @param client - Client
43039
- * @param options - Options
43040
- * @returns Integration catalogs
43041
- */
43042
- declare function fetchAllCatalogs(client: GraphQLClient, options: {
43043
- /** Logger instance */logger: Logger;
43044
- }): Promise<Catalog[]>;
43045
- interface IndexedCatalogs {
43046
- /** Mapping from service name to service title */
43047
- serviceToTitle: { [k in string]: string };
43048
- /** Mapping from service name to boolean indicate if service has API integration support */
43049
- serviceToSupportedIntegration: { [k in string]: boolean };
43050
- }
43051
- /**
43052
- * Fetch all integration catalogs and index them for usage in common utility manners
43053
- *
43054
- * @param client - Client
43055
- * @param options - Options
43056
- * @returns Integration catalogs
43057
- */
43058
- declare function fetchAndIndexCatalogs(client: GraphQLClient, options: {
43059
- /** Logger instance */logger: Logger;
43060
- }): Promise<{
43061
- /** List of all catalogs */catalogs: Catalog[];
43062
- } & IndexedCatalogs>;
43063
- //#endregion
43064
- //#region src/dsr-automation/syncAction.d.ts
43065
- interface SyncActionInput {
43066
- /** Whether to skip secondary when no files exist */
43067
- skipSecondaryIfNoFiles?: boolean;
43068
- /** Whether to skip downloadable step */
43069
- skipDownloadableStep?: boolean;
43070
- /** Whether the request action requires review */
43071
- requiresReview?: boolean;
43072
- /** The wait period for the action */
43073
- waitingPeriod?: number;
43074
- /** The method in which the data subject's region is detected */
43075
- regionDetectionMethod?: string;
43076
- /** The list of regions to show in the form */
43077
- regionList?: (IsoCountryCode | IsoCountrySubdivisionCode)[];
43078
- /** The list of regions NOT to show in the form */
43079
- regionBlockList?: (IsoCountryCode | IsoCountrySubdivisionCode)[];
43080
- }
43081
- /**
43082
- * Sync the consent manager
43083
- *
43084
- * @param client - GraphQL client
43085
- * @param actionInput - Action update details
43086
- * @param options - Options
43087
- */
43088
- declare function syncAction(client: GraphQLClient, actionInput: {
43089
- /** Action update input */action: SyncActionInput; /** Existing action Id */
43090
- actionId: string; /** When true, skip publishing to privacy center */
43091
- skipPublish?: boolean;
43092
- }, options: {
43093
- /** Logger instance */logger: Logger;
43094
- }): Promise<void>;
43095
- //#endregion
43096
- //#region src/dsr-automation/syncTemplates.d.ts
43097
- interface Template {
43098
- /** ID of Template */
43099
- id: string;
43100
- /** Title of Template */
43101
- title: string;
43102
- /** Template subject (e.g. email subject) */
43103
- subject: {
43104
- /** Default message for template subject */defaultMessage: string;
43105
- };
43106
- /** Template body - rich text HTML */
43107
- template: {
43108
- /** Default message for template body */defaultMessage: string;
43109
- };
43110
- }
43111
- interface SyncTemplateInput {
43112
- /** The title of the template */
43113
- title: string;
43114
- }
43115
- /**
43116
- * Fetch all Templates in the organization
43117
- *
43118
- * @param client - GraphQL client
43119
- * @param options - Options
43120
- * @returns All Templates in the organization
43121
- */
43122
- declare function fetchAllTemplates(client: GraphQLClient, options: {
43123
- /** Filter by title */title?: string; /** Logger instance */
43124
- logger: Logger;
43125
- }): Promise<Template[]>;
43126
- /**
43127
- * Sync an email template configuration
43128
- *
43129
- * @param client - GraphQL client
43130
- * @param template - The email template input
43131
- * @param options - Options
43132
- */
43133
- declare function syncTemplate(client: GraphQLClient, template: SyncTemplateInput, options: {
43134
- /** Logger instance */logger: Logger;
43135
- }): Promise<void>;
43136
- //#endregion
43137
- //#region src/dsr-automation/uploadSiloDiscoveryResults.d.ts
43138
- interface SiloDiscoveryRawResult {
43139
- /** The name of the potential data silo entry */
43140
- name: string;
43141
- /** A unique UUID (represents the same resource across different silo discovery runs) */
43142
- resourceId: string;
43143
- /** Any hosts associated with the entry */
43144
- host?: string;
43145
- /** Type of data silo */
43146
- type?: string | undefined;
43147
- }
43148
- /**
43149
- * Uploads silo discovery results for Transcend to classify
43150
- *
43151
- * @param client - GraphQL Client
43152
- * @param pluginId - pluginID to associate with the results
43153
- * @param results - The results
43154
- * @param options - Options
43155
- */
43156
- declare function uploadSiloDiscoveryResults(client: GraphQLClient, pluginId: string, results: SiloDiscoveryRawResult[], options: {
43157
- /** Logger instance */logger: Logger;
43158
- }): Promise<void>;
43159
- //#endregion
43160
44581
  //#region src/index.d.ts
43161
44582
  interface MonorepoPackageDefinition {
43162
44583
  directory: string;
@@ -43165,5 +44586,5 @@ interface MonorepoPackageDefinition {
43165
44586
  }
43166
44587
  declare function createMonorepoPackageDefinition(name: string, directory: string): MonorepoPackageDefinition;
43167
44588
  //#endregion
43168
- export { ASSESSMENTS, ASSESSMENT_SECTION_FIELDS, ATTRIBUTE_KEYS_REQUESTS, Action, ActionItem, ActionItemAttributeKey, ActionItemCollection, ActionItemCollectionInput, ActionItemInput, ActionItemRaw, AddMessagesToPromptRunInput, Agent, AgentFile, AgentFileFilterBy, AgentFileInput, AgentFunction, AgentFunctionInput, AgentInput, ApiKey, Assessment, AssessmentAction, AssessmentAnswer, AssessmentAnswerOption, AssessmentComment, AssessmentGroup, AssessmentNestedRule, AssessmentPreviousSubmission, AssessmentQuestion, AssessmentResource, AssessmentRiskLogic, AssessmentRule, AssessmentRuleWithOperands, AssessmentRuleWithoutOperands, AssessmentSection, Attribute, AttributeInput, AttributeValue, AttributeValueInput, BusinessEntity, BusinessEntityInput, CODE_PACKAGES, CONSENT_MANAGER_ANALYTICS_DATA, CONSENT_PARTITIONS, COOKIES, CREATE_CODE_PACKAGE, CREATE_CONSENT_EXPERIENCE, CREATE_CONSENT_MANAGER, CREATE_CONSENT_PARTITION, CREATE_DATA_FLOWS, CREATE_PROCESSING_PURPOSE_SUB_CATEGORY, Catalog, ChunkMode, CodePackage, ColumnIdentifierMap, ColumnMetadataMap, ColumnPurposeMap, ConsentExperience, ConsentManageExperienceInput, ConsentManager, ConsentManagerInput, ConsentManagerMetric, ConsentManagerMetricBin, ConsentManagerTheme, ConsentPreferenceResponse, Cookie, CookieInput, CreatedApiKey, DATA_FLOWS, DEPLOYED_PRIVACY_CENTER_URL, DEPLOY_CONSENT_MANAGER, DataCategoryInput, DataFlow, DataFlowAttributeInput, DataFlowInput, DataSubCategory, DeletePreferenceRecordCliCsvRow, DeletePreferenceRecordsInput, DeletePreferenceRecordsResponse, EXPERIENCES, EditPromptGroupInput, ExternalUser, FETCH_CONSENT_MANAGER, FETCH_CONSENT_MANAGER_ID, FETCH_CONSENT_MANAGER_THEME, FETCH_PRIVACY_CENTER_ID, FailingPreferenceUpdates, FetchApiKeysInput, FileFormatState, FileMetadataState, IMPORT_ONE_TRUST_ASSESSMENT_FORMS, Identifier, IdentifierMetadataForPreference, IndexedCatalogs, IntlMessageInput, LargeLanguageModel, Message, MetadataMapping, MonorepoPackageDefinition, OrganizationPreview, POLICIES, PRIVACY_CENTER, PROCESSING_PURPOSE_SUB_CATEGORIES, PartitionInput, PendingSafePreferenceUpdates, PendingWithConflictPreferenceUpdates, Plugin, PluginResponse, Policy, PolicyInput, PreferenceAccessTokenInput, PreferenceAccessTokenInputWithIndex, PreferenceIdentifier, PreferenceState, PreferenceTopic, PreferenceUpdateMap, PreferenceUploadReferenceData, PreferencesQueryFilter, PrivacyCenter, PrivacyCenterInput, ProcessingActivity, ProcessingActivityInput, ProcessingPurposeInput, ProcessingPurposeSubCategory, Prompt, PromptCalculatedVariable, PromptGroup, PromptGroupInput, PromptInput, PromptPartial, PromptPartialInput, PromptRuntimeVariable, PromptThread, Purpose, PurposeRowMapping, PurposeWithPreferences, RETRY_PREFERENCE_MSGS, Region, RegionInput, ReportPromptRunInput, Repository, RepositoryInput, RequestUploadReceipts, RetentionSchedule, RetryOptions, RiskCategory, RiskFramework, RiskLevel, RiskMatrix, RiskMatrixColumn, RiskMatrixRow, SYNC_ATTRIBUTE_TYPES, SiloDiscoveryRawResult, SiloDiscoveryResult, SkippedPreferenceUpdates, SoftwareDevelopmentKit, SoftwareDevelopmentKitInput, SyncActionInput, SyncTemplateInput, TOGGLE_CONSENT_PRECEDENCE, TOGGLE_TELEMETRY_PARTITION_STRATEGY, TOGGLE_UNKNOWN_COOKIE_POLICY, TOGGLE_UNKNOWN_REQUEST_POLICY, Team, TeamInput, Template, TranscendPartition, TranscendPromptPartialTemplated, TranscendPromptTemplated, TranscendPromptsAndVariables, UPDATE_CODE_PACKAGES, UPDATE_CONSENT_EXPERIENCE, UPDATE_CONSENT_MANAGER_DOMAINS, UPDATE_CONSENT_MANAGER_PARTITION, UPDATE_CONSENT_MANAGER_THEME, UPDATE_CONSENT_MANAGER_TO_LATEST, UPDATE_CONSENT_MANAGER_VERSION, UPDATE_DATA_FLOWS, UPDATE_LOAD_OPTIONS, UPDATE_OR_CREATE_COOKIES, UPDATE_POLICIES, UPDATE_PRIVACY_CENTER, UPDATE_PROCESSING_PURPOSE_SUB_CATEGORIES, User, UserPreview, UserRole, Vendor, VendorInput, addMessagesToPromptRun, assumeRole, buildConsentChunks, buildTranscendGraphQLClient, buildTranscendGraphQLClientGeneric, checkIfPendingPreferenceUpdatesAreNoOp, checkIfPendingPreferenceUpdatesCauseConflict, consentWindowHasAny, createActionItemCollection, createActionItems, createAgent, createAgentFile, createAgentFunction, createApiKey, createBusinessEntity, createDataCategory, createDataFlows, createMonorepoPackageDefinition, createPreferenceAccessTokens, createProcessingPurpose, createPrompt, createPromptGroup, createPromptPartial, createRepository, createSoftwareDevelopmentKit, createSombraGotInstance, createTeam, createTranscendConsentGotInstance, createVendor, deleteApiKey, deployConsentManager, fetchActiveSiloDiscoPlugin, fetchAllActionItemCollections, fetchAllActionItems, fetchAllActions, fetchAllAgentFiles, fetchAllAgentFunctions, fetchAllAgents, fetchAllApiKeys, fetchAllAssessments, fetchAllAttributeValues, fetchAllAttributes, fetchAllBusinessEntities, fetchAllCatalogs, fetchAllCodePackages, fetchAllCookies, fetchAllDataCategories, fetchAllDataFlows, fetchAllIdentifiers, fetchAllLargeLanguageModels, fetchAllMessages, fetchAllPolicies, fetchAllPreferenceTopics, fetchAllPrivacyCenters, fetchAllProcessingActivities, fetchAllProcessingPurposes, fetchAllPromptGroups, fetchAllPromptPartials, fetchAllPromptThreads, fetchAllPrompts, fetchAllPurposes, fetchAllPurposesAndPreferences, fetchAllRepositories, fetchAllSiloDiscoveryResults, fetchAllSoftwareDevelopmentKits, fetchAllTeams, fetchAllTemplates, fetchAllUsers, fetchAllVendors, fetchAndIndexCatalogs, fetchApiKeys, fetchConsentManager, fetchConsentManagerAnalyticsData, fetchConsentManagerExperiences, fetchConsentManagerId, fetchConsentManagerTheme, fetchConsentPreferences, fetchConsentPreferencesChunked, fetchPartitions, fetchPrivacyCenterId, fetchPrivacyCenterUrl, fetchPromptsWithVariables, findEarliestDayWithData, findLatestDayWithData, formatRegions, getBoundsFromConsentFilter, getComparisonTimeForRecord, getPreferenceIdentifiersFromRow, getPreferenceMetadataFromRow, getPreferenceUpdatesFromRow, getPreferencesForIdentifiers, getUniquePreferenceIdentifierNamesFromRow, iterateConsentPages, loadReferenceData, loginUser, makeGraphQLRequest, parseAssessmentDisplayLogic, parseAssessmentRiskLogic, pickConsentChunkMode, reportPromptRun, setResourceAttributes, syncAction, syncActionItemCollections, syncActionItems, syncAgentFiles, syncAgentFunctions, syncAgents, syncAttribute, syncBusinessEntities, syncConsentManager, syncConsentManagerExperiences, syncCookies, syncDataCategories, syncDataFlows, syncIntlMessages, syncPartitions, syncPolicies, syncPrivacyCenter, syncProcessingActivities, syncProcessingPurposes, syncPromptGroups, syncPromptPartials, syncPrompts, syncRepositories, syncSoftwareDevelopmentKits, syncTeams, syncTemplate, syncVendors, transformPreferenceRecordToCsv, updateActionItem, updateActionItemCollection, updateAgentFiles, updateAgentFunctions, updateAgents, updateBusinessEntities, updateConsentManagerToLatest, updateDataCategories, updateDataFlows, updateIntlMessages, updateOrCreateCookies, updatePolicies, updateProcessingPurposes, updatePromptGroups, updatePromptPartials, updatePrompts, updateRepositories, updateSoftwareDevelopmentKits, updateTeam, updateVendors, uploadSiloDiscoveryResults, withPreferenceRetry };
44589
+ export { ASSESSMENTS, ASSESSMENT_SECTION_FIELDS, ATTRIBUTE_KEYS_REQUESTS, ATTRIBUTE_VALUE_FIELDS, Action, ActionItem, ActionItemAttributeKey, ActionItemCollection, ActionItemCollectionInput, ActionItemInput, ActionItemRaw, AddMessagesToPromptRunInput, Agent, AgentFile, AgentFileFilterBy, AgentFileInput, AgentFunction, AgentFunctionInput, AgentInput, ApiKey, Assessment, AssessmentAction, AssessmentAnswer, AssessmentAnswerOption, AssessmentComment, AssessmentGroup, AssessmentNestedRule, AssessmentPreviousSubmission, AssessmentQuestion, AssessmentResource, AssessmentRiskLogic, AssessmentRule, AssessmentRuleWithOperands, AssessmentRuleWithoutOperands, AssessmentSection, Attribute, AttributeInput, AttributeKey, AttributeValue, AttributeValueInput, BULK_REQUEST_FILES, BusinessEntity, BusinessEntityInput, CHANGE_REQUEST_DATA_SILO_STATUS, CODE_PACKAGES, CONSENT_MANAGER_ANALYTICS_DATA, CONSENT_PARTITIONS, COOKIES, COOKIE_STATS, CREATE_CODE_PACKAGE, CREATE_CONSENT_EXPERIENCE, CREATE_CONSENT_MANAGER, CREATE_CONSENT_PARTITION, CREATE_DATA_FLOWS, CREATE_DATA_SILOS, CREATE_DATA_SUBJECT, CREATE_ENRICHER, CREATE_IDENTIFIER, CREATE_PROCESSING_PURPOSE_SUB_CATEGORY, Catalog, ChunkMode, CodePackage, ColumnIdentifierMap, ColumnMetadataMap, ColumnPurposeMap, ConsentExperience, ConsentManageExperienceInput, ConsentManager, ConsentManagerInput, ConsentManagerMetric, ConsentManagerMetricBin, ConsentPreferenceResponse, CookieInput, CookieOrder, CreatedApiKey, DATAPOINT_EXPORT, DATA_FLOWS, DATA_FLOW_STATS, DATA_POINTS, DATA_POINT_COUNT, DATA_SILOS, DATA_SILOS_ENRICHED, DATA_SILO_EXPORT, DATA_SUBJECTS, DELETE_COOKIES, DELETE_DATA_FLOWS, DEPLOYED_PRIVACY_CENTER_URL, DEPLOY_CONSENT_MANAGER, DataCategoryInput, DataFlowAttributeInput, DataFlowInput, DataFlowOrder, DataPoint, DataPointWithSubDataPoint, DataSilo, type DataSiloAttributeValue, DataSiloEnriched, DataSubCategory, DataSubject, DataSubjectInput, DataSubjectRef, DeletePreferenceRecordCliCsvRow, DeletePreferenceRecordsInput, DeletePreferenceRecordsResponse, ENRICHERS, EXPERIENCES, EditPromptGroupInput, Enricher, EnricherInput, ExternalUser, FETCH_CONSENT_MANAGER, FETCH_CONSENT_MANAGER_ID, FETCH_CONSENT_MANAGER_THEME, FETCH_PRIVACY_CENTER_ID, FailingPreferenceUpdates, FetchApiKeysInput, FileFormatState, FileMetadataState, FormattedAttribute, IMPORT_ONE_TRUST_ASSESSMENT_FORMS, INITIALIZER, Identifier, IdentifierInput, IdentifierMetadataForPreference, IdentifiersAndCreateMissingInput, IndexedCatalogs, Initializer, IntlMessageInput, LargeLanguageModel, Message, MetadataMapping, MonorepoPackageDefinition, NEW_IDENTIFIER_TYPES, NOOP_LOGGER, OWNER_FIELDS, OrganizationPreview, POLICIES, PRIVACY_CENTER, PROCESSING_PURPOSE_SUB_CATEGORIES, PURPOSES, PartitionInput, PendingSafePreferenceUpdates, PendingWithConflictPreferenceUpdates, Plugin, PluginResponse, Policy, PolicyInput, PreferenceAccessTokenInput, PreferenceAccessTokenInputWithIndex, PreferenceIdentifier, PreferenceState, PreferenceTopic, PreferenceUpdateMap, PreferenceUploadReferenceData, PreferencesQueryFilter, PrivacyCenter, PrivacyCenterInput, ProcessingActivity, ProcessingActivityInput, ProcessingPurposeInput, ProcessingPurposeSubCategory, Prompt, PromptCalculatedVariable, PromptGroup, PromptGroupInput, PromptInput, PromptPartial, PromptPartialInput, PromptRuntimeVariable, PromptThread, Purpose, PurposeRowMapping, PurposeWithPreferences, REDUCED_REQUESTS_FOR_DATA_SILO_COUNT, REMOVE_REQUEST_IDENTIFIERS, REQUEST_DATA_SILOS, REQUEST_ENRICHERS, REQUEST_FILES, REQUEST_IDENTIFIERS, RETRY_PREFERENCE_MSGS, RETRY_REQUEST_DATA_SILO, RETRY_REQUEST_ENRICHER, Region, RegionInput, ReportPromptRunInput, Repository, RepositoryInput, RequestDataSilo, RequestDataSiloFilters, RequestEnricher, RequestFile, RequestFileCursor, RequestFileResponse, RequestIdentifier, RequestIdentifierMetadata, RequestIdentifiersResponse, RequestUploadReceipts, RetentionSchedule, RetryOptions, RiskCategory, RiskFramework, RiskLevel, RiskMatrix, RiskMatrixColumn, RiskMatrixRow, SERVICE_FIELDS, SKIP_REQUEST_ENRICHER, SOMBRA_VERSION, SUB_DATA_POINTS, SUB_DATA_POINTS_COUNT, SUB_DATA_POINTS_WITH_GUESSES, SYNC_ATTRIBUTE_TYPES, SiloDiscoveryRawResult, SiloDiscoveryResult, SkippedPreferenceUpdates, SoftwareDevelopmentKit, SoftwareDevelopmentKitInput, SubDataPoint, SubDataPointCategory, SubDataPointPurpose, SyncActionInput, SyncTemplateInput, TEAM_FIELDS, TOGGLE_CONSENT_PRECEDENCE, TOGGLE_DATA_SUBJECT, TOGGLE_TELEMETRY_PARTITION_STRATEGY, TOGGLE_UNKNOWN_COOKIE_POLICY, TOGGLE_UNKNOWN_REQUEST_POLICY, TRACKING_PURPOSE_FIELDS, Team, TeamInput, Template, TranscendAttributeValueGql, TranscendCliConsentPartitionsResponse, TranscendCliCookieStatsResponse, TranscendCliCookiesResponse, TranscendCliCreateConsentExperienceResponse, TranscendCliCreateConsentPartitionResponse, TranscendCliCreateDataFlowsResponse, TranscendCliDataFlowStatsResponse, TranscendCliDataFlowsResponse, TranscendCliDeleteCookiesResponse, TranscendCliDeleteDataFlowsResponse, TranscendCliExperiencesResponse, TranscendCliFetchConsentManagerIdResponse, TranscendCliFetchConsentManagerResponse, TranscendCliFetchConsentManagerThemeResponse, TranscendCliPurposesResponse, TranscendCliUpdateConsentExperienceResponse, TranscendCliUpdateDataFlowsResponse, TranscendCliUpdateOrCreateCookiesResponse, TranscendClientMutationIdResponse, TranscendConsentManagerConfigGql, TranscendConsentManagerGql, TranscendConsentManagerThemeGql, TranscendConsentPartitionGql, TranscendCookieDomainGql, TranscendCookieGql, TranscendCookieServiceGql, TranscendDataFlowGql, TranscendExperienceGql, TranscendExperiencePurposeGql, TranscendExperienceRegionGql, TranscendMappedDataSiloGql, TranscendOwnerGql, TranscendPreferenceTopicGql, TranscendPreferenceTopicTitle, TranscendPromptPartialTemplated, TranscendPromptTemplated, TranscendPromptsAndVariables, TranscendPurposeGql, TranscendTeamGql, TranscendTrackerStatsGql, TranscendTrackingPurposeGql, TranscendUpdateCookieInputGql, TranscendUpdateDataFlowInputGql, UPDATE_CODE_PACKAGES, UPDATE_CONSENT_EXPERIENCE, UPDATE_CONSENT_MANAGER_DOMAINS, UPDATE_CONSENT_MANAGER_PARTITION, UPDATE_CONSENT_MANAGER_THEME, UPDATE_CONSENT_MANAGER_TO_LATEST, UPDATE_CONSENT_MANAGER_VERSION, UPDATE_DATA_FLOWS, UPDATE_DATA_SILOS, UPDATE_DATA_SUBJECT, UPDATE_ENRICHER, UPDATE_IDENTIFIER, UPDATE_LOAD_OPTIONS, UPDATE_OR_CREATE_COOKIES, UPDATE_OR_CREATE_DATA_POINT, UPDATE_POLICIES, UPDATE_PRIVACY_CENTER, UPDATE_PROCESSING_PURPOSE_SUB_CATEGORIES, User, UserPreview, UserRole, Vendor, VendorInput, addMessagesToPromptRun, assumeRole, buildConsentChunks, buildTranscendGraphQLClient, buildTranscendGraphQLClientGeneric, checkIfPendingPreferenceUpdatesAreNoOp, checkIfPendingPreferenceUpdatesCauseConflict, consentWindowHasAny, convertToDataSubjectAllowlist, convertToDataSubjectBlockList, createActionItemCollection, createActionItems, createAgent, createAgentFile, createAgentFunction, createApiKey, createBusinessEntity, createDataCategory, createDataFlows, createDataSubject, createMonorepoPackageDefinition, createPreferenceAccessTokens, createProcessingPurpose, createPrompt, createPromptGroup, createPromptPartial, createRepository, createSoftwareDevelopmentKit, createSombraGotInstance, createTeam, createTranscendConsentGotInstance, createVendor, deleteApiKey, deployConsentManager, fetchActiveSiloDiscoPlugin, fetchAllActionItemCollections, fetchAllActionItems, fetchAllActions, fetchAllAgentFiles, fetchAllAgentFunctions, fetchAllAgents, fetchAllApiKeys, fetchAllAssessments, fetchAllAttributeValues, fetchAllAttributes, fetchAllBusinessEntities, fetchAllCatalogs, fetchAllCodePackages, fetchAllCookies, fetchAllDataCategories, fetchAllDataFlows, fetchAllDataPoints, fetchAllDataSilos, fetchAllDataSubjects, fetchAllEnrichers, fetchAllIdentifiers, fetchAllLargeLanguageModels, fetchAllMessages, fetchAllPolicies, fetchAllPreferenceTopics, fetchAllPrivacyCenters, fetchAllProcessingActivities, fetchAllProcessingPurposes, fetchAllPromptGroups, fetchAllPromptPartials, fetchAllPromptThreads, fetchAllPrompts, fetchAllPurposes, fetchAllPurposesAndPreferences, fetchAllRepositories, fetchAllRequestAttributeKeys, fetchAllRequestEnrichers, fetchAllRequestIdentifierMetadata, fetchAllRequestIdentifiers, fetchAllSiloDiscoveryResults, fetchAllSoftwareDevelopmentKits, fetchAllSubDataPoints, fetchAllTeams, fetchAllTemplates, fetchAllUsers, fetchAllVendors, fetchAndIndexCatalogs, fetchApiKeys, fetchConsentManager, fetchConsentManagerAnalyticsData, fetchConsentManagerExperiences, fetchConsentManagerId, fetchConsentManagerTheme, fetchConsentPreferences, fetchConsentPreferencesChunked, fetchEnrichedDataSilos, fetchIdentifiersAndCreateMissing, fetchPartitions, fetchPrivacyCenterId, fetchPrivacyCenterUrl, fetchPromptsWithVariables, fetchRequestDataSilo, fetchRequestDataSilos, fetchRequestDataSilosCount, fetchRequestFilesForRequest, findEarliestDayWithData, findLatestDayWithData, formatAttributeValues, formatRegions, getBoundsFromConsentFilter, getComparisonTimeForRecord, getPreferenceIdentifiersFromRow, getPreferenceMetadataFromRow, getPreferenceUpdatesFromRow, getPreferencesForIdentifiers, getUniquePreferenceIdentifierNamesFromRow, iterateConsentPages, loadReferenceData, loginUser, makeGraphQLRequest, parseAssessmentDisplayLogic, parseAssessmentRiskLogic, pickConsentChunkMode, reportPromptRun, retryRequestEnricher, setResourceAttributes, syncAction, syncActionItemCollections, syncActionItems, syncAgentFiles, syncAgentFunctions, syncAgents, syncAttribute, syncBusinessEntities, syncConsentManager, syncConsentManagerExperiences, syncCookies, syncDataCategories, syncDataFlows, syncDataSiloDependencies, syncDataSubject, syncEnricher, syncIdentifier, syncIntlMessages, syncPartitions, syncPolicies, syncPrivacyCenter, syncProcessingActivities, syncProcessingPurposes, syncPromptGroups, syncPromptPartials, syncPrompts, syncRepositories, syncSoftwareDevelopmentKits, syncTeams, syncTemplate, syncVendors, transformPreferenceRecordToCsv, updateActionItem, updateActionItemCollection, updateAgentFiles, updateAgentFunctions, updateAgents, updateBusinessEntities, updateConsentManagerToLatest, updateDataCategories, updateDataFlows, updateIntlMessages, updateOrCreateCookies, updatePolicies, updateProcessingPurposes, updatePromptGroups, updatePromptPartials, updatePrompts, updateRepositories, updateSoftwareDevelopmentKits, updateTeam, updateVendors, uploadSiloDiscoveryResults, validateSombraVersion, withPreferenceRetry };
43169
44590
  //# sourceMappingURL=index.d.mts.map