UNPKG

@rudderstack/integrations-lib

Version:

A comprehensive TypeScript library providing shared utilities, SDKs, and tools for RudderStack integrations and destinations.

47 lines 1.19 kB
import { BaseSDKConfig } from '../common/types'; export interface AuthObject { appApiKey: string; } export type CustomerIORegion = 'US' | 'EU'; export interface CustomerIOConfig extends BaseSDKConfig { /** * Data region for Customer.io API. * - US: https://api.customer.io/v1 * - EU: https://api-eu.customer.io/v1 * Defaults to 'US' when not specified. */ region?: CustomerIORegion; } export interface CreateSegmentBody { segment: { name: string; description?: string; }; } export interface CreateSegmentResponse { segment: { id: number; deduplicate_id?: string; name?: string; description?: string; state?: string; progress?: number | null; type?: string; tags?: string[] | null; }; } export interface GetSegmentsResponse { segments: [ { id: number; deduplicate_id?: string; name: string; description?: string; state?: string; progress?: number | null; type?: string; tags?: string[] | null; } ]; } //# sourceMappingURL=type.d.ts.map