@oursprivacy/platform-sdk 1.18.0 → 1.20.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 +21 -0
- package/README.md +8 -12
- package/client.d.mts +14 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +14 -2
- package/client.d.ts.map +1 -1
- package/client.js +12 -0
- package/client.js.map +1 -1
- package/client.mjs +12 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/destination-types.d.mts +146 -0
- package/resources/destination-types.d.mts.map +1 -0
- package/resources/destination-types.d.ts +146 -0
- package/resources/destination-types.d.ts.map +1 -0
- package/resources/destination-types.js +28 -0
- package/resources/destination-types.js.map +1 -0
- package/resources/destination-types.mjs +24 -0
- package/resources/destination-types.mjs.map +1 -0
- package/resources/destinations.d.mts +67 -52
- package/resources/destinations.d.mts.map +1 -1
- package/resources/destinations.d.ts +67 -52
- package/resources/destinations.d.ts.map +1 -1
- package/resources/destinations.js +9 -3
- package/resources/destinations.js.map +1 -1
- package/resources/destinations.mjs +9 -3
- package/resources/destinations.mjs.map +1 -1
- package/resources/index.d.mts +5 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +5 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +9 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +4 -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/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/src/client.ts +90 -0
- package/src/resources/destination-types.ts +373 -0
- package/src/resources/destinations.ts +239 -161
- package/src/resources/index.ts +39 -0
- package/src/resources/locations.ts +463 -0
- package/src/resources/web-scanner-rules.ts +304 -0
- package/src/resources/web-scanners.ts +333 -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
|
@@ -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
|
/**
|
|
@@ -28,7 +35,9 @@ export class Destinations extends APIResource {
|
|
|
28
35
|
}
|
|
29
36
|
|
|
30
37
|
/**
|
|
31
|
-
* Partially update a destination. Only the fields you send are changed
|
|
38
|
+
* Partially update a destination. Only the fields you send are changed; omitted
|
|
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
|
|
32
41
|
* scope: destination:update
|
|
33
42
|
*/
|
|
34
43
|
update(
|
|
@@ -47,132 +56,19 @@ export class Destinations extends APIResource {
|
|
|
47
56
|
}
|
|
48
57
|
}
|
|
49
58
|
|
|
50
|
-
export
|
|
51
|
-
entities: Array<DestinationListResponse.Entity>;
|
|
52
|
-
}
|
|
59
|
+
export type DestinationListResponsesCursor = Cursor<DestinationListResponse>;
|
|
53
60
|
|
|
54
|
-
export
|
|
55
|
-
export interface Entity {
|
|
56
|
-
id: string;
|
|
57
|
-
|
|
58
|
-
createdAt: string;
|
|
59
|
-
|
|
60
|
-
status: 'Disabled' | 'Enabled';
|
|
61
|
-
|
|
62
|
-
type:
|
|
63
|
-
| 'AWSEventBridge'
|
|
64
|
-
| 'AWSKinesis'
|
|
65
|
-
| 'AWSLambda'
|
|
66
|
-
| 'AWSS3'
|
|
67
|
-
| 'AWSSNS'
|
|
68
|
-
| 'ActiveCampaignApi'
|
|
69
|
-
| 'Admitad'
|
|
70
|
-
| 'AmazonDSP'
|
|
71
|
-
| 'Amplitude'
|
|
72
|
-
| 'AppLovin'
|
|
73
|
-
| 'ArtsAI'
|
|
74
|
-
| 'Attentive'
|
|
75
|
-
| 'Audiohook'
|
|
76
|
-
| 'AzureBlob'
|
|
77
|
-
| 'BasisPostback'
|
|
78
|
-
| 'BingAds'
|
|
79
|
-
| 'BingAdsWeb'
|
|
80
|
-
| 'Braze'
|
|
81
|
-
| 'ConvertABTestingEvent'
|
|
82
|
-
| 'Customerio'
|
|
83
|
-
| 'DomoWarehouse'
|
|
84
|
-
| 'Everflow'
|
|
85
|
-
| 'Facebook'
|
|
86
|
-
| 'FloodlightSGTM'
|
|
87
|
-
| 'FullContact'
|
|
88
|
-
| 'G4Analytics'
|
|
89
|
-
| 'GA4MeasurementProtocol'
|
|
90
|
-
| 'GA4ServerProxy'
|
|
91
|
-
| 'Google'
|
|
92
|
-
| 'GoogleAds360'
|
|
93
|
-
| 'GoogleAdsServerContainer'
|
|
94
|
-
| 'GoogleBigQuery'
|
|
95
|
-
| 'GoogleBigQueryWarehouse'
|
|
96
|
-
| 'GoogleDataManagerEventIngest'
|
|
97
|
-
| 'GooglePubSub'
|
|
98
|
-
| 'GoogleStorage'
|
|
99
|
-
| 'HTTPCustomRequest'
|
|
100
|
-
| 'HTTPDestination'
|
|
101
|
-
| 'Hubspot'
|
|
102
|
-
| 'IHeartMediaMagellan'
|
|
103
|
-
| 'Impact'
|
|
104
|
-
| 'Iterable'
|
|
105
|
-
| 'Klaviyo'
|
|
106
|
-
| 'LinkedInAdsCAPI'
|
|
107
|
-
| 'LiveIntent'
|
|
108
|
-
| 'LiveRampWarehouse'
|
|
109
|
-
| 'Mailchimp'
|
|
110
|
-
| 'Mixpanel'
|
|
111
|
-
| 'NextdoorAds'
|
|
112
|
-
| 'OursSyntheticData'
|
|
113
|
-
| 'Partnerize'
|
|
114
|
-
| 'Pinterest'
|
|
115
|
-
| 'Plausible'
|
|
116
|
-
| 'Podscribe'
|
|
117
|
-
| 'PostHog'
|
|
118
|
-
| 'QuantcastCAPI'
|
|
119
|
-
| 'QuoraAds'
|
|
120
|
-
| 'Reddit'
|
|
121
|
-
| 'RokuCAPI'
|
|
122
|
-
| 'SnapchatAdsCapi'
|
|
123
|
-
| 'Spotify'
|
|
124
|
-
| 'StackAdaptAPI'
|
|
125
|
-
| 'Taboola'
|
|
126
|
-
| 'Tatari'
|
|
127
|
-
| 'TheTradeDesk'
|
|
128
|
-
| 'TikTok'
|
|
129
|
-
| 'VWO'
|
|
130
|
-
| 'Viant'
|
|
131
|
-
| 'Vibe'
|
|
132
|
-
| 'Woopra'
|
|
133
|
-
| 'XAds'
|
|
134
|
-
| 'Zendesk'
|
|
135
|
-
| 'ZoomInfo';
|
|
136
|
-
|
|
137
|
-
facebookConversionAPIKey?: string | null;
|
|
138
|
-
|
|
139
|
-
facebookPixelId?: string | null;
|
|
140
|
-
|
|
141
|
-
g4AnalyticsApiKey?: string | null;
|
|
142
|
-
|
|
143
|
-
g4AnalyticsMeasurementId?: string | null;
|
|
144
|
-
|
|
145
|
-
g4AnalyticsTrackOnPage?: boolean | null;
|
|
146
|
-
|
|
147
|
-
hashingSalt?: string | null;
|
|
148
|
-
|
|
149
|
-
httpDestinationUrl?: string | null;
|
|
150
|
-
|
|
151
|
-
limitedToSourceIds?: Array<string> | null;
|
|
152
|
-
|
|
153
|
-
managerGoogleCustomerId?: string | null;
|
|
154
|
-
|
|
155
|
-
name?: string | null;
|
|
156
|
-
|
|
157
|
-
projectAPIKey?: string | null;
|
|
158
|
-
|
|
159
|
-
projectToken?: string | null;
|
|
160
|
-
|
|
161
|
-
selectedAccountId?: string | null;
|
|
162
|
-
|
|
163
|
-
settings?: unknown | null;
|
|
164
|
-
|
|
165
|
-
updatedAt?: string | null;
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
export interface DestinationCreateResponse {
|
|
61
|
+
export interface DestinationListResponse {
|
|
170
62
|
id: string;
|
|
171
63
|
|
|
172
64
|
createdAt: string;
|
|
173
65
|
|
|
174
66
|
status: 'Disabled' | 'Enabled';
|
|
175
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
|
+
*/
|
|
176
72
|
type:
|
|
177
73
|
| 'AWSEventBridge'
|
|
178
74
|
| 'AWSKinesis'
|
|
@@ -181,6 +77,7 @@ export interface DestinationCreateResponse {
|
|
|
181
77
|
| 'AWSSNS'
|
|
182
78
|
| 'ActiveCampaignApi'
|
|
183
79
|
| 'Admitad'
|
|
80
|
+
| 'AdobeAnalytics'
|
|
184
81
|
| 'AmazonDSP'
|
|
185
82
|
| 'Amplitude'
|
|
186
83
|
| 'AppLovin'
|
|
@@ -189,6 +86,7 @@ export interface DestinationCreateResponse {
|
|
|
189
86
|
| 'Audiohook'
|
|
190
87
|
| 'AzureBlob'
|
|
191
88
|
| 'BasisPostback'
|
|
89
|
+
| 'BeeswaxPostback'
|
|
192
90
|
| 'BingAds'
|
|
193
91
|
| 'BingAdsWeb'
|
|
194
92
|
| 'Braze'
|
|
@@ -248,18 +146,28 @@ export interface DestinationCreateResponse {
|
|
|
248
146
|
| 'Zendesk'
|
|
249
147
|
| 'ZoomInfo';
|
|
250
148
|
|
|
149
|
+
hashingSalt?: string | null;
|
|
150
|
+
|
|
151
|
+
limitedToSourceIds?: Array<string> | null;
|
|
152
|
+
|
|
251
153
|
name?: string | null;
|
|
252
154
|
|
|
155
|
+
settings?: unknown | null;
|
|
156
|
+
|
|
253
157
|
updatedAt?: string | null;
|
|
254
158
|
}
|
|
255
159
|
|
|
256
|
-
export interface
|
|
160
|
+
export interface DestinationCreateResponse {
|
|
257
161
|
id: string;
|
|
258
162
|
|
|
259
163
|
createdAt: string;
|
|
260
164
|
|
|
261
165
|
status: 'Disabled' | 'Enabled';
|
|
262
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
|
+
*/
|
|
263
171
|
type:
|
|
264
172
|
| 'AWSEventBridge'
|
|
265
173
|
| 'AWSKinesis'
|
|
@@ -268,6 +176,7 @@ export interface DestinationRetrieveResponse {
|
|
|
268
176
|
| 'AWSSNS'
|
|
269
177
|
| 'ActiveCampaignApi'
|
|
270
178
|
| 'Admitad'
|
|
179
|
+
| 'AdobeAnalytics'
|
|
271
180
|
| 'AmazonDSP'
|
|
272
181
|
| 'Amplitude'
|
|
273
182
|
| 'AppLovin'
|
|
@@ -276,6 +185,7 @@ export interface DestinationRetrieveResponse {
|
|
|
276
185
|
| 'Audiohook'
|
|
277
186
|
| 'AzureBlob'
|
|
278
187
|
| 'BasisPostback'
|
|
188
|
+
| 'BeeswaxPostback'
|
|
279
189
|
| 'BingAds'
|
|
280
190
|
| 'BingAdsWeb'
|
|
281
191
|
| 'Braze'
|
|
@@ -335,31 +245,110 @@ export interface DestinationRetrieveResponse {
|
|
|
335
245
|
| 'Zendesk'
|
|
336
246
|
| 'ZoomInfo';
|
|
337
247
|
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
facebookPixelId?: string | null;
|
|
248
|
+
hashingSalt?: string | null;
|
|
341
249
|
|
|
342
|
-
|
|
250
|
+
limitedToSourceIds?: Array<string> | null;
|
|
343
251
|
|
|
344
|
-
|
|
252
|
+
name?: string | null;
|
|
345
253
|
|
|
346
|
-
|
|
254
|
+
settings?: unknown | null;
|
|
347
255
|
|
|
348
|
-
|
|
256
|
+
updatedAt?: string | null;
|
|
257
|
+
}
|
|
349
258
|
|
|
350
|
-
|
|
259
|
+
export interface DestinationRetrieveResponse {
|
|
260
|
+
id: string;
|
|
351
261
|
|
|
352
|
-
|
|
262
|
+
createdAt: string;
|
|
353
263
|
|
|
354
|
-
|
|
264
|
+
status: 'Disabled' | 'Enabled';
|
|
355
265
|
|
|
356
|
-
|
|
266
|
+
/**
|
|
267
|
+
* Destination type. Read responses may include warehouse or cloud-storage types
|
|
268
|
+
* that are not creatable through POST /rest/v1/destinations.
|
|
269
|
+
*/
|
|
270
|
+
type:
|
|
271
|
+
| 'AWSEventBridge'
|
|
272
|
+
| 'AWSKinesis'
|
|
273
|
+
| 'AWSLambda'
|
|
274
|
+
| 'AWSS3'
|
|
275
|
+
| 'AWSSNS'
|
|
276
|
+
| 'ActiveCampaignApi'
|
|
277
|
+
| 'Admitad'
|
|
278
|
+
| 'AdobeAnalytics'
|
|
279
|
+
| 'AmazonDSP'
|
|
280
|
+
| 'Amplitude'
|
|
281
|
+
| 'AppLovin'
|
|
282
|
+
| 'ArtsAI'
|
|
283
|
+
| 'Attentive'
|
|
284
|
+
| 'Audiohook'
|
|
285
|
+
| 'AzureBlob'
|
|
286
|
+
| 'BasisPostback'
|
|
287
|
+
| 'BeeswaxPostback'
|
|
288
|
+
| 'BingAds'
|
|
289
|
+
| 'BingAdsWeb'
|
|
290
|
+
| 'Braze'
|
|
291
|
+
| 'ConvertABTestingEvent'
|
|
292
|
+
| 'Customerio'
|
|
293
|
+
| 'DomoWarehouse'
|
|
294
|
+
| 'Everflow'
|
|
295
|
+
| 'Facebook'
|
|
296
|
+
| 'FloodlightSGTM'
|
|
297
|
+
| 'FullContact'
|
|
298
|
+
| 'G4Analytics'
|
|
299
|
+
| 'GA4MeasurementProtocol'
|
|
300
|
+
| 'GA4ServerProxy'
|
|
301
|
+
| 'Google'
|
|
302
|
+
| 'GoogleAds360'
|
|
303
|
+
| 'GoogleAdsServerContainer'
|
|
304
|
+
| 'GoogleBigQuery'
|
|
305
|
+
| 'GoogleBigQueryWarehouse'
|
|
306
|
+
| 'GoogleDataManagerEventIngest'
|
|
307
|
+
| 'GooglePubSub'
|
|
308
|
+
| 'GoogleStorage'
|
|
309
|
+
| 'HTTPCustomRequest'
|
|
310
|
+
| 'HTTPDestination'
|
|
311
|
+
| 'Hubspot'
|
|
312
|
+
| 'IHeartMediaMagellan'
|
|
313
|
+
| 'Impact'
|
|
314
|
+
| 'Iterable'
|
|
315
|
+
| 'Klaviyo'
|
|
316
|
+
| 'LinkedInAdsCAPI'
|
|
317
|
+
| 'LiveIntent'
|
|
318
|
+
| 'LiveRampWarehouse'
|
|
319
|
+
| 'Mailchimp'
|
|
320
|
+
| 'Mixpanel'
|
|
321
|
+
| 'NextdoorAds'
|
|
322
|
+
| 'OursSyntheticData'
|
|
323
|
+
| 'Partnerize'
|
|
324
|
+
| 'Pinterest'
|
|
325
|
+
| 'Plausible'
|
|
326
|
+
| 'Podscribe'
|
|
327
|
+
| 'PostHog'
|
|
328
|
+
| 'QuantcastCAPI'
|
|
329
|
+
| 'QuoraAds'
|
|
330
|
+
| 'Reddit'
|
|
331
|
+
| 'RokuCAPI'
|
|
332
|
+
| 'SnapchatAdsCapi'
|
|
333
|
+
| 'Spotify'
|
|
334
|
+
| 'StackAdaptAPI'
|
|
335
|
+
| 'Taboola'
|
|
336
|
+
| 'Tatari'
|
|
337
|
+
| 'TheTradeDesk'
|
|
338
|
+
| 'TikTok'
|
|
339
|
+
| 'VWO'
|
|
340
|
+
| 'Viant'
|
|
341
|
+
| 'Vibe'
|
|
342
|
+
| 'Woopra'
|
|
343
|
+
| 'XAds'
|
|
344
|
+
| 'Zendesk'
|
|
345
|
+
| 'ZoomInfo';
|
|
357
346
|
|
|
358
|
-
|
|
347
|
+
hashingSalt?: string | null;
|
|
359
348
|
|
|
360
|
-
|
|
349
|
+
limitedToSourceIds?: Array<string> | null;
|
|
361
350
|
|
|
362
|
-
|
|
351
|
+
name?: string | null;
|
|
363
352
|
|
|
364
353
|
settings?: unknown | null;
|
|
365
354
|
|
|
@@ -373,6 +362,10 @@ export interface DestinationUpdateResponse {
|
|
|
373
362
|
|
|
374
363
|
status: 'Disabled' | 'Enabled';
|
|
375
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
|
+
*/
|
|
376
369
|
type:
|
|
377
370
|
| 'AWSEventBridge'
|
|
378
371
|
| 'AWSKinesis'
|
|
@@ -381,6 +374,7 @@ export interface DestinationUpdateResponse {
|
|
|
381
374
|
| 'AWSSNS'
|
|
382
375
|
| 'ActiveCampaignApi'
|
|
383
376
|
| 'Admitad'
|
|
377
|
+
| 'AdobeAnalytics'
|
|
384
378
|
| 'AmazonDSP'
|
|
385
379
|
| 'Amplitude'
|
|
386
380
|
| 'AppLovin'
|
|
@@ -389,6 +383,7 @@ export interface DestinationUpdateResponse {
|
|
|
389
383
|
| 'Audiohook'
|
|
390
384
|
| 'AzureBlob'
|
|
391
385
|
| 'BasisPostback'
|
|
386
|
+
| 'BeeswaxPostback'
|
|
392
387
|
| 'BingAds'
|
|
393
388
|
| 'BingAdsWeb'
|
|
394
389
|
| 'Braze'
|
|
@@ -448,15 +443,29 @@ export interface DestinationUpdateResponse {
|
|
|
448
443
|
| 'Zendesk'
|
|
449
444
|
| 'ZoomInfo';
|
|
450
445
|
|
|
446
|
+
hashingSalt?: string | null;
|
|
447
|
+
|
|
448
|
+
limitedToSourceIds?: Array<string> | null;
|
|
449
|
+
|
|
451
450
|
name?: string | null;
|
|
452
451
|
|
|
452
|
+
settings?: unknown | null;
|
|
453
|
+
|
|
453
454
|
updatedAt?: string | null;
|
|
454
455
|
}
|
|
455
456
|
|
|
456
457
|
export type DestinationDeleteResponse = boolean;
|
|
457
458
|
|
|
458
|
-
export interface
|
|
459
|
-
|
|
459
|
+
export interface DestinationListParams extends CursorParams {
|
|
460
|
+
/**
|
|
461
|
+
* Filter destinations by status.
|
|
462
|
+
*/
|
|
463
|
+
status?: 'Disabled' | 'Enabled';
|
|
464
|
+
|
|
465
|
+
/**
|
|
466
|
+
* Filter destinations by destination type.
|
|
467
|
+
*/
|
|
468
|
+
type?:
|
|
460
469
|
| 'AWSEventBridge'
|
|
461
470
|
| 'AWSKinesis'
|
|
462
471
|
| 'AWSLambda'
|
|
@@ -464,6 +473,7 @@ export interface DestinationCreateParams {
|
|
|
464
473
|
| 'AWSSNS'
|
|
465
474
|
| 'ActiveCampaignApi'
|
|
466
475
|
| 'Admitad'
|
|
476
|
+
| 'AdobeAnalytics'
|
|
467
477
|
| 'AmazonDSP'
|
|
468
478
|
| 'Amplitude'
|
|
469
479
|
| 'AppLovin'
|
|
@@ -472,6 +482,7 @@ export interface DestinationCreateParams {
|
|
|
472
482
|
| 'Audiohook'
|
|
473
483
|
| 'AzureBlob'
|
|
474
484
|
| 'BasisPostback'
|
|
485
|
+
| 'BeeswaxPostback'
|
|
475
486
|
| 'BingAds'
|
|
476
487
|
| 'BingAdsWeb'
|
|
477
488
|
| 'Braze'
|
|
@@ -530,40 +541,105 @@ export interface DestinationCreateParams {
|
|
|
530
541
|
| 'XAds'
|
|
531
542
|
| 'Zendesk'
|
|
532
543
|
| 'ZoomInfo';
|
|
533
|
-
|
|
534
|
-
name?: string | null;
|
|
535
544
|
}
|
|
536
545
|
|
|
537
|
-
export interface
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
546
|
+
export interface DestinationCreateParams {
|
|
547
|
+
/**
|
|
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.
|
|
551
|
+
*/
|
|
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';
|
|
545
619
|
|
|
546
|
-
|
|
620
|
+
name?: string | null;
|
|
547
621
|
|
|
548
|
-
|
|
622
|
+
/**
|
|
623
|
+
* Per-type configuration keys and values. Call GET /rest/v1/destination-types/{id}
|
|
624
|
+
* to get the valid keys for your destination type.
|
|
625
|
+
*/
|
|
626
|
+
settings?: unknown | null;
|
|
627
|
+
}
|
|
549
628
|
|
|
629
|
+
export interface DestinationUpdateParams {
|
|
550
630
|
hashingSalt?: string | null;
|
|
551
631
|
|
|
552
|
-
httpDestinationUrl?: string | null;
|
|
553
|
-
|
|
554
632
|
limitedToSourceIds?: Array<string> | null;
|
|
555
633
|
|
|
556
|
-
managerGoogleCustomerId?: string | null;
|
|
557
|
-
|
|
558
634
|
name?: string | null;
|
|
559
635
|
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
selectedAccountId?: string | null;
|
|
565
|
-
|
|
636
|
+
/**
|
|
637
|
+
* Per-type configuration keys and values. Call GET /rest/v1/destination-types/{id}
|
|
638
|
+
* to get the valid keys for your destination type.
|
|
639
|
+
*/
|
|
566
640
|
settings?: unknown | null;
|
|
641
|
+
|
|
642
|
+
status?: 'Disabled' | 'Enabled' | null;
|
|
567
643
|
}
|
|
568
644
|
|
|
569
645
|
export declare namespace Destinations {
|
|
@@ -573,6 +649,8 @@ export declare namespace Destinations {
|
|
|
573
649
|
type DestinationRetrieveResponse as DestinationRetrieveResponse,
|
|
574
650
|
type DestinationUpdateResponse as DestinationUpdateResponse,
|
|
575
651
|
type DestinationDeleteResponse as DestinationDeleteResponse,
|
|
652
|
+
type DestinationListResponsesCursor as DestinationListResponsesCursor,
|
|
653
|
+
type DestinationListParams as DestinationListParams,
|
|
576
654
|
type DestinationCreateParams as DestinationCreateParams,
|
|
577
655
|
type DestinationUpdateParams as DestinationUpdateParams,
|
|
578
656
|
};
|
package/src/resources/index.ts
CHANGED
|
@@ -19,6 +19,11 @@ export {
|
|
|
19
19
|
type ConsentSettingReplaceParams,
|
|
20
20
|
type ConsentSettingUpdateParams,
|
|
21
21
|
} from './consent-settings';
|
|
22
|
+
export {
|
|
23
|
+
DestinationTypes,
|
|
24
|
+
type DestinationTypeListResponse,
|
|
25
|
+
type DestinationTypeRetrieveResponse,
|
|
26
|
+
} from './destination-types';
|
|
22
27
|
export {
|
|
23
28
|
Destinations,
|
|
24
29
|
type DestinationListResponse,
|
|
@@ -26,8 +31,10 @@ export {
|
|
|
26
31
|
type DestinationRetrieveResponse,
|
|
27
32
|
type DestinationUpdateResponse,
|
|
28
33
|
type DestinationDeleteResponse,
|
|
34
|
+
type DestinationListParams,
|
|
29
35
|
type DestinationCreateParams,
|
|
30
36
|
type DestinationUpdateParams,
|
|
37
|
+
type DestinationListResponsesCursor,
|
|
31
38
|
} from './destinations';
|
|
32
39
|
export {
|
|
33
40
|
ExperimentSettings,
|
|
@@ -97,6 +104,16 @@ export {
|
|
|
97
104
|
type HeatmapPageSummaryParams,
|
|
98
105
|
type HeatmapPageListResponsesCursor,
|
|
99
106
|
} from './heatmap-pages';
|
|
107
|
+
export {
|
|
108
|
+
Locations,
|
|
109
|
+
type LocationListResponse,
|
|
110
|
+
type LocationCreateResponse,
|
|
111
|
+
type LocationUpdateResponse,
|
|
112
|
+
type LocationEmbedCodeResponse,
|
|
113
|
+
type LocationCreateParams,
|
|
114
|
+
type LocationUpdateParams,
|
|
115
|
+
type LocationEmbedCodeParams,
|
|
116
|
+
} from './locations';
|
|
100
117
|
export {
|
|
101
118
|
Mappings,
|
|
102
119
|
type MappingListResponse,
|
|
@@ -147,3 +164,25 @@ export {
|
|
|
147
164
|
type VersionDiffParams,
|
|
148
165
|
type VersionListResponsesCursor,
|
|
149
166
|
} from './versions';
|
|
167
|
+
export {
|
|
168
|
+
WebScannerRules,
|
|
169
|
+
type WebScannerRuleListResponse,
|
|
170
|
+
type WebScannerRuleCreateResponse,
|
|
171
|
+
type WebScannerRuleRetrieveResponse,
|
|
172
|
+
type WebScannerRuleUpdateResponse,
|
|
173
|
+
type WebScannerRuleDeleteResponse,
|
|
174
|
+
type WebScannerRuleListParams,
|
|
175
|
+
type WebScannerRuleCreateParams,
|
|
176
|
+
type WebScannerRuleUpdateParams,
|
|
177
|
+
} from './web-scanner-rules';
|
|
178
|
+
export {
|
|
179
|
+
WebScanners,
|
|
180
|
+
type WebScannerListResponse,
|
|
181
|
+
type WebScannerCreateResponse,
|
|
182
|
+
type WebScannerRetrieveResponse,
|
|
183
|
+
type WebScannerUpdateResponse,
|
|
184
|
+
type WebScannerDeleteResponse,
|
|
185
|
+
type WebScannerTriggerResponse,
|
|
186
|
+
type WebScannerCreateParams,
|
|
187
|
+
type WebScannerUpdateParams,
|
|
188
|
+
} from './web-scanners';
|