UNPKG

@hubs101/js-api-skd-client

Version:
96 lines (95 loc) 2.04 kB
import { Event, GroupType } from "../event/types"; export type InviteType = "cm" | "fm"; export type RegisterManagerInput = { first_name: string; last_name: string; email: string; password: string; expire: string; type: InviteType; access: string; }; export type Pagination = { total: number; count: number; per_page: number; current_page: number; total_pages: number; links: { previous?: string; next?: string; }; }; export type ResponseAccountEventsType = { data: Event[]; meta: { pagination: Pagination; }; }; export type GroupResponseType = { id: string; name: string; type: GroupType; account: string; style: string; order: number; slug: string; list: string[]; event: string; }; export type PublicGroupResponseType<T> = { id: string; name: string; type: GroupType; account: string; style: string; order: number; slug: string; list: T[]; event: string; page_type: string; }; export type GroupInputType = { name: string; type: GroupType; event: string; style?: string; list?: string; page_type?: string; }; export type ColocatedEventsGroupInputType = { name: string; events: string; }; export type ColocatedEventsGroupType = { id: string; name: string; events: string[]; }; export type PackageType = { name: string; slug: string; type: string; value: string; }; export type SessionType = { name: string; key: string; level: 0 | 1; order: number; description_de: string; description_en: string; event_type: "onsite" | "virtual" | "hybrid"; }; export type ColocatedEventDetailsEvent = { event_id: string; event_name: string; event_start_date: string; event_end_date: string; event_timezone: string; }; export type ColocatedEventDetailsResponse = { event_colocated_id: string; event_colocated_name: string; events: ColocatedEventDetailsEvent[]; };