@segment/action-destinations 3.371.1-staging-cb4b858fd → 3.372.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.
Files changed (320) hide show
  1. package/dist/destinations/amazon-amc/function.d.ts +4 -3
  2. package/dist/destinations/amazon-amc/function.js +19 -21
  3. package/dist/destinations/amazon-amc/function.js.map +1 -1
  4. package/dist/destinations/amazon-amc/syncAudiencesToDSP/index.js +4 -4
  5. package/dist/destinations/amazon-amc/syncAudiencesToDSP/index.js.map +1 -1
  6. package/dist/destinations/display-video-360/proto/protofile.d.ts +1 -1
  7. package/dist/destinations/display-video-360/proto/protofile.js +1 -1
  8. package/dist/destinations/display-video-360/proto/protofile.js.map +1 -1
  9. package/dist/destinations/index.js +0 -1
  10. package/dist/destinations/index.js.map +1 -1
  11. package/dist/destinations/salesforce-marketing-cloud/_tests_/dataExtension.test.js +0 -50
  12. package/dist/destinations/salesforce-marketing-cloud/_tests_/dataExtension.test.js.map +1 -1
  13. package/dist/destinations/salesforce-marketing-cloud/contactDataExtension/generated-types.d.ts +0 -48
  14. package/dist/destinations/salesforce-marketing-cloud/contactDataExtension/index.js +4 -30
  15. package/dist/destinations/salesforce-marketing-cloud/contactDataExtension/index.js.map +1 -1
  16. package/dist/destinations/salesforce-marketing-cloud/dataExtension/generated-types.d.ts +0 -48
  17. package/dist/destinations/salesforce-marketing-cloud/dataExtension/index.js +4 -32
  18. package/dist/destinations/salesforce-marketing-cloud/dataExtension/index.js.map +1 -1
  19. package/dist/destinations/salesforce-marketing-cloud/sfmc-operations.d.ts +3 -12
  20. package/dist/destinations/salesforce-marketing-cloud/sfmc-operations.js +9 -313
  21. package/dist/destinations/salesforce-marketing-cloud/sfmc-operations.js.map +1 -1
  22. package/dist/destinations/salesforce-marketing-cloud/sfmc-properties.d.ts +0 -2
  23. package/dist/destinations/salesforce-marketing-cloud/sfmc-properties.js +10 -165
  24. package/dist/destinations/salesforce-marketing-cloud/sfmc-properties.js.map +1 -1
  25. package/dist/destinations/webhook-extensible/__test__/webhook.test.js +246 -0
  26. package/dist/destinations/webhook-extensible/__test__/webhook.test.js.map +1 -1
  27. package/dist/destinations/webhook-extensible/auth-utils.d.ts +3 -0
  28. package/dist/destinations/webhook-extensible/auth-utils.js +78 -0
  29. package/dist/destinations/webhook-extensible/auth-utils.js.map +1 -0
  30. package/dist/destinations/webhook-extensible/index.js +3 -37
  31. package/dist/destinations/webhook-extensible/index.js.map +1 -1
  32. package/package.json +6 -5
  33. package/dist/destinations/accoil-analytics/postToAccoil/generated-types.d.ts +0 -5
  34. package/dist/destinations/accoil-analytics/postToAccoil/generated-types.js +0 -3
  35. package/dist/destinations/accoil-analytics/postToAccoil/generated-types.js.map +0 -1
  36. package/dist/destinations/accoil-analytics/postToAccoil/index.d.ts +0 -5
  37. package/dist/destinations/accoil-analytics/postToAccoil/index.js +0 -27
  38. package/dist/destinations/accoil-analytics/postToAccoil/index.js.map +0 -1
  39. package/dist/destinations/amazon-ads/generated-types.d.ts +0 -3
  40. package/dist/destinations/amazon-ads/generated-types.js +0 -3
  41. package/dist/destinations/amazon-ads/generated-types.js.map +0 -1
  42. package/dist/destinations/amazon-ads/index.d.ts +0 -4
  43. package/dist/destinations/amazon-ads/index.js +0 -87
  44. package/dist/destinations/amazon-ads/index.js.map +0 -1
  45. package/dist/destinations/amazon-ads/syncAudiences/generated-types.d.ts +0 -2
  46. package/dist/destinations/amazon-ads/syncAudiences/generated-types.js +0 -3
  47. package/dist/destinations/amazon-ads/syncAudiences/generated-types.js.map +0 -1
  48. package/dist/destinations/amazon-ads/syncAudiences/index.d.ts +0 -5
  49. package/dist/destinations/amazon-ads/syncAudiences/index.js +0 -15
  50. package/dist/destinations/amazon-ads/syncAudiences/index.js.map +0 -1
  51. package/dist/destinations/amazon-ads/types.d.ts +0 -22
  52. package/dist/destinations/amazon-ads/types.js +0 -11
  53. package/dist/destinations/amazon-ads/types.js.map +0 -1
  54. package/dist/destinations/amazon-ads/utils.d.ts +0 -25
  55. package/dist/destinations/amazon-ads/utils.js +0 -8
  56. package/dist/destinations/amazon-ads/utils.js.map +0 -1
  57. package/dist/destinations/dynamic-yield-audiences/syncAudience/types.d.ts +0 -22
  58. package/dist/destinations/dynamic-yield-audiences/syncAudience/types.js +0 -3
  59. package/dist/destinations/dynamic-yield-audiences/syncAudience/types.js.map +0 -1
  60. package/dist/destinations/dynamic-yield-audiences/types.d.ts +0 -8
  61. package/dist/destinations/dynamic-yield-audiences/types.js +0 -12
  62. package/dist/destinations/dynamic-yield-audiences/types.js.map +0 -1
  63. package/dist/destinations/engage/sendgrid/destinationDefinition.d.ts +0 -3
  64. package/dist/destinations/engage/sendgrid/destinationDefinition.js +0 -70
  65. package/dist/destinations/engage/sendgrid/destinationDefinition.js.map +0 -1
  66. package/dist/destinations/engage/sendgrid/generated-types.d.ts +0 -1
  67. package/dist/destinations/engage/sendgrid/generated-types.js +0 -14
  68. package/dist/destinations/engage/sendgrid/generated-types.js.map +0 -1
  69. package/dist/destinations/engage/sendgrid/index.d.ts +0 -2
  70. package/dist/destinations/engage/sendgrid/index.js +0 -5
  71. package/dist/destinations/engage/sendgrid/index.js.map +0 -1
  72. package/dist/destinations/engage/sendgrid/previewApiLookup/actionDefinition.d.ts +0 -4
  73. package/dist/destinations/engage/sendgrid/previewApiLookup/actionDefinition.js +0 -28
  74. package/dist/destinations/engage/sendgrid/previewApiLookup/actionDefinition.js.map +0 -1
  75. package/dist/destinations/engage/sendgrid/previewApiLookup/generated-types.d.ts +0 -1
  76. package/dist/destinations/engage/sendgrid/previewApiLookup/generated-types.js +0 -14
  77. package/dist/destinations/engage/sendgrid/previewApiLookup/generated-types.js.map +0 -1
  78. package/dist/destinations/engage/sendgrid/previewApiLookup/index.d.ts +0 -1
  79. package/dist/destinations/engage/sendgrid/previewApiLookup/index.js +0 -14
  80. package/dist/destinations/engage/sendgrid/previewApiLookup/index.js.map +0 -1
  81. package/dist/destinations/engage/sendgrid/sendEmail/SendEmailPerformer.d.ts +0 -44
  82. package/dist/destinations/engage/sendgrid/sendEmail/SendEmailPerformer.js +0 -419
  83. package/dist/destinations/engage/sendgrid/sendEmail/SendEmailPerformer.js.map +0 -1
  84. package/dist/destinations/engage/sendgrid/sendEmail/UnlayerResponse.d.ts +0 -12
  85. package/dist/destinations/engage/sendgrid/sendEmail/UnlayerResponse.js +0 -3
  86. package/dist/destinations/engage/sendgrid/sendEmail/UnlayerResponse.js.map +0 -1
  87. package/dist/destinations/engage/sendgrid/sendEmail/actionDefinition.d.ts +0 -4
  88. package/dist/destinations/engage/sendgrid/sendEmail/actionDefinition.js +0 -257
  89. package/dist/destinations/engage/sendgrid/sendEmail/actionDefinition.js.map +0 -1
  90. package/dist/destinations/engage/sendgrid/sendEmail/generated-types.d.ts +0 -1
  91. package/dist/destinations/engage/sendgrid/sendEmail/generated-types.js +0 -14
  92. package/dist/destinations/engage/sendgrid/sendEmail/generated-types.js.map +0 -1
  93. package/dist/destinations/engage/sendgrid/sendEmail/index.d.ts +0 -1
  94. package/dist/destinations/engage/sendgrid/sendEmail/index.js +0 -14
  95. package/dist/destinations/engage/sendgrid/sendEmail/index.js.map +0 -1
  96. package/dist/destinations/engage/sendgrid/sendEmail/insertEmailPreviewText.d.ts +0 -1
  97. package/dist/destinations/engage/sendgrid/sendEmail/insertEmailPreviewText.js +0 -23
  98. package/dist/destinations/engage/sendgrid/sendEmail/insertEmailPreviewText.js.map +0 -1
  99. package/dist/destinations/engage/sendgrid/sendEmail/isRestrictedDomain.d.ts +0 -1
  100. package/dist/destinations/engage/sendgrid/sendEmail/isRestrictedDomain.js +0 -14
  101. package/dist/destinations/engage/sendgrid/sendEmail/isRestrictedDomain.js.map +0 -1
  102. package/dist/destinations/engage/twilio/destinationDefinition.d.ts +0 -3
  103. package/dist/destinations/engage/twilio/destinationDefinition.js +0 -172
  104. package/dist/destinations/engage/twilio/destinationDefinition.js.map +0 -1
  105. package/dist/destinations/engage/twilio/generated-types.d.ts +0 -1
  106. package/dist/destinations/engage/twilio/generated-types.js +0 -14
  107. package/dist/destinations/engage/twilio/generated-types.js.map +0 -1
  108. package/dist/destinations/engage/twilio/index.d.ts +0 -2
  109. package/dist/destinations/engage/twilio/index.js +0 -5
  110. package/dist/destinations/engage/twilio/index.js.map +0 -1
  111. package/dist/destinations/engage/twilio/sendMobilePush/PushSender.d.ts +0 -29
  112. package/dist/destinations/engage/twilio/sendMobilePush/PushSender.js +0 -169
  113. package/dist/destinations/engage/twilio/sendMobilePush/PushSender.js.map +0 -1
  114. package/dist/destinations/engage/twilio/sendMobilePush/actionDefinition.d.ts +0 -4
  115. package/dist/destinations/engage/twilio/sendMobilePush/actionDefinition.js +0 -250
  116. package/dist/destinations/engage/twilio/sendMobilePush/actionDefinition.js.map +0 -1
  117. package/dist/destinations/engage/twilio/sendMobilePush/generated-types.d.ts +0 -1
  118. package/dist/destinations/engage/twilio/sendMobilePush/generated-types.js +0 -14
  119. package/dist/destinations/engage/twilio/sendMobilePush/generated-types.js.map +0 -1
  120. package/dist/destinations/engage/twilio/sendMobilePush/index.d.ts +0 -1
  121. package/dist/destinations/engage/twilio/sendMobilePush/index.js +0 -14
  122. package/dist/destinations/engage/twilio/sendMobilePush/index.js.map +0 -1
  123. package/dist/destinations/engage/twilio/sendSms/SmsMessageSender.d.ts +0 -9
  124. package/dist/destinations/engage/twilio/sendSms/SmsMessageSender.js +0 -72
  125. package/dist/destinations/engage/twilio/sendSms/SmsMessageSender.js.map +0 -1
  126. package/dist/destinations/engage/twilio/sendSms/actionDefinition.d.ts +0 -4
  127. package/dist/destinations/engage/twilio/sendSms/actionDefinition.js +0 -162
  128. package/dist/destinations/engage/twilio/sendSms/actionDefinition.js.map +0 -1
  129. package/dist/destinations/engage/twilio/sendSms/generated-types.d.ts +0 -1
  130. package/dist/destinations/engage/twilio/sendSms/generated-types.js +0 -14
  131. package/dist/destinations/engage/twilio/sendSms/generated-types.js.map +0 -1
  132. package/dist/destinations/engage/twilio/sendSms/index.d.ts +0 -1
  133. package/dist/destinations/engage/twilio/sendSms/index.js +0 -14
  134. package/dist/destinations/engage/twilio/sendSms/index.js.map +0 -1
  135. package/dist/destinations/engage/twilio/sendWhatsApp/WhatsAppMessageSender.d.ts +0 -9
  136. package/dist/destinations/engage/twilio/sendWhatsApp/WhatsAppMessageSender.js +0 -89
  137. package/dist/destinations/engage/twilio/sendWhatsApp/WhatsAppMessageSender.js.map +0 -1
  138. package/dist/destinations/engage/twilio/sendWhatsApp/actionDefinition.d.ts +0 -4
  139. package/dist/destinations/engage/twilio/sendWhatsApp/actionDefinition.js +0 -136
  140. package/dist/destinations/engage/twilio/sendWhatsApp/actionDefinition.js.map +0 -1
  141. package/dist/destinations/engage/twilio/sendWhatsApp/generated-types.d.ts +0 -1
  142. package/dist/destinations/engage/twilio/sendWhatsApp/generated-types.js +0 -14
  143. package/dist/destinations/engage/twilio/sendWhatsApp/generated-types.js.map +0 -1
  144. package/dist/destinations/engage/twilio/sendWhatsApp/index.d.ts +0 -1
  145. package/dist/destinations/engage/twilio/sendWhatsApp/index.js +0 -14
  146. package/dist/destinations/engage/twilio/sendWhatsApp/index.js.map +0 -1
  147. package/dist/destinations/engage/twilio/utils/PhoneMessageSender.d.ts +0 -16
  148. package/dist/destinations/engage/twilio/utils/PhoneMessageSender.js +0 -71
  149. package/dist/destinations/engage/twilio/utils/PhoneMessageSender.js.map +0 -1
  150. package/dist/destinations/engage/twilio/utils/TwilioMessageSender.d.ts +0 -16
  151. package/dist/destinations/engage/twilio/utils/TwilioMessageSender.js +0 -115
  152. package/dist/destinations/engage/twilio/utils/TwilioMessageSender.js.map +0 -1
  153. package/dist/destinations/engage/twilio/utils/index.d.ts +0 -2
  154. package/dist/destinations/engage/twilio/utils/index.js +0 -15
  155. package/dist/destinations/engage/twilio/utils/index.js.map +0 -1
  156. package/dist/destinations/engage/twilio/utils/types.d.ts +0 -23
  157. package/dist/destinations/engage/twilio/utils/types.js +0 -3
  158. package/dist/destinations/engage/twilio/utils/types.js.map +0 -1
  159. package/dist/destinations/engage/utils/AggregateError.d.ts +0 -14
  160. package/dist/destinations/engage/utils/AggregateError.js +0 -26
  161. package/dist/destinations/engage/utils/AggregateError.js.map +0 -1
  162. package/dist/destinations/engage/utils/EngageActionPerformer.d.ts +0 -42
  163. package/dist/destinations/engage/utils/EngageActionPerformer.js +0 -148
  164. package/dist/destinations/engage/utils/EngageActionPerformer.js.map +0 -1
  165. package/dist/destinations/engage/utils/EngageLogger.d.ts +0 -18
  166. package/dist/destinations/engage/utils/EngageLogger.js +0 -52
  167. package/dist/destinations/engage/utils/EngageLogger.js.map +0 -1
  168. package/dist/destinations/engage/utils/EngageStats.d.ts +0 -18
  169. package/dist/destinations/engage/utils/EngageStats.js +0 -95
  170. package/dist/destinations/engage/utils/EngageStats.js.map +0 -1
  171. package/dist/destinations/engage/utils/IntegrationErrorWrapper.d.ts +0 -12
  172. package/dist/destinations/engage/utils/IntegrationErrorWrapper.js +0 -31
  173. package/dist/destinations/engage/utils/IntegrationErrorWrapper.js.map +0 -1
  174. package/dist/destinations/engage/utils/MessageSendPerformer.d.ts +0 -65
  175. package/dist/destinations/engage/utils/MessageSendPerformer.js +0 -211
  176. package/dist/destinations/engage/utils/MessageSendPerformer.js.map +0 -1
  177. package/dist/destinations/engage/utils/Profile.d.ts +0 -6
  178. package/dist/destinations/engage/utils/Profile.js +0 -3
  179. package/dist/destinations/engage/utils/Profile.js.map +0 -1
  180. package/dist/destinations/engage/utils/ResponseError.d.ts +0 -25
  181. package/dist/destinations/engage/utils/ResponseError.js +0 -22
  182. package/dist/destinations/engage/utils/ResponseError.js.map +0 -1
  183. package/dist/destinations/engage/utils/apiLookups.d.ts +0 -22
  184. package/dist/destinations/engage/utils/apiLookups.js +0 -189
  185. package/dist/destinations/engage/utils/apiLookups.js.map +0 -1
  186. package/dist/destinations/engage/utils/getProfileApiEndpoint.d.ts +0 -2
  187. package/dist/destinations/engage/utils/getProfileApiEndpoint.js +0 -10
  188. package/dist/destinations/engage/utils/getProfileApiEndpoint.js.map +0 -1
  189. package/dist/destinations/engage/utils/index.d.ts +0 -9
  190. package/dist/destinations/engage/utils/index.js +0 -22
  191. package/dist/destinations/engage/utils/index.js.map +0 -1
  192. package/dist/destinations/engage/utils/isDestinationActionService.d.ts +0 -1
  193. package/dist/destinations/engage/utils/isDestinationActionService.js +0 -8
  194. package/dist/destinations/engage/utils/isDestinationActionService.js.map +0 -1
  195. package/dist/destinations/engage/utils/isRetryableError.d.ts +0 -2
  196. package/dist/destinations/engage/utils/isRetryableError.js +0 -33
  197. package/dist/destinations/engage/utils/isRetryableError.js.map +0 -1
  198. package/dist/destinations/engage/utils/operationTracking/GenericMethodDecorator.d.ts +0 -1
  199. package/dist/destinations/engage/utils/operationTracking/GenericMethodDecorator.js +0 -3
  200. package/dist/destinations/engage/utils/operationTracking/GenericMethodDecorator.js.map +0 -1
  201. package/dist/destinations/engage/utils/operationTracking/OperationDecorator.d.ts +0 -46
  202. package/dist/destinations/engage/utils/operationTracking/OperationDecorator.js +0 -46
  203. package/dist/destinations/engage/utils/operationTracking/OperationDecorator.js.map +0 -1
  204. package/dist/destinations/engage/utils/operationTracking/OperationDuration.d.ts +0 -12
  205. package/dist/destinations/engage/utils/operationTracking/OperationDuration.js +0 -23
  206. package/dist/destinations/engage/utils/operationTracking/OperationDuration.js.map +0 -1
  207. package/dist/destinations/engage/utils/operationTracking/OperationErrorHandler.d.ts +0 -12
  208. package/dist/destinations/engage/utils/operationTracking/OperationErrorHandler.js +0 -35
  209. package/dist/destinations/engage/utils/operationTracking/OperationErrorHandler.js.map +0 -1
  210. package/dist/destinations/engage/utils/operationTracking/OperationFinallyHooks.d.ts +0 -14
  211. package/dist/destinations/engage/utils/operationTracking/OperationFinallyHooks.js +0 -31
  212. package/dist/destinations/engage/utils/operationTracking/OperationFinallyHooks.js.map +0 -1
  213. package/dist/destinations/engage/utils/operationTracking/OperationLogger.d.ts +0 -31
  214. package/dist/destinations/engage/utils/operationTracking/OperationLogger.js +0 -104
  215. package/dist/destinations/engage/utils/operationTracking/OperationLogger.js.map +0 -1
  216. package/dist/destinations/engage/utils/operationTracking/OperationStats.d.ts +0 -39
  217. package/dist/destinations/engage/utils/operationTracking/OperationStats.js +0 -130
  218. package/dist/destinations/engage/utils/operationTracking/OperationStats.js.map +0 -1
  219. package/dist/destinations/engage/utils/operationTracking/OperationTracker.test.d.ts +0 -1
  220. package/dist/destinations/engage/utils/operationTracking/OperationTracker.test.js +0 -377
  221. package/dist/destinations/engage/utils/operationTracking/OperationTracker.test.js.map +0 -1
  222. package/dist/destinations/engage/utils/operationTracking/OperationTree.d.ts +0 -23
  223. package/dist/destinations/engage/utils/operationTracking/OperationTree.js +0 -49
  224. package/dist/destinations/engage/utils/operationTracking/OperationTree.js.map +0 -1
  225. package/dist/destinations/engage/utils/operationTracking/TrackedError.d.ts +0 -6
  226. package/dist/destinations/engage/utils/operationTracking/TrackedError.js +0 -3
  227. package/dist/destinations/engage/utils/operationTracking/TrackedError.js.map +0 -1
  228. package/dist/destinations/engage/utils/operationTracking/index.d.ts +0 -10
  229. package/dist/destinations/engage/utils/operationTracking/index.js +0 -23
  230. package/dist/destinations/engage/utils/operationTracking/index.js.map +0 -1
  231. package/dist/destinations/engage/utils/operationTracking/wrapTryCatchFinallyPromisable.d.ts +0 -21
  232. package/dist/destinations/engage/utils/operationTracking/wrapTryCatchFinallyPromisable.js +0 -99
  233. package/dist/destinations/engage/utils/operationTracking/wrapTryCatchFinallyPromisable.js.map +0 -1
  234. package/dist/destinations/engage/utils/testUtils.d.ts +0 -6
  235. package/dist/destinations/engage/utils/testUtils.js +0 -26
  236. package/dist/destinations/engage/utils/testUtils.js.map +0 -1
  237. package/dist/destinations/engage/utils/track.d.ts +0 -52
  238. package/dist/destinations/engage/utils/track.js +0 -9
  239. package/dist/destinations/engage/utils/track.js.map +0 -1
  240. package/dist/destinations/engage-messaging-sendgrid/previewApiLookup.types.d.ts +0 -16
  241. package/dist/destinations/engage-messaging-sendgrid/previewApiLookup.types.js +0 -3
  242. package/dist/destinations/engage-messaging-sendgrid/previewApiLookup.types.js.map +0 -1
  243. package/dist/destinations/engage-messaging-sendgrid/sendEmail.types.d.ts +0 -56
  244. package/dist/destinations/engage-messaging-sendgrid/sendEmail.types.js +0 -3
  245. package/dist/destinations/engage-messaging-sendgrid/sendEmail.types.js.map +0 -1
  246. package/dist/destinations/engage-messaging-twilio/sendMobilePush.types.d.ts +0 -39
  247. package/dist/destinations/engage-messaging-twilio/sendMobilePush.types.js +0 -3
  248. package/dist/destinations/engage-messaging-twilio/sendMobilePush.types.js.map +0 -1
  249. package/dist/destinations/engage-messaging-twilio/sendSms/sms-sender.d.ts +0 -23
  250. package/dist/destinations/engage-messaging-twilio/sendSms/sms-sender.js +0 -131
  251. package/dist/destinations/engage-messaging-twilio/sendSms/sms-sender.js.map +0 -1
  252. package/dist/destinations/engage-messaging-twilio/sendSms.types.d.ts +0 -27
  253. package/dist/destinations/engage-messaging-twilio/sendSms.types.js +0 -3
  254. package/dist/destinations/engage-messaging-twilio/sendSms.types.js.map +0 -1
  255. package/dist/destinations/engage-messaging-twilio/sendWhatsApp/whatsapp-sender.d.ts +0 -21
  256. package/dist/destinations/engage-messaging-twilio/sendWhatsApp/whatsapp-sender.js +0 -75
  257. package/dist/destinations/engage-messaging-twilio/sendWhatsApp/whatsapp-sender.js.map +0 -1
  258. package/dist/destinations/engage-messaging-twilio/sendWhatsApp.types.d.ts +0 -25
  259. package/dist/destinations/engage-messaging-twilio/sendWhatsApp.types.js +0 -3
  260. package/dist/destinations/engage-messaging-twilio/sendWhatsApp.types.js.map +0 -1
  261. package/dist/destinations/engage-messaging-twilio/utils/message-sender.d.ts +0 -24
  262. package/dist/destinations/engage-messaging-twilio/utils/message-sender.js +0 -111
  263. package/dist/destinations/engage-messaging-twilio/utils/message-sender.js.map +0 -1
  264. package/dist/destinations/facebook-custom-audiences/add/generated-types.d.ts +0 -2
  265. package/dist/destinations/facebook-custom-audiences/add/generated-types.js +0 -3
  266. package/dist/destinations/facebook-custom-audiences/add/generated-types.js.map +0 -1
  267. package/dist/destinations/facebook-custom-audiences/add/index.d.ts +0 -5
  268. package/dist/destinations/facebook-custom-audiences/add/index.js +0 -11
  269. package/dist/destinations/facebook-custom-audiences/add/index.js.map +0 -1
  270. package/dist/destinations/facebook-custom-audiences/remove/generated-types.d.ts +0 -2
  271. package/dist/destinations/facebook-custom-audiences/remove/generated-types.js +0 -3
  272. package/dist/destinations/facebook-custom-audiences/remove/generated-types.js.map +0 -1
  273. package/dist/destinations/facebook-custom-audiences/remove/index.d.ts +0 -5
  274. package/dist/destinations/facebook-custom-audiences/remove/index.js +0 -11
  275. package/dist/destinations/facebook-custom-audiences/remove/index.js.map +0 -1
  276. package/dist/destinations/hubspot/helperFunctions.d.ts +0 -7
  277. package/dist/destinations/hubspot/helperFunctions.js +0 -27
  278. package/dist/destinations/hubspot/helperFunctions.js.map +0 -1
  279. package/dist/destinations/mixpanel/utils.d.ts +0 -13
  280. package/dist/destinations/mixpanel/utils.js +0 -117
  281. package/dist/destinations/mixpanel/utils.js.map +0 -1
  282. package/dist/destinations/responsys/shared_properties.d.ts +0 -3
  283. package/dist/destinations/responsys/shared_properties.js +0 -19
  284. package/dist/destinations/responsys/shared_properties.js.map +0 -1
  285. package/dist/destinations/snap-conversions-api/snap-capi-properties.d.ts +0 -30
  286. package/dist/destinations/snap-conversions-api/snap-capi-properties.js +0 -316
  287. package/dist/destinations/snap-conversions-api/snap-capi-properties.js.map +0 -1
  288. package/dist/destinations/tiktok-conversions/reportWebEvent/formatter.d.ts +0 -3
  289. package/dist/destinations/tiktok-conversions/reportWebEvent/formatter.js +0 -34
  290. package/dist/destinations/tiktok-conversions/reportWebEvent/formatter.js.map +0 -1
  291. package/dist/destinations/vernst-test/generated-types.d.ts +0 -2
  292. package/dist/destinations/vernst-test/generated-types.js +0 -3
  293. package/dist/destinations/vernst-test/generated-types.js.map +0 -1
  294. package/dist/destinations/vernst-test/index.d.ts +0 -4
  295. package/dist/destinations/vernst-test/index.js +0 -20
  296. package/dist/destinations/vernst-test/index.js.map +0 -1
  297. package/dist/destinations/vernst-test/pingWebhook/generated-types.d.ts +0 -3
  298. package/dist/destinations/vernst-test/pingWebhook/generated-types.js +0 -3
  299. package/dist/destinations/vernst-test/pingWebhook/generated-types.js.map +0 -1
  300. package/dist/destinations/vernst-test/pingWebhook/index.d.ts +0 -5
  301. package/dist/destinations/vernst-test/pingWebhook/index.js +0 -21
  302. package/dist/destinations/vernst-test/pingWebhook/index.js.map +0 -1
  303. package/dist/destinations/warehouse-test/client.d.ts +0 -27
  304. package/dist/destinations/warehouse-test/client.js +0 -121
  305. package/dist/destinations/warehouse-test/client.js.map +0 -1
  306. package/dist/destinations/warehouse-test/fields.d.ts +0 -3
  307. package/dist/destinations/warehouse-test/fields.js +0 -71
  308. package/dist/destinations/warehouse-test/fields.js.map +0 -1
  309. package/dist/destinations/warehouse-test/generated-types.d.ts +0 -7
  310. package/dist/destinations/warehouse-test/generated-types.js +0 -3
  311. package/dist/destinations/warehouse-test/generated-types.js.map +0 -1
  312. package/dist/destinations/warehouse-test/index.d.ts +0 -4
  313. package/dist/destinations/warehouse-test/index.js +0 -58
  314. package/dist/destinations/warehouse-test/index.js.map +0 -1
  315. package/dist/destinations/warehouse-test/syncToWarehouse/generated-types.d.ts +0 -5
  316. package/dist/destinations/warehouse-test/syncToWarehouse/generated-types.js +0 -3
  317. package/dist/destinations/warehouse-test/syncToWarehouse/generated-types.js.map +0 -1
  318. package/dist/destinations/warehouse-test/syncToWarehouse/index.d.ts +0 -5
  319. package/dist/destinations/warehouse-test/syncToWarehouse/index.js +0 -37
  320. package/dist/destinations/warehouse-test/syncToWarehouse/index.js.map +0 -1
@@ -1,316 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.click_id = exports.os_version = exports.device_model = exports.sign_up_method = exports.page_url = exports.search_string = exports.client_dedup_id = exports.level = exports.transaction_id = exports.currency = exports.price = exports.number_items = exports.description = exports.item_ids = exports.brands = exports.item_category = exports.ip_address = exports.user_agent = exports.phone_number = exports.idfv = exports.uuid_c1 = exports.mobile_ad_id = exports.email = exports.timestamp = exports.event_tag = exports.event_conversion_type = exports.event_type = exports.products = exports.CURRENCY_ISO_4217_CODES = void 0;
4
- exports.CURRENCY_ISO_4217_CODES = new Set([
5
- 'USD',
6
- 'AED',
7
- 'AUD',
8
- 'BGN',
9
- 'BRL',
10
- 'CAD',
11
- 'CHF',
12
- 'CLP',
13
- 'CNY',
14
- 'COP',
15
- 'CZK',
16
- 'DKK',
17
- 'EGP',
18
- 'EUR',
19
- 'GBP',
20
- 'GIP',
21
- 'HKD',
22
- 'HRK',
23
- 'HUF',
24
- 'IDR',
25
- 'ILS',
26
- 'INR',
27
- 'JPY',
28
- 'KRW',
29
- 'KWD',
30
- 'KZT',
31
- 'LBP',
32
- 'MXN',
33
- 'MYR',
34
- 'NGN',
35
- 'NOK',
36
- 'NZD',
37
- 'PEN',
38
- 'PHP',
39
- 'PKR',
40
- 'PLN',
41
- 'QAR',
42
- 'RON',
43
- 'RUB',
44
- 'SAR',
45
- 'SEK',
46
- 'SGD',
47
- 'THB',
48
- 'TRY',
49
- 'TWD',
50
- 'TZS',
51
- 'UAH',
52
- 'VND',
53
- 'ZAR',
54
- 'ALL',
55
- 'BHD',
56
- 'DZD',
57
- 'GHS',
58
- 'IQD',
59
- 'ISK',
60
- 'JOD',
61
- 'KES',
62
- 'MAD',
63
- 'OMR',
64
- 'XOF'
65
- ]);
66
- exports.products = {
67
- label: 'Products',
68
- description: "Use this field to send details of mulitple products / items. This field overrides individual 'Item ID', 'Item Category' and 'Brand' fields. Note: total purchase value is tracked using the 'Price' field",
69
- type: 'object',
70
- multiple: true,
71
- additionalProperties: false,
72
- properties: {
73
- item_id: {
74
- label: 'Item ID',
75
- type: 'string',
76
- description: 'Identfier for the item. International Article Number (EAN) when applicable, or other product or category identifier.',
77
- allowNull: false
78
- },
79
- item_category: {
80
- label: 'Category',
81
- type: 'string',
82
- description: 'Category of the item. This field accepts a string.',
83
- allowNull: false
84
- },
85
- brand: {
86
- label: 'Brand',
87
- type: 'string',
88
- description: 'Brand associated with the item. This field accepts a string.',
89
- allowNull: false
90
- }
91
- },
92
- default: {
93
- '@arrayPath': [
94
- '$.properties.products',
95
- {
96
- item_id: {
97
- '@path': 'product_id'
98
- },
99
- item_category: {
100
- '@path': 'category'
101
- },
102
- brand: {
103
- '@path': 'brand'
104
- }
105
- }
106
- ]
107
- }
108
- };
109
- exports.event_type = {
110
- label: 'Event Type',
111
- description: 'The conversion event type. For custom events, you must use one of the predefined event types (i.e. CUSTOM_EVENT_1). Please refer to the possible event types in [Snapchat Marketing API docs](https://marketingapi.snapchat.com/docs/conversion.html#conversion-parameters).',
112
- type: 'string'
113
- };
114
- exports.event_conversion_type = {
115
- label: 'Event Conversion Type',
116
- description: 'Where the event took place. This must be OFFLINE, WEB, or MOBILE_APP.',
117
- type: 'string',
118
- choices: [
119
- { label: 'Offline', value: 'OFFLINE' },
120
- { label: 'Web', value: 'WEB' },
121
- { label: 'Mobile App', value: 'MOBILE_APP' }
122
- ]
123
- };
124
- exports.event_tag = {
125
- label: 'Event Tag',
126
- description: 'Custom event label.',
127
- type: 'string'
128
- };
129
- exports.timestamp = {
130
- label: 'Event Timestamp',
131
- description: 'The Epoch timestamp for when the conversion happened. The timestamp cannot be more than 28 days in the past.',
132
- type: 'string',
133
- default: {
134
- '@path': '$.timestamp'
135
- }
136
- };
137
- exports.email = {
138
- label: 'Email',
139
- description: 'Email address of the user who triggered the conversion event. Segment will normalize and hash this value before sending to Snapchat. [Snapchat requires](https://marketingapi.snapchat.com/docs/conversion.html#conversion-parameters) that every payload contain values for Email or Phone Number or Mobile Ad Identifier or both IP Address and User Agent fields. Also see [Segment documentation](https://segment.com/docs/connections/destinations/catalog/actions-snap-conversions/#required-parameters-and-hashing).',
140
- type: 'string',
141
- default: {
142
- '@if': {
143
- exists: { '@path': '$.properties.email' },
144
- then: { '@path': '$.properties.email' },
145
- else: { '@path': '$.traits.email' }
146
- }
147
- }
148
- };
149
- exports.mobile_ad_id = {
150
- label: 'Mobile Ad Identifier',
151
- description: 'Mobile ad identifier (IDFA or AAID) of the user who triggered the conversion event. Segment will normalize and hash this value before sending to Snapchat. [Snapchat requires](https://marketingapi.snapchat.com/docs/conversion.html#conversion-parameters) that every payload contain values for Email or Phone Number or Mobile Ad Identifier or both IP Address and User Agent fields. Also see [Segment documentation](https://segment.com/docs/connections/destinations/catalog/actions-snap-conversions/#required-parameters-and-hashing).',
152
- type: 'string',
153
- default: {
154
- '@path': '$.context.device.advertisingId'
155
- }
156
- };
157
- exports.uuid_c1 = {
158
- label: 'uuid_c1 Cookie',
159
- description: 'Unique user ID cookie. If you are using the Pixel SDK, you can access a cookie1 by looking at the _scid value.',
160
- type: 'string',
161
- default: {
162
- '@path': '$.integrations.Snap Conversions Api.uuid_c1'
163
- }
164
- };
165
- exports.idfv = {
166
- label: 'Identifier for Vendor',
167
- description: 'IDFV of the user’s device. Segment will normalize and hash this value before sending to Snapchat.',
168
- type: 'string',
169
- default: {
170
- '@path': '$.context.device.id'
171
- }
172
- };
173
- exports.phone_number = {
174
- label: 'Phone Number',
175
- description: 'Phone number of the user who triggered the conversion event. Segment will normalize and hash this value before sending to Snapchat. [Snapchat requires](https://marketingapi.snapchat.com/docs/conversion.html#conversion-parameters) that every payload contain values for Email or Phone Number or Mobile Ad Identifier or both IP Address and User Agent fields. Also see [Segment documentation](https://segment.com/docs/connections/destinations/catalog/actions-snap-conversions/#required-parameters-and-hashing).',
176
- type: 'string',
177
- default: {
178
- '@if': {
179
- exists: { '@path': '$.properties.phone' },
180
- then: { '@path': '$.properties.phone' },
181
- else: { '@path': '$.traits.phone' }
182
- }
183
- }
184
- };
185
- exports.user_agent = {
186
- label: 'User Agent',
187
- description: 'User agent from the user’s device. [Snapchat requires](https://marketingapi.snapchat.com/docs/conversion.html#conversion-parameters) that every payload contain values for Email or Phone Number or Mobile Ad Identifier or both IP Address and User Agent fields. Also see [Segment documentation](https://segment.com/docs/connections/destinations/catalog/actions-snap-conversions/#required-parameters-and-hashing).',
188
- type: 'string',
189
- default: {
190
- '@path': '$.context.userAgent'
191
- }
192
- };
193
- exports.ip_address = {
194
- label: 'IP Address',
195
- description: 'IP address of the device or browser. Segment will normalize and hash this value before sending to Snapchat. [Snapchat requires](https://marketingapi.snapchat.com/docs/conversion.html#conversion-parameters) that every payload contain values for Email or Phone Number or Mobile Ad Identifier or both IP Address and User Agent fields. Also see [Segment documentation](https://segment.com/docs/connections/destinations/catalog/actions-snap-conversions/#required-parameters-and-hashing).',
196
- type: 'string',
197
- default: {
198
- '@path': '$.context.ip'
199
- }
200
- };
201
- exports.item_category = {
202
- label: 'Item Category',
203
- description: 'Category of the item. This field accepts a string.',
204
- type: 'string',
205
- default: {
206
- '@path': '$.properties.category'
207
- }
208
- };
209
- exports.brands = {
210
- label: 'Brand',
211
- description: 'Brand associated with the item. This field accepts a string or a list of strings',
212
- type: 'string',
213
- multiple: true,
214
- default: {
215
- '@path': '$.properties.brand'
216
- }
217
- };
218
- exports.item_ids = {
219
- label: 'Item ID',
220
- description: 'Identfier for the item. International Article Number (EAN) when applicable, or other product or category identifier.',
221
- type: 'string',
222
- default: {
223
- '@path': '$.properties.product_id'
224
- }
225
- };
226
- exports.description = {
227
- label: 'Description',
228
- description: 'A string description for additional info.',
229
- type: 'string'
230
- };
231
- exports.number_items = {
232
- label: 'Number of Items',
233
- description: 'Number of items. This field accepts a string only. e.g. "5"',
234
- type: 'string',
235
- default: {
236
- '@path': '$.properties.quantity'
237
- }
238
- };
239
- exports.price = {
240
- label: 'Price',
241
- description: "Total value of the purchase. This should be a single number. Can be overriden using the 'Track Purchase Value Per Product' field.",
242
- type: 'number',
243
- default: {
244
- '@if': {
245
- exists: { '@path': '$.properties.revenue' },
246
- then: { '@path': '$.properties.revenue' },
247
- else: { '@path': '$.properties.total' }
248
- }
249
- }
250
- };
251
- exports.currency = {
252
- label: 'Currency',
253
- description: 'Currency for the value specified as ISO 4217 code.',
254
- type: 'string',
255
- default: {
256
- '@path': '$.properties.currency'
257
- }
258
- };
259
- exports.transaction_id = {
260
- label: 'Transaction ID',
261
- description: 'Transaction ID or order ID tied to the conversion event. Please refer to the [Snapchat Marketing API docs](https://marketingapi.snapchat.com/docs/conversion.html#deduplication) for information on how this field is used for deduplication against Snap Pixel SDK and App Ads Kit events.',
262
- type: 'string',
263
- default: {
264
- '@path': '$.properties.order_id'
265
- }
266
- };
267
- exports.level = {
268
- label: 'Level',
269
- description: 'Represents a level in the context of a game.',
270
- type: 'string'
271
- };
272
- exports.client_dedup_id = {
273
- label: 'Client Deduplication ID',
274
- description: 'If you are reporting events via more than one method (Snap Pixel, App Ads Kit, Conversions API) you should use the same client_dedup_id across all methods. Please refer to the [Snapchat Marketing API docs](https://marketingapi.snapchat.com/docs/conversion.html#deduplication) for information on how this field is used for deduplication against Snap Pixel SDK and App Adds Kit events.',
275
- type: 'string'
276
- };
277
- exports.search_string = {
278
- label: 'Search String',
279
- description: 'The text string that was searched for.',
280
- type: 'string',
281
- default: {
282
- '@path': '$.properties.query'
283
- }
284
- };
285
- exports.page_url = {
286
- label: 'Page URL',
287
- description: 'The URL of the web page where the event took place.',
288
- type: 'string',
289
- default: {
290
- '@path': '$.context.page.url'
291
- }
292
- };
293
- exports.sign_up_method = {
294
- label: 'Sign Up Method',
295
- description: 'A string indicating the sign up method.',
296
- type: 'string'
297
- };
298
- exports.device_model = {
299
- label: 'Device Model',
300
- description: 'The user’s device model.',
301
- type: 'string'
302
- };
303
- exports.os_version = {
304
- label: 'OS Version',
305
- description: 'The user’s OS version.',
306
- type: 'string'
307
- };
308
- exports.click_id = {
309
- label: 'Click ID',
310
- description: "The ID value stored in the landing page URL's `&ScCid=` query parameter. Using this ID improves ad measurement performance. We also encourage advertisers who are using `click_id` to pass the full url in the `page_url` field. For more details, please refer to [Sending a Click ID](#sending-a-click-id)",
311
- type: 'string',
312
- default: {
313
- '@path': '$.integrations.Snap Conversions Api.click_id'
314
- }
315
- };
316
- //# sourceMappingURL=snap-capi-properties.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"snap-capi-properties.js","sourceRoot":"","sources":["../../../src/destinations/snap-conversions-api/snap-capi-properties.ts"],"names":[],"mappings":";;;AAEa,QAAA,uBAAuB,GAAG,IAAI,GAAG,CAAC;IAC7C,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;CACN,CAAC,CAAA;AAEW,QAAA,QAAQ,GAAe;IAClC,KAAK,EAAE,UAAU;IACjB,WAAW,EACT,2MAA2M;IAC7M,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,IAAI;IACd,oBAAoB,EAAE,KAAK;IAC3B,UAAU,EAAE;QACV,OAAO,EAAE;YACP,KAAK,EAAE,SAAS;YAChB,IAAI,EAAE,QAAQ;YACd,WAAW,EACT,sHAAsH;YACxH,SAAS,EAAE,KAAK;SACjB;QACD,aAAa,EAAE;YACb,KAAK,EAAE,UAAU;YACjB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;IACd,OAAO,EAAE;QACP,OAAO,EAAE,8CAA8C;KACxD;CACF,CAAA"}
@@ -1,3 +0,0 @@
1
- export declare function formatEmail(email: string | undefined): string | undefined;
2
- export declare function formatUserId(userId: string | undefined): string | undefined;
3
- export declare function formatPhone(phone: string | undefined): string | undefined;
@@ -1,34 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.formatPhone = exports.formatUserId = exports.formatEmail = void 0;
4
- const crypto_1 = require("crypto");
5
- function formatEmail(email) {
6
- if (email) {
7
- return hashAndEncode(email.toLowerCase());
8
- }
9
- return undefined;
10
- }
11
- exports.formatEmail = formatEmail;
12
- function formatUserId(userId) {
13
- if (userId) {
14
- return hashAndEncode(userId.toLowerCase().trim());
15
- }
16
- return undefined;
17
- }
18
- exports.formatUserId = formatUserId;
19
- function formatPhone(phone) {
20
- if (!phone)
21
- return undefined;
22
- const validatedPhone = phone.match(/[0-9]{0,14}/g);
23
- if (validatedPhone === null) {
24
- throw new Error(`${phone} is not a valid E.164 phone number.`);
25
- }
26
- let formattedPhone = `+${phone.replace(/[^0-9]/g, '')}`;
27
- formattedPhone = formattedPhone.substring(0, 15);
28
- return hashAndEncode(formattedPhone);
29
- }
30
- exports.formatPhone = formatPhone;
31
- function hashAndEncode(property) {
32
- return crypto_1.createHash('sha256').update(property).digest('hex');
33
- }
34
- //# sourceMappingURL=formatter.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"formatter.js","sourceRoot":"","sources":["../../../../src/destinations/tiktok-conversions/reportWebEvent/formatter.ts"],"names":[],"mappings":";;;AAAA,mCAAmC;AAKnC,SAAgB,WAAW,CAAC,KAAyB;IACnD,IAAI,KAAK,EAAE;QACT,OAAO,aAAa,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC,CAAA;KAC1C;IACD,OAAO,SAAS,CAAA;AAClB,CAAC;AALD,kCAKC;AAOD,SAAgB,YAAY,CAAC,MAA0B;IACrD,IAAI,MAAM,EAAE;QACV,OAAO,aAAa,CAAC,MAAM,CAAC,WAAW,EAAE,CAAC,IAAI,EAAE,CAAC,CAAA;KAClD;IACD,OAAO,SAAS,CAAA;AAClB,CAAC;AALD,oCAKC;AAOD,SAAgB,WAAW,CAAC,KAAyB;IACnD,IAAI,CAAC,KAAK;QAAE,OAAO,SAAS,CAAA;IAE5B,MAAM,cAAc,GAAG,KAAK,CAAC,KAAK,CAAC,cAAc,CAAC,CAAA;IAClD,IAAI,cAAc,KAAK,IAAI,EAAE;QAC3B,MAAM,IAAI,KAAK,CAAC,GAAG,KAAK,qCAAqC,CAAC,CAAA;KAC/D;IAED,IAAI,cAAc,GAAG,IAAI,KAAK,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,EAAE,CAAA;IAEvD,cAAc,GAAG,cAAc,CAAC,SAAS,CAAC,CAAC,EAAE,EAAE,CAAC,CAAA;IAChD,OAAO,aAAa,CAAC,cAAc,CAAC,CAAA;AACtC,CAAC;AAZD,kCAYC;AAED,SAAS,aAAa,CAAC,QAAgB;IACrC,OAAO,mBAAU,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;AAC5D,CAAC"}
@@ -1,2 +0,0 @@
1
- export interface Settings {
2
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=generated-types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"generated-types.js","sourceRoot":"","sources":["../../../src/destinations/vernst-test/generated-types.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- import type { DestinationDefinition } from '@segment/actions-core';
2
- import type { Settings } from './generated-types';
3
- declare const destination: DestinationDefinition<Settings>;
4
- export default destination;
@@ -1,20 +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 pingWebhook_1 = __importDefault(require("./pingWebhook"));
7
- const destination = {
8
- name: 'Vernst Test',
9
- slug: 'actions-vernst-test',
10
- mode: 'cloud',
11
- authentication: {
12
- scheme: 'custom',
13
- fields: {}
14
- },
15
- actions: {
16
- pingWebhook: pingWebhook_1.default
17
- }
18
- };
19
- exports.default = destination;
20
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/destinations/vernst-test/index.ts"],"names":[],"mappings":";;;;;AAGA,gEAAuC;AAEvC,MAAM,WAAW,GAAoC;IACnD,IAAI,EAAE,aAAa;IACnB,IAAI,EAAE,qBAAqB;IAC3B,IAAI,EAAE,OAAO;IAEb,cAAc,EAAE;QACd,MAAM,EAAE,QAAQ;QAChB,MAAM,EAAE,EAAE;KACX;IAED,OAAO,EAAE;QACP,WAAW,EAAX,qBAAW;KACZ;CACF,CAAA;AAED,kBAAe,WAAW,CAAA"}
@@ -1,3 +0,0 @@
1
- export interface Payload {
2
- content?: string;
3
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=generated-types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"generated-types.js","sourceRoot":"","sources":["../../../../src/destinations/vernst-test/pingWebhook/generated-types.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- import type { ActionDefinition } from '@segment/actions-core';
2
- import type { Settings } from '../generated-types';
3
- import type { Payload } from './generated-types';
4
- declare const action: ActionDefinition<Settings, Payload>;
5
- export default action;
@@ -1,21 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const action = {
4
- title: 'Ping Webhook',
5
- description: 'Pings a webhook with the content',
6
- fields: {
7
- content: {
8
- label: 'Content',
9
- description: 'the content that will be sent',
10
- type: 'string'
11
- }
12
- },
13
- perform: (request, data) => {
14
- return request('https://webhook.site/6c73baff-8715-48b8-84cd-67da8cdbd68f', {
15
- method: 'POST',
16
- json: { "content": data.payload.content }
17
- });
18
- }
19
- };
20
- exports.default = action;
21
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/vernst-test/pingWebhook/index.ts"],"names":[],"mappings":";;AAIA,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,cAAc;IACrB,WAAW,EAAE,kCAAkC;IAC/C,MAAM,EAAE;QACN,OAAO,EAAE;YACP,KAAK,EAAE,SAAS;YAChB,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,QAAQ;SACf;KACF;IACD,OAAO,EAAE,CAAC,OAAO,EAAE,IAAI,EAAE,EAAE;QACzB,OAAO,OAAO,CAAC,2DAA2D,EAAE;YAC1E,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,EAAE,SAAS,EAAE,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE;SAC1C,CAAC,CAAA;IACJ,CAAC;CACF,CAAA;AAED,kBAAe,MAAM,CAAA"}
@@ -1,27 +0,0 @@
1
- /// <reference types="node" />
2
- /// <reference types="node" />
3
- import { Settings } from './generated-types';
4
- import { _Error as AWSError } from '@aws-sdk/client-s3';
5
- export interface Credentials {
6
- accessKeyId: string;
7
- secretAccessKey: string;
8
- sessionToken: string;
9
- }
10
- export declare class Client {
11
- roleArn: string;
12
- roleSessionName: string;
13
- region: string;
14
- externalId: string;
15
- constructor(region: string, roleArn: string, externalId: string);
16
- assumeRole(): Promise<Credentials>;
17
- getSTSCredentials(roleId: string, externalId: string, credentials?: Credentials): Promise<{
18
- accessKeyId: string;
19
- secretAccessKey: string;
20
- sessionToken: string;
21
- }>;
22
- uploadS3(settings: Settings, fileContent: string | Buffer): Promise<{
23
- statusCode: number;
24
- message: string;
25
- }>;
26
- }
27
- export declare function isAWSError(err: unknown): err is AWSError;
@@ -1,121 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.isAWSError = exports.Client = void 0;
27
- const client_sts_1 = require("@aws-sdk/client-sts");
28
- const client_s3_1 = require("@aws-sdk/client-s3");
29
- const uuid_1 = require("@lukeed/uuid");
30
- const process = __importStar(require("process"));
31
- const actions_core_1 = require("@segment/actions-core");
32
- class Client {
33
- constructor(region, roleArn, externalId) {
34
- this.region = region;
35
- this.roleSessionName = (0, uuid_1.v4)();
36
- this.roleArn = roleArn;
37
- this.externalId = externalId;
38
- }
39
- async assumeRole() {
40
- const intermediaryARN = process.env.AMAZON_S3_ACTIONS_ROLE_ADDRESS;
41
- const intermediaryExternalId = process.env.AMAZON_S3_ACTIONS_EXTERNAL_ID;
42
- const intermediaryCreds = await this.getSTSCredentials(intermediaryARN, intermediaryExternalId);
43
- return this.getSTSCredentials(this.roleArn, this.externalId, intermediaryCreds);
44
- }
45
- async getSTSCredentials(roleId, externalId, credentials) {
46
- const options = { region: this.region, credentials };
47
- const stsClient = new client_sts_1.STSClient(options);
48
- const command = new client_sts_1.AssumeRoleCommand({
49
- RoleArn: roleId,
50
- RoleSessionName: this.roleSessionName,
51
- ExternalId: externalId
52
- });
53
- const result = await stsClient.send(command);
54
- if (!result.Credentials ||
55
- !result.Credentials.AccessKeyId ||
56
- !result.Credentials.SecretAccessKey ||
57
- !result.Credentials.SessionToken) {
58
- throw new actions_core_1.IntegrationError('Failed to assume role', actions_core_1.ErrorCodes.INVALID_AUTHENTICATION, 403);
59
- }
60
- return {
61
- accessKeyId: result.Credentials.AccessKeyId,
62
- secretAccessKey: result.Credentials.SecretAccessKey,
63
- sessionToken: result.Credentials.SessionToken
64
- };
65
- }
66
- async uploadS3(settings, fileContent) {
67
- const credentials = await this.assumeRole();
68
- const s3Client = new client_s3_1.S3Client({
69
- region: this.region,
70
- credentials
71
- });
72
- const dateSuffix = new Date().toISOString().replace(/[:.]/g, '-');
73
- const fileName = `${dateSuffix}_${settings.warehouseId}.gz`;
74
- const uploadParams = {
75
- Bucket: settings.s3_aws_bucket_name,
76
- Key: fileName,
77
- Body: fileContent,
78
- ContentType: 'gzip'
79
- };
80
- try {
81
- await s3Client.send(new client_s3_1.PutObjectCommand(uploadParams));
82
- return { statusCode: 200, message: 'Upload successful' };
83
- }
84
- catch (err) {
85
- if (isAWSError(err)) {
86
- if (err.Code && accessDeniedCodes.has(err.Code)) {
87
- throw new actions_core_1.APIError(err.Message || err.Code, 403);
88
- }
89
- else if (err.Code === 'NoSuchBucket') {
90
- throw new actions_core_1.APIError(err.Message || err.Code, 404);
91
- }
92
- else if (err.Code === 'SlowDown') {
93
- throw new actions_core_1.APIError(err.Message || err.Code, 429);
94
- }
95
- else {
96
- throw new actions_core_1.RetryableError(err.Message || err.Code || 'Unknown AWS Put error: ' + err);
97
- }
98
- }
99
- else {
100
- throw new actions_core_1.APIError('Unknown error during AWS PUT: ' + err, 500);
101
- }
102
- }
103
- }
104
- }
105
- exports.Client = Client;
106
- const accessDeniedCodes = new Set([
107
- 'AccessDenied',
108
- 'AccountProblem',
109
- 'AllAccessDisabled',
110
- 'InvalidAccessKeyId',
111
- 'InvalidSecurity',
112
- 'NotSignedUp',
113
- 'AmbiguousGrantByEmailAddress',
114
- 'AuthorizationHeaderMalformed',
115
- 'RequestExpired'
116
- ]);
117
- function isAWSError(err) {
118
- return typeof err === 'object' && err !== null && 'Code' in err && 'Message' in err;
119
- }
120
- exports.isAWSError = isAWSError;
121
- //# sourceMappingURL=client.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"client.js","sourceRoot":"","sources":["../../../src/destinations/warehouse-test/client.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,oDAAkE;AAClE,kDAA0G;AAC1G,uCAA2C;AAC3C,iDAAkC;AAClC,wDAA8F;AAQ9F,MAAa,MAAM;IAMjB,YAAY,MAAc,EAAE,OAAe,EAAE,UAAkB;QAC7D,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;QACpB,IAAI,CAAC,eAAe,GAAG,IAAA,SAAM,GAAE,CAAA;QAC/B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;QACtB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAA;IAC9B,CAAC;IAED,KAAK,CAAC,UAAU;QACd,MAAM,eAAe,GAAG,OAAO,CAAC,GAAG,CAAC,8BAAwC,CAAA;QAC5E,MAAM,sBAAsB,GAAG,OAAO,CAAC,GAAG,CAAC,6BAAuC,CAAA;QAClF,MAAM,iBAAiB,GAAG,MAAM,IAAI,CAAC,iBAAiB,CAAC,eAAe,EAAE,sBAAsB,CAAC,CAAA;QAC/F,OAAO,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,iBAAiB,CAAC,CAAA;IACjF,CAAC;IAED,KAAK,CAAC,iBAAiB,CAAC,MAAc,EAAE,UAAkB,EAAE,WAAyB;QACnF,MAAM,OAAO,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,WAAW,EAAE,CAAA;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AgB;CACjB,CAAC,CAAA;AAGF,SAAgB,UAAU,CAAC,GAAY;IACrC,OAAO,OAAO,GAAG,KAAK,QAAQ,IAAI,GAAG,KAAK,IAAI,IAAI,MAAM,IAAI,GAAG,IAAI,SAAS,IAAI,GAAG,CAAA;AACrF,CAAC;AAFD,gCAEC"}
@@ -1,3 +0,0 @@
1
- import { ActionDefinition } from '@segment/actions-core';
2
- import { Settings } from './generated-types';
3
- export declare const commonFields: ActionDefinition<Settings>['fields'];