@oursprivacy/platform-sdk 1.44.3 → 1.46.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 +23 -0
- package/README.md +3 -5
- 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 +3 -0
- package/client.js.map +1 -1
- package/client.mjs +3 -0
- package/client.mjs.map +1 -1
- package/package.json +4 -1
- 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/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/personalization-properties.d.mts +547 -0
- package/resources/personalization-properties.d.mts.map +1 -0
- package/resources/personalization-properties.d.ts +547 -0
- package/resources/personalization-properties.d.ts.map +1 -0
- package/resources/personalization-properties.js +100 -0
- package/resources/personalization-properties.js.map +1 -0
- package/resources/personalization-properties.mjs +96 -0
- package/resources/personalization-properties.mjs.map +1 -0
- package/resources/versions.d.mts +52 -1
- package/resources/versions.d.mts.map +1 -1
- package/resources/versions.d.ts +52 -1
- package/resources/versions.d.ts.map +1 -1
- package/resources/versions.js +20 -0
- package/resources/versions.js.map +1 -1
- package/resources/versions.mjs +20 -0
- package/resources/versions.mjs.map +1 -1
- package/resources/videos.d.mts +129 -41
- package/resources/videos.d.mts.map +1 -1
- package/resources/videos.d.ts +129 -41
- package/resources/videos.d.ts.map +1 -1
- package/resources/videos.js +90 -14
- package/resources/videos.js.map +1 -1
- package/resources/videos.mjs +90 -14
- package/resources/videos.mjs.map +1 -1
- package/src/client.ts +31 -0
- package/src/resources/destinations.ts +7 -0
- package/src/resources/index.ts +14 -0
- package/src/resources/personalization-properties.ts +662 -0
- package/src/resources/versions.ts +95 -0
- package/src/resources/videos.ts +164 -67
- 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/resources/videos.js
CHANGED
|
@@ -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
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
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
|
-
|
|
53
|
-
return this._client.
|
|
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
|
package/resources/videos.js.map
CHANGED
|
@@ -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
|
|
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;;;;;;;;;;;OAWG;IACH,IAAI,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C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,mBAAmB,EAAE,aAAa,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,gBAAgB,CACd,EAAU,EACV,IAAiC,EACjC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,mBAAmB,EAAE,aAAa,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxF,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,SAAS,CAAC,KAA2B,EAAE,OAAwB;QAC7D,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,2BAA2B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,mBAAmB,CACjB,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"}
|
package/resources/videos.mjs
CHANGED
|
@@ -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
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
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
|
-
|
|
50
|
-
return this._client.
|
|
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
|
package/resources/videos.mjs.map
CHANGED
|
@@ -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
|
|
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;;;;;;;;;;;OAWG;IACH,IAAI,CACF,QAA4C,EAAE,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,iBAAiB,EAAE,CAAA,MAAyB,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtG,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,IAAuB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpE,CAAC;IAED;;;;;;;;;OASG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,mBAAmB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;IAED;;;;;;;;OAQG;IACH,MAAM,C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B;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"}
|
package/src/client.ts
CHANGED
|
@@ -223,6 +223,18 @@ import {
|
|
|
223
223
|
MappingUpdateResponse,
|
|
224
224
|
Mappings,
|
|
225
225
|
} from './resources/mappings';
|
|
226
|
+
import {
|
|
227
|
+
PersonalizationProperties,
|
|
228
|
+
PersonalizationPropertyCreateParams,
|
|
229
|
+
PersonalizationPropertyCreateResponse,
|
|
230
|
+
PersonalizationPropertyDeleteResponse,
|
|
231
|
+
PersonalizationPropertyListParams,
|
|
232
|
+
PersonalizationPropertyListResponse,
|
|
233
|
+
PersonalizationPropertyListResponsesCursor,
|
|
234
|
+
PersonalizationPropertyRetrieveResponse,
|
|
235
|
+
PersonalizationPropertyUpdateParams,
|
|
236
|
+
PersonalizationPropertyUpdateResponse,
|
|
237
|
+
} from './resources/personalization-properties';
|
|
226
238
|
import {
|
|
227
239
|
ReplaySettingCreateParams,
|
|
228
240
|
ReplaySettingCreateResponse,
|
|
@@ -342,6 +354,8 @@ import {
|
|
|
342
354
|
VersionRevertParams,
|
|
343
355
|
VersionRevertResponse,
|
|
344
356
|
VersionSnapshotResponse,
|
|
357
|
+
VersionStatusParams,
|
|
358
|
+
VersionStatusResponse,
|
|
345
359
|
VersionUpdateParams,
|
|
346
360
|
VersionUpdateResponse,
|
|
347
361
|
Versions,
|
|
@@ -1186,6 +1200,7 @@ export class OursPrivacyPlatform {
|
|
|
1186
1200
|
videos: API.Videos = new API.Videos(this);
|
|
1187
1201
|
webScannerRules: API.WebScannerRules = new API.WebScannerRules(this);
|
|
1188
1202
|
webScanners: API.WebScanners = new API.WebScanners(this);
|
|
1203
|
+
personalizationProperties: API.PersonalizationProperties = new API.PersonalizationProperties(this);
|
|
1189
1204
|
}
|
|
1190
1205
|
|
|
1191
1206
|
OursPrivacyPlatform.AllowedEvents = AllowedEvents;
|
|
@@ -1218,6 +1233,7 @@ OursPrivacyPlatform.VideoChannels = VideoChannels;
|
|
|
1218
1233
|
OursPrivacyPlatform.Videos = Videos;
|
|
1219
1234
|
OursPrivacyPlatform.WebScannerRules = WebScannerRules;
|
|
1220
1235
|
OursPrivacyPlatform.WebScanners = WebScanners;
|
|
1236
|
+
OursPrivacyPlatform.PersonalizationProperties = PersonalizationProperties;
|
|
1221
1237
|
|
|
1222
1238
|
export declare namespace OursPrivacyPlatform {
|
|
1223
1239
|
export type RequestOptions = Opts.RequestOptions;
|
|
@@ -1568,6 +1584,7 @@ export declare namespace OursPrivacyPlatform {
|
|
|
1568
1584
|
type VersionPublishResponse as VersionPublishResponse,
|
|
1569
1585
|
type VersionSnapshotResponse as VersionSnapshotResponse,
|
|
1570
1586
|
type VersionDiffResponse as VersionDiffResponse,
|
|
1587
|
+
type VersionStatusResponse as VersionStatusResponse,
|
|
1571
1588
|
type VersionRevertResponse as VersionRevertResponse,
|
|
1572
1589
|
type VersionAbandonResponse as VersionAbandonResponse,
|
|
1573
1590
|
type VersionListResponsesCursor as VersionListResponsesCursor,
|
|
@@ -1575,6 +1592,7 @@ export declare namespace OursPrivacyPlatform {
|
|
|
1575
1592
|
type VersionCreateParams as VersionCreateParams,
|
|
1576
1593
|
type VersionUpdateParams as VersionUpdateParams,
|
|
1577
1594
|
type VersionDiffParams as VersionDiffParams,
|
|
1595
|
+
type VersionStatusParams as VersionStatusParams,
|
|
1578
1596
|
type VersionRevertParams as VersionRevertParams,
|
|
1579
1597
|
};
|
|
1580
1598
|
|
|
@@ -1647,4 +1665,17 @@ export declare namespace OursPrivacyPlatform {
|
|
|
1647
1665
|
type WebScannerCookiesParams as WebScannerCookiesParams,
|
|
1648
1666
|
type WebScannerSummaryParams as WebScannerSummaryParams,
|
|
1649
1667
|
};
|
|
1668
|
+
|
|
1669
|
+
export {
|
|
1670
|
+
PersonalizationProperties as PersonalizationProperties,
|
|
1671
|
+
type PersonalizationPropertyListResponse as PersonalizationPropertyListResponse,
|
|
1672
|
+
type PersonalizationPropertyCreateResponse as PersonalizationPropertyCreateResponse,
|
|
1673
|
+
type PersonalizationPropertyRetrieveResponse as PersonalizationPropertyRetrieveResponse,
|
|
1674
|
+
type PersonalizationPropertyUpdateResponse as PersonalizationPropertyUpdateResponse,
|
|
1675
|
+
type PersonalizationPropertyDeleteResponse as PersonalizationPropertyDeleteResponse,
|
|
1676
|
+
type PersonalizationPropertyListResponsesCursor as PersonalizationPropertyListResponsesCursor,
|
|
1677
|
+
type PersonalizationPropertyListParams as PersonalizationPropertyListParams,
|
|
1678
|
+
type PersonalizationPropertyCreateParams as PersonalizationPropertyCreateParams,
|
|
1679
|
+
type PersonalizationPropertyUpdateParams as PersonalizationPropertyUpdateParams,
|
|
1680
|
+
};
|
|
1650
1681
|
}
|
|
@@ -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'
|
package/src/resources/index.ts
CHANGED
|
@@ -204,6 +204,18 @@ export {
|
|
|
204
204
|
type MappingTemplatesParams,
|
|
205
205
|
type MappingListResponsesCursor,
|
|
206
206
|
} from './mappings';
|
|
207
|
+
export {
|
|
208
|
+
PersonalizationProperties,
|
|
209
|
+
type PersonalizationPropertyListResponse,
|
|
210
|
+
type PersonalizationPropertyCreateResponse,
|
|
211
|
+
type PersonalizationPropertyRetrieveResponse,
|
|
212
|
+
type PersonalizationPropertyUpdateResponse,
|
|
213
|
+
type PersonalizationPropertyDeleteResponse,
|
|
214
|
+
type PersonalizationPropertyListParams,
|
|
215
|
+
type PersonalizationPropertyCreateParams,
|
|
216
|
+
type PersonalizationPropertyUpdateParams,
|
|
217
|
+
type PersonalizationPropertyListResponsesCursor,
|
|
218
|
+
} from './personalization-properties';
|
|
207
219
|
export {
|
|
208
220
|
ReplaySettings,
|
|
209
221
|
type ReplaySettingListResponse,
|
|
@@ -318,12 +330,14 @@ export {
|
|
|
318
330
|
type VersionPublishResponse,
|
|
319
331
|
type VersionSnapshotResponse,
|
|
320
332
|
type VersionDiffResponse,
|
|
333
|
+
type VersionStatusResponse,
|
|
321
334
|
type VersionRevertResponse,
|
|
322
335
|
type VersionAbandonResponse,
|
|
323
336
|
type VersionListParams,
|
|
324
337
|
type VersionCreateParams,
|
|
325
338
|
type VersionUpdateParams,
|
|
326
339
|
type VersionDiffParams,
|
|
340
|
+
type VersionStatusParams,
|
|
327
341
|
type VersionRevertParams,
|
|
328
342
|
type VersionListResponsesCursor,
|
|
329
343
|
} from './versions';
|