@blackcode_sa/metaestetics-api 1.5.11 → 1.5.12
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/backoffice/index.d.mts +14 -2
- package/dist/backoffice/index.d.ts +14 -2
- package/dist/backoffice/index.js +2 -0
- package/dist/backoffice/index.mjs +2 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +1 -1
- package/src/backoffice/validations/schemas.ts +2 -0
|
@@ -2572,6 +2572,8 @@ declare const technologySchema: z.ZodObject<{
|
|
|
2572
2572
|
name: z.ZodString;
|
|
2573
2573
|
description: z.ZodOptional<z.ZodString>;
|
|
2574
2574
|
technicalDetails: z.ZodOptional<z.ZodString>;
|
|
2575
|
+
family: z.ZodNativeEnum<typeof ProcedureFamily>;
|
|
2576
|
+
categoryId: z.ZodString;
|
|
2575
2577
|
subcategoryId: z.ZodString;
|
|
2576
2578
|
requirements: z.ZodDefault<z.ZodObject<{
|
|
2577
2579
|
pre: z.ZodArray<z.ZodObject<{
|
|
@@ -3169,6 +3171,8 @@ declare const technologySchema: z.ZodObject<{
|
|
|
3169
3171
|
}, "strip", z.ZodTypeAny, {
|
|
3170
3172
|
isActive: boolean;
|
|
3171
3173
|
name: string;
|
|
3174
|
+
family: ProcedureFamily;
|
|
3175
|
+
categoryId: string;
|
|
3172
3176
|
subcategoryId: string;
|
|
3173
3177
|
requirements: {
|
|
3174
3178
|
pre: {
|
|
@@ -3296,6 +3300,8 @@ declare const technologySchema: z.ZodObject<{
|
|
|
3296
3300
|
technicalDetails?: string | undefined;
|
|
3297
3301
|
}, {
|
|
3298
3302
|
name: string;
|
|
3303
|
+
family: ProcedureFamily;
|
|
3304
|
+
categoryId: string;
|
|
3299
3305
|
subcategoryId: string;
|
|
3300
3306
|
blockingConditions: BlockingCondition[];
|
|
3301
3307
|
contraindications: Contraindication[];
|
|
@@ -3500,6 +3506,8 @@ declare const technologyUpdateSchema: z.ZodObject<{
|
|
|
3500
3506
|
name: z.ZodOptional<z.ZodString>;
|
|
3501
3507
|
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3502
3508
|
technicalDetails: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3509
|
+
family: z.ZodOptional<z.ZodNativeEnum<typeof ProcedureFamily>>;
|
|
3510
|
+
categoryId: z.ZodOptional<z.ZodString>;
|
|
3503
3511
|
subcategoryId: z.ZodOptional<z.ZodString>;
|
|
3504
3512
|
requirements: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
|
3505
3513
|
pre: z.ZodArray<z.ZodObject<{
|
|
@@ -4099,6 +4107,8 @@ declare const technologyUpdateSchema: z.ZodObject<{
|
|
|
4099
4107
|
isActive?: boolean | undefined;
|
|
4100
4108
|
name?: string | undefined;
|
|
4101
4109
|
technicalDetails?: string | undefined;
|
|
4110
|
+
family?: ProcedureFamily | undefined;
|
|
4111
|
+
categoryId?: string | undefined;
|
|
4102
4112
|
subcategoryId?: string | undefined;
|
|
4103
4113
|
requirements?: {
|
|
4104
4114
|
pre: {
|
|
@@ -4227,6 +4237,8 @@ declare const technologyUpdateSchema: z.ZodObject<{
|
|
|
4227
4237
|
isActive?: boolean | undefined;
|
|
4228
4238
|
name?: string | undefined;
|
|
4229
4239
|
technicalDetails?: string | undefined;
|
|
4240
|
+
family?: ProcedureFamily | undefined;
|
|
4241
|
+
categoryId?: string | undefined;
|
|
4230
4242
|
subcategoryId?: string | undefined;
|
|
4231
4243
|
requirements?: {
|
|
4232
4244
|
pre: {
|
|
@@ -4665,6 +4677,8 @@ declare class TechnologyService extends BaseService {
|
|
|
4665
4677
|
updatedAt: Date;
|
|
4666
4678
|
name: string;
|
|
4667
4679
|
technicalDetails?: string | undefined;
|
|
4680
|
+
family: ProcedureFamily;
|
|
4681
|
+
categoryId: string;
|
|
4668
4682
|
subcategoryId: string;
|
|
4669
4683
|
requirements: {
|
|
4670
4684
|
pre: Requirement[];
|
|
@@ -4675,8 +4689,6 @@ declare class TechnologyService extends BaseService {
|
|
|
4675
4689
|
documentationTemplates?: DocumentTemplate[] | undefined;
|
|
4676
4690
|
benefits: TreatmentBenefit[];
|
|
4677
4691
|
certificationRequirement: CertificationRequirement;
|
|
4678
|
-
family: ProcedureFamily;
|
|
4679
|
-
categoryId: string;
|
|
4680
4692
|
id: string;
|
|
4681
4693
|
}>;
|
|
4682
4694
|
/**
|
|
@@ -2572,6 +2572,8 @@ declare const technologySchema: z.ZodObject<{
|
|
|
2572
2572
|
name: z.ZodString;
|
|
2573
2573
|
description: z.ZodOptional<z.ZodString>;
|
|
2574
2574
|
technicalDetails: z.ZodOptional<z.ZodString>;
|
|
2575
|
+
family: z.ZodNativeEnum<typeof ProcedureFamily>;
|
|
2576
|
+
categoryId: z.ZodString;
|
|
2575
2577
|
subcategoryId: z.ZodString;
|
|
2576
2578
|
requirements: z.ZodDefault<z.ZodObject<{
|
|
2577
2579
|
pre: z.ZodArray<z.ZodObject<{
|
|
@@ -3169,6 +3171,8 @@ declare const technologySchema: z.ZodObject<{
|
|
|
3169
3171
|
}, "strip", z.ZodTypeAny, {
|
|
3170
3172
|
isActive: boolean;
|
|
3171
3173
|
name: string;
|
|
3174
|
+
family: ProcedureFamily;
|
|
3175
|
+
categoryId: string;
|
|
3172
3176
|
subcategoryId: string;
|
|
3173
3177
|
requirements: {
|
|
3174
3178
|
pre: {
|
|
@@ -3296,6 +3300,8 @@ declare const technologySchema: z.ZodObject<{
|
|
|
3296
3300
|
technicalDetails?: string | undefined;
|
|
3297
3301
|
}, {
|
|
3298
3302
|
name: string;
|
|
3303
|
+
family: ProcedureFamily;
|
|
3304
|
+
categoryId: string;
|
|
3299
3305
|
subcategoryId: string;
|
|
3300
3306
|
blockingConditions: BlockingCondition[];
|
|
3301
3307
|
contraindications: Contraindication[];
|
|
@@ -3500,6 +3506,8 @@ declare const technologyUpdateSchema: z.ZodObject<{
|
|
|
3500
3506
|
name: z.ZodOptional<z.ZodString>;
|
|
3501
3507
|
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3502
3508
|
technicalDetails: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3509
|
+
family: z.ZodOptional<z.ZodNativeEnum<typeof ProcedureFamily>>;
|
|
3510
|
+
categoryId: z.ZodOptional<z.ZodString>;
|
|
3503
3511
|
subcategoryId: z.ZodOptional<z.ZodString>;
|
|
3504
3512
|
requirements: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
|
3505
3513
|
pre: z.ZodArray<z.ZodObject<{
|
|
@@ -4099,6 +4107,8 @@ declare const technologyUpdateSchema: z.ZodObject<{
|
|
|
4099
4107
|
isActive?: boolean | undefined;
|
|
4100
4108
|
name?: string | undefined;
|
|
4101
4109
|
technicalDetails?: string | undefined;
|
|
4110
|
+
family?: ProcedureFamily | undefined;
|
|
4111
|
+
categoryId?: string | undefined;
|
|
4102
4112
|
subcategoryId?: string | undefined;
|
|
4103
4113
|
requirements?: {
|
|
4104
4114
|
pre: {
|
|
@@ -4227,6 +4237,8 @@ declare const technologyUpdateSchema: z.ZodObject<{
|
|
|
4227
4237
|
isActive?: boolean | undefined;
|
|
4228
4238
|
name?: string | undefined;
|
|
4229
4239
|
technicalDetails?: string | undefined;
|
|
4240
|
+
family?: ProcedureFamily | undefined;
|
|
4241
|
+
categoryId?: string | undefined;
|
|
4230
4242
|
subcategoryId?: string | undefined;
|
|
4231
4243
|
requirements?: {
|
|
4232
4244
|
pre: {
|
|
@@ -4665,6 +4677,8 @@ declare class TechnologyService extends BaseService {
|
|
|
4665
4677
|
updatedAt: Date;
|
|
4666
4678
|
name: string;
|
|
4667
4679
|
technicalDetails?: string | undefined;
|
|
4680
|
+
family: ProcedureFamily;
|
|
4681
|
+
categoryId: string;
|
|
4668
4682
|
subcategoryId: string;
|
|
4669
4683
|
requirements: {
|
|
4670
4684
|
pre: Requirement[];
|
|
@@ -4675,8 +4689,6 @@ declare class TechnologyService extends BaseService {
|
|
|
4675
4689
|
documentationTemplates?: DocumentTemplate[] | undefined;
|
|
4676
4690
|
benefits: TreatmentBenefit[];
|
|
4677
4691
|
certificationRequirement: CertificationRequirement;
|
|
4678
|
-
family: ProcedureFamily;
|
|
4679
|
-
categoryId: string;
|
|
4680
4692
|
id: string;
|
|
4681
4693
|
}>;
|
|
4682
4694
|
/**
|
package/dist/backoffice/index.js
CHANGED
|
@@ -560,6 +560,8 @@ var technologySchema = import_zod2.z.object({
|
|
|
560
560
|
name: import_zod2.z.string().min(1, "Name is required").max(100, "Name is too long"),
|
|
561
561
|
description: import_zod2.z.string().max(1e3, "Description is too long").optional(),
|
|
562
562
|
technicalDetails: import_zod2.z.string().max(2e3, "Technical details are too long").optional(),
|
|
563
|
+
family: procedureFamilySchema,
|
|
564
|
+
categoryId: import_zod2.z.string().min(1, "Category ID is required"),
|
|
563
565
|
subcategoryId: import_zod2.z.string().min(1, "Subcategory ID is required"),
|
|
564
566
|
requirements: technologyRequirementsSchema.default({
|
|
565
567
|
pre: [],
|
|
@@ -468,6 +468,8 @@ var technologySchema = z2.object({
|
|
|
468
468
|
name: z2.string().min(1, "Name is required").max(100, "Name is too long"),
|
|
469
469
|
description: z2.string().max(1e3, "Description is too long").optional(),
|
|
470
470
|
technicalDetails: z2.string().max(2e3, "Technical details are too long").optional(),
|
|
471
|
+
family: procedureFamilySchema,
|
|
472
|
+
categoryId: z2.string().min(1, "Category ID is required"),
|
|
471
473
|
subcategoryId: z2.string().min(1, "Subcategory ID is required"),
|
|
472
474
|
requirements: technologyRequirementsSchema.default({
|
|
473
475
|
pre: [],
|
package/dist/index.d.mts
CHANGED
|
@@ -3614,6 +3614,8 @@ declare class TechnologyService extends BaseService {
|
|
|
3614
3614
|
description: string;
|
|
3615
3615
|
createdAt: Date;
|
|
3616
3616
|
technicalDetails?: string | undefined;
|
|
3617
|
+
family: ProcedureFamily;
|
|
3618
|
+
categoryId: string;
|
|
3617
3619
|
subcategoryId: string;
|
|
3618
3620
|
requirements: {
|
|
3619
3621
|
pre: Requirement[];
|
|
@@ -3622,8 +3624,6 @@ declare class TechnologyService extends BaseService {
|
|
|
3622
3624
|
documentationTemplates?: DocumentTemplate[] | undefined;
|
|
3623
3625
|
benefits: TreatmentBenefit[];
|
|
3624
3626
|
certificationRequirement: CertificationRequirement;
|
|
3625
|
-
family: ProcedureFamily;
|
|
3626
|
-
categoryId: string;
|
|
3627
3627
|
id: string;
|
|
3628
3628
|
}>;
|
|
3629
3629
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -3614,6 +3614,8 @@ declare class TechnologyService extends BaseService {
|
|
|
3614
3614
|
description: string;
|
|
3615
3615
|
createdAt: Date;
|
|
3616
3616
|
technicalDetails?: string | undefined;
|
|
3617
|
+
family: ProcedureFamily;
|
|
3618
|
+
categoryId: string;
|
|
3617
3619
|
subcategoryId: string;
|
|
3618
3620
|
requirements: {
|
|
3619
3621
|
pre: Requirement[];
|
|
@@ -3622,8 +3624,6 @@ declare class TechnologyService extends BaseService {
|
|
|
3622
3624
|
documentationTemplates?: DocumentTemplate[] | undefined;
|
|
3623
3625
|
benefits: TreatmentBenefit[];
|
|
3624
3626
|
certificationRequirement: CertificationRequirement;
|
|
3625
|
-
family: ProcedureFamily;
|
|
3626
|
-
categoryId: string;
|
|
3627
3627
|
id: string;
|
|
3628
3628
|
}>;
|
|
3629
3629
|
/**
|
package/package.json
CHANGED
|
@@ -81,6 +81,8 @@ export const technologySchema = z.object({
|
|
|
81
81
|
.string()
|
|
82
82
|
.max(2000, "Technical details are too long")
|
|
83
83
|
.optional(),
|
|
84
|
+
family: procedureFamilySchema,
|
|
85
|
+
categoryId: z.string().min(1, "Category ID is required"),
|
|
84
86
|
subcategoryId: z.string().min(1, "Subcategory ID is required"),
|
|
85
87
|
requirements: technologyRequirementsSchema.default({
|
|
86
88
|
pre: [],
|