adamo-types 1.1.162 → 1.1.164-fix

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.
@@ -109,8 +109,8 @@ export declare class PartialNearByFhContactNoCoverageCustomerDto {
109
109
  email: string;
110
110
  }
111
111
  export declare class PartialNearByFhContactNoCoverageAddressSearchDto {
112
- nearestCoverageId: string;
113
- nearestCoverageDistance: string;
112
+ nearestCoverageId?: string;
113
+ nearestCoverageDistance?: string;
114
114
  }
115
115
  export declare class PatchSaleProcessAddressSearchDto {
116
116
  status: SaleProcessStatusType;
@@ -141,16 +141,16 @@ export declare class PatchSaleProcessApolloDto {
141
141
  export declare class PatchSaleProcessNearByDto {
142
142
  status: SaleProcessStatusType;
143
143
  customer: PartialNearByFhContactNoCoverageCustomerDto;
144
- addressSearch: PartialNearByFhContactNoCoverageAddressSearchDto;
144
+ addressSearch?: PartialNearByFhContactNoCoverageAddressSearchDto;
145
145
  }
146
146
  export declare class PatchSaleProcessFhContactDto {
147
147
  status: SaleProcessStatusType;
148
148
  fiberhoodId: number;
149
149
  customer: PartialNearByFhContactNoCoverageCustomerDto;
150
- addressSearch: PartialNearByFhContactNoCoverageAddressSearchDto;
150
+ addressSearch?: PartialNearByFhContactNoCoverageAddressSearchDto;
151
151
  }
152
152
  export declare class PatchSaleProcessNoCoverageWebDto {
153
153
  status: SaleProcessStatusType;
154
154
  customer: PartialNearByFhContactNoCoverageCustomerDto;
155
- addressSearch: PartialNearByFhContactNoCoverageAddressSearchDto;
155
+ addressSearch?: PartialNearByFhContactNoCoverageAddressSearchDto;
156
156
  }
@@ -502,17 +502,21 @@ __decorate([
502
502
  exports.PartialNearByFhContactNoCoverageCustomerDto = PartialNearByFhContactNoCoverageCustomerDto;
503
503
  class PartialNearByFhContactNoCoverageAddressSearchDto {
504
504
  static _OPENAPI_METADATA_FACTORY() {
505
- return { nearestCoverageId: { required: true, type: () => String }, nearestCoverageDistance: { required: true, type: () => String } };
505
+ return { nearestCoverageId: { required: false, type: () => String }, nearestCoverageDistance: { required: false, type: () => String } };
506
506
  }
507
507
  }
508
508
  __decorate([
509
509
  (0, class_validator_1.IsString)(),
510
510
  (0, class_validator_1.IsNotEmpty)(),
511
+ (0, _validators_1.IsNotBlank)(),
512
+ (0, class_validator_1.IsOptional)(),
511
513
  __metadata("design:type", String)
512
514
  ], PartialNearByFhContactNoCoverageAddressSearchDto.prototype, "nearestCoverageId", void 0);
513
515
  __decorate([
514
516
  (0, class_validator_1.IsString)(),
515
517
  (0, class_validator_1.IsNotEmpty)(),
518
+ (0, _validators_1.IsNotBlank)(),
519
+ (0, class_validator_1.IsOptional)(),
516
520
  __metadata("design:type", String)
517
521
  ], PartialNearByFhContactNoCoverageAddressSearchDto.prototype, "nearestCoverageDistance", void 0);
518
522
  exports.PartialNearByFhContactNoCoverageAddressSearchDto = PartialNearByFhContactNoCoverageAddressSearchDto;
@@ -626,7 +630,7 @@ __decorate([
626
630
  exports.PatchSaleProcessApolloDto = PatchSaleProcessApolloDto;
627
631
  class PatchSaleProcessNearByDto {
628
632
  static _OPENAPI_METADATA_FACTORY() {
629
- return { status: { required: true, enum: require("../../../../zoho/constants/zoho.constants").SaleProcessStatusType }, customer: { required: true, type: () => require("./patch.entity").PartialNearByFhContactNoCoverageCustomerDto }, addressSearch: { required: true, type: () => require("./patch.entity").PartialNearByFhContactNoCoverageAddressSearchDto } };
633
+ return { status: { required: true, enum: require("../../../../zoho/constants/zoho.constants").SaleProcessStatusType }, customer: { required: true, type: () => require("./patch.entity").PartialNearByFhContactNoCoverageCustomerDto }, addressSearch: { required: false, type: () => require("./patch.entity").PartialNearByFhContactNoCoverageAddressSearchDto } };
630
634
  }
631
635
  }
632
636
  __decorate([
@@ -643,12 +647,13 @@ __decorate([
643
647
  (0, class_validator_1.IsDefined)(),
644
648
  (0, class_validator_1.ValidateNested)(),
645
649
  (0, class_transformer_1.Type)(() => PartialNearByFhContactNoCoverageAddressSearchDto),
650
+ (0, class_validator_1.IsOptional)(),
646
651
  __metadata("design:type", PartialNearByFhContactNoCoverageAddressSearchDto)
647
652
  ], PatchSaleProcessNearByDto.prototype, "addressSearch", void 0);
648
653
  exports.PatchSaleProcessNearByDto = PatchSaleProcessNearByDto;
649
654
  class PatchSaleProcessFhContactDto {
650
655
  static _OPENAPI_METADATA_FACTORY() {
651
- return { status: { required: true, enum: require("../../../../zoho/constants/zoho.constants").SaleProcessStatusType }, fiberhoodId: { required: true, type: () => Number }, customer: { required: true, type: () => require("./patch.entity").PartialNearByFhContactNoCoverageCustomerDto }, addressSearch: { required: true, type: () => require("./patch.entity").PartialNearByFhContactNoCoverageAddressSearchDto } };
656
+ return { status: { required: true, enum: require("../../../../zoho/constants/zoho.constants").SaleProcessStatusType }, fiberhoodId: { required: true, type: () => Number }, customer: { required: true, type: () => require("./patch.entity").PartialNearByFhContactNoCoverageCustomerDto }, addressSearch: { required: false, type: () => require("./patch.entity").PartialNearByFhContactNoCoverageAddressSearchDto } };
652
657
  }
653
658
  }
654
659
  __decorate([
@@ -669,12 +674,13 @@ __decorate([
669
674
  (0, class_validator_1.IsDefined)(),
670
675
  (0, class_validator_1.ValidateNested)(),
671
676
  (0, class_transformer_1.Type)(() => PartialNearByFhContactNoCoverageAddressSearchDto),
677
+ (0, class_validator_1.IsOptional)(),
672
678
  __metadata("design:type", PartialNearByFhContactNoCoverageAddressSearchDto)
673
679
  ], PatchSaleProcessFhContactDto.prototype, "addressSearch", void 0);
674
680
  exports.PatchSaleProcessFhContactDto = PatchSaleProcessFhContactDto;
675
681
  class PatchSaleProcessNoCoverageWebDto {
676
682
  static _OPENAPI_METADATA_FACTORY() {
677
- return { status: { required: true, enum: require("../../../../zoho/constants/zoho.constants").SaleProcessStatusType }, customer: { required: true, type: () => require("./patch.entity").PartialNearByFhContactNoCoverageCustomerDto }, addressSearch: { required: true, type: () => require("./patch.entity").PartialNearByFhContactNoCoverageAddressSearchDto } };
683
+ return { status: { required: true, enum: require("../../../../zoho/constants/zoho.constants").SaleProcessStatusType }, customer: { required: true, type: () => require("./patch.entity").PartialNearByFhContactNoCoverageCustomerDto }, addressSearch: { required: false, type: () => require("./patch.entity").PartialNearByFhContactNoCoverageAddressSearchDto } };
678
684
  }
679
685
  }
680
686
  __decorate([
@@ -691,6 +697,7 @@ __decorate([
691
697
  (0, class_validator_1.IsDefined)(),
692
698
  (0, class_validator_1.ValidateNested)(),
693
699
  (0, class_transformer_1.Type)(() => PartialNearByFhContactNoCoverageAddressSearchDto),
700
+ (0, class_validator_1.IsOptional)(),
694
701
  __metadata("design:type", PartialNearByFhContactNoCoverageAddressSearchDto)
695
702
  ], PatchSaleProcessNoCoverageWebDto.prototype, "addressSearch", void 0);
696
703
  exports.PatchSaleProcessNoCoverageWebDto = PatchSaleProcessNoCoverageWebDto;
@@ -9,6 +9,7 @@ export declare const DigitelStatusDic: {
9
9
  'Contract document viewed': string;
10
10
  'Contract accepted': string;
11
11
  'Contract documents signed': string;
12
+ 'Pin validation expired': string;
12
13
  Error: string;
13
14
  Success: string;
14
15
  Expired: string;
@@ -12,6 +12,7 @@ exports.DigitelStatusDic = {
12
12
  'Contract document viewed': 'digitel-document-viewed',
13
13
  'Contract accepted': 'digitel-pin-requested',
14
14
  'Contract documents signed': 'digitel-documents-signed',
15
+ 'Pin validation expired': 'digitel-pin-expired',
15
16
  Error: 'digitel-error',
16
17
  Success: 'digitel-success',
17
18
  Expired: 'digitel-expired',