@segment/action-destinations 3.363.0 → 3.363.1-node-engine-upgrade.1
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/accoil-analytics/postToAccoil/generated-types.d.ts +5 -0
- package/dist/destinations/accoil-analytics/postToAccoil/generated-types.js +3 -0
- package/dist/destinations/accoil-analytics/postToAccoil/generated-types.js.map +1 -0
- package/dist/destinations/accoil-analytics/postToAccoil/index.d.ts +5 -0
- package/dist/destinations/accoil-analytics/postToAccoil/index.js +28 -0
- package/dist/destinations/accoil-analytics/postToAccoil/index.js.map +1 -0
- package/dist/destinations/braze/createAliasV2.types.d.ts +5 -0
- package/dist/destinations/braze/createAliasV2.types.js +3 -0
- package/dist/destinations/braze/createAliasV2.types.js.map +1 -0
- package/dist/destinations/braze/identifyUserV2.types.d.ts +8 -0
- package/dist/destinations/braze/identifyUserV2.types.js +3 -0
- package/dist/destinations/braze/identifyUserV2.types.js.map +1 -0
- package/dist/destinations/campaign-manager-360/common-fields.d.ts +3 -0
- package/dist/destinations/campaign-manager-360/common-fields.js +306 -0
- package/dist/destinations/campaign-manager-360/common-fields.js.map +1 -0
- package/dist/destinations/campaign-manager-360/conversionAdjustmentUpload/generated-types.d.ts +45 -0
- package/dist/destinations/campaign-manager-360/conversionAdjustmentUpload/generated-types.js +3 -0
- package/dist/destinations/campaign-manager-360/conversionAdjustmentUpload/generated-types.js.map +1 -0
- package/dist/destinations/campaign-manager-360/conversionAdjustmentUpload/index.d.ts +5 -0
- package/dist/destinations/campaign-manager-360/conversionAdjustmentUpload/index.js +86 -0
- package/dist/destinations/campaign-manager-360/conversionAdjustmentUpload/index.js.map +1 -0
- package/dist/destinations/campaign-manager-360/conversionUpload/generated-types.d.ts +50 -0
- package/dist/destinations/campaign-manager-360/conversionUpload/generated-types.js +3 -0
- package/dist/destinations/campaign-manager-360/conversionUpload/generated-types.js.map +1 -0
- package/dist/destinations/campaign-manager-360/conversionUpload/index.d.ts +5 -0
- package/dist/destinations/campaign-manager-360/conversionUpload/index.js +131 -0
- package/dist/destinations/campaign-manager-360/conversionUpload/index.js.map +1 -0
- package/dist/destinations/campaign-manager-360/generated-types.d.ts +5 -0
- package/dist/destinations/campaign-manager-360/generated-types.js +3 -0
- package/dist/destinations/campaign-manager-360/generated-types.js.map +1 -0
- package/dist/destinations/campaign-manager-360/index.d.ts +4 -0
- package/dist/destinations/campaign-manager-360/index.js +63 -0
- package/dist/destinations/campaign-manager-360/index.js.map +1 -0
- package/dist/destinations/campaign-manager-360/types.d.ts +116 -0
- package/dist/destinations/campaign-manager-360/types.js +23 -0
- package/dist/destinations/campaign-manager-360/types.js.map +1 -0
- package/dist/destinations/campaign-manager-360/utils.d.ts +21 -0
- package/dist/destinations/campaign-manager-360/utils.js +175 -0
- package/dist/destinations/campaign-manager-360/utils.js.map +1 -0
- package/dist/destinations/contentstack/customAttributesSync/generated-types.d.ts +7 -0
- package/dist/destinations/contentstack/customAttributesSync/generated-types.js +3 -0
- package/dist/destinations/contentstack/customAttributesSync/generated-types.js.map +1 -0
- package/dist/destinations/contentstack/customAttributesSync/index.d.ts +5 -0
- package/dist/destinations/contentstack/customAttributesSync/index.js +54 -0
- package/dist/destinations/contentstack/customAttributesSync/index.js.map +1 -0
- package/dist/destinations/contentstack/customAttributesSync/types.d.ts +14 -0
- package/dist/destinations/contentstack/customAttributesSync/types.js +3 -0
- package/dist/destinations/contentstack/customAttributesSync/types.js.map +1 -0
- package/dist/destinations/contentstack/customAttributesSync/utils.d.ts +4 -0
- package/dist/destinations/contentstack/customAttributesSync/utils.js +20 -0
- package/dist/destinations/contentstack/customAttributesSync/utils.js.map +1 -0
- package/dist/destinations/contentstack/types.d.ts +12 -0
- package/dist/destinations/contentstack/types.js +3 -0
- package/dist/destinations/contentstack/types.js.map +1 -0
- package/dist/destinations/display-video-360/shared.js +1 -1
- package/dist/destinations/display-video-360/shared.js.map +1 -1
- package/dist/destinations/dynamic-yield-audiences/syncAudience/types.d.ts +22 -0
- package/dist/destinations/dynamic-yield-audiences/syncAudience/types.js +3 -0
- package/dist/destinations/dynamic-yield-audiences/syncAudience/types.js.map +1 -0
- package/dist/destinations/dynamic-yield-audiences/types.d.ts +8 -0
- package/dist/destinations/dynamic-yield-audiences/types.js +12 -0
- package/dist/destinations/dynamic-yield-audiences/types.js.map +1 -0
- package/dist/destinations/engage/sendgrid/Profile.d.ts +6 -0
- package/dist/destinations/engage/sendgrid/Profile.js +3 -0
- 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/sendgrid/previewApiLookup/actionDefinition.d.ts +4 -0
- package/dist/destinations/engage/sendgrid/previewApiLookup/actionDefinition.js +28 -0
- package/dist/destinations/engage/sendgrid/previewApiLookup/actionDefinition.js.map +1 -0
- package/dist/destinations/engage/sendgrid/previewApiLookup/api-lookups.d.ts +21 -0
- package/dist/destinations/engage/sendgrid/previewApiLookup/api-lookups.js +174 -0
- 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 +1 -0
- package/dist/destinations/engage/sendgrid/previewApiLookup/index.js +14 -0
- package/dist/destinations/engage/sendgrid/previewApiLookup/index.js.map +1 -0
- package/dist/destinations/engage/sendgrid/sendEmail/SendEmailPerformer.d.ts +44 -0
- package/dist/destinations/engage/sendgrid/sendEmail/SendEmailPerformer.js +419 -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 +257 -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 +28 -0
- package/dist/destinations/engage/twilio/sendMobilePush/PushSender.js +151 -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/twilio/sendMobilePush/actionDefinition.js +250 -0
- 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/twilio/sendSms/SmsMessageSender.js +72 -0
- 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/twilio/sendSms/actionDefinition.js +162 -0
- 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 +9 -0
- package/dist/destinations/engage/twilio/sendWhatsApp/WhatsAppMessageSender.js +89 -0
- 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/twilio/sendWhatsApp/actionDefinition.js +136 -0
- 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 +71 -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 +115 -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/twilio/utils/types.d.ts +23 -0
- package/dist/destinations/engage/twilio/utils/types.js +3 -0
- 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 +42 -0
- package/dist/destinations/engage/utils/EngageActionPerformer.js +148 -0
- package/dist/destinations/engage/utils/EngageActionPerformer.js.map +1 -0
- package/dist/destinations/engage/utils/EngageLogger.d.ts +18 -0
- 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/utils/EngageStats.js +95 -0
- package/dist/destinations/engage/utils/EngageStats.js.map +1 -0
- package/dist/destinations/engage/utils/IntegrationErrorWrapper.d.ts +12 -0
- package/dist/destinations/engage/utils/IntegrationErrorWrapper.js +31 -0
- package/dist/destinations/engage/utils/IntegrationErrorWrapper.js.map +1 -0
- package/dist/destinations/engage/utils/MessageSendPerformer.d.ts +65 -0
- package/dist/destinations/engage/utils/MessageSendPerformer.js +211 -0
- package/dist/destinations/engage/utils/MessageSendPerformer.js.map +1 -0
- package/dist/destinations/engage/utils/Profile.d.ts +6 -0
- package/dist/destinations/engage/utils/Profile.js +3 -0
- package/dist/destinations/engage/utils/Profile.js.map +1 -0
- package/dist/destinations/engage/utils/ResponseError.d.ts +25 -0
- package/dist/destinations/engage/utils/ResponseError.js +22 -0
- package/dist/destinations/engage/utils/ResponseError.js.map +1 -0
- package/dist/destinations/engage/utils/apiLookups.d.ts +22 -0
- package/dist/destinations/engage/utils/apiLookups.js +189 -0
- package/dist/destinations/engage/utils/apiLookups.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.d.ts +1 -0
- package/dist/destinations/engage/utils/isDestinationActionService.js +8 -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.d.ts +1 -0
- package/dist/destinations/engage/utils/operationTracking/GenericMethodDecorator.js +3 -0
- package/dist/destinations/engage/utils/operationTracking/GenericMethodDecorator.js.map +1 -0
- package/dist/destinations/engage/utils/operationTracking/OperationDecorator.d.ts +46 -0
- package/dist/destinations/engage/utils/operationTracking/OperationDecorator.js +46 -0
- package/dist/destinations/engage/utils/operationTracking/OperationDecorator.js.map +1 -0
- package/dist/destinations/engage/utils/operationTracking/OperationDuration.d.ts +12 -0
- package/dist/destinations/engage/utils/operationTracking/OperationDuration.js +23 -0
- package/dist/destinations/engage/utils/operationTracking/OperationDuration.js.map +1 -0
- package/dist/destinations/engage/utils/operationTracking/OperationErrorHandler.d.ts +12 -0
- package/dist/destinations/engage/utils/operationTracking/OperationErrorHandler.js +35 -0
- package/dist/destinations/engage/utils/operationTracking/OperationErrorHandler.js.map +1 -0
- package/dist/destinations/engage/utils/operationTracking/OperationFinallyHooks.d.ts +14 -0
- package/dist/destinations/engage/utils/operationTracking/OperationFinallyHooks.js +31 -0
- package/dist/destinations/engage/utils/operationTracking/OperationFinallyHooks.js.map +1 -0
- package/dist/destinations/engage/utils/operationTracking/OperationLogger.d.ts +31 -0
- package/dist/destinations/engage/utils/operationTracking/OperationLogger.js +104 -0
- package/dist/destinations/engage/utils/operationTracking/OperationLogger.js.map +1 -0
- package/dist/destinations/engage/utils/operationTracking/OperationStats.d.ts +39 -0
- package/dist/destinations/engage/utils/operationTracking/OperationStats.js +130 -0
- package/dist/destinations/engage/utils/operationTracking/OperationStats.js.map +1 -0
- package/dist/destinations/engage/utils/operationTracking/OperationTracker.test.d.ts +1 -0
- package/dist/destinations/engage/utils/operationTracking/OperationTracker.test.js +377 -0
- package/dist/destinations/engage/utils/operationTracking/OperationTracker.test.js.map +1 -0
- package/dist/destinations/engage/utils/operationTracking/OperationTree.d.ts +23 -0
- package/dist/destinations/engage/utils/operationTracking/OperationTree.js +49 -0
- package/dist/destinations/engage/utils/operationTracking/OperationTree.js.map +1 -0
- package/dist/destinations/engage/utils/operationTracking/TrackedError.d.ts +6 -0
- package/dist/destinations/engage/utils/operationTracking/TrackedError.js +3 -0
- package/dist/destinations/engage/utils/operationTracking/TrackedError.js.map +1 -0
- package/dist/destinations/engage/utils/operationTracking/index.d.ts +10 -0
- package/dist/destinations/engage/utils/operationTracking/index.js +23 -0
- package/dist/destinations/engage/utils/operationTracking/index.js.map +1 -0
- package/dist/destinations/engage/utils/operationTracking/wrapTryCatchFinallyPromisable.d.ts +21 -0
- package/dist/destinations/engage/utils/operationTracking/wrapTryCatchFinallyPromisable.js +99 -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/previewApiLookup.types.d.ts +16 -0
- 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.d.ts +56 -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/sendMobilePush.types.d.ts +39 -0
- 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.d.ts +27 -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.d.ts +25 -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/facebook-custom-audiences/add/generated-types.d.ts +2 -0
- package/dist/destinations/facebook-custom-audiences/add/generated-types.js +3 -0
- package/dist/destinations/facebook-custom-audiences/add/generated-types.js.map +1 -0
- package/dist/destinations/facebook-custom-audiences/add/index.d.ts +5 -0
- package/dist/destinations/facebook-custom-audiences/add/index.js +11 -0
- package/dist/destinations/facebook-custom-audiences/add/index.js.map +1 -0
- package/dist/destinations/facebook-custom-audiences/remove/generated-types.d.ts +2 -0
- package/dist/destinations/facebook-custom-audiences/remove/generated-types.js +3 -0
- package/dist/destinations/facebook-custom-audiences/remove/generated-types.js.map +1 -0
- package/dist/destinations/facebook-custom-audiences/remove/index.d.ts +5 -0
- package/dist/destinations/facebook-custom-audiences/remove/index.js +11 -0
- package/dist/destinations/facebook-custom-audiences/remove/index.js.map +1 -0
- package/dist/destinations/first-party-dv360/addToList/generated-types.d.ts +2 -0
- package/dist/destinations/first-party-dv360/addToList/generated-types.js +3 -0
- package/dist/destinations/first-party-dv360/addToList/generated-types.js.map +1 -0
- package/dist/destinations/first-party-dv360/addToList/index.d.ts +5 -0
- package/dist/destinations/first-party-dv360/addToList/index.js +11 -0
- package/dist/destinations/first-party-dv360/addToList/index.js.map +1 -0
- package/dist/destinations/hubspot/customEvent/dynamic-fields.d.ts +5 -0
- package/dist/destinations/hubspot/customEvent/dynamic-fields.js +112 -0
- package/dist/destinations/hubspot/customEvent/dynamic-fields.js.map +1 -0
- package/dist/destinations/hubspot/customEvent/event-completion.d.ts +3 -0
- package/dist/destinations/hubspot/customEvent/event-completion.js +17 -0
- package/dist/destinations/hubspot/customEvent/event-completion.js.map +1 -0
- package/dist/destinations/hubspot/customEvent/hubspot-api.d.ts +62 -0
- package/dist/destinations/hubspot/customEvent/hubspot-api.js +305 -0
- package/dist/destinations/hubspot/customEvent/hubspot-api.js.map +1 -0
- package/dist/destinations/hubspot/customEvent/utils.d.ts +14 -0
- package/dist/destinations/hubspot/customEvent/utils.js +303 -0
- package/dist/destinations/hubspot/customEvent/utils.js.map +1 -0
- package/dist/destinations/hubspot/customEvent/validation.d.ts +3 -0
- package/dist/destinations/hubspot/customEvent/validation.js +66 -0
- package/dist/destinations/hubspot/customEvent/validation.js.map +1 -0
- package/dist/destinations/hubspot/upsertObject/dynamic-fields.d.ts +7 -0
- package/dist/destinations/hubspot/upsertObject/dynamic-fields.js +222 -0
- package/dist/destinations/hubspot/upsertObject/dynamic-fields.js.map +1 -0
- package/dist/destinations/hubspot/upsertObject/hubspot-api.d.ts +219 -0
- package/dist/destinations/hubspot/upsertObject/hubspot-api.js +609 -0
- package/dist/destinations/hubspot/upsertObject/hubspot-api.js.map +1 -0
- package/dist/destinations/hubspot/upsertObject/utils.d.ts +13 -0
- package/dist/destinations/hubspot/upsertObject/utils.js +547 -0
- package/dist/destinations/hubspot/upsertObject/utils.js.map +1 -0
- package/dist/destinations/intercom/identifyContact/index.js.map +1 -1
- package/dist/destinations/klaviyo/removeProfileToList/generated-types.d.ts +5 -0
- package/dist/destinations/klaviyo/removeProfileToList/generated-types.js +3 -0
- package/dist/destinations/klaviyo/removeProfileToList/generated-types.js.map +1 -0
- package/dist/destinations/klaviyo/removeProfileToList/index.d.ts +5 -0
- package/dist/destinations/klaviyo/removeProfileToList/index.js +62 -0
- package/dist/destinations/klaviyo/removeProfileToList/index.js.map +1 -0
- package/dist/destinations/mixpanel/incrementProperties/__test__/__snapshots__/snapshot.test.js.snap +18 -0
- package/dist/destinations/mixpanel/utils.d.ts +13 -0
- package/dist/destinations/mixpanel/utils.js +117 -0
- package/dist/destinations/mixpanel/utils.js.map +1 -0
- package/dist/destinations/movable-ink/categoryView/generated-types.d.ts +22 -0
- package/dist/destinations/movable-ink/categoryView/generated-types.js +3 -0
- package/dist/destinations/movable-ink/categoryView/generated-types.js.map +1 -0
- package/dist/destinations/movable-ink/categoryView/index.d.ts +5 -0
- package/dist/destinations/movable-ink/categoryView/index.js +43 -0
- package/dist/destinations/movable-ink/categoryView/index.js.map +1 -0
- package/dist/destinations/movable-ink/conversion/generated-types.d.ts +20 -0
- package/dist/destinations/movable-ink/conversion/generated-types.js +3 -0
- package/dist/destinations/movable-ink/conversion/generated-types.js.map +1 -0
- package/dist/destinations/movable-ink/conversion/index.d.ts +5 -0
- package/dist/destinations/movable-ink/conversion/index.js +45 -0
- package/dist/destinations/movable-ink/conversion/index.js.map +1 -0
- package/dist/destinations/movable-ink/fields.d.ts +21 -0
- package/dist/destinations/movable-ink/fields.js +236 -0
- package/dist/destinations/movable-ink/fields.js.map +1 -0
- package/dist/destinations/movable-ink/identify/generated-types.d.ts +7 -0
- package/dist/destinations/movable-ink/identify/generated-types.js +3 -0
- package/dist/destinations/movable-ink/identify/generated-types.js.map +1 -0
- package/dist/destinations/movable-ink/identify/index.d.ts +5 -0
- package/dist/destinations/movable-ink/identify/index.js +32 -0
- package/dist/destinations/movable-ink/identify/index.js.map +1 -0
- package/dist/destinations/movable-ink/productAdded/generated-types.d.ts +22 -0
- package/dist/destinations/movable-ink/productAdded/generated-types.js +3 -0
- package/dist/destinations/movable-ink/productAdded/generated-types.js.map +1 -0
- package/dist/destinations/movable-ink/productAdded/index.d.ts +5 -0
- package/dist/destinations/movable-ink/productAdded/index.js +43 -0
- package/dist/destinations/movable-ink/productAdded/index.js.map +1 -0
- package/dist/destinations/movable-ink/productViewed/generated-types.d.ts +21 -0
- package/dist/destinations/movable-ink/productViewed/generated-types.js +3 -0
- package/dist/destinations/movable-ink/productViewed/generated-types.js.map +1 -0
- package/dist/destinations/movable-ink/productViewed/index.d.ts +5 -0
- package/dist/destinations/movable-ink/productViewed/index.js +43 -0
- package/dist/destinations/movable-ink/productViewed/index.js.map +1 -0
- package/dist/destinations/movable-ink/search/generated-types.d.ts +12 -0
- package/dist/destinations/movable-ink/search/generated-types.js +3 -0
- package/dist/destinations/movable-ink/search/generated-types.js.map +1 -0
- package/dist/destinations/movable-ink/search/index.d.ts +5 -0
- package/dist/destinations/movable-ink/search/index.js +43 -0
- package/dist/destinations/movable-ink/search/index.js.map +1 -0
- package/dist/destinations/movable-ink/sendCustomEvent/generated-types.d.ts +25 -0
- package/dist/destinations/movable-ink/sendCustomEvent/generated-types.js +3 -0
- package/dist/destinations/movable-ink/sendCustomEvent/generated-types.js.map +1 -0
- package/dist/destinations/movable-ink/sendCustomEvent/index.d.ts +5 -0
- package/dist/destinations/movable-ink/sendCustomEvent/index.js +48 -0
- package/dist/destinations/movable-ink/sendCustomEvent/index.js.map +1 -0
- package/dist/destinations/optimizely-feature-experimentation-actions/trackEvent/functions.d.ts +2 -14
- package/dist/destinations/optimizely-feature-experimentation-actions/trackEvent/functions.js +1 -1
- package/dist/destinations/optimizely-feature-experimentation-actions/trackEvent/functions.js.map +1 -1
- package/dist/destinations/responsys/shared_properties.d.ts +3 -0
- package/dist/destinations/responsys/shared_properties.js +19 -0
- package/dist/destinations/responsys/shared_properties.js.map +1 -0
- package/dist/destinations/snap-conversions-api/snap-capi-properties.d.ts +35 -0
- package/dist/destinations/snap-conversions-api/snap-capi-properties.js +401 -0
- package/dist/destinations/snap-conversions-api/snap-capi-properties.js.map +1 -0
- package/dist/destinations/tiktok-conversions/reportWebEvent/formatter.d.ts +3 -0
- package/dist/destinations/tiktok-conversions/reportWebEvent/formatter.js +34 -0
- package/dist/destinations/tiktok-conversions/reportWebEvent/formatter.js.map +1 -0
- package/dist/destinations/trackey/group.types.d.ts +11 -0
- package/dist/destinations/trackey/group.types.js +3 -0
- package/dist/destinations/trackey/group.types.js.map +1 -0
- package/dist/destinations/trackey/identify.types.d.ts +11 -0
- package/dist/destinations/trackey/identify.types.js +3 -0
- package/dist/destinations/trackey/identify.types.js.map +1 -0
- package/dist/destinations/trackey/track.types.d.ts +12 -0
- package/dist/destinations/trackey/track.types.js +3 -0
- package/dist/destinations/trackey/track.types.js.map +1 -0
- package/package.json +5 -5
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./wrapTryCatchFinallyPromisable"), exports);
|
|
14
|
+
__exportStar(require("./OperationDecorator"), exports);
|
|
15
|
+
__exportStar(require("./GenericMethodDecorator"), exports);
|
|
16
|
+
__exportStar(require("./OperationTree"), exports);
|
|
17
|
+
__exportStar(require("./OperationFinallyHooks"), exports);
|
|
18
|
+
__exportStar(require("./OperationLogger"), exports);
|
|
19
|
+
__exportStar(require("./OperationDuration"), exports);
|
|
20
|
+
__exportStar(require("./OperationStats"), exports);
|
|
21
|
+
__exportStar(require("./OperationErrorHandler"), exports);
|
|
22
|
+
__exportStar(require("./TrackedError"), exports);
|
|
23
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -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,21 @@
|
|
|
1
|
+
export interface TryCatchFinallyContext<TFunc extends (this: any, ...args: any[]) => any = (this: any, ...args: any[]) => any> {
|
|
2
|
+
func: TFunc;
|
|
3
|
+
funcArgs: Parameters<TFunc>;
|
|
4
|
+
funcThis: ThisParameterType<TFunc>;
|
|
5
|
+
result?: ReturnType<TFunc> | Awaited<ReturnType<TFunc>>;
|
|
6
|
+
error?: unknown;
|
|
7
|
+
stage: 'try' | 'success' | 'catch' | 'finally';
|
|
8
|
+
}
|
|
9
|
+
export interface TryCatchFinallyHook<TContext extends TryCatchFinallyContext<any> = TryCatchFinallyContext<(...args: any[]) => any>> {
|
|
10
|
+
onTry?(ctx: TContext): void | (() => void);
|
|
11
|
+
onSuccess?(ctx: TContext): void | (() => void);
|
|
12
|
+
onCatch?(ctx: TContext): void | (() => void);
|
|
13
|
+
onFinally?(ctx: TContext): void | (() => void);
|
|
14
|
+
getPriority?(ctx: TContext): number | void;
|
|
15
|
+
}
|
|
16
|
+
export declare type FuncFromTryCatchFinallyContext<TWrapContext extends TryCatchFinallyContext<any>> = TWrapContext extends TryCatchFinallyContext<infer TFunc> ? TFunc : never;
|
|
17
|
+
export declare const DefaultHookPriority = 0;
|
|
18
|
+
export declare function wrapTryCatchFinallyPromisable<TFunc extends (...args: any[]) => any, TContext extends TryCatchFinallyContext<TFunc> = TryCatchFinallyContext<TFunc>, THooks extends TryCatchFinallyHook<TContext>[] = TryCatchFinallyHook<TContext>[]>(func: TFunc, getHooks: (ctx: TContext) => THooks, onHookError?: (e: unknown) => unknown | undefined): TFunc;
|
|
19
|
+
export declare type Awaited<T> = T extends null | undefined ? T : T extends object & {
|
|
20
|
+
then(onfulfilled: infer F, ...args: infer _): any;
|
|
21
|
+
} ? F extends (value: infer V, ...args: infer _) => any ? Awaited<V> : never : T;
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.wrapTryCatchFinallyPromisable = exports.DefaultHookPriority = void 0;
|
|
4
|
+
exports.DefaultHookPriority = 0;
|
|
5
|
+
function wrapTryCatchFinallyPromisable(func, getHooks, onHookError) {
|
|
6
|
+
function forEachHook(hooks, inContext, doThis) {
|
|
7
|
+
const prioritizedHooks = Object.values(hooks).sort((h1, h2) => {
|
|
8
|
+
const p1 = h1.getPriority ? h1.getPriority(inContext) : exports.DefaultHookPriority;
|
|
9
|
+
const p2 = h2.getPriority ? h2.getPriority(inContext) : exports.DefaultHookPriority;
|
|
10
|
+
return (p1 === undefined ? exports.DefaultHookPriority : p1) - (p2 === undefined ? exports.DefaultHookPriority : p2);
|
|
11
|
+
});
|
|
12
|
+
const postCallbacks = [];
|
|
13
|
+
for (const hook of prioritizedHooks) {
|
|
14
|
+
try {
|
|
15
|
+
const callback = doThis(hook);
|
|
16
|
+
if (callback instanceof Function)
|
|
17
|
+
postCallbacks.push(callback);
|
|
18
|
+
}
|
|
19
|
+
catch (hookError) {
|
|
20
|
+
let errorToThrow = hookError;
|
|
21
|
+
if (onHookError)
|
|
22
|
+
errorToThrow = onHookError(errorToThrow);
|
|
23
|
+
if (errorToThrow)
|
|
24
|
+
throw errorToThrow;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
for (const callback of postCallbacks.reverse()) {
|
|
28
|
+
try {
|
|
29
|
+
callback();
|
|
30
|
+
}
|
|
31
|
+
catch (callbackError) {
|
|
32
|
+
let errorToThrow = callbackError;
|
|
33
|
+
if (onHookError)
|
|
34
|
+
errorToThrow = onHookError(errorToThrow);
|
|
35
|
+
if (errorToThrow)
|
|
36
|
+
throw errorToThrow;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return function (...funcArgs) {
|
|
41
|
+
const ctx = {
|
|
42
|
+
funcArgs: funcArgs,
|
|
43
|
+
funcThis: this,
|
|
44
|
+
func,
|
|
45
|
+
stage: 'try'
|
|
46
|
+
};
|
|
47
|
+
let isPromise = false;
|
|
48
|
+
const hooks = getHooks(ctx);
|
|
49
|
+
try {
|
|
50
|
+
forEachHook(hooks, ctx, (hook) => hook.onTry?.(ctx));
|
|
51
|
+
const funcResMayBePromise = func.apply(this, funcArgs);
|
|
52
|
+
isPromise = isValuePromise(funcResMayBePromise);
|
|
53
|
+
if (isPromise) {
|
|
54
|
+
const wrappedPromise = (async () => {
|
|
55
|
+
try {
|
|
56
|
+
ctx.result = await funcResMayBePromise;
|
|
57
|
+
ctx.stage = 'success';
|
|
58
|
+
forEachHook(hooks, ctx, (hook) => hook.onSuccess?.(ctx));
|
|
59
|
+
}
|
|
60
|
+
catch (error) {
|
|
61
|
+
ctx.stage = 'catch';
|
|
62
|
+
ctx.error = error;
|
|
63
|
+
forEachHook(hooks, ctx, (hook) => hook.onCatch?.(ctx));
|
|
64
|
+
if (ctx.error)
|
|
65
|
+
throw ctx.error;
|
|
66
|
+
}
|
|
67
|
+
finally {
|
|
68
|
+
ctx.stage = 'finally';
|
|
69
|
+
forEachHook(hooks, ctx, (hook) => hook.onFinally?.(ctx));
|
|
70
|
+
}
|
|
71
|
+
return ctx.result;
|
|
72
|
+
})();
|
|
73
|
+
return wrappedPromise;
|
|
74
|
+
}
|
|
75
|
+
ctx.result = funcResMayBePromise;
|
|
76
|
+
ctx.stage = 'success';
|
|
77
|
+
forEachHook(hooks, ctx, (hook) => hook.onSuccess?.(ctx));
|
|
78
|
+
}
|
|
79
|
+
catch (error) {
|
|
80
|
+
ctx.stage = 'catch';
|
|
81
|
+
ctx.error = error;
|
|
82
|
+
forEachHook(hooks, ctx, (hook) => hook.onCatch?.(ctx));
|
|
83
|
+
if (ctx.error)
|
|
84
|
+
throw ctx.error;
|
|
85
|
+
}
|
|
86
|
+
finally {
|
|
87
|
+
if (!isPromise) {
|
|
88
|
+
ctx.stage = 'finally';
|
|
89
|
+
forEachHook(hooks, ctx, (hook) => hook.onFinally?.(ctx));
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
return ctx.result;
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
exports.wrapTryCatchFinallyPromisable = wrapTryCatchFinallyPromisable;
|
|
96
|
+
function isValuePromise(obj) {
|
|
97
|
+
return obj instanceof Object && 'then' in obj && typeof obj.then === 'function';
|
|
98
|
+
}
|
|
99
|
+
//# sourceMappingURL=wrapTryCatchFinallyPromisable.js.map
|
|
@@ -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
|
+
shouldStats?: ((args: import("./operationTracking").OperationStatsEventArgs) => boolean | void) | undefined;
|
|
4
|
+
} & {
|
|
5
|
+
onError?: ((ctx: import("./operationTracking").OperationErrorHandlerContext<import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any>>) => void) | undefined;
|
|
6
|
+
} & {
|
|
7
|
+
onTry?: ((ctx: import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any>) => void) | undefined;
|
|
8
|
+
onFinally?: ((ctx: import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any>) => void) | undefined;
|
|
9
|
+
} & import("./operationTracking").OperationLoggerDecoratorArgs & {
|
|
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
|
+
tags: string[];
|
|
19
|
+
sharedContext: {
|
|
20
|
+
tags: string[];
|
|
21
|
+
};
|
|
22
|
+
decoratorArgs?: {
|
|
23
|
+
shouldStats?: ((args: import("./operationTracking").OperationStatsEventArgs) => boolean | void) | undefined;
|
|
24
|
+
} | undefined;
|
|
25
|
+
} & {
|
|
26
|
+
decoratorArgs?: {
|
|
27
|
+
onError?: ((ctx: import("./operationTracking").OperationErrorHandlerContext<import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any>>) => void) | undefined;
|
|
28
|
+
} | undefined;
|
|
29
|
+
} & {
|
|
30
|
+
parent?: (import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any> & any) | undefined;
|
|
31
|
+
sharedContext: {};
|
|
32
|
+
} & {
|
|
33
|
+
start?: number | undefined;
|
|
34
|
+
duration?: number | undefined;
|
|
35
|
+
} & {
|
|
36
|
+
onFinally: (() => void)[];
|
|
37
|
+
decoratorArgs?: {
|
|
38
|
+
onTry?: ((ctx: import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any>) => void) | undefined;
|
|
39
|
+
onFinally?: ((ctx: import("./operationTracking").TryCatchFinallyContext<(this: any, ...args: any[]) => any>) => void) | undefined;
|
|
40
|
+
} | undefined;
|
|
41
|
+
} & {
|
|
42
|
+
logs: string[];
|
|
43
|
+
logMetadata?: Record<string, unknown> | undefined;
|
|
44
|
+
decoratorArgs?: import("./operationTracking").OperationLoggerDecoratorArgs | undefined;
|
|
45
|
+
sharedContext: import("./operationTracking").OperationLoggerSharedContext;
|
|
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"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface Payload {
|
|
2
|
+
id?: string;
|
|
3
|
+
name: string;
|
|
4
|
+
url: string;
|
|
5
|
+
method: string;
|
|
6
|
+
cacheTtl: number;
|
|
7
|
+
body?: string;
|
|
8
|
+
headers?: {
|
|
9
|
+
[k: string]: unknown;
|
|
10
|
+
};
|
|
11
|
+
responseType: string;
|
|
12
|
+
shouldRetryOnRetryableError?: boolean;
|
|
13
|
+
traits?: {
|
|
14
|
+
[k: string]: unknown;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
@@ -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,56 @@
|
|
|
1
|
+
export interface Payload {
|
|
2
|
+
send?: boolean;
|
|
3
|
+
traitEnrichment?: boolean;
|
|
4
|
+
userId?: string;
|
|
5
|
+
toEmail?: string;
|
|
6
|
+
fromDomain?: string | null;
|
|
7
|
+
fromEmail: string;
|
|
8
|
+
fromName: string;
|
|
9
|
+
replyToEqualsFrom?: boolean;
|
|
10
|
+
replyToEmail: string;
|
|
11
|
+
replyToName: string;
|
|
12
|
+
bcc: string;
|
|
13
|
+
previewText?: string;
|
|
14
|
+
subject: string;
|
|
15
|
+
body?: string;
|
|
16
|
+
bodyUrl?: string;
|
|
17
|
+
bodyType: string;
|
|
18
|
+
bodyHtml?: string;
|
|
19
|
+
groupId?: string;
|
|
20
|
+
byPassSubscription?: boolean;
|
|
21
|
+
ipPool?: string;
|
|
22
|
+
sendBasedOnOptOut?: boolean;
|
|
23
|
+
apiLookups?: {
|
|
24
|
+
id?: string;
|
|
25
|
+
name: string;
|
|
26
|
+
url: string;
|
|
27
|
+
method: string;
|
|
28
|
+
cacheTtl: number;
|
|
29
|
+
body?: string;
|
|
30
|
+
headers?: {
|
|
31
|
+
[k: string]: unknown;
|
|
32
|
+
};
|
|
33
|
+
responseType: string;
|
|
34
|
+
shouldRetryOnRetryableError?: boolean;
|
|
35
|
+
}[];
|
|
36
|
+
segmentComputationId?: string;
|
|
37
|
+
externalIds?: {
|
|
38
|
+
id?: string;
|
|
39
|
+
type?: string;
|
|
40
|
+
subscriptionStatus?: string;
|
|
41
|
+
unsubscribeLink?: string;
|
|
42
|
+
preferencesLink?: string;
|
|
43
|
+
groups?: {
|
|
44
|
+
id?: string;
|
|
45
|
+
isSubscribed?: boolean;
|
|
46
|
+
groupUnsubscribeLink?: string;
|
|
47
|
+
}[];
|
|
48
|
+
}[];
|
|
49
|
+
customArgs?: {
|
|
50
|
+
[k: string]: unknown;
|
|
51
|
+
};
|
|
52
|
+
traits?: {
|
|
53
|
+
[k: string]: unknown;
|
|
54
|
+
};
|
|
55
|
+
eventOccurredTS?: string;
|
|
56
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sendEmail.types.js","sourceRoot":"","sources":["../../../src/destinations/engage-messaging-sendgrid/sendEmail.types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export interface Payload {
|
|
2
|
+
contentSid?: string;
|
|
3
|
+
from: string;
|
|
4
|
+
customizations?: {
|
|
5
|
+
title?: string;
|
|
6
|
+
body?: string;
|
|
7
|
+
media?: string[];
|
|
8
|
+
tapAction?: string;
|
|
9
|
+
link?: string;
|
|
10
|
+
sound?: string;
|
|
11
|
+
priority?: string;
|
|
12
|
+
badgeAmount?: number;
|
|
13
|
+
badgeStrategy?: string;
|
|
14
|
+
ttl?: number;
|
|
15
|
+
tapActionButtons?: {
|
|
16
|
+
id: string;
|
|
17
|
+
text: string;
|
|
18
|
+
onTap: string;
|
|
19
|
+
link?: string;
|
|
20
|
+
}[];
|
|
21
|
+
};
|
|
22
|
+
customArgs?: {
|
|
23
|
+
[k: string]: unknown;
|
|
24
|
+
};
|
|
25
|
+
connectionOverrides?: string;
|
|
26
|
+
send?: boolean;
|
|
27
|
+
segmentComputationId?: string;
|
|
28
|
+
externalIds?: {
|
|
29
|
+
id?: string;
|
|
30
|
+
type?: string;
|
|
31
|
+
channelType?: string;
|
|
32
|
+
subscriptionStatus?: string;
|
|
33
|
+
}[];
|
|
34
|
+
traits?: {
|
|
35
|
+
[k: string]: unknown;
|
|
36
|
+
};
|
|
37
|
+
eventOccurredTS?: string;
|
|
38
|
+
googleApiVersion?: string;
|
|
39
|
+
}
|
|
@@ -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,27 @@
|
|
|
1
|
+
export interface Payload {
|
|
2
|
+
userId?: string;
|
|
3
|
+
toNumber?: string;
|
|
4
|
+
from: string;
|
|
5
|
+
body?: string;
|
|
6
|
+
media?: string[];
|
|
7
|
+
contentSid?: string;
|
|
8
|
+
customArgs?: {
|
|
9
|
+
[k: string]: unknown;
|
|
10
|
+
};
|
|
11
|
+
connectionOverrides?: string;
|
|
12
|
+
send?: boolean;
|
|
13
|
+
traitEnrichment?: boolean;
|
|
14
|
+
sendBasedOnOptOut?: boolean;
|
|
15
|
+
segmentComputationId?: string;
|
|
16
|
+
externalIds?: {
|
|
17
|
+
id?: string;
|
|
18
|
+
type?: string;
|
|
19
|
+
channelType?: string;
|
|
20
|
+
subscriptionStatus?: string;
|
|
21
|
+
}[];
|
|
22
|
+
traits?: {
|
|
23
|
+
[k: string]: unknown;
|
|
24
|
+
};
|
|
25
|
+
eventOccurredTS?: string;
|
|
26
|
+
messageId?: string;
|
|
27
|
+
}
|
|
@@ -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,25 @@
|
|
|
1
|
+
export interface Payload {
|
|
2
|
+
contentSid: string;
|
|
3
|
+
contentVariables?: {
|
|
4
|
+
[k: string]: unknown;
|
|
5
|
+
};
|
|
6
|
+
toNumber?: string;
|
|
7
|
+
from: string;
|
|
8
|
+
customArgs?: {
|
|
9
|
+
[k: string]: unknown;
|
|
10
|
+
};
|
|
11
|
+
connectionOverrides?: string;
|
|
12
|
+
send?: boolean;
|
|
13
|
+
traitEnrichment?: boolean;
|
|
14
|
+
segmentComputationId?: string;
|
|
15
|
+
externalIds?: {
|
|
16
|
+
id?: string;
|
|
17
|
+
type?: string;
|
|
18
|
+
channelType?: string;
|
|
19
|
+
subscriptionStatus?: string;
|
|
20
|
+
}[];
|
|
21
|
+
traits?: {
|
|
22
|
+
[k: string]: unknown;
|
|
23
|
+
};
|
|
24
|
+
eventOccurredTS?: string;
|
|
25
|
+
}
|
|
@@ -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/facebook-custom-audiences/add/generated-types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const action = {
|
|
4
|
+
title: 'Add',
|
|
5
|
+
description: 'This action is in charge of adding elements to your audience.',
|
|
6
|
+
fields: {},
|
|
7
|
+
perform: (_request, _data) => {
|
|
8
|
+
}
|
|
9
|
+
};
|
|
10
|
+
exports.default = action;
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/facebook-custom-audiences/add/index.ts"],"names":[],"mappings":";;AAIA,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,KAAK;IACZ,WAAW,EAAE,+DAA+D;IAC5E,MAAM,EAAE,EAAE;IACV,OAAO,EAAE,CAAC,QAAQ,EAAE,KAAK,EAAE,EAAE;IAM7B,CAAC;CACF,CAAA;AAED,kBAAe,MAAM,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generated-types.js","sourceRoot":"","sources":["../../../../src/destinations/facebook-custom-audiences/remove/generated-types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const action = {
|
|
4
|
+
title: 'Remove',
|
|
5
|
+
description: 'This action is in charge of removing elements to your audience.',
|
|
6
|
+
fields: {},
|
|
7
|
+
perform: (_request, _data) => {
|
|
8
|
+
}
|
|
9
|
+
};
|
|
10
|
+
exports.default = action;
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/facebook-custom-audiences/remove/index.ts"],"names":[],"mappings":";;AAIA,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,QAAQ;IACf,WAAW,EAAE,iEAAiE;IAC9E,MAAM,EAAE,EAAE;IACV,OAAO,EAAE,CAAC,QAAQ,EAAE,KAAK,EAAE,EAAE;IAM7B,CAAC;CACF,CAAA;AAED,kBAAe,MAAM,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generated-types.js","sourceRoot":"","sources":["../../../../src/destinations/first-party-dv360/addToList/generated-types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const action = {
|
|
4
|
+
title: 'Add to List',
|
|
5
|
+
description: 'Adds to list',
|
|
6
|
+
fields: {},
|
|
7
|
+
perform: (_request, _data) => {
|
|
8
|
+
}
|
|
9
|
+
};
|
|
10
|
+
exports.default = action;
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/first-party-dv360/addToList/index.ts"],"names":[],"mappings":";;AAIA,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,aAAa;IACpB,WAAW,EAAE,cAAc;IAC3B,MAAM,EAAE,EAAE;IACV,OAAO,EAAE,CAAC,QAAQ,EAAE,KAAK,EAAE,EAAE;IAM7B,CAAC;CACF,CAAA;AAED,kBAAe,MAAM,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { RequestClient } from '@segment/actions-core';
|
|
2
|
+
import { DynamicFieldResponse } from '@segment/actions-core';
|
|
3
|
+
export declare function dynamicReadEventNames(request: RequestClient): Promise<DynamicFieldResponse>;
|
|
4
|
+
export declare function dynamicReadObjectTypes(request: RequestClient): Promise<DynamicFieldResponse>;
|
|
5
|
+
export declare function dynamicReadProperties(request: RequestClient, eventName: string): Promise<DynamicFieldResponse>;
|