@segment/action-destinations 3.134.1-staging.1 → 3.136.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/dist/destinations/actable-predictive/index.js +1 -1
- package/dist/destinations/actable-predictive/index.js.map +1 -1
- package/dist/destinations/actable-predictive/sendCustomEvent/index.js +13 -13
- package/dist/destinations/actable-predictive/sendCustomEvent/index.js.map +1 -1
- package/dist/destinations/actable-predictive/sendEmailEvent/index.js +20 -20
- package/dist/destinations/actable-predictive/sendEmailEvent/index.js.map +1 -1
- package/dist/destinations/actable-predictive/sendTransactionEvent/index.js +28 -28
- package/dist/destinations/actable-predictive/sendTransactionEvent/index.js.map +1 -1
- package/dist/destinations/actable-predictive/sendWebEvent/index.js +25 -25
- package/dist/destinations/actable-predictive/sendWebEvent/index.js.map +1 -1
- package/dist/destinations/blackbaud-raisers-edge-nxt/api/index.d.ts +18 -12
- package/dist/destinations/blackbaud-raisers-edge-nxt/api/index.js +305 -32
- package/dist/destinations/blackbaud-raisers-edge-nxt/api/index.js.map +1 -1
- package/dist/destinations/blackbaud-raisers-edge-nxt/constants/index.d.ts +3 -1
- package/dist/destinations/blackbaud-raisers-edge-nxt/constants/index.js +4 -2
- package/dist/destinations/blackbaud-raisers-edge-nxt/constants/index.js.map +1 -1
- package/dist/destinations/blackbaud-raisers-edge-nxt/createConstituentAction/fixtures.d.ts +4 -0
- package/dist/destinations/blackbaud-raisers-edge-nxt/createConstituentAction/fixtures.js +30 -0
- package/dist/destinations/blackbaud-raisers-edge-nxt/createConstituentAction/fixtures.js.map +1 -0
- package/dist/destinations/blackbaud-raisers-edge-nxt/createConstituentAction/generated-types.d.ts +53 -0
- package/dist/destinations/blackbaud-raisers-edge-nxt/createConstituentAction/generated-types.js.map +1 -0
- package/dist/destinations/blackbaud-raisers-edge-nxt/createConstituentAction/index.d.ts +5 -0
- package/dist/destinations/blackbaud-raisers-edge-nxt/createConstituentAction/index.js +146 -0
- package/dist/destinations/blackbaud-raisers-edge-nxt/createConstituentAction/index.js.map +1 -0
- package/dist/destinations/blackbaud-raisers-edge-nxt/createGift/fixtures.d.ts +27 -0
- package/dist/destinations/blackbaud-raisers-edge-nxt/createGift/fixtures.js +60 -0
- package/dist/destinations/blackbaud-raisers-edge-nxt/createGift/fixtures.js.map +1 -0
- package/dist/destinations/blackbaud-raisers-edge-nxt/createGift/generated-types.d.ts +63 -0
- package/dist/destinations/blackbaud-raisers-edge-nxt/createGift/generated-types.js.map +1 -0
- package/dist/destinations/blackbaud-raisers-edge-nxt/createGift/index.js +230 -0
- package/dist/destinations/blackbaud-raisers-edge-nxt/createGift/index.js.map +1 -0
- package/dist/destinations/blackbaud-raisers-edge-nxt/createOrUpdateIndividualConstituent/fixtures.js +1 -1
- package/dist/destinations/blackbaud-raisers-edge-nxt/createOrUpdateIndividualConstituent/fixtures.js.map +1 -1
- package/dist/destinations/blackbaud-raisers-edge-nxt/createOrUpdateIndividualConstituent/generated-types.d.ts +1 -0
- package/dist/destinations/blackbaud-raisers-edge-nxt/createOrUpdateIndividualConstituent/index.d.ts +3 -1
- package/dist/destinations/blackbaud-raisers-edge-nxt/createOrUpdateIndividualConstituent/index.js +277 -550
- package/dist/destinations/blackbaud-raisers-edge-nxt/createOrUpdateIndividualConstituent/index.js.map +1 -1
- package/dist/destinations/blackbaud-raisers-edge-nxt/index.js +4 -0
- package/dist/destinations/blackbaud-raisers-edge-nxt/index.js.map +1 -1
- package/dist/destinations/blackbaud-raisers-edge-nxt/types/index.d.ts +81 -8
- package/dist/destinations/blackbaud-raisers-edge-nxt/utils/index.d.ts +10 -1
- package/dist/destinations/blackbaud-raisers-edge-nxt/utils/index.js +195 -5
- package/dist/destinations/blackbaud-raisers-edge-nxt/utils/index.js.map +1 -1
- package/dist/destinations/braze/trackEvent/generated-types.d.ts +1 -0
- package/dist/destinations/braze/trackEvent/index.js +11 -35
- package/dist/destinations/braze/trackEvent/index.js.map +1 -1
- package/dist/destinations/braze/trackPurchase/index.js +2 -43
- package/dist/destinations/braze/trackPurchase/index.js.map +1 -1
- package/dist/destinations/braze/utils.d.ts +7 -0
- package/dist/destinations/braze/utils.js +103 -0
- package/dist/destinations/braze/utils.js.map +1 -0
- package/dist/destinations/braze-cohorts/syncAudiences/index.js +1 -1
- package/dist/destinations/braze-cohorts/syncAudiences/index.js.map +1 -1
- package/dist/destinations/clevertap/userDelete/index.js +4 -4
- package/dist/destinations/clevertap/userDelete/index.js.map +1 -1
- package/dist/destinations/cordial/addContactToList/index.js.map +1 -1
- package/dist/destinations/cordial/addProductToCart/index.js +1 -1
- package/dist/destinations/cordial/addProductToCart/index.js.map +1 -1
- package/dist/destinations/cordial/cordial-client.js +2 -2
- package/dist/destinations/cordial/createContactactivity/index.js.map +1 -1
- package/dist/destinations/cordial/identities-fields.d.ts +1 -1
- package/dist/destinations/cordial/identities-fields.js +1 -1
- package/dist/destinations/cordial/identities-fields.js.map +1 -1
- package/dist/destinations/cordial/index.js +1 -1
- package/dist/destinations/cordial/index.js.map +1 -1
- package/dist/destinations/cordial/mergeContacts/index.js.map +1 -1
- package/dist/destinations/cordial/removeContactFromList/index.js.map +1 -1
- package/dist/destinations/cordial/removeProductFromCart/index.js.map +1 -1
- package/dist/destinations/cordial/upsertOrder/index.js +8 -8
- package/dist/destinations/cordial/upsertOrder/index.js.map +1 -1
- package/dist/destinations/criteo-audiences/addUserToAudience/generated-types.d.ts +1 -0
- package/dist/destinations/criteo-audiences/addUserToAudience/index.js +11 -2
- package/dist/destinations/criteo-audiences/addUserToAudience/index.js.map +1 -1
- package/dist/destinations/criteo-audiences/criteo-audiences.d.ts +1 -0
- package/dist/destinations/criteo-audiences/criteo-audiences.js +11 -2
- package/dist/destinations/criteo-audiences/criteo-audiences.js.map +1 -1
- package/dist/destinations/criteo-audiences/removeUserFromAudience/generated-types.d.ts +1 -0
- package/dist/destinations/criteo-audiences/removeUserFromAudience/index.js +11 -2
- package/dist/destinations/criteo-audiences/removeUserFromAudience/index.js.map +1 -1
- package/dist/destinations/emarsys/triggerEvent/index.js +1 -0
- package/dist/destinations/emarsys/triggerEvent/index.js.map +1 -1
- package/dist/destinations/emarsys/upsertContact/generated-types.d.ts +1 -0
- package/dist/destinations/emarsys/upsertContact/index.js +1 -0
- package/dist/destinations/emarsys/upsertContact/index.js.map +1 -1
- package/dist/destinations/engage-messaging-sendgrid/sendEmail/generated-types.d.ts +1 -1
- package/dist/destinations/engage-messaging-sendgrid/sendEmail/index.js +5 -2
- package/dist/destinations/engage-messaging-sendgrid/sendEmail/index.js.map +1 -1
- package/dist/destinations/engage-messaging-twilio/sendSms/generated-types.d.ts +1 -1
- package/dist/destinations/engage-messaging-twilio/sendSms/index.js +0 -1
- package/dist/destinations/engage-messaging-twilio/sendSms/index.js.map +1 -1
- package/dist/destinations/engage-messaging-twilio/sendSms/sms-sender.js +4 -1
- package/dist/destinations/engage-messaging-twilio/sendSms/sms-sender.js.map +1 -1
- package/dist/destinations/engage-messaging-twilio/sendWhatsApp/whatsapp-sender.js +1 -1
- package/dist/destinations/engage-messaging-twilio/sendWhatsApp/whatsapp-sender.js.map +1 -1
- package/dist/destinations/facebook-conversions-api/addToCart/generated-types.d.ts +2 -0
- package/dist/destinations/facebook-conversions-api/custom/generated-types.d.ts +2 -0
- package/dist/destinations/facebook-conversions-api/fb-capi-properties.d.ts +2 -2
- package/dist/destinations/facebook-conversions-api/fb-capi-properties.js +2 -2
- package/dist/destinations/facebook-conversions-api/fb-capi-properties.js.map +1 -1
- package/dist/destinations/facebook-conversions-api/fb-capi-user-data.js +13 -1
- package/dist/destinations/facebook-conversions-api/fb-capi-user-data.js.map +1 -1
- package/dist/destinations/facebook-conversions-api/initiateCheckout/generated-types.d.ts +2 -0
- package/dist/destinations/facebook-conversions-api/initiateCheckout/index.js.map +1 -1
- package/dist/destinations/facebook-conversions-api/pageView/generated-types.d.ts +2 -0
- package/dist/destinations/facebook-conversions-api/purchase/generated-types.d.ts +2 -0
- package/dist/destinations/facebook-conversions-api/purchase/index.js +3 -3
- package/dist/destinations/facebook-conversions-api/purchase/index.js.map +1 -1
- package/dist/destinations/facebook-conversions-api/search/generated-types.d.ts +2 -0
- package/dist/destinations/facebook-conversions-api/viewContent/generated-types.d.ts +2 -0
- package/dist/destinations/google-analytics-4/addPaymentInfo/generated-types.d.ts +3 -1
- package/dist/destinations/google-analytics-4/addPaymentInfo/index.js +14 -10
- package/dist/destinations/google-analytics-4/addPaymentInfo/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/addToCart/generated-types.d.ts +3 -1
- package/dist/destinations/google-analytics-4/addToCart/index.js +11 -7
- package/dist/destinations/google-analytics-4/addToCart/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/addToWishlist/generated-types.d.ts +3 -1
- package/dist/destinations/google-analytics-4/addToWishlist/index.js +13 -9
- package/dist/destinations/google-analytics-4/addToWishlist/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/beginCheckout/generated-types.d.ts +3 -1
- package/dist/destinations/google-analytics-4/beginCheckout/index.js +11 -7
- package/dist/destinations/google-analytics-4/beginCheckout/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/customEvent/generated-types.d.ts +3 -1
- package/dist/destinations/google-analytics-4/customEvent/index.js +10 -6
- package/dist/destinations/google-analytics-4/customEvent/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/ga4-functions.d.ts +7 -0
- package/dist/destinations/google-analytics-4/ga4-functions.js +44 -7
- package/dist/destinations/google-analytics-4/ga4-functions.js.map +1 -1
- package/dist/destinations/google-analytics-4/ga4-properties.d.ts +2 -0
- package/dist/destinations/google-analytics-4/ga4-properties.js +17 -3
- package/dist/destinations/google-analytics-4/ga4-properties.js.map +1 -1
- package/dist/destinations/google-analytics-4/ga4-types.d.ts +14 -0
- package/dist/destinations/google-analytics-4/ga4-types.js +6 -0
- package/dist/destinations/google-analytics-4/ga4-types.js.map +1 -1
- package/dist/destinations/google-analytics-4/generateLead/generated-types.d.ts +3 -1
- package/dist/destinations/google-analytics-4/generateLead/index.js +11 -7
- package/dist/destinations/google-analytics-4/generateLead/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/generated-types.d.ts +2 -1
- package/dist/destinations/google-analytics-4/index.js +16 -11
- package/dist/destinations/google-analytics-4/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/login/generated-types.d.ts +3 -1
- package/dist/destinations/google-analytics-4/login/index.js +10 -6
- package/dist/destinations/google-analytics-4/login/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/pageView/generated-types.d.ts +3 -1
- package/dist/destinations/google-analytics-4/pageView/index.js +10 -6
- package/dist/destinations/google-analytics-4/pageView/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/purchase/generated-types.d.ts +3 -1
- package/dist/destinations/google-analytics-4/purchase/index.js +11 -7
- package/dist/destinations/google-analytics-4/purchase/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/refund/generated-types.d.ts +3 -1
- package/dist/destinations/google-analytics-4/refund/index.js +13 -9
- package/dist/destinations/google-analytics-4/refund/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/removeFromCart/generated-types.d.ts +3 -1
- package/dist/destinations/google-analytics-4/removeFromCart/index.js +13 -9
- package/dist/destinations/google-analytics-4/removeFromCart/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/search/generated-types.d.ts +3 -1
- package/dist/destinations/google-analytics-4/search/index.js +10 -6
- package/dist/destinations/google-analytics-4/search/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/selectItem/generated-types.d.ts +3 -1
- package/dist/destinations/google-analytics-4/selectItem/index.js +11 -7
- package/dist/destinations/google-analytics-4/selectItem/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/selectPromotion/generated-types.d.ts +3 -1
- package/dist/destinations/google-analytics-4/selectPromotion/index.js +11 -7
- package/dist/destinations/google-analytics-4/selectPromotion/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/signUp/generated-types.d.ts +3 -1
- package/dist/destinations/google-analytics-4/signUp/index.js +10 -6
- package/dist/destinations/google-analytics-4/signUp/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/viewCart/generated-types.d.ts +3 -1
- package/dist/destinations/google-analytics-4/viewCart/index.js +13 -9
- package/dist/destinations/google-analytics-4/viewCart/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/viewItem/generated-types.d.ts +3 -1
- package/dist/destinations/google-analytics-4/viewItem/index.js +11 -7
- package/dist/destinations/google-analytics-4/viewItem/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/viewItemList/generated-types.d.ts +3 -1
- package/dist/destinations/google-analytics-4/viewItemList/index.js +11 -7
- package/dist/destinations/google-analytics-4/viewItemList/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/viewPromotion/generated-types.d.ts +3 -1
- package/dist/destinations/google-analytics-4/viewPromotion/index.js +11 -7
- package/dist/destinations/google-analytics-4/viewPromotion/index.js.map +1 -1
- package/dist/destinations/google-enhanced-conversions/postConversion/index.js +2 -2
- package/dist/destinations/google-enhanced-conversions/postConversion/index.js.map +1 -1
- package/dist/destinations/google-enhanced-conversions/uploadCallConversion/index.js +1 -1
- package/dist/destinations/google-enhanced-conversions/uploadCallConversion/index.js.map +1 -1
- package/dist/destinations/google-enhanced-conversions/uploadClickConversion/index.js +1 -1
- package/dist/destinations/google-enhanced-conversions/uploadClickConversion/index.js.map +1 -1
- package/dist/destinations/google-enhanced-conversions/uploadConversionAdjustment/index.js +1 -1
- package/dist/destinations/google-enhanced-conversions/uploadConversionAdjustment/index.js.map +1 -1
- package/dist/destinations/google-sheets-dev/index.js +3 -10
- package/dist/destinations/google-sheets-dev/index.js.map +1 -1
- package/dist/destinations/hubspot/errors.d.ts +2 -1
- package/dist/destinations/hubspot/errors.js +2 -1
- package/dist/destinations/hubspot/errors.js.map +1 -1
- package/dist/destinations/index.js +2 -2
- package/dist/destinations/index.js.map +1 -1
- package/dist/destinations/intercom/groupIdentifyContact/index.js +1 -0
- package/dist/destinations/intercom/groupIdentifyContact/index.js.map +1 -1
- package/dist/destinations/ironclad/recordAction.types.d.ts +12 -0
- package/dist/destinations/{braze-cohorts/cohortChanges.js → ironclad/recordAction.types.js} +1 -1
- package/dist/destinations/ironclad/recordAction.types.js.map +1 -0
- package/dist/destinations/linkedin-audiences/index.js +2 -2
- package/dist/destinations/linkedin-audiences/index.js.map +1 -1
- package/dist/destinations/mixpanel/index.js +1 -1
- package/dist/destinations/mixpanel/mixpanel-properties.js +0 -8
- package/dist/destinations/mixpanel/mixpanel-properties.js.map +1 -1
- package/dist/destinations/mixpanel/trackEvent/functions.js +1 -1
- package/dist/destinations/mixpanel/trackEvent/functions.js.map +1 -1
- package/dist/destinations/mixpanel/trackEvent/generated-types.d.ts +0 -3
- package/dist/destinations/mixpanel/trackEvent/index.js.map +1 -1
- package/dist/destinations/mixpanel/trackPurchase/generated-types.d.ts +0 -3
- package/dist/destinations/mixpanel/trackPurchase/index.js.map +1 -1
- package/dist/destinations/outfunnel/forwardGroupEvent/generated-types.d.ts +14 -0
- package/dist/destinations/outfunnel/forwardGroupEvent/generated-types.js.map +1 -0
- package/dist/destinations/outfunnel/forwardGroupEvent/index.d.ts +5 -0
- package/dist/destinations/outfunnel/forwardGroupEvent/index.js +83 -0
- package/dist/destinations/outfunnel/forwardGroupEvent/index.js.map +1 -0
- package/dist/destinations/outfunnel/forwardIdentifyEvent/generated-types.d.ts +13 -0
- package/dist/destinations/outfunnel/forwardIdentifyEvent/generated-types.js.map +1 -0
- package/dist/destinations/outfunnel/forwardIdentifyEvent/index.d.ts +5 -0
- package/dist/destinations/outfunnel/forwardIdentifyEvent/index.js +76 -0
- package/dist/destinations/outfunnel/forwardIdentifyEvent/index.js.map +1 -0
- package/dist/destinations/outfunnel/forwardTrackEvent/generated-types.d.ts +15 -0
- package/dist/destinations/outfunnel/forwardTrackEvent/generated-types.js.map +1 -0
- package/dist/destinations/outfunnel/forwardTrackEvent/index.d.ts +5 -0
- package/dist/destinations/outfunnel/forwardTrackEvent/index.js +96 -0
- package/dist/destinations/outfunnel/forwardTrackEvent/index.js.map +1 -0
- package/dist/destinations/outfunnel/generated-types.d.ts +4 -0
- package/dist/destinations/outfunnel/generated-types.js.map +1 -0
- package/dist/destinations/outfunnel/index.js +54 -0
- package/dist/destinations/outfunnel/index.js.map +1 -0
- package/dist/destinations/outfunnel/presets.d.ts +2 -0
- package/dist/destinations/outfunnel/presets.js +31 -0
- package/dist/destinations/outfunnel/presets.js.map +1 -0
- package/dist/destinations/outfunnel/utils.d.ts +1 -0
- package/dist/destinations/outfunnel/utils.js +7 -0
- package/dist/destinations/outfunnel/utils.js.map +1 -0
- package/dist/destinations/qualtrics/qualtricsApiClient.js +3 -1
- package/dist/destinations/qualtrics/qualtricsApiClient.js.map +1 -1
- package/dist/destinations/ripe/group/index.js +0 -1
- package/dist/destinations/ripe/group/index.js.map +1 -1
- package/dist/destinations/ripe/identify/index.js +0 -1
- package/dist/destinations/ripe/identify/index.js.map +1 -1
- package/dist/destinations/ripe/page/index.js +0 -1
- package/dist/destinations/ripe/page/index.js.map +1 -1
- package/dist/destinations/ripe/track/index.js +0 -1
- package/dist/destinations/ripe/track/index.js.map +1 -1
- package/dist/destinations/salesforce/sf-properties.d.ts +0 -1
- package/dist/destinations/salesforce/sf-properties.js.map +1 -1
- package/dist/destinations/segment/errors.d.ts +3 -3
- package/dist/destinations/segment/errors.js +2 -2
- package/dist/destinations/segment/errors.js.map +1 -1
- package/dist/destinations/segment/segment-properties.js +2 -1
- package/dist/destinations/segment/segment-properties.js.map +1 -1
- package/dist/destinations/segment/sendTrack/generated-types.d.ts +1 -1
- package/dist/destinations/segment-profiles/errors.d.ts +3 -3
- package/dist/destinations/segment-profiles/errors.js +2 -2
- package/dist/destinations/segment-profiles/errors.js.map +1 -1
- package/dist/destinations/segment-profiles/segment-properties.js +1 -1
- package/dist/destinations/toplyne/constants.d.ts +1 -0
- package/dist/destinations/toplyne/constants.js +5 -0
- package/dist/destinations/toplyne/constants.js.map +1 -0
- package/dist/destinations/{google-sheets-partner → toplyne}/generated-types.d.ts +1 -0
- package/dist/destinations/toplyne/generated-types.js.map +1 -0
- package/dist/destinations/{tiktok-audiences → toplyne}/index.d.ts +1 -1
- package/dist/destinations/toplyne/index.js +69 -0
- package/dist/destinations/toplyne/index.js.map +1 -0
- package/dist/destinations/toplyne/sendAccountProfiles/generated-types.d.ts +7 -0
- package/dist/destinations/toplyne/sendAccountProfiles/generated-types.js +3 -0
- package/dist/destinations/toplyne/sendAccountProfiles/generated-types.js.map +1 -0
- package/dist/destinations/toplyne/sendAccountProfiles/index.js +49 -0
- package/dist/destinations/toplyne/sendAccountProfiles/index.js.map +1 -0
- package/dist/destinations/toplyne/sendEvents/generated-types.d.ts +10 -0
- package/dist/destinations/toplyne/sendEvents/generated-types.js +3 -0
- package/dist/destinations/toplyne/sendEvents/generated-types.js.map +1 -0
- package/dist/destinations/toplyne/sendEvents/index.js +70 -0
- package/dist/destinations/toplyne/sendEvents/index.js.map +1 -0
- package/dist/destinations/toplyne/sendUserProfiles/generated-types.d.ts +8 -0
- package/dist/destinations/toplyne/sendUserProfiles/generated-types.js +3 -0
- package/dist/destinations/toplyne/sendUserProfiles/generated-types.js.map +1 -0
- package/dist/destinations/toplyne/sendUserProfiles/index.js +56 -0
- package/dist/destinations/toplyne/sendUserProfiles/index.js.map +1 -0
- package/dist/destinations/twilio/sendSMS.types.d.ts +1 -0
- package/dist/destinations/voucherify/index.js +1 -1
- package/dist/destinations/voucherify/index.js.map +1 -1
- package/package.json +5 -4
- package/dist/destinations/actions-bingads/functions.d.ts +0 -0
- package/dist/destinations/actions-bingads/functions.js +0 -2
- package/dist/destinations/actions-bingads/functions.js.map +0 -1
- package/dist/destinations/actions-bingads/generated-types.d.ts +0 -10
- package/dist/destinations/actions-bingads/generated-types.js.map +0 -1
- package/dist/destinations/actions-bingads/index.js +0 -77
- package/dist/destinations/actions-bingads/index.js.map +0 -1
- package/dist/destinations/actions-bingads/offlineConversions/formatter.d.ts +0 -8
- package/dist/destinations/actions-bingads/offlineConversions/formatter.js +0 -33
- package/dist/destinations/actions-bingads/offlineConversions/formatter.js.map +0 -1
- package/dist/destinations/actions-bingads/offlineConversions/generated-types.d.ts +0 -7
- package/dist/destinations/actions-bingads/offlineConversions/generated-types.js.map +0 -1
- package/dist/destinations/actions-bingads/offlineConversions/index.js +0 -131
- package/dist/destinations/actions-bingads/offlineConversions/index.js.map +0 -1
- package/dist/destinations/braze-cohorts/cohortChanges.d.ts +0 -10
- package/dist/destinations/braze-cohorts/cohortChanges.js.map +0 -1
- package/dist/destinations/google-sheets-partner/constants.d.ts +0 -3
- package/dist/destinations/google-sheets-partner/constants.js +0 -7
- package/dist/destinations/google-sheets-partner/constants.js.map +0 -1
- package/dist/destinations/google-sheets-partner/generated-types.js.map +0 -1
- package/dist/destinations/google-sheets-partner/googleapis/index.d.ts +0 -17
- package/dist/destinations/google-sheets-partner/googleapis/index.js +0 -34
- package/dist/destinations/google-sheets-partner/googleapis/index.js.map +0 -1
- package/dist/destinations/google-sheets-partner/index.d.ts +0 -4
- package/dist/destinations/google-sheets-partner/index.js +0 -43
- package/dist/destinations/google-sheets-partner/index.js.map +0 -1
- package/dist/destinations/google-sheets-partner/postSheet/generated-types.d.ts +0 -11
- package/dist/destinations/google-sheets-partner/postSheet/generated-types.js.map +0 -1
- package/dist/destinations/google-sheets-partner/postSheet/index.js +0 -79
- package/dist/destinations/google-sheets-partner/postSheet/index.js.map +0 -1
- package/dist/destinations/google-sheets-partner/postSheet/operations.d.ts +0 -10
- package/dist/destinations/google-sheets-partner/postSheet/operations.js +0 -96
- package/dist/destinations/google-sheets-partner/postSheet/operations.js.map +0 -1
- package/dist/destinations/tiktok-audiences/addUser/generated-types.d.ts +0 -12
- package/dist/destinations/tiktok-audiences/addUser/generated-types.js.map +0 -1
- package/dist/destinations/tiktok-audiences/addUser/index.js +0 -47
- package/dist/destinations/tiktok-audiences/addUser/index.js.map +0 -1
- package/dist/destinations/tiktok-audiences/api/api.test.d.ts +0 -1
- package/dist/destinations/tiktok-audiences/api/api.test.js +0 -118
- package/dist/destinations/tiktok-audiences/api/api.test.js.map +0 -1
- package/dist/destinations/tiktok-audiences/api/index.d.ts +0 -13
- package/dist/destinations/tiktok-audiences/api/index.js +0 -93
- package/dist/destinations/tiktok-audiences/api/index.js.map +0 -1
- package/dist/destinations/tiktok-audiences/constants.d.ts +0 -2
- package/dist/destinations/tiktok-audiences/constants.js +0 -6
- package/dist/destinations/tiktok-audiences/constants.js.map +0 -1
- package/dist/destinations/tiktok-audiences/functions.d.ts +0 -14
- package/dist/destinations/tiktok-audiences/functions.js +0 -116
- package/dist/destinations/tiktok-audiences/functions.js.map +0 -1
- package/dist/destinations/tiktok-audiences/generated-types.d.ts +0 -3
- package/dist/destinations/tiktok-audiences/generated-types.js.map +0 -1
- package/dist/destinations/tiktok-audiences/index.js +0 -38
- package/dist/destinations/tiktok-audiences/index.js.map +0 -1
- package/dist/destinations/tiktok-audiences/properties.d.ts +0 -11
- package/dist/destinations/tiktok-audiences/properties.js +0 -80
- package/dist/destinations/tiktok-audiences/properties.js.map +0 -1
- package/dist/destinations/tiktok-audiences/removeUser/generated-types.d.ts +0 -12
- package/dist/destinations/tiktok-audiences/removeUser/generated-types.js.map +0 -1
- package/dist/destinations/tiktok-audiences/removeUser/index.js +0 -47
- package/dist/destinations/tiktok-audiences/removeUser/index.js.map +0 -1
- package/dist/destinations/tiktok-audiences/types.d.ts +0 -33
- package/dist/destinations/tiktok-audiences/types.js +0 -3
- package/dist/destinations/tiktok-audiences/types.js.map +0 -1
- /package/dist/destinations/{actions-bingads → blackbaud-raisers-edge-nxt/createConstituentAction}/generated-types.js +0 -0
- /package/dist/destinations/{actions-bingads/offlineConversions → blackbaud-raisers-edge-nxt/createGift}/generated-types.js +0 -0
- /package/dist/destinations/{google-sheets-partner/postSheet → blackbaud-raisers-edge-nxt/createGift}/index.d.ts +0 -0
- /package/dist/destinations/{google-sheets-partner → outfunnel/forwardGroupEvent}/generated-types.js +0 -0
- /package/dist/destinations/{google-sheets-partner/postSheet → outfunnel/forwardIdentifyEvent}/generated-types.js +0 -0
- /package/dist/destinations/{tiktok-audiences/addUser → outfunnel/forwardTrackEvent}/generated-types.js +0 -0
- /package/dist/destinations/{tiktok-audiences → outfunnel}/generated-types.js +0 -0
- /package/dist/destinations/{actions-bingads → outfunnel}/index.d.ts +0 -0
- /package/dist/destinations/{tiktok-audiences/removeUser → toplyne}/generated-types.js +0 -0
- /package/dist/destinations/{actions-bingads/offlineConversions → toplyne/sendAccountProfiles}/index.d.ts +0 -0
- /package/dist/destinations/{tiktok-audiences/addUser → toplyne/sendEvents}/index.d.ts +0 -0
- /package/dist/destinations/{tiktok-audiences/removeUser → toplyne/sendUserProfiles}/index.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/destinations/google-sheets-dev/index.ts"],"names":[],"mappings":";;;;;AAGA,2EAAkD;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/destinations/google-sheets-dev/index.ts"],"names":[],"mappings":";;;;;AAGA,2EAAkD;AAQlD,MAAM,WAAW,GAAoC;IACnD,IAAI,EAAE,0BAA0B;IAChC,IAAI,EAAE,2BAA2B;IACjC,IAAI,EAAE,OAAO;IAEb,cAAc,EAAE;QACd,MAAM,EAAE,eAAe;QACvB,MAAM,EAAE,EAAE;QAMV,kBAAkB,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;YAC9C,IAAI,CAAC,IAAI,CAAC,eAAe;gBAAE,MAAM,IAAI,KAAK,CAAC,sDAAsD,CAAC,CAAA;YAClG,MAAM,GAAG,GAAG,MAAM,OAAO,CAAuB,IAAI,CAAC,eAAe,EAAE;gBACpE,MAAM,EAAE,MAAM;gBACd,IAAI,EAAE,IAAI,eAAe,CAAC;oBACxB,aAAa,EAAE,IAAI,CAAC,YAAY;oBAChC,SAAS,EAAE,IAAI,CAAC,QAAQ;oBACxB,aAAa,EAAE,IAAI,CAAC,YAAY;oBAChC,UAAU,EAAE,eAAe;iBAC5B,CAAC;aACH,CAAC,CAAA;YAEF,OAAO,EAAE,WAAW,EAAE,GAAG,CAAC,IAAI,CAAC,YAAY,EAAE,CAAA;QAC/C,CAAC;KACF;IACD,aAAa,CAAC,EAAE,IAAI,EAAE;QACpB,OAAO;YACL,OAAO,EAAE;gBACP,aAAa,EAAE,UAAU,IAAI,EAAE,WAAW,EAAE;aAC7C;SACF,CAAA;IACH,CAAC;IAQD,OAAO,EAAE;QACP,SAAS,EAAT,mBAAS;KACV;CACF,CAAA;AAED,kBAAe,WAAW,CAAA"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IntegrationError, RetryableError, HTTPError } from '@segment/actions-core';
|
|
2
|
+
import { PayloadValidationError } from '@segment/actions-core';
|
|
2
3
|
export declare class HubSpotError extends HTTPError {
|
|
3
4
|
response: Response & {
|
|
4
5
|
data: {
|
|
@@ -11,7 +12,7 @@ export declare class HubSpotError extends HTTPError {
|
|
|
11
12
|
}
|
|
12
13
|
export declare const MissingIdentityCallThrowableError: IntegrationError;
|
|
13
14
|
export declare const CompanySearchThrowableError: IntegrationError;
|
|
14
|
-
export declare const RestrictedPropertyThrowableError:
|
|
15
|
+
export declare const RestrictedPropertyThrowableError: PayloadValidationError;
|
|
15
16
|
export declare const MultipleCompaniesInSearchResultThrowableError: IntegrationError;
|
|
16
17
|
export declare const SegmentUniqueIdentifierMissingRetryableError: RetryableError;
|
|
17
18
|
export declare function isSegmentUniqueIdentifierPropertyError(error: HubSpotError, segmentUniqueIdentifierProperty: string): boolean;
|
|
@@ -2,13 +2,14 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.isSegmentUniqueIdentifierPropertyError = exports.SegmentUniqueIdentifierMissingRetryableError = exports.MultipleCompaniesInSearchResultThrowableError = exports.RestrictedPropertyThrowableError = exports.CompanySearchThrowableError = exports.MissingIdentityCallThrowableError = exports.HubSpotError = void 0;
|
|
4
4
|
const actions_core_1 = require("@segment/actions-core");
|
|
5
|
+
const actions_core_2 = require("@segment/actions-core");
|
|
5
6
|
const properties_1 = require("./properties");
|
|
6
7
|
class HubSpotError extends actions_core_1.HTTPError {
|
|
7
8
|
}
|
|
8
9
|
exports.HubSpotError = HubSpotError;
|
|
9
10
|
exports.MissingIdentityCallThrowableError = new actions_core_1.IntegrationError('Identify (Upsert Contact) must be called before Group (Upsert Company) for the HubSpot Cloud (Actions) destination if ’Associate Contact with Company’ property is set to Yes (true).', 'Missing Identity Call', 400);
|
|
10
11
|
exports.CompanySearchThrowableError = new actions_core_1.IntegrationError('HubSpot returned 400 error while performing a company search. Please check if ’Company Search Fields’ contains valid properties defined in HubSpot.', 'Company Search Failed', 400);
|
|
11
|
-
exports.RestrictedPropertyThrowableError = new
|
|
12
|
+
exports.RestrictedPropertyThrowableError = new actions_core_2.PayloadValidationError(`Segment uses ’${properties_1.SEGMENT_UNIQUE_IDENTIFIER}’ property internally to map Segment Groups to HubSpot Companies. This property shouldn’t be defined explicitly.`);
|
|
12
13
|
exports.MultipleCompaniesInSearchResultThrowableError = new actions_core_1.IntegrationError(`The search criteria defined by Company Search Fields returned more than one companies. The update request will be rejected.`, 'Search Criteria Not Unique', 400);
|
|
13
14
|
exports.SegmentUniqueIdentifierMissingRetryableError = new actions_core_1.RetryableError(`The ’${properties_1.SEGMENT_UNIQUE_IDENTIFIER}’ property doesn't exist in HubSpot. Segment will attempt to create the property and retry the action.`);
|
|
14
15
|
function isSegmentUniqueIdentifierPropertyError(error, segmentUniqueIdentifierProperty) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../../../src/destinations/hubspot/errors.ts"],"names":[],"mappings":";;;AAAA,wDAAmF;AACnF,6CAAwD;AAExD,MAAa,YAAa,SAAQ,wBAAS;CAS1C;AATD,oCASC;AACY,QAAA,iCAAiC,GAAG,IAAI,+BAAgB,CACnE,uLAAuL,E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AK,+BAA+B;YACrD,SAAS,CAAC,CAAC,CAAC,CAAC,KAAK,KAAK,uBAAuB,CAC/C,CAAA;KACF;IAAC,OAAO,CAAC,EAAE;QACV,OAAO,KAAK,CAAA;KACb;AACH,CAAC;AApBD,wFAoBC"}
|
|
@@ -55,7 +55,6 @@ register('615c7438d93d9b61b1e9e192', './mixpanel');
|
|
|
55
55
|
register('61a8032ea5f157ee37a720be', './metronome');
|
|
56
56
|
register('620feaa207e70f6c6a765ff7', './moengage');
|
|
57
57
|
register('62df16e45ba0058c864a75d1', './actions-pardot');
|
|
58
|
-
register('637c12fa86e32b125be33bca', './actions-bingads');
|
|
59
58
|
register('5f7dd8191ad74f868ab1fc48', './pipedrive');
|
|
60
59
|
register('62e17e6f687e4a3d32d0f875', './qualtrics');
|
|
61
60
|
register('63cade592992cf7052ce2e3e', './ripe');
|
|
@@ -65,7 +64,6 @@ register('5f7dd8e302173ff732db5cc4', './slack');
|
|
|
65
64
|
register('6261a8b6cb4caa70e19116e8', './snap-conversions-api');
|
|
66
65
|
register('6234b137d3b6404a64f2a0f0', './talon-one');
|
|
67
66
|
register('615cae349d109d6b7496a131', './tiktok-conversions');
|
|
68
|
-
register('63d2e550fb90f1632ed8820a', './tiktok-audiences');
|
|
69
67
|
register('602efa1f249b9a5e2bf8a813', './twilio');
|
|
70
68
|
register('614a3c7d791c91c41bae7599', './webhook');
|
|
71
69
|
register('61dc4e96894a6d7954cc6e45', './voyage');
|
|
@@ -87,6 +85,8 @@ register('63e42bc78efe98bc2a8451c1', './twilio-studio');
|
|
|
87
85
|
register('63e42d44b0a59908dc4cacc6', './blackbaud-raisers-edge-nxt');
|
|
88
86
|
register('63e42e512566ad7c7ca6ba9b', './pinterest-conversions');
|
|
89
87
|
register('63e52bea7747fbc311d5b872', './algolia-insights');
|
|
88
|
+
register('63ff8bae963d5cb4fc79f097', './outfunnel');
|
|
89
|
+
register('6408ac6c144a7d5ac55cf414', './toplyne');
|
|
90
90
|
function register(id, destinationPath) {
|
|
91
91
|
const definition = require(destinationPath).default;
|
|
92
92
|
const resolvedPath = require.resolve(destinationPath);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/destinations/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,wDAAmD;AACnD,gDAAuB;AAWV,QAAA,YAAY,GAA0C,EAAE,CAAA;AACxD,QAAA,QAAQ,GAAsC,EAAE,CAAA;AAU7D,QAAQ,CAAC,0BAA0B,EAAE,UAAU,CAAC,CAAA;AAChD,QAAQ,CAAC,0BAA0B,EAAE,sBAAsB,CAAC,CAAA;AAC5D,QAAQ,CAAC,0BAA0B,EAAE,gBAAgB,CAAC,CAAA;AACtD,QAAQ,CAAC,0BAA0B,EAAE,aAAa,CAAC,CAAA;AACnD,QAAQ,CAAC,0BAA0B,EAAE,SAAS,CAAC,CAAA;AAC/C,QAAQ,CAAC,0BAA0B,EAAE,aAAa,CAAC,CAAA;AACnD,QAAQ,CAAC,0BAA0B,EAAE,SAAS,CAAC,CAAA;AAC/C,QAAQ,CAAC,0BAA0B,EAAE,WAAW,CAAC,CAAA;AACjD,QAAQ,CAAC,0BAA0B,EAAE,oBAAoB,CAAC,CAAA;AAC1D,QAAQ,CAAC,0BAA0B,EAAE,cAAc,CAAC,CAAA;AACpD,QAAQ,CAAC,0BAA0B,EAAE,WAAW,CAAC,CAAA;AACjD,QAAQ,CAAC,0BAA0B,EAAE,6BAA6B,CAAC,CAAA;AACnE,QAAQ,CAAC,0BAA0B,EAAE,2BAA2B,CAAC,CAAA;AACjE,QAAQ,CAAC,0BAA0B,EAAE,4BAA4B,CAAC,CAAA;AAClE,QAAQ,CAAC,0BAA0B,EAAE,aAAa,CAAC,CAAA;AACnD,QAAQ,CAAC,0BAA0B,EAAE,aAAa,CAAC,CAAA;AACnD,QAAQ,CAAC,0BAA0B,EAAE,6BAA6B,CAAC,CAAA;AACnE,QAAQ,CAAC,0BAA0B,EAAE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A;IAExE,IAAI,CAAC,WAAW,EAAE;QAChB,OAAO,IAAI,CAAA;KACZ;IAGD,OAAO,IAAI,0BAAW,CAAC,WAAyC,CAAC,CAAA;AACnE,CAAC;AAED,SAAgB,kBAAkB,CAAC,EAAU;IAC3C,MAAM,WAAW,GAAG,gBAAQ,CAAC,EAAE,CAAC,CAAA;IAEhC,IAAI,CAAC,WAAW,EAAE,UAAU,EAAE;QAC5B,OAAO,IAAI,CAAA;KACZ;IAED,OAAO,IAAI,0BAAW,CAAC,WAAW,CAAC,UAAU,CAAC,CAAA;AAChD,CAAC;AARD,gDAQC;AAEM,KAAK,UAAU,uBAAuB,CAAC,WAAmB;IAC/D,OAAO,kBAAkB,CAAC,WAAW,CAAC,IAAI,uBAAuB,CAAC,WAAW,CAAC,CAAA;AAChF,CAAC;AAFD,0DAEC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/intercom/groupIdentifyContact/index.ts"],"names":[],"mappings":";;AAEA,kCAAkD;AAOlD,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,kBAAkB;IACzB,WAAW,EAAE,8DAA8D;IAC3E,mBAAmB,EAAE,gBAAgB;IACrC,MAAM,EAAE;QACN,iBAAiB,EAAE;YACjB,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,0CAA0C;YACvD,KAAK,EAAE,uBAAuB;YAC9B,OAAO,EAAE;gBACP,OAAO,EAAE,oBAAoB;aAC9B;SACF;QACD,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,WAAW,EACT,iKAAiK;YACnK,KAAK,EAAE,aAAa;YACpB,OAAO,EAAE;gBACP,OAAO,EAAE,UAAU;aACpB;SACF;QACD,KAAK,EAAE;YACL,IAAI,EAAE,QAAQ;YACd,WAAW,EACT,8HAA8H;YAChI,KAAK,EAAE,eAAe;YACtB,MAAM,EAAE,OAAO;YACf,OAAO,EAAE;gBACP,OAAO,EAAE,gBAAgB;a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,KAAK,EAAE,mBAAmB;YAC1B,eAAe,EAAE,UAAU;SAC5B;KACF;IAOD,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;QACtC,MAAM,OAAO,GAAG,MAAM,+BAAwB,CAAC,OAAO,EAAE,OAAO,CAAC,CAAA;QAChE,OAAO,OAAO,CAAC,KAAK,CAAA;QACpB,OAAO,OAAO,CAAC,WAAW,CAAA;QAE1B,MAAM,QAAQ,GAAG,MAAM,6BAA6B,CAAC,OAAO,EAAE,OAAO,CAAC,CAAA;QACtE,IAAI,OAAO,EAAE;YACX,OAAO,CAAC,UAAU,GAAG,OAAO,CAAC,EAAE,CAAA;YAC/B,MAAM,SAAS,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAA;YAClC,OAAO,8BAA8B,CAAC,OAAO,EAAE,OAAO,CAAC,EAAE,EAAE,SAAS,CAAC,CAAA;SACtE;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/intercom/groupIdentifyContact/index.ts"],"names":[],"mappings":";;AAEA,kCAAkD;AAOlD,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,kBAAkB;IACzB,WAAW,EAAE,8DAA8D;IAC3E,mBAAmB,EAAE,gBAAgB;IACrC,MAAM,EAAE;QACN,iBAAiB,EAAE;YACjB,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,0CAA0C;YACvD,KAAK,EAAE,uBAAuB;YAC9B,OAAO,EAAE;gBACP,OAAO,EAAE,oBAAoB;aAC9B;SACF;QACD,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,WAAW,EACT,iKAAiK;YACnK,KAAK,EAAE,aAAa;YACpB,OAAO,EAAE;gBACP,OAAO,EAAE,UAAU;aACpB;SACF;QACD,KAAK,EAAE;YACL,IAAI,EAAE,QAAQ;YACd,WAAW,EACT,8HAA8H;YAChI,KAAK,EAAE,eAAe;YACtB,MAAM,EAAE,OAAO;YACf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QAAQ;YACd,WAAW,EACT,4ZAA4Z;YAC9Z,KAAK,EAAE,mBAAmB;YAC1B,eAAe,EAAE,UAAU;SAC5B;KACF;IAOD,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;QACtC,MAAM,OAAO,GAAG,MAAM,+BAAwB,CAAC,OAAO,EAAE,OAAO,CAAC,CAAA;QAChE,OAAO,OAAO,CAAC,KAAK,CAAA;QACpB,OAAO,OAAO,CAAC,WAAW,CAAA;QAE1B,MAAM,QAAQ,GAAG,MAAM,6BAA6B,CAAC,OAAO,EAAE,OAAO,CAAC,CAAA;QACtE,IAAI,OAAO,EAAE;YACX,OAAO,CAAC,UAAU,GAAG,OAAO,CAAC,EAAE,CAAA;YAC/B,MAAM,SAAS,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAA;YAClC,OAAO,8BAA8B,CAAC,OAAO,EAAE,OAAO,CAAC,EAAE,EAAE,SAAS,CAAC,CAAA;SACtE;QACD,OAAO,QAAQ,CAAA;IACjB,CAAC;CACF,CAAA;AAED,SAAS,6BAA6B,CACpC,OAAsB,EACtB,OAAgB;IAEhB,OAAO,OAAO,CAAC,mCAAmC,EAAE;QAClD,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,OAAO;KACd,CAAC,CAAA;AACJ,CAAC;AAED,SAAS,8BAA8B,CAAC,OAAsB,EAAE,SAAiB,EAAE,SAAiB;IAClG,OAAO,OAAO,CAAC,oCAAoC,SAAS,YAAY,EAAE;QACxE,MAAM,EAAE,MAAM;QACd,IAAI,EAAE;YACJ,EAAE,EAAE,SAAS;SACd;KACF,CAAC,CAAA;AACJ,CAAC;AAED,kBAAe,MAAM,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recordAction.types.js","sourceRoot":"","sources":["../../../src/destinations/ironclad/recordAction.types.ts"],"names":[],"mappings":""}
|
|
@@ -90,9 +90,9 @@ const destination = {
|
|
|
90
90
|
catch (e) {
|
|
91
91
|
const error = e;
|
|
92
92
|
if (error.response?.data?.error === 'invalid_grant') {
|
|
93
|
-
throw new actions_core_2.IntegrationError(`Invalid Authentication: Your refresh token is invalid or expired. Please re-authenticate to fetch a new refresh token.`,
|
|
93
|
+
throw new actions_core_2.IntegrationError(`Invalid Authentication: Your refresh token is invalid or expired. Please re-authenticate to fetch a new refresh token.`, actions_core_2.ErrorCodes.REFRESH_TOKEN_EXPIRED, 401);
|
|
94
94
|
}
|
|
95
|
-
throw new actions_core_2.IntegrationError(`Failed to fetch a new access token. Reason: ${error.response?.data?.error}`,
|
|
95
|
+
throw new actions_core_2.IntegrationError(`Failed to fetch a new access token. Reason: ${error.response?.data?.error}`, actions_core_2.ErrorCodes.OAUTH_REFRESH_FAILED, 401);
|
|
96
96
|
}
|
|
97
97
|
return { accessToken: res?.data?.access_token };
|
|
98
98
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/destinations/linkedin-audiences/index.ts"],"names":[],"mappings":";;;;;AACA,wDAAkE;AAElE,sEAA6C;AAC7C,2CAAkD;AAClD,kDAAyB;AACzB,+BAAyC;AASzC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/destinations/linkedin-audiences/index.ts"],"names":[],"mappings":";;;;;AACA,wDAAkE;AAElE,sEAA6C;AAC7C,2CAAkD;AAClD,kDAAyB;AACzB,+BAAyC;AASzC,wDAAoE;AAEpE,MAAM,WAAW,GAAoC;IAEnD,IAAI,EAAE,oBAAoB;IAC1B,IAAI,EAAE,4BAA4B;IAClC,IAAI,EAAE,OAAO;IAEb,cAAc,EAAE;QACd,MAAM,EAAE,QAAQ;QAChB,MAAM,EAAE;YACN,aAAa,EAAE;gBACb,KAAK,EAAE,wBAAwB;gBAC/B,WAAW,EACT,wLAAwL;gBAC1L,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,IAAI;aACf;YACD,UAAU,EAAE;gB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,MAAM,KAAK,GAAG,IAAI,eAAK,CAAC,KAAK,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAA;QAElD,OAAO;YACL,OAAO,EAAE;gBACP,aAAa,EAAE,UAAU,IAAI,EAAE,WAAW,EAAE;gBAC5C,kBAAkB,EAAE,gCAAoB;aACzC;YACD,KAAK;SACN,CAAA;IACH,CAAC;IAED,OAAO,EAAE;QACP,cAAc,EAAd,wBAAc;KACf;CACF,CAAA;AAED,kBAAe,WAAW,CAAA"}
|
|
@@ -87,7 +87,7 @@ const destination = {
|
|
|
87
87
|
sourceName: {
|
|
88
88
|
label: 'Source Name',
|
|
89
89
|
description: "This value, if it's not blank, will be sent as segment_source_name to Mixpanel for every event/page/screen call.",
|
|
90
|
-
type: 'string'
|
|
90
|
+
type: 'string',
|
|
91
91
|
},
|
|
92
92
|
strictMode: {
|
|
93
93
|
label: 'Strict Mode',
|
|
@@ -291,14 +291,6 @@ exports.eventProperties = {
|
|
|
291
291
|
'@path': '$.properties'
|
|
292
292
|
}
|
|
293
293
|
},
|
|
294
|
-
user_properties: {
|
|
295
|
-
label: 'User Properties',
|
|
296
|
-
type: 'object',
|
|
297
|
-
description: 'An object of key-value pairs that represent additional data tied to the user.',
|
|
298
|
-
default: {
|
|
299
|
-
'@path': '$.traits'
|
|
300
|
-
}
|
|
301
|
-
},
|
|
302
294
|
context: {
|
|
303
295
|
label: 'Event context',
|
|
304
296
|
description: 'An object of key-value pairs that provides useful context about the event.',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mixpanel-properties.js","sourceRoot":"","sources":["../../../src/destinations/mixpanel/mixpanel-properties.ts"],"names":[],"mappings":";;;AAEa,QAAA,eAAe,GAA+B;IACzD,WAAW,EAAE;QACX,KAAK,EAAE,aAAa;QACpB,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,iCAAiC;QAC9C,OAAO,EAAE;YACP,KAAK,EAAE;gBACL,MAAM,EAAE,EAAE,OAAO,EAA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E;YACP,OAAO,EAAE,yBAAyB;SACnC;KACF;IACD,SAAS,EAAE;QACT,KAAK,EAAE,YAAY;QACnB,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,YAAY;QACzB,OAAO,EAAE;YACP,OAAO,EAAE,qBAAqB;SAC/B;KACF;IACD,gBAAgB,EAAE;QAChB,KAAK,EAAE,kBAAkB;QACzB,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,8FAA8F;QAC3G,OAAO,EAAE;YACP,OAAO,EAAE,cAAc;SACxB;KACF;IACD,
|
|
1
|
+
{"version":3,"file":"mixpanel-properties.js","sourceRoot":"","sources":["../../../src/destinations/mixpanel/mixpanel-properties.ts"],"names":[],"mappings":";;;AAEa,QAAA,eAAe,GAA+B;IACzD,WAAW,EAAE;QACX,KAAK,EAAE,aAAa;QACpB,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,iCAAiC;QAC9C,OAAO,EAAE;YACP,KAAK,EAAE;gBACL,MAAM,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE;gBAC/B,IAAI,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE;gBAC7B,IAAI,EAAE,EAAE,OAAO,EAAE,eAAe,EAAE;aACnC;SACF;KACF;IACD,YAAY,EAAE;QACZ,KAAK,EAAE,cAAc;QACrB,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,6DAA6D;QAC1E,OAAO,EAAE;YACP,OAAO,EAAE,eAAe;SACzB;KACF;IACD,OAAO,EAAE;QACP,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,yCAAyC;QACtD,OAAO,EAAE;YACP,OAAO,EAAE,UAAU;SACpB;KACF;IACD,QAAQ,EAAE;QACR,KAAK,EAAE,UAAU;QACjB,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,+DAA+D;QAC5E,OAAO,EAAE;YACP,OAAO,EAAE,mBAAmB;SAC7B;KACF;IACD,SAAS,EAAE;QACT,KAAK,EAAE,WAAW;Q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,OAAO,EAAE;wBACP,OAAO,EAAE,SAAS;qBACnB;oBACD,KAAK,EAAE;wBACL,OAAO,EAAE,OAAO;qBACjB;oBACD,QAAQ,EAAE;wBACR,OAAO,EAAE,UAAU;qBACpB;oBACD,MAAM,EAAE;wBACN,OAAO,EAAE,QAAQ;qBAClB;oBACD,QAAQ,EAAE;wBACR,OAAO,EAAE,UAAU;qBACpB;oBACD,GAAG,EAAE;wBACH,OAAO,EAAE,KAAK;qBACf;oBACD,SAAS,EAAE;wBACT,OAAO,EAAE,WAAW;qBACrB;iBACF;aACF;SACF;KACF;CACF,CAAA"}
|
|
@@ -52,7 +52,7 @@ function getEventProperties(payload, settings) {
|
|
|
52
52
|
$screen_height: payload.screen_height,
|
|
53
53
|
$screen_width: payload.screen_width,
|
|
54
54
|
$screen_density: payload.screen_density,
|
|
55
|
-
$source: integration?.name ==
|
|
55
|
+
$source: integration?.name == "Iterable" ? "Iterable" : 'segment',
|
|
56
56
|
$user_id: payload.user_id,
|
|
57
57
|
$wifi_enabled: payload.wifi,
|
|
58
58
|
mp_country_code: payload.country,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"functions.js","sourceRoot":"","sources":["../../../../src/destinations/mixpanel/trackEvent/functions.ts"],"names":[],"mappings":";;;;;;AAAA,wDAA4C;AAG5C,+DAAsC;AAEtC,oCAAmE;AAEnE,MAAM,0BAA0B,GAAG,CAAC,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,aAAa,EAAE,WAAW,EAAE,YAAY,EAAE,UAAU,CAAC,CAAA;AAEnH,SAAgB,kBAAkB,CAAC,OAAgB,EAAE,QAAkB;
|
|
1
|
+
{"version":3,"file":"functions.js","sourceRoot":"","sources":["../../../../src/destinations/mixpanel/trackEvent/functions.ts"],"names":[],"mappings":";;;;;;AAAA,wDAA4C;AAG5C,+DAAsC;AAEtC,oCAAmE;AAEnE,MAAM,0BAA0B,GAAG,CAAC,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,a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AgB,EAAE,0BAA0B,CAAC;KAChE,CAAA;AACL,CAAC;AA1DD,gDA0DC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/mixpanel/trackEvent/index.ts"],"names":[],"mappings":";;AAIA,oCAA0C;AAC1C,2CAAgD;AAChD,gEAAwD;AAExD,MAAM,mBAAmB,GAAG,CAAC,OAAgB,EAAE,QAAkB,EAAiB,EAAE;IAClF,MAAM,KAAK,GAAkB;QAC3B,KAAK,EAAE,OAAO,CAAC,KAAK;QACpB,UAAU,EAAE;YACV,GAAG,8BAAkB,CAAC,OAAO,EAAE,QAAQ,CAAC;SACzC;KACF,CAAA;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AAED,MAAM,WAAW,GAAG,KAAK,EAAE,OAAsB,EAAE,QAAkB,EAAE,OAAkB,EAAE,EAAE;IAC3F,MAAM,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,mBAAmB,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAA;IAE3E,OAAO,OAAO,CAAC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/mixpanel/trackEvent/index.ts"],"names":[],"mappings":";;AAIA,oCAA0C;AAC1C,2CAAgD;AAChD,gEAAwD;AAExD,MAAM,mBAAmB,GAAG,CAAC,OAAgB,EAAE,QAAkB,EAAiB,EAAE;IAClF,MAAM,KAAK,GAAkB;QAC3B,KAAK,EAAE,OAAO,CAAC,KAAK;QACpB,UAAU,EAAE;YACV,GAAG,8BAAkB,CAAC,OAAO,EAAE,QAAQ,CAAC;SACzC;KACF,CAAA;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AAED,MAAM,WAAW,GAAG,KAAK,EAAE,OAAsB,EAAE,QAAkB,EAAE,OAAkB,EAAE,EAAE;IAC3F,MAAM,MAAM,GAAG,OAAO,CAAC,GAAG,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GAAwC;IAClD,KAAK,EAAE,gBAAgB;IACvB,WAAW,EAAE,8CAA8C;IAC3D,mBAAmB,EAAE,gBAAgB;IACrC,MAAM,EAAE;QACN,+BAA+B,EAAE;YAC/B,KAAK,EAAE,qCAAqC;YAC5C,WAAW,EAAE,4EAA4E;YACzF,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,IAAI;SACd;QACD,GAAG,qCAAe;QAClB,GAAG,wCAAkB;QACrB,KAAK,EAAE;YACL,KAAK,EAAE,YAAY;YACnB,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,yCAAyC;YACtD,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE;gBACP,OAAO,EAAE,SAAS;aACnB;SACF;KACF;IAED,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE;QAChD,OAAO,WAAW,CAAC,OAAO,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,CAAC,CAAA;IAClD,CAAC;IAED,YAAY,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE;QACrD,OAAO,WAAW,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAA;IAChD,CAAC;CACF,CAAA;AAED,kBAAe,MAAM,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generated-types.js","sourceRoot":"","sources":["../../../../src/destinations/outfunnel/forwardGroupEvent/generated-types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const utils_1 = require("../utils");
|
|
4
|
+
const action = {
|
|
5
|
+
title: 'Forward group event',
|
|
6
|
+
description: 'Forward group event to Outfunnel',
|
|
7
|
+
defaultSubscription: 'type = "group"',
|
|
8
|
+
fields: {
|
|
9
|
+
action: {
|
|
10
|
+
type: 'hidden',
|
|
11
|
+
required: true,
|
|
12
|
+
description: 'Indicates which action was triggered',
|
|
13
|
+
label: 'Action name',
|
|
14
|
+
default: 'group'
|
|
15
|
+
},
|
|
16
|
+
user_id: {
|
|
17
|
+
type: 'hidden',
|
|
18
|
+
description: 'The identifier of the user',
|
|
19
|
+
label: 'User ID',
|
|
20
|
+
default: {
|
|
21
|
+
'@path': '$.userId'
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
anonymous_id: {
|
|
25
|
+
type: 'hidden',
|
|
26
|
+
description: 'Anonymous ID of the user',
|
|
27
|
+
label: 'Anonymous ID',
|
|
28
|
+
default: {
|
|
29
|
+
'@path': '$.anonymousId'
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
group_id: {
|
|
33
|
+
type: 'hidden',
|
|
34
|
+
description: 'ID of the group',
|
|
35
|
+
label: 'Group ID',
|
|
36
|
+
default: {
|
|
37
|
+
'@path': '$.groupId'
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
group_name: {
|
|
41
|
+
type: 'string',
|
|
42
|
+
description: 'Name of the group where user belongs to',
|
|
43
|
+
label: 'Group name',
|
|
44
|
+
default: {
|
|
45
|
+
'@path': '$.traits.name'
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
timestamp: {
|
|
49
|
+
type: 'hidden',
|
|
50
|
+
required: true,
|
|
51
|
+
description: 'The time the event occured in UTC',
|
|
52
|
+
label: 'Event timestamp',
|
|
53
|
+
default: {
|
|
54
|
+
'@path': '$.timestamp'
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
traits: {
|
|
58
|
+
type: 'object',
|
|
59
|
+
description: 'Group traits',
|
|
60
|
+
label: 'Group traits',
|
|
61
|
+
default: {
|
|
62
|
+
'@path': '$.traits'
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
context: {
|
|
66
|
+
type: 'object',
|
|
67
|
+
description: 'Event context',
|
|
68
|
+
label: 'Event context',
|
|
69
|
+
default: {
|
|
70
|
+
'@path': '$.context'
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
perform: async (request, { settings, payload }) => {
|
|
75
|
+
const endpoint = utils_1.getEndpoint(settings.userId);
|
|
76
|
+
return request(endpoint, {
|
|
77
|
+
method: 'POST',
|
|
78
|
+
json: payload
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
exports.default = action;
|
|
83
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/outfunnel/forwardGroupEvent/index.ts"],"names":[],"mappings":";;AAGA,oCAAuC;AAEvC,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,qBAAqB;IAC5B,WAAW,EAAE,kCAAkC;IAC/C,mBAAmB,EAAE,gBAAgB;IACrC,MAAM,EAAE;QACN,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,sCAAsC;YACnD,KAAK,EAAE,aAAa;YACpB,OAAO,EAAE,OAAO;SACjB;QACD,OAAO,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,4BAA4B;YACzC,KAAK,EAAE,SAAS;YAChB,OAAO,EAAE;gBACP,OAAO,EAAE,UAAU;aACpB;SACF;QACD,YAAY,EAAE;YACZ,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,0BAA0B;YACvC,KAAK,EAAE,cAAc;YACrB,OAAO,EAAE;gBACP,OAAO,EAAE,eAAe;aACzB;SACF;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,iBAAiB;YAC9B,KAAK,EAAE,UAAU;YACjB,OAAO,EAAE;gBACP,OAAO,EAAE,WAAW;aACrB;SACF;QACD,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,yCAAyC;YACtD,KAAK,EAAE,YAAY;YACnB,OAAO,EAAE;gBACP,OAAO,EAAE,eAAe;aACzB;SACF;QACD,SAAS,EAAE;YACT,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,mCAAmC;YAChD,KAAK,EAAE,iBAAiB;YACxB,OAAO,EAAE;gBACP,OAAO,EAAE,aAAa;aACvB;SACF;QACD,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,cAAc;YAC3B,KAAK,EAAE,cAAc;YACrB,OAAO,EAAE;gBACP,OAAO,EAAE,UAAU;aACpB;SACF;QACD,OAAO,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,eAAe;YAC5B,KAAK,EAAE,eAAe;YACtB,OAAO,EAAE;gBACP,OAAO,EAAE,WAAW;aACrB;SACF;KACF;IAED,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE;QAChD,MAAM,QAAQ,GAAG,mBAAW,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;QAE9C,OAAO,OAAO,CAAC,QAAQ,EAAE;YACvB,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,OAAO;SACd,CAAC,CAAC;IACL,CAAC;CACF,CAAA;AAED,kBAAe,MAAM,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generated-types.js","sourceRoot":"","sources":["../../../../src/destinations/outfunnel/forwardIdentifyEvent/generated-types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const utils_1 = require("../utils");
|
|
4
|
+
const action = {
|
|
5
|
+
title: 'Forward identify event',
|
|
6
|
+
description: 'Forward identify event to Outfunnel',
|
|
7
|
+
defaultSubscription: 'type = "identify"',
|
|
8
|
+
fields: {
|
|
9
|
+
action: {
|
|
10
|
+
type: 'hidden',
|
|
11
|
+
required: true,
|
|
12
|
+
description: 'Indicates which action was triggered',
|
|
13
|
+
label: 'Action name',
|
|
14
|
+
default: 'identify'
|
|
15
|
+
},
|
|
16
|
+
user_id: {
|
|
17
|
+
type: 'hidden',
|
|
18
|
+
description: 'The identifier of the user',
|
|
19
|
+
label: 'User ID',
|
|
20
|
+
default: {
|
|
21
|
+
'@path': '$.userId'
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
anonymous_id: {
|
|
25
|
+
type: 'hidden',
|
|
26
|
+
description: 'Anonymous ID of the user',
|
|
27
|
+
label: 'Anonymous ID',
|
|
28
|
+
default: {
|
|
29
|
+
'@path': '$.anonymousId'
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
email: {
|
|
33
|
+
type: 'string',
|
|
34
|
+
required: true,
|
|
35
|
+
description: 'Email address of the user who performed the event',
|
|
36
|
+
label: 'Email Address',
|
|
37
|
+
default: {
|
|
38
|
+
'@path': '$.traits.email'
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
timestamp: {
|
|
42
|
+
type: 'hidden',
|
|
43
|
+
required: true,
|
|
44
|
+
description: 'The time the event occured in UTC',
|
|
45
|
+
label: 'Event timestamp',
|
|
46
|
+
default: {
|
|
47
|
+
'@path': '$.timestamp'
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
traits: {
|
|
51
|
+
type: 'object',
|
|
52
|
+
description: 'Optional metadata describing the user',
|
|
53
|
+
label: 'User traits',
|
|
54
|
+
default: {
|
|
55
|
+
'@path': '$.traits'
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
context: {
|
|
59
|
+
type: 'object',
|
|
60
|
+
description: 'Event context',
|
|
61
|
+
label: 'Event context',
|
|
62
|
+
default: {
|
|
63
|
+
'@path': '$.context'
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
perform: async (request, { settings, payload }) => {
|
|
68
|
+
const endpoint = utils_1.getEndpoint(settings.userId);
|
|
69
|
+
return request(endpoint, {
|
|
70
|
+
method: 'POST',
|
|
71
|
+
json: payload
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
exports.default = action;
|
|
76
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/outfunnel/forwardIdentifyEvent/index.ts"],"names":[],"mappings":";;AAGA,oCAAuC;AAEvC,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,wBAAwB;IAC/B,WAAW,EAAE,qCAAqC;IAClD,mBAAmB,EAAE,mBAAmB;IACxC,MAAM,EAAE;QACN,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,sCAAsC;YACnD,KAAK,EAAE,aAAa;YACpB,OAAO,EAAE,UAAU;SACpB;QACD,OAAO,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,4BAA4B;YACzC,KAAK,EAAE,SAAS;YAChB,OAAO,EAAE;gBACP,OAAO,EAAE,UAAU;aACpB;SACF;QACD,YAAY,EAAE;YACZ,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,0BAA0B;YACvC,KAAK,EAAE,cAAc;YACrB,OAAO,EAAE;gBACP,OAAO,EAAE,eAAe;aACzB;SACF;QACD,KAAK,EAAE;YACL,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,mDAAmD;YAChE,KAAK,EAAE,eAAe;YACtB,OAAO,EAAE;gBACP,OAAO,EAAE,gBAAgB;aAC1B;SACF;QACD,SAAS,EAAE;YACT,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,mCAAmC;YAChD,KAAK,EAAE,iBAAiB;YACxB,OAAO,EAAE;gBACP,OAAO,EAAE,aAAa;aACvB;SACF;QACD,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,uCAAuC;YACpD,KAAK,EAAE,aAAa;YACpB,OAAO,EAAE;gBACP,OAAO,EAAE,UAAU;aACpB;SACF;QACD,OAAO,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,eAAe;YAC5B,KAAK,EAAE,eAAe;YACtB,OAAO,EAAE;gBACP,OAAO,EAAE,WAAW;aACrB;SACF;KACF;IAED,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE;QAChD,MAAM,QAAQ,GAAG,mBAAW,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;QAE9C,OAAO,OAAO,CAAC,QAAQ,EAAE;YACvB,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,OAAO;SACd,CAAC,CAAC;IACL,CAAC;CACF,CAAA;AAED,kBAAe,MAAM,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface Payload {
|
|
2
|
+
action: string;
|
|
3
|
+
event_name: string;
|
|
4
|
+
user_id?: string;
|
|
5
|
+
anonymous_id?: string;
|
|
6
|
+
group_id?: string;
|
|
7
|
+
email?: string;
|
|
8
|
+
timestamp: string;
|
|
9
|
+
properties?: {
|
|
10
|
+
[k: string]: unknown;
|
|
11
|
+
};
|
|
12
|
+
context?: {
|
|
13
|
+
[k: string]: unknown;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generated-types.js","sourceRoot":"","sources":["../../../../src/destinations/outfunnel/forwardTrackEvent/generated-types.ts"],"names":[],"mappings":""}
|