@more-life/types-more-life-react 0.17.0 → 0.18.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.
Files changed (42) hide show
  1. package/dist/dto/careFacility/careFacilityEmbedded.dto.d.ts +4 -0
  2. package/dist/dto/careFacility/careFacilityEmbedded.dto.js +25 -0
  3. package/dist/dto/careFacility/careFacilityEmbedded.dto.js.map +1 -0
  4. package/dist/dto/careFacilityAddress/bulkUpdateCareFacilityAddress.dto.d.ts +9 -0
  5. package/dist/dto/careFacilityAddress/bulkUpdateCareFacilityAddress.dto.js +40 -0
  6. package/dist/dto/careFacilityAddress/bulkUpdateCareFacilityAddress.dto.js.map +1 -0
  7. package/dist/dto/careFacilityAddress/careFacilityAddress.dto.d.ts +13 -0
  8. package/dist/dto/careFacilityAddress/careFacilityAddress.dto.js +72 -0
  9. package/dist/dto/careFacilityAddress/careFacilityAddress.dto.js.map +1 -0
  10. package/dist/dto/careFacilityAddress/careFacilityAddressEmbedded.dto.d.ts +7 -0
  11. package/dist/dto/careFacilityAddress/careFacilityAddressEmbedded.dto.js +41 -0
  12. package/dist/dto/careFacilityAddress/careFacilityAddressEmbedded.dto.js.map +1 -0
  13. package/dist/dto/careFacilityAddress/careFacilityAddressPage.d.ts +12 -0
  14. package/dist/dto/careFacilityAddress/careFacilityAddressPage.js +48 -0
  15. package/dist/dto/careFacilityAddress/careFacilityAddressPage.js.map +1 -0
  16. package/dist/dto/careFacilityAddress/createCareFacilityAddress.dto.d.ts +12 -0
  17. package/dist/dto/careFacilityAddress/createCareFacilityAddress.dto.js +88 -0
  18. package/dist/dto/careFacilityAddress/createCareFacilityAddress.dto.js.map +1 -0
  19. package/dist/dto/careFacilityAddress/updateCareFacilityAddress.dto.d.ts +11 -0
  20. package/dist/dto/careFacilityAddress/updateCareFacilityAddress.dto.js +89 -0
  21. package/dist/dto/careFacilityAddress/updateCareFacilityAddress.dto.js.map +1 -0
  22. package/dist/dto/optimization/optimizationEmbedded.dto.d.ts +0 -2
  23. package/dist/dto/optimization/optimizationEmbedded.dto.js +0 -8
  24. package/dist/dto/optimization/optimizationEmbedded.dto.js.map +1 -1
  25. package/dist/dto/optimizationUnsolvedBlock/optimizationUnsolvedBlock.dto.d.ts +13 -0
  26. package/dist/dto/{optimization/optimizationUnsolvedBlockView.dto.js → optimizationUnsolvedBlock/optimizationUnsolvedBlock.dto.js} +10 -10
  27. package/dist/dto/optimizationUnsolvedBlock/optimizationUnsolvedBlock.dto.js.map +1 -0
  28. package/dist/dto/optimizationUnsolvedBlock/optimizationUnsolvedBlockEmbedded.dto.d.ts +6 -0
  29. package/dist/dto/{optimization/optimizationUnsolvedBlockViewEmbedded.dto.js → optimizationUnsolvedBlock/optimizationUnsolvedBlockEmbedded.dto.js} +7 -7
  30. package/dist/dto/optimizationUnsolvedBlock/optimizationUnsolvedBlockEmbedded.dto.js.map +1 -0
  31. package/dist/dto/optimizationUnsolvedBlock/optimizationUnsolvedBlockPage.dto.d.ts +12 -0
  32. package/dist/dto/optimizationUnsolvedBlock/optimizationUnsolvedBlockPage.dto.js +48 -0
  33. package/dist/dto/optimizationUnsolvedBlock/optimizationUnsolvedBlockPage.dto.js.map +1 -0
  34. package/dist/index.d.ts +11 -3
  35. package/dist/index.js +25 -9
  36. package/dist/index.js.map +1 -1
  37. package/dist/tsconfig.tsbuildinfo +1 -1
  38. package/package.json +1 -1
  39. package/dist/dto/optimization/optimizationUnsolvedBlockView.dto.d.ts +0 -11
  40. package/dist/dto/optimization/optimizationUnsolvedBlockView.dto.js.map +0 -1
  41. package/dist/dto/optimization/optimizationUnsolvedBlockViewEmbedded.dto.d.ts +0 -6
  42. package/dist/dto/optimization/optimizationUnsolvedBlockViewEmbedded.dto.js.map +0 -1
@@ -0,0 +1,4 @@
1
+ import { CareFacilityAddressDto } from '../careFacilityAddress/careFacilityAddress.dto';
2
+ export declare class CareFacilityEmbeddedDto {
3
+ address: CareFacilityAddressDto;
4
+ }
@@ -0,0 +1,25 @@
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.CareFacilityEmbeddedDto = void 0;
13
+ const nestjs_1 = require("../../nestjs");
14
+ const careFacilityAddress_dto_1 = require("../careFacilityAddress/careFacilityAddress.dto");
15
+ const class_transformer_1 = require("class-transformer");
16
+ class CareFacilityEmbeddedDto {
17
+ }
18
+ __decorate([
19
+ (0, nestjs_1.ApiProperty)({ type: () => careFacilityAddress_dto_1.CareFacilityAddressDto, required: false }),
20
+ (0, class_transformer_1.Type)(() => careFacilityAddress_dto_1.CareFacilityAddressDto),
21
+ (0, class_transformer_1.Expose)(),
22
+ __metadata("design:type", careFacilityAddress_dto_1.CareFacilityAddressDto)
23
+ ], CareFacilityEmbeddedDto.prototype, "address", void 0);
24
+ exports.CareFacilityEmbeddedDto = CareFacilityEmbeddedDto;
25
+ //# sourceMappingURL=careFacilityEmbedded.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"careFacilityEmbedded.dto.js","sourceRoot":"","sources":["../../../src/dto/careFacility/careFacilityEmbedded.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,4FAAwF;AACxF,yDAAiD;AAEjD,MAAa,uBAAuB;CAKnC;AAJA;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,gDAAsB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACpE,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gDAAsB,CAAC;IAClC,IAAA,0BAAM,GAAE;8BACA,gDAAsB;wDAAC;AAJjC,0DAKC"}
@@ -0,0 +1,9 @@
1
+ import { UpdateCareFacilityAddressDto } from './updateCareFacilityAddress.dto';
2
+ declare class BulkUpdateCareFacilityAddressItemDto extends UpdateCareFacilityAddressDto {
3
+ id: string;
4
+ }
5
+ export declare class BulkUpdateCareFacilityAddressDto {
6
+ items: BulkUpdateCareFacilityAddressItemDto[];
7
+ static fromPlain(object: any): BulkUpdateCareFacilityAddressDto;
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.BulkUpdateCareFacilityAddressDto = void 0;
13
+ const updateCareFacilityAddress_dto_1 = require("./updateCareFacilityAddress.dto");
14
+ const nestjs_1 = require("../../nestjs");
15
+ const class_transformer_1 = require("class-transformer");
16
+ const convertAndValidate_1 = require("../../util/convertAndValidate");
17
+ class BulkUpdateCareFacilityAddressItemDto extends updateCareFacilityAddress_dto_1.UpdateCareFacilityAddressDto {
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
+ ], BulkUpdateCareFacilityAddressItemDto.prototype, "id", void 0);
24
+ class BulkUpdateCareFacilityAddressDto {
25
+ static fromPlain(object) {
26
+ return (0, convertAndValidate_1.convertAndValidate)(BulkUpdateCareFacilityAddressDto, object);
27
+ }
28
+ }
29
+ __decorate([
30
+ (0, nestjs_1.ApiProperty)({
31
+ isArray: true,
32
+ type: BulkUpdateCareFacilityAddressItemDto,
33
+ required: true,
34
+ }),
35
+ (0, class_transformer_1.Type)(() => BulkUpdateCareFacilityAddressItemDto),
36
+ (0, class_transformer_1.Expose)(),
37
+ __metadata("design:type", Array)
38
+ ], BulkUpdateCareFacilityAddressDto.prototype, "items", void 0);
39
+ exports.BulkUpdateCareFacilityAddressDto = BulkUpdateCareFacilityAddressDto;
40
+ //# sourceMappingURL=bulkUpdateCareFacilityAddress.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bulkUpdateCareFacilityAddress.dto.js","sourceRoot":"","sources":["../../../src/dto/careFacilityAddress/bulkUpdateCareFacilityAddress.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,mFAA+E;AAC/E,yCAA2C;AAC3C,yDAAiD;AACjD,sEAAmE;AAEnE,MAAM,oCAAqC,SAAQ,4DAA4B;CAI9E;AAHA;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7D,IAAA,0BAAM,GAAE;;gEACG;AAGb,MAAa,gCAAgC;IAUrC,MAAM,CAAC,SAAS,CAAC,MAAW;QAClC,OAAO,IAAA,uCAAkB,EAAC,gCAAgC,EAAE,MAAM,CAAC,CAAC;IACrE,CAAC;CACD;AAZA;IAAC,IAAA,oBAAW,EAAC;QACZ,OAAO,EAAE,IAAI;QACb,IAAI,EAAE,oCAAoC;QAC1C,QAAQ,EAAE,IAAI;KACd,CAAC;IACD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oCAAoC,CAAC;IAChD,IAAA,0BAAM,GAAE;;+DACsC;AARhD,4EAaC"}
@@ -0,0 +1,13 @@
1
+ export declare class CareFacilityAddressDto {
2
+ id: string;
3
+ careFacilityId: string;
4
+ country: string;
5
+ city: string;
6
+ zipCode: string;
7
+ street: string;
8
+ houseNumber: string;
9
+ sublocality?: string;
10
+ lat?: number;
11
+ lng?: number;
12
+ static fromEntity(entity: any): CareFacilityAddressDto;
13
+ }
@@ -0,0 +1,72 @@
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.CareFacilityAddressDto = void 0;
13
+ const nestjs_1 = require("../../nestjs");
14
+ const class_transformer_1 = require("class-transformer");
15
+ const convertAndValidate_1 = require("../../util/convertAndValidate");
16
+ class CareFacilityAddressDto {
17
+ static fromEntity(entity) {
18
+ return (0, convertAndValidate_1.convertAndValidate)(CareFacilityAddressDto, entity);
19
+ }
20
+ }
21
+ __decorate([
22
+ (0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: true }),
23
+ (0, class_transformer_1.Expose)(),
24
+ __metadata("design:type", String)
25
+ ], CareFacilityAddressDto.prototype, "id", void 0);
26
+ __decorate([
27
+ (0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: true }),
28
+ (0, class_transformer_1.Expose)(),
29
+ __metadata("design:type", String)
30
+ ], CareFacilityAddressDto.prototype, "careFacilityId", void 0);
31
+ __decorate([
32
+ (0, nestjs_1.ApiProperty)({ type: String, required: true }),
33
+ (0, class_transformer_1.Expose)(),
34
+ __metadata("design:type", String)
35
+ ], CareFacilityAddressDto.prototype, "country", void 0);
36
+ __decorate([
37
+ (0, nestjs_1.ApiProperty)({ type: String, required: true }),
38
+ (0, class_transformer_1.Expose)(),
39
+ __metadata("design:type", String)
40
+ ], CareFacilityAddressDto.prototype, "city", void 0);
41
+ __decorate([
42
+ (0, nestjs_1.ApiProperty)({ type: String, required: true }),
43
+ (0, class_transformer_1.Expose)(),
44
+ __metadata("design:type", String)
45
+ ], CareFacilityAddressDto.prototype, "zipCode", void 0);
46
+ __decorate([
47
+ (0, nestjs_1.ApiProperty)({ type: String, required: true }),
48
+ (0, class_transformer_1.Expose)(),
49
+ __metadata("design:type", String)
50
+ ], CareFacilityAddressDto.prototype, "street", void 0);
51
+ __decorate([
52
+ (0, nestjs_1.ApiProperty)({ type: String, required: true }),
53
+ (0, class_transformer_1.Expose)(),
54
+ __metadata("design:type", String)
55
+ ], CareFacilityAddressDto.prototype, "houseNumber", void 0);
56
+ __decorate([
57
+ (0, nestjs_1.ApiProperty)({ type: String, required: false }),
58
+ (0, class_transformer_1.Expose)(),
59
+ __metadata("design:type", String)
60
+ ], CareFacilityAddressDto.prototype, "sublocality", void 0);
61
+ __decorate([
62
+ (0, nestjs_1.ApiProperty)({ type: String, required: false }),
63
+ (0, class_transformer_1.Expose)(),
64
+ __metadata("design:type", Number)
65
+ ], CareFacilityAddressDto.prototype, "lat", void 0);
66
+ __decorate([
67
+ (0, nestjs_1.ApiProperty)({ type: String, required: false }),
68
+ (0, class_transformer_1.Expose)(),
69
+ __metadata("design:type", Number)
70
+ ], CareFacilityAddressDto.prototype, "lng", void 0);
71
+ exports.CareFacilityAddressDto = CareFacilityAddressDto;
72
+ //# sourceMappingURL=careFacilityAddress.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"careFacilityAddress.dto.js","sourceRoot":"","sources":["../../../src/dto/careFacilityAddress/careFacilityAddress.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAA2C;AAC3C,sEAAmE;AAEnE,MAAa,sBAAsB;IAyC3B,MAAM,CAAC,UAAU,CAAC,MAAW;QACnC,OAAO,IAAA,uCAAkB,EAAC,sBAAsB,EAAE,MAAM,CAAC,CAAC;IAC3D,CAAC;CACD;AA3CA;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAC,CAAC;IAC5D,IAAA,0BAAM,GAAE;;kDACG;AAEZ;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAC,CAAC;IAC5D,IAAA,0BAAM,GAAE;;8DACc;AAEvB;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAM,GAAE;;uDACO;AAEhB;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAM,GAAE;;oDACI;AAEb;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAM,GAAE;;uDACO;AAEhB;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAM,GAAE;;sDACM;AAEf;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAM,GAAE;;2DACW;AAEpB;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAM,GAAE;;2DACY;AAErB;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAM,GAAE;;mDACI;AAEb;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAM,GAAE;;mDACI;AAvCd,wDA4CC"}
@@ -0,0 +1,7 @@
1
+ import { CareFacilityDto } from '../careFacility/careFacility.dto';
2
+ import { UserDto } from '../user/user.dto';
3
+ export declare class CareFacilityAddressEmbeddedDto {
4
+ careFacility: CareFacilityDto;
5
+ createdBy?: UserDto;
6
+ updatedBy?: UserDto;
7
+ }
@@ -0,0 +1,41 @@
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.CareFacilityAddressEmbeddedDto = void 0;
13
+ const nestjs_1 = require("../../nestjs");
14
+ const careFacility_dto_1 = require("../careFacility/careFacility.dto");
15
+ const class_transformer_1 = require("class-transformer");
16
+ const user_dto_1 = require("../user/user.dto");
17
+ const class_validator_1 = require("class-validator");
18
+ class CareFacilityAddressEmbeddedDto {
19
+ }
20
+ __decorate([
21
+ (0, nestjs_1.ApiProperty)({ type: () => careFacility_dto_1.CareFacilityDto, required: true }),
22
+ (0, class_transformer_1.Type)(() => careFacility_dto_1.CareFacilityDto),
23
+ (0, class_transformer_1.Expose)(),
24
+ __metadata("design:type", careFacility_dto_1.CareFacilityDto)
25
+ ], CareFacilityAddressEmbeddedDto.prototype, "careFacility", void 0);
26
+ __decorate([
27
+ (0, nestjs_1.ApiProperty)({ type: () => user_dto_1.UserDto, required: false }),
28
+ (0, class_transformer_1.Type)(() => user_dto_1.UserDto),
29
+ (0, class_validator_1.IsOptional)(),
30
+ (0, class_transformer_1.Expose)(),
31
+ __metadata("design:type", user_dto_1.UserDto)
32
+ ], CareFacilityAddressEmbeddedDto.prototype, "createdBy", void 0);
33
+ __decorate([
34
+ (0, nestjs_1.ApiProperty)({ type: () => user_dto_1.UserDto, required: false }),
35
+ (0, class_transformer_1.Type)(() => user_dto_1.UserDto),
36
+ (0, class_validator_1.IsOptional)(),
37
+ (0, class_transformer_1.Expose)(),
38
+ __metadata("design:type", user_dto_1.UserDto)
39
+ ], CareFacilityAddressEmbeddedDto.prototype, "updatedBy", void 0);
40
+ exports.CareFacilityAddressEmbeddedDto = CareFacilityAddressEmbeddedDto;
41
+ //# sourceMappingURL=careFacilityAddressEmbedded.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"careFacilityAddressEmbedded.dto.js","sourceRoot":"","sources":["../../../src/dto/careFacilityAddress/careFacilityAddressEmbedded.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,uEAAmE;AACnE,yDAAiD;AACjD,+CAA2C;AAC3C,qDAA6C;AAE7C,MAAa,8BAA8B;CAiB1C;AAhBA;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kCAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC5D,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kCAAe,CAAC;IAC3B,IAAA,0BAAM,GAAE;8BACK,kCAAe;oEAAC;AAE9B;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACrD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kBAAO,CAAC;IACnB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;8BACG,kBAAO;iEAAC;AAEpB;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACrD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kBAAO,CAAC;IACnB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;8BACG,kBAAO;iEAAC;AAhBrB,wEAiBC"}
@@ -0,0 +1,12 @@
1
+ import { CareFacilityAddressDto } from './careFacilityAddress.dto';
2
+ import { PageDto } from '../generic/page.dto';
3
+ import { PageInfoDto } from '../generic/pageInfo.dto';
4
+ declare class EmbeddedCareFacilityAddresses {
5
+ careFacilityAddresses?: CareFacilityAddressDto[];
6
+ }
7
+ export declare class CareFacilityAddressPageDto extends PageDto {
8
+ _embedded: EmbeddedCareFacilityAddresses;
9
+ static fromPlain(object: any): CareFacilityAddressPageDto;
10
+ static fromEntityList(careFacilityAddresses: any[], _page: PageInfoDto): unknown;
11
+ }
12
+ export {};
@@ -0,0 +1,48 @@
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
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.CareFacilityAddressPageDto = void 0;
16
+ const nestjs_1 = require("../../nestjs");
17
+ const class_transformer_1 = require("class-transformer");
18
+ const class_validator_1 = require("class-validator");
19
+ const careFacilityAddress_dto_1 = require("./careFacilityAddress.dto");
20
+ const page_dto_1 = require("../generic/page.dto");
21
+ const transformEmbedded_1 = __importDefault(require("../../util/transformEmbedded"));
22
+ const convertAndValidate_1 = require("../../util/convertAndValidate");
23
+ class EmbeddedCareFacilityAddresses {
24
+ }
25
+ __decorate([
26
+ (0, nestjs_1.ApiProperty)({ isArray: true, type: careFacilityAddress_dto_1.CareFacilityAddressDto, required: false }),
27
+ (0, class_transformer_1.Type)(() => careFacilityAddress_dto_1.CareFacilityAddressDto),
28
+ (0, class_validator_1.IsOptional)(),
29
+ (0, class_transformer_1.Expose)(),
30
+ __metadata("design:type", Array)
31
+ ], EmbeddedCareFacilityAddresses.prototype, "careFacilityAddresses", void 0);
32
+ class CareFacilityAddressPageDto extends page_dto_1.PageDto {
33
+ static fromPlain(object) {
34
+ return (0, convertAndValidate_1.convertAndValidate)(CareFacilityAddressPageDto, object);
35
+ }
36
+ static fromEntityList(careFacilityAddresses, _page) {
37
+ return (0, convertAndValidate_1.convertAndValidate)(CareFacilityAddressPageDto, { careFacilityAddresses, _page });
38
+ }
39
+ }
40
+ __decorate([
41
+ (0, nestjs_1.ApiProperty)({ type: EmbeddedCareFacilityAddresses, required: true }),
42
+ (0, class_transformer_1.Type)(() => EmbeddedCareFacilityAddresses),
43
+ (0, transformEmbedded_1.default)(EmbeddedCareFacilityAddresses),
44
+ (0, class_transformer_1.Expose)(),
45
+ __metadata("design:type", EmbeddedCareFacilityAddresses)
46
+ ], CareFacilityAddressPageDto.prototype, "_embedded", void 0);
47
+ exports.CareFacilityAddressPageDto = CareFacilityAddressPageDto;
48
+ //# sourceMappingURL=careFacilityAddressPage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"careFacilityAddressPage.js","sourceRoot":"","sources":["../../../src/dto/careFacilityAddress/careFacilityAddressPage.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAAiD;AACjD,qDAA6C;AAC7C,uEAAmE;AACnE,kDAA8C;AAC9C,qFAA6D;AAC7D,sEAAmE;AAGnE,MAAM,6BAA6B;CAMlC;AALA;IAAC,IAAA,oBAAW,EAAC,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,gDAAsB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC7E,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gDAAsB,CAAC;IAClC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;4EACwC;AAGlD,MAAa,0BAA2B,SAAQ,kBAAO;IAO/C,MAAM,CAAC,SAAS,CAAC,MAAW;QAClC,OAAO,IAAA,uCAAkB,EAAC,0BAA0B,EAAE,MAAM,CAAC,CAAC;IAC/D,CAAC;IAEM,MAAM,CAAC,cAAc,CAAC,qBAA4B,EAAE,KAAkB;QAC5E,OAAO,IAAA,uCAAkB,EAAC,0BAA0B,EAAE,EAAE,qBAAqB,EAAE,KAAK,EAAE,CAAC,CAAC;IACzF,CAAC;CACD;AAbA;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,6BAA6B,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACpE,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,6BAA6B,CAAC;IACzC,IAAA,2BAAiB,EAAC,6BAA6B,CAAC;IAChD,IAAA,0BAAM,GAAE;8BACG,6BAA6B;6DAAC;AAL3C,gEAcC"}
@@ -0,0 +1,12 @@
1
+ export declare class CreateCareFacilityAddressDto {
2
+ country: string;
3
+ city: string;
4
+ zipCode: string;
5
+ street: string;
6
+ houseNumber: string;
7
+ sublocality?: string;
8
+ lat: number;
9
+ lng: number;
10
+ careFacilityId: string;
11
+ static fromPlain(object: any): CreateCareFacilityAddressDto;
12
+ }
@@ -0,0 +1,88 @@
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
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.CreateCareFacilityAddressDto = void 0;
16
+ const nestjs_1 = require("../../nestjs");
17
+ const class_validator_1 = require("class-validator");
18
+ const trimString_1 = __importDefault(require("../../util/trimString"));
19
+ const class_transformer_1 = require("class-transformer");
20
+ const convertAndValidate_1 = require("../../util/convertAndValidate");
21
+ class CreateCareFacilityAddressDto {
22
+ static fromPlain(object) {
23
+ return (0, convertAndValidate_1.convertAndValidate)(CreateCareFacilityAddressDto, object);
24
+ }
25
+ }
26
+ __decorate([
27
+ (0, nestjs_1.ApiProperty)({ type: String, required: true }),
28
+ (0, class_validator_1.IsString)(),
29
+ (0, trimString_1.default)(),
30
+ (0, class_transformer_1.Expose)(),
31
+ __metadata("design:type", String)
32
+ ], CreateCareFacilityAddressDto.prototype, "country", void 0);
33
+ __decorate([
34
+ (0, nestjs_1.ApiProperty)({ type: String, required: true }),
35
+ (0, class_validator_1.IsString)(),
36
+ (0, trimString_1.default)(),
37
+ (0, class_transformer_1.Expose)(),
38
+ __metadata("design:type", String)
39
+ ], CreateCareFacilityAddressDto.prototype, "city", void 0);
40
+ __decorate([
41
+ (0, nestjs_1.ApiProperty)({ type: String, required: true }),
42
+ (0, class_validator_1.IsString)(),
43
+ (0, trimString_1.default)(),
44
+ (0, class_transformer_1.Expose)(),
45
+ __metadata("design:type", String)
46
+ ], CreateCareFacilityAddressDto.prototype, "zipCode", void 0);
47
+ __decorate([
48
+ (0, nestjs_1.ApiProperty)({ type: String, required: true }),
49
+ (0, class_validator_1.IsString)(),
50
+ (0, trimString_1.default)(),
51
+ (0, class_transformer_1.Expose)(),
52
+ __metadata("design:type", String)
53
+ ], CreateCareFacilityAddressDto.prototype, "street", void 0);
54
+ __decorate([
55
+ (0, nestjs_1.ApiProperty)({ type: String, required: true }),
56
+ (0, class_validator_1.IsString)(),
57
+ (0, trimString_1.default)(),
58
+ (0, class_transformer_1.Expose)(),
59
+ __metadata("design:type", String)
60
+ ], CreateCareFacilityAddressDto.prototype, "houseNumber", void 0);
61
+ __decorate([
62
+ (0, nestjs_1.ApiProperty)({ type: String, required: false }),
63
+ (0, class_validator_1.IsOptional)(),
64
+ (0, class_validator_1.IsString)(),
65
+ (0, trimString_1.default)(),
66
+ (0, class_transformer_1.Expose)(),
67
+ __metadata("design:type", String)
68
+ ], CreateCareFacilityAddressDto.prototype, "sublocality", void 0);
69
+ __decorate([
70
+ (0, nestjs_1.ApiProperty)({ type: Number, format: 'float', required: true }),
71
+ (0, class_validator_1.IsNumber)(),
72
+ (0, class_transformer_1.Expose)(),
73
+ __metadata("design:type", Number)
74
+ ], CreateCareFacilityAddressDto.prototype, "lat", void 0);
75
+ __decorate([
76
+ (0, nestjs_1.ApiProperty)({ type: Number, format: 'float', required: true }),
77
+ (0, class_validator_1.IsNumber)(),
78
+ (0, class_transformer_1.Expose)(),
79
+ __metadata("design:type", Number)
80
+ ], CreateCareFacilityAddressDto.prototype, "lng", void 0);
81
+ __decorate([
82
+ (0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: true }),
83
+ (0, class_validator_1.IsUUID)(),
84
+ (0, class_transformer_1.Expose)(),
85
+ __metadata("design:type", String)
86
+ ], CreateCareFacilityAddressDto.prototype, "careFacilityId", void 0);
87
+ exports.CreateCareFacilityAddressDto = CreateCareFacilityAddressDto;
88
+ //# sourceMappingURL=createCareFacilityAddress.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createCareFacilityAddress.dto.js","sourceRoot":"","sources":["../../../src/dto/careFacilityAddress/createCareFacilityAddress.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,yCAA2C;AAC3C,qDAAyE;AACzE,uEAA+C;AAC/C,yDAA2C;AAC3C,sEAAmE;AAEnE,MAAa,4BAA4B;IAqDjC,MAAM,CAAC,SAAS,CAAC,MAAW;QAClC,OAAO,IAAA,uCAAkB,EAAC,4BAA4B,EAAE,MAAM,CAAC,CAAC;IACjE,CAAC;CACD;AAvDA;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAQ,GAAE;IACV,IAAA,oBAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;6DACO;AAEhB;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAQ,GAAE;IAC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Q,EAAE,IAAI,EAAE,CAAC;IAC7D,IAAA,wBAAM,GAAE;IACR,IAAA,0BAAM,GAAE;;oEACc;AAnDxB,oEAwDC"}
@@ -0,0 +1,11 @@
1
+ export declare class UpdateCareFacilityAddressDto {
2
+ country?: string;
3
+ city?: string;
4
+ zipCode?: string;
5
+ street?: string;
6
+ houseNumber?: string;
7
+ sublocality?: string;
8
+ lat?: number;
9
+ lng?: number;
10
+ static fromPlain(object: any): UpdateCareFacilityAddressDto;
11
+ }
@@ -0,0 +1,89 @@
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
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.UpdateCareFacilityAddressDto = void 0;
16
+ const nestjs_1 = require("../../nestjs");
17
+ const class_validator_1 = require("class-validator");
18
+ const class_transformer_1 = require("class-transformer");
19
+ const trimString_1 = __importDefault(require("../../util/trimString"));
20
+ const convertAndValidate_1 = require("../../util/convertAndValidate");
21
+ class UpdateCareFacilityAddressDto {
22
+ static fromPlain(object) {
23
+ return (0, convertAndValidate_1.convertAndValidate)(UpdateCareFacilityAddressDto, object);
24
+ }
25
+ }
26
+ __decorate([
27
+ (0, nestjs_1.ApiProperty)({ type: String, required: false }),
28
+ (0, class_validator_1.IsString)(),
29
+ (0, class_validator_1.IsOptional)(),
30
+ (0, class_transformer_1.Expose)(),
31
+ (0, trimString_1.default)(),
32
+ __metadata("design:type", String)
33
+ ], UpdateCareFacilityAddressDto.prototype, "country", void 0);
34
+ __decorate([
35
+ (0, nestjs_1.ApiProperty)({ type: String, required: false }),
36
+ (0, class_validator_1.IsString)(),
37
+ (0, class_validator_1.IsOptional)(),
38
+ (0, class_transformer_1.Expose)(),
39
+ (0, trimString_1.default)(),
40
+ __metadata("design:type", String)
41
+ ], UpdateCareFacilityAddressDto.prototype, "city", void 0);
42
+ __decorate([
43
+ (0, nestjs_1.ApiProperty)({ type: String, required: false }),
44
+ (0, class_validator_1.IsString)(),
45
+ (0, class_validator_1.IsOptional)(),
46
+ (0, class_transformer_1.Expose)(),
47
+ (0, trimString_1.default)(),
48
+ __metadata("design:type", String)
49
+ ], UpdateCareFacilityAddressDto.prototype, "zipCode", void 0);
50
+ __decorate([
51
+ (0, nestjs_1.ApiProperty)({ type: String, required: false }),
52
+ (0, class_validator_1.IsString)(),
53
+ (0, class_validator_1.IsOptional)(),
54
+ (0, class_transformer_1.Expose)(),
55
+ (0, trimString_1.default)(),
56
+ __metadata("design:type", String)
57
+ ], UpdateCareFacilityAddressDto.prototype, "street", void 0);
58
+ __decorate([
59
+ (0, nestjs_1.ApiProperty)({ type: String, required: false }),
60
+ (0, class_validator_1.IsString)(),
61
+ (0, class_validator_1.IsOptional)(),
62
+ (0, class_transformer_1.Expose)(),
63
+ (0, trimString_1.default)(),
64
+ __metadata("design:type", String)
65
+ ], UpdateCareFacilityAddressDto.prototype, "houseNumber", void 0);
66
+ __decorate([
67
+ (0, nestjs_1.ApiProperty)({ type: String, required: false }),
68
+ (0, class_validator_1.IsOptional)(),
69
+ (0, class_validator_1.IsString)(),
70
+ (0, class_transformer_1.Expose)(),
71
+ (0, trimString_1.default)(),
72
+ __metadata("design:type", String)
73
+ ], UpdateCareFacilityAddressDto.prototype, "sublocality", void 0);
74
+ __decorate([
75
+ (0, nestjs_1.ApiProperty)({ type: Number, format: 'float', required: false }),
76
+ (0, class_validator_1.IsNumber)(),
77
+ (0, class_validator_1.IsOptional)(),
78
+ (0, class_transformer_1.Expose)(),
79
+ __metadata("design:type", Number)
80
+ ], UpdateCareFacilityAddressDto.prototype, "lat", void 0);
81
+ __decorate([
82
+ (0, nestjs_1.ApiProperty)({ type: Number, format: 'float', required: false }),
83
+ (0, class_validator_1.IsNumber)(),
84
+ (0, class_validator_1.IsOptional)(),
85
+ (0, class_transformer_1.Expose)(),
86
+ __metadata("design:type", Number)
87
+ ], UpdateCareFacilityAddressDto.prototype, "lng", void 0);
88
+ exports.UpdateCareFacilityAddressDto = UpdateCareFacilityAddressDto;
89
+ //# sourceMappingURL=updateCareFacilityAddress.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updateCareFacilityAddress.dto.js","sourceRoot":"","sources":["../../../src/dto/careFacilityAddress/updateCareFacilityAddress.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,yCAA2C;AAC3C,qDAAiE;AACjE,yDAA2C;AAC3C,uEAA+C;AAC/C,sEAAmE;AAEnE,MAAa,4BAA4B;IAuDjC,MAAM,CAAC,SAAS,CAAC,MAAW;QAClC,OAAO,IAAA,uCAAkB,EAAC,4BAA4B,EAAE,MAAM,CAAC,CAAC;IACjE,CAAC;CACD;AAzDA;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;IACR,IAAA,oBAAU,GAAE;;6DACI;AAEjB;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAA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AAM,GAAE;;yDACI;AArDd,oEA0DC"}
@@ -2,11 +2,9 @@ import { OptimizedBlockDto } from '../optimizedBlock/optimizedBlock.dto';
2
2
  import { UserDto } from '../user/user.dto';
3
3
  import { TeamDto } from '../team/team.dto';
4
4
  import { OptimizationBlockViewDto } from './optimizationBlockView.dto';
5
- import { OptimizationUnsolvedBlockViewDto } from './optimizationUnsolvedBlockView.dto';
6
5
  export declare class OptimizationEmbeddedDto {
7
6
  optimizedBlocks: OptimizedBlockDto[];
8
7
  blockViews: OptimizationBlockViewDto[];
9
- unsolvedBlockViews: OptimizationUnsolvedBlockViewDto[];
10
8
  team?: TeamDto;
11
9
  createdBy: UserDto;
12
10
  updatedBy: UserDto;
@@ -17,7 +17,6 @@ const optimizedBlock_dto_1 = require("../optimizedBlock/optimizedBlock.dto");
17
17
  const user_dto_1 = require("../user/user.dto");
18
18
  const team_dto_1 = require("../team/team.dto");
19
19
  const optimizationBlockView_dto_1 = require("./optimizationBlockView.dto");
20
- const optimizationUnsolvedBlockView_dto_1 = require("./optimizationUnsolvedBlockView.dto");
21
20
  class OptimizationEmbeddedDto {
22
21
  }
23
22
  __decorate([
@@ -34,13 +33,6 @@ __decorate([
34
33
  (0, class_transformer_1.Expose)(),
35
34
  __metadata("design:type", Array)
36
35
  ], OptimizationEmbeddedDto.prototype, "blockViews", void 0);
37
- __decorate([
38
- (0, nestjs_1.ApiProperty)({ type: optimizationUnsolvedBlockView_dto_1.OptimizationUnsolvedBlockViewDto, required: false }),
39
- (0, class_transformer_1.Type)(() => optimizationUnsolvedBlockView_dto_1.OptimizationUnsolvedBlockViewDto),
40
- (0, class_validator_1.IsOptional)(),
41
- (0, class_transformer_1.Expose)(),
42
- __metadata("design:type", Array)
43
- ], OptimizationEmbeddedDto.prototype, "unsolvedBlockViews", void 0);
44
36
  __decorate([
45
37
  (0, nestjs_1.ApiProperty)({ type: () => team_dto_1.TeamDto, required: false }),
46
38
  (0, class_transformer_1.Type)(() => team_dto_1.TeamDto),
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 updatedAt: string;
5
+ _embedded?: OptimizationUnsolvedBlockEmbeddedDto;
6
+ };
7
+ export declare class OptimizationUnsolvedBlockDto extends OptimizationUnsolvedBlockDto_base {
8
+ id: string;
9
+ optimizationId: string;
10
+ blockId: string;
11
+ static fromEntity(entity: any): OptimizationUnsolvedBlockDto;
12
+ }
13
+ export {};
@@ -9,31 +9,31 @@ 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
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.OptimizationUnsolvedBlockViewDto = void 0;
12
+ exports.OptimizationUnsolvedBlockDto = void 0;
13
13
  const nestjs_1 = require("../../nestjs");
14
14
  const class_transformer_1 = require("class-transformer");
15
15
  const convertAndValidate_1 = require("../../util/convertAndValidate");
16
- const embedded_dto_1 = require("../generic/embedded/embedded.dto");
17
- const optimizationUnsolvedBlockViewEmbedded_dto_1 = require("./optimizationUnsolvedBlockViewEmbedded.dto");
18
- class OptimizationUnsolvedBlockViewDto extends (0, embedded_dto_1.EmbeddedDto)(optimizationUnsolvedBlockViewEmbedded_dto_1.OptimizationUnsolvedBlockViewEmbeddedDto) {
16
+ const optimizationUnsolvedBlockEmbedded_dto_1 = require("./optimizationUnsolvedBlockEmbedded.dto");
17
+ const base_dto_1 = require("../generic/base.dto");
18
+ class OptimizationUnsolvedBlockDto extends (0, base_dto_1.BaseDto)(optimizationUnsolvedBlockEmbedded_dto_1.OptimizationUnsolvedBlockEmbeddedDto) {
19
19
  static fromEntity(entity) {
20
- return (0, convertAndValidate_1.convertAndValidate)(OptimizationUnsolvedBlockViewDto, entity);
20
+ return (0, convertAndValidate_1.convertAndValidate)(OptimizationUnsolvedBlockDto, entity);
21
21
  }
22
22
  }
23
23
  __decorate([
24
24
  (0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: true }),
25
25
  (0, class_transformer_1.Expose)(),
26
26
  __metadata("design:type", String)
27
- ], OptimizationUnsolvedBlockViewDto.prototype, "id", void 0);
27
+ ], OptimizationUnsolvedBlockDto.prototype, "id", void 0);
28
28
  __decorate([
29
29
  (0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: true }),
30
30
  (0, class_transformer_1.Expose)(),
31
31
  __metadata("design:type", String)
32
- ], OptimizationUnsolvedBlockViewDto.prototype, "optimizationId", void 0);
32
+ ], OptimizationUnsolvedBlockDto.prototype, "optimizationId", void 0);
33
33
  __decorate([
34
34
  (0, nestjs_1.ApiProperty)({ type: String, format: 'uuid', required: true }),
35
35
  (0, class_transformer_1.Expose)(),
36
36
  __metadata("design:type", String)
37
- ], OptimizationUnsolvedBlockViewDto.prototype, "blockId", void 0);
38
- exports.OptimizationUnsolvedBlockViewDto = OptimizationUnsolvedBlockViewDto;
39
- //# sourceMappingURL=optimizationUnsolvedBlockView.dto.js.map
37
+ ], OptimizationUnsolvedBlockDto.prototype, "blockId", void 0);
38
+ exports.OptimizationUnsolvedBlockDto = OptimizationUnsolvedBlockDto;
39
+ //# sourceMappingURL=optimizationUnsolvedBlock.dto.js.map