@blackcode_sa/metaestetics-api 1.7.11 → 1.7.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1040,6 +1040,10 @@ interface ClinicGroup {
1040
1040
  calendarSyncEnabled?: boolean;
1041
1041
  autoConfirmAppointments?: boolean;
1042
1042
  businessIdentificationNumber?: string | null;
1043
+ onboarding?: {
1044
+ completed?: boolean;
1045
+ step?: number;
1046
+ };
1043
1047
  }
1044
1048
  /**
1045
1049
  * Interface for creating a clinic group
@@ -1059,6 +1063,10 @@ interface CreateClinicGroupData {
1059
1063
  calendarSyncEnabled?: boolean;
1060
1064
  autoConfirmAppointments?: boolean;
1061
1065
  businessIdentificationNumber?: string | null;
1066
+ onboarding?: {
1067
+ completed?: boolean;
1068
+ step?: number;
1069
+ };
1062
1070
  }
1063
1071
  /**
1064
1072
  * Interface for updating a clinic group
@@ -1159,6 +1167,10 @@ interface CreateDefaultClinicGroupData {
1159
1167
  practiceType?: PracticeType;
1160
1168
  languages?: Language[];
1161
1169
  subscriptionModel?: SubscriptionModel;
1170
+ onboarding?: {
1171
+ completed?: boolean;
1172
+ step?: number;
1173
+ };
1162
1174
  }
1163
1175
  /**
1164
1176
  * Interface for clinic admin signup data
@@ -1191,6 +1203,10 @@ interface ClinicGroupSetupData {
1191
1203
  calendarSyncEnabled: boolean;
1192
1204
  autoConfirmAppointments: boolean;
1193
1205
  businessIdentificationNumber: string | null;
1206
+ onboarding?: {
1207
+ completed?: boolean;
1208
+ step?: number;
1209
+ };
1194
1210
  }
1195
1211
  /**
1196
1212
  * Interface for clinic branch setup data
@@ -5615,6 +5631,32 @@ declare class ClinicGroupService extends BaseService {
5615
5631
  * Dohvata aktivne admin tokene
5616
5632
  */
5617
5633
  getActiveAdminTokens(groupId: string, adminId: string): Promise<AdminToken[]>;
5634
+ /**
5635
+ * Updates the onboarding status for a clinic group
5636
+ *
5637
+ * @param groupId - The ID of the clinic group to update
5638
+ * @param onboardingData - The onboarding data to update
5639
+ * @returns The updated clinic group
5640
+ */
5641
+ setOnboarding(groupId: string, onboardingData: {
5642
+ completed?: boolean;
5643
+ step?: number;
5644
+ }): Promise<ClinicGroup>;
5645
+ /**
5646
+ * Sets the current onboarding step for a clinic group
5647
+ *
5648
+ * @param groupId - The ID of the clinic group to update
5649
+ * @param step - The current onboarding step number
5650
+ * @returns The updated clinic group
5651
+ */
5652
+ setOnboardingStep(groupId: string, step: number): Promise<ClinicGroup>;
5653
+ /**
5654
+ * Marks the onboarding process as completed for a clinic group
5655
+ *
5656
+ * @param groupId - The ID of the clinic group to update
5657
+ * @returns The updated clinic group
5658
+ */
5659
+ completeOnboarding(groupId: string): Promise<ClinicGroup>;
5618
5660
  }
5619
5661
 
5620
5662
  declare class ClinicService extends BaseService {
@@ -5660,6 +5702,10 @@ declare class ClinicService extends BaseService {
5660
5702
  * Deactivates a clinic.
5661
5703
  */
5662
5704
  deactivateClinic(clinicId: string, adminId: string): Promise<void>;
5705
+ /**
5706
+ * Activates a clinic.
5707
+ */
5708
+ activateClinic(clinicId: string, adminId: string): Promise<void>;
5663
5709
  /**
5664
5710
  * Dohvata kliniku po ID-u
5665
5711
  */
@@ -7255,7 +7301,7 @@ declare class SyncedCalendarsService extends BaseService {
7255
7301
  declare class ReviewService extends BaseService {
7256
7302
  constructor(db: Firestore, auth: Auth, app: FirebaseApp);
7257
7303
  /**
7258
- * Creates a new review and updates related entities
7304
+ * Creates a new review
7259
7305
  * @param data - The review data to create
7260
7306
  * @param appointmentId - ID of the completed appointment
7261
7307
  * @returns The created review
@@ -7298,45 +7344,10 @@ declare class ReviewService extends BaseService {
7298
7344
  */
7299
7345
  getReviewByAppointment(appointmentId: string): Promise<Review | null>;
7300
7346
  /**
7301
- * Deletes a review and updates related entities
7347
+ * Deletes a review
7302
7348
  * @param reviewId The ID of the review to delete
7303
7349
  */
7304
7350
  deleteReview(reviewId: string): Promise<void>;
7305
- /**
7306
- * Updates the review info for a clinic
7307
- * @param clinicId The ID of the clinic to update
7308
- * @param newReview Optional new review being added or removed
7309
- * @param isRemoval Whether this update is for a review removal
7310
- * @returns The updated clinic review info
7311
- */
7312
- updateClinicReviewInfo(clinicId: string, newReview?: ClinicReview, isRemoval?: boolean): Promise<ClinicReviewInfo>;
7313
- /**
7314
- * Updates the review info for a practitioner
7315
- * @param practitionerId The ID of the practitioner to update
7316
- * @param newReview Optional new review being added or removed
7317
- * @param isRemoval Whether this update is for a review removal
7318
- * @returns The updated practitioner review info
7319
- */
7320
- updatePractitionerReviewInfo(practitionerId: string, newReview?: PractitionerReview, isRemoval?: boolean): Promise<PractitionerReviewInfo>;
7321
- /**
7322
- * Updates the review info for a procedure
7323
- * @param procedureId The ID of the procedure to update
7324
- * @param newReview Optional new review being added or removed
7325
- * @param isRemoval Whether this update is for a review removal
7326
- * @returns The updated procedure review info
7327
- */
7328
- updateProcedureReviewInfo(procedureId: string, newReview?: ProcedureReview, isRemoval?: boolean): Promise<ProcedureReviewInfo>;
7329
- /**
7330
- * Updates doctorInfo rating in all procedures for a practitioner
7331
- * @param practitionerId The ID of the practitioner
7332
- * @param rating The new rating to set
7333
- */
7334
- private updateDoctorInfoInProcedures;
7335
- /**
7336
- * Verifies a review as checked by admin/staff
7337
- * @param reviewId The ID of the review to verify
7338
- */
7339
- verifyReview(reviewId: string): Promise<void>;
7340
7351
  /**
7341
7352
  * Calculates the average of an array of numbers
7342
7353
  * @param numbers Array of numbers to average
@@ -14052,6 +14063,16 @@ declare const clinicGroupSchema: z.ZodObject<{
14052
14063
  calendarSyncEnabled: z.ZodOptional<z.ZodBoolean>;
14053
14064
  autoConfirmAppointments: z.ZodOptional<z.ZodBoolean>;
14054
14065
  businessIdentificationNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
14066
+ onboarding: z.ZodOptional<z.ZodObject<{
14067
+ completed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
14068
+ step: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
14069
+ }, "strip", z.ZodTypeAny, {
14070
+ completed: boolean;
14071
+ step: number;
14072
+ }, {
14073
+ completed?: boolean | undefined;
14074
+ step?: number | undefined;
14075
+ }>>;
14055
14076
  }, "strip", z.ZodTypeAny, {
14056
14077
  id: string;
14057
14078
  createdAt: Date | Timestamp;
@@ -14126,6 +14147,10 @@ declare const clinicGroupSchema: z.ZodObject<{
14126
14147
  calendarSyncEnabled?: boolean | undefined;
14127
14148
  autoConfirmAppointments?: boolean | undefined;
14128
14149
  businessIdentificationNumber?: string | null | undefined;
14150
+ onboarding?: {
14151
+ completed: boolean;
14152
+ step: number;
14153
+ } | undefined;
14129
14154
  }, {
14130
14155
  id: string;
14131
14156
  createdAt: Date | Timestamp;
@@ -14200,6 +14225,10 @@ declare const clinicGroupSchema: z.ZodObject<{
14200
14225
  calendarSyncEnabled?: boolean | undefined;
14201
14226
  autoConfirmAppointments?: boolean | undefined;
14202
14227
  businessIdentificationNumber?: string | null | undefined;
14228
+ onboarding?: {
14229
+ completed?: boolean | undefined;
14230
+ step?: number | undefined;
14231
+ } | undefined;
14203
14232
  }>;
14204
14233
  /**
14205
14234
  * Validaciona šema za kliniku
@@ -15077,6 +15106,16 @@ declare const createClinicGroupSchema: z.ZodObject<{
15077
15106
  calendarSyncEnabled: z.ZodOptional<z.ZodBoolean>;
15078
15107
  autoConfirmAppointments: z.ZodOptional<z.ZodBoolean>;
15079
15108
  businessIdentificationNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
15109
+ onboarding: z.ZodOptional<z.ZodObject<{
15110
+ completed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
15111
+ step: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
15112
+ }, "strip", z.ZodTypeAny, {
15113
+ completed: boolean;
15114
+ step: number;
15115
+ }, {
15116
+ completed?: boolean | undefined;
15117
+ step?: number | undefined;
15118
+ }>>;
15080
15119
  }, "strip", z.ZodTypeAny, {
15081
15120
  name: string;
15082
15121
  isActive: boolean;
@@ -15111,6 +15150,10 @@ declare const createClinicGroupSchema: z.ZodObject<{
15111
15150
  calendarSyncEnabled?: boolean | undefined;
15112
15151
  autoConfirmAppointments?: boolean | undefined;
15113
15152
  businessIdentificationNumber?: string | null | undefined;
15153
+ onboarding?: {
15154
+ completed: boolean;
15155
+ step: number;
15156
+ } | undefined;
15114
15157
  }, {
15115
15158
  name: string;
15116
15159
  isActive: boolean;
@@ -15145,6 +15188,10 @@ declare const createClinicGroupSchema: z.ZodObject<{
15145
15188
  calendarSyncEnabled?: boolean | undefined;
15146
15189
  autoConfirmAppointments?: boolean | undefined;
15147
15190
  businessIdentificationNumber?: string | null | undefined;
15191
+ onboarding?: {
15192
+ completed?: boolean | undefined;
15193
+ step?: number | undefined;
15194
+ } | undefined;
15148
15195
  }>;
15149
15196
  /**
15150
15197
  * Validaciona šema za kreiranje klinike
@@ -15865,6 +15912,16 @@ declare const createDefaultClinicGroupSchema: z.ZodObject<{
15865
15912
  practiceType: z.ZodOptional<z.ZodNativeEnum<typeof PracticeType>>;
15866
15913
  languages: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Language>, "many">>;
15867
15914
  subscriptionModel: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof SubscriptionModel>>>;
15915
+ onboarding: z.ZodOptional<z.ZodObject<{
15916
+ completed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
15917
+ step: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
15918
+ }, "strip", z.ZodTypeAny, {
15919
+ completed: boolean;
15920
+ step: number;
15921
+ }, {
15922
+ completed?: boolean | undefined;
15923
+ step?: number | undefined;
15924
+ }>>;
15868
15925
  }, "strip", z.ZodTypeAny, {
15869
15926
  name: string;
15870
15927
  isActive: boolean;
@@ -15895,6 +15952,10 @@ declare const createDefaultClinicGroupSchema: z.ZodObject<{
15895
15952
  logo?: string | File | Blob | null | undefined;
15896
15953
  practiceType?: PracticeType | undefined;
15897
15954
  languages?: Language[] | undefined;
15955
+ onboarding?: {
15956
+ completed: boolean;
15957
+ step: number;
15958
+ } | undefined;
15898
15959
  }, {
15899
15960
  name: string;
15900
15961
  isActive: boolean;
@@ -15925,6 +15986,10 @@ declare const createDefaultClinicGroupSchema: z.ZodObject<{
15925
15986
  practiceType?: PracticeType | undefined;
15926
15987
  languages?: Language[] | undefined;
15927
15988
  subscriptionModel?: SubscriptionModel | undefined;
15989
+ onboarding?: {
15990
+ completed?: boolean | undefined;
15991
+ step?: number | undefined;
15992
+ } | undefined;
15928
15993
  }>;
15929
15994
  /**
15930
15995
  * Validaciona šema za kreiranje administratora klinike
@@ -16092,6 +16157,16 @@ declare const clinicGroupSetupSchema: z.ZodObject<{
16092
16157
  calendarSyncEnabled: z.ZodBoolean;
16093
16158
  autoConfirmAppointments: z.ZodBoolean;
16094
16159
  businessIdentificationNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
16160
+ onboarding: z.ZodOptional<z.ZodObject<{
16161
+ completed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
16162
+ step: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
16163
+ }, "strip", z.ZodTypeAny, {
16164
+ completed: boolean;
16165
+ step: number;
16166
+ }, {
16167
+ completed?: boolean | undefined;
16168
+ step?: number | undefined;
16169
+ }>>;
16095
16170
  }, "strip", z.ZodTypeAny, {
16096
16171
  description: string;
16097
16172
  logo: string | File | Blob;
@@ -16100,6 +16175,10 @@ declare const clinicGroupSetupSchema: z.ZodObject<{
16100
16175
  calendarSyncEnabled: boolean;
16101
16176
  autoConfirmAppointments: boolean;
16102
16177
  businessIdentificationNumber?: string | null | undefined;
16178
+ onboarding?: {
16179
+ completed: boolean;
16180
+ step: number;
16181
+ } | undefined;
16103
16182
  }, {
16104
16183
  description: string;
16105
16184
  logo: string | File | Blob;
@@ -16108,6 +16187,10 @@ declare const clinicGroupSetupSchema: z.ZodObject<{
16108
16187
  calendarSyncEnabled: boolean;
16109
16188
  autoConfirmAppointments: boolean;
16110
16189
  businessIdentificationNumber?: string | null | undefined;
16190
+ onboarding?: {
16191
+ completed?: boolean | undefined;
16192
+ step?: number | undefined;
16193
+ } | undefined;
16111
16194
  }>;
16112
16195
  /**
16113
16196
  * Validaciona šema za kreiranje klinike
@@ -16784,6 +16867,16 @@ declare const updateClinicGroupSchema: z.ZodObject<{
16784
16867
  calendarSyncEnabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
16785
16868
  autoConfirmAppointments: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
16786
16869
  businessIdentificationNumber: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
16870
+ onboarding: z.ZodOptional<z.ZodOptional<z.ZodObject<{
16871
+ completed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
16872
+ step: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
16873
+ }, "strip", z.ZodTypeAny, {
16874
+ completed: boolean;
16875
+ step: number;
16876
+ }, {
16877
+ completed?: boolean | undefined;
16878
+ step?: number | undefined;
16879
+ }>>>;
16787
16880
  }, "strip", z.ZodTypeAny, {
16788
16881
  name?: string | undefined;
16789
16882
  isActive?: boolean | undefined;
@@ -16818,6 +16911,10 @@ declare const updateClinicGroupSchema: z.ZodObject<{
16818
16911
  calendarSyncEnabled?: boolean | undefined;
16819
16912
  autoConfirmAppointments?: boolean | undefined;
16820
16913
  businessIdentificationNumber?: string | null | undefined;
16914
+ onboarding?: {
16915
+ completed: boolean;
16916
+ step: number;
16917
+ } | undefined;
16821
16918
  }, {
16822
16919
  name?: string | undefined;
16823
16920
  isActive?: boolean | undefined;
@@ -16852,6 +16949,10 @@ declare const updateClinicGroupSchema: z.ZodObject<{
16852
16949
  calendarSyncEnabled?: boolean | undefined;
16853
16950
  autoConfirmAppointments?: boolean | undefined;
16854
16951
  businessIdentificationNumber?: string | null | undefined;
16952
+ onboarding?: {
16953
+ completed?: boolean | undefined;
16954
+ step?: number | undefined;
16955
+ } | undefined;
16855
16956
  }>;
16856
16957
  /**
16857
16958
  * Validaciona šema za updating clinic
package/dist/index.d.ts CHANGED
@@ -1040,6 +1040,10 @@ interface ClinicGroup {
1040
1040
  calendarSyncEnabled?: boolean;
1041
1041
  autoConfirmAppointments?: boolean;
1042
1042
  businessIdentificationNumber?: string | null;
1043
+ onboarding?: {
1044
+ completed?: boolean;
1045
+ step?: number;
1046
+ };
1043
1047
  }
1044
1048
  /**
1045
1049
  * Interface for creating a clinic group
@@ -1059,6 +1063,10 @@ interface CreateClinicGroupData {
1059
1063
  calendarSyncEnabled?: boolean;
1060
1064
  autoConfirmAppointments?: boolean;
1061
1065
  businessIdentificationNumber?: string | null;
1066
+ onboarding?: {
1067
+ completed?: boolean;
1068
+ step?: number;
1069
+ };
1062
1070
  }
1063
1071
  /**
1064
1072
  * Interface for updating a clinic group
@@ -1159,6 +1167,10 @@ interface CreateDefaultClinicGroupData {
1159
1167
  practiceType?: PracticeType;
1160
1168
  languages?: Language[];
1161
1169
  subscriptionModel?: SubscriptionModel;
1170
+ onboarding?: {
1171
+ completed?: boolean;
1172
+ step?: number;
1173
+ };
1162
1174
  }
1163
1175
  /**
1164
1176
  * Interface for clinic admin signup data
@@ -1191,6 +1203,10 @@ interface ClinicGroupSetupData {
1191
1203
  calendarSyncEnabled: boolean;
1192
1204
  autoConfirmAppointments: boolean;
1193
1205
  businessIdentificationNumber: string | null;
1206
+ onboarding?: {
1207
+ completed?: boolean;
1208
+ step?: number;
1209
+ };
1194
1210
  }
1195
1211
  /**
1196
1212
  * Interface for clinic branch setup data
@@ -5615,6 +5631,32 @@ declare class ClinicGroupService extends BaseService {
5615
5631
  * Dohvata aktivne admin tokene
5616
5632
  */
5617
5633
  getActiveAdminTokens(groupId: string, adminId: string): Promise<AdminToken[]>;
5634
+ /**
5635
+ * Updates the onboarding status for a clinic group
5636
+ *
5637
+ * @param groupId - The ID of the clinic group to update
5638
+ * @param onboardingData - The onboarding data to update
5639
+ * @returns The updated clinic group
5640
+ */
5641
+ setOnboarding(groupId: string, onboardingData: {
5642
+ completed?: boolean;
5643
+ step?: number;
5644
+ }): Promise<ClinicGroup>;
5645
+ /**
5646
+ * Sets the current onboarding step for a clinic group
5647
+ *
5648
+ * @param groupId - The ID of the clinic group to update
5649
+ * @param step - The current onboarding step number
5650
+ * @returns The updated clinic group
5651
+ */
5652
+ setOnboardingStep(groupId: string, step: number): Promise<ClinicGroup>;
5653
+ /**
5654
+ * Marks the onboarding process as completed for a clinic group
5655
+ *
5656
+ * @param groupId - The ID of the clinic group to update
5657
+ * @returns The updated clinic group
5658
+ */
5659
+ completeOnboarding(groupId: string): Promise<ClinicGroup>;
5618
5660
  }
5619
5661
 
5620
5662
  declare class ClinicService extends BaseService {
@@ -5660,6 +5702,10 @@ declare class ClinicService extends BaseService {
5660
5702
  * Deactivates a clinic.
5661
5703
  */
5662
5704
  deactivateClinic(clinicId: string, adminId: string): Promise<void>;
5705
+ /**
5706
+ * Activates a clinic.
5707
+ */
5708
+ activateClinic(clinicId: string, adminId: string): Promise<void>;
5663
5709
  /**
5664
5710
  * Dohvata kliniku po ID-u
5665
5711
  */
@@ -7255,7 +7301,7 @@ declare class SyncedCalendarsService extends BaseService {
7255
7301
  declare class ReviewService extends BaseService {
7256
7302
  constructor(db: Firestore, auth: Auth, app: FirebaseApp);
7257
7303
  /**
7258
- * Creates a new review and updates related entities
7304
+ * Creates a new review
7259
7305
  * @param data - The review data to create
7260
7306
  * @param appointmentId - ID of the completed appointment
7261
7307
  * @returns The created review
@@ -7298,45 +7344,10 @@ declare class ReviewService extends BaseService {
7298
7344
  */
7299
7345
  getReviewByAppointment(appointmentId: string): Promise<Review | null>;
7300
7346
  /**
7301
- * Deletes a review and updates related entities
7347
+ * Deletes a review
7302
7348
  * @param reviewId The ID of the review to delete
7303
7349
  */
7304
7350
  deleteReview(reviewId: string): Promise<void>;
7305
- /**
7306
- * Updates the review info for a clinic
7307
- * @param clinicId The ID of the clinic to update
7308
- * @param newReview Optional new review being added or removed
7309
- * @param isRemoval Whether this update is for a review removal
7310
- * @returns The updated clinic review info
7311
- */
7312
- updateClinicReviewInfo(clinicId: string, newReview?: ClinicReview, isRemoval?: boolean): Promise<ClinicReviewInfo>;
7313
- /**
7314
- * Updates the review info for a practitioner
7315
- * @param practitionerId The ID of the practitioner to update
7316
- * @param newReview Optional new review being added or removed
7317
- * @param isRemoval Whether this update is for a review removal
7318
- * @returns The updated practitioner review info
7319
- */
7320
- updatePractitionerReviewInfo(practitionerId: string, newReview?: PractitionerReview, isRemoval?: boolean): Promise<PractitionerReviewInfo>;
7321
- /**
7322
- * Updates the review info for a procedure
7323
- * @param procedureId The ID of the procedure to update
7324
- * @param newReview Optional new review being added or removed
7325
- * @param isRemoval Whether this update is for a review removal
7326
- * @returns The updated procedure review info
7327
- */
7328
- updateProcedureReviewInfo(procedureId: string, newReview?: ProcedureReview, isRemoval?: boolean): Promise<ProcedureReviewInfo>;
7329
- /**
7330
- * Updates doctorInfo rating in all procedures for a practitioner
7331
- * @param practitionerId The ID of the practitioner
7332
- * @param rating The new rating to set
7333
- */
7334
- private updateDoctorInfoInProcedures;
7335
- /**
7336
- * Verifies a review as checked by admin/staff
7337
- * @param reviewId The ID of the review to verify
7338
- */
7339
- verifyReview(reviewId: string): Promise<void>;
7340
7351
  /**
7341
7352
  * Calculates the average of an array of numbers
7342
7353
  * @param numbers Array of numbers to average
@@ -14052,6 +14063,16 @@ declare const clinicGroupSchema: z.ZodObject<{
14052
14063
  calendarSyncEnabled: z.ZodOptional<z.ZodBoolean>;
14053
14064
  autoConfirmAppointments: z.ZodOptional<z.ZodBoolean>;
14054
14065
  businessIdentificationNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
14066
+ onboarding: z.ZodOptional<z.ZodObject<{
14067
+ completed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
14068
+ step: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
14069
+ }, "strip", z.ZodTypeAny, {
14070
+ completed: boolean;
14071
+ step: number;
14072
+ }, {
14073
+ completed?: boolean | undefined;
14074
+ step?: number | undefined;
14075
+ }>>;
14055
14076
  }, "strip", z.ZodTypeAny, {
14056
14077
  id: string;
14057
14078
  createdAt: Date | Timestamp;
@@ -14126,6 +14147,10 @@ declare const clinicGroupSchema: z.ZodObject<{
14126
14147
  calendarSyncEnabled?: boolean | undefined;
14127
14148
  autoConfirmAppointments?: boolean | undefined;
14128
14149
  businessIdentificationNumber?: string | null | undefined;
14150
+ onboarding?: {
14151
+ completed: boolean;
14152
+ step: number;
14153
+ } | undefined;
14129
14154
  }, {
14130
14155
  id: string;
14131
14156
  createdAt: Date | Timestamp;
@@ -14200,6 +14225,10 @@ declare const clinicGroupSchema: z.ZodObject<{
14200
14225
  calendarSyncEnabled?: boolean | undefined;
14201
14226
  autoConfirmAppointments?: boolean | undefined;
14202
14227
  businessIdentificationNumber?: string | null | undefined;
14228
+ onboarding?: {
14229
+ completed?: boolean | undefined;
14230
+ step?: number | undefined;
14231
+ } | undefined;
14203
14232
  }>;
14204
14233
  /**
14205
14234
  * Validaciona šema za kliniku
@@ -15077,6 +15106,16 @@ declare const createClinicGroupSchema: z.ZodObject<{
15077
15106
  calendarSyncEnabled: z.ZodOptional<z.ZodBoolean>;
15078
15107
  autoConfirmAppointments: z.ZodOptional<z.ZodBoolean>;
15079
15108
  businessIdentificationNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
15109
+ onboarding: z.ZodOptional<z.ZodObject<{
15110
+ completed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
15111
+ step: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
15112
+ }, "strip", z.ZodTypeAny, {
15113
+ completed: boolean;
15114
+ step: number;
15115
+ }, {
15116
+ completed?: boolean | undefined;
15117
+ step?: number | undefined;
15118
+ }>>;
15080
15119
  }, "strip", z.ZodTypeAny, {
15081
15120
  name: string;
15082
15121
  isActive: boolean;
@@ -15111,6 +15150,10 @@ declare const createClinicGroupSchema: z.ZodObject<{
15111
15150
  calendarSyncEnabled?: boolean | undefined;
15112
15151
  autoConfirmAppointments?: boolean | undefined;
15113
15152
  businessIdentificationNumber?: string | null | undefined;
15153
+ onboarding?: {
15154
+ completed: boolean;
15155
+ step: number;
15156
+ } | undefined;
15114
15157
  }, {
15115
15158
  name: string;
15116
15159
  isActive: boolean;
@@ -15145,6 +15188,10 @@ declare const createClinicGroupSchema: z.ZodObject<{
15145
15188
  calendarSyncEnabled?: boolean | undefined;
15146
15189
  autoConfirmAppointments?: boolean | undefined;
15147
15190
  businessIdentificationNumber?: string | null | undefined;
15191
+ onboarding?: {
15192
+ completed?: boolean | undefined;
15193
+ step?: number | undefined;
15194
+ } | undefined;
15148
15195
  }>;
15149
15196
  /**
15150
15197
  * Validaciona šema za kreiranje klinike
@@ -15865,6 +15912,16 @@ declare const createDefaultClinicGroupSchema: z.ZodObject<{
15865
15912
  practiceType: z.ZodOptional<z.ZodNativeEnum<typeof PracticeType>>;
15866
15913
  languages: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Language>, "many">>;
15867
15914
  subscriptionModel: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof SubscriptionModel>>>;
15915
+ onboarding: z.ZodOptional<z.ZodObject<{
15916
+ completed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
15917
+ step: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
15918
+ }, "strip", z.ZodTypeAny, {
15919
+ completed: boolean;
15920
+ step: number;
15921
+ }, {
15922
+ completed?: boolean | undefined;
15923
+ step?: number | undefined;
15924
+ }>>;
15868
15925
  }, "strip", z.ZodTypeAny, {
15869
15926
  name: string;
15870
15927
  isActive: boolean;
@@ -15895,6 +15952,10 @@ declare const createDefaultClinicGroupSchema: z.ZodObject<{
15895
15952
  logo?: string | File | Blob | null | undefined;
15896
15953
  practiceType?: PracticeType | undefined;
15897
15954
  languages?: Language[] | undefined;
15955
+ onboarding?: {
15956
+ completed: boolean;
15957
+ step: number;
15958
+ } | undefined;
15898
15959
  }, {
15899
15960
  name: string;
15900
15961
  isActive: boolean;
@@ -15925,6 +15986,10 @@ declare const createDefaultClinicGroupSchema: z.ZodObject<{
15925
15986
  practiceType?: PracticeType | undefined;
15926
15987
  languages?: Language[] | undefined;
15927
15988
  subscriptionModel?: SubscriptionModel | undefined;
15989
+ onboarding?: {
15990
+ completed?: boolean | undefined;
15991
+ step?: number | undefined;
15992
+ } | undefined;
15928
15993
  }>;
15929
15994
  /**
15930
15995
  * Validaciona šema za kreiranje administratora klinike
@@ -16092,6 +16157,16 @@ declare const clinicGroupSetupSchema: z.ZodObject<{
16092
16157
  calendarSyncEnabled: z.ZodBoolean;
16093
16158
  autoConfirmAppointments: z.ZodBoolean;
16094
16159
  businessIdentificationNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
16160
+ onboarding: z.ZodOptional<z.ZodObject<{
16161
+ completed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
16162
+ step: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
16163
+ }, "strip", z.ZodTypeAny, {
16164
+ completed: boolean;
16165
+ step: number;
16166
+ }, {
16167
+ completed?: boolean | undefined;
16168
+ step?: number | undefined;
16169
+ }>>;
16095
16170
  }, "strip", z.ZodTypeAny, {
16096
16171
  description: string;
16097
16172
  logo: string | File | Blob;
@@ -16100,6 +16175,10 @@ declare const clinicGroupSetupSchema: z.ZodObject<{
16100
16175
  calendarSyncEnabled: boolean;
16101
16176
  autoConfirmAppointments: boolean;
16102
16177
  businessIdentificationNumber?: string | null | undefined;
16178
+ onboarding?: {
16179
+ completed: boolean;
16180
+ step: number;
16181
+ } | undefined;
16103
16182
  }, {
16104
16183
  description: string;
16105
16184
  logo: string | File | Blob;
@@ -16108,6 +16187,10 @@ declare const clinicGroupSetupSchema: z.ZodObject<{
16108
16187
  calendarSyncEnabled: boolean;
16109
16188
  autoConfirmAppointments: boolean;
16110
16189
  businessIdentificationNumber?: string | null | undefined;
16190
+ onboarding?: {
16191
+ completed?: boolean | undefined;
16192
+ step?: number | undefined;
16193
+ } | undefined;
16111
16194
  }>;
16112
16195
  /**
16113
16196
  * Validaciona šema za kreiranje klinike
@@ -16784,6 +16867,16 @@ declare const updateClinicGroupSchema: z.ZodObject<{
16784
16867
  calendarSyncEnabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
16785
16868
  autoConfirmAppointments: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
16786
16869
  businessIdentificationNumber: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
16870
+ onboarding: z.ZodOptional<z.ZodOptional<z.ZodObject<{
16871
+ completed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
16872
+ step: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
16873
+ }, "strip", z.ZodTypeAny, {
16874
+ completed: boolean;
16875
+ step: number;
16876
+ }, {
16877
+ completed?: boolean | undefined;
16878
+ step?: number | undefined;
16879
+ }>>>;
16787
16880
  }, "strip", z.ZodTypeAny, {
16788
16881
  name?: string | undefined;
16789
16882
  isActive?: boolean | undefined;
@@ -16818,6 +16911,10 @@ declare const updateClinicGroupSchema: z.ZodObject<{
16818
16911
  calendarSyncEnabled?: boolean | undefined;
16819
16912
  autoConfirmAppointments?: boolean | undefined;
16820
16913
  businessIdentificationNumber?: string | null | undefined;
16914
+ onboarding?: {
16915
+ completed: boolean;
16916
+ step: number;
16917
+ } | undefined;
16821
16918
  }, {
16822
16919
  name?: string | undefined;
16823
16920
  isActive?: boolean | undefined;
@@ -16852,6 +16949,10 @@ declare const updateClinicGroupSchema: z.ZodObject<{
16852
16949
  calendarSyncEnabled?: boolean | undefined;
16853
16950
  autoConfirmAppointments?: boolean | undefined;
16854
16951
  businessIdentificationNumber?: string | null | undefined;
16952
+ onboarding?: {
16953
+ completed?: boolean | undefined;
16954
+ step?: number | undefined;
16955
+ } | undefined;
16855
16956
  }>;
16856
16957
  /**
16857
16958
  * Validaciona šema za updating clinic