@more-life/types-more-life-react 0.83.1 → 0.84.0
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/dto/application/applicationEmbedded.dto.d.ts +2 -0
- package/dist/dto/application/applicationEmbedded.dto.js +8 -0
- package/dist/dto/application/applicationEmbedded.dto.js.map +1 -1
- package/dist/dto/patient/createPatientInfo.dto.d.ts +0 -1
- package/dist/dto/patient/createPatientInfo.dto.js +0 -7
- package/dist/dto/patient/createPatientInfo.dto.js.map +1 -1
- package/dist/dto/patient/patientInfo.dto.d.ts +0 -1
- package/dist/dto/patient/patientInfo.dto.js +0 -5
- package/dist/dto/patient/patientInfo.dto.js.map +1 -1
- package/dist/dto/patient/patientInfoEmbedded.dto.d.ts +0 -2
- package/dist/dto/patient/patientInfoEmbedded.dto.js +0 -8
- package/dist/dto/patient/patientInfoEmbedded.dto.js.map +1 -1
- package/dist/dto/patient/updatePatientInfo.dto.d.ts +0 -1
- package/dist/dto/patient/updatePatientInfo.dto.js +0 -6
- package/dist/dto/patient/updatePatientInfo.dto.js.map +1 -1
- package/dist/dto/therapyPlan/createTherapyPlan.dto.d.ts +2 -2
- package/dist/dto/therapyPlan/createTherapyPlan.dto.js +8 -13
- package/dist/dto/therapyPlan/createTherapyPlan.dto.js.map +1 -1
- package/dist/dto/therapyPlan/therapyPlan.dto.d.ts +3 -2
- package/dist/dto/therapyPlan/therapyPlan.dto.js +11 -5
- package/dist/dto/therapyPlan/therapyPlan.dto.js.map +1 -1
- package/dist/dto/therapyPlan/therapyPlanEmbedded.dto.d.ts +2 -2
- package/dist/dto/therapyPlan/therapyPlanEmbedded.dto.js +5 -7
- package/dist/dto/therapyPlan/therapyPlanEmbedded.dto.js.map +1 -1
- package/dist/dto/therapyPlan/updateTherapyPlan.dto.d.ts +2 -2
- package/dist/dto/therapyPlan/updateTherapyPlan.dto.js +9 -7
- package/dist/dto/therapyPlan/updateTherapyPlan.dto.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -7,9 +7,11 @@ import { ApplicationInsuranceDto } from '../applicationInsurance/applicationInsu
|
|
|
7
7
|
import { CareFacilityDto } from '../careFacility/careFacility.dto';
|
|
8
8
|
import { TherapySummaryDto } from '../therapySummary/therapySummary.dto';
|
|
9
9
|
import { GeridocPatientDto } from '../geridocPatient/geridocPatient.dto';
|
|
10
|
+
import { TherapyPlanDto } from '../therapyPlan/therapyPlan.dto';
|
|
10
11
|
export declare class ApplicationEmbeddedDto {
|
|
11
12
|
patientInfo?: PatientInfoDto;
|
|
12
13
|
extensions?: ExtensionDto[];
|
|
14
|
+
therapyPlan?: TherapyPlanDto;
|
|
13
15
|
latestExtensionView?: ExtensionDto;
|
|
14
16
|
practitionerInfo?: GeneralPractitionerInfoDto;
|
|
15
17
|
careFacility?: CareFacilityDto;
|
|
@@ -22,6 +22,7 @@ const applicationInsurance_dto_1 = require("../applicationInsurance/applicationI
|
|
|
22
22
|
const careFacility_dto_1 = require("../careFacility/careFacility.dto");
|
|
23
23
|
const therapySummary_dto_1 = require("../therapySummary/therapySummary.dto");
|
|
24
24
|
const geridocPatient_dto_1 = require("../geridocPatient/geridocPatient.dto");
|
|
25
|
+
const therapyPlan_dto_1 = require("../therapyPlan/therapyPlan.dto");
|
|
25
26
|
class ApplicationEmbeddedDto {
|
|
26
27
|
}
|
|
27
28
|
__decorate([
|
|
@@ -38,6 +39,13 @@ __decorate([
|
|
|
38
39
|
(0, class_transformer_1.Expose)(),
|
|
39
40
|
__metadata("design:type", Array)
|
|
40
41
|
], ApplicationEmbeddedDto.prototype, "extensions", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, nestjs_1.ApiProperty)({ type: () => therapyPlan_dto_1.TherapyPlanDto, required: false }),
|
|
44
|
+
(0, class_transformer_1.Type)(() => therapyPlan_dto_1.TherapyPlanDto),
|
|
45
|
+
(0, class_validator_1.IsOptional)(),
|
|
46
|
+
(0, class_transformer_1.Expose)(),
|
|
47
|
+
__metadata("design:type", therapyPlan_dto_1.TherapyPlanDto)
|
|
48
|
+
], ApplicationEmbeddedDto.prototype, "therapyPlan", void 0);
|
|
41
49
|
__decorate([
|
|
42
50
|
(0, nestjs_1.ApiProperty)({ type: () => extension_dto_1.ExtensionDto, required: false }),
|
|
43
51
|
(0, class_transformer_1.Type)(() => extension_dto_1.ExtensionDto),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicationEmbedded.dto.js","sourceRoot":"","sources":["../../../src/dto/application/applicationEmbedded.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6C;AAC7C,yDAAiD;AACjD,yCAA2C;AAC3C,sGAAkG;AAClG,gEAA4D;AAC5D,+CAA2C;AAC3C,8DAA0D;AAC1D,2EAAuE;AACvE,+FAA2F;AAC3F,uEAAmE;AACnE,6EAAyE;AACzE,6EAAyE;
|
|
1
|
+
{"version":3,"file":"applicationEmbedded.dto.js","sourceRoot":"","sources":["../../../src/dto/application/applicationEmbedded.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6C;AAC7C,yDAAiD;AACjD,yCAA2C;AAC3C,sGAAkG;AAClG,gEAA4D;AAC5D,+CAA2C;AAC3C,8DAA0D;AAC1D,2EAAuE;AACvE,+FAA2F;AAC3F,uEAAmE;AACnE,6EAAyE;AACzE,6EAAyE;AACzE,oEAAgE;AAEhE,MAAa,sBAAsB;CA4ElC;AA3EA;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,gCAAc,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC5D,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gCAAc,CAAC;IAC1B,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;8BACK,gCAAc;2DAAC;AAE7B;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,4BAAY,EAAE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M,GAAE;8BACG,kBAAO;yDAAC;AA3ErB,wDA4EC"}
|
|
@@ -7,7 +7,6 @@ export declare class CreatePatientInfoDto {
|
|
|
7
7
|
appointmentListRecipient?: AppointmentListRecipientEnum;
|
|
8
8
|
appointmentListChannel?: CommunicationChannelEnum;
|
|
9
9
|
userId: string;
|
|
10
|
-
therapyPlanId?: string;
|
|
11
10
|
crewId?: string;
|
|
12
11
|
static fromPlain(object: any): CreatePatientInfoDto;
|
|
13
12
|
}
|
|
@@ -55,13 +55,6 @@ __decorate([
|
|
|
55
55
|
(0, class_transformer_1.Expose)(),
|
|
56
56
|
__metadata("design:type", String)
|
|
57
57
|
], CreatePatientInfoDto.prototype, "userId", void 0);
|
|
58
|
-
__decorate([
|
|
59
|
-
(0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: false }),
|
|
60
|
-
(0, class_validator_1.IsOptional)(),
|
|
61
|
-
(0, class_validator_1.IsUUID)(),
|
|
62
|
-
(0, class_transformer_1.Expose)(),
|
|
63
|
-
__metadata("design:type", String)
|
|
64
|
-
], CreatePatientInfoDto.prototype, "therapyPlanId", void 0);
|
|
65
58
|
__decorate([
|
|
66
59
|
(0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: false }),
|
|
67
60
|
(0, class_validator_1.IsUUID)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createPatientInfo.dto.js","sourceRoot":"","sources":["../../../src/dto/patient/createPatientInfo.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAA2C;AAC3C,qDAA2D;AAC3D,sEAAmE;AAEnE,sEAAkE;AAClE,oFAAgF;AAChF,4FAAwF;AAExF,MAAa,oBAAoB;
|
|
1
|
+
{"version":3,"file":"createPatientInfo.dto.js","sourceRoot":"","sources":["../../../src/dto/patient/createPatientInfo.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAA2C;AAC3C,qDAA2D;AAC3D,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AAE;;oDACM;AAEf;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9D,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;oDACO;AAjCjB,oDAsCC"}
|
|
@@ -19,7 +19,6 @@ export declare class PatientInfoDto extends PatientInfoDto_base {
|
|
|
19
19
|
appointmentListRecipient: AppointmentListRecipientEnum;
|
|
20
20
|
appointmentListChannel: CommunicationChannelEnum;
|
|
21
21
|
userId: string;
|
|
22
|
-
therapyPlanId: string;
|
|
23
22
|
crewId?: string;
|
|
24
23
|
manualNextStatuses: XstateTransitionDto[];
|
|
25
24
|
automatedNextStatuses: XstateTransitionDto[];
|
|
@@ -61,11 +61,6 @@ __decorate([
|
|
|
61
61
|
(0, class_transformer_1.Expose)(),
|
|
62
62
|
__metadata("design:type", String)
|
|
63
63
|
], PatientInfoDto.prototype, "userId", void 0);
|
|
64
|
-
__decorate([
|
|
65
|
-
(0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: true }),
|
|
66
|
-
(0, class_transformer_1.Expose)(),
|
|
67
|
-
__metadata("design:type", String)
|
|
68
|
-
], PatientInfoDto.prototype, "therapyPlanId", void 0);
|
|
69
64
|
__decorate([
|
|
70
65
|
(0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: false }),
|
|
71
66
|
(0, class_transformer_1.Expose)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patientInfo.dto.js","sourceRoot":"","sources":["../../../src/dto/patient/patientInfo.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAAiD;AACjD,kDAA8C;AAC9C,uEAAmE;AACnE,oFAAgF;AAChF,sEAAsD;AACtD,sEAAkE;AAClE,4FAAwF;AACxF,mFAA+E;AAC/E,uEAAmE;AAEnE,oEAAgE;AA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EAAE,CAAC,gCAAc,CAAC;IAC7B,IAAA,0BAAM,GAAE;8BACO,gCAAc;sDAAC;AAE/B;IAAC,IAAA,oBAAW,EAAC;QACZ,IAAI,EAAE,GAAG,EAAE,CAAC,gCAAc;QAC1B,OAAO,EAAE,IAAI;QACb,QAAQ,EAAE,KAAK;KACf,CAAC;IACD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gCAAc,CAAC;IAC1B,IAAA,0BAAM,GAAE;;oDACuB;AA1EjC,wCAgFC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { UserDto } from '../user/user.dto';
|
|
2
|
-
import { TherapyPlanDto } from '../therapyPlan/therapyPlan.dto';
|
|
3
2
|
import { PatientPractitionerDto } from '../patientPractitioner/patientPractitioner.dto';
|
|
4
3
|
import { BlockDto } from '../block/block.dto';
|
|
5
4
|
import { OptimizedBlockDto } from '../optimizedBlock/optimizedBlock.dto';
|
|
@@ -15,7 +14,6 @@ import { LatestApplicationDto } from '../latestApplication/latestApplication.dto
|
|
|
15
14
|
import { ThreadDto } from '../thread/thread.dto';
|
|
16
15
|
export declare class PatientInfoEmbeddedDto {
|
|
17
16
|
user?: UserDto;
|
|
18
|
-
therapyPlan?: TherapyPlanDto;
|
|
19
17
|
blocks?: BlockDto[];
|
|
20
18
|
primaryContactView?: PatientContactDto;
|
|
21
19
|
crew?: CrewDto;
|
|
@@ -14,7 +14,6 @@ const nestjs_1 = require("../../nestjs");
|
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
15
|
const class_validator_1 = require("class-validator");
|
|
16
16
|
const user_dto_1 = require("../user/user.dto");
|
|
17
|
-
const therapyPlan_dto_1 = require("../therapyPlan/therapyPlan.dto");
|
|
18
17
|
const patientPractitioner_dto_1 = require("../patientPractitioner/patientPractitioner.dto");
|
|
19
18
|
const block_dto_1 = require("../block/block.dto");
|
|
20
19
|
const optimizedBlock_dto_1 = require("../optimizedBlock/optimizedBlock.dto");
|
|
@@ -37,13 +36,6 @@ __decorate([
|
|
|
37
36
|
(0, class_transformer_1.Expose)(),
|
|
38
37
|
__metadata("design:type", user_dto_1.UserDto)
|
|
39
38
|
], PatientInfoEmbeddedDto.prototype, "user", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, nestjs_1.ApiProperty)({ type: () => therapyPlan_dto_1.TherapyPlanDto, required: false }),
|
|
42
|
-
(0, class_transformer_1.Type)(() => therapyPlan_dto_1.TherapyPlanDto),
|
|
43
|
-
(0, class_validator_1.IsOptional)(),
|
|
44
|
-
(0, class_transformer_1.Expose)(),
|
|
45
|
-
__metadata("design:type", therapyPlan_dto_1.TherapyPlanDto)
|
|
46
|
-
], PatientInfoEmbeddedDto.prototype, "therapyPlan", void 0);
|
|
47
39
|
__decorate([
|
|
48
40
|
(0, nestjs_1.ApiProperty)({ type: () => block_dto_1.BlockDto, required: false }),
|
|
49
41
|
(0, class_transformer_1.Type)(() => block_dto_1.BlockDto),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patientInfoEmbedded.dto.js","sourceRoot":"","sources":["../../../src/dto/patient/patientInfoEmbedded.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAAiD;AACjD,qDAA6C;AAC7C,+CAA2C;
|
|
1
|
+
{"version":3,"file":"patientInfoEmbedded.dto.js","sourceRoot":"","sources":["../../../src/dto/patient/patientInfoEmbedded.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAAiD;AACjD,qDAA6C;AAC7C,+CAA2C;AAE3C,4FAAwF;AACxF,kDAA8C;AAC9C,6EAAyE;AACzE,sFAAkF;AAClF,6EAAyE;AACzE,2DAAuD;AACvD,oEAAgE;AAChE,2EAAuE;AACvE,+CAA2C;AAC3C,mFAA+E;AAC/E,uEAAmE;AACnE,sFAAkF;AAClF,qDAAiD;AAEjD,MAAa,sBAAsB;CAwHlC;AAvHA;IAAC,IAAA,oBAAW,EAAC,EAAE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G,EAAE,CAAC,kBAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACrD,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kBAAO,CAAC;IACnB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;8BACG,kBAAO;yDAAC;AAEpB;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACrD,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kBAAO,CAAC;IACnB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;8BACG,kBAAO;yDAAC;AAvHrB,wDAwHC"}
|
|
@@ -7,7 +7,6 @@ export declare class UpdatePatientInfoDto {
|
|
|
7
7
|
appointmentListRecipient?: AppointmentListRecipientEnum;
|
|
8
8
|
appointmentListChannel?: CommunicationChannelEnum | null;
|
|
9
9
|
userId?: string;
|
|
10
|
-
therapyPlanId?: string;
|
|
11
10
|
crewId?: string | null;
|
|
12
11
|
static fromPlain(object: any): UpdatePatientInfoDto;
|
|
13
12
|
}
|
|
@@ -56,12 +56,6 @@ __decorate([
|
|
|
56
56
|
(0, class_transformer_1.Expose)(),
|
|
57
57
|
__metadata("design:type", String)
|
|
58
58
|
], UpdatePatientInfoDto.prototype, "userId", void 0);
|
|
59
|
-
__decorate([
|
|
60
|
-
(0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: false }),
|
|
61
|
-
(0, class_validator_1.IsOptional)(),
|
|
62
|
-
(0, class_transformer_1.Expose)(),
|
|
63
|
-
__metadata("design:type", String)
|
|
64
|
-
], UpdatePatientInfoDto.prototype, "therapyPlanId", void 0);
|
|
65
59
|
__decorate([
|
|
66
60
|
(0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: false }),
|
|
67
61
|
(0, class_validator_1.IsUUID)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updatePatientInfo.dto.js","sourceRoot":"","sources":["../../../src/dto/patient/updatePatientInfo.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAA2C;AAC3C,qDAA2D;AAC3D,sEAAmE;AACnE,oFAAgF;AAChF,sEAAkE;AAClE,4FAAwF;AAExF,MAAa,oBAAoB;
|
|
1
|
+
{"version":3,"file":"updatePatientInfo.dto.js","sourceRoot":"","sources":["../../../src/dto/patient/updatePatientInfo.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAA2C;AAC3C,qDAA2D;AAC3D,sEAAmE;AACnE,oFAAgF;AAChF,sEAAkE;AAClE,4FAAwF;AAExF,MAAa,oBAAoB;IAoCzB,MAAM,CAAC,SAAS,CAAC,MAAW;QAClC,OAAO,IAAA,uCAAkB,EAAC,oBAAoB,EAAE,MAAM,CAAC,CAAC;IACzD,CAAC;CACD;AAtCA;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,sCAAiB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACzD,IAAA,sBAAI,EAAC,MAAM,CAAC,MAAM,CAAC,sCAAiB,CAAC,CAAC;IACtC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;oDACkB;AAE3B;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,oDAAwB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAChE,IAAA,sBAAI,EAAC,MAAM,CAAC,MAAM,CAAC,oDAAwB,CAAC,CAAC;IAC7C,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;+DACoC;AAE7C;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,4DAA4B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACpE,IAAA,sBAAI,EAAC,MAAM,CAAC,MAAM,CAAC,4DAA4B,CAAC,CAAC;IACjD,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;sEAC+C;AAExD;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,oDAAwB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAChE,IAAA,sBAAI,EAAC,MAAM,CAAC,MAAM,CAAC,oDAAwB,CAAC,CAAC;IAC7C,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;oEACgD;AAEzD;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9D,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;oDACO;AAEhB;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9D,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;oDACc;AAlCxB,oDAuCC"}
|
|
@@ -8,34 +8,29 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
-
};
|
|
14
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
12
|
exports.CreateTherapyPlanDto = void 0;
|
|
16
13
|
const nestjs_1 = require("../../nestjs");
|
|
17
14
|
const class_transformer_1 = require("class-transformer");
|
|
18
15
|
const class_validator_1 = require("class-validator");
|
|
19
16
|
const convertAndValidate_1 = require("../../util/convertAndValidate");
|
|
20
|
-
const trimString_1 = __importDefault(require("../../util/trimString"));
|
|
21
17
|
class CreateTherapyPlanDto {
|
|
22
18
|
static fromPlain(object) {
|
|
23
19
|
return (0, convertAndValidate_1.convertAndValidate)(CreateTherapyPlanDto, object);
|
|
24
20
|
}
|
|
25
21
|
}
|
|
26
22
|
__decorate([
|
|
27
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
28
|
-
(0, class_validator_1.
|
|
23
|
+
(0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: true }),
|
|
24
|
+
(0, class_validator_1.IsUUID)(),
|
|
29
25
|
(0, class_transformer_1.Expose)(),
|
|
30
|
-
(0, trimString_1.default)(),
|
|
31
26
|
__metadata("design:type", String)
|
|
32
|
-
], CreateTherapyPlanDto.prototype, "
|
|
27
|
+
], CreateTherapyPlanDto.prototype, "applicationId", void 0);
|
|
33
28
|
__decorate([
|
|
34
|
-
(0, nestjs_1.ApiProperty)({ type:
|
|
35
|
-
(0, class_validator_1.
|
|
29
|
+
(0, nestjs_1.ApiProperty)({ type: Object, required: false }),
|
|
30
|
+
(0, class_validator_1.IsOptional)(),
|
|
31
|
+
(0, class_validator_1.IsObject)(),
|
|
36
32
|
(0, class_transformer_1.Expose)(),
|
|
37
|
-
(
|
|
38
|
-
|
|
39
|
-
], CreateTherapyPlanDto.prototype, "description", void 0);
|
|
33
|
+
__metadata("design:type", Object)
|
|
34
|
+
], CreateTherapyPlanDto.prototype, "rules", void 0);
|
|
40
35
|
exports.CreateTherapyPlanDto = CreateTherapyPlanDto;
|
|
41
36
|
//# sourceMappingURL=createTherapyPlan.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createTherapyPlan.dto.js","sourceRoot":"","sources":["../../../src/dto/therapyPlan/createTherapyPlan.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"createTherapyPlan.dto.js","sourceRoot":"","sources":["../../../src/dto/therapyPlan/createTherapyPlan.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAA2C;AAC3C,qDAA+D;AAC/D,sEAAmE;AAEnE,MAAa,oBAAoB;IAYzB,MAAM,CAAC,SAAS,CAAC,MAAW;QAClC,OAAO,IAAA,uCAAkB,EAAC,oBAAoB,EAAE,MAAM,CAAC,CAAC;IACzD,CAAC;CACD;AAdA;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7D,IAAA,wBAAM,GAAE;IACR,IAAA,0BAAM,GAAE;;2DACa;AAEtB;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;;mDACG;AAVb,oDAeC"}
|
|
@@ -6,8 +6,9 @@ declare const TherapyPlanDto_base: new () => {
|
|
|
6
6
|
};
|
|
7
7
|
export declare class TherapyPlanDto extends TherapyPlanDto_base {
|
|
8
8
|
id: string;
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
applicationId: string;
|
|
10
|
+
rules?: any;
|
|
11
11
|
static fromEntity(entity: any): TherapyPlanDto;
|
|
12
|
+
static getDefaultRules(): any;
|
|
12
13
|
}
|
|
13
14
|
export {};
|
|
@@ -19,6 +19,12 @@ class TherapyPlanDto extends (0, base_dto_1.BaseDto)(therapyPlanEmbedded_dto_1.T
|
|
|
19
19
|
static fromEntity(entity) {
|
|
20
20
|
return (0, convertAndValidate_1.convert)(TherapyPlanDto, entity);
|
|
21
21
|
}
|
|
22
|
+
static getDefaultRules() {
|
|
23
|
+
return {
|
|
24
|
+
noOfAppointmentsPerWeek: 3,
|
|
25
|
+
anotherRule: true,
|
|
26
|
+
};
|
|
27
|
+
}
|
|
22
28
|
}
|
|
23
29
|
__decorate([
|
|
24
30
|
(0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: true }),
|
|
@@ -26,14 +32,14 @@ __decorate([
|
|
|
26
32
|
__metadata("design:type", String)
|
|
27
33
|
], TherapyPlanDto.prototype, "id", void 0);
|
|
28
34
|
__decorate([
|
|
29
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: true }),
|
|
35
|
+
(0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: true }),
|
|
30
36
|
(0, class_transformer_1.Expose)(),
|
|
31
37
|
__metadata("design:type", String)
|
|
32
|
-
], TherapyPlanDto.prototype, "
|
|
38
|
+
], TherapyPlanDto.prototype, "applicationId", void 0);
|
|
33
39
|
__decorate([
|
|
34
|
-
(0, nestjs_1.ApiProperty)({ type:
|
|
40
|
+
(0, nestjs_1.ApiProperty)({ type: Object, required: false }),
|
|
35
41
|
(0, class_transformer_1.Expose)(),
|
|
36
|
-
__metadata("design:type",
|
|
37
|
-
], TherapyPlanDto.prototype, "
|
|
42
|
+
__metadata("design:type", Object)
|
|
43
|
+
], TherapyPlanDto.prototype, "rules", void 0);
|
|
38
44
|
exports.TherapyPlanDto = TherapyPlanDto;
|
|
39
45
|
//# sourceMappingURL=therapyPlan.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"therapyPlan.dto.js","sourceRoot":"","sources":["../../../src/dto/therapyPlan/therapyPlan.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAA2C;AAC3C,uEAAmE;AACnE,sEAAwD;AACxD,kDAA8C;AAE9C,MAAa,cAAe,SAAQ,IAAA,kBAAO,EAAC,gDAAsB,CAAC;IAa3D,MAAM,CAAC,UAAU,CAAC,MAAW;QACnC,OAAO,IAAA,4BAAO,EAAC,cAAc,EAAE,MAAM,CAAC,CAAC;IACxC,CAAC;CACD;
|
|
1
|
+
{"version":3,"file":"therapyPlan.dto.js","sourceRoot":"","sources":["../../../src/dto/therapyPlan/therapyPlan.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAA2C;AAC3C,uEAAmE;AACnE,sEAAwD;AACxD,kDAA8C;AAE9C,MAAa,cAAe,SAAQ,IAAA,kBAAO,EAAC,gDAAsB,CAAC;IAa3D,MAAM,CAAC,UAAU,CAAC,MAAW;QACnC,OAAO,IAAA,4BAAO,EAAC,cAAc,EAAE,MAAM,CAAC,CAAC;IACxC,CAAC;IAEM,MAAM,CAAC,eAAe;QAC5B,OAAO;YACN,uBAAuB,EAAE,CAAC;YAC1B,WAAW,EAAE,IAAI;SACjB,CAAA;IACF,CAAC;CACD;AAtBA;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7D,IAAA,0BAAM,GAAE;;0CACG;AAEZ;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7D,IAAA,0BAAM,GAAE;;qDACa;AAEtB;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAM,GAAE;;6CACG;AAXb,wCAuBC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ApplicationDto } from '../application/application.dto';
|
|
2
2
|
import { UserDto } from '../user/user.dto';
|
|
3
3
|
export declare class TherapyPlanEmbeddedDto {
|
|
4
|
-
|
|
4
|
+
application?: ApplicationDto;
|
|
5
5
|
createdBy?: UserDto;
|
|
6
6
|
updatedBy?: UserDto;
|
|
7
7
|
}
|
|
@@ -13,22 +13,21 @@ exports.TherapyPlanEmbeddedDto = void 0;
|
|
|
13
13
|
const nestjs_1 = require("../../nestjs");
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
15
|
const class_validator_1 = require("class-validator");
|
|
16
|
-
const
|
|
16
|
+
const application_dto_1 = require("../application/application.dto");
|
|
17
17
|
const user_dto_1 = require("../user/user.dto");
|
|
18
18
|
class TherapyPlanEmbeddedDto {
|
|
19
19
|
}
|
|
20
20
|
__decorate([
|
|
21
|
-
(0, nestjs_1.ApiProperty)({ type: () =>
|
|
22
|
-
(0, class_transformer_1.Type)(() =>
|
|
21
|
+
(0, nestjs_1.ApiProperty)({ type: () => application_dto_1.ApplicationDto, required: false }),
|
|
22
|
+
(0, class_transformer_1.Type)(() => application_dto_1.ApplicationDto),
|
|
23
23
|
(0, class_validator_1.IsOptional)(),
|
|
24
24
|
(0, class_transformer_1.Expose)(),
|
|
25
|
-
__metadata("design:type",
|
|
26
|
-
], TherapyPlanEmbeddedDto.prototype, "
|
|
25
|
+
__metadata("design:type", application_dto_1.ApplicationDto)
|
|
26
|
+
], TherapyPlanEmbeddedDto.prototype, "application", void 0);
|
|
27
27
|
__decorate([
|
|
28
28
|
(0, nestjs_1.ApiProperty)({ type: () => user_dto_1.UserDto, required: false }),
|
|
29
29
|
(0, class_validator_1.IsOptional)(),
|
|
30
30
|
(0, class_transformer_1.Type)(() => user_dto_1.UserDto),
|
|
31
|
-
(0, class_validator_1.IsOptional)(),
|
|
32
31
|
(0, class_transformer_1.Expose)(),
|
|
33
32
|
__metadata("design:type", user_dto_1.UserDto)
|
|
34
33
|
], TherapyPlanEmbeddedDto.prototype, "createdBy", void 0);
|
|
@@ -36,7 +35,6 @@ __decorate([
|
|
|
36
35
|
(0, nestjs_1.ApiProperty)({ type: () => user_dto_1.UserDto, required: false }),
|
|
37
36
|
(0, class_validator_1.IsOptional)(),
|
|
38
37
|
(0, class_transformer_1.Type)(() => user_dto_1.UserDto),
|
|
39
|
-
(0, class_validator_1.IsOptional)(),
|
|
40
38
|
(0, class_transformer_1.Expose)(),
|
|
41
39
|
__metadata("design:type", user_dto_1.UserDto)
|
|
42
40
|
], TherapyPlanEmbeddedDto.prototype, "updatedBy", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"therapyPlanEmbedded.dto.js","sourceRoot":"","sources":["../../../src/dto/therapyPlan/therapyPlanEmbedded.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAAiD;AACjD,qDAA6C;AAC7C,
|
|
1
|
+
{"version":3,"file":"therapyPlanEmbedded.dto.js","sourceRoot":"","sources":["../../../src/dto/therapyPlan/therapyPlanEmbedded.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAAiD;AACjD,qDAA6C;AAC7C,oEAAgE;AAChE,+CAA2C;AAE3C,MAAa,sBAAsB;CAkBlC;AAjBA;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,gCAAc,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC5D,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gCAAc,CAAC;IAC1B,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;8BACK,gCAAc;2DAAC;AAE7B;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACrD,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kBAAO,CAAC;IACnB,IAAA,0BAAM,GAAE;8BACG,kBAAO;yDAAC;AAEpB;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACrD,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kBAAO,CAAC;IACnB,IAAA,0BAAM,GAAE;8BACG,kBAAO;yDAAC;AAjBrB,wDAkBC"}
|
|
@@ -20,16 +20,18 @@ class UpdateTherapyPlanDto {
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
__decorate([
|
|
23
|
-
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
24
|
-
(0, class_validator_1.
|
|
23
|
+
(0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: false }),
|
|
24
|
+
(0, class_validator_1.IsOptional)(),
|
|
25
|
+
(0, class_validator_1.IsUUID)(),
|
|
25
26
|
(0, class_transformer_1.Expose)(),
|
|
26
27
|
__metadata("design:type", String)
|
|
27
|
-
], UpdateTherapyPlanDto.prototype, "
|
|
28
|
+
], UpdateTherapyPlanDto.prototype, "applicationId", void 0);
|
|
28
29
|
__decorate([
|
|
29
|
-
(0, nestjs_1.ApiProperty)({ type:
|
|
30
|
-
(0, class_validator_1.
|
|
30
|
+
(0, nestjs_1.ApiProperty)({ type: Object, required: false }),
|
|
31
|
+
(0, class_validator_1.IsOptional)(),
|
|
32
|
+
(0, class_validator_1.IsObject)(),
|
|
31
33
|
(0, class_transformer_1.Expose)(),
|
|
32
|
-
__metadata("design:type",
|
|
33
|
-
], UpdateTherapyPlanDto.prototype, "
|
|
34
|
+
__metadata("design:type", Object)
|
|
35
|
+
], UpdateTherapyPlanDto.prototype, "rules", void 0);
|
|
34
36
|
exports.UpdateTherapyPlanDto = UpdateTherapyPlanDto;
|
|
35
37
|
//# sourceMappingURL=updateTherapyPlan.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateTherapyPlan.dto.js","sourceRoot":"","sources":["../../../src/dto/therapyPlan/updateTherapyPlan.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAA2C;AAC3C,
|
|
1
|
+
{"version":3,"file":"updateTherapyPlan.dto.js","sourceRoot":"","sources":["../../../src/dto/therapyPlan/updateTherapyPlan.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAA2C;AAC3C,qDAA+D;AAC/D,sEAAmE;AAEnE,MAAa,oBAAoB;IAazB,MAAM,CAAC,SAAS,CAAC,MAAW;QAClC,OAAO,IAAA,uCAAkB,EAAC,oBAAoB,EAAE,MAAM,CAAC,CAAC;IACzD,CAAC;CACD;AAfA;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9D,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,0BAAM,GAAE;;2DACc;AAEvB;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;;mDACG;AAXb,oDAgBC"}
|