@c15t/node-sdk 2.2.0 → 3.0.0-alpha.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.
@@ -124,362 +124,563 @@ export declare class C15TClient {
124
124
  * Create a new subject
125
125
  */
126
126
  create: (input: PostSubjectInput, options?: FetchOptions<PostSubjectOutput, PostSubjectInput>) => Promise<ResponseContext<{
127
- subjectId: string;
127
+ appliedPreferences?: {
128
+ [x: string]: boolean;
129
+ } | undefined;
128
130
  consentId: string;
129
- domainId: string;
130
131
  domain: string;
131
- type: string;
132
+ domainId: string;
133
+ givenAt: Date;
132
134
  metadata?: {
133
135
  [x: string]: unknown;
134
136
  } | undefined;
135
- appliedPreferences?: {
136
- [x: string]: boolean;
137
- } | undefined;
137
+ subjectId: string;
138
+ type: string;
138
139
  uiSource?: string | undefined;
139
- givenAt: Date;
140
140
  }>>;
141
141
  /**
142
142
  * Get a subject by ID
143
143
  */
144
144
  get: (id: string, query?: GetSubjectQuery, options?: FetchOptions<GetSubjectOutput, never, GetSubjectQuery>) => Promise<ResponseContext<{
145
- subject: {
146
- id: string;
147
- externalId?: string | undefined;
148
- createdAt?: Date | undefined;
149
- };
150
145
  consents: {
146
+ choice?: {
147
+ categories: {
148
+ experience?: {
149
+ basis: {
150
+ fingerprint: string;
151
+ kind: "choice-v1";
152
+ } | {
153
+ kind: "legacy-v2";
154
+ materialFingerprint?: string | undefined;
155
+ };
156
+ confirmedAt: number;
157
+ value: boolean;
158
+ } | undefined;
159
+ functionality?: {
160
+ basis: {
161
+ fingerprint: string;
162
+ kind: "choice-v1";
163
+ } | {
164
+ kind: "legacy-v2";
165
+ materialFingerprint?: string | undefined;
166
+ };
167
+ confirmedAt: number;
168
+ value: boolean;
169
+ } | undefined;
170
+ marketing?: {
171
+ basis: {
172
+ fingerprint: string;
173
+ kind: "choice-v1";
174
+ } | {
175
+ kind: "legacy-v2";
176
+ materialFingerprint?: string | undefined;
177
+ };
178
+ confirmedAt: number;
179
+ value: boolean;
180
+ } | undefined;
181
+ measurement?: {
182
+ basis: {
183
+ fingerprint: string;
184
+ kind: "choice-v1";
185
+ } | {
186
+ kind: "legacy-v2";
187
+ materialFingerprint?: string | undefined;
188
+ };
189
+ confirmedAt: number;
190
+ value: boolean;
191
+ } | undefined;
192
+ };
193
+ version: 3;
194
+ } | null | undefined;
195
+ givenAt: Date;
151
196
  id: string;
152
- type: string;
197
+ isLatestPolicy: boolean;
198
+ policyEffectiveDate?: Date | undefined;
199
+ policyHash?: string | undefined;
153
200
  policyId?: string | undefined;
154
201
  policyVersion?: string | undefined;
155
- policyHash?: string | undefined;
156
- policyEffectiveDate?: Date | undefined;
157
- isLatestPolicy: boolean;
158
202
  preferences?: {
159
203
  [x: string]: boolean;
160
204
  } | undefined;
161
- givenAt: Date;
205
+ type: string;
162
206
  }[];
163
207
  isValid: boolean;
164
- }>>;
165
- /**
166
- * Update a subject
167
- */
168
- patch: (id: string, input: Omit<PatchSubjectFullInput, 'id'>, options?: FetchOptions<PatchSubjectOutput, Omit<PatchSubjectFullInput, 'id'>>) => Promise<ResponseContext<{
169
- success: boolean;
208
+ privacyDirectives?: {
209
+ authority: "api" | "subject";
210
+ categories: ("experience" | "functionality" | "marketing" | "measurement")[];
211
+ id: string;
212
+ recordedAt: number;
213
+ signalHeader: boolean | null;
214
+ source: "gpc";
215
+ }[] | undefined;
170
216
  subject: {
217
+ createdAt?: Date | undefined;
218
+ externalId?: string | undefined;
171
219
  id: string;
172
- externalId: string;
220
+ identityProvider?: string | undefined;
173
221
  };
222
+ subjectChoice?: {
223
+ categories: {
224
+ experience?: {
225
+ basis: {
226
+ fingerprint: string;
227
+ kind: "choice-v1";
228
+ } | {
229
+ kind: "legacy-v2";
230
+ materialFingerprint?: string | undefined;
231
+ };
232
+ confirmedAt: number;
233
+ value: boolean;
234
+ } | undefined;
235
+ functionality?: {
236
+ basis: {
237
+ fingerprint: string;
238
+ kind: "choice-v1";
239
+ } | {
240
+ kind: "legacy-v2";
241
+ materialFingerprint?: string | undefined;
242
+ };
243
+ confirmedAt: number;
244
+ value: boolean;
245
+ } | undefined;
246
+ marketing?: {
247
+ basis: {
248
+ fingerprint: string;
249
+ kind: "choice-v1";
250
+ } | {
251
+ kind: "legacy-v2";
252
+ materialFingerprint?: string | undefined;
253
+ };
254
+ confirmedAt: number;
255
+ value: boolean;
256
+ } | undefined;
257
+ measurement?: {
258
+ basis: {
259
+ fingerprint: string;
260
+ kind: "choice-v1";
261
+ } | {
262
+ kind: "legacy-v2";
263
+ materialFingerprint?: string | undefined;
264
+ };
265
+ confirmedAt: number;
266
+ value: boolean;
267
+ } | undefined;
268
+ };
269
+ version: 3;
270
+ } | null | undefined;
174
271
  }>>;
175
272
  /**
176
273
  * List subjects
177
274
  */
178
275
  list: (query?: ListSubjectsQuery, options?: FetchOptions<ListSubjectsOutput, never, ListSubjectsQuery>) => Promise<ResponseContext<{
179
276
  subjects: {
180
- id: string;
181
- externalId: string;
182
- createdAt: Date;
183
277
  consents: {
278
+ choice?: {
279
+ categories: {
280
+ experience?: {
281
+ basis: {
282
+ fingerprint: string;
283
+ kind: "choice-v1";
284
+ } | {
285
+ kind: "legacy-v2";
286
+ materialFingerprint?: string | undefined;
287
+ };
288
+ confirmedAt: number;
289
+ value: boolean;
290
+ } | undefined;
291
+ functionality?: {
292
+ basis: {
293
+ fingerprint: string;
294
+ kind: "choice-v1";
295
+ } | {
296
+ kind: "legacy-v2";
297
+ materialFingerprint?: string | undefined;
298
+ };
299
+ confirmedAt: number;
300
+ value: boolean;
301
+ } | undefined;
302
+ marketing?: {
303
+ basis: {
304
+ fingerprint: string;
305
+ kind: "choice-v1";
306
+ } | {
307
+ kind: "legacy-v2";
308
+ materialFingerprint?: string | undefined;
309
+ };
310
+ confirmedAt: number;
311
+ value: boolean;
312
+ } | undefined;
313
+ measurement?: {
314
+ basis: {
315
+ fingerprint: string;
316
+ kind: "choice-v1";
317
+ } | {
318
+ kind: "legacy-v2";
319
+ materialFingerprint?: string | undefined;
320
+ };
321
+ confirmedAt: number;
322
+ value: boolean;
323
+ } | undefined;
324
+ };
325
+ version: 3;
326
+ } | null | undefined;
327
+ givenAt: Date;
184
328
  id: string;
185
- type: string;
329
+ isLatestPolicy: boolean;
330
+ policyEffectiveDate?: Date | undefined;
331
+ policyHash?: string | undefined;
186
332
  policyId?: string | undefined;
187
333
  policyVersion?: string | undefined;
188
- policyHash?: string | undefined;
189
- policyEffectiveDate?: Date | undefined;
190
- isLatestPolicy: boolean;
191
334
  preferences?: {
192
335
  [x: string]: boolean;
193
336
  } | undefined;
194
- givenAt: Date;
337
+ type: string;
195
338
  }[];
339
+ createdAt: Date;
340
+ externalId: string;
341
+ id: string;
196
342
  }[];
197
343
  }>>;
344
+ /**
345
+ * Update a subject
346
+ */
347
+ patch: (id: string, input: Omit<PatchSubjectFullInput, 'id'>, options?: FetchOptions<PatchSubjectOutput, Omit<PatchSubjectFullInput, 'id'>>) => Promise<ResponseContext<{
348
+ subject: {
349
+ externalId: string;
350
+ id: string;
351
+ };
352
+ success: boolean;
353
+ }>>;
198
354
  };
199
355
  /**
200
356
  * Namespaced access to meta endpoints
201
357
  */
202
358
  meta: {
203
- /**
204
- * Get API status
205
- */
206
- status: (options?: FetchOptions<StatusOutput>) => Promise<ResponseContext<{
207
- version: string;
208
- timestamp: Date;
209
- client: {
210
- ip: string | null;
211
- acceptLanguage: string | null;
212
- userAgent: string | null;
213
- region: {
214
- countryCode: string | null;
215
- regionCode: string | null;
216
- };
217
- };
218
- }>>;
219
359
  /**
220
360
  * Initialize consent manager
221
361
  */
222
362
  init: (options?: FetchOptions<InitOutput>) => Promise<ResponseContext<{
363
+ branding: "c15t" | "consent" | "inth" | "none";
364
+ cmpId?: number | undefined;
365
+ customVendors?: {
366
+ cookieMaxAgeSeconds?: number | undefined;
367
+ dataCategories?: number[] | undefined;
368
+ dataRetentionDays?: number | undefined;
369
+ description?: string | undefined;
370
+ features?: number[] | undefined;
371
+ id: string | number;
372
+ legIntPurposes?: number[] | undefined;
373
+ name: string;
374
+ privacyPolicyUrl: string;
375
+ purposes: number[];
376
+ specialFeatures?: number[] | undefined;
377
+ usesCookies?: boolean | undefined;
378
+ usesNonCookieAccess?: boolean | undefined;
379
+ }[] | undefined;
380
+ gvl?: {
381
+ dataCategories?: {
382
+ [x: string]: {
383
+ description: string;
384
+ id: number;
385
+ name: string;
386
+ };
387
+ } | undefined;
388
+ features: {
389
+ [x: string]: {
390
+ description: string;
391
+ descriptionLegal?: string | undefined;
392
+ id: number;
393
+ illustrations: string[];
394
+ name: string;
395
+ };
396
+ };
397
+ gvlSpecificationVersion: number;
398
+ lastUpdated: string;
399
+ purposes: {
400
+ [x: string]: {
401
+ description: string;
402
+ descriptionLegal?: string | undefined;
403
+ id: number;
404
+ illustrations: string[];
405
+ name: string;
406
+ };
407
+ };
408
+ specialFeatures: {
409
+ [x: string]: {
410
+ description: string;
411
+ descriptionLegal?: string | undefined;
412
+ id: number;
413
+ illustrations: string[];
414
+ name: string;
415
+ };
416
+ };
417
+ specialPurposes: {
418
+ [x: string]: {
419
+ description: string;
420
+ descriptionLegal?: string | undefined;
421
+ id: number;
422
+ illustrations: string[];
423
+ name: string;
424
+ };
425
+ };
426
+ stacks: {
427
+ [x: string]: {
428
+ description: string;
429
+ id: number;
430
+ name: string;
431
+ purposes: number[];
432
+ specialFeatures: number[];
433
+ };
434
+ };
435
+ tcfPolicyVersion: number;
436
+ vendorListVersion: number;
437
+ vendors: {
438
+ [x: string]: {
439
+ cookieMaxAgeSeconds: number | null;
440
+ cookieRefresh: boolean;
441
+ dataCategories?: number[] | undefined;
442
+ dataRetention?: {
443
+ purposes?: {
444
+ [x: string]: number;
445
+ } | undefined;
446
+ specialPurposes?: {
447
+ [x: string]: number;
448
+ } | undefined;
449
+ stdRetention?: number | undefined;
450
+ } | undefined;
451
+ deletedDate?: string | undefined;
452
+ deviceStorageDisclosureUrl?: string | undefined;
453
+ features: number[];
454
+ flexiblePurposes: number[];
455
+ id: number;
456
+ legIntPurposes: number[];
457
+ name: string;
458
+ overflow?: {
459
+ httpGetLimit: number;
460
+ } | undefined;
461
+ purposes: number[];
462
+ specialFeatures: number[];
463
+ specialPurposes: number[];
464
+ urls: {
465
+ langId: string;
466
+ legIntClaim?: string | undefined;
467
+ privacy?: string | undefined;
468
+ }[];
469
+ usesCookies: boolean;
470
+ usesNonCookieAccess: boolean;
471
+ };
472
+ };
473
+ } | null | undefined;
474
+ gvlReference?: {
475
+ context?: {
476
+ country?: string | undefined;
477
+ gpc?: boolean | undefined;
478
+ region?: string | undefined;
479
+ } | undefined;
480
+ format?: "init" | undefined;
481
+ language: string;
482
+ summary?: {
483
+ items: string[];
484
+ vendorCount: number;
485
+ } | undefined;
486
+ url: string;
487
+ vendorListVersion: number;
488
+ } | undefined;
223
489
  jurisdiction: "APPI" | "AU" | "BR" | "CCPA" | "CH" | "GDPR" | "NONE" | "PIPA" | "PIPEDA" | "QC_LAW25" | "UK_GDPR";
224
490
  location: {
225
491
  countryCode: string | null;
226
492
  regionCode: string | null;
227
493
  };
494
+ policyResolution: {
495
+ policy: null;
496
+ status: "unconfigured";
497
+ version: 1;
498
+ } | {
499
+ policy: null;
500
+ status: "no-match";
501
+ version: 1;
502
+ } | {
503
+ policy: null;
504
+ reason: "insufficient-inputs" | "invalid-configuration" | "invalid-payload" | "transport" | "unsupported-contract";
505
+ status: "failed";
506
+ version: 1;
507
+ } | {
508
+ fingerprints: {
509
+ choice: string;
510
+ legacyMaterial?: string | undefined;
511
+ notice: string;
512
+ policy: string;
513
+ };
514
+ matchedBy: "country" | "default" | "fallback" | "region";
515
+ policy: {
516
+ actions: {
517
+ allowed: ("accept" | "customize" | "dismiss" | "reject")[];
518
+ equivalent: ("accept" | "customize" | "dismiss" | "reject")[][];
519
+ required: ("accept" | "customize" | "dismiss" | "reject")[];
520
+ };
521
+ copyRevision: string | null;
522
+ i18n?: {
523
+ language?: string | undefined;
524
+ messageProfile?: string | undefined;
525
+ } | undefined;
526
+ id: string;
527
+ model: "iab" | "none" | "opt-in" | "opt-out";
528
+ preselectedCategories: ("experience" | "functionality" | "marketing" | "measurement")[];
529
+ privacySignals: {
530
+ gpc: {
531
+ denyCategories: ("experience" | "functionality" | "marketing" | "measurement")[];
532
+ };
533
+ };
534
+ prompt: "choice" | "none" | "notice";
535
+ proof: {
536
+ storeIp: boolean;
537
+ storeLanguage: boolean;
538
+ storeUserAgent: boolean;
539
+ };
540
+ rights: ("disclosure" | "opt-out" | "preferences")[];
541
+ scope: ("experience" | "functionality" | "marketing" | "measurement")[];
542
+ scopeMode: "permissive" | "strict";
543
+ validity: {
544
+ choiceMs: number;
545
+ noticeMs: number;
546
+ };
547
+ };
548
+ policyId: string;
549
+ status: "matched";
550
+ version: 1;
551
+ };
552
+ policySnapshotToken?: string | undefined;
553
+ resolvedPrivacySignals?: {
554
+ gpc?: boolean | undefined;
555
+ } | undefined;
228
556
  translations: {
229
557
  language: string;
230
558
  translations: {
231
559
  common: {
232
560
  acceptAll: string;
233
- rejectAll: string;
561
+ acknowledge?: string | undefined;
234
562
  customize: string;
563
+ dismiss?: string | undefined;
564
+ rejectAll: string;
235
565
  save: string;
236
566
  };
237
- cookieBanner: {
238
- title: string;
239
- description: string;
240
- };
241
567
  consentManagerDialog: {
242
- title: string;
243
568
  description: string;
569
+ title: string;
244
570
  };
245
571
  consentTypes: {
246
572
  experience: {
247
- title: string;
248
573
  description: string;
574
+ title: string;
249
575
  };
250
576
  functionality: {
251
- title: string;
252
577
  description: string;
578
+ title: string;
253
579
  };
254
580
  marketing: {
255
- title: string;
256
581
  description: string;
582
+ title: string;
257
583
  };
258
584
  measurement: {
259
- title: string;
260
585
  description: string;
586
+ title: string;
261
587
  };
262
588
  necessary: {
263
- title: string;
264
589
  description: string;
590
+ title: string;
265
591
  };
266
592
  };
267
- frame: {
593
+ cookieBanner: {
594
+ description: string;
268
595
  title: string;
596
+ noticeDescription?: string | undefined;
597
+ noticeTitle?: string | undefined;
598
+ };
599
+ frame: {
269
600
  actionButton: string;
601
+ title: string;
270
602
  };
271
603
  legalLinks: {
604
+ cookiePolicy: string;
272
605
  privacyPolicy: string;
273
606
  termsOfService: string;
274
- cookiePolicy: string;
275
607
  };
608
+ rights?: {
609
+ optOut?: string | undefined;
610
+ preferences?: string | undefined;
611
+ } | undefined;
276
612
  } | {
277
613
  common: {
278
614
  acceptAll?: string | undefined;
279
- rejectAll?: string | undefined;
615
+ acknowledge?: string | undefined;
280
616
  customize?: string | undefined;
617
+ dismiss?: string | undefined;
618
+ rejectAll?: string | undefined;
281
619
  save?: string | undefined;
282
620
  };
283
- cookieBanner: {
284
- title?: string | undefined;
285
- description?: string | undefined;
286
- };
287
621
  consentManagerDialog: {
288
- title?: string | undefined;
289
622
  description?: string | undefined;
623
+ title?: string | undefined;
290
624
  };
291
625
  consentTypes: {
292
626
  experience?: {
293
- title?: string | undefined;
294
627
  description?: string | undefined;
628
+ title?: string | undefined;
295
629
  } | undefined;
296
630
  functionality?: {
297
- title?: string | undefined;
298
631
  description?: string | undefined;
632
+ title?: string | undefined;
299
633
  } | undefined;
300
634
  marketing?: {
301
- title?: string | undefined;
302
635
  description?: string | undefined;
636
+ title?: string | undefined;
303
637
  } | undefined;
304
638
  measurement?: {
305
- title?: string | undefined;
306
639
  description?: string | undefined;
640
+ title?: string | undefined;
307
641
  } | undefined;
308
642
  necessary?: {
309
- title?: string | undefined;
310
643
  description?: string | undefined;
644
+ title?: string | undefined;
311
645
  } | undefined;
312
646
  };
313
- frame?: {
647
+ cookieBanner: {
648
+ description?: string | undefined;
314
649
  title?: string | undefined;
650
+ noticeDescription?: string | undefined;
651
+ noticeTitle?: string | undefined;
652
+ };
653
+ frame?: {
315
654
  actionButton?: string | undefined;
655
+ title?: string | undefined;
316
656
  } | undefined;
317
657
  legalLinks?: {
658
+ cookiePolicy?: string | undefined;
318
659
  privacyPolicy?: string | undefined;
319
660
  termsOfService?: string | undefined;
320
- cookiePolicy?: string | undefined;
661
+ } | undefined;
662
+ rights?: {
663
+ optOut?: string | undefined;
664
+ preferences?: string | undefined;
321
665
  } | undefined;
322
666
  };
323
667
  };
324
- branding: "c15t" | "consent" | "inth" | "none";
325
- gvl?: {
326
- gvlSpecificationVersion: number;
327
- vendorListVersion: number;
328
- tcfPolicyVersion: number;
329
- lastUpdated: string;
330
- purposes: {
331
- [x: string]: {
332
- id: number;
333
- name: string;
334
- description: string;
335
- illustrations: string[];
336
- descriptionLegal?: string | undefined;
337
- };
338
- };
339
- specialPurposes: {
340
- [x: string]: {
341
- id: number;
342
- name: string;
343
- description: string;
344
- illustrations: string[];
345
- descriptionLegal?: string | undefined;
346
- };
347
- };
348
- features: {
349
- [x: string]: {
350
- id: number;
351
- name: string;
352
- description: string;
353
- illustrations: string[];
354
- descriptionLegal?: string | undefined;
355
- };
356
- };
357
- specialFeatures: {
358
- [x: string]: {
359
- id: number;
360
- name: string;
361
- description: string;
362
- illustrations: string[];
363
- descriptionLegal?: string | undefined;
364
- };
365
- };
366
- vendors: {
367
- [x: string]: {
368
- id: number;
369
- name: string;
370
- purposes: number[];
371
- legIntPurposes: number[];
372
- flexiblePurposes: number[];
373
- specialPurposes: number[];
374
- features: number[];
375
- specialFeatures: number[];
376
- cookieMaxAgeSeconds: number | null;
377
- usesCookies: boolean;
378
- cookieRefresh: boolean;
379
- usesNonCookieAccess: boolean;
380
- urls: {
381
- langId: string;
382
- privacy?: string | undefined;
383
- legIntClaim?: string | undefined;
384
- }[];
385
- deviceStorageDisclosureUrl?: string | undefined;
386
- dataCategories?: number[] | undefined;
387
- dataRetention?: {
388
- purposes?: {
389
- [x: string]: number;
390
- } | undefined;
391
- specialPurposes?: {
392
- [x: string]: number;
393
- } | undefined;
394
- stdRetention?: number | undefined;
395
- } | undefined;
396
- deletedDate?: string | undefined;
397
- overflow?: {
398
- httpGetLimit: number;
399
- } | undefined;
400
- };
401
- };
402
- stacks: {
403
- [x: string]: {
404
- id: number;
405
- name: string;
406
- description: string;
407
- purposes: number[];
408
- specialFeatures: number[];
409
- };
668
+ }>>;
669
+ /**
670
+ * Get API status
671
+ */
672
+ status: (options?: FetchOptions<StatusOutput>) => Promise<ResponseContext<{
673
+ client: {
674
+ acceptLanguage: string | null;
675
+ ip: string | null;
676
+ region: {
677
+ countryCode: string | null;
678
+ regionCode: string | null;
410
679
  };
411
- dataCategories?: {
412
- [x: string]: {
413
- id: number;
414
- name: string;
415
- description: string;
416
- };
417
- } | undefined;
418
- } | null | undefined;
419
- customVendors?: {
420
- id: string | number;
421
- name: string;
422
- privacyPolicyUrl: string;
423
- description?: string | undefined;
424
- purposes: number[];
425
- legIntPurposes?: number[] | undefined;
426
- features?: number[] | undefined;
427
- specialFeatures?: number[] | undefined;
428
- dataCategories?: number[] | undefined;
429
- cookieMaxAgeSeconds?: number | undefined;
430
- usesCookies?: boolean | undefined;
431
- usesNonCookieAccess?: boolean | undefined;
432
- dataRetentionDays?: number | undefined;
433
- }[] | undefined;
434
- cmpId?: number | undefined;
435
- policy?: {
436
- id: string;
437
- model: "iab" | "none" | "opt-in" | "opt-out";
438
- i18n?: {
439
- language?: string | undefined;
440
- messageProfile?: string | undefined;
441
- } | undefined;
442
- consent?: {
443
- expiryDays?: number | undefined;
444
- scopeMode?: "permissive" | "strict" | undefined;
445
- categories?: string[] | undefined;
446
- preselectedCategories?: string[] | undefined;
447
- gpc?: boolean | undefined;
448
- } | undefined;
449
- ui?: {
450
- mode?: "banner" | "dialog" | "none" | undefined;
451
- banner?: {
452
- allowedActions?: ("accept" | "customize" | "reject")[] | undefined;
453
- primaryActions?: ("accept" | "customize" | "reject")[] | undefined;
454
- layout?: ("accept" | "customize" | "reject" | ("accept" | "customize" | "reject")[])[] | undefined;
455
- direction?: "column" | "row" | undefined;
456
- uiProfile?: "balanced" | "compact" | "strict" | undefined;
457
- scrollLock?: boolean | undefined;
458
- } | undefined;
459
- dialog?: {
460
- allowedActions?: ("accept" | "customize" | "reject")[] | undefined;
461
- primaryActions?: ("accept" | "customize" | "reject")[] | undefined;
462
- layout?: ("accept" | "customize" | "reject" | ("accept" | "customize" | "reject")[])[] | undefined;
463
- direction?: "column" | "row" | undefined;
464
- uiProfile?: "balanced" | "compact" | "strict" | undefined;
465
- scrollLock?: boolean | undefined;
466
- } | undefined;
467
- } | undefined;
468
- proof?: {
469
- storeIp?: boolean | undefined;
470
- storeUserAgent?: boolean | undefined;
471
- storeLanguage?: boolean | undefined;
472
- } | undefined;
473
- } | undefined;
474
- policyDecision?: {
475
- policyId: string;
476
- fingerprint: string;
477
- matchedBy: "country" | "default" | "fallback" | "region";
478
- country: string | null;
479
- region: string | null;
480
- jurisdiction: "APPI" | "AU" | "BR" | "CCPA" | "CH" | "GDPR" | "NONE" | "PIPA" | "PIPEDA" | "QC_LAW25" | "UK_GDPR";
481
- } | undefined;
482
- policySnapshotToken?: string | undefined;
680
+ userAgent: string | null;
681
+ };
682
+ timestamp: Date;
683
+ version: string;
483
684
  }>>;
484
685
  };
485
686
  }