@segment/action-destinations 3.331.1-staging-80e4b0b3a → 3.331.1-staging-93fb5d766.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/blackbaud-raisers-edge-nxt/utils/index.d.ts +1 -1
- package/dist/destinations/google-enhanced-conversions/functions.d.ts +1 -1
- package/dist/destinations/google-enhanced-conversions/functions.js +1 -1
- package/package.json +4 -4
- package/dist/destinations/accoil-analytics/postToAccoil/generated-types.d.ts +0 -5
- package/dist/destinations/accoil-analytics/postToAccoil/generated-types.js +0 -3
- package/dist/destinations/accoil-analytics/postToAccoil/generated-types.js.map +0 -1
- package/dist/destinations/accoil-analytics/postToAccoil/index.d.ts +0 -5
- package/dist/destinations/accoil-analytics/postToAccoil/index.js +0 -28
- package/dist/destinations/accoil-analytics/postToAccoil/index.js.map +0 -1
- package/dist/destinations/braze/createAliasV2.types.d.ts +0 -5
- package/dist/destinations/braze/createAliasV2.types.js +0 -3
- package/dist/destinations/braze/createAliasV2.types.js.map +0 -1
- package/dist/destinations/braze/identifyUserV2.types.d.ts +0 -8
- package/dist/destinations/braze/identifyUserV2.types.js +0 -3
- package/dist/destinations/braze/identifyUserV2.types.js.map +0 -1
- package/dist/destinations/contentstack/customAttributesSync/generated-types.d.ts +0 -7
- package/dist/destinations/contentstack/customAttributesSync/generated-types.js +0 -3
- package/dist/destinations/contentstack/customAttributesSync/generated-types.js.map +0 -1
- package/dist/destinations/contentstack/customAttributesSync/index.d.ts +0 -5
- package/dist/destinations/contentstack/customAttributesSync/index.js +0 -54
- package/dist/destinations/contentstack/customAttributesSync/index.js.map +0 -1
- package/dist/destinations/contentstack/customAttributesSync/types.d.ts +0 -14
- package/dist/destinations/contentstack/customAttributesSync/types.js +0 -3
- package/dist/destinations/contentstack/customAttributesSync/types.js.map +0 -1
- package/dist/destinations/contentstack/customAttributesSync/utils.d.ts +0 -4
- package/dist/destinations/contentstack/customAttributesSync/utils.js +0 -20
- package/dist/destinations/contentstack/customAttributesSync/utils.js.map +0 -1
- package/dist/destinations/contentstack/types.d.ts +0 -12
- package/dist/destinations/contentstack/types.js +0 -3
- package/dist/destinations/contentstack/types.js.map +0 -1
- package/dist/destinations/engage/sendgrid/destinationDefinition.d.ts +0 -3
- package/dist/destinations/engage/sendgrid/destinationDefinition.js +0 -70
- package/dist/destinations/engage/sendgrid/destinationDefinition.js.map +0 -1
- package/dist/destinations/engage/sendgrid/generated-types.d.ts +0 -1
- package/dist/destinations/engage/sendgrid/generated-types.js +0 -14
- package/dist/destinations/engage/sendgrid/generated-types.js.map +0 -1
- package/dist/destinations/engage/sendgrid/index.d.ts +0 -2
- package/dist/destinations/engage/sendgrid/index.js +0 -5
- package/dist/destinations/engage/sendgrid/index.js.map +0 -1
- package/dist/destinations/engage/sendgrid/previewApiLookup/actionDefinition.d.ts +0 -4
- package/dist/destinations/engage/sendgrid/previewApiLookup/actionDefinition.js +0 -28
- package/dist/destinations/engage/sendgrid/previewApiLookup/actionDefinition.js.map +0 -1
- package/dist/destinations/engage/sendgrid/previewApiLookup/generated-types.d.ts +0 -1
- package/dist/destinations/engage/sendgrid/previewApiLookup/generated-types.js +0 -14
- package/dist/destinations/engage/sendgrid/previewApiLookup/generated-types.js.map +0 -1
- package/dist/destinations/engage/sendgrid/previewApiLookup/index.d.ts +0 -1
- package/dist/destinations/engage/sendgrid/previewApiLookup/index.js +0 -14
- package/dist/destinations/engage/sendgrid/previewApiLookup/index.js.map +0 -1
- package/dist/destinations/engage/sendgrid/sendEmail/SendEmailPerformer.d.ts +0 -44
- package/dist/destinations/engage/sendgrid/sendEmail/SendEmailPerformer.js +0 -419
- package/dist/destinations/engage/sendgrid/sendEmail/SendEmailPerformer.js.map +0 -1
- package/dist/destinations/engage/sendgrid/sendEmail/UnlayerResponse.d.ts +0 -12
- package/dist/destinations/engage/sendgrid/sendEmail/UnlayerResponse.js +0 -3
- package/dist/destinations/engage/sendgrid/sendEmail/UnlayerResponse.js.map +0 -1
- package/dist/destinations/engage/sendgrid/sendEmail/actionDefinition.d.ts +0 -4
- package/dist/destinations/engage/sendgrid/sendEmail/actionDefinition.js +0 -257
- package/dist/destinations/engage/sendgrid/sendEmail/actionDefinition.js.map +0 -1
- package/dist/destinations/engage/sendgrid/sendEmail/generated-types.d.ts +0 -1
- package/dist/destinations/engage/sendgrid/sendEmail/generated-types.js +0 -14
- package/dist/destinations/engage/sendgrid/sendEmail/generated-types.js.map +0 -1
- package/dist/destinations/engage/sendgrid/sendEmail/index.d.ts +0 -1
- package/dist/destinations/engage/sendgrid/sendEmail/index.js +0 -14
- package/dist/destinations/engage/sendgrid/sendEmail/index.js.map +0 -1
- package/dist/destinations/engage/sendgrid/sendEmail/insertEmailPreviewText.d.ts +0 -1
- package/dist/destinations/engage/sendgrid/sendEmail/insertEmailPreviewText.js +0 -23
- package/dist/destinations/engage/sendgrid/sendEmail/insertEmailPreviewText.js.map +0 -1
- package/dist/destinations/engage/sendgrid/sendEmail/isRestrictedDomain.d.ts +0 -1
- package/dist/destinations/engage/sendgrid/sendEmail/isRestrictedDomain.js +0 -14
- package/dist/destinations/engage/sendgrid/sendEmail/isRestrictedDomain.js.map +0 -1
- package/dist/destinations/engage/twilio/destinationDefinition.d.ts +0 -3
- package/dist/destinations/engage/twilio/destinationDefinition.js +0 -172
- package/dist/destinations/engage/twilio/destinationDefinition.js.map +0 -1
- package/dist/destinations/engage/twilio/generated-types.d.ts +0 -1
- package/dist/destinations/engage/twilio/generated-types.js +0 -14
- package/dist/destinations/engage/twilio/generated-types.js.map +0 -1
- package/dist/destinations/engage/twilio/index.d.ts +0 -2
- package/dist/destinations/engage/twilio/index.js +0 -5
- package/dist/destinations/engage/twilio/index.js.map +0 -1
- package/dist/destinations/engage/twilio/sendMobilePush/PushSender.d.ts +0 -28
- package/dist/destinations/engage/twilio/sendMobilePush/PushSender.js +0 -151
- package/dist/destinations/engage/twilio/sendMobilePush/PushSender.js.map +0 -1
- package/dist/destinations/engage/twilio/sendMobilePush/actionDefinition.d.ts +0 -4
- package/dist/destinations/engage/twilio/sendMobilePush/actionDefinition.js +0 -250
- package/dist/destinations/engage/twilio/sendMobilePush/actionDefinition.js.map +0 -1
- package/dist/destinations/engage/twilio/sendMobilePush/generated-types.d.ts +0 -1
- package/dist/destinations/engage/twilio/sendMobilePush/generated-types.js +0 -14
- package/dist/destinations/engage/twilio/sendMobilePush/generated-types.js.map +0 -1
- package/dist/destinations/engage/twilio/sendMobilePush/index.d.ts +0 -1
- package/dist/destinations/engage/twilio/sendMobilePush/index.js +0 -14
- package/dist/destinations/engage/twilio/sendMobilePush/index.js.map +0 -1
- package/dist/destinations/engage/twilio/sendSms/SmsMessageSender.d.ts +0 -9
- package/dist/destinations/engage/twilio/sendSms/SmsMessageSender.js +0 -72
- package/dist/destinations/engage/twilio/sendSms/SmsMessageSender.js.map +0 -1
- package/dist/destinations/engage/twilio/sendSms/actionDefinition.d.ts +0 -4
- package/dist/destinations/engage/twilio/sendSms/actionDefinition.js +0 -162
- package/dist/destinations/engage/twilio/sendSms/actionDefinition.js.map +0 -1
- package/dist/destinations/engage/twilio/sendSms/generated-types.d.ts +0 -1
- package/dist/destinations/engage/twilio/sendSms/generated-types.js +0 -14
- package/dist/destinations/engage/twilio/sendSms/generated-types.js.map +0 -1
- package/dist/destinations/engage/twilio/sendSms/index.d.ts +0 -1
- package/dist/destinations/engage/twilio/sendSms/index.js +0 -14
- package/dist/destinations/engage/twilio/sendSms/index.js.map +0 -1
- package/dist/destinations/engage/twilio/sendWhatsApp/WhatsAppMessageSender.d.ts +0 -9
- package/dist/destinations/engage/twilio/sendWhatsApp/WhatsAppMessageSender.js +0 -89
- package/dist/destinations/engage/twilio/sendWhatsApp/WhatsAppMessageSender.js.map +0 -1
- package/dist/destinations/engage/twilio/sendWhatsApp/actionDefinition.d.ts +0 -4
- package/dist/destinations/engage/twilio/sendWhatsApp/actionDefinition.js +0 -136
- package/dist/destinations/engage/twilio/sendWhatsApp/actionDefinition.js.map +0 -1
- package/dist/destinations/engage/twilio/sendWhatsApp/generated-types.d.ts +0 -1
- package/dist/destinations/engage/twilio/sendWhatsApp/generated-types.js +0 -14
- package/dist/destinations/engage/twilio/sendWhatsApp/generated-types.js.map +0 -1
- package/dist/destinations/engage/twilio/sendWhatsApp/index.d.ts +0 -1
- package/dist/destinations/engage/twilio/sendWhatsApp/index.js +0 -14
- package/dist/destinations/engage/twilio/sendWhatsApp/index.js.map +0 -1
- package/dist/destinations/engage/twilio/utils/PhoneMessageSender.d.ts +0 -16
- package/dist/destinations/engage/twilio/utils/PhoneMessageSender.js +0 -71
- package/dist/destinations/engage/twilio/utils/PhoneMessageSender.js.map +0 -1
- package/dist/destinations/engage/twilio/utils/TwilioMessageSender.d.ts +0 -16
- package/dist/destinations/engage/twilio/utils/TwilioMessageSender.js +0 -115
- package/dist/destinations/engage/twilio/utils/TwilioMessageSender.js.map +0 -1
- package/dist/destinations/engage/twilio/utils/index.d.ts +0 -2
- package/dist/destinations/engage/twilio/utils/index.js +0 -15
- package/dist/destinations/engage/twilio/utils/index.js.map +0 -1
- package/dist/destinations/engage/twilio/utils/types.d.ts +0 -23
- package/dist/destinations/engage/twilio/utils/types.js +0 -3
- package/dist/destinations/engage/twilio/utils/types.js.map +0 -1
- package/dist/destinations/engage/utils/AggregateError.d.ts +0 -14
- package/dist/destinations/engage/utils/AggregateError.js +0 -26
- package/dist/destinations/engage/utils/AggregateError.js.map +0 -1
- package/dist/destinations/engage/utils/EngageActionPerformer.d.ts +0 -42
- package/dist/destinations/engage/utils/EngageActionPerformer.js +0 -148
- package/dist/destinations/engage/utils/EngageActionPerformer.js.map +0 -1
- package/dist/destinations/engage/utils/EngageLogger.d.ts +0 -18
- package/dist/destinations/engage/utils/EngageLogger.js +0 -52
- package/dist/destinations/engage/utils/EngageLogger.js.map +0 -1
- package/dist/destinations/engage/utils/EngageStats.d.ts +0 -18
- package/dist/destinations/engage/utils/EngageStats.js +0 -95
- package/dist/destinations/engage/utils/EngageStats.js.map +0 -1
- package/dist/destinations/engage/utils/IntegrationErrorWrapper.d.ts +0 -12
- package/dist/destinations/engage/utils/IntegrationErrorWrapper.js +0 -31
- package/dist/destinations/engage/utils/IntegrationErrorWrapper.js.map +0 -1
- package/dist/destinations/engage/utils/MessageSendPerformer.d.ts +0 -65
- package/dist/destinations/engage/utils/MessageSendPerformer.js +0 -211
- package/dist/destinations/engage/utils/MessageSendPerformer.js.map +0 -1
- package/dist/destinations/engage/utils/Profile.d.ts +0 -6
- package/dist/destinations/engage/utils/Profile.js +0 -3
- package/dist/destinations/engage/utils/Profile.js.map +0 -1
- package/dist/destinations/engage/utils/ResponseError.d.ts +0 -25
- package/dist/destinations/engage/utils/ResponseError.js +0 -22
- package/dist/destinations/engage/utils/ResponseError.js.map +0 -1
- package/dist/destinations/engage/utils/apiLookups.d.ts +0 -22
- package/dist/destinations/engage/utils/apiLookups.js +0 -189
- package/dist/destinations/engage/utils/apiLookups.js.map +0 -1
- package/dist/destinations/engage/utils/getProfileApiEndpoint.d.ts +0 -2
- package/dist/destinations/engage/utils/getProfileApiEndpoint.js +0 -10
- package/dist/destinations/engage/utils/getProfileApiEndpoint.js.map +0 -1
- package/dist/destinations/engage/utils/index.d.ts +0 -9
- package/dist/destinations/engage/utils/index.js +0 -22
- package/dist/destinations/engage/utils/index.js.map +0 -1
- package/dist/destinations/engage/utils/isDestinationActionService.d.ts +0 -1
- package/dist/destinations/engage/utils/isDestinationActionService.js +0 -8
- package/dist/destinations/engage/utils/isDestinationActionService.js.map +0 -1
- package/dist/destinations/engage/utils/isRetryableError.d.ts +0 -2
- package/dist/destinations/engage/utils/isRetryableError.js +0 -33
- package/dist/destinations/engage/utils/isRetryableError.js.map +0 -1
- package/dist/destinations/engage/utils/operationTracking/GenericMethodDecorator.d.ts +0 -1
- package/dist/destinations/engage/utils/operationTracking/GenericMethodDecorator.js +0 -3
- package/dist/destinations/engage/utils/operationTracking/GenericMethodDecorator.js.map +0 -1
- package/dist/destinations/engage/utils/operationTracking/OperationDecorator.d.ts +0 -46
- package/dist/destinations/engage/utils/operationTracking/OperationDecorator.js +0 -46
- package/dist/destinations/engage/utils/operationTracking/OperationDecorator.js.map +0 -1
- package/dist/destinations/engage/utils/operationTracking/OperationDuration.d.ts +0 -12
- package/dist/destinations/engage/utils/operationTracking/OperationDuration.js +0 -23
- package/dist/destinations/engage/utils/operationTracking/OperationDuration.js.map +0 -1
- package/dist/destinations/engage/utils/operationTracking/OperationErrorHandler.d.ts +0 -12
- package/dist/destinations/engage/utils/operationTracking/OperationErrorHandler.js +0 -35
- package/dist/destinations/engage/utils/operationTracking/OperationErrorHandler.js.map +0 -1
- package/dist/destinations/engage/utils/operationTracking/OperationFinallyHooks.d.ts +0 -14
- package/dist/destinations/engage/utils/operationTracking/OperationFinallyHooks.js +0 -31
- package/dist/destinations/engage/utils/operationTracking/OperationFinallyHooks.js.map +0 -1
- package/dist/destinations/engage/utils/operationTracking/OperationLogger.d.ts +0 -31
- package/dist/destinations/engage/utils/operationTracking/OperationLogger.js +0 -104
- package/dist/destinations/engage/utils/operationTracking/OperationLogger.js.map +0 -1
- package/dist/destinations/engage/utils/operationTracking/OperationStats.d.ts +0 -39
- package/dist/destinations/engage/utils/operationTracking/OperationStats.js +0 -130
- package/dist/destinations/engage/utils/operationTracking/OperationStats.js.map +0 -1
- package/dist/destinations/engage/utils/operationTracking/OperationTracker.test.d.ts +0 -1
- package/dist/destinations/engage/utils/operationTracking/OperationTracker.test.js +0 -377
- package/dist/destinations/engage/utils/operationTracking/OperationTracker.test.js.map +0 -1
- package/dist/destinations/engage/utils/operationTracking/OperationTree.d.ts +0 -23
- package/dist/destinations/engage/utils/operationTracking/OperationTree.js +0 -49
- package/dist/destinations/engage/utils/operationTracking/OperationTree.js.map +0 -1
- package/dist/destinations/engage/utils/operationTracking/TrackedError.d.ts +0 -6
- package/dist/destinations/engage/utils/operationTracking/TrackedError.js +0 -3
- package/dist/destinations/engage/utils/operationTracking/TrackedError.js.map +0 -1
- package/dist/destinations/engage/utils/operationTracking/index.d.ts +0 -10
- package/dist/destinations/engage/utils/operationTracking/index.js +0 -23
- package/dist/destinations/engage/utils/operationTracking/index.js.map +0 -1
- package/dist/destinations/engage/utils/operationTracking/wrapTryCatchFinallyPromisable.d.ts +0 -21
- package/dist/destinations/engage/utils/operationTracking/wrapTryCatchFinallyPromisable.js +0 -99
- package/dist/destinations/engage/utils/operationTracking/wrapTryCatchFinallyPromisable.js.map +0 -1
- package/dist/destinations/engage/utils/testUtils.d.ts +0 -6
- package/dist/destinations/engage/utils/testUtils.js +0 -26
- package/dist/destinations/engage/utils/testUtils.js.map +0 -1
- package/dist/destinations/engage/utils/track.d.ts +0 -52
- package/dist/destinations/engage/utils/track.js +0 -9
- package/dist/destinations/engage/utils/track.js.map +0 -1
- package/dist/destinations/engage-messaging-sendgrid/previewApiLookup.types.d.ts +0 -16
- package/dist/destinations/engage-messaging-sendgrid/previewApiLookup.types.js +0 -3
- package/dist/destinations/engage-messaging-sendgrid/previewApiLookup.types.js.map +0 -1
- package/dist/destinations/engage-messaging-sendgrid/sendEmail.types.d.ts +0 -56
- package/dist/destinations/engage-messaging-sendgrid/sendEmail.types.js +0 -3
- package/dist/destinations/engage-messaging-sendgrid/sendEmail.types.js.map +0 -1
- package/dist/destinations/engage-messaging-twilio/sendMobilePush.types.d.ts +0 -39
- package/dist/destinations/engage-messaging-twilio/sendMobilePush.types.js +0 -3
- package/dist/destinations/engage-messaging-twilio/sendMobilePush.types.js.map +0 -1
- package/dist/destinations/engage-messaging-twilio/sendSms.types.d.ts +0 -27
- package/dist/destinations/engage-messaging-twilio/sendSms.types.js +0 -3
- package/dist/destinations/engage-messaging-twilio/sendSms.types.js.map +0 -1
- package/dist/destinations/engage-messaging-twilio/sendWhatsApp.types.d.ts +0 -25
- package/dist/destinations/engage-messaging-twilio/sendWhatsApp.types.js +0 -3
- package/dist/destinations/engage-messaging-twilio/sendWhatsApp.types.js.map +0 -1
- package/dist/destinations/facebook-custom-audiences/add/generated-types.d.ts +0 -2
- package/dist/destinations/facebook-custom-audiences/add/generated-types.js +0 -3
- package/dist/destinations/facebook-custom-audiences/add/generated-types.js.map +0 -1
- package/dist/destinations/facebook-custom-audiences/add/index.d.ts +0 -5
- package/dist/destinations/facebook-custom-audiences/add/index.js +0 -11
- package/dist/destinations/facebook-custom-audiences/add/index.js.map +0 -1
- package/dist/destinations/facebook-custom-audiences/remove/generated-types.d.ts +0 -2
- package/dist/destinations/facebook-custom-audiences/remove/generated-types.js +0 -3
- package/dist/destinations/facebook-custom-audiences/remove/generated-types.js.map +0 -1
- package/dist/destinations/facebook-custom-audiences/remove/index.d.ts +0 -5
- package/dist/destinations/facebook-custom-audiences/remove/index.js +0 -11
- package/dist/destinations/facebook-custom-audiences/remove/index.js.map +0 -1
- package/dist/destinations/first-party-dv360/addToAudContactInfo/generated-types.d.ts +0 -9
- package/dist/destinations/first-party-dv360/addToAudContactInfo/generated-types.js +0 -3
- package/dist/destinations/first-party-dv360/addToAudContactInfo/generated-types.js.map +0 -1
- package/dist/destinations/first-party-dv360/addToAudContactInfo/index.d.ts +0 -5
- package/dist/destinations/first-party-dv360/addToAudContactInfo/index.js +0 -32
- package/dist/destinations/first-party-dv360/addToAudContactInfo/index.js.map +0 -1
- package/dist/destinations/first-party-dv360/addToAudMobileDeviceId/generated-types.d.ts +0 -4
- package/dist/destinations/first-party-dv360/addToAudMobileDeviceId/generated-types.js +0 -3
- package/dist/destinations/first-party-dv360/addToAudMobileDeviceId/generated-types.js.map +0 -1
- package/dist/destinations/first-party-dv360/addToAudMobileDeviceId/index.d.ts +0 -5
- package/dist/destinations/first-party-dv360/addToAudMobileDeviceId/index.js +0 -27
- package/dist/destinations/first-party-dv360/addToAudMobileDeviceId/index.js.map +0 -1
- package/dist/destinations/first-party-dv360/addToList.types.d.ts +0 -9
- package/dist/destinations/first-party-dv360/addToList.types.js +0 -3
- package/dist/destinations/first-party-dv360/addToList.types.js.map +0 -1
- package/dist/destinations/first-party-dv360/properties.d.ts +0 -9
- package/dist/destinations/first-party-dv360/properties.js +0 -69
- package/dist/destinations/first-party-dv360/properties.js.map +0 -1
- package/dist/destinations/hubspot/customEvent/hubspot-api.d.ts +0 -62
- package/dist/destinations/hubspot/customEvent/hubspot-api.js +0 -305
- package/dist/destinations/hubspot/customEvent/hubspot-api.js.map +0 -1
- package/dist/destinations/hubspot/upsertObject/hubspot-api.d.ts +0 -219
- package/dist/destinations/hubspot/upsertObject/hubspot-api.js +0 -609
- package/dist/destinations/hubspot/upsertObject/hubspot-api.js.map +0 -1
- package/dist/destinations/mappings-two-test/generated-types.d.ts +0 -3
- package/dist/destinations/mappings-two-test/generated-types.js +0 -3
- package/dist/destinations/mappings-two-test/generated-types.js.map +0 -1
- package/dist/destinations/mappings-two-test/index.d.ts +0 -4
- package/dist/destinations/mappings-two-test/index.js +0 -34
- package/dist/destinations/mappings-two-test/index.js.map +0 -1
- package/dist/destinations/mappings-two-test/inputMethods/generated-types.d.ts +0 -29
- package/dist/destinations/mappings-two-test/inputMethods/generated-types.js +0 -3
- package/dist/destinations/mappings-two-test/inputMethods/generated-types.js.map +0 -1
- package/dist/destinations/mappings-two-test/inputMethods/index.d.ts +0 -5
- package/dist/destinations/mappings-two-test/inputMethods/index.js +0 -200
- package/dist/destinations/mappings-two-test/inputMethods/index.js.map +0 -1
- package/dist/destinations/mappings-two-test/kitchenSink/generated-types.d.ts +0 -53
- package/dist/destinations/mappings-two-test/kitchenSink/generated-types.js +0 -3
- package/dist/destinations/mappings-two-test/kitchenSink/generated-types.js.map +0 -1
- package/dist/destinations/mappings-two-test/kitchenSink/index.d.ts +0 -5
- package/dist/destinations/mappings-two-test/kitchenSink/index.js +0 -289
- package/dist/destinations/mappings-two-test/kitchenSink/index.js.map +0 -1
- package/dist/destinations/mappings-two-test/sendEvent/generated-types.d.ts +0 -17
- package/dist/destinations/mappings-two-test/sendEvent/generated-types.js +0 -3
- package/dist/destinations/mappings-two-test/sendEvent/generated-types.js.map +0 -1
- package/dist/destinations/mappings-two-test/sendEvent/index.d.ts +0 -5
- package/dist/destinations/mappings-two-test/sendEvent/index.js +0 -345
- package/dist/destinations/mappings-two-test/sendEvent/index.js.map +0 -1
- package/dist/destinations/responsys/shared_properties.d.ts +0 -3
- package/dist/destinations/responsys/shared_properties.js +0 -19
- package/dist/destinations/responsys/shared_properties.js.map +0 -1
|
@@ -9,7 +9,7 @@ export declare const dateStringToFuzzyDate: (dateString: string | number) => fal
|
|
|
9
9
|
y: string;
|
|
10
10
|
};
|
|
11
11
|
export declare const augmentFieldsWithConstituentFields: (fields: Record<string, InputField>) => Record<string, InputField>;
|
|
12
|
-
export declare const splitConstituentPayload: (payload: CreateOrUpdateIndividualConstituentPayload) => (Partial<
|
|
12
|
+
export declare const splitConstituentPayload: (payload: CreateOrUpdateIndividualConstituentPayload) => (Partial<Constituent> | Partial<Address> | Partial<OnlinePresence> | Partial<Phone>)[];
|
|
13
13
|
export declare const buildConstituentPayloadFromPayload: (payload: StringIndexedObject) => Partial<CreateOrUpdateIndividualConstituentPayload>;
|
|
14
14
|
export declare const buildGiftDataFromPayload: (constituentId: string, payload: CreateGiftPayload) => Partial<Gift>;
|
|
15
15
|
export declare const buildConstituentActionDataFromPayload: (constituentId: string, payload: CreateConstituentAction) => Partial<ConstituentAction>;
|
|
@@ -5,7 +5,7 @@ import { Features } from '@segment/actions-core/mapping-kit';
|
|
|
5
5
|
import { HTTPError } from '@segment/actions-core';
|
|
6
6
|
import type { Payload as UserListPayload } from './userList/generated-types';
|
|
7
7
|
export declare const API_VERSION = "v17";
|
|
8
|
-
export declare const CANARY_API_VERSION = "
|
|
8
|
+
export declare const CANARY_API_VERSION = "v15";
|
|
9
9
|
export declare const FLAGON_NAME = "google-enhanced-canary-version";
|
|
10
10
|
export declare class GoogleAdsError extends HTTPError {
|
|
11
11
|
response: Response & {
|
|
@@ -7,7 +7,7 @@ const formats_1 = require("ajv-formats/dist/formats");
|
|
|
7
7
|
const actions_core_2 = require("@segment/actions-core");
|
|
8
8
|
const actions_core_3 = require("@segment/actions-core");
|
|
9
9
|
exports.API_VERSION = 'v17';
|
|
10
|
-
exports.CANARY_API_VERSION = '
|
|
10
|
+
exports.CANARY_API_VERSION = 'v15';
|
|
11
11
|
exports.FLAGON_NAME = 'google-enhanced-canary-version';
|
|
12
12
|
class GoogleAdsError extends actions_core_2.HTTPError {
|
|
13
13
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@segment/action-destinations",
|
|
3
3
|
"description": "Destination Actions engine and definitions.",
|
|
4
|
-
"version": "3.331.1-staging-
|
|
4
|
+
"version": "3.331.1-staging-93fb5d766.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/segmentio/action-destinations",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"@bufbuild/protobuf": "^1.4.2",
|
|
45
45
|
"@bufbuild/protoc-gen-es": "^1.4.2",
|
|
46
46
|
"@segment/a1-notation": "^2.1.4",
|
|
47
|
-
"@segment/actions-core": "3.136.0-staging-
|
|
48
|
-
"@segment/actions-shared": "1.117.0-staging-
|
|
47
|
+
"@segment/actions-core": "3.136.0-staging-93fb5d766.0",
|
|
48
|
+
"@segment/actions-shared": "1.117.0-staging-93fb5d766.0",
|
|
49
49
|
"@types/node": "^18.11.15",
|
|
50
50
|
"ajv-formats": "^2.1.1",
|
|
51
51
|
"aws4": "^1.12.0",
|
|
@@ -88,5 +88,5 @@
|
|
|
88
88
|
"__tests__/__helpers__/"
|
|
89
89
|
]
|
|
90
90
|
},
|
|
91
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "88a049159dab06ba209b110936b922e97681118a"
|
|
92
92
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generated-types.js","sourceRoot":"","sources":["../../../../src/destinations/accoil-analytics/postToAccoil/generated-types.ts"],"names":[],"mappings":""}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const action = {
|
|
4
|
-
title: 'Post to Accoil',
|
|
5
|
-
description: 'Send Data to Accoil Analytics',
|
|
6
|
-
defaultSubscription: 'type = "track"',
|
|
7
|
-
fields: {
|
|
8
|
-
segmentEventData: {
|
|
9
|
-
label: 'Event Payload',
|
|
10
|
-
description: 'Segment Event Payload',
|
|
11
|
-
type: 'object',
|
|
12
|
-
unsafe_hidden: true,
|
|
13
|
-
required: true,
|
|
14
|
-
default: {
|
|
15
|
-
'@path': '$.'
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
perform: (request, { settings, payload }) => {
|
|
20
|
-
const staging = settings?.api_key?.toLowerCase()?.startsWith('stg_');
|
|
21
|
-
return request(staging == true ? `https://instaging.accoil.com/segment` : `https://in.accoil.com/segment`, {
|
|
22
|
-
method: 'post',
|
|
23
|
-
json: payload.segmentEventData
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
exports.default = action;
|
|
28
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/accoil-analytics/postToAccoil/index.ts"],"names":[],"mappings":";;AAIA,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,gBAAgB;IACvB,WAAW,EAAE,+BAA+B;IAC5C,mBAAmB,EAAE,gBAAgB;IAErC,MAAM,EAAE;QACN,gBAAgB,EAAE;YAChB,KAAK,EAAE,eAAe;YACtB,WAAW,EAAE,uBAAuB;YACpC,IAAI,EAAE,QAAQ;YACd,aAAa,EAAE,IAAI;YACnB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE;gBACP,OAAO,EAAE,IAAI;aACd;SACF;KACF;IACD,OAAO,EAAE,CAAC,OAAO,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE;QAC1C,MAAM,OAAO,GAAG,QAAQ,EAAE,OAAO,EAAE,WAAW,EAAE,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;QACpE,OAAO,OAAO,CAAC,OAAO,IAAI,IAAI,CAAC,CAAC,CAAC,sCAAsC,CAAC,CAAC,CAAC,+BAA+B,EAAE;YACzG,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,OAAO,CAAC,gBAAgB;SAC/B,CAAC,CAAA;IACJ,CAAC;CACF,CAAA;AAED,kBAAe,MAAM,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createAliasV2.types.js","sourceRoot":"","sources":["../../../src/destinations/braze/createAliasV2.types.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"identifyUserV2.types.js","sourceRoot":"","sources":["../../../src/destinations/braze/identifyUserV2.types.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generated-types.js","sourceRoot":"","sources":["../../../../src/destinations/contentstack/customAttributesSync/generated-types.ts"],"names":[],"mappings":""}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const utils_1 = require("./utils");
|
|
4
|
-
const action = {
|
|
5
|
-
title: 'Custom Attributes Sync',
|
|
6
|
-
description: 'Sync Custom Attributes to your Contentstack Experience.',
|
|
7
|
-
defaultSubscription: 'type = "identify"',
|
|
8
|
-
fields: {
|
|
9
|
-
traits: {
|
|
10
|
-
type: 'object',
|
|
11
|
-
default: { '@path': '$.traits' },
|
|
12
|
-
label: 'User traits',
|
|
13
|
-
description: 'User Profile traits to send to Contentstack',
|
|
14
|
-
required: true
|
|
15
|
-
},
|
|
16
|
-
userId: {
|
|
17
|
-
type: 'string',
|
|
18
|
-
default: { '@path': '$.userId' },
|
|
19
|
-
label: 'User ID',
|
|
20
|
-
description: 'ID for the user',
|
|
21
|
-
required: false
|
|
22
|
-
},
|
|
23
|
-
createAttributes: {
|
|
24
|
-
label: 'Create Attributes',
|
|
25
|
-
type: 'boolean',
|
|
26
|
-
description: 'Inidicates if Attributes should be created in Contentstack',
|
|
27
|
-
required: false,
|
|
28
|
-
default: { '@path': '$.integrations.Contentstack.createAttributes' }
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
perform: async (request, { payload, settings }) => {
|
|
32
|
-
const { createAttributes } = payload;
|
|
33
|
-
if (createAttributes) {
|
|
34
|
-
const personalizeAttributesData = (await utils_1.fetchAllAttributes(request, settings.personalizeApiBaseUrl)).map((attribute) => attribute?.key);
|
|
35
|
-
const attributesToCreate = Object.keys(payload.traits || {}).filter((trait) => !personalizeAttributesData.includes(trait));
|
|
36
|
-
if (attributesToCreate?.length) {
|
|
37
|
-
const firstAttributeRes = await utils_1.createCustomAttrbute(request, attributesToCreate[0], settings.personalizeApiBaseUrl);
|
|
38
|
-
if (firstAttributeRes.status === 401)
|
|
39
|
-
return firstAttributeRes;
|
|
40
|
-
const otherAttributes = attributesToCreate.slice(1);
|
|
41
|
-
await Promise.allSettled(otherAttributes.map((trait) => utils_1.createCustomAttrbute(request, trait, settings.personalizeApiBaseUrl)));
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
return request(`${settings.personalizeEdgeApiBaseUrl}/user-attributes`, {
|
|
45
|
-
method: 'patch',
|
|
46
|
-
json: payload.traits,
|
|
47
|
-
headers: {
|
|
48
|
-
'x-cs-eclipse-user-uid': payload.userId ?? ''
|
|
49
|
-
}
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
exports.default = action;
|
|
54
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/contentstack/customAttributesSync/index.ts"],"names":[],"mappings":";;AAGA,mCAAkE;AAGlE,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,wBAAwB;IAC/B,WAAW,EAAE,yDAAyD;IACtE,mBAAmB,EAAE,mBAAmB;IACxC,MAAM,EAAE;QACN,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE;YAChC,KAAK,EAAE,aAAa;YACpB,WAAW,EAAE,6CAA6C;YAC1D,QAAQ,EAAE,IAAI;SACf;QACD,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE;YAChC,KAAK,EAAE,SAAS;YAChB,WAAW,EAAE,iBAAiB;YAC9B,QAAQ,EAAE,KAAK;SAChB;QACD,gBAAgB,EAAE;YAChB,KAAK,EAAE,mBAAmB;YAC1B,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,4DAA4D;YACzE,QAAQ,EAAE,KAAK;YACf,OAAO,EAAE,EAAE,OAAO,EAAE,8CAA8C,EAAE;SACrE;KACF;IACD,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE;QAChD,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAA;QACpC,IAAI,gBAAgB,EAAE;YACpB,MAAM,yBAAyB,GAAG,CAAC,MAAM,0BAAkB,CAAC,OAAO,EAAE,QAAQ,CAAC,qBAAqB,CAAC,CAAC,CAAC,GAAG,CACvG,CAAC,SAAgC,EAAE,EAAE,CAAC,SAAS,EAAE,GAAG,CACrD,CAAA;YAED,MAAM,kBAAkB,GAAG,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,MAAM,CACjE,CAAC,KAAa,EAAE,EAAE,CAAC,CAAC,yBAAyB,CAAC,QAAQ,CAAC,KAAK,CAAC,CAC9D,CAAA;YAED,IAAI,kBAAkB,EAAE,MAAM,EAAE;gBAC9B,MAAM,iBAAiB,GAAG,MAAM,4BAAoB,CAClD,OAAO,EACP,kBAAkB,CAAC,CAAC,CAAC,EACrB,QAAQ,CAAC,qBAAqB,CAC/B,CAAA;gBACD,IAAI,iBAAiB,CAAC,MAAM,KAAK,GAAG;oBAAE,OAAO,iBAAiB,CAAA;gBAE9D,MAAM,eAAe,GAAG,kBAAkB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAA;gBAEnD,MAAM,OAAO,CAAC,UAAU,CACtB,eAAe,CAAC,GAAG,CAAC,CAAC,KAAa,EAAE,EAAE,CAAC,4BAAoB,CAAC,OAAO,EAAE,KAAK,EAAE,QAAQ,CAAC,qBAAqB,CAAC,CAAC,CAC7G,CAAA;aACF;SACF;QAED,OAAO,OAAO,CAAC,GAAG,QAAQ,CAAC,yBAAyB,kBAAkB,EAAE;YACtE,MAAM,EAAE,OAAO;YACf,IAAI,EAAE,OAAO,CAAC,MAAM;YACpB,OAAO,EAAE;gBACP,uBAAuB,EAAE,OAAO,CAAC,MAAM,IAAI,EAAE;aAC9C;SACF,CAAC,CAAA;IACJ,CAAC;CACF,CAAA;AAED,kBAAe,MAAM,CAAA"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export interface PersonalizeAttributes {
|
|
2
|
-
_id: string;
|
|
3
|
-
name: string;
|
|
4
|
-
key: string;
|
|
5
|
-
description: string;
|
|
6
|
-
project?: string;
|
|
7
|
-
createdBy?: string;
|
|
8
|
-
updatedBy?: string;
|
|
9
|
-
createdAt?: string;
|
|
10
|
-
updatedAt?: string;
|
|
11
|
-
uid?: string;
|
|
12
|
-
createdByUserName?: string;
|
|
13
|
-
updatedByUserName?: string;
|
|
14
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/destinations/contentstack/customAttributesSync/types.ts"],"names":[],"mappings":""}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { RequestClient } from '@segment/actions-core';
|
|
2
|
-
import { PersonalizeAttributes } from './types';
|
|
3
|
-
export declare const createCustomAttrbute: (request: RequestClient, name: string, url: string) => Promise<import("@segment/actions-core").ModifiedResponse<unknown>>;
|
|
4
|
-
export declare const fetchAllAttributes: (request: RequestClient, url: string) => Promise<PersonalizeAttributes[]>;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.fetchAllAttributes = exports.createCustomAttrbute = void 0;
|
|
4
|
-
const createCustomAttrbute = async (request, name, url) => request(`${url}/attributes`, {
|
|
5
|
-
method: 'post',
|
|
6
|
-
json: {
|
|
7
|
-
name,
|
|
8
|
-
key: name,
|
|
9
|
-
description: `Segment ${name}`
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
exports.createCustomAttrbute = createCustomAttrbute;
|
|
13
|
-
const fetchAllAttributes = async (request, url) => {
|
|
14
|
-
const res = await request(`${url}/attributes`, {
|
|
15
|
-
method: 'get'
|
|
16
|
-
});
|
|
17
|
-
return res.data;
|
|
18
|
-
};
|
|
19
|
-
exports.fetchAllAttributes = fetchAllAttributes;
|
|
20
|
-
//# sourceMappingURL=utils.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../src/destinations/contentstack/customAttributesSync/utils.ts"],"names":[],"mappings":";;;AAGO,MAAM,oBAAoB,GAAG,KAAK,EAAE,OAAsB,EAAE,IAAY,EAAE,GAAW,EAAE,EAAE,CAC9F,OAAO,CAAC,GAAG,GAAG,aAAa,EAAE;IAC3B,MAAM,EAAE,MAAM;IACd,IAAI,EAAE;QACJ,IAAI;QACJ,GAAG,EAAE,IAAI;QACT,WAAW,EAAE,WAAW,IAAI,EAAE;KAC/B;CACF,CAAC,CAAA;AARS,QAAA,oBAAoB,wBAQ7B;AAEG,MAAM,kBAAkB,GAAG,KAAK,EAAE,OAAsB,EAAE,GAAW,EAAE,EAAE;IAC9E,MAAM,GAAG,GAAG,MAAM,OAAO,CAAC,GAAG,GAAG,aAAa,EAAE;QAC7C,MAAM,EAAE,KAAK;KACd,CAAC,CAAA;IAEF,OAAO,GAAG,CAAC,IAA+B,CAAA;AAC5C,CAAC,CAAA;AANY,QAAA,kBAAkB,sBAM9B"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export interface RefreshTokenResponse {
|
|
2
|
-
access_token: string;
|
|
3
|
-
refresh_token: string;
|
|
4
|
-
token_type?: string;
|
|
5
|
-
expires_in?: number;
|
|
6
|
-
location?: string;
|
|
7
|
-
region?: string;
|
|
8
|
-
organization_uid?: string;
|
|
9
|
-
authorization_type?: string;
|
|
10
|
-
user_uid?: string;
|
|
11
|
-
stack_api_key?: string;
|
|
12
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/destinations/contentstack/types.ts"],"names":[],"mappings":""}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.destinationDefinition = void 0;
|
|
4
|
-
const sendEmail_1 = require("./sendEmail");
|
|
5
|
-
const previewApiLookup_1 = require("./previewApiLookup");
|
|
6
|
-
exports.destinationDefinition = {
|
|
7
|
-
name: 'Engage Messaging SendGrid',
|
|
8
|
-
slug: 'actions-personas-messaging-sendgrid',
|
|
9
|
-
mode: 'cloud',
|
|
10
|
-
description: 'This is an Engage specific action to send an email',
|
|
11
|
-
authentication: {
|
|
12
|
-
scheme: 'custom',
|
|
13
|
-
fields: {
|
|
14
|
-
unlayerApiKey: {
|
|
15
|
-
label: 'Unlayer API Key',
|
|
16
|
-
type: 'password',
|
|
17
|
-
description: 'The API key for your Unlayer account'
|
|
18
|
-
},
|
|
19
|
-
sendGridApiKey: {
|
|
20
|
-
label: 'API Key',
|
|
21
|
-
type: 'password',
|
|
22
|
-
description: 'The Api Key for your SendGrid account',
|
|
23
|
-
required: true
|
|
24
|
-
},
|
|
25
|
-
profileApiEnvironment: {
|
|
26
|
-
label: 'Profile API Environment',
|
|
27
|
-
description: 'Profile API Environment',
|
|
28
|
-
type: 'string',
|
|
29
|
-
required: true
|
|
30
|
-
},
|
|
31
|
-
profileApiAccessToken: {
|
|
32
|
-
label: 'Profile API Access Token',
|
|
33
|
-
description: 'Profile API Access Token',
|
|
34
|
-
type: 'password',
|
|
35
|
-
required: true
|
|
36
|
-
},
|
|
37
|
-
spaceId: {
|
|
38
|
-
label: 'Space ID',
|
|
39
|
-
description: 'Space ID',
|
|
40
|
-
type: 'string',
|
|
41
|
-
required: true
|
|
42
|
-
},
|
|
43
|
-
sourceId: {
|
|
44
|
-
label: 'Source ID',
|
|
45
|
-
description: 'Source ID',
|
|
46
|
-
type: 'string',
|
|
47
|
-
required: true
|
|
48
|
-
},
|
|
49
|
-
region: {
|
|
50
|
-
label: 'Region',
|
|
51
|
-
description: 'The region where the email is originating from',
|
|
52
|
-
type: 'string',
|
|
53
|
-
choices: [
|
|
54
|
-
{ value: 'us-west-2', label: 'US West 2' },
|
|
55
|
-
{ value: 'eu-west-1', label: 'EU West 1' }
|
|
56
|
-
],
|
|
57
|
-
default: 'us-west-2',
|
|
58
|
-
required: false
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
testAuthentication: (request) => {
|
|
62
|
-
return request('https://api.sendgrid.com/v3/mail_settings');
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
actions: {
|
|
66
|
-
sendEmail: sendEmail_1.actionDefinition,
|
|
67
|
-
previewApiLookup: previewApiLookup_1.actionDefinition
|
|
68
|
-
}
|
|
69
|
-
};
|
|
70
|
-
//# sourceMappingURL=destinationDefinition.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"destinationDefinition.js","sourceRoot":"","sources":["../../../../src/destinations/engage/sendgrid/destinationDefinition.ts"],"names":[],"mappings":";;;AAEA,2CAA2D;AAC3D,yDAAyE;AAE5D,QAAA,qBAAqB,GAAoC;IACpE,IAAI,EAAE,2BAA2B;IACjC,IAAI,EAAE,qCAAqC;IAC3C,IAAI,EAAE,OAAO;IACb,WAAW,EAAE,oDAAoD;IACjE,cAAc,EAAE;QACd,MAAM,EAAE,QAAQ;QAChB,MAAM,EAAE;YACN,aAAa,EAAE;gBACb,KAAK,EAAE,iBAAiB;gBACxB,IAAI,EAAE,UAAU;gBAChB,WAAW,EAAE,sCAAsC;aACpD;YACD,cAAc,EAAE;gBACd,KAAK,EAAE,SAAS;gBAChB,IAAI,EAAE,UAAU;gBAChB,WAAW,EAAE,uCAAuC;gBACpD,QAAQ,EAAE,IAAI;aACf;YACD,qBAAqB,EAAE;gBACrB,KAAK,EAAE,yBAAyB;gBAChC,WAAW,EAAE,yBAAyB;gBACtC,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,IAAI;aACf;YACD,qBAAqB,EAAE;gBACrB,KAAK,EAAE,0BAA0B;gBACjC,WAAW,EAAE,0BAA0B;gBACvC,IAAI,EAAE,UAAU;gBAChB,QAAQ,EAAE,IAAI;aACf;YACD,OAAO,EAAE;gBACP,KAAK,EAAE,UAAU;gBACjB,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,IAAI;aACf;YACD,QAAQ,EAAE;gBACR,KAAK,EAAE,WAAW;gBAClB,WAAW,EAAE,WAAW;gBACxB,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,IAAI;aACf;YACD,MAAM,EAAE;gBACN,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,gDAAgD;gBAC7D,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE;oBACP,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,WAAW,EAAE;oBAC1C,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,WAAW,EAAE;iBAC3C;gBACD,OAAO,EAAE,WAAW;gBACpB,QAAQ,EAAE,KAAK;aAChB;SACF;QACD,kBAAkB,EAAE,CAAC,OAAO,EAAE,EAAE;YAC9B,OAAO,OAAO,CAAC,2CAA2C,CAAC,CAAA;QAC7D,CAAC;KACF;IACD,OAAO,EAAE;QACP,SAAS,EAAT,4BAAS;QACT,gBAAgB,EAAhB,mCAAgB;KACjB;CACF,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from '../../engage-messaging-sendgrid/generated-types';
|
|
@@ -1,14 +0,0 @@
|
|
|
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("../../engage-messaging-sendgrid/generated-types"), exports);
|
|
14
|
-
//# sourceMappingURL=generated-types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generated-types.js","sourceRoot":"","sources":["../../../../src/destinations/engage/sendgrid/generated-types.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kFAA+D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/engage/sendgrid/index.ts"],"names":[],"mappings":";;AAAA,mEAA+D;AAC/D,kBAAe,6CAAqB,CAAA"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.actionDefinition = void 0;
|
|
4
|
-
const apiLookups_1 = require("../../utils/apiLookups");
|
|
5
|
-
exports.actionDefinition = {
|
|
6
|
-
title: 'Perform a single API lookup',
|
|
7
|
-
description: 'Perform a single API lookup and return the response',
|
|
8
|
-
fields: {
|
|
9
|
-
...apiLookups_1.apiLookupActionFields,
|
|
10
|
-
traits: {
|
|
11
|
-
label: 'Traits',
|
|
12
|
-
description: "A user profile's traits",
|
|
13
|
-
type: 'object',
|
|
14
|
-
required: false
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
perform: async (request, { settings, payload, statsContext, logger }) => {
|
|
18
|
-
const statsClient = statsContext?.statsClient;
|
|
19
|
-
const tags = statsContext?.tags ?? [];
|
|
20
|
-
const { traits = {}, ...apiLookupConfig } = payload;
|
|
21
|
-
const profile = { traits: traits };
|
|
22
|
-
const data = await apiLookups_1.performApiLookup(request, apiLookupConfig, profile, statsClient, tags, settings, logger);
|
|
23
|
-
return {
|
|
24
|
-
data
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
//# sourceMappingURL=actionDefinition.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"actionDefinition.js","sourceRoot":"","sources":["../../../../../src/destinations/engage/sendgrid/previewApiLookup/actionDefinition.ts"],"names":[],"mappings":";;;AAGA,uDAAgF;AAGnE,QAAA,gBAAgB,GAAwC;IACnE,KAAK,EAAE,6BAA6B;IACpC,WAAW,EAAE,qDAAqD;IAClE,MAAM,EAAE;QACN,GAAG,kCAAqB;QACxB,MAAM,EAAE;YACN,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,yBAAyB;YACtC,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,KAAK;SAChB;KACF;IACD,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,EAAE,EAAE;QACtE,MAAM,WAAW,GAAG,YAAY,EAAE,WAAW,CAAA;QAC7C,MAAM,IAAI,GAAG,YAAY,EAAE,IAAI,IAAI,EAAE,CAAA;QACrC,MAAM,EAAE,MAAM,GAAG,EAAE,EAAE,GAAG,eAAe,EAAE,GAAG,OAAO,CAAA;QACnD,MAAM,OAAO,GAAY,EAAE,MAAM,EAAE,MAAgC,EAAE,CAAA;QACrE,MAAM,IAAI,GAAG,MAAM,6BAAgB,CAAC,OAAO,EAAE,eAAe,EAAE,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAA;QAC3G,OAAO;YACL,IAAI;SACL,CAAA;IACH,CAAC;CACF,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from '../../../engage-messaging-sendgrid/previewApiLookup.types';
|
|
@@ -1,14 +0,0 @@
|
|
|
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("../../../engage-messaging-sendgrid/previewApiLookup.types"), exports);
|
|
14
|
-
//# sourceMappingURL=generated-types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generated-types.js","sourceRoot":"","sources":["../../../../../src/destinations/engage/sendgrid/previewApiLookup/generated-types.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4FAAyE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './actionDefinition';
|
|
@@ -1,14 +0,0 @@
|
|
|
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("./actionDefinition"), exports);
|
|
14
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/destinations/engage/sendgrid/previewApiLookup/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAkC"}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { ExtId, MessageSendPerformer, OperationContext, ResponseError } from '../../utils';
|
|
2
|
-
import type { Settings } from '../generated-types';
|
|
3
|
-
import type { Payload } from './generated-types';
|
|
4
|
-
import { Profile } from '../../utils/Profile';
|
|
5
|
-
import { Liquid as LiquidJs } from 'liquidjs';
|
|
6
|
-
import { ApiLookupConfig, apiLookupLiquidKey } from '../../utils/apiLookups';
|
|
7
|
-
export declare const EXTERNAL_ID_KEY = "email";
|
|
8
|
-
export declare const Liquid: LiquidJs;
|
|
9
|
-
export declare class SendEmailPerformer extends MessageSendPerformer<Settings, Payload> {
|
|
10
|
-
getIntegrationStatsName(): string;
|
|
11
|
-
getChannelType(): string;
|
|
12
|
-
getDefaultSettingsRegion(): string;
|
|
13
|
-
isSupportedExternalId(externalId: ExtId<Payload>): boolean;
|
|
14
|
-
isExternalIdSubscribed(extId: ExtId<Payload>): boolean | undefined;
|
|
15
|
-
getRecepients(): ExtId<Payload>[];
|
|
16
|
-
parseTemplating(content: string, liquidData: {
|
|
17
|
-
profile: Profile;
|
|
18
|
-
[apiLookupLiquidKey]?: Record<string, unknown>;
|
|
19
|
-
}, contentType: string): Promise<any>;
|
|
20
|
-
sendToRecepient(emailProfile: ExtId<Payload>): Promise<import("@segment/actions-core").ModifiedResponse<unknown> | undefined>;
|
|
21
|
-
getBodyTemplateFromS3(bodyUrl: string): Promise<string>;
|
|
22
|
-
getBodyHtml(profile: Profile, apiLookupData: Record<string, unknown>, emailProfile: {
|
|
23
|
-
id?: string | undefined;
|
|
24
|
-
type?: string | undefined;
|
|
25
|
-
subscriptionStatus?: string | undefined;
|
|
26
|
-
unsubscribeLink?: string | undefined;
|
|
27
|
-
preferencesLink?: string | undefined;
|
|
28
|
-
groups?: {
|
|
29
|
-
id?: string | undefined;
|
|
30
|
-
isSubscribed?: boolean | undefined;
|
|
31
|
-
groupUnsubscribeLink?: string | undefined;
|
|
32
|
-
}[] | undefined;
|
|
33
|
-
}): Promise<string>;
|
|
34
|
-
generateEmailHtml(design: string): Promise<string>;
|
|
35
|
-
performApiLookups(this: SendEmailPerformer, apiLookups: ApiLookupConfig[] | undefined, profile: Profile): Promise<Record<string, unknown>>;
|
|
36
|
-
validateLinkAndLog(link: string): void;
|
|
37
|
-
insertUnsubscribeLinks(html: string, emailProfile: EmailProfile): string;
|
|
38
|
-
onResponse(args: {
|
|
39
|
-
response?: Response;
|
|
40
|
-
error?: ResponseError;
|
|
41
|
-
operation: OperationContext;
|
|
42
|
-
}): void;
|
|
43
|
-
}
|
|
44
|
-
export declare type EmailProfile = ExtId<Payload>;
|