@segment/action-destinations 3.187.1-TempPublishBranch.6 → 3.189.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/app-fit/index.js +2 -2
- package/dist/destinations/app-fit/index.js.map +1 -1
- package/dist/destinations/app-fit/track/index.js +1 -1
- package/dist/destinations/app-fit/track/index.js.map +1 -1
- package/dist/destinations/attio/api/index.d.ts +30 -0
- package/dist/destinations/attio/api/index.js +28 -0
- package/dist/destinations/attio/api/index.js.map +1 -0
- package/dist/destinations/attio/assertRecord/generated-types.d.ts +8 -0
- package/dist/destinations/attio/assertRecord/generated-types.js.map +1 -0
- package/dist/destinations/attio/assertRecord/index.d.ts +6 -0
- package/dist/destinations/attio/assertRecord/index.js +84 -0
- package/dist/destinations/attio/assertRecord/index.js.map +1 -0
- package/dist/destinations/attio/generated-types.d.ts +2 -0
- package/dist/destinations/attio/generated-types.js.map +1 -0
- package/dist/destinations/attio/groupWorkspace/generated-types.d.ts +10 -0
- package/dist/destinations/attio/groupWorkspace/generated-types.js.map +1 -0
- package/dist/destinations/attio/groupWorkspace/index.js +82 -0
- package/dist/destinations/attio/groupWorkspace/index.js.map +1 -0
- package/dist/destinations/attio/identifyUser/generated-types.d.ts +10 -0
- package/dist/destinations/attio/identifyUser/generated-types.js.map +1 -0
- package/dist/destinations/attio/identifyUser/index.js +74 -0
- package/dist/destinations/attio/identifyUser/index.js.map +1 -0
- package/dist/destinations/attio/index.d.ts +4 -0
- package/dist/destinations/attio/index.js +48 -0
- package/dist/destinations/attio/index.js.map +1 -0
- package/dist/destinations/{engage-messaging-twilio/utils/types.js → engage/sendgrid/Profile.js} +1 -1
- package/dist/destinations/engage/sendgrid/Profile.js.map +1 -0
- package/dist/destinations/engage/sendgrid/destinationDefinition.d.ts +3 -0
- package/dist/destinations/engage/sendgrid/destinationDefinition.js +70 -0
- package/dist/destinations/engage/sendgrid/destinationDefinition.js.map +1 -0
- package/dist/destinations/engage/sendgrid/generated-types.d.ts +1 -0
- package/dist/destinations/engage/sendgrid/generated-types.js +14 -0
- package/dist/destinations/engage/sendgrid/generated-types.js.map +1 -0
- package/dist/destinations/engage/sendgrid/index.d.ts +2 -0
- package/dist/destinations/engage/sendgrid/index.js +5 -0
- package/dist/destinations/engage/sendgrid/index.js.map +1 -0
- package/dist/destinations/{engage-messaging-sendgrid/previewApiLookup/index.d.ts → engage/sendgrid/previewApiLookup/actionDefinition.d.ts} +1 -2
- package/dist/destinations/{engage-messaging-sendgrid/previewApiLookup/index.js → engage/sendgrid/previewApiLookup/actionDefinition.js} +4 -4
- package/dist/destinations/engage/sendgrid/previewApiLookup/actionDefinition.js.map +1 -0
- package/dist/destinations/{engage-messaging-sendgrid/utils → engage/sendgrid/previewApiLookup}/api-lookups.d.ts +2 -4
- package/dist/destinations/{engage-messaging-sendgrid/utils → engage/sendgrid/previewApiLookup}/api-lookups.js +1 -15
- package/dist/destinations/engage/sendgrid/previewApiLookup/api-lookups.js.map +1 -0
- package/dist/destinations/engage/sendgrid/previewApiLookup/generated-types.d.ts +1 -0
- package/dist/destinations/engage/sendgrid/previewApiLookup/generated-types.js +14 -0
- package/dist/destinations/engage/sendgrid/previewApiLookup/generated-types.js.map +1 -0
- package/dist/destinations/engage/sendgrid/previewApiLookup/index.d.ts +2 -0
- package/dist/destinations/{engage-messaging-twilio/utils → engage/sendgrid/previewApiLookup}/index.js +2 -6
- package/dist/destinations/engage/sendgrid/previewApiLookup/index.js.map +1 -0
- package/dist/destinations/engage/sendgrid/sendEmail/SendEmailPerformer.d.ts +42 -0
- package/dist/destinations/engage/sendgrid/sendEmail/SendEmailPerformer.js +318 -0
- package/dist/destinations/engage/sendgrid/sendEmail/SendEmailPerformer.js.map +1 -0
- package/dist/destinations/engage/sendgrid/sendEmail/UnlayerResponse.d.ts +12 -0
- package/dist/destinations/engage/sendgrid/sendEmail/UnlayerResponse.js +3 -0
- package/dist/destinations/engage/sendgrid/sendEmail/UnlayerResponse.js.map +1 -0
- package/dist/destinations/engage/sendgrid/sendEmail/actionDefinition.d.ts +4 -0
- package/dist/destinations/engage/sendgrid/sendEmail/actionDefinition.js +236 -0
- package/dist/destinations/engage/sendgrid/sendEmail/actionDefinition.js.map +1 -0
- package/dist/destinations/engage/sendgrid/sendEmail/generated-types.d.ts +1 -0
- package/dist/destinations/engage/sendgrid/sendEmail/generated-types.js +14 -0
- package/dist/destinations/engage/sendgrid/sendEmail/generated-types.js.map +1 -0
- package/dist/destinations/engage/sendgrid/sendEmail/index.d.ts +1 -0
- package/dist/destinations/engage/sendgrid/sendEmail/index.js +14 -0
- package/dist/destinations/engage/sendgrid/sendEmail/index.js.map +1 -0
- package/dist/destinations/engage/sendgrid/sendEmail/insertEmailPreviewText.d.ts +1 -0
- package/dist/destinations/engage/sendgrid/sendEmail/insertEmailPreviewText.js +23 -0
- package/dist/destinations/engage/sendgrid/sendEmail/insertEmailPreviewText.js.map +1 -0
- package/dist/destinations/engage/sendgrid/sendEmail/isRestrictedDomain.d.ts +1 -0
- package/dist/destinations/engage/sendgrid/sendEmail/isRestrictedDomain.js +14 -0
- package/dist/destinations/engage/sendgrid/sendEmail/isRestrictedDomain.js.map +1 -0
- package/dist/destinations/engage/twilio/destinationDefinition.d.ts +3 -0
- package/dist/destinations/engage/twilio/destinationDefinition.js +172 -0
- package/dist/destinations/engage/twilio/destinationDefinition.js.map +1 -0
- package/dist/destinations/engage/twilio/generated-types.d.ts +1 -0
- package/dist/destinations/engage/twilio/generated-types.js +14 -0
- package/dist/destinations/engage/twilio/generated-types.js.map +1 -0
- package/dist/destinations/engage/twilio/index.d.ts +2 -0
- package/dist/destinations/engage/twilio/index.js +5 -0
- package/dist/destinations/engage/twilio/index.js.map +1 -0
- package/dist/destinations/engage/twilio/sendMobilePush/PushSender.d.ts +27 -0
- package/dist/destinations/engage/twilio/sendMobilePush/PushSender.js +142 -0
- package/dist/destinations/engage/twilio/sendMobilePush/PushSender.js.map +1 -0
- package/dist/destinations/engage/twilio/sendMobilePush/actionDefinition.d.ts +4 -0
- package/dist/destinations/{engage-messaging-twilio/sendMobilePush/index.js → engage/twilio/sendMobilePush/actionDefinition.js} +5 -5
- package/dist/destinations/engage/twilio/sendMobilePush/actionDefinition.js.map +1 -0
- package/dist/destinations/engage/twilio/sendMobilePush/generated-types.d.ts +1 -0
- package/dist/destinations/engage/twilio/sendMobilePush/generated-types.js +14 -0
- package/dist/destinations/engage/twilio/sendMobilePush/generated-types.js.map +1 -0
- package/dist/destinations/engage/twilio/sendMobilePush/index.d.ts +1 -0
- package/dist/destinations/engage/twilio/sendMobilePush/index.js +14 -0
- package/dist/destinations/engage/twilio/sendMobilePush/index.js.map +1 -0
- package/dist/destinations/engage/twilio/sendSms/SmsMessageSender.d.ts +9 -0
- package/dist/destinations/{engage-messaging-twilio/sendSms/sms-sender.js → engage/twilio/sendSms/SmsMessageSender.js} +5 -32
- package/dist/destinations/engage/twilio/sendSms/SmsMessageSender.js.map +1 -0
- package/dist/destinations/engage/twilio/sendSms/actionDefinition.d.ts +4 -0
- package/dist/destinations/{engage-messaging-twilio/sendSms/index.js → engage/twilio/sendSms/actionDefinition.js} +5 -5
- package/dist/destinations/engage/twilio/sendSms/actionDefinition.js.map +1 -0
- package/dist/destinations/engage/twilio/sendSms/generated-types.d.ts +1 -0
- package/dist/destinations/engage/twilio/sendSms/generated-types.js +14 -0
- package/dist/destinations/engage/twilio/sendSms/generated-types.js.map +1 -0
- package/dist/destinations/engage/twilio/sendSms/index.d.ts +1 -0
- package/dist/destinations/engage/twilio/sendSms/index.js +14 -0
- package/dist/destinations/engage/twilio/sendSms/index.js.map +1 -0
- package/dist/destinations/engage/twilio/sendWhatsApp/WhatsAppMessageSender.d.ts +8 -0
- package/dist/destinations/{engage-messaging-twilio/sendWhatsApp/whatsapp-sender.js → engage/twilio/sendWhatsApp/WhatsAppMessageSender.js} +8 -4
- package/dist/destinations/engage/twilio/sendWhatsApp/WhatsAppMessageSender.js.map +1 -0
- package/dist/destinations/engage/twilio/sendWhatsApp/actionDefinition.d.ts +4 -0
- package/dist/destinations/{engage-messaging-twilio/sendWhatsApp/index.js → engage/twilio/sendWhatsApp/actionDefinition.js} +5 -5
- package/dist/destinations/engage/twilio/sendWhatsApp/actionDefinition.js.map +1 -0
- package/dist/destinations/engage/twilio/sendWhatsApp/generated-types.d.ts +1 -0
- package/dist/destinations/engage/twilio/sendWhatsApp/generated-types.js +14 -0
- package/dist/destinations/engage/twilio/sendWhatsApp/generated-types.js.map +1 -0
- package/dist/destinations/engage/twilio/sendWhatsApp/index.d.ts +1 -0
- package/dist/destinations/engage/twilio/sendWhatsApp/index.js +14 -0
- package/dist/destinations/engage/twilio/sendWhatsApp/index.js.map +1 -0
- package/dist/destinations/engage/twilio/utils/PhoneMessageSender.d.ts +16 -0
- package/dist/destinations/engage/twilio/utils/PhoneMessageSender.js +57 -0
- package/dist/destinations/engage/twilio/utils/PhoneMessageSender.js.map +1 -0
- package/dist/destinations/engage/twilio/utils/TwilioMessageSender.d.ts +16 -0
- package/dist/destinations/engage/twilio/utils/TwilioMessageSender.js +109 -0
- package/dist/destinations/engage/twilio/utils/TwilioMessageSender.js.map +1 -0
- package/dist/destinations/engage/twilio/utils/index.d.ts +2 -0
- package/dist/destinations/engage/twilio/utils/index.js +15 -0
- package/dist/destinations/engage/twilio/utils/index.js.map +1 -0
- package/dist/destinations/{engage-messaging-twilio → engage/twilio}/utils/types.d.ts +0 -16
- package/dist/destinations/engage/twilio/utils/types.js.map +1 -0
- package/dist/destinations/engage/utils/AggregateError.d.ts +14 -0
- package/dist/destinations/engage/utils/AggregateError.js +26 -0
- package/dist/destinations/engage/utils/AggregateError.js.map +1 -0
- package/dist/destinations/engage/utils/EngageActionPerformer.d.ts +41 -0
- package/dist/destinations/engage/utils/EngageActionPerformer.js +135 -0
- package/dist/destinations/engage/utils/EngageActionPerformer.js.map +1 -0
- package/dist/destinations/{engage-messaging-twilio/utils/MessageLogger.d.ts → engage/utils/EngageLogger.d.ts} +8 -5
- package/dist/destinations/engage/utils/EngageLogger.js +52 -0
- package/dist/destinations/engage/utils/EngageLogger.js.map +1 -0
- package/dist/destinations/engage/utils/EngageStats.d.ts +18 -0
- package/dist/destinations/{engage-messaging-twilio/utils/MessageStats.js → engage/utils/EngageStats.js} +28 -14
- package/dist/destinations/engage/utils/EngageStats.js.map +1 -0
- package/dist/destinations/{engage-messaging-twilio → engage}/utils/IntegrationErrorWrapper.d.ts +2 -2
- package/dist/destinations/{engage-messaging-twilio → engage}/utils/IntegrationErrorWrapper.js +1 -1
- package/dist/destinations/engage/utils/IntegrationErrorWrapper.js.map +1 -0
- package/dist/destinations/engage/utils/MessageSendPerformer.d.ts +63 -0
- package/dist/destinations/engage/utils/MessageSendPerformer.js +191 -0
- package/dist/destinations/engage/utils/MessageSendPerformer.js.map +1 -0
- package/dist/destinations/engage/utils/ResponseError.d.ts +20 -0
- package/dist/destinations/engage/utils/ResponseError.js +17 -0
- package/dist/destinations/engage/utils/ResponseError.js.map +1 -0
- package/dist/destinations/engage/utils/getProfileApiEndpoint.d.ts +2 -0
- package/dist/destinations/engage/utils/getProfileApiEndpoint.js +10 -0
- package/dist/destinations/engage/utils/getProfileApiEndpoint.js.map +1 -0
- package/dist/destinations/engage/utils/index.d.ts +9 -0
- package/dist/destinations/engage/utils/index.js +22 -0
- package/dist/destinations/engage/utils/index.js.map +1 -0
- package/dist/destinations/engage/utils/isDestinationActionService.js.map +1 -0
- package/dist/destinations/engage/utils/isRetryableError.d.ts +2 -0
- package/dist/destinations/engage/utils/isRetryableError.js +33 -0
- package/dist/destinations/engage/utils/isRetryableError.js.map +1 -0
- package/dist/destinations/engage/utils/operationTracking/GenericMethodDecorator.js.map +1 -0
- package/dist/destinations/engage/utils/operationTracking/OperationDecorator.js.map +1 -0
- package/dist/destinations/engage/utils/operationTracking/OperationDuration.js.map +1 -0
- package/dist/destinations/engage/utils/operationTracking/OperationErrorHandler.js.map +1 -0
- package/dist/destinations/{engage-messaging-twilio → engage/utils}/operationTracking/OperationFinallyHooks.d.ts +4 -0
- package/dist/destinations/{engage-messaging-twilio → engage/utils}/operationTracking/OperationFinallyHooks.js +2 -0
- package/dist/destinations/engage/utils/operationTracking/OperationFinallyHooks.js.map +1 -0
- package/dist/destinations/{engage-messaging-twilio → engage/utils}/operationTracking/OperationLogger.d.ts +2 -1
- package/dist/destinations/{engage-messaging-twilio → engage/utils}/operationTracking/OperationLogger.js +22 -25
- package/dist/destinations/engage/utils/operationTracking/OperationLogger.js.map +1 -0
- package/dist/destinations/engage/utils/operationTracking/OperationStats.js.map +1 -0
- package/dist/destinations/engage/utils/operationTracking/OperationTracker.test.js.map +1 -0
- package/dist/destinations/engage/utils/operationTracking/OperationTree.js.map +1 -0
- package/dist/destinations/engage/utils/operationTracking/TrackedError.js.map +1 -0
- package/dist/destinations/engage/utils/operationTracking/index.js.map +1 -0
- package/dist/destinations/engage/utils/operationTracking/wrapTryCatchFinallyPromisable.js.map +1 -0
- package/dist/destinations/engage/utils/testUtils.d.ts +6 -0
- package/dist/destinations/engage/utils/testUtils.js +26 -0
- package/dist/destinations/engage/utils/testUtils.js.map +1 -0
- package/dist/destinations/engage/utils/track.d.ts +52 -0
- package/dist/destinations/engage/utils/track.js +9 -0
- package/dist/destinations/engage/utils/track.js.map +1 -0
- package/dist/destinations/engage-messaging-sendgrid/index.d.ts +2 -3
- package/dist/destinations/engage-messaging-sendgrid/index.js +13 -67
- package/dist/destinations/engage-messaging-sendgrid/index.js.map +1 -1
- package/dist/destinations/engage-messaging-sendgrid/previewApiLookup.types.js +3 -0
- package/dist/destinations/engage-messaging-sendgrid/previewApiLookup.types.js.map +1 -0
- package/dist/destinations/engage-messaging-sendgrid/sendEmail.types.js +3 -0
- package/dist/destinations/engage-messaging-sendgrid/sendEmail.types.js.map +1 -0
- package/dist/destinations/engage-messaging-twilio/index.d.ts +2 -3
- package/dist/destinations/engage-messaging-twilio/index.js +13 -169
- package/dist/destinations/engage-messaging-twilio/index.js.map +1 -1
- package/dist/destinations/engage-messaging-twilio/sendMobilePush.types.js +3 -0
- package/dist/destinations/engage-messaging-twilio/sendMobilePush.types.js.map +1 -0
- package/dist/destinations/engage-messaging-twilio/sendSms.types.js +3 -0
- package/dist/destinations/engage-messaging-twilio/sendSms.types.js.map +1 -0
- package/dist/destinations/engage-messaging-twilio/sendWhatsApp.types.js +3 -0
- package/dist/destinations/engage-messaging-twilio/sendWhatsApp.types.js.map +1 -0
- package/dist/destinations/hilo/generated-types.d.ts +3 -0
- package/dist/destinations/hilo/generated-types.js.map +1 -0
- package/dist/destinations/hilo/group/generated-types.d.ts +9 -0
- package/dist/destinations/hilo/group/generated-types.js +3 -0
- package/dist/destinations/hilo/group/generated-types.js.map +1 -0
- package/dist/destinations/{engage-messaging-sendgrid/sendEmail → hilo/group}/index.d.ts +1 -1
- package/dist/destinations/hilo/group/index.js +59 -0
- package/dist/destinations/hilo/group/index.js.map +1 -0
- package/dist/destinations/hilo/identify/generated-types.d.ts +8 -0
- package/dist/destinations/hilo/identify/generated-types.js +3 -0
- package/dist/destinations/hilo/identify/generated-types.js.map +1 -0
- package/dist/destinations/{engage-messaging-twilio/sendMobilePush → hilo/identify}/index.d.ts +1 -1
- package/dist/destinations/hilo/identify/index.js +51 -0
- package/dist/destinations/hilo/identify/index.js.map +1 -0
- package/dist/destinations/hilo/index.d.ts +4 -0
- package/dist/destinations/hilo/index.js +103 -0
- package/dist/destinations/hilo/index.js.map +1 -0
- package/dist/destinations/hilo/page/generated-types.d.ts +9 -0
- package/dist/destinations/hilo/page/generated-types.js +3 -0
- package/dist/destinations/hilo/page/generated-types.js.map +1 -0
- package/dist/destinations/hilo/page/index.d.ts +5 -0
- package/dist/destinations/hilo/page/index.js +59 -0
- package/dist/destinations/hilo/page/index.js.map +1 -0
- package/dist/destinations/hilo/screen/generated-types.d.ts +9 -0
- package/dist/destinations/hilo/screen/generated-types.js +3 -0
- package/dist/destinations/hilo/screen/generated-types.js.map +1 -0
- package/dist/destinations/hilo/screen/index.d.ts +5 -0
- package/dist/destinations/hilo/screen/index.js +59 -0
- package/dist/destinations/hilo/screen/index.js.map +1 -0
- package/dist/destinations/hilo/track/generated-types.d.ts +9 -0
- package/dist/destinations/hilo/track/generated-types.js +3 -0
- package/dist/destinations/hilo/track/generated-types.js.map +1 -0
- package/dist/destinations/hilo/track/index.d.ts +5 -0
- package/dist/destinations/hilo/track/index.js +59 -0
- package/dist/destinations/hilo/track/index.js.map +1 -0
- package/dist/destinations/hubspot/api/index.d.ts +11 -5
- package/dist/destinations/hubspot/api/index.js +59 -24
- package/dist/destinations/hubspot/api/index.js.map +1 -1
- package/dist/destinations/hubspot/errors.d.ts +2 -0
- package/dist/destinations/hubspot/errors.js +3 -1
- package/dist/destinations/hubspot/errors.js.map +1 -1
- package/dist/destinations/hubspot/upsertCompany/index.js +1 -1
- package/dist/destinations/hubspot/upsertCompany/index.js.map +1 -1
- package/dist/destinations/hubspot/upsertCustomObjectRecord/generated-types.d.ts +5 -0
- package/dist/destinations/hubspot/upsertCustomObjectRecord/index.js +113 -22
- package/dist/destinations/hubspot/upsertCustomObjectRecord/index.js.map +1 -1
- package/dist/destinations/hubspot/utils.d.ts +23 -0
- package/dist/destinations/hubspot/utils.js +7 -1
- package/dist/destinations/hubspot/utils.js.map +1 -1
- package/dist/destinations/index.js +5 -2
- package/dist/destinations/index.js.map +1 -1
- package/dist/destinations/iterable/generated-types.d.ts +1 -0
- package/dist/destinations/iterable/index.js +20 -1
- package/dist/destinations/iterable/index.js.map +1 -1
- package/dist/destinations/iterable/index.test.d.ts +1 -0
- package/dist/destinations/iterable/index.test.js +46 -0
- package/dist/destinations/iterable/index.test.js.map +1 -0
- package/dist/destinations/iterable/shared-fields.d.ts +1 -0
- package/dist/destinations/iterable/trackEvent/index.js +3 -2
- package/dist/destinations/iterable/trackEvent/index.js.map +1 -1
- package/dist/destinations/iterable/trackPurchase/index.js +3 -2
- package/dist/destinations/iterable/trackPurchase/index.js.map +1 -1
- package/dist/destinations/iterable/updateCart/index.js +3 -2
- package/dist/destinations/iterable/updateCart/index.js.map +1 -1
- package/dist/destinations/iterable/updateUser/index.js +3 -2
- package/dist/destinations/iterable/updateUser/index.js.map +1 -1
- package/dist/destinations/iterable/utils.d.ts +9 -1
- package/dist/destinations/iterable/utils.js +18 -1
- package/dist/destinations/iterable/utils.js.map +1 -1
- package/dist/destinations/pinterest-conversions/reportConversionEvent/index.js +1 -1
- package/dist/destinations/pinterest-conversions/reportConversionEvent/index.js.map +1 -1
- package/dist/destinations/rehook/generated-types.d.ts +4 -0
- package/dist/destinations/rehook/generated-types.js +3 -0
- package/dist/destinations/rehook/generated-types.js.map +1 -0
- package/dist/destinations/rehook/identifyUser/generated-types.d.ts +7 -0
- package/dist/destinations/rehook/identifyUser/generated-types.js +3 -0
- package/dist/destinations/rehook/identifyUser/generated-types.js.map +1 -0
- package/dist/destinations/rehook/identifyUser/index.d.ts +5 -0
- package/dist/destinations/rehook/identifyUser/index.js +44 -0
- package/dist/destinations/rehook/identifyUser/index.js.map +1 -0
- package/dist/destinations/rehook/index.d.ts +4 -0
- package/dist/destinations/rehook/index.js +47 -0
- package/dist/destinations/rehook/index.js.map +1 -0
- package/dist/destinations/rehook/trackEvent/generated-types.d.ts +7 -0
- package/dist/destinations/rehook/trackEvent/generated-types.js +3 -0
- package/dist/destinations/rehook/trackEvent/generated-types.js.map +1 -0
- package/dist/destinations/rehook/trackEvent/index.d.ts +5 -0
- package/dist/destinations/rehook/trackEvent/index.js +48 -0
- package/dist/destinations/rehook/trackEvent/index.js.map +1 -0
- package/dist/destinations/the-trade-desk-crm/functions.js +4 -0
- package/dist/destinations/the-trade-desk-crm/functions.js.map +1 -1
- package/dist/destinations/the-trade-desk-crm/properties.d.ts +1 -0
- package/dist/destinations/the-trade-desk-crm/properties.js +8 -1
- package/dist/destinations/the-trade-desk-crm/properties.js.map +1 -1
- package/dist/destinations/the-trade-desk-crm/syncAudience/generated-types.d.ts +1 -0
- package/dist/destinations/the-trade-desk-crm/syncAudience/index.js +2 -1
- package/dist/destinations/the-trade-desk-crm/syncAudience/index.js.map +1 -1
- package/package.json +4 -4
- package/dist/destinations/engage-messaging-sendgrid/previewApiLookup/generated-types.js.map +0 -1
- package/dist/destinations/engage-messaging-sendgrid/previewApiLookup/index.js.map +0 -1
- package/dist/destinations/engage-messaging-sendgrid/sendEmail/generated-types.js.map +0 -1
- package/dist/destinations/engage-messaging-sendgrid/sendEmail/index.js +0 -578
- package/dist/destinations/engage-messaging-sendgrid/sendEmail/index.js.map +0 -1
- package/dist/destinations/engage-messaging-sendgrid/utils/api-lookups.js.map +0 -1
- package/dist/destinations/engage-messaging-sendgrid/utils/types.js.map +0 -1
- package/dist/destinations/engage-messaging-twilio/operationTracking/GenericMethodDecorator.js.map +0 -1
- package/dist/destinations/engage-messaging-twilio/operationTracking/OperationDecorator.js.map +0 -1
- package/dist/destinations/engage-messaging-twilio/operationTracking/OperationDuration.js.map +0 -1
- package/dist/destinations/engage-messaging-twilio/operationTracking/OperationErrorHandler.js.map +0 -1
- package/dist/destinations/engage-messaging-twilio/operationTracking/OperationFinallyHooks.js.map +0 -1
- package/dist/destinations/engage-messaging-twilio/operationTracking/OperationLogger.js.map +0 -1
- package/dist/destinations/engage-messaging-twilio/operationTracking/OperationStats.js.map +0 -1
- package/dist/destinations/engage-messaging-twilio/operationTracking/OperationTracker.test.js.map +0 -1
- package/dist/destinations/engage-messaging-twilio/operationTracking/OperationTree.js.map +0 -1
- package/dist/destinations/engage-messaging-twilio/operationTracking/TrackedError.js.map +0 -1
- package/dist/destinations/engage-messaging-twilio/operationTracking/index.js.map +0 -1
- package/dist/destinations/engage-messaging-twilio/operationTracking/wrapTryCatchFinallyPromisable.js.map +0 -1
- package/dist/destinations/engage-messaging-twilio/sendMobilePush/generated-types.js.map +0 -1
- package/dist/destinations/engage-messaging-twilio/sendMobilePush/index.js.map +0 -1
- package/dist/destinations/engage-messaging-twilio/sendMobilePush/push-sender.d.ts +0 -17
- package/dist/destinations/engage-messaging-twilio/sendMobilePush/push-sender.js +0 -182
- package/dist/destinations/engage-messaging-twilio/sendMobilePush/push-sender.js.map +0 -1
- package/dist/destinations/engage-messaging-twilio/sendSms/generated-types.js.map +0 -1
- package/dist/destinations/engage-messaging-twilio/sendSms/index.js.map +0 -1
- package/dist/destinations/engage-messaging-twilio/sendSms/sms-sender.d.ts +0 -9
- package/dist/destinations/engage-messaging-twilio/sendSms/sms-sender.js.map +0 -1
- package/dist/destinations/engage-messaging-twilio/sendWhatsApp/generated-types.js.map +0 -1
- package/dist/destinations/engage-messaging-twilio/sendWhatsApp/index.js.map +0 -1
- package/dist/destinations/engage-messaging-twilio/sendWhatsApp/whatsapp-sender.d.ts +0 -7
- package/dist/destinations/engage-messaging-twilio/sendWhatsApp/whatsapp-sender.js.map +0 -1
- package/dist/destinations/engage-messaging-twilio/utils/IntegrationErrorWrapper.js.map +0 -1
- package/dist/destinations/engage-messaging-twilio/utils/MessageLogger.js +0 -36
- package/dist/destinations/engage-messaging-twilio/utils/MessageLogger.js.map +0 -1
- package/dist/destinations/engage-messaging-twilio/utils/MessageStats.d.ts +0 -14
- package/dist/destinations/engage-messaging-twilio/utils/MessageStats.js.map +0 -1
- package/dist/destinations/engage-messaging-twilio/utils/index.d.ts +0 -6
- package/dist/destinations/engage-messaging-twilio/utils/index.js.map +0 -1
- package/dist/destinations/engage-messaging-twilio/utils/isDestinationActionService.js.map +0 -1
- package/dist/destinations/engage-messaging-twilio/utils/message-sender.d.ts +0 -43
- package/dist/destinations/engage-messaging-twilio/utils/message-sender.js +0 -203
- package/dist/destinations/engage-messaging-twilio/utils/message-sender.js.map +0 -1
- package/dist/destinations/engage-messaging-twilio/utils/phone-message.d.ts +0 -19
- package/dist/destinations/engage-messaging-twilio/utils/phone-message.js +0 -97
- package/dist/destinations/engage-messaging-twilio/utils/phone-message.js.map +0 -1
- package/dist/destinations/engage-messaging-twilio/utils/track.d.ts +0 -45
- package/dist/destinations/engage-messaging-twilio/utils/track.js +0 -9
- package/dist/destinations/engage-messaging-twilio/utils/track.js.map +0 -1
- package/dist/destinations/engage-messaging-twilio/utils/types.js.map +0 -1
- /package/dist/destinations/{engage-messaging-sendgrid/previewApiLookup → attio/assertRecord}/generated-types.js +0 -0
- /package/dist/destinations/{engage-messaging-sendgrid/sendEmail → attio}/generated-types.js +0 -0
- /package/dist/destinations/{engage-messaging-twilio/sendMobilePush → attio/groupWorkspace}/generated-types.js +0 -0
- /package/dist/destinations/{engage-messaging-twilio/sendSms → attio/groupWorkspace}/index.d.ts +0 -0
- /package/dist/destinations/{engage-messaging-twilio/sendSms → attio/identifyUser}/generated-types.js +0 -0
- /package/dist/destinations/{engage-messaging-twilio/sendWhatsApp → attio/identifyUser}/index.d.ts +0 -0
- /package/dist/destinations/{engage-messaging-sendgrid/utils/types.d.ts → engage/sendgrid/Profile.d.ts} +0 -0
- /package/dist/destinations/{engage-messaging-sendgrid → engage/twilio}/utils/types.js +0 -0
- /package/dist/destinations/{engage-messaging-twilio → engage}/utils/isDestinationActionService.d.ts +0 -0
- /package/dist/destinations/{engage-messaging-twilio → engage}/utils/isDestinationActionService.js +0 -0
- /package/dist/destinations/{engage-messaging-twilio → engage/utils}/operationTracking/GenericMethodDecorator.d.ts +0 -0
- /package/dist/destinations/{engage-messaging-twilio → engage/utils}/operationTracking/GenericMethodDecorator.js +0 -0
- /package/dist/destinations/{engage-messaging-twilio → engage/utils}/operationTracking/OperationDecorator.d.ts +0 -0
- /package/dist/destinations/{engage-messaging-twilio → engage/utils}/operationTracking/OperationDecorator.js +0 -0
- /package/dist/destinations/{engage-messaging-twilio → engage/utils}/operationTracking/OperationDuration.d.ts +0 -0
- /package/dist/destinations/{engage-messaging-twilio → engage/utils}/operationTracking/OperationDuration.js +0 -0
- /package/dist/destinations/{engage-messaging-twilio → engage/utils}/operationTracking/OperationErrorHandler.d.ts +0 -0
- /package/dist/destinations/{engage-messaging-twilio → engage/utils}/operationTracking/OperationErrorHandler.js +0 -0
- /package/dist/destinations/{engage-messaging-twilio → engage/utils}/operationTracking/OperationStats.d.ts +0 -0
- /package/dist/destinations/{engage-messaging-twilio → engage/utils}/operationTracking/OperationStats.js +0 -0
- /package/dist/destinations/{engage-messaging-twilio → engage/utils}/operationTracking/OperationTracker.test.d.ts +0 -0
- /package/dist/destinations/{engage-messaging-twilio → engage/utils}/operationTracking/OperationTracker.test.js +0 -0
- /package/dist/destinations/{engage-messaging-twilio → engage/utils}/operationTracking/OperationTree.d.ts +0 -0
- /package/dist/destinations/{engage-messaging-twilio → engage/utils}/operationTracking/OperationTree.js +0 -0
- /package/dist/destinations/{engage-messaging-twilio → engage/utils}/operationTracking/TrackedError.d.ts +0 -0
- /package/dist/destinations/{engage-messaging-twilio → engage/utils}/operationTracking/TrackedError.js +0 -0
- /package/dist/destinations/{engage-messaging-twilio → engage/utils}/operationTracking/index.d.ts +0 -0
- /package/dist/destinations/{engage-messaging-twilio → engage/utils}/operationTracking/index.js +0 -0
- /package/dist/destinations/{engage-messaging-twilio → engage/utils}/operationTracking/wrapTryCatchFinallyPromisable.d.ts +0 -0
- /package/dist/destinations/{engage-messaging-twilio → engage/utils}/operationTracking/wrapTryCatchFinallyPromisable.js +0 -0
- /package/dist/destinations/engage-messaging-sendgrid/{previewApiLookup/generated-types.d.ts → previewApiLookup.types.d.ts} +0 -0
- /package/dist/destinations/engage-messaging-sendgrid/{sendEmail/generated-types.d.ts → sendEmail.types.d.ts} +0 -0
- /package/dist/destinations/engage-messaging-twilio/{sendMobilePush/generated-types.d.ts → sendMobilePush.types.d.ts} +0 -0
- /package/dist/destinations/engage-messaging-twilio/{sendSms/generated-types.d.ts → sendSms.types.d.ts} +0 -0
- /package/dist/destinations/engage-messaging-twilio/{sendWhatsApp/generated-types.d.ts → sendWhatsApp.types.d.ts} +0 -0
- /package/dist/destinations/{engage-messaging-twilio/sendWhatsApp → hilo}/generated-types.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/destinations/engage/utils/operationTracking/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kEAA+C;AAC/C,uDAAoC;AACpC,2DAAwC;AACxC,kDAA+B;AAC/B,0DAAuC;AACvC,oDAAiC;AACjC,sDAAmC;AACnC,mDAAgC;AAChC,0DAAuC;AACvC,iDAA8B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wrapTryCatchFinallyPromisable.js","sourceRoot":"","sources":["../../../../../src/destinations/engage/utils/operationTracking/wrapTryCatchFinallyPromisable.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Logger } from '@segment/actions-core/destination-kit';
|
|
2
|
+
export declare function createLoggerMock(): Logger;
|
|
3
|
+
export declare const loggerMock: Logger;
|
|
4
|
+
export declare function expectLogged(logMethod: Function, ...msgs: string[]): void;
|
|
5
|
+
export declare function expectErrorLogged(...msgs: string[]): void;
|
|
6
|
+
export declare function expectInfoLogged(...msgs: string[]): void;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.expectInfoLogged = exports.expectErrorLogged = exports.expectLogged = exports.loggerMock = exports.createLoggerMock = void 0;
|
|
4
|
+
function createLoggerMock() {
|
|
5
|
+
return {
|
|
6
|
+
level: 'error',
|
|
7
|
+
name: 'test',
|
|
8
|
+
error: jest.fn(),
|
|
9
|
+
info: jest.fn()
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
exports.createLoggerMock = createLoggerMock;
|
|
13
|
+
exports.loggerMock = createLoggerMock();
|
|
14
|
+
function expectLogged(logMethod, ...msgs) {
|
|
15
|
+
expect(logMethod).toHaveBeenCalledWith(expect.stringMatching(new RegExp(`(.*)${msgs.join('(.*)')}(.*)`)), expect.anything());
|
|
16
|
+
}
|
|
17
|
+
exports.expectLogged = expectLogged;
|
|
18
|
+
function expectErrorLogged(...msgs) {
|
|
19
|
+
expectLogged(exports.loggerMock.error, ...msgs);
|
|
20
|
+
}
|
|
21
|
+
exports.expectErrorLogged = expectErrorLogged;
|
|
22
|
+
function expectInfoLogged(...msgs) {
|
|
23
|
+
expectLogged(exports.loggerMock.info, ...msgs);
|
|
24
|
+
}
|
|
25
|
+
exports.expectInfoLogged = expectInfoLogged;
|
|
26
|
+
//# sourceMappingURL=testUtils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"testUtils.js","sourceRoot":"","sources":["../../../../src/destinations/engage/utils/testUtils.ts"],"names":[],"mappings":";;;AAEA,SAAgB,gBAAgB;IAC9B,OAAO;QACL,KAAK,EAAE,OAAO;QACd,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,IAAI,CAAC,EAAE,EAAqB;QACnC,IAAI,EAAE,IAAI,CAAC,EAAE,EAAoB;KACxB,CAAA;AACb,CAAC;AAPD,4CAOC;AAEY,QAAA,UAAU,GAAG,gBAAgB,EAAE,CAAA;AAE5C,SAAgB,YAAY,CAAC,SAAmB,EAAE,GAAG,IAAc;IACjE,MAAM,CAAC,SAAS,CAAC,CAAC,oBAAoB,CACpC,MAAM,CAAC,cAAc,CAAC,IAAI,MAAM,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,EACjE,MAAM,CAAC,QAAQ,EAAE,CAClB,CAAA;AACH,CAAC;AALD,oCAKC;AAED,SAAgB,iBAAiB,CAAC,GAAG,IAAc;IACjD,YAAY,CAAC,kBAAU,CAAC,KAAK,EAAE,GAAG,IAAI,CAAC,CAAA;AACzC,CAAC;AAFD,8CAEC;AACD,SAAgB,gBAAgB,CAAC,GAAG,IAAc;IAChD,YAAY,CAAC,kBAAU,CAAC,IAAI,EAAE,GAAG,IAAI,CAAC,CAAA;AACxC,CAAC;AAFD,4CAEC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { ContextFromDecorator } from './operationTracking';
|
|
2
|
+
export declare const track: ((decoratorArgs?: ({
|
|
3
|
+
onError?: ((ctx: import("./operationTracking").OperationErrorHandlerContext<import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any>>) => void) | undefined;
|
|
4
|
+
} & import("./operationTracking").OperationLoggerDecoratorArgs & {
|
|
5
|
+
onTry?: ((ctx: import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any>) => void) | undefined;
|
|
6
|
+
onFinally?: ((ctx: import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any>) => void) | undefined;
|
|
7
|
+
} & {
|
|
8
|
+
shouldStats?: ((args: import("./operationTracking").OperationStatsEventArgs) => boolean | void) | undefined;
|
|
9
|
+
} & {
|
|
10
|
+
wrapIntegrationError?: ((ctx: import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any>) => import("@segment/actions-core/*").IntegrationError | [message: string, code: string, status: number]) | undefined;
|
|
11
|
+
}) | undefined) => import("./operationTracking").GenericMethodDecorator<(this: any, ...args: any[]) => any>) & {
|
|
12
|
+
getCurrentOperation(classInstance: any): (import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any> & {
|
|
13
|
+
parent?: (import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any> & any) | undefined;
|
|
14
|
+
sharedContext: {};
|
|
15
|
+
}) | undefined;
|
|
16
|
+
} & {
|
|
17
|
+
_contextType: import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any> & {
|
|
18
|
+
start?: number | undefined;
|
|
19
|
+
duration?: number | undefined;
|
|
20
|
+
} & {
|
|
21
|
+
decoratorArgs?: {
|
|
22
|
+
onError?: ((ctx: import("./operationTracking").OperationErrorHandlerContext<import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any>>) => void) | undefined;
|
|
23
|
+
} | undefined;
|
|
24
|
+
} & {
|
|
25
|
+
parent?: (import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any> & any) | undefined;
|
|
26
|
+
sharedContext: {};
|
|
27
|
+
} & {
|
|
28
|
+
logs: string[];
|
|
29
|
+
logMetadata?: Record<string, unknown> | undefined;
|
|
30
|
+
decoratorArgs?: import("./operationTracking").OperationLoggerDecoratorArgs | undefined;
|
|
31
|
+
sharedContext: import("./operationTracking").OperationLoggerSharedContext;
|
|
32
|
+
} & {
|
|
33
|
+
onFinally: (() => void)[];
|
|
34
|
+
decoratorArgs?: {
|
|
35
|
+
onTry?: ((ctx: import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any>) => void) | undefined;
|
|
36
|
+
onFinally?: ((ctx: import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any>) => void) | undefined;
|
|
37
|
+
} | undefined;
|
|
38
|
+
} & {
|
|
39
|
+
tags: string[];
|
|
40
|
+
sharedContext: {
|
|
41
|
+
tags: string[];
|
|
42
|
+
};
|
|
43
|
+
decoratorArgs?: {
|
|
44
|
+
shouldStats?: ((args: import("./operationTracking").OperationStatsEventArgs) => boolean | void) | undefined;
|
|
45
|
+
} | undefined;
|
|
46
|
+
} & {
|
|
47
|
+
decoratorArgs?: {
|
|
48
|
+
wrapIntegrationError?: ((ctx: import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any>) => import("@segment/actions-core/*").IntegrationError | [message: string, code: string, status: number]) | undefined;
|
|
49
|
+
} | undefined;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
export declare type OperationContext = ContextFromDecorator<typeof track>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.track = void 0;
|
|
4
|
+
const operationTracking_1 = require("./operationTracking");
|
|
5
|
+
const EngageStats_1 = require("./EngageStats");
|
|
6
|
+
const EngageLogger_1 = require("./EngageLogger");
|
|
7
|
+
const IntegrationErrorWrapper_1 = require("./IntegrationErrorWrapper");
|
|
8
|
+
exports.track = operationTracking_1.OperationDecorator.createDecoratorFactoryWithDefault(EngageLogger_1.EngageLogger, EngageStats_1.EngageStats, IntegrationErrorWrapper_1.IntegrationErrorWrapper);
|
|
9
|
+
//# sourceMappingURL=track.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"track.js","sourceRoot":"","sources":["../../../../src/destinations/engage/utils/track.ts"],"names":[],"mappings":";;;AAEA,2DAA8E;AAC9E,+CAA2C;AAC3C,iDAA6C;AAC7C,uEAAmE;AAEtD,QAAA,KAAK,GAAG,sCAAkB,CAAC,iCAAiC,CACvE,2BAAY,EACZ,yBAAW,EACX,iDAAuB,CACxB,CAAA"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import type { Settings } from './generated-types';
|
|
3
|
-
declare const destination: DestinationDefinition<Settings>;
|
|
1
|
+
import destination from '../engage/sendgrid';
|
|
4
2
|
export default destination;
|
|
3
|
+
export * from '../engage/sendgrid';
|
|
@@ -1,73 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
2
12
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
13
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
14
|
};
|
|
5
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
name: 'Engage Messaging SendGrid',
|
|
10
|
-
slug: 'actions-personas-messaging-sendgrid',
|
|
11
|
-
mode: 'cloud',
|
|
12
|
-
description: 'This is an Engage specific action to send an email',
|
|
13
|
-
authentication: {
|
|
14
|
-
scheme: 'custom',
|
|
15
|
-
fields: {
|
|
16
|
-
unlayerApiKey: {
|
|
17
|
-
label: 'Unlayer API Key',
|
|
18
|
-
type: 'password',
|
|
19
|
-
description: 'The API key for your Unlayer account'
|
|
20
|
-
},
|
|
21
|
-
sendGridApiKey: {
|
|
22
|
-
label: 'API Key',
|
|
23
|
-
type: 'password',
|
|
24
|
-
description: 'The Api Key for your SendGrid account',
|
|
25
|
-
required: true
|
|
26
|
-
},
|
|
27
|
-
profileApiEnvironment: {
|
|
28
|
-
label: 'Profile API Environment',
|
|
29
|
-
description: 'Profile API Environment',
|
|
30
|
-
type: 'string',
|
|
31
|
-
required: true
|
|
32
|
-
},
|
|
33
|
-
profileApiAccessToken: {
|
|
34
|
-
label: 'Profile API Access Token',
|
|
35
|
-
description: 'Profile API Access Token',
|
|
36
|
-
type: 'password',
|
|
37
|
-
required: true
|
|
38
|
-
},
|
|
39
|
-
spaceId: {
|
|
40
|
-
label: 'Space ID',
|
|
41
|
-
description: 'Space ID',
|
|
42
|
-
type: 'string',
|
|
43
|
-
required: true
|
|
44
|
-
},
|
|
45
|
-
sourceId: {
|
|
46
|
-
label: 'Source ID',
|
|
47
|
-
description: 'Source ID',
|
|
48
|
-
type: 'string',
|
|
49
|
-
required: true
|
|
50
|
-
},
|
|
51
|
-
region: {
|
|
52
|
-
label: 'Region',
|
|
53
|
-
description: 'The region where the email is originating from',
|
|
54
|
-
type: 'string',
|
|
55
|
-
choices: [
|
|
56
|
-
{ value: 'us-west-2', label: 'US West 2' },
|
|
57
|
-
{ value: 'eu-west-1', label: 'EU West 1' }
|
|
58
|
-
],
|
|
59
|
-
default: 'us-west-2',
|
|
60
|
-
required: false
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
testAuthentication: (request) => {
|
|
64
|
-
return request('https://api.sendgrid.com/v3/mail_settings');
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
actions: {
|
|
68
|
-
sendEmail: sendEmail_1.default,
|
|
69
|
-
previewApiLookup: previewApiLookup_1.default
|
|
70
|
-
}
|
|
71
|
-
};
|
|
72
|
-
exports.default = destination;
|
|
16
|
+
const sendgrid_1 = __importDefault(require("../engage/sendgrid"));
|
|
17
|
+
exports.default = sendgrid_1.default;
|
|
18
|
+
__exportStar(require("../engage/sendgrid"), exports);
|
|
73
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/destinations/engage-messaging-sendgrid/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/destinations/engage-messaging-sendgrid/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAOA,kEAA4C;AAC5C,kBAAe,kBAAW,CAAA;AAC1B,qDAAkC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"previewApiLookup.types.js","sourceRoot":"","sources":["../../../src/destinations/engage-messaging-sendgrid/previewApiLookup.types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sendEmail.types.js","sourceRoot":"","sources":["../../../src/destinations/engage-messaging-sendgrid/sendEmail.types.ts"],"names":[],"mappings":""}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import type { Settings } from './generated-types';
|
|
3
|
-
declare const destination: DestinationDefinition<Settings>;
|
|
1
|
+
import destination from '../engage/twilio';
|
|
4
2
|
export default destination;
|
|
3
|
+
export * from '../engage/twilio';
|
|
@@ -1,175 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
2
12
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
13
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
14
|
};
|
|
5
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
const getRange = (val) => {
|
|
10
|
-
return Array(val)
|
|
11
|
-
.fill(1)
|
|
12
|
-
.map((x, y) => ({ value: x + y, label: `${x + y}` }));
|
|
13
|
-
};
|
|
14
|
-
const ConnectionOverridesProperties = {
|
|
15
|
-
ct: {
|
|
16
|
-
label: 'Connection timeout',
|
|
17
|
-
description: 'The timeout in milliseconds Twilio will wait to establish its TCP connection to your webserver',
|
|
18
|
-
type: 'number',
|
|
19
|
-
default: 5000,
|
|
20
|
-
choices: getRange(10000)
|
|
21
|
-
},
|
|
22
|
-
rt: {
|
|
23
|
-
label: 'Read timeout',
|
|
24
|
-
description: 'The amount of time in milliseconds after sending your webhook an HTTP request that Twilio will wait for the initial HTTP response packet',
|
|
25
|
-
type: 'number',
|
|
26
|
-
default: 15000,
|
|
27
|
-
choices: getRange(15000)
|
|
28
|
-
},
|
|
29
|
-
tt: {
|
|
30
|
-
label: 'Total timeout',
|
|
31
|
-
description: 'The total time allowed for all timeouts including retries',
|
|
32
|
-
type: 'number',
|
|
33
|
-
default: 15000,
|
|
34
|
-
choices: getRange(15000)
|
|
35
|
-
},
|
|
36
|
-
rc: {
|
|
37
|
-
label: 'Retry count',
|
|
38
|
-
description: 'The number of retry attempts Twilio will make if its connection to your webhook fails',
|
|
39
|
-
type: 'number',
|
|
40
|
-
default: 1,
|
|
41
|
-
choices: getRange(5)
|
|
42
|
-
},
|
|
43
|
-
rp: {
|
|
44
|
-
label: 'Retry policy',
|
|
45
|
-
description: 'The type of failure to retry on',
|
|
46
|
-
type: 'string',
|
|
47
|
-
default: 'ct',
|
|
48
|
-
choices: ['ct', '4xx', '5xx', 'rt', 'all']
|
|
49
|
-
},
|
|
50
|
-
sni: {
|
|
51
|
-
label: 'SNI',
|
|
52
|
-
description: 'The type of failure to retry on',
|
|
53
|
-
type: 'string',
|
|
54
|
-
default: 'unset',
|
|
55
|
-
choices: ['y', 'n', 'unser']
|
|
56
|
-
},
|
|
57
|
-
e: {
|
|
58
|
-
label: 'Edge location',
|
|
59
|
-
description: 'The Twilio edge location where webhooks egress. This can be a list and we rotate through the list as retries happen.',
|
|
60
|
-
type: 'string',
|
|
61
|
-
default: 'ashburn',
|
|
62
|
-
choices: [
|
|
63
|
-
'ashburn',
|
|
64
|
-
'ashburn-ix',
|
|
65
|
-
'dublin',
|
|
66
|
-
'frankfurt',
|
|
67
|
-
'frankfurt-ix',
|
|
68
|
-
'sao-paulo',
|
|
69
|
-
'singapore',
|
|
70
|
-
'sydney',
|
|
71
|
-
'tokyo',
|
|
72
|
-
'umatilla',
|
|
73
|
-
'london-ix',
|
|
74
|
-
'san-jose-ix',
|
|
75
|
-
'singapore-ix'
|
|
76
|
-
]
|
|
77
|
-
}
|
|
78
|
-
};
|
|
79
|
-
const destination = {
|
|
80
|
-
name: 'Engage Messaging Twilio',
|
|
81
|
-
slug: 'actions-personas-messaging-twilio',
|
|
82
|
-
mode: 'cloud',
|
|
83
|
-
description: 'This is an Engage specific action to send an SMS and Whatsapp messages using Twilio API',
|
|
84
|
-
authentication: {
|
|
85
|
-
scheme: 'custom',
|
|
86
|
-
fields: {
|
|
87
|
-
twilioAccountSID: {
|
|
88
|
-
label: 'Twilio Account SID',
|
|
89
|
-
description: 'Twilio Account SID',
|
|
90
|
-
type: 'string',
|
|
91
|
-
required: true
|
|
92
|
-
},
|
|
93
|
-
twilioApiKeySID: {
|
|
94
|
-
label: 'Twilio API Key SID',
|
|
95
|
-
description: 'Twilio API Key SID',
|
|
96
|
-
type: 'string',
|
|
97
|
-
required: true
|
|
98
|
-
},
|
|
99
|
-
twilioApiKeySecret: {
|
|
100
|
-
label: 'Twilio API Key Secret',
|
|
101
|
-
description: 'Twilio API Key Secret',
|
|
102
|
-
type: 'password',
|
|
103
|
-
required: true
|
|
104
|
-
},
|
|
105
|
-
profileApiEnvironment: {
|
|
106
|
-
label: 'Profile API Environment',
|
|
107
|
-
description: 'Profile API Environment',
|
|
108
|
-
type: 'string',
|
|
109
|
-
required: true
|
|
110
|
-
},
|
|
111
|
-
profileApiAccessToken: {
|
|
112
|
-
label: 'Profile API Access Token',
|
|
113
|
-
description: 'Profile API Access Token',
|
|
114
|
-
type: 'password',
|
|
115
|
-
required: true
|
|
116
|
-
},
|
|
117
|
-
spaceId: {
|
|
118
|
-
label: 'Space ID',
|
|
119
|
-
description: 'Space ID',
|
|
120
|
-
type: 'string',
|
|
121
|
-
required: true
|
|
122
|
-
},
|
|
123
|
-
sourceId: {
|
|
124
|
-
label: 'Source ID',
|
|
125
|
-
description: 'Source ID',
|
|
126
|
-
type: 'string',
|
|
127
|
-
required: true
|
|
128
|
-
},
|
|
129
|
-
webhookUrl: {
|
|
130
|
-
label: 'Webhook URL',
|
|
131
|
-
description: 'Webhook URL that will receive all events for the sent message',
|
|
132
|
-
type: 'string',
|
|
133
|
-
format: 'uri',
|
|
134
|
-
required: false
|
|
135
|
-
},
|
|
136
|
-
twilioHostname: {
|
|
137
|
-
label: 'Twilio host name',
|
|
138
|
-
description: 'Overrides the default Twilio host name used mainly for testing without having to send real messages.',
|
|
139
|
-
type: 'string',
|
|
140
|
-
default: 'api.twilio.com',
|
|
141
|
-
required: false
|
|
142
|
-
},
|
|
143
|
-
connectionOverrides: {
|
|
144
|
-
label: 'Connection Overrides',
|
|
145
|
-
description: 'Connection overrides are configuration supported by twilio webhook services. Must be passed as fragments on the callback url',
|
|
146
|
-
type: 'string',
|
|
147
|
-
required: false,
|
|
148
|
-
default: 'rp=all&rc=5',
|
|
149
|
-
properties: ConnectionOverridesProperties
|
|
150
|
-
},
|
|
151
|
-
region: {
|
|
152
|
-
label: 'Region',
|
|
153
|
-
description: 'The region where the message is originating from',
|
|
154
|
-
type: 'string',
|
|
155
|
-
choices: [
|
|
156
|
-
{ value: 'us-west-2', label: 'US West 2' },
|
|
157
|
-
{ value: 'eu-west-1', label: 'EU West 1' }
|
|
158
|
-
],
|
|
159
|
-
default: 'us-west-2',
|
|
160
|
-
required: false
|
|
161
|
-
}
|
|
162
|
-
},
|
|
163
|
-
testAuthentication: (request, options) => {
|
|
164
|
-
const hostName = options.settings.twilioHostname ?? 'api.twilio.com';
|
|
165
|
-
return request(`https://${hostName}/2010-04-01`);
|
|
166
|
-
}
|
|
167
|
-
},
|
|
168
|
-
actions: {
|
|
169
|
-
sendSms: sendSms_1.default,
|
|
170
|
-
sendWhatsApp: sendWhatsApp_1.default,
|
|
171
|
-
sendMobilePush: sendMobilePush_1.default
|
|
172
|
-
}
|
|
173
|
-
};
|
|
174
|
-
exports.default = destination;
|
|
16
|
+
const twilio_1 = __importDefault(require("../engage/twilio"));
|
|
17
|
+
exports.default = twilio_1.default;
|
|
18
|
+
__exportStar(require("../engage/twilio"), exports);
|
|
175
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/destinations/engage-messaging-twilio/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/destinations/engage-messaging-twilio/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAQA,8DAA0C;AAC1C,kBAAe,gBAAW,CAAA;AAC1B,mDAAgC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sendMobilePush.types.js","sourceRoot":"","sources":["../../../src/destinations/engage-messaging-twilio/sendMobilePush.types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sendSms.types.js","sourceRoot":"","sources":["../../../src/destinations/engage-messaging-twilio/sendSms.types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sendWhatsApp.types.js","sourceRoot":"","sources":["../../../src/destinations/engage-messaging-twilio/sendWhatsApp.types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generated-types.js","sourceRoot":"","sources":["../../../src/destinations/hilo/generated-types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generated-types.js","sourceRoot":"","sources":["../../../../src/destinations/hilo/group/generated-types.ts"],"names":[],"mappings":""}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ActionDefinition } from '@segment/actions-core';
|
|
1
|
+
import type { ActionDefinition } from '@segment/actions-core';
|
|
2
2
|
import type { Settings } from '../generated-types';
|
|
3
3
|
import type { Payload } from './generated-types';
|
|
4
4
|
declare const action: ActionDefinition<Settings, Payload>;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const action = {
|
|
4
|
+
title: 'Group',
|
|
5
|
+
description: 'Create or update an account in Hilo',
|
|
6
|
+
defaultSubscription: 'type = "group"',
|
|
7
|
+
fields: {
|
|
8
|
+
anonymousId: {
|
|
9
|
+
type: 'string',
|
|
10
|
+
description: 'An anonymous identifier',
|
|
11
|
+
label: 'Anonymous ID',
|
|
12
|
+
default: { '@path': '$.anonymousId' }
|
|
13
|
+
},
|
|
14
|
+
groupId: {
|
|
15
|
+
type: 'string',
|
|
16
|
+
description: 'The group ID',
|
|
17
|
+
label: 'Group ID',
|
|
18
|
+
required: true,
|
|
19
|
+
default: { '@path': '$.groupId' }
|
|
20
|
+
},
|
|
21
|
+
traits: {
|
|
22
|
+
type: 'object',
|
|
23
|
+
label: 'Traits',
|
|
24
|
+
description: 'Traits to associate with the user',
|
|
25
|
+
required: false,
|
|
26
|
+
default: { '@path': '$.traits' }
|
|
27
|
+
},
|
|
28
|
+
timestamp: {
|
|
29
|
+
type: 'string',
|
|
30
|
+
format: 'date-time',
|
|
31
|
+
required: true,
|
|
32
|
+
description: 'The timestamp of the event',
|
|
33
|
+
label: 'Timestamp',
|
|
34
|
+
default: { '@path': '$.timestamp' }
|
|
35
|
+
},
|
|
36
|
+
userId: {
|
|
37
|
+
type: 'string',
|
|
38
|
+
description: 'The ID associated with the user',
|
|
39
|
+
label: 'User ID',
|
|
40
|
+
default: { '@path': '$.userId' }
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
perform: (request, { payload }) => {
|
|
44
|
+
return request('https://api.hilohq.com/v1/events/group', {
|
|
45
|
+
method: 'post',
|
|
46
|
+
json: {
|
|
47
|
+
event: {
|
|
48
|
+
anonymous_id: payload.anonymousId,
|
|
49
|
+
account_id: payload.groupId,
|
|
50
|
+
contact_id: payload.userId,
|
|
51
|
+
timestamp: payload.timestamp,
|
|
52
|
+
properties: payload.traits
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
exports.default = action;
|
|
59
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/hilo/group/index.ts"],"names":[],"mappings":";;AAIA,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,qCAAqC;IAClD,mBAAmB,EAAE,gBAAgB;IACrC,MAAM,EAAE;QACN,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,yBAAyB;YACtC,KAAK,EAAE,cAAc;YACrB,OAAO,EAAE,EAAE,OAAO,EAAE,eAAe,EAAE;SACtC;QACD,OAAO,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,cAAc;YAC3B,KAAK,EAAE,UAAU;YACjB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE;SAClC;QACD,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,mCAAmC;YAChD,QAAQ,EAAE,KAAK;YACf,OAAO,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE;SACjC;QACD,SAAS,EAAE;YACT,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,WAAW;YACnB,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,4BAA4B;YACzC,KAAK,EAAE,WAAW;YAClB,OAAO,EAAE,EAAE,OAAO,EAAE,aAAa,EAAE;SACpC;QACD,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,iCAAiC;YAC9C,KAAK,EAAE,SAAS;YAChB,OAAO,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE;SACjC;KACF;IACD,OAAO,EAAE,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;QAChC,OAAO,OAAO,CAAC,wCAAwC,EAAE;YACvD,MAAM,EAAE,MAAM;YACd,IAAI,EAAE;gBACJ,KAAK,EAAE;oBACL,YAAY,EAAE,OAAO,CAAC,WAAW;oBACjC,UAAU,EAAE,OAAO,CAAC,OAAO;oBAC3B,UAAU,EAAE,OAAO,CAAC,MAAM;oBAC1B,SAAS,EAAE,OAAO,CAAC,SAAS;oBAC5B,UAAU,EAAE,OAAO,CAAC,MAAM;iBAC3B;aACF;SACF,CAAC,CAAA;IACJ,CAAC;CACF,CAAA;AAED,kBAAe,MAAM,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generated-types.js","sourceRoot":"","sources":["../../../../src/destinations/hilo/identify/generated-types.ts"],"names":[],"mappings":""}
|
package/dist/destinations/{engage-messaging-twilio/sendMobilePush → hilo/identify}/index.d.ts
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ActionDefinition } from '@segment/actions-core';
|
|
1
|
+
import type { ActionDefinition } from '@segment/actions-core';
|
|
2
2
|
import type { Settings } from '../generated-types';
|
|
3
3
|
import type { Payload } from './generated-types';
|
|
4
4
|
declare const action: ActionDefinition<Settings, Payload>;
|