@oursprivacy/platform-sdk 1.43.0 → 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.
- package/CHANGELOG.md +8 -0
- package/client.d.mts +8 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +8 -2
- package/client.d.ts.map +1 -1
- package/client.js +6 -0
- package/client.js.map +1 -1
- package/client.mjs +6 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/audience-conversion-reports.d.mts +216 -0
- package/resources/audience-conversion-reports.d.mts.map +1 -0
- package/resources/audience-conversion-reports.d.ts +216 -0
- package/resources/audience-conversion-reports.d.ts.map +1 -0
- package/resources/audience-conversion-reports.js +55 -0
- package/resources/audience-conversion-reports.js.map +1 -0
- package/resources/audience-conversion-reports.mjs +51 -0
- package/resources/audience-conversion-reports.mjs.map +1 -0
- package/resources/destinations.d.mts +20 -0
- package/resources/destinations.d.mts.map +1 -1
- package/resources/destinations.d.ts +20 -0
- package/resources/destinations.d.ts.map +1 -1
- package/resources/experiments.d.mts +6 -4
- package/resources/experiments.d.mts.map +1 -1
- package/resources/experiments.d.ts +6 -4
- package/resources/experiments.d.ts.map +1 -1
- package/resources/experiments.js +4 -3
- package/resources/experiments.js.map +1 -1
- package/resources/experiments.mjs +4 -3
- package/resources/experiments.mjs.map +1 -1
- package/resources/funnels.d.mts +811 -5
- package/resources/funnels.d.mts.map +1 -1
- package/resources/funnels.d.ts +811 -5
- package/resources/funnels.d.ts.map +1 -1
- package/resources/funnels.js +22 -0
- package/resources/funnels.js.map +1 -1
- package/resources/funnels.mjs +22 -0
- package/resources/funnels.mjs.map +1 -1
- package/resources/index.d.mts +3 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +3 -1
- 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/video-channels.d.mts +237 -0
- package/resources/video-channels.d.mts.map +1 -0
- package/resources/video-channels.d.ts +237 -0
- package/resources/video-channels.d.ts.map +1 -0
- package/resources/video-channels.js +95 -0
- package/resources/video-channels.js.map +1 -0
- package/resources/video-channels.mjs +91 -0
- package/resources/video-channels.mjs.map +1 -0
- package/resources/web-scanners.d.mts +10 -8
- package/resources/web-scanners.d.mts.map +1 -1
- package/resources/web-scanners.d.ts +10 -8
- package/resources/web-scanners.d.ts.map +1 -1
- package/resources/web-scanners.js +9 -8
- package/resources/web-scanners.js.map +1 -1
- package/resources/web-scanners.mjs +9 -8
- package/resources/web-scanners.mjs.map +1 -1
- package/src/client.ts +78 -0
- package/src/resources/audience-conversion-reports.ts +466 -0
- package/src/resources/destinations.ts +113 -0
- package/src/resources/experiments.ts +6 -4
- package/src/resources/funnels.ts +1366 -4
- package/src/resources/index.ts +36 -0
- package/src/resources/video-channels.ts +405 -0
- package/src/resources/web-scanners.ts +11 -8
- 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/index.ts
CHANGED
|
@@ -23,6 +23,18 @@ export {
|
|
|
23
23
|
type AttributionAudienceConversionParams,
|
|
24
24
|
type AttributionUtmComparisonParams,
|
|
25
25
|
} from './attribution';
|
|
26
|
+
export {
|
|
27
|
+
AudienceConversionReports,
|
|
28
|
+
type AudienceConversionReportListResponse,
|
|
29
|
+
type AudienceConversionReportCreateResponse,
|
|
30
|
+
type AudienceConversionReportRetrieveResponse,
|
|
31
|
+
type AudienceConversionReportUpdateResponse,
|
|
32
|
+
type AudienceConversionReportDeleteResponse,
|
|
33
|
+
type AudienceConversionReportResultsResponse,
|
|
34
|
+
type AudienceConversionReportCreateParams,
|
|
35
|
+
type AudienceConversionReportUpdateParams,
|
|
36
|
+
type AudienceConversionReportResultsParams,
|
|
37
|
+
} from './audience-conversion-reports';
|
|
26
38
|
export {
|
|
27
39
|
ConsentAnalytics,
|
|
28
40
|
type ConsentAnalyticsListResponse,
|
|
@@ -146,8 +158,13 @@ export {
|
|
|
146
158
|
export {
|
|
147
159
|
Funnels,
|
|
148
160
|
type FunnelListResponse,
|
|
161
|
+
type FunnelCreateResponse,
|
|
149
162
|
type FunnelRetrieveResponse,
|
|
163
|
+
type FunnelUpdateResponse,
|
|
164
|
+
type FunnelDeleteResponse,
|
|
150
165
|
type FunnelResultsResponse,
|
|
166
|
+
type FunnelCreateParams,
|
|
167
|
+
type FunnelUpdateParams,
|
|
151
168
|
type FunnelResultsParams,
|
|
152
169
|
} from './funnels';
|
|
153
170
|
export {
|
|
@@ -310,6 +327,25 @@ export {
|
|
|
310
327
|
type VersionRevertParams,
|
|
311
328
|
type VersionListResponsesCursor,
|
|
312
329
|
} from './versions';
|
|
330
|
+
export {
|
|
331
|
+
VideoChannels,
|
|
332
|
+
type VideoChannelListResponse,
|
|
333
|
+
type VideoChannelCreateResponse,
|
|
334
|
+
type VideoChannelRetrieveResponse,
|
|
335
|
+
type VideoChannelUpdateResponse,
|
|
336
|
+
type VideoChannelDeleteResponse,
|
|
337
|
+
type VideoChannelMediaResponse,
|
|
338
|
+
type VideoChannelAssignMediaResponse,
|
|
339
|
+
type VideoChannelRemoveMediaResponse,
|
|
340
|
+
type VideoChannelReorderResponse,
|
|
341
|
+
type VideoChannelListParams,
|
|
342
|
+
type VideoChannelCreateParams,
|
|
343
|
+
type VideoChannelUpdateParams,
|
|
344
|
+
type VideoChannelAssignMediaParams,
|
|
345
|
+
type VideoChannelRemoveMediaParams,
|
|
346
|
+
type VideoChannelReorderParams,
|
|
347
|
+
type VideoChannelListResponsesCursor,
|
|
348
|
+
} from './video-channels';
|
|
313
349
|
export {
|
|
314
350
|
Videos,
|
|
315
351
|
type VideoListResponse,
|
|
@@ -0,0 +1,405 @@
|
|
|
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 VideoChannels extends APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* List video channels for the account, sorted by name. Supports cursor pagination
|
|
12
|
+
* via `limit` and `cursor`; the limit clamp is 1000 so a single request can return
|
|
13
|
+
* the full set. Entries omit `resolvedValues` — fetch a channel by id for its video
|
|
14
|
+
* count and embed output. Requires scope: videoChannel:list
|
|
15
|
+
*/
|
|
16
|
+
list(
|
|
17
|
+
query: VideoChannelListParams | null | undefined = {},
|
|
18
|
+
options?: RequestOptions,
|
|
19
|
+
): PagePromise<VideoChannelListResponsesCursor, VideoChannelListResponse> {
|
|
20
|
+
return this._client.getAPIList('/rest/v1/video-channels', Cursor<VideoChannelListResponse>, {
|
|
21
|
+
query,
|
|
22
|
+
...options,
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Create a video channel. Only `name` is accepted here; set branding and publish it
|
|
28
|
+
* with PATCH, and add videos with `POST /rest/v1/video-channels/{id}/media`. New
|
|
29
|
+
* channels start unpublished, so the page is not reachable until you send
|
|
30
|
+
* `isPublished: true`. Requires scope: videoChannel:create
|
|
31
|
+
*/
|
|
32
|
+
create(body: VideoChannelCreateParams, options?: RequestOptions): APIPromise<VideoChannelCreateResponse> {
|
|
33
|
+
return this._client.post('/rest/v1/video-channels', { body, ...options });
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Fetch a channel with its branding, publish state, video count, shareable page
|
|
38
|
+
* URL, and paste-ready embed code. Requires scope: videoChannel:find
|
|
39
|
+
*/
|
|
40
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<VideoChannelRetrieveResponse> {
|
|
41
|
+
return this._client.get(path`/rest/v1/video-channels/${id}`, options);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Partially update a channel. Only fields included in the body change; send `null`
|
|
46
|
+
* to clear a nullable field. Sending `isPublished: true` makes the channel page
|
|
47
|
+
* reachable and renders it from the current videos and branding; `false` takes it
|
|
48
|
+
* offline. `logoMediaId` must reference an image in your media library. Requires
|
|
49
|
+
* scope: videoChannel:update
|
|
50
|
+
*/
|
|
51
|
+
update(
|
|
52
|
+
id: string,
|
|
53
|
+
body: VideoChannelUpdateParams,
|
|
54
|
+
options?: RequestOptions,
|
|
55
|
+
): APIPromise<VideoChannelUpdateResponse> {
|
|
56
|
+
return this._client.patch(path`/rest/v1/video-channels/${id}`, { body, ...options });
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Delete a channel and take its page offline. The videos it listed are not deleted
|
|
61
|
+
* — only their membership in this channel. Requires scope: videoChannel:delete
|
|
62
|
+
*/
|
|
63
|
+
delete(id: string, options?: RequestOptions): APIPromise<VideoChannelDeleteResponse> {
|
|
64
|
+
return this._client.delete(path`/rest/v1/video-channels/${id}`, options);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* List the videos in a channel, ordered by their position on the page. Not
|
|
69
|
+
* paginated: a channel holds a bounded set of videos, so the full ordered list is
|
|
70
|
+
* always returned. Videos whose media no longer resolves are omitted rather than
|
|
71
|
+
* returned as broken entries. Requires scope: videoChannel:find
|
|
72
|
+
*/
|
|
73
|
+
media(id: string, options?: RequestOptions): APIPromise<VideoChannelMediaResponse> {
|
|
74
|
+
return this._client.get(path`/rest/v1/video-channels/${id}/media`, options);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Add a video to a channel. Omit `position` to append it to the end. A video can
|
|
79
|
+
* belong to several channels, so adding it here does not remove it from any other.
|
|
80
|
+
* Calling this again for a video already in the channel updates its position
|
|
81
|
+
* instead of adding a duplicate, and keeps its current slot when `position` is
|
|
82
|
+
* omitted. The returned `id` is a composite membership key, not a UUID. Requires
|
|
83
|
+
* scope: videoChannel:update
|
|
84
|
+
*/
|
|
85
|
+
assignMedia(
|
|
86
|
+
id: string,
|
|
87
|
+
body: VideoChannelAssignMediaParams,
|
|
88
|
+
options?: RequestOptions,
|
|
89
|
+
): APIPromise<VideoChannelAssignMediaResponse> {
|
|
90
|
+
return this._client.post(path`/rest/v1/video-channels/${id}/media`, { body, ...options });
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Remove one video from a channel, identified by the `mediaId` query parameter. The
|
|
95
|
+
* video itself is not deleted and stays in any other channel it belongs to.
|
|
96
|
+
* Idempotent — removing a video that is not in the channel succeeds and returns the
|
|
97
|
+
* channel unchanged. Requires scope: videoChannel:update
|
|
98
|
+
*/
|
|
99
|
+
removeMedia(
|
|
100
|
+
id: string,
|
|
101
|
+
query: VideoChannelRemoveMediaParams,
|
|
102
|
+
options?: RequestOptions,
|
|
103
|
+
): APIPromise<VideoChannelRemoveMediaResponse> {
|
|
104
|
+
return this._client.delete(path`/rest/v1/video-channels/${id}/media`, { query, ...options });
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Set the display order of a channel’s videos. Send every video id currently in the
|
|
109
|
+
* channel in the order you want them shown — index 0 appears first. A partial list,
|
|
110
|
+
* or an id that is not in the channel, returns 400 so a caller working from a stale
|
|
111
|
+
* view learns it is out of date instead of getting a partial write. Requires scope:
|
|
112
|
+
* videoChannel:update
|
|
113
|
+
*/
|
|
114
|
+
reorder(
|
|
115
|
+
id: string,
|
|
116
|
+
body: VideoChannelReorderParams,
|
|
117
|
+
options?: RequestOptions,
|
|
118
|
+
): APIPromise<VideoChannelReorderResponse> {
|
|
119
|
+
return this._client.post(path`/rest/v1/video-channels/${id}/reorder`, { body, ...options });
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export type VideoChannelListResponsesCursor = Cursor<VideoChannelListResponse>;
|
|
124
|
+
|
|
125
|
+
export interface VideoChannelListResponse {
|
|
126
|
+
id: string;
|
|
127
|
+
|
|
128
|
+
accountId: string;
|
|
129
|
+
|
|
130
|
+
name: string;
|
|
131
|
+
|
|
132
|
+
brandColor?: string | null;
|
|
133
|
+
|
|
134
|
+
createdAt?: string | null;
|
|
135
|
+
|
|
136
|
+
description?: string | null;
|
|
137
|
+
|
|
138
|
+
footerText?: string | null;
|
|
139
|
+
|
|
140
|
+
isPublished?: boolean | null;
|
|
141
|
+
|
|
142
|
+
logoMediaId?: string | null;
|
|
143
|
+
|
|
144
|
+
updatedAt?: string | null;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export interface VideoChannelCreateResponse {
|
|
148
|
+
id: string;
|
|
149
|
+
|
|
150
|
+
accountId: string;
|
|
151
|
+
|
|
152
|
+
name: string;
|
|
153
|
+
|
|
154
|
+
brandColor?: string | null;
|
|
155
|
+
|
|
156
|
+
createdAt?: string | null;
|
|
157
|
+
|
|
158
|
+
description?: string | null;
|
|
159
|
+
|
|
160
|
+
footerText?: string | null;
|
|
161
|
+
|
|
162
|
+
isPublished?: boolean | null;
|
|
163
|
+
|
|
164
|
+
logoMediaId?: string | null;
|
|
165
|
+
|
|
166
|
+
updatedAt?: string | null;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
export interface VideoChannelRetrieveResponse {
|
|
170
|
+
id: string;
|
|
171
|
+
|
|
172
|
+
accountId: string;
|
|
173
|
+
|
|
174
|
+
name: string;
|
|
175
|
+
|
|
176
|
+
brandColor?: string | null;
|
|
177
|
+
|
|
178
|
+
createdAt?: string | null;
|
|
179
|
+
|
|
180
|
+
description?: string | null;
|
|
181
|
+
|
|
182
|
+
footerText?: string | null;
|
|
183
|
+
|
|
184
|
+
isPublished?: boolean | null;
|
|
185
|
+
|
|
186
|
+
logoMediaId?: string | null;
|
|
187
|
+
|
|
188
|
+
resolvedValues?: unknown | null;
|
|
189
|
+
|
|
190
|
+
updatedAt?: string | null;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
export interface VideoChannelUpdateResponse {
|
|
194
|
+
id: string;
|
|
195
|
+
|
|
196
|
+
accountId: string;
|
|
197
|
+
|
|
198
|
+
name: string;
|
|
199
|
+
|
|
200
|
+
brandColor?: string | null;
|
|
201
|
+
|
|
202
|
+
createdAt?: string | null;
|
|
203
|
+
|
|
204
|
+
description?: string | null;
|
|
205
|
+
|
|
206
|
+
footerText?: string | null;
|
|
207
|
+
|
|
208
|
+
isPublished?: boolean | null;
|
|
209
|
+
|
|
210
|
+
logoMediaId?: string | null;
|
|
211
|
+
|
|
212
|
+
resolvedValues?: unknown | null;
|
|
213
|
+
|
|
214
|
+
updatedAt?: string | null;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
export interface VideoChannelDeleteResponse {
|
|
218
|
+
id: string;
|
|
219
|
+
|
|
220
|
+
deleted: true;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
export interface VideoChannelMediaResponse {
|
|
224
|
+
entities: Array<VideoChannelMediaResponse.Entity>;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
export namespace VideoChannelMediaResponse {
|
|
228
|
+
export interface Entity {
|
|
229
|
+
id: string;
|
|
230
|
+
|
|
231
|
+
accountId: string;
|
|
232
|
+
|
|
233
|
+
createdAt: string;
|
|
234
|
+
|
|
235
|
+
type: 'Video';
|
|
236
|
+
|
|
237
|
+
captionsUpdatedAt?: string | null;
|
|
238
|
+
|
|
239
|
+
captionsUpdatedByName?: string | null;
|
|
240
|
+
|
|
241
|
+
description?: string | null;
|
|
242
|
+
|
|
243
|
+
duration?: number | null;
|
|
244
|
+
|
|
245
|
+
hasVideoUpload?: boolean | null;
|
|
246
|
+
|
|
247
|
+
height?: number | null;
|
|
248
|
+
|
|
249
|
+
name?: string | null;
|
|
250
|
+
|
|
251
|
+
updatedAt?: string | null;
|
|
252
|
+
|
|
253
|
+
width?: number | null;
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
export interface VideoChannelAssignMediaResponse {
|
|
258
|
+
id: string;
|
|
259
|
+
|
|
260
|
+
accountId: string;
|
|
261
|
+
|
|
262
|
+
mediaId: string;
|
|
263
|
+
|
|
264
|
+
channelId?: string | null;
|
|
265
|
+
|
|
266
|
+
createdAt?: string | null;
|
|
267
|
+
|
|
268
|
+
position?: number | null;
|
|
269
|
+
|
|
270
|
+
updatedAt?: string | null;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
export interface VideoChannelRemoveMediaResponse {
|
|
274
|
+
id: string;
|
|
275
|
+
|
|
276
|
+
accountId: string;
|
|
277
|
+
|
|
278
|
+
name: string;
|
|
279
|
+
|
|
280
|
+
brandColor?: string | null;
|
|
281
|
+
|
|
282
|
+
createdAt?: string | null;
|
|
283
|
+
|
|
284
|
+
description?: string | null;
|
|
285
|
+
|
|
286
|
+
footerText?: string | null;
|
|
287
|
+
|
|
288
|
+
isPublished?: boolean | null;
|
|
289
|
+
|
|
290
|
+
logoMediaId?: string | null;
|
|
291
|
+
|
|
292
|
+
resolvedValues?: unknown | null;
|
|
293
|
+
|
|
294
|
+
updatedAt?: string | null;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
export interface VideoChannelReorderResponse {
|
|
298
|
+
id: string;
|
|
299
|
+
|
|
300
|
+
accountId: string;
|
|
301
|
+
|
|
302
|
+
name: string;
|
|
303
|
+
|
|
304
|
+
brandColor?: string | null;
|
|
305
|
+
|
|
306
|
+
createdAt?: string | null;
|
|
307
|
+
|
|
308
|
+
description?: string | null;
|
|
309
|
+
|
|
310
|
+
footerText?: string | null;
|
|
311
|
+
|
|
312
|
+
isPublished?: boolean | null;
|
|
313
|
+
|
|
314
|
+
logoMediaId?: string | null;
|
|
315
|
+
|
|
316
|
+
resolvedValues?: unknown | null;
|
|
317
|
+
|
|
318
|
+
updatedAt?: string | null;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
export interface VideoChannelListParams extends CursorParams {}
|
|
322
|
+
|
|
323
|
+
export interface VideoChannelCreateParams {
|
|
324
|
+
/**
|
|
325
|
+
* Channel name. Case-insensitively unique within the account.
|
|
326
|
+
*/
|
|
327
|
+
name: string;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
export interface VideoChannelUpdateParams {
|
|
331
|
+
/**
|
|
332
|
+
* Accent color used on the channel page. Any CSS color string.
|
|
333
|
+
*/
|
|
334
|
+
brandColor?: string | null;
|
|
335
|
+
|
|
336
|
+
description?: string | null;
|
|
337
|
+
|
|
338
|
+
footerText?: string | null;
|
|
339
|
+
|
|
340
|
+
/**
|
|
341
|
+
* Whether the channel page is publicly reachable. Publishing renders the page from
|
|
342
|
+
* the current videos and branding; unpublishing takes it offline.
|
|
343
|
+
*/
|
|
344
|
+
isPublished?: boolean | null;
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* Id of an image in your media library to show as the channel logo. Must be an
|
|
348
|
+
* image; send `null` to clear it.
|
|
349
|
+
*/
|
|
350
|
+
logoMediaId?: string | null;
|
|
351
|
+
|
|
352
|
+
/**
|
|
353
|
+
* New channel name. Must stay case-insensitively unique within the account.
|
|
354
|
+
*/
|
|
355
|
+
name?: string | null;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
export interface VideoChannelAssignMediaParams {
|
|
359
|
+
/**
|
|
360
|
+
* Id of the video to add to the channel. Must be a video, not an image.
|
|
361
|
+
*/
|
|
362
|
+
mediaId: string;
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* Zero-based slot in the channel order. Omit to append to the end; omitting it on a
|
|
366
|
+
* video that is already in the channel keeps its current slot.
|
|
367
|
+
*/
|
|
368
|
+
position?: number;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
export interface VideoChannelRemoveMediaParams {
|
|
372
|
+
/**
|
|
373
|
+
* Id of the video to remove from this channel.
|
|
374
|
+
*/
|
|
375
|
+
mediaId: string;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
export interface VideoChannelReorderParams {
|
|
379
|
+
/**
|
|
380
|
+
* Every video id currently in the channel, in the order you want them shown.
|
|
381
|
+
* Partial lists and ids that are not in the channel are rejected.
|
|
382
|
+
*/
|
|
383
|
+
mediaIds: Array<string>;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
export declare namespace VideoChannels {
|
|
387
|
+
export {
|
|
388
|
+
type VideoChannelListResponse as VideoChannelListResponse,
|
|
389
|
+
type VideoChannelCreateResponse as VideoChannelCreateResponse,
|
|
390
|
+
type VideoChannelRetrieveResponse as VideoChannelRetrieveResponse,
|
|
391
|
+
type VideoChannelUpdateResponse as VideoChannelUpdateResponse,
|
|
392
|
+
type VideoChannelDeleteResponse as VideoChannelDeleteResponse,
|
|
393
|
+
type VideoChannelMediaResponse as VideoChannelMediaResponse,
|
|
394
|
+
type VideoChannelAssignMediaResponse as VideoChannelAssignMediaResponse,
|
|
395
|
+
type VideoChannelRemoveMediaResponse as VideoChannelRemoveMediaResponse,
|
|
396
|
+
type VideoChannelReorderResponse as VideoChannelReorderResponse,
|
|
397
|
+
type VideoChannelListResponsesCursor as VideoChannelListResponsesCursor,
|
|
398
|
+
type VideoChannelListParams as VideoChannelListParams,
|
|
399
|
+
type VideoChannelCreateParams as VideoChannelCreateParams,
|
|
400
|
+
type VideoChannelUpdateParams as VideoChannelUpdateParams,
|
|
401
|
+
type VideoChannelAssignMediaParams as VideoChannelAssignMediaParams,
|
|
402
|
+
type VideoChannelRemoveMediaParams as VideoChannelRemoveMediaParams,
|
|
403
|
+
type VideoChannelReorderParams as VideoChannelReorderParams,
|
|
404
|
+
};
|
|
405
|
+
}
|
|
@@ -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,
|
|
116
|
-
* breakdown by risk and by category, coverage
|
|
117
|
-
* by a CMP consent service or a suppression
|
|
118
|
-
* decision), the new/removed host delta versus the
|
|
119
|
-
* highest-risk hosts that still need a decision.
|
|
120
|
-
*
|
|
121
|
-
*
|
|
122
|
-
*
|
|
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';
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '1.
|
|
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.
|
|
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.
|
|
1
|
+
export declare const VERSION = "1.44.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.44.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|