@blackcode_sa/metaestetics-api 1.4.4 → 1.4.6
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 +108 -93
- package/dist/index.d.ts +108 -93
- package/dist/index.js +16 -6
- package/dist/index.mjs +11 -6
- package/package.json +1 -1
- package/src/index.ts +17 -0
- package/src/services/auth.service.ts +1 -1
- package/src/types/clinic/index.ts +4 -4
- package/src/validations/clinic.schema.ts +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -958,9 +958,9 @@ interface WorkingHours {
|
|
|
958
958
|
interface ContactPerson {
|
|
959
959
|
firstName: string;
|
|
960
960
|
lastName: string;
|
|
961
|
-
title
|
|
961
|
+
title?: string | null;
|
|
962
962
|
email: string;
|
|
963
|
-
phoneNumber
|
|
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;
|
|
@@ -1210,6 +1210,21 @@ interface CreateClinicData {
|
|
|
1210
1210
|
interface UpdateClinicData extends Partial<CreateClinicData> {
|
|
1211
1211
|
updatedAt?: FieldValue;
|
|
1212
1212
|
}
|
|
1213
|
+
/**
|
|
1214
|
+
* Interface for creating a default clinic group
|
|
1215
|
+
*/
|
|
1216
|
+
interface CreateDefaultClinicGroupData {
|
|
1217
|
+
name: string;
|
|
1218
|
+
ownerId: string;
|
|
1219
|
+
contactPerson: ContactPerson;
|
|
1220
|
+
contactInfo: ClinicContactInfo;
|
|
1221
|
+
hqLocation: ClinicLocation;
|
|
1222
|
+
isActive: boolean;
|
|
1223
|
+
logo?: string;
|
|
1224
|
+
practiceType?: PracticeType;
|
|
1225
|
+
languages?: Language[];
|
|
1226
|
+
subscriptionModel?: SubscriptionModel;
|
|
1227
|
+
}
|
|
1213
1228
|
/**
|
|
1214
1229
|
* Interface for clinic admin signup data
|
|
1215
1230
|
*/
|
|
@@ -7636,21 +7651,21 @@ declare const clinicTagsSchema: z.ZodObject<{
|
|
|
7636
7651
|
declare const contactPersonSchema: z.ZodObject<{
|
|
7637
7652
|
firstName: z.ZodString;
|
|
7638
7653
|
lastName: z.ZodString;
|
|
7639
|
-
title: z.ZodString
|
|
7654
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7640
7655
|
email: z.ZodString;
|
|
7641
|
-
phoneNumber: z.ZodString
|
|
7656
|
+
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7642
7657
|
}, "strip", z.ZodTypeAny, {
|
|
7643
7658
|
email: string;
|
|
7644
|
-
title: string;
|
|
7645
7659
|
firstName: string;
|
|
7646
7660
|
lastName: string;
|
|
7647
|
-
|
|
7661
|
+
title?: string | null | undefined;
|
|
7662
|
+
phoneNumber?: string | null | undefined;
|
|
7648
7663
|
}, {
|
|
7649
7664
|
email: string;
|
|
7650
|
-
title: string;
|
|
7651
7665
|
firstName: string;
|
|
7652
7666
|
lastName: string;
|
|
7653
|
-
|
|
7667
|
+
title?: string | null | undefined;
|
|
7668
|
+
phoneNumber?: string | null | undefined;
|
|
7654
7669
|
}>;
|
|
7655
7670
|
/**
|
|
7656
7671
|
* Validaciona šema za informacije o administratoru
|
|
@@ -7965,21 +7980,21 @@ declare const clinicAdminSchema: z.ZodObject<{
|
|
|
7965
7980
|
contactInfo: z.ZodObject<{
|
|
7966
7981
|
firstName: z.ZodString;
|
|
7967
7982
|
lastName: z.ZodString;
|
|
7968
|
-
title: z.ZodString
|
|
7983
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7969
7984
|
email: z.ZodString;
|
|
7970
|
-
phoneNumber: z.ZodString
|
|
7985
|
+
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7971
7986
|
}, "strip", z.ZodTypeAny, {
|
|
7972
7987
|
email: string;
|
|
7973
|
-
title: string;
|
|
7974
7988
|
firstName: string;
|
|
7975
7989
|
lastName: string;
|
|
7976
|
-
|
|
7990
|
+
title?: string | null | undefined;
|
|
7991
|
+
phoneNumber?: string | null | undefined;
|
|
7977
7992
|
}, {
|
|
7978
7993
|
email: string;
|
|
7979
|
-
title: string;
|
|
7980
7994
|
firstName: string;
|
|
7981
7995
|
lastName: string;
|
|
7982
|
-
|
|
7996
|
+
title?: string | null | undefined;
|
|
7997
|
+
phoneNumber?: string | null | undefined;
|
|
7983
7998
|
}>;
|
|
7984
7999
|
roleTitle: z.ZodString;
|
|
7985
8000
|
createdAt: z.ZodUnion<[z.ZodType<Date, z.ZodTypeDef, Date>, z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>]>;
|
|
@@ -8017,10 +8032,10 @@ declare const clinicAdminSchema: z.ZodObject<{
|
|
|
8017
8032
|
}[];
|
|
8018
8033
|
contactInfo: {
|
|
8019
8034
|
email: string;
|
|
8020
|
-
title: string;
|
|
8021
8035
|
firstName: string;
|
|
8022
8036
|
lastName: string;
|
|
8023
|
-
|
|
8037
|
+
title?: string | null | undefined;
|
|
8038
|
+
phoneNumber?: string | null | undefined;
|
|
8024
8039
|
};
|
|
8025
8040
|
roleTitle: string;
|
|
8026
8041
|
}, {
|
|
@@ -8055,10 +8070,10 @@ declare const clinicAdminSchema: z.ZodObject<{
|
|
|
8055
8070
|
}[];
|
|
8056
8071
|
contactInfo: {
|
|
8057
8072
|
email: string;
|
|
8058
|
-
title: string;
|
|
8059
8073
|
firstName: string;
|
|
8060
8074
|
lastName: string;
|
|
8061
|
-
|
|
8075
|
+
title?: string | null | undefined;
|
|
8076
|
+
phoneNumber?: string | null | undefined;
|
|
8062
8077
|
};
|
|
8063
8078
|
roleTitle: string;
|
|
8064
8079
|
}>;
|
|
@@ -8148,21 +8163,21 @@ declare const clinicGroupSchema: z.ZodObject<{
|
|
|
8148
8163
|
contactPerson: z.ZodObject<{
|
|
8149
8164
|
firstName: z.ZodString;
|
|
8150
8165
|
lastName: z.ZodString;
|
|
8151
|
-
title: z.ZodString
|
|
8166
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8152
8167
|
email: z.ZodString;
|
|
8153
|
-
phoneNumber: z.ZodString
|
|
8168
|
+
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8154
8169
|
}, "strip", z.ZodTypeAny, {
|
|
8155
8170
|
email: string;
|
|
8156
|
-
title: string;
|
|
8157
8171
|
firstName: string;
|
|
8158
8172
|
lastName: string;
|
|
8159
|
-
|
|
8173
|
+
title?: string | null | undefined;
|
|
8174
|
+
phoneNumber?: string | null | undefined;
|
|
8160
8175
|
}, {
|
|
8161
8176
|
email: string;
|
|
8162
|
-
title: string;
|
|
8163
8177
|
firstName: string;
|
|
8164
8178
|
lastName: string;
|
|
8165
|
-
|
|
8179
|
+
title?: string | null | undefined;
|
|
8180
|
+
phoneNumber?: string | null | undefined;
|
|
8166
8181
|
}>;
|
|
8167
8182
|
clinics: z.ZodArray<z.ZodString, "many">;
|
|
8168
8183
|
clinicsInfo: z.ZodArray<z.ZodObject<{
|
|
@@ -8292,7 +8307,7 @@ declare const clinicGroupSchema: z.ZodObject<{
|
|
|
8292
8307
|
createdAt: z.ZodUnion<[z.ZodType<Date, z.ZodTypeDef, Date>, z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>]>;
|
|
8293
8308
|
updatedAt: z.ZodUnion<[z.ZodType<Date, z.ZodTypeDef, Date>, z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>]>;
|
|
8294
8309
|
isActive: z.ZodBoolean;
|
|
8295
|
-
logo: z.ZodOptional<z.ZodString
|
|
8310
|
+
logo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8296
8311
|
practiceType: z.ZodOptional<z.ZodNativeEnum<typeof PracticeType>>;
|
|
8297
8312
|
languages: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Language>, "many">>;
|
|
8298
8313
|
subscriptionModel: z.ZodNativeEnum<typeof SubscriptionModel>;
|
|
@@ -8322,10 +8337,10 @@ declare const clinicGroupSchema: z.ZodObject<{
|
|
|
8322
8337
|
};
|
|
8323
8338
|
contactPerson: {
|
|
8324
8339
|
email: string;
|
|
8325
|
-
title: string;
|
|
8326
8340
|
firstName: string;
|
|
8327
8341
|
lastName: string;
|
|
8328
|
-
|
|
8342
|
+
title?: string | null | undefined;
|
|
8343
|
+
phoneNumber?: string | null | undefined;
|
|
8329
8344
|
};
|
|
8330
8345
|
ownerId: string;
|
|
8331
8346
|
subscriptionModel: SubscriptionModel;
|
|
@@ -8365,7 +8380,7 @@ declare const clinicGroupSchema: z.ZodObject<{
|
|
|
8365
8380
|
usedByUserRef?: string | undefined;
|
|
8366
8381
|
}[];
|
|
8367
8382
|
description?: string | null | undefined;
|
|
8368
|
-
logo?: string | undefined;
|
|
8383
|
+
logo?: string | null | undefined;
|
|
8369
8384
|
practiceType?: PracticeType | undefined;
|
|
8370
8385
|
languages?: Language[] | undefined;
|
|
8371
8386
|
calendarSyncEnabled?: boolean | undefined;
|
|
@@ -8394,10 +8409,10 @@ declare const clinicGroupSchema: z.ZodObject<{
|
|
|
8394
8409
|
};
|
|
8395
8410
|
contactPerson: {
|
|
8396
8411
|
email: string;
|
|
8397
|
-
title: string;
|
|
8398
8412
|
firstName: string;
|
|
8399
8413
|
lastName: string;
|
|
8400
|
-
|
|
8414
|
+
title?: string | null | undefined;
|
|
8415
|
+
phoneNumber?: string | null | undefined;
|
|
8401
8416
|
};
|
|
8402
8417
|
ownerId: string;
|
|
8403
8418
|
subscriptionModel: SubscriptionModel;
|
|
@@ -8437,7 +8452,7 @@ declare const clinicGroupSchema: z.ZodObject<{
|
|
|
8437
8452
|
usedByUserRef?: string | undefined;
|
|
8438
8453
|
}[];
|
|
8439
8454
|
description?: string | null | undefined;
|
|
8440
|
-
logo?: string | undefined;
|
|
8455
|
+
logo?: string | null | undefined;
|
|
8441
8456
|
practiceType?: PracticeType | undefined;
|
|
8442
8457
|
languages?: Language[] | undefined;
|
|
8443
8458
|
calendarSyncEnabled?: boolean | undefined;
|
|
@@ -9244,21 +9259,21 @@ declare const createClinicAdminSchema: z.ZodObject<{
|
|
|
9244
9259
|
contactInfo: z.ZodObject<{
|
|
9245
9260
|
firstName: z.ZodString;
|
|
9246
9261
|
lastName: z.ZodString;
|
|
9247
|
-
title: z.ZodString
|
|
9262
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9248
9263
|
email: z.ZodString;
|
|
9249
|
-
phoneNumber: z.ZodString
|
|
9264
|
+
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9250
9265
|
}, "strip", z.ZodTypeAny, {
|
|
9251
9266
|
email: string;
|
|
9252
|
-
title: string;
|
|
9253
9267
|
firstName: string;
|
|
9254
9268
|
lastName: string;
|
|
9255
|
-
|
|
9269
|
+
title?: string | null | undefined;
|
|
9270
|
+
phoneNumber?: string | null | undefined;
|
|
9256
9271
|
}, {
|
|
9257
9272
|
email: string;
|
|
9258
|
-
title: string;
|
|
9259
9273
|
firstName: string;
|
|
9260
9274
|
lastName: string;
|
|
9261
|
-
|
|
9275
|
+
title?: string | null | undefined;
|
|
9276
|
+
phoneNumber?: string | null | undefined;
|
|
9262
9277
|
}>;
|
|
9263
9278
|
roleTitle: z.ZodString;
|
|
9264
9279
|
isActive: z.ZodBoolean;
|
|
@@ -9269,10 +9284,10 @@ declare const createClinicAdminSchema: z.ZodObject<{
|
|
|
9269
9284
|
clinicsManaged: string[];
|
|
9270
9285
|
contactInfo: {
|
|
9271
9286
|
email: string;
|
|
9272
|
-
title: string;
|
|
9273
9287
|
firstName: string;
|
|
9274
9288
|
lastName: string;
|
|
9275
|
-
|
|
9289
|
+
title?: string | null | undefined;
|
|
9290
|
+
phoneNumber?: string | null | undefined;
|
|
9276
9291
|
};
|
|
9277
9292
|
roleTitle: string;
|
|
9278
9293
|
clinicGroupId?: string | undefined;
|
|
@@ -9283,10 +9298,10 @@ declare const createClinicAdminSchema: z.ZodObject<{
|
|
|
9283
9298
|
clinicsManaged: string[];
|
|
9284
9299
|
contactInfo: {
|
|
9285
9300
|
email: string;
|
|
9286
|
-
title: string;
|
|
9287
9301
|
firstName: string;
|
|
9288
9302
|
lastName: string;
|
|
9289
|
-
|
|
9303
|
+
title?: string | null | undefined;
|
|
9304
|
+
phoneNumber?: string | null | undefined;
|
|
9290
9305
|
};
|
|
9291
9306
|
roleTitle: string;
|
|
9292
9307
|
clinicGroupId?: string | undefined;
|
|
@@ -9341,25 +9356,25 @@ declare const createClinicGroupSchema: z.ZodObject<{
|
|
|
9341
9356
|
contactPerson: z.ZodObject<{
|
|
9342
9357
|
firstName: z.ZodString;
|
|
9343
9358
|
lastName: z.ZodString;
|
|
9344
|
-
title: z.ZodString
|
|
9359
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9345
9360
|
email: z.ZodString;
|
|
9346
|
-
phoneNumber: z.ZodString
|
|
9361
|
+
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9347
9362
|
}, "strip", z.ZodTypeAny, {
|
|
9348
9363
|
email: string;
|
|
9349
|
-
title: string;
|
|
9350
9364
|
firstName: string;
|
|
9351
9365
|
lastName: string;
|
|
9352
|
-
|
|
9366
|
+
title?: string | null | undefined;
|
|
9367
|
+
phoneNumber?: string | null | undefined;
|
|
9353
9368
|
}, {
|
|
9354
9369
|
email: string;
|
|
9355
|
-
title: string;
|
|
9356
9370
|
firstName: string;
|
|
9357
9371
|
lastName: string;
|
|
9358
|
-
|
|
9372
|
+
title?: string | null | undefined;
|
|
9373
|
+
phoneNumber?: string | null | undefined;
|
|
9359
9374
|
}>;
|
|
9360
9375
|
ownerId: z.ZodString;
|
|
9361
9376
|
isActive: z.ZodBoolean;
|
|
9362
|
-
logo: z.ZodOptional<z.ZodString
|
|
9377
|
+
logo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9363
9378
|
practiceType: z.ZodOptional<z.ZodNativeEnum<typeof PracticeType>>;
|
|
9364
9379
|
languages: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Language>, "many">>;
|
|
9365
9380
|
subscriptionModel: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof SubscriptionModel>>>;
|
|
@@ -9385,15 +9400,15 @@ declare const createClinicGroupSchema: z.ZodObject<{
|
|
|
9385
9400
|
};
|
|
9386
9401
|
contactPerson: {
|
|
9387
9402
|
email: string;
|
|
9388
|
-
title: string;
|
|
9389
9403
|
firstName: string;
|
|
9390
9404
|
lastName: string;
|
|
9391
|
-
|
|
9405
|
+
title?: string | null | undefined;
|
|
9406
|
+
phoneNumber?: string | null | undefined;
|
|
9392
9407
|
};
|
|
9393
9408
|
ownerId: string;
|
|
9394
9409
|
subscriptionModel: SubscriptionModel;
|
|
9395
9410
|
description?: string | undefined;
|
|
9396
|
-
logo?: string | undefined;
|
|
9411
|
+
logo?: string | null | undefined;
|
|
9397
9412
|
practiceType?: PracticeType | undefined;
|
|
9398
9413
|
languages?: Language[] | undefined;
|
|
9399
9414
|
calendarSyncEnabled?: boolean | undefined;
|
|
@@ -9418,14 +9433,14 @@ declare const createClinicGroupSchema: z.ZodObject<{
|
|
|
9418
9433
|
};
|
|
9419
9434
|
contactPerson: {
|
|
9420
9435
|
email: string;
|
|
9421
|
-
title: string;
|
|
9422
9436
|
firstName: string;
|
|
9423
9437
|
lastName: string;
|
|
9424
|
-
|
|
9438
|
+
title?: string | null | undefined;
|
|
9439
|
+
phoneNumber?: string | null | undefined;
|
|
9425
9440
|
};
|
|
9426
9441
|
ownerId: string;
|
|
9427
9442
|
description?: string | undefined;
|
|
9428
|
-
logo?: string | undefined;
|
|
9443
|
+
logo?: string | null | undefined;
|
|
9429
9444
|
practiceType?: PracticeType | undefined;
|
|
9430
9445
|
languages?: Language[] | undefined;
|
|
9431
9446
|
subscriptionModel?: SubscriptionModel | undefined;
|
|
@@ -10001,21 +10016,21 @@ declare const createDefaultClinicGroupSchema: z.ZodObject<{
|
|
|
10001
10016
|
contactPerson: z.ZodObject<{
|
|
10002
10017
|
firstName: z.ZodString;
|
|
10003
10018
|
lastName: z.ZodString;
|
|
10004
|
-
title: z.ZodString
|
|
10019
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10005
10020
|
email: z.ZodString;
|
|
10006
|
-
phoneNumber: z.ZodString
|
|
10021
|
+
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10007
10022
|
}, "strip", z.ZodTypeAny, {
|
|
10008
10023
|
email: string;
|
|
10009
|
-
title: string;
|
|
10010
10024
|
firstName: string;
|
|
10011
10025
|
lastName: string;
|
|
10012
|
-
|
|
10026
|
+
title?: string | null | undefined;
|
|
10027
|
+
phoneNumber?: string | null | undefined;
|
|
10013
10028
|
}, {
|
|
10014
10029
|
email: string;
|
|
10015
|
-
title: string;
|
|
10016
10030
|
firstName: string;
|
|
10017
10031
|
lastName: string;
|
|
10018
|
-
|
|
10032
|
+
title?: string | null | undefined;
|
|
10033
|
+
phoneNumber?: string | null | undefined;
|
|
10019
10034
|
}>;
|
|
10020
10035
|
contactInfo: z.ZodObject<{
|
|
10021
10036
|
email: z.ZodString;
|
|
@@ -10059,7 +10074,7 @@ declare const createDefaultClinicGroupSchema: z.ZodObject<{
|
|
|
10059
10074
|
geohash?: string | null | undefined;
|
|
10060
10075
|
}>;
|
|
10061
10076
|
isActive: z.ZodBoolean;
|
|
10062
|
-
logo: z.ZodOptional<z.ZodString
|
|
10077
|
+
logo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
10063
10078
|
practiceType: z.ZodOptional<z.ZodNativeEnum<typeof PracticeType>>;
|
|
10064
10079
|
languages: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Language>, "many">>;
|
|
10065
10080
|
subscriptionModel: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof SubscriptionModel>>>;
|
|
@@ -10083,14 +10098,14 @@ declare const createDefaultClinicGroupSchema: z.ZodObject<{
|
|
|
10083
10098
|
};
|
|
10084
10099
|
contactPerson: {
|
|
10085
10100
|
email: string;
|
|
10086
|
-
title: string;
|
|
10087
10101
|
firstName: string;
|
|
10088
10102
|
lastName: string;
|
|
10089
|
-
|
|
10103
|
+
title?: string | null | undefined;
|
|
10104
|
+
phoneNumber?: string | null | undefined;
|
|
10090
10105
|
};
|
|
10091
10106
|
ownerId: string;
|
|
10092
10107
|
subscriptionModel: SubscriptionModel;
|
|
10093
|
-
logo?: string | undefined;
|
|
10108
|
+
logo?: string | null | undefined;
|
|
10094
10109
|
practiceType?: PracticeType | undefined;
|
|
10095
10110
|
languages?: Language[] | undefined;
|
|
10096
10111
|
}, {
|
|
@@ -10113,13 +10128,13 @@ declare const createDefaultClinicGroupSchema: z.ZodObject<{
|
|
|
10113
10128
|
};
|
|
10114
10129
|
contactPerson: {
|
|
10115
10130
|
email: string;
|
|
10116
|
-
title: string;
|
|
10117
10131
|
firstName: string;
|
|
10118
10132
|
lastName: string;
|
|
10119
|
-
|
|
10133
|
+
title?: string | null | undefined;
|
|
10134
|
+
phoneNumber?: string | null | undefined;
|
|
10120
10135
|
};
|
|
10121
10136
|
ownerId: string;
|
|
10122
|
-
logo?: string | undefined;
|
|
10137
|
+
logo?: string | null | undefined;
|
|
10123
10138
|
practiceType?: PracticeType | undefined;
|
|
10124
10139
|
languages?: Language[] | undefined;
|
|
10125
10140
|
subscriptionModel?: SubscriptionModel | undefined;
|
|
@@ -10857,21 +10872,21 @@ declare const updateClinicAdminSchema: z.ZodObject<{
|
|
|
10857
10872
|
contactInfo: z.ZodOptional<z.ZodObject<{
|
|
10858
10873
|
firstName: z.ZodString;
|
|
10859
10874
|
lastName: z.ZodString;
|
|
10860
|
-
title: z.ZodString
|
|
10875
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10861
10876
|
email: z.ZodString;
|
|
10862
|
-
phoneNumber: z.ZodString
|
|
10877
|
+
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10863
10878
|
}, "strip", z.ZodTypeAny, {
|
|
10864
10879
|
email: string;
|
|
10865
|
-
title: string;
|
|
10866
10880
|
firstName: string;
|
|
10867
10881
|
lastName: string;
|
|
10868
|
-
|
|
10882
|
+
title?: string | null | undefined;
|
|
10883
|
+
phoneNumber?: string | null | undefined;
|
|
10869
10884
|
}, {
|
|
10870
10885
|
email: string;
|
|
10871
|
-
title: string;
|
|
10872
10886
|
firstName: string;
|
|
10873
10887
|
lastName: string;
|
|
10874
|
-
|
|
10888
|
+
title?: string | null | undefined;
|
|
10889
|
+
phoneNumber?: string | null | undefined;
|
|
10875
10890
|
}>>;
|
|
10876
10891
|
roleTitle: z.ZodOptional<z.ZodString>;
|
|
10877
10892
|
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -10883,10 +10898,10 @@ declare const updateClinicAdminSchema: z.ZodObject<{
|
|
|
10883
10898
|
clinicsManaged?: string[] | undefined;
|
|
10884
10899
|
contactInfo?: {
|
|
10885
10900
|
email: string;
|
|
10886
|
-
title: string;
|
|
10887
10901
|
firstName: string;
|
|
10888
10902
|
lastName: string;
|
|
10889
|
-
|
|
10903
|
+
title?: string | null | undefined;
|
|
10904
|
+
phoneNumber?: string | null | undefined;
|
|
10890
10905
|
} | undefined;
|
|
10891
10906
|
roleTitle?: string | undefined;
|
|
10892
10907
|
}, {
|
|
@@ -10897,10 +10912,10 @@ declare const updateClinicAdminSchema: z.ZodObject<{
|
|
|
10897
10912
|
clinicsManaged?: string[] | undefined;
|
|
10898
10913
|
contactInfo?: {
|
|
10899
10914
|
email: string;
|
|
10900
|
-
title: string;
|
|
10901
10915
|
firstName: string;
|
|
10902
10916
|
lastName: string;
|
|
10903
|
-
|
|
10917
|
+
title?: string | null | undefined;
|
|
10918
|
+
phoneNumber?: string | null | undefined;
|
|
10904
10919
|
} | undefined;
|
|
10905
10920
|
roleTitle?: string | undefined;
|
|
10906
10921
|
}>;
|
|
@@ -10954,25 +10969,25 @@ declare const updateClinicGroupSchema: z.ZodObject<{
|
|
|
10954
10969
|
contactPerson: z.ZodOptional<z.ZodObject<{
|
|
10955
10970
|
firstName: z.ZodString;
|
|
10956
10971
|
lastName: z.ZodString;
|
|
10957
|
-
title: z.ZodString
|
|
10972
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10958
10973
|
email: z.ZodString;
|
|
10959
|
-
phoneNumber: z.ZodString
|
|
10974
|
+
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10960
10975
|
}, "strip", z.ZodTypeAny, {
|
|
10961
10976
|
email: string;
|
|
10962
|
-
title: string;
|
|
10963
10977
|
firstName: string;
|
|
10964
10978
|
lastName: string;
|
|
10965
|
-
|
|
10979
|
+
title?: string | null | undefined;
|
|
10980
|
+
phoneNumber?: string | null | undefined;
|
|
10966
10981
|
}, {
|
|
10967
10982
|
email: string;
|
|
10968
|
-
title: string;
|
|
10969
10983
|
firstName: string;
|
|
10970
10984
|
lastName: string;
|
|
10971
|
-
|
|
10985
|
+
title?: string | null | undefined;
|
|
10986
|
+
phoneNumber?: string | null | undefined;
|
|
10972
10987
|
}>>;
|
|
10973
10988
|
ownerId: z.ZodOptional<z.ZodString>;
|
|
10974
10989
|
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
10975
|
-
logo: z.ZodOptional<z.ZodOptional<z.ZodString
|
|
10990
|
+
logo: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
10976
10991
|
practiceType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof PracticeType>>>;
|
|
10977
10992
|
languages: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Language>, "many">>>;
|
|
10978
10993
|
subscriptionModel: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof SubscriptionModel>>>>;
|
|
@@ -10999,13 +11014,13 @@ declare const updateClinicGroupSchema: z.ZodObject<{
|
|
|
10999
11014
|
} | undefined;
|
|
11000
11015
|
contactPerson?: {
|
|
11001
11016
|
email: string;
|
|
11002
|
-
title: string;
|
|
11003
11017
|
firstName: string;
|
|
11004
11018
|
lastName: string;
|
|
11005
|
-
|
|
11019
|
+
title?: string | null | undefined;
|
|
11020
|
+
phoneNumber?: string | null | undefined;
|
|
11006
11021
|
} | undefined;
|
|
11007
11022
|
ownerId?: string | undefined;
|
|
11008
|
-
logo?: string | undefined;
|
|
11023
|
+
logo?: string | null | undefined;
|
|
11009
11024
|
practiceType?: PracticeType | undefined;
|
|
11010
11025
|
languages?: Language[] | undefined;
|
|
11011
11026
|
subscriptionModel?: SubscriptionModel | undefined;
|
|
@@ -11032,13 +11047,13 @@ declare const updateClinicGroupSchema: z.ZodObject<{
|
|
|
11032
11047
|
} | undefined;
|
|
11033
11048
|
contactPerson?: {
|
|
11034
11049
|
email: string;
|
|
11035
|
-
title: string;
|
|
11036
11050
|
firstName: string;
|
|
11037
11051
|
lastName: string;
|
|
11038
|
-
|
|
11052
|
+
title?: string | null | undefined;
|
|
11053
|
+
phoneNumber?: string | null | undefined;
|
|
11039
11054
|
} | undefined;
|
|
11040
11055
|
ownerId?: string | undefined;
|
|
11041
|
-
logo?: string | undefined;
|
|
11056
|
+
logo?: string | null | undefined;
|
|
11042
11057
|
practiceType?: PracticeType | undefined;
|
|
11043
11058
|
languages?: Language[] | undefined;
|
|
11044
11059
|
subscriptionModel?: SubscriptionModel | undefined;
|
|
@@ -11870,4 +11885,4 @@ interface Technology {
|
|
|
11870
11885
|
updatedAt: Date;
|
|
11871
11886
|
}
|
|
11872
11887
|
|
|
11873
|
-
export { AUTH_ERRORS, type AddAllergyData, type AddBlockingConditionData, type AddContraindicationData, type AddMedicationData, type AddressData, type Allergy, type AllergySubtype, AllergyType, type AllergyTypeWithSubtype, type AppointmentNotification, type AppointmentReminderNotification, AuthError, AuthService, type BaseNotification, BlockingCondition, type Brand, CLINICS_COLLECTION, CLINIC_ADMINS_COLLECTION, CLINIC_GROUPS_COLLECTION, type Category, CertificationLevel, CertificationSpecialty, type Clinic, type ClinicAdmin, ClinicAdminService, type ClinicContactInfo, type ClinicGroup, ClinicGroupService, type ClinicLocation, type ClinicReview, ClinicService, type ClinicTags, Contraindication, CosmeticAllergySubtype, type CreateClinicAdminData, type CreateClinicData, type CreateClinicGroupData, type CreateDocumentTemplateData, type CreatePatientLocationInfoData, type CreatePatientMedicalInfoData, type CreatePatientProfileData, type CreatePatientSensitiveInfoData, type CreatePractitionerData, type CreateUserData, Currency, DOCUMENTATION_TEMPLATES_COLLECTION, type DocumentElement, DocumentElementType, type DocumentTemplate, DocumentationTemplateService, DynamicVariable, type EmergencyContact, EnvironmentalAllergySubtype, FILLED_DOCUMENTS_COLLECTION, type FilledDocument, FilledDocumentService, FilledDocumentStatus, FirebaseErrorCode, type FirebaseUser, FoodAllergySubtype, type GamificationInfo, Gender, HeadingLevel, ListType, type LocationData, MedicationAllergySubtype, type Notification, NotificationService, NotificationStatus, NotificationType, PATIENTS_COLLECTION, PATIENT_APPOINTMENTS_COLLECTION, PATIENT_LOCATION_INFO_COLLECTION, PATIENT_MEDICAL_HISTORY_COLLECTION, PATIENT_MEDICAL_INFO_COLLECTION, PATIENT_SENSITIVE_INFO_COLLECTION, PRACTITIONERS_COLLECTION, type PatientClinic, type PatientDoctor, type PatientLocationInfo, type PatientMedicalInfo, type PatientProfile, type PatientProfileComplete, type PatientSensitiveInfo, PatientService, type PostRequirementNotification, type Practitioner, type PractitionerBasicInfo, type PractitionerCertification, type PractitionerClinicProcedures, type PractitionerReview, PractitionerService, type PractitionerWorkingHours, type PreRequirementNotification, PricingMeasure, ProcedureFamily, type Product, type Requirement, type Subcategory, type Technology, TreatmentBenefit, USER_ERRORS, type UpdateAllergyData, type UpdateBlockingConditionData, type UpdateClinicAdminData, type UpdateClinicData, type UpdateClinicGroupData, type UpdateContraindicationData, type UpdateDocumentTemplateData, type UpdateMedicationData, type UpdatePatientLocationInfoData, type UpdatePatientMedicalInfoData, type UpdatePatientProfileData, type UpdatePatientSensitiveInfoData, type UpdatePractitionerData, type UpdateVitalStatsData, type User, UserRole, UserService, type ValidationSchema, type VitalStats, type WorkingHours, addAllergySchema, addBlockingConditionSchema, addContraindicationSchema, addMedicationSchema, addressDataSchema, adminInfoSchema, adminTokenSchema, allergySchema, allergySubtypeSchema, appointmentNotificationSchema, appointmentReminderNotificationSchema, baseNotificationSchema, blockingConditionSchema, clinicAdminOptionsSchema, clinicAdminSchema, clinicAdminSignupSchema, clinicBranchSetupSchema, clinicContactInfoSchema, clinicGroupSchema, clinicGroupSetupSchema, clinicInfoSchema, clinicLocationSchema, clinicReviewSchema, clinicSchema, clinicTagsSchema, contactPersonSchema, contraindicationSchema, createAdminTokenSchema, createClinicAdminSchema, createClinicGroupSchema, createClinicSchema, createDefaultClinicGroupSchema, createDocumentTemplateSchema, createPatientLocationInfoSchema, createPatientMedicalInfoSchema, createPatientProfileSchema, createPatientSensitiveInfoSchema, createPractitionerSchema, createUserOptionsSchema, doctorInfoSchema, documentElementSchema, documentElementWithoutIdSchema, documentTemplateSchema, emailSchema, emergencyContactSchema, gamificationSchema, getFirebaseApp, getFirebaseAuth, getFirebaseDB, getFirebaseInstance, initializeFirebase, locationDataSchema, medicationSchema, notificationSchema, passwordSchema, patientClinicSchema, patientDoctorSchema, patientLocationInfoSchema, patientMedicalInfoSchema, patientProfileSchema, patientSensitiveInfoSchema, postRequirementNotificationSchema, practitionerBasicInfoSchema, practitionerCertificationSchema, practitionerClinicProceduresSchema, practitionerReviewSchema, practitionerSchema, practitionerWorkingHoursSchema, preRequirementNotificationSchema, reviewInfoSchema, serviceInfoSchema, timestampSchema, updateAllergySchema, updateBlockingConditionSchema, updateClinicAdminSchema, updateClinicGroupSchema, updateClinicSchema, updateContraindicationSchema, updateDocumentTemplateSchema, updateMedicationSchema, updatePatientMedicalInfoSchema, updateVitalStatsSchema, userRoleSchema, userRolesSchema, userSchema, vitalStatsSchema, workingHoursSchema };
|
|
11888
|
+
export { AUTH_ERRORS, type AddAllergyData, type AddBlockingConditionData, type AddContraindicationData, type AddMedicationData, type AddressData, type AdminInfo, type AdminToken, AdminTokenStatus, type Allergy, type AllergySubtype, AllergyType, type AllergyTypeWithSubtype, type AppointmentNotification, type AppointmentReminderNotification, AuthError, AuthService, type BaseNotification, BlockingCondition, type Brand, CLINICS_COLLECTION, CLINIC_ADMINS_COLLECTION, CLINIC_GROUPS_COLLECTION, type Category, CertificationLevel, CertificationSpecialty, type Clinic, type ClinicAdmin, ClinicAdminService, type ClinicAdminSignupData, type ClinicBranchSetupData, type ClinicContactInfo, type ClinicGroup, ClinicGroupService, type ClinicGroupSetupData, type ClinicInfo, type ClinicLocation, type ClinicReview, ClinicService, ClinicTag, type ClinicTags, type ContactPerson, Contraindication, CosmeticAllergySubtype, type CreateAdminTokenData, type CreateClinicAdminData, type CreateClinicData, type CreateClinicGroupData, type CreateDefaultClinicGroupData, type CreateDocumentTemplateData, type CreatePatientLocationInfoData, type CreatePatientMedicalInfoData, type CreatePatientProfileData, type CreatePatientSensitiveInfoData, type CreatePractitionerData, type CreateUserData, Currency, DOCUMENTATION_TEMPLATES_COLLECTION, type DoctorInfo, type DocumentElement, DocumentElementType, type DocumentTemplate, DocumentationTemplateService, DynamicVariable, type EmergencyContact, EnvironmentalAllergySubtype, FILLED_DOCUMENTS_COLLECTION, type FilledDocument, FilledDocumentService, FilledDocumentStatus, FirebaseErrorCode, type FirebaseUser, FoodAllergySubtype, type GamificationInfo, Gender, HeadingLevel, Language, ListType, type LocationData, MedicationAllergySubtype, type Notification, NotificationService, NotificationStatus, NotificationType, PATIENTS_COLLECTION, PATIENT_APPOINTMENTS_COLLECTION, PATIENT_LOCATION_INFO_COLLECTION, PATIENT_MEDICAL_HISTORY_COLLECTION, PATIENT_MEDICAL_INFO_COLLECTION, PATIENT_SENSITIVE_INFO_COLLECTION, PRACTITIONERS_COLLECTION, type PatientClinic, type PatientDoctor, type PatientLocationInfo, type PatientMedicalInfo, type PatientProfile, type PatientProfileComplete, type PatientSensitiveInfo, PatientService, type PostRequirementNotification, PracticeType, type Practitioner, type PractitionerBasicInfo, type PractitionerCertification, type PractitionerClinicProcedures, type PractitionerReview, PractitionerService, type PractitionerWorkingHours, type PreRequirementNotification, PricingMeasure, ProcedureFamily, type Product, type Requirement, type ReviewInfo, type ServiceInfo, type Subcategory, SubscriptionModel, type Technology, TreatmentBenefit, USER_ERRORS, type UpdateAllergyData, type UpdateBlockingConditionData, type UpdateClinicAdminData, type UpdateClinicData, type UpdateClinicGroupData, type UpdateContraindicationData, type UpdateDocumentTemplateData, type UpdateMedicationData, type UpdatePatientLocationInfoData, type UpdatePatientMedicalInfoData, type UpdatePatientProfileData, type UpdatePatientSensitiveInfoData, type UpdatePractitionerData, type UpdateVitalStatsData, type User, UserRole, UserService, type ValidationSchema, type VitalStats, type WorkingHours, addAllergySchema, addBlockingConditionSchema, addContraindicationSchema, addMedicationSchema, addressDataSchema, adminInfoSchema, adminTokenSchema, allergySchema, allergySubtypeSchema, appointmentNotificationSchema, appointmentReminderNotificationSchema, baseNotificationSchema, blockingConditionSchema, clinicAdminOptionsSchema, clinicAdminSchema, clinicAdminSignupSchema, clinicBranchSetupSchema, clinicContactInfoSchema, clinicGroupSchema, clinicGroupSetupSchema, clinicInfoSchema, clinicLocationSchema, clinicReviewSchema, clinicSchema, clinicTagsSchema, contactPersonSchema, contraindicationSchema, createAdminTokenSchema, createClinicAdminSchema, createClinicGroupSchema, createClinicSchema, createDefaultClinicGroupSchema, createDocumentTemplateSchema, createPatientLocationInfoSchema, createPatientMedicalInfoSchema, createPatientProfileSchema, createPatientSensitiveInfoSchema, createPractitionerSchema, createUserOptionsSchema, doctorInfoSchema, documentElementSchema, documentElementWithoutIdSchema, documentTemplateSchema, emailSchema, emergencyContactSchema, gamificationSchema, getFirebaseApp, getFirebaseAuth, getFirebaseDB, getFirebaseInstance, initializeFirebase, locationDataSchema, medicationSchema, notificationSchema, passwordSchema, patientClinicSchema, patientDoctorSchema, patientLocationInfoSchema, patientMedicalInfoSchema, patientProfileSchema, patientSensitiveInfoSchema, postRequirementNotificationSchema, practitionerBasicInfoSchema, practitionerCertificationSchema, practitionerClinicProceduresSchema, practitionerReviewSchema, practitionerSchema, practitionerWorkingHoursSchema, preRequirementNotificationSchema, reviewInfoSchema, serviceInfoSchema, timestampSchema, updateAllergySchema, updateBlockingConditionSchema, updateClinicAdminSchema, updateClinicGroupSchema, updateClinicSchema, updateContraindicationSchema, updateDocumentTemplateSchema, updateMedicationSchema, updatePatientMedicalInfoSchema, updateVitalStatsSchema, userRoleSchema, userRolesSchema, userSchema, vitalStatsSchema, workingHoursSchema };
|
package/dist/index.js
CHANGED
|
@@ -21,6 +21,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
21
21
|
var index_exports = {};
|
|
22
22
|
__export(index_exports, {
|
|
23
23
|
AUTH_ERRORS: () => AUTH_ERRORS,
|
|
24
|
+
AdminTokenStatus: () => AdminTokenStatus,
|
|
24
25
|
AllergyType: () => AllergyType,
|
|
25
26
|
AuthService: () => AuthService,
|
|
26
27
|
BlockingCondition: () => BlockingCondition,
|
|
@@ -32,6 +33,7 @@ __export(index_exports, {
|
|
|
32
33
|
ClinicAdminService: () => ClinicAdminService,
|
|
33
34
|
ClinicGroupService: () => ClinicGroupService,
|
|
34
35
|
ClinicService: () => ClinicService,
|
|
36
|
+
ClinicTag: () => ClinicTag,
|
|
35
37
|
Contraindication: () => Contraindication,
|
|
36
38
|
CosmeticAllergySubtype: () => CosmeticAllergySubtype,
|
|
37
39
|
Currency: () => Currency,
|
|
@@ -47,6 +49,7 @@ __export(index_exports, {
|
|
|
47
49
|
FoodAllergySubtype: () => FoodAllergySubtype,
|
|
48
50
|
Gender: () => Gender,
|
|
49
51
|
HeadingLevel: () => HeadingLevel,
|
|
52
|
+
Language: () => Language,
|
|
50
53
|
ListType: () => ListType,
|
|
51
54
|
MedicationAllergySubtype: () => MedicationAllergySubtype,
|
|
52
55
|
NotificationService: () => NotificationService,
|
|
@@ -60,9 +63,11 @@ __export(index_exports, {
|
|
|
60
63
|
PATIENT_SENSITIVE_INFO_COLLECTION: () => PATIENT_SENSITIVE_INFO_COLLECTION,
|
|
61
64
|
PRACTITIONERS_COLLECTION: () => PRACTITIONERS_COLLECTION,
|
|
62
65
|
PatientService: () => PatientService,
|
|
66
|
+
PracticeType: () => PracticeType,
|
|
63
67
|
PractitionerService: () => PractitionerService,
|
|
64
68
|
PricingMeasure: () => PricingMeasure,
|
|
65
69
|
ProcedureFamily: () => ProcedureFamily,
|
|
70
|
+
SubscriptionModel: () => SubscriptionModel,
|
|
66
71
|
TreatmentBenefit: () => TreatmentBenefit,
|
|
67
72
|
USER_ERRORS: () => USER_ERRORS,
|
|
68
73
|
UserService: () => UserService,
|
|
@@ -2350,9 +2355,9 @@ var clinicTagsSchema = import_zod9.z.object({
|
|
|
2350
2355
|
var contactPersonSchema = import_zod9.z.object({
|
|
2351
2356
|
firstName: import_zod9.z.string(),
|
|
2352
2357
|
lastName: import_zod9.z.string(),
|
|
2353
|
-
title: import_zod9.z.string(),
|
|
2358
|
+
title: import_zod9.z.string().nullable().optional(),
|
|
2354
2359
|
email: import_zod9.z.string().email(),
|
|
2355
|
-
phoneNumber: import_zod9.z.string()
|
|
2360
|
+
phoneNumber: import_zod9.z.string().nullable().optional()
|
|
2356
2361
|
});
|
|
2357
2362
|
var adminInfoSchema = import_zod9.z.object({
|
|
2358
2363
|
id: import_zod9.z.string(),
|
|
@@ -2448,7 +2453,7 @@ var clinicGroupSchema = import_zod9.z.object({
|
|
|
2448
2453
|
updatedAt: import_zod9.z.instanceof(Date).or(import_zod9.z.instanceof(import_firestore10.Timestamp)),
|
|
2449
2454
|
// Timestamp
|
|
2450
2455
|
isActive: import_zod9.z.boolean(),
|
|
2451
|
-
logo: import_zod9.z.string().optional(),
|
|
2456
|
+
logo: import_zod9.z.string().optional().nullable(),
|
|
2452
2457
|
practiceType: import_zod9.z.nativeEnum(PracticeType).optional(),
|
|
2453
2458
|
languages: import_zod9.z.array(import_zod9.z.nativeEnum(Language)).optional(),
|
|
2454
2459
|
subscriptionModel: import_zod9.z.nativeEnum(SubscriptionModel),
|
|
@@ -2520,7 +2525,7 @@ var createClinicGroupSchema = import_zod9.z.object({
|
|
|
2520
2525
|
contactPerson: contactPersonSchema,
|
|
2521
2526
|
ownerId: import_zod9.z.string(),
|
|
2522
2527
|
isActive: import_zod9.z.boolean(),
|
|
2523
|
-
logo: import_zod9.z.string().optional(),
|
|
2528
|
+
logo: import_zod9.z.string().optional().nullable(),
|
|
2524
2529
|
practiceType: import_zod9.z.nativeEnum(PracticeType).optional(),
|
|
2525
2530
|
languages: import_zod9.z.array(import_zod9.z.nativeEnum(Language)).optional(),
|
|
2526
2531
|
subscriptionModel: import_zod9.z.nativeEnum(SubscriptionModel).optional().default("no_subscription" /* NO_SUBSCRIPTION */),
|
|
@@ -2557,7 +2562,7 @@ var createDefaultClinicGroupSchema = import_zod9.z.object({
|
|
|
2557
2562
|
contactInfo: clinicContactInfoSchema,
|
|
2558
2563
|
hqLocation: clinicLocationSchema,
|
|
2559
2564
|
isActive: import_zod9.z.boolean(),
|
|
2560
|
-
logo: import_zod9.z.string().optional(),
|
|
2565
|
+
logo: import_zod9.z.string().optional().nullable(),
|
|
2561
2566
|
practiceType: import_zod9.z.nativeEnum(PracticeType).optional(),
|
|
2562
2567
|
languages: import_zod9.z.array(import_zod9.z.nativeEnum(Language)).optional(),
|
|
2563
2568
|
subscriptionModel: import_zod9.z.nativeEnum(SubscriptionModel).optional().default("no_subscription" /* NO_SUBSCRIPTION */)
|
|
@@ -4523,7 +4528,7 @@ var AuthService = class extends BaseService {
|
|
|
4523
4528
|
contactPerson,
|
|
4524
4529
|
ownerId: firebaseUser.uid,
|
|
4525
4530
|
isActive: true,
|
|
4526
|
-
logo: data.clinicGroupData.logo,
|
|
4531
|
+
logo: data.clinicGroupData.logo || null,
|
|
4527
4532
|
subscriptionModel: data.clinicGroupData.subscriptionModel || "no_subscription" /* NO_SUBSCRIPTION */
|
|
4528
4533
|
};
|
|
4529
4534
|
await clinicGroupService.createClinicGroup(
|
|
@@ -5501,6 +5506,7 @@ var notificationSchema = import_zod16.z.discriminatedUnion("notificationType", [
|
|
|
5501
5506
|
// Annotate the CommonJS export names for ESM import in node:
|
|
5502
5507
|
0 && (module.exports = {
|
|
5503
5508
|
AUTH_ERRORS,
|
|
5509
|
+
AdminTokenStatus,
|
|
5504
5510
|
AllergyType,
|
|
5505
5511
|
AuthService,
|
|
5506
5512
|
BlockingCondition,
|
|
@@ -5512,6 +5518,7 @@ var notificationSchema = import_zod16.z.discriminatedUnion("notificationType", [
|
|
|
5512
5518
|
ClinicAdminService,
|
|
5513
5519
|
ClinicGroupService,
|
|
5514
5520
|
ClinicService,
|
|
5521
|
+
ClinicTag,
|
|
5515
5522
|
Contraindication,
|
|
5516
5523
|
CosmeticAllergySubtype,
|
|
5517
5524
|
Currency,
|
|
@@ -5527,6 +5534,7 @@ var notificationSchema = import_zod16.z.discriminatedUnion("notificationType", [
|
|
|
5527
5534
|
FoodAllergySubtype,
|
|
5528
5535
|
Gender,
|
|
5529
5536
|
HeadingLevel,
|
|
5537
|
+
Language,
|
|
5530
5538
|
ListType,
|
|
5531
5539
|
MedicationAllergySubtype,
|
|
5532
5540
|
NotificationService,
|
|
@@ -5540,9 +5548,11 @@ var notificationSchema = import_zod16.z.discriminatedUnion("notificationType", [
|
|
|
5540
5548
|
PATIENT_SENSITIVE_INFO_COLLECTION,
|
|
5541
5549
|
PRACTITIONERS_COLLECTION,
|
|
5542
5550
|
PatientService,
|
|
5551
|
+
PracticeType,
|
|
5543
5552
|
PractitionerService,
|
|
5544
5553
|
PricingMeasure,
|
|
5545
5554
|
ProcedureFamily,
|
|
5555
|
+
SubscriptionModel,
|
|
5546
5556
|
TreatmentBenefit,
|
|
5547
5557
|
USER_ERRORS,
|
|
5548
5558
|
UserService,
|