UNPKG

@namiml/web-sdk

Version:

Nami Web SDK makes subscriptions & in-app purchases easy, with powerful built-in paywalls and A/B testing

29 lines (28 loc) 547 B
export interface ApiResponse<T> { count: number; next: number; page_number: number; previous: null; results: T; total_pages: number; } export type LoginPayload = { external_id: string; }; export type LoginResponse = { external_id: string; user_id: string; }; export type Session = { id?: string; app_env?: string; start_time?: Date; end_time?: Date; }; export type Impression = { id?: string; session?: string; segment?: string; call_to_action?: string; app_env?: string; };