@blackcode_sa/metaestetics-api 1.6.4 → 1.6.5
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/admin/index.d.mts +211 -0
- package/dist/admin/index.d.ts +211 -0
- package/dist/admin/index.js +1234 -994
- package/dist/admin/index.mjs +1236 -996
- package/dist/backoffice/index.d.mts +2 -0
- package/dist/backoffice/index.d.ts +2 -0
- package/dist/index.d.mts +42 -75
- package/dist/index.d.ts +42 -75
- package/dist/index.js +74 -305
- package/dist/index.mjs +75 -306
- package/package.json +1 -1
- package/src/admin/aggregation/appointment/appointment.aggregation.service.ts +321 -0
- package/src/admin/booking/booking.admin.ts +376 -3
- package/src/backoffice/types/product.types.ts +2 -0
- package/src/services/appointment/appointment.service.ts +89 -182
- package/src/services/procedure/procedure.service.ts +1 -0
- package/src/types/appointment/index.ts +2 -1
- package/src/types/procedure/index.ts +7 -0
- package/src/validations/appointment.schema.ts +1 -3
- package/src/validations/procedure.schema.ts +3 -0
package/dist/index.d.mts
CHANGED
|
@@ -671,7 +671,9 @@ interface Product {
|
|
|
671
671
|
id?: string;
|
|
672
672
|
name: string;
|
|
673
673
|
brandId: string;
|
|
674
|
+
brandName: string;
|
|
674
675
|
technologyId: string;
|
|
676
|
+
technologyName: string;
|
|
675
677
|
createdAt: Date;
|
|
676
678
|
updatedAt: Date;
|
|
677
679
|
isActive: boolean;
|
|
@@ -750,6 +752,8 @@ interface Procedure {
|
|
|
750
752
|
id: string;
|
|
751
753
|
/** Name of the procedure */
|
|
752
754
|
name: string;
|
|
755
|
+
/** Photos of the procedure */
|
|
756
|
+
photos?: string[];
|
|
753
757
|
/** Detailed description of the procedure */
|
|
754
758
|
description: string;
|
|
755
759
|
/** Family of procedures this belongs to (aesthetics/surgery) */
|
|
@@ -774,6 +778,8 @@ interface Procedure {
|
|
|
774
778
|
blockingConditions: BlockingCondition[];
|
|
775
779
|
/** Treatment benefits of this procedure */
|
|
776
780
|
treatmentBenefits: TreatmentBenefit[];
|
|
781
|
+
/** Contraindications of this procedure */
|
|
782
|
+
contraindications: Contraindication[];
|
|
777
783
|
/** Pre-procedure requirements */
|
|
778
784
|
preRequirements: Requirement[];
|
|
779
785
|
/** Post-procedure requirements */
|
|
@@ -816,6 +822,7 @@ interface CreateProcedureData {
|
|
|
816
822
|
duration: number;
|
|
817
823
|
practitionerId: string;
|
|
818
824
|
clinicBranchId: string;
|
|
825
|
+
photos?: string[];
|
|
819
826
|
}
|
|
820
827
|
/**
|
|
821
828
|
* Data that can be updated for an existing procedure
|
|
@@ -834,6 +841,7 @@ interface UpdateProcedureData {
|
|
|
834
841
|
technologyId?: string;
|
|
835
842
|
productId?: string;
|
|
836
843
|
clinicBranchId?: string;
|
|
844
|
+
photos?: string[];
|
|
837
845
|
}
|
|
838
846
|
/**
|
|
839
847
|
* Collection name for procedures in Firestore
|
|
@@ -4500,6 +4508,7 @@ interface Appointment {
|
|
|
4500
4508
|
completedPreRequirements?: string[];
|
|
4501
4509
|
completedPostRequirements?: string[];
|
|
4502
4510
|
/** NEW: Linked forms (consent, procedure-specific forms, etc.) */
|
|
4511
|
+
linkedFormIds?: string[];
|
|
4503
4512
|
linkedForms?: LinkedFormInfo[];
|
|
4504
4513
|
pendingUserFormsIds?: string[];
|
|
4505
4514
|
/** NEW: Media items (before/after photos, scanned documents, etc.) */
|
|
@@ -4525,7 +4534,6 @@ interface Appointment {
|
|
|
4525
4534
|
* Data needed to create a new Appointment
|
|
4526
4535
|
*/
|
|
4527
4536
|
interface CreateAppointmentData {
|
|
4528
|
-
calendarEventId: string;
|
|
4529
4537
|
clinicBranchId: string;
|
|
4530
4538
|
practitionerId: string;
|
|
4531
4539
|
patientId: string;
|
|
@@ -4563,6 +4571,7 @@ interface UpdateAppointmentData {
|
|
|
4563
4571
|
clinicBranchId?: string;
|
|
4564
4572
|
practitionerId?: string;
|
|
4565
4573
|
/** NEW: For updating linked forms - typically managed by dedicated methods */
|
|
4574
|
+
linkedFormIds?: string[] | FieldValue;
|
|
4566
4575
|
linkedForms?: LinkedFormInfo[] | FieldValue;
|
|
4567
4576
|
/** NEW: For updating media items - typically managed by dedicated methods */
|
|
4568
4577
|
media?: AppointmentMediaItem[] | FieldValue;
|
|
@@ -4598,7 +4607,6 @@ declare const APPOINTMENTS_COLLECTION = "appointments";
|
|
|
4598
4607
|
* Schema for validating appointment creation data
|
|
4599
4608
|
*/
|
|
4600
4609
|
declare const createAppointmentSchema: z.ZodEffects<z.ZodObject<{
|
|
4601
|
-
calendarEventId: z.ZodString;
|
|
4602
4610
|
clinicBranchId: z.ZodString;
|
|
4603
4611
|
practitionerId: z.ZodString;
|
|
4604
4612
|
patientId: z.ZodString;
|
|
@@ -4615,7 +4623,6 @@ declare const createAppointmentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4615
4623
|
procedureId: string;
|
|
4616
4624
|
practitionerId: string;
|
|
4617
4625
|
cost: number;
|
|
4618
|
-
calendarEventId: string;
|
|
4619
4626
|
clinicBranchId: string;
|
|
4620
4627
|
currency: string;
|
|
4621
4628
|
initialStatus: AppointmentStatus;
|
|
@@ -4628,7 +4635,6 @@ declare const createAppointmentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4628
4635
|
procedureId: string;
|
|
4629
4636
|
practitionerId: string;
|
|
4630
4637
|
cost: number;
|
|
4631
|
-
calendarEventId: string;
|
|
4632
4638
|
clinicBranchId: string;
|
|
4633
4639
|
currency: string;
|
|
4634
4640
|
initialStatus: AppointmentStatus;
|
|
@@ -4641,7 +4647,6 @@ declare const createAppointmentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4641
4647
|
procedureId: string;
|
|
4642
4648
|
practitionerId: string;
|
|
4643
4649
|
cost: number;
|
|
4644
|
-
calendarEventId: string;
|
|
4645
4650
|
clinicBranchId: string;
|
|
4646
4651
|
currency: string;
|
|
4647
4652
|
initialStatus: AppointmentStatus;
|
|
@@ -4654,7 +4659,6 @@ declare const createAppointmentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4654
4659
|
procedureId: string;
|
|
4655
4660
|
practitionerId: string;
|
|
4656
4661
|
cost: number;
|
|
4657
|
-
calendarEventId: string;
|
|
4658
4662
|
clinicBranchId: string;
|
|
4659
4663
|
currency: string;
|
|
4660
4664
|
initialStatus: AppointmentStatus;
|
|
@@ -4681,6 +4685,7 @@ declare const updateAppointmentSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
4681
4685
|
paymentTransactionId: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
4682
4686
|
completedPreRequirements: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodAny]>>;
|
|
4683
4687
|
completedPostRequirements: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodAny]>>;
|
|
4688
|
+
linkedFormIds: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodAny]>>;
|
|
4684
4689
|
pendingUserFormsIds: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodAny]>>;
|
|
4685
4690
|
appointmentStartTime: z.ZodOptional<z.ZodEffects<z.ZodAny, any, any>>;
|
|
4686
4691
|
appointmentEndTime: z.ZodOptional<z.ZodEffects<z.ZodAny, any, any>>;
|
|
@@ -4780,7 +4785,6 @@ declare const updateAppointmentSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
4780
4785
|
status?: AppointmentStatus | undefined;
|
|
4781
4786
|
practitionerId?: string | undefined;
|
|
4782
4787
|
cost?: number | undefined;
|
|
4783
|
-
calendarEventId?: string | undefined;
|
|
4784
4788
|
clinicBranchId?: string | undefined;
|
|
4785
4789
|
appointmentStartTime?: any;
|
|
4786
4790
|
appointmentEndTime?: any;
|
|
@@ -4797,7 +4801,9 @@ declare const updateAppointmentSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
4797
4801
|
paymentTransactionId?: any;
|
|
4798
4802
|
completedPreRequirements?: any;
|
|
4799
4803
|
completedPostRequirements?: any;
|
|
4804
|
+
linkedFormIds?: any;
|
|
4800
4805
|
pendingUserFormsIds?: any;
|
|
4806
|
+
calendarEventId?: string | undefined;
|
|
4801
4807
|
linkedForms?: any;
|
|
4802
4808
|
media?: any;
|
|
4803
4809
|
reviewInfo?: any;
|
|
@@ -4808,7 +4814,6 @@ declare const updateAppointmentSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
4808
4814
|
status?: AppointmentStatus | undefined;
|
|
4809
4815
|
practitionerId?: string | undefined;
|
|
4810
4816
|
cost?: number | undefined;
|
|
4811
|
-
calendarEventId?: string | undefined;
|
|
4812
4817
|
clinicBranchId?: string | undefined;
|
|
4813
4818
|
appointmentStartTime?: any;
|
|
4814
4819
|
appointmentEndTime?: any;
|
|
@@ -4825,7 +4830,9 @@ declare const updateAppointmentSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
4825
4830
|
paymentTransactionId?: any;
|
|
4826
4831
|
completedPreRequirements?: any;
|
|
4827
4832
|
completedPostRequirements?: any;
|
|
4833
|
+
linkedFormIds?: any;
|
|
4828
4834
|
pendingUserFormsIds?: any;
|
|
4835
|
+
calendarEventId?: string | undefined;
|
|
4829
4836
|
linkedForms?: any;
|
|
4830
4837
|
media?: any;
|
|
4831
4838
|
reviewInfo?: any;
|
|
@@ -4836,7 +4843,6 @@ declare const updateAppointmentSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
4836
4843
|
status?: AppointmentStatus | undefined;
|
|
4837
4844
|
practitionerId?: string | undefined;
|
|
4838
4845
|
cost?: number | undefined;
|
|
4839
|
-
calendarEventId?: string | undefined;
|
|
4840
4846
|
clinicBranchId?: string | undefined;
|
|
4841
4847
|
appointmentStartTime?: any;
|
|
4842
4848
|
appointmentEndTime?: any;
|
|
@@ -4853,7 +4859,9 @@ declare const updateAppointmentSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
4853
4859
|
paymentTransactionId?: any;
|
|
4854
4860
|
completedPreRequirements?: any;
|
|
4855
4861
|
completedPostRequirements?: any;
|
|
4862
|
+
linkedFormIds?: any;
|
|
4856
4863
|
pendingUserFormsIds?: any;
|
|
4864
|
+
calendarEventId?: string | undefined;
|
|
4857
4865
|
linkedForms?: any;
|
|
4858
4866
|
media?: any;
|
|
4859
4867
|
reviewInfo?: any;
|
|
@@ -4864,7 +4872,6 @@ declare const updateAppointmentSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
4864
4872
|
status?: AppointmentStatus | undefined;
|
|
4865
4873
|
practitionerId?: string | undefined;
|
|
4866
4874
|
cost?: number | undefined;
|
|
4867
|
-
calendarEventId?: string | undefined;
|
|
4868
4875
|
clinicBranchId?: string | undefined;
|
|
4869
4876
|
appointmentStartTime?: any;
|
|
4870
4877
|
appointmentEndTime?: any;
|
|
@@ -4881,7 +4888,9 @@ declare const updateAppointmentSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
4881
4888
|
paymentTransactionId?: any;
|
|
4882
4889
|
completedPreRequirements?: any;
|
|
4883
4890
|
completedPostRequirements?: any;
|
|
4891
|
+
linkedFormIds?: any;
|
|
4884
4892
|
pendingUserFormsIds?: any;
|
|
4893
|
+
calendarEventId?: string | undefined;
|
|
4885
4894
|
linkedForms?: any;
|
|
4886
4895
|
media?: any;
|
|
4887
4896
|
reviewInfo?: any;
|
|
@@ -4892,7 +4901,6 @@ declare const updateAppointmentSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
4892
4901
|
status?: AppointmentStatus | undefined;
|
|
4893
4902
|
practitionerId?: string | undefined;
|
|
4894
4903
|
cost?: number | undefined;
|
|
4895
|
-
calendarEventId?: string | undefined;
|
|
4896
4904
|
clinicBranchId?: string | undefined;
|
|
4897
4905
|
appointmentStartTime?: any;
|
|
4898
4906
|
appointmentEndTime?: any;
|
|
@@ -4909,7 +4917,9 @@ declare const updateAppointmentSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
4909
4917
|
paymentTransactionId?: any;
|
|
4910
4918
|
completedPreRequirements?: any;
|
|
4911
4919
|
completedPostRequirements?: any;
|
|
4920
|
+
linkedFormIds?: any;
|
|
4912
4921
|
pendingUserFormsIds?: any;
|
|
4922
|
+
calendarEventId?: string | undefined;
|
|
4913
4923
|
linkedForms?: any;
|
|
4914
4924
|
media?: any;
|
|
4915
4925
|
reviewInfo?: any;
|
|
@@ -4920,7 +4930,6 @@ declare const updateAppointmentSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
4920
4930
|
status?: AppointmentStatus | undefined;
|
|
4921
4931
|
practitionerId?: string | undefined;
|
|
4922
4932
|
cost?: number | undefined;
|
|
4923
|
-
calendarEventId?: string | undefined;
|
|
4924
4933
|
clinicBranchId?: string | undefined;
|
|
4925
4934
|
appointmentStartTime?: any;
|
|
4926
4935
|
appointmentEndTime?: any;
|
|
@@ -4937,7 +4946,9 @@ declare const updateAppointmentSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
4937
4946
|
paymentTransactionId?: any;
|
|
4938
4947
|
completedPreRequirements?: any;
|
|
4939
4948
|
completedPostRequirements?: any;
|
|
4949
|
+
linkedFormIds?: any;
|
|
4940
4950
|
pendingUserFormsIds?: any;
|
|
4951
|
+
calendarEventId?: string | undefined;
|
|
4941
4952
|
linkedForms?: any;
|
|
4942
4953
|
media?: any;
|
|
4943
4954
|
reviewInfo?: any;
|
|
@@ -7186,29 +7197,6 @@ declare class AppointmentService extends BaseService {
|
|
|
7186
7197
|
* @param clinicService Clinic service instance
|
|
7187
7198
|
*/
|
|
7188
7199
|
constructor(db: Firestore, auth: Auth, app: FirebaseApp, calendarService: CalendarServiceV2, patientService: PatientService, practitionerService: PractitionerService, clinicService: ClinicService, filledDocumentService: FilledDocumentService);
|
|
7189
|
-
/**
|
|
7190
|
-
* Test method using the callable function version of getAvailableBookingSlots
|
|
7191
|
-
* For development and testing purposes only - not for production use
|
|
7192
|
-
*
|
|
7193
|
-
* @param clinicId ID of the clinic
|
|
7194
|
-
* @param practitionerId ID of the practitioner
|
|
7195
|
-
* @param procedureId ID of the procedure
|
|
7196
|
-
* @param startDate Start date of the time range to check
|
|
7197
|
-
* @param endDate End date of the time range to check
|
|
7198
|
-
* @returns Test result from the callable function
|
|
7199
|
-
*/
|
|
7200
|
-
testGetAvailableBookingSlots(clinicId: string, practitionerId: string, procedureId: string, startDate: Date, endDate: Date): Promise<any>;
|
|
7201
|
-
/**
|
|
7202
|
-
* Gets available booking slots for a specific clinic, practitioner, and procedure.
|
|
7203
|
-
*
|
|
7204
|
-
* @param clinicId ID of the clinic
|
|
7205
|
-
* @param practitionerId ID of the practitioner
|
|
7206
|
-
* @param procedureId ID of the procedure
|
|
7207
|
-
* @param startDate Start date of the time range to check
|
|
7208
|
-
* @param endDate End date of the time range to check
|
|
7209
|
-
* @returns Array of available booking slots
|
|
7210
|
-
*/
|
|
7211
|
-
getAvailableBookingSlots(clinicId: string, practitionerId: string, procedureId: string, startDate: Date, endDate: Date): Promise<AvailableSlot[]>;
|
|
7212
7200
|
/**
|
|
7213
7201
|
* Gets available booking slots for a specific clinic, practitioner, and procedure using HTTP request.
|
|
7214
7202
|
* This is an alternative implementation using direct HTTP request instead of callable function.
|
|
@@ -7222,12 +7210,12 @@ declare class AppointmentService extends BaseService {
|
|
|
7222
7210
|
*/
|
|
7223
7211
|
getAvailableBookingSlotsHttp(clinicId: string, practitionerId: string, procedureId: string, startDate: Date, endDate: Date): Promise<AvailableSlot[]>;
|
|
7224
7212
|
/**
|
|
7225
|
-
* Creates
|
|
7213
|
+
* Creates an appointment via the Cloud Function orchestrateAppointmentCreation
|
|
7226
7214
|
*
|
|
7227
|
-
* @param data
|
|
7215
|
+
* @param data - CreateAppointmentData object
|
|
7228
7216
|
* @returns The created appointment
|
|
7229
7217
|
*/
|
|
7230
|
-
|
|
7218
|
+
createAppointmentHttp(data: CreateAppointmentData): Promise<Appointment>;
|
|
7231
7219
|
/**
|
|
7232
7220
|
* Gets an appointment by ID.
|
|
7233
7221
|
*
|
|
@@ -7377,22 +7365,6 @@ declare class AppointmentService extends BaseService {
|
|
|
7377
7365
|
* Updates the payment status of an appointment.
|
|
7378
7366
|
*/
|
|
7379
7367
|
updatePaymentStatus(appointmentId: string, paymentStatus: PaymentStatus, paymentTransactionId?: string): Promise<Appointment>;
|
|
7380
|
-
/**
|
|
7381
|
-
* Marks pre-procedure requirements as completed.
|
|
7382
|
-
*
|
|
7383
|
-
* @param appointmentId ID of the appointment
|
|
7384
|
-
* @param requirementIds IDs of the requirements to mark as completed
|
|
7385
|
-
* @returns The updated appointment
|
|
7386
|
-
*/
|
|
7387
|
-
completePreRequirements(appointmentId: string, requirementIds: string[]): Promise<Appointment>;
|
|
7388
|
-
/**
|
|
7389
|
-
* Marks post-procedure requirements as completed.
|
|
7390
|
-
*
|
|
7391
|
-
* @param appointmentId ID of the appointment
|
|
7392
|
-
* @param requirementIds IDs of the requirements to mark as completed
|
|
7393
|
-
* @returns The updated appointment
|
|
7394
|
-
*/
|
|
7395
|
-
completePostRequirements(appointmentId: string, requirementIds: string[]): Promise<Appointment>;
|
|
7396
7368
|
/**
|
|
7397
7369
|
* Updates the internal notes of an appointment.
|
|
7398
7370
|
*
|
|
@@ -7401,11 +7373,6 @@ declare class AppointmentService extends BaseService {
|
|
|
7401
7373
|
* @returns The updated appointment
|
|
7402
7374
|
*/
|
|
7403
7375
|
updateInternalNotes(appointmentId: string, notes: string | null): Promise<Appointment>;
|
|
7404
|
-
/**
|
|
7405
|
-
* Debug helper: Get the current user's ID token for testing purposes
|
|
7406
|
-
* Use this token in Postman with Authorization: Bearer TOKEN
|
|
7407
|
-
*/
|
|
7408
|
-
getDebugToken(): Promise<string | null>;
|
|
7409
7376
|
}
|
|
7410
7377
|
|
|
7411
7378
|
/**
|
|
@@ -11306,6 +11273,7 @@ declare const practitionerSchema: z.ZodObject<{
|
|
|
11306
11273
|
}, "strip", z.ZodTypeAny, {
|
|
11307
11274
|
id: string;
|
|
11308
11275
|
name: string;
|
|
11276
|
+
technologyName: string;
|
|
11309
11277
|
duration: number;
|
|
11310
11278
|
practitionerId: string;
|
|
11311
11279
|
clinicId: string;
|
|
@@ -11313,7 +11281,6 @@ declare const practitionerSchema: z.ZodObject<{
|
|
|
11313
11281
|
currency: Currency;
|
|
11314
11282
|
categoryName: string;
|
|
11315
11283
|
subcategoryName: string;
|
|
11316
|
-
technologyName: string;
|
|
11317
11284
|
price: number;
|
|
11318
11285
|
pricingMeasure: PricingMeasure;
|
|
11319
11286
|
clinicName: string;
|
|
@@ -11323,6 +11290,7 @@ declare const practitionerSchema: z.ZodObject<{
|
|
|
11323
11290
|
}, {
|
|
11324
11291
|
id: string;
|
|
11325
11292
|
name: string;
|
|
11293
|
+
technologyName: string;
|
|
11326
11294
|
duration: number;
|
|
11327
11295
|
practitionerId: string;
|
|
11328
11296
|
clinicId: string;
|
|
@@ -11330,7 +11298,6 @@ declare const practitionerSchema: z.ZodObject<{
|
|
|
11330
11298
|
currency: Currency;
|
|
11331
11299
|
categoryName: string;
|
|
11332
11300
|
subcategoryName: string;
|
|
11333
|
-
technologyName: string;
|
|
11334
11301
|
price: number;
|
|
11335
11302
|
pricingMeasure: PricingMeasure;
|
|
11336
11303
|
clinicName: string;
|
|
@@ -11462,6 +11429,7 @@ declare const practitionerSchema: z.ZodObject<{
|
|
|
11462
11429
|
proceduresInfo: {
|
|
11463
11430
|
id: string;
|
|
11464
11431
|
name: string;
|
|
11432
|
+
technologyName: string;
|
|
11465
11433
|
duration: number;
|
|
11466
11434
|
practitionerId: string;
|
|
11467
11435
|
clinicId: string;
|
|
@@ -11469,7 +11437,6 @@ declare const practitionerSchema: z.ZodObject<{
|
|
|
11469
11437
|
currency: Currency;
|
|
11470
11438
|
categoryName: string;
|
|
11471
11439
|
subcategoryName: string;
|
|
11472
|
-
technologyName: string;
|
|
11473
11440
|
price: number;
|
|
11474
11441
|
pricingMeasure: PricingMeasure;
|
|
11475
11442
|
clinicName: string;
|
|
@@ -11578,6 +11545,7 @@ declare const practitionerSchema: z.ZodObject<{
|
|
|
11578
11545
|
proceduresInfo: {
|
|
11579
11546
|
id: string;
|
|
11580
11547
|
name: string;
|
|
11548
|
+
technologyName: string;
|
|
11581
11549
|
duration: number;
|
|
11582
11550
|
practitionerId: string;
|
|
11583
11551
|
clinicId: string;
|
|
@@ -11585,7 +11553,6 @@ declare const practitionerSchema: z.ZodObject<{
|
|
|
11585
11553
|
currency: Currency;
|
|
11586
11554
|
categoryName: string;
|
|
11587
11555
|
subcategoryName: string;
|
|
11588
|
-
technologyName: string;
|
|
11589
11556
|
price: number;
|
|
11590
11557
|
pricingMeasure: PricingMeasure;
|
|
11591
11558
|
clinicName: string;
|
|
@@ -11982,6 +11949,7 @@ declare const createPractitionerSchema: z.ZodObject<{
|
|
|
11982
11949
|
}, "strip", z.ZodTypeAny, {
|
|
11983
11950
|
id: string;
|
|
11984
11951
|
name: string;
|
|
11952
|
+
technologyName: string;
|
|
11985
11953
|
duration: number;
|
|
11986
11954
|
practitionerId: string;
|
|
11987
11955
|
clinicId: string;
|
|
@@ -11989,7 +11957,6 @@ declare const createPractitionerSchema: z.ZodObject<{
|
|
|
11989
11957
|
currency: Currency;
|
|
11990
11958
|
categoryName: string;
|
|
11991
11959
|
subcategoryName: string;
|
|
11992
|
-
technologyName: string;
|
|
11993
11960
|
price: number;
|
|
11994
11961
|
pricingMeasure: PricingMeasure;
|
|
11995
11962
|
clinicName: string;
|
|
@@ -11999,6 +11966,7 @@ declare const createPractitionerSchema: z.ZodObject<{
|
|
|
11999
11966
|
}, {
|
|
12000
11967
|
id: string;
|
|
12001
11968
|
name: string;
|
|
11969
|
+
technologyName: string;
|
|
12002
11970
|
duration: number;
|
|
12003
11971
|
practitionerId: string;
|
|
12004
11972
|
clinicId: string;
|
|
@@ -12006,7 +11974,6 @@ declare const createPractitionerSchema: z.ZodObject<{
|
|
|
12006
11974
|
currency: Currency;
|
|
12007
11975
|
categoryName: string;
|
|
12008
11976
|
subcategoryName: string;
|
|
12009
|
-
technologyName: string;
|
|
12010
11977
|
price: number;
|
|
12011
11978
|
pricingMeasure: PricingMeasure;
|
|
12012
11979
|
clinicName: string;
|
|
@@ -12104,6 +12071,7 @@ declare const createPractitionerSchema: z.ZodObject<{
|
|
|
12104
12071
|
proceduresInfo?: {
|
|
12105
12072
|
id: string;
|
|
12106
12073
|
name: string;
|
|
12074
|
+
technologyName: string;
|
|
12107
12075
|
duration: number;
|
|
12108
12076
|
practitionerId: string;
|
|
12109
12077
|
clinicId: string;
|
|
@@ -12111,7 +12079,6 @@ declare const createPractitionerSchema: z.ZodObject<{
|
|
|
12111
12079
|
currency: Currency;
|
|
12112
12080
|
categoryName: string;
|
|
12113
12081
|
subcategoryName: string;
|
|
12114
|
-
technologyName: string;
|
|
12115
12082
|
price: number;
|
|
12116
12083
|
pricingMeasure: PricingMeasure;
|
|
12117
12084
|
clinicName: string;
|
|
@@ -12206,6 +12173,7 @@ declare const createPractitionerSchema: z.ZodObject<{
|
|
|
12206
12173
|
proceduresInfo?: {
|
|
12207
12174
|
id: string;
|
|
12208
12175
|
name: string;
|
|
12176
|
+
technologyName: string;
|
|
12209
12177
|
duration: number;
|
|
12210
12178
|
practitionerId: string;
|
|
12211
12179
|
clinicId: string;
|
|
@@ -12213,7 +12181,6 @@ declare const createPractitionerSchema: z.ZodObject<{
|
|
|
12213
12181
|
currency: Currency;
|
|
12214
12182
|
categoryName: string;
|
|
12215
12183
|
subcategoryName: string;
|
|
12216
|
-
technologyName: string;
|
|
12217
12184
|
price: number;
|
|
12218
12185
|
pricingMeasure: PricingMeasure;
|
|
12219
12186
|
clinicName: string;
|
|
@@ -12599,6 +12566,7 @@ declare const createDraftPractitionerSchema: z.ZodObject<{
|
|
|
12599
12566
|
}, "strip", z.ZodTypeAny, {
|
|
12600
12567
|
id: string;
|
|
12601
12568
|
name: string;
|
|
12569
|
+
technologyName: string;
|
|
12602
12570
|
duration: number;
|
|
12603
12571
|
practitionerId: string;
|
|
12604
12572
|
clinicId: string;
|
|
@@ -12606,7 +12574,6 @@ declare const createDraftPractitionerSchema: z.ZodObject<{
|
|
|
12606
12574
|
currency: Currency;
|
|
12607
12575
|
categoryName: string;
|
|
12608
12576
|
subcategoryName: string;
|
|
12609
|
-
technologyName: string;
|
|
12610
12577
|
price: number;
|
|
12611
12578
|
pricingMeasure: PricingMeasure;
|
|
12612
12579
|
clinicName: string;
|
|
@@ -12616,6 +12583,7 @@ declare const createDraftPractitionerSchema: z.ZodObject<{
|
|
|
12616
12583
|
}, {
|
|
12617
12584
|
id: string;
|
|
12618
12585
|
name: string;
|
|
12586
|
+
technologyName: string;
|
|
12619
12587
|
duration: number;
|
|
12620
12588
|
practitionerId: string;
|
|
12621
12589
|
clinicId: string;
|
|
@@ -12623,7 +12591,6 @@ declare const createDraftPractitionerSchema: z.ZodObject<{
|
|
|
12623
12591
|
currency: Currency;
|
|
12624
12592
|
categoryName: string;
|
|
12625
12593
|
subcategoryName: string;
|
|
12626
|
-
technologyName: string;
|
|
12627
12594
|
price: number;
|
|
12628
12595
|
pricingMeasure: PricingMeasure;
|
|
12629
12596
|
clinicName: string;
|
|
@@ -12718,6 +12685,7 @@ declare const createDraftPractitionerSchema: z.ZodObject<{
|
|
|
12718
12685
|
proceduresInfo?: {
|
|
12719
12686
|
id: string;
|
|
12720
12687
|
name: string;
|
|
12688
|
+
technologyName: string;
|
|
12721
12689
|
duration: number;
|
|
12722
12690
|
practitionerId: string;
|
|
12723
12691
|
clinicId: string;
|
|
@@ -12725,7 +12693,6 @@ declare const createDraftPractitionerSchema: z.ZodObject<{
|
|
|
12725
12693
|
currency: Currency;
|
|
12726
12694
|
categoryName: string;
|
|
12727
12695
|
subcategoryName: string;
|
|
12728
|
-
technologyName: string;
|
|
12729
12696
|
price: number;
|
|
12730
12697
|
pricingMeasure: PricingMeasure;
|
|
12731
12698
|
clinicName: string;
|
|
@@ -12818,6 +12785,7 @@ declare const createDraftPractitionerSchema: z.ZodObject<{
|
|
|
12818
12785
|
proceduresInfo?: {
|
|
12819
12786
|
id: string;
|
|
12820
12787
|
name: string;
|
|
12788
|
+
technologyName: string;
|
|
12821
12789
|
duration: number;
|
|
12822
12790
|
practitionerId: string;
|
|
12823
12791
|
clinicId: string;
|
|
@@ -12825,7 +12793,6 @@ declare const createDraftPractitionerSchema: z.ZodObject<{
|
|
|
12825
12793
|
currency: Currency;
|
|
12826
12794
|
categoryName: string;
|
|
12827
12795
|
subcategoryName: string;
|
|
12828
|
-
technologyName: string;
|
|
12829
12796
|
price: number;
|
|
12830
12797
|
pricingMeasure: PricingMeasure;
|
|
12831
12798
|
clinicName: string;
|
|
@@ -14389,6 +14356,7 @@ declare const clinicSchema: z.ZodObject<{
|
|
|
14389
14356
|
}, "strip", z.ZodTypeAny, {
|
|
14390
14357
|
id: string;
|
|
14391
14358
|
name: string;
|
|
14359
|
+
technologyName: string;
|
|
14392
14360
|
duration: number;
|
|
14393
14361
|
practitionerId: string;
|
|
14394
14362
|
clinicId: string;
|
|
@@ -14396,7 +14364,6 @@ declare const clinicSchema: z.ZodObject<{
|
|
|
14396
14364
|
currency: Currency;
|
|
14397
14365
|
categoryName: string;
|
|
14398
14366
|
subcategoryName: string;
|
|
14399
|
-
technologyName: string;
|
|
14400
14367
|
price: number;
|
|
14401
14368
|
pricingMeasure: PricingMeasure;
|
|
14402
14369
|
clinicName: string;
|
|
@@ -14406,6 +14373,7 @@ declare const clinicSchema: z.ZodObject<{
|
|
|
14406
14373
|
}, {
|
|
14407
14374
|
id: string;
|
|
14408
14375
|
name: string;
|
|
14376
|
+
technologyName: string;
|
|
14409
14377
|
duration: number;
|
|
14410
14378
|
practitionerId: string;
|
|
14411
14379
|
clinicId: string;
|
|
@@ -14413,7 +14381,6 @@ declare const clinicSchema: z.ZodObject<{
|
|
|
14413
14381
|
currency: Currency;
|
|
14414
14382
|
categoryName: string;
|
|
14415
14383
|
subcategoryName: string;
|
|
14416
|
-
technologyName: string;
|
|
14417
14384
|
price: number;
|
|
14418
14385
|
pricingMeasure: PricingMeasure;
|
|
14419
14386
|
clinicName: string;
|
|
@@ -14466,6 +14433,7 @@ declare const clinicSchema: z.ZodObject<{
|
|
|
14466
14433
|
proceduresInfo: {
|
|
14467
14434
|
id: string;
|
|
14468
14435
|
name: string;
|
|
14436
|
+
technologyName: string;
|
|
14469
14437
|
duration: number;
|
|
14470
14438
|
practitionerId: string;
|
|
14471
14439
|
clinicId: string;
|
|
@@ -14473,7 +14441,6 @@ declare const clinicSchema: z.ZodObject<{
|
|
|
14473
14441
|
currency: Currency;
|
|
14474
14442
|
categoryName: string;
|
|
14475
14443
|
subcategoryName: string;
|
|
14476
|
-
technologyName: string;
|
|
14477
14444
|
price: number;
|
|
14478
14445
|
pricingMeasure: PricingMeasure;
|
|
14479
14446
|
clinicName: string;
|
|
@@ -14595,6 +14562,7 @@ declare const clinicSchema: z.ZodObject<{
|
|
|
14595
14562
|
proceduresInfo: {
|
|
14596
14563
|
id: string;
|
|
14597
14564
|
name: string;
|
|
14565
|
+
technologyName: string;
|
|
14598
14566
|
duration: number;
|
|
14599
14567
|
practitionerId: string;
|
|
14600
14568
|
clinicId: string;
|
|
@@ -14602,7 +14570,6 @@ declare const clinicSchema: z.ZodObject<{
|
|
|
14602
14570
|
currency: Currency;
|
|
14603
14571
|
categoryName: string;
|
|
14604
14572
|
subcategoryName: string;
|
|
14605
|
-
technologyName: string;
|
|
14606
14573
|
price: number;
|
|
14607
14574
|
pricingMeasure: PricingMeasure;
|
|
14608
14575
|
clinicName: string;
|