@blackcode_sa/metaestetics-api 1.8.1 → 1.8.3

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.
@@ -400,7 +400,7 @@ interface UpdateDocumentTemplateData {
400
400
  /**
401
401
  * Service for managing documentation templates in the backoffice
402
402
  */
403
- declare class DocumentationTemplateService {
403
+ declare class DocumentationTemplateServiceBackoffice {
404
404
  private apiService;
405
405
  /**
406
406
  * Constructor for DocumentationTemplateService
@@ -3243,11 +3243,11 @@ declare const documentTemplateSchema: z.ZodObject<{
3243
3243
  /**
3244
3244
  * Base validation schemas for enums
3245
3245
  */
3246
- declare const blockingConditionSchema: z.ZodNativeEnum<typeof BlockingCondition>;
3247
- declare const contraindicationSchema: z.ZodNativeEnum<typeof Contraindication>;
3248
- declare const treatmentBenefitSchema: z.ZodNativeEnum<typeof TreatmentBenefit>;
3249
- declare const procedureFamilySchema: z.ZodNativeEnum<typeof ProcedureFamily>;
3250
- declare const timeUnitSchema: z.ZodNativeEnum<typeof TimeUnit>;
3246
+ declare const blockingConditionSchemaBackoffice: z.ZodNativeEnum<typeof BlockingCondition>;
3247
+ declare const contraindicationSchemaBackoffice: z.ZodNativeEnum<typeof Contraindication>;
3248
+ declare const treatmentBenefitSchemaBackoffice: z.ZodNativeEnum<typeof TreatmentBenefit>;
3249
+ declare const procedureFamilySchemaBackoffice: z.ZodNativeEnum<typeof ProcedureFamily>;
3250
+ declare const timeUnitSchemaBackoffice: z.ZodNativeEnum<typeof TimeUnit>;
3251
3251
  declare const requirementTypeSchema: z.ZodNativeEnum<typeof RequirementType>;
3252
3252
  declare const certificationLevelSchema: z.ZodNativeEnum<typeof CertificationLevel>;
3253
3253
  declare const certificationSpecialtySchema: z.ZodNativeEnum<typeof CertificationSpecialty>;
@@ -5503,4 +5503,4 @@ declare class InvalidTreatmentBenefitError extends TreatmentBenefitError {
5503
5503
  constructor(benefit: string);
5504
5504
  }
5505
5505
 
5506
- export { BackofficeError, BlockingCondition, BlockingConditionError, type Brand, BrandService, type Category, CategoryError, CategoryNotFoundError, CategoryService, CertificationLevel, type CertificationRequirement, CertificationSpecialty, CircularReferenceError, Contraindication, ContraindicationError, type CreateDocumentTemplateData, DEFAULT_CERTIFICATION_REQUIREMENT, type DocumentElement, DocumentElementType, type DocumentTemplate, DocumentationTemplateService, DynamicVariable, HeadingLevel, InvalidBlockingConditionError, InvalidCategoryDataError, InvalidContraindicationError, InvalidHierarchyError, InvalidRequirementDataError, InvalidSubcategoryDataError, InvalidTechnologyDataError, InvalidTimeframeError, InvalidTreatmentBenefitError, ListType, ProcedureFamily, type Product, ProductService, RelationshipError, type Requirement, RequirementError, type RequirementImportance, RequirementNotFoundError, RequirementService, RequirementType, type Subcategory, SubcategoryError, SubcategoryNotFoundError, SubcategoryService, type Technology, TechnologyError, TechnologyNotFoundError, type TechnologyRequirements, TechnologyService, type TimeFrame, TimeUnit, TreatmentBenefit, TreatmentBenefitError, type UpdateDocumentTemplateData, blockingConditionSchema, categorySchema, categoryUpdateSchema, certificationLevelSchema, certificationRequirementSchema, certificationSpecialtySchema, contraindicationSchema, createDocumentTemplateSchema, documentElementSchema, documentElementWithoutIdSchema, documentTemplateSchema, procedureFamilySchema, requirementSchema, requirementTypeSchema, requirementUpdateSchema, subcategorySchema, subcategoryUpdateSchema, technologyRequirementsSchema, technologySchema, technologyUpdateSchema, timeUnitSchema, timeframeSchema, treatmentBenefitSchema, updateDocumentTemplateSchema };
5506
+ export { BackofficeError, BlockingCondition, BlockingConditionError, type Brand, BrandService, type Category, CategoryError, CategoryNotFoundError, CategoryService, CertificationLevel, type CertificationRequirement, CertificationSpecialty, CircularReferenceError, Contraindication, ContraindicationError, type CreateDocumentTemplateData, DEFAULT_CERTIFICATION_REQUIREMENT, type DocumentElement, DocumentElementType, type DocumentTemplate, DocumentationTemplateServiceBackoffice, DynamicVariable, HeadingLevel, InvalidBlockingConditionError, InvalidCategoryDataError, InvalidContraindicationError, InvalidHierarchyError, InvalidRequirementDataError, InvalidSubcategoryDataError, InvalidTechnologyDataError, InvalidTimeframeError, InvalidTreatmentBenefitError, ListType, ProcedureFamily, type Product, ProductService, RelationshipError, type Requirement, RequirementError, type RequirementImportance, RequirementNotFoundError, RequirementService, RequirementType, type Subcategory, SubcategoryError, SubcategoryNotFoundError, SubcategoryService, type Technology, TechnologyError, TechnologyNotFoundError, type TechnologyRequirements, TechnologyService, type TimeFrame, TimeUnit, TreatmentBenefit, TreatmentBenefitError, type UpdateDocumentTemplateData, blockingConditionSchemaBackoffice, categorySchema, categoryUpdateSchema, certificationLevelSchema, certificationRequirementSchema, certificationSpecialtySchema, contraindicationSchemaBackoffice, createDocumentTemplateSchema, documentElementSchema, documentElementWithoutIdSchema, documentTemplateSchema, procedureFamilySchemaBackoffice, requirementSchema, requirementTypeSchema, requirementUpdateSchema, subcategorySchema, subcategoryUpdateSchema, technologyRequirementsSchema, technologySchema, technologyUpdateSchema, timeUnitSchemaBackoffice, timeframeSchema, treatmentBenefitSchemaBackoffice, updateDocumentTemplateSchema };
@@ -400,7 +400,7 @@ interface UpdateDocumentTemplateData {
400
400
  /**
401
401
  * Service for managing documentation templates in the backoffice
402
402
  */
403
- declare class DocumentationTemplateService {
403
+ declare class DocumentationTemplateServiceBackoffice {
404
404
  private apiService;
405
405
  /**
406
406
  * Constructor for DocumentationTemplateService
@@ -3243,11 +3243,11 @@ declare const documentTemplateSchema: z.ZodObject<{
3243
3243
  /**
3244
3244
  * Base validation schemas for enums
3245
3245
  */
3246
- declare const blockingConditionSchema: z.ZodNativeEnum<typeof BlockingCondition>;
3247
- declare const contraindicationSchema: z.ZodNativeEnum<typeof Contraindication>;
3248
- declare const treatmentBenefitSchema: z.ZodNativeEnum<typeof TreatmentBenefit>;
3249
- declare const procedureFamilySchema: z.ZodNativeEnum<typeof ProcedureFamily>;
3250
- declare const timeUnitSchema: z.ZodNativeEnum<typeof TimeUnit>;
3246
+ declare const blockingConditionSchemaBackoffice: z.ZodNativeEnum<typeof BlockingCondition>;
3247
+ declare const contraindicationSchemaBackoffice: z.ZodNativeEnum<typeof Contraindication>;
3248
+ declare const treatmentBenefitSchemaBackoffice: z.ZodNativeEnum<typeof TreatmentBenefit>;
3249
+ declare const procedureFamilySchemaBackoffice: z.ZodNativeEnum<typeof ProcedureFamily>;
3250
+ declare const timeUnitSchemaBackoffice: z.ZodNativeEnum<typeof TimeUnit>;
3251
3251
  declare const requirementTypeSchema: z.ZodNativeEnum<typeof RequirementType>;
3252
3252
  declare const certificationLevelSchema: z.ZodNativeEnum<typeof CertificationLevel>;
3253
3253
  declare const certificationSpecialtySchema: z.ZodNativeEnum<typeof CertificationSpecialty>;
@@ -5503,4 +5503,4 @@ declare class InvalidTreatmentBenefitError extends TreatmentBenefitError {
5503
5503
  constructor(benefit: string);
5504
5504
  }
5505
5505
 
5506
- export { BackofficeError, BlockingCondition, BlockingConditionError, type Brand, BrandService, type Category, CategoryError, CategoryNotFoundError, CategoryService, CertificationLevel, type CertificationRequirement, CertificationSpecialty, CircularReferenceError, Contraindication, ContraindicationError, type CreateDocumentTemplateData, DEFAULT_CERTIFICATION_REQUIREMENT, type DocumentElement, DocumentElementType, type DocumentTemplate, DocumentationTemplateService, DynamicVariable, HeadingLevel, InvalidBlockingConditionError, InvalidCategoryDataError, InvalidContraindicationError, InvalidHierarchyError, InvalidRequirementDataError, InvalidSubcategoryDataError, InvalidTechnologyDataError, InvalidTimeframeError, InvalidTreatmentBenefitError, ListType, ProcedureFamily, type Product, ProductService, RelationshipError, type Requirement, RequirementError, type RequirementImportance, RequirementNotFoundError, RequirementService, RequirementType, type Subcategory, SubcategoryError, SubcategoryNotFoundError, SubcategoryService, type Technology, TechnologyError, TechnologyNotFoundError, type TechnologyRequirements, TechnologyService, type TimeFrame, TimeUnit, TreatmentBenefit, TreatmentBenefitError, type UpdateDocumentTemplateData, blockingConditionSchema, categorySchema, categoryUpdateSchema, certificationLevelSchema, certificationRequirementSchema, certificationSpecialtySchema, contraindicationSchema, createDocumentTemplateSchema, documentElementSchema, documentElementWithoutIdSchema, documentTemplateSchema, procedureFamilySchema, requirementSchema, requirementTypeSchema, requirementUpdateSchema, subcategorySchema, subcategoryUpdateSchema, technologyRequirementsSchema, technologySchema, technologyUpdateSchema, timeUnitSchema, timeframeSchema, treatmentBenefitSchema, updateDocumentTemplateSchema };
5506
+ export { BackofficeError, BlockingCondition, BlockingConditionError, type Brand, BrandService, type Category, CategoryError, CategoryNotFoundError, CategoryService, CertificationLevel, type CertificationRequirement, CertificationSpecialty, CircularReferenceError, Contraindication, ContraindicationError, type CreateDocumentTemplateData, DEFAULT_CERTIFICATION_REQUIREMENT, type DocumentElement, DocumentElementType, type DocumentTemplate, DocumentationTemplateServiceBackoffice, DynamicVariable, HeadingLevel, InvalidBlockingConditionError, InvalidCategoryDataError, InvalidContraindicationError, InvalidHierarchyError, InvalidRequirementDataError, InvalidSubcategoryDataError, InvalidTechnologyDataError, InvalidTimeframeError, InvalidTreatmentBenefitError, ListType, ProcedureFamily, type Product, ProductService, RelationshipError, type Requirement, RequirementError, type RequirementImportance, RequirementNotFoundError, RequirementService, RequirementType, type Subcategory, SubcategoryError, SubcategoryNotFoundError, SubcategoryService, type Technology, TechnologyError, TechnologyNotFoundError, type TechnologyRequirements, TechnologyService, type TimeFrame, TimeUnit, TreatmentBenefit, TreatmentBenefitError, type UpdateDocumentTemplateData, blockingConditionSchemaBackoffice, categorySchema, categoryUpdateSchema, certificationLevelSchema, certificationRequirementSchema, certificationSpecialtySchema, contraindicationSchemaBackoffice, createDocumentTemplateSchema, documentElementSchema, documentElementWithoutIdSchema, documentTemplateSchema, procedureFamilySchemaBackoffice, requirementSchema, requirementTypeSchema, requirementUpdateSchema, subcategorySchema, subcategoryUpdateSchema, technologyRequirementsSchema, technologySchema, technologyUpdateSchema, timeUnitSchemaBackoffice, timeframeSchema, treatmentBenefitSchemaBackoffice, updateDocumentTemplateSchema };
@@ -34,7 +34,7 @@ __export(index_exports, {
34
34
  ContraindicationError: () => ContraindicationError,
35
35
  DEFAULT_CERTIFICATION_REQUIREMENT: () => DEFAULT_CERTIFICATION_REQUIREMENT2,
36
36
  DocumentElementType: () => DocumentElementType,
37
- DocumentationTemplateService: () => DocumentationTemplateService2,
37
+ DocumentationTemplateServiceBackoffice: () => DocumentationTemplateServiceBackoffice,
38
38
  DynamicVariable: () => DynamicVariable,
39
39
  HeadingLevel: () => HeadingLevel,
40
40
  InvalidBlockingConditionError: () => InvalidBlockingConditionError,
@@ -63,18 +63,18 @@ __export(index_exports, {
63
63
  TimeUnit: () => TimeUnit,
64
64
  TreatmentBenefit: () => TreatmentBenefit,
65
65
  TreatmentBenefitError: () => TreatmentBenefitError,
66
- blockingConditionSchema: () => blockingConditionSchema,
66
+ blockingConditionSchemaBackoffice: () => blockingConditionSchemaBackoffice,
67
67
  categorySchema: () => categorySchema,
68
68
  categoryUpdateSchema: () => categoryUpdateSchema,
69
69
  certificationLevelSchema: () => certificationLevelSchema,
70
70
  certificationRequirementSchema: () => certificationRequirementSchema,
71
71
  certificationSpecialtySchema: () => certificationSpecialtySchema,
72
- contraindicationSchema: () => contraindicationSchema,
72
+ contraindicationSchemaBackoffice: () => contraindicationSchemaBackoffice,
73
73
  createDocumentTemplateSchema: () => createDocumentTemplateSchema,
74
74
  documentElementSchema: () => documentElementSchema,
75
75
  documentElementWithoutIdSchema: () => documentElementWithoutIdSchema,
76
76
  documentTemplateSchema: () => documentTemplateSchema,
77
- procedureFamilySchema: () => procedureFamilySchema,
77
+ procedureFamilySchemaBackoffice: () => procedureFamilySchemaBackoffice,
78
78
  requirementSchema: () => requirementSchema,
79
79
  requirementTypeSchema: () => requirementTypeSchema,
80
80
  requirementUpdateSchema: () => requirementUpdateSchema,
@@ -83,9 +83,9 @@ __export(index_exports, {
83
83
  technologyRequirementsSchema: () => technologyRequirementsSchema,
84
84
  technologySchema: () => technologySchema,
85
85
  technologyUpdateSchema: () => technologyUpdateSchema,
86
- timeUnitSchema: () => timeUnitSchema,
86
+ timeUnitSchemaBackoffice: () => timeUnitSchemaBackoffice,
87
87
  timeframeSchema: () => timeframeSchema,
88
- treatmentBenefitSchema: () => treatmentBenefitSchema,
88
+ treatmentBenefitSchemaBackoffice: () => treatmentBenefitSchemaBackoffice,
89
89
  updateDocumentTemplateSchema: () => updateDocumentTemplateSchema
90
90
  });
91
91
  module.exports = __toCommonJS(index_exports);
@@ -814,7 +814,7 @@ var import_storage2 = require("firebase/storage");
814
814
  var import_firestore5 = require("firebase/firestore");
815
815
 
816
816
  // src/backoffice/services/documentation-template.service.ts
817
- var DocumentationTemplateService2 = class {
817
+ var DocumentationTemplateServiceBackoffice = class {
818
818
  /**
819
819
  * Constructor for DocumentationTemplateService
820
820
  * @param db - Firestore instance
@@ -1746,11 +1746,11 @@ var TreatmentBenefit = /* @__PURE__ */ ((TreatmentBenefit2) => {
1746
1746
 
1747
1747
  // src/backoffice/validations/schemas.ts
1748
1748
  var import_zod2 = require("zod");
1749
- var blockingConditionSchema = import_zod2.z.nativeEnum(BlockingCondition);
1750
- var contraindicationSchema = import_zod2.z.nativeEnum(Contraindication);
1751
- var treatmentBenefitSchema = import_zod2.z.nativeEnum(TreatmentBenefit);
1752
- var procedureFamilySchema = import_zod2.z.nativeEnum(ProcedureFamily);
1753
- var timeUnitSchema = import_zod2.z.nativeEnum(TimeUnit);
1749
+ var blockingConditionSchemaBackoffice = import_zod2.z.nativeEnum(BlockingCondition);
1750
+ var contraindicationSchemaBackoffice = import_zod2.z.nativeEnum(Contraindication);
1751
+ var treatmentBenefitSchemaBackoffice = import_zod2.z.nativeEnum(TreatmentBenefit);
1752
+ var procedureFamilySchemaBackoffice = import_zod2.z.nativeEnum(ProcedureFamily);
1753
+ var timeUnitSchemaBackoffice = import_zod2.z.nativeEnum(TimeUnit);
1754
1754
  var requirementTypeSchema = import_zod2.z.nativeEnum(RequirementType);
1755
1755
  var certificationLevelSchema = import_zod2.z.nativeEnum(CertificationLevel);
1756
1756
  var certificationSpecialtySchema = import_zod2.z.nativeEnum(
@@ -1762,7 +1762,7 @@ var certificationRequirementSchema = import_zod2.z.object({
1762
1762
  });
1763
1763
  var timeframeSchema = import_zod2.z.object({
1764
1764
  duration: import_zod2.z.number().min(1, "Duration must be positive"),
1765
- unit: timeUnitSchema,
1765
+ unit: timeUnitSchemaBackoffice,
1766
1766
  notifyAt: import_zod2.z.array(import_zod2.z.number()).min(1, "At least one notification point is required")
1767
1767
  });
1768
1768
  var requirementSchema = import_zod2.z.object({
@@ -1781,24 +1781,24 @@ var technologySchema = import_zod2.z.object({
1781
1781
  name: import_zod2.z.string().min(1, "Name is required").max(100, "Name is too long"),
1782
1782
  description: import_zod2.z.string().max(1e3, "Description is too long").optional(),
1783
1783
  technicalDetails: import_zod2.z.string().max(2e3, "Technical details are too long").optional(),
1784
- family: procedureFamilySchema,
1784
+ family: procedureFamilySchemaBackoffice,
1785
1785
  categoryId: import_zod2.z.string().min(1, "Category ID is required"),
1786
1786
  subcategoryId: import_zod2.z.string().min(1, "Subcategory ID is required"),
1787
1787
  requirements: technologyRequirementsSchema.default({
1788
1788
  pre: [],
1789
1789
  post: []
1790
1790
  }),
1791
- blockingConditions: import_zod2.z.array(blockingConditionSchema),
1792
- contraindications: import_zod2.z.array(contraindicationSchema),
1791
+ blockingConditions: import_zod2.z.array(blockingConditionSchemaBackoffice),
1792
+ contraindications: import_zod2.z.array(contraindicationSchemaBackoffice),
1793
1793
  documentationTemplates: import_zod2.z.array(documentTemplateSchema),
1794
- benefits: import_zod2.z.array(treatmentBenefitSchema),
1794
+ benefits: import_zod2.z.array(treatmentBenefitSchemaBackoffice),
1795
1795
  certificationRequirement: certificationRequirementSchema,
1796
1796
  isActive: import_zod2.z.boolean().default(true)
1797
1797
  });
1798
1798
  var categorySchema = import_zod2.z.object({
1799
1799
  name: import_zod2.z.string().min(1, "Name is required").max(100, "Name is too long"),
1800
1800
  description: import_zod2.z.string().optional(),
1801
- family: procedureFamilySchema,
1801
+ family: procedureFamilySchemaBackoffice,
1802
1802
  isActive: import_zod2.z.boolean().default(true)
1803
1803
  });
1804
1804
  var subcategorySchema = import_zod2.z.object({
@@ -1973,7 +1973,7 @@ var InvalidTreatmentBenefitError = class extends TreatmentBenefitError {
1973
1973
  ContraindicationError,
1974
1974
  DEFAULT_CERTIFICATION_REQUIREMENT,
1975
1975
  DocumentElementType,
1976
- DocumentationTemplateService,
1976
+ DocumentationTemplateServiceBackoffice,
1977
1977
  DynamicVariable,
1978
1978
  HeadingLevel,
1979
1979
  InvalidBlockingConditionError,
@@ -2002,18 +2002,18 @@ var InvalidTreatmentBenefitError = class extends TreatmentBenefitError {
2002
2002
  TimeUnit,
2003
2003
  TreatmentBenefit,
2004
2004
  TreatmentBenefitError,
2005
- blockingConditionSchema,
2005
+ blockingConditionSchemaBackoffice,
2006
2006
  categorySchema,
2007
2007
  categoryUpdateSchema,
2008
2008
  certificationLevelSchema,
2009
2009
  certificationRequirementSchema,
2010
2010
  certificationSpecialtySchema,
2011
- contraindicationSchema,
2011
+ contraindicationSchemaBackoffice,
2012
2012
  createDocumentTemplateSchema,
2013
2013
  documentElementSchema,
2014
2014
  documentElementWithoutIdSchema,
2015
2015
  documentTemplateSchema,
2016
- procedureFamilySchema,
2016
+ procedureFamilySchemaBackoffice,
2017
2017
  requirementSchema,
2018
2018
  requirementTypeSchema,
2019
2019
  requirementUpdateSchema,
@@ -2022,8 +2022,8 @@ var InvalidTreatmentBenefitError = class extends TreatmentBenefitError {
2022
2022
  technologyRequirementsSchema,
2023
2023
  technologySchema,
2024
2024
  technologyUpdateSchema,
2025
- timeUnitSchema,
2025
+ timeUnitSchemaBackoffice,
2026
2026
  timeframeSchema,
2027
- treatmentBenefitSchema,
2027
+ treatmentBenefitSchemaBackoffice,
2028
2028
  updateDocumentTemplateSchema
2029
2029
  });
@@ -782,7 +782,7 @@ import {
782
782
  } from "firebase/firestore";
783
783
 
784
784
  // src/backoffice/services/documentation-template.service.ts
785
- var DocumentationTemplateService2 = class {
785
+ var DocumentationTemplateServiceBackoffice = class {
786
786
  /**
787
787
  * Constructor for DocumentationTemplateService
788
788
  * @param db - Firestore instance
@@ -1752,11 +1752,11 @@ var TreatmentBenefit = /* @__PURE__ */ ((TreatmentBenefit2) => {
1752
1752
 
1753
1753
  // src/backoffice/validations/schemas.ts
1754
1754
  import { z as z2 } from "zod";
1755
- var blockingConditionSchema = z2.nativeEnum(BlockingCondition);
1756
- var contraindicationSchema = z2.nativeEnum(Contraindication);
1757
- var treatmentBenefitSchema = z2.nativeEnum(TreatmentBenefit);
1758
- var procedureFamilySchema = z2.nativeEnum(ProcedureFamily);
1759
- var timeUnitSchema = z2.nativeEnum(TimeUnit);
1755
+ var blockingConditionSchemaBackoffice = z2.nativeEnum(BlockingCondition);
1756
+ var contraindicationSchemaBackoffice = z2.nativeEnum(Contraindication);
1757
+ var treatmentBenefitSchemaBackoffice = z2.nativeEnum(TreatmentBenefit);
1758
+ var procedureFamilySchemaBackoffice = z2.nativeEnum(ProcedureFamily);
1759
+ var timeUnitSchemaBackoffice = z2.nativeEnum(TimeUnit);
1760
1760
  var requirementTypeSchema = z2.nativeEnum(RequirementType);
1761
1761
  var certificationLevelSchema = z2.nativeEnum(CertificationLevel);
1762
1762
  var certificationSpecialtySchema = z2.nativeEnum(
@@ -1768,7 +1768,7 @@ var certificationRequirementSchema = z2.object({
1768
1768
  });
1769
1769
  var timeframeSchema = z2.object({
1770
1770
  duration: z2.number().min(1, "Duration must be positive"),
1771
- unit: timeUnitSchema,
1771
+ unit: timeUnitSchemaBackoffice,
1772
1772
  notifyAt: z2.array(z2.number()).min(1, "At least one notification point is required")
1773
1773
  });
1774
1774
  var requirementSchema = z2.object({
@@ -1787,24 +1787,24 @@ var technologySchema = z2.object({
1787
1787
  name: z2.string().min(1, "Name is required").max(100, "Name is too long"),
1788
1788
  description: z2.string().max(1e3, "Description is too long").optional(),
1789
1789
  technicalDetails: z2.string().max(2e3, "Technical details are too long").optional(),
1790
- family: procedureFamilySchema,
1790
+ family: procedureFamilySchemaBackoffice,
1791
1791
  categoryId: z2.string().min(1, "Category ID is required"),
1792
1792
  subcategoryId: z2.string().min(1, "Subcategory ID is required"),
1793
1793
  requirements: technologyRequirementsSchema.default({
1794
1794
  pre: [],
1795
1795
  post: []
1796
1796
  }),
1797
- blockingConditions: z2.array(blockingConditionSchema),
1798
- contraindications: z2.array(contraindicationSchema),
1797
+ blockingConditions: z2.array(blockingConditionSchemaBackoffice),
1798
+ contraindications: z2.array(contraindicationSchemaBackoffice),
1799
1799
  documentationTemplates: z2.array(documentTemplateSchema),
1800
- benefits: z2.array(treatmentBenefitSchema),
1800
+ benefits: z2.array(treatmentBenefitSchemaBackoffice),
1801
1801
  certificationRequirement: certificationRequirementSchema,
1802
1802
  isActive: z2.boolean().default(true)
1803
1803
  });
1804
1804
  var categorySchema = z2.object({
1805
1805
  name: z2.string().min(1, "Name is required").max(100, "Name is too long"),
1806
1806
  description: z2.string().optional(),
1807
- family: procedureFamilySchema,
1807
+ family: procedureFamilySchemaBackoffice,
1808
1808
  isActive: z2.boolean().default(true)
1809
1809
  });
1810
1810
  var subcategorySchema = z2.object({
@@ -1978,7 +1978,7 @@ export {
1978
1978
  ContraindicationError,
1979
1979
  DEFAULT_CERTIFICATION_REQUIREMENT2 as DEFAULT_CERTIFICATION_REQUIREMENT,
1980
1980
  DocumentElementType,
1981
- DocumentationTemplateService2 as DocumentationTemplateService,
1981
+ DocumentationTemplateServiceBackoffice,
1982
1982
  DynamicVariable,
1983
1983
  HeadingLevel,
1984
1984
  InvalidBlockingConditionError,
@@ -2007,18 +2007,18 @@ export {
2007
2007
  TimeUnit,
2008
2008
  TreatmentBenefit,
2009
2009
  TreatmentBenefitError,
2010
- blockingConditionSchema,
2010
+ blockingConditionSchemaBackoffice,
2011
2011
  categorySchema,
2012
2012
  categoryUpdateSchema,
2013
2013
  certificationLevelSchema,
2014
2014
  certificationRequirementSchema,
2015
2015
  certificationSpecialtySchema,
2016
- contraindicationSchema,
2016
+ contraindicationSchemaBackoffice,
2017
2017
  createDocumentTemplateSchema,
2018
2018
  documentElementSchema,
2019
2019
  documentElementWithoutIdSchema,
2020
2020
  documentTemplateSchema,
2021
- procedureFamilySchema,
2021
+ procedureFamilySchemaBackoffice,
2022
2022
  requirementSchema,
2023
2023
  requirementTypeSchema,
2024
2024
  requirementUpdateSchema,
@@ -2027,8 +2027,8 @@ export {
2027
2027
  technologyRequirementsSchema,
2028
2028
  technologySchema,
2029
2029
  technologyUpdateSchema,
2030
- timeUnitSchema,
2030
+ timeUnitSchemaBackoffice,
2031
2031
  timeframeSchema,
2032
- treatmentBenefitSchema,
2032
+ treatmentBenefitSchemaBackoffice,
2033
2033
  updateDocumentTemplateSchema
2034
2034
  };
package/dist/index.d.mts CHANGED
@@ -22053,4 +22053,4 @@ declare const getFirebaseApp: () => Promise<FirebaseApp>;
22053
22053
  declare const getFirebaseStorage: () => Promise<FirebaseStorage>;
22054
22054
  declare const getFirebaseFunctions: () => Promise<Functions>;
22055
22055
 
22056
- export { APPOINTMENTS_COLLECTION, type AddAllergyData, type AddBlockingConditionData, type AddContraindicationData, type AddMedicationData, type AddressData, type AdminInfo, type AdminToken, AdminTokenStatus, type Allergy, type AllergySubtype, AllergyType, type AllergyTypeWithSubtype, type Appointment, type AppointmentCancelledNotification, type AppointmentMediaItem, type AppointmentMetadata, type AppointmentReminderNotification, type AppointmentRescheduledProposalNotification, AppointmentService, AppointmentStatus, type AppointmentStatusChangeNotification, AuthService, type BaseDocumentElement, type BaseNotification, BaseService, type BeforeAfterPerZone, type BillingPerZone, type BinaryChoiceElement, CALENDAR_COLLECTION, CLINICS_COLLECTION, CLINIC_ADMINS_COLLECTION, CLINIC_GROUPS_COLLECTION, type CalendarEvent, CalendarEventStatus, type CalendarEventTime, CalendarEventType, CalendarServiceV3, CalendarSyncStatus, type Clinic, type ClinicAdmin, ClinicAdminService, type ClinicAdminSignupData, type ClinicBranchSetupData, type ClinicContactInfo, type ClinicGroup, ClinicGroupService, type ClinicGroupSetupData, type ClinicInfo, type ClinicLocation, ClinicPhotoTag, type ClinicReview, type ClinicReviewInfo, ClinicService, ClinicTag, type ClinicTags, type ContactPerson, CosmeticAllergySubtype, type CreateAdminTokenData, type CreateAppointmentData, type CreateAppointmentHttpData, type CreateAppointmentParams, type CreateBlockingEventParams, type CreateCalendarEventData, type CreateClinicAdminData, type CreateClinicData, type CreateClinicGroupData, type CreateDefaultClinicGroupData, type CreateDocumentTemplateData, type CreateDraftPractitionerData, type CreateManualPatientData, type CreatePatientLocationInfoData, type CreatePatientMedicalInfoData, type CreatePatientProfileData, type CreatePatientSensitiveInfoData, type CreatePatientTokenData, type CreatePractitionerData, type CreatePractitionerInviteData, type CreatePractitionerTokenData, type CreateProcedureData, type CreateSyncedCalendarData, type CreateUserData, DEFAULT_MEDICAL_INFO, DOCTOR_FORMS_SUBCOLLECTION, DOCUMENTATION_TEMPLATES_COLLECTION, type DatePickerElement, type DateRange, type DigitalSignatureElement, type DoctorInfo, type DocumentElement, DocumentElementType, type DocumentTemplate, DocumentationTemplateService, type DynamicTextElement, DynamicVariable, type EmergencyContact, EnvironmentalAllergySubtype, ExternalCalendarService, FILLED_DOCUMENTS_COLLECTION, type FileUploadElement, type FilledDocument, type FilledDocumentFileValue, FilledDocumentService, FilledDocumentStatus, type FinalBilling, type FirebaseUser, FoodAllergySubtype, type FormReminderNotification, type FormSubmissionConfirmationNotification, type GamificationInfo, Gender, type GeneralMessageNotification, type HeadingElement, HeadingLevel, INVITE_TOKENS_COLLECTION, Language, type LinkedFormInfo, type ListElement, ListType, type LocationData, MEDIA_METADATA_COLLECTION, MediaAccessLevel, type MediaMetadata, type MediaResource, MediaService, MediaType, MedicationAllergySubtype, type MultipleChoiceElement, NOTIFICATIONS_COLLECTION, type Notification, NotificationService, NotificationStatus, NotificationType, PATIENTS_COLLECTION, PATIENT_APPOINTMENTS_COLLECTION, PATIENT_LOCATION_INFO_COLLECTION, PATIENT_MEDICAL_HISTORY_COLLECTION, PATIENT_MEDICAL_INFO_COLLECTION, PATIENT_REQUIREMENTS_SUBCOLLECTION_NAME, PATIENT_SENSITIVE_INFO_COLLECTION, PRACTITIONERS_COLLECTION, PRACTITIONER_INVITES_COLLECTION, PROCEDURES_COLLECTION, type ParagraphElement, type PatientClinic, type PatientDoctor, PatientInstructionStatus, type PatientLocationInfo, type PatientMedicalInfo, type PatientProfile, type PatientProfileComplete, type PatientProfileForDoctor, type PatientProfileInfo, type PatientRequirementInstance, type PatientRequirementInstruction, PatientRequirementOverallStatus, type PatientRequirementsFilters, PatientRequirementsService, type PatientReviewInfo, type PatientSensitiveInfo, PatientService, type PatientToken, PatientTokenStatus, type PaymentConfirmationNotification, PaymentStatus, type PostRequirementNotification, PracticeType, type Practitioner, type PractitionerBasicInfo, type PractitionerCertification, type PractitionerClinicProcedures, type PractitionerClinicWorkingHours, type PractitionerInvite, type PractitionerInviteFilters, PractitionerInviteService, PractitionerInviteStatus, type PractitionerProfileInfo, type PractitionerReview, type PractitionerReviewInfo, PractitionerService, PractitionerStatus, type PractitionerToken, PractitionerTokenStatus, type PractitionerWorkingHours, type PreRequirementNotification, type Procedure, type ProcedureCategorization, type ProcedureExtendedInfo, type ProcedureInfo, type ProcedureReview, type ProcedureReviewInfo, ProcedureService, type ProcedureSummaryInfo, type ProposedWorkingHours, REGISTER_TOKENS_COLLECTION, REVIEWS_COLLECTION, type RatingScaleElement, type RequesterInfo, type RequirementInstructionDueNotification, type Review, type ReviewRequestNotification, ReviewService, SYNCED_CALENDARS_COLLECTION, type SearchAppointmentsParams, type SearchCalendarEventsParams, SearchLocationEnum, type SearchPatientsParams, type SignatureElement, type SingleChoiceElement, SubscriptionModel, type SyncedCalendar, type SyncedCalendarEvent, SyncedCalendarProvider, type TextInputElement, type TimeSlot, TimestampUtils, USERS_COLLECTION, USER_FORMS_SUBCOLLECTION, type UpdateAllergyData, type UpdateAppointmentData, type UpdateAppointmentParams, type UpdateBlockingConditionData, type UpdateBlockingEventParams, type UpdateCalendarEventData, type UpdateClinicAdminData, type UpdateClinicData, type UpdateClinicGroupData, type UpdateContraindicationData, type UpdateDocumentTemplateData, type UpdateMedicationData, type UpdatePatientLocationInfoData, type UpdatePatientMedicalInfoData, type UpdatePatientProfileData, type UpdatePatientSensitiveInfoData, type UpdatePractitionerData, type UpdatePractitionerInviteData, type UpdateProcedureData, type UpdateSyncedCalendarData, type UpdateVitalStatsData, type User, UserRole, type ValidationSchema, type VitalStats, type WorkingHours, addAllergySchema, addBlockingConditionSchema, addContraindicationSchema, addMedicationSchema, addressDataSchema, adminInfoSchema, adminTokenSchema, allergySchema, allergySubtypeSchema, appointmentMediaItemSchema, appointmentMetadataSchema, appointmentNotificationSchema, appointmentReminderNotificationSchema, appointmentStatusSchema, baseNotificationSchema, beforeAfterPerZoneSchema, billingPerZoneSchema, blockingConditionSchema, buildPractitionerData, calendarEventSchema, calendarEventTimeSchema, checkEmailExists, cleanupFirebaseUser, clinicAdminOptionsSchema, clinicAdminSchema, clinicAdminSignupSchema, clinicBranchInfoSchema, clinicBranchSetupSchema, clinicContactInfoSchema, clinicGroupSchema, clinicGroupSetupSchema, clinicInfoSchema, clinicLocationSchema, clinicReviewInfoSchema, clinicReviewSchema, clinicSchema, clinicTagsSchema, contactPersonSchema, contraindicationSchema, createAdminTokenSchema, createAppointmentSchema, createBlockingEventSchema, createCalendarEventSchema, createClinicAdminSchema, createClinicGroupSchema, createClinicReviewSchema, createClinicSchema, createDefaultClinicGroupSchema, createDocumentTemplateSchema, createDraftPractitionerSchema, createFilledDocumentDataSchema, createManualPatientSchema, createPatientLocationInfoSchema, createPatientMedicalInfoSchema, createPatientProfileSchema, createPatientSensitiveInfoSchema, createPatientTokenSchema, createPractitionerReviewSchema, createPractitionerSchema, createPractitionerTokenSchema, createProcedureReviewSchema, createProcedureSchema, createReviewSchema, createUserOptionsSchema, doctorInfoSchema, documentElementSchema, documentElementWithoutIdSchema, documentTemplateSchema, emailSchema, emergencyContactSchema, extractErrorMessage, filledDocumentSchema, filledDocumentStatusSchema, finalBillingSchema, finalizedDetailsSchema, gamificationSchema, getFirebaseApp, getFirebaseAuth, getFirebaseDB, getFirebaseFunctions, getFirebaseInstance, getFirebaseStorage, handleFirebaseError, handleSignupError, initializeFirebase, isPractitionerDataComplete, linkedFormInfoSchema, locationDataSchema, mediaResourceSchema, mediaTypeSchema, medicationSchema, notificationSchema, passwordSchema, patientClinicSchema, patientDoctorSchema, patientInstructionStatusSchema, patientLocationInfoSchema, patientMedicalInfoSchema, patientProfileInfoSchema, patientProfileSchema, patientRequirementInstanceSchema, patientRequirementInstructionSchema, patientRequirementOverallStatusSchema, patientReviewInfoSchema, patientSensitiveInfoSchema, patientTokenSchema, paymentStatusSchema, postRequirementNotificationSchema, practitionerBasicInfoSchema, practitionerCertificationSchema, practitionerClinicWorkingHoursSchema, practitionerProfileInfoSchema, practitionerReviewInfoSchema, practitionerReviewSchema, practitionerSchema, practitionerSignupSchema, practitionerTokenSchema, practitionerWorkingHoursSchema, preRequirementNotificationSchema, procedureCategorizationSchema, procedureExtendedInfoSchema, procedureInfoSchema, procedureReviewInfoSchema, procedureReviewSchema, procedureSchema, procedureSummaryInfoSchema, requesterInfoSchema, requirementImportanceSchema, requirementInstructionDueNotificationSchema, rescheduleAppointmentSchema, reviewSchema, searchAppointmentsSchema, searchPatientsSchema, sharedClinicContactInfoSchema, sharedClinicLocationSchema, syncedCalendarEventSchema, timeSlotSchema, timestampSchema, updateAllergySchema, updateAppointmentSchema, updateBlockingConditionSchema, updateBlockingEventSchema, updateCalendarEventSchema, updateClinicAdminSchema, updateClinicGroupSchema, updateClinicSchema, updateContraindicationSchema, updateDocumentTemplateSchema, updateFilledDocumentDataSchema, updateMedicationSchema, updatePatientInstructionStatusSchema, updatePatientMedicalInfoSchema, updateProcedureSchema, updateVitalStatsSchema, userRoleSchema, userRolesSchema, userSchema, validatePractitionerProfileData, vitalStatsSchema, workingHoursSchema };
22056
+ export { APPOINTMENTS_COLLECTION, type AddAllergyData, type AddBlockingConditionData, type AddContraindicationData, type AddMedicationData, type AddressData, type AdminInfo, type AdminToken, AdminTokenStatus, type Allergy, type AllergySubtype, AllergyType, type AllergyTypeWithSubtype, type Appointment, type AppointmentCancelledNotification, type AppointmentMediaItem, type AppointmentMetadata, type AppointmentReminderNotification, type AppointmentRescheduledProposalNotification, AppointmentService, AppointmentStatus, type AppointmentStatusChangeNotification, AuthService, type BaseDocumentElement, type BaseNotification, BaseService, type BeforeAfterPerZone, type BillingPerZone, type BinaryChoiceElement, CALENDAR_COLLECTION, CLINICS_COLLECTION, CLINIC_ADMINS_COLLECTION, CLINIC_GROUPS_COLLECTION, type CalendarEvent, CalendarEventStatus, type CalendarEventTime, CalendarEventType, CalendarServiceV2, CalendarServiceV3, CalendarSyncStatus, type Clinic, type ClinicAdmin, ClinicAdminService, type ClinicAdminSignupData, type ClinicBranchSetupData, type ClinicContactInfo, type ClinicGroup, ClinicGroupService, type ClinicGroupSetupData, type ClinicInfo, type ClinicLocation, ClinicPhotoTag, type ClinicReview, type ClinicReviewInfo, ClinicService, ClinicTag, type ClinicTags, type ContactPerson, CosmeticAllergySubtype, type CreateAdminTokenData, type CreateAppointmentData, type CreateAppointmentHttpData, type CreateAppointmentParams, type CreateBlockingEventParams, type CreateCalendarEventData, type CreateClinicAdminData, type CreateClinicData, type CreateClinicGroupData, type CreateDefaultClinicGroupData, type CreateDocumentTemplateData, type CreateDraftPractitionerData, type CreateManualPatientData, type CreatePatientLocationInfoData, type CreatePatientMedicalInfoData, type CreatePatientProfileData, type CreatePatientSensitiveInfoData, type CreatePatientTokenData, type CreatePractitionerData, type CreatePractitionerInviteData, type CreatePractitionerTokenData, type CreateProcedureData, type CreateSyncedCalendarData, type CreateUserData, DEFAULT_MEDICAL_INFO, DOCTOR_FORMS_SUBCOLLECTION, DOCUMENTATION_TEMPLATES_COLLECTION, type DatePickerElement, type DateRange, type DigitalSignatureElement, type DoctorInfo, type DocumentElement, DocumentElementType, type DocumentTemplate, DocumentationTemplateService, type DynamicTextElement, DynamicVariable, type EmergencyContact, EnvironmentalAllergySubtype, ExternalCalendarService, FILLED_DOCUMENTS_COLLECTION, type FileUploadElement, type FilledDocument, type FilledDocumentFileValue, FilledDocumentService, FilledDocumentStatus, type FinalBilling, type FirebaseUser, FoodAllergySubtype, type FormReminderNotification, type FormSubmissionConfirmationNotification, type GamificationInfo, Gender, type GeneralMessageNotification, type HeadingElement, HeadingLevel, INVITE_TOKENS_COLLECTION, Language, type LinkedFormInfo, type ListElement, ListType, type LocationData, MEDIA_METADATA_COLLECTION, MediaAccessLevel, type MediaMetadata, type MediaResource, MediaService, MediaType, MedicationAllergySubtype, type MultipleChoiceElement, NOTIFICATIONS_COLLECTION, type Notification, NotificationService, NotificationStatus, NotificationType, PATIENTS_COLLECTION, PATIENT_APPOINTMENTS_COLLECTION, PATIENT_LOCATION_INFO_COLLECTION, PATIENT_MEDICAL_HISTORY_COLLECTION, PATIENT_MEDICAL_INFO_COLLECTION, PATIENT_REQUIREMENTS_SUBCOLLECTION_NAME, PATIENT_SENSITIVE_INFO_COLLECTION, PRACTITIONERS_COLLECTION, PRACTITIONER_INVITES_COLLECTION, PROCEDURES_COLLECTION, type ParagraphElement, type PatientClinic, type PatientDoctor, PatientInstructionStatus, type PatientLocationInfo, type PatientMedicalInfo, type PatientProfile, type PatientProfileComplete, type PatientProfileForDoctor, type PatientProfileInfo, type PatientRequirementInstance, type PatientRequirementInstruction, PatientRequirementOverallStatus, type PatientRequirementsFilters, PatientRequirementsService, type PatientReviewInfo, type PatientSensitiveInfo, PatientService, type PatientToken, PatientTokenStatus, type PaymentConfirmationNotification, PaymentStatus, type PostRequirementNotification, PracticeType, type Practitioner, type PractitionerBasicInfo, type PractitionerCertification, type PractitionerClinicProcedures, type PractitionerClinicWorkingHours, type PractitionerInvite, type PractitionerInviteFilters, PractitionerInviteService, PractitionerInviteStatus, type PractitionerProfileInfo, type PractitionerReview, type PractitionerReviewInfo, PractitionerService, PractitionerStatus, type PractitionerToken, PractitionerTokenStatus, type PractitionerWorkingHours, type PreRequirementNotification, type Procedure, type ProcedureCategorization, type ProcedureExtendedInfo, type ProcedureInfo, type ProcedureReview, type ProcedureReviewInfo, ProcedureService, type ProcedureSummaryInfo, type ProposedWorkingHours, REGISTER_TOKENS_COLLECTION, REVIEWS_COLLECTION, type RatingScaleElement, type RequesterInfo, type RequirementInstructionDueNotification, type Review, type ReviewRequestNotification, ReviewService, SYNCED_CALENDARS_COLLECTION, type SearchAppointmentsParams, type SearchCalendarEventsParams, SearchLocationEnum, type SearchPatientsParams, type SignatureElement, type SingleChoiceElement, SubscriptionModel, type SyncedCalendar, type SyncedCalendarEvent, SyncedCalendarProvider, type TextInputElement, type TimeSlot, TimestampUtils, USERS_COLLECTION, USER_FORMS_SUBCOLLECTION, type UpdateAllergyData, type UpdateAppointmentData, type UpdateAppointmentParams, type UpdateBlockingConditionData, type UpdateBlockingEventParams, type UpdateCalendarEventData, type UpdateClinicAdminData, type UpdateClinicData, type UpdateClinicGroupData, type UpdateContraindicationData, type UpdateDocumentTemplateData, type UpdateMedicationData, type UpdatePatientLocationInfoData, type UpdatePatientMedicalInfoData, type UpdatePatientProfileData, type UpdatePatientSensitiveInfoData, type UpdatePractitionerData, type UpdatePractitionerInviteData, type UpdateProcedureData, type UpdateSyncedCalendarData, type UpdateVitalStatsData, type User, UserRole, UserService, type ValidationSchema, type VitalStats, type WorkingHours, addAllergySchema, addBlockingConditionSchema, addContraindicationSchema, addMedicationSchema, addressDataSchema, adminInfoSchema, adminTokenSchema, allergySchema, allergySubtypeSchema, appointmentMediaItemSchema, appointmentMetadataSchema, appointmentNotificationSchema, appointmentReminderNotificationSchema, appointmentStatusSchema, baseNotificationSchema, beforeAfterPerZoneSchema, billingPerZoneSchema, blockingConditionSchema, buildPractitionerData, calendarEventSchema, calendarEventTimeSchema, checkEmailExists, cleanupFirebaseUser, clinicAdminOptionsSchema, clinicAdminSchema, clinicAdminSignupSchema, clinicBranchInfoSchema, clinicBranchSetupSchema, clinicContactInfoSchema, clinicGroupSchema, clinicGroupSetupSchema, clinicInfoSchema, clinicLocationSchema, clinicReviewInfoSchema, clinicReviewSchema, clinicSchema, clinicTagsSchema, contactPersonSchema, contraindicationSchema, createAdminTokenSchema, createAppointmentSchema, createBlockingEventSchema, createCalendarEventSchema, createClinicAdminSchema, createClinicGroupSchema, createClinicReviewSchema, createClinicSchema, createDefaultClinicGroupSchema, createDocumentTemplateSchema, createDraftPractitionerSchema, createFilledDocumentDataSchema, createManualPatientSchema, createPatientLocationInfoSchema, createPatientMedicalInfoSchema, createPatientProfileSchema, createPatientSensitiveInfoSchema, createPatientTokenSchema, createPractitionerReviewSchema, createPractitionerSchema, createPractitionerTokenSchema, createProcedureReviewSchema, createProcedureSchema, createReviewSchema, createUserOptionsSchema, doctorInfoSchema, documentElementSchema, documentElementWithoutIdSchema, documentTemplateSchema, emailSchema, emergencyContactSchema, extractErrorMessage, filledDocumentSchema, filledDocumentStatusSchema, finalBillingSchema, finalizedDetailsSchema, gamificationSchema, getFirebaseApp, getFirebaseAuth, getFirebaseDB, getFirebaseFunctions, getFirebaseInstance, getFirebaseStorage, handleFirebaseError, handleSignupError, initializeFirebase, isPractitionerDataComplete, linkedFormInfoSchema, locationDataSchema, mediaResourceSchema, mediaTypeSchema, medicationSchema, notificationSchema, passwordSchema, patientClinicSchema, patientDoctorSchema, patientInstructionStatusSchema, patientLocationInfoSchema, patientMedicalInfoSchema, patientProfileInfoSchema, patientProfileSchema, patientRequirementInstanceSchema, patientRequirementInstructionSchema, patientRequirementOverallStatusSchema, patientReviewInfoSchema, patientSensitiveInfoSchema, patientTokenSchema, paymentStatusSchema, postRequirementNotificationSchema, practitionerBasicInfoSchema, practitionerCertificationSchema, practitionerClinicWorkingHoursSchema, practitionerProfileInfoSchema, practitionerReviewInfoSchema, practitionerReviewSchema, practitionerSchema, practitionerSignupSchema, practitionerTokenSchema, practitionerWorkingHoursSchema, preRequirementNotificationSchema, procedureCategorizationSchema, procedureExtendedInfoSchema, procedureInfoSchema, procedureReviewInfoSchema, procedureReviewSchema, procedureSchema, procedureSummaryInfoSchema, requesterInfoSchema, requirementImportanceSchema, requirementInstructionDueNotificationSchema, rescheduleAppointmentSchema, reviewSchema, searchAppointmentsSchema, searchPatientsSchema, sharedClinicContactInfoSchema, sharedClinicLocationSchema, syncedCalendarEventSchema, timeSlotSchema, timestampSchema, updateAllergySchema, updateAppointmentSchema, updateBlockingConditionSchema, updateBlockingEventSchema, updateCalendarEventSchema, updateClinicAdminSchema, updateClinicGroupSchema, updateClinicSchema, updateContraindicationSchema, updateDocumentTemplateSchema, updateFilledDocumentDataSchema, updateMedicationSchema, updatePatientInstructionStatusSchema, updatePatientMedicalInfoSchema, updateProcedureSchema, updateVitalStatsSchema, userRoleSchema, userRolesSchema, userSchema, validatePractitionerProfileData, vitalStatsSchema, workingHoursSchema };
package/dist/index.d.ts CHANGED
@@ -22053,4 +22053,4 @@ declare const getFirebaseApp: () => Promise<FirebaseApp>;
22053
22053
  declare const getFirebaseStorage: () => Promise<FirebaseStorage>;
22054
22054
  declare const getFirebaseFunctions: () => Promise<Functions>;
22055
22055
 
22056
- export { APPOINTMENTS_COLLECTION, type AddAllergyData, type AddBlockingConditionData, type AddContraindicationData, type AddMedicationData, type AddressData, type AdminInfo, type AdminToken, AdminTokenStatus, type Allergy, type AllergySubtype, AllergyType, type AllergyTypeWithSubtype, type Appointment, type AppointmentCancelledNotification, type AppointmentMediaItem, type AppointmentMetadata, type AppointmentReminderNotification, type AppointmentRescheduledProposalNotification, AppointmentService, AppointmentStatus, type AppointmentStatusChangeNotification, AuthService, type BaseDocumentElement, type BaseNotification, BaseService, type BeforeAfterPerZone, type BillingPerZone, type BinaryChoiceElement, CALENDAR_COLLECTION, CLINICS_COLLECTION, CLINIC_ADMINS_COLLECTION, CLINIC_GROUPS_COLLECTION, type CalendarEvent, CalendarEventStatus, type CalendarEventTime, CalendarEventType, CalendarServiceV3, CalendarSyncStatus, type Clinic, type ClinicAdmin, ClinicAdminService, type ClinicAdminSignupData, type ClinicBranchSetupData, type ClinicContactInfo, type ClinicGroup, ClinicGroupService, type ClinicGroupSetupData, type ClinicInfo, type ClinicLocation, ClinicPhotoTag, type ClinicReview, type ClinicReviewInfo, ClinicService, ClinicTag, type ClinicTags, type ContactPerson, CosmeticAllergySubtype, type CreateAdminTokenData, type CreateAppointmentData, type CreateAppointmentHttpData, type CreateAppointmentParams, type CreateBlockingEventParams, type CreateCalendarEventData, type CreateClinicAdminData, type CreateClinicData, type CreateClinicGroupData, type CreateDefaultClinicGroupData, type CreateDocumentTemplateData, type CreateDraftPractitionerData, type CreateManualPatientData, type CreatePatientLocationInfoData, type CreatePatientMedicalInfoData, type CreatePatientProfileData, type CreatePatientSensitiveInfoData, type CreatePatientTokenData, type CreatePractitionerData, type CreatePractitionerInviteData, type CreatePractitionerTokenData, type CreateProcedureData, type CreateSyncedCalendarData, type CreateUserData, DEFAULT_MEDICAL_INFO, DOCTOR_FORMS_SUBCOLLECTION, DOCUMENTATION_TEMPLATES_COLLECTION, type DatePickerElement, type DateRange, type DigitalSignatureElement, type DoctorInfo, type DocumentElement, DocumentElementType, type DocumentTemplate, DocumentationTemplateService, type DynamicTextElement, DynamicVariable, type EmergencyContact, EnvironmentalAllergySubtype, ExternalCalendarService, FILLED_DOCUMENTS_COLLECTION, type FileUploadElement, type FilledDocument, type FilledDocumentFileValue, FilledDocumentService, FilledDocumentStatus, type FinalBilling, type FirebaseUser, FoodAllergySubtype, type FormReminderNotification, type FormSubmissionConfirmationNotification, type GamificationInfo, Gender, type GeneralMessageNotification, type HeadingElement, HeadingLevel, INVITE_TOKENS_COLLECTION, Language, type LinkedFormInfo, type ListElement, ListType, type LocationData, MEDIA_METADATA_COLLECTION, MediaAccessLevel, type MediaMetadata, type MediaResource, MediaService, MediaType, MedicationAllergySubtype, type MultipleChoiceElement, NOTIFICATIONS_COLLECTION, type Notification, NotificationService, NotificationStatus, NotificationType, PATIENTS_COLLECTION, PATIENT_APPOINTMENTS_COLLECTION, PATIENT_LOCATION_INFO_COLLECTION, PATIENT_MEDICAL_HISTORY_COLLECTION, PATIENT_MEDICAL_INFO_COLLECTION, PATIENT_REQUIREMENTS_SUBCOLLECTION_NAME, PATIENT_SENSITIVE_INFO_COLLECTION, PRACTITIONERS_COLLECTION, PRACTITIONER_INVITES_COLLECTION, PROCEDURES_COLLECTION, type ParagraphElement, type PatientClinic, type PatientDoctor, PatientInstructionStatus, type PatientLocationInfo, type PatientMedicalInfo, type PatientProfile, type PatientProfileComplete, type PatientProfileForDoctor, type PatientProfileInfo, type PatientRequirementInstance, type PatientRequirementInstruction, PatientRequirementOverallStatus, type PatientRequirementsFilters, PatientRequirementsService, type PatientReviewInfo, type PatientSensitiveInfo, PatientService, type PatientToken, PatientTokenStatus, type PaymentConfirmationNotification, PaymentStatus, type PostRequirementNotification, PracticeType, type Practitioner, type PractitionerBasicInfo, type PractitionerCertification, type PractitionerClinicProcedures, type PractitionerClinicWorkingHours, type PractitionerInvite, type PractitionerInviteFilters, PractitionerInviteService, PractitionerInviteStatus, type PractitionerProfileInfo, type PractitionerReview, type PractitionerReviewInfo, PractitionerService, PractitionerStatus, type PractitionerToken, PractitionerTokenStatus, type PractitionerWorkingHours, type PreRequirementNotification, type Procedure, type ProcedureCategorization, type ProcedureExtendedInfo, type ProcedureInfo, type ProcedureReview, type ProcedureReviewInfo, ProcedureService, type ProcedureSummaryInfo, type ProposedWorkingHours, REGISTER_TOKENS_COLLECTION, REVIEWS_COLLECTION, type RatingScaleElement, type RequesterInfo, type RequirementInstructionDueNotification, type Review, type ReviewRequestNotification, ReviewService, SYNCED_CALENDARS_COLLECTION, type SearchAppointmentsParams, type SearchCalendarEventsParams, SearchLocationEnum, type SearchPatientsParams, type SignatureElement, type SingleChoiceElement, SubscriptionModel, type SyncedCalendar, type SyncedCalendarEvent, SyncedCalendarProvider, type TextInputElement, type TimeSlot, TimestampUtils, USERS_COLLECTION, USER_FORMS_SUBCOLLECTION, type UpdateAllergyData, type UpdateAppointmentData, type UpdateAppointmentParams, type UpdateBlockingConditionData, type UpdateBlockingEventParams, type UpdateCalendarEventData, type UpdateClinicAdminData, type UpdateClinicData, type UpdateClinicGroupData, type UpdateContraindicationData, type UpdateDocumentTemplateData, type UpdateMedicationData, type UpdatePatientLocationInfoData, type UpdatePatientMedicalInfoData, type UpdatePatientProfileData, type UpdatePatientSensitiveInfoData, type UpdatePractitionerData, type UpdatePractitionerInviteData, type UpdateProcedureData, type UpdateSyncedCalendarData, type UpdateVitalStatsData, type User, UserRole, type ValidationSchema, type VitalStats, type WorkingHours, addAllergySchema, addBlockingConditionSchema, addContraindicationSchema, addMedicationSchema, addressDataSchema, adminInfoSchema, adminTokenSchema, allergySchema, allergySubtypeSchema, appointmentMediaItemSchema, appointmentMetadataSchema, appointmentNotificationSchema, appointmentReminderNotificationSchema, appointmentStatusSchema, baseNotificationSchema, beforeAfterPerZoneSchema, billingPerZoneSchema, blockingConditionSchema, buildPractitionerData, calendarEventSchema, calendarEventTimeSchema, checkEmailExists, cleanupFirebaseUser, clinicAdminOptionsSchema, clinicAdminSchema, clinicAdminSignupSchema, clinicBranchInfoSchema, clinicBranchSetupSchema, clinicContactInfoSchema, clinicGroupSchema, clinicGroupSetupSchema, clinicInfoSchema, clinicLocationSchema, clinicReviewInfoSchema, clinicReviewSchema, clinicSchema, clinicTagsSchema, contactPersonSchema, contraindicationSchema, createAdminTokenSchema, createAppointmentSchema, createBlockingEventSchema, createCalendarEventSchema, createClinicAdminSchema, createClinicGroupSchema, createClinicReviewSchema, createClinicSchema, createDefaultClinicGroupSchema, createDocumentTemplateSchema, createDraftPractitionerSchema, createFilledDocumentDataSchema, createManualPatientSchema, createPatientLocationInfoSchema, createPatientMedicalInfoSchema, createPatientProfileSchema, createPatientSensitiveInfoSchema, createPatientTokenSchema, createPractitionerReviewSchema, createPractitionerSchema, createPractitionerTokenSchema, createProcedureReviewSchema, createProcedureSchema, createReviewSchema, createUserOptionsSchema, doctorInfoSchema, documentElementSchema, documentElementWithoutIdSchema, documentTemplateSchema, emailSchema, emergencyContactSchema, extractErrorMessage, filledDocumentSchema, filledDocumentStatusSchema, finalBillingSchema, finalizedDetailsSchema, gamificationSchema, getFirebaseApp, getFirebaseAuth, getFirebaseDB, getFirebaseFunctions, getFirebaseInstance, getFirebaseStorage, handleFirebaseError, handleSignupError, initializeFirebase, isPractitionerDataComplete, linkedFormInfoSchema, locationDataSchema, mediaResourceSchema, mediaTypeSchema, medicationSchema, notificationSchema, passwordSchema, patientClinicSchema, patientDoctorSchema, patientInstructionStatusSchema, patientLocationInfoSchema, patientMedicalInfoSchema, patientProfileInfoSchema, patientProfileSchema, patientRequirementInstanceSchema, patientRequirementInstructionSchema, patientRequirementOverallStatusSchema, patientReviewInfoSchema, patientSensitiveInfoSchema, patientTokenSchema, paymentStatusSchema, postRequirementNotificationSchema, practitionerBasicInfoSchema, practitionerCertificationSchema, practitionerClinicWorkingHoursSchema, practitionerProfileInfoSchema, practitionerReviewInfoSchema, practitionerReviewSchema, practitionerSchema, practitionerSignupSchema, practitionerTokenSchema, practitionerWorkingHoursSchema, preRequirementNotificationSchema, procedureCategorizationSchema, procedureExtendedInfoSchema, procedureInfoSchema, procedureReviewInfoSchema, procedureReviewSchema, procedureSchema, procedureSummaryInfoSchema, requesterInfoSchema, requirementImportanceSchema, requirementInstructionDueNotificationSchema, rescheduleAppointmentSchema, reviewSchema, searchAppointmentsSchema, searchPatientsSchema, sharedClinicContactInfoSchema, sharedClinicLocationSchema, syncedCalendarEventSchema, timeSlotSchema, timestampSchema, updateAllergySchema, updateAppointmentSchema, updateBlockingConditionSchema, updateBlockingEventSchema, updateCalendarEventSchema, updateClinicAdminSchema, updateClinicGroupSchema, updateClinicSchema, updateContraindicationSchema, updateDocumentTemplateSchema, updateFilledDocumentDataSchema, updateMedicationSchema, updatePatientInstructionStatusSchema, updatePatientMedicalInfoSchema, updateProcedureSchema, updateVitalStatsSchema, userRoleSchema, userRolesSchema, userSchema, validatePractitionerProfileData, vitalStatsSchema, workingHoursSchema };
22056
+ export { APPOINTMENTS_COLLECTION, type AddAllergyData, type AddBlockingConditionData, type AddContraindicationData, type AddMedicationData, type AddressData, type AdminInfo, type AdminToken, AdminTokenStatus, type Allergy, type AllergySubtype, AllergyType, type AllergyTypeWithSubtype, type Appointment, type AppointmentCancelledNotification, type AppointmentMediaItem, type AppointmentMetadata, type AppointmentReminderNotification, type AppointmentRescheduledProposalNotification, AppointmentService, AppointmentStatus, type AppointmentStatusChangeNotification, AuthService, type BaseDocumentElement, type BaseNotification, BaseService, type BeforeAfterPerZone, type BillingPerZone, type BinaryChoiceElement, CALENDAR_COLLECTION, CLINICS_COLLECTION, CLINIC_ADMINS_COLLECTION, CLINIC_GROUPS_COLLECTION, type CalendarEvent, CalendarEventStatus, type CalendarEventTime, CalendarEventType, CalendarServiceV2, CalendarServiceV3, CalendarSyncStatus, type Clinic, type ClinicAdmin, ClinicAdminService, type ClinicAdminSignupData, type ClinicBranchSetupData, type ClinicContactInfo, type ClinicGroup, ClinicGroupService, type ClinicGroupSetupData, type ClinicInfo, type ClinicLocation, ClinicPhotoTag, type ClinicReview, type ClinicReviewInfo, ClinicService, ClinicTag, type ClinicTags, type ContactPerson, CosmeticAllergySubtype, type CreateAdminTokenData, type CreateAppointmentData, type CreateAppointmentHttpData, type CreateAppointmentParams, type CreateBlockingEventParams, type CreateCalendarEventData, type CreateClinicAdminData, type CreateClinicData, type CreateClinicGroupData, type CreateDefaultClinicGroupData, type CreateDocumentTemplateData, type CreateDraftPractitionerData, type CreateManualPatientData, type CreatePatientLocationInfoData, type CreatePatientMedicalInfoData, type CreatePatientProfileData, type CreatePatientSensitiveInfoData, type CreatePatientTokenData, type CreatePractitionerData, type CreatePractitionerInviteData, type CreatePractitionerTokenData, type CreateProcedureData, type CreateSyncedCalendarData, type CreateUserData, DEFAULT_MEDICAL_INFO, DOCTOR_FORMS_SUBCOLLECTION, DOCUMENTATION_TEMPLATES_COLLECTION, type DatePickerElement, type DateRange, type DigitalSignatureElement, type DoctorInfo, type DocumentElement, DocumentElementType, type DocumentTemplate, DocumentationTemplateService, type DynamicTextElement, DynamicVariable, type EmergencyContact, EnvironmentalAllergySubtype, ExternalCalendarService, FILLED_DOCUMENTS_COLLECTION, type FileUploadElement, type FilledDocument, type FilledDocumentFileValue, FilledDocumentService, FilledDocumentStatus, type FinalBilling, type FirebaseUser, FoodAllergySubtype, type FormReminderNotification, type FormSubmissionConfirmationNotification, type GamificationInfo, Gender, type GeneralMessageNotification, type HeadingElement, HeadingLevel, INVITE_TOKENS_COLLECTION, Language, type LinkedFormInfo, type ListElement, ListType, type LocationData, MEDIA_METADATA_COLLECTION, MediaAccessLevel, type MediaMetadata, type MediaResource, MediaService, MediaType, MedicationAllergySubtype, type MultipleChoiceElement, NOTIFICATIONS_COLLECTION, type Notification, NotificationService, NotificationStatus, NotificationType, PATIENTS_COLLECTION, PATIENT_APPOINTMENTS_COLLECTION, PATIENT_LOCATION_INFO_COLLECTION, PATIENT_MEDICAL_HISTORY_COLLECTION, PATIENT_MEDICAL_INFO_COLLECTION, PATIENT_REQUIREMENTS_SUBCOLLECTION_NAME, PATIENT_SENSITIVE_INFO_COLLECTION, PRACTITIONERS_COLLECTION, PRACTITIONER_INVITES_COLLECTION, PROCEDURES_COLLECTION, type ParagraphElement, type PatientClinic, type PatientDoctor, PatientInstructionStatus, type PatientLocationInfo, type PatientMedicalInfo, type PatientProfile, type PatientProfileComplete, type PatientProfileForDoctor, type PatientProfileInfo, type PatientRequirementInstance, type PatientRequirementInstruction, PatientRequirementOverallStatus, type PatientRequirementsFilters, PatientRequirementsService, type PatientReviewInfo, type PatientSensitiveInfo, PatientService, type PatientToken, PatientTokenStatus, type PaymentConfirmationNotification, PaymentStatus, type PostRequirementNotification, PracticeType, type Practitioner, type PractitionerBasicInfo, type PractitionerCertification, type PractitionerClinicProcedures, type PractitionerClinicWorkingHours, type PractitionerInvite, type PractitionerInviteFilters, PractitionerInviteService, PractitionerInviteStatus, type PractitionerProfileInfo, type PractitionerReview, type PractitionerReviewInfo, PractitionerService, PractitionerStatus, type PractitionerToken, PractitionerTokenStatus, type PractitionerWorkingHours, type PreRequirementNotification, type Procedure, type ProcedureCategorization, type ProcedureExtendedInfo, type ProcedureInfo, type ProcedureReview, type ProcedureReviewInfo, ProcedureService, type ProcedureSummaryInfo, type ProposedWorkingHours, REGISTER_TOKENS_COLLECTION, REVIEWS_COLLECTION, type RatingScaleElement, type RequesterInfo, type RequirementInstructionDueNotification, type Review, type ReviewRequestNotification, ReviewService, SYNCED_CALENDARS_COLLECTION, type SearchAppointmentsParams, type SearchCalendarEventsParams, SearchLocationEnum, type SearchPatientsParams, type SignatureElement, type SingleChoiceElement, SubscriptionModel, type SyncedCalendar, type SyncedCalendarEvent, SyncedCalendarProvider, type TextInputElement, type TimeSlot, TimestampUtils, USERS_COLLECTION, USER_FORMS_SUBCOLLECTION, type UpdateAllergyData, type UpdateAppointmentData, type UpdateAppointmentParams, type UpdateBlockingConditionData, type UpdateBlockingEventParams, type UpdateCalendarEventData, type UpdateClinicAdminData, type UpdateClinicData, type UpdateClinicGroupData, type UpdateContraindicationData, type UpdateDocumentTemplateData, type UpdateMedicationData, type UpdatePatientLocationInfoData, type UpdatePatientMedicalInfoData, type UpdatePatientProfileData, type UpdatePatientSensitiveInfoData, type UpdatePractitionerData, type UpdatePractitionerInviteData, type UpdateProcedureData, type UpdateSyncedCalendarData, type UpdateVitalStatsData, type User, UserRole, UserService, type ValidationSchema, type VitalStats, type WorkingHours, addAllergySchema, addBlockingConditionSchema, addContraindicationSchema, addMedicationSchema, addressDataSchema, adminInfoSchema, adminTokenSchema, allergySchema, allergySubtypeSchema, appointmentMediaItemSchema, appointmentMetadataSchema, appointmentNotificationSchema, appointmentReminderNotificationSchema, appointmentStatusSchema, baseNotificationSchema, beforeAfterPerZoneSchema, billingPerZoneSchema, blockingConditionSchema, buildPractitionerData, calendarEventSchema, calendarEventTimeSchema, checkEmailExists, cleanupFirebaseUser, clinicAdminOptionsSchema, clinicAdminSchema, clinicAdminSignupSchema, clinicBranchInfoSchema, clinicBranchSetupSchema, clinicContactInfoSchema, clinicGroupSchema, clinicGroupSetupSchema, clinicInfoSchema, clinicLocationSchema, clinicReviewInfoSchema, clinicReviewSchema, clinicSchema, clinicTagsSchema, contactPersonSchema, contraindicationSchema, createAdminTokenSchema, createAppointmentSchema, createBlockingEventSchema, createCalendarEventSchema, createClinicAdminSchema, createClinicGroupSchema, createClinicReviewSchema, createClinicSchema, createDefaultClinicGroupSchema, createDocumentTemplateSchema, createDraftPractitionerSchema, createFilledDocumentDataSchema, createManualPatientSchema, createPatientLocationInfoSchema, createPatientMedicalInfoSchema, createPatientProfileSchema, createPatientSensitiveInfoSchema, createPatientTokenSchema, createPractitionerReviewSchema, createPractitionerSchema, createPractitionerTokenSchema, createProcedureReviewSchema, createProcedureSchema, createReviewSchema, createUserOptionsSchema, doctorInfoSchema, documentElementSchema, documentElementWithoutIdSchema, documentTemplateSchema, emailSchema, emergencyContactSchema, extractErrorMessage, filledDocumentSchema, filledDocumentStatusSchema, finalBillingSchema, finalizedDetailsSchema, gamificationSchema, getFirebaseApp, getFirebaseAuth, getFirebaseDB, getFirebaseFunctions, getFirebaseInstance, getFirebaseStorage, handleFirebaseError, handleSignupError, initializeFirebase, isPractitionerDataComplete, linkedFormInfoSchema, locationDataSchema, mediaResourceSchema, mediaTypeSchema, medicationSchema, notificationSchema, passwordSchema, patientClinicSchema, patientDoctorSchema, patientInstructionStatusSchema, patientLocationInfoSchema, patientMedicalInfoSchema, patientProfileInfoSchema, patientProfileSchema, patientRequirementInstanceSchema, patientRequirementInstructionSchema, patientRequirementOverallStatusSchema, patientReviewInfoSchema, patientSensitiveInfoSchema, patientTokenSchema, paymentStatusSchema, postRequirementNotificationSchema, practitionerBasicInfoSchema, practitionerCertificationSchema, practitionerClinicWorkingHoursSchema, practitionerProfileInfoSchema, practitionerReviewInfoSchema, practitionerReviewSchema, practitionerSchema, practitionerSignupSchema, practitionerTokenSchema, practitionerWorkingHoursSchema, preRequirementNotificationSchema, procedureCategorizationSchema, procedureExtendedInfoSchema, procedureInfoSchema, procedureReviewInfoSchema, procedureReviewSchema, procedureSchema, procedureSummaryInfoSchema, requesterInfoSchema, requirementImportanceSchema, requirementInstructionDueNotificationSchema, rescheduleAppointmentSchema, reviewSchema, searchAppointmentsSchema, searchPatientsSchema, sharedClinicContactInfoSchema, sharedClinicLocationSchema, syncedCalendarEventSchema, timeSlotSchema, timestampSchema, updateAllergySchema, updateAppointmentSchema, updateBlockingConditionSchema, updateBlockingEventSchema, updateCalendarEventSchema, updateClinicAdminSchema, updateClinicGroupSchema, updateClinicSchema, updateContraindicationSchema, updateDocumentTemplateSchema, updateFilledDocumentDataSchema, updateMedicationSchema, updatePatientInstructionStatusSchema, updatePatientMedicalInfoSchema, updateProcedureSchema, updateVitalStatsSchema, userRoleSchema, userRolesSchema, userSchema, validatePractitionerProfileData, vitalStatsSchema, workingHoursSchema };