adamo-types 1.2.51-sit → 1.2.51

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.
@@ -0,0 +1,24 @@
1
+ export declare class CsvCharge {
2
+ billingAccount: string;
3
+ invoiceText: string;
4
+ startDate: string;
5
+ netCharge: string;
6
+ }
7
+ export interface InfonovaApplyChargePayload {
8
+ billingAccount: string;
9
+ name: string;
10
+ validFor: ValidFor;
11
+ prices: Price;
12
+ }
13
+ interface ValidFor {
14
+ start: string;
15
+ }
16
+ interface Price {
17
+ name: string;
18
+ priceAdjustment: PriceAdjustment;
19
+ }
20
+ interface PriceAdjustment {
21
+ netCharge: string;
22
+ invoiceText: string;
23
+ }
24
+ export {};
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CsvCharge = void 0;
4
+ const openapi = require("@nestjs/swagger");
5
+ class CsvCharge {
6
+ static _OPENAPI_METADATA_FACTORY() {
7
+ return { billingAccount: { required: true, type: () => String }, invoiceText: { required: true, type: () => String }, startDate: { required: true, type: () => String }, netCharge: { required: true, type: () => String } };
8
+ }
9
+ }
10
+ exports.CsvCharge = CsvCharge;
@@ -0,0 +1 @@
1
+ export * from './csv-charges.entity';
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./csv-charges.entity"), exports);
@@ -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;
@@ -147,10 +147,10 @@ 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
  }
@@ -505,21 +505,17 @@ __decorate([
505
505
  exports.PartialNearByFhContactNoCoverageCustomerDto = PartialNearByFhContactNoCoverageCustomerDto;
506
506
  class PartialNearByFhContactNoCoverageAddressSearchDto {
507
507
  static _OPENAPI_METADATA_FACTORY() {
508
- return { nearestCoverageId: { required: false, type: () => String }, nearestCoverageDistance: { required: false, type: () => String } };
508
+ return { nearestCoverageId: { required: true, type: () => String }, nearestCoverageDistance: { required: true, type: () => String } };
509
509
  }
510
510
  }
511
511
  __decorate([
512
512
  (0, class_validator_1.IsString)(),
513
513
  (0, class_validator_1.IsNotEmpty)(),
514
- (0, _validators_1.IsNotBlank)(),
515
- (0, class_validator_1.IsOptional)(),
516
514
  __metadata("design:type", String)
517
515
  ], PartialNearByFhContactNoCoverageAddressSearchDto.prototype, "nearestCoverageId", void 0);
518
516
  __decorate([
519
517
  (0, class_validator_1.IsString)(),
520
518
  (0, class_validator_1.IsNotEmpty)(),
521
- (0, _validators_1.IsNotBlank)(),
522
- (0, class_validator_1.IsOptional)(),
523
519
  __metadata("design:type", String)
524
520
  ], PartialNearByFhContactNoCoverageAddressSearchDto.prototype, "nearestCoverageDistance", void 0);
525
521
  exports.PartialNearByFhContactNoCoverageAddressSearchDto = PartialNearByFhContactNoCoverageAddressSearchDto;
@@ -657,7 +653,7 @@ __decorate([
657
653
  exports.PatchSaleProcessNearByDto = PatchSaleProcessNearByDto;
658
654
  class PatchSaleProcessFhContactDto {
659
655
  static _OPENAPI_METADATA_FACTORY() {
660
- return { status: { required: true, enum: require("../../../../zoho/constants/zoho.constants").SaleProcessStatusType }, fiberhoodId: { required: true, type: () => Number }, customer: { required: false, type: () => require("./patch.entity").PartialNearByFhContactNoCoverageCustomerDto }, addressSearch: { required: false, type: () => require("./patch.entity").PartialNearByFhContactNoCoverageAddressSearchDto } };
656
+ return { status: { required: true, enum: require("../../../../zoho/constants/zoho.constants").SaleProcessStatusType }, fiberhoodId: { required: true, type: () => Number }, customer: { required: false, type: () => require("./patch.entity").PartialNearByFhContactNoCoverageCustomerDto }, addressSearch: { required: true, type: () => require("./patch.entity").PartialNearByFhContactNoCoverageAddressSearchDto } };
661
657
  }
662
658
  }
663
659
  __decorate([
@@ -679,13 +675,12 @@ __decorate([
679
675
  (0, class_validator_1.IsDefined)(),
680
676
  (0, class_validator_1.ValidateNested)(),
681
677
  (0, class_transformer_1.Type)(() => PartialNearByFhContactNoCoverageAddressSearchDto),
682
- (0, class_validator_1.IsOptional)(),
683
678
  __metadata("design:type", PartialNearByFhContactNoCoverageAddressSearchDto)
684
679
  ], PatchSaleProcessFhContactDto.prototype, "addressSearch", void 0);
685
680
  exports.PatchSaleProcessFhContactDto = PatchSaleProcessFhContactDto;
686
681
  class PatchSaleProcessNoCoverageWebDto {
687
682
  static _OPENAPI_METADATA_FACTORY() {
688
- return { status: { required: true, enum: require("../../../../zoho/constants/zoho.constants").SaleProcessStatusType }, customer: { required: false, type: () => require("./patch.entity").PartialNearByFhContactNoCoverageCustomerDto }, addressSearch: { required: false, type: () => require("./patch.entity").PartialNearByFhContactNoCoverageAddressSearchDto } };
683
+ return { status: { required: true, enum: require("../../../../zoho/constants/zoho.constants").SaleProcessStatusType }, customer: { required: false, type: () => require("./patch.entity").PartialNearByFhContactNoCoverageCustomerDto }, addressSearch: { required: true, type: () => require("./patch.entity").PartialNearByFhContactNoCoverageAddressSearchDto } };
689
684
  }
690
685
  }
691
686
  __decorate([
@@ -703,7 +698,6 @@ __decorate([
703
698
  (0, class_validator_1.IsDefined)(),
704
699
  (0, class_validator_1.ValidateNested)(),
705
700
  (0, class_transformer_1.Type)(() => PartialNearByFhContactNoCoverageAddressSearchDto),
706
- (0, class_validator_1.IsOptional)(),
707
701
  __metadata("design:type", PartialNearByFhContactNoCoverageAddressSearchDto)
708
702
  ], PatchSaleProcessNoCoverageWebDto.prototype, "addressSearch", void 0);
709
703
  exports.PatchSaleProcessNoCoverageWebDto = PatchSaleProcessNoCoverageWebDto;