TypeScript

Full TypeScript support with exported types for type-safe development.

Exported types

  • Contact — Contact entity
  • Company — Company entity
  • Email — Email entity
  • ContactList — List entity
  • CreateContactData — Contact creation payload
  • SendEmailData — Email send payload
  • PaginatedResponse — Generic paginated response
  • LysticaConfig — SDK configuration

Example

import type {
  Contact,
  Company,
  Email,
  ContactList,
  CreateContactData,
  SendEmailData,
  PaginatedResponse,
  LysticaConfig,
} from "lystica-cloud";

// Paginated response shape
interface PaginatedResponse<T> {
  data: T[];
  meta: {
    total: number;
    limit: number;
    cursor: string | null;
    hasMore: boolean;
  };
}

We use cookies

We use cookies to enhance your experience, analyze site usage, and assist in our marketing efforts. You can manage your preferences or learn more in our Cookie Policy.