@blackcode_sa/metaestetics-api 1.4.5 → 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 +92 -92
- package/dist/index.d.ts +92 -92
- package/dist/index.js +6 -6
- package/dist/index.mjs +6 -6
- package/package.json +1 -1
- 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.mts
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;
|
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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;
|
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;
|
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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;
|
package/dist/index.js
CHANGED
|
@@ -2355,9 +2355,9 @@ var clinicTagsSchema = import_zod9.z.object({
|
|
|
2355
2355
|
var contactPersonSchema = import_zod9.z.object({
|
|
2356
2356
|
firstName: import_zod9.z.string(),
|
|
2357
2357
|
lastName: import_zod9.z.string(),
|
|
2358
|
-
title: import_zod9.z.string(),
|
|
2358
|
+
title: import_zod9.z.string().nullable().optional(),
|
|
2359
2359
|
email: import_zod9.z.string().email(),
|
|
2360
|
-
phoneNumber: import_zod9.z.string()
|
|
2360
|
+
phoneNumber: import_zod9.z.string().nullable().optional()
|
|
2361
2361
|
});
|
|
2362
2362
|
var adminInfoSchema = import_zod9.z.object({
|
|
2363
2363
|
id: import_zod9.z.string(),
|
|
@@ -2453,7 +2453,7 @@ var clinicGroupSchema = import_zod9.z.object({
|
|
|
2453
2453
|
updatedAt: import_zod9.z.instanceof(Date).or(import_zod9.z.instanceof(import_firestore10.Timestamp)),
|
|
2454
2454
|
// Timestamp
|
|
2455
2455
|
isActive: import_zod9.z.boolean(),
|
|
2456
|
-
logo: import_zod9.z.string().optional(),
|
|
2456
|
+
logo: import_zod9.z.string().optional().nullable(),
|
|
2457
2457
|
practiceType: import_zod9.z.nativeEnum(PracticeType).optional(),
|
|
2458
2458
|
languages: import_zod9.z.array(import_zod9.z.nativeEnum(Language)).optional(),
|
|
2459
2459
|
subscriptionModel: import_zod9.z.nativeEnum(SubscriptionModel),
|
|
@@ -2525,7 +2525,7 @@ var createClinicGroupSchema = import_zod9.z.object({
|
|
|
2525
2525
|
contactPerson: contactPersonSchema,
|
|
2526
2526
|
ownerId: import_zod9.z.string(),
|
|
2527
2527
|
isActive: import_zod9.z.boolean(),
|
|
2528
|
-
logo: import_zod9.z.string().optional(),
|
|
2528
|
+
logo: import_zod9.z.string().optional().nullable(),
|
|
2529
2529
|
practiceType: import_zod9.z.nativeEnum(PracticeType).optional(),
|
|
2530
2530
|
languages: import_zod9.z.array(import_zod9.z.nativeEnum(Language)).optional(),
|
|
2531
2531
|
subscriptionModel: import_zod9.z.nativeEnum(SubscriptionModel).optional().default("no_subscription" /* NO_SUBSCRIPTION */),
|
|
@@ -2562,7 +2562,7 @@ var createDefaultClinicGroupSchema = import_zod9.z.object({
|
|
|
2562
2562
|
contactInfo: clinicContactInfoSchema,
|
|
2563
2563
|
hqLocation: clinicLocationSchema,
|
|
2564
2564
|
isActive: import_zod9.z.boolean(),
|
|
2565
|
-
logo: import_zod9.z.string().optional(),
|
|
2565
|
+
logo: import_zod9.z.string().optional().nullable(),
|
|
2566
2566
|
practiceType: import_zod9.z.nativeEnum(PracticeType).optional(),
|
|
2567
2567
|
languages: import_zod9.z.array(import_zod9.z.nativeEnum(Language)).optional(),
|
|
2568
2568
|
subscriptionModel: import_zod9.z.nativeEnum(SubscriptionModel).optional().default("no_subscription" /* NO_SUBSCRIPTION */)
|
|
@@ -4528,7 +4528,7 @@ var AuthService = class extends BaseService {
|
|
|
4528
4528
|
contactPerson,
|
|
4529
4529
|
ownerId: firebaseUser.uid,
|
|
4530
4530
|
isActive: true,
|
|
4531
|
-
logo: data.clinicGroupData.logo,
|
|
4531
|
+
logo: data.clinicGroupData.logo || null,
|
|
4532
4532
|
subscriptionModel: data.clinicGroupData.subscriptionModel || "no_subscription" /* NO_SUBSCRIPTION */
|
|
4533
4533
|
};
|
|
4534
4534
|
await clinicGroupService.createClinicGroup(
|
package/dist/index.mjs
CHANGED
|
@@ -2283,9 +2283,9 @@ var clinicTagsSchema = z9.object({
|
|
|
2283
2283
|
var contactPersonSchema = z9.object({
|
|
2284
2284
|
firstName: z9.string(),
|
|
2285
2285
|
lastName: z9.string(),
|
|
2286
|
-
title: z9.string(),
|
|
2286
|
+
title: z9.string().nullable().optional(),
|
|
2287
2287
|
email: z9.string().email(),
|
|
2288
|
-
phoneNumber: z9.string()
|
|
2288
|
+
phoneNumber: z9.string().nullable().optional()
|
|
2289
2289
|
});
|
|
2290
2290
|
var adminInfoSchema = z9.object({
|
|
2291
2291
|
id: z9.string(),
|
|
@@ -2381,7 +2381,7 @@ var clinicGroupSchema = z9.object({
|
|
|
2381
2381
|
updatedAt: z9.instanceof(Date).or(z9.instanceof(Timestamp5)),
|
|
2382
2382
|
// Timestamp
|
|
2383
2383
|
isActive: z9.boolean(),
|
|
2384
|
-
logo: z9.string().optional(),
|
|
2384
|
+
logo: z9.string().optional().nullable(),
|
|
2385
2385
|
practiceType: z9.nativeEnum(PracticeType).optional(),
|
|
2386
2386
|
languages: z9.array(z9.nativeEnum(Language)).optional(),
|
|
2387
2387
|
subscriptionModel: z9.nativeEnum(SubscriptionModel),
|
|
@@ -2453,7 +2453,7 @@ var createClinicGroupSchema = z9.object({
|
|
|
2453
2453
|
contactPerson: contactPersonSchema,
|
|
2454
2454
|
ownerId: z9.string(),
|
|
2455
2455
|
isActive: z9.boolean(),
|
|
2456
|
-
logo: z9.string().optional(),
|
|
2456
|
+
logo: z9.string().optional().nullable(),
|
|
2457
2457
|
practiceType: z9.nativeEnum(PracticeType).optional(),
|
|
2458
2458
|
languages: z9.array(z9.nativeEnum(Language)).optional(),
|
|
2459
2459
|
subscriptionModel: z9.nativeEnum(SubscriptionModel).optional().default("no_subscription" /* NO_SUBSCRIPTION */),
|
|
@@ -2490,7 +2490,7 @@ var createDefaultClinicGroupSchema = z9.object({
|
|
|
2490
2490
|
contactInfo: clinicContactInfoSchema,
|
|
2491
2491
|
hqLocation: clinicLocationSchema,
|
|
2492
2492
|
isActive: z9.boolean(),
|
|
2493
|
-
logo: z9.string().optional(),
|
|
2493
|
+
logo: z9.string().optional().nullable(),
|
|
2494
2494
|
practiceType: z9.nativeEnum(PracticeType).optional(),
|
|
2495
2495
|
languages: z9.array(z9.nativeEnum(Language)).optional(),
|
|
2496
2496
|
subscriptionModel: z9.nativeEnum(SubscriptionModel).optional().default("no_subscription" /* NO_SUBSCRIPTION */)
|
|
@@ -4498,7 +4498,7 @@ var AuthService = class extends BaseService {
|
|
|
4498
4498
|
contactPerson,
|
|
4499
4499
|
ownerId: firebaseUser.uid,
|
|
4500
4500
|
isActive: true,
|
|
4501
|
-
logo: data.clinicGroupData.logo,
|
|
4501
|
+
logo: data.clinicGroupData.logo || null,
|
|
4502
4502
|
subscriptionModel: data.clinicGroupData.subscriptionModel || "no_subscription" /* NO_SUBSCRIPTION */
|
|
4503
4503
|
};
|
|
4504
4504
|
await clinicGroupService.createClinicGroup(
|
package/package.json
CHANGED
|
@@ -175,7 +175,7 @@ export class AuthService extends BaseService {
|
|
|
175
175
|
contactPerson: contactPerson,
|
|
176
176
|
ownerId: firebaseUser.uid,
|
|
177
177
|
isActive: true,
|
|
178
|
-
logo: data.clinicGroupData.logo,
|
|
178
|
+
logo: data.clinicGroupData.logo || null,
|
|
179
179
|
subscriptionModel:
|
|
180
180
|
data.clinicGroupData.subscriptionModel ||
|
|
181
181
|
SubscriptionModel.NO_SUBSCRIPTION,
|
|
@@ -84,9 +84,9 @@ export interface WorkingHours {
|
|
|
84
84
|
export interface ContactPerson {
|
|
85
85
|
firstName: string;
|
|
86
86
|
lastName: string;
|
|
87
|
-
title
|
|
87
|
+
title?: string | null;
|
|
88
88
|
email: string;
|
|
89
|
-
phoneNumber
|
|
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
|