@segment/action-destinations 3.118.1-staging.97 → 3.119.1-cli-test.63
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/README.md +1 -1
- 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 +21 -21
- package/dist/destinations/actable-predictive/sendEmailEvent/index.js.map +1 -1
- package/dist/destinations/actable-predictive/sendTransactionEvent/index.js +29 -29
- package/dist/destinations/actable-predictive/sendTransactionEvent/index.js.map +1 -1
- package/dist/destinations/actable-predictive/sendWebEvent/index.js +26 -26
- package/dist/destinations/actable-predictive/sendWebEvent/index.js.map +1 -1
- package/dist/destinations/adobe-target/adobeTarget_operations.d.ts +2 -1
- package/dist/destinations/adobe-target/adobeTarget_operations.js +8 -4
- package/dist/destinations/adobe-target/adobeTarget_operations.js.map +1 -1
- package/dist/destinations/adobe-target/updateProfile/index.js +3 -11
- package/dist/destinations/adobe-target/updateProfile/index.js.map +1 -1
- package/dist/destinations/braze/updateUserProfile/index.js +0 -1
- package/dist/destinations/braze/updateUserProfile/index.js.map +1 -1
- package/dist/destinations/braze-cohorts/api/index.d.ts +15 -0
- package/dist/destinations/braze-cohorts/api/index.js +36 -0
- package/dist/destinations/braze-cohorts/api/index.js.map +1 -0
- package/dist/destinations/braze-cohorts/braze-cohorts-types.d.ts +10 -0
- package/dist/destinations/braze-cohorts/braze-cohorts-types.js +3 -0
- package/dist/destinations/braze-cohorts/braze-cohorts-types.js.map +1 -0
- package/dist/destinations/braze-cohorts/generated-types.d.ts +4 -0
- package/dist/destinations/{actions-bingads → braze-cohorts}/generated-types.js +0 -0
- package/dist/destinations/braze-cohorts/generated-types.js.map +1 -0
- package/dist/destinations/{actions-bingads → braze-cohorts}/index.d.ts +0 -0
- package/dist/destinations/braze-cohorts/index.js +53 -0
- package/dist/destinations/braze-cohorts/index.js.map +1 -0
- package/dist/destinations/braze-cohorts/syncAudiences/generated-types.d.ts +16 -0
- package/dist/destinations/{actions-bingads/offlineConversions → braze-cohorts/syncAudiences}/generated-types.js +0 -0
- package/dist/destinations/braze-cohorts/syncAudiences/generated-types.js.map +1 -0
- package/dist/destinations/{google-sheets-partner/postSheet → braze-cohorts/syncAudiences}/index.d.ts +0 -0
- package/dist/destinations/braze-cohorts/syncAudiences/index.js +158 -0
- package/dist/destinations/braze-cohorts/syncAudiences/index.js.map +1 -0
- package/dist/destinations/clevertap/userDelete/index.js +4 -4
- package/dist/destinations/clevertap/userDelete/index.js.map +1 -1
- package/dist/destinations/customerio/createUpdateObject/generated-types.d.ts +11 -0
- package/dist/destinations/{google-sheets-partner → customerio/createUpdateObject}/generated-types.js +0 -0
- package/dist/destinations/customerio/createUpdateObject/generated-types.js.map +1 -0
- package/dist/destinations/{actions-bingads/offlineConversions → customerio/createUpdateObject}/index.d.ts +0 -0
- package/dist/destinations/customerio/createUpdateObject/index.js +102 -0
- package/dist/destinations/customerio/createUpdateObject/index.js.map +1 -0
- package/dist/destinations/customerio/createUpdatePerson/generated-types.d.ts +2 -0
- package/dist/destinations/customerio/createUpdatePerson/index.js +24 -0
- package/dist/destinations/customerio/createUpdatePerson/index.js.map +1 -1
- package/dist/destinations/customerio/index.js +9 -1
- package/dist/destinations/customerio/index.js.map +1 -1
- package/dist/destinations/engage-messaging-sendgrid/sendEmail/generated-types.d.ts +1 -0
- package/dist/destinations/engage-messaging-sendgrid/sendEmail/index.js +12 -0
- package/dist/destinations/engage-messaging-sendgrid/sendEmail/index.js.map +1 -1
- package/dist/destinations/engage-messaging-twilio/sendSms/generated-types.d.ts +1 -0
- package/dist/destinations/engage-messaging-twilio/sendSms/index.js +12 -0
- package/dist/destinations/engage-messaging-twilio/sendSms/index.js.map +1 -1
- package/dist/destinations/facebook-conversions-api/addToCart/index.js +2 -1
- package/dist/destinations/facebook-conversions-api/addToCart/index.js.map +1 -1
- package/dist/destinations/facebook-conversions-api/custom/index.js +2 -1
- package/dist/destinations/facebook-conversions-api/custom/index.js.map +1 -1
- package/dist/destinations/facebook-conversions-api/generated-types.d.ts +1 -0
- package/dist/destinations/facebook-conversions-api/index.js +7 -1
- package/dist/destinations/facebook-conversions-api/index.js.map +1 -1
- package/dist/destinations/facebook-conversions-api/initiateCheckout/index.js +2 -1
- package/dist/destinations/facebook-conversions-api/initiateCheckout/index.js.map +1 -1
- package/dist/destinations/facebook-conversions-api/pageView/index.js +2 -1
- package/dist/destinations/facebook-conversions-api/pageView/index.js.map +1 -1
- package/dist/destinations/facebook-conversions-api/purchase/index.js +2 -1
- package/dist/destinations/facebook-conversions-api/purchase/index.js.map +1 -1
- package/dist/destinations/facebook-conversions-api/search/index.js +2 -1
- package/dist/destinations/facebook-conversions-api/search/index.js.map +1 -1
- package/dist/destinations/facebook-conversions-api/viewContent/index.js +2 -1
- package/dist/destinations/facebook-conversions-api/viewContent/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/selectPromotion/index.js +0 -3
- package/dist/destinations/google-analytics-4/selectPromotion/index.js.map +1 -1
- package/dist/destinations/google-analytics-4/viewItem/index.js +1 -13
- package/dist/destinations/google-analytics-4/viewItem/index.js.map +1 -1
- package/dist/destinations/google-enhanced-conversions/index.js +1 -1
- package/dist/destinations/google-enhanced-conversions/index.js.map +1 -1
- package/dist/destinations/google-enhanced-conversions/uploadClickConversion/index.js +2 -1
- package/dist/destinations/google-enhanced-conversions/uploadClickConversion/index.js.map +1 -1
- package/dist/destinations/{google-sheets-partner → google-sheets-dev}/generated-types.d.ts +0 -0
- package/dist/destinations/{google-sheets-partner/postSheet → google-sheets-dev}/generated-types.js +0 -0
- package/dist/destinations/google-sheets-dev/generated-types.js.map +1 -0
- package/dist/destinations/{google-sheets-partner → google-sheets-dev}/index.d.ts +0 -0
- package/dist/destinations/{google-sheets-partner → google-sheets-dev}/index.js +5 -7
- package/dist/destinations/google-sheets-dev/index.js.map +1 -0
- package/dist/destinations/{google-sheets-partner/postSheet/generated-types.d.ts → google-sheets-dev/postSheet.types.d.ts} +0 -0
- package/dist/destinations/google-sheets-dev/postSheet.types.js +3 -0
- package/dist/destinations/google-sheets-dev/postSheet.types.js.map +1 -0
- package/dist/destinations/heap/constants.d.ts +1 -1
- package/dist/destinations/heap/constants.js +2 -2
- package/dist/destinations/heap/constants.js.map +1 -1
- package/dist/destinations/heap/index.js +1 -1
- package/dist/destinations/heap/index.js.map +1 -1
- package/dist/destinations/heap/trackEvent/generated-types.d.ts +4 -2
- package/dist/destinations/heap/trackEvent/index.js +44 -15
- package/dist/destinations/heap/trackEvent/index.js.map +1 -1
- package/dist/destinations/hubspot/errors.js +1 -1
- package/dist/destinations/hubspot/errors.js.map +1 -1
- package/dist/destinations/hubspot/helperFunctions.d.ts +7 -0
- package/dist/destinations/hubspot/helperFunctions.js +27 -0
- package/dist/destinations/hubspot/helperFunctions.js.map +1 -0
- package/dist/destinations/hubspot/sendCustomBehavioralEvent/index.js +2 -1
- package/dist/destinations/hubspot/sendCustomBehavioralEvent/index.js.map +1 -1
- package/dist/destinations/hubspot/upsertCompany/generated-types.d.ts +4 -2
- package/dist/destinations/hubspot/upsertCompany/index.js +28 -14
- package/dist/destinations/hubspot/upsertCompany/index.js.map +1 -1
- package/dist/destinations/hubspot/upsertContact/index.js +4 -7
- package/dist/destinations/hubspot/upsertContact/index.js.map +1 -1
- package/dist/destinations/hubspot/upsertCustomObjectRecord/index.js +2 -1
- package/dist/destinations/hubspot/upsertCustomObjectRecord/index.js.map +1 -1
- package/dist/destinations/index.js +7 -3
- package/dist/destinations/index.js.map +1 -1
- package/dist/destinations/ironclad/RecordAction/generated-types.d.ts +12 -0
- package/dist/destinations/ironclad/RecordAction/generated-types.js +3 -0
- package/dist/destinations/ironclad/RecordAction/generated-types.js.map +1 -0
- package/dist/destinations/ironclad/RecordAction/index.d.ts +5 -0
- package/dist/destinations/ironclad/RecordAction/index.js +117 -0
- package/dist/destinations/ironclad/RecordAction/index.js.map +1 -0
- package/dist/destinations/ironclad/generated-types.d.ts +5 -0
- package/dist/destinations/ironclad/generated-types.js +3 -0
- package/dist/destinations/ironclad/generated-types.js.map +1 -0
- package/dist/destinations/ironclad/index.d.ts +4 -0
- package/dist/destinations/ironclad/index.js +42 -0
- package/dist/destinations/ironclad/index.js.map +1 -0
- package/dist/destinations/mixpanel/index.js +1 -1
- 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/index.js.map +1 -1
- package/dist/destinations/mixpanel/trackPurchase/index.js.map +1 -1
- package/dist/destinations/mixpanel/utils.js +1 -1
- package/dist/destinations/mixpanel/utils.js.map +1 -1
- package/dist/destinations/pipedrive/createUpdateActivity/index.js +44 -17
- package/dist/destinations/pipedrive/createUpdateActivity/index.js.map +1 -1
- package/dist/destinations/pipedrive/createUpdateDeal/index.js +35 -11
- package/dist/destinations/pipedrive/createUpdateDeal/index.js.map +1 -1
- package/dist/destinations/pipedrive/createUpdateLead/generated-types.d.ts +3 -8
- package/dist/destinations/pipedrive/createUpdateLead/index.js +54 -27
- package/dist/destinations/pipedrive/createUpdateLead/index.js.map +1 -1
- package/dist/destinations/pipedrive/createUpdateNote/generated-types.d.ts +1 -1
- package/dist/destinations/pipedrive/createUpdateNote/index.js +22 -13
- package/dist/destinations/pipedrive/createUpdateNote/index.js.map +1 -1
- package/dist/destinations/pipedrive/createUpdateOrganization/index.js +9 -3
- package/dist/destinations/pipedrive/createUpdateOrganization/index.js.map +1 -1
- package/dist/destinations/pipedrive/createUpdatePerson/index.js +15 -3
- package/dist/destinations/pipedrive/createUpdatePerson/index.js.map +1 -1
- package/dist/destinations/pipedrive/index.d.ts +1 -1
- package/dist/destinations/pipedrive/index.js +22 -1
- package/dist/destinations/pipedrive/index.js.map +1 -1
- package/dist/destinations/pipedrive/pipedriveApi/leads.d.ts +5 -1
- package/dist/destinations/pipedrive/pipedriveApi/leads.js.map +1 -1
- package/dist/destinations/pipedrive/pipedriveApi/notes.d.ts +1 -1
- package/dist/destinations/pipedrive/pipedriveApi/pipedrive-client.d.ts +2 -1
- package/dist/destinations/pipedrive/pipedriveApi/pipedrive-client.js +14 -2
- package/dist/destinations/pipedrive/pipedriveApi/pipedrive-client.js.map +1 -1
- package/dist/destinations/ripe/generated-types.d.ts +4 -0
- package/dist/destinations/ripe/generated-types.js +3 -0
- package/dist/destinations/ripe/generated-types.js.map +1 -0
- package/dist/destinations/ripe/group/generated-types.d.ts +10 -0
- package/dist/destinations/ripe/group/generated-types.js +3 -0
- package/dist/destinations/ripe/group/generated-types.js.map +1 -0
- package/dist/destinations/ripe/group/index.d.ts +5 -0
- package/dist/destinations/ripe/group/index.js +68 -0
- package/dist/destinations/ripe/group/index.js.map +1 -0
- package/dist/destinations/ripe/identify/generated-types.d.ts +10 -0
- package/dist/destinations/ripe/identify/generated-types.js +3 -0
- package/dist/destinations/ripe/identify/generated-types.js.map +1 -0
- package/dist/destinations/ripe/identify/index.d.ts +5 -0
- package/dist/destinations/ripe/identify/index.js +70 -0
- package/dist/destinations/ripe/identify/index.js.map +1 -0
- package/dist/destinations/ripe/index.d.ts +4 -0
- package/dist/destinations/ripe/index.js +83 -0
- package/dist/destinations/ripe/index.js.map +1 -0
- package/dist/destinations/ripe/page/generated-types.d.ts +16 -0
- package/dist/destinations/ripe/page/generated-types.js +3 -0
- package/dist/destinations/ripe/page/generated-types.js.map +1 -0
- package/dist/destinations/ripe/page/index.d.ts +5 -0
- package/dist/destinations/ripe/page/index.js +153 -0
- package/dist/destinations/ripe/page/index.js.map +1 -0
- package/dist/destinations/ripe/track/generated-types.d.ts +11 -0
- package/dist/destinations/ripe/track/generated-types.js +3 -0
- package/dist/destinations/ripe/track/generated-types.js.map +1 -0
- package/dist/destinations/ripe/track/index.d.ts +5 -0
- package/dist/destinations/ripe/track/index.js +79 -0
- package/dist/destinations/ripe/track/index.js.map +1 -0
- package/dist/destinations/salesforce/lead/index.js +6 -6
- package/dist/destinations/salesforce/lead/index.js.map +1 -1
- package/dist/destinations/salesforce/sf-operations.js +17 -6
- package/dist/destinations/salesforce/sf-operations.js.map +1 -1
- package/dist/destinations/salesforce/sf-properties.d.ts +0 -1
- package/dist/destinations/salesforce/sf-properties.js +2 -2
- package/dist/destinations/salesforce/sf-properties.js.map +1 -1
- package/dist/destinations/salesforce/sf-utils.js +3 -1
- package/dist/destinations/salesforce/sf-utils.js.map +1 -1
- package/dist/destinations/saleswings/api.d.ts +35 -0
- package/dist/destinations/saleswings/api.js +19 -0
- package/dist/destinations/saleswings/api.js.map +1 -0
- package/dist/destinations/saleswings/common.d.ts +5 -0
- package/dist/destinations/saleswings/common.js +37 -0
- package/dist/destinations/saleswings/common.js.map +1 -0
- package/dist/destinations/saleswings/converter.d.ts +12 -0
- package/dist/destinations/saleswings/converter.js +34 -0
- package/dist/destinations/saleswings/converter.js.map +1 -0
- package/dist/destinations/saleswings/fields.d.ts +12 -0
- package/dist/destinations/saleswings/fields.js +102 -0
- package/dist/destinations/saleswings/fields.js.map +1 -0
- package/dist/destinations/saleswings/generated-types.d.ts +3 -0
- package/dist/destinations/saleswings/generated-types.js +3 -0
- package/dist/destinations/saleswings/generated-types.js.map +1 -0
- package/dist/destinations/saleswings/index.d.ts +4 -0
- package/dist/destinations/saleswings/index.js +67 -0
- package/dist/destinations/saleswings/index.js.map +1 -0
- package/dist/destinations/saleswings/submitIdentifyEvent/generated-types.d.ts +14 -0
- package/dist/destinations/saleswings/submitIdentifyEvent/generated-types.js +3 -0
- package/dist/destinations/saleswings/submitIdentifyEvent/generated-types.js.map +1 -0
- package/dist/destinations/saleswings/submitIdentifyEvent/index.d.ts +5 -0
- package/dist/destinations/saleswings/submitIdentifyEvent/index.js +39 -0
- package/dist/destinations/saleswings/submitIdentifyEvent/index.js.map +1 -0
- package/dist/destinations/saleswings/submitPageEvent/generated-types.d.ts +8 -0
- package/dist/destinations/saleswings/submitPageEvent/generated-types.js +3 -0
- package/dist/destinations/saleswings/submitPageEvent/generated-types.js.map +1 -0
- package/dist/destinations/saleswings/submitPageEvent/index.d.ts +5 -0
- package/dist/destinations/saleswings/submitPageEvent/index.js +35 -0
- package/dist/destinations/saleswings/submitPageEvent/index.js.map +1 -0
- package/dist/destinations/saleswings/submitScreenEvent/generated-types.d.ts +14 -0
- package/dist/destinations/saleswings/submitScreenEvent/generated-types.js +3 -0
- package/dist/destinations/saleswings/submitScreenEvent/generated-types.js.map +1 -0
- package/dist/destinations/saleswings/submitScreenEvent/index.d.ts +5 -0
- package/dist/destinations/saleswings/submitScreenEvent/index.js +42 -0
- package/dist/destinations/saleswings/submitScreenEvent/index.js.map +1 -0
- package/dist/destinations/saleswings/submitTrackEvent/generated-types.d.ts +14 -0
- package/dist/destinations/saleswings/submitTrackEvent/generated-types.js +3 -0
- package/dist/destinations/saleswings/submitTrackEvent/generated-types.js.map +1 -0
- package/dist/destinations/saleswings/submitTrackEvent/index.d.ts +5 -0
- package/dist/destinations/saleswings/submitTrackEvent/index.js +42 -0
- package/dist/destinations/saleswings/submitTrackEvent/index.js.map +1 -0
- package/dist/destinations/saleswings/testing.d.ts +10 -0
- package/dist/destinations/saleswings/testing.js +55 -0
- package/dist/destinations/saleswings/testing.js.map +1 -0
- package/dist/destinations/segment-profiles/errors.d.ts +14 -0
- package/dist/destinations/segment-profiles/errors.js +10 -0
- package/dist/destinations/segment-profiles/errors.js.map +1 -0
- package/dist/destinations/segment-profiles/generated-types.d.ts +4 -0
- package/dist/destinations/segment-profiles/generated-types.js +3 -0
- package/dist/destinations/segment-profiles/generated-types.js.map +1 -0
- package/dist/destinations/segment-profiles/helperFunctions.d.ts +8 -0
- package/dist/destinations/segment-profiles/helperFunctions.js +52 -0
- package/dist/destinations/segment-profiles/helperFunctions.js.map +1 -0
- package/dist/destinations/segment-profiles/index.d.ts +4 -0
- package/dist/destinations/segment-profiles/index.js +50 -0
- package/dist/destinations/segment-profiles/index.js.map +1 -0
- package/dist/destinations/segment-profiles/properties.d.ts +12 -0
- package/dist/destinations/segment-profiles/properties.js +20 -0
- package/dist/destinations/segment-profiles/properties.js.map +1 -0
- package/dist/destinations/segment-profiles/segment-properties.d.ts +6 -0
- package/dist/destinations/segment-profiles/segment-properties.js +33 -0
- package/dist/destinations/segment-profiles/segment-properties.js.map +1 -0
- package/dist/destinations/segment-profiles/sendGroup/generated-types.d.ts +9 -0
- package/dist/destinations/segment-profiles/sendGroup/generated-types.js +3 -0
- package/dist/destinations/segment-profiles/sendGroup/generated-types.js.map +1 -0
- package/dist/destinations/segment-profiles/sendGroup/index.d.ts +5 -0
- package/dist/destinations/segment-profiles/sendGroup/index.js +52 -0
- package/dist/destinations/segment-profiles/sendGroup/index.js.map +1 -0
- package/dist/destinations/segment-profiles/sendIdentify/generated-types.d.ts +9 -0
- package/dist/destinations/segment-profiles/sendIdentify/generated-types.js +3 -0
- package/dist/destinations/segment-profiles/sendIdentify/generated-types.js.map +1 -0
- package/dist/destinations/segment-profiles/sendIdentify/index.d.ts +5 -0
- package/dist/destinations/segment-profiles/sendIdentify/index.js +52 -0
- package/dist/destinations/segment-profiles/sendIdentify/index.js.map +1 -0
- package/dist/destinations/snap-conversions-api/_tests_/index.test.js +1 -1
- package/dist/destinations/snap-conversions-api/_tests_/index.test.js.map +1 -1
- package/dist/destinations/snap-conversions-api/snap-capi-properties.js +1 -1
- package/dist/destinations/snap-conversions-api/snap-capi-properties.js.map +1 -1
- package/dist/destinations/vwo/generated-types.d.ts +3 -0
- package/dist/destinations/vwo/generated-types.js +3 -0
- package/dist/destinations/vwo/generated-types.js.map +1 -0
- package/dist/destinations/vwo/identifyUser/generated-types.d.ts +12 -0
- package/dist/destinations/vwo/identifyUser/generated-types.js +3 -0
- package/dist/destinations/vwo/identifyUser/generated-types.js.map +1 -0
- package/dist/destinations/vwo/identifyUser/index.d.ts +5 -0
- package/dist/destinations/vwo/identifyUser/index.js +80 -0
- package/dist/destinations/vwo/identifyUser/index.js.map +1 -0
- package/dist/destinations/vwo/index.d.ts +4 -0
- package/dist/destinations/vwo/index.js +60 -0
- package/dist/destinations/vwo/index.js.map +1 -0
- package/dist/destinations/vwo/pageVisit/generated-types.d.ts +10 -0
- package/dist/destinations/vwo/pageVisit/generated-types.js +3 -0
- package/dist/destinations/vwo/pageVisit/generated-types.js.map +1 -0
- package/dist/destinations/vwo/pageVisit/index.d.ts +5 -0
- package/dist/destinations/vwo/pageVisit/index.js +77 -0
- package/dist/destinations/vwo/pageVisit/index.js.map +1 -0
- package/dist/destinations/vwo/trackEvent/generated-types.d.ts +13 -0
- package/dist/destinations/vwo/trackEvent/generated-types.js +3 -0
- package/dist/destinations/vwo/trackEvent/generated-types.js.map +1 -0
- package/dist/destinations/vwo/trackEvent/index.d.ts +5 -0
- package/dist/destinations/vwo/trackEvent/index.js +86 -0
- package/dist/destinations/vwo/trackEvent/index.js.map +1 -0
- package/dist/destinations/vwo/types.d.ts +42 -0
- package/dist/destinations/vwo/types.js +3 -0
- package/dist/destinations/vwo/types.js.map +1 -0
- package/dist/destinations/vwo/utility.d.ts +13 -0
- package/dist/destinations/vwo/utility.js +59 -0
- package/dist/destinations/vwo/utility.js.map +1 -0
- package/package.json +4 -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/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.js.map +0 -1
- 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
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const action = {
|
|
4
|
+
title: 'Record Action',
|
|
5
|
+
description: 'Based on the action destination configuration, this will record an action to Clickwrap either agreeing, disagreeing, or agreeing to a contract configured in the event.',
|
|
6
|
+
fields: {
|
|
7
|
+
sig: {
|
|
8
|
+
label: 'Signer ID',
|
|
9
|
+
description: 'The unique identifier used to save your signer’s signature. Can be email, mobile number, UUID, or any integer. Should be URL encoded.',
|
|
10
|
+
type: 'string',
|
|
11
|
+
default: {
|
|
12
|
+
'@if': {
|
|
13
|
+
exists: { '@path': '$.userId' },
|
|
14
|
+
then: { '@path': '$.userId' },
|
|
15
|
+
else: { '@path': '$.anonymousId' }
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
required: true
|
|
19
|
+
},
|
|
20
|
+
event_name: {
|
|
21
|
+
label: 'Event Name',
|
|
22
|
+
description: 'The name of the event coming from the source, this is an additional information field before the call goes to Ironclad.',
|
|
23
|
+
type: 'string',
|
|
24
|
+
default: { '@path': 'event' },
|
|
25
|
+
required: false
|
|
26
|
+
},
|
|
27
|
+
group_id: {
|
|
28
|
+
label: 'Clickwrap Group Id',
|
|
29
|
+
description: 'The ID of the Clickwrap Group associated with the acceptance event.',
|
|
30
|
+
type: 'string',
|
|
31
|
+
default: '',
|
|
32
|
+
required: true
|
|
33
|
+
},
|
|
34
|
+
event_type: {
|
|
35
|
+
label: 'Event Type',
|
|
36
|
+
description: 'The type of event being logged, the available choices are displayed, agreed, and disagreed.',
|
|
37
|
+
type: 'string',
|
|
38
|
+
default: 'displayed',
|
|
39
|
+
required: true,
|
|
40
|
+
choices: [
|
|
41
|
+
{ label: 'Displayed', value: 'displayed' },
|
|
42
|
+
{ label: 'Agreed', value: 'agreed' },
|
|
43
|
+
{ label: 'Disagreed', value: 'disagreed' }
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
contextParameters: {
|
|
47
|
+
type: 'object',
|
|
48
|
+
required: false,
|
|
49
|
+
description: 'Context Parameters including page, time and other information.',
|
|
50
|
+
label: 'Context Parameters',
|
|
51
|
+
default: {
|
|
52
|
+
addr: { '@path': '$.ip' },
|
|
53
|
+
ts: { '@path': '$.timestamp' },
|
|
54
|
+
pat: { '@path': '$.context.page.title' },
|
|
55
|
+
pau: { '@path': '$.context.page.url' },
|
|
56
|
+
pap: { '@path': '$.context.page.path' },
|
|
57
|
+
paq: { '@path': '$.context.page.search' },
|
|
58
|
+
ref: { '@path': '$.context.page.referrer' },
|
|
59
|
+
btz: { '@path': '$.context.timezone' },
|
|
60
|
+
bl: { '@path': '$.context.locale' },
|
|
61
|
+
os: { '@path': '$.context.os.name' },
|
|
62
|
+
res: { '@path': '$.context.screen' }
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
customData: {
|
|
66
|
+
type: 'object',
|
|
67
|
+
required: false,
|
|
68
|
+
description: 'Optional, located in the properties object, used to attach custom data to your Activity. The example is URL encoded for { "first name": "Eric" } Using this in an updated activity will append the data to the signer, otherwise it will be added to the specific activity call/transaction.',
|
|
69
|
+
label: 'Custom Data',
|
|
70
|
+
default: {
|
|
71
|
+
first_name: { '@path': '$.properties.first_name' },
|
|
72
|
+
last_name: { '@path': '$.properties.last_name' },
|
|
73
|
+
company_name: { '@path': '$.properties.company_name' },
|
|
74
|
+
title: { '@path': '$.properties.title' },
|
|
75
|
+
customer_id: { '@path': '$.properties.customer_id' }
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
perform: async (request, data) => {
|
|
80
|
+
let ironcladURL = `https://pactsafe.io`;
|
|
81
|
+
if (data.settings.staging_endpoint) {
|
|
82
|
+
ironcladURL = `https://staging.pactsafe.io`;
|
|
83
|
+
}
|
|
84
|
+
const versionURL = `${ironcladURL}/published?sid=${data.settings.sid}&gid=${data.payload.group_id}`;
|
|
85
|
+
const versions = await request(versionURL, { method: 'get' });
|
|
86
|
+
const objVersions = versions.data;
|
|
87
|
+
const versionCSV = String(Object.values(objVersions));
|
|
88
|
+
const jsonData = {
|
|
89
|
+
sid: data.settings?.sid,
|
|
90
|
+
sig: data.payload?.sig,
|
|
91
|
+
gid: data.payload?.group_id,
|
|
92
|
+
vid: versionCSV,
|
|
93
|
+
ts: data.payload?.contextParameters?.ts,
|
|
94
|
+
pat: data.payload?.contextParameters?.pat,
|
|
95
|
+
pau: data.payload?.contextParameters?.pau,
|
|
96
|
+
pap: data.payload?.contextParameters?.pap,
|
|
97
|
+
paq: data.payload?.contextParameters?.paq,
|
|
98
|
+
ref: data.payload?.contextParameters?.ref,
|
|
99
|
+
btz: data.payload?.contextParameters?.btz,
|
|
100
|
+
bl: data.payload?.contextParameters?.bl,
|
|
101
|
+
os: data.payload?.contextParameters?.os,
|
|
102
|
+
res: data.payload?.contextParameters?.res,
|
|
103
|
+
addr: data.payload?.contextParameters?.addr,
|
|
104
|
+
et: String(data.payload.event_type),
|
|
105
|
+
cus: data.payload.customData,
|
|
106
|
+
server_side: true,
|
|
107
|
+
tm: data.settings.test_mode
|
|
108
|
+
};
|
|
109
|
+
const ironcladEndpoint = await request(ironcladURL + '/send/sync', {
|
|
110
|
+
method: 'POST',
|
|
111
|
+
json: jsonData
|
|
112
|
+
});
|
|
113
|
+
return ironcladEndpoint;
|
|
114
|
+
}
|
|
115
|
+
};
|
|
116
|
+
exports.default = action;
|
|
117
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/ironclad/RecordAction/index.ts"],"names":[],"mappings":";;AAIA,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,eAAe;IACtB,WAAW,EACT,yKAAyK;IAC3K,MAAM,EAAE;QACN,GAAG,EAAE;YACH,KAAK,EAAE,WAAW;YAClB,WAAW,EACT,uIAAuI;YACzI,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE;gBACP,KAAK,EAAE;oBACL,MAAM,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE;oBAC/B,IAAI,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE;oBAC7B,IAAI,EAAE,EAAE,OAAO,EAAE,eAAe,EAAE;iBACnC;aACF;YACD,QAAQ,EAAE,IAAI;SACf;QACD,UAAU,EAAE;YACV,KAAK,EAAE,YAAY;YACnB,WAAW,EACT,yHAAyH;YAC3H,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE;YAC7B,QAAQ,EAAE,KAAK;SAChB;QACD,QAAQ,EAAE;YACR,KAAK,EAAE,oBAAoB;YAC3B,WAAW,EAAE,qEAAqE;YAClF,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;YACX,QA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OAAO,EAAE,iBAAiB,EAAE,GAAG;YACzC,GAAG,EAAE,IAAI,CAAC,OAAO,EAAE,iBAAiB,EAAE,GAAG;YACzC,GAAG,EAAE,IAAI,CAAC,OAAO,EAAE,iBAAiB,EAAE,GAAG;YACzC,GAAG,EAAE,IAAI,CAAC,OAAO,EAAE,iBAAiB,EAAE,GAAG;YACzC,EAAE,EAAE,IAAI,CAAC,OAAO,EAAE,iBAAiB,EAAE,EAAE;YACvC,EAAE,EAAE,IAAI,CAAC,OAAO,EAAE,iBAAiB,EAAE,EAAE;YACvC,GAAG,EAAE,IAAI,CAAC,OAAO,EAAE,iBAAiB,EAAE,GAAG;YACzC,IAAI,EAAE,IAAI,CAAC,OAAO,EAAE,iBAAiB,EAAE,IAAI;YAC3C,EAAE,EAAE,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC;YACnC,GAAG,EAAE,IAAI,CAAC,OAAO,CAAC,UAAU;YAC5B,WAAW,EAAE,IAAI;YACjB,EAAE,EAAE,IAAI,CAAC,QAAQ,CAAC,SAAS;SAC5B,CAAA;QAED,MAAM,gBAAgB,GAAG,MAAM,OAAO,CAAC,WAAW,GAAG,YAAY,EAAE;YACjE,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,QAAQ;SACf,CAAC,CAAA;QAEF,OAAO,gBAAgB,CAAA;IACzB,CAAC;CACF,CAAA;AAED,kBAAe,MAAM,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generated-types.js","sourceRoot":"","sources":["../../../src/destinations/ironclad/generated-types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const RecordAction_1 = __importDefault(require("./RecordAction"));
|
|
7
|
+
const destination = {
|
|
8
|
+
name: 'Ironclad',
|
|
9
|
+
slug: 'actions-ironclad',
|
|
10
|
+
mode: 'cloud',
|
|
11
|
+
authentication: {
|
|
12
|
+
scheme: 'custom',
|
|
13
|
+
fields: {
|
|
14
|
+
sid: {
|
|
15
|
+
label: 'Site Access ID',
|
|
16
|
+
description: 'Site Access ID. An ID that’s unique for each site within your account. Information on finding your sid can be found in the authentication section.',
|
|
17
|
+
type: 'string',
|
|
18
|
+
default: '',
|
|
19
|
+
required: true
|
|
20
|
+
},
|
|
21
|
+
staging_endpoint: {
|
|
22
|
+
label: 'Staging Endpoint',
|
|
23
|
+
description: 'Turn this ON, to send requests to the staging server, ONLY if Clickwrap support instructs you to do so.',
|
|
24
|
+
type: 'boolean',
|
|
25
|
+
required: true,
|
|
26
|
+
default: false
|
|
27
|
+
},
|
|
28
|
+
test_mode: {
|
|
29
|
+
label: 'Test Mode',
|
|
30
|
+
description: 'Test Mode, whether or not to process the acceptance in test_mode. Defaults to false, Toggle to ON to enable it.',
|
|
31
|
+
type: 'boolean',
|
|
32
|
+
required: true,
|
|
33
|
+
default: false
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
actions: {
|
|
38
|
+
recordAction: RecordAction_1.default
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
exports.default = destination;
|
|
42
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/destinations/ironclad/index.ts"],"names":[],"mappings":";;;;;AAGA,kEAAyC;AAEzC,MAAM,WAAW,GAAoC;IACnD,IAAI,EAAE,UAAU;IAChB,IAAI,EAAE,kBAAkB;IACxB,IAAI,EAAE,OAAO;IAEb,cAAc,EAAE;QACd,MAAM,EAAE,QAAQ;QAChB,MAAM,EAAE;YACN,GAAG,EAAE;gBACH,KAAK,EAAE,gBAAgB;gBACvB,WAAW,EACT,oJAAoJ;gBACtJ,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;aACf;YACD,gBAAgB,EAAE;gBAChB,KAAK,EAAE,kBAAkB;gBACzB,WAAW,EACT,yGAAyG;gBAC3G,IAAI,EAAE,SAAS;gBACf,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,KAAK;aACf;YACD,SAAS,EAAE;gBACT,KAAK,EAAE,WAAW;gBAClB,WAAW,EACT,iHAAiH;gBACnH,IAAI,EAAE,SAAS;gBACf,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,KAAK;aACf;SACF;KACF;IAED,OAAO,EAAE;QACP,YAAY,EAAZ,sBAAY;KACb;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',
|
|
@@ -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,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;QAClB,IAAI,EAAE,QAAQ;QACd,WAAW,
|
|
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,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AU,EAAE;wBACV,OAAO,EAAE,YAAY;qBACtB;oBACD,GAAG,EAAE;wBACH,OAAO,EAAE,KAAK;qBACf;oBACD,QAAQ,EAAE;wBACR,OAAO,EAAE,UAAU;qBACpB;oBACD,IAAI,EAAE;wBACJ,OAAO,EAAE,MAAM;qBAChB;oBACD,KAAK,EAAE;wBACL,OAAO,EAAE,OAAO;qBACjB;oBACD,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":";;;;;;
|
|
1
|
+
{"version":3,"file":"functions.js","sourceRoot":"","sources":["../../../../src/destinations/mixpanel/trackEvent/functions.ts"],"names":[],"mappings":";;;;;;AACA,wDAA4C;AAG5C,+DAAsC;AAEtC,oCAAmE;AAEnE,MAAM,0BAA0B,GAAG,CAAC,MAAM,EAAE,I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1B,QAAQ,EAAE,GAAG,CAAC,QAAQ;QAEtB,GAAG,mBAAI,CAAC,OAAO,CAAC,gBAAgB,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,EAA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,QAAQ,CAAE,EAAE;SACvF;KACF,CAAC,CAAA;AACJ,CAAC,CAAA;AAED,MAAM,MAAM,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"}
|
|
@@ -12,7 +12,7 @@ var StrictMode;
|
|
|
12
12
|
StrictMode["OFF"] = "0";
|
|
13
13
|
})(StrictMode = exports.StrictMode || (exports.StrictMode = {}));
|
|
14
14
|
function getConcatenatedName(firstName, lastName, name) {
|
|
15
|
-
return name ?? (firstName && lastName ? `${firstName} ${lastName}` : undefined);
|
|
15
|
+
return (name ?? (firstName && lastName ? `${firstName} ${lastName}` : undefined));
|
|
16
16
|
}
|
|
17
17
|
exports.getConcatenatedName = getConcatenatedName;
|
|
18
18
|
function getApiServerUrl(apiRegion) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/destinations/mixpanel/utils.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAGX;AAHD,WAAY,UAAU;IACpB,gDAAc,CAAA;IACd,gDAAc,CAAA;AAChB,CAAC,EAHW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAGrB;AAED,IAAY,UAGX;AAHD,WAAY,UAAU;IACpB,sBAAQ,CAAA;IACR,uBAAS,CAAA;AACX,CAAC,EAHW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAGrB;AAED,SAAgB,mBAAmB,CAAC,SAAkB,EAAE,QAAiB,EAAE,IAAa;IACtF,OAAO,IAAI,IAAI,CAAC,SAAS,IAAI,QAAQ,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/destinations/mixpanel/utils.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAGX;AAHD,WAAY,UAAU;IACpB,gDAAc,CAAA;IACd,gDAAc,CAAA;AAChB,CAAC,EAHW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAGrB;AAED,IAAY,UAGX;AAHD,WAAY,UAAU;IACpB,sBAAQ,CAAA;IACR,uBAAS,CAAA;AACX,CAAC,EAHW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAGrB;AAED,SAAgB,mBAAmB,CAAC,SAAkB,EAAE,QAAiB,EAAE,IAAa;IACtF,OAAO,CACL,IAAI,IAAI,CAAC,SAAS,IAAI,QAAQ,CAAC,CAAC,CAAC,GAAI,SAAU,IAAK,QAAS,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAC7E,CAAA;AACH,CAAC;AAJD,kDAIC;AAED,SAAgB,eAAe,CAAC,SAA6B;IAC3D,IAAI,SAAS,IAAI,UAAU,CAAC,EAAE,EAAE;QAC9B,OAAO,6BAA6B,CAAA;KACrC;IACD,OAAO,0BAA0B,CAAA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QAC/C,OAAO,EAAE,kBAAkB;KAC5B,CAAA;IACD,MAAM,KAAK,GAAG,aAAa,CAAC,OAAO,CAAC,CAAA;IACpC,IAAI,CAAC,KAAK;QAAE,OAAO,KAAK,CAAA;IACxB,MAAM,OAAO,GAAG,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;IACrC,IAAI,CAAC,OAAO,EAAE;QACZ,OAAO,SAAS,CAAA;KACjB;IACD,OAAO,OAAO,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC,CAAA;AACpC,CAAC;AA3BD,8CA2BC;AAED,SAAgB,SAAS,CAAC,MAAe;IACvC,MAAM,IAAI,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,EAAE,CAAC,CAAA;IACtG,OAAO,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CAAA;AAClD,CAAC;AAHD,8BAGC"}
|
|
@@ -9,20 +9,23 @@ const fieldHandler = pipedrive_client_1.default.fieldHandler;
|
|
|
9
9
|
const action = {
|
|
10
10
|
title: 'Create or update an Activity',
|
|
11
11
|
description: "Update an Activity in Pipedrive or create one if it doesn't exist.",
|
|
12
|
-
defaultSubscription: 'type = "track"',
|
|
12
|
+
defaultSubscription: 'type = "track" and event = "Activity Upserted"',
|
|
13
13
|
fields: {
|
|
14
14
|
activity_id: {
|
|
15
15
|
label: 'Activity ID',
|
|
16
16
|
description: 'ID of Activity in Pipedrive to Update. If left empty, a new one will be created',
|
|
17
17
|
type: 'integer',
|
|
18
|
-
required: false
|
|
18
|
+
required: false,
|
|
19
|
+
default: {
|
|
20
|
+
'@path': '$.properties.activity_id'
|
|
21
|
+
}
|
|
19
22
|
},
|
|
20
23
|
person_match_field: {
|
|
21
24
|
label: 'Person match field',
|
|
22
25
|
description: 'If present, used instead of field in settings to find existing person in Pipedrive.',
|
|
23
26
|
type: 'string',
|
|
24
27
|
required: false,
|
|
25
|
-
dynamic: true
|
|
28
|
+
dynamic: true
|
|
26
29
|
},
|
|
27
30
|
person_match_value: {
|
|
28
31
|
label: 'Person match value',
|
|
@@ -38,7 +41,7 @@ const action = {
|
|
|
38
41
|
description: 'If present, used instead of field in settings to find existing organization in Pipedrive.',
|
|
39
42
|
type: 'string',
|
|
40
43
|
required: false,
|
|
41
|
-
dynamic: true
|
|
44
|
+
dynamic: true
|
|
42
45
|
},
|
|
43
46
|
organization_match_value: {
|
|
44
47
|
label: 'Organization match value',
|
|
@@ -46,7 +49,7 @@ const action = {
|
|
|
46
49
|
type: 'string',
|
|
47
50
|
required: false,
|
|
48
51
|
default: {
|
|
49
|
-
'@path': '$.
|
|
52
|
+
'@path': '$.context.groupId'
|
|
50
53
|
}
|
|
51
54
|
},
|
|
52
55
|
deal_match_field: {
|
|
@@ -54,7 +57,7 @@ const action = {
|
|
|
54
57
|
description: 'If present, used instead of field in settings to find existing deal in Pipedrive.',
|
|
55
58
|
type: 'string',
|
|
56
59
|
required: false,
|
|
57
|
-
dynamic: true
|
|
60
|
+
dynamic: true
|
|
58
61
|
},
|
|
59
62
|
deal_match_value: {
|
|
60
63
|
label: 'Deal match value',
|
|
@@ -62,56 +65,80 @@ const action = {
|
|
|
62
65
|
type: 'string',
|
|
63
66
|
required: false,
|
|
64
67
|
default: {
|
|
65
|
-
'@path': '$.
|
|
68
|
+
'@path': '$.properties.deal_id'
|
|
66
69
|
}
|
|
67
70
|
},
|
|
68
71
|
subject: {
|
|
69
72
|
label: 'Activity Subject',
|
|
70
73
|
description: 'Subject of the Activity. When value for subject is not set, it will be given a default value `Call`.',
|
|
71
74
|
type: 'string',
|
|
72
|
-
required: false
|
|
75
|
+
required: false,
|
|
76
|
+
default: {
|
|
77
|
+
'@path': '$.properties.subject'
|
|
78
|
+
}
|
|
73
79
|
},
|
|
74
80
|
type: {
|
|
75
81
|
label: 'Type',
|
|
76
82
|
description: 'Type of the Activity. This is in correlation with the key_string parameter of ActivityTypes. When value for type is not set, it will be given a default value `Call`',
|
|
77
83
|
type: 'string',
|
|
78
|
-
required: false
|
|
84
|
+
required: false,
|
|
85
|
+
default: {
|
|
86
|
+
'@path': '$.properties.type'
|
|
87
|
+
}
|
|
79
88
|
},
|
|
80
89
|
description: {
|
|
81
90
|
label: 'Description',
|
|
82
91
|
description: 'Additional details about the Activity that is synced to your external calendar. Unlike the note added to the Activity, the description is publicly visible to any guests added to the Activity.',
|
|
83
92
|
type: 'string',
|
|
84
|
-
required: false
|
|
93
|
+
required: false,
|
|
94
|
+
default: {
|
|
95
|
+
'@path': '$.properties.description'
|
|
96
|
+
}
|
|
85
97
|
},
|
|
86
98
|
note: {
|
|
87
99
|
label: 'Note',
|
|
88
|
-
description: 'Note of the Activity (HTML
|
|
100
|
+
description: 'Note of the Activity (Accepts plain text and HTML)',
|
|
89
101
|
type: 'string',
|
|
90
|
-
required: false
|
|
102
|
+
required: false,
|
|
103
|
+
default: {
|
|
104
|
+
'@path': '$.properties.note'
|
|
105
|
+
}
|
|
91
106
|
},
|
|
92
107
|
due_date: {
|
|
93
108
|
label: 'Due Date',
|
|
94
109
|
description: 'Due date of the Activity. Format: YYYY-MM-DD',
|
|
95
110
|
type: 'string',
|
|
96
|
-
required: false
|
|
111
|
+
required: false,
|
|
112
|
+
default: {
|
|
113
|
+
'@path': '$.properties.due_date'
|
|
114
|
+
}
|
|
97
115
|
},
|
|
98
116
|
due_time: {
|
|
99
117
|
label: 'Due Time',
|
|
100
|
-
description: 'Due time of the Activity
|
|
118
|
+
description: 'Due time of the Activity. Format: HH:MM',
|
|
101
119
|
type: 'string',
|
|
102
|
-
required: false
|
|
120
|
+
required: false,
|
|
121
|
+
default: {
|
|
122
|
+
'@path': '$.properties.due_time'
|
|
123
|
+
}
|
|
103
124
|
},
|
|
104
125
|
duration: {
|
|
105
126
|
label: 'Duration',
|
|
106
127
|
description: 'Duration of the Activity. Format: HH:MM',
|
|
107
128
|
type: 'string',
|
|
108
|
-
required: false
|
|
129
|
+
required: false,
|
|
130
|
+
default: {
|
|
131
|
+
'@path': '$.properties.duration'
|
|
132
|
+
}
|
|
109
133
|
},
|
|
110
134
|
done: {
|
|
111
135
|
label: 'Done',
|
|
112
136
|
description: 'Whether the Activity is done or not.',
|
|
113
137
|
type: 'boolean',
|
|
114
|
-
required: false
|
|
138
|
+
required: false,
|
|
139
|
+
default: {
|
|
140
|
+
'@path': '$.properties.done'
|
|
141
|
+
}
|
|
115
142
|
}
|
|
116
143
|
},
|
|
117
144
|
dynamicFields: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/pipedrive/createUpdateActivity/index.ts"],"names":[],"mappings":";;;;;AAGA,2DAA2E;AAC3E,wFAA8D;AAE9D,MAAM,YAAY,GAAG,0BAAe,CAAC,YAAY,CAAA;AAEjD,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,8BAA8B;IACrC,WAAW,EAAE,oEAAoE;IACjF,mBAAmB,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/pipedrive/createUpdateActivity/index.ts"],"names":[],"mappings":";;;;;AAGA,2DAA2E;AAC3E,wFAA8D;AAE9D,MAAM,YAAY,GAAG,0BAAe,CAAC,YAAY,CAAA;AAEjD,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,8BAA8B;IACrC,WAAW,EAAE,oEAAoE;IACjF,mBAAmB,EAAE,gDAAgD;IACrE,MAAM,EAAE;QACN,WAAW,EAAE;YACX,KAAK,EAAE,aAAa;YACpB,WAAW,EAAE,iFAAiF;YAC9F,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,KAAK;YACf,OAAO,EAAE;gBACP,OAAO,EAA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IAAI,EAAE,OAAO,CAAC,IAAI;YAClB,QAAQ,EAAE,OAAO,CAAC,QAAQ;YAC1B,QAAQ,EAAE,OAAO,CAAC,QAAQ;YAC1B,QAAQ,EAAE,OAAO,CAAC,QAAQ;YAC1B,IAAI,EAAE,OAAO,CAAC,IAAI;YAClB,SAAS,EAAE,QAAQ,IAAI,SAAS;YAChC,MAAM,EAAE,cAAc,IAAI,SAAS;YACnC,OAAO,EAAE,MAAM,IAAI,SAAS;SAC7B,CAAA;QAED,OAAO,iCAAoB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAA;IAC/C,CAAC;CACF,CAAA;AAED,kBAAe,MAAM,CAAA"}
|
|
@@ -9,9 +9,9 @@ const actions_core_1 = require("@segment/actions-core");
|
|
|
9
9
|
const utils_1 = require("../utils");
|
|
10
10
|
const fieldHandler = pipedrive_client_1.default.fieldHandler;
|
|
11
11
|
const action = {
|
|
12
|
-
title: 'Create or
|
|
12
|
+
title: 'Create or update a Deal',
|
|
13
13
|
description: "Update a Deal in Pipedrive or create it if it doesn't exist yet.",
|
|
14
|
-
defaultSubscription: 'type = "track"',
|
|
14
|
+
defaultSubscription: 'type = "track" and event = "Deal Upserted"',
|
|
15
15
|
fields: {
|
|
16
16
|
deal_match_field: {
|
|
17
17
|
label: 'Deal match field',
|
|
@@ -26,7 +26,7 @@ const action = {
|
|
|
26
26
|
type: 'string',
|
|
27
27
|
required: false,
|
|
28
28
|
default: {
|
|
29
|
-
'@path': '$.
|
|
29
|
+
'@path': '$.properties.deal_id'
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
person_match_field: {
|
|
@@ -58,32 +58,44 @@ const action = {
|
|
|
58
58
|
type: 'string',
|
|
59
59
|
required: false,
|
|
60
60
|
default: {
|
|
61
|
-
'@path': '$.
|
|
61
|
+
'@path': '$.context.groupId'
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
64
|
title: {
|
|
65
65
|
label: 'Title',
|
|
66
66
|
description: 'Deal title (required for new Leads)',
|
|
67
67
|
type: 'string',
|
|
68
|
-
required: true
|
|
68
|
+
required: true,
|
|
69
|
+
default: {
|
|
70
|
+
'@path': '$.properties.title'
|
|
71
|
+
}
|
|
69
72
|
},
|
|
70
73
|
value: {
|
|
71
74
|
label: 'Value',
|
|
72
75
|
description: 'Value of the deal. If omitted, value will be set to 0.',
|
|
73
76
|
type: 'string',
|
|
74
|
-
required: false
|
|
77
|
+
required: false,
|
|
78
|
+
default: {
|
|
79
|
+
'@path': '$.properties.value'
|
|
80
|
+
}
|
|
75
81
|
},
|
|
76
82
|
currency: {
|
|
77
83
|
label: 'Currency',
|
|
78
84
|
description: 'Currency of the deal. Accepts a 3-character currency code. If omitted, currency will be set to the default currency of the authorized user.',
|
|
79
85
|
type: 'string',
|
|
80
|
-
required: false
|
|
86
|
+
required: false,
|
|
87
|
+
default: {
|
|
88
|
+
'@path': '$.properties.currency'
|
|
89
|
+
}
|
|
81
90
|
},
|
|
82
91
|
stage_id: {
|
|
83
92
|
label: 'Stage ID',
|
|
84
93
|
description: "The ID of a stage this Deal will be placed in a pipeline (note that you can't supply the ID of the pipeline as this will be assigned automatically based on stage_id). If omitted, the deal will be placed in the first stage of the default pipeline.",
|
|
85
94
|
type: 'number',
|
|
86
|
-
required: false
|
|
95
|
+
required: false,
|
|
96
|
+
default: {
|
|
97
|
+
'@path': '$.properties.stage_id'
|
|
98
|
+
}
|
|
87
99
|
},
|
|
88
100
|
status: {
|
|
89
101
|
label: 'Status',
|
|
@@ -101,19 +113,28 @@ const action = {
|
|
|
101
113
|
label: 'Expected Close Date',
|
|
102
114
|
description: 'The expected close date of the Deal. In ISO 8601 format: YYYY-MM-DD.',
|
|
103
115
|
type: 'string',
|
|
104
|
-
required: false
|
|
116
|
+
required: false,
|
|
117
|
+
default: {
|
|
118
|
+
'@path': '$.properties.expected_close_date'
|
|
119
|
+
}
|
|
105
120
|
},
|
|
106
121
|
probability: {
|
|
107
122
|
label: 'Success Probability',
|
|
108
123
|
description: 'Deal success probability percentage. Used/shown only when deal_probability for the pipeline of the deal is enabled.',
|
|
109
124
|
type: 'number',
|
|
110
|
-
required: false
|
|
125
|
+
required: false,
|
|
126
|
+
default: {
|
|
127
|
+
'@path': '$.properties.success_probability'
|
|
128
|
+
}
|
|
111
129
|
},
|
|
112
130
|
lost_reason: {
|
|
113
131
|
label: 'Lost Reason',
|
|
114
132
|
description: 'Optional message about why the deal was lost (to be used when status=lost)',
|
|
115
133
|
type: 'string',
|
|
116
|
-
required: false
|
|
134
|
+
required: false,
|
|
135
|
+
default: {
|
|
136
|
+
'@path': '$.properties.lost_reason'
|
|
137
|
+
}
|
|
117
138
|
},
|
|
118
139
|
visible_to: {
|
|
119
140
|
label: 'Visible To',
|
|
@@ -171,6 +192,9 @@ const action = {
|
|
|
171
192
|
if (!deal.id && !deal.person_id && !deal.org_id) {
|
|
172
193
|
throw new actions_core_1.IntegrationError('No related organization or person, unable to create deal!', 'INVALID_REQUEST_DATA', 400);
|
|
173
194
|
}
|
|
195
|
+
if (!deal.id)
|
|
196
|
+
if (payload.deal_match_field && payload.deal_match_value)
|
|
197
|
+
Object.assign(deal, { [payload.deal_match_field]: payload.deal_match_value });
|
|
174
198
|
utils_1.addCustomFieldsFromPayloadToEntity(payload, deal);
|
|
175
199
|
return deals_1.createUpdateDeal(client, deal);
|
|
176
200
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/pipedrive/createUpdateDeal/index.ts"],"names":[],"mappings":";;;;;AAGA,wFAA8D;AAC9D,iDAA8D;AAC9D,wDAAwD;AACxD,oCAA6D;AAE7D,MAAM,YAAY,GAAG,0BAAe,CAAC,YAAY,CAAA;AAEjD,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,yBAAyB;IAChC,WAAW,EAAE,kEAAkE;IAC/E,mBAAmB,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/pipedrive/createUp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