Add activity detail, Jalali pickers, and customer/user profiles.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-02 21:29:00 +03:30
co-authored by Cursor
parent 574feedfa5
commit f884c60cab
39 changed files with 8255 additions and 441 deletions
+11
View File
@@ -318,6 +318,7 @@ export interface MoveDealRequest {
export type ActivityType = "call" | "meeting" | "task" | "note";
export type ActivityStatus = "open" | "done" | "canceled";
export type ActivityPriority = "very_low" | "low" | "medium" | "high" | "very_high";
export type ActivityFilter = "today" | "overdue" | "upcoming" | "done" | "all";
export type CustomFieldEntity = "person" | "company" | "deal";
@@ -366,14 +367,18 @@ export interface ActivityDto {
id: string;
type: ActivityType;
status: ActivityStatus;
priority: ActivityPriority;
title: string;
description: string | null;
dueAt: string | null;
durationMinutes: number | null;
reminderAt: string | null;
completedAt: string | null;
person: PersonSummaryDto | null;
company: CompanySummaryDto | null;
deal: DealSummaryDto | null;
assignee: UserSummaryDto | null;
createdBy: UserSummaryDto | null;
createdAt: string;
updatedAt: string;
}
@@ -381,8 +386,11 @@ export interface ActivityDto {
export interface CreateActivityRequest {
title: string;
type?: ActivityType;
priority?: ActivityPriority;
description?: string;
dueAt?: string | null;
durationMinutes?: number | null;
reminderAt?: string | null;
personId?: string | null;
companyId?: string | null;
dealId?: string | null;
@@ -393,8 +401,11 @@ export interface UpdateActivityRequest {
title?: string;
type?: ActivityType;
status?: ActivityStatus;
priority?: ActivityPriority;
description?: string | null;
dueAt?: string | null;
durationMinutes?: number | null;
reminderAt?: string | null;
personId?: string | null;
companyId?: string | null;
dealId?: string | null;