@oursprivacy/platform-sdk 1.61.0 → 1.63.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/client.d.mts +5 -2
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +5 -2
  5. package/client.d.ts.map +1 -1
  6. package/client.js +3 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +3 -0
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/attribution-reports.d.mts +1400 -0
  12. package/resources/attribution-reports.d.mts.map +1 -0
  13. package/resources/attribution-reports.d.ts +1400 -0
  14. package/resources/attribution-reports.d.ts.map +1 -0
  15. package/resources/attribution-reports.js +116 -0
  16. package/resources/attribution-reports.js.map +1 -0
  17. package/resources/attribution-reports.mjs +112 -0
  18. package/resources/attribution-reports.mjs.map +1 -0
  19. package/resources/dashboards.d.mts +8 -0
  20. package/resources/dashboards.d.mts.map +1 -1
  21. package/resources/dashboards.d.ts +8 -0
  22. package/resources/dashboards.d.ts.map +1 -1
  23. package/resources/experiment-variants.d.mts +84 -93
  24. package/resources/experiment-variants.d.mts.map +1 -1
  25. package/resources/experiment-variants.d.ts +84 -93
  26. package/resources/experiment-variants.d.ts.map +1 -1
  27. package/resources/experiment-variants.js +3 -1
  28. package/resources/experiment-variants.js.map +1 -1
  29. package/resources/experiment-variants.mjs +3 -1
  30. package/resources/experiment-variants.mjs.map +1 -1
  31. package/resources/experiments.d.mts +50 -65
  32. package/resources/experiments.d.mts.map +1 -1
  33. package/resources/experiments.d.ts +50 -65
  34. package/resources/experiments.d.ts.map +1 -1
  35. package/resources/index.d.mts +2 -1
  36. package/resources/index.d.mts.map +1 -1
  37. package/resources/index.d.ts +2 -1
  38. package/resources/index.d.ts.map +1 -1
  39. package/resources/index.js +3 -1
  40. package/resources/index.js.map +1 -1
  41. package/resources/index.mjs +1 -0
  42. package/resources/index.mjs.map +1 -1
  43. package/resources/insights.d.mts +24 -0
  44. package/resources/insights.d.mts.map +1 -1
  45. package/resources/insights.d.ts +24 -0
  46. package/resources/insights.d.ts.map +1 -1
  47. package/resources/videos.d.mts +17 -5
  48. package/resources/videos.d.mts.map +1 -1
  49. package/resources/videos.d.ts +17 -5
  50. package/resources/videos.d.ts.map +1 -1
  51. package/resources/videos.js +2 -2
  52. package/resources/videos.mjs +2 -2
  53. package/resources/web-scanners.d.mts +100 -38
  54. package/resources/web-scanners.d.mts.map +1 -1
  55. package/resources/web-scanners.d.ts +100 -38
  56. package/resources/web-scanners.d.ts.map +1 -1
  57. package/resources/web-scanners.js +43 -24
  58. package/resources/web-scanners.js.map +1 -1
  59. package/resources/web-scanners.mjs +43 -24
  60. package/resources/web-scanners.mjs.map +1 -1
  61. package/src/client.ts +49 -0
  62. package/src/resources/attribution-reports.ts +2294 -0
  63. package/src/resources/dashboards.ts +8 -0
  64. package/src/resources/experiment-variants.ts +84 -93
  65. package/src/resources/experiments.ts +50 -65
  66. package/src/resources/index.ts +23 -0
  67. package/src/resources/insights.ts +24 -0
  68. package/src/resources/videos.ts +243 -5
  69. package/src/resources/web-scanners.ts +117 -37
  70. package/src/version.ts +1 -1
  71. package/version.d.mts +1 -1
  72. package/version.d.ts +1 -1
  73. package/version.js +1 -1
  74. package/version.mjs +1 -1
@@ -29,6 +29,27 @@ export {
29
29
  type AttributionAudienceConversionParams,
30
30
  type AttributionUtmComparisonParams,
31
31
  } from './attribution';
32
+ export {
33
+ AttributionReports,
34
+ type AttributionReportListResponse,
35
+ type AttributionReportCreateResponse,
36
+ type AttributionReportRetrieveResponse,
37
+ type AttributionReportUpdateResponse,
38
+ type AttributionReportDeleteResponse,
39
+ type AttributionReportDuplicateResponse,
40
+ type AttributionReportPreviewResponse,
41
+ type AttributionReportVisitorsResponse,
42
+ type AttributionReportInsightsResponse,
43
+ type AttributionReportListParams,
44
+ type AttributionReportCreateParams,
45
+ type AttributionReportUpdateParams,
46
+ type AttributionReportDeleteParams,
47
+ type AttributionReportDuplicateParams,
48
+ type AttributionReportPreviewParams,
49
+ type AttributionReportVisitorsParams,
50
+ type AttributionReportInsightsParams,
51
+ type AttributionReportListResponsesCursor,
52
+ } from './attribution-reports';
32
53
  export {
33
54
  AudienceConversionReports,
34
55
  type AudienceConversionReportListResponse,
@@ -556,6 +577,7 @@ export {
556
577
  type WebScannerTargetedScanResponse,
557
578
  type WebScannerVerificationRunResponse,
558
579
  type WebScannerVerificationRunsResponse,
580
+ type WebScannerRunsResponse,
559
581
  type WebScannerFindingsResponse,
560
582
  type WebScannerCookiesResponse,
561
583
  type WebScannerSummaryResponse,
@@ -567,6 +589,7 @@ export {
567
589
  type WebScannerTargetedScanParams,
568
590
  type WebScannerVerificationRunParams,
569
591
  type WebScannerVerificationRunsParams,
592
+ type WebScannerRunsParams,
570
593
  type WebScannerFindingsParams,
571
594
  type WebScannerCookiesParams,
572
595
  type WebScannerSummaryParams,
@@ -162,6 +162,10 @@ export namespace InsightListResponse {
162
162
 
163
163
  export namespace Definition {
164
164
  export interface Metric {
165
+ /**
166
+ * UUID that identifies this metric within the definition. Generate a new random
167
+ * UUID when adding a metric; it is not an event or metric name.
168
+ */
165
169
  id: string;
166
170
 
167
171
  aggregation: 'event_count' | 'unique_visitors' | 'sum' | 'average';
@@ -423,6 +427,10 @@ export namespace InsightCreateResponse {
423
427
 
424
428
  export namespace Definition {
425
429
  export interface Metric {
430
+ /**
431
+ * UUID that identifies this metric within the definition. Generate a new random
432
+ * UUID when adding a metric; it is not an event or metric name.
433
+ */
426
434
  id: string;
427
435
 
428
436
  aggregation: 'event_count' | 'unique_visitors' | 'sum' | 'average';
@@ -684,6 +692,10 @@ export namespace InsightRetrieveResponse {
684
692
 
685
693
  export namespace Definition {
686
694
  export interface Metric {
695
+ /**
696
+ * UUID that identifies this metric within the definition. Generate a new random
697
+ * UUID when adding a metric; it is not an event or metric name.
698
+ */
687
699
  id: string;
688
700
 
689
701
  aggregation: 'event_count' | 'unique_visitors' | 'sum' | 'average';
@@ -945,6 +957,10 @@ export namespace InsightUpdateResponse {
945
957
 
946
958
  export namespace Definition {
947
959
  export interface Metric {
960
+ /**
961
+ * UUID that identifies this metric within the definition. Generate a new random
962
+ * UUID when adding a metric; it is not an event or metric name.
963
+ */
948
964
  id: string;
949
965
 
950
966
  aggregation: 'event_count' | 'unique_visitors' | 'sum' | 'average';
@@ -1453,6 +1469,10 @@ export namespace InsightCreateParams {
1453
1469
 
1454
1470
  export namespace Definition {
1455
1471
  export interface Metric {
1472
+ /**
1473
+ * UUID that identifies this metric within the definition. Generate a new random
1474
+ * UUID when adding a metric; it is not an event or metric name.
1475
+ */
1456
1476
  id: string;
1457
1477
 
1458
1478
  aggregation: 'event_count' | 'unique_visitors' | 'sum' | 'average';
@@ -1708,6 +1728,10 @@ export namespace InsightUpdateParams {
1708
1728
 
1709
1729
  export namespace Definition {
1710
1730
  export interface Metric {
1731
+ /**
1732
+ * UUID that identifies this metric within the definition. Generate a new random
1733
+ * UUID when adding a metric; it is not an event or metric name.
1734
+ */
1711
1735
  id: string;
1712
1736
 
1713
1737
  aggregation: 'event_count' | 'unique_visitors' | 'sum' | 'average';
@@ -151,7 +151,7 @@ export class Videos extends APIResource {
151
151
  * ```ts
152
152
  * const response =
153
153
  * await client.videos.requestCaptionTranslation('id', {
154
- * languageCode: 'languageCode',
154
+ * languageCode: 'af',
155
155
  * });
156
156
  * ```
157
157
  */
@@ -171,7 +171,7 @@ export class Videos extends APIResource {
171
171
  * ```ts
172
172
  * const response =
173
173
  * await client.videos.cancelCaptionTranslation('id', {
174
- * languageCode: 'languageCode',
174
+ * languageCode: 'af',
175
175
  * });
176
176
  * ```
177
177
  */
@@ -712,17 +712,255 @@ export interface VideoUpdateTranscriptParams {
712
712
  */
713
713
  format: 'SRT' | 'VTT';
714
714
 
715
- languageCode?: string | null;
715
+ /**
716
+ * Caption track language to replace. Omit or send `null` to replace the source
717
+ * transcript in the video's source language (`en` when none is set); another
718
+ * language edits that translated track.
719
+ */
720
+ languageCode?:
721
+ | 'af'
722
+ | 'sq'
723
+ | 'am'
724
+ | 'ar'
725
+ | 'hy'
726
+ | 'az'
727
+ | 'bn'
728
+ | 'bs'
729
+ | 'bg'
730
+ | 'ca'
731
+ | 'zh'
732
+ | 'zh-TW'
733
+ | 'hr'
734
+ | 'cs'
735
+ | 'da'
736
+ | 'fa-AF'
737
+ | 'nl'
738
+ | 'en'
739
+ | 'et'
740
+ | 'fa'
741
+ | 'tl'
742
+ | 'fi'
743
+ | 'fr'
744
+ | 'fr-CA'
745
+ | 'ka'
746
+ | 'de'
747
+ | 'el'
748
+ | 'gu'
749
+ | 'ht'
750
+ | 'ha'
751
+ | 'he'
752
+ | 'hi'
753
+ | 'hu'
754
+ | 'is'
755
+ | 'id'
756
+ | 'ga'
757
+ | 'it'
758
+ | 'ja'
759
+ | 'kn'
760
+ | 'kk'
761
+ | 'ko'
762
+ | 'lv'
763
+ | 'lt'
764
+ | 'mk'
765
+ | 'ms'
766
+ | 'ml'
767
+ | 'mt'
768
+ | 'mr'
769
+ | 'mn'
770
+ | 'no'
771
+ | 'ps'
772
+ | 'pl'
773
+ | 'pt'
774
+ | 'pt-PT'
775
+ | 'pa'
776
+ | 'ro'
777
+ | 'ru'
778
+ | 'sr'
779
+ | 'si'
780
+ | 'sk'
781
+ | 'sl'
782
+ | 'so'
783
+ | 'es'
784
+ | 'es-MX'
785
+ | 'sw'
786
+ | 'sv'
787
+ | 'ta'
788
+ | 'te'
789
+ | 'th'
790
+ | 'tr'
791
+ | 'uk'
792
+ | 'ur'
793
+ | 'uz'
794
+ | 'vi'
795
+ | 'cy'
796
+ | null;
716
797
  }
717
798
 
718
799
  export interface VideoRequestCaptionTranslationParams {
719
- languageCode: string;
800
+ /**
801
+ * Target language for the machine-translated caption track. Must differ from the
802
+ * video's source language.
803
+ */
804
+ languageCode:
805
+ | 'af'
806
+ | 'sq'
807
+ | 'am'
808
+ | 'ar'
809
+ | 'hy'
810
+ | 'az'
811
+ | 'bn'
812
+ | 'bs'
813
+ | 'bg'
814
+ | 'ca'
815
+ | 'zh'
816
+ | 'zh-TW'
817
+ | 'hr'
818
+ | 'cs'
819
+ | 'da'
820
+ | 'fa-AF'
821
+ | 'nl'
822
+ | 'en'
823
+ | 'et'
824
+ | 'fa'
825
+ | 'tl'
826
+ | 'fi'
827
+ | 'fr'
828
+ | 'fr-CA'
829
+ | 'ka'
830
+ | 'de'
831
+ | 'el'
832
+ | 'gu'
833
+ | 'ht'
834
+ | 'ha'
835
+ | 'he'
836
+ | 'hi'
837
+ | 'hu'
838
+ | 'is'
839
+ | 'id'
840
+ | 'ga'
841
+ | 'it'
842
+ | 'ja'
843
+ | 'kn'
844
+ | 'kk'
845
+ | 'ko'
846
+ | 'lv'
847
+ | 'lt'
848
+ | 'mk'
849
+ | 'ms'
850
+ | 'ml'
851
+ | 'mt'
852
+ | 'mr'
853
+ | 'mn'
854
+ | 'no'
855
+ | 'ps'
856
+ | 'pl'
857
+ | 'pt'
858
+ | 'pt-PT'
859
+ | 'pa'
860
+ | 'ro'
861
+ | 'ru'
862
+ | 'sr'
863
+ | 'si'
864
+ | 'sk'
865
+ | 'sl'
866
+ | 'so'
867
+ | 'es'
868
+ | 'es-MX'
869
+ | 'sw'
870
+ | 'sv'
871
+ | 'ta'
872
+ | 'te'
873
+ | 'th'
874
+ | 'tr'
875
+ | 'uk'
876
+ | 'ur'
877
+ | 'uz'
878
+ | 'vi'
879
+ | 'cy';
720
880
 
721
881
  replace?: boolean | null;
722
882
  }
723
883
 
724
884
  export interface VideoCancelCaptionTranslationParams {
725
- languageCode: string;
885
+ /**
886
+ * Target language whose queued or in-progress caption translation to cancel.
887
+ */
888
+ languageCode:
889
+ | 'af'
890
+ | 'sq'
891
+ | 'am'
892
+ | 'ar'
893
+ | 'hy'
894
+ | 'az'
895
+ | 'bn'
896
+ | 'bs'
897
+ | 'bg'
898
+ | 'ca'
899
+ | 'zh'
900
+ | 'zh-TW'
901
+ | 'hr'
902
+ | 'cs'
903
+ | 'da'
904
+ | 'fa-AF'
905
+ | 'nl'
906
+ | 'en'
907
+ | 'et'
908
+ | 'fa'
909
+ | 'tl'
910
+ | 'fi'
911
+ | 'fr'
912
+ | 'fr-CA'
913
+ | 'ka'
914
+ | 'de'
915
+ | 'el'
916
+ | 'gu'
917
+ | 'ht'
918
+ | 'ha'
919
+ | 'he'
920
+ | 'hi'
921
+ | 'hu'
922
+ | 'is'
923
+ | 'id'
924
+ | 'ga'
925
+ | 'it'
926
+ | 'ja'
927
+ | 'kn'
928
+ | 'kk'
929
+ | 'ko'
930
+ | 'lv'
931
+ | 'lt'
932
+ | 'mk'
933
+ | 'ms'
934
+ | 'ml'
935
+ | 'mt'
936
+ | 'mr'
937
+ | 'mn'
938
+ | 'no'
939
+ | 'ps'
940
+ | 'pl'
941
+ | 'pt'
942
+ | 'pt-PT'
943
+ | 'pa'
944
+ | 'ro'
945
+ | 'ru'
946
+ | 'sr'
947
+ | 'si'
948
+ | 'sk'
949
+ | 'sl'
950
+ | 'so'
951
+ | 'es'
952
+ | 'es-MX'
953
+ | 'sw'
954
+ | 'sv'
955
+ | 'ta'
956
+ | 'te'
957
+ | 'th'
958
+ | 'tr'
959
+ | 'uk'
960
+ | 'ur'
961
+ | 'uz'
962
+ | 'vi'
963
+ | 'cy';
726
964
  }
727
965
 
728
966
  export interface VideoAnalyticsParams {
@@ -210,6 +210,26 @@ export class WebScanners extends APIResource {
210
210
  return this._client.get(path`/rest/v1/web-scanners/${id}/verification-runs`, { query, ...options });
211
211
  }
212
212
 
213
+ /**
214
+ * List the scan runs recorded for this scanner, newest first, one per UTC day.
215
+ * Pass an entry's `runDate` as `date` to read that run from the summary, findings,
216
+ * cookies, or decision queue. A missing id and an id this credential cannot access
217
+ * return the same 404. Requires API-key scope or current OAuth user permission:
218
+ * webScanner:find
219
+ *
220
+ * @example
221
+ * ```ts
222
+ * const response = await client.webScanners.runs('id');
223
+ * ```
224
+ */
225
+ runs(
226
+ id: string,
227
+ query: WebScannerRunsParams | null | undefined = {},
228
+ options?: RequestOptions,
229
+ ): APIPromise<WebScannerRunsResponse> {
230
+ return this._client.get(path`/rest/v1/web-scanners/${id}/runs`, { query, ...options });
231
+ }
232
+
213
233
  /**
214
234
  * List the third-party trackers (requests) found on a scan run, with their risk,
215
235
  * category, the pages they were seen on, redacted deterministic PII/PHI data-flow
@@ -217,12 +237,12 @@ export class WebScanners extends APIResource {
217
237
  * Data-flow findings include only recipient metadata, categories, source
218
238
  * locations, safe query/body field names when available, and counts; matched
219
239
  * query, body, and pathname values are never returned. Defaults to the latest run;
220
- * pass `date` (an ISO-8601 timestamp; only the calendar day is used to select the
221
- * run) to read an earlier run. Documented exception to the cursor-pagination
222
- * standard: paginates with `limit` and `offset` because each run is an immutable
223
- * snapshot. A host that is neither covered (`coveredByCmp: false`) nor matched by
224
- * a suppression rule still needs a triage decision — resolve it by adding the host
225
- * to a CMP consent service or by creating a suppression rule with
240
+ * pass `date` (a day listed by `GET /rest/v1/web-scanners/{id}/runs`) to read an
241
+ * earlier run. Documented exception to the cursor-pagination standard: paginates
242
+ * with `limit` and `offset` because each run is an immutable snapshot. A host that
243
+ * is neither covered (`coveredByCmp: false`) nor matched by a suppression rule
244
+ * still needs a triage decision — resolve it by adding the host to a CMP consent
245
+ * service or by creating a suppression rule with
226
246
  * `POST /rest/v1/web-scanner-rules`. Use `GET /rest/v1/web-scanners/{id}/summary`
227
247
  * for the rolled-up counts. Requires API-key scope or current OAuth user
228
248
  * permission: webScanner:find
@@ -242,12 +262,13 @@ export class WebScanners extends APIResource {
242
262
 
243
263
  /**
244
264
  * List the cookies and local-storage entries observed on a scan run. Defaults to
245
- * the latest run; pass `date` (an ISO-8601 timestamp; only the calendar day is
246
- * used to select the run) to read an earlier run. Cookies paginate with `limit`
247
- * and `offset` (a documented exception to the cursor-pagination standard, since
248
- * each run is an immutable snapshot); local-storage entries are returned in full.
249
- * A missing id and an id this credential cannot access return the same 404.
250
- * Requires API-key scope or current OAuth user permission: webScanner:find
265
+ * the latest run; pass `date` (a day listed by
266
+ * `GET /rest/v1/web-scanners/{id}/runs`) to read an earlier run. Cookies paginate
267
+ * with `limit` and `offset` (a documented exception to the cursor-pagination
268
+ * standard, since each run is an immutable snapshot); local-storage entries are
269
+ * returned in full. A missing id and an id this credential cannot access return
270
+ * the same 404. Requires API-key scope or current OAuth user permission:
271
+ * webScanner:find
251
272
  *
252
273
  * @example
253
274
  * ```ts
@@ -277,12 +298,12 @@ export class WebScanners extends APIResource {
277
298
  * Content-Security-Policy gap for each first-party hostname. After a consent or
278
299
  * CSP fix, trigger a full scan with `POST /rest/v1/web-scanners/{id}/trigger` and
279
300
  * read this summary again to confirm it. A null privacyPolicyUrl means that no
280
- * policy was captured for the hostname. Defaults to the latest run; pass `date`
281
- * (an ISO-8601 timestamp; only the calendar day is used to select the run) to read
282
- * an earlier run. Clear a host that needs a decision by adding it to a CMP consent
283
- * service or creating a suppression rule with `POST /rest/v1/web-scanner-rules`.
284
- * When the scanner has no completed runs, every count is 0 and `runDate` is null.
285
- * Requires API-key scope or current OAuth user permission: webScanner:find
301
+ * policy was captured for the hostname. Defaults to the latest run; pass `date` (a
302
+ * day listed by `GET /rest/v1/web-scanners/{id}/runs`) to read an earlier run.
303
+ * Clear a host that needs a decision by adding it to a CMP consent service or
304
+ * creating a suppression rule with `POST /rest/v1/web-scanner-rules`. When the
305
+ * scanner has no completed runs, every count is 0 and `runDate` is null. Requires
306
+ * API-key scope or current OAuth user permission: webScanner:find
286
307
  *
287
308
  * @example
288
309
  * ```ts
@@ -299,12 +320,15 @@ export class WebScanners extends APIResource {
299
320
 
300
321
  /**
301
322
  * List every normalized host in the selected scan run that is neither covered by a
302
- * current CMP consent service nor matched by an active suppression rule. Results
303
- * are sorted by risk and hostname. Continue with pagination.nextCursor while
304
- * preserving runRevision and coverageRevision; changed evidence returns HTTP 400
305
- * and requires restarting from the first page. Historical runs are evaluated
306
- * against current coverage configuration. Requires API-key scope or current OAuth
307
- * user permission: webScanner:find
323
+ * current CMP consent service nor matched by an active suppression rule. A host
324
+ * the run's consent check contacted before any choice, after Reject all, or with
325
+ * Global Privacy Control on is included even when the crawl did not request it,
326
+ * with `consentViolations` naming those states. Results are sorted by risk and
327
+ * hostname. Continue with pagination.nextCursor while preserving runRevision and
328
+ * coverageRevision; changed evidence, including a consent check that finishes
329
+ * mid-read, returns HTTP 400 and requires restarting from the first page.
330
+ * Historical runs are evaluated against current coverage configuration. Requires
331
+ * API-key scope or current OAuth user permission: webScanner:find
308
332
  *
309
333
  * @example
310
334
  * ```ts
@@ -788,6 +812,27 @@ export namespace WebScannerVerificationRunsResponse {
788
812
  }
789
813
  }
790
814
 
815
+ export interface WebScannerRunsResponse {
816
+ entities: Array<WebScannerRunsResponse.Entity>;
817
+
818
+ pagination: WebScannerRunsResponse.Pagination;
819
+ }
820
+
821
+ export namespace WebScannerRunsResponse {
822
+ export interface Entity {
823
+ /**
824
+ * When the run was recorded. Pass it as `date` to read that run.
825
+ */
826
+ runDate: string;
827
+ }
828
+
829
+ export interface Pagination {
830
+ hasMore: boolean;
831
+
832
+ nextCursor?: string | null;
833
+ }
834
+ }
835
+
791
836
  export interface WebScannerFindingsResponse {
792
837
  /**
793
838
  * True when more findings are available beyond the current window.
@@ -1038,6 +1083,13 @@ export interface WebScannerSummaryResponse {
1038
1083
  runDate?: string | null;
1039
1084
 
1040
1085
  runRevision?: string | null;
1086
+
1087
+ /**
1088
+ * Pages the run crawled successfully. 0 means the run captured no pages, so zero
1089
+ * hosts is not a clean result. Null when there is no run or no crawl record for
1090
+ * it.
1091
+ */
1092
+ successUrlCount?: number | null;
1041
1093
  }
1042
1094
 
1043
1095
  export namespace WebScannerSummaryResponse {
@@ -1382,6 +1434,14 @@ export interface WebScannerDecisionQueueResponse {
1382
1434
 
1383
1435
  export namespace WebScannerDecisionQueueResponse {
1384
1436
  export interface Entity {
1437
+ /**
1438
+ * Consent states in which this host was contacted although the visitor had not
1439
+ * agreed. Empty when none. A host can be listed from the consent check alone,
1440
+ * without crawl evidence; cover it in the consent banner or add a rule to clear
1441
+ * it, the same as any other row.
1442
+ */
1443
+ consentViolations: Array<'tracker_before_consent' | 'reject_not_honored' | 'gpc_not_honored'>;
1444
+
1385
1445
  hostname: string;
1386
1446
 
1387
1447
  seenOn: Array<string>;
@@ -1600,16 +1660,31 @@ export interface WebScannerVerificationRunsParams {
1600
1660
  limit?: number;
1601
1661
  }
1602
1662
 
1663
+ export interface WebScannerRunsParams {
1664
+ /**
1665
+ * Opaque pagination cursor from pagination.nextCursor in the previous response. Do
1666
+ * not decode or modify it. Malformed cursors return 400 Bad Request.
1667
+ */
1668
+ cursor?: string;
1669
+
1670
+ /**
1671
+ * Maximum number of items to return. Defaults to 25; values below 1 are clamped to
1672
+ * 1 and values above 100 are clamped to 100.
1673
+ */
1674
+ limit?: number | null;
1675
+ }
1676
+
1603
1677
  export interface WebScannerFindingsParams {
1604
1678
  /**
1605
- * Which scan run to read, as an ISO-8601 timestamp. Only the UTC calendar day is
1606
- * used to select the run; the time component is ignored. Defaults to the most
1607
- * recent run when omitted.
1679
+ * Which scan run to read: a day (`2026-05-15`) or an ISO-8601 timestamp, of which
1680
+ * only the UTC day is used. A day with no run returns 400; list run days with
1681
+ * `GET /rest/v1/web-scanners/{id}/runs`. Defaults to the most recent run when
1682
+ * omitted.
1608
1683
  */
1609
1684
  date?: string;
1610
1685
 
1611
1686
  /**
1612
- * Maximum number of findings to return. Defaults to 25; clamped to 1–100.
1687
+ * Maximum number of findings to return. Defaults to 25; must be between 1 and 100.
1613
1688
  */
1614
1689
  limit?: number;
1615
1690
 
@@ -1621,9 +1696,10 @@ export interface WebScannerFindingsParams {
1621
1696
 
1622
1697
  export interface WebScannerCookiesParams {
1623
1698
  /**
1624
- * Which scan run to read, as an ISO-8601 timestamp. Only the UTC calendar day is
1625
- * used to select the run; the time component is ignored. Defaults to the most
1626
- * recent run when omitted.
1699
+ * Which scan run to read: a day (`2026-05-15`) or an ISO-8601 timestamp, of which
1700
+ * only the UTC day is used. A day with no run returns 400; list run days with
1701
+ * `GET /rest/v1/web-scanners/{id}/runs`. Defaults to the most recent run when
1702
+ * omitted.
1627
1703
  */
1628
1704
  date?: string;
1629
1705
 
@@ -1642,9 +1718,10 @@ export interface WebScannerSummaryParams {
1642
1718
  coverageRevision?: string;
1643
1719
 
1644
1720
  /**
1645
- * Which scan run to read, as an ISO-8601 timestamp. Only the UTC calendar day is
1646
- * used to select the run; the time component is ignored. Defaults to the most
1647
- * recent run when omitted.
1721
+ * Which scan run to read: a day (`2026-05-15`) or an ISO-8601 timestamp, of which
1722
+ * only the UTC day is used. A day with no run returns 400; list run days with
1723
+ * `GET /rest/v1/web-scanners/{id}/runs`. Defaults to the most recent run when
1724
+ * omitted.
1648
1725
  */
1649
1726
  date?: string;
1650
1727
 
@@ -1661,9 +1738,10 @@ export interface WebScannerDecisionQueueParams {
1661
1738
  cursor?: string;
1662
1739
 
1663
1740
  /**
1664
- * Which scan run to read, as an ISO-8601 timestamp. Only the UTC calendar day is
1665
- * used to select the run; the time component is ignored. Defaults to the most
1666
- * recent run when omitted.
1741
+ * Which scan run to read: a day (`2026-05-15`) or an ISO-8601 timestamp, of which
1742
+ * only the UTC day is used. A day with no run returns 400; list run days with
1743
+ * `GET /rest/v1/web-scanners/{id}/runs`. Defaults to the most recent run when
1744
+ * omitted.
1667
1745
  */
1668
1746
  date?: string;
1669
1747
 
@@ -1710,6 +1788,7 @@ export declare namespace WebScanners {
1710
1788
  type WebScannerTargetedScanResponse as WebScannerTargetedScanResponse,
1711
1789
  type WebScannerVerificationRunResponse as WebScannerVerificationRunResponse,
1712
1790
  type WebScannerVerificationRunsResponse as WebScannerVerificationRunsResponse,
1791
+ type WebScannerRunsResponse as WebScannerRunsResponse,
1713
1792
  type WebScannerFindingsResponse as WebScannerFindingsResponse,
1714
1793
  type WebScannerCookiesResponse as WebScannerCookiesResponse,
1715
1794
  type WebScannerSummaryResponse as WebScannerSummaryResponse,
@@ -1721,6 +1800,7 @@ export declare namespace WebScanners {
1721
1800
  type WebScannerTargetedScanParams as WebScannerTargetedScanParams,
1722
1801
  type WebScannerVerificationRunParams as WebScannerVerificationRunParams,
1723
1802
  type WebScannerVerificationRunsParams as WebScannerVerificationRunsParams,
1803
+ type WebScannerRunsParams as WebScannerRunsParams,
1724
1804
  type WebScannerFindingsParams as WebScannerFindingsParams,
1725
1805
  type WebScannerCookiesParams as WebScannerCookiesParams,
1726
1806
  type WebScannerSummaryParams as WebScannerSummaryParams,
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '1.61.0'; // x-release-please-version
1
+ export const VERSION = '1.63.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "1.61.0";
1
+ export declare const VERSION = "1.63.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "1.61.0";
1
+ export declare const VERSION = "1.63.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '1.61.0'; // x-release-please-version
4
+ exports.VERSION = '1.63.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '1.61.0'; // x-release-please-version
1
+ export const VERSION = '1.63.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map