@transcend-io/mcp-server-consent 1.0.5 → 1.1.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/README.md +4 -1
- package/dist/cli.mjs +2 -2
- package/dist/index.d.mts +236 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/scopes-JQW5ymQy.mjs +1801 -0
- package/dist/scopes-JQW5ymQy.mjs.map +1 -0
- package/package.json +4 -3
- package/dist/scopes-C4sRnSmf.mjs +0 -1291
- package/dist/scopes-C4sRnSmf.mjs.map +0 -1
package/README.md
CHANGED
|
@@ -109,11 +109,14 @@ See [CONTRIBUTING.md](../../../CONTRIBUTING.md#mcp-servers) for workspace layout
|
|
|
109
109
|
- `consent_list_airgap_bundles` — List Airgap bundles
|
|
110
110
|
- `consent_list_regimes` — List consent regimes
|
|
111
111
|
- `consent_get_inventory_stats` — Cookie/data-flow inventory triage counts (live, needs review, junk). Matches the Consent Manager tables; CSP data flows are omitted like the UI.
|
|
112
|
+
- `consent_cookie_triage_review_app` — Open an interactive cookie/data-flow triage review UI; pass `triageType` (`cookies` | `data_flows`). MCP App hosts get a fast shell then the view pages `consent_list_cookies` or `consent_list_data_flows`; other hosts get the full payload from the tool
|
|
112
113
|
- `consent_get_aggregate_analytics` — Aggregate consent analytics (`airgapBundleAggregateAnalytics`)
|
|
113
114
|
- `consent_get_timeseries_analytics` — Timeseries consent analytics (`airgapBundleTimeseriesAnalytics`)
|
|
114
115
|
- `consent_get_analytics_data` — Consent metrics via `analyticsData` (opt-in/out, signals, sessions)
|
|
115
116
|
- `consent_update_cookies` — Update cookies (approve, junk, assign purposes)
|
|
117
|
+
- `consent_delete_cookies` — Permanently delete cookies by ID (MCP App only; hidden from agents)
|
|
116
118
|
- `consent_update_data_flows` — Update data flows
|
|
119
|
+
- `consent_delete_data_flows` — Permanently delete data flows by ID (MCP App only; hidden from agents)
|
|
117
120
|
- `consent_bulk_triage` — Bulk approve or junk cookies and data flows
|
|
118
121
|
|
|
119
122
|
Analytics tools require the **ViewConsentManager** scope (included in this server's OAuth scopes). See [Consent Analytics Using GraphQL API](https://docs.transcend.io/docs/articles/consent-management/configuration/consent-stats-with-gql-api).
|
|
@@ -122,7 +125,7 @@ Analytics tools require the **ViewConsentManager** scope (included in this serve
|
|
|
122
125
|
|
|
123
126
|
Workflow templates discoverable via MCP `prompts/list` / `prompts/get`:
|
|
124
127
|
|
|
125
|
-
- `consent-triage` — End-to-end cookie/data-flow triage
|
|
128
|
+
- `consent-triage` — End-to-end cookie/data-flow triage via `consent_cookie_triage_review_app` + classification push
|
|
126
129
|
- `consent-research-tracker` — Research methodology for classifying a single tracker
|
|
127
130
|
- `consent-inspect-site` — Live site investigation via browser DevTools / airgap console
|
|
128
131
|
|
package/dist/cli.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { n as getConsentPrompts, r as getConsentTools, t as CONSENT_OAUTH_SCOPES } from "./scopes-
|
|
2
|
+
import { n as getConsentPrompts, r as getConsentTools, t as CONSENT_OAUTH_SCOPES } from "./scopes-JQW5ymQy.mjs";
|
|
3
3
|
import { createMCPServer } from "@transcend-io/mcp-server-base";
|
|
4
4
|
//#endregion
|
|
5
5
|
//#region src/cli.ts
|
|
6
6
|
createMCPServer({
|
|
7
7
|
name: "transcend-mcp-consent",
|
|
8
|
-
version: "1.0
|
|
8
|
+
version: "1.1.0",
|
|
9
9
|
oauthScopes: CONSENT_OAUTH_SCOPES,
|
|
10
10
|
getTools: getConsentTools,
|
|
11
11
|
getPrompts: getConsentPrompts
|
package/dist/index.d.mts
CHANGED
|
@@ -69,7 +69,10 @@ declare const ListCookiesSchema: z.ZodObject<{
|
|
|
69
69
|
showZeroActivity: z.ZodOptional<z.ZodBoolean>;
|
|
70
70
|
text: z.ZodOptional<z.ZodString>;
|
|
71
71
|
service: z.ZodOptional<z.ZodString>;
|
|
72
|
+
trackingPurposes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
72
73
|
minOccurrences: z.ZodOptional<z.ZodNumber>;
|
|
74
|
+
lastDiscoveredAtBefore: z.ZodOptional<z.ZodString>;
|
|
75
|
+
lastDiscoveredAtAfter: z.ZodOptional<z.ZodString>;
|
|
73
76
|
orderField: z.ZodOptional<z.ZodEnum<{
|
|
74
77
|
Name: "name";
|
|
75
78
|
CreatedAt: "createdAt";
|
|
@@ -100,7 +103,10 @@ declare const ListDataFlowsSchema: z.ZodObject<{
|
|
|
100
103
|
RegExp: "REGEX";
|
|
101
104
|
CSP: "CSP";
|
|
102
105
|
}>>;
|
|
106
|
+
trackingTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
103
107
|
minOccurrences: z.ZodOptional<z.ZodNumber>;
|
|
108
|
+
lastDiscoveredAtBefore: z.ZodOptional<z.ZodString>;
|
|
109
|
+
lastDiscoveredAtAfter: z.ZodOptional<z.ZodString>;
|
|
104
110
|
orderField: z.ZodOptional<z.ZodEnum<{
|
|
105
111
|
Value: "value";
|
|
106
112
|
CreatedAt: "createdAt";
|
|
@@ -210,6 +216,18 @@ declare const UpdateCookiesSchema: z.ZodObject<{
|
|
|
210
216
|
}, z.core.$strip>;
|
|
211
217
|
type UpdateCookiesInput = z.infer<typeof UpdateCookiesSchema>;
|
|
212
218
|
//#endregion
|
|
219
|
+
//#region src/tools/consent_delete_cookies.d.ts
|
|
220
|
+
declare const DeleteCookiesSchema: z.ZodObject<{
|
|
221
|
+
ids: z.ZodArray<z.ZodString>;
|
|
222
|
+
}, z.core.$strip>;
|
|
223
|
+
type DeleteCookiesInput = z.infer<typeof DeleteCookiesSchema>;
|
|
224
|
+
//#endregion
|
|
225
|
+
//#region src/tools/consent_delete_data_flows.d.ts
|
|
226
|
+
declare const DeleteDataFlowsSchema: z.ZodObject<{
|
|
227
|
+
ids: z.ZodArray<z.ZodString>;
|
|
228
|
+
}, z.core.$strip>;
|
|
229
|
+
type DeleteDataFlowsInput = z.infer<typeof DeleteDataFlowsSchema>;
|
|
230
|
+
//#endregion
|
|
213
231
|
//#region src/tools/consent_update_data_flows.d.ts
|
|
214
232
|
declare const UpdateDataFlowItemSchema: z.ZodObject<{
|
|
215
233
|
id: z.ZodString;
|
|
@@ -264,5 +282,222 @@ declare const BulkTriageSchema: z.ZodObject<{
|
|
|
264
282
|
}, z.core.$strip>;
|
|
265
283
|
type BulkTriageInput = z.infer<typeof BulkTriageSchema>;
|
|
266
284
|
//#endregion
|
|
267
|
-
|
|
285
|
+
//#region src/tools/cookie_triage_app.d.ts
|
|
286
|
+
declare const ConsentTriageTypeSchema: z.ZodEnum<{
|
|
287
|
+
cookies: "cookies";
|
|
288
|
+
data_flows: "data_flows";
|
|
289
|
+
}>;
|
|
290
|
+
declare const CookieTriageAppSchema: z.ZodObject<{
|
|
291
|
+
triageType: z.ZodEnum<{
|
|
292
|
+
cookies: "cookies";
|
|
293
|
+
data_flows: "data_flows";
|
|
294
|
+
}>;
|
|
295
|
+
}, z.core.$strip>;
|
|
296
|
+
//#endregion
|
|
297
|
+
//#region src/lib/cookieTriageConfig.d.ts
|
|
298
|
+
/**
|
|
299
|
+
* Tunable constants and shared enums for the consent triage MCP App.
|
|
300
|
+
*
|
|
301
|
+
* Keep experience knobs here so purpose tabs, fetch caps, and suggestion
|
|
302
|
+
* thresholds can be adjusted in one place.
|
|
303
|
+
*/
|
|
304
|
+
/** Page size the triage view requests from list tools */
|
|
305
|
+
declare const COOKIE_TRIAGE_UI_PAGE_SIZE = 20;
|
|
306
|
+
/** Max cookies shown per purpose bucket in the triage UI */
|
|
307
|
+
declare const COOKIE_TRIAGE_MAX_PER_PURPOSE = 100;
|
|
308
|
+
/** Page size when the triage app pulls NEEDS_REVIEW items (baseline hosts) */
|
|
309
|
+
declare const COOKIE_TRIAGE_FETCH_PAGE_SIZE = 100;
|
|
310
|
+
/** Soft cap for a single triage app open across all purpose tabs */
|
|
311
|
+
declare const COOKIE_TRIAGE_FETCH_MAX: number;
|
|
312
|
+
/** Encounter count below which a row is suggested as junk */
|
|
313
|
+
declare const COOKIE_TRIAGE_MIN_OCCURRENCES = 5;
|
|
314
|
+
/** Primary purpose bucket used when grouping cookies for triage */
|
|
315
|
+
declare const CookieTriagePurposeCategory: {
|
|
316
|
+
/** No assigned tracking purpose */Unknown: "Unknown"; /** Org-defined non-default purposes */
|
|
317
|
+
Custom: "Custom"; /** Strictly necessary */
|
|
318
|
+
Essential: "Essential"; /** Functional / preference */
|
|
319
|
+
Functional: "Functional"; /** Advertising / marketing */
|
|
320
|
+
Advertising: "Advertising"; /** Analytics / measurement */
|
|
321
|
+
Analytics: "Analytics"; /** Sale of personal information */
|
|
322
|
+
SaleOfInfo: "SaleOfInfo";
|
|
323
|
+
};
|
|
324
|
+
/** Override type */
|
|
325
|
+
type CookieTriagePurposeCategory = (typeof CookieTriagePurposeCategory)[keyof typeof CookieTriagePurposeCategory];
|
|
326
|
+
/** Display order for purpose tabs in the cookie triage UI */
|
|
327
|
+
declare const COOKIE_TRIAGE_PURPOSE_ORDER: readonly CookieTriagePurposeCategory[];
|
|
328
|
+
/** Human-readable labels for purpose category tabs */
|
|
329
|
+
declare const COOKIE_TRIAGE_PURPOSE_LABELS: Record<CookieTriagePurposeCategory, string>;
|
|
330
|
+
//#endregion
|
|
331
|
+
//#region src/lib/cookieTriageTypes.d.ts
|
|
332
|
+
/** What the consent triage review app loads from the API */
|
|
333
|
+
declare const ConsentTriageType: {
|
|
334
|
+
/** Cookie inventory triage */Cookies: "cookies"; /** Data-flow inventory triage */
|
|
335
|
+
DataFlows: "data_flows";
|
|
336
|
+
};
|
|
337
|
+
/** Override type */
|
|
338
|
+
type ConsentTriageType = (typeof ConsentTriageType)[keyof typeof ConsentTriageType];
|
|
339
|
+
/** User triage decision for a cookie or data-flow row */
|
|
340
|
+
declare const CookieTriageDecision: {
|
|
341
|
+
/** Approve and mark LIVE */Approve: "approve"; /** Mark LIVE + junk */
|
|
342
|
+
Junk: "junk"; /** Keep in review (explicit review decision) */
|
|
343
|
+
Review: "review";
|
|
344
|
+
};
|
|
345
|
+
/** Override type */
|
|
346
|
+
type CookieTriageDecision = (typeof CookieTriageDecision)[keyof typeof CookieTriageDecision];
|
|
347
|
+
/** Per-tab / overview fetch status */
|
|
348
|
+
declare const CookieTriageLoadStatus: {
|
|
349
|
+
/** Not started */Idle: "idle"; /** In flight */
|
|
350
|
+
Loading: "loading"; /** Succeeded */
|
|
351
|
+
Ready: "ready"; /** Failed */
|
|
352
|
+
Error: "error";
|
|
353
|
+
};
|
|
354
|
+
/** Override type */
|
|
355
|
+
type CookieTriageLoadStatus = (typeof CookieTriageLoadStatus)[keyof typeof CookieTriageLoadStatus];
|
|
356
|
+
/** Cookie or data-flow item shown in the triage view */
|
|
357
|
+
interface CookieTriageAnalysis {
|
|
358
|
+
/** Cookie name or data-flow value (upsert / row key) */
|
|
359
|
+
name: string;
|
|
360
|
+
/** Transcend cookie or data-flow ID when available */
|
|
361
|
+
id: string;
|
|
362
|
+
/** Service or vendor title when known */
|
|
363
|
+
service?: string;
|
|
364
|
+
/** Notes / description from the dashboard when known */
|
|
365
|
+
description?: string;
|
|
366
|
+
/** Current assigned purpose slugs from the API (used to group into purpose tabs) */
|
|
367
|
+
trackingPurposes?: string[];
|
|
368
|
+
/** Telemetry occurrences when available */
|
|
369
|
+
occurrences?: number;
|
|
370
|
+
/** ISO 8601 timestamp when the item was last seen in telemetry */
|
|
371
|
+
lastActivityAt?: string;
|
|
372
|
+
}
|
|
373
|
+
/** Input passed to `consent_cookie_triage_review_app` */
|
|
374
|
+
interface CookieTriageAppInput {
|
|
375
|
+
/**
|
|
376
|
+
* Whether to open the review UI for cookies or data flows needing review.
|
|
377
|
+
* Baseline hosts fetch organization name and NEEDS_REVIEW items in the tool
|
|
378
|
+
* handler; MCP App hosts open a shell and the view pages list tools itself.
|
|
379
|
+
*/
|
|
380
|
+
triageType: ConsentTriageType;
|
|
381
|
+
}
|
|
382
|
+
/** Category payload returned to baseline hosts and the MCP App view */
|
|
383
|
+
interface CookieTriageCategoryPayload {
|
|
384
|
+
/** Primary purpose bucket for this group */
|
|
385
|
+
purpose: CookieTriagePurposeCategory;
|
|
386
|
+
/** Total items in this bucket after grouping (may exceed cookies.length when capped) */
|
|
387
|
+
totalCount: number;
|
|
388
|
+
/** Items passed for display (capped, sorted by occurrences) */
|
|
389
|
+
cookies: CookieTriageAnalysis[];
|
|
390
|
+
/** Number of items included in this payload (cookies.length) */
|
|
391
|
+
shownCount: number;
|
|
392
|
+
}
|
|
393
|
+
/** Payload shared by the baseline tool and the MCP App view */
|
|
394
|
+
interface CookieTriageAppPayload {
|
|
395
|
+
/** Whether this payload is cookies or data flows */
|
|
396
|
+
triageType: ConsentTriageType;
|
|
397
|
+
/**
|
|
398
|
+
* Admin dashboard base URL for deep links
|
|
399
|
+
* (`TRANSCEND_DASHBOARD_URL` when set, else production default).
|
|
400
|
+
*/
|
|
401
|
+
dashboardUrl: string;
|
|
402
|
+
/** Display name of the organization being triaged */
|
|
403
|
+
organizationName: string;
|
|
404
|
+
/** Purpose categories with items to review */
|
|
405
|
+
categories: CookieTriageCategoryPayload[];
|
|
406
|
+
/**
|
|
407
|
+
* Whether NEEDS_REVIEW rows have been fetched.
|
|
408
|
+
* MCP App open returns `false` (fast shell); the baseline tool returns `true`.
|
|
409
|
+
*/
|
|
410
|
+
loaded: boolean;
|
|
411
|
+
/**
|
|
412
|
+
* Agent-facing instruction on MCP App shell opens so the model does not
|
|
413
|
+
* immediately re-fetch list tools after mounting the interactive UI.
|
|
414
|
+
*/
|
|
415
|
+
message?: string;
|
|
416
|
+
}
|
|
417
|
+
//#endregion
|
|
418
|
+
//#region src/lib/fetchConsentTriageItems.d.ts
|
|
419
|
+
/**
|
|
420
|
+
* Fetch the organization display name for the triage header.
|
|
421
|
+
*
|
|
422
|
+
* @param clients - MCP tool GraphQL clients
|
|
423
|
+
* @returns Organization name, or a fallback when missing
|
|
424
|
+
*/
|
|
425
|
+
declare function fetchTriageOrganizationName(clients: ToolClients): Promise<string>;
|
|
426
|
+
/**
|
|
427
|
+
* Paginate NEEDS_REVIEW cookies up to {@link COOKIE_TRIAGE_FETCH_MAX}.
|
|
428
|
+
*
|
|
429
|
+
* @param clients - MCP tool GraphQL clients
|
|
430
|
+
* @returns Projected cookie rows for the triage UI
|
|
431
|
+
*/
|
|
432
|
+
declare function fetchCookiesForTriage(clients: ToolClients): Promise<CookieTriageAnalysis[]>;
|
|
433
|
+
/**
|
|
434
|
+
* Paginate NEEDS_REVIEW data flows up to {@link COOKIE_TRIAGE_FETCH_MAX}.
|
|
435
|
+
*
|
|
436
|
+
* @param clients - MCP tool GraphQL clients
|
|
437
|
+
* @returns Projected data-flow rows for the triage UI
|
|
438
|
+
*/
|
|
439
|
+
declare function fetchDataFlowsForTriage(clients: ToolClients): Promise<CookieTriageAnalysis[]>;
|
|
440
|
+
/**
|
|
441
|
+
* Fetch NEEDS_REVIEW cookies or data flows for the triage app.
|
|
442
|
+
*
|
|
443
|
+
* @param clients - MCP tool GraphQL clients
|
|
444
|
+
* @param triageType - Whether to load cookies or data flows
|
|
445
|
+
* @returns Projected triage rows
|
|
446
|
+
*/
|
|
447
|
+
declare function fetchConsentTriageItems(clients: ToolClients, triageType: ConsentTriageType): Promise<CookieTriageAnalysis[]>;
|
|
448
|
+
//#endregion
|
|
449
|
+
//#region src/lib/projectTriageItem.d.ts
|
|
450
|
+
/** Structural cookie/data-flow list node the triage view can project without SDK imports. */
|
|
451
|
+
interface ConsentTriageListNode {
|
|
452
|
+
/** Transcend cookie or data-flow ID */
|
|
453
|
+
id?: string;
|
|
454
|
+
/** Cookie name when the node is a cookie */
|
|
455
|
+
name?: string;
|
|
456
|
+
/** Data-flow value (URL/host) when the node is a data flow */
|
|
457
|
+
value?: string;
|
|
458
|
+
/** Associated service when known */
|
|
459
|
+
service?: {
|
|
460
|
+
/** Service or vendor display title */title?: string;
|
|
461
|
+
};
|
|
462
|
+
/** Notes / description from the dashboard */
|
|
463
|
+
description?: string;
|
|
464
|
+
/** Cookie tracking purpose slugs */
|
|
465
|
+
trackingPurposes?: string[];
|
|
466
|
+
/** Data-flow tracking purpose slugs */
|
|
467
|
+
trackingType?: string[];
|
|
468
|
+
/** Telemetry occurrence count */
|
|
469
|
+
occurrences?: number;
|
|
470
|
+
/** ISO 8601 timestamp when the item was last seen in telemetry */
|
|
471
|
+
lastDiscoveredAt?: string;
|
|
472
|
+
}
|
|
473
|
+
/** Project a cookie list node into the slim triage row shape. */
|
|
474
|
+
declare function projectCookieForTriage(cookie: ConsentTriageListNode): CookieTriageAnalysis;
|
|
475
|
+
/** Project a data-flow list node into the slim triage row shape. */
|
|
476
|
+
declare function projectDataFlowForTriage(flow: ConsentTriageListNode): CookieTriageAnalysis;
|
|
477
|
+
/** Project an unknown list-tool row, or `undefined` when it cannot be shown. */
|
|
478
|
+
declare function projectListNodeForTriage(triageType: ConsentTriageType, node: unknown): CookieTriageAnalysis | undefined;
|
|
479
|
+
//#endregion
|
|
480
|
+
//#region src/lib/groupCookiesForTriage.d.ts
|
|
481
|
+
/** Sort cookies highest traffic first; missing occurrences rank last. */
|
|
482
|
+
declare function compareCookiesByOccurrencesDesc(a: CookieTriageAnalysis, b: CookieTriageAnalysis): number;
|
|
483
|
+
/**
|
|
484
|
+
* Group flat triage items by primary purpose, sort by occurrences, and cap per bucket.
|
|
485
|
+
*
|
|
486
|
+
* Primary purpose uses {@link resolvePrimaryCookiePurpose} on each item's `trackingPurposes`.
|
|
487
|
+
* `totalCount` is the full grouped size; `cookies` / `shownCount` are capped at
|
|
488
|
+
* {@link COOKIE_TRIAGE_MAX_PER_PURPOSE}.
|
|
489
|
+
*/
|
|
490
|
+
declare function groupCookiesForTriage(cookies: readonly CookieTriageAnalysis[]): CookieTriageCategoryPayload[];
|
|
491
|
+
//#endregion
|
|
492
|
+
//#region src/lib/resolvePrimaryCookiePurpose.d.ts
|
|
493
|
+
/**
|
|
494
|
+
* Pick the highest-ranked purpose slug when a cookie has multiple assigned purposes.
|
|
495
|
+
*
|
|
496
|
+
* Rank (highest first): Essential, Functional, Advertising, Analytics, SaleOfInfo.
|
|
497
|
+
* Returns `Unknown` when the list is empty or only `Unknown`, or `Custom` when only
|
|
498
|
+
* other non-default slugs are present.
|
|
499
|
+
*/
|
|
500
|
+
declare function resolvePrimaryCookiePurpose(trackingPurposes: string[] | undefined | null): CookieTriagePurposeCategory;
|
|
501
|
+
//#endregion
|
|
502
|
+
export { type BulkTriageInput, type BulkTriageItemInput, BulkTriageItemSchema, BulkTriageSchema, CONSENT_OAUTH_SCOPES, COOKIE_TRIAGE_FETCH_MAX, COOKIE_TRIAGE_FETCH_PAGE_SIZE, COOKIE_TRIAGE_MAX_PER_PURPOSE, COOKIE_TRIAGE_MIN_OCCURRENCES, COOKIE_TRIAGE_PURPOSE_LABELS, COOKIE_TRIAGE_PURPOSE_ORDER, COOKIE_TRIAGE_UI_PAGE_SIZE, type ConsentTriageListNode, ConsentTriageType, ConsentTriageTypeSchema, type CookieTriageAnalysis, type CookieTriageAppInput, type CookieTriageAppPayload, CookieTriageAppSchema, type CookieTriageCategoryPayload, CookieTriageDecision, CookieTriageLoadStatus, CookieTriagePurposeCategory, type DeleteCookiesInput, DeleteCookiesSchema, type DeleteDataFlowsInput, DeleteDataFlowsSchema, type GetAggregateAnalyticsInput, GetAggregateAnalyticsSchema, type GetAnalyticsDataInput, GetAnalyticsDataSchema, type GetInventoryStatsInput, GetInventoryStatsSchema, type GetPreferencesInput, GetPreferencesSchema, type GetTimeseriesAnalyticsInput, GetTimeseriesAnalyticsSchema, type ListAirgapBundlesInput, ListAirgapBundlesSchema, type ListCookiesInput, ListCookiesSchema, type ListDataFlowsInput, ListDataFlowsSchema, type ListPurposesInput, ListPurposesSchema, type ListRegimesInput, ListRegimesSchema, type UpdateCookieItemInput, UpdateCookieItemSchema, type UpdateCookiesInput, UpdateCookiesSchema, type UpdateDataFlowItemInput, UpdateDataFlowItemSchema, type UpdateDataFlowsInput, UpdateDataFlowsSchema, compareCookiesByOccurrencesDesc, fetchConsentTriageItems, fetchCookiesForTriage, fetchDataFlowsForTriage, fetchTriageOrganizationName, getConsentPrompts, getConsentTools, groupCookiesForTriage, projectCookieForTriage, projectDataFlowForTriage, projectListNodeForTriage, resolveAirgapBundleId, resolveAnalyticsDateRange, resolvePrimaryCookiePurpose };
|
|
268
503
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/tools/index.ts","../src/prompts/index.ts","../src/scopes.ts","../src/resolveAirgapBundleId.ts","../src/analyticsDateRange.ts","../src/tools/consent_get_preferences.ts","../src/tools/consent_list_airgap_bundles.ts","../src/tools/consent_list_cookies.ts","../src/tools/consent_list_data_flows.ts","../src/tools/consent_list_purposes.ts","../src/tools/consent_list_regimes.ts","../src/tools/consent_get_inventory_stats.ts","../src/tools/consent_get_aggregate_analytics.ts","../src/tools/consent_get_timeseries_analytics.ts","../src/tools/consent_get_analytics_data.ts","../src/tools/consent_update_cookies.ts","../src/tools/consent_update_data_flows.ts","../src/tools/consent_bulk_triage.ts"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/tools/index.ts","../src/prompts/index.ts","../src/scopes.ts","../src/resolveAirgapBundleId.ts","../src/analyticsDateRange.ts","../src/tools/consent_get_preferences.ts","../src/tools/consent_list_airgap_bundles.ts","../src/tools/consent_list_cookies.ts","../src/tools/consent_list_data_flows.ts","../src/tools/consent_list_purposes.ts","../src/tools/consent_list_regimes.ts","../src/tools/consent_get_inventory_stats.ts","../src/tools/consent_get_aggregate_analytics.ts","../src/tools/consent_get_timeseries_analytics.ts","../src/tools/consent_get_analytics_data.ts","../src/tools/consent_update_cookies.ts","../src/tools/consent_delete_cookies.ts","../src/tools/consent_delete_data_flows.ts","../src/tools/consent_update_data_flows.ts","../src/tools/consent_bulk_triage.ts","../src/tools/cookie_triage_app.ts","../src/lib/cookieTriageConfig.ts","../src/lib/cookieTriageTypes.ts","../src/lib/fetchConsentTriageItems.ts","../src/lib/projectTriageItem.ts","../src/lib/groupCookiesForTriage.ts","../src/lib/resolvePrimaryCookiePurpose.ts"],"mappings":";;;;;;iBAmBgB,eAAA,CAAgB,OAAA,EAAS,WAAA,GAAc,cAAA;;;;;;;;iBCRvC,iBAAA,CAAkB,QAAA,GAAW,WAAA,GAAc,gBAAA;;;;cCR9C,oBAAA,YAAoB,SAAA,CAAA,kBAAA,EAAA,SAAA,CAAA,0BAAA,EAAA,SAAA,CAAA,oBAAA,EAAA,SAAA,CAAA,4BAAA,EAAA,SAAA,CAAA,YAAA,EAAA,SAAA,CAAA,cAAA;;;;;;;;;AFgBjC;;iBGFsB,qBAAA,CAAsB,OAAA,EAAS,oBAAA,GAAuB,OAAA;;;UCjB3D,0BAAA;;EAEf,UAAA;;EAEA,QAAA;;EAEA,QAAA;EJac;EIXd,MAAA;AAAA;;;;iBAMc,yBAAA,CAA0B,IAAA;EJK2B,yCIHnE,KAAA;EAEA,GAAA;EAEA,IAAA;AAAA,IACE,0BAAA;;;cCnBS,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;KAIrB,mBAAA,GAAsB,CAAA,CAAE,KAAA,QAAa,oBAAA;;;cCKpC,uBAAA,EAAuB,KAAA,CAAA,SAAA,KAAc,cAAA,CAAd,MAAA;AAAA,KACxB,sBAAA,GAAyB,MAAA;;;cCKxB,iBAAA,EAAiB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;KAkClB,gBAAA,GAAmB,CAAA,CAAE,KAAA,QAAa,iBAAA;;;cCjCjC,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAuCpB,kBAAA,GAAqB,CAAA,CAAE,KAAA,QAAa,mBAAA;;;cC/CnC,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;KACnB,iBAAA,GAAoB,CAAA,CAAE,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GetAggregateAnalyticsSchema, GetAnalyticsDataSchema, GetInventoryStatsSchema, GetPreferencesSchema, GetTimeseriesAnalyticsSchema, ListAirgapBundlesSchema, ListCookiesSchema, ListDataFlowsSchema, ListPurposesSchema, ListRegimesSchema, UpdateCookieItemSchema, UpdateCookiesSchema, UpdateDataFlowItemSchema, UpdateDataFlowsSchema, getConsentPrompts, getConsentTools, resolveAirgapBundleId, resolveAnalyticsDateRange };
|
|
1
|
+
import { A as UpdateCookiesSchema, B as GetAggregateAnalyticsSchema, C as COOKIE_TRIAGE_PURPOSE_LABELS, D as UpdateDataFlowItemSchema, E as CookieTriagePurposeCategory, F as ListAirgapBundlesSchema, G as BulkTriageSchema, H as DeleteDataFlowsSchema, I as GetTimeseriesAnalyticsSchema, K as resolveAirgapBundleId, L as GetPreferencesSchema, M as ListPurposesSchema, N as ListDataFlowsSchema, O as UpdateDataFlowsSchema, P as ListCookiesSchema, R as GetInventoryStatsSchema, S as COOKIE_TRIAGE_MIN_OCCURRENCES, T as COOKIE_TRIAGE_UI_PAGE_SIZE, U as DeleteCookiesSchema, V as resolveAnalyticsDateRange, W as BulkTriageItemSchema, _ as CookieTriageDecision, a as CookieTriageAppSchema, b as COOKIE_TRIAGE_FETCH_PAGE_SIZE, c as resolvePrimaryCookiePurpose, d as fetchDataFlowsForTriage, f as fetchTriageOrganizationName, g as ConsentTriageType, h as projectListNodeForTriage, i as ConsentTriageTypeSchema, j as ListRegimesSchema, k as UpdateCookieItemSchema, l as fetchConsentTriageItems, m as projectDataFlowForTriage, n as getConsentPrompts, o as compareCookiesByOccurrencesDesc, p as projectCookieForTriage, r as getConsentTools, s as groupCookiesForTriage, t as CONSENT_OAUTH_SCOPES, u as fetchCookiesForTriage, v as CookieTriageLoadStatus, w as COOKIE_TRIAGE_PURPOSE_ORDER, x as COOKIE_TRIAGE_MAX_PER_PURPOSE, y as COOKIE_TRIAGE_FETCH_MAX, z as GetAnalyticsDataSchema } from "./scopes-JQW5ymQy.mjs";
|
|
2
|
+
export { BulkTriageItemSchema, BulkTriageSchema, CONSENT_OAUTH_SCOPES, COOKIE_TRIAGE_FETCH_MAX, COOKIE_TRIAGE_FETCH_PAGE_SIZE, COOKIE_TRIAGE_MAX_PER_PURPOSE, COOKIE_TRIAGE_MIN_OCCURRENCES, COOKIE_TRIAGE_PURPOSE_LABELS, COOKIE_TRIAGE_PURPOSE_ORDER, COOKIE_TRIAGE_UI_PAGE_SIZE, ConsentTriageType, ConsentTriageTypeSchema, CookieTriageAppSchema, CookieTriageDecision, CookieTriageLoadStatus, CookieTriagePurposeCategory, DeleteCookiesSchema, DeleteDataFlowsSchema, GetAggregateAnalyticsSchema, GetAnalyticsDataSchema, GetInventoryStatsSchema, GetPreferencesSchema, GetTimeseriesAnalyticsSchema, ListAirgapBundlesSchema, ListCookiesSchema, ListDataFlowsSchema, ListPurposesSchema, ListRegimesSchema, UpdateCookieItemSchema, UpdateCookiesSchema, UpdateDataFlowItemSchema, UpdateDataFlowsSchema, compareCookiesByOccurrencesDesc, fetchConsentTriageItems, fetchCookiesForTriage, fetchDataFlowsForTriage, fetchTriageOrganizationName, getConsentPrompts, getConsentTools, groupCookiesForTriage, projectCookieForTriage, projectDataFlowForTriage, projectListNodeForTriage, resolveAirgapBundleId, resolveAnalyticsDateRange, resolvePrimaryCookiePurpose };
|