@oursprivacy/platform-sdk 1.30.0 → 1.32.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 +20 -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/experiments.d.mts +13 -13
- package/resources/experiments.d.mts.map +1 -1
- package/resources/experiments.d.ts +13 -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/versions.d.mts +618 -1
- package/resources/versions.d.mts.map +1 -1
- package/resources/versions.d.ts +618 -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 +9 -2
- package/src/resources/experiments.ts +13 -13
- package/src/resources/index.ts +9 -0
- package/src/resources/versions.ts +748 -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
|
@@ -131,6 +131,7 @@ export interface DestinationListResponse {
|
|
|
131
131
|
| 'LinkedInAdsCAPI'
|
|
132
132
|
| 'LiveIntent'
|
|
133
133
|
| 'LiveRampWarehouse'
|
|
134
|
+
| 'MNTN'
|
|
134
135
|
| 'Mailchimp'
|
|
135
136
|
| 'Mixpanel'
|
|
136
137
|
| 'NextdoorAds'
|
|
@@ -236,6 +237,7 @@ export interface DestinationCreateResponse {
|
|
|
236
237
|
| 'LinkedInAdsCAPI'
|
|
237
238
|
| 'LiveIntent'
|
|
238
239
|
| 'LiveRampWarehouse'
|
|
240
|
+
| 'MNTN'
|
|
239
241
|
| 'Mailchimp'
|
|
240
242
|
| 'Mixpanel'
|
|
241
243
|
| 'NextdoorAds'
|
|
@@ -341,6 +343,7 @@ export interface DestinationRetrieveResponse {
|
|
|
341
343
|
| 'LinkedInAdsCAPI'
|
|
342
344
|
| 'LiveIntent'
|
|
343
345
|
| 'LiveRampWarehouse'
|
|
346
|
+
| 'MNTN'
|
|
344
347
|
| 'Mailchimp'
|
|
345
348
|
| 'Mixpanel'
|
|
346
349
|
| 'NextdoorAds'
|
|
@@ -446,6 +449,7 @@ export interface DestinationUpdateResponse {
|
|
|
446
449
|
| 'LinkedInAdsCAPI'
|
|
447
450
|
| 'LiveIntent'
|
|
448
451
|
| 'LiveRampWarehouse'
|
|
452
|
+
| 'MNTN'
|
|
449
453
|
| 'Mailchimp'
|
|
450
454
|
| 'Mixpanel'
|
|
451
455
|
| 'NextdoorAds'
|
|
@@ -570,7 +574,8 @@ export namespace DestinationTypesResponse {
|
|
|
570
574
|
| 'AdobeAnalytics'
|
|
571
575
|
| 'UniversalAds'
|
|
572
576
|
| 'OpenAIAds'
|
|
573
|
-
| 'YelpCAPI'
|
|
577
|
+
| 'YelpCAPI'
|
|
578
|
+
| 'MNTN';
|
|
574
579
|
|
|
575
580
|
capabilities: Entity.Capabilities;
|
|
576
581
|
|
|
@@ -729,6 +734,7 @@ export interface DestinationListParams extends CursorParams {
|
|
|
729
734
|
| 'LinkedInAdsCAPI'
|
|
730
735
|
| 'LiveIntent'
|
|
731
736
|
| 'LiveRampWarehouse'
|
|
737
|
+
| 'MNTN'
|
|
732
738
|
| 'Mailchimp'
|
|
733
739
|
| 'Mixpanel'
|
|
734
740
|
| 'NextdoorAds'
|
|
@@ -841,7 +847,8 @@ export interface DestinationCreateParams {
|
|
|
841
847
|
| 'AdobeAnalytics'
|
|
842
848
|
| 'UniversalAds'
|
|
843
849
|
| 'OpenAIAds'
|
|
844
|
-
| 'YelpCAPI'
|
|
850
|
+
| 'YelpCAPI'
|
|
851
|
+
| 'MNTN';
|
|
845
852
|
|
|
846
853
|
name?: string | null;
|
|
847
854
|
|
|
@@ -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
|
|
@@ -2338,7 +2338,7 @@ export namespace ExperimentCreateParams {
|
|
|
2338
2338
|
/**
|
|
2339
2339
|
* Comparison operator applied to the query string value.
|
|
2340
2340
|
*/
|
|
2341
|
-
operator: 'contains' | 'equals' | 'exists' | 'not_equals' | 'not_exists';
|
|
2341
|
+
operator: 'contains' | 'equals' | 'exists' | 'not_equals' | 'not_exists' | 'regex';
|
|
2342
2342
|
|
|
2343
2343
|
/**
|
|
2344
2344
|
* Comparison value used by operators that require one. Omit for `exists` and
|
|
@@ -2490,7 +2490,7 @@ export namespace ExperimentUpdateParams {
|
|
|
2490
2490
|
/**
|
|
2491
2491
|
* Comparison operator applied to the query string value.
|
|
2492
2492
|
*/
|
|
2493
|
-
operator: 'contains' | 'equals' | 'exists' | 'not_equals' | 'not_exists';
|
|
2493
|
+
operator: 'contains' | 'equals' | 'exists' | 'not_equals' | 'not_exists' | 'regex';
|
|
2494
2494
|
|
|
2495
2495
|
/**
|
|
2496
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';
|