adamo-types 2.1.29 → 2.1.30-sit
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/bss/bearingpoint/lookup/option.entity.d.ts +2 -0
- package/dist/bss/bearingpoint/lookup/option.entity.js +1 -1
- package/dist/common/edge-zoho/sale-process/req/patch.entity.d.ts +4 -10
- package/dist/common/edge-zoho/sale-process/req/patch.entity.js +24 -44
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/zoho/constants/zoho.constants.d.ts +0 -6
- package/dist/zoho/constants/zoho.constants.js +1 -8
- package/dist/zoho/sale-process/address-search.entity.d.ts +2 -2
- package/dist/zoho/sale-process/address-search.entity.js +3 -3
- package/package.json +2 -2
|
@@ -4,7 +4,7 @@ exports.BpLookupOptionDto = void 0;
|
|
|
4
4
|
const openapi = require("@nestjs/swagger");
|
|
5
5
|
class BpLookupOptionDto {
|
|
6
6
|
static _OPENAPI_METADATA_FACTORY() {
|
|
7
|
-
return { area: { required: true, type: () => String }, name: { required: true, type: () => String }, displayName: { required: true, type: () => String }, displayOrder: { required: true, type: () => Number }, active: { required: true, type: () => Boolean }, description: { required: true, type: () => String }, parentArea: { required: false, type: () => String }, parentName: { required: false, type: () => String }, configurationLevel: { required: true, type: () => String } };
|
|
7
|
+
return { area: { required: true, type: () => String }, name: { required: true, type: () => String }, displayName: { required: true, type: () => String }, displayOrder: { required: true, type: () => Number }, active: { required: true, type: () => Boolean }, description: { required: true, type: () => String }, parentArea: { required: false, type: () => String }, parentName: { required: false, type: () => String }, configurationLevel: { required: true, type: () => String }, _translations: { required: false, type: () => Object }, parameters: { required: false, type: () => Object } };
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
exports.BpLookupOptionDto = BpLookupOptionDto;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DigitelCircuitType, BpCustomerAccountIndividualTitleType, BpCustomerAccountPreferredContactTimeType } from '../../../../bss/constants';
|
|
2
|
-
import { BusinessCustomerType, CustomerType } from '../../../constants';
|
|
3
|
-
import {
|
|
2
|
+
import { BusinessCustomerType, CoverageSearchType, CustomerType } from '../../../constants';
|
|
3
|
+
import { SaleProcessStatusType } from '../../../../zoho/constants';
|
|
4
4
|
import { BusinessIdentificationDto, CustomerIdentificationDto } from '../../../../zoho/sale-process';
|
|
5
5
|
import { CreateCustomerAccountAddressReqDto } from '../../../../sys03/customer';
|
|
6
6
|
import { ExistingCustomerBehaviourType } from '../../../../sys03/common';
|
|
@@ -111,7 +111,7 @@ export declare class PatchSaleProcessFeaturesSelectedDto {
|
|
|
111
111
|
shoppingCartId: string;
|
|
112
112
|
}
|
|
113
113
|
export declare class PartialAddressSearchDto {
|
|
114
|
-
searchType:
|
|
114
|
+
searchType: CoverageSearchType;
|
|
115
115
|
search: string;
|
|
116
116
|
googleStreet: string;
|
|
117
117
|
googleLatitude: string;
|
|
@@ -124,14 +124,8 @@ export declare class PartialAddressSelectedDto {
|
|
|
124
124
|
coberturaId: string;
|
|
125
125
|
}
|
|
126
126
|
export declare class PartialApartmentSelectedDto {
|
|
127
|
-
searchType?: AddressSearchType;
|
|
128
|
-
search?: string;
|
|
129
|
-
coberturaId?: string;
|
|
130
127
|
coberturaPisoPortaId: string;
|
|
131
128
|
}
|
|
132
|
-
export declare class PartialApartmentSelectedCustomerDto {
|
|
133
|
-
serviceAddress: string | number;
|
|
134
|
-
}
|
|
135
129
|
export declare class PartialB2bContactCustomerDto {
|
|
136
130
|
firstName: string;
|
|
137
131
|
lastName: string;
|
|
@@ -166,10 +160,10 @@ export declare class PatchSaleProcessAddressSelectedDto {
|
|
|
166
160
|
export declare class PatchSaleProcessApartmentSelectedDto {
|
|
167
161
|
status: SaleProcessStatusType;
|
|
168
162
|
addressSearch: PartialApartmentSelectedDto;
|
|
169
|
-
customer: PartialApartmentSelectedCustomerDto;
|
|
170
163
|
}
|
|
171
164
|
export declare class PatchSaleProcessNoSaleDto {
|
|
172
165
|
status: SaleProcessStatusType;
|
|
166
|
+
notes?: string;
|
|
173
167
|
}
|
|
174
168
|
export declare class PatchSaleProcessB2bContactDto {
|
|
175
169
|
status: SaleProcessStatusType;
|
|
@@ -9,7 +9,7 @@ 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.PatchSaleProcessPendingIbanValidationCompanyDto = exports.PartialSaleProcessPendingIbanValidationCompanyDto = exports.PatchSaleProcessPendingIbanValidationPersonDto = exports.PartialSaleProcessPendingIbanValidationPersonDto = exports.PatchSaleProcessNoCoverageWebDto = exports.PatchSaleProcessFhContactDto = exports.PatchSaleProcessNearByDto = exports.PatchSaleProcessApolloDto = exports.PatchSaleProcessB2bContactDto = exports.PatchSaleProcessNoSaleDto = exports.PatchSaleProcessApartmentSelectedDto = exports.PatchSaleProcessAddressSelectedDto = exports.PatchSaleProcessAddressSearchDto = exports.PartialNearByFhContactNoCoverageAddressSearchDto = exports.PartialNearByFhContactNoCoverageCustomerDto = exports.PartialApolloAddressSearchDto = exports.PartialB2bContactAddressSearchDto = exports.PartialB2bContactCustomerDto = exports.
|
|
12
|
+
exports.PatchSaleProcessPendingIbanValidationCompanyDto = exports.PartialSaleProcessPendingIbanValidationCompanyDto = exports.PatchSaleProcessPendingIbanValidationPersonDto = exports.PartialSaleProcessPendingIbanValidationPersonDto = exports.PatchSaleProcessNoCoverageWebDto = exports.PatchSaleProcessFhContactDto = exports.PatchSaleProcessNearByDto = exports.PatchSaleProcessApolloDto = exports.PatchSaleProcessB2bContactDto = exports.PatchSaleProcessNoSaleDto = exports.PatchSaleProcessApartmentSelectedDto = exports.PatchSaleProcessAddressSelectedDto = exports.PatchSaleProcessAddressSearchDto = exports.PartialNearByFhContactNoCoverageAddressSearchDto = exports.PartialNearByFhContactNoCoverageCustomerDto = exports.PartialApolloAddressSearchDto = exports.PartialB2bContactAddressSearchDto = exports.PartialB2bContactCustomerDto = exports.PartialApartmentSelectedDto = exports.PartialAddressSelectedDto = exports.PartialAddressSearchDto = exports.PatchSaleProcessFeaturesSelectedDto = exports.PatchSaleProcessBundleSelectedDto = exports.PatchSaleProcessNoCoverageDto = exports.PatchSaleProcessPersonalDataSavedDto = exports.PatchSaleProcessContractDataSavedDto = exports.PartialSaleProcessBusinessInfoDto = exports.PartialSaleProcessBillingInfoBaseWithIdentificationDto = exports.PartialSaleProcessBillingInfoBaseDto = exports.PartialSaleProcessContractCustomerDto = exports.PartialSaleProcessCustomerBaseWithoutTypeDto = exports.PartialSaleProcessCustomerBaseDto = exports.PartialSaleProcessBillingInfoDto = exports.PartialSaleProcessBillingInfoFirstAndLastNameDto = exports.PartialSaleProcessContractDataSavedPatchBehaviourBusinessInfoDto = exports.PartialSaleProcessDigitelDto = exports.PartialSaleProcessDigitelCustomerDto = exports.PartialSaleProcessContractDataSavedPatchBehaviourCustomerIdentificationDto = exports.PatchSaleProcessBusinessInfoContractDataSavedDto = exports.PatchSaleProcessCustomerContractDataSavedDto = exports.PatchSaleProcessCustomerTypeValidatedDto = exports.PatchSaleProcessCustomerTypeSelectedDto = exports.PartialSaleProcessBusinessDto = exports.PartialSaleProcessCustomerDto = void 0;
|
|
13
13
|
const openapi = require("@nestjs/swagger");
|
|
14
14
|
const constants_1 = require("../../../../bss/constants");
|
|
15
15
|
const constants_2 = require("../../../constants");
|
|
@@ -541,40 +541,40 @@ __decorate([
|
|
|
541
541
|
], PatchSaleProcessFeaturesSelectedDto.prototype, "shoppingCartId", void 0);
|
|
542
542
|
class PartialAddressSearchDto {
|
|
543
543
|
static _OPENAPI_METADATA_FACTORY() {
|
|
544
|
-
return { searchType: { required: true, enum: require("
|
|
544
|
+
return { searchType: { required: true, enum: require("../../../constants/common.constants").CoverageSearchType }, search: { required: true, type: () => String }, googleStreet: { required: true, type: () => String }, googleLatitude: { required: true, type: () => String }, googleLongitude: { required: true, type: () => String }, googleProvince: { required: false, type: () => String }, googleZip: { required: false, type: () => String }, googleCity: { required: false, type: () => String } };
|
|
545
545
|
}
|
|
546
546
|
}
|
|
547
547
|
exports.PartialAddressSearchDto = PartialAddressSearchDto;
|
|
548
548
|
__decorate([
|
|
549
|
-
(0, class_validator_1.IsEnum)(
|
|
549
|
+
(0, class_validator_1.IsEnum)(constants_2.CoverageSearchType),
|
|
550
550
|
__metadata("design:type", String)
|
|
551
551
|
], PartialAddressSearchDto.prototype, "searchType", void 0);
|
|
552
552
|
__decorate([
|
|
553
|
-
(0, class_validator_1.ValidateIf)((o) => o.searchType !==
|
|
553
|
+
(0, class_validator_1.ValidateIf)((o) => o.searchType !== constants_2.CoverageSearchType.COORDS),
|
|
554
554
|
(0, class_validator_1.IsString)(),
|
|
555
555
|
(0, class_validator_1.IsNotEmpty)(),
|
|
556
556
|
__metadata("design:type", String)
|
|
557
557
|
], PartialAddressSearchDto.prototype, "search", void 0);
|
|
558
558
|
__decorate([
|
|
559
|
-
(0, class_validator_1.ValidateIf)((o) => o.searchType ===
|
|
559
|
+
(0, class_validator_1.ValidateIf)((o) => o.searchType === constants_2.CoverageSearchType.GOOGLE),
|
|
560
560
|
(0, class_validator_1.IsString)(),
|
|
561
561
|
(0, class_validator_1.IsNotEmpty)(),
|
|
562
562
|
__metadata("design:type", String)
|
|
563
563
|
], PartialAddressSearchDto.prototype, "googleStreet", void 0);
|
|
564
564
|
__decorate([
|
|
565
|
-
(0, class_validator_1.ValidateIf)((o) => o.searchType ===
|
|
565
|
+
(0, class_validator_1.ValidateIf)((o) => o.searchType === constants_2.CoverageSearchType.GOOGLE || o.searchType === constants_2.CoverageSearchType.COORDS),
|
|
566
566
|
(0, class_validator_1.IsString)(),
|
|
567
567
|
(0, class_validator_1.IsNotEmpty)(),
|
|
568
568
|
__metadata("design:type", String)
|
|
569
569
|
], PartialAddressSearchDto.prototype, "googleLatitude", void 0);
|
|
570
570
|
__decorate([
|
|
571
|
-
(0, class_validator_1.ValidateIf)((o) => o.searchType ===
|
|
571
|
+
(0, class_validator_1.ValidateIf)((o) => o.searchType === constants_2.CoverageSearchType.GOOGLE || o.searchType === constants_2.CoverageSearchType.COORDS),
|
|
572
572
|
(0, class_validator_1.IsString)(),
|
|
573
573
|
(0, class_validator_1.IsNotEmpty)(),
|
|
574
574
|
__metadata("design:type", String)
|
|
575
575
|
], PartialAddressSearchDto.prototype, "googleLongitude", void 0);
|
|
576
576
|
__decorate([
|
|
577
|
-
(0, class_validator_1.ValidateIf)((o) => o.searchType ===
|
|
577
|
+
(0, class_validator_1.ValidateIf)((o) => o.searchType === constants_2.CoverageSearchType.GOOGLE),
|
|
578
578
|
(0, class_validator_1.IsString)(),
|
|
579
579
|
(0, class_validator_1.IsOptional)(),
|
|
580
580
|
(0, class_transformer_1.Transform)(({ value }) => {
|
|
@@ -586,7 +586,7 @@ __decorate([
|
|
|
586
586
|
__metadata("design:type", String)
|
|
587
587
|
], PartialAddressSearchDto.prototype, "googleProvince", void 0);
|
|
588
588
|
__decorate([
|
|
589
|
-
(0, class_validator_1.ValidateIf)((o) => o.searchType ===
|
|
589
|
+
(0, class_validator_1.ValidateIf)((o) => o.searchType === constants_2.CoverageSearchType.GOOGLE),
|
|
590
590
|
(0, class_validator_1.IsString)(),
|
|
591
591
|
(0, class_validator_1.IsOptional)(),
|
|
592
592
|
(0, class_transformer_1.Transform)(({ value }) => {
|
|
@@ -598,7 +598,7 @@ __decorate([
|
|
|
598
598
|
__metadata("design:type", String)
|
|
599
599
|
], PartialAddressSearchDto.prototype, "googleZip", void 0);
|
|
600
600
|
__decorate([
|
|
601
|
-
(0, class_validator_1.ValidateIf)((o) => o.searchType ===
|
|
601
|
+
(0, class_validator_1.ValidateIf)((o) => o.searchType === constants_2.CoverageSearchType.GOOGLE),
|
|
602
602
|
(0, class_validator_1.IsString)(),
|
|
603
603
|
(0, class_validator_1.IsOptional)(),
|
|
604
604
|
(0, class_transformer_1.Transform)(({ value }) => {
|
|
@@ -616,45 +616,23 @@ class PartialAddressSelectedDto {
|
|
|
616
616
|
}
|
|
617
617
|
exports.PartialAddressSelectedDto = PartialAddressSelectedDto;
|
|
618
618
|
__decorate([
|
|
619
|
+
(0, class_validator_1.IsString)(),
|
|
619
620
|
(0, class_validator_1.IsNotEmpty)(),
|
|
621
|
+
(0, _validators_1.IsNotBlank)(),
|
|
620
622
|
__metadata("design:type", String)
|
|
621
623
|
], PartialAddressSelectedDto.prototype, "coberturaId", void 0);
|
|
622
624
|
class PartialApartmentSelectedDto {
|
|
623
625
|
static _OPENAPI_METADATA_FACTORY() {
|
|
624
|
-
return {
|
|
626
|
+
return { coberturaPisoPortaId: { required: true, type: () => String } };
|
|
625
627
|
}
|
|
626
628
|
}
|
|
627
629
|
exports.PartialApartmentSelectedDto = PartialApartmentSelectedDto;
|
|
628
|
-
__decorate([
|
|
629
|
-
(0, class_validator_1.IsEnum)(constants_3.AddressSearchType),
|
|
630
|
-
(0, class_validator_1.IsOptional)(),
|
|
631
|
-
__metadata("design:type", String)
|
|
632
|
-
], PartialApartmentSelectedDto.prototype, "searchType", void 0);
|
|
633
630
|
__decorate([
|
|
634
631
|
(0, class_validator_1.IsString)(),
|
|
635
632
|
(0, class_validator_1.IsNotEmpty)(),
|
|
636
|
-
(0,
|
|
637
|
-
__metadata("design:type", String)
|
|
638
|
-
], PartialApartmentSelectedDto.prototype, "search", void 0);
|
|
639
|
-
__decorate([
|
|
640
|
-
(0, class_validator_1.IsOptional)(),
|
|
641
|
-
__metadata("design:type", String)
|
|
642
|
-
], PartialApartmentSelectedDto.prototype, "coberturaId", void 0);
|
|
643
|
-
__decorate([
|
|
644
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
633
|
+
(0, _validators_1.IsNotBlank)(),
|
|
645
634
|
__metadata("design:type", String)
|
|
646
635
|
], PartialApartmentSelectedDto.prototype, "coberturaPisoPortaId", void 0);
|
|
647
|
-
class PartialApartmentSelectedCustomerDto {
|
|
648
|
-
static _OPENAPI_METADATA_FACTORY() {
|
|
649
|
-
return { serviceAddress: { required: true, type: () => Object } };
|
|
650
|
-
}
|
|
651
|
-
}
|
|
652
|
-
exports.PartialApartmentSelectedCustomerDto = PartialApartmentSelectedCustomerDto;
|
|
653
|
-
__decorate([
|
|
654
|
-
(0, class_validator_1.IsString)(),
|
|
655
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
656
|
-
__metadata("design:type", Object)
|
|
657
|
-
], PartialApartmentSelectedCustomerDto.prototype, "serviceAddress", void 0);
|
|
658
636
|
class PartialB2bContactCustomerDto {
|
|
659
637
|
static _OPENAPI_METADATA_FACTORY() {
|
|
660
638
|
return { firstName: { required: true, type: () => String }, lastName: { required: true, type: () => String }, contactPhone: { required: false, type: () => String } };
|
|
@@ -800,7 +778,7 @@ __decorate([
|
|
|
800
778
|
], PatchSaleProcessAddressSelectedDto.prototype, "addressSearch", void 0);
|
|
801
779
|
class PatchSaleProcessApartmentSelectedDto {
|
|
802
780
|
static _OPENAPI_METADATA_FACTORY() {
|
|
803
|
-
return { status: { required: true, enum: require("../../../../zoho/constants/zoho.constants").SaleProcessStatusType }, addressSearch: { required: true, type: () => require("./patch.entity").PartialApartmentSelectedDto }
|
|
781
|
+
return { status: { required: true, enum: require("../../../../zoho/constants/zoho.constants").SaleProcessStatusType }, addressSearch: { required: true, type: () => require("./patch.entity").PartialApartmentSelectedDto } };
|
|
804
782
|
}
|
|
805
783
|
}
|
|
806
784
|
exports.PatchSaleProcessApartmentSelectedDto = PatchSaleProcessApartmentSelectedDto;
|
|
@@ -814,15 +792,9 @@ __decorate([
|
|
|
814
792
|
(0, class_transformer_1.Type)(() => PartialApartmentSelectedDto),
|
|
815
793
|
__metadata("design:type", PartialApartmentSelectedDto)
|
|
816
794
|
], PatchSaleProcessApartmentSelectedDto.prototype, "addressSearch", void 0);
|
|
817
|
-
__decorate([
|
|
818
|
-
(0, class_validator_1.IsDefined)(),
|
|
819
|
-
(0, class_validator_1.ValidateNested)(),
|
|
820
|
-
(0, class_transformer_1.Type)(() => PartialApartmentSelectedCustomerDto),
|
|
821
|
-
__metadata("design:type", PartialApartmentSelectedCustomerDto)
|
|
822
|
-
], PatchSaleProcessApartmentSelectedDto.prototype, "customer", void 0);
|
|
823
795
|
class PatchSaleProcessNoSaleDto {
|
|
824
796
|
static _OPENAPI_METADATA_FACTORY() {
|
|
825
|
-
return { status: { required: true, enum: require("../../../../zoho/constants/zoho.constants").SaleProcessStatusType } };
|
|
797
|
+
return { status: { required: true, enum: require("../../../../zoho/constants/zoho.constants").SaleProcessStatusType }, notes: { required: false, type: () => String, maxLength: 1000 } };
|
|
826
798
|
}
|
|
827
799
|
}
|
|
828
800
|
exports.PatchSaleProcessNoSaleDto = PatchSaleProcessNoSaleDto;
|
|
@@ -830,6 +802,14 @@ __decorate([
|
|
|
830
802
|
(0, class_validator_1.IsEnum)(constants_3.SaleProcessStatusType),
|
|
831
803
|
__metadata("design:type", String)
|
|
832
804
|
], PatchSaleProcessNoSaleDto.prototype, "status", void 0);
|
|
805
|
+
__decorate([
|
|
806
|
+
(0, class_validator_1.IsString)(),
|
|
807
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
808
|
+
(0, class_validator_1.MaxLength)(1000),
|
|
809
|
+
(0, class_validator_1.IsOptional)(),
|
|
810
|
+
(0, class_transformer_1.Expose)(),
|
|
811
|
+
__metadata("design:type", String)
|
|
812
|
+
], PatchSaleProcessNoSaleDto.prototype, "notes", void 0);
|
|
833
813
|
class PatchSaleProcessB2bContactDto {
|
|
834
814
|
static _OPENAPI_METADATA_FACTORY() {
|
|
835
815
|
return { status: { required: true, enum: require("../../../../zoho/constants/zoho.constants").SaleProcessStatusType }, mobilePhone: { required: false, type: () => String }, customer: { required: true, type: () => require("./patch.entity").PartialB2bContactCustomerDto }, addressSearch: { required: true, type: () => require("./patch.entity").PartialB2bContactAddressSearchDto } };
|