|
1 | | -export interface ITealium { |
| 1 | +export interface ITealiumConfig { |
2 | 2 | account: string; |
3 | 3 | profile: string; |
4 | | - environment: string; |
5 | | - iosDatasource?: string; |
6 | | - androidDatasource?: string; |
7 | | - instance?: string; |
8 | | - isLifecycleEnabled?: boolean; |
| 4 | + environment: 'dev' | 'qa' | 'prod'; |
| 5 | + dataSource?: string; |
| 6 | + collectors: Collectors[]; |
| 7 | + dispatchers: Dispatchers[]; |
| 8 | + customVisitorId?: string; |
| 9 | + memoryReportingEnabled?: boolean; |
| 10 | + overrideCollectURL?: string; |
| 11 | + overrideCollectBatchURL?: string; |
| 12 | + overrideCollectDomain?: string; |
| 13 | + overrideLibrarySettingsURL?: string; |
| 14 | + overrideTagManagementURL?: string; |
| 15 | + deepLinkTrackingEnabled?: boolean; |
| 16 | + qrTraceEnabled?: boolean; |
| 17 | + loglevel?: 'dev' | 'qa' | 'prod' | 'silent'; |
| 18 | + consentLoggingEnabled?: boolean; |
| 19 | + consentPolicy?: 'ccpa' | 'gdpr'; |
| 20 | + consentExpiry?: { time: number, unit: 'minutes' | 'hours' | 'months' | 'days' }; |
| 21 | + batchingEnabled?: boolean; |
| 22 | + lifecycleAutotrackingEnabled?: boolean; |
| 23 | + useRemoteLibrarySettings?: boolean; |
| 24 | + visitorServiceEnabled?: boolean; |
| 25 | +} |
| 26 | + |
| 27 | +export enum Collectors { |
| 28 | + AppData = 'AppData', |
| 29 | + Connectivity = 'Connectivity', |
| 30 | + DeviceData = 'DeviceData', |
| 31 | + Lifecycle = 'Lifecycle', |
| 32 | +} |
| 33 | + |
| 34 | +export enum Dispatchers { |
| 35 | + Collect = 'Collect', |
| 36 | + TagManagement = 'TagManagement', |
| 37 | + RemoteCommands = 'RemoteCommands', |
9 | 38 | } |
0 commit comments