@oursprivacy/platform-sdk 1.42.2 → 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 +8 -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 +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/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 +68 -0
- 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
|
@@ -87,8 +87,8 @@ export interface DestinationListResponse {
|
|
|
87
87
|
status: 'Disabled' | 'Enabled';
|
|
88
88
|
|
|
89
89
|
/**
|
|
90
|
-
* Destination type. Read responses may include warehouse
|
|
91
|
-
* that are not creatable through POST /rest/v1/destinations.
|
|
90
|
+
* Destination type. Read responses may include warehouse, cloud-storage, and
|
|
91
|
+
* audience-sync types that are not creatable through POST /rest/v1/destinations.
|
|
92
92
|
*/
|
|
93
93
|
type:
|
|
94
94
|
| 'AWSEventBridge'
|
|
@@ -117,6 +117,7 @@ export interface DestinationListResponse {
|
|
|
117
117
|
| 'DomoWarehouse'
|
|
118
118
|
| 'Everflow'
|
|
119
119
|
| 'Facebook'
|
|
120
|
+
| 'FacebookAudience'
|
|
120
121
|
| 'FloodlightSGTM'
|
|
121
122
|
| 'FullContact'
|
|
122
123
|
| 'G4Analytics'
|
|
@@ -125,6 +126,7 @@ export interface DestinationListResponse {
|
|
|
125
126
|
| 'Google'
|
|
126
127
|
| 'GoogleAds360'
|
|
127
128
|
| 'GoogleAdsServerContainer'
|
|
129
|
+
| 'GoogleAudience'
|
|
128
130
|
| 'GoogleBigQuery'
|
|
129
131
|
| 'GoogleBigQueryWarehouse'
|
|
130
132
|
| 'GoogleDataManagerEventIngest'
|
|
@@ -141,6 +143,7 @@ export interface DestinationListResponse {
|
|
|
141
143
|
| 'LiveIntent'
|
|
142
144
|
| 'LiveRampWarehouse'
|
|
143
145
|
| 'MNTN'
|
|
146
|
+
| 'MNTNAudience'
|
|
144
147
|
| 'Mailchimp'
|
|
145
148
|
| 'Mixpanel'
|
|
146
149
|
| 'NextdoorAds'
|
|
@@ -155,12 +158,14 @@ export interface DestinationListResponse {
|
|
|
155
158
|
| 'QuantcastCAPI'
|
|
156
159
|
| 'QuoraAds'
|
|
157
160
|
| 'Reddit'
|
|
161
|
+
| 'Rokt'
|
|
158
162
|
| 'RokuCAPI'
|
|
159
163
|
| 'SnapchatAdsCapi'
|
|
160
164
|
| 'Spotify'
|
|
161
165
|
| 'StackAdaptAPI'
|
|
162
166
|
| 'Taboola'
|
|
163
167
|
| 'Tatari'
|
|
168
|
+
| 'TatariCAPI'
|
|
164
169
|
| 'TheTradeDesk'
|
|
165
170
|
| 'TikTok'
|
|
166
171
|
| 'UniversalAds'
|
|
@@ -168,6 +173,7 @@ export interface DestinationListResponse {
|
|
|
168
173
|
| 'Viant'
|
|
169
174
|
| 'ViantCAPI'
|
|
170
175
|
| 'Vibe'
|
|
176
|
+
| 'VibeAudience'
|
|
171
177
|
| 'Woopra'
|
|
172
178
|
| 'XAds'
|
|
173
179
|
| 'YelpCAPI'
|
|
@@ -194,8 +200,8 @@ export interface DestinationCreateResponse {
|
|
|
194
200
|
status: 'Disabled' | 'Enabled';
|
|
195
201
|
|
|
196
202
|
/**
|
|
197
|
-
* Destination type. Read responses may include warehouse
|
|
198
|
-
* that are not creatable through POST /rest/v1/destinations.
|
|
203
|
+
* Destination type. Read responses may include warehouse, cloud-storage, and
|
|
204
|
+
* audience-sync types that are not creatable through POST /rest/v1/destinations.
|
|
199
205
|
*/
|
|
200
206
|
type:
|
|
201
207
|
| 'AWSEventBridge'
|
|
@@ -224,6 +230,7 @@ export interface DestinationCreateResponse {
|
|
|
224
230
|
| 'DomoWarehouse'
|
|
225
231
|
| 'Everflow'
|
|
226
232
|
| 'Facebook'
|
|
233
|
+
| 'FacebookAudience'
|
|
227
234
|
| 'FloodlightSGTM'
|
|
228
235
|
| 'FullContact'
|
|
229
236
|
| 'G4Analytics'
|
|
@@ -232,6 +239,7 @@ export interface DestinationCreateResponse {
|
|
|
232
239
|
| 'Google'
|
|
233
240
|
| 'GoogleAds360'
|
|
234
241
|
| 'GoogleAdsServerContainer'
|
|
242
|
+
| 'GoogleAudience'
|
|
235
243
|
| 'GoogleBigQuery'
|
|
236
244
|
| 'GoogleBigQueryWarehouse'
|
|
237
245
|
| 'GoogleDataManagerEventIngest'
|
|
@@ -248,6 +256,7 @@ export interface DestinationCreateResponse {
|
|
|
248
256
|
| 'LiveIntent'
|
|
249
257
|
| 'LiveRampWarehouse'
|
|
250
258
|
| 'MNTN'
|
|
259
|
+
| 'MNTNAudience'
|
|
251
260
|
| 'Mailchimp'
|
|
252
261
|
| 'Mixpanel'
|
|
253
262
|
| 'NextdoorAds'
|
|
@@ -262,12 +271,14 @@ export interface DestinationCreateResponse {
|
|
|
262
271
|
| 'QuantcastCAPI'
|
|
263
272
|
| 'QuoraAds'
|
|
264
273
|
| 'Reddit'
|
|
274
|
+
| 'Rokt'
|
|
265
275
|
| 'RokuCAPI'
|
|
266
276
|
| 'SnapchatAdsCapi'
|
|
267
277
|
| 'Spotify'
|
|
268
278
|
| 'StackAdaptAPI'
|
|
269
279
|
| 'Taboola'
|
|
270
280
|
| 'Tatari'
|
|
281
|
+
| 'TatariCAPI'
|
|
271
282
|
| 'TheTradeDesk'
|
|
272
283
|
| 'TikTok'
|
|
273
284
|
| 'UniversalAds'
|
|
@@ -275,6 +286,7 @@ export interface DestinationCreateResponse {
|
|
|
275
286
|
| 'Viant'
|
|
276
287
|
| 'ViantCAPI'
|
|
277
288
|
| 'Vibe'
|
|
289
|
+
| 'VibeAudience'
|
|
278
290
|
| 'Woopra'
|
|
279
291
|
| 'XAds'
|
|
280
292
|
| 'YelpCAPI'
|
|
@@ -301,8 +313,8 @@ export interface DestinationRetrieveResponse {
|
|
|
301
313
|
status: 'Disabled' | 'Enabled';
|
|
302
314
|
|
|
303
315
|
/**
|
|
304
|
-
* Destination type. Read responses may include warehouse
|
|
305
|
-
* that are not creatable through POST /rest/v1/destinations.
|
|
316
|
+
* Destination type. Read responses may include warehouse, cloud-storage, and
|
|
317
|
+
* audience-sync types that are not creatable through POST /rest/v1/destinations.
|
|
306
318
|
*/
|
|
307
319
|
type:
|
|
308
320
|
| 'AWSEventBridge'
|
|
@@ -331,6 +343,7 @@ export interface DestinationRetrieveResponse {
|
|
|
331
343
|
| 'DomoWarehouse'
|
|
332
344
|
| 'Everflow'
|
|
333
345
|
| 'Facebook'
|
|
346
|
+
| 'FacebookAudience'
|
|
334
347
|
| 'FloodlightSGTM'
|
|
335
348
|
| 'FullContact'
|
|
336
349
|
| 'G4Analytics'
|
|
@@ -339,6 +352,7 @@ export interface DestinationRetrieveResponse {
|
|
|
339
352
|
| 'Google'
|
|
340
353
|
| 'GoogleAds360'
|
|
341
354
|
| 'GoogleAdsServerContainer'
|
|
355
|
+
| 'GoogleAudience'
|
|
342
356
|
| 'GoogleBigQuery'
|
|
343
357
|
| 'GoogleBigQueryWarehouse'
|
|
344
358
|
| 'GoogleDataManagerEventIngest'
|
|
@@ -355,6 +369,7 @@ export interface DestinationRetrieveResponse {
|
|
|
355
369
|
| 'LiveIntent'
|
|
356
370
|
| 'LiveRampWarehouse'
|
|
357
371
|
| 'MNTN'
|
|
372
|
+
| 'MNTNAudience'
|
|
358
373
|
| 'Mailchimp'
|
|
359
374
|
| 'Mixpanel'
|
|
360
375
|
| 'NextdoorAds'
|
|
@@ -369,12 +384,14 @@ export interface DestinationRetrieveResponse {
|
|
|
369
384
|
| 'QuantcastCAPI'
|
|
370
385
|
| 'QuoraAds'
|
|
371
386
|
| 'Reddit'
|
|
387
|
+
| 'Rokt'
|
|
372
388
|
| 'RokuCAPI'
|
|
373
389
|
| 'SnapchatAdsCapi'
|
|
374
390
|
| 'Spotify'
|
|
375
391
|
| 'StackAdaptAPI'
|
|
376
392
|
| 'Taboola'
|
|
377
393
|
| 'Tatari'
|
|
394
|
+
| 'TatariCAPI'
|
|
378
395
|
| 'TheTradeDesk'
|
|
379
396
|
| 'TikTok'
|
|
380
397
|
| 'UniversalAds'
|
|
@@ -382,6 +399,7 @@ export interface DestinationRetrieveResponse {
|
|
|
382
399
|
| 'Viant'
|
|
383
400
|
| 'ViantCAPI'
|
|
384
401
|
| 'Vibe'
|
|
402
|
+
| 'VibeAudience'
|
|
385
403
|
| 'Woopra'
|
|
386
404
|
| 'XAds'
|
|
387
405
|
| 'YelpCAPI'
|
|
@@ -408,8 +426,8 @@ export interface DestinationUpdateResponse {
|
|
|
408
426
|
status: 'Disabled' | 'Enabled';
|
|
409
427
|
|
|
410
428
|
/**
|
|
411
|
-
* Destination type. Read responses may include warehouse
|
|
412
|
-
* that are not creatable through POST /rest/v1/destinations.
|
|
429
|
+
* Destination type. Read responses may include warehouse, cloud-storage, and
|
|
430
|
+
* audience-sync types that are not creatable through POST /rest/v1/destinations.
|
|
413
431
|
*/
|
|
414
432
|
type:
|
|
415
433
|
| 'AWSEventBridge'
|
|
@@ -438,6 +456,7 @@ export interface DestinationUpdateResponse {
|
|
|
438
456
|
| 'DomoWarehouse'
|
|
439
457
|
| 'Everflow'
|
|
440
458
|
| 'Facebook'
|
|
459
|
+
| 'FacebookAudience'
|
|
441
460
|
| 'FloodlightSGTM'
|
|
442
461
|
| 'FullContact'
|
|
443
462
|
| 'G4Analytics'
|
|
@@ -446,6 +465,7 @@ export interface DestinationUpdateResponse {
|
|
|
446
465
|
| 'Google'
|
|
447
466
|
| 'GoogleAds360'
|
|
448
467
|
| 'GoogleAdsServerContainer'
|
|
468
|
+
| 'GoogleAudience'
|
|
449
469
|
| 'GoogleBigQuery'
|
|
450
470
|
| 'GoogleBigQueryWarehouse'
|
|
451
471
|
| 'GoogleDataManagerEventIngest'
|
|
@@ -462,6 +482,7 @@ export interface DestinationUpdateResponse {
|
|
|
462
482
|
| 'LiveIntent'
|
|
463
483
|
| 'LiveRampWarehouse'
|
|
464
484
|
| 'MNTN'
|
|
485
|
+
| 'MNTNAudience'
|
|
465
486
|
| 'Mailchimp'
|
|
466
487
|
| 'Mixpanel'
|
|
467
488
|
| 'NextdoorAds'
|
|
@@ -476,12 +497,14 @@ export interface DestinationUpdateResponse {
|
|
|
476
497
|
| 'QuantcastCAPI'
|
|
477
498
|
| 'QuoraAds'
|
|
478
499
|
| 'Reddit'
|
|
500
|
+
| 'Rokt'
|
|
479
501
|
| 'RokuCAPI'
|
|
480
502
|
| 'SnapchatAdsCapi'
|
|
481
503
|
| 'Spotify'
|
|
482
504
|
| 'StackAdaptAPI'
|
|
483
505
|
| 'Taboola'
|
|
484
506
|
| 'Tatari'
|
|
507
|
+
| 'TatariCAPI'
|
|
485
508
|
| 'TheTradeDesk'
|
|
486
509
|
| 'TikTok'
|
|
487
510
|
| 'UniversalAds'
|
|
@@ -489,6 +512,7 @@ export interface DestinationUpdateResponse {
|
|
|
489
512
|
| 'Viant'
|
|
490
513
|
| 'ViantCAPI'
|
|
491
514
|
| 'Vibe'
|
|
515
|
+
| 'VibeAudience'
|
|
492
516
|
| 'Woopra'
|
|
493
517
|
| 'XAds'
|
|
494
518
|
| 'YelpCAPI'
|
|
@@ -775,6 +799,7 @@ export interface DestinationListParams extends CursorParams {
|
|
|
775
799
|
| 'DomoWarehouse'
|
|
776
800
|
| 'Everflow'
|
|
777
801
|
| 'Facebook'
|
|
802
|
+
| 'FacebookAudience'
|
|
778
803
|
| 'FloodlightSGTM'
|
|
779
804
|
| 'FullContact'
|
|
780
805
|
| 'G4Analytics'
|
|
@@ -783,6 +808,7 @@ export interface DestinationListParams extends CursorParams {
|
|
|
783
808
|
| 'Google'
|
|
784
809
|
| 'GoogleAds360'
|
|
785
810
|
| 'GoogleAdsServerContainer'
|
|
811
|
+
| 'GoogleAudience'
|
|
786
812
|
| 'GoogleBigQuery'
|
|
787
813
|
| 'GoogleBigQueryWarehouse'
|
|
788
814
|
| 'GoogleDataManagerEventIngest'
|
|
@@ -799,6 +825,7 @@ export interface DestinationListParams extends CursorParams {
|
|
|
799
825
|
| 'LiveIntent'
|
|
800
826
|
| 'LiveRampWarehouse'
|
|
801
827
|
| 'MNTN'
|
|
828
|
+
| 'MNTNAudience'
|
|
802
829
|
| 'Mailchimp'
|
|
803
830
|
| 'Mixpanel'
|
|
804
831
|
| 'NextdoorAds'
|
|
@@ -813,12 +840,14 @@ export interface DestinationListParams extends CursorParams {
|
|
|
813
840
|
| 'QuantcastCAPI'
|
|
814
841
|
| 'QuoraAds'
|
|
815
842
|
| 'Reddit'
|
|
843
|
+
| 'Rokt'
|
|
816
844
|
| 'RokuCAPI'
|
|
817
845
|
| 'SnapchatAdsCapi'
|
|
818
846
|
| 'Spotify'
|
|
819
847
|
| 'StackAdaptAPI'
|
|
820
848
|
| 'Taboola'
|
|
821
849
|
| 'Tatari'
|
|
850
|
+
| 'TatariCAPI'
|
|
822
851
|
| 'TheTradeDesk'
|
|
823
852
|
| 'TikTok'
|
|
824
853
|
| 'UniversalAds'
|
|
@@ -826,6 +855,7 @@ export interface DestinationListParams extends CursorParams {
|
|
|
826
855
|
| 'Viant'
|
|
827
856
|
| 'ViantCAPI'
|
|
828
857
|
| 'Vibe'
|
|
858
|
+
| 'VibeAudience'
|
|
829
859
|
| 'Woopra'
|
|
830
860
|
| 'XAds'
|
|
831
861
|
| 'YelpCAPI'
|
|
@@ -836,9 +866,10 @@ export interface DestinationListParams extends CursorParams {
|
|
|
836
866
|
|
|
837
867
|
export interface DestinationCreateParams {
|
|
838
868
|
/**
|
|
839
|
-
* Event-dispatch destination type to create. Warehouse
|
|
840
|
-
* destination types may appear on read responses but are not
|
|
841
|
-
* POST.
|
|
869
|
+
* Event-dispatch destination type to create. Warehouse, cloud-storage, and
|
|
870
|
+
* audience-sync destination types may appear on read responses but are not
|
|
871
|
+
* creatable through POST. Audience destinations receive audience membership from
|
|
872
|
+
* Audience Builder on a daily schedule and are configured in the dashboard.
|
|
842
873
|
*/
|
|
843
874
|
type:
|
|
844
875
|
| 'Audiohook'
|
|
@@ -886,6 +917,7 @@ export interface DestinationCreateParams {
|
|
|
886
917
|
| 'Partnerize'
|
|
887
918
|
| 'NextdoorAds'
|
|
888
919
|
| 'Tatari'
|
|
920
|
+
| 'TatariCAPI'
|
|
889
921
|
| 'Viant'
|
|
890
922
|
| 'ViantCAPI'
|
|
891
923
|
| 'Impact'
|
|
@@ -914,7 +946,8 @@ export interface DestinationCreateParams {
|
|
|
914
946
|
| 'OpenAIAds'
|
|
915
947
|
| 'YelpCAPI'
|
|
916
948
|
| 'MNTN'
|
|
917
|
-
| 'ZohoCRM'
|
|
949
|
+
| 'ZohoCRM'
|
|
950
|
+
| 'Rokt';
|
|
918
951
|
|
|
919
952
|
name?: string | null;
|
|
920
953
|
|
package/src/resources/funnels.ts
CHANGED
|
@@ -8,9 +8,10 @@ import { path } from '../internal/utils/path';
|
|
|
8
8
|
export class Funnels extends APIResource {
|
|
9
9
|
/**
|
|
10
10
|
* List every funnel configured on this account. Each funnel includes its step
|
|
11
|
-
* configuration, funnel type, conversion window
|
|
12
|
-
*
|
|
13
|
-
*
|
|
11
|
+
* configuration, funnel type, and conversion window. Funnel results are computed
|
|
12
|
+
* on demand, so `status` is always `READY` and `reportDateRange` is always `null`;
|
|
13
|
+
* both fields are retained for backward compatibility and should not be used to
|
|
14
|
+
* decide whether results are available. Requires scope: web-analytics:view
|
|
14
15
|
*/
|
|
15
16
|
list(options?: RequestOptions): APIPromise<FunnelListResponse> {
|
|
16
17
|
return this._client.get('/rest/v1/funnels', options);
|
|
@@ -28,9 +29,10 @@ export class Funnels extends APIResource {
|
|
|
28
29
|
/**
|
|
29
30
|
* Compute funnel step analytics for a funnel over a date window. Returns per-step
|
|
30
31
|
* visitor counts, conversion rates, drop-off rates, average time to next step, and
|
|
31
|
-
* sample session IDs for replay.
|
|
32
|
-
*
|
|
33
|
-
*
|
|
32
|
+
* sample session IDs for replay. Results are computed on demand from event data at
|
|
33
|
+
* request time, so any date window within the supported range returns current
|
|
34
|
+
* results. `to` must be on or after `from`, and the window may span at most 31 days
|
|
35
|
+
* including both endpoints. Requires scope: web-analytics:view
|
|
34
36
|
*/
|
|
35
37
|
results(
|
|
36
38
|
id: string,
|
|
@@ -197,6 +199,14 @@ export interface FunnelResultsResponse {
|
|
|
197
199
|
* Average time from first step to last step in seconds. Null when no completions.
|
|
198
200
|
*/
|
|
199
201
|
overallAvgTimeToConversion?: number | null;
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* Present when the results are wider than the funnel as configured. Some step
|
|
205
|
+
* conditions could not be expressed as a query and were ignored, so the counts
|
|
206
|
+
* above include visitors those conditions would have excluded. Absent when the
|
|
207
|
+
* whole definition was applied. The dashboard surfaces the same caveat.
|
|
208
|
+
*/
|
|
209
|
+
warning?: string;
|
|
200
210
|
}
|
|
201
211
|
|
|
202
212
|
export namespace FunnelResultsResponse {
|
|
@@ -224,53 +234,61 @@ export namespace FunnelResultsResponse {
|
|
|
224
234
|
export interface FunnelResultsParams {
|
|
225
235
|
/**
|
|
226
236
|
* Inclusive lower bound of the analysis window, as a UTC calendar day in
|
|
227
|
-
* `YYYY-MM-DD` format.
|
|
237
|
+
* `YYYY-MM-DD` format. The window may span at most 31 days including both
|
|
238
|
+
* endpoints.
|
|
228
239
|
*/
|
|
229
240
|
from: string;
|
|
230
241
|
|
|
231
242
|
/**
|
|
232
243
|
* Inclusive upper bound of the analysis window, as a UTC calendar day in
|
|
233
|
-
* `YYYY-MM-DD` format.
|
|
244
|
+
* `YYYY-MM-DD` format. Must be on or after `from`, and the window may span at most
|
|
245
|
+
* 31 days including both endpoints.
|
|
234
246
|
*/
|
|
235
247
|
to: string;
|
|
236
248
|
|
|
237
249
|
/**
|
|
238
|
-
*
|
|
250
|
+
* Accepted for backward compatibility but NOT applied. Funnel sessions carry a
|
|
251
|
+
* single attribution set, so there is no initial vs. last-touch distinction to
|
|
252
|
+
* select between.
|
|
239
253
|
*/
|
|
240
254
|
attributionType?: 'INITIAL' | 'LAST_TOUCH';
|
|
241
255
|
|
|
242
256
|
/**
|
|
243
|
-
*
|
|
257
|
+
* Restrict the funnel to sessions on a device class. `MOBILE` matches phone
|
|
258
|
+
* sessions; `DESKTOP` matches every session that is not a phone, tablet, TV,
|
|
259
|
+
* console, wearable, XR, or embedded device. `ALL` (the default) applies no device
|
|
260
|
+
* filter.
|
|
244
261
|
*/
|
|
245
262
|
deviceType?: 'DESKTOP' | 'MOBILE' | 'ALL';
|
|
246
263
|
|
|
247
264
|
/**
|
|
248
|
-
*
|
|
265
|
+
* Restrict the funnel to sessions whose `utm_campaign` exactly matches this value.
|
|
249
266
|
*/
|
|
250
267
|
utmCampaign?: string;
|
|
251
268
|
|
|
252
269
|
/**
|
|
253
|
-
*
|
|
270
|
+
* Restrict the funnel to sessions whose `utm_content` exactly matches this value.
|
|
254
271
|
*/
|
|
255
272
|
utmContent?: string;
|
|
256
273
|
|
|
257
274
|
/**
|
|
258
|
-
*
|
|
275
|
+
* Restrict the funnel to sessions whose `utm_medium` exactly matches this value.
|
|
259
276
|
*/
|
|
260
277
|
utmMedium?: string;
|
|
261
278
|
|
|
262
279
|
/**
|
|
263
|
-
*
|
|
280
|
+
* Accepted for backward compatibility but NOT applied — there is no campaign-name
|
|
281
|
+
* dimension on funnel sessions. Use `utmCampaign` instead.
|
|
264
282
|
*/
|
|
265
283
|
utmName?: string;
|
|
266
284
|
|
|
267
285
|
/**
|
|
268
|
-
*
|
|
286
|
+
* Restrict the funnel to sessions whose `utm_source` exactly matches this value.
|
|
269
287
|
*/
|
|
270
288
|
utmSource?: string;
|
|
271
289
|
|
|
272
290
|
/**
|
|
273
|
-
*
|
|
291
|
+
* Restrict the funnel to sessions whose `utm_term` exactly matches this value.
|
|
274
292
|
*/
|
|
275
293
|
utmTerm?: string;
|
|
276
294
|
}
|
package/src/resources/index.ts
CHANGED
|
@@ -45,6 +45,18 @@ export {
|
|
|
45
45
|
type ConsentSettingPageAnalysisParams,
|
|
46
46
|
type ConsentSettingAnalyticsByRegionParams,
|
|
47
47
|
} from './consent-settings';
|
|
48
|
+
export {
|
|
49
|
+
ConversionJourneySummaries,
|
|
50
|
+
type ConversionJourneySummaryListResponse,
|
|
51
|
+
type ConversionJourneySummaryCreateResponse,
|
|
52
|
+
type ConversionJourneySummaryRetrieveResponse,
|
|
53
|
+
type ConversionJourneySummaryUpdateResponse,
|
|
54
|
+
type ConversionJourneySummaryDeleteResponse,
|
|
55
|
+
type ConversionJourneySummaryListParams,
|
|
56
|
+
type ConversionJourneySummaryCreateParams,
|
|
57
|
+
type ConversionJourneySummaryUpdateParams,
|
|
58
|
+
type ConversionJourneySummaryListResponsesCursor,
|
|
59
|
+
} from './conversion-journey-summaries';
|
|
48
60
|
export {
|
|
49
61
|
DataGovernance,
|
|
50
62
|
type DataGovernanceListResponse,
|
|
@@ -298,6 +310,25 @@ export {
|
|
|
298
310
|
type VersionRevertParams,
|
|
299
311
|
type VersionListResponsesCursor,
|
|
300
312
|
} from './versions';
|
|
313
|
+
export {
|
|
314
|
+
Videos,
|
|
315
|
+
type VideoListResponse,
|
|
316
|
+
type VideoCreateResponse,
|
|
317
|
+
type VideoRetrieveResponse,
|
|
318
|
+
type VideoUpdateResponse,
|
|
319
|
+
type VideoDeleteResponse,
|
|
320
|
+
type VideoAnalyticsResponse,
|
|
321
|
+
type VideoAnalyticsTimeseriesResponse,
|
|
322
|
+
type VideoTranscriptResponse,
|
|
323
|
+
type VideoUpdateTranscriptResponse,
|
|
324
|
+
type VideoListParams,
|
|
325
|
+
type VideoCreateParams,
|
|
326
|
+
type VideoUpdateParams,
|
|
327
|
+
type VideoAnalyticsParams,
|
|
328
|
+
type VideoAnalyticsTimeseriesParams,
|
|
329
|
+
type VideoUpdateTranscriptParams,
|
|
330
|
+
type VideoListResponsesCursor,
|
|
331
|
+
} from './videos';
|
|
301
332
|
export {
|
|
302
333
|
WebScannerRules,
|
|
303
334
|
type WebScannerRuleListResponse,
|
|
@@ -169,6 +169,16 @@ export interface VersionListResponse {
|
|
|
169
169
|
* determine the current live version.
|
|
170
170
|
*/
|
|
171
171
|
publishedAt?: string | null;
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* Identifier of the user who most recently published this version.
|
|
175
|
+
*/
|
|
176
|
+
publishedByUserId?: string | null;
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* Display name of the user who most recently published this version.
|
|
180
|
+
*/
|
|
181
|
+
publishedByUserName?: string | null;
|
|
172
182
|
}
|
|
173
183
|
|
|
174
184
|
export interface VersionCreateResponse {
|
|
@@ -191,6 +201,16 @@ export interface VersionCreateResponse {
|
|
|
191
201
|
* determine the current live version.
|
|
192
202
|
*/
|
|
193
203
|
publishedAt?: string | null;
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* Identifier of the user who most recently published this version.
|
|
207
|
+
*/
|
|
208
|
+
publishedByUserId?: string | null;
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* Display name of the user who most recently published this version.
|
|
212
|
+
*/
|
|
213
|
+
publishedByUserName?: string | null;
|
|
194
214
|
}
|
|
195
215
|
|
|
196
216
|
export interface VersionRetrieveResponse {
|
|
@@ -213,6 +233,16 @@ export interface VersionRetrieveResponse {
|
|
|
213
233
|
* determine the current live version.
|
|
214
234
|
*/
|
|
215
235
|
publishedAt?: string | null;
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* Identifier of the user who most recently published this version.
|
|
239
|
+
*/
|
|
240
|
+
publishedByUserId?: string | null;
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* Display name of the user who most recently published this version.
|
|
244
|
+
*/
|
|
245
|
+
publishedByUserName?: string | null;
|
|
216
246
|
}
|
|
217
247
|
|
|
218
248
|
export interface VersionUpdateResponse {
|
|
@@ -235,6 +265,16 @@ export interface VersionUpdateResponse {
|
|
|
235
265
|
* determine the current live version.
|
|
236
266
|
*/
|
|
237
267
|
publishedAt?: string | null;
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* Identifier of the user who most recently published this version.
|
|
271
|
+
*/
|
|
272
|
+
publishedByUserId?: string | null;
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* Display name of the user who most recently published this version.
|
|
276
|
+
*/
|
|
277
|
+
publishedByUserName?: string | null;
|
|
238
278
|
}
|
|
239
279
|
|
|
240
280
|
export interface VersionPublishResponse {
|
|
@@ -257,6 +297,16 @@ export interface VersionPublishResponse {
|
|
|
257
297
|
* determine the current live version.
|
|
258
298
|
*/
|
|
259
299
|
publishedAt?: string | null;
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* Identifier of the user who most recently published this version.
|
|
303
|
+
*/
|
|
304
|
+
publishedByUserId?: string | null;
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* Display name of the user who most recently published this version.
|
|
308
|
+
*/
|
|
309
|
+
publishedByUserName?: string | null;
|
|
260
310
|
}
|
|
261
311
|
|
|
262
312
|
export interface VersionSnapshotResponse {
|