From f7f0f3b673e3fa229146e05ccf2bbf23e8c5a906 Mon Sep 17 00:00:00 2001 From: SilverD3 Date: Thu, 31 Oct 2024 08:44:24 +0100 Subject: [PATCH] chore:align with spec file --- api/oh.yaml | 1155 ++--------------- src/generated/.openapi-generator/FILES | 18 - src/generated/apis/AdmissionsApi.ts | 10 +- src/generated/apis/DischargeTypeApi.ts | 10 +- src/generated/apis/DiseaseTypesApi.ts | 8 +- src/generated/apis/DiseasesApi.ts | 8 +- src/generated/apis/ExaminationsApi.ts | 16 +- src/generated/apis/OpdsApi.ts | 10 +- src/generated/apis/TherapiesApi.ts | 9 +- src/generated/models/Patient.ts | 204 --- src/generated/models/PatientConsensus.ts | 68 - src/generated/models/PatientProfilePhoto.ts | 39 - .../models/PatientProfilePhotoPhotoAsImage.ts | 38 - ...PatientProfilePhotoPhotoAsImageGraphics.ts | 62 - ...entProfilePhotoPhotoAsImageGraphicsClip.ts | 34 - ...filePhotoPhotoAsImageGraphicsClipBounds.ts | 100 -- ...oPhotoAsImageGraphicsClipBoundsBounds2D.ts | 74 -- ...oPhotoAsImageGraphicsClipBoundsLocation.ts | 29 - ...PhotoPhotoAsImageGraphicsClipBoundsSize.ts | 29 - ...ntProfilePhotoPhotoAsImageGraphicsColor.ts | 58 - ...hotoPhotoAsImageGraphicsColorColorSpace.ts | 34 - ...entProfilePhotoPhotoAsImageGraphicsFont.ts | 108 -- ...ilePhotoPhotoAsImageGraphicsFontMetrics.ts | 79 -- ...ageGraphicsFontMetricsFontRenderContext.ts | 53 - ...ePhotoPhotoAsImageGraphicsFontTransform.ts | 74 -- src/generated/models/PriceDTO.ts | 6 +- src/generated/models/TherapyRow.ts | 123 -- src/generated/models/WardDTO.ts | 6 +- src/generated/models/index.ts | 18 - src/state/types/discharges/thunk.ts | 2 +- 30 files changed, 135 insertions(+), 2347 deletions(-) delete mode 100644 src/generated/models/Patient.ts delete mode 100644 src/generated/models/PatientConsensus.ts delete mode 100644 src/generated/models/PatientProfilePhoto.ts delete mode 100644 src/generated/models/PatientProfilePhotoPhotoAsImage.ts delete mode 100644 src/generated/models/PatientProfilePhotoPhotoAsImageGraphics.ts delete mode 100644 src/generated/models/PatientProfilePhotoPhotoAsImageGraphicsClip.ts delete mode 100644 src/generated/models/PatientProfilePhotoPhotoAsImageGraphicsClipBounds.ts delete mode 100644 src/generated/models/PatientProfilePhotoPhotoAsImageGraphicsClipBoundsBounds2D.ts delete mode 100644 src/generated/models/PatientProfilePhotoPhotoAsImageGraphicsClipBoundsLocation.ts delete mode 100644 src/generated/models/PatientProfilePhotoPhotoAsImageGraphicsClipBoundsSize.ts delete mode 100644 src/generated/models/PatientProfilePhotoPhotoAsImageGraphicsColor.ts delete mode 100644 src/generated/models/PatientProfilePhotoPhotoAsImageGraphicsColorColorSpace.ts delete mode 100644 src/generated/models/PatientProfilePhotoPhotoAsImageGraphicsFont.ts delete mode 100644 src/generated/models/PatientProfilePhotoPhotoAsImageGraphicsFontMetrics.ts delete mode 100644 src/generated/models/PatientProfilePhotoPhotoAsImageGraphicsFontMetricsFontRenderContext.ts delete mode 100644 src/generated/models/PatientProfilePhotoPhotoAsImageGraphicsFontTransform.ts delete mode 100644 src/generated/models/TherapyRow.ts diff --git a/api/oh.yaml b/api/oh.yaml index ae7417084..b5234e957 100644 --- a/api/oh.yaml +++ b/api/oh.yaml @@ -59,8 +59,8 @@ paths: $ref: "#/components/schemas/WardDTO" required: true responses: - "200": - description: OK + "201": + description: Created content: application/json: schema: @@ -140,8 +140,8 @@ paths: $ref: "#/components/schemas/VaccineTypeDTO" required: true responses: - "200": - description: OK + "201": + description: Created content: application/json: schema: @@ -194,8 +194,8 @@ paths: $ref: "#/components/schemas/VaccineDTO" required: true responses: - "200": - description: OK + "201": + description: Created content: application/json: schema: @@ -955,8 +955,8 @@ paths: $ref: "#/components/schemas/OperationRowDTO" required: true responses: - "200": - description: OK + "201": + description: Created content: application/json: schema: @@ -1083,8 +1083,8 @@ paths: $ref: "#/components/schemas/MovementTypeDTO" required: true responses: - "200": - description: OK + "201": + description: Created content: application/json: schema: @@ -1137,8 +1137,8 @@ paths: $ref: "#/components/schemas/MedicalTypeDTO" required: true responses: - "200": - description: OK + "201": + description: Created content: application/json: schema: @@ -1215,8 +1215,8 @@ paths: $ref: "#/components/schemas/MedicalDTO" required: true responses: - "200": - description: OK + "201": + description: Created content: application/json: schema: @@ -1254,8 +1254,8 @@ paths: $ref: "#/components/schemas/MalnutritionDTO" required: true responses: - "200": - description: OK + "201": + description: Created content: application/json: schema: @@ -1555,7 +1555,7 @@ paths: content: application/json: schema: - type: boolean + $ref: "#/components/schemas/PatientExaminationDTO" security: - bearerAuth: [] /diseasetypes: @@ -1604,8 +1604,8 @@ paths: $ref: "#/components/schemas/DiseaseTypeDTO" required: true responses: - "200": - description: OK + "201": + description: Created content: application/json: schema: @@ -1643,8 +1643,8 @@ paths: $ref: "#/components/schemas/DiseaseDTO" required: true responses: - "200": - description: OK + "201": + description: Created content: application/json: schema: @@ -1670,7 +1670,7 @@ paths: put: tags: - DischargeType - operationId: updateDischargeTypet + operationId: updateDischargeType requestBody: content: application/json: @@ -1697,8 +1697,8 @@ paths: $ref: "#/components/schemas/DischargeTypeDTO" required: true responses: - "200": - description: OK + "201": + description: Created content: application/json: schema: @@ -1751,8 +1751,8 @@ paths: $ref: "#/components/schemas/DeliveryTypeDTO" required: true responses: - "200": - description: OK + "201": + description: Created content: application/json: schema: @@ -1805,8 +1805,8 @@ paths: $ref: "#/components/schemas/DeliveryResultTypeDTO" required: true responses: - "200": - description: OK + "201": + description: Created content: application/json: schema: @@ -1961,8 +1961,8 @@ paths: $ref: "#/components/schemas/AdmissionTypeDTO" required: true responses: - "200": - description: OK + "201": + description: Created content: application/json: schema: @@ -2047,8 +2047,8 @@ paths: responses: "400": description: Bad Request - "200": - description: OK + "201": + description: Created content: application/json: schema: @@ -2067,8 +2067,8 @@ paths: $ref: "#/components/schemas/VisitDTO" required: true responses: - "200": - description: OK + "201": + description: Created content: application/json: schema: @@ -2089,8 +2089,8 @@ paths: $ref: "#/components/schemas/VisitDTO" required: true responses: - "200": - description: OK + "201": + description: Created content: application/json: schema: @@ -2268,8 +2268,8 @@ paths: $ref: "#/components/schemas/TherapyRowDTO" required: true responses: - "200": - description: OK + "201": + description: Created content: application/json: schema: @@ -2290,12 +2290,12 @@ paths: $ref: "#/components/schemas/TherapyRowDTO" required: true responses: - "200": - description: OK + "201": + description: Created content: application/json: schema: - $ref: "#/components/schemas/TherapyRow" + $ref: "#/components/schemas/TherapyRowDTO" security: - bearerAuth: [] /therapies/meds-out-of-stock: @@ -2386,8 +2386,8 @@ paths: $ref: "#/components/schemas/MovementDTO" required: true responses: - "200": - description: OK + "201": + description: Created content: application/json: schema: @@ -2414,8 +2414,8 @@ paths: $ref: "#/components/schemas/MovementDTO" required: true responses: - "200": - description: OK + "201": + description: Created content: application/json: schema: @@ -2524,8 +2524,8 @@ paths: $ref: "#/components/schemas/PricesOthersDTO" required: true responses: - "200": - description: OK + "201": + description: Created content: application/json: schema: @@ -2559,8 +2559,8 @@ paths: $ref: "#/components/schemas/PriceListDTO" required: true responses: - "200": - description: OK + "201": + description: Created content: application/json: schema: @@ -2594,8 +2594,8 @@ paths: $ref: "#/components/schemas/PregnantTreatmentTypeDTO" required: true responses: - "200": - description: OK + "201": + description: Created content: application/json: schema: @@ -2614,8 +2614,8 @@ paths: $ref: "#/components/schemas/PatientVaccineDTO" required: true responses: - "200": - description: OK + "201": + description: Created content: application/json: schema: @@ -2662,8 +2662,8 @@ paths: $ref: "#/components/schemas/PatientDTO" required: true responses: - "200": - description: OK + "201": + description: Created content: application/json: schema: @@ -2697,8 +2697,8 @@ paths: $ref: "#/components/schemas/OperationTypeDTO" required: true responses: - "200": - description: OK + "201": + description: Created content: application/json: schema: @@ -2732,8 +2732,8 @@ paths: $ref: "#/components/schemas/OperationDTO" required: true responses: - "200": - description: OK + "201": + description: Created content: application/json: schema: @@ -2774,8 +2774,8 @@ paths: $ref: "#/components/schemas/OpdDTO" required: true responses: - "200": - description: OK + "201": + description: Created content: application/json: schema: @@ -2794,8 +2794,8 @@ paths: $ref: "#/components/schemas/OpdWithOperationRowDTO" required: true responses: - "200": - description: OK + "201": + description: Created content: application/json: schema: @@ -2814,8 +2814,8 @@ paths: $ref: "#/components/schemas/MovementWardDTO" required: true responses: - "200": - description: OK + "201": + description: Created content: application/json: schema: @@ -2842,8 +2842,8 @@ paths: $ref: "#/components/schemas/MovementDTO" required: true responses: - "200": - description: OK + "201": + description: Created content: application/json: schema: @@ -2870,8 +2870,8 @@ paths: $ref: "#/components/schemas/MovementDTO" required: true responses: - "200": - description: OK + "201": + description: Created content: application/json: schema: @@ -2921,8 +2921,8 @@ paths: $ref: "#/components/schemas/LabWithRowsDTO" required: true responses: - "200": - description: OK + "201": + description: Created content: application/json: schema: @@ -2943,8 +2943,8 @@ paths: $ref: "#/components/schemas/LabWithRowsDTO" required: true responses: - "200": - description: OK + "201": + description: Created content: application/json: schema: @@ -2978,8 +2978,8 @@ paths: $ref: "#/components/schemas/LaboratoryDTO" required: true responses: - "200": - description: OK + "201": + description: Created content: application/json: schema: @@ -3013,8 +3013,8 @@ paths: $ref: "#/components/schemas/ExamTypeDTO" required: true responses: - "200": - description: OK + "201": + description: Created content: application/json: schema: @@ -3083,8 +3083,8 @@ paths: $ref: "#/components/schemas/ExamRowDTO" required: true responses: - "200": - description: OK + "201": + description: Created content: application/json: schema: @@ -3103,12 +3103,12 @@ paths: $ref: "#/components/schemas/PatientExaminationDTO" required: true responses: - "200": - description: OK + "201": + description: Created content: application/json: schema: - type: boolean + $ref: "#/components/schemas/PatientExaminationDTO" security: - bearerAuth: [] /bills: @@ -3155,8 +3155,8 @@ paths: $ref: "#/components/schemas/FullBillDTO" required: true responses: - "200": - description: OK + "201": + description: Created content: application/json: schema: @@ -3235,7 +3235,7 @@ paths: "200": description: OK content: - '*/*': + application/json: schema: $ref: "#/components/schemas/LoginResponse" security: @@ -4439,7 +4439,7 @@ paths: get: tags: - Opds - operationId: getProgYear_1 + operationId: getProgressiveYear parameters: - name: year in: path @@ -5142,7 +5142,7 @@ paths: "200": description: OK content: - application/json: + text/plain: schema: type: string security: @@ -5411,9 +5411,7 @@ paths: content: application/json: schema: - type: object - additionalProperties: - type: boolean + type: boolean security: - bearerAuth: [] /diseases/opd: @@ -5798,7 +5796,7 @@ paths: get: tags: - Admissions - operationId: getNextYProg + operationId: getNextYearProgressiveId parameters: - name: wardcode in: query @@ -6079,9 +6077,7 @@ paths: content: application/json: schema: - type: object - additionalProperties: - type: boolean + type: boolean security: - bearerAuth: [] /dischargetypes/{code}: @@ -6235,14 +6231,14 @@ components: description: lock format: int32 example: 0 + opd: + type: boolean pharmacy: type: boolean male: type: boolean female: type: boolean - opd: - type: boolean PatientDTO: required: - age @@ -7910,938 +7906,6 @@ components: description: "The sms flag: 1 if sms need to be sent to patient, 0 otherwise" format: int32 example: 0 - Patient: - required: - - age - - birthDate - - bloodType - - city - - deleted - - fatherName - - firstName - - motherName - - name - - secondName - - sex - type: object - properties: - createdBy: - type: string - createdDate: - type: string - format: date-time - lastModifiedBy: - type: string - lastModifiedDate: - type: string - format: date-time - active: - type: integer - format: int32 - code: - type: integer - format: int32 - firstName: - type: string - secondName: - type: string - name: - type: string - birthDate: - type: string - format: date - age: - type: integer - format: int32 - agetype: - type: string - sex: - type: string - address: - type: string - city: - type: string - nextKin: - type: string - telephone: - type: string - note: - type: string - motherName: - type: string - mother: - type: string - fatherName: - type: string - father: - type: string - bloodType: - type: string - hasInsurance: - type: string - parentTogether: - type: string - taxCode: - type: string - maritalStatus: - type: string - profession: - type: string - deleted: - type: string - anamnesis: - type: string - allergies: - type: string - lock: - type: integer - format: int32 - patientProfilePhoto: - $ref: "#/components/schemas/PatientProfilePhoto" - patientConsensus: - $ref: "#/components/schemas/PatientConsensus" - informations: - type: string - searchString: - type: string - PatientConsensus: - type: object - properties: - createdBy: - type: string - createdDate: - type: string - format: date-time - lastModifiedBy: - type: string - lastModifiedDate: - type: string - format: date-time - active: - type: integer - format: int32 - id: - type: integer - format: int32 - consensusFlag: - type: boolean - serviceFlag: - type: boolean - patient: - $ref: "#/components/schemas/Patient" - PatientProfilePhoto: - type: object - properties: - patient: - $ref: "#/components/schemas/Patient" - photo: - type: array - items: - type: string - format: byte - photoAsImage: - type: object - properties: - accelerationPriority: - type: number - format: float - source: - type: object - graphics: - type: object - properties: - color: - type: object - properties: - red: - type: integer - format: int32 - green: - type: integer - format: int32 - blue: - type: integer - format: int32 - alpha: - type: integer - format: int32 - colorSpace: - type: object - properties: - type: - type: integer - format: int32 - numComponents: - type: integer - format: int32 - cs_sRGB: - type: boolean - rgb: - type: integer - format: int32 - transparency: - type: integer - format: int32 - font: - type: object - properties: - name: - type: string - style: - type: integer - format: int32 - size: - type: integer - format: int32 - attributes: - type: object - additionalProperties: - type: object - family: - type: string - plain: - type: boolean - fontName: - type: string - transform: - type: object - properties: - scaleX: - type: number - format: double - shearY: - type: number - format: double - shearX: - type: number - format: double - scaleY: - type: number - format: double - translateX: - type: number - format: double - translateY: - type: number - format: double - type: - type: integer - format: int32 - identity: - type: boolean - toRotation: - type: number - format: double - writeOnly: true - toQuadrantRotation: - type: integer - format: int32 - writeOnly: true - determinant: - type: number - format: double - bold: - type: boolean - italic: - type: boolean - numGlyphs: - type: integer - format: int32 - missingGlyphCode: - type: integer - format: int32 - italicAngle: - type: number - format: float - transformed: - type: boolean - psname: - type: string - size2D: - type: number - format: float - availableAttributes: - type: array - items: - type: object - fontMetrics: - type: object - properties: - font: - type: object - properties: - name: - type: string - style: - type: integer - format: int32 - size: - type: integer - format: int32 - attributes: - type: object - additionalProperties: - type: object - family: - type: string - plain: - type: boolean - fontName: - type: string - transform: - type: object - properties: - scaleX: - type: number - format: double - shearY: - type: number - format: double - shearX: - type: number - format: double - scaleY: - type: number - format: double - translateX: - type: number - format: double - translateY: - type: number - format: double - type: - type: integer - format: int32 - identity: - type: boolean - toRotation: - type: number - format: double - writeOnly: true - toQuadrantRotation: - type: integer - format: int32 - writeOnly: true - determinant: - type: number - format: double - bold: - type: boolean - italic: - type: boolean - numGlyphs: - type: integer - format: int32 - missingGlyphCode: - type: integer - format: int32 - italicAngle: - type: number - format: float - transformed: - type: boolean - psname: - type: string - size2D: - type: number - format: float - availableAttributes: - type: array - items: - type: object - height: - type: integer - format: int32 - ascent: - type: integer - format: int32 - descent: - type: integer - format: int32 - leading: - type: integer - format: int32 - maxDescent: - type: integer - format: int32 - widths: - type: array - items: - type: integer - format: int32 - fontRenderContext: - type: object - properties: - transform: - type: object - properties: - scaleX: - type: number - format: double - shearY: - type: number - format: double - shearX: - type: number - format: double - scaleY: - type: number - format: double - translateX: - type: number - format: double - translateY: - type: number - format: double - type: - type: integer - format: int32 - identity: - type: boolean - toRotation: - type: number - format: double - writeOnly: true - toQuadrantRotation: - type: integer - format: int32 - writeOnly: true - determinant: - type: number - format: double - antiAliasingHint: - type: object - fractionalMetricsHint: - type: object - transformed: - type: boolean - antiAliased: - type: boolean - transformType: - type: integer - format: int32 - maxAscent: - type: integer - format: int32 - maxDecent: - type: integer - format: int32 - deprecated: true - maxAdvance: - type: integer - format: int32 - clipBounds: - type: object - properties: - x: - type: number - format: double - "y": - type: number - format: double - width: - type: number - format: double - height: - type: number - format: double - empty: - type: boolean - location: - type: object - properties: - x: - type: number - format: double - "y": - type: number - format: double - size: - type: object - properties: - width: - type: number - format: double - height: - type: number - format: double - bounds2D: - type: object - properties: - empty: - type: boolean - minX: - type: number - format: double - minY: - type: number - format: double - width: - type: number - format: double - height: - type: number - format: double - maxX: - type: number - format: double - maxY: - type: number - format: double - centerX: - type: number - format: double - centerY: - type: number - format: double - "y": - type: number - format: double - x: - type: number - format: double - rect: - type: object - properties: - empty: - type: boolean - minX: - type: number - format: double - minY: - type: number - format: double - width: - type: number - format: double - height: - type: number - format: double - maxX: - type: number - format: double - maxY: - type: number - format: double - centerX: - type: number - format: double - centerY: - type: number - format: double - "y": - type: number - format: double - x: - type: number - format: double - writeOnly: true - minX: - type: number - format: double - minY: - type: number - format: double - maxX: - type: number - format: double - maxY: - type: number - format: double - centerX: - type: number - format: double - centerY: - type: number - format: double - xormode: - type: object - properties: - red: - type: integer - format: int32 - green: - type: integer - format: int32 - blue: - type: integer - format: int32 - alpha: - type: integer - format: int32 - colorSpace: - type: object - properties: - type: - type: integer - format: int32 - numComponents: - type: integer - format: int32 - cs_sRGB: - type: boolean - rgb: - type: integer - format: int32 - transparency: - type: integer - format: int32 - writeOnly: true - clip: - type: object - properties: - bounds: - type: object - properties: - x: - type: number - format: double - "y": - type: number - format: double - width: - type: number - format: double - height: - type: number - format: double - empty: - type: boolean - location: - type: object - properties: - x: - type: number - format: double - "y": - type: number - format: double - size: - type: object - properties: - width: - type: number - format: double - height: - type: number - format: double - bounds2D: - type: object - properties: - empty: - type: boolean - minX: - type: number - format: double - minY: - type: number - format: double - width: - type: number - format: double - height: - type: number - format: double - maxX: - type: number - format: double - maxY: - type: number - format: double - centerX: - type: number - format: double - centerY: - type: number - format: double - "y": - type: number - format: double - x: - type: number - format: double - rect: - type: object - properties: - empty: - type: boolean - minX: - type: number - format: double - minY: - type: number - format: double - width: - type: number - format: double - height: - type: number - format: double - maxX: - type: number - format: double - maxY: - type: number - format: double - centerX: - type: number - format: double - centerY: - type: number - format: double - "y": - type: number - format: double - x: - type: number - format: double - writeOnly: true - minX: - type: number - format: double - minY: - type: number - format: double - maxX: - type: number - format: double - maxY: - type: number - format: double - centerX: - type: number - format: double - centerY: - type: number - format: double - bounds2D: - type: object - properties: - empty: - type: boolean - minX: - type: number - format: double - minY: - type: number - format: double - width: - type: number - format: double - height: - type: number - format: double - maxX: - type: number - format: double - maxY: - type: number - format: double - centerX: - type: number - format: double - centerY: - type: number - format: double - "y": - type: number - format: double - x: - type: number - format: double - clipRect: - type: object - properties: - x: - type: number - format: double - "y": - type: number - format: double - width: - type: number - format: double - height: - type: number - format: double - empty: - type: boolean - location: - type: object - properties: - x: - type: number - format: double - "y": - type: number - format: double - size: - type: object - properties: - width: - type: number - format: double - height: - type: number - format: double - bounds2D: - type: object - properties: - empty: - type: boolean - minX: - type: number - format: double - minY: - type: number - format: double - width: - type: number - format: double - height: - type: number - format: double - maxX: - type: number - format: double - maxY: - type: number - format: double - centerX: - type: number - format: double - centerY: - type: number - format: double - "y": - type: number - format: double - x: - type: number - format: double - rect: - type: object - properties: - empty: - type: boolean - minX: - type: number - format: double - minY: - type: number - format: double - width: - type: number - format: double - height: - type: number - format: double - maxX: - type: number - format: double - maxY: - type: number - format: double - centerX: - type: number - format: double - centerY: - type: number - format: double - "y": - type: number - format: double - x: - type: number - format: double - writeOnly: true - minX: - type: number - format: double - minY: - type: number - format: double - maxX: - type: number - format: double - maxY: - type: number - format: double - centerX: - type: number - format: double - centerY: - type: number - format: double - deprecated: true - TherapyRow: - required: - - endDate - - freqInDay - - freqInPeriod - - medicalId - - notifyInt - - patient - - qty - - smsInt - - startDate - - unitID - type: object - properties: - createdBy: - type: string - createdDate: - type: string - format: date-time - lastModifiedBy: - type: string - lastModifiedDate: - type: string - format: date-time - active: - type: integer - format: int32 - therapyID: - type: integer - format: int32 - patient: - $ref: "#/components/schemas/Patient" - startDate: - type: string - format: date-time - endDate: - type: string - format: date-time - medicalId: - type: integer - format: int32 - qty: - type: number - format: double - unitID: - type: integer - format: int32 - freqInDay: - type: integer - format: int32 - freqInPeriod: - type: integer - format: int32 - note: - type: string - notifyInt: - type: integer - format: int32 - smsInt: - type: integer - format: int32 - medical: - type: integer - format: int32 - sms: - type: boolean - notify: - type: boolean TherapyDTO: type: object properties: @@ -9125,7 +8189,7 @@ components: type: integer format: int32 list: - $ref: "#/components/schemas/PriceList" + $ref: "#/components/schemas/PriceListDTO" group: type: string description: The group @@ -9155,39 +8219,6 @@ components: format: int32 readOnly: true description: Class representing a prices - PriceList: - required: - - code - - currency - - description - - name - type: object - properties: - createdBy: - type: string - createdDate: - type: string - format: date-time - lastModifiedBy: - type: string - lastModifiedDate: - type: string - format: date-time - active: - type: integer - format: int32 - id: - type: integer - format: int32 - code: - type: string - name: - type: string - description: - type: string - currency: - type: string - description: The price list PageInfoDTO: type: object properties: diff --git a/src/generated/.openapi-generator/FILES b/src/generated/.openapi-generator/FILES index f8c963cbb..2ece25ce9 100644 --- a/src/generated/.openapi-generator/FILES +++ b/src/generated/.openapi-generator/FILES @@ -87,36 +87,18 @@ models\PageLabWithRowsDTO.ts models\PageOpdDTO.ts models\PagePatientDTO.ts models\PagePatientExaminationDTO.ts -models\Patient.ts -models\PatientConsensus.ts models\PatientConsensusDTO.ts models\PatientDTO.ts models\PatientExaminationDTO.ts -models\PatientProfilePhoto.ts -models\PatientProfilePhotoPhotoAsImage.ts -models\PatientProfilePhotoPhotoAsImageGraphics.ts -models\PatientProfilePhotoPhotoAsImageGraphicsClip.ts -models\PatientProfilePhotoPhotoAsImageGraphicsClipBounds.ts -models\PatientProfilePhotoPhotoAsImageGraphicsClipBoundsBounds2D.ts -models\PatientProfilePhotoPhotoAsImageGraphicsClipBoundsLocation.ts -models\PatientProfilePhotoPhotoAsImageGraphicsClipBoundsSize.ts -models\PatientProfilePhotoPhotoAsImageGraphicsColor.ts -models\PatientProfilePhotoPhotoAsImageGraphicsColorColorSpace.ts -models\PatientProfilePhotoPhotoAsImageGraphicsFont.ts -models\PatientProfilePhotoPhotoAsImageGraphicsFontMetrics.ts -models\PatientProfilePhotoPhotoAsImageGraphicsFontMetricsFontRenderContext.ts -models\PatientProfilePhotoPhotoAsImageGraphicsFontTransform.ts models\PatientVaccineDTO.ts models\PermissionDTO.ts models\PregnantTreatmentTypeDTO.ts models\PriceDTO.ts -models\PriceList.ts models\PriceListDTO.ts models\PricesOthersDTO.ts models\SmsDTO.ts models\SupplierDTO.ts models\TherapyDTO.ts -models\TherapyRow.ts models\TherapyRowDTO.ts models\TokenRefreshRequest.ts models\UserDTO.ts diff --git a/src/generated/apis/AdmissionsApi.ts b/src/generated/apis/AdmissionsApi.ts index 21fc6e4fa..0b201611d 100644 --- a/src/generated/apis/AdmissionsApi.ts +++ b/src/generated/apis/AdmissionsApi.ts @@ -55,7 +55,7 @@ export interface GetDischargesRequest { size?: number; } -export interface GetNextYProgRequest { +export interface GetNextYearProgressiveIdRequest { wardcode: string; } @@ -240,10 +240,10 @@ export class AdmissionsApi extends BaseAPI { /** */ - getNextYProg({ wardcode }: GetNextYProgRequest): Observable - getNextYProg({ wardcode }: GetNextYProgRequest, opts?: OperationOpts): Observable> - getNextYProg({ wardcode }: GetNextYProgRequest, opts?: OperationOpts): Observable> { - throwIfNullOrUndefined(wardcode, 'wardcode', 'getNextYProg'); + getNextYearProgressiveId({ wardcode }: GetNextYearProgressiveIdRequest): Observable + getNextYearProgressiveId({ wardcode }: GetNextYearProgressiveIdRequest, opts?: OperationOpts): Observable> + getNextYearProgressiveId({ wardcode }: GetNextYearProgressiveIdRequest, opts?: OperationOpts): Observable> { + throwIfNullOrUndefined(wardcode, 'wardcode', 'getNextYearProgressiveId'); const headers: HttpHeaders = { ...(this.configuration.username != null && this.configuration.password != null ? { Authorization: `Basic ${btoa(this.configuration.username + ':' + this.configuration.password)}` } : undefined), diff --git a/src/generated/apis/DischargeTypeApi.ts b/src/generated/apis/DischargeTypeApi.ts index 2fb9743d1..3ae05e58a 100644 --- a/src/generated/apis/DischargeTypeApi.ts +++ b/src/generated/apis/DischargeTypeApi.ts @@ -25,7 +25,7 @@ export interface NewDischargeTypeRequest { dischargeTypeDTO: DischargeTypeDTO; } -export interface UpdateDischargeTypetRequest { +export interface UpdateDischargeTypeRequest { dischargeTypeDTO: DischargeTypeDTO; } @@ -90,10 +90,10 @@ export class DischargeTypeApi extends BaseAPI { /** */ - updateDischargeTypet({ dischargeTypeDTO }: UpdateDischargeTypetRequest): Observable - updateDischargeTypet({ dischargeTypeDTO }: UpdateDischargeTypetRequest, opts?: OperationOpts): Observable> - updateDischargeTypet({ dischargeTypeDTO }: UpdateDischargeTypetRequest, opts?: OperationOpts): Observable> { - throwIfNullOrUndefined(dischargeTypeDTO, 'dischargeTypeDTO', 'updateDischargeTypet'); + updateDischargeType({ dischargeTypeDTO }: UpdateDischargeTypeRequest): Observable + updateDischargeType({ dischargeTypeDTO }: UpdateDischargeTypeRequest, opts?: OperationOpts): Observable> + updateDischargeType({ dischargeTypeDTO }: UpdateDischargeTypeRequest, opts?: OperationOpts): Observable> { + throwIfNullOrUndefined(dischargeTypeDTO, 'dischargeTypeDTO', 'updateDischargeType'); const headers: HttpHeaders = { 'Content-Type': 'application/json', diff --git a/src/generated/apis/DiseaseTypesApi.ts b/src/generated/apis/DiseaseTypesApi.ts index 9f0a757ce..8f7c3efa2 100644 --- a/src/generated/apis/DiseaseTypesApi.ts +++ b/src/generated/apis/DiseaseTypesApi.ts @@ -36,16 +36,16 @@ export class DiseaseTypesApi extends BaseAPI { /** */ - deleteDiseaseType({ code }: DeleteDiseaseTypeRequest): Observable<{ [key: string]: boolean; }> - deleteDiseaseType({ code }: DeleteDiseaseTypeRequest, opts?: OperationOpts): Observable> - deleteDiseaseType({ code }: DeleteDiseaseTypeRequest, opts?: OperationOpts): Observable<{ [key: string]: boolean; } | RawAjaxResponse<{ [key: string]: boolean; }>> { + deleteDiseaseType({ code }: DeleteDiseaseTypeRequest): Observable + deleteDiseaseType({ code }: DeleteDiseaseTypeRequest, opts?: OperationOpts): Observable> + deleteDiseaseType({ code }: DeleteDiseaseTypeRequest, opts?: OperationOpts): Observable> { throwIfNullOrUndefined(code, 'code', 'deleteDiseaseType'); const headers: HttpHeaders = { ...(this.configuration.username != null && this.configuration.password != null ? { Authorization: `Basic ${btoa(this.configuration.username + ':' + this.configuration.password)}` } : undefined), }; - return this.request<{ [key: string]: boolean; }>({ + return this.request({ url: '/diseasetypes/{code}'.replace('{code}', encodeURI(code)), method: 'DELETE', headers, diff --git a/src/generated/apis/DiseasesApi.ts b/src/generated/apis/DiseasesApi.ts index 0e11a4134..a44d1e991 100644 --- a/src/generated/apis/DiseasesApi.ts +++ b/src/generated/apis/DiseasesApi.ts @@ -56,16 +56,16 @@ export class DiseasesApi extends BaseAPI { /** */ - deleteDisease({ code }: DeleteDiseaseRequest): Observable<{ [key: string]: boolean; }> - deleteDisease({ code }: DeleteDiseaseRequest, opts?: OperationOpts): Observable> - deleteDisease({ code }: DeleteDiseaseRequest, opts?: OperationOpts): Observable<{ [key: string]: boolean; } | RawAjaxResponse<{ [key: string]: boolean; }>> { + deleteDisease({ code }: DeleteDiseaseRequest): Observable + deleteDisease({ code }: DeleteDiseaseRequest, opts?: OperationOpts): Observable> + deleteDisease({ code }: DeleteDiseaseRequest, opts?: OperationOpts): Observable> { throwIfNullOrUndefined(code, 'code', 'deleteDisease'); const headers: HttpHeaders = { ...(this.configuration.username != null && this.configuration.password != null ? { Authorization: `Basic ${btoa(this.configuration.username + ':' + this.configuration.password)}` } : undefined), }; - return this.request<{ [key: string]: boolean; }>({ + return this.request({ url: '/diseases/{code}'.replace('{code}', encodeURI(code)), method: 'DELETE', headers, diff --git a/src/generated/apis/ExaminationsApi.ts b/src/generated/apis/ExaminationsApi.ts index 919c777d4..5f9476f8c 100644 --- a/src/generated/apis/ExaminationsApi.ts +++ b/src/generated/apis/ExaminationsApi.ts @@ -179,9 +179,9 @@ export class ExaminationsApi extends BaseAPI { /** */ - newPatientExamination({ patientExaminationDTO }: NewPatientExaminationRequest): Observable - newPatientExamination({ patientExaminationDTO }: NewPatientExaminationRequest, opts?: OperationOpts): Observable> - newPatientExamination({ patientExaminationDTO }: NewPatientExaminationRequest, opts?: OperationOpts): Observable> { + newPatientExamination({ patientExaminationDTO }: NewPatientExaminationRequest): Observable + newPatientExamination({ patientExaminationDTO }: NewPatientExaminationRequest, opts?: OperationOpts): Observable> + newPatientExamination({ patientExaminationDTO }: NewPatientExaminationRequest, opts?: OperationOpts): Observable> { throwIfNullOrUndefined(patientExaminationDTO, 'patientExaminationDTO', 'newPatientExamination'); const headers: HttpHeaders = { @@ -189,7 +189,7 @@ export class ExaminationsApi extends BaseAPI { ...(this.configuration.username != null && this.configuration.password != null ? { Authorization: `Basic ${btoa(this.configuration.username + ':' + this.configuration.password)}` } : undefined), }; - return this.request({ + return this.request({ url: '/examinations', method: 'POST', headers, @@ -199,9 +199,9 @@ export class ExaminationsApi extends BaseAPI { /** */ - updateExamination({ id, patientExaminationDTO }: UpdateExaminationRequest): Observable - updateExamination({ id, patientExaminationDTO }: UpdateExaminationRequest, opts?: OperationOpts): Observable> - updateExamination({ id, patientExaminationDTO }: UpdateExaminationRequest, opts?: OperationOpts): Observable> { + updateExamination({ id, patientExaminationDTO }: UpdateExaminationRequest): Observable + updateExamination({ id, patientExaminationDTO }: UpdateExaminationRequest, opts?: OperationOpts): Observable> + updateExamination({ id, patientExaminationDTO }: UpdateExaminationRequest, opts?: OperationOpts): Observable> { throwIfNullOrUndefined(id, 'id', 'updateExamination'); throwIfNullOrUndefined(patientExaminationDTO, 'patientExaminationDTO', 'updateExamination'); @@ -210,7 +210,7 @@ export class ExaminationsApi extends BaseAPI { ...(this.configuration.username != null && this.configuration.password != null ? { Authorization: `Basic ${btoa(this.configuration.username + ':' + this.configuration.password)}` } : undefined), }; - return this.request({ + return this.request({ url: '/examinations/{id}'.replace('{id}', encodeURI(id)), method: 'PUT', headers, diff --git a/src/generated/apis/OpdsApi.ts b/src/generated/apis/OpdsApi.ts index cea986161..cec8577c4 100644 --- a/src/generated/apis/OpdsApi.ts +++ b/src/generated/apis/OpdsApi.ts @@ -51,7 +51,7 @@ export interface GetOpdToDayOrWeekRequest { oneWeek?: boolean; } -export interface GetProgYear1Request { +export interface GetProgressiveYearRequest { year: number; } @@ -198,10 +198,10 @@ export class OpdsApi extends BaseAPI { /** */ - getProgYear1({ year }: GetProgYear1Request): Observable - getProgYear1({ year }: GetProgYear1Request, opts?: OperationOpts): Observable> - getProgYear1({ year }: GetProgYear1Request, opts?: OperationOpts): Observable> { - throwIfNullOrUndefined(year, 'year', 'getProgYear1'); + getProgressiveYear({ year }: GetProgressiveYearRequest): Observable + getProgressiveYear({ year }: GetProgressiveYearRequest, opts?: OperationOpts): Observable> + getProgressiveYear({ year }: GetProgressiveYearRequest, opts?: OperationOpts): Observable> { + throwIfNullOrUndefined(year, 'year', 'getProgressiveYear'); const headers: HttpHeaders = { ...(this.configuration.username != null && this.configuration.password != null ? { Authorization: `Basic ${btoa(this.configuration.username + ':' + this.configuration.password)}` } : undefined), diff --git a/src/generated/apis/TherapiesApi.ts b/src/generated/apis/TherapiesApi.ts index 6d43e8b46..d787e921c 100644 --- a/src/generated/apis/TherapiesApi.ts +++ b/src/generated/apis/TherapiesApi.ts @@ -16,7 +16,6 @@ import { BaseAPI, HttpHeaders, throwIfNullOrUndefined, encodeURI, OperationOpts, import { MedicalDTO, TherapyDTO, - TherapyRow, TherapyRowDTO, } from '../models'; @@ -171,9 +170,9 @@ export class TherapiesApi extends BaseAPI { /** */ - replaceTherapies({ therapyRowDTO }: ReplaceTherapiesRequest): Observable - replaceTherapies({ therapyRowDTO }: ReplaceTherapiesRequest, opts?: OperationOpts): Observable> - replaceTherapies({ therapyRowDTO }: ReplaceTherapiesRequest, opts?: OperationOpts): Observable> { + replaceTherapies({ therapyRowDTO }: ReplaceTherapiesRequest): Observable + replaceTherapies({ therapyRowDTO }: ReplaceTherapiesRequest, opts?: OperationOpts): Observable> + replaceTherapies({ therapyRowDTO }: ReplaceTherapiesRequest, opts?: OperationOpts): Observable> { throwIfNullOrUndefined(therapyRowDTO, 'therapyRowDTO', 'replaceTherapies'); const headers: HttpHeaders = { @@ -181,7 +180,7 @@ export class TherapiesApi extends BaseAPI { ...(this.configuration.username != null && this.configuration.password != null ? { Authorization: `Basic ${btoa(this.configuration.username + ':' + this.configuration.password)}` } : undefined), }; - return this.request({ + return this.request({ url: '/therapies/replace', method: 'POST', headers, diff --git a/src/generated/models/Patient.ts b/src/generated/models/Patient.ts deleted file mode 100644 index b48c7e07a..000000000 --- a/src/generated/models/Patient.ts +++ /dev/null @@ -1,204 +0,0 @@ -// tslint:disable -/** - * Open Hospital API Documentation - * Open Hospital API Documentation - * - * The version of the OpenAPI document: 0.1.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -import { - PatientConsensus, - PatientProfilePhoto, -} from './'; - -/** - * @export - * @interface Patient - */ -export interface Patient { - /** - * @type {string} - * @memberof Patient - */ - createdBy?: string; - /** - * @type {string} - * @memberof Patient - */ - createdDate?: string; - /** - * @type {string} - * @memberof Patient - */ - lastModifiedBy?: string; - /** - * @type {string} - * @memberof Patient - */ - lastModifiedDate?: string; - /** - * @type {number} - * @memberof Patient - */ - active?: number; - /** - * @type {number} - * @memberof Patient - */ - code?: number; - /** - * @type {string} - * @memberof Patient - */ - firstName: string; - /** - * @type {string} - * @memberof Patient - */ - secondName: string; - /** - * @type {string} - * @memberof Patient - */ - name: string; - /** - * @type {string} - * @memberof Patient - */ - birthDate: string; - /** - * @type {number} - * @memberof Patient - */ - age: number; - /** - * @type {string} - * @memberof Patient - */ - agetype?: string; - /** - * @type {string} - * @memberof Patient - */ - sex: string; - /** - * @type {string} - * @memberof Patient - */ - address?: string; - /** - * @type {string} - * @memberof Patient - */ - city: string; - /** - * @type {string} - * @memberof Patient - */ - nextKin?: string; - /** - * @type {string} - * @memberof Patient - */ - telephone?: string; - /** - * @type {string} - * @memberof Patient - */ - note?: string; - /** - * @type {string} - * @memberof Patient - */ - motherName: string; - /** - * @type {string} - * @memberof Patient - */ - mother?: string; - /** - * @type {string} - * @memberof Patient - */ - fatherName: string; - /** - * @type {string} - * @memberof Patient - */ - father?: string; - /** - * @type {string} - * @memberof Patient - */ - bloodType: string; - /** - * @type {string} - * @memberof Patient - */ - hasInsurance?: string; - /** - * @type {string} - * @memberof Patient - */ - parentTogether?: string; - /** - * @type {string} - * @memberof Patient - */ - taxCode?: string; - /** - * @type {string} - * @memberof Patient - */ - maritalStatus?: string; - /** - * @type {string} - * @memberof Patient - */ - profession?: string; - /** - * @type {string} - * @memberof Patient - */ - deleted: string; - /** - * @type {string} - * @memberof Patient - */ - anamnesis?: string; - /** - * @type {string} - * @memberof Patient - */ - allergies?: string; - /** - * @type {number} - * @memberof Patient - */ - lock?: number; - /** - * @type {PatientProfilePhoto} - * @memberof Patient - */ - patientProfilePhoto?: PatientProfilePhoto; - /** - * @type {PatientConsensus} - * @memberof Patient - */ - patientConsensus?: PatientConsensus; - /** - * @type {string} - * @memberof Patient - */ - searchString?: string; - /** - * @type {string} - * @memberof Patient - */ - informations?: string; -} diff --git a/src/generated/models/PatientConsensus.ts b/src/generated/models/PatientConsensus.ts deleted file mode 100644 index c2795d3c9..000000000 --- a/src/generated/models/PatientConsensus.ts +++ /dev/null @@ -1,68 +0,0 @@ -// tslint:disable -/** - * Open Hospital API Documentation - * Open Hospital API Documentation - * - * The version of the OpenAPI document: 0.1.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -import { - Patient, -} from './'; - -/** - * @export - * @interface PatientConsensus - */ -export interface PatientConsensus { - /** - * @type {string} - * @memberof PatientConsensus - */ - createdBy?: string; - /** - * @type {string} - * @memberof PatientConsensus - */ - createdDate?: string; - /** - * @type {string} - * @memberof PatientConsensus - */ - lastModifiedBy?: string; - /** - * @type {string} - * @memberof PatientConsensus - */ - lastModifiedDate?: string; - /** - * @type {number} - * @memberof PatientConsensus - */ - active?: number; - /** - * @type {number} - * @memberof PatientConsensus - */ - id?: number; - /** - * @type {boolean} - * @memberof PatientConsensus - */ - consensusFlag?: boolean; - /** - * @type {boolean} - * @memberof PatientConsensus - */ - serviceFlag?: boolean; - /** - * @type {Patient} - * @memberof PatientConsensus - */ - patient?: Patient; -} diff --git a/src/generated/models/PatientProfilePhoto.ts b/src/generated/models/PatientProfilePhoto.ts deleted file mode 100644 index 7ed0d33ff..000000000 --- a/src/generated/models/PatientProfilePhoto.ts +++ /dev/null @@ -1,39 +0,0 @@ -// tslint:disable -/** - * Open Hospital API Documentation - * Open Hospital API Documentation - * - * The version of the OpenAPI document: 0.1.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -import { - Patient, - PatientProfilePhotoPhotoAsImage, -} from './'; - -/** - * @export - * @interface PatientProfilePhoto - */ -export interface PatientProfilePhoto { - /** - * @type {Patient} - * @memberof PatientProfilePhoto - */ - patient?: Patient; - /** - * @type {Array} - * @memberof PatientProfilePhoto - */ - photo?: Array; - /** - * @type {PatientProfilePhotoPhotoAsImage} - * @memberof PatientProfilePhoto - */ - photoAsImage?: PatientProfilePhotoPhotoAsImage; -} diff --git a/src/generated/models/PatientProfilePhotoPhotoAsImage.ts b/src/generated/models/PatientProfilePhotoPhotoAsImage.ts deleted file mode 100644 index e9a582066..000000000 --- a/src/generated/models/PatientProfilePhotoPhotoAsImage.ts +++ /dev/null @@ -1,38 +0,0 @@ -// tslint:disable -/** - * Open Hospital API Documentation - * Open Hospital API Documentation - * - * The version of the OpenAPI document: 0.1.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -import { - PatientProfilePhotoPhotoAsImageGraphics, -} from './'; - -/** - * @export - * @interface PatientProfilePhotoPhotoAsImage - */ -export interface PatientProfilePhotoPhotoAsImage { - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImage - */ - accelerationPriority?: number; - /** - * @type {object} - * @memberof PatientProfilePhotoPhotoAsImage - */ - source?: object; - /** - * @type {PatientProfilePhotoPhotoAsImageGraphics} - * @memberof PatientProfilePhotoPhotoAsImage - */ - graphics?: PatientProfilePhotoPhotoAsImageGraphics; -} diff --git a/src/generated/models/PatientProfilePhotoPhotoAsImageGraphics.ts b/src/generated/models/PatientProfilePhotoPhotoAsImageGraphics.ts deleted file mode 100644 index 1b8ab4d7a..000000000 --- a/src/generated/models/PatientProfilePhotoPhotoAsImageGraphics.ts +++ /dev/null @@ -1,62 +0,0 @@ -// tslint:disable -/** - * Open Hospital API Documentation - * Open Hospital API Documentation - * - * The version of the OpenAPI document: 0.1.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -import { - PatientProfilePhotoPhotoAsImageGraphicsClip, - PatientProfilePhotoPhotoAsImageGraphicsClipBounds, - PatientProfilePhotoPhotoAsImageGraphicsColor, - PatientProfilePhotoPhotoAsImageGraphicsFont, - PatientProfilePhotoPhotoAsImageGraphicsFontMetrics, -} from './'; - -/** - * @export - * @interface PatientProfilePhotoPhotoAsImageGraphics - */ -export interface PatientProfilePhotoPhotoAsImageGraphics { - /** - * @type {PatientProfilePhotoPhotoAsImageGraphicsColor} - * @memberof PatientProfilePhotoPhotoAsImageGraphics - */ - color?: PatientProfilePhotoPhotoAsImageGraphicsColor; - /** - * @type {PatientProfilePhotoPhotoAsImageGraphicsFont} - * @memberof PatientProfilePhotoPhotoAsImageGraphics - */ - font?: PatientProfilePhotoPhotoAsImageGraphicsFont; - /** - * @type {PatientProfilePhotoPhotoAsImageGraphicsFontMetrics} - * @memberof PatientProfilePhotoPhotoAsImageGraphics - */ - fontMetrics?: PatientProfilePhotoPhotoAsImageGraphicsFontMetrics; - /** - * @type {PatientProfilePhotoPhotoAsImageGraphicsClipBounds} - * @memberof PatientProfilePhotoPhotoAsImageGraphics - */ - clipBounds?: PatientProfilePhotoPhotoAsImageGraphicsClipBounds; - /** - * @type {PatientProfilePhotoPhotoAsImageGraphicsColor} - * @memberof PatientProfilePhotoPhotoAsImageGraphics - */ - xormode?: PatientProfilePhotoPhotoAsImageGraphicsColor; - /** - * @type {PatientProfilePhotoPhotoAsImageGraphicsClip} - * @memberof PatientProfilePhotoPhotoAsImageGraphics - */ - clip?: PatientProfilePhotoPhotoAsImageGraphicsClip; - /** - * @type {PatientProfilePhotoPhotoAsImageGraphicsClipBounds} - * @memberof PatientProfilePhotoPhotoAsImageGraphics - */ - clipRect?: PatientProfilePhotoPhotoAsImageGraphicsClipBounds; -} diff --git a/src/generated/models/PatientProfilePhotoPhotoAsImageGraphicsClip.ts b/src/generated/models/PatientProfilePhotoPhotoAsImageGraphicsClip.ts deleted file mode 100644 index 69d6a4502..000000000 --- a/src/generated/models/PatientProfilePhotoPhotoAsImageGraphicsClip.ts +++ /dev/null @@ -1,34 +0,0 @@ -// tslint:disable -/** - * Open Hospital API Documentation - * Open Hospital API Documentation - * - * The version of the OpenAPI document: 0.1.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -import { - PatientProfilePhotoPhotoAsImageGraphicsClipBounds, - PatientProfilePhotoPhotoAsImageGraphicsClipBoundsBounds2D, -} from './'; - -/** - * @export - * @interface PatientProfilePhotoPhotoAsImageGraphicsClip - */ -export interface PatientProfilePhotoPhotoAsImageGraphicsClip { - /** - * @type {PatientProfilePhotoPhotoAsImageGraphicsClipBounds} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsClip - */ - bounds?: PatientProfilePhotoPhotoAsImageGraphicsClipBounds; - /** - * @type {PatientProfilePhotoPhotoAsImageGraphicsClipBoundsBounds2D} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsClip - */ - bounds2D?: PatientProfilePhotoPhotoAsImageGraphicsClipBoundsBounds2D; -} diff --git a/src/generated/models/PatientProfilePhotoPhotoAsImageGraphicsClipBounds.ts b/src/generated/models/PatientProfilePhotoPhotoAsImageGraphicsClipBounds.ts deleted file mode 100644 index e963f0aee..000000000 --- a/src/generated/models/PatientProfilePhotoPhotoAsImageGraphicsClipBounds.ts +++ /dev/null @@ -1,100 +0,0 @@ -// tslint:disable -/** - * Open Hospital API Documentation - * Open Hospital API Documentation - * - * The version of the OpenAPI document: 0.1.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -import { - PatientProfilePhotoPhotoAsImageGraphicsClipBoundsBounds2D, - PatientProfilePhotoPhotoAsImageGraphicsClipBoundsLocation, - PatientProfilePhotoPhotoAsImageGraphicsClipBoundsSize, -} from './'; - -/** - * @export - * @interface PatientProfilePhotoPhotoAsImageGraphicsClipBounds - */ -export interface PatientProfilePhotoPhotoAsImageGraphicsClipBounds { - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsClipBounds - */ - x?: number; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsClipBounds - */ - y?: number; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsClipBounds - */ - width?: number; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsClipBounds - */ - height?: number; - /** - * @type {boolean} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsClipBounds - */ - empty?: boolean; - /** - * @type {PatientProfilePhotoPhotoAsImageGraphicsClipBoundsLocation} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsClipBounds - */ - location?: PatientProfilePhotoPhotoAsImageGraphicsClipBoundsLocation; - /** - * @type {PatientProfilePhotoPhotoAsImageGraphicsClipBoundsSize} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsClipBounds - */ - size?: PatientProfilePhotoPhotoAsImageGraphicsClipBoundsSize; - /** - * @type {PatientProfilePhotoPhotoAsImageGraphicsClipBoundsBounds2D} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsClipBounds - */ - bounds2D?: PatientProfilePhotoPhotoAsImageGraphicsClipBoundsBounds2D; - /** - * @type {PatientProfilePhotoPhotoAsImageGraphicsClipBoundsBounds2D} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsClipBounds - */ - rect?: PatientProfilePhotoPhotoAsImageGraphicsClipBoundsBounds2D; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsClipBounds - */ - minX?: number; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsClipBounds - */ - minY?: number; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsClipBounds - */ - maxX?: number; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsClipBounds - */ - maxY?: number; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsClipBounds - */ - centerX?: number; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsClipBounds - */ - centerY?: number; -} diff --git a/src/generated/models/PatientProfilePhotoPhotoAsImageGraphicsClipBoundsBounds2D.ts b/src/generated/models/PatientProfilePhotoPhotoAsImageGraphicsClipBoundsBounds2D.ts deleted file mode 100644 index 4988aa3df..000000000 --- a/src/generated/models/PatientProfilePhotoPhotoAsImageGraphicsClipBoundsBounds2D.ts +++ /dev/null @@ -1,74 +0,0 @@ -// tslint:disable -/** - * Open Hospital API Documentation - * Open Hospital API Documentation - * - * The version of the OpenAPI document: 0.1.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -/** - * @export - * @interface PatientProfilePhotoPhotoAsImageGraphicsClipBoundsBounds2D - */ -export interface PatientProfilePhotoPhotoAsImageGraphicsClipBoundsBounds2D { - /** - * @type {boolean} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsClipBoundsBounds2D - */ - empty?: boolean; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsClipBoundsBounds2D - */ - height?: number; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsClipBoundsBounds2D - */ - minX?: number; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsClipBoundsBounds2D - */ - minY?: number; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsClipBoundsBounds2D - */ - width?: number; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsClipBoundsBounds2D - */ - x?: number; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsClipBoundsBounds2D - */ - y?: number; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsClipBoundsBounds2D - */ - maxX?: number; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsClipBoundsBounds2D - */ - maxY?: number; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsClipBoundsBounds2D - */ - centerX?: number; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsClipBoundsBounds2D - */ - centerY?: number; -} diff --git a/src/generated/models/PatientProfilePhotoPhotoAsImageGraphicsClipBoundsLocation.ts b/src/generated/models/PatientProfilePhotoPhotoAsImageGraphicsClipBoundsLocation.ts deleted file mode 100644 index 1071b6994..000000000 --- a/src/generated/models/PatientProfilePhotoPhotoAsImageGraphicsClipBoundsLocation.ts +++ /dev/null @@ -1,29 +0,0 @@ -// tslint:disable -/** - * Open Hospital API Documentation - * Open Hospital API Documentation - * - * The version of the OpenAPI document: 0.1.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -/** - * @export - * @interface PatientProfilePhotoPhotoAsImageGraphicsClipBoundsLocation - */ -export interface PatientProfilePhotoPhotoAsImageGraphicsClipBoundsLocation { - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsClipBoundsLocation - */ - x?: number; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsClipBoundsLocation - */ - y?: number; -} diff --git a/src/generated/models/PatientProfilePhotoPhotoAsImageGraphicsClipBoundsSize.ts b/src/generated/models/PatientProfilePhotoPhotoAsImageGraphicsClipBoundsSize.ts deleted file mode 100644 index 1ffb63be4..000000000 --- a/src/generated/models/PatientProfilePhotoPhotoAsImageGraphicsClipBoundsSize.ts +++ /dev/null @@ -1,29 +0,0 @@ -// tslint:disable -/** - * Open Hospital API Documentation - * Open Hospital API Documentation - * - * The version of the OpenAPI document: 0.1.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -/** - * @export - * @interface PatientProfilePhotoPhotoAsImageGraphicsClipBoundsSize - */ -export interface PatientProfilePhotoPhotoAsImageGraphicsClipBoundsSize { - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsClipBoundsSize - */ - width?: number; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsClipBoundsSize - */ - height?: number; -} diff --git a/src/generated/models/PatientProfilePhotoPhotoAsImageGraphicsColor.ts b/src/generated/models/PatientProfilePhotoPhotoAsImageGraphicsColor.ts deleted file mode 100644 index 62d03be4c..000000000 --- a/src/generated/models/PatientProfilePhotoPhotoAsImageGraphicsColor.ts +++ /dev/null @@ -1,58 +0,0 @@ -// tslint:disable -/** - * Open Hospital API Documentation - * Open Hospital API Documentation - * - * The version of the OpenAPI document: 0.1.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -import { - PatientProfilePhotoPhotoAsImageGraphicsColorColorSpace, -} from './'; - -/** - * @export - * @interface PatientProfilePhotoPhotoAsImageGraphicsColor - */ -export interface PatientProfilePhotoPhotoAsImageGraphicsColor { - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsColor - */ - red?: number; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsColor - */ - green?: number; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsColor - */ - blue?: number; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsColor - */ - alpha?: number; - /** - * @type {PatientProfilePhotoPhotoAsImageGraphicsColorColorSpace} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsColor - */ - colorSpace?: PatientProfilePhotoPhotoAsImageGraphicsColorColorSpace; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsColor - */ - rgb?: number; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsColor - */ - transparency?: number; -} diff --git a/src/generated/models/PatientProfilePhotoPhotoAsImageGraphicsColorColorSpace.ts b/src/generated/models/PatientProfilePhotoPhotoAsImageGraphicsColorColorSpace.ts deleted file mode 100644 index 8b2f7f8b8..000000000 --- a/src/generated/models/PatientProfilePhotoPhotoAsImageGraphicsColorColorSpace.ts +++ /dev/null @@ -1,34 +0,0 @@ -// tslint:disable -/** - * Open Hospital API Documentation - * Open Hospital API Documentation - * - * The version of the OpenAPI document: 0.1.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -/** - * @export - * @interface PatientProfilePhotoPhotoAsImageGraphicsColorColorSpace - */ -export interface PatientProfilePhotoPhotoAsImageGraphicsColorColorSpace { - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsColorColorSpace - */ - type?: number; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsColorColorSpace - */ - numComponents?: number; - /** - * @type {boolean} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsColorColorSpace - */ - cs_sRGB?: boolean; -} diff --git a/src/generated/models/PatientProfilePhotoPhotoAsImageGraphicsFont.ts b/src/generated/models/PatientProfilePhotoPhotoAsImageGraphicsFont.ts deleted file mode 100644 index 18f744972..000000000 --- a/src/generated/models/PatientProfilePhotoPhotoAsImageGraphicsFont.ts +++ /dev/null @@ -1,108 +0,0 @@ -// tslint:disable -/** - * Open Hospital API Documentation - * Open Hospital API Documentation - * - * The version of the OpenAPI document: 0.1.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -import { - PatientProfilePhotoPhotoAsImageGraphicsFontTransform, -} from './'; - -/** - * @export - * @interface PatientProfilePhotoPhotoAsImageGraphicsFont - */ -export interface PatientProfilePhotoPhotoAsImageGraphicsFont { - /** - * @type {string} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsFont - */ - name?: string; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsFont - */ - style?: number; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsFont - */ - size?: number; - /** - * @type {{ [key: string]: object; }} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsFont - */ - attributes?: { [key: string]: object; }; - /** - * @type {string} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsFont - */ - family?: string; - /** - * @type {boolean} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsFont - */ - plain?: boolean; - /** - * @type {string} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsFont - */ - fontName?: string; - /** - * @type {PatientProfilePhotoPhotoAsImageGraphicsFontTransform} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsFont - */ - transform?: PatientProfilePhotoPhotoAsImageGraphicsFontTransform; - /** - * @type {boolean} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsFont - */ - bold?: boolean; - /** - * @type {boolean} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsFont - */ - italic?: boolean; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsFont - */ - numGlyphs?: number; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsFont - */ - missingGlyphCode?: number; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsFont - */ - italicAngle?: number; - /** - * @type {boolean} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsFont - */ - transformed?: boolean; - /** - * @type {string} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsFont - */ - psname?: string; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsFont - */ - size2D?: number; - /** - * @type {Array} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsFont - */ - availableAttributes?: Array; -} diff --git a/src/generated/models/PatientProfilePhotoPhotoAsImageGraphicsFontMetrics.ts b/src/generated/models/PatientProfilePhotoPhotoAsImageGraphicsFontMetrics.ts deleted file mode 100644 index 4ce03cb67..000000000 --- a/src/generated/models/PatientProfilePhotoPhotoAsImageGraphicsFontMetrics.ts +++ /dev/null @@ -1,79 +0,0 @@ -// tslint:disable -/** - * Open Hospital API Documentation - * Open Hospital API Documentation - * - * The version of the OpenAPI document: 0.1.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -import { - PatientProfilePhotoPhotoAsImageGraphicsFont, - PatientProfilePhotoPhotoAsImageGraphicsFontMetricsFontRenderContext, -} from './'; - -/** - * @export - * @interface PatientProfilePhotoPhotoAsImageGraphicsFontMetrics - */ -export interface PatientProfilePhotoPhotoAsImageGraphicsFontMetrics { - /** - * @type {PatientProfilePhotoPhotoAsImageGraphicsFont} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsFontMetrics - */ - font?: PatientProfilePhotoPhotoAsImageGraphicsFont; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsFontMetrics - */ - height?: number; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsFontMetrics - */ - ascent?: number; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsFontMetrics - */ - descent?: number; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsFontMetrics - */ - leading?: number; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsFontMetrics - */ - maxDescent?: number; - /** - * @type {Array} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsFontMetrics - */ - widths?: Array; - /** - * @type {PatientProfilePhotoPhotoAsImageGraphicsFontMetricsFontRenderContext} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsFontMetrics - */ - fontRenderContext?: PatientProfilePhotoPhotoAsImageGraphicsFontMetricsFontRenderContext; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsFontMetrics - */ - maxAscent?: number; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsFontMetrics - */ - maxDecent?: number; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsFontMetrics - */ - maxAdvance?: number; -} diff --git a/src/generated/models/PatientProfilePhotoPhotoAsImageGraphicsFontMetricsFontRenderContext.ts b/src/generated/models/PatientProfilePhotoPhotoAsImageGraphicsFontMetricsFontRenderContext.ts deleted file mode 100644 index d3e4d2313..000000000 --- a/src/generated/models/PatientProfilePhotoPhotoAsImageGraphicsFontMetricsFontRenderContext.ts +++ /dev/null @@ -1,53 +0,0 @@ -// tslint:disable -/** - * Open Hospital API Documentation - * Open Hospital API Documentation - * - * The version of the OpenAPI document: 0.1.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -import { - PatientProfilePhotoPhotoAsImageGraphicsFontTransform, -} from './'; - -/** - * @export - * @interface PatientProfilePhotoPhotoAsImageGraphicsFontMetricsFontRenderContext - */ -export interface PatientProfilePhotoPhotoAsImageGraphicsFontMetricsFontRenderContext { - /** - * @type {PatientProfilePhotoPhotoAsImageGraphicsFontTransform} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsFontMetricsFontRenderContext - */ - transform?: PatientProfilePhotoPhotoAsImageGraphicsFontTransform; - /** - * @type {object} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsFontMetricsFontRenderContext - */ - antiAliasingHint?: object; - /** - * @type {object} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsFontMetricsFontRenderContext - */ - fractionalMetricsHint?: object; - /** - * @type {boolean} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsFontMetricsFontRenderContext - */ - transformed?: boolean; - /** - * @type {boolean} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsFontMetricsFontRenderContext - */ - antiAliased?: boolean; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsFontMetricsFontRenderContext - */ - transformType?: number; -} diff --git a/src/generated/models/PatientProfilePhotoPhotoAsImageGraphicsFontTransform.ts b/src/generated/models/PatientProfilePhotoPhotoAsImageGraphicsFontTransform.ts deleted file mode 100644 index 2195517ff..000000000 --- a/src/generated/models/PatientProfilePhotoPhotoAsImageGraphicsFontTransform.ts +++ /dev/null @@ -1,74 +0,0 @@ -// tslint:disable -/** - * Open Hospital API Documentation - * Open Hospital API Documentation - * - * The version of the OpenAPI document: 0.1.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -/** - * @export - * @interface PatientProfilePhotoPhotoAsImageGraphicsFontTransform - */ -export interface PatientProfilePhotoPhotoAsImageGraphicsFontTransform { - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsFontTransform - */ - scaleX?: number; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsFontTransform - */ - shearY?: number; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsFontTransform - */ - shearX?: number; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsFontTransform - */ - scaleY?: number; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsFontTransform - */ - translateX?: number; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsFontTransform - */ - translateY?: number; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsFontTransform - */ - type?: number; - /** - * @type {boolean} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsFontTransform - */ - identity?: boolean; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsFontTransform - */ - toRotation?: number; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsFontTransform - */ - toQuadrantRotation?: number; - /** - * @type {number} - * @memberof PatientProfilePhotoPhotoAsImageGraphicsFontTransform - */ - determinant?: number; -} diff --git a/src/generated/models/PriceDTO.ts b/src/generated/models/PriceDTO.ts index 7f504cff5..14f1b2daa 100644 --- a/src/generated/models/PriceDTO.ts +++ b/src/generated/models/PriceDTO.ts @@ -12,7 +12,7 @@ */ import { - PriceList, + PriceListDTO, } from './'; /** @@ -27,10 +27,10 @@ export interface PriceDTO { */ id?: number; /** - * @type {PriceList} + * @type {PriceListDTO} * @memberof PriceDTO */ - list: PriceList; + list: PriceListDTO; /** * The group * @type {string} diff --git a/src/generated/models/TherapyRow.ts b/src/generated/models/TherapyRow.ts deleted file mode 100644 index 299196676..000000000 --- a/src/generated/models/TherapyRow.ts +++ /dev/null @@ -1,123 +0,0 @@ -// tslint:disable -/** - * Open Hospital API Documentation - * Open Hospital API Documentation - * - * The version of the OpenAPI document: 0.1.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -import { - Patient, -} from './'; - -/** - * @export - * @interface TherapyRow - */ -export interface TherapyRow { - /** - * @type {string} - * @memberof TherapyRow - */ - createdBy?: string; - /** - * @type {string} - * @memberof TherapyRow - */ - createdDate?: string; - /** - * @type {string} - * @memberof TherapyRow - */ - lastModifiedBy?: string; - /** - * @type {string} - * @memberof TherapyRow - */ - lastModifiedDate?: string; - /** - * @type {number} - * @memberof TherapyRow - */ - active?: number; - /** - * @type {number} - * @memberof TherapyRow - */ - therapyID?: number; - /** - * @type {Patient} - * @memberof TherapyRow - */ - patient: Patient; - /** - * @type {string} - * @memberof TherapyRow - */ - startDate: string; - /** - * @type {string} - * @memberof TherapyRow - */ - endDate: string; - /** - * @type {number} - * @memberof TherapyRow - */ - medicalId: number; - /** - * @type {number} - * @memberof TherapyRow - */ - qty: number; - /** - * @type {number} - * @memberof TherapyRow - */ - unitID: number; - /** - * @type {number} - * @memberof TherapyRow - */ - freqInDay: number; - /** - * @type {number} - * @memberof TherapyRow - */ - freqInPeriod: number; - /** - * @type {string} - * @memberof TherapyRow - */ - note?: string; - /** - * @type {number} - * @memberof TherapyRow - */ - notifyInt: number; - /** - * @type {number} - * @memberof TherapyRow - */ - smsInt: number; - /** - * @type {number} - * @memberof TherapyRow - */ - medical?: number; - /** - * @type {boolean} - * @memberof TherapyRow - */ - notify?: boolean; - /** - * @type {boolean} - * @memberof TherapyRow - */ - sms?: boolean; -} diff --git a/src/generated/models/WardDTO.ts b/src/generated/models/WardDTO.ts index 9e7f85115..30323fb44 100644 --- a/src/generated/models/WardDTO.ts +++ b/src/generated/models/WardDTO.ts @@ -81,15 +81,15 @@ export interface WardDTO { * @type {boolean} * @memberof WardDTO */ - male?: boolean; + pharmacy?: boolean; /** * @type {boolean} * @memberof WardDTO */ - female?: boolean; + male?: boolean; /** * @type {boolean} * @memberof WardDTO */ - pharmacy?: boolean; + female?: boolean; } diff --git a/src/generated/models/index.ts b/src/generated/models/index.ts index 28479b26d..a3e3e6f41 100644 --- a/src/generated/models/index.ts +++ b/src/generated/models/index.ts @@ -41,36 +41,18 @@ export * from './PageLabWithRowsDTO'; export * from './PageOpdDTO'; export * from './PagePatientDTO'; export * from './PagePatientExaminationDTO'; -export * from './Patient'; -export * from './PatientConsensus'; export * from './PatientConsensusDTO'; export * from './PatientDTO'; export * from './PatientExaminationDTO'; -export * from './PatientProfilePhoto'; -export * from './PatientProfilePhotoPhotoAsImage'; -export * from './PatientProfilePhotoPhotoAsImageGraphics'; -export * from './PatientProfilePhotoPhotoAsImageGraphicsClip'; -export * from './PatientProfilePhotoPhotoAsImageGraphicsClipBounds'; -export * from './PatientProfilePhotoPhotoAsImageGraphicsClipBoundsBounds2D'; -export * from './PatientProfilePhotoPhotoAsImageGraphicsClipBoundsLocation'; -export * from './PatientProfilePhotoPhotoAsImageGraphicsClipBoundsSize'; -export * from './PatientProfilePhotoPhotoAsImageGraphicsColor'; -export * from './PatientProfilePhotoPhotoAsImageGraphicsColorColorSpace'; -export * from './PatientProfilePhotoPhotoAsImageGraphicsFont'; -export * from './PatientProfilePhotoPhotoAsImageGraphicsFontMetrics'; -export * from './PatientProfilePhotoPhotoAsImageGraphicsFontMetricsFontRenderContext'; -export * from './PatientProfilePhotoPhotoAsImageGraphicsFontTransform'; export * from './PatientVaccineDTO'; export * from './PermissionDTO'; export * from './PregnantTreatmentTypeDTO'; export * from './PriceDTO'; -export * from './PriceList'; export * from './PriceListDTO'; export * from './PricesOthersDTO'; export * from './SmsDTO'; export * from './SupplierDTO'; export * from './TherapyDTO'; -export * from './TherapyRow'; export * from './TherapyRowDTO'; export * from './TokenRefreshRequest'; export * from './UserDTO'; diff --git a/src/state/types/discharges/thunk.ts b/src/state/types/discharges/thunk.ts index 7f0d521c9..2039d4a08 100644 --- a/src/state/types/discharges/thunk.ts +++ b/src/state/types/discharges/thunk.ts @@ -26,7 +26,7 @@ export const updateDischargeType = createAsyncThunk( "dischargeTypes/updateDischargeType", async (dischargeTypeDTO: DischargeTypeDTO, thunkApi) => api - .updateDischargeTypet({ dischargeTypeDTO }) + .updateDischargeType({ dischargeTypeDTO }) .toPromise() .catch((error) => thunkApi.rejectWithValue(error.response)) );