@segment/action-destinations 3.235.0 → 3.236.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 (225) hide show
  1. package/dist/destinations/aggregations-io/generated-types.d.ts +4 -0
  2. package/dist/destinations/aggregations-io/generated-types.js.map +1 -0
  3. package/dist/destinations/aggregations-io/index.js +48 -0
  4. package/dist/destinations/aggregations-io/index.js.map +1 -0
  5. package/dist/destinations/aggregations-io/send/generated-types.d.ts +7 -0
  6. package/dist/destinations/aggregations-io/send/generated-types.js.map +1 -0
  7. package/dist/destinations/aggregations-io/send/index.js +44 -0
  8. package/dist/destinations/aggregations-io/send/index.js.map +1 -0
  9. package/dist/destinations/algolia-insights/conversionEvents/generated-types.d.ts +2 -2
  10. package/dist/destinations/algolia-insights/conversionEvents/index.js +2 -2
  11. package/dist/destinations/algolia-insights/conversionEvents/index.js.map +1 -1
  12. package/dist/destinations/algolia-insights/productAddedEvents/generated-types.d.ts +2 -2
  13. package/dist/destinations/algolia-insights/productAddedEvents/index.js +2 -2
  14. package/dist/destinations/algolia-insights/productAddedEvents/index.js.map +1 -1
  15. package/dist/destinations/algolia-insights/productClickedEvents/generated-types.d.ts +2 -2
  16. package/dist/destinations/algolia-insights/productClickedEvents/index.js +2 -2
  17. package/dist/destinations/algolia-insights/productClickedEvents/index.js.map +1 -1
  18. package/dist/destinations/algolia-insights/productListFilteredEvents/generated-types.d.ts +2 -2
  19. package/dist/destinations/algolia-insights/productListFilteredEvents/index.js +2 -2
  20. package/dist/destinations/algolia-insights/productListFilteredEvents/index.js.map +1 -1
  21. package/dist/destinations/algolia-insights/productViewedEvents/generated-types.d.ts +2 -2
  22. package/dist/destinations/algolia-insights/productViewedEvents/index.js +2 -2
  23. package/dist/destinations/algolia-insights/productViewedEvents/index.js.map +1 -1
  24. package/dist/destinations/devrev/createRevUser/index.js +9 -6
  25. package/dist/destinations/devrev/createRevUser/index.js.map +1 -1
  26. package/dist/destinations/devrev/utils/types.d.ts +9 -0
  27. package/dist/destinations/display-video-360/properties.js +4 -4
  28. package/dist/destinations/display-video-360/properties.js.map +1 -1
  29. package/dist/destinations/display-video-360/proto/protofile.d.ts +1 -0
  30. package/dist/destinations/display-video-360/proto/protofile.js +1 -0
  31. package/dist/destinations/display-video-360/proto/protofile.js.map +1 -1
  32. package/dist/destinations/display-video-360/shared.js +1 -0
  33. package/dist/destinations/display-video-360/shared.js.map +1 -1
  34. package/dist/destinations/engage/sendgrid/sendEmail/actionDefinition.js +9 -0
  35. package/dist/destinations/engage/sendgrid/sendEmail/actionDefinition.js.map +1 -1
  36. package/dist/destinations/engage/twilio/sendMobilePush/actionDefinition.js +9 -0
  37. package/dist/destinations/engage/twilio/sendMobilePush/actionDefinition.js.map +1 -1
  38. package/dist/destinations/engage/twilio/sendSms/actionDefinition.js +9 -0
  39. package/dist/destinations/engage/twilio/sendSms/actionDefinition.js.map +1 -1
  40. package/dist/destinations/engage/twilio/sendWhatsApp/actionDefinition.js +9 -0
  41. package/dist/destinations/engage/twilio/sendWhatsApp/actionDefinition.js.map +1 -1
  42. package/dist/destinations/engage/utils/EngageStats.js +1 -1
  43. package/dist/destinations/engage/utils/EngageStats.js.map +1 -1
  44. package/dist/destinations/engage/utils/track.d.ts +17 -17
  45. package/dist/destinations/engage-messaging-sendgrid/previewApiLookup.types.d.ts +1 -0
  46. package/dist/destinations/engage-messaging-sendgrid/sendEmail.types.d.ts +2 -0
  47. package/dist/destinations/engage-messaging-twilio/sendMobilePush.types.d.ts +1 -0
  48. package/dist/destinations/engage-messaging-twilio/sendSms.types.d.ts +1 -0
  49. package/dist/destinations/engage-messaging-twilio/sendWhatsApp.types.d.ts +1 -0
  50. package/dist/destinations/equals/generated-types.d.ts +3 -0
  51. package/dist/destinations/equals/generated-types.js.map +1 -0
  52. package/dist/destinations/equals/index.d.ts +4 -0
  53. package/dist/destinations/equals/index.js +38 -0
  54. package/dist/destinations/equals/index.js.map +1 -0
  55. package/dist/destinations/equals/send/generated-types.d.ts +5 -0
  56. package/dist/destinations/equals/send/generated-types.js.map +1 -0
  57. package/dist/destinations/equals/send/index.js +38 -0
  58. package/dist/destinations/equals/send/index.js.map +1 -0
  59. package/dist/destinations/facebook-conversions-api/constants.d.ts +1 -1
  60. package/dist/destinations/facebook-conversions-api/constants.js +1 -1
  61. package/dist/destinations/google-enhanced-conversions/functions.d.ts +1 -1
  62. package/dist/destinations/google-enhanced-conversions/functions.js +1 -1
  63. package/dist/destinations/index.js +3 -0
  64. package/dist/destinations/index.js.map +1 -1
  65. package/dist/destinations/kevel/generated-types.d.ts +4 -0
  66. package/dist/destinations/kevel/generated-types.js.map +1 -0
  67. package/dist/destinations/kevel/index.d.ts +4 -0
  68. package/dist/destinations/kevel/index.js +45 -0
  69. package/dist/destinations/kevel/index.js.map +1 -0
  70. package/dist/destinations/kevel/syncAudience/generated-types.d.ts +8 -0
  71. package/dist/destinations/kevel/syncAudience/generated-types.js.map +1 -0
  72. package/dist/destinations/{movable-ink/identify → kevel/syncAudience}/index.d.ts +1 -1
  73. package/dist/destinations/kevel/syncAudience/index.js +64 -0
  74. package/dist/destinations/kevel/syncAudience/index.js.map +1 -0
  75. package/dist/destinations/kevel/syncTraits/generated-types.d.ts +6 -0
  76. package/dist/destinations/kevel/syncTraits/generated-types.js.map +1 -0
  77. package/dist/destinations/{movable-ink/productAdded → kevel/syncTraits}/index.d.ts +1 -1
  78. package/dist/destinations/kevel/syncTraits/index.js +39 -0
  79. package/dist/destinations/kevel/syncTraits/index.js.map +1 -0
  80. package/dist/destinations/klaviyo/addProfileToList/generated-types.d.ts +1 -0
  81. package/dist/destinations/klaviyo/addProfileToList/index.js +2 -1
  82. package/dist/destinations/klaviyo/addProfileToList/index.js.map +1 -1
  83. package/dist/destinations/klaviyo/functions.js +1 -1
  84. package/dist/destinations/klaviyo/functions.js.map +1 -1
  85. package/dist/destinations/klaviyo/properties.d.ts +1 -0
  86. package/dist/destinations/klaviyo/properties.js +9 -1
  87. package/dist/destinations/klaviyo/properties.js.map +1 -1
  88. package/dist/destinations/klaviyo/upsertProfile/generated-types.d.ts +1 -0
  89. package/dist/destinations/klaviyo/upsertProfile/index.js +4 -2
  90. package/dist/destinations/klaviyo/upsertProfile/index.js.map +1 -1
  91. package/dist/destinations/marketo-static-lists/addToList/generated-types.d.ts +1 -1
  92. package/dist/destinations/marketo-static-lists/addToList/index.js +6 -4
  93. package/dist/destinations/marketo-static-lists/addToList/index.js.map +1 -1
  94. package/dist/destinations/marketo-static-lists/functions.d.ts +3 -3
  95. package/dist/destinations/marketo-static-lists/functions.js +23 -15
  96. package/dist/destinations/marketo-static-lists/functions.js.map +1 -1
  97. package/dist/destinations/marketo-static-lists/properties.js +2 -2
  98. package/dist/destinations/marketo-static-lists/properties.js.map +1 -1
  99. package/dist/destinations/marketo-static-lists/removeFromList/generated-types.d.ts +1 -1
  100. package/dist/destinations/marketo-static-lists/removeFromList/index.js +6 -4
  101. package/dist/destinations/marketo-static-lists/removeFromList/index.js.map +1 -1
  102. package/dist/destinations/moengage/trackEvent/generated-types.d.ts +1 -0
  103. package/dist/destinations/moengage/trackEvent/index.js +10 -2
  104. package/dist/destinations/moengage/trackEvent/index.js.map +1 -1
  105. package/dist/destinations/segment/generated-types.d.ts +0 -1
  106. package/dist/destinations/segment/index.js +3 -13
  107. package/dist/destinations/segment/index.js.map +1 -1
  108. package/dist/destinations/segment/properties.d.ts +1 -1
  109. package/dist/destinations/segment/properties.js +3 -3
  110. package/dist/destinations/segment/properties.js.map +1 -1
  111. package/dist/destinations/segment/sendGroup/index.js +5 -16
  112. package/dist/destinations/segment/sendGroup/index.js.map +1 -1
  113. package/dist/destinations/segment/sendIdentify/index.js +5 -16
  114. package/dist/destinations/segment/sendIdentify/index.js.map +1 -1
  115. package/dist/destinations/segment/sendPage/index.js +5 -16
  116. package/dist/destinations/segment/sendPage/index.js.map +1 -1
  117. package/dist/destinations/segment/sendScreen/index.js +5 -16
  118. package/dist/destinations/segment/sendScreen/index.js.map +1 -1
  119. package/dist/destinations/segment/sendTrack/index.js +5 -16
  120. package/dist/destinations/segment/sendTrack/index.js.map +1 -1
  121. package/dist/destinations/yahoo-audiences/index.js +4 -2
  122. package/dist/destinations/yahoo-audiences/index.js.map +1 -1
  123. package/dist/destinations/yahoo-audiences/updateSegment/generated-types.d.ts +6 -2
  124. package/dist/destinations/yahoo-audiences/updateSegment/index.js +36 -11
  125. package/dist/destinations/yahoo-audiences/updateSegment/index.js.map +1 -1
  126. package/dist/destinations/yahoo-audiences/utils-rt.js +3 -3
  127. package/dist/destinations/yahoo-audiences/utils-rt.js.map +1 -1
  128. package/package.json +2 -2
  129. package/dist/destinations/display-video-360/listManagement.d.ts +0 -9
  130. package/dist/destinations/display-video-360/listManagement.js +0 -16
  131. package/dist/destinations/display-video-360/listManagement.js.map +0 -1
  132. package/dist/destinations/engage/sendgrid/Profile.d.ts +0 -6
  133. package/dist/destinations/engage/sendgrid/Profile.js +0 -3
  134. package/dist/destinations/engage/sendgrid/Profile.js.map +0 -1
  135. package/dist/destinations/engage/sendgrid/previewApiLookup/api-lookups.d.ts +0 -21
  136. package/dist/destinations/engage/sendgrid/previewApiLookup/api-lookups.js +0 -174
  137. package/dist/destinations/engage/sendgrid/previewApiLookup/api-lookups.js.map +0 -1
  138. package/dist/destinations/movable-ink/categoryView/generated-types.d.ts +0 -22
  139. package/dist/destinations/movable-ink/categoryView/generated-types.js.map +0 -1
  140. package/dist/destinations/movable-ink/categoryView/index.js +0 -43
  141. package/dist/destinations/movable-ink/categoryView/index.js.map +0 -1
  142. package/dist/destinations/movable-ink/conversion/generated-types.d.ts +0 -20
  143. package/dist/destinations/movable-ink/conversion/generated-types.js.map +0 -1
  144. package/dist/destinations/movable-ink/conversion/index.js +0 -45
  145. package/dist/destinations/movable-ink/conversion/index.js.map +0 -1
  146. package/dist/destinations/movable-ink/fields.d.ts +0 -21
  147. package/dist/destinations/movable-ink/fields.js +0 -236
  148. package/dist/destinations/movable-ink/fields.js.map +0 -1
  149. package/dist/destinations/movable-ink/identify/generated-types.d.ts +0 -7
  150. package/dist/destinations/movable-ink/identify/generated-types.js.map +0 -1
  151. package/dist/destinations/movable-ink/identify/index.js +0 -32
  152. package/dist/destinations/movable-ink/identify/index.js.map +0 -1
  153. package/dist/destinations/movable-ink/productAdded/generated-types.d.ts +0 -22
  154. package/dist/destinations/movable-ink/productAdded/generated-types.js.map +0 -1
  155. package/dist/destinations/movable-ink/productAdded/index.js +0 -43
  156. package/dist/destinations/movable-ink/productAdded/index.js.map +0 -1
  157. package/dist/destinations/movable-ink/productViewed/generated-types.d.ts +0 -21
  158. package/dist/destinations/movable-ink/productViewed/generated-types.js.map +0 -1
  159. package/dist/destinations/movable-ink/productViewed/index.d.ts +0 -5
  160. package/dist/destinations/movable-ink/productViewed/index.js +0 -43
  161. package/dist/destinations/movable-ink/productViewed/index.js.map +0 -1
  162. package/dist/destinations/movable-ink/search/generated-types.d.ts +0 -12
  163. package/dist/destinations/movable-ink/search/generated-types.js.map +0 -1
  164. package/dist/destinations/movable-ink/search/index.d.ts +0 -5
  165. package/dist/destinations/movable-ink/search/index.js +0 -43
  166. package/dist/destinations/movable-ink/search/index.js.map +0 -1
  167. package/dist/destinations/movable-ink/sendCustomEvent/generated-types.d.ts +0 -25
  168. package/dist/destinations/movable-ink/sendCustomEvent/generated-types.js.map +0 -1
  169. package/dist/destinations/movable-ink/sendCustomEvent/index.d.ts +0 -5
  170. package/dist/destinations/movable-ink/sendCustomEvent/index.js +0 -48
  171. package/dist/destinations/movable-ink/sendCustomEvent/index.js.map +0 -1
  172. package/dist/destinations/responsys/asyncMergePetRecords/generated-types.d.ts +0 -14
  173. package/dist/destinations/responsys/asyncMergePetRecords/generated-types.js +0 -3
  174. package/dist/destinations/responsys/asyncMergePetRecords/generated-types.js.map +0 -1
  175. package/dist/destinations/responsys/asyncMergePetRecords/index.d.ts +0 -5
  176. package/dist/destinations/responsys/asyncMergePetRecords/index.js +0 -113
  177. package/dist/destinations/responsys/asyncMergePetRecords/index.js.map +0 -1
  178. package/dist/destinations/responsys/asyncMergeProfileListMembers/generated-types.d.ts +0 -20
  179. package/dist/destinations/responsys/asyncMergeProfileListMembers/generated-types.js +0 -3
  180. package/dist/destinations/responsys/asyncMergeProfileListMembers/generated-types.js.map +0 -1
  181. package/dist/destinations/responsys/asyncMergeProfileListMembers/index.d.ts +0 -5
  182. package/dist/destinations/responsys/asyncMergeProfileListMembers/index.js +0 -174
  183. package/dist/destinations/responsys/asyncMergeProfileListMembers/index.js.map +0 -1
  184. package/dist/destinations/responsys/generated-types.d.ts +0 -5
  185. package/dist/destinations/responsys/generated-types.js +0 -3
  186. package/dist/destinations/responsys/generated-types.js.map +0 -1
  187. package/dist/destinations/responsys/index.js +0 -62
  188. package/dist/destinations/responsys/index.js.map +0 -1
  189. package/dist/destinations/responsys/rsp-operations.d.ts +0 -14
  190. package/dist/destinations/responsys/rsp-operations.js +0 -33
  191. package/dist/destinations/responsys/rsp-operations.js.map +0 -1
  192. package/dist/destinations/responsys/rsp-properties.d.ts +0 -4
  193. package/dist/destinations/responsys/rsp-properties.js +0 -27
  194. package/dist/destinations/responsys/rsp-properties.js.map +0 -1
  195. package/dist/destinations/responsys/types.d.ts +0 -37
  196. package/dist/destinations/responsys/types.js +0 -3
  197. package/dist/destinations/responsys/types.js.map +0 -1
  198. package/dist/destinations/tiktok-offline-conversions/reportOfflineEvent/formatter.d.ts +0 -3
  199. package/dist/destinations/tiktok-offline-conversions/reportOfflineEvent/formatter.js +0 -43
  200. package/dist/destinations/tiktok-offline-conversions/reportOfflineEvent/formatter.js.map +0 -1
  201. package/dist/destinations/tiktok-offline-conversions/reportOfflineEvent/generated-types.d.ts +0 -33
  202. package/dist/destinations/tiktok-offline-conversions/reportOfflineEvent/generated-types.js +0 -3
  203. package/dist/destinations/tiktok-offline-conversions/reportOfflineEvent/generated-types.js.map +0 -1
  204. package/dist/destinations/tiktok-offline-conversions/reportOfflineEvent/index.d.ts +0 -5
  205. package/dist/destinations/tiktok-offline-conversions/reportOfflineEvent/index.js +0 -317
  206. package/dist/destinations/tiktok-offline-conversions/reportOfflineEvent/index.js.map +0 -1
  207. package/dist/destinations/trackey/group.types.d.ts +0 -11
  208. package/dist/destinations/trackey/group.types.js +0 -3
  209. package/dist/destinations/trackey/group.types.js.map +0 -1
  210. package/dist/destinations/trackey/identify.types.d.ts +0 -11
  211. package/dist/destinations/trackey/identify.types.js +0 -3
  212. package/dist/destinations/trackey/identify.types.js.map +0 -1
  213. package/dist/destinations/trackey/track.types.d.ts +0 -12
  214. package/dist/destinations/trackey/track.types.js +0 -3
  215. package/dist/destinations/trackey/track.types.js.map +0 -1
  216. /package/dist/destinations/{movable-ink/categoryView → aggregations-io}/generated-types.js +0 -0
  217. /package/dist/destinations/{responsys → aggregations-io}/index.d.ts +0 -0
  218. /package/dist/destinations/{movable-ink/conversion → aggregations-io/send}/generated-types.js +0 -0
  219. /package/dist/destinations/{movable-ink/categoryView → aggregations-io/send}/index.d.ts +0 -0
  220. /package/dist/destinations/{movable-ink/identify → equals}/generated-types.js +0 -0
  221. /package/dist/destinations/{movable-ink/productAdded → equals/send}/generated-types.js +0 -0
  222. /package/dist/destinations/{movable-ink/conversion → equals/send}/index.d.ts +0 -0
  223. /package/dist/destinations/{movable-ink/productViewed → kevel}/generated-types.js +0 -0
  224. /package/dist/destinations/{movable-ink/search → kevel/syncAudience}/generated-types.js +0 -0
  225. /package/dist/destinations/{movable-ink/sendCustomEvent → kevel/syncTraits}/generated-types.js +0 -0
@@ -1,317 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const actions_core_1 = require("@segment/actions-core");
4
- const formatter_1 = require("./formatter");
5
- const action = {
6
- title: 'Track Payment Offline Conversion',
7
- description: 'Send details of an in-store purchase or console purchase to the Tiktok Offline Events API',
8
- fields: {
9
- event: {
10
- label: 'Event Name',
11
- type: 'string',
12
- required: true,
13
- description: 'Conversion event name. Please refer to the "Offline Standard Events" section on in TikTok’s [Events API 2.0 documentation](https://business-api.tiktok.com/portal/docs?id=1771101186666498) for accepted event names.'
14
- },
15
- event_id: {
16
- label: 'Event ID',
17
- type: 'string',
18
- description: 'Any hashed ID that can identify a unique user/session.',
19
- default: {
20
- '@path': '$.messageId'
21
- }
22
- },
23
- timestamp: {
24
- label: 'Event Timestamp',
25
- type: 'string',
26
- description: 'Timestamp that the event took place, in ISO 8601 format.',
27
- default: {
28
- '@path': '$.timestamp'
29
- }
30
- },
31
- phone_numbers: {
32
- label: 'Phone Numbers',
33
- description: 'A single phone number or array of phone numbers in E.164 standard format. Segment will hash this value before sending to TikTok. At least one phone number is required if no value is provided in the Emails field.',
34
- type: 'string',
35
- multiple: true,
36
- default: {
37
- '@if': {
38
- exists: { '@path': '$.properties.phone' },
39
- then: { '@path': '$.properties.phone' },
40
- else: { '@path': '$.traits.phone' }
41
- }
42
- }
43
- },
44
- emails: {
45
- label: 'Emails',
46
- description: 'A single email address or an array of email addresses. Segment will hash this value before sending to TikTok. At least one email is required if no value is provided in the Phone Numbers field.',
47
- type: 'string',
48
- multiple: true,
49
- default: {
50
- '@if': {
51
- exists: { '@path': '$.properties.email' },
52
- then: { '@path': '$.properties.email' },
53
- else: { '@path': '$.traits.email' }
54
- }
55
- }
56
- },
57
- external_ids: {
58
- label: 'External ID',
59
- description: 'Uniquely identifies the user who triggered the conversion event. Segment will hash this value before sending to TikTok.',
60
- type: 'string',
61
- multiple: true,
62
- default: {
63
- '@if': {
64
- exists: { '@path': '$.userId' },
65
- then: { '@path': '$.userId' },
66
- else: { '@path': '$.anonymousId' }
67
- }
68
- }
69
- },
70
- ttclid: {
71
- label: 'TikTok Click ID',
72
- description: 'The value of the ttclid used to match website visitor events with TikTok ads. The ttclid is valid for 7 days. See [Set up ttclid](https://ads.tiktok.com/marketing_api/docs?rid=4eezrhr6lg4&id=1681728034437121) for details.',
73
- type: 'string',
74
- default: {
75
- '@if': {
76
- exists: { '@path': '$.properties.ttclid' },
77
- then: { '@path': '$.properties.ttclid' },
78
- else: { '@path': '$.traits.ttclid' }
79
- }
80
- }
81
- },
82
- ttp: {
83
- label: 'TikTok Cookie ID',
84
- description: 'TikTok Cookie ID. If you also use Pixel SDK and have enabled cookies, Pixel SDK automatically saves a unique identifier in the `_ttp` cookie. The value of `_ttp` is used to match website visitor events with TikTok ads. You can extract the value of `_ttp` and attach the value here. To learn more about the `ttp` parameter, refer to [Events API 2.0 - Send TikTok Cookie](https://ads.tiktok.com/marketing_api/docs?id=%201771100936446977) (`_ttp`).',
85
- type: 'string',
86
- default: {
87
- '@if': {
88
- exists: { '@path': '$.properties.ttp' },
89
- then: { '@path': '$.properties.ttp' },
90
- else: { '@path': '$.integrations.TikTok Pixel.ttp' }
91
- }
92
- }
93
- },
94
- lead_id: {
95
- label: 'TikTok Lead ID',
96
- description: 'ID of TikTok leads. Every lead will have its own lead_id when exported from TikTok. This feature is in Beta. Please contact your TikTok representative to inquire regarding availability',
97
- type: 'string',
98
- default: {
99
- '@if': {
100
- exists: { '@path': '$.properties.lead_id' },
101
- then: { '@path': '$.properties.lead_id' },
102
- else: { '@path': '$.traits.lead_id' }
103
- }
104
- }
105
- },
106
- locale: {
107
- label: 'Locale',
108
- description: 'The BCP 47 language identifier. For reference, refer to the [IETF BCP 47 standardized code](https://www.rfc-editor.org/rfc/bcp/bcp47.txt).',
109
- type: 'string',
110
- default: {
111
- '@path': '$.context.locale'
112
- }
113
- },
114
- url: {
115
- label: 'Page URL',
116
- type: 'string',
117
- description: 'The page URL where the conversion event took place.',
118
- default: {
119
- '@path': '$.context.page.url'
120
- }
121
- },
122
- referrer: {
123
- label: 'Page Referrer',
124
- type: 'string',
125
- description: 'The page referrer.',
126
- default: {
127
- '@path': '$.context.page.referrer'
128
- }
129
- },
130
- ip: {
131
- label: 'IP Address',
132
- type: 'string',
133
- description: 'IP address of the browser.',
134
- default: {
135
- '@path': '$.context.ip'
136
- }
137
- },
138
- user_agent: {
139
- label: 'User Agent',
140
- type: 'string',
141
- description: 'User agent from the user’s device.',
142
- default: {
143
- '@path': '$.context.userAgent'
144
- }
145
- },
146
- contents: {
147
- label: 'Contents',
148
- type: 'object',
149
- multiple: true,
150
- description: 'Related items in a web event.',
151
- properties: {
152
- price: {
153
- label: 'Price',
154
- description: 'Price of the item.',
155
- type: 'number'
156
- },
157
- quantity: {
158
- label: 'Quantity',
159
- description: 'Number of items.',
160
- type: 'number'
161
- },
162
- content_category: {
163
- label: 'Content Category',
164
- description: 'Category of the product item.',
165
- type: 'string'
166
- },
167
- content_id: {
168
- label: 'Content ID',
169
- description: 'ID of the product item.',
170
- type: 'string'
171
- },
172
- content_name: {
173
- label: 'Content Name',
174
- description: 'Name of the product item.',
175
- type: 'string'
176
- },
177
- brand: {
178
- label: 'Brand',
179
- description: 'Brand name of the product item.',
180
- type: 'string'
181
- }
182
- }
183
- },
184
- content_type: {
185
- label: 'Content Type',
186
- description: 'Type of the product item. When the `content_id` in the `contents` parameter is specified as `sku_id`, set this field to `product`. When the `content_id` in the `contents` parameter is specified as `item_group_id`, set this field to `product_group`.',
187
- type: 'string',
188
- choices: ['product', 'product_group'],
189
- default: 'product'
190
- },
191
- currency: {
192
- label: 'Currency',
193
- type: 'string',
194
- description: 'Currency for the value specified as ISO 4217 code.',
195
- default: {
196
- '@path': '$.properties.currency'
197
- }
198
- },
199
- value: {
200
- label: 'Value',
201
- type: 'number',
202
- description: 'Value of the order or items sold.',
203
- default: {
204
- '@if': {
205
- exists: { '@path': '$.properties.value' },
206
- then: { '@path': '$.properties.value' },
207
- else: { '@path': '$.properties.revenue' }
208
- }
209
- }
210
- },
211
- description: {
212
- label: 'Description',
213
- type: 'string',
214
- description: 'A string description of the web event.'
215
- },
216
- query: {
217
- label: 'Query',
218
- type: 'string',
219
- description: 'The text string that was searched for.',
220
- default: {
221
- '@path': '$.properties.query'
222
- }
223
- },
224
- order_id: {
225
- label: 'Order ID',
226
- type: 'string',
227
- description: 'Order ID of the transaction.',
228
- default: {
229
- '@path': '$.properties.order_id'
230
- }
231
- },
232
- shop_id: {
233
- label: 'Shop ID',
234
- type: 'string',
235
- description: 'Shop ID of the transaction.',
236
- default: {
237
- '@path': '$.properties.shop_id'
238
- }
239
- },
240
- limited_data_use: {
241
- label: 'Limited Data Use',
242
- type: 'boolean',
243
- description: 'Use this field to flag an event for limited data processing. TikTok will recognize this parameter as a request for limited data processing, and will limit its processing activities accordingly if the event shared occurred in an eligible location. To learn more about the Limited Data Use feature, refer to [Events API 2.0 - Limited Data Use](https://ads.tiktok.com/marketing_api/docs?id=1771101204435970).',
244
- default: {
245
- '@path': '$.properties.limited_data_use'
246
- }
247
- },
248
- test_event_code: {
249
- label: 'Test Event Code',
250
- type: 'string',
251
- description: 'Use this field to specify that events should be test events rather than actual traffic. You can find your Test Event Code in your TikTok Events Manager under the "Test Event" tab. You\'ll want to remove your Test Event Code when sending real traffic through this integration.'
252
- }
253
- },
254
- perform: (request, { payload, settings }) => {
255
- const phone_numbers = formatter_1.formatPhones(payload.phone_numbers);
256
- const emails = formatter_1.formatEmails(payload.emails);
257
- const userIds = formatter_1.formatUserIds(payload.external_ids);
258
- if (phone_numbers.length < 1 && emails.length < 1 && userIds.length < 1)
259
- throw new actions_core_1.PayloadValidationError('TikTok Offline Conversions API requires an email address and/or phone number');
260
- let payloadUrl, urlTtclid;
261
- if (payload.url) {
262
- try {
263
- payloadUrl = new URL(payload.url);
264
- }
265
- catch (error) {
266
- }
267
- }
268
- if (payloadUrl)
269
- urlTtclid = payloadUrl.searchParams.get('ttclid');
270
- return request('https://business-api.tiktok.com/open_api/v1.3/event/track/', {
271
- method: 'post',
272
- json: {
273
- event_source: 'offline',
274
- event_source_id: settings.eventSetID,
275
- partner_name: 'Segment',
276
- data: [
277
- {
278
- event: payload.event,
279
- event_time: payload.timestamp
280
- ? Math.floor(new Date(payload.timestamp).getTime() / 1000)
281
- : Math.floor(new Date().getTime() / 1000),
282
- event_id: payload.event_id ? `${payload.event_id}` : undefined,
283
- user: {
284
- ttclid: payload.ttclid ? payload.ttclid : urlTtclid ? urlTtclid : undefined,
285
- external_id: userIds,
286
- phone_number: phone_numbers,
287
- email: emails,
288
- lead_id: payload.lead_id ? payload.lead_id : undefined,
289
- ttp: payload.ttp ? payload.ttp : undefined,
290
- ip: payload.ip ? payload.ip : undefined,
291
- user_agent: payload.user_agent ? payload.user_agent : undefined,
292
- locale: payload.locale ? payload.locale : undefined
293
- },
294
- properties: {
295
- contents: payload.contents ? payload.contents : [],
296
- content_type: payload.content_type ? payload.content_type : undefined,
297
- currency: payload.currency ? payload.currency : undefined,
298
- value: payload.value ? payload.value : undefined,
299
- query: payload.query ? payload.query : undefined,
300
- description: payload.description ? payload.description : undefined,
301
- order_id: payload.order_id ? payload.order_id : undefined,
302
- shop_id: payload.shop_id ? payload.shop_id : undefined
303
- },
304
- page: {
305
- url: payload.url ? payload.url : undefined,
306
- referrer: payload.referrer ? payload.referrer : undefined
307
- },
308
- limited_data_use: payload.limited_data_use ? payload.limited_data_use : false,
309
- test_event_code: payload.test_event_code ? payload.test_event_code : undefined
310
- }
311
- ]
312
- }
313
- });
314
- }
315
- };
316
- exports.default = action;
317
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/tiktok-offline-conversions/reportOfflineEvent/index.ts"],"names":[],"mappings":";;AAAA,wDAAgF;AAGhF,2CAAuE;AAEvE,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,kCAAkC;IACzC,WAAW,EAAE,2FAA2F;IACxG,MAAM,EAAE;QACN,KAAK,EAAE;YACL,KAAK,EAAE,YAAY;YACnB,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;YACd,WAAW,EACT,uNAAuN;SAC1N;QACD,QAAQ,EAAE;YACR,KAAK,EAAE,UAAU;YACjB,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,wDAAwD;YACrE,OAAO,EAAE;gBACP,OAAO,EAAE,aAAa;aACvB;SACF;QACD,SAAS,EA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AK,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS;4BAChD,WAAW,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS;4BAClE,QAAQ,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS;4BACzD,OAAO,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS;yBACvD;wBACD,IAAI,EAAE;4BACJ,GAAG,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS;4BAC1C,QAAQ,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS;yBAC1D;wBACD,gBAAgB,EAAE,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC,KAAK;wBAC7E,eAAe,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS;qBAC/E;iBACF;aACF;SACF,CAAC,CAAA;IACJ,CAAC;CACF,CAAA;AAED,kBAAe,MAAM,CAAA"}
@@ -1,11 +0,0 @@
1
- export interface Payload {
2
- userId: string;
3
- messageId?: string;
4
- timestamp: string;
5
- traits?: {
6
- [k: string]: unknown;
7
- };
8
- groupId: {
9
- [k: string]: unknown;
10
- };
11
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=group.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"group.types.js","sourceRoot":"","sources":["../../../src/destinations/trackey/group.types.ts"],"names":[],"mappings":""}
@@ -1,11 +0,0 @@
1
- export interface Payload {
2
- userId: string;
3
- messageId?: string;
4
- timestamp: string;
5
- traits?: {
6
- [k: string]: unknown;
7
- };
8
- groupId?: {
9
- [k: string]: unknown;
10
- };
11
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=identify.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"identify.types.js","sourceRoot":"","sources":["../../../src/destinations/trackey/identify.types.ts"],"names":[],"mappings":""}
@@ -1,12 +0,0 @@
1
- export interface Payload {
2
- userId: string;
3
- event: string;
4
- messageId?: string;
5
- timestamp: string;
6
- properties?: {
7
- [k: string]: unknown;
8
- };
9
- groupId?: {
10
- [k: string]: unknown;
11
- };
12
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=track.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"track.types.js","sourceRoot":"","sources":["../../../src/destinations/trackey/track.types.ts"],"names":[],"mappings":""}