UNPKG

@enable-tech/shared-types

Version:

This package represents the single source of truth of the Types being used in the codebase (front-end and back-end) of enable.tech, It is an organization-scoped package. So, all the development teams belonging to it can participate to enhance it.

29 lines 905 B
import { I_TemplateCondition } from 'src/modules/notification/backend/responses/schemas'; import { E_ActionType, E_JourneyStatus } from '../enums'; export type T_AddEventActionBodyParams = { journeyEventId: string; name: string; delayAmount?: number | null; delayUnit?: 'minutes' | 'hours' | 'days' | 'months' | null; preferredTime?: string | null; }; export type T_AddJourneyBodyParams = { name: string; enrollmentTriggerIds: string[]; brandId: string; }; export type T_AddJourneyEventBodyParams = { journeyId: string; referenceTriggerId: string; }; export type T_EditJourneyBodyParams = Partial<T_AddJourneyBodyParams> & { journeyId?: string; status?: E_JourneyStatus; }; export type T_AddActionVariantBodyParams = { groupId: string; name: string; type: E_ActionType; condition?: I_TemplateCondition; }; //# sourceMappingURL=index.d.ts.map