@more-life/types-more-life-react 0.111.0 → 0.113.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/thread/createThread.dto.d.ts +3 -0
- package/dist/dto/thread/createThread.dto.js +15 -0
- package/dist/dto/thread/createThread.dto.js.map +1 -1
- package/dist/dto/thread/thread.dto.d.ts +3 -0
- package/dist/dto/thread/thread.dto.js +11 -0
- package/dist/dto/thread/thread.dto.js.map +1 -1
- package/dist/dto/weeklyMeeting/bulkUpdateWeeklyMeeting.dto.d.ts +9 -0
- package/dist/dto/weeklyMeeting/bulkUpdateWeeklyMeeting.dto.js +40 -0
- package/dist/dto/weeklyMeeting/bulkUpdateWeeklyMeeting.dto.js.map +1 -0
- package/dist/dto/weeklyMeeting/createWeeklyMeeting.dto.d.ts +18 -0
- package/dist/dto/weeklyMeeting/createWeeklyMeeting.dto.js +117 -0
- package/dist/dto/weeklyMeeting/createWeeklyMeeting.dto.js.map +1 -0
- package/dist/dto/weeklyMeeting/updateWeeklyMeeting.dto.d.ts +9 -0
- package/dist/dto/weeklyMeeting/updateWeeklyMeeting.dto.js +65 -0
- package/dist/dto/weeklyMeeting/updateWeeklyMeeting.dto.js.map +1 -0
- package/dist/dto/weeklyMeeting/weeklyMeeting.dto.d.ts +26 -0
- package/dist/dto/weeklyMeeting/weeklyMeeting.dto.js +124 -0
- package/dist/dto/weeklyMeeting/weeklyMeeting.dto.js.map +1 -0
- package/dist/dto/weeklyMeeting/weeklyMeetingEmbedded.dto.d.ts +16 -0
- package/dist/dto/weeklyMeeting/weeklyMeetingEmbedded.dto.js +95 -0
- package/dist/dto/weeklyMeeting/weeklyMeetingEmbedded.dto.js.map +1 -0
- package/dist/dto/weeklyMeeting/weeklyMeetingPage.dto.d.ts +12 -0
- package/dist/dto/weeklyMeeting/weeklyMeetingPage.dto.js +52 -0
- package/dist/dto/weeklyMeeting/weeklyMeetingPage.dto.js.map +1 -0
- package/dist/enum/threadType.enum.d.ts +4 -0
- package/dist/enum/threadType.enum.js +9 -0
- package/dist/enum/threadType.enum.js.map +1 -0
- package/dist/index.d.ts +8 -1
- package/dist/index.js +19 -5
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { CreateCommentDto } from '../comment/createComment.dto';
|
|
2
|
+
import { ThreadTypeEnum } from '../../enum/threadType.enum';
|
|
2
3
|
export declare class CreateThreadDto {
|
|
3
4
|
patientInfoId: string;
|
|
5
|
+
type?: ThreadTypeEnum;
|
|
6
|
+
weeklyMeetingId?: string;
|
|
4
7
|
comments?: CreateCommentDto[];
|
|
5
8
|
static fromPlain(object: any): CreateThreadDto;
|
|
6
9
|
}
|
|
@@ -15,6 +15,7 @@ const class_transformer_1 = require("class-transformer");
|
|
|
15
15
|
const class_validator_1 = require("class-validator");
|
|
16
16
|
const convertAndValidate_1 = require("../../util/convertAndValidate");
|
|
17
17
|
const createComment_dto_1 = require("../comment/createComment.dto");
|
|
18
|
+
const threadType_enum_1 = require("../../enum/threadType.enum");
|
|
18
19
|
class CreateThreadDto {
|
|
19
20
|
static fromPlain(object) {
|
|
20
21
|
return (0, convertAndValidate_1.convertAndValidate)(CreateThreadDto, object);
|
|
@@ -26,6 +27,20 @@ __decorate([
|
|
|
26
27
|
(0, class_transformer_1.Expose)(),
|
|
27
28
|
__metadata("design:type", String)
|
|
28
29
|
], CreateThreadDto.prototype, "patientInfoId", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, nestjs_1.ApiProperty)({ enum: threadType_enum_1.ThreadTypeEnum, required: false }),
|
|
32
|
+
(0, class_validator_1.IsEnum)(threadType_enum_1.ThreadTypeEnum),
|
|
33
|
+
(0, class_validator_1.IsOptional)(),
|
|
34
|
+
(0, class_transformer_1.Expose)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], CreateThreadDto.prototype, "type", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: false }),
|
|
39
|
+
(0, class_validator_1.IsUUID)(),
|
|
40
|
+
(0, class_validator_1.IsOptional)(),
|
|
41
|
+
(0, class_transformer_1.Expose)(),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], CreateThreadDto.prototype, "weeklyMeetingId", void 0);
|
|
29
44
|
__decorate([
|
|
30
45
|
(0, nestjs_1.ApiProperty)({ isArray: true, type: createComment_dto_1.CreateCommentDto, required: false }),
|
|
31
46
|
(0, class_validator_1.IsArray)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createThread.dto.js","sourceRoot":"","sources":["../../../src/dto/thread/createThread.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAAiD;AACjD,
|
|
1
|
+
{"version":3,"file":"createThread.dto.js","sourceRoot":"","sources":["../../../src/dto/thread/createThread.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAAiD;AACjD,qDAAsE;AACtE,sEAAmE;AACnE,oEAAgE;AAChE,gEAA4D;AAE5D,MAAa,eAAe;IAyBpB,MAAM,CAAC,SAAS,CAAC,MAAW;QAClC,OAAO,IAAA,uCAAkB,EAAC,eAAe,EAAE,MAAM,CAAC,CAAC;IACpD,CAAC;CACD;AA3BA;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9D,IAAA,wBAAM,GAAE;IACR,IAAA,0BAAM,GAAE;;sDACa;AAEtB;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,gCAAc,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACtD,IAAA,wBAAM,EAAC,gCAAc,CAAC;IACtB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;6CACa;AAEtB;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;;wDACgB;AAEzB;IAAC,IAAA,oBAAW,EAAC,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,oCAAgB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACvE,IAAA,yBAAO,GAAE;IACT,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oCAAgB,CAAC;;iDACC;AAvB/B,0CA4BC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ThreadEmbeddedDto } from './threadEmbedded.dto';
|
|
2
|
+
import { ThreadTypeEnum } from '../../enum/threadType.enum';
|
|
2
3
|
declare const ThreadDto_base: new () => {
|
|
3
4
|
createdAt: string;
|
|
4
5
|
updatedAt: string;
|
|
@@ -8,6 +9,8 @@ export declare class ThreadDto extends ThreadDto_base {
|
|
|
8
9
|
id: string;
|
|
9
10
|
sequenceNumber: number;
|
|
10
11
|
patientInfoId: string;
|
|
12
|
+
type: ThreadTypeEnum;
|
|
13
|
+
weeklyMeetingId?: string;
|
|
11
14
|
static fromEntity(entity: any): ThreadDto;
|
|
12
15
|
}
|
|
13
16
|
export {};
|
|
@@ -15,6 +15,7 @@ const class_transformer_1 = require("class-transformer");
|
|
|
15
15
|
const base_dto_1 = require("../generic/base.dto");
|
|
16
16
|
const convertAndValidate_1 = require("../../util/convertAndValidate");
|
|
17
17
|
const threadEmbedded_dto_1 = require("./threadEmbedded.dto");
|
|
18
|
+
const threadType_enum_1 = require("../../enum/threadType.enum");
|
|
18
19
|
class ThreadDto extends (0, base_dto_1.BaseDto)(threadEmbedded_dto_1.ThreadEmbeddedDto) {
|
|
19
20
|
static fromEntity(entity) {
|
|
20
21
|
return (0, convertAndValidate_1.convert)(ThreadDto, entity);
|
|
@@ -35,5 +36,15 @@ __decorate([
|
|
|
35
36
|
(0, class_transformer_1.Expose)(),
|
|
36
37
|
__metadata("design:type", String)
|
|
37
38
|
], ThreadDto.prototype, "patientInfoId", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, nestjs_1.ApiProperty)({ enum: threadType_enum_1.ThreadTypeEnum, required: true }),
|
|
41
|
+
(0, class_transformer_1.Expose)(),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], ThreadDto.prototype, "type", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: false }),
|
|
46
|
+
(0, class_transformer_1.Expose)(),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], ThreadDto.prototype, "weeklyMeetingId", void 0);
|
|
38
49
|
exports.ThreadDto = ThreadDto;
|
|
39
50
|
//# sourceMappingURL=thread.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thread.dto.js","sourceRoot":"","sources":["../../../src/dto/thread/thread.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAA2C;AAC3C,kDAA8C;AAC9C,sEAAwD;AACxD,6DAAyD;
|
|
1
|
+
{"version":3,"file":"thread.dto.js","sourceRoot":"","sources":["../../../src/dto/thread/thread.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAA2C;AAC3C,kDAA8C;AAC9C,sEAAwD;AACxD,6DAAyD;AACzD,gEAA4D;AAE5D,MAAa,SAAU,SAAQ,IAAA,kBAAO,EAAC,sCAAiB,CAAC;IAqBjD,MAAM,CAAC,UAAU,CAAC,MAAW;QACnC,OAAO,IAAA,4BAAO,EAAC,SAAS,EAAE,MAAM,CAAC,CAAC;IACnC,CAAC;CACD;AAvBA;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7D,IAAA,0BAAM,GAAE;;qCACG;AAEZ;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAM,GAAE;;iDACc;AAEvB;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7D,IAAA,0BAAM,GAAE;;gDACa;AAEtB;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,gCAAc,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACrD,IAAA,0BAAM,GAAE;;uCACY;AAErB;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9D,IAAA,0BAAM,GAAE;;kDACgB;AAnB1B,8BAwBC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { UpdateWeeklyMeetingDto } from './updateWeeklyMeeting.dto';
|
|
2
|
+
declare class BulkUpdateWeeklyMeetingItemDto extends UpdateWeeklyMeetingDto {
|
|
3
|
+
id: string;
|
|
4
|
+
}
|
|
5
|
+
export declare class BulkUpdateWeeklyMeetingDto {
|
|
6
|
+
items: BulkUpdateWeeklyMeetingItemDto[];
|
|
7
|
+
static fromPlain(object: any): BulkUpdateWeeklyMeetingDto;
|
|
8
|
+
}
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.BulkUpdateWeeklyMeetingDto = void 0;
|
|
13
|
+
const nestjs_1 = require("../../nestjs");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const convertAndValidate_1 = require("../../util/convertAndValidate");
|
|
16
|
+
const updateWeeklyMeeting_dto_1 = require("./updateWeeklyMeeting.dto");
|
|
17
|
+
class BulkUpdateWeeklyMeetingItemDto extends updateWeeklyMeeting_dto_1.UpdateWeeklyMeetingDto {
|
|
18
|
+
}
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: true }),
|
|
21
|
+
(0, class_transformer_1.Expose)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], BulkUpdateWeeklyMeetingItemDto.prototype, "id", void 0);
|
|
24
|
+
class BulkUpdateWeeklyMeetingDto {
|
|
25
|
+
static fromPlain(object) {
|
|
26
|
+
return (0, convertAndValidate_1.convertAndValidate)(BulkUpdateWeeklyMeetingDto, object);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, nestjs_1.ApiProperty)({
|
|
31
|
+
isArray: true,
|
|
32
|
+
type: BulkUpdateWeeklyMeetingItemDto,
|
|
33
|
+
required: true,
|
|
34
|
+
}),
|
|
35
|
+
(0, class_transformer_1.Type)(() => BulkUpdateWeeklyMeetingItemDto),
|
|
36
|
+
(0, class_transformer_1.Expose)(),
|
|
37
|
+
__metadata("design:type", Array)
|
|
38
|
+
], BulkUpdateWeeklyMeetingDto.prototype, "items", void 0);
|
|
39
|
+
exports.BulkUpdateWeeklyMeetingDto = BulkUpdateWeeklyMeetingDto;
|
|
40
|
+
//# sourceMappingURL=bulkUpdateWeeklyMeeting.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bulkUpdateWeeklyMeeting.dto.js","sourceRoot":"","sources":["../../../src/dto/weeklyMeeting/bulkUpdateWeeklyMeeting.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAAiD;AACjD,sEAAmE;AACnE,uEAAmE;AAEnE,MAAM,8BAA+B,SAAQ,gDAAsB;CAIlE;AAHA;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7D,IAAA,0BAAM,GAAE;;0DACG;AAGb,MAAa,0BAA0B;IAU/B,MAAM,CAAC,SAAS,CAAC,MAAW;QAClC,OAAO,IAAA,uCAAkB,EAAC,0BAA0B,EAAE,MAAM,CAAC,CAAC;IAC/D,CAAC;CACD;AAZA;IAAC,IAAA,oBAAW,EAAC;QACZ,OAAO,EAAE,IAAI;QACb,IAAI,EAAE,8BAA8B;QACpC,QAAQ,EAAE,IAAI;KACd,CAAC;IACD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,8BAA8B,CAAC;IAC1C,IAAA,0BAAM,GAAE;;yDACgC;AAR1C,gEAaC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { PatientStatusEnum } from '../../enum/patientStatus.enum';
|
|
2
|
+
export declare class CreateWeeklyMeetingDto {
|
|
3
|
+
applicationId: string;
|
|
4
|
+
week: number;
|
|
5
|
+
year: number;
|
|
6
|
+
coordinationNote?: string;
|
|
7
|
+
meetingNote?: string;
|
|
8
|
+
isDiscussed?: boolean;
|
|
9
|
+
currentPatientStatus: PatientStatusEnum;
|
|
10
|
+
currentBHT: number;
|
|
11
|
+
mainErgoTherapistId?: string;
|
|
12
|
+
mainErgoTherapistOverrideId?: string;
|
|
13
|
+
mainPhysioTherapistId?: string;
|
|
14
|
+
mainPhysioTherapistOverrideId?: string;
|
|
15
|
+
mainDoctorId?: string;
|
|
16
|
+
mainDoctorOverrideId?: string;
|
|
17
|
+
static fromPlain(object: any): CreateWeeklyMeetingDto;
|
|
18
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CreateWeeklyMeetingDto = void 0;
|
|
13
|
+
const nestjs_1 = require("../../nestjs");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const class_validator_1 = require("class-validator");
|
|
16
|
+
const convertAndValidate_1 = require("../../util/convertAndValidate");
|
|
17
|
+
const patientStatus_enum_1 = require("../../enum/patientStatus.enum");
|
|
18
|
+
class CreateWeeklyMeetingDto {
|
|
19
|
+
static fromPlain(object) {
|
|
20
|
+
return (0, convertAndValidate_1.convertAndValidate)(CreateWeeklyMeetingDto, object);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: true }),
|
|
25
|
+
(0, class_validator_1.IsUUID)(),
|
|
26
|
+
(0, class_transformer_1.Expose)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], CreateWeeklyMeetingDto.prototype, "applicationId", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, nestjs_1.ApiProperty)({ type: Number, required: true }),
|
|
31
|
+
(0, class_validator_1.IsInt)(),
|
|
32
|
+
(0, class_transformer_1.Expose)(),
|
|
33
|
+
__metadata("design:type", Number)
|
|
34
|
+
], CreateWeeklyMeetingDto.prototype, "week", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, nestjs_1.ApiProperty)({ type: Number, required: true }),
|
|
37
|
+
(0, class_validator_1.IsInt)(),
|
|
38
|
+
(0, class_transformer_1.Expose)(),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], CreateWeeklyMeetingDto.prototype, "year", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
43
|
+
(0, class_validator_1.IsOptional)(),
|
|
44
|
+
(0, class_validator_1.IsString)(),
|
|
45
|
+
(0, class_transformer_1.Expose)(),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], CreateWeeklyMeetingDto.prototype, "coordinationNote", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
50
|
+
(0, class_validator_1.IsOptional)(),
|
|
51
|
+
(0, class_validator_1.IsString)(),
|
|
52
|
+
(0, class_transformer_1.Expose)(),
|
|
53
|
+
__metadata("design:type", String)
|
|
54
|
+
], CreateWeeklyMeetingDto.prototype, "meetingNote", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, nestjs_1.ApiProperty)({ type: Boolean, required: false, default: false }),
|
|
57
|
+
(0, class_validator_1.IsOptional)(),
|
|
58
|
+
(0, class_validator_1.IsBoolean)(),
|
|
59
|
+
(0, class_transformer_1.Expose)(),
|
|
60
|
+
__metadata("design:type", Boolean)
|
|
61
|
+
], CreateWeeklyMeetingDto.prototype, "isDiscussed", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
(0, nestjs_1.ApiProperty)({ enum: patientStatus_enum_1.PatientStatusEnum, required: true }),
|
|
64
|
+
(0, class_validator_1.IsIn)(Object.values(patientStatus_enum_1.PatientStatusEnum)),
|
|
65
|
+
(0, class_transformer_1.Expose)(),
|
|
66
|
+
__metadata("design:type", String)
|
|
67
|
+
], CreateWeeklyMeetingDto.prototype, "currentPatientStatus", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, nestjs_1.ApiProperty)({ type: Number, required: true }),
|
|
70
|
+
(0, class_validator_1.IsInt)(),
|
|
71
|
+
(0, class_transformer_1.Expose)(),
|
|
72
|
+
__metadata("design:type", Number)
|
|
73
|
+
], CreateWeeklyMeetingDto.prototype, "currentBHT", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: false }),
|
|
76
|
+
(0, class_validator_1.IsOptional)(),
|
|
77
|
+
(0, class_validator_1.IsUUID)(),
|
|
78
|
+
(0, class_transformer_1.Expose)(),
|
|
79
|
+
__metadata("design:type", String)
|
|
80
|
+
], CreateWeeklyMeetingDto.prototype, "mainErgoTherapistId", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: false }),
|
|
83
|
+
(0, class_validator_1.IsOptional)(),
|
|
84
|
+
(0, class_validator_1.IsUUID)(),
|
|
85
|
+
(0, class_transformer_1.Expose)(),
|
|
86
|
+
__metadata("design:type", String)
|
|
87
|
+
], CreateWeeklyMeetingDto.prototype, "mainErgoTherapistOverrideId", void 0);
|
|
88
|
+
__decorate([
|
|
89
|
+
(0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: false }),
|
|
90
|
+
(0, class_validator_1.IsOptional)(),
|
|
91
|
+
(0, class_validator_1.IsUUID)(),
|
|
92
|
+
(0, class_transformer_1.Expose)(),
|
|
93
|
+
__metadata("design:type", String)
|
|
94
|
+
], CreateWeeklyMeetingDto.prototype, "mainPhysioTherapistId", void 0);
|
|
95
|
+
__decorate([
|
|
96
|
+
(0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: false }),
|
|
97
|
+
(0, class_validator_1.IsOptional)(),
|
|
98
|
+
(0, class_validator_1.IsUUID)(),
|
|
99
|
+
(0, class_transformer_1.Expose)(),
|
|
100
|
+
__metadata("design:type", String)
|
|
101
|
+
], CreateWeeklyMeetingDto.prototype, "mainPhysioTherapistOverrideId", void 0);
|
|
102
|
+
__decorate([
|
|
103
|
+
(0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: false }),
|
|
104
|
+
(0, class_validator_1.IsOptional)(),
|
|
105
|
+
(0, class_validator_1.IsUUID)(),
|
|
106
|
+
(0, class_transformer_1.Expose)(),
|
|
107
|
+
__metadata("design:type", String)
|
|
108
|
+
], CreateWeeklyMeetingDto.prototype, "mainDoctorId", void 0);
|
|
109
|
+
__decorate([
|
|
110
|
+
(0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: false }),
|
|
111
|
+
(0, class_validator_1.IsOptional)(),
|
|
112
|
+
(0, class_validator_1.IsUUID)(),
|
|
113
|
+
(0, class_transformer_1.Expose)(),
|
|
114
|
+
__metadata("design:type", String)
|
|
115
|
+
], CreateWeeklyMeetingDto.prototype, "mainDoctorOverrideId", void 0);
|
|
116
|
+
exports.CreateWeeklyMeetingDto = CreateWeeklyMeetingDto;
|
|
117
|
+
//# sourceMappingURL=createWeeklyMeeting.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createWeeklyMeeting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AAE;IACR,IAAA,0BAAM,GAAE;;6EAC8B;AAEvC;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;;4DACa;AAEtB;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;;oEACqB;AA9E/B,wDAmFC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare class UpdateWeeklyMeetingDto {
|
|
2
|
+
coordinationNote?: string;
|
|
3
|
+
meetingNote?: string;
|
|
4
|
+
isDiscussed?: boolean;
|
|
5
|
+
mainErgoTherapistOverrideId?: string;
|
|
6
|
+
mainPhysioTherapistOverrideId?: string;
|
|
7
|
+
mainDoctorOverrideId?: string;
|
|
8
|
+
static fromPlain(object: any): UpdateWeeklyMeetingDto;
|
|
9
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.UpdateWeeklyMeetingDto = void 0;
|
|
13
|
+
const nestjs_1 = require("../../nestjs");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const class_validator_1 = require("class-validator");
|
|
16
|
+
const convertAndValidate_1 = require("../../util/convertAndValidate");
|
|
17
|
+
class UpdateWeeklyMeetingDto {
|
|
18
|
+
static fromPlain(object) {
|
|
19
|
+
return (0, convertAndValidate_1.convertAndValidate)(UpdateWeeklyMeetingDto, object);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
24
|
+
(0, class_validator_1.IsOptional)(),
|
|
25
|
+
(0, class_validator_1.IsString)(),
|
|
26
|
+
(0, class_transformer_1.Expose)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], UpdateWeeklyMeetingDto.prototype, "coordinationNote", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
31
|
+
(0, class_validator_1.IsOptional)(),
|
|
32
|
+
(0, class_validator_1.IsString)(),
|
|
33
|
+
(0, class_transformer_1.Expose)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], UpdateWeeklyMeetingDto.prototype, "meetingNote", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, nestjs_1.ApiProperty)({ type: Boolean, required: false }),
|
|
38
|
+
(0, class_validator_1.IsOptional)(),
|
|
39
|
+
(0, class_validator_1.IsBoolean)(),
|
|
40
|
+
(0, class_transformer_1.Expose)(),
|
|
41
|
+
__metadata("design:type", Boolean)
|
|
42
|
+
], UpdateWeeklyMeetingDto.prototype, "isDiscussed", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: false }),
|
|
45
|
+
(0, class_validator_1.IsOptional)(),
|
|
46
|
+
(0, class_validator_1.IsUUID)(),
|
|
47
|
+
(0, class_transformer_1.Expose)(),
|
|
48
|
+
__metadata("design:type", String)
|
|
49
|
+
], UpdateWeeklyMeetingDto.prototype, "mainErgoTherapistOverrideId", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: false }),
|
|
52
|
+
(0, class_validator_1.IsOptional)(),
|
|
53
|
+
(0, class_validator_1.IsUUID)(),
|
|
54
|
+
(0, class_transformer_1.Expose)(),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], UpdateWeeklyMeetingDto.prototype, "mainPhysioTherapistOverrideId", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: false }),
|
|
59
|
+
(0, class_validator_1.IsOptional)(),
|
|
60
|
+
(0, class_validator_1.IsUUID)(),
|
|
61
|
+
(0, class_transformer_1.Expose)(),
|
|
62
|
+
__metadata("design:type", String)
|
|
63
|
+
], UpdateWeeklyMeetingDto.prototype, "mainDoctorOverrideId", void 0);
|
|
64
|
+
exports.UpdateWeeklyMeetingDto = UpdateWeeklyMeetingDto;
|
|
65
|
+
//# sourceMappingURL=updateWeeklyMeeting.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateWeeklyMeeting.dto.js","sourceRoot":"","sources":["../../../src/dto/weeklyMeeting/updateWeeklyMeeting.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAA2C;AAC3C,qDAA0E;AAC1E,sEAAmE;AAEnE,MAAa,sBAAsB;IAqC3B,MAAM,CAAC,SAAS,CAAC,MAAW;QAClC,OAAO,IAAA,uCAAkB,EAAC,sBAAsB,EAAE,MAAM,CAAC,CAAC;IAC3D,CAAC;CACD;AA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Embedded.dto';
|
|
2
|
+
import { PatientStatusEnum } from '../../enum/patientStatus.enum';
|
|
3
|
+
declare const WeeklyMeetingDto_base: new () => {
|
|
4
|
+
createdAt: string;
|
|
5
|
+
updatedAt: string;
|
|
6
|
+
_embedded?: WeeklyMeetingEmbeddedDto;
|
|
7
|
+
};
|
|
8
|
+
export declare class WeeklyMeetingDto extends WeeklyMeetingDto_base {
|
|
9
|
+
id: string;
|
|
10
|
+
applicationId: string;
|
|
11
|
+
week: number;
|
|
12
|
+
year: number;
|
|
13
|
+
coordinationNote?: string;
|
|
14
|
+
meetingNote?: string;
|
|
15
|
+
isDiscussed: boolean;
|
|
16
|
+
currentPatientStatus: PatientStatusEnum;
|
|
17
|
+
currentBHT: number;
|
|
18
|
+
mainErgoTherapistId?: string;
|
|
19
|
+
mainErgoTherapistOverrideId?: string;
|
|
20
|
+
mainPhysioTherapistId?: string;
|
|
21
|
+
mainPhysioTherapistOverrideId?: string;
|
|
22
|
+
mainDoctorId?: string;
|
|
23
|
+
mainDoctorOverrideId?: string;
|
|
24
|
+
static fromEntity(entity: any): WeeklyMeetingDto;
|
|
25
|
+
}
|
|
26
|
+
export {};
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.WeeklyMeetingDto = void 0;
|
|
13
|
+
const nestjs_1 = require("../../nestjs");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const class_validator_1 = require("class-validator");
|
|
16
|
+
const base_dto_1 = require("../generic/base.dto");
|
|
17
|
+
const weeklyMeetingEmbedded_dto_1 = require("./weeklyMeetingEmbedded.dto");
|
|
18
|
+
const convertAndValidate_1 = require("../../util/convertAndValidate");
|
|
19
|
+
const patientStatus_enum_1 = require("../../enum/patientStatus.enum");
|
|
20
|
+
class WeeklyMeetingDto extends (0, base_dto_1.BaseDto)(weeklyMeetingEmbedded_dto_1.WeeklyMeetingEmbeddedDto) {
|
|
21
|
+
static fromEntity(entity) {
|
|
22
|
+
return (0, convertAndValidate_1.convert)(WeeklyMeetingDto, entity);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: true }),
|
|
27
|
+
(0, class_validator_1.IsUUID)(),
|
|
28
|
+
(0, class_transformer_1.Expose)(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], WeeklyMeetingDto.prototype, "id", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: true }),
|
|
33
|
+
(0, class_validator_1.IsUUID)(),
|
|
34
|
+
(0, class_transformer_1.Expose)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], WeeklyMeetingDto.prototype, "applicationId", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, nestjs_1.ApiProperty)({ type: Number, required: true }),
|
|
39
|
+
(0, class_validator_1.IsInt)(),
|
|
40
|
+
(0, class_transformer_1.Expose)(),
|
|
41
|
+
__metadata("design:type", Number)
|
|
42
|
+
], WeeklyMeetingDto.prototype, "week", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, nestjs_1.ApiProperty)({ type: Number, required: true }),
|
|
45
|
+
(0, class_validator_1.IsInt)(),
|
|
46
|
+
(0, class_transformer_1.Expose)(),
|
|
47
|
+
__metadata("design:type", Number)
|
|
48
|
+
], WeeklyMeetingDto.prototype, "year", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
51
|
+
(0, class_validator_1.IsOptional)(),
|
|
52
|
+
(0, class_validator_1.IsString)(),
|
|
53
|
+
(0, class_transformer_1.Expose)(),
|
|
54
|
+
__metadata("design:type", String)
|
|
55
|
+
], WeeklyMeetingDto.prototype, "coordinationNote", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, nestjs_1.ApiProperty)({ type: String, required: false }),
|
|
58
|
+
(0, class_validator_1.IsOptional)(),
|
|
59
|
+
(0, class_validator_1.IsString)(),
|
|
60
|
+
(0, class_transformer_1.Expose)(),
|
|
61
|
+
__metadata("design:type", String)
|
|
62
|
+
], WeeklyMeetingDto.prototype, "meetingNote", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, nestjs_1.ApiProperty)({ type: Boolean, required: true }),
|
|
65
|
+
(0, class_validator_1.IsBoolean)(),
|
|
66
|
+
(0, class_transformer_1.Expose)(),
|
|
67
|
+
__metadata("design:type", Boolean)
|
|
68
|
+
], WeeklyMeetingDto.prototype, "isDiscussed", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, nestjs_1.ApiProperty)({ enum: patientStatus_enum_1.PatientStatusEnum, required: true }),
|
|
71
|
+
(0, class_validator_1.IsIn)(Object.values(patientStatus_enum_1.PatientStatusEnum)),
|
|
72
|
+
(0, class_transformer_1.Expose)(),
|
|
73
|
+
__metadata("design:type", String)
|
|
74
|
+
], WeeklyMeetingDto.prototype, "currentPatientStatus", void 0);
|
|
75
|
+
__decorate([
|
|
76
|
+
(0, nestjs_1.ApiProperty)({ type: Number, required: true }),
|
|
77
|
+
(0, class_validator_1.IsInt)(),
|
|
78
|
+
(0, class_transformer_1.Expose)(),
|
|
79
|
+
__metadata("design:type", Number)
|
|
80
|
+
], WeeklyMeetingDto.prototype, "currentBHT", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: false }),
|
|
83
|
+
(0, class_validator_1.IsOptional)(),
|
|
84
|
+
(0, class_validator_1.IsUUID)(),
|
|
85
|
+
(0, class_transformer_1.Expose)(),
|
|
86
|
+
__metadata("design:type", String)
|
|
87
|
+
], WeeklyMeetingDto.prototype, "mainErgoTherapistId", void 0);
|
|
88
|
+
__decorate([
|
|
89
|
+
(0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: false }),
|
|
90
|
+
(0, class_validator_1.IsOptional)(),
|
|
91
|
+
(0, class_validator_1.IsUUID)(),
|
|
92
|
+
(0, class_transformer_1.Expose)(),
|
|
93
|
+
__metadata("design:type", String)
|
|
94
|
+
], WeeklyMeetingDto.prototype, "mainErgoTherapistOverrideId", void 0);
|
|
95
|
+
__decorate([
|
|
96
|
+
(0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: false }),
|
|
97
|
+
(0, class_validator_1.IsOptional)(),
|
|
98
|
+
(0, class_validator_1.IsUUID)(),
|
|
99
|
+
(0, class_transformer_1.Expose)(),
|
|
100
|
+
__metadata("design:type", String)
|
|
101
|
+
], WeeklyMeetingDto.prototype, "mainPhysioTherapistId", void 0);
|
|
102
|
+
__decorate([
|
|
103
|
+
(0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: false }),
|
|
104
|
+
(0, class_validator_1.IsOptional)(),
|
|
105
|
+
(0, class_validator_1.IsUUID)(),
|
|
106
|
+
(0, class_transformer_1.Expose)(),
|
|
107
|
+
__metadata("design:type", String)
|
|
108
|
+
], WeeklyMeetingDto.prototype, "mainPhysioTherapistOverrideId", void 0);
|
|
109
|
+
__decorate([
|
|
110
|
+
(0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: false }),
|
|
111
|
+
(0, class_validator_1.IsOptional)(),
|
|
112
|
+
(0, class_validator_1.IsUUID)(),
|
|
113
|
+
(0, class_transformer_1.Expose)(),
|
|
114
|
+
__metadata("design:type", String)
|
|
115
|
+
], WeeklyMeetingDto.prototype, "mainDoctorId", void 0);
|
|
116
|
+
__decorate([
|
|
117
|
+
(0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: false }),
|
|
118
|
+
(0, class_validator_1.IsOptional)(),
|
|
119
|
+
(0, class_validator_1.IsUUID)(),
|
|
120
|
+
(0, class_transformer_1.Expose)(),
|
|
121
|
+
__metadata("design:type", String)
|
|
122
|
+
], WeeklyMeetingDto.prototype, "mainDoctorOverrideId", void 0);
|
|
123
|
+
exports.WeeklyMeetingDto = WeeklyMeetingDto;
|
|
124
|
+
//# sourceMappingURL=weeklyMeeting.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"weeklyMeeting.dto.js","sourceRoot":"","sources":["../../../src/dto/weeklyMeeting/weeklyMeeting.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAA2C;AAC3C,qDAOyB;AACzB,kDAA8C;AAC9C,2EAAuE;AACvE,sEAAwD;AACxD,sEAAkE;AAElE,MAAa,gBAAiB,SAAQ,IAAA,kBAAO,EAAC,oDAAwB,CAAC;IAoF/D,MAAM,CAAC,UAAU,CAAC,MAAW;QACnC,OAAO,IAAA,4BAAO,EAAC,gBAAgB,EAAE,MAAM,CAAC,CAAC;IAC1C,CAAC;CACD;AAtFA;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;;4CACG;AAEZ;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE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E;IACR,IAAA,0BAAM,GAAE;;8DACqB;AAlF/B,4CAuFC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { UserDto } from '../user/user.dto';
|
|
2
|
+
import { ApplicationDto } from '../application/application.dto';
|
|
3
|
+
import { TherapistInfoDto } from '../therapistInfo/therapistInfo.dto';
|
|
4
|
+
import { ThreadDto } from '../thread/thread.dto';
|
|
5
|
+
export declare class WeeklyMeetingEmbeddedDto {
|
|
6
|
+
application?: ApplicationDto;
|
|
7
|
+
mainErgoTherapist?: TherapistInfoDto;
|
|
8
|
+
mainErgoTherapistOverride?: TherapistInfoDto;
|
|
9
|
+
mainPhysioTherapist?: TherapistInfoDto;
|
|
10
|
+
mainPhysioTherapistOverride?: TherapistInfoDto;
|
|
11
|
+
mainDoctor?: TherapistInfoDto;
|
|
12
|
+
mainDoctorOverride?: TherapistInfoDto;
|
|
13
|
+
preparatoryNotes?: ThreadDto[];
|
|
14
|
+
createdBy?: UserDto;
|
|
15
|
+
updatedBy?: UserDto;
|
|
16
|
+
}
|