@oursprivacy/platform-sdk 1.44.2 → 1.45.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.
@@ -9,6 +9,14 @@ class Videos extends resource_1.APIResource {
9
9
  /**
10
10
  * List videos for the account, newest first. Supports cursor pagination and an
11
11
  * optional case-insensitive title filter. Requires scope: media:list
12
+ *
13
+ * @example
14
+ * ```ts
15
+ * // Automatically fetches more pages as needed.
16
+ * for await (const videoListResponse of client.videos.list()) {
17
+ * // ...
18
+ * }
19
+ * ```
12
20
  */
13
21
  list(query = {}, options) {
14
22
  return this._client.getAPIList('/rest/v1/videos', (pagination_1.Cursor), { query, ...options });
@@ -18,6 +26,13 @@ class Videos extends resource_1.APIResource {
18
26
  * or WebM file. Upload the file directly using the returned URL and matching
19
27
  * content type, then poll the video to observe processing progress. Requires
20
28
  * scope: media:create
29
+ *
30
+ * @example
31
+ * ```ts
32
+ * const video = await client.videos.create({
33
+ * mimeType: 'MP4',
34
+ * });
35
+ * ```
21
36
  */
22
37
  create(body, options) {
23
38
  return this._client.post('/rest/v1/videos', { body, ...options });
@@ -26,6 +41,11 @@ class Videos extends resource_1.APIResource {
26
41
  * Fetch a video and its current playback asset availability. The processed video,
27
42
  * poster, and transcript are prepared asynchronously after upload. Requires scope:
28
43
  * media:find
44
+ *
45
+ * @example
46
+ * ```ts
47
+ * const video = await client.videos.retrieve('id');
48
+ * ```
29
49
  */
30
50
  retrieve(id, options) {
31
51
  return this._client.get((0, path_1.path) `/rest/v1/videos/${id}`, options);
@@ -33,37 +53,51 @@ class Videos extends resource_1.APIResource {
33
53
  /**
34
54
  * Partially update video metadata. Only fields included in the body change; send
35
55
  * `null` to clear a nullable field. Requires scope: media:update
56
+ *
57
+ * @example
58
+ * ```ts
59
+ * const video = await client.videos.update('id');
60
+ * ```
36
61
  */
37
62
  update(id, body, options) {
38
63
  return this._client.patch((0, path_1.path) `/rest/v1/videos/${id}`, { body, ...options });
39
64
  }
40
65
  /**
41
66
  * Delete a video and its related assets. Requires scope: media:delete
67
+ *
68
+ * @example
69
+ * ```ts
70
+ * const video = await client.videos.delete('id');
71
+ * ```
42
72
  */
43
73
  delete(id, options) {
44
74
  return this._client.delete((0, path_1.path) `/rest/v1/videos/${id}`, options);
45
75
  }
46
76
  /**
47
- * Return per-video starts, unique viewers, completion rate, and average watch time
48
- * for a date window. This derived report uses `limit` and `offset` pagination;
49
- * `total` is the number of rows returned through the current offset, not a total
50
- * match count. Requires scope: report:video-analytics
77
+ * Return a temporary upload target for replacing this video’s original MP4 or WebM
78
+ * source. Upload the file directly using the returned URL and matching content
79
+ * type, then poll the video to observe processing progress. Requires scope:
80
+ * media:update
81
+ *
82
+ * @example
83
+ * ```ts
84
+ * const response = await client.videos.upload('id', {
85
+ * mimeType: 'MP4',
86
+ * });
87
+ * ```
51
88
  */
52
- analytics(query, options) {
53
- return this._client.get('/rest/v1/videos/analytics', { query, ...options });
54
- }
55
- /**
56
- * Return daily or hourly starts, unique viewers, completions, and completion rate
57
- * for one video. Daily windows support up to 90 days; hourly windows support up to
58
- * 14 days. Requires scope: report:video-analytics
59
- */
60
- analyticsTimeseries(id, query, options) {
61
- return this._client.get((0, path_1.path) `/rest/v1/videos/${id}/analytics`, { query, ...options });
89
+ upload(id, body, options) {
90
+ return this._client.post((0, path_1.path) `/rest/v1/videos/${id}/upload`, { body, ...options });
62
91
  }
63
92
  /**
64
93
  * Read the current WebVTT transcript. Transcript text is available wherever the
65
94
  * video is embedded, so do not include PHI or other confidential information.
66
95
  * Requires scope: media:find
96
+ *
97
+ * @example
98
+ * ```ts
99
+ * const response = await client.videos.transcript('id');
100
+ * ```
67
101
  */
68
102
  transcript(id, options) {
69
103
  return this._client.get((0, path_1.path) `/rest/v1/videos/${id}/transcript`, options);
@@ -72,10 +106,52 @@ class Videos extends resource_1.APIResource {
72
106
  * Replace the transcript with VTT or SRT text. SRT is normalized to WebVTT.
73
107
  * Transcript text is available wherever the video is embedded, so do not include
74
108
  * PHI or other confidential information. Requires scope: media:update
109
+ *
110
+ * @example
111
+ * ```ts
112
+ * const response = await client.videos.updateTranscript(
113
+ * 'id',
114
+ * { content: 'x', format: 'SRT' },
115
+ * );
116
+ * ```
75
117
  */
76
118
  updateTranscript(id, body, options) {
77
119
  return this._client.put((0, path_1.path) `/rest/v1/videos/${id}/transcript`, { body, ...options });
78
120
  }
121
+ /**
122
+ * Return per-video starts, unique viewers, completion rate, and average watch time
123
+ * for a date window. Optionally filter to one video with `videoId`; omit it to
124
+ * include all account videos. This derived report uses `limit` and `offset`
125
+ * pagination; `total` is the number of rows returned through the current offset,
126
+ * not a total match count. Requires scope: report:video-analytics
127
+ *
128
+ * @example
129
+ * ```ts
130
+ * const response = await client.videos.analytics({
131
+ * from: '7321-69-10',
132
+ * to: '7321-69-10',
133
+ * });
134
+ * ```
135
+ */
136
+ analytics(query, options) {
137
+ return this._client.get('/rest/v1/videos/analytics', { query, ...options });
138
+ }
139
+ /**
140
+ * Return daily or hourly starts, unique viewers, completions, and completion rate
141
+ * for one video. Daily windows support up to 90 days; hourly windows support up to
142
+ * 14 days. Requires scope: report:video-analytics
143
+ *
144
+ * @example
145
+ * ```ts
146
+ * const response = await client.videos.analyticsTimeseries(
147
+ * 'id',
148
+ * { from: '7321-69-10', to: '7321-69-10' },
149
+ * );
150
+ * ```
151
+ */
152
+ analyticsTimeseries(id, query, options) {
153
+ return this._client.get((0, path_1.path) `/rest/v1/videos/${id}/analytics`, { query, ...options });
154
+ }
79
155
  }
80
156
  exports.Videos = Videos;
81
157
  //# sourceMappingURL=videos.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"videos.js","sourceRoot":"","sources":["../src/resources/videos.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,sDAA4E;AAE5E,oDAA8C;AAE9C,MAAa,MAAO,SAAQ,sBAAW;IACrC;;;OAGG;IACH,IAAI,CACF,QAA4C,EAAE,EAC9C,OAAwB;QAExB,OAA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jB,EAAU,EACV,KAAqC,EACrC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,mBAAmB,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxF,CAAC;CACF;AAvKD,wBAuKC"}
@@ -6,6 +6,14 @@ export class Videos extends APIResource {
6
6
  /**
7
7
  * List videos for the account, newest first. Supports cursor pagination and an
8
8
  * optional case-insensitive title filter. Requires scope: media:list
9
+ *
10
+ * @example
11
+ * ```ts
12
+ * // Automatically fetches more pages as needed.
13
+ * for await (const videoListResponse of client.videos.list()) {
14
+ * // ...
15
+ * }
16
+ * ```
9
17
  */
10
18
  list(query = {}, options) {
11
19
  return this._client.getAPIList('/rest/v1/videos', (Cursor), { query, ...options });
@@ -15,6 +23,13 @@ export class Videos extends APIResource {
15
23
  * or WebM file. Upload the file directly using the returned URL and matching
16
24
  * content type, then poll the video to observe processing progress. Requires
17
25
  * scope: media:create
26
+ *
27
+ * @example
28
+ * ```ts
29
+ * const video = await client.videos.create({
30
+ * mimeType: 'MP4',
31
+ * });
32
+ * ```
18
33
  */
19
34
  create(body, options) {
20
35
  return this._client.post('/rest/v1/videos', { body, ...options });
@@ -23,6 +38,11 @@ export class Videos extends APIResource {
23
38
  * Fetch a video and its current playback asset availability. The processed video,
24
39
  * poster, and transcript are prepared asynchronously after upload. Requires scope:
25
40
  * media:find
41
+ *
42
+ * @example
43
+ * ```ts
44
+ * const video = await client.videos.retrieve('id');
45
+ * ```
26
46
  */
27
47
  retrieve(id, options) {
28
48
  return this._client.get(path `/rest/v1/videos/${id}`, options);
@@ -30,37 +50,51 @@ export class Videos extends APIResource {
30
50
  /**
31
51
  * Partially update video metadata. Only fields included in the body change; send
32
52
  * `null` to clear a nullable field. Requires scope: media:update
53
+ *
54
+ * @example
55
+ * ```ts
56
+ * const video = await client.videos.update('id');
57
+ * ```
33
58
  */
34
59
  update(id, body, options) {
35
60
  return this._client.patch(path `/rest/v1/videos/${id}`, { body, ...options });
36
61
  }
37
62
  /**
38
63
  * Delete a video and its related assets. Requires scope: media:delete
64
+ *
65
+ * @example
66
+ * ```ts
67
+ * const video = await client.videos.delete('id');
68
+ * ```
39
69
  */
40
70
  delete(id, options) {
41
71
  return this._client.delete(path `/rest/v1/videos/${id}`, options);
42
72
  }
43
73
  /**
44
- * Return per-video starts, unique viewers, completion rate, and average watch time
45
- * for a date window. This derived report uses `limit` and `offset` pagination;
46
- * `total` is the number of rows returned through the current offset, not a total
47
- * match count. Requires scope: report:video-analytics
74
+ * Return a temporary upload target for replacing this video’s original MP4 or WebM
75
+ * source. Upload the file directly using the returned URL and matching content
76
+ * type, then poll the video to observe processing progress. Requires scope:
77
+ * media:update
78
+ *
79
+ * @example
80
+ * ```ts
81
+ * const response = await client.videos.upload('id', {
82
+ * mimeType: 'MP4',
83
+ * });
84
+ * ```
48
85
  */
49
- analytics(query, options) {
50
- return this._client.get('/rest/v1/videos/analytics', { query, ...options });
51
- }
52
- /**
53
- * Return daily or hourly starts, unique viewers, completions, and completion rate
54
- * for one video. Daily windows support up to 90 days; hourly windows support up to
55
- * 14 days. Requires scope: report:video-analytics
56
- */
57
- analyticsTimeseries(id, query, options) {
58
- return this._client.get(path `/rest/v1/videos/${id}/analytics`, { query, ...options });
86
+ upload(id, body, options) {
87
+ return this._client.post(path `/rest/v1/videos/${id}/upload`, { body, ...options });
59
88
  }
60
89
  /**
61
90
  * Read the current WebVTT transcript. Transcript text is available wherever the
62
91
  * video is embedded, so do not include PHI or other confidential information.
63
92
  * Requires scope: media:find
93
+ *
94
+ * @example
95
+ * ```ts
96
+ * const response = await client.videos.transcript('id');
97
+ * ```
64
98
  */
65
99
  transcript(id, options) {
66
100
  return this._client.get(path `/rest/v1/videos/${id}/transcript`, options);
@@ -69,9 +103,51 @@ export class Videos extends APIResource {
69
103
  * Replace the transcript with VTT or SRT text. SRT is normalized to WebVTT.
70
104
  * Transcript text is available wherever the video is embedded, so do not include
71
105
  * PHI or other confidential information. Requires scope: media:update
106
+ *
107
+ * @example
108
+ * ```ts
109
+ * const response = await client.videos.updateTranscript(
110
+ * 'id',
111
+ * { content: 'x', format: 'SRT' },
112
+ * );
113
+ * ```
72
114
  */
73
115
  updateTranscript(id, body, options) {
74
116
  return this._client.put(path `/rest/v1/videos/${id}/transcript`, { body, ...options });
75
117
  }
118
+ /**
119
+ * Return per-video starts, unique viewers, completion rate, and average watch time
120
+ * for a date window. Optionally filter to one video with `videoId`; omit it to
121
+ * include all account videos. This derived report uses `limit` and `offset`
122
+ * pagination; `total` is the number of rows returned through the current offset,
123
+ * not a total match count. Requires scope: report:video-analytics
124
+ *
125
+ * @example
126
+ * ```ts
127
+ * const response = await client.videos.analytics({
128
+ * from: '7321-69-10',
129
+ * to: '7321-69-10',
130
+ * });
131
+ * ```
132
+ */
133
+ analytics(query, options) {
134
+ return this._client.get('/rest/v1/videos/analytics', { query, ...options });
135
+ }
136
+ /**
137
+ * Return daily or hourly starts, unique viewers, completions, and completion rate
138
+ * for one video. Daily windows support up to 90 days; hourly windows support up to
139
+ * 14 days. Requires scope: report:video-analytics
140
+ *
141
+ * @example
142
+ * ```ts
143
+ * const response = await client.videos.analyticsTimeseries(
144
+ * 'id',
145
+ * { from: '7321-69-10', to: '7321-69-10' },
146
+ * );
147
+ * ```
148
+ */
149
+ analyticsTimeseries(id, query, options) {
150
+ return this._client.get(path `/rest/v1/videos/${id}/analytics`, { query, ...options });
151
+ }
76
152
  }
77
153
  //# sourceMappingURL=videos.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"videos.mjs","sourceRoot":"","sources":["../src/resources/videos.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,OAAO,EAAE,MAAM,EAAkC,+BAA2B;AAE5E,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC;;;OAGG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C;IAED;;;;;;;;;;;;OAYG;IACH,mBAAmB,CACjB,EAAU,EACV,KAAqC,EACrC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,mBAAmB,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxF,CAAC;CACF"}
@@ -110,6 +110,7 @@ export interface DestinationListResponse {
110
110
  | 'BeeswaxPostback'
111
111
  | 'BingAds'
112
112
  | 'BingAdsWeb'
113
+ | 'BingRest'
113
114
  | 'Braze'
114
115
  | 'ConvertABTestingEvent'
115
116
  | 'Customerio'
@@ -223,6 +224,7 @@ export interface DestinationCreateResponse {
223
224
  | 'BeeswaxPostback'
224
225
  | 'BingAds'
225
226
  | 'BingAdsWeb'
227
+ | 'BingRest'
226
228
  | 'Braze'
227
229
  | 'ConvertABTestingEvent'
228
230
  | 'Customerio'
@@ -336,6 +338,7 @@ export interface DestinationRetrieveResponse {
336
338
  | 'BeeswaxPostback'
337
339
  | 'BingAds'
338
340
  | 'BingAdsWeb'
341
+ | 'BingRest'
339
342
  | 'Braze'
340
343
  | 'ConvertABTestingEvent'
341
344
  | 'Customerio'
@@ -449,6 +452,7 @@ export interface DestinationUpdateResponse {
449
452
  | 'BeeswaxPostback'
450
453
  | 'BingAds'
451
454
  | 'BingAdsWeb'
455
+ | 'BingRest'
452
456
  | 'Braze'
453
457
  | 'ConvertABTestingEvent'
454
458
  | 'Customerio'
@@ -552,6 +556,7 @@ export namespace DestinationTypesResponse {
552
556
  | 'ConvertABTestingEvent'
553
557
  | 'Customerio'
554
558
  | 'BingAds'
559
+ | 'BingRest'
555
560
  | 'BingAdsWeb'
556
561
  | 'HTTPDestination'
557
562
  | 'Woopra'
@@ -792,6 +797,7 @@ export interface DestinationListParams extends CursorParams {
792
797
  | 'BeeswaxPostback'
793
798
  | 'BingAds'
794
799
  | 'BingAdsWeb'
800
+ | 'BingRest'
795
801
  | 'Braze'
796
802
  | 'ConvertABTestingEvent'
797
803
  | 'Customerio'
@@ -884,6 +890,7 @@ export interface DestinationCreateParams {
884
890
  | 'ConvertABTestingEvent'
885
891
  | 'Customerio'
886
892
  | 'BingAds'
893
+ | 'BingRest'
887
894
  | 'BingAdsWeb'
888
895
  | 'HTTPDestination'
889
896
  | 'Woopra'