@segment/action-destinations 3.110.0-alpha.0 → 3.110.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 (67) hide show
  1. package/dist/destinations/adobe-target/adobeTarget_operations.js +3 -1
  2. package/dist/destinations/adobe-target/adobeTarget_operations.js.map +1 -1
  3. package/dist/destinations/adobe-target/generated-types.d.ts +1 -0
  4. package/dist/destinations/adobe-target/index.js +15 -0
  5. package/dist/destinations/adobe-target/index.js.map +1 -1
  6. package/dist/destinations/amplitude/index.js +1 -3
  7. package/dist/destinations/amplitude/index.js.map +1 -1
  8. package/dist/destinations/google-enhanced-conversions/functions.d.ts +1 -1
  9. package/dist/destinations/google-enhanced-conversions/functions.js +5 -6
  10. package/dist/destinations/google-enhanced-conversions/functions.js.map +1 -1
  11. package/dist/destinations/google-enhanced-conversions/uploadConversionAdjustment/index.js +1 -1
  12. package/dist/destinations/google-enhanced-conversions/uploadConversionAdjustment/index.js.map +1 -1
  13. package/dist/destinations/hubspot/createCustomObjectRecord/generated-types.d.ts +6 -0
  14. package/dist/destinations/{amplitude/logEventV2 → hubspot/createCustomObjectRecord}/generated-types.js +0 -0
  15. package/dist/destinations/hubspot/createCustomObjectRecord/generated-types.js.map +1 -0
  16. package/dist/destinations/hubspot/createCustomObjectRecord/index.d.ts +5 -0
  17. package/dist/destinations/hubspot/createCustomObjectRecord/index.js +38 -0
  18. package/dist/destinations/hubspot/createCustomObjectRecord/index.js.map +1 -0
  19. package/dist/destinations/hubspot/generated-types.d.ts +2 -0
  20. package/dist/destinations/hubspot/generated-types.js +3 -0
  21. package/dist/destinations/hubspot/generated-types.js.map +1 -0
  22. package/dist/destinations/hubspot/index.d.ts +4 -0
  23. package/dist/destinations/hubspot/index.js +42 -0
  24. package/dist/destinations/hubspot/index.js.map +1 -0
  25. package/dist/destinations/hubspot/testHelper.d.ts +7 -0
  26. package/dist/destinations/hubspot/testHelper.js +24 -0
  27. package/dist/destinations/hubspot/testHelper.js.map +1 -0
  28. package/dist/destinations/index.js +2 -0
  29. package/dist/destinations/index.js.map +1 -1
  30. package/dist/destinations/loops/createContact/generated-types.d.ts +3 -0
  31. package/dist/destinations/loops/createContact/generated-types.js +3 -0
  32. package/dist/destinations/loops/createContact/generated-types.js.map +1 -0
  33. package/dist/destinations/loops/createContact/index.d.ts +5 -0
  34. package/dist/destinations/loops/createContact/index.js +33 -0
  35. package/dist/destinations/loops/createContact/index.js.map +1 -0
  36. package/dist/destinations/loops/generated-types.d.ts +3 -0
  37. package/dist/destinations/loops/generated-types.js +3 -0
  38. package/dist/destinations/loops/generated-types.js.map +1 -0
  39. package/dist/destinations/loops/index.d.ts +4 -0
  40. package/dist/destinations/loops/index.js +35 -0
  41. package/dist/destinations/loops/index.js.map +1 -0
  42. package/dist/destinations/salesforce/customObject/index.js +0 -4
  43. package/dist/destinations/salesforce/customObject/index.js.map +1 -1
  44. package/dist/destinations/salesforce/sf-operations.d.ts +0 -1
  45. package/dist/destinations/salesforce/sf-operations.js +6 -20
  46. package/dist/destinations/salesforce/sf-operations.js.map +1 -1
  47. package/dist/destinations/salesforce/sf-properties.js +1 -2
  48. package/dist/destinations/salesforce/sf-properties.js.map +1 -1
  49. package/dist/destinations/sendgrid/index.js +8 -0
  50. package/dist/destinations/sendgrid/index.js.map +1 -1
  51. package/dist/destinations/sendgrid/sendgrid-properties.d.ts +8 -5
  52. package/dist/destinations/sendgrid/sendgrid-properties.js +34 -3
  53. package/dist/destinations/sendgrid/sendgrid-properties.js.map +1 -1
  54. package/dist/destinations/sendgrid/updateUserProfile/index.js +6 -10
  55. package/dist/destinations/sendgrid/updateUserProfile/index.js.map +1 -1
  56. package/dist/destinations/tiktok-conversions/reportWebEvent/generated-types.d.ts +1 -0
  57. package/dist/destinations/tiktok-conversions/reportWebEvent/index.js +15 -2
  58. package/dist/destinations/tiktok-conversions/reportWebEvent/index.js.map +1 -1
  59. package/package.json +4 -4
  60. package/dist/destinations/amplitude/emptyObject.d.ts +0 -2
  61. package/dist/destinations/amplitude/emptyObject.js +0 -7
  62. package/dist/destinations/amplitude/emptyObject.js.map +0 -1
  63. package/dist/destinations/amplitude/logEventV2/generated-types.d.ts +0 -77
  64. package/dist/destinations/amplitude/logEventV2/generated-types.js.map +0 -1
  65. package/dist/destinations/amplitude/logEventV2/index.d.ts +0 -13
  66. package/dist/destinations/amplitude/logEventV2/index.js +0 -237
  67. package/dist/destinations/amplitude/logEventV2/index.js.map +0 -1
@@ -1,237 +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 actions_core_1 = require("@segment/actions-core");
7
- const dayjs_1 = __importDefault(require("dayjs"));
8
- const emptyObject_1 = __importDefault(require("../emptyObject"));
9
- const event_schema_1 = require("../event-schema");
10
- const regional_endpoints_1 = require("../regional-endpoints");
11
- const user_agent_1 = require("../user-agent");
12
- const revenueKeys = ['revenue', 'price', 'productId', 'quantity', 'revenueType'];
13
- const action = {
14
- title: 'Log Event V2',
15
- description: 'Send an event to Amplitude',
16
- fields: {
17
- ...event_schema_1.eventSchema,
18
- products: {
19
- label: 'Products',
20
- description: 'The list of products purchased.',
21
- type: 'object',
22
- multiple: true,
23
- additionalProperties: true,
24
- properties: {
25
- price: {
26
- label: 'Price',
27
- type: 'number',
28
- description: 'The price of the item purchased. Required for revenue data if the revenue field is not sent. You can use negative values to indicate refunds.'
29
- },
30
- quantity: {
31
- label: 'Quantity',
32
- type: 'integer',
33
- description: 'The quantity of the item purchased. Defaults to 1 if not specified.'
34
- },
35
- revenue: {
36
- label: 'Revenue',
37
- type: 'number',
38
- description: 'Revenue = price * quantity. If you send all 3 fields of price, quantity, and revenue, then (price * quantity) will be used as the revenue value. You can use negative values to indicate refunds.'
39
- },
40
- productId: {
41
- label: 'Product ID',
42
- type: 'string',
43
- description: 'An identifier for the item purchased. You must send a price and quantity or revenue with this field.'
44
- },
45
- revenueType: {
46
- label: 'Revenue Type',
47
- type: 'string',
48
- description: 'The type of revenue for the item purchased. You must send a price and quantity or revenue with this field.'
49
- }
50
- },
51
- default: {
52
- '@arrayPath': [
53
- '$.properties.products',
54
- {
55
- price: {
56
- '@path': 'price'
57
- },
58
- revenue: {
59
- '@path': 'revenue'
60
- },
61
- quantity: {
62
- '@path': 'quantity'
63
- },
64
- productId: {
65
- '@path': 'productId'
66
- },
67
- revenueType: {
68
- '@path': 'revenueType'
69
- }
70
- }
71
- ]
72
- }
73
- },
74
- setOnce: {
75
- label: 'Set Once',
76
- description: 'The following fields will be set only once per session when using AJS2 as the source',
77
- type: 'object',
78
- additionalProperties: true,
79
- properties: {
80
- initial_referrer: {
81
- label: 'Initial Referrer',
82
- type: 'string',
83
- description: 'The referrer of the web request'
84
- },
85
- initial_utm_source: {
86
- label: 'Initial UTM Source',
87
- type: 'string'
88
- },
89
- initial_utm_medium: {
90
- label: 'Initial UTM Medium',
91
- type: 'string'
92
- },
93
- initial_utm_campaign: {
94
- label: 'Initial UTM Campaign',
95
- type: 'string'
96
- },
97
- initial_utm_term: {
98
- label: 'Initial UTM Term',
99
- type: 'string'
100
- },
101
- initial_utm_content: {
102
- label: 'Initial UTM Content',
103
- type: 'string'
104
- }
105
- },
106
- default: {
107
- initial_referrer: { '@path': '$.context.page.referrer' },
108
- initial_utm_source: { '@path': '$.context.campaign.source' },
109
- initial_utm_medium: { '@path': '$.context.campaign.medium' },
110
- initial_utm_campaign: { '@path': '$.context.campaign.name' },
111
- initial_utm_term: { '@path': '$.context.campaign.term' },
112
- initial_utm_content: { '@path': '$.context.campaign.content' }
113
- }
114
- },
115
- setAlways: {
116
- label: 'Set Always',
117
- description: 'The following fields will be set every session when using AJS2 as the source',
118
- type: 'object',
119
- additionalProperties: true,
120
- properties: {
121
- referrer: {
122
- label: 'Referrer',
123
- type: 'string'
124
- },
125
- utm_source: {
126
- label: 'UTM Source',
127
- type: 'string'
128
- },
129
- utm_medium: {
130
- label: 'UTM Medium',
131
- type: 'string'
132
- },
133
- utm_campaign: {
134
- label: 'UTM Campaign',
135
- type: 'string'
136
- },
137
- utm_term: {
138
- label: 'UTM Term',
139
- type: 'string'
140
- },
141
- utm_content: {
142
- label: 'UTM Content',
143
- type: 'string'
144
- }
145
- },
146
- default: {
147
- referrer: { '@path': '$.context.page.referrer' },
148
- utm_source: { '@path': '$.context.campaign.source' },
149
- utm_medium: { '@path': '$.context.campaign.medium' },
150
- utm_campaign: { '@path': '$.context.campaign.name' },
151
- utm_term: { '@path': '$.context.campaign.term' },
152
- utm_content: { '@path': '$.context.campaign.content' }
153
- }
154
- },
155
- add: {
156
- label: 'Add',
157
- description: "Increment a user property by a number with add. If the user property doesn't have a value set yet, it's initialized to 0.",
158
- type: 'object',
159
- additionalProperties: true,
160
- defaultObjectUI: 'keyvalue'
161
- },
162
- use_batch_endpoint: {
163
- label: 'Use Batch Endpoint',
164
- description: "If true, events are sent to Amplitude's `batch` endpoint rather than their `httpapi` events endpoint. Enabling this setting may help reduce 429s – or throttling errors – from Amplitude. More information about Amplitude's throttling is available in [their docs](https://developers.amplitude.com/docs/batch-event-upload-api#429s-in-depth).",
165
- type: 'boolean',
166
- default: false
167
- },
168
- userAgent: {
169
- label: 'User Agent',
170
- type: 'string',
171
- description: 'The user agent of the device sending the event.',
172
- default: {
173
- '@path': '$.context.userAgent'
174
- }
175
- },
176
- userAgentParsing: {
177
- label: 'User Agent Parsing',
178
- type: 'boolean',
179
- description: 'Enabling this setting will set the Device manufacturer, Device Model and OS Name properties based on the user agent string provided in the userAgent field',
180
- default: true
181
- },
182
- min_id_length: {
183
- label: 'Minimum ID Length',
184
- description: 'Amplitude has a default minimum id length of 5 characters for user_id and device_id fields. This field allows the minimum to be overridden to allow shorter id lengths.',
185
- allowNull: true,
186
- type: 'integer'
187
- }
188
- },
189
- perform: (request, { payload, settings }) => {
190
- const { time, session_id, userAgent, userAgentParsing, min_id_length, library, setOnce, setAlways, add, ...rest } = actions_core_1.omit(payload, revenueKeys);
191
- const properties = rest;
192
- let options;
193
- if (properties.platform) {
194
- properties.platform = properties.platform.replace(/ios/i, 'iOS').replace(/android/i, 'Android');
195
- }
196
- if (library) {
197
- if (library === 'analytics.js')
198
- properties.platform = 'Web';
199
- }
200
- if (time && dayjs_1.default.utc(time).isValid()) {
201
- properties.time = dayjs_1.default.utc(time).valueOf();
202
- }
203
- if (session_id && dayjs_1.default.utc(session_id).isValid()) {
204
- properties.session_id = dayjs_1.default.utc(session_id).valueOf();
205
- }
206
- if (min_id_length && min_id_length > 0) {
207
- options = { min_id_length };
208
- }
209
- if (emptyObject_1.default(setOnce)) {
210
- properties.user_properties = { ...properties.user_properties, $setOnce: setOnce };
211
- }
212
- if (emptyObject_1.default(setAlways)) {
213
- properties.user_properties = { ...properties.user_properties, $set: setAlways };
214
- }
215
- if (emptyObject_1.default(add)) {
216
- properties.user_properties = { ...properties.user_properties, $add: add };
217
- }
218
- const events = [
219
- {
220
- ...(userAgentParsing && user_agent_1.parseUserAgentProperties(userAgent)),
221
- ...actions_core_1.removeUndefined(properties),
222
- library: 'segment'
223
- }
224
- ];
225
- const endpoint = regional_endpoints_1.getEndpointByRegion(payload.use_batch_endpoint ? 'batch' : 'httpapi', settings.endpoint);
226
- return request(endpoint, {
227
- method: 'post',
228
- json: {
229
- api_key: settings.apiKey,
230
- events,
231
- options
232
- }
233
- });
234
- }
235
- };
236
- exports.default = action;
237
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/amplitude/logEventV2/index.ts"],"names":[],"mappings":";;;;;AAAA,wDAA+E;AAC/E,kDAAyB;AACzB,iEAA2D;AAC3D,kDAA6C;AAE7C,8DAA2D;AAC3D,8CAAwD;AAYxD,MAAM,WAAW,GAAG,CAAC,SAAS,EAAE,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,aAAa,CAAC,CAAA;AAEhF,MAAM,MAAM,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