@oursprivacy/platform-sdk 1.29.0 → 1.31.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/client.d.mts +4 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +4 -4
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/consent-settings.d.mts +46 -0
- package/resources/consent-settings.d.mts.map +1 -1
- package/resources/consent-settings.d.ts +46 -0
- package/resources/consent-settings.d.ts.map +1 -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/experiment-variants.d.mts +15 -12
- package/resources/experiment-variants.d.mts.map +1 -1
- package/resources/experiment-variants.d.ts +15 -12
- package/resources/experiment-variants.d.ts.map +1 -1
- package/resources/experiments.d.mts +21 -13
- package/resources/experiments.d.mts.map +1 -1
- package/resources/experiments.d.ts +21 -13
- package/resources/experiments.d.ts.map +1 -1
- package/resources/experiments.js +3 -3
- package/resources/experiments.mjs +3 -3
- package/resources/index.d.mts +2 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/sources.d.mts +6 -6
- package/resources/sources.d.mts.map +1 -1
- package/resources/sources.d.ts +6 -6
- package/resources/sources.d.ts.map +1 -1
- package/resources/versions.d.mts +210 -1
- package/resources/versions.d.mts.map +1 -1
- package/resources/versions.d.ts +210 -1
- package/resources/versions.d.ts.map +1 -1
- package/resources/versions.js +33 -0
- package/resources/versions.js.map +1 -1
- package/resources/versions.mjs +33 -0
- package/resources/versions.mjs.map +1 -1
- package/resources/web-scanners.d.mts +267 -1
- package/resources/web-scanners.d.mts.map +1 -1
- package/resources/web-scanners.d.ts +267 -1
- package/resources/web-scanners.d.ts.map +1 -1
- package/resources/web-scanners.js +44 -0
- package/resources/web-scanners.js.map +1 -1
- package/resources/web-scanners.mjs +44 -0
- package/resources/web-scanners.mjs.map +1 -1
- package/src/client.ts +18 -0
- package/src/resources/consent-settings.ts +54 -0
- package/src/resources/destinations.ts +25 -2
- package/src/resources/experiment-variants.ts +15 -12
- package/src/resources/experiments.ts +22 -13
- package/src/resources/index.ts +9 -0
- package/src/resources/sources.ts +6 -0
- package/src/resources/versions.ts +272 -0
- package/src/resources/web-scanners.ts +431 -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
|
@@ -61,6 +61,50 @@ class WebScanners extends resource_1.APIResource {
|
|
|
61
61
|
trigger(id, options) {
|
|
62
62
|
return this._client.post((0, path_1.path) `/rest/v1/web-scanners/${id}/trigger`, options);
|
|
63
63
|
}
|
|
64
|
+
/**
|
|
65
|
+
* List the third-party trackers (requests) found on a scan run, with their risk,
|
|
66
|
+
* category, the pages they were seen on, and whether each host is already covered
|
|
67
|
+
* by a CMP consent service. Defaults to the latest run; pass `date` (an ISO-8601
|
|
68
|
+
* timestamp; only the calendar day is used to select the run) to read an earlier
|
|
69
|
+
* run. Documented exception to the cursor-pagination standard: paginates with
|
|
70
|
+
* `limit` and `offset` because each run is an immutable snapshot. A host that is
|
|
71
|
+
* neither covered (`coveredByCmp: false`) nor matched by a suppression rule still
|
|
72
|
+
* needs a triage decision — resolve it by adding the host to a CMP consent service
|
|
73
|
+
* or by creating a suppression rule with `POST /rest/v1/web-scanner-rules`. Use
|
|
74
|
+
* `GET /rest/v1/web-scanners/{id}/summary` for the rolled-up counts. Requires
|
|
75
|
+
* scope: webScanner:find
|
|
76
|
+
*/
|
|
77
|
+
findings(id, query = {}, options) {
|
|
78
|
+
return this._client.get((0, path_1.path) `/rest/v1/web-scanners/${id}/findings`, { query, ...options });
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* List the cookies and local-storage entries observed on a scan run. Defaults to
|
|
82
|
+
* the latest run; pass `date` (an ISO-8601 timestamp; only the calendar day is
|
|
83
|
+
* used to select the run) to read an earlier run. Cookies paginate with `limit`
|
|
84
|
+
* and `offset` (a documented exception to the cursor-pagination standard, since
|
|
85
|
+
* each run is an immutable snapshot); local-storage entries are returned in full.
|
|
86
|
+
* Requires scope: webScanner:find
|
|
87
|
+
*/
|
|
88
|
+
cookies(id, query = {}, options) {
|
|
89
|
+
return this._client.get((0, path_1.path) `/rest/v1/web-scanners/${id}/cookies`, { query, ...options });
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Compliance summary for a scan run — the rolled-up "what does this site look
|
|
93
|
+
* like, and what still needs a decision" view, assembled server-side so you do not
|
|
94
|
+
* have to page every finding. Includes total host/vendor/cookie counts, a
|
|
95
|
+
* breakdown by risk and by category, coverage (how many hosts are already covered
|
|
96
|
+
* by a CMP consent service or a suppression rule vs. how many still need a
|
|
97
|
+
* decision), the new/removed host delta versus the previous run, and up to 10
|
|
98
|
+
* highest-risk hosts that still need a decision. Defaults to the latest run; pass
|
|
99
|
+
* `date` (an ISO-8601 timestamp; only the calendar day is used to select the run)
|
|
100
|
+
* to read an earlier run. Clear a host that needs a decision by adding it to a CMP
|
|
101
|
+
* consent service or creating a suppression rule with
|
|
102
|
+
* `POST /rest/v1/web-scanner-rules`. When the scanner has no completed runs, every
|
|
103
|
+
* count is 0 and `runDate` is null. Requires scope: webScanner:find
|
|
104
|
+
*/
|
|
105
|
+
summary(id, query = {}, options) {
|
|
106
|
+
return this._client.get((0, path_1.path) `/rest/v1/web-scanners/${id}/summary`, { query, ...options });
|
|
107
|
+
}
|
|
64
108
|
}
|
|
65
109
|
exports.WebScanners = WebScanners;
|
|
66
110
|
//# sourceMappingURL=web-scanners.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"web-scanners.js","sourceRoot":"","sources":["../src/resources/web-scanners.ts"],"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AwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,yBAAyB,EAAE,WAAW,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7F,CAAC;IAED;;;;;;;OAOG;IACH,OAAO,CACL,EAAU,EACV,QAAoD,EAAE,EACtD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,yBAAyB,EAAE,UAAU,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5F,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,OAAO,CACL,EAAU,EACV,QAAoD,EAAE,EACtD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,yBAAyB,EAAE,UAAU,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5F,CAAC;CACF;AA7HD,kCA6HC"}
|
|
@@ -58,5 +58,49 @@ export class WebScanners extends APIResource {
|
|
|
58
58
|
trigger(id, options) {
|
|
59
59
|
return this._client.post(path `/rest/v1/web-scanners/${id}/trigger`, options);
|
|
60
60
|
}
|
|
61
|
+
/**
|
|
62
|
+
* List the third-party trackers (requests) found on a scan run, with their risk,
|
|
63
|
+
* category, the pages they were seen on, and whether each host is already covered
|
|
64
|
+
* by a CMP consent service. Defaults to the latest run; pass `date` (an ISO-8601
|
|
65
|
+
* timestamp; only the calendar day is used to select the run) to read an earlier
|
|
66
|
+
* run. Documented exception to the cursor-pagination standard: paginates with
|
|
67
|
+
* `limit` and `offset` because each run is an immutable snapshot. A host that is
|
|
68
|
+
* neither covered (`coveredByCmp: false`) nor matched by a suppression rule still
|
|
69
|
+
* needs a triage decision — resolve it by adding the host to a CMP consent service
|
|
70
|
+
* or by creating a suppression rule with `POST /rest/v1/web-scanner-rules`. Use
|
|
71
|
+
* `GET /rest/v1/web-scanners/{id}/summary` for the rolled-up counts. Requires
|
|
72
|
+
* scope: webScanner:find
|
|
73
|
+
*/
|
|
74
|
+
findings(id, query = {}, options) {
|
|
75
|
+
return this._client.get(path `/rest/v1/web-scanners/${id}/findings`, { query, ...options });
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* List the cookies and local-storage entries observed on a scan run. Defaults to
|
|
79
|
+
* the latest run; pass `date` (an ISO-8601 timestamp; only the calendar day is
|
|
80
|
+
* used to select the run) to read an earlier run. Cookies paginate with `limit`
|
|
81
|
+
* and `offset` (a documented exception to the cursor-pagination standard, since
|
|
82
|
+
* each run is an immutable snapshot); local-storage entries are returned in full.
|
|
83
|
+
* Requires scope: webScanner:find
|
|
84
|
+
*/
|
|
85
|
+
cookies(id, query = {}, options) {
|
|
86
|
+
return this._client.get(path `/rest/v1/web-scanners/${id}/cookies`, { query, ...options });
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Compliance summary for a scan run — the rolled-up "what does this site look
|
|
90
|
+
* like, and what still needs a decision" view, assembled server-side so you do not
|
|
91
|
+
* have to page every finding. Includes total host/vendor/cookie counts, a
|
|
92
|
+
* breakdown by risk and by category, coverage (how many hosts are already covered
|
|
93
|
+
* by a CMP consent service or a suppression rule vs. how many still need a
|
|
94
|
+
* decision), the new/removed host delta versus the previous run, and up to 10
|
|
95
|
+
* highest-risk hosts that still need a decision. Defaults to the latest run; pass
|
|
96
|
+
* `date` (an ISO-8601 timestamp; only the calendar day is used to select the run)
|
|
97
|
+
* to read an earlier run. Clear a host that needs a decision by adding it to a CMP
|
|
98
|
+
* consent service or creating a suppression rule with
|
|
99
|
+
* `POST /rest/v1/web-scanner-rules`. When the scanner has no completed runs, every
|
|
100
|
+
* count is 0 and `runDate` is null. Requires scope: webScanner:find
|
|
101
|
+
*/
|
|
102
|
+
summary(id, query = {}, options) {
|
|
103
|
+
return this._client.get(path `/rest/v1/web-scanners/${id}/summary`, { query, ...options });
|
|
104
|
+
}
|
|
61
105
|
}
|
|
62
106
|
//# sourceMappingURL=web-scanners.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"web-scanners.mjs","sourceRoot":"","sources":["../src/resources/web-scanners.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAG/C,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;OAIG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,uBAAuB,EAAE,OAAO,CAAC,CAAC;IAC5D,CAAC;IAED;;;;;;;;OAQG;IACH,MAAM,CAAC,IAA4B,EAAE,OAAwB;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,uBAAuB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,yBAAyB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CACJ,EAAU,EACV,IAA4B,EAC5B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,yBAAyB,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrF,CAAC;IAED;;;OAGG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,yBAAyB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IAED;;;;;;;;OAQG;IACH,OAAO,CAAC,EAAU,EAAE,OAAwB;QAC1C,OAAO,IAAI,CAA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,OAAwB;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,yBAAyB,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,QAAQ,CACN,EAAU,EACV,QAAqD,EAAE,EACvD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,yBAAyB,EAAE,WAAW,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7F,CAAC;IAED;;;;;;;OAOG;IACH,OAAO,CACL,EAAU,EACV,QAAoD,EAAE,EACtD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,yBAAyB,EAAE,UAAU,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5F,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,OAAO,CACL,EAAU,EACV,QAAoD,EAAE,EACtD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,yBAAyB,EAAE,UAAU,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5F,CAAC;CACF"}
|
package/src/client.ts
CHANGED
|
@@ -260,6 +260,7 @@ import {
|
|
|
260
260
|
TagManagers,
|
|
261
261
|
} from './resources/tag-managers';
|
|
262
262
|
import {
|
|
263
|
+
VersionAbandonResponse,
|
|
263
264
|
VersionCreateParams,
|
|
264
265
|
VersionCreateResponse,
|
|
265
266
|
VersionDiffParams,
|
|
@@ -269,6 +270,8 @@ import {
|
|
|
269
270
|
VersionListResponsesCursor,
|
|
270
271
|
VersionPublishResponse,
|
|
271
272
|
VersionRetrieveResponse,
|
|
273
|
+
VersionRevertParams,
|
|
274
|
+
VersionRevertResponse,
|
|
272
275
|
VersionSnapshotResponse,
|
|
273
276
|
VersionUpdateParams,
|
|
274
277
|
VersionUpdateResponse,
|
|
@@ -286,11 +289,17 @@ import {
|
|
|
286
289
|
WebScannerRules,
|
|
287
290
|
} from './resources/web-scanner-rules';
|
|
288
291
|
import {
|
|
292
|
+
WebScannerCookiesParams,
|
|
293
|
+
WebScannerCookiesResponse,
|
|
289
294
|
WebScannerCreateParams,
|
|
290
295
|
WebScannerCreateResponse,
|
|
291
296
|
WebScannerDeleteResponse,
|
|
297
|
+
WebScannerFindingsParams,
|
|
298
|
+
WebScannerFindingsResponse,
|
|
292
299
|
WebScannerListResponse,
|
|
293
300
|
WebScannerRetrieveResponse,
|
|
301
|
+
WebScannerSummaryParams,
|
|
302
|
+
WebScannerSummaryResponse,
|
|
294
303
|
WebScannerTriggerResponse,
|
|
295
304
|
WebScannerUpdateParams,
|
|
296
305
|
WebScannerUpdateResponse,
|
|
@@ -1356,11 +1365,14 @@ export declare namespace OursPrivacyPlatform {
|
|
|
1356
1365
|
type VersionPublishResponse as VersionPublishResponse,
|
|
1357
1366
|
type VersionSnapshotResponse as VersionSnapshotResponse,
|
|
1358
1367
|
type VersionDiffResponse as VersionDiffResponse,
|
|
1368
|
+
type VersionRevertResponse as VersionRevertResponse,
|
|
1369
|
+
type VersionAbandonResponse as VersionAbandonResponse,
|
|
1359
1370
|
type VersionListResponsesCursor as VersionListResponsesCursor,
|
|
1360
1371
|
type VersionListParams as VersionListParams,
|
|
1361
1372
|
type VersionCreateParams as VersionCreateParams,
|
|
1362
1373
|
type VersionUpdateParams as VersionUpdateParams,
|
|
1363
1374
|
type VersionDiffParams as VersionDiffParams,
|
|
1375
|
+
type VersionRevertParams as VersionRevertParams,
|
|
1364
1376
|
};
|
|
1365
1377
|
|
|
1366
1378
|
export {
|
|
@@ -1383,7 +1395,13 @@ export declare namespace OursPrivacyPlatform {
|
|
|
1383
1395
|
type WebScannerUpdateResponse as WebScannerUpdateResponse,
|
|
1384
1396
|
type WebScannerDeleteResponse as WebScannerDeleteResponse,
|
|
1385
1397
|
type WebScannerTriggerResponse as WebScannerTriggerResponse,
|
|
1398
|
+
type WebScannerFindingsResponse as WebScannerFindingsResponse,
|
|
1399
|
+
type WebScannerCookiesResponse as WebScannerCookiesResponse,
|
|
1400
|
+
type WebScannerSummaryResponse as WebScannerSummaryResponse,
|
|
1386
1401
|
type WebScannerCreateParams as WebScannerCreateParams,
|
|
1387
1402
|
type WebScannerUpdateParams as WebScannerUpdateParams,
|
|
1403
|
+
type WebScannerFindingsParams as WebScannerFindingsParams,
|
|
1404
|
+
type WebScannerCookiesParams as WebScannerCookiesParams,
|
|
1405
|
+
type WebScannerSummaryParams as WebScannerSummaryParams,
|
|
1388
1406
|
};
|
|
1389
1407
|
}
|
|
@@ -190,6 +190,13 @@ export namespace ConsentSettingListResponse {
|
|
|
190
190
|
*/
|
|
191
191
|
customDomain?: string | null;
|
|
192
192
|
|
|
193
|
+
/**
|
|
194
|
+
* Cookie/localStorage key for the visitor (device) ID. Must exactly match the web
|
|
195
|
+
* SDK's cookie_names.device_id (default "ours_device_id") so consent and SDK
|
|
196
|
+
* events resolve to the same visitor.
|
|
197
|
+
*/
|
|
198
|
+
deviceIdCookieName?: string | null;
|
|
199
|
+
|
|
193
200
|
/**
|
|
194
201
|
* Revision counter. Bump this to force users who already consented to see the
|
|
195
202
|
* modal again (the SDK compares the persisted revision against this value).
|
|
@@ -616,6 +623,13 @@ export interface ConsentSettingCreateResponse {
|
|
|
616
623
|
*/
|
|
617
624
|
customDomain?: string | null;
|
|
618
625
|
|
|
626
|
+
/**
|
|
627
|
+
* Cookie/localStorage key for the visitor (device) ID. Must exactly match the web
|
|
628
|
+
* SDK's cookie_names.device_id (default "ours_device_id") so consent and SDK
|
|
629
|
+
* events resolve to the same visitor.
|
|
630
|
+
*/
|
|
631
|
+
deviceIdCookieName?: string | null;
|
|
632
|
+
|
|
619
633
|
/**
|
|
620
634
|
* Revision counter. Bump this to force users who already consented to see the
|
|
621
635
|
* modal again (the SDK compares the persisted revision against this value).
|
|
@@ -1041,6 +1055,13 @@ export interface ConsentSettingRetrieveResponse {
|
|
|
1041
1055
|
*/
|
|
1042
1056
|
customDomain?: string | null;
|
|
1043
1057
|
|
|
1058
|
+
/**
|
|
1059
|
+
* Cookie/localStorage key for the visitor (device) ID. Must exactly match the web
|
|
1060
|
+
* SDK's cookie_names.device_id (default "ours_device_id") so consent and SDK
|
|
1061
|
+
* events resolve to the same visitor.
|
|
1062
|
+
*/
|
|
1063
|
+
deviceIdCookieName?: string | null;
|
|
1064
|
+
|
|
1044
1065
|
/**
|
|
1045
1066
|
* Revision counter. Bump this to force users who already consented to see the
|
|
1046
1067
|
* modal again (the SDK compares the persisted revision against this value).
|
|
@@ -1466,6 +1487,13 @@ export interface ConsentSettingReplaceResponse {
|
|
|
1466
1487
|
*/
|
|
1467
1488
|
customDomain?: string | null;
|
|
1468
1489
|
|
|
1490
|
+
/**
|
|
1491
|
+
* Cookie/localStorage key for the visitor (device) ID. Must exactly match the web
|
|
1492
|
+
* SDK's cookie_names.device_id (default "ours_device_id") so consent and SDK
|
|
1493
|
+
* events resolve to the same visitor.
|
|
1494
|
+
*/
|
|
1495
|
+
deviceIdCookieName?: string | null;
|
|
1496
|
+
|
|
1469
1497
|
/**
|
|
1470
1498
|
* Revision counter. Bump this to force users who already consented to see the
|
|
1471
1499
|
* modal again (the SDK compares the persisted revision against this value).
|
|
@@ -1891,6 +1919,13 @@ export interface ConsentSettingUpdateResponse {
|
|
|
1891
1919
|
*/
|
|
1892
1920
|
customDomain?: string | null;
|
|
1893
1921
|
|
|
1922
|
+
/**
|
|
1923
|
+
* Cookie/localStorage key for the visitor (device) ID. Must exactly match the web
|
|
1924
|
+
* SDK's cookie_names.device_id (default "ours_device_id") so consent and SDK
|
|
1925
|
+
* events resolve to the same visitor.
|
|
1926
|
+
*/
|
|
1927
|
+
deviceIdCookieName?: string | null;
|
|
1928
|
+
|
|
1894
1929
|
/**
|
|
1895
1930
|
* Revision counter. Bump this to force users who already consented to see the
|
|
1896
1931
|
* modal again (the SDK compares the persisted revision against this value).
|
|
@@ -2316,6 +2351,13 @@ export interface ConsentSettingDeleteResponse {
|
|
|
2316
2351
|
*/
|
|
2317
2352
|
customDomain?: string | null;
|
|
2318
2353
|
|
|
2354
|
+
/**
|
|
2355
|
+
* Cookie/localStorage key for the visitor (device) ID. Must exactly match the web
|
|
2356
|
+
* SDK's cookie_names.device_id (default "ours_device_id") so consent and SDK
|
|
2357
|
+
* events resolve to the same visitor.
|
|
2358
|
+
*/
|
|
2359
|
+
deviceIdCookieName?: string | null;
|
|
2360
|
+
|
|
2319
2361
|
/**
|
|
2320
2362
|
* Revision counter. Bump this to force users who already consented to see the
|
|
2321
2363
|
* modal again (the SDK compares the persisted revision against this value).
|
|
@@ -2834,6 +2876,12 @@ export interface ConsentSettingReplaceParams {
|
|
|
2834
2876
|
*/
|
|
2835
2877
|
customDomain?: string | null;
|
|
2836
2878
|
|
|
2879
|
+
/**
|
|
2880
|
+
* Cookie/localStorage key for the visitor (device) ID. Must exactly match the web
|
|
2881
|
+
* SDK's cookie_names.device_id (default "ours_device_id"). Pass null to clear.
|
|
2882
|
+
*/
|
|
2883
|
+
deviceIdCookieName?: string | null;
|
|
2884
|
+
|
|
2837
2885
|
/**
|
|
2838
2886
|
* Revision counter. Bump to re-prompt users who already consented.
|
|
2839
2887
|
*/
|
|
@@ -3211,6 +3259,12 @@ export interface ConsentSettingUpdateParams {
|
|
|
3211
3259
|
*/
|
|
3212
3260
|
default?: ConsentSettingUpdateParams.Default;
|
|
3213
3261
|
|
|
3262
|
+
/**
|
|
3263
|
+
* Cookie/localStorage key for the visitor (device) ID. Must exactly match the web
|
|
3264
|
+
* SDK's cookie_names.device_id (default "ours_device_id"). Pass null to clear.
|
|
3265
|
+
*/
|
|
3266
|
+
deviceIdCookieName?: string | null;
|
|
3267
|
+
|
|
3214
3268
|
/**
|
|
3215
3269
|
* Rename the consent settings record.
|
|
3216
3270
|
*/
|
|
@@ -131,11 +131,13 @@ export interface DestinationListResponse {
|
|
|
131
131
|
| 'LinkedInAdsCAPI'
|
|
132
132
|
| 'LiveIntent'
|
|
133
133
|
| 'LiveRampWarehouse'
|
|
134
|
+
| 'MNTN'
|
|
134
135
|
| 'Mailchimp'
|
|
135
136
|
| 'Mixpanel'
|
|
136
137
|
| 'NextdoorAds'
|
|
137
138
|
| 'OpenAIAds'
|
|
138
139
|
| 'OursSyntheticData'
|
|
140
|
+
| 'Outbrain'
|
|
139
141
|
| 'Partnerize'
|
|
140
142
|
| 'Pinterest'
|
|
141
143
|
| 'Plausible'
|
|
@@ -159,6 +161,7 @@ export interface DestinationListResponse {
|
|
|
159
161
|
| 'Vibe'
|
|
160
162
|
| 'Woopra'
|
|
161
163
|
| 'XAds'
|
|
164
|
+
| 'YelpCAPI'
|
|
162
165
|
| 'Zendesk'
|
|
163
166
|
| 'ZoomInfo';
|
|
164
167
|
|
|
@@ -234,11 +237,13 @@ export interface DestinationCreateResponse {
|
|
|
234
237
|
| 'LinkedInAdsCAPI'
|
|
235
238
|
| 'LiveIntent'
|
|
236
239
|
| 'LiveRampWarehouse'
|
|
240
|
+
| 'MNTN'
|
|
237
241
|
| 'Mailchimp'
|
|
238
242
|
| 'Mixpanel'
|
|
239
243
|
| 'NextdoorAds'
|
|
240
244
|
| 'OpenAIAds'
|
|
241
245
|
| 'OursSyntheticData'
|
|
246
|
+
| 'Outbrain'
|
|
242
247
|
| 'Partnerize'
|
|
243
248
|
| 'Pinterest'
|
|
244
249
|
| 'Plausible'
|
|
@@ -262,6 +267,7 @@ export interface DestinationCreateResponse {
|
|
|
262
267
|
| 'Vibe'
|
|
263
268
|
| 'Woopra'
|
|
264
269
|
| 'XAds'
|
|
270
|
+
| 'YelpCAPI'
|
|
265
271
|
| 'Zendesk'
|
|
266
272
|
| 'ZoomInfo';
|
|
267
273
|
|
|
@@ -337,11 +343,13 @@ export interface DestinationRetrieveResponse {
|
|
|
337
343
|
| 'LinkedInAdsCAPI'
|
|
338
344
|
| 'LiveIntent'
|
|
339
345
|
| 'LiveRampWarehouse'
|
|
346
|
+
| 'MNTN'
|
|
340
347
|
| 'Mailchimp'
|
|
341
348
|
| 'Mixpanel'
|
|
342
349
|
| 'NextdoorAds'
|
|
343
350
|
| 'OpenAIAds'
|
|
344
351
|
| 'OursSyntheticData'
|
|
352
|
+
| 'Outbrain'
|
|
345
353
|
| 'Partnerize'
|
|
346
354
|
| 'Pinterest'
|
|
347
355
|
| 'Plausible'
|
|
@@ -365,6 +373,7 @@ export interface DestinationRetrieveResponse {
|
|
|
365
373
|
| 'Vibe'
|
|
366
374
|
| 'Woopra'
|
|
367
375
|
| 'XAds'
|
|
376
|
+
| 'YelpCAPI'
|
|
368
377
|
| 'Zendesk'
|
|
369
378
|
| 'ZoomInfo';
|
|
370
379
|
|
|
@@ -440,11 +449,13 @@ export interface DestinationUpdateResponse {
|
|
|
440
449
|
| 'LinkedInAdsCAPI'
|
|
441
450
|
| 'LiveIntent'
|
|
442
451
|
| 'LiveRampWarehouse'
|
|
452
|
+
| 'MNTN'
|
|
443
453
|
| 'Mailchimp'
|
|
444
454
|
| 'Mixpanel'
|
|
445
455
|
| 'NextdoorAds'
|
|
446
456
|
| 'OpenAIAds'
|
|
447
457
|
| 'OursSyntheticData'
|
|
458
|
+
| 'Outbrain'
|
|
448
459
|
| 'Partnerize'
|
|
449
460
|
| 'Pinterest'
|
|
450
461
|
| 'Plausible'
|
|
@@ -468,6 +479,7 @@ export interface DestinationUpdateResponse {
|
|
|
468
479
|
| 'Vibe'
|
|
469
480
|
| 'Woopra'
|
|
470
481
|
| 'XAds'
|
|
482
|
+
| 'YelpCAPI'
|
|
471
483
|
| 'Zendesk'
|
|
472
484
|
| 'ZoomInfo';
|
|
473
485
|
|
|
@@ -493,6 +505,7 @@ export namespace DestinationTypesResponse {
|
|
|
493
505
|
id:
|
|
494
506
|
| 'Audiohook'
|
|
495
507
|
| 'BasisPostback'
|
|
508
|
+
| 'Outbrain'
|
|
496
509
|
| 'OursSyntheticData'
|
|
497
510
|
| 'FullContact'
|
|
498
511
|
| 'ZoomInfo'
|
|
@@ -522,6 +535,7 @@ export namespace DestinationTypesResponse {
|
|
|
522
535
|
| 'Mailchimp'
|
|
523
536
|
| 'AWSKinesis'
|
|
524
537
|
| 'AWSLambda'
|
|
538
|
+
| 'AWSSNS'
|
|
525
539
|
| 'GooglePubSub'
|
|
526
540
|
| 'LinkedInAdsCAPI'
|
|
527
541
|
| 'ActiveCampaignApi'
|
|
@@ -559,7 +573,9 @@ export namespace DestinationTypesResponse {
|
|
|
559
573
|
| 'BeeswaxPostback'
|
|
560
574
|
| 'AdobeAnalytics'
|
|
561
575
|
| 'UniversalAds'
|
|
562
|
-
| 'OpenAIAds'
|
|
576
|
+
| 'OpenAIAds'
|
|
577
|
+
| 'YelpCAPI'
|
|
578
|
+
| 'MNTN';
|
|
563
579
|
|
|
564
580
|
capabilities: Entity.Capabilities;
|
|
565
581
|
|
|
@@ -718,11 +734,13 @@ export interface DestinationListParams extends CursorParams {
|
|
|
718
734
|
| 'LinkedInAdsCAPI'
|
|
719
735
|
| 'LiveIntent'
|
|
720
736
|
| 'LiveRampWarehouse'
|
|
737
|
+
| 'MNTN'
|
|
721
738
|
| 'Mailchimp'
|
|
722
739
|
| 'Mixpanel'
|
|
723
740
|
| 'NextdoorAds'
|
|
724
741
|
| 'OpenAIAds'
|
|
725
742
|
| 'OursSyntheticData'
|
|
743
|
+
| 'Outbrain'
|
|
726
744
|
| 'Partnerize'
|
|
727
745
|
| 'Pinterest'
|
|
728
746
|
| 'Plausible'
|
|
@@ -746,6 +764,7 @@ export interface DestinationListParams extends CursorParams {
|
|
|
746
764
|
| 'Vibe'
|
|
747
765
|
| 'Woopra'
|
|
748
766
|
| 'XAds'
|
|
767
|
+
| 'YelpCAPI'
|
|
749
768
|
| 'Zendesk'
|
|
750
769
|
| 'ZoomInfo';
|
|
751
770
|
}
|
|
@@ -759,6 +778,7 @@ export interface DestinationCreateParams {
|
|
|
759
778
|
type:
|
|
760
779
|
| 'Audiohook'
|
|
761
780
|
| 'BasisPostback'
|
|
781
|
+
| 'Outbrain'
|
|
762
782
|
| 'OursSyntheticData'
|
|
763
783
|
| 'FullContact'
|
|
764
784
|
| 'ZoomInfo'
|
|
@@ -788,6 +808,7 @@ export interface DestinationCreateParams {
|
|
|
788
808
|
| 'Mailchimp'
|
|
789
809
|
| 'AWSKinesis'
|
|
790
810
|
| 'AWSLambda'
|
|
811
|
+
| 'AWSSNS'
|
|
791
812
|
| 'GooglePubSub'
|
|
792
813
|
| 'LinkedInAdsCAPI'
|
|
793
814
|
| 'ActiveCampaignApi'
|
|
@@ -825,7 +846,9 @@ export interface DestinationCreateParams {
|
|
|
825
846
|
| 'BeeswaxPostback'
|
|
826
847
|
| 'AdobeAnalytics'
|
|
827
848
|
| 'UniversalAds'
|
|
828
|
-
| 'OpenAIAds'
|
|
849
|
+
| 'OpenAIAds'
|
|
850
|
+
| 'YelpCAPI'
|
|
851
|
+
| 'MNTN';
|
|
829
852
|
|
|
830
853
|
name?: string | null;
|
|
831
854
|
|
|
@@ -659,9 +659,10 @@ export interface ExperimentVariantCreateParams {
|
|
|
659
659
|
name: string;
|
|
660
660
|
|
|
661
661
|
/**
|
|
662
|
-
* Traffic weight
|
|
663
|
-
*
|
|
664
|
-
*
|
|
662
|
+
* Traffic weight for this variant as a percentage (0–100). Treatment weights are
|
|
663
|
+
* percentages of the split and must total 99% or less to leave room for the
|
|
664
|
+
* control; the control variant is the remainder (100 − Σ treatment weights, always
|
|
665
|
+
* ≥ 1%) and is maintained automatically.
|
|
665
666
|
*/
|
|
666
667
|
weight: number;
|
|
667
668
|
|
|
@@ -673,11 +674,11 @@ export interface ExperimentVariantCreateParams {
|
|
|
673
674
|
|
|
674
675
|
/**
|
|
675
676
|
* Mark this variant as the experiment control. Defaults to `false`. The API
|
|
676
|
-
* rejects the request with 409 if the experiment already has a control variant
|
|
677
|
-
*
|
|
678
|
-
*
|
|
679
|
-
*
|
|
680
|
-
*
|
|
677
|
+
* rejects the request with 409 if the experiment already has a control variant.
|
|
678
|
+
* Every experiment keeps exactly one control whose weight is the auto-derived
|
|
679
|
+
* remainder of the split, so the control cannot be cleared while it would leave
|
|
680
|
+
* the treatments at 100% (no room for a control). DELETE on the control
|
|
681
|
+
* returns 409.
|
|
681
682
|
*/
|
|
682
683
|
isControl?: boolean | null;
|
|
683
684
|
|
|
@@ -776,8 +777,9 @@ export interface ExperimentVariantUpdateParams {
|
|
|
776
777
|
|
|
777
778
|
/**
|
|
778
779
|
* Promote or demote this variant as the control. Promoting a second variant while
|
|
779
|
-
* another already has `isControl: true` is rejected with 409
|
|
780
|
-
*
|
|
780
|
+
* another already has `isControl: true` is rejected with 409. Demoting the control
|
|
781
|
+
* (`isControl: false`) is rejected when it would leave the treatments at 100% —
|
|
782
|
+
* there must always be room for a control.
|
|
781
783
|
*/
|
|
782
784
|
isControl?: boolean | null;
|
|
783
785
|
|
|
@@ -802,8 +804,9 @@ export interface ExperimentVariantUpdateParams {
|
|
|
802
804
|
variantType?: 'dom_modifications' | 'redirect' | null;
|
|
803
805
|
|
|
804
806
|
/**
|
|
805
|
-
* Updated traffic weight
|
|
806
|
-
* the
|
|
807
|
+
* Updated traffic weight as a percentage (0–100). The control variant weight is
|
|
808
|
+
* derived from the treatments (it is the remainder of the split) and cannot be set
|
|
809
|
+
* directly.
|
|
807
810
|
*/
|
|
808
811
|
weight?: number | null;
|
|
809
812
|
}
|
|
@@ -61,9 +61,9 @@ export class Experiments extends APIResource {
|
|
|
61
61
|
|
|
62
62
|
/**
|
|
63
63
|
* Partially update an experiment. Only the fields you send are changed. Edits are
|
|
64
|
-
*
|
|
65
|
-
* completed experiments return 409 with
|
|
66
|
-
* `
|
|
64
|
+
* allowed on draft, running, and paused experiments and are recorded in the change
|
|
65
|
+
* log. Only completed experiments return 409 with
|
|
66
|
+
* `A completed experiment can no longer be edited`. Use the lifecycle endpoints
|
|
67
67
|
* (`/start`, `/pause`, `/resume`, `/stop`) to change status. Requires scope:
|
|
68
68
|
* experiment:update
|
|
69
69
|
*
|
|
@@ -407,7 +407,7 @@ export namespace ExperimentListResponse {
|
|
|
407
407
|
/**
|
|
408
408
|
* Comparison operator applied to the query string value.
|
|
409
409
|
*/
|
|
410
|
-
operator: 'contains' | 'equals' | 'exists' | 'not_equals' | 'not_exists';
|
|
410
|
+
operator: 'contains' | 'equals' | 'exists' | 'not_equals' | 'not_exists' | 'regex';
|
|
411
411
|
|
|
412
412
|
/**
|
|
413
413
|
* Comparison value used by operators that require one. Omit for `exists` and
|
|
@@ -705,7 +705,7 @@ export namespace ExperimentCreateResponse {
|
|
|
705
705
|
/**
|
|
706
706
|
* Comparison operator applied to the query string value.
|
|
707
707
|
*/
|
|
708
|
-
operator: 'contains' | 'equals' | 'exists' | 'not_equals' | 'not_exists';
|
|
708
|
+
operator: 'contains' | 'equals' | 'exists' | 'not_equals' | 'not_exists' | 'regex';
|
|
709
709
|
|
|
710
710
|
/**
|
|
711
711
|
* Comparison value used by operators that require one. Omit for `exists` and
|
|
@@ -1003,7 +1003,7 @@ export namespace ExperimentRetrieveResponse {
|
|
|
1003
1003
|
/**
|
|
1004
1004
|
* Comparison operator applied to the query string value.
|
|
1005
1005
|
*/
|
|
1006
|
-
operator: 'contains' | 'equals' | 'exists' | 'not_equals' | 'not_exists';
|
|
1006
|
+
operator: 'contains' | 'equals' | 'exists' | 'not_equals' | 'not_exists' | 'regex';
|
|
1007
1007
|
|
|
1008
1008
|
/**
|
|
1009
1009
|
* Comparison value used by operators that require one. Omit for `exists` and
|
|
@@ -1186,7 +1186,7 @@ export namespace ExperimentUpdateResponse {
|
|
|
1186
1186
|
/**
|
|
1187
1187
|
* Comparison operator applied to the query string value.
|
|
1188
1188
|
*/
|
|
1189
|
-
operator: 'contains' | 'equals' | 'exists' | 'not_equals' | 'not_exists';
|
|
1189
|
+
operator: 'contains' | 'equals' | 'exists' | 'not_equals' | 'not_exists' | 'regex';
|
|
1190
1190
|
|
|
1191
1191
|
/**
|
|
1192
1192
|
* Comparison value used by operators that require one. Omit for `exists` and
|
|
@@ -1392,7 +1392,7 @@ export namespace ExperimentStartResponse {
|
|
|
1392
1392
|
/**
|
|
1393
1393
|
* Comparison operator applied to the query string value.
|
|
1394
1394
|
*/
|
|
1395
|
-
operator: 'contains' | 'equals' | 'exists' | 'not_equals' | 'not_exists';
|
|
1395
|
+
operator: 'contains' | 'equals' | 'exists' | 'not_equals' | 'not_exists' | 'regex';
|
|
1396
1396
|
|
|
1397
1397
|
/**
|
|
1398
1398
|
* Comparison value used by operators that require one. Omit for `exists` and
|
|
@@ -1594,7 +1594,7 @@ export namespace ExperimentStopResponse {
|
|
|
1594
1594
|
/**
|
|
1595
1595
|
* Comparison operator applied to the query string value.
|
|
1596
1596
|
*/
|
|
1597
|
-
operator: 'contains' | 'equals' | 'exists' | 'not_equals' | 'not_exists';
|
|
1597
|
+
operator: 'contains' | 'equals' | 'exists' | 'not_equals' | 'not_exists' | 'regex';
|
|
1598
1598
|
|
|
1599
1599
|
/**
|
|
1600
1600
|
* Comparison value used by operators that require one. Omit for `exists` and
|
|
@@ -1796,7 +1796,7 @@ export namespace ExperimentPauseResponse {
|
|
|
1796
1796
|
/**
|
|
1797
1797
|
* Comparison operator applied to the query string value.
|
|
1798
1798
|
*/
|
|
1799
|
-
operator: 'contains' | 'equals' | 'exists' | 'not_equals' | 'not_exists';
|
|
1799
|
+
operator: 'contains' | 'equals' | 'exists' | 'not_equals' | 'not_exists' | 'regex';
|
|
1800
1800
|
|
|
1801
1801
|
/**
|
|
1802
1802
|
* Comparison value used by operators that require one. Omit for `exists` and
|
|
@@ -1998,7 +1998,7 @@ export namespace ExperimentResumeResponse {
|
|
|
1998
1998
|
/**
|
|
1999
1999
|
* Comparison operator applied to the query string value.
|
|
2000
2000
|
*/
|
|
2001
|
-
operator: 'contains' | 'equals' | 'exists' | 'not_equals' | 'not_exists';
|
|
2001
|
+
operator: 'contains' | 'equals' | 'exists' | 'not_equals' | 'not_exists' | 'regex';
|
|
2002
2002
|
|
|
2003
2003
|
/**
|
|
2004
2004
|
* Comparison value used by operators that require one. Omit for `exists` and
|
|
@@ -2186,6 +2186,15 @@ export interface ExperimentCreateParams {
|
|
|
2186
2186
|
*/
|
|
2187
2187
|
name: string;
|
|
2188
2188
|
|
|
2189
|
+
/**
|
|
2190
|
+
* Weight of the auto-created control variant, as a percentage (1–100). Defaults to
|
|
2191
|
+
* 100 (a new experiment is all control until treatments are added). The control
|
|
2192
|
+
* must keep at least 1% — a 0% control leaves visitors with no bucket to assign at
|
|
2193
|
+
* runtime. As treatments are added the control is reconciled to the remainder (100
|
|
2194
|
+
* − Σ treatment weights), so it normally does not need to be set explicitly.
|
|
2195
|
+
*/
|
|
2196
|
+
controlWeight?: number | null;
|
|
2197
|
+
|
|
2189
2198
|
/**
|
|
2190
2199
|
* Optional hypothesis or operator note.
|
|
2191
2200
|
*/
|
|
@@ -2329,7 +2338,7 @@ export namespace ExperimentCreateParams {
|
|
|
2329
2338
|
/**
|
|
2330
2339
|
* Comparison operator applied to the query string value.
|
|
2331
2340
|
*/
|
|
2332
|
-
operator: 'contains' | 'equals' | 'exists' | 'not_equals' | 'not_exists';
|
|
2341
|
+
operator: 'contains' | 'equals' | 'exists' | 'not_equals' | 'not_exists' | 'regex';
|
|
2333
2342
|
|
|
2334
2343
|
/**
|
|
2335
2344
|
* Comparison value used by operators that require one. Omit for `exists` and
|
|
@@ -2481,7 +2490,7 @@ export namespace ExperimentUpdateParams {
|
|
|
2481
2490
|
/**
|
|
2482
2491
|
* Comparison operator applied to the query string value.
|
|
2483
2492
|
*/
|
|
2484
|
-
operator: 'contains' | 'equals' | 'exists' | 'not_equals' | 'not_exists';
|
|
2493
|
+
operator: 'contains' | 'equals' | 'exists' | 'not_equals' | 'not_exists' | 'regex';
|
|
2485
2494
|
|
|
2486
2495
|
/**
|
|
2487
2496
|
* Comparison value used by operators that require one. Omit for `exists` and
|
package/src/resources/index.ts
CHANGED
|
@@ -249,10 +249,13 @@ export {
|
|
|
249
249
|
type VersionPublishResponse,
|
|
250
250
|
type VersionSnapshotResponse,
|
|
251
251
|
type VersionDiffResponse,
|
|
252
|
+
type VersionRevertResponse,
|
|
253
|
+
type VersionAbandonResponse,
|
|
252
254
|
type VersionListParams,
|
|
253
255
|
type VersionCreateParams,
|
|
254
256
|
type VersionUpdateParams,
|
|
255
257
|
type VersionDiffParams,
|
|
258
|
+
type VersionRevertParams,
|
|
256
259
|
type VersionListResponsesCursor,
|
|
257
260
|
} from './versions';
|
|
258
261
|
export {
|
|
@@ -274,6 +277,12 @@ export {
|
|
|
274
277
|
type WebScannerUpdateResponse,
|
|
275
278
|
type WebScannerDeleteResponse,
|
|
276
279
|
type WebScannerTriggerResponse,
|
|
280
|
+
type WebScannerFindingsResponse,
|
|
281
|
+
type WebScannerCookiesResponse,
|
|
282
|
+
type WebScannerSummaryResponse,
|
|
277
283
|
type WebScannerCreateParams,
|
|
278
284
|
type WebScannerUpdateParams,
|
|
285
|
+
type WebScannerFindingsParams,
|
|
286
|
+
type WebScannerCookiesParams,
|
|
287
|
+
type WebScannerSummaryParams,
|
|
279
288
|
} from './web-scanners';
|