@oursprivacy/platform-sdk 1.60.0 → 1.62.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/CHANGELOG.md +14 -0
- package/README.md +58 -15
- package/client.d.mts +5 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +5 -2
- package/client.d.ts.map +1 -1
- package/client.js +13 -1
- package/client.js.map +1 -1
- package/client.mjs +13 -1
- package/client.mjs.map +1 -1
- package/core/error.d.mts.map +1 -1
- package/core/error.d.ts.map +1 -1
- package/core/error.js +2 -1
- package/core/error.js.map +1 -1
- package/core/error.mjs +2 -1
- package/core/error.mjs.map +1 -1
- package/internal/utils/log.d.mts +5 -0
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts +5 -0
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.js +62 -1
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs +60 -0
- package/internal/utils/log.mjs.map +1 -1
- package/package.json +1 -10
- package/resources/attribution-reports.d.mts +1400 -0
- package/resources/attribution-reports.d.mts.map +1 -0
- package/resources/attribution-reports.d.ts +1400 -0
- package/resources/attribution-reports.d.ts.map +1 -0
- package/resources/attribution-reports.js +116 -0
- package/resources/attribution-reports.js.map +1 -0
- package/resources/attribution-reports.mjs +112 -0
- package/resources/attribution-reports.mjs.map +1 -0
- package/resources/destinations.d.mts +7 -7
- package/resources/destinations.d.mts.map +1 -1
- package/resources/destinations.d.ts +7 -7
- package/resources/destinations.d.ts.map +1 -1
- package/resources/experiment-settings.d.mts +24 -14
- package/resources/experiment-settings.d.mts.map +1 -1
- package/resources/experiment-settings.d.ts +24 -14
- package/resources/experiment-settings.d.ts.map +1 -1
- package/resources/experiment-settings.js +8 -4
- package/resources/experiment-settings.js.map +1 -1
- package/resources/experiment-settings.mjs +8 -4
- package/resources/experiment-settings.mjs.map +1 -1
- package/resources/experiment-variants.d.mts +84 -93
- package/resources/experiment-variants.d.mts.map +1 -1
- package/resources/experiment-variants.d.ts +84 -93
- package/resources/experiment-variants.d.ts.map +1 -1
- package/resources/experiment-variants.js +3 -1
- package/resources/experiment-variants.js.map +1 -1
- package/resources/experiment-variants.mjs +3 -1
- package/resources/experiment-variants.mjs.map +1 -1
- package/resources/experiments.d.mts +50 -65
- package/resources/experiments.d.mts.map +1 -1
- package/resources/experiments.d.ts +50 -65
- package/resources/experiments.d.ts.map +1 -1
- package/resources/heatmap-pages.d.mts +51 -28
- package/resources/heatmap-pages.d.mts.map +1 -1
- package/resources/heatmap-pages.d.ts +51 -28
- package/resources/heatmap-pages.d.ts.map +1 -1
- package/resources/heatmap-pages.js +23 -17
- package/resources/heatmap-pages.js.map +1 -1
- package/resources/heatmap-pages.mjs +23 -17
- package/resources/heatmap-pages.mjs.map +1 -1
- package/resources/index.d.mts +2 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/test-events.d.mts +6 -0
- package/resources/test-events.d.mts.map +1 -1
- package/resources/test-events.d.ts +6 -0
- package/resources/test-events.d.ts.map +1 -1
- package/resources/videos.d.mts +17 -5
- package/resources/videos.d.mts.map +1 -1
- package/resources/videos.d.ts +17 -5
- package/resources/videos.d.ts.map +1 -1
- package/resources/videos.js +2 -2
- package/resources/videos.mjs +2 -2
- package/resources/web-scanners.d.mts +84 -32
- package/resources/web-scanners.d.mts.map +1 -1
- package/resources/web-scanners.d.ts +84 -32
- package/resources/web-scanners.d.ts.map +1 -1
- package/resources/web-scanners.js +34 -18
- package/resources/web-scanners.js.map +1 -1
- package/resources/web-scanners.mjs +34 -18
- package/resources/web-scanners.mjs.map +1 -1
- package/src/client.ts +59 -0
- package/src/core/error.ts +2 -1
- package/src/internal/utils/log.ts +64 -0
- package/src/resources/attribution-reports.ts +2294 -0
- package/src/resources/destinations.ts +9 -2
- package/src/resources/experiment-settings.ts +24 -14
- package/src/resources/experiment-variants.ts +84 -93
- package/src/resources/experiments.ts +50 -65
- package/src/resources/heatmap-pages.ts +53 -28
- package/src/resources/index.ts +23 -0
- package/src/resources/test-events.ts +7 -0
- package/src/resources/videos.ts +243 -5
- package/src/resources/web-scanners.ts +100 -31
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/src/resources/videos.ts
CHANGED
|
@@ -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: '
|
|
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: '
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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` (
|
|
221
|
-
*
|
|
222
|
-
*
|
|
223
|
-
*
|
|
224
|
-
*
|
|
225
|
-
*
|
|
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` (
|
|
246
|
-
*
|
|
247
|
-
* and `offset` (a documented exception to the cursor-pagination
|
|
248
|
-
* each run is an immutable snapshot); local-storage entries are
|
|
249
|
-
* A missing id and an id this credential cannot access return
|
|
250
|
-
* Requires API-key scope or current OAuth user permission:
|
|
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
|
-
*
|
|
282
|
-
*
|
|
283
|
-
*
|
|
284
|
-
*
|
|
285
|
-
*
|
|
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
|
|
@@ -788,6 +809,27 @@ export namespace WebScannerVerificationRunsResponse {
|
|
|
788
809
|
}
|
|
789
810
|
}
|
|
790
811
|
|
|
812
|
+
export interface WebScannerRunsResponse {
|
|
813
|
+
entities: Array<WebScannerRunsResponse.Entity>;
|
|
814
|
+
|
|
815
|
+
pagination: WebScannerRunsResponse.Pagination;
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
export namespace WebScannerRunsResponse {
|
|
819
|
+
export interface Entity {
|
|
820
|
+
/**
|
|
821
|
+
* When the run was recorded. Pass it as `date` to read that run.
|
|
822
|
+
*/
|
|
823
|
+
runDate: string;
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
export interface Pagination {
|
|
827
|
+
hasMore: boolean;
|
|
828
|
+
|
|
829
|
+
nextCursor?: string | null;
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
|
|
791
833
|
export interface WebScannerFindingsResponse {
|
|
792
834
|
/**
|
|
793
835
|
* True when more findings are available beyond the current window.
|
|
@@ -1038,6 +1080,13 @@ export interface WebScannerSummaryResponse {
|
|
|
1038
1080
|
runDate?: string | null;
|
|
1039
1081
|
|
|
1040
1082
|
runRevision?: string | null;
|
|
1083
|
+
|
|
1084
|
+
/**
|
|
1085
|
+
* Pages the run crawled successfully. 0 means the run captured no pages, so zero
|
|
1086
|
+
* hosts is not a clean result. Null when there is no run or no crawl record for
|
|
1087
|
+
* it.
|
|
1088
|
+
*/
|
|
1089
|
+
successUrlCount?: number | null;
|
|
1041
1090
|
}
|
|
1042
1091
|
|
|
1043
1092
|
export namespace WebScannerSummaryResponse {
|
|
@@ -1600,16 +1649,31 @@ export interface WebScannerVerificationRunsParams {
|
|
|
1600
1649
|
limit?: number;
|
|
1601
1650
|
}
|
|
1602
1651
|
|
|
1652
|
+
export interface WebScannerRunsParams {
|
|
1653
|
+
/**
|
|
1654
|
+
* Opaque pagination cursor from pagination.nextCursor in the previous response. Do
|
|
1655
|
+
* not decode or modify it. Malformed cursors return 400 Bad Request.
|
|
1656
|
+
*/
|
|
1657
|
+
cursor?: string;
|
|
1658
|
+
|
|
1659
|
+
/**
|
|
1660
|
+
* Maximum number of items to return. Defaults to 25; values below 1 are clamped to
|
|
1661
|
+
* 1 and values above 100 are clamped to 100.
|
|
1662
|
+
*/
|
|
1663
|
+
limit?: number | null;
|
|
1664
|
+
}
|
|
1665
|
+
|
|
1603
1666
|
export interface WebScannerFindingsParams {
|
|
1604
1667
|
/**
|
|
1605
|
-
* Which scan run to read
|
|
1606
|
-
*
|
|
1607
|
-
* recent run when
|
|
1668
|
+
* Which scan run to read: a day (`2026-05-15`) or an ISO-8601 timestamp, of which
|
|
1669
|
+
* only the UTC day is used. A day with no run returns 400; list run days with
|
|
1670
|
+
* `GET /rest/v1/web-scanners/{id}/runs`. Defaults to the most recent run when
|
|
1671
|
+
* omitted.
|
|
1608
1672
|
*/
|
|
1609
1673
|
date?: string;
|
|
1610
1674
|
|
|
1611
1675
|
/**
|
|
1612
|
-
* Maximum number of findings to return. Defaults to 25;
|
|
1676
|
+
* Maximum number of findings to return. Defaults to 25; must be between 1 and 100.
|
|
1613
1677
|
*/
|
|
1614
1678
|
limit?: number;
|
|
1615
1679
|
|
|
@@ -1621,9 +1685,10 @@ export interface WebScannerFindingsParams {
|
|
|
1621
1685
|
|
|
1622
1686
|
export interface WebScannerCookiesParams {
|
|
1623
1687
|
/**
|
|
1624
|
-
* Which scan run to read
|
|
1625
|
-
*
|
|
1626
|
-
* recent run when
|
|
1688
|
+
* Which scan run to read: a day (`2026-05-15`) or an ISO-8601 timestamp, of which
|
|
1689
|
+
* only the UTC day is used. A day with no run returns 400; list run days with
|
|
1690
|
+
* `GET /rest/v1/web-scanners/{id}/runs`. Defaults to the most recent run when
|
|
1691
|
+
* omitted.
|
|
1627
1692
|
*/
|
|
1628
1693
|
date?: string;
|
|
1629
1694
|
|
|
@@ -1642,9 +1707,10 @@ export interface WebScannerSummaryParams {
|
|
|
1642
1707
|
coverageRevision?: string;
|
|
1643
1708
|
|
|
1644
1709
|
/**
|
|
1645
|
-
* Which scan run to read
|
|
1646
|
-
*
|
|
1647
|
-
* recent run when
|
|
1710
|
+
* Which scan run to read: a day (`2026-05-15`) or an ISO-8601 timestamp, of which
|
|
1711
|
+
* only the UTC day is used. A day with no run returns 400; list run days with
|
|
1712
|
+
* `GET /rest/v1/web-scanners/{id}/runs`. Defaults to the most recent run when
|
|
1713
|
+
* omitted.
|
|
1648
1714
|
*/
|
|
1649
1715
|
date?: string;
|
|
1650
1716
|
|
|
@@ -1661,9 +1727,10 @@ export interface WebScannerDecisionQueueParams {
|
|
|
1661
1727
|
cursor?: string;
|
|
1662
1728
|
|
|
1663
1729
|
/**
|
|
1664
|
-
* Which scan run to read
|
|
1665
|
-
*
|
|
1666
|
-
* recent run when
|
|
1730
|
+
* Which scan run to read: a day (`2026-05-15`) or an ISO-8601 timestamp, of which
|
|
1731
|
+
* only the UTC day is used. A day with no run returns 400; list run days with
|
|
1732
|
+
* `GET /rest/v1/web-scanners/{id}/runs`. Defaults to the most recent run when
|
|
1733
|
+
* omitted.
|
|
1667
1734
|
*/
|
|
1668
1735
|
date?: string;
|
|
1669
1736
|
|
|
@@ -1710,6 +1777,7 @@ export declare namespace WebScanners {
|
|
|
1710
1777
|
type WebScannerTargetedScanResponse as WebScannerTargetedScanResponse,
|
|
1711
1778
|
type WebScannerVerificationRunResponse as WebScannerVerificationRunResponse,
|
|
1712
1779
|
type WebScannerVerificationRunsResponse as WebScannerVerificationRunsResponse,
|
|
1780
|
+
type WebScannerRunsResponse as WebScannerRunsResponse,
|
|
1713
1781
|
type WebScannerFindingsResponse as WebScannerFindingsResponse,
|
|
1714
1782
|
type WebScannerCookiesResponse as WebScannerCookiesResponse,
|
|
1715
1783
|
type WebScannerSummaryResponse as WebScannerSummaryResponse,
|
|
@@ -1721,6 +1789,7 @@ export declare namespace WebScanners {
|
|
|
1721
1789
|
type WebScannerTargetedScanParams as WebScannerTargetedScanParams,
|
|
1722
1790
|
type WebScannerVerificationRunParams as WebScannerVerificationRunParams,
|
|
1723
1791
|
type WebScannerVerificationRunsParams as WebScannerVerificationRunsParams,
|
|
1792
|
+
type WebScannerRunsParams as WebScannerRunsParams,
|
|
1724
1793
|
type WebScannerFindingsParams as WebScannerFindingsParams,
|
|
1725
1794
|
type WebScannerCookiesParams as WebScannerCookiesParams,
|
|
1726
1795
|
type WebScannerSummaryParams as WebScannerSummaryParams,
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '1.
|
|
1
|
+
export const VERSION = '1.62.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "1.
|
|
1
|
+
export declare const VERSION = "1.62.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "1.
|
|
1
|
+
export declare const VERSION = "1.62.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '1.
|
|
1
|
+
export const VERSION = '1.62.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|