@blackcode_sa/metaestetics-api 1.4.5 → 1.4.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -84,9 +84,9 @@ export interface WorkingHours {
84
84
  export interface ContactPerson {
85
85
  firstName: string;
86
86
  lastName: string;
87
- title: string;
87
+ title?: string | null;
88
88
  email: string;
89
- phoneNumber: string;
89
+ phoneNumber?: string | null;
90
90
  }
91
91
 
92
92
  /**
@@ -199,7 +199,7 @@ export interface ClinicGroup {
199
199
  createdAt: Timestamp;
200
200
  updatedAt: Timestamp;
201
201
  isActive: boolean;
202
- logo?: string;
202
+ logo?: string | null;
203
203
  practiceType?: PracticeType;
204
204
  languages?: Language[];
205
205
  subscriptionModel: SubscriptionModel;
@@ -218,7 +218,7 @@ export interface CreateClinicGroupData {
218
218
  contactPerson: ContactPerson;
219
219
  ownerId: string;
220
220
  isActive: boolean;
221
- logo?: string;
221
+ logo?: string | null;
222
222
  practiceType?: PracticeType;
223
223
  languages?: Language[];
224
224
  subscriptionModel?: SubscriptionModel;
@@ -76,9 +76,9 @@ export const clinicTagsSchema = z.object({
76
76
  export const contactPersonSchema = z.object({
77
77
  firstName: z.string(),
78
78
  lastName: z.string(),
79
- title: z.string(),
79
+ title: z.string().nullable().optional(),
80
80
  email: z.string().email(),
81
- phoneNumber: z.string(),
81
+ phoneNumber: z.string().nullable().optional(),
82
82
  });
83
83
 
84
84
  /**
@@ -204,7 +204,7 @@ export const clinicGroupSchema = z.object({
204
204
  createdAt: z.instanceof(Date).or(z.instanceof(Timestamp)), // Timestamp
205
205
  updatedAt: z.instanceof(Date).or(z.instanceof(Timestamp)), // Timestamp
206
206
  isActive: z.boolean(),
207
- logo: z.string().optional(),
207
+ logo: z.string().optional().nullable(),
208
208
  practiceType: z.nativeEnum(PracticeType).optional(),
209
209
  languages: z.array(z.nativeEnum(Language)).optional(),
210
210
  subscriptionModel: z.nativeEnum(SubscriptionModel),
@@ -292,7 +292,7 @@ export const createClinicGroupSchema = z.object({
292
292
  contactPerson: contactPersonSchema,
293
293
  ownerId: z.string(),
294
294
  isActive: z.boolean(),
295
- logo: z.string().optional(),
295
+ logo: z.string().optional().nullable(),
296
296
  practiceType: z.nativeEnum(PracticeType).optional(),
297
297
  languages: z.array(z.nativeEnum(Language)).optional(),
298
298
  subscriptionModel: z
@@ -342,7 +342,7 @@ export const createDefaultClinicGroupSchema = z.object({
342
342
  contactInfo: clinicContactInfoSchema,
343
343
  hqLocation: clinicLocationSchema,
344
344
  isActive: z.boolean(),
345
- logo: z.string().optional(),
345
+ logo: z.string().optional().nullable(),
346
346
  practiceType: z.nativeEnum(PracticeType).optional(),
347
347
  languages: z.array(z.nativeEnum(Language)).optional(),
348
348
  subscriptionModel: z