@segment/action-destinations 3.331.1-staging-85539dcc3.0 → 3.331.1-staging-80e4b0b3a
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/destinations/accoil-analytics/postToAccoil/generated-types.d.ts +5 -0
- package/dist/destinations/accoil-analytics/postToAccoil/generated-types.js +3 -0
- package/dist/destinations/accoil-analytics/postToAccoil/generated-types.js.map +1 -0
- package/dist/destinations/accoil-analytics/postToAccoil/index.d.ts +5 -0
- package/dist/destinations/accoil-analytics/postToAccoil/index.js +28 -0
- package/dist/destinations/accoil-analytics/postToAccoil/index.js.map +1 -0
- package/dist/destinations/blackbaud-raisers-edge-nxt/utils/index.d.ts +1 -1
- package/dist/destinations/braze/createAliasV2.types.d.ts +5 -0
- package/dist/destinations/braze/createAliasV2.types.js +3 -0
- package/dist/destinations/braze/createAliasV2.types.js.map +1 -0
- package/dist/destinations/braze/identifyUserV2.types.d.ts +8 -0
- package/dist/destinations/braze/identifyUserV2.types.js +3 -0
- package/dist/destinations/braze/identifyUserV2.types.js.map +1 -0
- package/dist/destinations/contentstack/customAttributesSync/generated-types.d.ts +7 -0
- package/dist/destinations/contentstack/customAttributesSync/generated-types.js +3 -0
- package/dist/destinations/contentstack/customAttributesSync/generated-types.js.map +1 -0
- package/dist/destinations/contentstack/customAttributesSync/index.d.ts +5 -0
- package/dist/destinations/contentstack/customAttributesSync/index.js +54 -0
- package/dist/destinations/contentstack/customAttributesSync/index.js.map +1 -0
- package/dist/destinations/contentstack/customAttributesSync/types.d.ts +14 -0
- package/dist/destinations/contentstack/customAttributesSync/types.js +3 -0
- package/dist/destinations/contentstack/customAttributesSync/types.js.map +1 -0
- package/dist/destinations/contentstack/customAttributesSync/utils.d.ts +4 -0
- package/dist/destinations/contentstack/customAttributesSync/utils.js +20 -0
- package/dist/destinations/contentstack/customAttributesSync/utils.js.map +1 -0
- package/dist/destinations/contentstack/types.d.ts +12 -0
- package/dist/destinations/contentstack/types.js +3 -0
- package/dist/destinations/contentstack/types.js.map +1 -0
- package/dist/destinations/engage/sendgrid/destinationDefinition.d.ts +3 -0
- package/dist/destinations/engage/sendgrid/destinationDefinition.js +70 -0
- package/dist/destinations/engage/sendgrid/destinationDefinition.js.map +1 -0
- package/dist/destinations/engage/sendgrid/generated-types.d.ts +1 -0
- package/dist/destinations/engage/sendgrid/generated-types.js +14 -0
- package/dist/destinations/engage/sendgrid/generated-types.js.map +1 -0
- package/dist/destinations/engage/sendgrid/index.d.ts +2 -0
- package/dist/destinations/engage/sendgrid/index.js +5 -0
- package/dist/destinations/engage/sendgrid/index.js.map +1 -0
- package/dist/destinations/engage/sendgrid/previewApiLookup/actionDefinition.d.ts +4 -0
- package/dist/destinations/engage/sendgrid/previewApiLookup/actionDefinition.js +28 -0
- package/dist/destinations/engage/sendgrid/previewApiLookup/actionDefinition.js.map +1 -0
- package/dist/destinations/engage/sendgrid/previewApiLookup/generated-types.d.ts +1 -0
- package/dist/destinations/engage/sendgrid/previewApiLookup/generated-types.js +14 -0
- package/dist/destinations/engage/sendgrid/previewApiLookup/generated-types.js.map +1 -0
- package/dist/destinations/engage/sendgrid/previewApiLookup/index.d.ts +1 -0
- package/dist/destinations/engage/sendgrid/previewApiLookup/index.js +14 -0
- package/dist/destinations/engage/sendgrid/previewApiLookup/index.js.map +1 -0
- package/dist/destinations/engage/sendgrid/sendEmail/SendEmailPerformer.d.ts +44 -0
- package/dist/destinations/engage/sendgrid/sendEmail/SendEmailPerformer.js +419 -0
- package/dist/destinations/engage/sendgrid/sendEmail/SendEmailPerformer.js.map +1 -0
- package/dist/destinations/engage/sendgrid/sendEmail/UnlayerResponse.d.ts +12 -0
- package/dist/destinations/engage/sendgrid/sendEmail/UnlayerResponse.js +3 -0
- package/dist/destinations/engage/sendgrid/sendEmail/UnlayerResponse.js.map +1 -0
- package/dist/destinations/engage/sendgrid/sendEmail/actionDefinition.d.ts +4 -0
- package/dist/destinations/engage/sendgrid/sendEmail/actionDefinition.js +257 -0
- package/dist/destinations/engage/sendgrid/sendEmail/actionDefinition.js.map +1 -0
- package/dist/destinations/engage/sendgrid/sendEmail/generated-types.d.ts +1 -0
- package/dist/destinations/engage/sendgrid/sendEmail/generated-types.js +14 -0
- package/dist/destinations/engage/sendgrid/sendEmail/generated-types.js.map +1 -0
- package/dist/destinations/engage/sendgrid/sendEmail/index.d.ts +1 -0
- package/dist/destinations/engage/sendgrid/sendEmail/index.js +14 -0
- package/dist/destinations/engage/sendgrid/sendEmail/index.js.map +1 -0
- package/dist/destinations/engage/sendgrid/sendEmail/insertEmailPreviewText.d.ts +1 -0
- package/dist/destinations/engage/sendgrid/sendEmail/insertEmailPreviewText.js +23 -0
- package/dist/destinations/engage/sendgrid/sendEmail/insertEmailPreviewText.js.map +1 -0
- package/dist/destinations/engage/sendgrid/sendEmail/isRestrictedDomain.d.ts +1 -0
- package/dist/destinations/engage/sendgrid/sendEmail/isRestrictedDomain.js +14 -0
- package/dist/destinations/engage/sendgrid/sendEmail/isRestrictedDomain.js.map +1 -0
- package/dist/destinations/engage/twilio/destinationDefinition.d.ts +3 -0
- package/dist/destinations/engage/twilio/destinationDefinition.js +172 -0
- package/dist/destinations/engage/twilio/destinationDefinition.js.map +1 -0
- package/dist/destinations/engage/twilio/generated-types.d.ts +1 -0
- package/dist/destinations/engage/twilio/generated-types.js +14 -0
- package/dist/destinations/engage/twilio/generated-types.js.map +1 -0
- package/dist/destinations/engage/twilio/index.d.ts +2 -0
- package/dist/destinations/engage/twilio/index.js +5 -0
- package/dist/destinations/engage/twilio/index.js.map +1 -0
- package/dist/destinations/engage/twilio/sendMobilePush/PushSender.d.ts +28 -0
- package/dist/destinations/engage/twilio/sendMobilePush/PushSender.js +151 -0
- package/dist/destinations/engage/twilio/sendMobilePush/PushSender.js.map +1 -0
- package/dist/destinations/engage/twilio/sendMobilePush/actionDefinition.d.ts +4 -0
- package/dist/destinations/engage/twilio/sendMobilePush/actionDefinition.js +250 -0
- package/dist/destinations/engage/twilio/sendMobilePush/actionDefinition.js.map +1 -0
- package/dist/destinations/engage/twilio/sendMobilePush/generated-types.d.ts +1 -0
- package/dist/destinations/engage/twilio/sendMobilePush/generated-types.js +14 -0
- package/dist/destinations/engage/twilio/sendMobilePush/generated-types.js.map +1 -0
- package/dist/destinations/engage/twilio/sendMobilePush/index.d.ts +1 -0
- package/dist/destinations/engage/twilio/sendMobilePush/index.js +14 -0
- package/dist/destinations/engage/twilio/sendMobilePush/index.js.map +1 -0
- package/dist/destinations/engage/twilio/sendSms/SmsMessageSender.d.ts +9 -0
- package/dist/destinations/engage/twilio/sendSms/SmsMessageSender.js +72 -0
- package/dist/destinations/engage/twilio/sendSms/SmsMessageSender.js.map +1 -0
- package/dist/destinations/engage/twilio/sendSms/actionDefinition.d.ts +4 -0
- package/dist/destinations/engage/twilio/sendSms/actionDefinition.js +162 -0
- package/dist/destinations/engage/twilio/sendSms/actionDefinition.js.map +1 -0
- package/dist/destinations/engage/twilio/sendSms/generated-types.d.ts +1 -0
- package/dist/destinations/engage/twilio/sendSms/generated-types.js +14 -0
- package/dist/destinations/engage/twilio/sendSms/generated-types.js.map +1 -0
- package/dist/destinations/engage/twilio/sendSms/index.d.ts +1 -0
- package/dist/destinations/engage/twilio/sendSms/index.js +14 -0
- package/dist/destinations/engage/twilio/sendSms/index.js.map +1 -0
- package/dist/destinations/engage/twilio/sendWhatsApp/WhatsAppMessageSender.d.ts +9 -0
- package/dist/destinations/engage/twilio/sendWhatsApp/WhatsAppMessageSender.js +89 -0
- package/dist/destinations/engage/twilio/sendWhatsApp/WhatsAppMessageSender.js.map +1 -0
- package/dist/destinations/engage/twilio/sendWhatsApp/actionDefinition.d.ts +4 -0
- package/dist/destinations/engage/twilio/sendWhatsApp/actionDefinition.js +136 -0
- package/dist/destinations/engage/twilio/sendWhatsApp/actionDefinition.js.map +1 -0
- package/dist/destinations/engage/twilio/sendWhatsApp/generated-types.d.ts +1 -0
- package/dist/destinations/engage/twilio/sendWhatsApp/generated-types.js +14 -0
- package/dist/destinations/engage/twilio/sendWhatsApp/generated-types.js.map +1 -0
- package/dist/destinations/engage/twilio/sendWhatsApp/index.d.ts +1 -0
- package/dist/destinations/engage/twilio/sendWhatsApp/index.js +14 -0
- package/dist/destinations/engage/twilio/sendWhatsApp/index.js.map +1 -0
- package/dist/destinations/engage/twilio/utils/PhoneMessageSender.d.ts +16 -0
- package/dist/destinations/engage/twilio/utils/PhoneMessageSender.js +71 -0
- package/dist/destinations/engage/twilio/utils/PhoneMessageSender.js.map +1 -0
- package/dist/destinations/engage/twilio/utils/TwilioMessageSender.d.ts +16 -0
- package/dist/destinations/engage/twilio/utils/TwilioMessageSender.js +115 -0
- package/dist/destinations/engage/twilio/utils/TwilioMessageSender.js.map +1 -0
- package/dist/destinations/engage/twilio/utils/index.d.ts +2 -0
- package/dist/destinations/engage/twilio/utils/index.js +15 -0
- package/dist/destinations/engage/twilio/utils/index.js.map +1 -0
- package/dist/destinations/engage/twilio/utils/types.d.ts +23 -0
- package/dist/destinations/engage/twilio/utils/types.js +3 -0
- package/dist/destinations/engage/twilio/utils/types.js.map +1 -0
- package/dist/destinations/engage/utils/AggregateError.d.ts +14 -0
- package/dist/destinations/engage/utils/AggregateError.js +26 -0
- package/dist/destinations/engage/utils/AggregateError.js.map +1 -0
- package/dist/destinations/engage/utils/EngageActionPerformer.d.ts +42 -0
- package/dist/destinations/engage/utils/EngageActionPerformer.js +148 -0
- package/dist/destinations/engage/utils/EngageActionPerformer.js.map +1 -0
- package/dist/destinations/engage/utils/EngageLogger.d.ts +18 -0
- package/dist/destinations/engage/utils/EngageLogger.js +52 -0
- package/dist/destinations/engage/utils/EngageLogger.js.map +1 -0
- package/dist/destinations/engage/utils/EngageStats.d.ts +18 -0
- package/dist/destinations/engage/utils/EngageStats.js +95 -0
- package/dist/destinations/engage/utils/EngageStats.js.map +1 -0
- package/dist/destinations/engage/utils/IntegrationErrorWrapper.d.ts +12 -0
- package/dist/destinations/engage/utils/IntegrationErrorWrapper.js +31 -0
- package/dist/destinations/engage/utils/IntegrationErrorWrapper.js.map +1 -0
- package/dist/destinations/engage/utils/MessageSendPerformer.d.ts +65 -0
- package/dist/destinations/engage/utils/MessageSendPerformer.js +211 -0
- package/dist/destinations/engage/utils/MessageSendPerformer.js.map +1 -0
- package/dist/destinations/engage/utils/Profile.d.ts +6 -0
- package/dist/destinations/engage/utils/Profile.js +3 -0
- package/dist/destinations/engage/utils/Profile.js.map +1 -0
- package/dist/destinations/engage/utils/ResponseError.d.ts +25 -0
- package/dist/destinations/engage/utils/ResponseError.js +22 -0
- package/dist/destinations/engage/utils/ResponseError.js.map +1 -0
- package/dist/destinations/engage/utils/apiLookups.d.ts +22 -0
- package/dist/destinations/engage/utils/apiLookups.js +189 -0
- package/dist/destinations/engage/utils/apiLookups.js.map +1 -0
- package/dist/destinations/engage/utils/getProfileApiEndpoint.d.ts +2 -0
- package/dist/destinations/engage/utils/getProfileApiEndpoint.js +10 -0
- package/dist/destinations/engage/utils/getProfileApiEndpoint.js.map +1 -0
- package/dist/destinations/engage/utils/index.d.ts +9 -0
- package/dist/destinations/engage/utils/index.js +22 -0
- package/dist/destinations/engage/utils/index.js.map +1 -0
- package/dist/destinations/engage/utils/isDestinationActionService.d.ts +1 -0
- package/dist/destinations/engage/utils/isDestinationActionService.js +8 -0
- package/dist/destinations/engage/utils/isDestinationActionService.js.map +1 -0
- package/dist/destinations/engage/utils/isRetryableError.d.ts +2 -0
- package/dist/destinations/engage/utils/isRetryableError.js +33 -0
- package/dist/destinations/engage/utils/isRetryableError.js.map +1 -0
- package/dist/destinations/engage/utils/operationTracking/GenericMethodDecorator.d.ts +1 -0
- package/dist/destinations/engage/utils/operationTracking/GenericMethodDecorator.js +3 -0
- package/dist/destinations/engage/utils/operationTracking/GenericMethodDecorator.js.map +1 -0
- package/dist/destinations/engage/utils/operationTracking/OperationDecorator.d.ts +46 -0
- package/dist/destinations/engage/utils/operationTracking/OperationDecorator.js +46 -0
- package/dist/destinations/engage/utils/operationTracking/OperationDecorator.js.map +1 -0
- package/dist/destinations/engage/utils/operationTracking/OperationDuration.d.ts +12 -0
- package/dist/destinations/engage/utils/operationTracking/OperationDuration.js +23 -0
- package/dist/destinations/engage/utils/operationTracking/OperationDuration.js.map +1 -0
- package/dist/destinations/engage/utils/operationTracking/OperationErrorHandler.d.ts +12 -0
- package/dist/destinations/engage/utils/operationTracking/OperationErrorHandler.js +35 -0
- package/dist/destinations/engage/utils/operationTracking/OperationErrorHandler.js.map +1 -0
- package/dist/destinations/engage/utils/operationTracking/OperationFinallyHooks.d.ts +14 -0
- package/dist/destinations/engage/utils/operationTracking/OperationFinallyHooks.js +31 -0
- package/dist/destinations/engage/utils/operationTracking/OperationFinallyHooks.js.map +1 -0
- package/dist/destinations/engage/utils/operationTracking/OperationLogger.d.ts +31 -0
- package/dist/destinations/engage/utils/operationTracking/OperationLogger.js +104 -0
- package/dist/destinations/engage/utils/operationTracking/OperationLogger.js.map +1 -0
- package/dist/destinations/engage/utils/operationTracking/OperationStats.d.ts +39 -0
- package/dist/destinations/engage/utils/operationTracking/OperationStats.js +130 -0
- package/dist/destinations/engage/utils/operationTracking/OperationStats.js.map +1 -0
- package/dist/destinations/engage/utils/operationTracking/OperationTracker.test.d.ts +1 -0
- package/dist/destinations/engage/utils/operationTracking/OperationTracker.test.js +377 -0
- package/dist/destinations/engage/utils/operationTracking/OperationTracker.test.js.map +1 -0
- package/dist/destinations/engage/utils/operationTracking/OperationTree.d.ts +23 -0
- package/dist/destinations/engage/utils/operationTracking/OperationTree.js +49 -0
- package/dist/destinations/engage/utils/operationTracking/OperationTree.js.map +1 -0
- package/dist/destinations/engage/utils/operationTracking/TrackedError.d.ts +6 -0
- package/dist/destinations/engage/utils/operationTracking/TrackedError.js +3 -0
- package/dist/destinations/engage/utils/operationTracking/TrackedError.js.map +1 -0
- package/dist/destinations/engage/utils/operationTracking/index.d.ts +10 -0
- package/dist/destinations/engage/utils/operationTracking/index.js +23 -0
- package/dist/destinations/engage/utils/operationTracking/index.js.map +1 -0
- package/dist/destinations/engage/utils/operationTracking/wrapTryCatchFinallyPromisable.d.ts +21 -0
- package/dist/destinations/engage/utils/operationTracking/wrapTryCatchFinallyPromisable.js +99 -0
- package/dist/destinations/engage/utils/operationTracking/wrapTryCatchFinallyPromisable.js.map +1 -0
- package/dist/destinations/engage/utils/testUtils.d.ts +6 -0
- package/dist/destinations/engage/utils/testUtils.js +26 -0
- package/dist/destinations/engage/utils/testUtils.js.map +1 -0
- package/dist/destinations/engage/utils/track.d.ts +52 -0
- package/dist/destinations/engage/utils/track.js +9 -0
- package/dist/destinations/engage/utils/track.js.map +1 -0
- package/dist/destinations/engage-messaging-sendgrid/previewApiLookup.types.d.ts +16 -0
- package/dist/destinations/engage-messaging-sendgrid/previewApiLookup.types.js +3 -0
- package/dist/destinations/engage-messaging-sendgrid/previewApiLookup.types.js.map +1 -0
- package/dist/destinations/engage-messaging-sendgrid/sendEmail.types.d.ts +56 -0
- package/dist/destinations/engage-messaging-sendgrid/sendEmail.types.js +3 -0
- package/dist/destinations/engage-messaging-sendgrid/sendEmail.types.js.map +1 -0
- package/dist/destinations/engage-messaging-twilio/sendMobilePush.types.d.ts +39 -0
- package/dist/destinations/engage-messaging-twilio/sendMobilePush.types.js +3 -0
- package/dist/destinations/engage-messaging-twilio/sendMobilePush.types.js.map +1 -0
- package/dist/destinations/engage-messaging-twilio/sendSms.types.d.ts +27 -0
- package/dist/destinations/engage-messaging-twilio/sendSms.types.js +3 -0
- package/dist/destinations/engage-messaging-twilio/sendSms.types.js.map +1 -0
- package/dist/destinations/engage-messaging-twilio/sendWhatsApp.types.d.ts +25 -0
- package/dist/destinations/engage-messaging-twilio/sendWhatsApp.types.js +3 -0
- package/dist/destinations/engage-messaging-twilio/sendWhatsApp.types.js.map +1 -0
- package/dist/destinations/facebook-custom-audiences/add/generated-types.d.ts +2 -0
- package/dist/destinations/facebook-custom-audiences/add/generated-types.js +3 -0
- package/dist/destinations/facebook-custom-audiences/add/generated-types.js.map +1 -0
- package/dist/destinations/facebook-custom-audiences/add/index.d.ts +5 -0
- package/dist/destinations/facebook-custom-audiences/add/index.js +11 -0
- package/dist/destinations/facebook-custom-audiences/add/index.js.map +1 -0
- package/dist/destinations/facebook-custom-audiences/remove/generated-types.d.ts +2 -0
- package/dist/destinations/facebook-custom-audiences/remove/generated-types.js +3 -0
- package/dist/destinations/facebook-custom-audiences/remove/generated-types.js.map +1 -0
- package/dist/destinations/facebook-custom-audiences/remove/index.d.ts +5 -0
- package/dist/destinations/facebook-custom-audiences/remove/index.js +11 -0
- package/dist/destinations/facebook-custom-audiences/remove/index.js.map +1 -0
- package/dist/destinations/first-party-dv360/addToAudContactInfo/generated-types.d.ts +9 -0
- package/dist/destinations/first-party-dv360/addToAudContactInfo/generated-types.js +3 -0
- package/dist/destinations/first-party-dv360/addToAudContactInfo/generated-types.js.map +1 -0
- package/dist/destinations/first-party-dv360/addToAudContactInfo/index.d.ts +5 -0
- package/dist/destinations/first-party-dv360/addToAudContactInfo/index.js +32 -0
- package/dist/destinations/first-party-dv360/addToAudContactInfo/index.js.map +1 -0
- package/dist/destinations/first-party-dv360/addToAudMobileDeviceId/generated-types.d.ts +4 -0
- package/dist/destinations/first-party-dv360/addToAudMobileDeviceId/generated-types.js +3 -0
- package/dist/destinations/first-party-dv360/addToAudMobileDeviceId/generated-types.js.map +1 -0
- package/dist/destinations/first-party-dv360/addToAudMobileDeviceId/index.d.ts +5 -0
- package/dist/destinations/first-party-dv360/addToAudMobileDeviceId/index.js +27 -0
- package/dist/destinations/first-party-dv360/addToAudMobileDeviceId/index.js.map +1 -0
- package/dist/destinations/first-party-dv360/addToList.types.d.ts +9 -0
- package/dist/destinations/first-party-dv360/addToList.types.js +3 -0
- package/dist/destinations/first-party-dv360/addToList.types.js.map +1 -0
- package/dist/destinations/first-party-dv360/properties.d.ts +9 -0
- package/dist/destinations/first-party-dv360/properties.js +69 -0
- package/dist/destinations/first-party-dv360/properties.js.map +1 -0
- package/dist/destinations/google-enhanced-conversions/functions.d.ts +4 -4
- package/dist/destinations/google-enhanced-conversions/functions.js +17 -17
- package/dist/destinations/google-enhanced-conversions/functions.js.map +1 -1
- package/dist/destinations/google-enhanced-conversions/generated-types.d.ts +2 -1
- package/dist/destinations/google-enhanced-conversions/index.js +13 -3
- package/dist/destinations/google-enhanced-conversions/index.js.map +1 -1
- package/dist/destinations/google-enhanced-conversions/types.d.ts +5 -1
- package/dist/destinations/google-enhanced-conversions/userList/index.js +9 -9
- package/dist/destinations/google-enhanced-conversions/userList/index.js.map +1 -1
- package/dist/destinations/hubspot/customEvent/hubspot-api.d.ts +62 -0
- package/dist/destinations/hubspot/customEvent/hubspot-api.js +305 -0
- package/dist/destinations/hubspot/customEvent/hubspot-api.js.map +1 -0
- package/dist/destinations/hubspot/upsertObject/hubspot-api.d.ts +219 -0
- package/dist/destinations/hubspot/upsertObject/hubspot-api.js +609 -0
- package/dist/destinations/hubspot/upsertObject/hubspot-api.js.map +1 -0
- package/dist/destinations/mappings-two-test/generated-types.d.ts +3 -0
- package/dist/destinations/mappings-two-test/generated-types.js +3 -0
- package/dist/destinations/mappings-two-test/generated-types.js.map +1 -0
- package/dist/destinations/mappings-two-test/index.d.ts +4 -0
- package/dist/destinations/mappings-two-test/index.js +34 -0
- package/dist/destinations/mappings-two-test/index.js.map +1 -0
- package/dist/destinations/mappings-two-test/inputMethods/generated-types.d.ts +29 -0
- package/dist/destinations/mappings-two-test/inputMethods/generated-types.js +3 -0
- package/dist/destinations/mappings-two-test/inputMethods/generated-types.js.map +1 -0
- package/dist/destinations/mappings-two-test/inputMethods/index.d.ts +5 -0
- package/dist/destinations/mappings-two-test/inputMethods/index.js +200 -0
- package/dist/destinations/mappings-two-test/inputMethods/index.js.map +1 -0
- package/dist/destinations/mappings-two-test/kitchenSink/generated-types.d.ts +53 -0
- package/dist/destinations/mappings-two-test/kitchenSink/generated-types.js +3 -0
- package/dist/destinations/mappings-two-test/kitchenSink/generated-types.js.map +1 -0
- package/dist/destinations/mappings-two-test/kitchenSink/index.d.ts +5 -0
- package/dist/destinations/mappings-two-test/kitchenSink/index.js +289 -0
- package/dist/destinations/mappings-two-test/kitchenSink/index.js.map +1 -0
- package/dist/destinations/mappings-two-test/sendEvent/generated-types.d.ts +17 -0
- package/dist/destinations/mappings-two-test/sendEvent/generated-types.js +3 -0
- package/dist/destinations/mappings-two-test/sendEvent/generated-types.js.map +1 -0
- package/dist/destinations/mappings-two-test/sendEvent/index.d.ts +5 -0
- package/dist/destinations/mappings-two-test/sendEvent/index.js +345 -0
- package/dist/destinations/mappings-two-test/sendEvent/index.js.map +1 -0
- package/dist/destinations/responsys/shared_properties.d.ts +3 -0
- package/dist/destinations/responsys/shared_properties.js +19 -0
- package/dist/destinations/responsys/shared_properties.js.map +1 -0
- package/package.json +4 -4
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generated-types.js","sourceRoot":"","sources":["../../../../src/destinations/mappings-two-test/sendEvent/generated-types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,345 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const action = {
|
|
4
|
+
title: 'Send Event',
|
|
5
|
+
description: 'Test Segment Action',
|
|
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: 'update',
|
|
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
|
+
fields: {
|
|
17
|
+
test_field: {
|
|
18
|
+
label: 'Test Field',
|
|
19
|
+
description: 'A test string field',
|
|
20
|
+
type: 'string',
|
|
21
|
+
category: 'identifier'
|
|
22
|
+
},
|
|
23
|
+
dynamic_object: {
|
|
24
|
+
label: 'Dynamic Object',
|
|
25
|
+
description: 'A dynamic object',
|
|
26
|
+
type: 'object',
|
|
27
|
+
required: true,
|
|
28
|
+
defaultObjectUI: 'keyvalue:only',
|
|
29
|
+
dynamic: true,
|
|
30
|
+
category: 'identifier'
|
|
31
|
+
},
|
|
32
|
+
dynamic_structured_object: {
|
|
33
|
+
label: 'Choose a pet or plant',
|
|
34
|
+
description: 'Choose a pet or plant and provide details',
|
|
35
|
+
type: 'object',
|
|
36
|
+
required: true,
|
|
37
|
+
defaultObjectUI: 'keyvalue',
|
|
38
|
+
properties: {
|
|
39
|
+
pet: {
|
|
40
|
+
label: 'Pet type',
|
|
41
|
+
description: 'Pet type',
|
|
42
|
+
type: 'string',
|
|
43
|
+
dynamic: true
|
|
44
|
+
},
|
|
45
|
+
plant: {
|
|
46
|
+
label: 'Plant type',
|
|
47
|
+
description: 'Plant type',
|
|
48
|
+
type: 'string',
|
|
49
|
+
dynamic: true
|
|
50
|
+
},
|
|
51
|
+
name: {
|
|
52
|
+
label: 'Name',
|
|
53
|
+
description: 'Name',
|
|
54
|
+
type: 'string'
|
|
55
|
+
},
|
|
56
|
+
age: {
|
|
57
|
+
label: 'Age',
|
|
58
|
+
description: 'Age',
|
|
59
|
+
type: 'number',
|
|
60
|
+
choices: [
|
|
61
|
+
{ label: '0-10', value: 1 },
|
|
62
|
+
{ label: '10-20', value: 2 }
|
|
63
|
+
]
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
dynamic_array: {
|
|
68
|
+
label: 'Dynamic Array',
|
|
69
|
+
description: 'A dynamic array',
|
|
70
|
+
type: 'object',
|
|
71
|
+
defaultObjectUI: 'arrayeditor',
|
|
72
|
+
multiple: true,
|
|
73
|
+
properties: {
|
|
74
|
+
product_category: {
|
|
75
|
+
label: 'Product Category',
|
|
76
|
+
description: 'Product Category',
|
|
77
|
+
type: 'string',
|
|
78
|
+
choices: [
|
|
79
|
+
{ label: 'Electronics', value: 'electronics' },
|
|
80
|
+
{ label: 'Home Decor', value: 'home-decor' },
|
|
81
|
+
{ label: 'Clothing', value: 'clothing' }
|
|
82
|
+
]
|
|
83
|
+
},
|
|
84
|
+
product_name: {
|
|
85
|
+
label: 'Product Name',
|
|
86
|
+
description: 'Product Name',
|
|
87
|
+
type: 'string',
|
|
88
|
+
dynamic: true
|
|
89
|
+
},
|
|
90
|
+
product_price: {
|
|
91
|
+
label: 'Product Price',
|
|
92
|
+
description: 'Product Price',
|
|
93
|
+
type: 'number'
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
dynamicFields: {
|
|
99
|
+
dynamic_object: {
|
|
100
|
+
__keys__: async () => {
|
|
101
|
+
return Promise.resolve({
|
|
102
|
+
choices: [
|
|
103
|
+
{
|
|
104
|
+
label: 'Apple 🍎',
|
|
105
|
+
value: 'apple',
|
|
106
|
+
type: 'string',
|
|
107
|
+
description: 'A crisp and juicy red fruit, perfect for snacking or making pies.'
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
label: 'Banana 🍌',
|
|
111
|
+
value: 'banana',
|
|
112
|
+
type: 'string',
|
|
113
|
+
description: 'A sweet and soft yellow fruit, ideal for a quick energy boost.'
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
label: 'Cherry 🍒',
|
|
117
|
+
value: 'cherry',
|
|
118
|
+
type: 'string',
|
|
119
|
+
description: 'A small and tart red fruit, great for desserts and snacking.'
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
label: 'Grapes 🍇',
|
|
123
|
+
value: 'grapes',
|
|
124
|
+
type: 'string',
|
|
125
|
+
description: 'Juicy and sweet clusters of small, round fruits, perfect for snacking or making wine.'
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
label: 'Orange 🍊',
|
|
129
|
+
value: 'orange',
|
|
130
|
+
type: 'string',
|
|
131
|
+
description: 'A tangy and refreshing orange fruit, great for juicing or eating fresh.'
|
|
132
|
+
}
|
|
133
|
+
],
|
|
134
|
+
nextPage: ''
|
|
135
|
+
});
|
|
136
|
+
},
|
|
137
|
+
__values__: async (_, { dynamicFieldContext }) => {
|
|
138
|
+
if (!dynamicFieldContext?.selectedKey) {
|
|
139
|
+
throw new Error('Selected key is missing');
|
|
140
|
+
}
|
|
141
|
+
const selectedKey = dynamicFieldContext?.selectedKey || 'unknwon';
|
|
142
|
+
return Promise.resolve({
|
|
143
|
+
choices: [
|
|
144
|
+
{
|
|
145
|
+
label: `${selectedKey} juice`,
|
|
146
|
+
value: `${selectedKey}_juice`
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
label: `${selectedKey} cake`,
|
|
150
|
+
value: `${selectedKey}_cake`
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
label: `${selectedKey} smoothie`,
|
|
154
|
+
value: `${selectedKey}_smoothie`
|
|
155
|
+
}
|
|
156
|
+
],
|
|
157
|
+
nextPage: ''
|
|
158
|
+
});
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
dynamic_structured_object: {
|
|
162
|
+
pet: async () => {
|
|
163
|
+
return Promise.resolve({
|
|
164
|
+
choices: [
|
|
165
|
+
{
|
|
166
|
+
label: 'Cat 🐱',
|
|
167
|
+
value: 'cat',
|
|
168
|
+
type: 'string',
|
|
169
|
+
description: 'A small, independent, and playful pet known for its agility and affectionate purring.'
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
label: 'Dog 🐶',
|
|
173
|
+
value: 'dog',
|
|
174
|
+
type: 'string',
|
|
175
|
+
description: 'A loyal and friendly pet, great for companionship'
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
label: 'Fish 🐠',
|
|
179
|
+
value: 'fish',
|
|
180
|
+
type: 'string',
|
|
181
|
+
description: 'A small and low-maintenance pet that lives in water.'
|
|
182
|
+
}
|
|
183
|
+
],
|
|
184
|
+
nextPage: ''
|
|
185
|
+
});
|
|
186
|
+
},
|
|
187
|
+
plant: async () => {
|
|
188
|
+
return Promise.resolve({
|
|
189
|
+
choices: [
|
|
190
|
+
{
|
|
191
|
+
label: 'Fern 🌿',
|
|
192
|
+
value: 'fern',
|
|
193
|
+
type: 'string',
|
|
194
|
+
description: 'A leafy green plant that thrives in humid environments.'
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
label: 'Cactus 🌵',
|
|
198
|
+
value: 'cactus',
|
|
199
|
+
type: 'string',
|
|
200
|
+
description: 'A spiky plant that requires minimal water and sunlight.'
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
label: 'Succulent 🌱',
|
|
204
|
+
value: 'succulent',
|
|
205
|
+
type: 'string',
|
|
206
|
+
description: 'A fleshy plant that stores water in its leaves, stems, or roots.'
|
|
207
|
+
}
|
|
208
|
+
],
|
|
209
|
+
nextPage: ''
|
|
210
|
+
});
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
dynamic_array: {
|
|
214
|
+
product_name: async (_, { dynamicFieldContext, payload }) => {
|
|
215
|
+
const products = [
|
|
216
|
+
{
|
|
217
|
+
name: 'Laptop 💻',
|
|
218
|
+
category: 'electronics',
|
|
219
|
+
slug: 'laptop',
|
|
220
|
+
description: 'A high-performance laptop with 16GB RAM and 512GB SSD.'
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
name: 'Smartphone 📱',
|
|
224
|
+
category: 'electronics',
|
|
225
|
+
slug: 'smartphone',
|
|
226
|
+
description: 'A sleek smartphone with a powerful camera and long battery life.'
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
name: 'Headphones 🎧',
|
|
230
|
+
category: 'electronics',
|
|
231
|
+
slug: 'headphones',
|
|
232
|
+
description: 'Noise-cancelling over-ear headphones with premium sound quality.'
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
name: 'Smartwatch ⌚',
|
|
236
|
+
category: 'electronics',
|
|
237
|
+
slug: 'smartwatch',
|
|
238
|
+
description: 'A stylish smartwatch with fitness tracking and notifications.'
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
name: 'T-shirt 👕',
|
|
242
|
+
category: 'clothing',
|
|
243
|
+
slug: 't-shirt',
|
|
244
|
+
description: 'A comfortable cotton t-shirt available in various colors.'
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
name: 'Jeans 👖',
|
|
248
|
+
category: 'clothing',
|
|
249
|
+
slug: 'jeans',
|
|
250
|
+
description: 'Classic blue jeans with a modern slim fit.'
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
name: 'Sneakers 👟',
|
|
254
|
+
category: 'clothing',
|
|
255
|
+
slug: 'sneakers',
|
|
256
|
+
description: 'Stylish and comfortable sneakers for everyday wear.'
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
name: 'Jacket 🧥',
|
|
260
|
+
category: 'clothing',
|
|
261
|
+
slug: 'jacket',
|
|
262
|
+
description: 'A warm and trendy jacket perfect for cold weather.'
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
name: 'Table Lamp 🛋️',
|
|
266
|
+
category: 'Home Decor',
|
|
267
|
+
slug: 'table-lamp',
|
|
268
|
+
description: 'A modern table lamp with adjustable brightness.'
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
name: 'Sofa 🛋️',
|
|
272
|
+
category: 'Home Decor',
|
|
273
|
+
slug: 'sofa',
|
|
274
|
+
description: 'A comfortable sofa with a stylish design and durable fabric.'
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
name: 'Wall Art 🖼️',
|
|
278
|
+
category: 'home-decor',
|
|
279
|
+
slug: 'wall-art',
|
|
280
|
+
description: 'Beautiful wall art to add a touch of elegance to your home.'
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
name: 'Rug 🏡',
|
|
284
|
+
category: 'home-decor',
|
|
285
|
+
slug: 'rug',
|
|
286
|
+
description: 'A soft and cozy rug perfect for any living space.'
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
name: 'Bluetooth Speaker 🔊',
|
|
290
|
+
category: 'Electronics',
|
|
291
|
+
slug: 'bluetooth-speaker',
|
|
292
|
+
description: 'Portable Bluetooth speaker with powerful sound and long battery life.'
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
name: 'Dress 👗',
|
|
296
|
+
category: 'Clothing',
|
|
297
|
+
slug: 'dress',
|
|
298
|
+
description: 'A stylish dress perfect for both casual and formal occasions.'
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
name: 'Curtains 🏡',
|
|
302
|
+
category: 'home-decor',
|
|
303
|
+
slug: 'curtains',
|
|
304
|
+
description: 'Elegant curtains to enhance the look of any room.'
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
name: 'Table 🛋️',
|
|
308
|
+
category: 'home-decor',
|
|
309
|
+
slug: 'table',
|
|
310
|
+
description: 'A modern dining table made of high-quality wood.'
|
|
311
|
+
}
|
|
312
|
+
];
|
|
313
|
+
const index = dynamicFieldContext?.selectedArrayIndex || 0;
|
|
314
|
+
const selectedCategory = payload.dynamic_array?.[index]?.product_category;
|
|
315
|
+
const choices = products
|
|
316
|
+
.filter((product) => (selectedCategory ? product.category === selectedCategory : true))
|
|
317
|
+
.map((product) => {
|
|
318
|
+
return { value: product.slug, label: product.name };
|
|
319
|
+
});
|
|
320
|
+
return Promise.resolve({
|
|
321
|
+
choices: choices,
|
|
322
|
+
nextPage: ''
|
|
323
|
+
});
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
perform: (request, { payload, settings, syncMode }) => {
|
|
328
|
+
const api_key = settings.apiKey;
|
|
329
|
+
return request('https://api.segment.io/v1/t', {
|
|
330
|
+
method: 'POST',
|
|
331
|
+
json: {
|
|
332
|
+
userId: 'test-user',
|
|
333
|
+
type: 'track',
|
|
334
|
+
event: 'test-event',
|
|
335
|
+
writeKey: api_key,
|
|
336
|
+
properties: {
|
|
337
|
+
...payload,
|
|
338
|
+
syncMode
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
});
|
|
342
|
+
}
|
|
343
|
+
};
|
|
344
|
+
exports.default = action;
|
|
345
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/mappings-two-test/sendEvent/index.ts"],"names":[],"mappings":";;AAIA,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,YAAY;IACnB,WAAW,EAAE,qBAAqB;IAClC,QAAQ,EAAE,OAAO;IACjB,QAAQ,EAAE;QACR,WAAW,EAAE,4FAA4F;QACzG,KAAK,EAAE,qBAAqB;QAC5B,OAAO,EAAE,QAAQ;QACjB,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,MAAM,EAAE;QACN,UAAU,EAAE;YACV,KAAK,EAAE,YAAY;YACnB,WAAW,EAAE,qBAAqB;YAClC,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,YAAY;SACvB;QACD,cAAc,EAAE;YACd,KAAK,EAAE,gBAAgB;YACvB,WAAW,EAAE,kBAAkB;YAC/B,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YAC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A;gBACzE,MAAM,OAAO,GAAG,QAAQ;qBACrB,MAAM,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,KAAK,gBAAgB,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;qBACtF,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE;oBACf,OAAO,EAAE,KAAK,EAAE,OAAO,CAAC,IAAI,EAAE,KAAK,EAAE,OAAO,CAAC,IAAI,EAAE,CAAA;gBACrD,CAAC,CAAC,CAAA;gBAEJ,OAAO,OAAO,CAAC,OAAO,CAAC;oBACrB,OAAO,EAAE,OAAO;oBAChB,QAAQ,EAAE,EAAE;iBACb,CAAC,CAAA;YACJ,CAAC;SACF;KACF;IACD,OAAO,EAAE,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE;QACpD,MAAM,OAAO,GAAG,QAAQ,CAAC,MAAM,CAAA;QAC/B,OAAO,OAAO,CAAC,6BAA6B,EAAE;YAC5C,MAAM,EAAE,MAAM;YACd,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"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.batch_size = exports.enable_batching = void 0;
|
|
4
|
+
exports.enable_batching = {
|
|
5
|
+
label: 'Use Responsys Async API',
|
|
6
|
+
description: 'Once enabled, Segment will collect events into batches of 200 before sending to Responsys.',
|
|
7
|
+
type: 'boolean',
|
|
8
|
+
default: true,
|
|
9
|
+
unsafe_hidden: true
|
|
10
|
+
};
|
|
11
|
+
exports.batch_size = {
|
|
12
|
+
label: 'Batch Size',
|
|
13
|
+
description: 'Maximum number of events to include in each batch. Actual batch sizes may be lower.',
|
|
14
|
+
type: 'number',
|
|
15
|
+
required: false,
|
|
16
|
+
unsafe_hidden: true,
|
|
17
|
+
default: 200
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=shared_properties.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shared_properties.js","sourceRoot":"","sources":["../../../src/destinations/responsys/shared_properties.ts"],"names":[],"mappings":";;;AAEa,QAAA,eAAe,GAAe;IACzC,KAAK,EAAE,yBAAyB;IAChC,WAAW,EAAE,4FAA4F;IACzG,IAAI,EAAE,SAAS;IACf,OAAO,EAAE,IAAI;IACb,aAAa,EAAE,IAAI;CACpB,CAAA;AAEY,QAAA,UAAU,GAAe;IACpC,KAAK,EAAE,YAAY;IACnB,WAAW,EAAE,qFAAqF;IAClG,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,KAAK;IACf,aAAa,EAAE,IAAI;IACnB,OAAO,EAAE,GAAG;CACb,CAAA"}
|
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-80e4b0b3a",
|
|
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": "
|
|
48
|
-
"@segment/actions-shared": "
|
|
47
|
+
"@segment/actions-core": "3.136.0-staging-80e4b0b3a",
|
|
48
|
+
"@segment/actions-shared": "1.117.0-staging-80e4b0b3a",
|
|
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": "9c04e12c4a0e81f6b68dca0a297fb2c0209d2431"
|
|
92
92
|
}
|