Merge branch 'master' into feature/cases

This commit is contained in:
2026-07-10 15:26:36 +03:30
68 changed files with 2497 additions and 604 deletions

View File

@@ -12,6 +12,7 @@ export interface AuthResponse {
export interface TrialRegistrationData {
email: string;
mobile: string;
password: string;
name: string;
organizationName: string;
@@ -22,4 +23,14 @@ export interface TrialRegistrationData {
export interface LoginData {
email: string;
password: string;
rememberMe?: boolean;
}
export interface ForgotPasswordVerifyResponse {
success: boolean;
data: {
user: AuthResponse['data']['user'];
organizations: AuthResponse['data']['organizations'];
redirectTo: string;
};
}

View File

@@ -10,7 +10,7 @@ export interface LabCaseListItem {
lastName: string;
mobile: string;
};
treatmentTypes: string[];
treatmentType: string | null;
taskProgress: { completed: number; total: number };
}
@@ -85,13 +85,13 @@ export interface LabCaseDetail {
mobile: string;
};
appointmentStartAt: string | null;
treatmentTypes: string[];
details: Array<{
treatmentType: string | null;
detail: {
id: string;
treatmentType: string;
teeth: string[];
comment: string | null;
}>;
} | null;
toothProsthesis: Array<{
treatmentDetailId: string;
tooth: string;

View File

@@ -3,6 +3,7 @@ export interface User {
email: string;
name: string;
language?: string;
mobile?: string | null;
}
export interface OrganizationPlan {

View File

@@ -90,13 +90,13 @@ export interface PastLabCase {
clientId: string;
destinationOrganizationId: string | null;
sentAt?: string | null;
treatmentDetailIds: string[];
details: Array<{
treatmentDetailId: string | null;
detail: {
id: string;
clientId: string;
treatmentType: string;
teeth: FdiToothId[];
}>;
} | null;
toothProsthesis?: Array<{
treatmentDetailId: string;
tooth: string;
@@ -143,7 +143,7 @@ export interface LabCaseDraft {
clientId: string;
id?: string;
destinationOrganizationId: string | null;
detailClientIds: string[];
detailClientId: string | null;
toothProsthesis: LabCaseToothProsthesisDraft[];
attachmentIds: string[];
sentAt?: string | null;
@@ -166,7 +166,7 @@ export interface SaveLabCasePayload {
clientId: string;
id?: string;
destinationOrganizationId?: string;
treatmentDetailIds: string[];
treatmentDetailId: string;
toothProsthesis?: Array<{
treatmentDetailId: string;
tooth: string;
@@ -186,13 +186,13 @@ export interface LabCaseResponse {
clientId: string;
destinationOrganizationId: string | null;
sentAt: string | null;
treatmentDetailIds: string[];
details: Array<{
treatmentDetailId: string | null;
detail: {
id: string;
clientId: string;
treatmentType: string;
teeth: string[];
}>;
} | null;
sends: LabCaseSendInfo[];
toothProsthesis?: LabCaseToothProsthesisDraft[];
attachments?: TreatmentAttachmentMeta[];