@oursprivacy/platform-sdk 1.43.0 → 1.44.1
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 +17 -0
- package/client.d.mts +8 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +8 -2
- 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/audience-conversion-reports.d.mts +216 -0
- package/resources/audience-conversion-reports.d.mts.map +1 -0
- package/resources/audience-conversion-reports.d.ts +216 -0
- package/resources/audience-conversion-reports.d.ts.map +1 -0
- package/resources/audience-conversion-reports.js +55 -0
- package/resources/audience-conversion-reports.js.map +1 -0
- package/resources/audience-conversion-reports.mjs +51 -0
- package/resources/audience-conversion-reports.mjs.map +1 -0
- package/resources/destinations.d.mts +20 -0
- package/resources/destinations.d.mts.map +1 -1
- package/resources/destinations.d.ts +20 -0
- package/resources/destinations.d.ts.map +1 -1
- package/resources/experiments.d.mts +6 -4
- package/resources/experiments.d.mts.map +1 -1
- package/resources/experiments.d.ts +6 -4
- package/resources/experiments.d.ts.map +1 -1
- package/resources/experiments.js +4 -3
- package/resources/experiments.js.map +1 -1
- package/resources/experiments.mjs +4 -3
- package/resources/experiments.mjs.map +1 -1
- package/resources/funnels.d.mts +811 -5
- package/resources/funnels.d.mts.map +1 -1
- package/resources/funnels.d.ts +811 -5
- package/resources/funnels.d.ts.map +1 -1
- package/resources/funnels.js +22 -0
- package/resources/funnels.js.map +1 -1
- package/resources/funnels.mjs +22 -0
- package/resources/funnels.mjs.map +1 -1
- package/resources/index.d.mts +3 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +3 -1
- 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/video-channels.d.mts +237 -0
- package/resources/video-channels.d.mts.map +1 -0
- package/resources/video-channels.d.ts +237 -0
- package/resources/video-channels.d.ts.map +1 -0
- package/resources/video-channels.js +95 -0
- package/resources/video-channels.js.map +1 -0
- package/resources/video-channels.mjs +91 -0
- package/resources/video-channels.mjs.map +1 -0
- package/resources/web-scanners.d.mts +10 -8
- package/resources/web-scanners.d.mts.map +1 -1
- package/resources/web-scanners.d.ts +10 -8
- package/resources/web-scanners.d.ts.map +1 -1
- package/resources/web-scanners.js +9 -8
- package/resources/web-scanners.js.map +1 -1
- package/resources/web-scanners.mjs +9 -8
- package/resources/web-scanners.mjs.map +1 -1
- package/src/client.ts +78 -0
- package/src/resources/audience-conversion-reports.ts +466 -0
- package/src/resources/destinations.ts +113 -0
- package/src/resources/experiments.ts +6 -4
- package/src/resources/funnels.ts +1366 -4
- package/src/resources/index.ts +36 -0
- package/src/resources/video-channels.ts +405 -0
- package/src/resources/web-scanners.ts +11 -8
- 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
|
@@ -959,8 +959,20 @@ export interface DestinationCreateParams {
|
|
|
959
959
|
}
|
|
960
960
|
|
|
961
961
|
export interface DestinationUpdateParams {
|
|
962
|
+
/**
|
|
963
|
+
* Server-assigned read-only field. Accepted on PATCH and ignored to support GET ->
|
|
964
|
+
* PATCH round-trips.
|
|
965
|
+
*/
|
|
966
|
+
createdAt?: string;
|
|
967
|
+
|
|
962
968
|
hashingSalt?: string | null;
|
|
963
969
|
|
|
970
|
+
/**
|
|
971
|
+
* Server-assigned read-only field. Accepted on PATCH and ignored to support GET ->
|
|
972
|
+
* PATCH round-trips.
|
|
973
|
+
*/
|
|
974
|
+
id?: string;
|
|
975
|
+
|
|
964
976
|
limitedToSourceIds?: Array<string> | null;
|
|
965
977
|
|
|
966
978
|
name?: string | null;
|
|
@@ -972,6 +984,107 @@ export interface DestinationUpdateParams {
|
|
|
972
984
|
settings?: unknown | null;
|
|
973
985
|
|
|
974
986
|
status?: 'Disabled' | 'Enabled' | null;
|
|
987
|
+
|
|
988
|
+
/**
|
|
989
|
+
* Server-assigned read-only field. Accepted on PATCH and ignored to support GET ->
|
|
990
|
+
* PATCH round-trips.
|
|
991
|
+
*/
|
|
992
|
+
type?:
|
|
993
|
+
| 'AWSEventBridge'
|
|
994
|
+
| 'AWSKinesis'
|
|
995
|
+
| 'AWSLambda'
|
|
996
|
+
| 'AWSS3'
|
|
997
|
+
| 'AWSSNS'
|
|
998
|
+
| 'ActiveCampaignApi'
|
|
999
|
+
| 'Admitad'
|
|
1000
|
+
| 'AdobeAnalytics'
|
|
1001
|
+
| 'AmazonDSP'
|
|
1002
|
+
| 'Amplitude'
|
|
1003
|
+
| 'AppLovin'
|
|
1004
|
+
| 'ArtsAI'
|
|
1005
|
+
| 'Attentive'
|
|
1006
|
+
| 'Audiohook'
|
|
1007
|
+
| 'AzureBlob'
|
|
1008
|
+
| 'BasisPostback'
|
|
1009
|
+
| 'BeeswaxPostback'
|
|
1010
|
+
| 'BingAds'
|
|
1011
|
+
| 'BingAdsWeb'
|
|
1012
|
+
| 'Braze'
|
|
1013
|
+
| 'ConvertABTestingEvent'
|
|
1014
|
+
| 'Customerio'
|
|
1015
|
+
| 'DatabricksWarehouse'
|
|
1016
|
+
| 'DomoWarehouse'
|
|
1017
|
+
| 'Everflow'
|
|
1018
|
+
| 'Facebook'
|
|
1019
|
+
| 'FacebookAudience'
|
|
1020
|
+
| 'FloodlightSGTM'
|
|
1021
|
+
| 'FullContact'
|
|
1022
|
+
| 'G4Analytics'
|
|
1023
|
+
| 'GA4MeasurementProtocol'
|
|
1024
|
+
| 'GA4ServerProxy'
|
|
1025
|
+
| 'Google'
|
|
1026
|
+
| 'GoogleAds360'
|
|
1027
|
+
| 'GoogleAdsServerContainer'
|
|
1028
|
+
| 'GoogleAudience'
|
|
1029
|
+
| 'GoogleBigQuery'
|
|
1030
|
+
| 'GoogleBigQueryWarehouse'
|
|
1031
|
+
| 'GoogleDataManagerEventIngest'
|
|
1032
|
+
| 'GooglePubSub'
|
|
1033
|
+
| 'GoogleStorage'
|
|
1034
|
+
| 'HTTPCustomRequest'
|
|
1035
|
+
| 'HTTPDestination'
|
|
1036
|
+
| 'Hubspot'
|
|
1037
|
+
| 'IHeartMediaMagellan'
|
|
1038
|
+
| 'Impact'
|
|
1039
|
+
| 'Iterable'
|
|
1040
|
+
| 'Klaviyo'
|
|
1041
|
+
| 'LinkedInAdsCAPI'
|
|
1042
|
+
| 'LiveIntent'
|
|
1043
|
+
| 'LiveRampWarehouse'
|
|
1044
|
+
| 'MNTN'
|
|
1045
|
+
| 'MNTNAudience'
|
|
1046
|
+
| 'Mailchimp'
|
|
1047
|
+
| 'Mixpanel'
|
|
1048
|
+
| 'NextdoorAds'
|
|
1049
|
+
| 'OpenAIAds'
|
|
1050
|
+
| 'OursSyntheticData'
|
|
1051
|
+
| 'Outbrain'
|
|
1052
|
+
| 'Partnerize'
|
|
1053
|
+
| 'Pinterest'
|
|
1054
|
+
| 'Plausible'
|
|
1055
|
+
| 'Podscribe'
|
|
1056
|
+
| 'PostHog'
|
|
1057
|
+
| 'QuantcastCAPI'
|
|
1058
|
+
| 'QuoraAds'
|
|
1059
|
+
| 'Reddit'
|
|
1060
|
+
| 'Rokt'
|
|
1061
|
+
| 'RokuCAPI'
|
|
1062
|
+
| 'SnapchatAdsCapi'
|
|
1063
|
+
| 'Spotify'
|
|
1064
|
+
| 'StackAdaptAPI'
|
|
1065
|
+
| 'Taboola'
|
|
1066
|
+
| 'Tatari'
|
|
1067
|
+
| 'TatariCAPI'
|
|
1068
|
+
| 'TheTradeDesk'
|
|
1069
|
+
| 'TikTok'
|
|
1070
|
+
| 'UniversalAds'
|
|
1071
|
+
| 'VWO'
|
|
1072
|
+
| 'Viant'
|
|
1073
|
+
| 'ViantCAPI'
|
|
1074
|
+
| 'Vibe'
|
|
1075
|
+
| 'VibeAudience'
|
|
1076
|
+
| 'Woopra'
|
|
1077
|
+
| 'XAds'
|
|
1078
|
+
| 'YelpCAPI'
|
|
1079
|
+
| 'Zendesk'
|
|
1080
|
+
| 'ZohoCRM'
|
|
1081
|
+
| 'ZoomInfo';
|
|
1082
|
+
|
|
1083
|
+
/**
|
|
1084
|
+
* Server-assigned read-only field. Accepted on PATCH and ignored to support GET ->
|
|
1085
|
+
* PATCH round-trips.
|
|
1086
|
+
*/
|
|
1087
|
+
updatedAt?: string | null;
|
|
975
1088
|
}
|
|
976
1089
|
|
|
977
1090
|
export declare namespace Destinations {
|
|
@@ -62,9 +62,10 @@ export class Experiments extends APIResource {
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
/**
|
|
65
|
-
* Partially update an experiment. Only the fields you send are changed
|
|
66
|
-
*
|
|
67
|
-
*
|
|
65
|
+
* Partially update an experiment. Only the fields you send are changed, except
|
|
66
|
+
* renaming a non-draft legacy experiment with no stored key preserves its current
|
|
67
|
+
* name-derived key. Edits are allowed on draft, running, and paused experiments and
|
|
68
|
+
* are recorded in the change log. Only completed experiments return 409 with
|
|
68
69
|
* `A completed experiment can no longer be edited`. Use the lifecycle endpoints
|
|
69
70
|
* (`/start`, `/pause`, `/resume`, `/stop`) to change status. Requires scope:
|
|
70
71
|
* experiment:update
|
|
@@ -3401,7 +3402,8 @@ export interface ExperimentUpdateParams {
|
|
|
3401
3402
|
|
|
3402
3403
|
/**
|
|
3403
3404
|
* Updated stable code-facing key. When blank, the API falls back to a slugified
|
|
3404
|
-
* key derived from the current experiment name.
|
|
3405
|
+
* key derived from the current experiment name. Renaming a non-draft legacy
|
|
3406
|
+
* experiment with no stored key preserves its current name-derived key.
|
|
3405
3407
|
*/
|
|
3406
3408
|
key?: string | null;
|
|
3407
3409
|
|