Skip to content

Commit 876233c

Browse files
committed
add memora-internal destination
1 parent 7f0c958 commit 876233c

File tree

3 files changed

+62
-0
lines changed

3 files changed

+62
-0
lines changed

packages/destination-actions/src/destinations/memora-internal/generated-types.ts

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
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
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
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+
}

0 commit comments

Comments
 (0)