@oursprivacy/platform-sdk 1.42.1 → 1.43.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 +30 -0
- package/client.d.mts +6 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +6 -0
- package/client.d.ts.map +1 -1
- package/client.js +7 -1
- package/client.js.map +1 -1
- package/client.mjs +7 -1
- package/client.mjs.map +1 -1
- package/core/pagination.d.mts.map +1 -1
- package/core/pagination.d.ts.map +1 -1
- package/internal/detect-platform.d.mts.map +1 -1
- package/internal/detect-platform.d.ts.map +1 -1
- package/internal/detect-platform.js +1 -1
- package/internal/detect-platform.js.map +1 -1
- package/internal/detect-platform.mjs +1 -1
- package/internal/detect-platform.mjs.map +1 -1
- package/internal/to-file.d.mts.map +1 -1
- package/internal/to-file.d.ts.map +1 -1
- package/internal/to-file.js.map +1 -1
- package/internal/to-file.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/conversion-journey-summaries.d.mts +169 -0
- package/resources/conversion-journey-summaries.d.mts.map +1 -0
- package/resources/conversion-journey-summaries.d.ts +169 -0
- package/resources/conversion-journey-summaries.d.ts.map +1 -0
- package/resources/conversion-journey-summaries.js +51 -0
- package/resources/conversion-journey-summaries.js.map +1 -0
- package/resources/conversion-journey-summaries.mjs +47 -0
- package/resources/conversion-journey-summaries.mjs.map +1 -0
- package/resources/destinations.d.mts +18 -17
- package/resources/destinations.d.mts.map +1 -1
- package/resources/destinations.d.ts +18 -17
- package/resources/destinations.d.ts.map +1 -1
- package/resources/funnels.d.mts +33 -16
- package/resources/funnels.d.mts.map +1 -1
- package/resources/funnels.d.ts +33 -16
- package/resources/funnels.d.ts.map +1 -1
- package/resources/funnels.js +8 -6
- package/resources/funnels.js.map +1 -1
- package/resources/funnels.mjs +8 -6
- package/resources/funnels.mjs.map +1 -1
- package/resources/index.d.mts +2 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +5 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -0
- package/resources/index.mjs.map +1 -1
- package/resources/versions.d.mts +40 -0
- package/resources/versions.d.mts.map +1 -1
- package/resources/versions.d.ts +40 -0
- package/resources/versions.d.ts.map +1 -1
- package/resources/videos.d.mts +251 -0
- package/resources/videos.d.mts.map +1 -0
- package/resources/videos.d.ts +251 -0
- package/resources/videos.d.ts.map +1 -0
- package/resources/videos.js +81 -0
- package/resources/videos.js.map +1 -0
- package/resources/videos.mjs +77 -0
- package/resources/videos.mjs.map +1 -0
- package/resources/web-scanners.d.mts +43 -0
- package/resources/web-scanners.d.mts.map +1 -1
- package/resources/web-scanners.d.ts +43 -0
- package/resources/web-scanners.d.ts.map +1 -1
- package/src/client.ts +69 -1
- package/src/core/pagination.ts +3 -3
- package/src/internal/detect-platform.ts +2 -10
- package/src/internal/to-file.ts +1 -4
- package/src/resources/conversion-journey-summaries.ts +384 -0
- package/src/resources/destinations.ts +45 -12
- package/src/resources/funnels.ts +34 -16
- package/src/resources/index.ts +31 -0
- package/src/resources/versions.ts +50 -0
- package/src/resources/videos.ts +418 -0
- package/src/resources/web-scanners.ts +62 -0
- 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
|
@@ -168,6 +168,8 @@ export namespace WebScannerListResponse {
|
|
|
168
168
|
|
|
169
169
|
name?: string | null;
|
|
170
170
|
|
|
171
|
+
nextScheduledScanAt?: string | null;
|
|
172
|
+
|
|
171
173
|
updatedAt?: string | null;
|
|
172
174
|
|
|
173
175
|
urlLimit?: number | null;
|
|
@@ -181,6 +183,8 @@ export interface WebScannerCreateResponse {
|
|
|
181
183
|
|
|
182
184
|
rootDomain: string;
|
|
183
185
|
|
|
186
|
+
scanSchedule: 'daily' | 'manual' | 'monthly' | 'weekly';
|
|
187
|
+
|
|
184
188
|
scanStatus: 'idle' | 'scanning';
|
|
185
189
|
|
|
186
190
|
status: 'Disabled' | 'Enabled';
|
|
@@ -205,6 +209,8 @@ export interface WebScannerCreateResponse {
|
|
|
205
209
|
|
|
206
210
|
name?: string | null;
|
|
207
211
|
|
|
212
|
+
nextScheduledScanAt?: string | null;
|
|
213
|
+
|
|
208
214
|
updatedAt?: string | null;
|
|
209
215
|
|
|
210
216
|
urlLimit?: number | null;
|
|
@@ -217,6 +223,8 @@ export interface WebScannerRetrieveResponse {
|
|
|
217
223
|
|
|
218
224
|
rootDomain: string;
|
|
219
225
|
|
|
226
|
+
scanSchedule: 'daily' | 'manual' | 'monthly' | 'weekly';
|
|
227
|
+
|
|
220
228
|
scanStatus: 'idle' | 'scanning';
|
|
221
229
|
|
|
222
230
|
status: 'Disabled' | 'Enabled';
|
|
@@ -241,6 +249,8 @@ export interface WebScannerRetrieveResponse {
|
|
|
241
249
|
|
|
242
250
|
name?: string | null;
|
|
243
251
|
|
|
252
|
+
nextScheduledScanAt?: string | null;
|
|
253
|
+
|
|
244
254
|
updatedAt?: string | null;
|
|
245
255
|
|
|
246
256
|
urlLimit?: number | null;
|
|
@@ -253,6 +263,8 @@ export interface WebScannerUpdateResponse {
|
|
|
253
263
|
|
|
254
264
|
rootDomain: string;
|
|
255
265
|
|
|
266
|
+
scanSchedule: 'daily' | 'manual' | 'monthly' | 'weekly';
|
|
267
|
+
|
|
256
268
|
scanStatus: 'idle' | 'scanning';
|
|
257
269
|
|
|
258
270
|
status: 'Disabled' | 'Enabled';
|
|
@@ -277,6 +289,8 @@ export interface WebScannerUpdateResponse {
|
|
|
277
289
|
|
|
278
290
|
name?: string | null;
|
|
279
291
|
|
|
292
|
+
nextScheduledScanAt?: string | null;
|
|
293
|
+
|
|
280
294
|
updatedAt?: string | null;
|
|
281
295
|
|
|
282
296
|
urlLimit?: number | null;
|
|
@@ -301,6 +315,8 @@ export interface WebScannerTriggerResponse {
|
|
|
301
315
|
|
|
302
316
|
rootDomain: string;
|
|
303
317
|
|
|
318
|
+
scanSchedule: 'daily' | 'manual' | 'monthly' | 'weekly';
|
|
319
|
+
|
|
304
320
|
scanStatus: 'idle' | 'scanning';
|
|
305
321
|
|
|
306
322
|
status: 'Disabled' | 'Enabled';
|
|
@@ -325,6 +341,8 @@ export interface WebScannerTriggerResponse {
|
|
|
325
341
|
|
|
326
342
|
name?: string | null;
|
|
327
343
|
|
|
344
|
+
nextScheduledScanAt?: string | null;
|
|
345
|
+
|
|
328
346
|
updatedAt?: string | null;
|
|
329
347
|
|
|
330
348
|
urlLimit?: number | null;
|
|
@@ -461,6 +479,20 @@ export interface WebScannerSummaryResponse {
|
|
|
461
479
|
|
|
462
480
|
localStorageCount: number;
|
|
463
481
|
|
|
482
|
+
/**
|
|
483
|
+
* Distinct privacy policies captured for first-party hostnames in the selected
|
|
484
|
+
* scan run, including the bounded visible policy text.
|
|
485
|
+
*/
|
|
486
|
+
privacyPolicies: Array<WebScannerSummaryResponse.PrivacyPolicy>;
|
|
487
|
+
|
|
488
|
+
privacyPolicyCount: number;
|
|
489
|
+
|
|
490
|
+
/**
|
|
491
|
+
* Every successfully crawled first-party hostname and its captured privacy policy
|
|
492
|
+
* URL. A null privacyPolicyUrl means no policy was captured for that hostname.
|
|
493
|
+
*/
|
|
494
|
+
privacyPolicyHosts: Array<WebScannerSummaryResponse.PrivacyPolicyHost>;
|
|
495
|
+
|
|
464
496
|
rootDomain: string;
|
|
465
497
|
|
|
466
498
|
scannerId: string;
|
|
@@ -521,6 +553,20 @@ export namespace WebScannerSummaryResponse {
|
|
|
521
553
|
totalHostCount: number;
|
|
522
554
|
}
|
|
523
555
|
|
|
556
|
+
export interface PrivacyPolicy {
|
|
557
|
+
hostnames: Array<string>;
|
|
558
|
+
|
|
559
|
+
text: string;
|
|
560
|
+
|
|
561
|
+
url: string;
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
export interface PrivacyPolicyHost {
|
|
565
|
+
hostname: string;
|
|
566
|
+
|
|
567
|
+
privacyPolicyUrl?: string | null;
|
|
568
|
+
}
|
|
569
|
+
|
|
524
570
|
export interface TopUncoveredHost {
|
|
525
571
|
coveredByCmp: boolean;
|
|
526
572
|
|
|
@@ -672,6 +718,14 @@ export interface WebScannerCreateParams {
|
|
|
672
718
|
|
|
673
719
|
name?: string | null;
|
|
674
720
|
|
|
721
|
+
/**
|
|
722
|
+
* How often the scanner crawls this monitor on its own: `daily`, `weekly`,
|
|
723
|
+
* `monthly`, or `manual` to disable scheduled crawls and only run on demand.
|
|
724
|
+
* Defaults to `weekly`. Cadences advance on UTC calendar days from the last
|
|
725
|
+
* completed scan.
|
|
726
|
+
*/
|
|
727
|
+
scanSchedule?: 'daily' | 'manual' | 'monthly' | 'weekly';
|
|
728
|
+
|
|
675
729
|
status?: 'Disabled' | 'Enabled';
|
|
676
730
|
|
|
677
731
|
/**
|
|
@@ -693,6 +747,14 @@ export interface WebScannerUpdateParams {
|
|
|
693
747
|
*/
|
|
694
748
|
rootDomain?: string | null;
|
|
695
749
|
|
|
750
|
+
/**
|
|
751
|
+
* How often the scanner crawls this monitor on its own: `daily`, `weekly`,
|
|
752
|
+
* `monthly`, or `manual` to disable scheduled crawls and only run on demand.
|
|
753
|
+
* Defaults to `weekly`. Cadences advance on UTC calendar days from the last
|
|
754
|
+
* completed scan. Omit to leave the current cadence unchanged.
|
|
755
|
+
*/
|
|
756
|
+
scanSchedule?: 'daily' | 'manual' | 'monthly' | 'weekly';
|
|
757
|
+
|
|
696
758
|
status?: 'Disabled' | 'Enabled';
|
|
697
759
|
|
|
698
760
|
urlLimit?: number | null;
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '1.
|
|
1
|
+
export const VERSION = '1.43.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.43.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.43.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.43.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|