@blackcode_sa/metaestetics-api 1.4.8 → 1.4.9

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.
package/dist/index.d.mts CHANGED
@@ -1060,7 +1060,7 @@ interface ClinicGroup {
1060
1060
  admins: string[];
1061
1061
  adminsInfo: AdminInfo[];
1062
1062
  adminTokens: AdminToken[];
1063
- ownerId: string;
1063
+ ownerId: string | null;
1064
1064
  createdAt: Timestamp;
1065
1065
  updatedAt: Timestamp;
1066
1066
  isActive: boolean;
@@ -1080,7 +1080,7 @@ interface CreateClinicGroupData {
1080
1080
  hqLocation: ClinicLocation;
1081
1081
  contactInfo: ClinicContactInfo;
1082
1082
  contactPerson: ContactPerson;
1083
- ownerId: string;
1083
+ ownerId: string | null;
1084
1084
  isActive: boolean;
1085
1085
  logo?: string | null;
1086
1086
  practiceType?: PracticeType;
@@ -1215,12 +1215,12 @@ interface UpdateClinicData extends Partial<CreateClinicData> {
1215
1215
  */
1216
1216
  interface CreateDefaultClinicGroupData {
1217
1217
  name: string;
1218
- ownerId: string;
1218
+ ownerId: string | null;
1219
1219
  contactPerson: ContactPerson;
1220
1220
  contactInfo: ClinicContactInfo;
1221
1221
  hqLocation: ClinicLocation;
1222
1222
  isActive: boolean;
1223
- logo?: string;
1223
+ logo?: string | null;
1224
1224
  practiceType?: PracticeType;
1225
1225
  languages?: Language[];
1226
1226
  subscriptionModel?: SubscriptionModel;
@@ -8303,7 +8303,7 @@ declare const clinicGroupSchema: z.ZodObject<{
8303
8303
  expiresAt: Timestamp | Date;
8304
8304
  usedByUserRef?: string | undefined;
8305
8305
  }>, "many">;
8306
- ownerId: z.ZodString;
8306
+ ownerId: z.ZodNullable<z.ZodString>;
8307
8307
  createdAt: z.ZodUnion<[z.ZodType<Date, z.ZodTypeDef, Date>, z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>]>;
8308
8308
  updatedAt: z.ZodUnion<[z.ZodType<Date, z.ZodTypeDef, Date>, z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>]>;
8309
8309
  isActive: z.ZodBoolean;
@@ -8342,7 +8342,7 @@ declare const clinicGroupSchema: z.ZodObject<{
8342
8342
  title?: string | null | undefined;
8343
8343
  phoneNumber?: string | null | undefined;
8344
8344
  };
8345
- ownerId: string;
8345
+ ownerId: string | null;
8346
8346
  subscriptionModel: SubscriptionModel;
8347
8347
  admins: string[];
8348
8348
  clinicsInfo: {
@@ -8414,7 +8414,7 @@ declare const clinicGroupSchema: z.ZodObject<{
8414
8414
  title?: string | null | undefined;
8415
8415
  phoneNumber?: string | null | undefined;
8416
8416
  };
8417
- ownerId: string;
8417
+ ownerId: string | null;
8418
8418
  subscriptionModel: SubscriptionModel;
8419
8419
  admins: string[];
8420
8420
  clinicsInfo: {
@@ -9372,7 +9372,7 @@ declare const createClinicGroupSchema: z.ZodObject<{
9372
9372
  title?: string | null | undefined;
9373
9373
  phoneNumber?: string | null | undefined;
9374
9374
  }>;
9375
- ownerId: z.ZodString;
9375
+ ownerId: z.ZodNullable<z.ZodString>;
9376
9376
  isActive: z.ZodBoolean;
9377
9377
  logo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9378
9378
  practiceType: z.ZodOptional<z.ZodNativeEnum<typeof PracticeType>>;
@@ -9405,7 +9405,7 @@ declare const createClinicGroupSchema: z.ZodObject<{
9405
9405
  title?: string | null | undefined;
9406
9406
  phoneNumber?: string | null | undefined;
9407
9407
  };
9408
- ownerId: string;
9408
+ ownerId: string | null;
9409
9409
  subscriptionModel: SubscriptionModel;
9410
9410
  description?: string | undefined;
9411
9411
  logo?: string | null | undefined;
@@ -9438,7 +9438,7 @@ declare const createClinicGroupSchema: z.ZodObject<{
9438
9438
  title?: string | null | undefined;
9439
9439
  phoneNumber?: string | null | undefined;
9440
9440
  };
9441
- ownerId: string;
9441
+ ownerId: string | null;
9442
9442
  description?: string | undefined;
9443
9443
  logo?: string | null | undefined;
9444
9444
  practiceType?: PracticeType | undefined;
@@ -10012,7 +10012,7 @@ declare const createClinicSchema: z.ZodObject<{
10012
10012
  */
10013
10013
  declare const createDefaultClinicGroupSchema: z.ZodObject<{
10014
10014
  name: z.ZodString;
10015
- ownerId: z.ZodString;
10015
+ ownerId: z.ZodNullable<z.ZodString>;
10016
10016
  contactPerson: z.ZodObject<{
10017
10017
  firstName: z.ZodString;
10018
10018
  lastName: z.ZodString;
@@ -10103,7 +10103,7 @@ declare const createDefaultClinicGroupSchema: z.ZodObject<{
10103
10103
  title?: string | null | undefined;
10104
10104
  phoneNumber?: string | null | undefined;
10105
10105
  };
10106
- ownerId: string;
10106
+ ownerId: string | null;
10107
10107
  subscriptionModel: SubscriptionModel;
10108
10108
  logo?: string | null | undefined;
10109
10109
  practiceType?: PracticeType | undefined;
@@ -10133,7 +10133,7 @@ declare const createDefaultClinicGroupSchema: z.ZodObject<{
10133
10133
  title?: string | null | undefined;
10134
10134
  phoneNumber?: string | null | undefined;
10135
10135
  };
10136
- ownerId: string;
10136
+ ownerId: string | null;
10137
10137
  logo?: string | null | undefined;
10138
10138
  practiceType?: PracticeType | undefined;
10139
10139
  languages?: Language[] | undefined;
@@ -10985,7 +10985,7 @@ declare const updateClinicGroupSchema: z.ZodObject<{
10985
10985
  title?: string | null | undefined;
10986
10986
  phoneNumber?: string | null | undefined;
10987
10987
  }>>;
10988
- ownerId: z.ZodOptional<z.ZodString>;
10988
+ ownerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10989
10989
  isActive: z.ZodOptional<z.ZodBoolean>;
10990
10990
  logo: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
10991
10991
  practiceType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof PracticeType>>>;
@@ -11019,7 +11019,7 @@ declare const updateClinicGroupSchema: z.ZodObject<{
11019
11019
  title?: string | null | undefined;
11020
11020
  phoneNumber?: string | null | undefined;
11021
11021
  } | undefined;
11022
- ownerId?: string | undefined;
11022
+ ownerId?: string | null | undefined;
11023
11023
  logo?: string | null | undefined;
11024
11024
  practiceType?: PracticeType | undefined;
11025
11025
  languages?: Language[] | undefined;
@@ -11052,7 +11052,7 @@ declare const updateClinicGroupSchema: z.ZodObject<{
11052
11052
  title?: string | null | undefined;
11053
11053
  phoneNumber?: string | null | undefined;
11054
11054
  } | undefined;
11055
- ownerId?: string | undefined;
11055
+ ownerId?: string | null | undefined;
11056
11056
  logo?: string | null | undefined;
11057
11057
  practiceType?: PracticeType | undefined;
11058
11058
  languages?: Language[] | undefined;
package/dist/index.d.ts CHANGED
@@ -1060,7 +1060,7 @@ interface ClinicGroup {
1060
1060
  admins: string[];
1061
1061
  adminsInfo: AdminInfo[];
1062
1062
  adminTokens: AdminToken[];
1063
- ownerId: string;
1063
+ ownerId: string | null;
1064
1064
  createdAt: Timestamp;
1065
1065
  updatedAt: Timestamp;
1066
1066
  isActive: boolean;
@@ -1080,7 +1080,7 @@ interface CreateClinicGroupData {
1080
1080
  hqLocation: ClinicLocation;
1081
1081
  contactInfo: ClinicContactInfo;
1082
1082
  contactPerson: ContactPerson;
1083
- ownerId: string;
1083
+ ownerId: string | null;
1084
1084
  isActive: boolean;
1085
1085
  logo?: string | null;
1086
1086
  practiceType?: PracticeType;
@@ -1215,12 +1215,12 @@ interface UpdateClinicData extends Partial<CreateClinicData> {
1215
1215
  */
1216
1216
  interface CreateDefaultClinicGroupData {
1217
1217
  name: string;
1218
- ownerId: string;
1218
+ ownerId: string | null;
1219
1219
  contactPerson: ContactPerson;
1220
1220
  contactInfo: ClinicContactInfo;
1221
1221
  hqLocation: ClinicLocation;
1222
1222
  isActive: boolean;
1223
- logo?: string;
1223
+ logo?: string | null;
1224
1224
  practiceType?: PracticeType;
1225
1225
  languages?: Language[];
1226
1226
  subscriptionModel?: SubscriptionModel;
@@ -8303,7 +8303,7 @@ declare const clinicGroupSchema: z.ZodObject<{
8303
8303
  expiresAt: Timestamp | Date;
8304
8304
  usedByUserRef?: string | undefined;
8305
8305
  }>, "many">;
8306
- ownerId: z.ZodString;
8306
+ ownerId: z.ZodNullable<z.ZodString>;
8307
8307
  createdAt: z.ZodUnion<[z.ZodType<Date, z.ZodTypeDef, Date>, z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>]>;
8308
8308
  updatedAt: z.ZodUnion<[z.ZodType<Date, z.ZodTypeDef, Date>, z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>]>;
8309
8309
  isActive: z.ZodBoolean;
@@ -8342,7 +8342,7 @@ declare const clinicGroupSchema: z.ZodObject<{
8342
8342
  title?: string | null | undefined;
8343
8343
  phoneNumber?: string | null | undefined;
8344
8344
  };
8345
- ownerId: string;
8345
+ ownerId: string | null;
8346
8346
  subscriptionModel: SubscriptionModel;
8347
8347
  admins: string[];
8348
8348
  clinicsInfo: {
@@ -8414,7 +8414,7 @@ declare const clinicGroupSchema: z.ZodObject<{
8414
8414
  title?: string | null | undefined;
8415
8415
  phoneNumber?: string | null | undefined;
8416
8416
  };
8417
- ownerId: string;
8417
+ ownerId: string | null;
8418
8418
  subscriptionModel: SubscriptionModel;
8419
8419
  admins: string[];
8420
8420
  clinicsInfo: {
@@ -9372,7 +9372,7 @@ declare const createClinicGroupSchema: z.ZodObject<{
9372
9372
  title?: string | null | undefined;
9373
9373
  phoneNumber?: string | null | undefined;
9374
9374
  }>;
9375
- ownerId: z.ZodString;
9375
+ ownerId: z.ZodNullable<z.ZodString>;
9376
9376
  isActive: z.ZodBoolean;
9377
9377
  logo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9378
9378
  practiceType: z.ZodOptional<z.ZodNativeEnum<typeof PracticeType>>;
@@ -9405,7 +9405,7 @@ declare const createClinicGroupSchema: z.ZodObject<{
9405
9405
  title?: string | null | undefined;
9406
9406
  phoneNumber?: string | null | undefined;
9407
9407
  };
9408
- ownerId: string;
9408
+ ownerId: string | null;
9409
9409
  subscriptionModel: SubscriptionModel;
9410
9410
  description?: string | undefined;
9411
9411
  logo?: string | null | undefined;
@@ -9438,7 +9438,7 @@ declare const createClinicGroupSchema: z.ZodObject<{
9438
9438
  title?: string | null | undefined;
9439
9439
  phoneNumber?: string | null | undefined;
9440
9440
  };
9441
- ownerId: string;
9441
+ ownerId: string | null;
9442
9442
  description?: string | undefined;
9443
9443
  logo?: string | null | undefined;
9444
9444
  practiceType?: PracticeType | undefined;
@@ -10012,7 +10012,7 @@ declare const createClinicSchema: z.ZodObject<{
10012
10012
  */
10013
10013
  declare const createDefaultClinicGroupSchema: z.ZodObject<{
10014
10014
  name: z.ZodString;
10015
- ownerId: z.ZodString;
10015
+ ownerId: z.ZodNullable<z.ZodString>;
10016
10016
  contactPerson: z.ZodObject<{
10017
10017
  firstName: z.ZodString;
10018
10018
  lastName: z.ZodString;
@@ -10103,7 +10103,7 @@ declare const createDefaultClinicGroupSchema: z.ZodObject<{
10103
10103
  title?: string | null | undefined;
10104
10104
  phoneNumber?: string | null | undefined;
10105
10105
  };
10106
- ownerId: string;
10106
+ ownerId: string | null;
10107
10107
  subscriptionModel: SubscriptionModel;
10108
10108
  logo?: string | null | undefined;
10109
10109
  practiceType?: PracticeType | undefined;
@@ -10133,7 +10133,7 @@ declare const createDefaultClinicGroupSchema: z.ZodObject<{
10133
10133
  title?: string | null | undefined;
10134
10134
  phoneNumber?: string | null | undefined;
10135
10135
  };
10136
- ownerId: string;
10136
+ ownerId: string | null;
10137
10137
  logo?: string | null | undefined;
10138
10138
  practiceType?: PracticeType | undefined;
10139
10139
  languages?: Language[] | undefined;
@@ -10985,7 +10985,7 @@ declare const updateClinicGroupSchema: z.ZodObject<{
10985
10985
  title?: string | null | undefined;
10986
10986
  phoneNumber?: string | null | undefined;
10987
10987
  }>>;
10988
- ownerId: z.ZodOptional<z.ZodString>;
10988
+ ownerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10989
10989
  isActive: z.ZodOptional<z.ZodBoolean>;
10990
10990
  logo: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
10991
10991
  practiceType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof PracticeType>>>;
@@ -11019,7 +11019,7 @@ declare const updateClinicGroupSchema: z.ZodObject<{
11019
11019
  title?: string | null | undefined;
11020
11020
  phoneNumber?: string | null | undefined;
11021
11021
  } | undefined;
11022
- ownerId?: string | undefined;
11022
+ ownerId?: string | null | undefined;
11023
11023
  logo?: string | null | undefined;
11024
11024
  practiceType?: PracticeType | undefined;
11025
11025
  languages?: Language[] | undefined;
@@ -11052,7 +11052,7 @@ declare const updateClinicGroupSchema: z.ZodObject<{
11052
11052
  title?: string | null | undefined;
11053
11053
  phoneNumber?: string | null | undefined;
11054
11054
  } | undefined;
11055
- ownerId?: string | undefined;
11055
+ ownerId?: string | null | undefined;
11056
11056
  logo?: string | null | undefined;
11057
11057
  practiceType?: PracticeType | undefined;
11058
11058
  languages?: Language[] | undefined;