@oursprivacy/platform-sdk 1.19.0 → 1.21.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 +31 -0
- package/README.md +8 -12
- package/api-promise.d.mts +1 -0
- package/api-promise.d.mts.map +1 -1
- package/api-promise.d.ts +1 -0
- package/api-promise.d.ts.map +1 -1
- package/api-promise.mjs +1 -0
- package/api-promise.mjs.map +1 -1
- package/client.d.mts +21 -6
- package/client.d.mts.map +1 -1
- package/client.d.ts +21 -6
- package/client.d.ts.map +1 -1
- package/client.js +17 -2
- package/client.js.map +1 -1
- package/client.mjs +17 -2
- package/client.mjs.map +1 -1
- package/core/api-promise.d.mts.map +1 -1
- package/core/api-promise.d.ts.map +1 -1
- package/core/api-promise.mjs.map +1 -1
- package/core/error.mjs.map +1 -1
- package/core/pagination.d.mts.map +1 -1
- package/core/pagination.d.ts.map +1 -1
- package/core/pagination.mjs.map +1 -1
- package/core/resource.d.mts.map +1 -1
- package/core/resource.d.ts.map +1 -1
- package/core/uploads.d.mts.map +1 -1
- package/core/uploads.d.ts.map +1 -1
- package/core/uploads.mjs.map +1 -1
- package/error.d.mts +1 -0
- package/error.d.mts.map +1 -1
- package/error.d.ts +1 -0
- package/error.d.ts.map +1 -1
- package/error.mjs +1 -0
- package/error.mjs.map +1 -1
- package/index.d.mts.map +1 -1
- package/index.d.ts.map +1 -1
- package/index.mjs.map +1 -1
- package/internal/detect-platform.mjs.map +1 -1
- package/internal/headers.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.mjs.map +1 -1
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts.map +1 -1
- package/internal/shims.d.mts +6 -0
- package/internal/shims.d.mts.map +1 -1
- package/internal/shims.d.ts +6 -0
- package/internal/shims.d.ts.map +1 -1
- package/internal/to-file.d.mts.map +1 -1
- package/internal/to-file.d.ts.map +1 -1
- package/internal/to-file.mjs.map +1 -1
- package/internal/types.d.mts +4 -4
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +4 -4
- package/internal/types.d.ts.map +1 -1
- package/internal/uploads.d.mts.map +1 -1
- package/internal/uploads.d.ts.map +1 -1
- package/internal/uploads.mjs.map +1 -1
- package/internal/utils/base64.mjs.map +1 -1
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.mjs.map +1 -1
- package/internal/utils/path.mjs.map +1 -1
- package/internal/utils/query.mjs.map +1 -1
- package/internal/utils/values.mjs.map +1 -1
- package/internal/utils.d.mts.map +1 -1
- package/internal/utils.d.ts.map +1 -1
- package/internal/utils.mjs.map +1 -1
- package/package.json +1 -1
- package/pagination.d.mts +1 -0
- package/pagination.d.mts.map +1 -1
- package/pagination.d.ts +1 -0
- package/pagination.d.ts.map +1 -1
- package/pagination.mjs +1 -0
- package/pagination.mjs.map +1 -1
- package/resource.d.mts +1 -0
- package/resource.d.mts.map +1 -1
- package/resource.d.ts +1 -0
- package/resource.d.ts.map +1 -1
- package/resource.mjs +1 -0
- package/resource.mjs.map +1 -1
- package/resources/allowed-events.d.mts.map +1 -1
- package/resources/allowed-events.d.ts.map +1 -1
- package/resources/allowed-events.mjs.map +1 -1
- package/resources/consent-settings.d.mts.map +1 -1
- package/resources/consent-settings.d.ts.map +1 -1
- package/resources/consent-settings.mjs.map +1 -1
- package/resources/default-mappings.d.mts +140 -0
- package/resources/default-mappings.d.mts.map +1 -0
- package/resources/default-mappings.d.ts +140 -0
- package/resources/default-mappings.d.ts.map +1 -0
- package/resources/default-mappings.js +38 -0
- package/resources/default-mappings.js.map +1 -0
- package/resources/default-mappings.mjs +34 -0
- package/resources/default-mappings.mjs.map +1 -0
- package/resources/destination-types.d.mts +21 -13
- package/resources/destination-types.d.mts.map +1 -1
- package/resources/destination-types.d.ts +21 -13
- package/resources/destination-types.d.ts.map +1 -1
- package/resources/destination-types.js.map +1 -1
- package/resources/destination-types.mjs.map +1 -1
- package/resources/destinations.d.mts +61 -98
- package/resources/destinations.d.mts.map +1 -1
- package/resources/destinations.d.ts +61 -98
- package/resources/destinations.d.ts.map +1 -1
- package/resources/destinations.js +11 -13
- package/resources/destinations.js.map +1 -1
- package/resources/destinations.mjs +11 -13
- package/resources/destinations.mjs.map +1 -1
- package/resources/experiment-settings.d.mts.map +1 -1
- package/resources/experiment-settings.d.ts.map +1 -1
- package/resources/experiment-settings.mjs.map +1 -1
- package/resources/experiment-variants.d.mts.map +1 -1
- package/resources/experiment-variants.d.ts.map +1 -1
- package/resources/experiment-variants.mjs.map +1 -1
- package/resources/experiments.d.mts.map +1 -1
- package/resources/experiments.d.ts.map +1 -1
- package/resources/experiments.mjs.map +1 -1
- package/resources/global-dispatch-centers.d.mts.map +1 -1
- package/resources/global-dispatch-centers.d.ts.map +1 -1
- package/resources/global-dispatch-centers.mjs.map +1 -1
- package/resources/heatmap-pages.d.mts.map +1 -1
- package/resources/heatmap-pages.d.ts.map +1 -1
- package/resources/heatmap-pages.mjs.map +1 -1
- package/resources/index.d.mts +7 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +7 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +11 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +5 -0
- package/resources/index.mjs.map +1 -1
- package/resources/locations.d.mts +270 -0
- package/resources/locations.d.mts.map +1 -0
- package/resources/locations.d.ts +270 -0
- package/resources/locations.d.ts.map +1 -0
- package/resources/locations.js +48 -0
- package/resources/locations.js.map +1 -0
- package/resources/locations.mjs +44 -0
- package/resources/locations.mjs.map +1 -0
- package/resources/mapping-templates.d.mts +101 -0
- package/resources/mapping-templates.d.mts.map +1 -0
- package/resources/mapping-templates.d.ts +101 -0
- package/resources/mapping-templates.d.ts.map +1 -0
- package/resources/mapping-templates.js +22 -0
- package/resources/mapping-templates.js.map +1 -0
- package/resources/mapping-templates.mjs +18 -0
- package/resources/mapping-templates.mjs.map +1 -0
- package/resources/mappings.d.mts +186 -6
- package/resources/mappings.d.mts.map +1 -1
- package/resources/mappings.d.ts +186 -6
- package/resources/mappings.d.ts.map +1 -1
- package/resources/mappings.js +26 -3
- package/resources/mappings.js.map +1 -1
- package/resources/mappings.mjs +26 -3
- package/resources/mappings.mjs.map +1 -1
- package/resources/replay-settings.d.mts.map +1 -1
- package/resources/replay-settings.d.ts.map +1 -1
- package/resources/replay-settings.mjs.map +1 -1
- package/resources/sources.d.mts.map +1 -1
- package/resources/sources.d.ts.map +1 -1
- package/resources/sources.mjs.map +1 -1
- package/resources/versions.d.mts.map +1 -1
- package/resources/versions.d.ts.map +1 -1
- package/resources/versions.mjs.map +1 -1
- package/resources/web-scanner-rules.d.mts +195 -0
- package/resources/web-scanner-rules.d.mts.map +1 -0
- package/resources/web-scanner-rules.d.ts +195 -0
- package/resources/web-scanner-rules.d.ts.map +1 -0
- package/resources/web-scanner-rules.js +48 -0
- package/resources/web-scanner-rules.js.map +1 -0
- package/resources/web-scanner-rules.mjs +44 -0
- package/resources/web-scanner-rules.mjs.map +1 -0
- package/resources/web-scanners.d.mts +199 -0
- package/resources/web-scanners.d.mts.map +1 -0
- package/resources/web-scanners.d.ts +199 -0
- package/resources/web-scanners.d.ts.map +1 -0
- package/resources/web-scanners.js +67 -0
- package/resources/web-scanners.js.map +1 -0
- package/resources/web-scanners.mjs +63 -0
- package/resources/web-scanners.mjs.map +1 -0
- package/resources.d.mts.map +1 -1
- package/resources.d.ts.map +1 -1
- package/resources.mjs.map +1 -1
- package/src/client.ts +116 -5
- package/src/resources/default-mappings.ts +332 -0
- package/src/resources/destination-types.ts +117 -202
- package/src/resources/destinations.ts +227 -212
- package/src/resources/index.ts +48 -0
- package/src/resources/locations.ts +463 -0
- package/src/resources/mapping-templates.ts +203 -0
- package/src/resources/mappings.ts +320 -5
- package/src/resources/web-scanner-rules.ts +304 -0
- package/src/resources/web-scanners.ts +333 -0
- package/src/version.ts +1 -1
- package/uploads.d.mts +1 -0
- package/uploads.d.mts.map +1 -1
- package/uploads.d.ts +1 -0
- package/uploads.d.ts.map +1 -1
- package/uploads.mjs +1 -0
- package/uploads.mjs.map +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../core/resource';
|
|
4
4
|
import { APIPromise } from '../core/api-promise';
|
|
5
|
+
import { Cursor, type CursorParams, PagePromise } from '../core/pagination';
|
|
5
6
|
import { RequestOptions } from '../internal/request-options';
|
|
6
7
|
import { path } from '../internal/utils/path';
|
|
7
8
|
|
|
@@ -9,8 +10,14 @@ export class Destinations extends APIResource {
|
|
|
9
10
|
/**
|
|
10
11
|
* List all destinations. Requires scope: destination:list
|
|
11
12
|
*/
|
|
12
|
-
list(
|
|
13
|
-
|
|
13
|
+
list(
|
|
14
|
+
query: DestinationListParams | null | undefined = {},
|
|
15
|
+
options?: RequestOptions,
|
|
16
|
+
): PagePromise<DestinationListResponsesCursor, DestinationListResponse> {
|
|
17
|
+
return this._client.getAPIList('/rest/v1/destinations', Cursor<DestinationListResponse>, {
|
|
18
|
+
query,
|
|
19
|
+
...options,
|
|
20
|
+
});
|
|
14
21
|
}
|
|
15
22
|
|
|
16
23
|
/**
|
|
@@ -29,22 +36,16 @@ export class Destinations extends APIResource {
|
|
|
29
36
|
|
|
30
37
|
/**
|
|
31
38
|
* Partially update a destination. Only the fields you send are changed; omitted
|
|
32
|
-
* fields are unchanged. The `settings` object is
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
* Requires scope: destination:update
|
|
39
|
+
* fields are unchanged. The `settings` object is patch-only: omitted keys keep
|
|
40
|
+
* their current value, and send `null` to clear a specific setting. Requires
|
|
41
|
+
* scope: destination:update
|
|
36
42
|
*/
|
|
37
43
|
update(
|
|
38
44
|
id: string,
|
|
39
|
-
|
|
45
|
+
body: DestinationUpdateParams,
|
|
40
46
|
options?: RequestOptions,
|
|
41
47
|
): APIPromise<DestinationUpdateResponse> {
|
|
42
|
-
|
|
43
|
-
return this._client.patch(path`/rest/v1/destinations/${id}`, {
|
|
44
|
-
query: { settings_strategy },
|
|
45
|
-
body,
|
|
46
|
-
...options,
|
|
47
|
-
});
|
|
48
|
+
return this._client.patch(path`/rest/v1/destinations/${id}`, { body, ...options });
|
|
48
49
|
}
|
|
49
50
|
|
|
50
51
|
/**
|
|
@@ -55,133 +56,19 @@ export class Destinations extends APIResource {
|
|
|
55
56
|
}
|
|
56
57
|
}
|
|
57
58
|
|
|
58
|
-
export
|
|
59
|
-
entities: Array<DestinationListResponse.Entity>;
|
|
60
|
-
}
|
|
59
|
+
export type DestinationListResponsesCursor = Cursor<DestinationListResponse>;
|
|
61
60
|
|
|
62
|
-
export
|
|
63
|
-
export interface Entity {
|
|
64
|
-
id: string;
|
|
65
|
-
|
|
66
|
-
createdAt: string;
|
|
67
|
-
|
|
68
|
-
status: 'Disabled' | 'Enabled';
|
|
69
|
-
|
|
70
|
-
type:
|
|
71
|
-
| 'AWSEventBridge'
|
|
72
|
-
| 'AWSKinesis'
|
|
73
|
-
| 'AWSLambda'
|
|
74
|
-
| 'AWSS3'
|
|
75
|
-
| 'AWSSNS'
|
|
76
|
-
| 'ActiveCampaignApi'
|
|
77
|
-
| 'Admitad'
|
|
78
|
-
| 'AmazonDSP'
|
|
79
|
-
| 'Amplitude'
|
|
80
|
-
| 'AppLovin'
|
|
81
|
-
| 'ArtsAI'
|
|
82
|
-
| 'Attentive'
|
|
83
|
-
| 'Audiohook'
|
|
84
|
-
| 'AzureBlob'
|
|
85
|
-
| 'BasisPostback'
|
|
86
|
-
| 'BeeswaxPostback'
|
|
87
|
-
| 'BingAds'
|
|
88
|
-
| 'BingAdsWeb'
|
|
89
|
-
| 'Braze'
|
|
90
|
-
| 'ConvertABTestingEvent'
|
|
91
|
-
| 'Customerio'
|
|
92
|
-
| 'DomoWarehouse'
|
|
93
|
-
| 'Everflow'
|
|
94
|
-
| 'Facebook'
|
|
95
|
-
| 'FloodlightSGTM'
|
|
96
|
-
| 'FullContact'
|
|
97
|
-
| 'G4Analytics'
|
|
98
|
-
| 'GA4MeasurementProtocol'
|
|
99
|
-
| 'GA4ServerProxy'
|
|
100
|
-
| 'Google'
|
|
101
|
-
| 'GoogleAds360'
|
|
102
|
-
| 'GoogleAdsServerContainer'
|
|
103
|
-
| 'GoogleBigQuery'
|
|
104
|
-
| 'GoogleBigQueryWarehouse'
|
|
105
|
-
| 'GoogleDataManagerEventIngest'
|
|
106
|
-
| 'GooglePubSub'
|
|
107
|
-
| 'GoogleStorage'
|
|
108
|
-
| 'HTTPCustomRequest'
|
|
109
|
-
| 'HTTPDestination'
|
|
110
|
-
| 'Hubspot'
|
|
111
|
-
| 'IHeartMediaMagellan'
|
|
112
|
-
| 'Impact'
|
|
113
|
-
| 'Iterable'
|
|
114
|
-
| 'Klaviyo'
|
|
115
|
-
| 'LinkedInAdsCAPI'
|
|
116
|
-
| 'LiveIntent'
|
|
117
|
-
| 'LiveRampWarehouse'
|
|
118
|
-
| 'Mailchimp'
|
|
119
|
-
| 'Mixpanel'
|
|
120
|
-
| 'NextdoorAds'
|
|
121
|
-
| 'OursSyntheticData'
|
|
122
|
-
| 'Partnerize'
|
|
123
|
-
| 'Pinterest'
|
|
124
|
-
| 'Plausible'
|
|
125
|
-
| 'Podscribe'
|
|
126
|
-
| 'PostHog'
|
|
127
|
-
| 'QuantcastCAPI'
|
|
128
|
-
| 'QuoraAds'
|
|
129
|
-
| 'Reddit'
|
|
130
|
-
| 'RokuCAPI'
|
|
131
|
-
| 'SnapchatAdsCapi'
|
|
132
|
-
| 'Spotify'
|
|
133
|
-
| 'StackAdaptAPI'
|
|
134
|
-
| 'Taboola'
|
|
135
|
-
| 'Tatari'
|
|
136
|
-
| 'TheTradeDesk'
|
|
137
|
-
| 'TikTok'
|
|
138
|
-
| 'VWO'
|
|
139
|
-
| 'Viant'
|
|
140
|
-
| 'Vibe'
|
|
141
|
-
| 'Woopra'
|
|
142
|
-
| 'XAds'
|
|
143
|
-
| 'Zendesk'
|
|
144
|
-
| 'ZoomInfo';
|
|
145
|
-
|
|
146
|
-
facebookConversionAPIKey?: string | null;
|
|
147
|
-
|
|
148
|
-
facebookPixelId?: string | null;
|
|
149
|
-
|
|
150
|
-
g4AnalyticsApiKey?: string | null;
|
|
151
|
-
|
|
152
|
-
g4AnalyticsMeasurementId?: string | null;
|
|
153
|
-
|
|
154
|
-
g4AnalyticsTrackOnPage?: boolean | null;
|
|
155
|
-
|
|
156
|
-
hashingSalt?: string | null;
|
|
157
|
-
|
|
158
|
-
httpDestinationUrl?: string | null;
|
|
159
|
-
|
|
160
|
-
limitedToSourceIds?: Array<string> | null;
|
|
161
|
-
|
|
162
|
-
managerGoogleCustomerId?: string | null;
|
|
163
|
-
|
|
164
|
-
name?: string | null;
|
|
165
|
-
|
|
166
|
-
projectAPIKey?: string | null;
|
|
167
|
-
|
|
168
|
-
projectToken?: string | null;
|
|
169
|
-
|
|
170
|
-
selectedAccountId?: string | null;
|
|
171
|
-
|
|
172
|
-
settings?: unknown | null;
|
|
173
|
-
|
|
174
|
-
updatedAt?: string | null;
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
export interface DestinationCreateResponse {
|
|
61
|
+
export interface DestinationListResponse {
|
|
179
62
|
id: string;
|
|
180
63
|
|
|
181
64
|
createdAt: string;
|
|
182
65
|
|
|
183
66
|
status: 'Disabled' | 'Enabled';
|
|
184
67
|
|
|
68
|
+
/**
|
|
69
|
+
* Destination type. Read responses may include warehouse or cloud-storage types
|
|
70
|
+
* that are not creatable through POST /rest/v1/destinations.
|
|
71
|
+
*/
|
|
185
72
|
type:
|
|
186
73
|
| 'AWSEventBridge'
|
|
187
74
|
| 'AWSKinesis'
|
|
@@ -190,6 +77,7 @@ export interface DestinationCreateResponse {
|
|
|
190
77
|
| 'AWSSNS'
|
|
191
78
|
| 'ActiveCampaignApi'
|
|
192
79
|
| 'Admitad'
|
|
80
|
+
| 'AdobeAnalytics'
|
|
193
81
|
| 'AmazonDSP'
|
|
194
82
|
| 'Amplitude'
|
|
195
83
|
| 'AppLovin'
|
|
@@ -258,18 +146,28 @@ export interface DestinationCreateResponse {
|
|
|
258
146
|
| 'Zendesk'
|
|
259
147
|
| 'ZoomInfo';
|
|
260
148
|
|
|
149
|
+
hashingSalt?: string | null;
|
|
150
|
+
|
|
151
|
+
limitedToSourceIds?: Array<string> | null;
|
|
152
|
+
|
|
261
153
|
name?: string | null;
|
|
262
154
|
|
|
155
|
+
settings?: unknown | null;
|
|
156
|
+
|
|
263
157
|
updatedAt?: string | null;
|
|
264
158
|
}
|
|
265
159
|
|
|
266
|
-
export interface
|
|
160
|
+
export interface DestinationCreateResponse {
|
|
267
161
|
id: string;
|
|
268
162
|
|
|
269
163
|
createdAt: string;
|
|
270
164
|
|
|
271
165
|
status: 'Disabled' | 'Enabled';
|
|
272
166
|
|
|
167
|
+
/**
|
|
168
|
+
* Destination type. Read responses may include warehouse or cloud-storage types
|
|
169
|
+
* that are not creatable through POST /rest/v1/destinations.
|
|
170
|
+
*/
|
|
273
171
|
type:
|
|
274
172
|
| 'AWSEventBridge'
|
|
275
173
|
| 'AWSKinesis'
|
|
@@ -278,6 +176,7 @@ export interface DestinationRetrieveResponse {
|
|
|
278
176
|
| 'AWSSNS'
|
|
279
177
|
| 'ActiveCampaignApi'
|
|
280
178
|
| 'Admitad'
|
|
179
|
+
| 'AdobeAnalytics'
|
|
281
180
|
| 'AmazonDSP'
|
|
282
181
|
| 'Amplitude'
|
|
283
182
|
| 'AppLovin'
|
|
@@ -346,44 +245,28 @@ export interface DestinationRetrieveResponse {
|
|
|
346
245
|
| 'Zendesk'
|
|
347
246
|
| 'ZoomInfo';
|
|
348
247
|
|
|
349
|
-
facebookConversionAPIKey?: string | null;
|
|
350
|
-
|
|
351
|
-
facebookPixelId?: string | null;
|
|
352
|
-
|
|
353
|
-
g4AnalyticsApiKey?: string | null;
|
|
354
|
-
|
|
355
|
-
g4AnalyticsMeasurementId?: string | null;
|
|
356
|
-
|
|
357
|
-
g4AnalyticsTrackOnPage?: boolean | null;
|
|
358
|
-
|
|
359
248
|
hashingSalt?: string | null;
|
|
360
249
|
|
|
361
|
-
httpDestinationUrl?: string | null;
|
|
362
|
-
|
|
363
250
|
limitedToSourceIds?: Array<string> | null;
|
|
364
251
|
|
|
365
|
-
managerGoogleCustomerId?: string | null;
|
|
366
|
-
|
|
367
252
|
name?: string | null;
|
|
368
253
|
|
|
369
|
-
projectAPIKey?: string | null;
|
|
370
|
-
|
|
371
|
-
projectToken?: string | null;
|
|
372
|
-
|
|
373
|
-
selectedAccountId?: string | null;
|
|
374
|
-
|
|
375
254
|
settings?: unknown | null;
|
|
376
255
|
|
|
377
256
|
updatedAt?: string | null;
|
|
378
257
|
}
|
|
379
258
|
|
|
380
|
-
export interface
|
|
259
|
+
export interface DestinationRetrieveResponse {
|
|
381
260
|
id: string;
|
|
382
261
|
|
|
383
262
|
createdAt: string;
|
|
384
263
|
|
|
385
264
|
status: 'Disabled' | 'Enabled';
|
|
386
265
|
|
|
266
|
+
/**
|
|
267
|
+
* Destination type. Read responses may include warehouse or cloud-storage types
|
|
268
|
+
* that are not creatable through POST /rest/v1/destinations.
|
|
269
|
+
*/
|
|
387
270
|
type:
|
|
388
271
|
| 'AWSEventBridge'
|
|
389
272
|
| 'AWSKinesis'
|
|
@@ -392,6 +275,7 @@ export interface DestinationUpdateResponse {
|
|
|
392
275
|
| 'AWSSNS'
|
|
393
276
|
| 'ActiveCampaignApi'
|
|
394
277
|
| 'Admitad'
|
|
278
|
+
| 'AdobeAnalytics'
|
|
395
279
|
| 'AmazonDSP'
|
|
396
280
|
| 'Amplitude'
|
|
397
281
|
| 'AppLovin'
|
|
@@ -460,14 +344,28 @@ export interface DestinationUpdateResponse {
|
|
|
460
344
|
| 'Zendesk'
|
|
461
345
|
| 'ZoomInfo';
|
|
462
346
|
|
|
347
|
+
hashingSalt?: string | null;
|
|
348
|
+
|
|
349
|
+
limitedToSourceIds?: Array<string> | null;
|
|
350
|
+
|
|
463
351
|
name?: string | null;
|
|
464
352
|
|
|
353
|
+
settings?: unknown | null;
|
|
354
|
+
|
|
465
355
|
updatedAt?: string | null;
|
|
466
356
|
}
|
|
467
357
|
|
|
468
|
-
export
|
|
358
|
+
export interface DestinationUpdateResponse {
|
|
359
|
+
id: string;
|
|
469
360
|
|
|
470
|
-
|
|
361
|
+
createdAt: string;
|
|
362
|
+
|
|
363
|
+
status: 'Disabled' | 'Enabled';
|
|
364
|
+
|
|
365
|
+
/**
|
|
366
|
+
* Destination type. Read responses may include warehouse or cloud-storage types
|
|
367
|
+
* that are not creatable through POST /rest/v1/destinations.
|
|
368
|
+
*/
|
|
471
369
|
type:
|
|
472
370
|
| 'AWSEventBridge'
|
|
473
371
|
| 'AWSKinesis'
|
|
@@ -476,6 +374,7 @@ export interface DestinationCreateParams {
|
|
|
476
374
|
| 'AWSSNS'
|
|
477
375
|
| 'ActiveCampaignApi'
|
|
478
376
|
| 'Admitad'
|
|
377
|
+
| 'AdobeAnalytics'
|
|
479
378
|
| 'AmazonDSP'
|
|
480
379
|
| 'Amplitude'
|
|
481
380
|
| 'AppLovin'
|
|
@@ -544,88 +443,202 @@ export interface DestinationCreateParams {
|
|
|
544
443
|
| 'Zendesk'
|
|
545
444
|
| 'ZoomInfo';
|
|
546
445
|
|
|
446
|
+
hashingSalt?: string | null;
|
|
447
|
+
|
|
448
|
+
limitedToSourceIds?: Array<string> | null;
|
|
449
|
+
|
|
547
450
|
name?: string | null;
|
|
451
|
+
|
|
452
|
+
settings?: unknown | null;
|
|
453
|
+
|
|
454
|
+
updatedAt?: string | null;
|
|
548
455
|
}
|
|
549
456
|
|
|
550
|
-
export
|
|
551
|
-
/**
|
|
552
|
-
* Query param
|
|
553
|
-
*/
|
|
554
|
-
settings_strategy?: 'merge' | 'replace';
|
|
457
|
+
export type DestinationDeleteResponse = boolean;
|
|
555
458
|
|
|
459
|
+
export interface DestinationListParams extends CursorParams {
|
|
556
460
|
/**
|
|
557
|
-
*
|
|
461
|
+
* Filter destinations by status.
|
|
558
462
|
*/
|
|
559
|
-
|
|
463
|
+
status?: 'Disabled' | 'Enabled';
|
|
560
464
|
|
|
561
465
|
/**
|
|
562
|
-
*
|
|
466
|
+
* Filter destinations by destination type.
|
|
563
467
|
*/
|
|
564
|
-
|
|
468
|
+
type?:
|
|
469
|
+
| 'AWSEventBridge'
|
|
470
|
+
| 'AWSKinesis'
|
|
471
|
+
| 'AWSLambda'
|
|
472
|
+
| 'AWSS3'
|
|
473
|
+
| 'AWSSNS'
|
|
474
|
+
| 'ActiveCampaignApi'
|
|
475
|
+
| 'Admitad'
|
|
476
|
+
| 'AdobeAnalytics'
|
|
477
|
+
| 'AmazonDSP'
|
|
478
|
+
| 'Amplitude'
|
|
479
|
+
| 'AppLovin'
|
|
480
|
+
| 'ArtsAI'
|
|
481
|
+
| 'Attentive'
|
|
482
|
+
| 'Audiohook'
|
|
483
|
+
| 'AzureBlob'
|
|
484
|
+
| 'BasisPostback'
|
|
485
|
+
| 'BeeswaxPostback'
|
|
486
|
+
| 'BingAds'
|
|
487
|
+
| 'BingAdsWeb'
|
|
488
|
+
| 'Braze'
|
|
489
|
+
| 'ConvertABTestingEvent'
|
|
490
|
+
| 'Customerio'
|
|
491
|
+
| 'DomoWarehouse'
|
|
492
|
+
| 'Everflow'
|
|
493
|
+
| 'Facebook'
|
|
494
|
+
| 'FloodlightSGTM'
|
|
495
|
+
| 'FullContact'
|
|
496
|
+
| 'G4Analytics'
|
|
497
|
+
| 'GA4MeasurementProtocol'
|
|
498
|
+
| 'GA4ServerProxy'
|
|
499
|
+
| 'Google'
|
|
500
|
+
| 'GoogleAds360'
|
|
501
|
+
| 'GoogleAdsServerContainer'
|
|
502
|
+
| 'GoogleBigQuery'
|
|
503
|
+
| 'GoogleBigQueryWarehouse'
|
|
504
|
+
| 'GoogleDataManagerEventIngest'
|
|
505
|
+
| 'GooglePubSub'
|
|
506
|
+
| 'GoogleStorage'
|
|
507
|
+
| 'HTTPCustomRequest'
|
|
508
|
+
| 'HTTPDestination'
|
|
509
|
+
| 'Hubspot'
|
|
510
|
+
| 'IHeartMediaMagellan'
|
|
511
|
+
| 'Impact'
|
|
512
|
+
| 'Iterable'
|
|
513
|
+
| 'Klaviyo'
|
|
514
|
+
| 'LinkedInAdsCAPI'
|
|
515
|
+
| 'LiveIntent'
|
|
516
|
+
| 'LiveRampWarehouse'
|
|
517
|
+
| 'Mailchimp'
|
|
518
|
+
| 'Mixpanel'
|
|
519
|
+
| 'NextdoorAds'
|
|
520
|
+
| 'OursSyntheticData'
|
|
521
|
+
| 'Partnerize'
|
|
522
|
+
| 'Pinterest'
|
|
523
|
+
| 'Plausible'
|
|
524
|
+
| 'Podscribe'
|
|
525
|
+
| 'PostHog'
|
|
526
|
+
| 'QuantcastCAPI'
|
|
527
|
+
| 'QuoraAds'
|
|
528
|
+
| 'Reddit'
|
|
529
|
+
| 'RokuCAPI'
|
|
530
|
+
| 'SnapchatAdsCapi'
|
|
531
|
+
| 'Spotify'
|
|
532
|
+
| 'StackAdaptAPI'
|
|
533
|
+
| 'Taboola'
|
|
534
|
+
| 'Tatari'
|
|
535
|
+
| 'TheTradeDesk'
|
|
536
|
+
| 'TikTok'
|
|
537
|
+
| 'VWO'
|
|
538
|
+
| 'Viant'
|
|
539
|
+
| 'Vibe'
|
|
540
|
+
| 'Woopra'
|
|
541
|
+
| 'XAds'
|
|
542
|
+
| 'Zendesk'
|
|
543
|
+
| 'ZoomInfo';
|
|
544
|
+
}
|
|
565
545
|
|
|
546
|
+
export interface DestinationCreateParams {
|
|
566
547
|
/**
|
|
567
|
-
*
|
|
548
|
+
* Event-dispatch destination type to create. Warehouse and cloud-storage
|
|
549
|
+
* destination types may appear on read responses but are not creatable through
|
|
550
|
+
* POST.
|
|
568
551
|
*/
|
|
569
|
-
|
|
552
|
+
type:
|
|
553
|
+
| 'Audiohook'
|
|
554
|
+
| 'BasisPostback'
|
|
555
|
+
| 'OursSyntheticData'
|
|
556
|
+
| 'FullContact'
|
|
557
|
+
| 'ZoomInfo'
|
|
558
|
+
| 'TheTradeDesk'
|
|
559
|
+
| 'Braze'
|
|
560
|
+
| 'LiveIntent'
|
|
561
|
+
| 'ConvertABTestingEvent'
|
|
562
|
+
| 'Customerio'
|
|
563
|
+
| 'BingAds'
|
|
564
|
+
| 'BingAdsWeb'
|
|
565
|
+
| 'HTTPDestination'
|
|
566
|
+
| 'Woopra'
|
|
567
|
+
| 'HTTPCustomRequest'
|
|
568
|
+
| 'Google'
|
|
569
|
+
| 'GoogleAdsServerContainer'
|
|
570
|
+
| 'G4Analytics'
|
|
571
|
+
| 'GA4ServerProxy'
|
|
572
|
+
| 'GA4MeasurementProtocol'
|
|
573
|
+
| 'GoogleAds360'
|
|
574
|
+
| 'Facebook'
|
|
575
|
+
| 'Mixpanel'
|
|
576
|
+
| 'Amplitude'
|
|
577
|
+
| 'TikTok'
|
|
578
|
+
| 'Reddit'
|
|
579
|
+
| 'Podscribe'
|
|
580
|
+
| 'Pinterest'
|
|
581
|
+
| 'Mailchimp'
|
|
582
|
+
| 'AWSKinesis'
|
|
583
|
+
| 'AWSLambda'
|
|
584
|
+
| 'GooglePubSub'
|
|
585
|
+
| 'LinkedInAdsCAPI'
|
|
586
|
+
| 'ActiveCampaignApi'
|
|
587
|
+
| 'StackAdaptAPI'
|
|
588
|
+
| 'Hubspot'
|
|
589
|
+
| 'Klaviyo'
|
|
590
|
+
| 'XAds'
|
|
591
|
+
| 'QuoraAds'
|
|
592
|
+
| 'SnapchatAdsCapi'
|
|
593
|
+
| 'Partnerize'
|
|
594
|
+
| 'NextdoorAds'
|
|
595
|
+
| 'Tatari'
|
|
596
|
+
| 'Viant'
|
|
597
|
+
| 'Impact'
|
|
598
|
+
| 'Spotify'
|
|
599
|
+
| 'Taboola'
|
|
600
|
+
| 'AmazonDSP'
|
|
601
|
+
| 'AppLovin'
|
|
602
|
+
| 'IHeartMediaMagellan'
|
|
603
|
+
| 'Vibe'
|
|
604
|
+
| 'GoogleDataManagerEventIngest'
|
|
605
|
+
| 'Zendesk'
|
|
606
|
+
| 'Iterable'
|
|
607
|
+
| 'ArtsAI'
|
|
608
|
+
| 'QuantcastCAPI'
|
|
609
|
+
| 'FloodlightSGTM'
|
|
610
|
+
| 'VWO'
|
|
611
|
+
| 'Attentive'
|
|
612
|
+
| 'Admitad'
|
|
613
|
+
| 'Plausible'
|
|
614
|
+
| 'PostHog'
|
|
615
|
+
| 'RokuCAPI'
|
|
616
|
+
| 'Everflow'
|
|
617
|
+
| 'BeeswaxPostback'
|
|
618
|
+
| 'AdobeAnalytics';
|
|
570
619
|
|
|
571
|
-
|
|
572
|
-
* Body param
|
|
573
|
-
*/
|
|
574
|
-
g4AnalyticsMeasurementId?: string | null;
|
|
620
|
+
name?: string | null;
|
|
575
621
|
|
|
576
622
|
/**
|
|
577
|
-
*
|
|
623
|
+
* Per-type configuration keys and values. Call GET /rest/v1/destination-types/{id}
|
|
624
|
+
* to get the valid keys for your destination type.
|
|
578
625
|
*/
|
|
579
|
-
|
|
626
|
+
settings?: unknown | null;
|
|
627
|
+
}
|
|
580
628
|
|
|
581
|
-
|
|
582
|
-
* Body param
|
|
583
|
-
*/
|
|
629
|
+
export interface DestinationUpdateParams {
|
|
584
630
|
hashingSalt?: string | null;
|
|
585
631
|
|
|
586
|
-
/**
|
|
587
|
-
* Body param
|
|
588
|
-
*/
|
|
589
|
-
httpDestinationUrl?: string | null;
|
|
590
|
-
|
|
591
|
-
/**
|
|
592
|
-
* Body param
|
|
593
|
-
*/
|
|
594
632
|
limitedToSourceIds?: Array<string> | null;
|
|
595
633
|
|
|
596
|
-
/**
|
|
597
|
-
* Body param
|
|
598
|
-
*/
|
|
599
|
-
managerGoogleCustomerId?: string | null;
|
|
600
|
-
|
|
601
|
-
/**
|
|
602
|
-
* Body param
|
|
603
|
-
*/
|
|
604
634
|
name?: string | null;
|
|
605
635
|
|
|
606
636
|
/**
|
|
607
|
-
*
|
|
608
|
-
|
|
609
|
-
projectAPIKey?: string | null;
|
|
610
|
-
|
|
611
|
-
/**
|
|
612
|
-
* Body param
|
|
613
|
-
*/
|
|
614
|
-
projectToken?: string | null;
|
|
615
|
-
|
|
616
|
-
/**
|
|
617
|
-
* Body param
|
|
618
|
-
*/
|
|
619
|
-
selectedAccountId?: string | null;
|
|
620
|
-
|
|
621
|
-
/**
|
|
622
|
-
* Body param
|
|
637
|
+
* Per-type configuration keys and values. Call GET /rest/v1/destination-types/{id}
|
|
638
|
+
* to get the valid keys for your destination type.
|
|
623
639
|
*/
|
|
624
640
|
settings?: unknown | null;
|
|
625
641
|
|
|
626
|
-
/**
|
|
627
|
-
* Body param
|
|
628
|
-
*/
|
|
629
642
|
status?: 'Disabled' | 'Enabled' | null;
|
|
630
643
|
}
|
|
631
644
|
|
|
@@ -636,6 +649,8 @@ export declare namespace Destinations {
|
|
|
636
649
|
type DestinationRetrieveResponse as DestinationRetrieveResponse,
|
|
637
650
|
type DestinationUpdateResponse as DestinationUpdateResponse,
|
|
638
651
|
type DestinationDeleteResponse as DestinationDeleteResponse,
|
|
652
|
+
type DestinationListResponsesCursor as DestinationListResponsesCursor,
|
|
653
|
+
type DestinationListParams as DestinationListParams,
|
|
639
654
|
type DestinationCreateParams as DestinationCreateParams,
|
|
640
655
|
type DestinationUpdateParams as DestinationUpdateParams,
|
|
641
656
|
};
|
package/src/resources/index.ts
CHANGED
|
@@ -19,6 +19,13 @@ export {
|
|
|
19
19
|
type ConsentSettingReplaceParams,
|
|
20
20
|
type ConsentSettingUpdateParams,
|
|
21
21
|
} from './consent-settings';
|
|
22
|
+
export {
|
|
23
|
+
DefaultMappings,
|
|
24
|
+
type DefaultMappingListResponse,
|
|
25
|
+
type DefaultMappingRetrieveResponse,
|
|
26
|
+
type DefaultMappingReplaceResponse,
|
|
27
|
+
type DefaultMappingReplaceParams,
|
|
28
|
+
} from './default-mappings';
|
|
22
29
|
export {
|
|
23
30
|
DestinationTypes,
|
|
24
31
|
type DestinationTypeListResponse,
|
|
@@ -31,8 +38,10 @@ export {
|
|
|
31
38
|
type DestinationRetrieveResponse,
|
|
32
39
|
type DestinationUpdateResponse,
|
|
33
40
|
type DestinationDeleteResponse,
|
|
41
|
+
type DestinationListParams,
|
|
34
42
|
type DestinationCreateParams,
|
|
35
43
|
type DestinationUpdateParams,
|
|
44
|
+
type DestinationListResponsesCursor,
|
|
36
45
|
} from './destinations';
|
|
37
46
|
export {
|
|
38
47
|
ExperimentSettings,
|
|
@@ -102,6 +111,21 @@ export {
|
|
|
102
111
|
type HeatmapPageSummaryParams,
|
|
103
112
|
type HeatmapPageListResponsesCursor,
|
|
104
113
|
} from './heatmap-pages';
|
|
114
|
+
export {
|
|
115
|
+
Locations,
|
|
116
|
+
type LocationListResponse,
|
|
117
|
+
type LocationCreateResponse,
|
|
118
|
+
type LocationUpdateResponse,
|
|
119
|
+
type LocationEmbedCodeResponse,
|
|
120
|
+
type LocationCreateParams,
|
|
121
|
+
type LocationUpdateParams,
|
|
122
|
+
type LocationEmbedCodeParams,
|
|
123
|
+
} from './locations';
|
|
124
|
+
export {
|
|
125
|
+
MappingTemplates,
|
|
126
|
+
type MappingTemplateListResponse,
|
|
127
|
+
type MappingTemplateListParams,
|
|
128
|
+
} from './mapping-templates';
|
|
105
129
|
export {
|
|
106
130
|
Mappings,
|
|
107
131
|
type MappingListResponse,
|
|
@@ -109,9 +133,11 @@ export {
|
|
|
109
133
|
type MappingRetrieveResponse,
|
|
110
134
|
type MappingUpdateResponse,
|
|
111
135
|
type MappingDeleteResponse,
|
|
136
|
+
type MappingReorderResponse,
|
|
112
137
|
type MappingListParams,
|
|
113
138
|
type MappingCreateParams,
|
|
114
139
|
type MappingUpdateParams,
|
|
140
|
+
type MappingReorderParams,
|
|
115
141
|
type MappingListResponsesCursor,
|
|
116
142
|
} from './mappings';
|
|
117
143
|
export {
|
|
@@ -152,3 +178,25 @@ export {
|
|
|
152
178
|
type VersionDiffParams,
|
|
153
179
|
type VersionListResponsesCursor,
|
|
154
180
|
} from './versions';
|
|
181
|
+
export {
|
|
182
|
+
WebScannerRules,
|
|
183
|
+
type WebScannerRuleListResponse,
|
|
184
|
+
type WebScannerRuleCreateResponse,
|
|
185
|
+
type WebScannerRuleRetrieveResponse,
|
|
186
|
+
type WebScannerRuleUpdateResponse,
|
|
187
|
+
type WebScannerRuleDeleteResponse,
|
|
188
|
+
type WebScannerRuleListParams,
|
|
189
|
+
type WebScannerRuleCreateParams,
|
|
190
|
+
type WebScannerRuleUpdateParams,
|
|
191
|
+
} from './web-scanner-rules';
|
|
192
|
+
export {
|
|
193
|
+
WebScanners,
|
|
194
|
+
type WebScannerListResponse,
|
|
195
|
+
type WebScannerCreateResponse,
|
|
196
|
+
type WebScannerRetrieveResponse,
|
|
197
|
+
type WebScannerUpdateResponse,
|
|
198
|
+
type WebScannerDeleteResponse,
|
|
199
|
+
type WebScannerTriggerResponse,
|
|
200
|
+
type WebScannerCreateParams,
|
|
201
|
+
type WebScannerUpdateParams,
|
|
202
|
+
} from './web-scanners';
|