File tree Expand file tree Collapse file tree 3 files changed +62
-0
lines changed
packages/destination-actions/src/destinations/memora-internal Expand file tree Collapse file tree 3 files changed +62
-0
lines changed Original file line number Diff line number Diff line change 1+ import type { DestinationDefinition } from '@segment/actions-core'
2+ import type { Settings } from './generated-types'
3+ import memoraDestination from '../memora'
4+
5+ const destination : DestinationDefinition < Settings > = {
6+ ...memoraDestination ,
7+ name : 'Memora Internal' ,
8+ slug : 'actions-memora-internal'
9+ }
10+
11+ export default destination
Original file line number Diff line number Diff line change 1+ // Generated file. DO NOT MODIFY IT BY HAND.
2+
3+ export interface Payload {
4+ /**
5+ * Enable batching of requests to Memora. Batches are uploaded as CSV files.
6+ */
7+ enable_batching ?: boolean
8+ /**
9+ * Maximum number of profiles to include in each CSV import. Actual batch sizes may be lower.
10+ */
11+ batch_size ?: number
12+ /**
13+ * The Memora Store ID to use for this profile. This should be a valid Memora Store associated with your Twilio account.
14+ */
15+ memora_store : string
16+ /**
17+ * Contact identifiers (email and/or phone). At least one identifier is required.
18+ */
19+ contact_identifiers : {
20+ /**
21+ * User email address
22+ */
23+ email ?: string
24+ /**
25+ * User phone number
26+ */
27+ phone ?: string
28+ }
29+ /**
30+ * Additional contact traits for the profile. These fields are dynamically loaded from the selected Memora Store.
31+ */
32+ contact_traits ?: {
33+ [ k : string ] : unknown
34+ }
35+ }
You can’t perform that action at this time.
0 commit comments