@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
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { APIResource } from "../core/resource.mjs";
|
|
2
2
|
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
|
+
import { Cursor, type CursorParams, PagePromise } from "../core/pagination.mjs";
|
|
3
4
|
import { RequestOptions } from "../internal/request-options.mjs";
|
|
4
5
|
export declare class Destinations extends APIResource {
|
|
5
6
|
/**
|
|
6
7
|
* List all destinations. Requires scope: destination:list
|
|
7
8
|
*/
|
|
8
|
-
list(options?: RequestOptions):
|
|
9
|
+
list(query?: DestinationListParams | null | undefined, options?: RequestOptions): PagePromise<DestinationListResponsesCursor, DestinationListResponse>;
|
|
9
10
|
/**
|
|
10
11
|
* Create a new destination. Requires scope: destination:create
|
|
11
12
|
*/
|
|
@@ -16,69 +17,59 @@ export declare class Destinations extends APIResource {
|
|
|
16
17
|
retrieve(id: string, options?: RequestOptions): APIPromise<DestinationRetrieveResponse>;
|
|
17
18
|
/**
|
|
18
19
|
* Partially update a destination. Only the fields you send are changed; omitted
|
|
19
|
-
* fields are unchanged. The `settings` object is
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
* Requires scope: destination:update
|
|
20
|
+
* fields are unchanged. The `settings` object is patch-only: omitted keys keep
|
|
21
|
+
* their current value, and send `null` to clear a specific setting. Requires
|
|
22
|
+
* scope: destination:update
|
|
23
23
|
*/
|
|
24
|
-
update(id: string,
|
|
24
|
+
update(id: string, body: DestinationUpdateParams, options?: RequestOptions): APIPromise<DestinationUpdateResponse>;
|
|
25
25
|
/**
|
|
26
26
|
* Delete a destination. Requires scope: destination:delete
|
|
27
27
|
*/
|
|
28
28
|
delete(id: string, options?: RequestOptions): APIPromise<DestinationDeleteResponse>;
|
|
29
29
|
}
|
|
30
|
+
export type DestinationListResponsesCursor = Cursor<DestinationListResponse>;
|
|
30
31
|
export interface DestinationListResponse {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
hashingSalt?: string | null;
|
|
45
|
-
httpDestinationUrl?: string | null;
|
|
46
|
-
limitedToSourceIds?: Array<string> | null;
|
|
47
|
-
managerGoogleCustomerId?: string | null;
|
|
48
|
-
name?: string | null;
|
|
49
|
-
projectAPIKey?: string | null;
|
|
50
|
-
projectToken?: string | null;
|
|
51
|
-
selectedAccountId?: string | null;
|
|
52
|
-
settings?: unknown | null;
|
|
53
|
-
updatedAt?: string | null;
|
|
54
|
-
}
|
|
32
|
+
id: string;
|
|
33
|
+
createdAt: string;
|
|
34
|
+
status: 'Disabled' | 'Enabled';
|
|
35
|
+
/**
|
|
36
|
+
* Destination type. Read responses may include warehouse or cloud-storage types
|
|
37
|
+
* that are not creatable through POST /rest/v1/destinations.
|
|
38
|
+
*/
|
|
39
|
+
type: 'AWSEventBridge' | 'AWSKinesis' | 'AWSLambda' | 'AWSS3' | 'AWSSNS' | 'ActiveCampaignApi' | 'Admitad' | 'AdobeAnalytics' | 'AmazonDSP' | 'Amplitude' | 'AppLovin' | 'ArtsAI' | 'Attentive' | 'Audiohook' | 'AzureBlob' | 'BasisPostback' | 'BeeswaxPostback' | 'BingAds' | 'BingAdsWeb' | 'Braze' | 'ConvertABTestingEvent' | 'Customerio' | 'DomoWarehouse' | 'Everflow' | 'Facebook' | 'FloodlightSGTM' | 'FullContact' | 'G4Analytics' | 'GA4MeasurementProtocol' | 'GA4ServerProxy' | 'Google' | 'GoogleAds360' | 'GoogleAdsServerContainer' | 'GoogleBigQuery' | 'GoogleBigQueryWarehouse' | 'GoogleDataManagerEventIngest' | 'GooglePubSub' | 'GoogleStorage' | 'HTTPCustomRequest' | 'HTTPDestination' | 'Hubspot' | 'IHeartMediaMagellan' | 'Impact' | 'Iterable' | 'Klaviyo' | 'LinkedInAdsCAPI' | 'LiveIntent' | 'LiveRampWarehouse' | 'Mailchimp' | 'Mixpanel' | 'NextdoorAds' | 'OursSyntheticData' | 'Partnerize' | 'Pinterest' | 'Plausible' | 'Podscribe' | 'PostHog' | 'QuantcastCAPI' | 'QuoraAds' | 'Reddit' | 'RokuCAPI' | 'SnapchatAdsCapi' | 'Spotify' | 'StackAdaptAPI' | 'Taboola' | 'Tatari' | 'TheTradeDesk' | 'TikTok' | 'VWO' | 'Viant' | 'Vibe' | 'Woopra' | 'XAds' | 'Zendesk' | 'ZoomInfo';
|
|
40
|
+
hashingSalt?: string | null;
|
|
41
|
+
limitedToSourceIds?: Array<string> | null;
|
|
42
|
+
name?: string | null;
|
|
43
|
+
settings?: unknown | null;
|
|
44
|
+
updatedAt?: string | null;
|
|
55
45
|
}
|
|
56
46
|
export interface DestinationCreateResponse {
|
|
57
47
|
id: string;
|
|
58
48
|
createdAt: string;
|
|
59
49
|
status: 'Disabled' | 'Enabled';
|
|
60
|
-
|
|
50
|
+
/**
|
|
51
|
+
* Destination type. Read responses may include warehouse or cloud-storage types
|
|
52
|
+
* that are not creatable through POST /rest/v1/destinations.
|
|
53
|
+
*/
|
|
54
|
+
type: 'AWSEventBridge' | 'AWSKinesis' | 'AWSLambda' | 'AWSS3' | 'AWSSNS' | 'ActiveCampaignApi' | 'Admitad' | 'AdobeAnalytics' | 'AmazonDSP' | 'Amplitude' | 'AppLovin' | 'ArtsAI' | 'Attentive' | 'Audiohook' | 'AzureBlob' | 'BasisPostback' | 'BeeswaxPostback' | 'BingAds' | 'BingAdsWeb' | 'Braze' | 'ConvertABTestingEvent' | 'Customerio' | 'DomoWarehouse' | 'Everflow' | 'Facebook' | 'FloodlightSGTM' | 'FullContact' | 'G4Analytics' | 'GA4MeasurementProtocol' | 'GA4ServerProxy' | 'Google' | 'GoogleAds360' | 'GoogleAdsServerContainer' | 'GoogleBigQuery' | 'GoogleBigQueryWarehouse' | 'GoogleDataManagerEventIngest' | 'GooglePubSub' | 'GoogleStorage' | 'HTTPCustomRequest' | 'HTTPDestination' | 'Hubspot' | 'IHeartMediaMagellan' | 'Impact' | 'Iterable' | 'Klaviyo' | 'LinkedInAdsCAPI' | 'LiveIntent' | 'LiveRampWarehouse' | 'Mailchimp' | 'Mixpanel' | 'NextdoorAds' | 'OursSyntheticData' | 'Partnerize' | 'Pinterest' | 'Plausible' | 'Podscribe' | 'PostHog' | 'QuantcastCAPI' | 'QuoraAds' | 'Reddit' | 'RokuCAPI' | 'SnapchatAdsCapi' | 'Spotify' | 'StackAdaptAPI' | 'Taboola' | 'Tatari' | 'TheTradeDesk' | 'TikTok' | 'VWO' | 'Viant' | 'Vibe' | 'Woopra' | 'XAds' | 'Zendesk' | 'ZoomInfo';
|
|
55
|
+
hashingSalt?: string | null;
|
|
56
|
+
limitedToSourceIds?: Array<string> | null;
|
|
61
57
|
name?: string | null;
|
|
58
|
+
settings?: unknown | null;
|
|
62
59
|
updatedAt?: string | null;
|
|
63
60
|
}
|
|
64
61
|
export interface DestinationRetrieveResponse {
|
|
65
62
|
id: string;
|
|
66
63
|
createdAt: string;
|
|
67
64
|
status: 'Disabled' | 'Enabled';
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
g4AnalyticsTrackOnPage?: boolean | null;
|
|
65
|
+
/**
|
|
66
|
+
* Destination type. Read responses may include warehouse or cloud-storage types
|
|
67
|
+
* that are not creatable through POST /rest/v1/destinations.
|
|
68
|
+
*/
|
|
69
|
+
type: 'AWSEventBridge' | 'AWSKinesis' | 'AWSLambda' | 'AWSS3' | 'AWSSNS' | 'ActiveCampaignApi' | 'Admitad' | 'AdobeAnalytics' | 'AmazonDSP' | 'Amplitude' | 'AppLovin' | 'ArtsAI' | 'Attentive' | 'Audiohook' | 'AzureBlob' | 'BasisPostback' | 'BeeswaxPostback' | 'BingAds' | 'BingAdsWeb' | 'Braze' | 'ConvertABTestingEvent' | 'Customerio' | 'DomoWarehouse' | 'Everflow' | 'Facebook' | 'FloodlightSGTM' | 'FullContact' | 'G4Analytics' | 'GA4MeasurementProtocol' | 'GA4ServerProxy' | 'Google' | 'GoogleAds360' | 'GoogleAdsServerContainer' | 'GoogleBigQuery' | 'GoogleBigQueryWarehouse' | 'GoogleDataManagerEventIngest' | 'GooglePubSub' | 'GoogleStorage' | 'HTTPCustomRequest' | 'HTTPDestination' | 'Hubspot' | 'IHeartMediaMagellan' | 'Impact' | 'Iterable' | 'Klaviyo' | 'LinkedInAdsCAPI' | 'LiveIntent' | 'LiveRampWarehouse' | 'Mailchimp' | 'Mixpanel' | 'NextdoorAds' | 'OursSyntheticData' | 'Partnerize' | 'Pinterest' | 'Plausible' | 'Podscribe' | 'PostHog' | 'QuantcastCAPI' | 'QuoraAds' | 'Reddit' | 'RokuCAPI' | 'SnapchatAdsCapi' | 'Spotify' | 'StackAdaptAPI' | 'Taboola' | 'Tatari' | 'TheTradeDesk' | 'TikTok' | 'VWO' | 'Viant' | 'Vibe' | 'Woopra' | 'XAds' | 'Zendesk' | 'ZoomInfo';
|
|
74
70
|
hashingSalt?: string | null;
|
|
75
|
-
httpDestinationUrl?: string | null;
|
|
76
71
|
limitedToSourceIds?: Array<string> | null;
|
|
77
|
-
managerGoogleCustomerId?: string | null;
|
|
78
72
|
name?: string | null;
|
|
79
|
-
projectAPIKey?: string | null;
|
|
80
|
-
projectToken?: string | null;
|
|
81
|
-
selectedAccountId?: string | null;
|
|
82
73
|
settings?: unknown | null;
|
|
83
74
|
updatedAt?: string | null;
|
|
84
75
|
}
|
|
@@ -86,82 +77,54 @@ export interface DestinationUpdateResponse {
|
|
|
86
77
|
id: string;
|
|
87
78
|
createdAt: string;
|
|
88
79
|
status: 'Disabled' | 'Enabled';
|
|
89
|
-
|
|
80
|
+
/**
|
|
81
|
+
* Destination type. Read responses may include warehouse or cloud-storage types
|
|
82
|
+
* that are not creatable through POST /rest/v1/destinations.
|
|
83
|
+
*/
|
|
84
|
+
type: 'AWSEventBridge' | 'AWSKinesis' | 'AWSLambda' | 'AWSS3' | 'AWSSNS' | 'ActiveCampaignApi' | 'Admitad' | 'AdobeAnalytics' | 'AmazonDSP' | 'Amplitude' | 'AppLovin' | 'ArtsAI' | 'Attentive' | 'Audiohook' | 'AzureBlob' | 'BasisPostback' | 'BeeswaxPostback' | 'BingAds' | 'BingAdsWeb' | 'Braze' | 'ConvertABTestingEvent' | 'Customerio' | 'DomoWarehouse' | 'Everflow' | 'Facebook' | 'FloodlightSGTM' | 'FullContact' | 'G4Analytics' | 'GA4MeasurementProtocol' | 'GA4ServerProxy' | 'Google' | 'GoogleAds360' | 'GoogleAdsServerContainer' | 'GoogleBigQuery' | 'GoogleBigQueryWarehouse' | 'GoogleDataManagerEventIngest' | 'GooglePubSub' | 'GoogleStorage' | 'HTTPCustomRequest' | 'HTTPDestination' | 'Hubspot' | 'IHeartMediaMagellan' | 'Impact' | 'Iterable' | 'Klaviyo' | 'LinkedInAdsCAPI' | 'LiveIntent' | 'LiveRampWarehouse' | 'Mailchimp' | 'Mixpanel' | 'NextdoorAds' | 'OursSyntheticData' | 'Partnerize' | 'Pinterest' | 'Plausible' | 'Podscribe' | 'PostHog' | 'QuantcastCAPI' | 'QuoraAds' | 'Reddit' | 'RokuCAPI' | 'SnapchatAdsCapi' | 'Spotify' | 'StackAdaptAPI' | 'Taboola' | 'Tatari' | 'TheTradeDesk' | 'TikTok' | 'VWO' | 'Viant' | 'Vibe' | 'Woopra' | 'XAds' | 'Zendesk' | 'ZoomInfo';
|
|
85
|
+
hashingSalt?: string | null;
|
|
86
|
+
limitedToSourceIds?: Array<string> | null;
|
|
90
87
|
name?: string | null;
|
|
88
|
+
settings?: unknown | null;
|
|
91
89
|
updatedAt?: string | null;
|
|
92
90
|
}
|
|
93
91
|
export type DestinationDeleteResponse = boolean;
|
|
94
|
-
export interface
|
|
95
|
-
type: 'AWSEventBridge' | 'AWSKinesis' | 'AWSLambda' | 'AWSS3' | 'AWSSNS' | 'ActiveCampaignApi' | 'Admitad' | 'AmazonDSP' | 'Amplitude' | 'AppLovin' | 'ArtsAI' | 'Attentive' | 'Audiohook' | 'AzureBlob' | 'BasisPostback' | 'BeeswaxPostback' | 'BingAds' | 'BingAdsWeb' | 'Braze' | 'ConvertABTestingEvent' | 'Customerio' | 'DomoWarehouse' | 'Everflow' | 'Facebook' | 'FloodlightSGTM' | 'FullContact' | 'G4Analytics' | 'GA4MeasurementProtocol' | 'GA4ServerProxy' | 'Google' | 'GoogleAds360' | 'GoogleAdsServerContainer' | 'GoogleBigQuery' | 'GoogleBigQueryWarehouse' | 'GoogleDataManagerEventIngest' | 'GooglePubSub' | 'GoogleStorage' | 'HTTPCustomRequest' | 'HTTPDestination' | 'Hubspot' | 'IHeartMediaMagellan' | 'Impact' | 'Iterable' | 'Klaviyo' | 'LinkedInAdsCAPI' | 'LiveIntent' | 'LiveRampWarehouse' | 'Mailchimp' | 'Mixpanel' | 'NextdoorAds' | 'OursSyntheticData' | 'Partnerize' | 'Pinterest' | 'Plausible' | 'Podscribe' | 'PostHog' | 'QuantcastCAPI' | 'QuoraAds' | 'Reddit' | 'RokuCAPI' | 'SnapchatAdsCapi' | 'Spotify' | 'StackAdaptAPI' | 'Taboola' | 'Tatari' | 'TheTradeDesk' | 'TikTok' | 'VWO' | 'Viant' | 'Vibe' | 'Woopra' | 'XAds' | 'Zendesk' | 'ZoomInfo';
|
|
96
|
-
name?: string | null;
|
|
97
|
-
}
|
|
98
|
-
export interface DestinationUpdateParams {
|
|
92
|
+
export interface DestinationListParams extends CursorParams {
|
|
99
93
|
/**
|
|
100
|
-
*
|
|
94
|
+
* Filter destinations by status.
|
|
101
95
|
*/
|
|
102
|
-
|
|
96
|
+
status?: 'Disabled' | 'Enabled';
|
|
103
97
|
/**
|
|
104
|
-
*
|
|
98
|
+
* Filter destinations by destination type.
|
|
105
99
|
*/
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
*/
|
|
110
|
-
facebookPixelId?: string | null;
|
|
111
|
-
/**
|
|
112
|
-
* Body param
|
|
113
|
-
*/
|
|
114
|
-
g4AnalyticsApiKey?: string | null;
|
|
115
|
-
/**
|
|
116
|
-
* Body param
|
|
117
|
-
*/
|
|
118
|
-
g4AnalyticsMeasurementId?: string | null;
|
|
100
|
+
type?: 'AWSEventBridge' | 'AWSKinesis' | 'AWSLambda' | 'AWSS3' | 'AWSSNS' | 'ActiveCampaignApi' | 'Admitad' | 'AdobeAnalytics' | 'AmazonDSP' | 'Amplitude' | 'AppLovin' | 'ArtsAI' | 'Attentive' | 'Audiohook' | 'AzureBlob' | 'BasisPostback' | 'BeeswaxPostback' | 'BingAds' | 'BingAdsWeb' | 'Braze' | 'ConvertABTestingEvent' | 'Customerio' | 'DomoWarehouse' | 'Everflow' | 'Facebook' | 'FloodlightSGTM' | 'FullContact' | 'G4Analytics' | 'GA4MeasurementProtocol' | 'GA4ServerProxy' | 'Google' | 'GoogleAds360' | 'GoogleAdsServerContainer' | 'GoogleBigQuery' | 'GoogleBigQueryWarehouse' | 'GoogleDataManagerEventIngest' | 'GooglePubSub' | 'GoogleStorage' | 'HTTPCustomRequest' | 'HTTPDestination' | 'Hubspot' | 'IHeartMediaMagellan' | 'Impact' | 'Iterable' | 'Klaviyo' | 'LinkedInAdsCAPI' | 'LiveIntent' | 'LiveRampWarehouse' | 'Mailchimp' | 'Mixpanel' | 'NextdoorAds' | 'OursSyntheticData' | 'Partnerize' | 'Pinterest' | 'Plausible' | 'Podscribe' | 'PostHog' | 'QuantcastCAPI' | 'QuoraAds' | 'Reddit' | 'RokuCAPI' | 'SnapchatAdsCapi' | 'Spotify' | 'StackAdaptAPI' | 'Taboola' | 'Tatari' | 'TheTradeDesk' | 'TikTok' | 'VWO' | 'Viant' | 'Vibe' | 'Woopra' | 'XAds' | 'Zendesk' | 'ZoomInfo';
|
|
101
|
+
}
|
|
102
|
+
export interface DestinationCreateParams {
|
|
119
103
|
/**
|
|
120
|
-
*
|
|
104
|
+
* Event-dispatch destination type to create. Warehouse and cloud-storage
|
|
105
|
+
* destination types may appear on read responses but are not creatable through
|
|
106
|
+
* POST.
|
|
121
107
|
*/
|
|
122
|
-
|
|
108
|
+
type: 'Audiohook' | 'BasisPostback' | 'OursSyntheticData' | 'FullContact' | 'ZoomInfo' | 'TheTradeDesk' | 'Braze' | 'LiveIntent' | 'ConvertABTestingEvent' | 'Customerio' | 'BingAds' | 'BingAdsWeb' | 'HTTPDestination' | 'Woopra' | 'HTTPCustomRequest' | 'Google' | 'GoogleAdsServerContainer' | 'G4Analytics' | 'GA4ServerProxy' | 'GA4MeasurementProtocol' | 'GoogleAds360' | 'Facebook' | 'Mixpanel' | 'Amplitude' | 'TikTok' | 'Reddit' | 'Podscribe' | 'Pinterest' | 'Mailchimp' | 'AWSKinesis' | 'AWSLambda' | 'GooglePubSub' | 'LinkedInAdsCAPI' | 'ActiveCampaignApi' | 'StackAdaptAPI' | 'Hubspot' | 'Klaviyo' | 'XAds' | 'QuoraAds' | 'SnapchatAdsCapi' | 'Partnerize' | 'NextdoorAds' | 'Tatari' | 'Viant' | 'Impact' | 'Spotify' | 'Taboola' | 'AmazonDSP' | 'AppLovin' | 'IHeartMediaMagellan' | 'Vibe' | 'GoogleDataManagerEventIngest' | 'Zendesk' | 'Iterable' | 'ArtsAI' | 'QuantcastCAPI' | 'FloodlightSGTM' | 'VWO' | 'Attentive' | 'Admitad' | 'Plausible' | 'PostHog' | 'RokuCAPI' | 'Everflow' | 'BeeswaxPostback' | 'AdobeAnalytics';
|
|
109
|
+
name?: string | null;
|
|
123
110
|
/**
|
|
124
|
-
*
|
|
111
|
+
* Per-type configuration keys and values. Call GET /rest/v1/destination-types/{id}
|
|
112
|
+
* to get the valid keys for your destination type.
|
|
125
113
|
*/
|
|
114
|
+
settings?: unknown | null;
|
|
115
|
+
}
|
|
116
|
+
export interface DestinationUpdateParams {
|
|
126
117
|
hashingSalt?: string | null;
|
|
127
|
-
/**
|
|
128
|
-
* Body param
|
|
129
|
-
*/
|
|
130
|
-
httpDestinationUrl?: string | null;
|
|
131
|
-
/**
|
|
132
|
-
* Body param
|
|
133
|
-
*/
|
|
134
118
|
limitedToSourceIds?: Array<string> | null;
|
|
135
|
-
/**
|
|
136
|
-
* Body param
|
|
137
|
-
*/
|
|
138
|
-
managerGoogleCustomerId?: string | null;
|
|
139
|
-
/**
|
|
140
|
-
* Body param
|
|
141
|
-
*/
|
|
142
119
|
name?: string | null;
|
|
143
120
|
/**
|
|
144
|
-
*
|
|
145
|
-
|
|
146
|
-
projectAPIKey?: string | null;
|
|
147
|
-
/**
|
|
148
|
-
* Body param
|
|
149
|
-
*/
|
|
150
|
-
projectToken?: string | null;
|
|
151
|
-
/**
|
|
152
|
-
* Body param
|
|
153
|
-
*/
|
|
154
|
-
selectedAccountId?: string | null;
|
|
155
|
-
/**
|
|
156
|
-
* Body param
|
|
121
|
+
* Per-type configuration keys and values. Call GET /rest/v1/destination-types/{id}
|
|
122
|
+
* to get the valid keys for your destination type.
|
|
157
123
|
*/
|
|
158
124
|
settings?: unknown | null;
|
|
159
|
-
/**
|
|
160
|
-
* Body param
|
|
161
|
-
*/
|
|
162
125
|
status?: 'Disabled' | 'Enabled' | null;
|
|
163
126
|
}
|
|
164
127
|
export declare namespace Destinations {
|
|
165
|
-
export { type DestinationListResponse as DestinationListResponse, type DestinationCreateResponse as DestinationCreateResponse, type DestinationRetrieveResponse as DestinationRetrieveResponse, type DestinationUpdateResponse as DestinationUpdateResponse, type DestinationDeleteResponse as DestinationDeleteResponse, type DestinationCreateParams as DestinationCreateParams, type DestinationUpdateParams as DestinationUpdateParams, };
|
|
128
|
+
export { type DestinationListResponse as DestinationListResponse, type DestinationCreateResponse as DestinationCreateResponse, type DestinationRetrieveResponse as DestinationRetrieveResponse, type DestinationUpdateResponse as DestinationUpdateResponse, type DestinationDeleteResponse as DestinationDeleteResponse, type DestinationListResponsesCursor as DestinationListResponsesCursor, type DestinationListParams as DestinationListParams, type DestinationCreateParams as DestinationCreateParams, type DestinationUpdateParams as DestinationUpdateParams, };
|
|
166
129
|
}
|
|
167
130
|
//# sourceMappingURL=destinations.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"destinations.d.mts","sourceRoot":"","sources":["../src/resources/destinations.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"destinations.d.mts","sourceRoot":"","sources":["../src/resources/destinations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,MAAM,EAAE,KAAK,YAAY,EAAE,WAAW,EAAE,+BAA2B;AAC5E,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAG7D,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;OAEG;IACH,IAAI,CACF,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,8BAA8B,EAAE,uBAAuB,CAAC;IAOvE;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,uBAAuB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,yBAAyB,CAAC;IAItG;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,2BAA2B,CAAC;IAIvF;;;;;OAKG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,uBAAuB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,yBAAyB,CAAC;IAIxC;;OAEG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,yBAAyB,C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OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;CAC3B;AAED,MAAM,WAAW,uBAAuB;IACtC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B,kBAAkB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAE1C,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAErB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAE1B,MAAM,CAAC,EAAE,UAAU,GAAG,SAAS,GAAG,IAAI,CAAC;CACxC;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { APIResource } from "../core/resource.js";
|
|
2
2
|
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
+
import { Cursor, type CursorParams, PagePromise } from "../core/pagination.js";
|
|
3
4
|
import { RequestOptions } from "../internal/request-options.js";
|
|
4
5
|
export declare class Destinations extends APIResource {
|
|
5
6
|
/**
|
|
6
7
|
* List all destinations. Requires scope: destination:list
|
|
7
8
|
*/
|
|
8
|
-
list(options?: RequestOptions):
|
|
9
|
+
list(query?: DestinationListParams | null | undefined, options?: RequestOptions): PagePromise<DestinationListResponsesCursor, DestinationListResponse>;
|
|
9
10
|
/**
|
|
10
11
|
* Create a new destination. Requires scope: destination:create
|
|
11
12
|
*/
|
|
@@ -16,69 +17,59 @@ export declare class Destinations extends APIResource {
|
|
|
16
17
|
retrieve(id: string, options?: RequestOptions): APIPromise<DestinationRetrieveResponse>;
|
|
17
18
|
/**
|
|
18
19
|
* Partially update a destination. Only the fields you send are changed; omitted
|
|
19
|
-
* fields are unchanged. The `settings` object is
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
* Requires scope: destination:update
|
|
20
|
+
* fields are unchanged. The `settings` object is patch-only: omitted keys keep
|
|
21
|
+
* their current value, and send `null` to clear a specific setting. Requires
|
|
22
|
+
* scope: destination:update
|
|
23
23
|
*/
|
|
24
|
-
update(id: string,
|
|
24
|
+
update(id: string, body: DestinationUpdateParams, options?: RequestOptions): APIPromise<DestinationUpdateResponse>;
|
|
25
25
|
/**
|
|
26
26
|
* Delete a destination. Requires scope: destination:delete
|
|
27
27
|
*/
|
|
28
28
|
delete(id: string, options?: RequestOptions): APIPromise<DestinationDeleteResponse>;
|
|
29
29
|
}
|
|
30
|
+
export type DestinationListResponsesCursor = Cursor<DestinationListResponse>;
|
|
30
31
|
export interface DestinationListResponse {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
hashingSalt?: string | null;
|
|
45
|
-
httpDestinationUrl?: string | null;
|
|
46
|
-
limitedToSourceIds?: Array<string> | null;
|
|
47
|
-
managerGoogleCustomerId?: string | null;
|
|
48
|
-
name?: string | null;
|
|
49
|
-
projectAPIKey?: string | null;
|
|
50
|
-
projectToken?: string | null;
|
|
51
|
-
selectedAccountId?: string | null;
|
|
52
|
-
settings?: unknown | null;
|
|
53
|
-
updatedAt?: string | null;
|
|
54
|
-
}
|
|
32
|
+
id: string;
|
|
33
|
+
createdAt: string;
|
|
34
|
+
status: 'Disabled' | 'Enabled';
|
|
35
|
+
/**
|
|
36
|
+
* Destination type. Read responses may include warehouse or cloud-storage types
|
|
37
|
+
* that are not creatable through POST /rest/v1/destinations.
|
|
38
|
+
*/
|
|
39
|
+
type: 'AWSEventBridge' | 'AWSKinesis' | 'AWSLambda' | 'AWSS3' | 'AWSSNS' | 'ActiveCampaignApi' | 'Admitad' | 'AdobeAnalytics' | 'AmazonDSP' | 'Amplitude' | 'AppLovin' | 'ArtsAI' | 'Attentive' | 'Audiohook' | 'AzureBlob' | 'BasisPostback' | 'BeeswaxPostback' | 'BingAds' | 'BingAdsWeb' | 'Braze' | 'ConvertABTestingEvent' | 'Customerio' | 'DomoWarehouse' | 'Everflow' | 'Facebook' | 'FloodlightSGTM' | 'FullContact' | 'G4Analytics' | 'GA4MeasurementProtocol' | 'GA4ServerProxy' | 'Google' | 'GoogleAds360' | 'GoogleAdsServerContainer' | 'GoogleBigQuery' | 'GoogleBigQueryWarehouse' | 'GoogleDataManagerEventIngest' | 'GooglePubSub' | 'GoogleStorage' | 'HTTPCustomRequest' | 'HTTPDestination' | 'Hubspot' | 'IHeartMediaMagellan' | 'Impact' | 'Iterable' | 'Klaviyo' | 'LinkedInAdsCAPI' | 'LiveIntent' | 'LiveRampWarehouse' | 'Mailchimp' | 'Mixpanel' | 'NextdoorAds' | 'OursSyntheticData' | 'Partnerize' | 'Pinterest' | 'Plausible' | 'Podscribe' | 'PostHog' | 'QuantcastCAPI' | 'QuoraAds' | 'Reddit' | 'RokuCAPI' | 'SnapchatAdsCapi' | 'Spotify' | 'StackAdaptAPI' | 'Taboola' | 'Tatari' | 'TheTradeDesk' | 'TikTok' | 'VWO' | 'Viant' | 'Vibe' | 'Woopra' | 'XAds' | 'Zendesk' | 'ZoomInfo';
|
|
40
|
+
hashingSalt?: string | null;
|
|
41
|
+
limitedToSourceIds?: Array<string> | null;
|
|
42
|
+
name?: string | null;
|
|
43
|
+
settings?: unknown | null;
|
|
44
|
+
updatedAt?: string | null;
|
|
55
45
|
}
|
|
56
46
|
export interface DestinationCreateResponse {
|
|
57
47
|
id: string;
|
|
58
48
|
createdAt: string;
|
|
59
49
|
status: 'Disabled' | 'Enabled';
|
|
60
|
-
|
|
50
|
+
/**
|
|
51
|
+
* Destination type. Read responses may include warehouse or cloud-storage types
|
|
52
|
+
* that are not creatable through POST /rest/v1/destinations.
|
|
53
|
+
*/
|
|
54
|
+
type: 'AWSEventBridge' | 'AWSKinesis' | 'AWSLambda' | 'AWSS3' | 'AWSSNS' | 'ActiveCampaignApi' | 'Admitad' | 'AdobeAnalytics' | 'AmazonDSP' | 'Amplitude' | 'AppLovin' | 'ArtsAI' | 'Attentive' | 'Audiohook' | 'AzureBlob' | 'BasisPostback' | 'BeeswaxPostback' | 'BingAds' | 'BingAdsWeb' | 'Braze' | 'ConvertABTestingEvent' | 'Customerio' | 'DomoWarehouse' | 'Everflow' | 'Facebook' | 'FloodlightSGTM' | 'FullContact' | 'G4Analytics' | 'GA4MeasurementProtocol' | 'GA4ServerProxy' | 'Google' | 'GoogleAds360' | 'GoogleAdsServerContainer' | 'GoogleBigQuery' | 'GoogleBigQueryWarehouse' | 'GoogleDataManagerEventIngest' | 'GooglePubSub' | 'GoogleStorage' | 'HTTPCustomRequest' | 'HTTPDestination' | 'Hubspot' | 'IHeartMediaMagellan' | 'Impact' | 'Iterable' | 'Klaviyo' | 'LinkedInAdsCAPI' | 'LiveIntent' | 'LiveRampWarehouse' | 'Mailchimp' | 'Mixpanel' | 'NextdoorAds' | 'OursSyntheticData' | 'Partnerize' | 'Pinterest' | 'Plausible' | 'Podscribe' | 'PostHog' | 'QuantcastCAPI' | 'QuoraAds' | 'Reddit' | 'RokuCAPI' | 'SnapchatAdsCapi' | 'Spotify' | 'StackAdaptAPI' | 'Taboola' | 'Tatari' | 'TheTradeDesk' | 'TikTok' | 'VWO' | 'Viant' | 'Vibe' | 'Woopra' | 'XAds' | 'Zendesk' | 'ZoomInfo';
|
|
55
|
+
hashingSalt?: string | null;
|
|
56
|
+
limitedToSourceIds?: Array<string> | null;
|
|
61
57
|
name?: string | null;
|
|
58
|
+
settings?: unknown | null;
|
|
62
59
|
updatedAt?: string | null;
|
|
63
60
|
}
|
|
64
61
|
export interface DestinationRetrieveResponse {
|
|
65
62
|
id: string;
|
|
66
63
|
createdAt: string;
|
|
67
64
|
status: 'Disabled' | 'Enabled';
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
g4AnalyticsTrackOnPage?: boolean | null;
|
|
65
|
+
/**
|
|
66
|
+
* Destination type. Read responses may include warehouse or cloud-storage types
|
|
67
|
+
* that are not creatable through POST /rest/v1/destinations.
|
|
68
|
+
*/
|
|
69
|
+
type: 'AWSEventBridge' | 'AWSKinesis' | 'AWSLambda' | 'AWSS3' | 'AWSSNS' | 'ActiveCampaignApi' | 'Admitad' | 'AdobeAnalytics' | 'AmazonDSP' | 'Amplitude' | 'AppLovin' | 'ArtsAI' | 'Attentive' | 'Audiohook' | 'AzureBlob' | 'BasisPostback' | 'BeeswaxPostback' | 'BingAds' | 'BingAdsWeb' | 'Braze' | 'ConvertABTestingEvent' | 'Customerio' | 'DomoWarehouse' | 'Everflow' | 'Facebook' | 'FloodlightSGTM' | 'FullContact' | 'G4Analytics' | 'GA4MeasurementProtocol' | 'GA4ServerProxy' | 'Google' | 'GoogleAds360' | 'GoogleAdsServerContainer' | 'GoogleBigQuery' | 'GoogleBigQueryWarehouse' | 'GoogleDataManagerEventIngest' | 'GooglePubSub' | 'GoogleStorage' | 'HTTPCustomRequest' | 'HTTPDestination' | 'Hubspot' | 'IHeartMediaMagellan' | 'Impact' | 'Iterable' | 'Klaviyo' | 'LinkedInAdsCAPI' | 'LiveIntent' | 'LiveRampWarehouse' | 'Mailchimp' | 'Mixpanel' | 'NextdoorAds' | 'OursSyntheticData' | 'Partnerize' | 'Pinterest' | 'Plausible' | 'Podscribe' | 'PostHog' | 'QuantcastCAPI' | 'QuoraAds' | 'Reddit' | 'RokuCAPI' | 'SnapchatAdsCapi' | 'Spotify' | 'StackAdaptAPI' | 'Taboola' | 'Tatari' | 'TheTradeDesk' | 'TikTok' | 'VWO' | 'Viant' | 'Vibe' | 'Woopra' | 'XAds' | 'Zendesk' | 'ZoomInfo';
|
|
74
70
|
hashingSalt?: string | null;
|
|
75
|
-
httpDestinationUrl?: string | null;
|
|
76
71
|
limitedToSourceIds?: Array<string> | null;
|
|
77
|
-
managerGoogleCustomerId?: string | null;
|
|
78
72
|
name?: string | null;
|
|
79
|
-
projectAPIKey?: string | null;
|
|
80
|
-
projectToken?: string | null;
|
|
81
|
-
selectedAccountId?: string | null;
|
|
82
73
|
settings?: unknown | null;
|
|
83
74
|
updatedAt?: string | null;
|
|
84
75
|
}
|
|
@@ -86,82 +77,54 @@ export interface DestinationUpdateResponse {
|
|
|
86
77
|
id: string;
|
|
87
78
|
createdAt: string;
|
|
88
79
|
status: 'Disabled' | 'Enabled';
|
|
89
|
-
|
|
80
|
+
/**
|
|
81
|
+
* Destination type. Read responses may include warehouse or cloud-storage types
|
|
82
|
+
* that are not creatable through POST /rest/v1/destinations.
|
|
83
|
+
*/
|
|
84
|
+
type: 'AWSEventBridge' | 'AWSKinesis' | 'AWSLambda' | 'AWSS3' | 'AWSSNS' | 'ActiveCampaignApi' | 'Admitad' | 'AdobeAnalytics' | 'AmazonDSP' | 'Amplitude' | 'AppLovin' | 'ArtsAI' | 'Attentive' | 'Audiohook' | 'AzureBlob' | 'BasisPostback' | 'BeeswaxPostback' | 'BingAds' | 'BingAdsWeb' | 'Braze' | 'ConvertABTestingEvent' | 'Customerio' | 'DomoWarehouse' | 'Everflow' | 'Facebook' | 'FloodlightSGTM' | 'FullContact' | 'G4Analytics' | 'GA4MeasurementProtocol' | 'GA4ServerProxy' | 'Google' | 'GoogleAds360' | 'GoogleAdsServerContainer' | 'GoogleBigQuery' | 'GoogleBigQueryWarehouse' | 'GoogleDataManagerEventIngest' | 'GooglePubSub' | 'GoogleStorage' | 'HTTPCustomRequest' | 'HTTPDestination' | 'Hubspot' | 'IHeartMediaMagellan' | 'Impact' | 'Iterable' | 'Klaviyo' | 'LinkedInAdsCAPI' | 'LiveIntent' | 'LiveRampWarehouse' | 'Mailchimp' | 'Mixpanel' | 'NextdoorAds' | 'OursSyntheticData' | 'Partnerize' | 'Pinterest' | 'Plausible' | 'Podscribe' | 'PostHog' | 'QuantcastCAPI' | 'QuoraAds' | 'Reddit' | 'RokuCAPI' | 'SnapchatAdsCapi' | 'Spotify' | 'StackAdaptAPI' | 'Taboola' | 'Tatari' | 'TheTradeDesk' | 'TikTok' | 'VWO' | 'Viant' | 'Vibe' | 'Woopra' | 'XAds' | 'Zendesk' | 'ZoomInfo';
|
|
85
|
+
hashingSalt?: string | null;
|
|
86
|
+
limitedToSourceIds?: Array<string> | null;
|
|
90
87
|
name?: string | null;
|
|
88
|
+
settings?: unknown | null;
|
|
91
89
|
updatedAt?: string | null;
|
|
92
90
|
}
|
|
93
91
|
export type DestinationDeleteResponse = boolean;
|
|
94
|
-
export interface
|
|
95
|
-
type: 'AWSEventBridge' | 'AWSKinesis' | 'AWSLambda' | 'AWSS3' | 'AWSSNS' | 'ActiveCampaignApi' | 'Admitad' | 'AmazonDSP' | 'Amplitude' | 'AppLovin' | 'ArtsAI' | 'Attentive' | 'Audiohook' | 'AzureBlob' | 'BasisPostback' | 'BeeswaxPostback' | 'BingAds' | 'BingAdsWeb' | 'Braze' | 'ConvertABTestingEvent' | 'Customerio' | 'DomoWarehouse' | 'Everflow' | 'Facebook' | 'FloodlightSGTM' | 'FullContact' | 'G4Analytics' | 'GA4MeasurementProtocol' | 'GA4ServerProxy' | 'Google' | 'GoogleAds360' | 'GoogleAdsServerContainer' | 'GoogleBigQuery' | 'GoogleBigQueryWarehouse' | 'GoogleDataManagerEventIngest' | 'GooglePubSub' | 'GoogleStorage' | 'HTTPCustomRequest' | 'HTTPDestination' | 'Hubspot' | 'IHeartMediaMagellan' | 'Impact' | 'Iterable' | 'Klaviyo' | 'LinkedInAdsCAPI' | 'LiveIntent' | 'LiveRampWarehouse' | 'Mailchimp' | 'Mixpanel' | 'NextdoorAds' | 'OursSyntheticData' | 'Partnerize' | 'Pinterest' | 'Plausible' | 'Podscribe' | 'PostHog' | 'QuantcastCAPI' | 'QuoraAds' | 'Reddit' | 'RokuCAPI' | 'SnapchatAdsCapi' | 'Spotify' | 'StackAdaptAPI' | 'Taboola' | 'Tatari' | 'TheTradeDesk' | 'TikTok' | 'VWO' | 'Viant' | 'Vibe' | 'Woopra' | 'XAds' | 'Zendesk' | 'ZoomInfo';
|
|
96
|
-
name?: string | null;
|
|
97
|
-
}
|
|
98
|
-
export interface DestinationUpdateParams {
|
|
92
|
+
export interface DestinationListParams extends CursorParams {
|
|
99
93
|
/**
|
|
100
|
-
*
|
|
94
|
+
* Filter destinations by status.
|
|
101
95
|
*/
|
|
102
|
-
|
|
96
|
+
status?: 'Disabled' | 'Enabled';
|
|
103
97
|
/**
|
|
104
|
-
*
|
|
98
|
+
* Filter destinations by destination type.
|
|
105
99
|
*/
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
*/
|
|
110
|
-
facebookPixelId?: string | null;
|
|
111
|
-
/**
|
|
112
|
-
* Body param
|
|
113
|
-
*/
|
|
114
|
-
g4AnalyticsApiKey?: string | null;
|
|
115
|
-
/**
|
|
116
|
-
* Body param
|
|
117
|
-
*/
|
|
118
|
-
g4AnalyticsMeasurementId?: string | null;
|
|
100
|
+
type?: 'AWSEventBridge' | 'AWSKinesis' | 'AWSLambda' | 'AWSS3' | 'AWSSNS' | 'ActiveCampaignApi' | 'Admitad' | 'AdobeAnalytics' | 'AmazonDSP' | 'Amplitude' | 'AppLovin' | 'ArtsAI' | 'Attentive' | 'Audiohook' | 'AzureBlob' | 'BasisPostback' | 'BeeswaxPostback' | 'BingAds' | 'BingAdsWeb' | 'Braze' | 'ConvertABTestingEvent' | 'Customerio' | 'DomoWarehouse' | 'Everflow' | 'Facebook' | 'FloodlightSGTM' | 'FullContact' | 'G4Analytics' | 'GA4MeasurementProtocol' | 'GA4ServerProxy' | 'Google' | 'GoogleAds360' | 'GoogleAdsServerContainer' | 'GoogleBigQuery' | 'GoogleBigQueryWarehouse' | 'GoogleDataManagerEventIngest' | 'GooglePubSub' | 'GoogleStorage' | 'HTTPCustomRequest' | 'HTTPDestination' | 'Hubspot' | 'IHeartMediaMagellan' | 'Impact' | 'Iterable' | 'Klaviyo' | 'LinkedInAdsCAPI' | 'LiveIntent' | 'LiveRampWarehouse' | 'Mailchimp' | 'Mixpanel' | 'NextdoorAds' | 'OursSyntheticData' | 'Partnerize' | 'Pinterest' | 'Plausible' | 'Podscribe' | 'PostHog' | 'QuantcastCAPI' | 'QuoraAds' | 'Reddit' | 'RokuCAPI' | 'SnapchatAdsCapi' | 'Spotify' | 'StackAdaptAPI' | 'Taboola' | 'Tatari' | 'TheTradeDesk' | 'TikTok' | 'VWO' | 'Viant' | 'Vibe' | 'Woopra' | 'XAds' | 'Zendesk' | 'ZoomInfo';
|
|
101
|
+
}
|
|
102
|
+
export interface DestinationCreateParams {
|
|
119
103
|
/**
|
|
120
|
-
*
|
|
104
|
+
* Event-dispatch destination type to create. Warehouse and cloud-storage
|
|
105
|
+
* destination types may appear on read responses but are not creatable through
|
|
106
|
+
* POST.
|
|
121
107
|
*/
|
|
122
|
-
|
|
108
|
+
type: 'Audiohook' | 'BasisPostback' | 'OursSyntheticData' | 'FullContact' | 'ZoomInfo' | 'TheTradeDesk' | 'Braze' | 'LiveIntent' | 'ConvertABTestingEvent' | 'Customerio' | 'BingAds' | 'BingAdsWeb' | 'HTTPDestination' | 'Woopra' | 'HTTPCustomRequest' | 'Google' | 'GoogleAdsServerContainer' | 'G4Analytics' | 'GA4ServerProxy' | 'GA4MeasurementProtocol' | 'GoogleAds360' | 'Facebook' | 'Mixpanel' | 'Amplitude' | 'TikTok' | 'Reddit' | 'Podscribe' | 'Pinterest' | 'Mailchimp' | 'AWSKinesis' | 'AWSLambda' | 'GooglePubSub' | 'LinkedInAdsCAPI' | 'ActiveCampaignApi' | 'StackAdaptAPI' | 'Hubspot' | 'Klaviyo' | 'XAds' | 'QuoraAds' | 'SnapchatAdsCapi' | 'Partnerize' | 'NextdoorAds' | 'Tatari' | 'Viant' | 'Impact' | 'Spotify' | 'Taboola' | 'AmazonDSP' | 'AppLovin' | 'IHeartMediaMagellan' | 'Vibe' | 'GoogleDataManagerEventIngest' | 'Zendesk' | 'Iterable' | 'ArtsAI' | 'QuantcastCAPI' | 'FloodlightSGTM' | 'VWO' | 'Attentive' | 'Admitad' | 'Plausible' | 'PostHog' | 'RokuCAPI' | 'Everflow' | 'BeeswaxPostback' | 'AdobeAnalytics';
|
|
109
|
+
name?: string | null;
|
|
123
110
|
/**
|
|
124
|
-
*
|
|
111
|
+
* Per-type configuration keys and values. Call GET /rest/v1/destination-types/{id}
|
|
112
|
+
* to get the valid keys for your destination type.
|
|
125
113
|
*/
|
|
114
|
+
settings?: unknown | null;
|
|
115
|
+
}
|
|
116
|
+
export interface DestinationUpdateParams {
|
|
126
117
|
hashingSalt?: string | null;
|
|
127
|
-
/**
|
|
128
|
-
* Body param
|
|
129
|
-
*/
|
|
130
|
-
httpDestinationUrl?: string | null;
|
|
131
|
-
/**
|
|
132
|
-
* Body param
|
|
133
|
-
*/
|
|
134
118
|
limitedToSourceIds?: Array<string> | null;
|
|
135
|
-
/**
|
|
136
|
-
* Body param
|
|
137
|
-
*/
|
|
138
|
-
managerGoogleCustomerId?: string | null;
|
|
139
|
-
/**
|
|
140
|
-
* Body param
|
|
141
|
-
*/
|
|
142
119
|
name?: string | null;
|
|
143
120
|
/**
|
|
144
|
-
*
|
|
145
|
-
|
|
146
|
-
projectAPIKey?: string | null;
|
|
147
|
-
/**
|
|
148
|
-
* Body param
|
|
149
|
-
*/
|
|
150
|
-
projectToken?: string | null;
|
|
151
|
-
/**
|
|
152
|
-
* Body param
|
|
153
|
-
*/
|
|
154
|
-
selectedAccountId?: string | null;
|
|
155
|
-
/**
|
|
156
|
-
* Body param
|
|
121
|
+
* Per-type configuration keys and values. Call GET /rest/v1/destination-types/{id}
|
|
122
|
+
* to get the valid keys for your destination type.
|
|
157
123
|
*/
|
|
158
124
|
settings?: unknown | null;
|
|
159
|
-
/**
|
|
160
|
-
* Body param
|
|
161
|
-
*/
|
|
162
125
|
status?: 'Disabled' | 'Enabled' | null;
|
|
163
126
|
}
|
|
164
127
|
export declare namespace Destinations {
|
|
165
|
-
export { type DestinationListResponse as DestinationListResponse, type DestinationCreateResponse as DestinationCreateResponse, type DestinationRetrieveResponse as DestinationRetrieveResponse, type DestinationUpdateResponse as DestinationUpdateResponse, type DestinationDeleteResponse as DestinationDeleteResponse, type DestinationCreateParams as DestinationCreateParams, type DestinationUpdateParams as DestinationUpdateParams, };
|
|
128
|
+
export { type DestinationListResponse as DestinationListResponse, type DestinationCreateResponse as DestinationCreateResponse, type DestinationRetrieveResponse as DestinationRetrieveResponse, type DestinationUpdateResponse as DestinationUpdateResponse, type DestinationDeleteResponse as DestinationDeleteResponse, type DestinationListResponsesCursor as DestinationListResponsesCursor, type DestinationListParams as DestinationListParams, type DestinationCreateParams as DestinationCreateParams, type DestinationUpdateParams as DestinationUpdateParams, };
|
|
166
129
|
}
|
|
167
130
|
//# sourceMappingURL=destinations.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"destinations.d.ts","sourceRoot":"","sources":["../src/resources/destinations.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"destinations.d.ts","sourceRoot":"","sources":["../src/resources/destinations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,MAAM,EAAE,KAAK,YAAY,EAAE,WAAW,EAAE,8BAA2B;AAC5E,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;OAEG;IACH,IAAI,CACF,KAAK,GAAE,qBA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