@oursprivacy/platform-sdk 1.42.2 → 1.44.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 (98) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/client.d.mts +14 -2
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +14 -2
  5. package/client.d.ts.map +1 -1
  6. package/client.js +12 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +12 -0
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/audience-conversion-reports.d.mts +216 -0
  12. package/resources/audience-conversion-reports.d.mts.map +1 -0
  13. package/resources/audience-conversion-reports.d.ts +216 -0
  14. package/resources/audience-conversion-reports.d.ts.map +1 -0
  15. package/resources/audience-conversion-reports.js +55 -0
  16. package/resources/audience-conversion-reports.js.map +1 -0
  17. package/resources/audience-conversion-reports.mjs +51 -0
  18. package/resources/audience-conversion-reports.mjs.map +1 -0
  19. package/resources/conversion-journey-summaries.d.mts +169 -0
  20. package/resources/conversion-journey-summaries.d.mts.map +1 -0
  21. package/resources/conversion-journey-summaries.d.ts +169 -0
  22. package/resources/conversion-journey-summaries.d.ts.map +1 -0
  23. package/resources/conversion-journey-summaries.js +51 -0
  24. package/resources/conversion-journey-summaries.js.map +1 -0
  25. package/resources/conversion-journey-summaries.mjs +47 -0
  26. package/resources/conversion-journey-summaries.mjs.map +1 -0
  27. package/resources/destinations.d.mts +38 -17
  28. package/resources/destinations.d.mts.map +1 -1
  29. package/resources/destinations.d.ts +38 -17
  30. package/resources/destinations.d.ts.map +1 -1
  31. package/resources/experiments.d.mts +6 -4
  32. package/resources/experiments.d.mts.map +1 -1
  33. package/resources/experiments.d.ts +6 -4
  34. package/resources/experiments.d.ts.map +1 -1
  35. package/resources/experiments.js +4 -3
  36. package/resources/experiments.js.map +1 -1
  37. package/resources/experiments.mjs +4 -3
  38. package/resources/experiments.mjs.map +1 -1
  39. package/resources/funnels.d.mts +844 -21
  40. package/resources/funnels.d.mts.map +1 -1
  41. package/resources/funnels.d.ts +844 -21
  42. package/resources/funnels.d.ts.map +1 -1
  43. package/resources/funnels.js +30 -6
  44. package/resources/funnels.js.map +1 -1
  45. package/resources/funnels.mjs +30 -6
  46. package/resources/funnels.mjs.map +1 -1
  47. package/resources/index.d.mts +5 -1
  48. package/resources/index.d.mts.map +1 -1
  49. package/resources/index.d.ts +5 -1
  50. package/resources/index.d.ts.map +1 -1
  51. package/resources/index.js +9 -1
  52. package/resources/index.js.map +1 -1
  53. package/resources/index.mjs +4 -0
  54. package/resources/index.mjs.map +1 -1
  55. package/resources/versions.d.mts +40 -0
  56. package/resources/versions.d.mts.map +1 -1
  57. package/resources/versions.d.ts +40 -0
  58. package/resources/versions.d.ts.map +1 -1
  59. package/resources/video-channels.d.mts +237 -0
  60. package/resources/video-channels.d.mts.map +1 -0
  61. package/resources/video-channels.d.ts +237 -0
  62. package/resources/video-channels.d.ts.map +1 -0
  63. package/resources/video-channels.js +95 -0
  64. package/resources/video-channels.js.map +1 -0
  65. package/resources/video-channels.mjs +91 -0
  66. package/resources/video-channels.mjs.map +1 -0
  67. package/resources/videos.d.mts +251 -0
  68. package/resources/videos.d.mts.map +1 -0
  69. package/resources/videos.d.ts +251 -0
  70. package/resources/videos.d.ts.map +1 -0
  71. package/resources/videos.js +81 -0
  72. package/resources/videos.js.map +1 -0
  73. package/resources/videos.mjs +77 -0
  74. package/resources/videos.mjs.map +1 -0
  75. package/resources/web-scanners.d.mts +53 -8
  76. package/resources/web-scanners.d.mts.map +1 -1
  77. package/resources/web-scanners.d.ts +53 -8
  78. package/resources/web-scanners.d.ts.map +1 -1
  79. package/resources/web-scanners.js +9 -8
  80. package/resources/web-scanners.js.map +1 -1
  81. package/resources/web-scanners.mjs +9 -8
  82. package/resources/web-scanners.mjs.map +1 -1
  83. package/src/client.ts +146 -0
  84. package/src/resources/audience-conversion-reports.ts +466 -0
  85. package/src/resources/conversion-journey-summaries.ts +384 -0
  86. package/src/resources/destinations.ts +158 -12
  87. package/src/resources/experiments.ts +6 -4
  88. package/src/resources/funnels.ts +1400 -20
  89. package/src/resources/index.ts +67 -0
  90. package/src/resources/versions.ts +50 -0
  91. package/src/resources/video-channels.ts +405 -0
  92. package/src/resources/videos.ts +418 -0
  93. package/src/resources/web-scanners.ts +73 -8
  94. package/src/version.ts +1 -1
  95. package/version.d.mts +1 -1
  96. package/version.d.ts +1 -1
  97. package/version.js +1 -1
  98. package/version.mjs +1 -1
@@ -0,0 +1,418 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../core/resource';
4
+ import { APIPromise } from '../core/api-promise';
5
+ import { Cursor, type CursorParams, PagePromise } from '../core/pagination';
6
+ import { RequestOptions } from '../internal/request-options';
7
+ import { path } from '../internal/utils/path';
8
+
9
+ export class Videos extends APIResource {
10
+ /**
11
+ * List videos for the account, newest first. Supports cursor pagination and an
12
+ * optional case-insensitive title filter. Requires scope: media:list
13
+ */
14
+ list(
15
+ query: VideoListParams | null | undefined = {},
16
+ options?: RequestOptions,
17
+ ): PagePromise<VideoListResponsesCursor, VideoListResponse> {
18
+ return this._client.getAPIList('/rest/v1/videos', Cursor<VideoListResponse>, { query, ...options });
19
+ }
20
+
21
+ /**
22
+ * Create a video record and return a temporary upload target for the original MP4
23
+ * or WebM file. Upload the file directly using the returned URL and matching
24
+ * content type, then poll the video to observe processing progress. Requires
25
+ * scope: media:create
26
+ */
27
+ create(body: VideoCreateParams, options?: RequestOptions): APIPromise<VideoCreateResponse> {
28
+ return this._client.post('/rest/v1/videos', { body, ...options });
29
+ }
30
+
31
+ /**
32
+ * Fetch a video and its current playback asset availability. The processed video,
33
+ * poster, and transcript are prepared asynchronously after upload. Requires scope:
34
+ * media:find
35
+ */
36
+ retrieve(id: string, options?: RequestOptions): APIPromise<VideoRetrieveResponse> {
37
+ return this._client.get(path`/rest/v1/videos/${id}`, options);
38
+ }
39
+
40
+ /**
41
+ * Partially update video metadata. Only fields included in the body change; send
42
+ * `null` to clear a nullable field. Requires scope: media:update
43
+ */
44
+ update(id: string, body: VideoUpdateParams, options?: RequestOptions): APIPromise<VideoUpdateResponse> {
45
+ return this._client.patch(path`/rest/v1/videos/${id}`, { body, ...options });
46
+ }
47
+
48
+ /**
49
+ * Delete a video and its related assets. Requires scope: media:delete
50
+ */
51
+ delete(id: string, options?: RequestOptions): APIPromise<VideoDeleteResponse> {
52
+ return this._client.delete(path`/rest/v1/videos/${id}`, options);
53
+ }
54
+
55
+ /**
56
+ * Return per-video starts, unique viewers, completion rate, and average watch time
57
+ * for a date window. This derived report uses `limit` and `offset` pagination;
58
+ * `total` is the number of rows returned through the current offset, not a total
59
+ * match count. Requires scope: report:video-analytics
60
+ */
61
+ analytics(query: VideoAnalyticsParams, options?: RequestOptions): APIPromise<VideoAnalyticsResponse> {
62
+ return this._client.get('/rest/v1/videos/analytics', { query, ...options });
63
+ }
64
+
65
+ /**
66
+ * Return daily or hourly starts, unique viewers, completions, and completion rate
67
+ * for one video. Daily windows support up to 90 days; hourly windows support up to
68
+ * 14 days. Requires scope: report:video-analytics
69
+ */
70
+ analyticsTimeseries(
71
+ id: string,
72
+ query: VideoAnalyticsTimeseriesParams,
73
+ options?: RequestOptions,
74
+ ): APIPromise<VideoAnalyticsTimeseriesResponse> {
75
+ return this._client.get(path`/rest/v1/videos/${id}/analytics`, { query, ...options });
76
+ }
77
+
78
+ /**
79
+ * Read the current WebVTT transcript. Transcript text is available wherever the
80
+ * video is embedded, so do not include PHI or other confidential information.
81
+ * Requires scope: media:find
82
+ */
83
+ transcript(id: string, options?: RequestOptions): APIPromise<VideoTranscriptResponse> {
84
+ return this._client.get(path`/rest/v1/videos/${id}/transcript`, options);
85
+ }
86
+
87
+ /**
88
+ * Replace the transcript with VTT or SRT text. SRT is normalized to WebVTT.
89
+ * Transcript text is available wherever the video is embedded, so do not include
90
+ * PHI or other confidential information. Requires scope: media:update
91
+ */
92
+ updateTranscript(
93
+ id: string,
94
+ body: VideoUpdateTranscriptParams,
95
+ options?: RequestOptions,
96
+ ): APIPromise<VideoUpdateTranscriptResponse> {
97
+ return this._client.put(path`/rest/v1/videos/${id}/transcript`, { body, ...options });
98
+ }
99
+ }
100
+
101
+ export type VideoListResponsesCursor = Cursor<VideoListResponse>;
102
+
103
+ export interface VideoListResponse {
104
+ id: string;
105
+
106
+ accountId: string;
107
+
108
+ createdAt: string;
109
+
110
+ type: 'Video';
111
+
112
+ captionsUpdatedAt?: string | null;
113
+
114
+ captionsUpdatedByName?: string | null;
115
+
116
+ description?: string | null;
117
+
118
+ duration?: number | null;
119
+
120
+ hasVideoUpload?: boolean | null;
121
+
122
+ height?: number | null;
123
+
124
+ name?: string | null;
125
+
126
+ updatedAt?: string | null;
127
+
128
+ width?: number | null;
129
+ }
130
+
131
+ export interface VideoCreateResponse {
132
+ id: string;
133
+
134
+ accountId: string;
135
+
136
+ createdAt: string;
137
+
138
+ type: 'Video';
139
+
140
+ upload: VideoCreateResponse.Upload;
141
+
142
+ captionsUpdatedAt?: string | null;
143
+
144
+ captionsUpdatedByName?: string | null;
145
+
146
+ description?: string | null;
147
+
148
+ duration?: number | null;
149
+
150
+ hasVideoUpload?: boolean | null;
151
+
152
+ height?: number | null;
153
+
154
+ name?: string | null;
155
+
156
+ updatedAt?: string | null;
157
+
158
+ width?: number | null;
159
+ }
160
+
161
+ export namespace VideoCreateResponse {
162
+ export interface Upload {
163
+ mimeType: 'MP4' | 'WEBM';
164
+
165
+ url: string;
166
+ }
167
+ }
168
+
169
+ export interface VideoRetrieveResponse {
170
+ id: string;
171
+
172
+ accountId: string;
173
+
174
+ createdAt: string;
175
+
176
+ type: 'Video';
177
+
178
+ captionsUpdatedAt?: string | null;
179
+
180
+ captionsUpdatedByName?: string | null;
181
+
182
+ description?: string | null;
183
+
184
+ duration?: number | null;
185
+
186
+ hasVideoUpload?: boolean | null;
187
+
188
+ height?: number | null;
189
+
190
+ name?: string | null;
191
+
192
+ resolvedValues?: unknown | null;
193
+
194
+ updatedAt?: string | null;
195
+
196
+ width?: number | null;
197
+ }
198
+
199
+ export interface VideoUpdateResponse {
200
+ id: string;
201
+
202
+ accountId: string;
203
+
204
+ createdAt: string;
205
+
206
+ type: 'Video';
207
+
208
+ captionsUpdatedAt?: string | null;
209
+
210
+ captionsUpdatedByName?: string | null;
211
+
212
+ description?: string | null;
213
+
214
+ duration?: number | null;
215
+
216
+ hasVideoUpload?: boolean | null;
217
+
218
+ height?: number | null;
219
+
220
+ name?: string | null;
221
+
222
+ updatedAt?: string | null;
223
+
224
+ width?: number | null;
225
+ }
226
+
227
+ export interface VideoDeleteResponse {
228
+ id: string;
229
+
230
+ deleted: true;
231
+ }
232
+
233
+ export interface VideoAnalyticsResponse {
234
+ hasMore: boolean;
235
+
236
+ items: Array<VideoAnalyticsResponse.Item>;
237
+
238
+ total: number;
239
+ }
240
+
241
+ export namespace VideoAnalyticsResponse {
242
+ export interface Item {
243
+ avgVideoDurationSeconds: number;
244
+
245
+ avgWatchTimeSeconds: number;
246
+
247
+ completionRate: number;
248
+
249
+ uniqueViewers: number;
250
+
251
+ videoStarts: number;
252
+
253
+ videoTitle: string;
254
+
255
+ videoId?: string | null;
256
+
257
+ videoUrl?: string | null;
258
+ }
259
+ }
260
+
261
+ export interface VideoAnalyticsTimeseriesResponse {
262
+ items: Array<VideoAnalyticsTimeseriesResponse.Item>;
263
+ }
264
+
265
+ export namespace VideoAnalyticsTimeseriesResponse {
266
+ export interface Item {
267
+ completionRate: number;
268
+
269
+ completions: number;
270
+
271
+ dateTime: string;
272
+
273
+ uniqueViewers: number;
274
+
275
+ videoStarts: number;
276
+ }
277
+ }
278
+
279
+ export interface VideoTranscriptResponse {
280
+ content?: string | null;
281
+ }
282
+
283
+ export interface VideoUpdateTranscriptResponse {
284
+ id: string;
285
+
286
+ accountId: string;
287
+
288
+ createdAt: string;
289
+
290
+ type: 'Video';
291
+
292
+ captionsUpdatedAt?: string | null;
293
+
294
+ captionsUpdatedByName?: string | null;
295
+
296
+ description?: string | null;
297
+
298
+ duration?: number | null;
299
+
300
+ hasVideoUpload?: boolean | null;
301
+
302
+ height?: number | null;
303
+
304
+ name?: string | null;
305
+
306
+ updatedAt?: string | null;
307
+
308
+ width?: number | null;
309
+ }
310
+
311
+ export interface VideoListParams extends CursorParams {
312
+ /**
313
+ * Case-insensitive substring match on the video title.
314
+ */
315
+ nameContains?: string;
316
+ }
317
+
318
+ export interface VideoCreateParams {
319
+ /**
320
+ * Content type for the original video upload: `MP4` or `WEBM`.
321
+ */
322
+ mimeType: 'MP4' | 'WEBM';
323
+
324
+ description?: string | null;
325
+
326
+ /**
327
+ * Video title. Defaults to `New Video` when omitted.
328
+ */
329
+ name?: string | null;
330
+ }
331
+
332
+ export interface VideoUpdateParams {
333
+ description?: string | null;
334
+
335
+ duration?: number | null;
336
+
337
+ hasVideoUpload?: boolean | null;
338
+
339
+ height?: number | null;
340
+
341
+ name?: string | null;
342
+
343
+ width?: number | null;
344
+ }
345
+
346
+ export interface VideoAnalyticsParams {
347
+ /**
348
+ * Inclusive UTC start day in `YYYY-MM-DD` format.
349
+ */
350
+ from: string;
351
+
352
+ /**
353
+ * Inclusive UTC end day in `YYYY-MM-DD` format.
354
+ */
355
+ to: string;
356
+
357
+ /**
358
+ * Maximum number of video rows to return. Defaults to 50.
359
+ */
360
+ limit?: number;
361
+
362
+ /**
363
+ * Zero-based row offset. This report is an intentional offset-pagination
364
+ * exception.
365
+ */
366
+ offset?: number | null;
367
+ }
368
+
369
+ export interface VideoAnalyticsTimeseriesParams {
370
+ /**
371
+ * Inclusive UTC start day in `YYYY-MM-DD` format.
372
+ */
373
+ from: string;
374
+
375
+ /**
376
+ * Inclusive UTC end day in `YYYY-MM-DD` format.
377
+ */
378
+ to: string;
379
+
380
+ /**
381
+ * Bucket size. Defaults to `DAILY`; `HOURLY` supports windows of up to 14 days.
382
+ */
383
+ granularity?: 'DAILY' | 'HOURLY';
384
+ }
385
+
386
+ export interface VideoUpdateTranscriptParams {
387
+ /**
388
+ * Transcript text, limited to 1 MB.
389
+ */
390
+ content: string;
391
+
392
+ /**
393
+ * Transcript source format. SRT content is normalized to WebVTT before it is
394
+ * saved.
395
+ */
396
+ format: 'SRT' | 'VTT';
397
+ }
398
+
399
+ export declare namespace Videos {
400
+ export {
401
+ type VideoListResponse as VideoListResponse,
402
+ type VideoCreateResponse as VideoCreateResponse,
403
+ type VideoRetrieveResponse as VideoRetrieveResponse,
404
+ type VideoUpdateResponse as VideoUpdateResponse,
405
+ type VideoDeleteResponse as VideoDeleteResponse,
406
+ type VideoAnalyticsResponse as VideoAnalyticsResponse,
407
+ type VideoAnalyticsTimeseriesResponse as VideoAnalyticsTimeseriesResponse,
408
+ type VideoTranscriptResponse as VideoTranscriptResponse,
409
+ type VideoUpdateTranscriptResponse as VideoUpdateTranscriptResponse,
410
+ type VideoListResponsesCursor as VideoListResponsesCursor,
411
+ type VideoListParams as VideoListParams,
412
+ type VideoCreateParams as VideoCreateParams,
413
+ type VideoUpdateParams as VideoUpdateParams,
414
+ type VideoAnalyticsParams as VideoAnalyticsParams,
415
+ type VideoAnalyticsTimeseriesParams as VideoAnalyticsTimeseriesParams,
416
+ type VideoUpdateTranscriptParams as VideoUpdateTranscriptParams,
417
+ };
418
+ }
@@ -112,14 +112,15 @@ export class WebScanners extends APIResource {
112
112
  /**
113
113
  * Compliance summary for a scan run — the rolled-up "what does this site look
114
114
  * like, and what still needs a decision" view, assembled server-side so you do not
115
- * have to page every finding. Includes total host/vendor/cookie counts, a
116
- * breakdown by risk and by category, coverage (how many hosts are already covered
117
- * by a CMP consent service or a suppression rule vs. how many still need a
118
- * decision), the new/removed host delta versus the previous run, and up to 10
119
- * highest-risk hosts that still need a decision. Defaults to the latest run; pass
120
- * `date` (an ISO-8601 timestamp; only the calendar day is used to select the run)
121
- * to read an earlier run. Clear a host that needs a decision by adding it to a CMP
122
- * consent service or creating a suppression rule with
115
+ * have to page every finding. Includes total host/vendor/cookie counts, captured
116
+ * privacy policies and host coverage, a breakdown by risk and by category, coverage
117
+ * (how many hosts are already covered by a CMP consent service or a suppression
118
+ * rule vs. how many still need a decision), the new/removed host delta versus the
119
+ * previous run, and up to 10 highest-risk hosts that still need a decision. A null
120
+ * privacyPolicyUrl means that no policy was captured for the hostname. Defaults to
121
+ * the latest run; pass `date` (an ISO-8601 timestamp; only the calendar day is used
122
+ * to select the run) to read an earlier run. Clear a host that needs a decision by
123
+ * adding it to a CMP consent service or creating a suppression rule with
123
124
  * `POST /rest/v1/web-scanner-rules`. When the scanner has no completed runs, every
124
125
  * count is 0 and `runDate` is null. Requires scope: webScanner:find
125
126
  */
@@ -144,6 +145,8 @@ export namespace WebScannerListResponse {
144
145
 
145
146
  rootDomain: string;
146
147
 
148
+ scanSchedule: 'daily' | 'manual' | 'monthly' | 'weekly';
149
+
147
150
  scanStatus: 'idle' | 'scanning';
148
151
 
149
152
  status: 'Disabled' | 'Enabled';
@@ -168,6 +171,8 @@ export namespace WebScannerListResponse {
168
171
 
169
172
  name?: string | null;
170
173
 
174
+ nextScheduledScanAt?: string | null;
175
+
171
176
  updatedAt?: string | null;
172
177
 
173
178
  urlLimit?: number | null;
@@ -181,6 +186,8 @@ export interface WebScannerCreateResponse {
181
186
 
182
187
  rootDomain: string;
183
188
 
189
+ scanSchedule: 'daily' | 'manual' | 'monthly' | 'weekly';
190
+
184
191
  scanStatus: 'idle' | 'scanning';
185
192
 
186
193
  status: 'Disabled' | 'Enabled';
@@ -205,6 +212,8 @@ export interface WebScannerCreateResponse {
205
212
 
206
213
  name?: string | null;
207
214
 
215
+ nextScheduledScanAt?: string | null;
216
+
208
217
  updatedAt?: string | null;
209
218
 
210
219
  urlLimit?: number | null;
@@ -217,6 +226,8 @@ export interface WebScannerRetrieveResponse {
217
226
 
218
227
  rootDomain: string;
219
228
 
229
+ scanSchedule: 'daily' | 'manual' | 'monthly' | 'weekly';
230
+
220
231
  scanStatus: 'idle' | 'scanning';
221
232
 
222
233
  status: 'Disabled' | 'Enabled';
@@ -241,6 +252,8 @@ export interface WebScannerRetrieveResponse {
241
252
 
242
253
  name?: string | null;
243
254
 
255
+ nextScheduledScanAt?: string | null;
256
+
244
257
  updatedAt?: string | null;
245
258
 
246
259
  urlLimit?: number | null;
@@ -253,6 +266,8 @@ export interface WebScannerUpdateResponse {
253
266
 
254
267
  rootDomain: string;
255
268
 
269
+ scanSchedule: 'daily' | 'manual' | 'monthly' | 'weekly';
270
+
256
271
  scanStatus: 'idle' | 'scanning';
257
272
 
258
273
  status: 'Disabled' | 'Enabled';
@@ -277,6 +292,8 @@ export interface WebScannerUpdateResponse {
277
292
 
278
293
  name?: string | null;
279
294
 
295
+ nextScheduledScanAt?: string | null;
296
+
280
297
  updatedAt?: string | null;
281
298
 
282
299
  urlLimit?: number | null;
@@ -301,6 +318,8 @@ export interface WebScannerTriggerResponse {
301
318
 
302
319
  rootDomain: string;
303
320
 
321
+ scanSchedule: 'daily' | 'manual' | 'monthly' | 'weekly';
322
+
304
323
  scanStatus: 'idle' | 'scanning';
305
324
 
306
325
  status: 'Disabled' | 'Enabled';
@@ -325,6 +344,8 @@ export interface WebScannerTriggerResponse {
325
344
 
326
345
  name?: string | null;
327
346
 
347
+ nextScheduledScanAt?: string | null;
348
+
328
349
  updatedAt?: string | null;
329
350
 
330
351
  urlLimit?: number | null;
@@ -461,6 +482,20 @@ export interface WebScannerSummaryResponse {
461
482
 
462
483
  localStorageCount: number;
463
484
 
485
+ /**
486
+ * Distinct privacy policies captured for first-party hostnames in the selected
487
+ * scan run, including the bounded visible policy text.
488
+ */
489
+ privacyPolicies: Array<WebScannerSummaryResponse.PrivacyPolicy>;
490
+
491
+ privacyPolicyCount: number;
492
+
493
+ /**
494
+ * Every successfully crawled first-party hostname and its captured privacy policy
495
+ * URL. A null privacyPolicyUrl means no policy was captured for that hostname.
496
+ */
497
+ privacyPolicyHosts: Array<WebScannerSummaryResponse.PrivacyPolicyHost>;
498
+
464
499
  rootDomain: string;
465
500
 
466
501
  scannerId: string;
@@ -521,6 +556,20 @@ export namespace WebScannerSummaryResponse {
521
556
  totalHostCount: number;
522
557
  }
523
558
 
559
+ export interface PrivacyPolicy {
560
+ hostnames: Array<string>;
561
+
562
+ text: string;
563
+
564
+ url: string;
565
+ }
566
+
567
+ export interface PrivacyPolicyHost {
568
+ hostname: string;
569
+
570
+ privacyPolicyUrl?: string | null;
571
+ }
572
+
524
573
  export interface TopUncoveredHost {
525
574
  coveredByCmp: boolean;
526
575
 
@@ -672,6 +721,14 @@ export interface WebScannerCreateParams {
672
721
 
673
722
  name?: string | null;
674
723
 
724
+ /**
725
+ * How often the scanner crawls this monitor on its own: `daily`, `weekly`,
726
+ * `monthly`, or `manual` to disable scheduled crawls and only run on demand.
727
+ * Defaults to `weekly`. Cadences advance on UTC calendar days from the last
728
+ * completed scan.
729
+ */
730
+ scanSchedule?: 'daily' | 'manual' | 'monthly' | 'weekly';
731
+
675
732
  status?: 'Disabled' | 'Enabled';
676
733
 
677
734
  /**
@@ -693,6 +750,14 @@ export interface WebScannerUpdateParams {
693
750
  */
694
751
  rootDomain?: string | null;
695
752
 
753
+ /**
754
+ * How often the scanner crawls this monitor on its own: `daily`, `weekly`,
755
+ * `monthly`, or `manual` to disable scheduled crawls and only run on demand.
756
+ * Defaults to `weekly`. Cadences advance on UTC calendar days from the last
757
+ * completed scan. Omit to leave the current cadence unchanged.
758
+ */
759
+ scanSchedule?: 'daily' | 'manual' | 'monthly' | 'weekly';
760
+
696
761
  status?: 'Disabled' | 'Enabled';
697
762
 
698
763
  urlLimit?: number | null;
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '1.42.2'; // x-release-please-version
1
+ export const VERSION = '1.44.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "1.42.2";
1
+ export declare const VERSION = "1.44.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "1.42.2";
1
+ export declare const VERSION = "1.44.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.42.2'; // x-release-please-version
4
+ exports.VERSION = '1.44.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '1.42.2'; // x-release-please-version
1
+ export const VERSION = '1.44.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map