@segment/action-destinations 3.326.1-extensible-destination-http.0 → 3.327.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/customerio/index.js +0 -3
- package/dist/destinations/customerio/index.js.map +1 -1
- package/dist/destinations/customerio/trackEvent/index.js +0 -3
- package/dist/destinations/customerio/trackEvent/index.js.map +1 -1
- package/dist/destinations/google-enhanced-conversions/functions.d.ts +1 -1
- package/dist/destinations/google-enhanced-conversions/functions.js +1 -1
- package/dist/destinations/iterable/trackEvent/generated-types.d.ts +2 -0
- package/dist/destinations/iterable/trackEvent/index.js +35 -6
- package/dist/destinations/iterable/trackEvent/index.js.map +1 -1
- package/dist/destinations/iterable/updateUser/index.js +1 -1
- package/dist/destinations/iterable/updateUser/index.js.map +1 -1
- package/dist/destinations/iterable/utils.d.ts +1 -0
- package/dist/destinations/iterable/utils.js +1 -0
- package/dist/destinations/iterable/utils.js.map +1 -1
- package/dist/destinations/iterable-lists/index.js +1 -0
- package/dist/destinations/iterable-lists/index.js.map +1 -1
- package/dist/destinations/iterable-lists/syncAudience/iterable-client.js +2 -0
- package/dist/destinations/iterable-lists/syncAudience/iterable-client.js.map +1 -1
- package/dist/destinations/klaviyo/orderCompleted/index.js +5 -1
- package/dist/destinations/klaviyo/orderCompleted/index.js.map +1 -1
- package/dist/destinations/klaviyo/trackEvent/index.js +5 -1
- package/dist/destinations/klaviyo/trackEvent/index.js.map +1 -1
- package/dist/destinations/linkedin-conversions/streamConversion/index.js +1 -1
- package/dist/destinations/linkedin-conversions/streamConversion/index.js.map +1 -1
- package/dist/destinations/loops/createOrUpdateContact/generated-types.d.ts +2 -3
- package/dist/destinations/loops/createOrUpdateContact/index.js +31 -38
- package/dist/destinations/loops/createOrUpdateContact/index.js.map +1 -1
- package/dist/destinations/marketo-static-lists/removeFromList/index.js +1 -1
- package/dist/destinations/marketo-static-lists/removeFromList/index.js.map +1 -1
- package/dist/destinations/pinterest-conversions/index.js +1 -1
- package/dist/destinations/pinterest-conversions/index.js.map +1 -1
- package/dist/destinations/pinterest-conversions/pinterest-capi-custom-data.js +1 -1
- package/dist/destinations/pinterest-conversions/reportConversionEvent/generated-types.d.ts +1 -1
- package/dist/destinations/reddit-audiences/index.js +6 -2
- package/dist/destinations/reddit-audiences/index.js.map +1 -1
- package/dist/destinations/reddit-conversions-api/utils.js +9 -6
- package/dist/destinations/reddit-conversions-api/utils.js.map +1 -1
- package/dist/destinations/s3/functions.d.ts +3 -4
- package/dist/destinations/s3/functions.js +16 -17
- package/dist/destinations/s3/functions.js.map +1 -1
- package/dist/destinations/s3/types.d.ts +4 -0
- package/dist/destinations/webhook-extensible/__test__/webhook.test.js +67 -0
- package/dist/destinations/webhook-extensible/__test__/webhook.test.js.map +1 -1
- package/dist/destinations/webhook-extensible/index.d.ts +1 -4
- package/dist/destinations/webhook-extensible/index.js +9 -20
- package/dist/destinations/webhook-extensible/index.js.map +1 -1
- package/dist/destinations/webhook-extensible/send/index.js +3 -31
- package/dist/destinations/webhook-extensible/send/index.js.map +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 -27
- package/dist/destinations/accoil-analytics/postToAccoil/index.js.map +0 -1
- package/dist/destinations/amazon-ads/generated-types.d.ts +0 -12
- package/dist/destinations/amazon-ads/generated-types.js +0 -3
- package/dist/destinations/amazon-ads/generated-types.js.map +0 -1
- package/dist/destinations/amazon-ads/index.d.ts +0 -4
- package/dist/destinations/amazon-ads/index.js +0 -237
- package/dist/destinations/amazon-ads/index.js.map +0 -1
- package/dist/destinations/amazon-ads/syncAudiences/generated-types.d.ts +0 -15
- package/dist/destinations/amazon-ads/syncAudiences/generated-types.js +0 -3
- package/dist/destinations/amazon-ads/syncAudiences/generated-types.js.map +0 -1
- package/dist/destinations/amazon-ads/syncAudiences/index.d.ts +0 -5
- package/dist/destinations/amazon-ads/syncAudiences/index.js +0 -182
- package/dist/destinations/amazon-ads/syncAudiences/index.js.map +0 -1
- package/dist/destinations/amazon-ads/types.d.ts +0 -47
- package/dist/destinations/amazon-ads/types.js +0 -11
- package/dist/destinations/amazon-ads/types.js.map +0 -1
- package/dist/destinations/amazon-ads/utils.d.ts +0 -37
- package/dist/destinations/amazon-ads/utils.js +0 -25
- package/dist/destinations/amazon-ads/utils.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/braze/updateUserProfile/__snapshots__/snapshot.test.d.ts +0 -1
- package/dist/destinations/braze/updateUserProfile/__snapshots__/snapshot.test.js +0 -184
- package/dist/destinations/braze/updateUserProfile/__snapshots__/snapshot.test.js.map +0 -1
- package/dist/destinations/contentstack/constants.d.ts +0 -3
- package/dist/destinations/contentstack/constants.js +0 -7
- package/dist/destinations/contentstack/constants.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/dynamic-yield-audiences/syncAudience/types.d.ts +0 -22
- package/dist/destinations/dynamic-yield-audiences/syncAudience/types.js +0 -3
- package/dist/destinations/dynamic-yield-audiences/syncAudience/types.js.map +0 -1
- package/dist/destinations/dynamic-yield-audiences/types.d.ts +0 -8
- package/dist/destinations/dynamic-yield-audiences/types.js +0 -12
- package/dist/destinations/dynamic-yield-audiences/types.js.map +0 -1
- package/dist/destinations/engage/sendgrid/Profile.d.ts +0 -6
- package/dist/destinations/engage/sendgrid/Profile.js +0 -3
- package/dist/destinations/engage/sendgrid/Profile.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/api-lookups.d.ts +0 -21
- package/dist/destinations/engage/sendgrid/previewApiLookup/api-lookups.js +0 -174
- package/dist/destinations/engage/sendgrid/previewApiLookup/api-lookups.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/_tests_/index.test.d.ts +0 -1
- package/dist/destinations/first-party-dv360/_tests_/index.test.js +0 -48
- package/dist/destinations/first-party-dv360/_tests_/index.test.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/klaviyo/orderCompleted/formatters.d.ts +0 -26
- package/dist/destinations/klaviyo/orderCompleted/formatters.js +0 -62
- package/dist/destinations/klaviyo/orderCompleted/formatters.js.map +0 -1
- package/dist/destinations/klaviyo/orderCompleted/types.d.ts +0 -2
- package/dist/destinations/klaviyo/orderCompleted/types.js +0 -3
- package/dist/destinations/klaviyo/orderCompleted/types.js.map +0 -1
- package/dist/destinations/klaviyo/removeProfileToList/generated-types.d.ts +0 -4
- package/dist/destinations/klaviyo/removeProfileToList/generated-types.js +0 -3
- package/dist/destinations/klaviyo/removeProfileToList/generated-types.js.map +0 -1
- package/dist/destinations/klaviyo/removeProfileToList/index.d.ts +0 -5
- package/dist/destinations/klaviyo/removeProfileToList/index.js +0 -43
- package/dist/destinations/klaviyo/removeProfileToList/index.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 -32
- package/dist/destinations/mappings-two-test/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 -343
- package/dist/destinations/mappings-two-test/sendEvent/index.js.map +0 -1
- package/dist/destinations/mixpanel/utils.d.ts +0 -13
- package/dist/destinations/mixpanel/utils.js +0 -117
- package/dist/destinations/mixpanel/utils.js.map +0 -1
- package/dist/destinations/movable-ink/categoryView/generated-types.d.ts +0 -22
- package/dist/destinations/movable-ink/categoryView/generated-types.js +0 -3
- package/dist/destinations/movable-ink/categoryView/generated-types.js.map +0 -1
- package/dist/destinations/movable-ink/categoryView/index.d.ts +0 -5
- package/dist/destinations/movable-ink/categoryView/index.js +0 -43
- package/dist/destinations/movable-ink/categoryView/index.js.map +0 -1
- package/dist/destinations/movable-ink/conversion/generated-types.d.ts +0 -20
- package/dist/destinations/movable-ink/conversion/generated-types.js +0 -3
- package/dist/destinations/movable-ink/conversion/generated-types.js.map +0 -1
- package/dist/destinations/movable-ink/conversion/index.d.ts +0 -5
- package/dist/destinations/movable-ink/conversion/index.js +0 -45
- package/dist/destinations/movable-ink/conversion/index.js.map +0 -1
- package/dist/destinations/movable-ink/fields.d.ts +0 -21
- package/dist/destinations/movable-ink/fields.js +0 -236
- package/dist/destinations/movable-ink/fields.js.map +0 -1
- package/dist/destinations/movable-ink/identify/generated-types.d.ts +0 -7
- package/dist/destinations/movable-ink/identify/generated-types.js +0 -3
- package/dist/destinations/movable-ink/identify/generated-types.js.map +0 -1
- package/dist/destinations/movable-ink/identify/index.d.ts +0 -5
- package/dist/destinations/movable-ink/identify/index.js +0 -32
- package/dist/destinations/movable-ink/identify/index.js.map +0 -1
- package/dist/destinations/movable-ink/productAdded/generated-types.d.ts +0 -22
- package/dist/destinations/movable-ink/productAdded/generated-types.js +0 -3
- package/dist/destinations/movable-ink/productAdded/generated-types.js.map +0 -1
- package/dist/destinations/movable-ink/productAdded/index.d.ts +0 -5
- package/dist/destinations/movable-ink/productAdded/index.js +0 -43
- package/dist/destinations/movable-ink/productAdded/index.js.map +0 -1
- package/dist/destinations/movable-ink/productViewed/generated-types.d.ts +0 -21
- package/dist/destinations/movable-ink/productViewed/generated-types.js +0 -3
- package/dist/destinations/movable-ink/productViewed/generated-types.js.map +0 -1
- package/dist/destinations/movable-ink/productViewed/index.d.ts +0 -5
- package/dist/destinations/movable-ink/productViewed/index.js +0 -43
- package/dist/destinations/movable-ink/productViewed/index.js.map +0 -1
- package/dist/destinations/movable-ink/search/generated-types.d.ts +0 -12
- package/dist/destinations/movable-ink/search/generated-types.js +0 -3
- package/dist/destinations/movable-ink/search/generated-types.js.map +0 -1
- package/dist/destinations/movable-ink/search/index.d.ts +0 -5
- package/dist/destinations/movable-ink/search/index.js +0 -43
- package/dist/destinations/movable-ink/search/index.js.map +0 -1
- package/dist/destinations/movable-ink/sendCustomEvent/generated-types.d.ts +0 -25
- package/dist/destinations/movable-ink/sendCustomEvent/generated-types.js +0 -3
- package/dist/destinations/movable-ink/sendCustomEvent/generated-types.js.map +0 -1
- package/dist/destinations/movable-ink/sendCustomEvent/index.d.ts +0 -5
- package/dist/destinations/movable-ink/sendCustomEvent/index.js +0 -48
- package/dist/destinations/movable-ink/sendCustomEvent/index.js.map +0 -1
- package/dist/destinations/responsys/asyncMergePetRecords/generated-types.d.ts +0 -14
- package/dist/destinations/responsys/asyncMergePetRecords/generated-types.js +0 -3
- package/dist/destinations/responsys/asyncMergePetRecords/generated-types.js.map +0 -1
- package/dist/destinations/responsys/asyncMergePetRecords/index.d.ts +0 -5
- package/dist/destinations/responsys/asyncMergePetRecords/index.js +0 -113
- package/dist/destinations/responsys/asyncMergePetRecords/index.js.map +0 -1
- package/dist/destinations/responsys/asyncMergeProfileListMembers/generated-types.d.ts +0 -20
- package/dist/destinations/responsys/asyncMergeProfileListMembers/generated-types.js +0 -3
- package/dist/destinations/responsys/asyncMergeProfileListMembers/generated-types.js.map +0 -1
- package/dist/destinations/responsys/asyncMergeProfileListMembers/index.d.ts +0 -5
- package/dist/destinations/responsys/asyncMergeProfileListMembers/index.js +0 -174
- package/dist/destinations/responsys/asyncMergeProfileListMembers/index.js.map +0 -1
- package/dist/destinations/responsys/rsp-operations.d.ts +0 -14
- package/dist/destinations/responsys/rsp-operations.js +0 -33
- package/dist/destinations/responsys/rsp-operations.js.map +0 -1
- package/dist/destinations/responsys/rsp-properties.d.ts +0 -4
- package/dist/destinations/responsys/rsp-properties.js +0 -27
- package/dist/destinations/responsys/rsp-properties.js.map +0 -1
- package/dist/destinations/snap-conversions-api/_tests_/capiV2tests.d.ts +0 -1
- package/dist/destinations/snap-conversions-api/_tests_/capiV2tests.js +0 -381
- package/dist/destinations/snap-conversions-api/_tests_/capiV2tests.js.map +0 -1
- package/dist/destinations/snap-conversions-api/_tests_/capiV3tests.d.ts +0 -1
- package/dist/destinations/snap-conversions-api/_tests_/capiV3tests.js +0 -581
- package/dist/destinations/snap-conversions-api/_tests_/capiV3tests.js.map +0 -1
- package/dist/destinations/snap-conversions-api/reportConversionEvent/snap-capi-v2.d.ts +0 -4
- package/dist/destinations/snap-conversions-api/reportConversionEvent/snap-capi-v2.js +0 -97
- package/dist/destinations/snap-conversions-api/reportConversionEvent/snap-capi-v2.js.map +0 -1
- package/dist/destinations/snap-conversions-api/snap-capi-properties.d.ts +0 -30
- package/dist/destinations/snap-conversions-api/snap-capi-properties.js +0 -316
- package/dist/destinations/snap-conversions-api/snap-capi-properties.js.map +0 -1
- package/dist/destinations/tiktok-conversions/reportWebEvent/formatter.d.ts +0 -3
- package/dist/destinations/tiktok-conversions/reportWebEvent/formatter.js +0 -34
- package/dist/destinations/tiktok-conversions/reportWebEvent/formatter.js.map +0 -1
- package/dist/destinations/tiktok-offline-conversions/reportOfflineEvent/formatter.d.ts +0 -3
- package/dist/destinations/tiktok-offline-conversions/reportOfflineEvent/formatter.js +0 -43
- package/dist/destinations/tiktok-offline-conversions/reportOfflineEvent/formatter.js.map +0 -1
- package/dist/destinations/trackey/group.types.d.ts +0 -11
- package/dist/destinations/trackey/group.types.js +0 -3
- package/dist/destinations/trackey/group.types.js.map +0 -1
- package/dist/destinations/trackey/identify.types.d.ts +0 -11
- package/dist/destinations/trackey/identify.types.js +0 -3
- package/dist/destinations/trackey/identify.types.js.map +0 -1
- package/dist/destinations/trackey/track.types.d.ts +0 -12
- package/dist/destinations/trackey/track.types.js +0 -3
- package/dist/destinations/trackey/track.types.js.map +0 -1
- package/dist/destinations/webhook-extensible/types.d.ts +0 -6
- package/dist/destinations/webhook-extensible/types.js +0 -3
- package/dist/destinations/webhook-extensible/types.js.map +0 -1
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.formatProductItems = exports.formatOrderedProduct = exports.convertKeysToTitleCase = void 0;
|
|
4
|
-
function toTitleCase(str) {
|
|
5
|
-
return (str
|
|
6
|
-
.replace(/[^a-zA-Z0-9]/g, ' ')
|
|
7
|
-
.replace(/\s+/g, ' ')
|
|
8
|
-
.trim()
|
|
9
|
-
.split(' ')
|
|
10
|
-
.map((word) => word.charAt(0).toUpperCase() + word.slice(1))
|
|
11
|
-
.join(''));
|
|
12
|
-
}
|
|
13
|
-
function convertKeysToTitleCase(obj, level = 0) {
|
|
14
|
-
if (level > 1)
|
|
15
|
-
return obj;
|
|
16
|
-
return Object.fromEntries(Object.entries(obj).map(([key, value]) => {
|
|
17
|
-
if (typeof value === 'object' && !Array.isArray(value)) {
|
|
18
|
-
return [toTitleCase(key), convertKeysToTitleCase(value, level + 1)];
|
|
19
|
-
}
|
|
20
|
-
if (Array.isArray(value)) {
|
|
21
|
-
return [toTitleCase(key), value];
|
|
22
|
-
}
|
|
23
|
-
return [toTitleCase(key), value];
|
|
24
|
-
}));
|
|
25
|
-
}
|
|
26
|
-
exports.convertKeysToTitleCase = convertKeysToTitleCase;
|
|
27
|
-
function formatOrderedProduct(product, order_id, unique_event_id) {
|
|
28
|
-
const event_id = unique_event_id ?? order_id;
|
|
29
|
-
const unique_product_id = product.product_id || product.sku || product?.id;
|
|
30
|
-
const unique_id = event_id && unique_product_id ? `${event_id}_${unique_product_id}` : undefined;
|
|
31
|
-
const { name, quantity, sku, price, url, image_url, category, product_id, id, ...otherProperties } = product;
|
|
32
|
-
const productProperties = {
|
|
33
|
-
OrderId: order_id,
|
|
34
|
-
ProductId: product_id ?? id,
|
|
35
|
-
SKU: sku,
|
|
36
|
-
ProductName: name,
|
|
37
|
-
Quantity: quantity,
|
|
38
|
-
Categories: category ? [category] : [],
|
|
39
|
-
ProductURL: url,
|
|
40
|
-
ImageURL: image_url,
|
|
41
|
-
...convertKeysToTitleCase(otherProperties)
|
|
42
|
-
};
|
|
43
|
-
return { unique_id, productProperties };
|
|
44
|
-
}
|
|
45
|
-
exports.formatOrderedProduct = formatOrderedProduct;
|
|
46
|
-
function formatProductItems(product) {
|
|
47
|
-
const { sku, name, quantity, price, category, url, image_url, id, product_id, ...otherProperties } = product;
|
|
48
|
-
return {
|
|
49
|
-
ProductId: product_id ?? id,
|
|
50
|
-
SKU: sku,
|
|
51
|
-
ProductName: name,
|
|
52
|
-
Quantity: quantity,
|
|
53
|
-
ItemPrice: price,
|
|
54
|
-
RowTotal: price,
|
|
55
|
-
Categories: category ? [category] : [],
|
|
56
|
-
ProductURL: url,
|
|
57
|
-
ImageURL: image_url,
|
|
58
|
-
...convertKeysToTitleCase(otherProperties)
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
exports.formatProductItems = formatProductItems;
|
|
62
|
-
//# sourceMappingURL=formatters.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"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,EAAE,KAAK;QACf,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE;QACtC,UAAU,EAAE,GAAG;QACf,QAAQ,EAAE,SAAS;QAGnB,GAAG,sBAAsB,CAAC,eAAe,CAAC;KAC3C,CAAA;AACH,CAAC;AAhBD,gDAgBC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/destinations/klaviyo/orderCompleted/types.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generated-types.js","sourceRoot":"","sources":["../../../../src/destinations/klaviyo/removeProfileToList/generated-types.ts"],"names":[],"mappings":""}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const actions_core_1 = require("@segment/actions-core");
|
|
4
|
-
const functions_1 = require("../functions");
|
|
5
|
-
const properties_1 = require("../properties");
|
|
6
|
-
const action = {
|
|
7
|
-
title: 'Remove profile from list',
|
|
8
|
-
description: 'Remove profile from list',
|
|
9
|
-
fields: {
|
|
10
|
-
email: { ...properties_1.email },
|
|
11
|
-
list_id: { ...properties_1.external_id }
|
|
12
|
-
},
|
|
13
|
-
perform: async (request, { payload }) => {
|
|
14
|
-
const { email, list_id } = payload;
|
|
15
|
-
if (!email || !list_id) {
|
|
16
|
-
throw new actions_core_1.IntegrationError("Insert the ID of the default list that you'd like to subscribe users", 'Missing required fields', 400);
|
|
17
|
-
}
|
|
18
|
-
try {
|
|
19
|
-
const profileData = await functions_1.getProfile(request, email);
|
|
20
|
-
const v = JSON.parse(profileData.content);
|
|
21
|
-
if (Object.keys(v).length !== 0) {
|
|
22
|
-
console.log(v);
|
|
23
|
-
const listData = {
|
|
24
|
-
data: [
|
|
25
|
-
{
|
|
26
|
-
type: 'profile',
|
|
27
|
-
id: v.data[0].id
|
|
28
|
-
}
|
|
29
|
-
]
|
|
30
|
-
};
|
|
31
|
-
const list = await functions_1.executeProfileList(request, 'DELETE', listData, list_id);
|
|
32
|
-
return list;
|
|
33
|
-
}
|
|
34
|
-
return;
|
|
35
|
-
}
|
|
36
|
-
catch (error) {
|
|
37
|
-
console.log(error);
|
|
38
|
-
throw new Error('An error occurred while processing the request');
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
exports.default = action;
|
|
43
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/klaviyo/removeProfileToList/index.ts"],"names":[],"mappings":";;AAAA,wDAA0E;AAK1E,4CAA6D;AAC7D,8CAAkD;AAElD,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,0BAA0B;IACjC,WAAW,EAAE,0BAA0B;IACvC,MAAM,EAAE;QACN,KAAK,EAAE,EAAE,GAAG,kBAAK,EAAE;QACnB,OAAO,EAAE,EAAE,GAAG,wBAAW,EAAE;KAC5B;IACD,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;QACtC,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,GAAG,OAAO,CAAA;QAClC,IAAI,CAAC,KAAK,IAAI,CAAC,OAAO,EAAE;YACtB,MAAM,IAAI,+BAAgB,CACxB,sEAAsE,EACtE,yBAAyB,EACzB,GAAG,CACJ,CAAA;SACF;QACD,IAAI;YACF,MAAM,WAAW,GAA2B,MAAM,sBAAU,CAAC,OAAO,EAAE,KAAK,CAAC,CAAA;YAC5E,MAAM,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,OAAO,CAAC,CAAA;YACzC,IAAI,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,MAAM,KAAK,CAAC,EAAE;gBAC/B,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAA;gBACd,MAAM,QAAQ,GAAa;oBACzB,IAAI,EAAE;wBACJ;4BACE,IAAI,EAAE,SAAS;4BACf,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE;yBACjB;qBACF;iBACF,CAAA;gBAED,MAAM,IAAI,GAAG,MAAM,8BAAkB,CAAC,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAA;gBAC3E,OAAO,IAAI,CAAA;aACZ;YACD,OAAM;SACP;QAAC,OAAO,KAAK,EAAE;YACd,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;YAClB,MAAM,IAAI,KAAK,CAAC,gDAAgD,CAAC,CAAA;SAClE;IACH,CAAC;CACF,CAAA;AAED,kBAAe,MAAM,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generated-types.js","sourceRoot":"","sources":["../../../src/destinations/mappings-two-test/generated-types.ts"],"names":[],"mappings":""}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const sendEvent_1 = __importDefault(require("./sendEvent"));
|
|
7
|
-
const kitchenSink_1 = __importDefault(require("./kitchenSink"));
|
|
8
|
-
const destination = {
|
|
9
|
-
name: 'Mappings Two Test',
|
|
10
|
-
slug: 'actions-mappings-two-test',
|
|
11
|
-
mode: 'cloud',
|
|
12
|
-
authentication: {
|
|
13
|
-
scheme: 'custom',
|
|
14
|
-
fields: {
|
|
15
|
-
apiKey: {
|
|
16
|
-
label: 'API Key',
|
|
17
|
-
description: 'Your Mappings Two Test API Key. This is a Segment production write key that you can find in your Segment settings. All the actions in this destination will send payloads as Segment events to this source.',
|
|
18
|
-
type: 'string',
|
|
19
|
-
required: true
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
testAuthentication: (request, { settings }) => {
|
|
23
|
-
return request(`https://cdn.segment.com/v1/projects/${settings.apiKey}/settings`);
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
actions: {
|
|
27
|
-
sendEvent: sendEvent_1.default,
|
|
28
|
-
kitchenSink: kitchenSink_1.default
|
|
29
|
-
}
|
|
30
|
-
};
|
|
31
|
-
exports.default = destination;
|
|
32
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/destinations/mappings-two-test/index.ts"],"names":[],"mappings":";;;;;AAGA,4DAAmC;AACnC,gEAAuC;AAEvC,MAAM,WAAW,GAAoC;IACnD,IAAI,EAAE,mBAAmB;IACzB,IAAI,EAAE,2BAA2B;IACjC,IAAI,EAAE,OAAO;IAEb,cAAc,EAAE;QACd,MAAM,EAAE,QAAQ;QAChB,MAAM,EAAE;YACN,MAAM,EAAE;gBACN,KAAK,EAAE,SAAS;gBAChB,WAAW,EACT,6MAA6M;gBAC/M,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,IAAI;aACf;SACF;QACD,kBAAkB,EAAE,CAAC,OAAO,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;YAC5C,OAAO,OAAO,CAAC,uCAAuC,QAAQ,CAAC,MAAM,WAAW,CAAC,CAAA;QACnF,CAAC;KACF;IAED,OAAO,EAAE;QACP,SAAS,EAAT,mBAAS;QACT,WAAW,EAAX,qBAAW;KACZ;CACF,CAAA;AAED,kBAAe,WAAW,CAAA"}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
export interface Payload {
|
|
2
|
-
string_field?: string;
|
|
3
|
-
dynamic_string_field?: string;
|
|
4
|
-
number_field: number;
|
|
5
|
-
boolean_field?: boolean;
|
|
6
|
-
string_select?: string;
|
|
7
|
-
select_number?: number;
|
|
8
|
-
array_field?: string[];
|
|
9
|
-
date_time_field?: string | number;
|
|
10
|
-
integer_field?: number;
|
|
11
|
-
password_field?: string;
|
|
12
|
-
text_field?: string;
|
|
13
|
-
unstructured_object?: {
|
|
14
|
-
[k: string]: unknown;
|
|
15
|
-
};
|
|
16
|
-
mappable_object?: {
|
|
17
|
-
[k: string]: unknown;
|
|
18
|
-
};
|
|
19
|
-
mappable_and_editable_object?: {
|
|
20
|
-
[k: string]: unknown;
|
|
21
|
-
};
|
|
22
|
-
structured_object?: {
|
|
23
|
-
name?: string;
|
|
24
|
-
age?: number;
|
|
25
|
-
is_active?: boolean;
|
|
26
|
-
role?: string;
|
|
27
|
-
};
|
|
28
|
-
structured_object_with_additional_properties?: {
|
|
29
|
-
name?: string;
|
|
30
|
-
age?: number;
|
|
31
|
-
[k: string]: unknown;
|
|
32
|
-
};
|
|
33
|
-
structured_array_of_objects?: {
|
|
34
|
-
name?: string;
|
|
35
|
-
age?: number;
|
|
36
|
-
}[];
|
|
37
|
-
structured_array_of_objects_with_additional_props?: {
|
|
38
|
-
name?: string;
|
|
39
|
-
age?: number;
|
|
40
|
-
[k: string]: unknown;
|
|
41
|
-
}[];
|
|
42
|
-
}
|
|
43
|
-
export interface HookBundle {
|
|
44
|
-
onMappingSave: {
|
|
45
|
-
inputs?: {
|
|
46
|
-
structured_hook_input?: {
|
|
47
|
-
name?: string;
|
|
48
|
-
age?: number;
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
outputs?: {};
|
|
52
|
-
};
|
|
53
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generated-types.js","sourceRoot":"","sources":["../../../../src/destinations/mappings-two-test/kitchenSink/generated-types.ts"],"names":[],"mappings":""}
|
|
@@ -1,289 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const action = {
|
|
4
|
-
title: 'Kitchen Sink',
|
|
5
|
-
description: 'Action with all possible field types',
|
|
6
|
-
platform: 'cloud',
|
|
7
|
-
syncMode: {
|
|
8
|
-
description: 'Define how the records from your destination will be synced to mappings 2 test destination',
|
|
9
|
-
label: 'How to sync records',
|
|
10
|
-
default: 'add',
|
|
11
|
-
choices: [
|
|
12
|
-
{ label: 'Adds record to mappings 2 test destination', value: 'add' },
|
|
13
|
-
{ label: 'Updates record in mappings 2 test destination', value: 'update' }
|
|
14
|
-
]
|
|
15
|
-
},
|
|
16
|
-
hooks: {
|
|
17
|
-
onMappingSave: {
|
|
18
|
-
label: 'Excute the test hook 🎣',
|
|
19
|
-
description: 'This hook will be executed when the mapping is saved 🐟🐟🐟. It will send a test event to the destination.',
|
|
20
|
-
inputFields: {
|
|
21
|
-
structured_hook_input: {
|
|
22
|
-
label: 'Structured Hook Input',
|
|
23
|
-
description: 'A test structured object',
|
|
24
|
-
type: 'object',
|
|
25
|
-
properties: {
|
|
26
|
-
name: {
|
|
27
|
-
label: 'Name',
|
|
28
|
-
description: 'A test string field',
|
|
29
|
-
type: 'string'
|
|
30
|
-
},
|
|
31
|
-
age: {
|
|
32
|
-
label: 'Age',
|
|
33
|
-
description: 'A test number field',
|
|
34
|
-
type: 'number'
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
outputTypes: {},
|
|
40
|
-
performHook: async (request, { hookInputs, hookOutputs, payload, settings }) => {
|
|
41
|
-
const api_key = settings.apiKey;
|
|
42
|
-
await request('https://api.segment.io/v1/t', {
|
|
43
|
-
method: 'POST',
|
|
44
|
-
json: {
|
|
45
|
-
userId: 'test-user',
|
|
46
|
-
type: 'track',
|
|
47
|
-
event: 'test-event-hooks',
|
|
48
|
-
writeKey: api_key,
|
|
49
|
-
properties: {
|
|
50
|
-
hookInputs,
|
|
51
|
-
hookOutputs,
|
|
52
|
-
payload
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
});
|
|
56
|
-
return {};
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
fields: {
|
|
61
|
-
string_field: {
|
|
62
|
-
label: 'String Field',
|
|
63
|
-
description: 'A test string field',
|
|
64
|
-
type: 'string',
|
|
65
|
-
format: 'email'
|
|
66
|
-
},
|
|
67
|
-
dynamic_string_field: {
|
|
68
|
-
label: 'Dynamic String Field',
|
|
69
|
-
description: 'A test dynamic string field',
|
|
70
|
-
type: 'string',
|
|
71
|
-
dynamic: true
|
|
72
|
-
},
|
|
73
|
-
number_field: {
|
|
74
|
-
label: 'Number Field',
|
|
75
|
-
description: 'A test number field',
|
|
76
|
-
type: 'number',
|
|
77
|
-
required: true
|
|
78
|
-
},
|
|
79
|
-
boolean_field: {
|
|
80
|
-
label: 'Boolean Field',
|
|
81
|
-
description: 'A test boolean field',
|
|
82
|
-
type: 'boolean'
|
|
83
|
-
},
|
|
84
|
-
string_select: {
|
|
85
|
-
label: 'Select field',
|
|
86
|
-
description: 'A test select field to pick a single string value',
|
|
87
|
-
type: 'string',
|
|
88
|
-
choices: [
|
|
89
|
-
{ label: 'Option 1', value: 'option1' },
|
|
90
|
-
{ label: 'Option 2', value: 'option2' }
|
|
91
|
-
]
|
|
92
|
-
},
|
|
93
|
-
select_number: {
|
|
94
|
-
label: 'Select Number',
|
|
95
|
-
description: 'A test select field to pick a single number value',
|
|
96
|
-
type: 'number',
|
|
97
|
-
choices: [
|
|
98
|
-
{ label: 'Number 1', value: 1 },
|
|
99
|
-
{ label: 'Number 2', value: 2 }
|
|
100
|
-
]
|
|
101
|
-
},
|
|
102
|
-
array_field: {
|
|
103
|
-
label: 'Array of string field (Unsupported)',
|
|
104
|
-
description: 'A test array of string field',
|
|
105
|
-
type: 'string',
|
|
106
|
-
multiple: true
|
|
107
|
-
},
|
|
108
|
-
date_time_field: {
|
|
109
|
-
label: 'Date time field',
|
|
110
|
-
description: 'A test date time field',
|
|
111
|
-
type: 'datetime'
|
|
112
|
-
},
|
|
113
|
-
integer_field: {
|
|
114
|
-
label: 'Integer field',
|
|
115
|
-
description: 'A test integer field',
|
|
116
|
-
type: 'integer'
|
|
117
|
-
},
|
|
118
|
-
password_field: {
|
|
119
|
-
label: 'Password field',
|
|
120
|
-
description: 'A test password field',
|
|
121
|
-
type: 'password'
|
|
122
|
-
},
|
|
123
|
-
text_field: {
|
|
124
|
-
label: 'Text field',
|
|
125
|
-
description: 'A Text Field',
|
|
126
|
-
type: 'text'
|
|
127
|
-
},
|
|
128
|
-
unstructured_object: {
|
|
129
|
-
label: 'Unstructured Object',
|
|
130
|
-
description: 'A test unstructured object',
|
|
131
|
-
type: 'object',
|
|
132
|
-
defaultObjectUI: 'keyvalue:only'
|
|
133
|
-
},
|
|
134
|
-
mappable_object: {
|
|
135
|
-
label: 'Unstructured Object that is only mappable',
|
|
136
|
-
description: 'A test unstructured object',
|
|
137
|
-
type: 'object',
|
|
138
|
-
defaultObjectUI: 'object:only'
|
|
139
|
-
},
|
|
140
|
-
mappable_and_editable_object: {
|
|
141
|
-
label: 'Unstructured Object that is both mappable and editable',
|
|
142
|
-
description: 'A test unstructured object that is both mappable and editable',
|
|
143
|
-
type: 'object'
|
|
144
|
-
},
|
|
145
|
-
structured_object: {
|
|
146
|
-
label: 'Structured Object',
|
|
147
|
-
description: 'A test structured object',
|
|
148
|
-
type: 'object',
|
|
149
|
-
properties: {
|
|
150
|
-
name: {
|
|
151
|
-
label: 'Name',
|
|
152
|
-
description: 'A test string field',
|
|
153
|
-
type: 'string'
|
|
154
|
-
},
|
|
155
|
-
age: {
|
|
156
|
-
label: 'Age',
|
|
157
|
-
description: 'A test number field',
|
|
158
|
-
type: 'number'
|
|
159
|
-
},
|
|
160
|
-
is_active: {
|
|
161
|
-
label: 'Is Active',
|
|
162
|
-
description: 'A test boolean field',
|
|
163
|
-
type: 'boolean'
|
|
164
|
-
},
|
|
165
|
-
role: {
|
|
166
|
-
label: 'Role',
|
|
167
|
-
description: 'A test select field to pick a single string value',
|
|
168
|
-
type: 'string',
|
|
169
|
-
choices: [
|
|
170
|
-
{ label: 'Admin', value: 'admin' },
|
|
171
|
-
{ label: 'User', value: 'user' }
|
|
172
|
-
]
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
},
|
|
176
|
-
structured_object_with_additional_properties: {
|
|
177
|
-
label: 'Structured Object with Additional Properties',
|
|
178
|
-
description: 'A test structured object with additional properties',
|
|
179
|
-
type: 'object',
|
|
180
|
-
additionalProperties: true,
|
|
181
|
-
properties: {
|
|
182
|
-
name: {
|
|
183
|
-
label: 'Name',
|
|
184
|
-
description: 'A test string field',
|
|
185
|
-
type: 'string'
|
|
186
|
-
},
|
|
187
|
-
age: {
|
|
188
|
-
label: 'Age',
|
|
189
|
-
description: 'A test number field',
|
|
190
|
-
type: 'number'
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
},
|
|
194
|
-
structured_array_of_objects: {
|
|
195
|
-
label: 'Structured Array of Objects',
|
|
196
|
-
description: 'A test structured array of objects',
|
|
197
|
-
type: 'object',
|
|
198
|
-
multiple: true,
|
|
199
|
-
properties: {
|
|
200
|
-
name: {
|
|
201
|
-
label: 'Name',
|
|
202
|
-
description: 'A test string field',
|
|
203
|
-
type: 'string'
|
|
204
|
-
},
|
|
205
|
-
age: {
|
|
206
|
-
label: 'Age',
|
|
207
|
-
description: 'A test number field',
|
|
208
|
-
type: 'number'
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
},
|
|
212
|
-
structured_array_of_objects_with_additional_props: {
|
|
213
|
-
label: 'Structured Array of Objects with Additional Properties',
|
|
214
|
-
description: 'A test structured array of objects with additional properties',
|
|
215
|
-
type: 'object',
|
|
216
|
-
multiple: true,
|
|
217
|
-
additionalProperties: true,
|
|
218
|
-
properties: {
|
|
219
|
-
name: {
|
|
220
|
-
label: 'Name',
|
|
221
|
-
description: 'A test string field',
|
|
222
|
-
type: 'string'
|
|
223
|
-
},
|
|
224
|
-
age: {
|
|
225
|
-
label: 'Age',
|
|
226
|
-
description: 'A test number field',
|
|
227
|
-
type: 'number'
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
},
|
|
232
|
-
dynamicFields: {
|
|
233
|
-
dynamic_string_field: async () => {
|
|
234
|
-
return Promise.resolve({
|
|
235
|
-
choices: [
|
|
236
|
-
{
|
|
237
|
-
label: 'Cat 🐱',
|
|
238
|
-
value: 'cat',
|
|
239
|
-
type: 'string',
|
|
240
|
-
description: 'A small, independent, and playful pet known for its agility and affectionate purring.'
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
label: 'Dog 🐶',
|
|
244
|
-
value: 'dog',
|
|
245
|
-
type: 'string',
|
|
246
|
-
description: "A loyal and friendly pet, great for companionship and known as man's best friend."
|
|
247
|
-
},
|
|
248
|
-
{
|
|
249
|
-
label: 'Elephant 🐘',
|
|
250
|
-
value: 'elephant',
|
|
251
|
-
type: 'string',
|
|
252
|
-
description: 'A large and intelligent animal with a trunk, known for its memory and social structure.'
|
|
253
|
-
},
|
|
254
|
-
{
|
|
255
|
-
label: 'Dolphin 🐬',
|
|
256
|
-
value: 'dolphin',
|
|
257
|
-
type: 'string',
|
|
258
|
-
description: 'A highly intelligent and social marine mammal known for its playful behavior and acrobatics.'
|
|
259
|
-
},
|
|
260
|
-
{
|
|
261
|
-
label: 'Tiger 🐅',
|
|
262
|
-
value: 'tiger',
|
|
263
|
-
type: 'string',
|
|
264
|
-
description: 'A majestic and powerful big cat, known for its striking orange coat with black stripes.'
|
|
265
|
-
}
|
|
266
|
-
],
|
|
267
|
-
nextPage: ''
|
|
268
|
-
});
|
|
269
|
-
}
|
|
270
|
-
},
|
|
271
|
-
perform: (request, { payload, settings, syncMode }) => {
|
|
272
|
-
const api_key = settings.apiKey;
|
|
273
|
-
return request('https://api.segment.io/v1/t', {
|
|
274
|
-
method: 'POST',
|
|
275
|
-
json: {
|
|
276
|
-
userId: 'test-user',
|
|
277
|
-
type: 'track',
|
|
278
|
-
event: 'test-event',
|
|
279
|
-
writeKey: api_key,
|
|
280
|
-
properties: {
|
|
281
|
-
...payload,
|
|
282
|
-
syncMode
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
});
|
|
286
|
-
}
|
|
287
|
-
};
|
|
288
|
-
exports.default = action;
|
|
289
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/mappings-two-test/kitchenSink/index.ts"],"names":[],"mappings":";;AAIA,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,cAAc;IACrB,WAAW,EAAE,sCAAsC;IACnD,QAAQ,EAAE,OAAO;IACjB,QAAQ,EAAE;QACR,WAAW,EAAE,4FAA4F;QACzG,KAAK,EAAE,qBAAqB;QAC5B,OAAO,EAAE,KAAK;QACd,OAAO,EAAE;YACP,EAAE,KAAK,EAAE,4CAA4C,EAAE,KAAK,EAAE,KAAK,EAAE;YACrE,EAAE,KAAK,EAAE,+CAA+C,EAAE,KAAK,EAAE,QAAQ,EAAE;SAC5E;KACF;IACD,KAAK,EAAE;QACL,aAAa,EAAE;YACb,KAAK,EAAE,yBAAyB;YAChC,WAAW,EACT,4GAA4G;YAC9G,WAAW,EAAE;gBACX,qBAAqB,EAAE;oBACrB,KAAK,EAAE,uBAAuB;oBAC9B,WAAW,EAAE,0BAA0B;oBACvC,IAAI,EAAE,QAAQ;oBACd,UAAU,EAAE;wBACV,IAAI,EAAE;4BACJ,KAAK,EAAE,MAAM;4BACb,WAAW,EAAE,qBAAqB;4BAClC,IAAI,EAAE,QAAQ;yBACf;wBACD,GAAG,EAAE;4BACH,KAAK,EAAE,KAAK;4BACZ,WAAW,EAAE,qBAAqB;4BAClC,IAAI,EAAE,QAAQ;yBACf;qBACF;iBACF;aACF;YAED,WAAW,EAAE,EAAE;YACf,WAAW,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,UAAU,EAAE,WAAW,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE;gBAC7E,MAAM,OAAO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d,IAAI,EAAE;gBACJ,MAAM,EAAE,WAAW;gBACnB,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE,YAAY;gBACnB,QAAQ,EAAE,OAAO;gBACjB,UAAU,EAAE;oBACV,GAAG,OAAO;oBACV,QAAQ;iBACT;aACF;SACF,CAAC,CAAA;IACJ,CAAC;CACF,CAAA;AAED,kBAAe,MAAM,CAAA"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export interface Payload {
|
|
2
|
-
test_field?: string;
|
|
3
|
-
dynamic_object: {
|
|
4
|
-
[k: string]: unknown;
|
|
5
|
-
};
|
|
6
|
-
dynamic_structured_object: {
|
|
7
|
-
pet?: string;
|
|
8
|
-
plant?: string;
|
|
9
|
-
name?: string;
|
|
10
|
-
age?: number;
|
|
11
|
-
};
|
|
12
|
-
dynamic_array?: {
|
|
13
|
-
product_category?: string;
|
|
14
|
-
product_name?: string;
|
|
15
|
-
product_price?: number;
|
|
16
|
-
}[];
|
|
17
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generated-types.js","sourceRoot":"","sources":["../../../../src/destinations/mappings-two-test/sendEvent/generated-types.ts"],"names":[],"mappings":""}
|