UNPKG

@hubs101/js-api-skd-client

Version:
189 lines (188 loc) 4.2 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[]; }; export type FeedType = { id: string; headline: string; sub_headline: string; about: string; slug: string; tags: string; published: boolean; highlighted: boolean; priority: number; design: { design_feature_image?: string; design_cover_image?: string; [key: string]: any; }; content: { content_type?: string; content_reference?: string; [key: string]: any; }; type: "pdf" | "video" | "article" | "webinar" | "survey"; inbound: string; blogs: string; events: string; portfolios: string; language: string; webinar_id?: string | null; updated_by?: string; updated_at: string; }; export type FeedDetailsType = { id: string; headline: string; sub_headline: string; about: string; slug: string; tags: string; published: boolean; highlighted: boolean; priority: number; design: { design_feature_image?: string; design_cover_image?: string; [key: string]: any; }; content: { content_type?: string; content_reference?: string; [key: string]: any; }; type: "pdf" | "video" | "article" | "webinar" | "survey"; inbound: string; blogs: string; events: { id: string; name: string; }[]; portfolios: { id: string; name: string; }[]; language: string; webinar_id?: string | null; updated_by?: string; updated_at: string; }; export type FeedInputType = { headline: string; sub_headline: string; about: string; slug: string; tags: string; published: number; highlighted: boolean; priority: number; design: { design_feature_image?: string; design_cover_image?: string; [key: string]: any; }; content: { content_type?: string; content_reference?: string; [key: string]: any; }; type: "pdf" | "video" | "article" | "webinar" | "survey"; inbound: string; blogs: string; events: string; portfolios: string; language: string; webinar_id?: string | null; };