@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.
package/dist/index.d.mts CHANGED
@@ -958,9 +958,9 @@ interface WorkingHours {
958
958
  interface ContactPerson {
959
959
  firstName: string;
960
960
  lastName: string;
961
- title: string;
961
+ title?: string | null;
962
962
  email: string;
963
- phoneNumber: string;
963
+ phoneNumber?: string | null;
964
964
  }
965
965
  /**
966
966
  * Interface for clinic information
@@ -1064,7 +1064,7 @@ interface ClinicGroup {
1064
1064
  createdAt: Timestamp;
1065
1065
  updatedAt: Timestamp;
1066
1066
  isActive: boolean;
1067
- logo?: string;
1067
+ logo?: string | null;
1068
1068
  practiceType?: PracticeType;
1069
1069
  languages?: Language[];
1070
1070
  subscriptionModel: SubscriptionModel;
@@ -1082,7 +1082,7 @@ interface CreateClinicGroupData {
1082
1082
  contactPerson: ContactPerson;
1083
1083
  ownerId: string;
1084
1084
  isActive: boolean;
1085
- logo?: string;
1085
+ logo?: string | null;
1086
1086
  practiceType?: PracticeType;
1087
1087
  languages?: Language[];
1088
1088
  subscriptionModel?: SubscriptionModel;
@@ -7651,21 +7651,21 @@ declare const clinicTagsSchema: z.ZodObject<{
7651
7651
  declare const contactPersonSchema: z.ZodObject<{
7652
7652
  firstName: z.ZodString;
7653
7653
  lastName: z.ZodString;
7654
- title: z.ZodString;
7654
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7655
7655
  email: z.ZodString;
7656
- phoneNumber: z.ZodString;
7656
+ phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7657
7657
  }, "strip", z.ZodTypeAny, {
7658
7658
  email: string;
7659
- title: string;
7660
7659
  firstName: string;
7661
7660
  lastName: string;
7662
- phoneNumber: string;
7661
+ title?: string | null | undefined;
7662
+ phoneNumber?: string | null | undefined;
7663
7663
  }, {
7664
7664
  email: string;
7665
- title: string;
7666
7665
  firstName: string;
7667
7666
  lastName: string;
7668
- phoneNumber: string;
7667
+ title?: string | null | undefined;
7668
+ phoneNumber?: string | null | undefined;
7669
7669
  }>;
7670
7670
  /**
7671
7671
  * Validaciona šema za informacije o administratoru
@@ -7980,21 +7980,21 @@ declare const clinicAdminSchema: z.ZodObject<{
7980
7980
  contactInfo: z.ZodObject<{
7981
7981
  firstName: z.ZodString;
7982
7982
  lastName: z.ZodString;
7983
- title: z.ZodString;
7983
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7984
7984
  email: z.ZodString;
7985
- phoneNumber: z.ZodString;
7985
+ phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7986
7986
  }, "strip", z.ZodTypeAny, {
7987
7987
  email: string;
7988
- title: string;
7989
7988
  firstName: string;
7990
7989
  lastName: string;
7991
- phoneNumber: string;
7990
+ title?: string | null | undefined;
7991
+ phoneNumber?: string | null | undefined;
7992
7992
  }, {
7993
7993
  email: string;
7994
- title: string;
7995
7994
  firstName: string;
7996
7995
  lastName: string;
7997
- phoneNumber: string;
7996
+ title?: string | null | undefined;
7997
+ phoneNumber?: string | null | undefined;
7998
7998
  }>;
7999
7999
  roleTitle: z.ZodString;
8000
8000
  createdAt: z.ZodUnion<[z.ZodType<Date, z.ZodTypeDef, Date>, z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>]>;
@@ -8032,10 +8032,10 @@ declare const clinicAdminSchema: z.ZodObject<{
8032
8032
  }[];
8033
8033
  contactInfo: {
8034
8034
  email: string;
8035
- title: string;
8036
8035
  firstName: string;
8037
8036
  lastName: string;
8038
- phoneNumber: string;
8037
+ title?: string | null | undefined;
8038
+ phoneNumber?: string | null | undefined;
8039
8039
  };
8040
8040
  roleTitle: string;
8041
8041
  }, {
@@ -8070,10 +8070,10 @@ declare const clinicAdminSchema: z.ZodObject<{
8070
8070
  }[];
8071
8071
  contactInfo: {
8072
8072
  email: string;
8073
- title: string;
8074
8073
  firstName: string;
8075
8074
  lastName: string;
8076
- phoneNumber: string;
8075
+ title?: string | null | undefined;
8076
+ phoneNumber?: string | null | undefined;
8077
8077
  };
8078
8078
  roleTitle: string;
8079
8079
  }>;
@@ -8163,21 +8163,21 @@ declare const clinicGroupSchema: z.ZodObject<{
8163
8163
  contactPerson: z.ZodObject<{
8164
8164
  firstName: z.ZodString;
8165
8165
  lastName: z.ZodString;
8166
- title: z.ZodString;
8166
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8167
8167
  email: z.ZodString;
8168
- phoneNumber: z.ZodString;
8168
+ phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8169
8169
  }, "strip", z.ZodTypeAny, {
8170
8170
  email: string;
8171
- title: string;
8172
8171
  firstName: string;
8173
8172
  lastName: string;
8174
- phoneNumber: string;
8173
+ title?: string | null | undefined;
8174
+ phoneNumber?: string | null | undefined;
8175
8175
  }, {
8176
8176
  email: string;
8177
- title: string;
8178
8177
  firstName: string;
8179
8178
  lastName: string;
8180
- phoneNumber: string;
8179
+ title?: string | null | undefined;
8180
+ phoneNumber?: string | null | undefined;
8181
8181
  }>;
8182
8182
  clinics: z.ZodArray<z.ZodString, "many">;
8183
8183
  clinicsInfo: z.ZodArray<z.ZodObject<{
@@ -8307,7 +8307,7 @@ declare const clinicGroupSchema: z.ZodObject<{
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;
8310
- logo: z.ZodOptional<z.ZodString>;
8310
+ logo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8311
8311
  practiceType: z.ZodOptional<z.ZodNativeEnum<typeof PracticeType>>;
8312
8312
  languages: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Language>, "many">>;
8313
8313
  subscriptionModel: z.ZodNativeEnum<typeof SubscriptionModel>;
@@ -8337,10 +8337,10 @@ declare const clinicGroupSchema: z.ZodObject<{
8337
8337
  };
8338
8338
  contactPerson: {
8339
8339
  email: string;
8340
- title: string;
8341
8340
  firstName: string;
8342
8341
  lastName: string;
8343
- phoneNumber: string;
8342
+ title?: string | null | undefined;
8343
+ phoneNumber?: string | null | undefined;
8344
8344
  };
8345
8345
  ownerId: string;
8346
8346
  subscriptionModel: SubscriptionModel;
@@ -8380,7 +8380,7 @@ declare const clinicGroupSchema: z.ZodObject<{
8380
8380
  usedByUserRef?: string | undefined;
8381
8381
  }[];
8382
8382
  description?: string | null | undefined;
8383
- logo?: string | undefined;
8383
+ logo?: string | null | undefined;
8384
8384
  practiceType?: PracticeType | undefined;
8385
8385
  languages?: Language[] | undefined;
8386
8386
  calendarSyncEnabled?: boolean | undefined;
@@ -8409,10 +8409,10 @@ declare const clinicGroupSchema: z.ZodObject<{
8409
8409
  };
8410
8410
  contactPerson: {
8411
8411
  email: string;
8412
- title: string;
8413
8412
  firstName: string;
8414
8413
  lastName: string;
8415
- phoneNumber: string;
8414
+ title?: string | null | undefined;
8415
+ phoneNumber?: string | null | undefined;
8416
8416
  };
8417
8417
  ownerId: string;
8418
8418
  subscriptionModel: SubscriptionModel;
@@ -8452,7 +8452,7 @@ declare const clinicGroupSchema: z.ZodObject<{
8452
8452
  usedByUserRef?: string | undefined;
8453
8453
  }[];
8454
8454
  description?: string | null | undefined;
8455
- logo?: string | undefined;
8455
+ logo?: string | null | undefined;
8456
8456
  practiceType?: PracticeType | undefined;
8457
8457
  languages?: Language[] | undefined;
8458
8458
  calendarSyncEnabled?: boolean | undefined;
@@ -9259,21 +9259,21 @@ declare const createClinicAdminSchema: z.ZodObject<{
9259
9259
  contactInfo: z.ZodObject<{
9260
9260
  firstName: z.ZodString;
9261
9261
  lastName: z.ZodString;
9262
- title: z.ZodString;
9262
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9263
9263
  email: z.ZodString;
9264
- phoneNumber: z.ZodString;
9264
+ phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9265
9265
  }, "strip", z.ZodTypeAny, {
9266
9266
  email: string;
9267
- title: string;
9268
9267
  firstName: string;
9269
9268
  lastName: string;
9270
- phoneNumber: string;
9269
+ title?: string | null | undefined;
9270
+ phoneNumber?: string | null | undefined;
9271
9271
  }, {
9272
9272
  email: string;
9273
- title: string;
9274
9273
  firstName: string;
9275
9274
  lastName: string;
9276
- phoneNumber: string;
9275
+ title?: string | null | undefined;
9276
+ phoneNumber?: string | null | undefined;
9277
9277
  }>;
9278
9278
  roleTitle: z.ZodString;
9279
9279
  isActive: z.ZodBoolean;
@@ -9284,10 +9284,10 @@ declare const createClinicAdminSchema: z.ZodObject<{
9284
9284
  clinicsManaged: string[];
9285
9285
  contactInfo: {
9286
9286
  email: string;
9287
- title: string;
9288
9287
  firstName: string;
9289
9288
  lastName: string;
9290
- phoneNumber: string;
9289
+ title?: string | null | undefined;
9290
+ phoneNumber?: string | null | undefined;
9291
9291
  };
9292
9292
  roleTitle: string;
9293
9293
  clinicGroupId?: string | undefined;
@@ -9298,10 +9298,10 @@ declare const createClinicAdminSchema: z.ZodObject<{
9298
9298
  clinicsManaged: string[];
9299
9299
  contactInfo: {
9300
9300
  email: string;
9301
- title: string;
9302
9301
  firstName: string;
9303
9302
  lastName: string;
9304
- phoneNumber: string;
9303
+ title?: string | null | undefined;
9304
+ phoneNumber?: string | null | undefined;
9305
9305
  };
9306
9306
  roleTitle: string;
9307
9307
  clinicGroupId?: string | undefined;
@@ -9356,25 +9356,25 @@ declare const createClinicGroupSchema: z.ZodObject<{
9356
9356
  contactPerson: z.ZodObject<{
9357
9357
  firstName: z.ZodString;
9358
9358
  lastName: z.ZodString;
9359
- title: z.ZodString;
9359
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9360
9360
  email: z.ZodString;
9361
- phoneNumber: z.ZodString;
9361
+ phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9362
9362
  }, "strip", z.ZodTypeAny, {
9363
9363
  email: string;
9364
- title: string;
9365
9364
  firstName: string;
9366
9365
  lastName: string;
9367
- phoneNumber: string;
9366
+ title?: string | null | undefined;
9367
+ phoneNumber?: string | null | undefined;
9368
9368
  }, {
9369
9369
  email: string;
9370
- title: string;
9371
9370
  firstName: string;
9372
9371
  lastName: string;
9373
- phoneNumber: string;
9372
+ title?: string | null | undefined;
9373
+ phoneNumber?: string | null | undefined;
9374
9374
  }>;
9375
9375
  ownerId: z.ZodString;
9376
9376
  isActive: z.ZodBoolean;
9377
- logo: z.ZodOptional<z.ZodString>;
9377
+ logo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9378
9378
  practiceType: z.ZodOptional<z.ZodNativeEnum<typeof PracticeType>>;
9379
9379
  languages: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Language>, "many">>;
9380
9380
  subscriptionModel: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof SubscriptionModel>>>;
@@ -9400,15 +9400,15 @@ declare const createClinicGroupSchema: z.ZodObject<{
9400
9400
  };
9401
9401
  contactPerson: {
9402
9402
  email: string;
9403
- title: string;
9404
9403
  firstName: string;
9405
9404
  lastName: string;
9406
- phoneNumber: string;
9405
+ title?: string | null | undefined;
9406
+ phoneNumber?: string | null | undefined;
9407
9407
  };
9408
9408
  ownerId: string;
9409
9409
  subscriptionModel: SubscriptionModel;
9410
9410
  description?: string | undefined;
9411
- logo?: string | undefined;
9411
+ logo?: string | null | undefined;
9412
9412
  practiceType?: PracticeType | undefined;
9413
9413
  languages?: Language[] | undefined;
9414
9414
  calendarSyncEnabled?: boolean | undefined;
@@ -9433,14 +9433,14 @@ declare const createClinicGroupSchema: z.ZodObject<{
9433
9433
  };
9434
9434
  contactPerson: {
9435
9435
  email: string;
9436
- title: string;
9437
9436
  firstName: string;
9438
9437
  lastName: string;
9439
- phoneNumber: string;
9438
+ title?: string | null | undefined;
9439
+ phoneNumber?: string | null | undefined;
9440
9440
  };
9441
9441
  ownerId: string;
9442
9442
  description?: string | undefined;
9443
- logo?: string | undefined;
9443
+ logo?: string | null | undefined;
9444
9444
  practiceType?: PracticeType | undefined;
9445
9445
  languages?: Language[] | undefined;
9446
9446
  subscriptionModel?: SubscriptionModel | undefined;
@@ -10016,21 +10016,21 @@ declare const createDefaultClinicGroupSchema: z.ZodObject<{
10016
10016
  contactPerson: z.ZodObject<{
10017
10017
  firstName: z.ZodString;
10018
10018
  lastName: z.ZodString;
10019
- title: z.ZodString;
10019
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10020
10020
  email: z.ZodString;
10021
- phoneNumber: z.ZodString;
10021
+ phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10022
10022
  }, "strip", z.ZodTypeAny, {
10023
10023
  email: string;
10024
- title: string;
10025
10024
  firstName: string;
10026
10025
  lastName: string;
10027
- phoneNumber: string;
10026
+ title?: string | null | undefined;
10027
+ phoneNumber?: string | null | undefined;
10028
10028
  }, {
10029
10029
  email: string;
10030
- title: string;
10031
10030
  firstName: string;
10032
10031
  lastName: string;
10033
- phoneNumber: string;
10032
+ title?: string | null | undefined;
10033
+ phoneNumber?: string | null | undefined;
10034
10034
  }>;
10035
10035
  contactInfo: z.ZodObject<{
10036
10036
  email: z.ZodString;
@@ -10074,7 +10074,7 @@ declare const createDefaultClinicGroupSchema: z.ZodObject<{
10074
10074
  geohash?: string | null | undefined;
10075
10075
  }>;
10076
10076
  isActive: z.ZodBoolean;
10077
- logo: z.ZodOptional<z.ZodString>;
10077
+ logo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10078
10078
  practiceType: z.ZodOptional<z.ZodNativeEnum<typeof PracticeType>>;
10079
10079
  languages: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Language>, "many">>;
10080
10080
  subscriptionModel: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof SubscriptionModel>>>;
@@ -10098,14 +10098,14 @@ declare const createDefaultClinicGroupSchema: z.ZodObject<{
10098
10098
  };
10099
10099
  contactPerson: {
10100
10100
  email: string;
10101
- title: string;
10102
10101
  firstName: string;
10103
10102
  lastName: string;
10104
- phoneNumber: string;
10103
+ title?: string | null | undefined;
10104
+ phoneNumber?: string | null | undefined;
10105
10105
  };
10106
10106
  ownerId: string;
10107
10107
  subscriptionModel: SubscriptionModel;
10108
- logo?: string | undefined;
10108
+ logo?: string | null | undefined;
10109
10109
  practiceType?: PracticeType | undefined;
10110
10110
  languages?: Language[] | undefined;
10111
10111
  }, {
@@ -10128,13 +10128,13 @@ declare const createDefaultClinicGroupSchema: z.ZodObject<{
10128
10128
  };
10129
10129
  contactPerson: {
10130
10130
  email: string;
10131
- title: string;
10132
10131
  firstName: string;
10133
10132
  lastName: string;
10134
- phoneNumber: string;
10133
+ title?: string | null | undefined;
10134
+ phoneNumber?: string | null | undefined;
10135
10135
  };
10136
10136
  ownerId: string;
10137
- logo?: string | undefined;
10137
+ logo?: string | null | undefined;
10138
10138
  practiceType?: PracticeType | undefined;
10139
10139
  languages?: Language[] | undefined;
10140
10140
  subscriptionModel?: SubscriptionModel | undefined;
@@ -10872,21 +10872,21 @@ declare const updateClinicAdminSchema: z.ZodObject<{
10872
10872
  contactInfo: z.ZodOptional<z.ZodObject<{
10873
10873
  firstName: z.ZodString;
10874
10874
  lastName: z.ZodString;
10875
- title: z.ZodString;
10875
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10876
10876
  email: z.ZodString;
10877
- phoneNumber: z.ZodString;
10877
+ phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10878
10878
  }, "strip", z.ZodTypeAny, {
10879
10879
  email: string;
10880
- title: string;
10881
10880
  firstName: string;
10882
10881
  lastName: string;
10883
- phoneNumber: string;
10882
+ title?: string | null | undefined;
10883
+ phoneNumber?: string | null | undefined;
10884
10884
  }, {
10885
10885
  email: string;
10886
- title: string;
10887
10886
  firstName: string;
10888
10887
  lastName: string;
10889
- phoneNumber: string;
10888
+ title?: string | null | undefined;
10889
+ phoneNumber?: string | null | undefined;
10890
10890
  }>>;
10891
10891
  roleTitle: z.ZodOptional<z.ZodString>;
10892
10892
  isActive: z.ZodOptional<z.ZodBoolean>;
@@ -10898,10 +10898,10 @@ declare const updateClinicAdminSchema: z.ZodObject<{
10898
10898
  clinicsManaged?: string[] | undefined;
10899
10899
  contactInfo?: {
10900
10900
  email: string;
10901
- title: string;
10902
10901
  firstName: string;
10903
10902
  lastName: string;
10904
- phoneNumber: string;
10903
+ title?: string | null | undefined;
10904
+ phoneNumber?: string | null | undefined;
10905
10905
  } | undefined;
10906
10906
  roleTitle?: string | undefined;
10907
10907
  }, {
@@ -10912,10 +10912,10 @@ declare const updateClinicAdminSchema: z.ZodObject<{
10912
10912
  clinicsManaged?: string[] | undefined;
10913
10913
  contactInfo?: {
10914
10914
  email: string;
10915
- title: string;
10916
10915
  firstName: string;
10917
10916
  lastName: string;
10918
- phoneNumber: string;
10917
+ title?: string | null | undefined;
10918
+ phoneNumber?: string | null | undefined;
10919
10919
  } | undefined;
10920
10920
  roleTitle?: string | undefined;
10921
10921
  }>;
@@ -10969,25 +10969,25 @@ declare const updateClinicGroupSchema: z.ZodObject<{
10969
10969
  contactPerson: z.ZodOptional<z.ZodObject<{
10970
10970
  firstName: z.ZodString;
10971
10971
  lastName: z.ZodString;
10972
- title: z.ZodString;
10972
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10973
10973
  email: z.ZodString;
10974
- phoneNumber: z.ZodString;
10974
+ phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10975
10975
  }, "strip", z.ZodTypeAny, {
10976
10976
  email: string;
10977
- title: string;
10978
10977
  firstName: string;
10979
10978
  lastName: string;
10980
- phoneNumber: string;
10979
+ title?: string | null | undefined;
10980
+ phoneNumber?: string | null | undefined;
10981
10981
  }, {
10982
10982
  email: string;
10983
- title: string;
10984
10983
  firstName: string;
10985
10984
  lastName: string;
10986
- phoneNumber: string;
10985
+ title?: string | null | undefined;
10986
+ phoneNumber?: string | null | undefined;
10987
10987
  }>>;
10988
10988
  ownerId: z.ZodOptional<z.ZodString>;
10989
10989
  isActive: z.ZodOptional<z.ZodBoolean>;
10990
- logo: z.ZodOptional<z.ZodOptional<z.ZodString>>;
10990
+ logo: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
10991
10991
  practiceType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof PracticeType>>>;
10992
10992
  languages: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Language>, "many">>>;
10993
10993
  subscriptionModel: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof SubscriptionModel>>>>;
@@ -11014,13 +11014,13 @@ declare const updateClinicGroupSchema: z.ZodObject<{
11014
11014
  } | undefined;
11015
11015
  contactPerson?: {
11016
11016
  email: string;
11017
- title: string;
11018
11017
  firstName: string;
11019
11018
  lastName: string;
11020
- phoneNumber: string;
11019
+ title?: string | null | undefined;
11020
+ phoneNumber?: string | null | undefined;
11021
11021
  } | undefined;
11022
11022
  ownerId?: string | undefined;
11023
- logo?: string | undefined;
11023
+ logo?: string | null | undefined;
11024
11024
  practiceType?: PracticeType | undefined;
11025
11025
  languages?: Language[] | undefined;
11026
11026
  subscriptionModel?: SubscriptionModel | undefined;
@@ -11047,13 +11047,13 @@ declare const updateClinicGroupSchema: z.ZodObject<{
11047
11047
  } | undefined;
11048
11048
  contactPerson?: {
11049
11049
  email: string;
11050
- title: string;
11051
11050
  firstName: string;
11052
11051
  lastName: string;
11053
- phoneNumber: string;
11052
+ title?: string | null | undefined;
11053
+ phoneNumber?: string | null | undefined;
11054
11054
  } | undefined;
11055
11055
  ownerId?: string | undefined;
11056
- logo?: string | undefined;
11056
+ logo?: string | null | undefined;
11057
11057
  practiceType?: PracticeType | undefined;
11058
11058
  languages?: Language[] | undefined;
11059
11059
  subscriptionModel?: SubscriptionModel | undefined;