@segment/action-destinations 3.378.0 → 3.379.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 (41) hide show
  1. package/dist/destinations/algolia-insights/conversionEvents/index.d.ts +2 -1
  2. package/dist/destinations/algolia-insights/conversionEvents/index.js +141 -133
  3. package/dist/destinations/algolia-insights/conversionEvents/index.js.map +1 -1
  4. package/dist/destinations/algolia-insights/index.js +2 -2
  5. package/dist/destinations/algolia-insights/index.js.map +1 -1
  6. package/dist/destinations/algolia-insights/productAddedEvents/index.d.ts +1 -2
  7. package/dist/destinations/algolia-insights/productAddedEvents/index.js +3 -11
  8. package/dist/destinations/algolia-insights/productAddedEvents/index.js.map +1 -1
  9. package/dist/destinations/braze-cohorts/syncAudiences/index.js +1 -0
  10. package/dist/destinations/braze-cohorts/syncAudiences/index.js.map +1 -1
  11. package/dist/destinations/criteo-audiences/generated-types.d.ts +1 -0
  12. package/dist/destinations/criteo-audiences/index.js +7 -0
  13. package/dist/destinations/criteo-audiences/index.js.map +1 -1
  14. package/dist/destinations/google-enhanced-conversions/functions.js +1 -1
  15. package/dist/destinations/google-enhanced-conversions/functions.js.map +1 -1
  16. package/dist/destinations/index.js +1 -0
  17. package/dist/destinations/index.js.map +1 -1
  18. package/dist/destinations/klaviyo/functions.js +20 -5
  19. package/dist/destinations/klaviyo/functions.js.map +1 -1
  20. package/dist/destinations/klaviyo/types.d.ts +15 -0
  21. package/dist/destinations/salesforce/sf-operations.js +21 -6
  22. package/dist/destinations/salesforce/sf-operations.js.map +1 -1
  23. package/dist/destinations/salesforce/sf-utils.d.ts +6 -1
  24. package/dist/destinations/salesforce/sf-utils.js +18 -3
  25. package/dist/destinations/salesforce/sf-utils.js.map +1 -1
  26. package/dist/destinations/twilio-messaging-omnichannel/generated-types.d.ts +4 -0
  27. package/dist/destinations/twilio-messaging-omnichannel/generated-types.js +3 -0
  28. package/dist/destinations/twilio-messaging-omnichannel/generated-types.js.map +1 -0
  29. package/dist/destinations/twilio-messaging-omnichannel/index.d.ts +4 -0
  30. package/dist/destinations/twilio-messaging-omnichannel/index.js +43 -0
  31. package/dist/destinations/twilio-messaging-omnichannel/index.js.map +1 -0
  32. package/dist/destinations/twilio-messaging-omnichannel/sendMessage/fields.d.ts +2 -0
  33. package/dist/destinations/twilio-messaging-omnichannel/sendMessage/fields.js +255 -0
  34. package/dist/destinations/twilio-messaging-omnichannel/sendMessage/fields.js.map +1 -0
  35. package/dist/destinations/twilio-messaging-omnichannel/sendMessage/generated-types.d.ts +42 -0
  36. package/dist/destinations/twilio-messaging-omnichannel/sendMessage/generated-types.js +3 -0
  37. package/dist/destinations/twilio-messaging-omnichannel/sendMessage/generated-types.js.map +1 -0
  38. package/dist/destinations/twilio-messaging-omnichannel/sendMessage/index.d.ts +5 -0
  39. package/dist/destinations/twilio-messaging-omnichannel/sendMessage/index.js +13 -0
  40. package/dist/destinations/twilio-messaging-omnichannel/sendMessage/index.js.map +1 -0
  41. package/package.json +2 -2
@@ -0,0 +1,255 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.fields = void 0;
4
+ const DEPENDS_ON_MESSAGE_ADDRESS_SENDER = {
5
+ match: 'all',
6
+ conditions: [
7
+ {
8
+ fieldKey: 'from',
9
+ operator: 'is',
10
+ value: 'MessageAddressSender'
11
+ }
12
+ ]
13
+ };
14
+ const DEPENDS_ON_AGENT_ID_SENDER = {
15
+ match: 'all',
16
+ conditions: [
17
+ {
18
+ fieldKey: 'from',
19
+ operator: 'is',
20
+ value: 'AgentIdSender'
21
+ }
22
+ ]
23
+ };
24
+ const DEPENDS_ON_AGENT_POOL_ID_SENDER = {
25
+ match: 'all',
26
+ conditions: [
27
+ {
28
+ fieldKey: 'from',
29
+ operator: 'is',
30
+ value: 'AgentPoolIdSender'
31
+ }
32
+ ]
33
+ };
34
+ const DEPENDS_ON_MESSAGE_CONTENT_TEXT = {
35
+ match: 'all',
36
+ conditions: [
37
+ {
38
+ fieldKey: 'content_type',
39
+ operator: 'is',
40
+ value: 'MessageContentText'
41
+ }
42
+ ]
43
+ };
44
+ const DEPENDS_ON_MESSAGE_CONTENT_TEMPLATE = {
45
+ match: 'all',
46
+ conditions: [
47
+ {
48
+ fieldKey: 'content_type',
49
+ operator: 'is',
50
+ value: 'MessageContentTemplate'
51
+ }
52
+ ]
53
+ };
54
+ exports.fields = {
55
+ fromObject: {
56
+ type: 'object',
57
+ label: 'From',
58
+ description: 'Defines the fields applicable based on the selected sender type.',
59
+ required: true,
60
+ multiple: true,
61
+ properties: {
62
+ from: {
63
+ type: 'string',
64
+ label: 'From',
65
+ description: 'The type of sender.',
66
+ choices: [
67
+ { label: 'Message Address Sender', value: 'MessageAddressSender' },
68
+ { label: 'Agent ID Sender', value: 'AgentIdSender' },
69
+ { label: 'Agent Pool ID Sender', value: 'AgentPoolIdSender' }
70
+ ]
71
+ },
72
+ address: {
73
+ type: 'string',
74
+ label: 'Address',
75
+ description: 'The identifier within a channel address space for an actor.',
76
+ depends_on: DEPENDS_ON_MESSAGE_ADDRESS_SENDER
77
+ },
78
+ channel: {
79
+ type: 'string',
80
+ label: 'Channel',
81
+ description: 'The channels available for the Message entity.',
82
+ choices: [
83
+ { label: 'Phone', value: 'phone' },
84
+ { label: 'RCS', value: 'rcs' },
85
+ { label: 'WhatsApp', value: 'whatsapp' },
86
+ { label: 'Facebook Messenger', value: 'fbm' }
87
+ ],
88
+ depends_on: DEPENDS_ON_MESSAGE_ADDRESS_SENDER
89
+ },
90
+ agent_id: {
91
+ type: 'string',
92
+ label: 'Agent ID',
93
+ description: 'A reference to an Agent.',
94
+ depends_on: DEPENDS_ON_AGENT_ID_SENDER
95
+ },
96
+ agent_pool_id: {
97
+ type: 'string',
98
+ label: 'Agent Pool ID',
99
+ description: 'A reference to an Agent Pool.',
100
+ depends_on: DEPENDS_ON_AGENT_POOL_ID_SENDER
101
+ }
102
+ }
103
+ },
104
+ to: {
105
+ type: 'object',
106
+ label: 'To',
107
+ description: 'An array of recipient objects to send the message(s) to.',
108
+ required: true,
109
+ multiple: true,
110
+ properties: {
111
+ address: {
112
+ type: 'string',
113
+ label: 'Address',
114
+ description: 'The identifier within a channel address space for an actor (e.g. phone number).',
115
+ required: true
116
+ },
117
+ channel: {
118
+ type: 'string',
119
+ label: 'Channel',
120
+ description: 'The channels available for the Message entity.',
121
+ choices: [
122
+ { label: 'Phone', value: 'phone' },
123
+ { label: 'WhatsApp', value: 'whatsapp' },
124
+ { label: 'Facebook Messenger', value: 'fbm' }
125
+ ],
126
+ required: true
127
+ },
128
+ variables: {
129
+ type: 'object',
130
+ label: 'Variables',
131
+ defaultObjectUI: 'keyvalue:only',
132
+ description: 'To personalize content for each recipient, supply variables here with values to substitute into any Liquid templated content string or pre-stored Content template.'
133
+ }
134
+ }
135
+ },
136
+ content: {
137
+ type: 'object',
138
+ label: 'Content',
139
+ description: 'Defines the fields applicable based on the selected content type.',
140
+ required: true,
141
+ properties: {
142
+ content_type: {
143
+ type: 'string',
144
+ label: 'Content Type',
145
+ description: 'The type of message content.',
146
+ choices: [
147
+ { label: 'Text Content', value: 'MessageContentText' },
148
+ { label: 'Template Content', value: 'MessageContentTemplate' }
149
+ ]
150
+ },
151
+ text: {
152
+ type: 'string',
153
+ label: 'Text',
154
+ description: 'A simple string or templated content.',
155
+ required: true,
156
+ depends_on: DEPENDS_ON_MESSAGE_CONTENT_TEXT
157
+ },
158
+ title: {
159
+ type: 'string',
160
+ label: 'Title',
161
+ description: 'Optional title prepended to the message.',
162
+ depends_on: DEPENDS_ON_MESSAGE_CONTENT_TEXT
163
+ },
164
+ default_variables: {
165
+ type: 'object',
166
+ label: 'Default Variables',
167
+ defaultObjectUI: 'keyvalue:only',
168
+ description: 'Default values for use within the templated content field text and title.',
169
+ depends_on: DEPENDS_ON_MESSAGE_CONTENT_TEXT
170
+ },
171
+ content_id: {
172
+ type: 'string',
173
+ label: 'Content ID',
174
+ description: 'A reference to a Content template.',
175
+ required: true,
176
+ depends_on: DEPENDS_ON_MESSAGE_CONTENT_TEMPLATE
177
+ }
178
+ }
179
+ },
180
+ channels: {
181
+ type: 'string',
182
+ label: 'Channels',
183
+ description: 'A list of eligible channels to constrain Messages to; leave undefined to send across all available channels.'
184
+ },
185
+ schedule: {
186
+ type: 'object',
187
+ label: 'Schedule',
188
+ description: 'A schedule defines when a communication will be sent to a recipient.',
189
+ properties: {
190
+ send_at: {
191
+ type: 'string',
192
+ label: 'Send At',
193
+ description: 'List of expressions defining when the message may be sent.',
194
+ },
195
+ quiet_hours: {
196
+ type: 'string',
197
+ label: 'Quiet Hours',
198
+ description: 'List of expressions defining when the message may NOT be sent.',
199
+ },
200
+ ignore_compliances: {
201
+ type: 'string',
202
+ label: 'Ignore Compliances',
203
+ description: 'List of compliance rules to ignore.',
204
+ choices: [
205
+ { label: 'All', value: 'all' },
206
+ { label: 'France Marketing', value: 'france_marketing' },
207
+ { label: 'EU All', value: 'eu_all' }
208
+ ]
209
+ },
210
+ frequency_cap: {
211
+ type: 'object',
212
+ label: 'Frequency Cap',
213
+ description: `Optimize the send time to prevent exceeding the count of communications sent to the recipient(s) for any time window of length period.`,
214
+ properties: {
215
+ count: {
216
+ type: 'string',
217
+ label: 'Count',
218
+ description: 'The number of communications.',
219
+ },
220
+ period: {
221
+ type: 'string',
222
+ label: 'Period',
223
+ description: 'The duration for calculating the frequency count.',
224
+ default: 'P1D'
225
+ }
226
+ }
227
+ },
228
+ ttl: {
229
+ type: 'string',
230
+ label: 'TTL',
231
+ description: 'Time-to-live for the communication.',
232
+ default: 'P1D'
233
+ }
234
+ }
235
+ },
236
+ use_domain: {
237
+ type: 'object',
238
+ label: 'Use Domain',
239
+ description: 'The Domain to use for wrapping links for click-tracked links and shortened links.',
240
+ properties: {
241
+ domain_name: {
242
+ type: 'string',
243
+ label: 'Domain Name',
244
+ description: 'A fully qualified domain name (FQDN) that you have registered with your DNS provider.'
245
+ }
246
+ }
247
+ },
248
+ tags: {
249
+ type: 'object',
250
+ label: 'Tags',
251
+ description: 'Custom metadata in the form of key-value pairs. Maximum size of a tag key is 128 characters. Maximum size of a tag value is 256 characters. There can be a maximum of 10 key-value pairs.',
252
+ defaultObjectUI: 'keyvalue:only'
253
+ }
254
+ };
255
+ //# sourceMappingURL=fields.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fields.js","sourceRoot":"","sources":["../../../../src/destinations/twilio-messaging-omnichannel/sendMessage/fields.ts"],"names":[],"mappings":";;;AAIA,MAAM,iCAAiC,GAAwB;IAC3D,KAAK,EAAE,KAAK;IACZ,UAAU,EAAE;QACR;YACI,QAAQ,EAAE,MAAM;YAChB,QAAQ,EAAE,IAAI;YACd,KAAK,EAAE,sBAAsB;SAChC;KACJ;CACJ,CAAA;AAED,MAAM,0BAA0B,GAAwB;IACpD,KAAK,EAAE,KAAK;IACZ,UAAU,EAAE;QACR;YACI,QAAQ,EAAE,MAAM;YAChB,QAAQ,EAAE,IAAI;YACd,KAAK,EAAE,eAAe;SACzB;KACJ;CACJ,CAAA;AAED,MAAM,+BAA+B,GAAwB;IACzD,KAAK,EAAE,KAAK;IACZ,UAAU,EAAE;QACR;YACI,QAAQ,EAAE,MAAM;YAChB,QAAQ,EAAE,IAAI;YACd,KAAK,EAAE,mBAAmB;SAC7B;KACJ;CACJ,CAAA;AAED,MAAM,+BAA+B,GAAwB;IACzD,KAAK,EAAE,KAAK;IACZ,UAAU,EAAE;QACR;YACI,QAAQ,EAAE,cAAc;YACxB,QAAQ,EAAE,IAAI;YACd,KAAK,EAAE,oBAAoB;SAC9B;KACJ;CACJ,CAAA;AAED,MAAM,mCAAmC,GAAwB;IAC7D,KAAK,EAAE,KAAK;IACZ,UAAU,EAAE;QACR;YACI,QAAQ,EAAE,cAAc;YACxB,QAAQ,EAAE,IAAI;YACd,KAAK,EAAE,wBAAwB;SAClC;KACJ;CACJ,CAAA;AAGY,QAAA,MAAM,GAA+B;IAC9C,UAAU,EAAE;QACR,IAAI,EAAE,QAAQ;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,QAAQ,EAAE;iBAAC;aAC5C;YACD,aAAa,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,eAAe;gBACtB,WAAW,EAAE,wIAAwI;gBACrJ,UAAU,EAAE;oBACR,KAAK,EAAE;wBACH,IAAI,EAAE,QAAQ;wBACd,KAAK,EAAE,OAAO;wBACd,WAAW,EAAE,+BAA+B;qBAC/C;oBACD,MAAM,EAAE;wBACJ,IAAI,EAAE,QAAQ;wBACd,KAAK,EAAE,QAAQ;wBACf,WAAW,EAAE,mDAAmD;wBAChE,OAAO,EAAE,KAAK;qBACjB;iBACJ;aACJ;YACD,GAAG,EAAE;gBACD,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,KAAK;gBACZ,WAAW,EAAE,qCAAqC;gBAClD,OAAO,EAAE,KAAK;aACjB;SACJ;KACJ;IACD,UAAU,EAAE;QACR,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE,YAAY;QACnB,WAAW,EAAE,mFAAmF;QAChG,UAAU,EAAE;YACR,WAAW,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,aAAa;gBACpB,WAAW,EAAE,uFAAuF;aACvG;SACJ;KACJ;IACD,IAAI,EAAE;QACF,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE,MAAM;QACb,WAAW,EAAE,2LAA2L;QACxM,eAAe,EAAE,eAAe;KACnC;CAEJ,CAAA"}
@@ -0,0 +1,42 @@
1
+ export interface Payload {
2
+ fromObject: {
3
+ from?: string;
4
+ address?: string;
5
+ channel?: string;
6
+ agent_id?: string;
7
+ agent_pool_id?: string;
8
+ }[];
9
+ to: {
10
+ address: string;
11
+ channel: string;
12
+ variables?: {
13
+ [k: string]: unknown;
14
+ };
15
+ }[];
16
+ content: {
17
+ content_type?: string;
18
+ text: string;
19
+ title?: string;
20
+ default_variables?: {
21
+ [k: string]: unknown;
22
+ };
23
+ content_id: string;
24
+ };
25
+ channels?: string;
26
+ schedule?: {
27
+ send_at?: string;
28
+ quiet_hours?: string;
29
+ ignore_compliances?: string;
30
+ frequency_cap?: {
31
+ count?: string;
32
+ period?: string;
33
+ };
34
+ ttl?: string;
35
+ };
36
+ use_domain?: {
37
+ domain_name?: string;
38
+ };
39
+ tags?: {
40
+ [k: string]: unknown;
41
+ };
42
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=generated-types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generated-types.js","sourceRoot":"","sources":["../../../../src/destinations/twilio-messaging-omnichannel/sendMessage/generated-types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
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;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const fields_1 = require("./fields");
4
+ const action = {
5
+ title: 'Send Message',
6
+ description: 'This operation creates and sends out messages to the specified recipients.',
7
+ fields: fields_1.fields,
8
+ perform: () => {
9
+ return "hello";
10
+ }
11
+ };
12
+ exports.default = action;
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/destinations/twilio-messaging-omnichannel/sendMessage/index.ts"],"names":[],"mappings":";;AAGA,qCAAiC;AAEjC,MAAM,MAAM,GAAwC;IAClD,KAAK,EAAE,cAAc;IACrB,WAAW,EAAE,4EAA4E;IACzF,MAAM,EAAN,eAAM;IACN,OAAO,EAAE,GAAG,EAAE;QACZ,OAAO,OAAO,CAAA;IAMhB,CAAC;CACF,CAAA;AAED,kBAAe,MAAM,CAAA"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@segment/action-destinations",
3
3
  "description": "Destination Actions engine and definitions.",
4
- "version": "3.378.0",
4
+ "version": "3.379.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/segmentio/action-destinations",
@@ -90,5 +90,5 @@
90
90
  "__tests__/__helpers__/"
91
91
  ]
92
92
  },
93
- "gitHead": "998877e182421d018279603fa054adb690af57fe"
93
+ "gitHead": "ac5259ffb826b55e37cc92910d024ce682269333"
94
94
  }