diff --git a/src/util/fetchDestinationHandlers.ts b/src/util/fetchDestinationHandlers.ts index ab98966db3..3947e412d1 100644 --- a/src/util/fetchDestinationHandlers.ts +++ b/src/util/fetchDestinationHandlers.ts @@ -1,160 +1,160 @@ -import * as MarketoBulkUploadFileUpload from '../v0/destinations/marketo_bulk_upload/fileUpload'; -import * as MarketoBulkUploadPollStatus from '../v0/destinations/marketo_bulk_upload/poll'; -import * as MarketoBulkUploadJobStatus from '../v0/destinations/marketo_bulk_upload/fetchJobStatus'; +const MarketoBulkUploadFileUpload = require('../v0/destinations/marketo_bulk_upload/fileUpload'); +const MarketoBulkUploadPollStatus = require('../v0/destinations/marketo_bulk_upload/poll'); +const MarketoBulkUploadJobStatus = require('../v0/destinations/marketo_bulk_upload/fetchJobStatus'); -import * as ActiveCampaignTransform from '../v0/destinations/active_campaign/transform'; -import * as AdjTransform from '../v0/destinations/adj/transform'; -import * as AfTransform from '../v0/destinations/af/transform'; -import * as AirshipTransform from '../v0/destinations/airship/transform'; -import * as AdobeAnalyticsTransform from '../v0/destinations/adobe_analytics/transform'; -import * as AlgoliaTransform from '../v0/destinations/algolia/transform'; -import * as AmTransform from '../v0/destinations/am/transform'; -import * as AppcuesTransform from '../v0/destinations/appcues/transform'; -import * as AttentiveTagTransform from '../v0/destinations/attentive_tag/transform'; -import * as AutopilotTransform from '../v0/destinations/autopilot/transform'; -import * as AttributionTransform from '../v0/destinations/attribution/transform'; -import * as AwinTransform from '../v0/destinations/awin/transform'; -import * as AzureBlobTransform from '../v0/destinations/azure_blob/transform'; -import * as AzureEventHubTransform from '../v0/destinations/azure_event_hub/transform'; -import * as AzureDatalakeTransform from '../v0/destinations/azure_datalake/transform'; -import * as BlueshiftTransform from '../v0/destinations/blueshift/transform'; -import * as AzureSynapseTransform from '../v0/destinations/azure_synapse/transform'; -import * as BqstreamTransform from '../v0/destinations/bqstream/transform'; -import * as BqTransform from '../v0/destinations/bq/transform'; -import * as BranchTransform from '../v0/destinations/branch/transform'; -import * as BrazeTransform from '../v0/destinations/braze/transform'; -import * as CanduTransform from '../v0/destinations/candu/transform'; -import * as CampaignManagerTransform from '../v0/destinations/campaign_manager/transform'; -import * as ClevertapTransform from '../v0/destinations/clevertap/transform'; -import * as CannyTransform from '../v0/destinations/canny/transform'; -import * as ClickhouseTransform from '../v0/destinations/clickhouse/transform'; -import * as ClickupTransform from '../v0/destinations/clickup/transform'; -import * as ConfluentCloudTransform from '../v0/destinations/confluent_cloud/transform'; -import * as CourierTransform from '../v0/destinations/courier/transform'; -import * as CustifyTransform from '../v0/destinations/custify/transform'; -import * as CriteoAudienceTransform from '../v0/destinations/criteo_audience/transform'; -import * as DelightedTransform from '../v0/destinations/delighted/transform'; -import * as CustomerioTransform from '../v0/destinations/customerio/transform'; -import * as DigitalOceanSpacesTransform from '../v0/destinations/digital_ocean_spaces/transform'; -import * as DeltalakeTransform from '../v0/destinations/deltalake/transform'; -import * as DripTransform from '../v0/destinations/drip/transform'; -import * as DiscordTransform from '../v0/destinations/discord/transform'; -import * as EventbridgeTransform from '../v0/destinations/eventbridge/transform'; -import * as EngageTransform from '../v0/destinations/engage/transform'; -import * as FacebookConversionsTransform from '../v0/destinations/facebook_conversions/transform'; -import * as FacebookOfflineConversionsTransform from '../v0/destinations/facebook_offline_conversions/transform'; -import * as FacebookPixelTransform from '../v0/destinations/facebook_pixel/transform'; -import * as FactorsaiTransform from '../v0/destinations/factorsai/transform'; -import * as FbCustomAudienceTransform from '../v0/destinations/fb_custom_audience/transform'; -import * as FbTransform from '../v0/destinations/fb/transform'; -import * as FirehoseTransform from '../v0/destinations/firehose/transform'; -import * as FreshmarketerTransform from '../v0/destinations/freshmarketer/transform'; -import * as Ga360Transform from '../v0/destinations/ga360/transform'; -import * as FreshsalesTransform from '../v0/destinations/freshsales/transform'; -import * as GaTransform from '../v0/destinations/ga/transform'; -import * as Ga4Transform from '../v0/destinations/ga4/transform'; -import * as GainsightTransform from '../v0/destinations/gainsight/transform'; -import * as GcsTransform from '../v0/destinations/gcs/transform'; -import * as GcsDatalakeTransform from '../v0/destinations/gcs_datalake/transform'; -import * as GainsightPxTransform from '../v0/destinations/gainsight_px/transform'; -import * as GoogleAdwordsRemarketingListsTransform from '../v0/destinations/google_adwords_remarketing_lists/transform'; -import * as GoogleAdwordsOfflineConversionsTransform from '../v0/destinations/google_adwords_offline_conversions/transform'; -import * as GoogleAdwordsEnhancedConversionsTransform from '../v0/destinations/google_adwords_enhanced_conversions/transform'; -import * as GoogleCloudFunctionTransform from '../v0/destinations/google_cloud_function/transform'; -import * as HsTransform from '../v0/destinations/hs/transform'; -import * as GooglesheetsTransform from '../v0/destinations/googlesheets/transform'; -import * as GooglepubsubTransform from '../v0/destinations/googlepubsub/transform'; -import * as HeapTransform from '../v0/destinations/heap/transform'; -import * as ImpactTransform from '../v0/destinations/impact/transform'; -import * as IntercomTransform from '../v0/destinations/intercom/transform'; -import * as JuneTransform from '../v0/destinations/june/transform'; -import * as IndicativeTransform from '../v0/destinations/indicative/transform'; -import * as IterableTransform from '../v0/destinations/iterable/transform'; -import * as KafkaTransform from '../v0/destinations/kafka/transform'; -import * as KeenTransform from '../v0/destinations/keen/transform'; -import * as KlaviyoTransform from '../v0/destinations/klaviyo/transform'; -import * as KinesisTransform from '../v0/destinations/kinesis/transform'; -import * as KissmetricsTransform from '../v0/destinations/kissmetrics/transform'; -import * as KochavaTransform from '../v0/destinations/kochava/transform'; -import * as KustomerTransform from '../v0/destinations/kustomer/transform'; -import * as LambdaTransform from '../v0/destinations/lambda/transform'; -import * as LeanplumTransform from '../v0/destinations/leanplum/transform'; -import * as LemniskTransform from '../v0/destinations/lemnisk/transform'; -import * as LyticsTransform from '../v0/destinations/lytics/transform'; -import * as MailchimpTransform from '../v0/destinations/mailchimp/transform'; -import * as MailmodoTransform from '../v0/destinations/mailmodo/transform'; -import * as MailjetTransform from '../v0/destinations/mailjet/transform'; -import * as MarketoTransform from '../v0/destinations/marketo/transform'; -import * as MarketoBulkUploadTransform from '../v0/destinations/marketo_bulk_upload/transform'; -import * as MinioTransform from '../v0/destinations/minio/transform'; -import * as MarketoStaticListTransform from '../v0/destinations/marketo_static_list/transform'; -import * as MoengageTransform from '../v0/destinations/moengage/transform'; -import * as MauticTransform from '../v0/destinations/mautic/transform'; -import * as MondayTransform from '../v0/destinations/monday/transform'; -import * as MssqlTransform from '../v0/destinations/mssql/transform'; -import * as MonetateTransform from '../v0/destinations/monetate/transform'; -import * as OmetriaTransform from '../v0/destinations/ometria/transform'; -import * as MpTransform from '../v0/destinations/mp/transform'; -import * as OneSignalTransform from '../v0/destinations/one_signal/transform'; -import * as PardotTransform from '../v0/destinations/pardot/transform'; -import * as PersistiqTransform from '../v0/destinations/persistiq/transform'; -import * as PersonalizeTransform from '../v0/destinations/personalize/transform'; -import * as PagerdutyTransform from '../v0/destinations/pagerduty/transform'; -import * as PinterestTagTransform from '../v0/destinations/pinterest_tag/transform'; -import * as PipedreamTransform from '../v0/destinations/pipedream/transform'; -import * as PostgresTransform from '../v0/destinations/postgres/transform'; -import * as ProfitwellTransform from '../v0/destinations/profitwell/transform'; -import * as PosthogTransform from '../v0/destinations/posthog/transform'; -import * as RedisTransform from '../v0/destinations/redis/transform'; -import * as RsTransform from '../v0/destinations/rs/transform'; -import * as RefinerTransform from '../v0/destinations/refiner/transform'; -import * as RevenueCatTransform from '../v0/destinations/revenue_cat/transform'; -import * as RockerboxTransform from '../v0/destinations/rockerbox/transform'; -import * as S3Transform from '../v0/destinations/s3/transform'; -import * as S3DatalakeTransform from '../v0/destinations/s3_datalake/transform'; -import * as SalesforceTransform from '../v0/destinations/salesforce/transform'; -import * as SegmentTransform from '../v0/destinations/segment/transform'; -import * as SendinblueTransform from '../v0/destinations/sendinblue/transform'; -import * as SendgridTransform from '../v0/destinations/sendgrid/transform'; -import * as SerenyticsTransform from '../v0/destinations/serenytics/transform'; -import * as SfmcTransform from '../v0/destinations/sfmc/transform'; -import * as ShynetTransform from '../v0/destinations/shynet/transform'; -import * as Signl4Transform from '../v0/destinations/signl4/transform'; -import * as SingularTransform from '../v0/destinations/singular/transform'; -import * as SlackTransform from '../v0/destinations/slack/transform'; -import * as SnapchatConversionTransform from '../v0/destinations/snapchat_conversion/transform'; -import * as SnapchatCustomAudienceTransform from '../v0/destinations/snapchat_custom_audience/transform'; -import * as SnowflakeTransform from '../v0/destinations/snowflake/transform'; -import * as SplitioTransform from '../v0/destinations/splitio/transform'; -import * as StatsigTransform from '../v0/destinations/statsig/transform'; -import * as StormlyTransform from '../v0/destinations/stormly/transform'; -import * as TiktokAdsTransform from '../v0/destinations/tiktok_ads/transform'; -import * as TiktokAdsOfflineEventsTransform from '../v0/destinations/tiktok_ads_offline_events/transform'; -import * as TrengoTransform from '../v0/destinations/trengo/transform'; -import * as UserTransform from '../v0/destinations/user/transform'; -import * as TwitterAdsTransform from '../v0/destinations/twitter_ads/transform'; -import * as VarianceTransform from '../v0/destinations/variance/transform'; -import * as UserlistTransform from '../v0/destinations/userlist/transform'; -import * as VeroTransform from '../v0/destinations/vero/transform'; -import * as WebengageTransform from '../v0/destinations/webengage/transform'; -import * as WoopraTransform from '../v0/destinations/woopra/transform'; -import * as WebhookTransform from '../v0/destinations/webhook/transform'; -import * as WootricTransform from '../v0/destinations/wootric/transform'; -import * as YahooDspTransform from '../v0/destinations/yahoo_dsp/transform'; -import * as ZendeskTransform from '../v0/destinations/zendesk/transform'; +const ActiveCampaignTransform = require('../v0/destinations/active_campaign/transform'); +const AdjTransform = require('../v0/destinations/adj/transform'); +const AfTransform = require('../v0/destinations/af/transform'); +const AirshipTransform = require('../v0/destinations/airship/transform'); +const AdobeAnalyticsTransform = require('../v0/destinations/adobe_analytics/transform'); +const AlgoliaTransform = require('../v0/destinations/algolia/transform'); +const AmTransform = require('../v0/destinations/am/transform'); +const AppcuesTransform = require('../v0/destinations/appcues/transform'); +const AttentiveTagTransform = require('../v0/destinations/attentive_tag/transform'); +const AutopilotTransform = require('../v0/destinations/autopilot/transform'); +const AttributionTransform = require('../v0/destinations/attribution/transform'); +const AwinTransform = require('../v0/destinations/awin/transform'); +const AzureBlobTransform = require('../v0/destinations/azure_blob/transform'); +const AzureEventHubTransform = require('../v0/destinations/azure_event_hub/transform'); +const AzureDatalakeTransform = require('../v0/destinations/azure_datalake/transform'); +const BlueshiftTransform = require('../v0/destinations/blueshift/transform'); +const AzureSynapseTransform = require('../v0/destinations/azure_synapse/transform'); +const BqstreamTransform = require('../v0/destinations/bqstream/transform'); +const BqTransform = require('../v0/destinations/bq/transform'); +const BranchTransform = require('../v0/destinations/branch/transform'); +const BrazeTransform = require('../v0/destinations/braze/transform'); +const CanduTransform = require('../v0/destinations/candu/transform'); +const CampaignManagerTransform = require('../v0/destinations/campaign_manager/transform'); +const ClevertapTransform = require('../v0/destinations/clevertap/transform'); +const CannyTransform = require('../v0/destinations/canny/transform'); +const ClickhouseTransform = require('../v0/destinations/clickhouse/transform'); +const ClickupTransform = require('../v0/destinations/clickup/transform'); +const ConfluentCloudTransform = require('../v0/destinations/confluent_cloud/transform'); +const CourierTransform = require('../v0/destinations/courier/transform'); +const CustifyTransform = require('../v0/destinations/custify/transform'); +const CriteoAudienceTransform = require('../v0/destinations/criteo_audience/transform'); +const DelightedTransform = require('../v0/destinations/delighted/transform'); +const CustomerioTransform = require('../v0/destinations/customerio/transform'); +const DigitalOceanSpacesTransform = require('../v0/destinations/digital_ocean_spaces/transform'); +const DeltalakeTransform = require('../v0/destinations/deltalake/transform'); +const DripTransform = require('../v0/destinations/drip/transform'); +const DiscordTransform = require('../v0/destinations/discord/transform'); +const EventbridgeTransform = require('../v0/destinations/eventbridge/transform'); +const EngageTransform = require('../v0/destinations/engage/transform'); +const FacebookConversionsTransform = require('../v0/destinations/facebook_conversions/transform'); +const FacebookOfflineConversionsTransform = require('../v0/destinations/facebook_offline_conversions/transform'); +const FacebookPixelTransform = require('../v0/destinations/facebook_pixel/transform'); +const FactorsaiTransform = require('../v0/destinations/factorsai/transform'); +const FbCustomAudienceTransform = require('../v0/destinations/fb_custom_audience/transform'); +const FbTransform = require('../v0/destinations/fb/transform'); +const FirehoseTransform = require('../v0/destinations/firehose/transform'); +const FreshmarketerTransform = require('../v0/destinations/freshmarketer/transform'); +const Ga360Transform = require('../v0/destinations/ga360/transform'); +const FreshsalesTransform = require('../v0/destinations/freshsales/transform'); +const GaTransform = require('../v0/destinations/ga/transform'); +const Ga4Transform = require('../v0/destinations/ga4/transform'); +const GainsightTransform = require('../v0/destinations/gainsight/transform'); +const GcsTransform = require('../v0/destinations/gcs/transform'); +const GcsDatalakeTransform = require('../v0/destinations/gcs_datalake/transform'); +const GainsightPxTransform = require('../v0/destinations/gainsight_px/transform'); +const GoogleAdwordsRemarketingListsTransform = require('../v0/destinations/google_adwords_remarketing_lists/transform'); +const GoogleAdwordsOfflineConversionsTransform = require('../v0/destinations/google_adwords_offline_conversions/transform'); +const GoogleAdwordsEnhancedConversionsTransform = require('../v0/destinations/google_adwords_enhanced_conversions/transform'); +const GoogleCloudFunctionTransform = require('../v0/destinations/google_cloud_function/transform'); +const HsTransform = require('../v0/destinations/hs/transform'); +const GooglesheetsTransform = require('../v0/destinations/googlesheets/transform'); +const GooglepubsubTransform = require('../v0/destinations/googlepubsub/transform'); +const HeapTransform = require('../v0/destinations/heap/transform'); +const ImpactTransform = require('../v0/destinations/impact/transform'); +const IntercomTransform = require('../v0/destinations/intercom/transform'); +const JuneTransform = require('../v0/destinations/june/transform'); +const IndicativeTransform = require('../v0/destinations/indicative/transform'); +const IterableTransform = require('../v0/destinations/iterable/transform'); +const KafkaTransform = require('../v0/destinations/kafka/transform'); +const KeenTransform = require('../v0/destinations/keen/transform'); +const KlaviyoTransform = require('../v0/destinations/klaviyo/transform'); +const KinesisTransform = require('../v0/destinations/kinesis/transform'); +const KissmetricsTransform = require('../v0/destinations/kissmetrics/transform'); +const KochavaTransform = require('../v0/destinations/kochava/transform'); +const KustomerTransform = require('../v0/destinations/kustomer/transform'); +const LambdaTransform = require('../v0/destinations/lambda/transform'); +const LeanplumTransform = require('../v0/destinations/leanplum/transform'); +const LemniskTransform = require('../v0/destinations/lemnisk/transform'); +const LyticsTransform = require('../v0/destinations/lytics/transform'); +const MailchimpTransform = require('../v0/destinations/mailchimp/transform'); +const MailmodoTransform = require('../v0/destinations/mailmodo/transform'); +const MailjetTransform = require('../v0/destinations/mailjet/transform'); +const MarketoTransform = require('../v0/destinations/marketo/transform'); +const MarketoBulkUploadTransform = require('../v0/destinations/marketo_bulk_upload/transform'); +const MinioTransform = require('../v0/destinations/minio/transform'); +const MarketoStaticListTransform = require('../v0/destinations/marketo_static_list/transform'); +const MoengageTransform = require('../v0/destinations/moengage/transform'); +const MauticTransform = require('../v0/destinations/mautic/transform'); +const MondayTransform = require('../v0/destinations/monday/transform'); +const MssqlTransform = require('../v0/destinations/mssql/transform'); +const MonetateTransform = require('../v0/destinations/monetate/transform'); +const OmetriaTransform = require('../v0/destinations/ometria/transform'); +const MpTransform = require('../v0/destinations/mp/transform'); +const OneSignalTransform = require('../v0/destinations/one_signal/transform'); +const PardotTransform = require('../v0/destinations/pardot/transform'); +const PersistiqTransform = require('../v0/destinations/persistiq/transform'); +const PersonalizeTransform = require('../v0/destinations/personalize/transform'); +const PagerdutyTransform = require('../v0/destinations/pagerduty/transform'); +const PinterestTagTransform = require('../v0/destinations/pinterest_tag/transform'); +const PipedreamTransform = require('../v0/destinations/pipedream/transform'); +const PostgresTransform = require('../v0/destinations/postgres/transform'); +const ProfitwellTransform = require('../v0/destinations/profitwell/transform'); +const PosthogTransform = require('../v0/destinations/posthog/transform'); +const RedisTransform = require('../v0/destinations/redis/transform'); +const RsTransform = require('../v0/destinations/rs/transform'); +const RefinerTransform = require('../v0/destinations/refiner/transform'); +const RevenueCatTransform = require('../v0/destinations/revenue_cat/transform'); +const RockerboxTransform = require('../v0/destinations/rockerbox/transform'); +const S3Transform = require('../v0/destinations/s3/transform'); +const S3DatalakeTransform = require('../v0/destinations/s3_datalake/transform'); +const SalesforceTransform = require('../v0/destinations/salesforce/transform'); +const SegmentTransform = require('../v0/destinations/segment/transform'); +const SendinblueTransform = require('../v0/destinations/sendinblue/transform'); +const SendgridTransform = require('../v0/destinations/sendgrid/transform'); +const SerenyticsTransform = require('../v0/destinations/serenytics/transform'); +const SfmcTransform = require('../v0/destinations/sfmc/transform'); +const ShynetTransform = require('../v0/destinations/shynet/transform'); +const Signl4Transform = require('../v0/destinations/signl4/transform'); +const SingularTransform = require('../v0/destinations/singular/transform'); +const SlackTransform = require('../v0/destinations/slack/transform'); +const SnapchatConversionTransform = require('../v0/destinations/snapchat_conversion/transform'); +const SnapchatCustomAudienceTransform = require('../v0/destinations/snapchat_custom_audience/transform'); +const SnowflakeTransform = require('../v0/destinations/snowflake/transform'); +const SplitioTransform = require('../v0/destinations/splitio/transform'); +const StatsigTransform = require('../v0/destinations/statsig/transform'); +const StormlyTransform = require('../v0/destinations/stormly/transform'); +const TiktokAdsTransform = require('../v0/destinations/tiktok_ads/transform'); +const TiktokAdsOfflineEventsTransform = require('../v0/destinations/tiktok_ads_offline_events/transform'); +const TrengoTransform = require('../v0/destinations/trengo/transform'); +const UserTransform = require('../v0/destinations/user/transform'); +const TwitterAdsTransform = require('../v0/destinations/twitter_ads/transform'); +const VarianceTransform = require('../v0/destinations/variance/transform'); +const UserlistTransform = require('../v0/destinations/userlist/transform'); +const VeroTransform = require('../v0/destinations/vero/transform'); +const WebengageTransform = require('../v0/destinations/webengage/transform'); +const WoopraTransform = require('../v0/destinations/woopra/transform'); +const WebhookTransform = require('../v0/destinations/webhook/transform'); +const WootricTransform = require('../v0/destinations/wootric/transform'); +const YahooDspTransform = require('../v0/destinations/yahoo_dsp/transform'); +const ZendeskTransform = require('../v0/destinations/zendesk/transform'); -import * as AfDeleteUsers from '../v0/destinations/af/deleteUsers'; -import * as AmDeleteUsers from '../v0/destinations/am/deleteUsers'; -import * as BrazeDeleteUsers from '../v0/destinations/braze/deleteUsers'; -import * as ClevertapDeleteUsers from '../v0/destinations/clevertap/deleteUsers'; -import * as CustifyDeleteUsers from '../v0/destinations/custify/deleteUsers'; -import * as EngageDeleteUsers from '../v0/destinations/engage/deleteUsers'; -import * as GaDeleteUsers from '../v0/destinations/ga/deleteUsers'; -import * as IntercomDeleteUsers from '../v0/destinations/intercom/deleteUsers'; -import * as IterableDeleteUsers from '../v0/destinations/iterable/deleteUsers'; -import * as MpDeleteUsers from '../v0/destinations/mp/deleteUsers'; -import * as SendgridDeleteUsers from '../v0/destinations/sendgrid/deleteUsers'; -import * as SprigDeleteUsers from '../v0/destinations/sprig/deleteUsers'; +const AfDeleteUsers = require('../v0/destinations/af/deleteUsers'); +const AmDeleteUsers = require('../v0/destinations/am/deleteUsers'); +const BrazeDeleteUsers = require('../v0/destinations/braze/deleteUsers'); +const ClevertapDeleteUsers = require('../v0/destinations/clevertap/deleteUsers'); +const CustifyDeleteUsers = require('../v0/destinations/custify/deleteUsers'); +const EngageDeleteUsers = require('../v0/destinations/engage/deleteUsers'); +const GaDeleteUsers = require('../v0/destinations/ga/deleteUsers'); +const IntercomDeleteUsers = require('../v0/destinations/intercom/deleteUsers'); +const IterableDeleteUsers = require('../v0/destinations/iterable/deleteUsers'); +const MpDeleteUsers = require('../v0/destinations/mp/deleteUsers'); +const SendgridDeleteUsers = require('../v0/destinations/sendgrid/deleteUsers'); +const SprigDeleteUsers = require('../v0/destinations/sprig/deleteUsers'); const fileUploadHandlers = { v0: {