@more-life/types-more-life-react 0.89.0 → 0.90.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/companyInsurance/createInsuranceCompany.dto.d.ts +2 -2
- package/dist/dto/companyInsurance/createInsuranceCompany.dto.js +4 -4
- package/dist/dto/companyInsurance/createInsuranceCompany.dto.js.map +1 -1
- package/dist/dto/companyInsurance/updateInsuranceCompany.dto.d.ts +2 -2
- package/dist/dto/companyInsurance/updateInsuranceCompany.dto.js +4 -4
- package/dist/dto/companyInsurance/updateInsuranceCompany.dto.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CreateAddressDto } from '../address/createAddress.dto';
|
|
2
2
|
export declare class CreateInsuranceCompanyDto {
|
|
3
3
|
name: string;
|
|
4
4
|
ikNumber?: string;
|
|
5
5
|
phone?: string;
|
|
6
6
|
fax?: string;
|
|
7
7
|
email?: string;
|
|
8
|
-
address:
|
|
8
|
+
address: CreateAddressDto;
|
|
9
9
|
static fromPlain(object: any): CreateInsuranceCompanyDto;
|
|
10
10
|
}
|
|
@@ -13,7 +13,7 @@ exports.CreateInsuranceCompanyDto = void 0;
|
|
|
13
13
|
const nestjs_1 = require("../../nestjs");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
const class_transformer_1 = require("class-transformer");
|
|
16
|
-
const
|
|
16
|
+
const createAddress_dto_1 = require("../address/createAddress.dto");
|
|
17
17
|
const convertAndValidate_1 = require("../../util/convertAndValidate");
|
|
18
18
|
class CreateInsuranceCompanyDto {
|
|
19
19
|
static fromPlain(object) {
|
|
@@ -55,11 +55,11 @@ __decorate([
|
|
|
55
55
|
__metadata("design:type", String)
|
|
56
56
|
], CreateInsuranceCompanyDto.prototype, "email", void 0);
|
|
57
57
|
__decorate([
|
|
58
|
-
(0, nestjs_1.ApiProperty)({ type:
|
|
59
|
-
(0, class_transformer_1.Type)(() =>
|
|
58
|
+
(0, nestjs_1.ApiProperty)({ type: createAddress_dto_1.CreateAddressDto, required: true }),
|
|
59
|
+
(0, class_transformer_1.Type)(() => createAddress_dto_1.CreateAddressDto),
|
|
60
60
|
(0, class_validator_1.ValidateNested)(),
|
|
61
61
|
(0, class_transformer_1.Expose)(),
|
|
62
|
-
__metadata("design:type",
|
|
62
|
+
__metadata("design:type", createAddress_dto_1.CreateAddressDto)
|
|
63
63
|
], CreateInsuranceCompanyDto.prototype, "address", void 0);
|
|
64
64
|
exports.CreateInsuranceCompanyDto = CreateInsuranceCompanyDto;
|
|
65
65
|
//# sourceMappingURL=createInsuranceCompany.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createInsuranceCompany.dto.js","sourceRoot":"","sources":["../../../src/dto/companyInsurance/createInsuranceCompany.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,qDAMyB;AACzB,yDAAiD;AACjD,
|
|
1
|
+
{"version":3,"file":"createInsuranceCompany.dto.js","sourceRoot":"","sources":["../../../src/dto/companyInsurance/createInsuranceCompany.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,qDAMyB;AACzB,yDAAiD;AACjD,oEAAgE;AAChE,sEAAmE;AAEnE,MAAa,yBAAyB;IAoC9B,MAAM,CAAC,SAAS,CAAC,MAAW;QAClC,OAAO,IAAA,uCAAkB,EAAC,yBAAyB,EAAE,MAAM,CAAC,CAAC;IAC9D,CAAC;CACD;AAtCA;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;;uDACI;AAEb;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;;2DACS;AAElB;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,+BAAa,GAAE;IACf,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;wDACE;AAEf;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;;sDACI;AAEb;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,yBAAO,GAAE;IACT,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;wDACM;AAEf;IAAC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,oCAAgB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACvD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oCAAgB,CAAC;IAC5B,IAAA,gCAAc,GAAE;IAChB,IAAA,0BAAM,GAAE;8BACA,oCAAgB;0DAAC;AAlC3B,8DAuCC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { UpdateAddressDto } from '../address/updateAddress.dto';
|
|
2
2
|
export declare class UpdateInsuranceCompanyDto {
|
|
3
3
|
name?: string;
|
|
4
4
|
ikNumber?: string;
|
|
5
5
|
phone?: string;
|
|
6
6
|
fax?: string | null;
|
|
7
7
|
email?: string;
|
|
8
|
-
address?:
|
|
8
|
+
address?: UpdateAddressDto;
|
|
9
9
|
static fromPlain(object: any): UpdateInsuranceCompanyDto;
|
|
10
10
|
}
|
|
@@ -13,7 +13,7 @@ exports.UpdateInsuranceCompanyDto = 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 updateAddress_dto_1 = require("../address/updateAddress.dto");
|
|
17
17
|
const convertAndValidate_1 = require("../../util/convertAndValidate");
|
|
18
18
|
class UpdateInsuranceCompanyDto {
|
|
19
19
|
static fromPlain(object) {
|
|
@@ -56,12 +56,12 @@ __decorate([
|
|
|
56
56
|
__metadata("design:type", String)
|
|
57
57
|
], UpdateInsuranceCompanyDto.prototype, "email", void 0);
|
|
58
58
|
__decorate([
|
|
59
|
-
(0, nestjs_1.ApiProperty)({ type:
|
|
60
|
-
(0, class_transformer_1.Type)(() =>
|
|
59
|
+
(0, nestjs_1.ApiProperty)({ type: updateAddress_dto_1.UpdateAddressDto, required: false }),
|
|
60
|
+
(0, class_transformer_1.Type)(() => updateAddress_dto_1.UpdateAddressDto),
|
|
61
61
|
(0, class_validator_1.ValidateNested)(),
|
|
62
62
|
(0, class_validator_1.IsOptional)(),
|
|
63
63
|
(0, class_transformer_1.Expose)(),
|
|
64
|
-
__metadata("design:type",
|
|
64
|
+
__metadata("design:type", updateAddress_dto_1.UpdateAddressDto)
|
|
65
65
|
], UpdateInsuranceCompanyDto.prototype, "address", void 0);
|
|
66
66
|
exports.UpdateInsuranceCompanyDto = UpdateInsuranceCompanyDto;
|
|
67
67
|
//# sourceMappingURL=updateInsuranceCompany.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateInsuranceCompany.dto.js","sourceRoot":"","sources":["../../../src/dto/companyInsurance/updateInsuranceCompany.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAAiD;AACjD,qDAMyB;AACzB,
|
|
1
|
+
{"version":3,"file":"updateInsuranceCompany.dto.js","sourceRoot":"","sources":["../../../src/dto/companyInsurance/updateInsuranceCompany.dto.ts"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