adamo-types 1.2.51 → 1.2.52-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/constants/bss.constants.js +0 -1
- package/dist/bss/customer/customer.entity.d.ts +2 -0
- package/dist/bss/customer/customer.entity.js +1 -1
- package/dist/common/edge-zoho/sale-process/req/patch.entity.d.ts +4 -4
- package/dist/common/edge-zoho/sale-process/req/patch.entity.js +9 -3
- package/dist/sys03/customer/customer.entity.d.ts +2 -0
- package/dist/sys03/customer/customer.entity.js +2 -2
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/admin/bill/csv-charges.entity.d.ts +0 -24
- package/dist/admin/bill/csv-charges.entity.js +0 -10
- package/dist/admin/bill/index.d.ts +0 -1
- package/dist/admin/bill/index.js +0 -17
|
@@ -84,7 +84,6 @@ exports.CacheKeyTypeTtl = {
|
|
|
84
84
|
[CacheKeyType.BSS_INSTALMENT_CHARGE]: 0,
|
|
85
85
|
[CacheKeyType.BSS_ONCE_ONLY_CHARGE]: 0,
|
|
86
86
|
[CacheKeyType.BSS_RECURRING_CHARGE]: 0,
|
|
87
|
-
[CacheKeyType.BSS_CUSTOMER]: 60 * 60,
|
|
88
87
|
[CacheKeyType.BSS_SETTLEMENT]: 60 * 15,
|
|
89
88
|
[CacheKeyType.BSS_TERMINATION_CHARGE]: 0,
|
|
90
89
|
[CacheKeyType.BSS_SHOPPING_CART]: 60 * 60 * 24,
|
|
@@ -7,6 +7,7 @@ import { OrderDto } from '../order';
|
|
|
7
7
|
import { BillDto } from '../billing';
|
|
8
8
|
import { BaseTaskDto } from '../task';
|
|
9
9
|
import { ChargeAndCreditDto } from '../charge';
|
|
10
|
+
import { ArsAddressDto } from '../../common/edge-bss';
|
|
10
11
|
export interface CustomerAccountDocument {
|
|
11
12
|
stream: PassThrough;
|
|
12
13
|
fileName: string;
|
|
@@ -43,6 +44,7 @@ export declare class OrganizationPartyDto {
|
|
|
43
44
|
}
|
|
44
45
|
export declare class CustomerAccountDto {
|
|
45
46
|
state: AccountState;
|
|
47
|
+
address?: ArsAddressDto;
|
|
46
48
|
individual?: IndividualPartyDto;
|
|
47
49
|
organization?: OrganizationPartyDto;
|
|
48
50
|
}
|
|
@@ -29,7 +29,7 @@ class OrganizationPartyDto {
|
|
|
29
29
|
exports.OrganizationPartyDto = OrganizationPartyDto;
|
|
30
30
|
class CustomerAccountDto {
|
|
31
31
|
static _OPENAPI_METADATA_FACTORY() {
|
|
32
|
-
return { state: { required: true, enum: require("../constants/bp.constants").AccountState }, individual: { required: false, type: () => require("./customer.entity").IndividualPartyDto }, organization: { required: false, type: () => require("./customer.entity").OrganizationPartyDto } };
|
|
32
|
+
return { state: { required: true, enum: require("../constants/bp.constants").AccountState }, address: { required: false, type: () => require("../../common/edge-bss/address/req/create.entity").ArsAddressDto }, individual: { required: false, type: () => require("./customer.entity").IndividualPartyDto }, organization: { required: false, type: () => require("./customer.entity").OrganizationPartyDto } };
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
exports.CustomerAccountDto = CustomerAccountDto;
|
|
@@ -109,8 +109,8 @@ export declare class PartialNearByFhContactNoCoverageCustomerDto {
|
|
|
109
109
|
email?: string;
|
|
110
110
|
}
|
|
111
111
|
export declare class PartialNearByFhContactNoCoverageAddressSearchDto {
|
|
112
|
-
nearestCoverageId
|
|
113
|
-
nearestCoverageDistance
|
|
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
|
|
150
|
+
addressSearch?: PartialNearByFhContactNoCoverageAddressSearchDto;
|
|
151
151
|
}
|
|
152
152
|
export declare class PatchSaleProcessNoCoverageWebDto {
|
|
153
153
|
status: SaleProcessStatusType;
|
|
154
154
|
customer?: PartialNearByFhContactNoCoverageCustomerDto;
|
|
155
|
-
addressSearch
|
|
155
|
+
addressSearch?: PartialNearByFhContactNoCoverageAddressSearchDto;
|
|
156
156
|
}
|
|
@@ -505,17 +505,21 @@ __decorate([
|
|
|
505
505
|
exports.PartialNearByFhContactNoCoverageCustomerDto = PartialNearByFhContactNoCoverageCustomerDto;
|
|
506
506
|
class PartialNearByFhContactNoCoverageAddressSearchDto {
|
|
507
507
|
static _OPENAPI_METADATA_FACTORY() {
|
|
508
|
-
return { nearestCoverageId: { required:
|
|
508
|
+
return { nearestCoverageId: { required: false, type: () => String }, nearestCoverageDistance: { required: false, 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)(),
|
|
514
516
|
__metadata("design:type", String)
|
|
515
517
|
], PartialNearByFhContactNoCoverageAddressSearchDto.prototype, "nearestCoverageId", void 0);
|
|
516
518
|
__decorate([
|
|
517
519
|
(0, class_validator_1.IsString)(),
|
|
518
520
|
(0, class_validator_1.IsNotEmpty)(),
|
|
521
|
+
(0, _validators_1.IsNotBlank)(),
|
|
522
|
+
(0, class_validator_1.IsOptional)(),
|
|
519
523
|
__metadata("design:type", String)
|
|
520
524
|
], PartialNearByFhContactNoCoverageAddressSearchDto.prototype, "nearestCoverageDistance", void 0);
|
|
521
525
|
exports.PartialNearByFhContactNoCoverageAddressSearchDto = PartialNearByFhContactNoCoverageAddressSearchDto;
|
|
@@ -653,7 +657,7 @@ __decorate([
|
|
|
653
657
|
exports.PatchSaleProcessNearByDto = PatchSaleProcessNearByDto;
|
|
654
658
|
class PatchSaleProcessFhContactDto {
|
|
655
659
|
static _OPENAPI_METADATA_FACTORY() {
|
|
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:
|
|
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 } };
|
|
657
661
|
}
|
|
658
662
|
}
|
|
659
663
|
__decorate([
|
|
@@ -675,12 +679,13 @@ __decorate([
|
|
|
675
679
|
(0, class_validator_1.IsDefined)(),
|
|
676
680
|
(0, class_validator_1.ValidateNested)(),
|
|
677
681
|
(0, class_transformer_1.Type)(() => PartialNearByFhContactNoCoverageAddressSearchDto),
|
|
682
|
+
(0, class_validator_1.IsOptional)(),
|
|
678
683
|
__metadata("design:type", PartialNearByFhContactNoCoverageAddressSearchDto)
|
|
679
684
|
], PatchSaleProcessFhContactDto.prototype, "addressSearch", void 0);
|
|
680
685
|
exports.PatchSaleProcessFhContactDto = PatchSaleProcessFhContactDto;
|
|
681
686
|
class PatchSaleProcessNoCoverageWebDto {
|
|
682
687
|
static _OPENAPI_METADATA_FACTORY() {
|
|
683
|
-
return { status: { required: true, enum: require("../../../../zoho/constants/zoho.constants").SaleProcessStatusType }, customer: { required: false, type: () => require("./patch.entity").PartialNearByFhContactNoCoverageCustomerDto }, addressSearch: { required:
|
|
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 } };
|
|
684
689
|
}
|
|
685
690
|
}
|
|
686
691
|
__decorate([
|
|
@@ -698,6 +703,7 @@ __decorate([
|
|
|
698
703
|
(0, class_validator_1.IsDefined)(),
|
|
699
704
|
(0, class_validator_1.ValidateNested)(),
|
|
700
705
|
(0, class_transformer_1.Type)(() => PartialNearByFhContactNoCoverageAddressSearchDto),
|
|
706
|
+
(0, class_validator_1.IsOptional)(),
|
|
701
707
|
__metadata("design:type", PartialNearByFhContactNoCoverageAddressSearchDto)
|
|
702
708
|
], PatchSaleProcessNoCoverageWebDto.prototype, "addressSearch", void 0);
|
|
703
709
|
exports.PatchSaleProcessNoCoverageWebDto = PatchSaleProcessNoCoverageWebDto;
|
|
@@ -50,6 +50,7 @@ export declare class DashboardCustomerDto {
|
|
|
50
50
|
mobileNumber?: string;
|
|
51
51
|
voipNumber?: string;
|
|
52
52
|
email?: string;
|
|
53
|
+
address?: string;
|
|
53
54
|
}
|
|
54
55
|
export declare class DashboardCustomerCsvDto {
|
|
55
56
|
customerId: string;
|
|
@@ -63,6 +64,7 @@ export declare class DashboardCustomerCsvDto {
|
|
|
63
64
|
contactMobileNumber?: string;
|
|
64
65
|
contactVoipNumber?: string;
|
|
65
66
|
contactEmail?: string;
|
|
67
|
+
contactAddress?: string;
|
|
66
68
|
}
|
|
67
69
|
export declare class DashboardCustomersDto {
|
|
68
70
|
records: DashboardCustomerDto[];
|
|
@@ -139,13 +139,13 @@ class CustomerBillsFiltersDto extends CustomerNotesFiltersDto {
|
|
|
139
139
|
exports.CustomerBillsFiltersDto = CustomerBillsFiltersDto;
|
|
140
140
|
class DashboardCustomerDto {
|
|
141
141
|
static _OPENAPI_METADATA_FACTORY() {
|
|
142
|
-
return { customerId: { required: true, type: () => String }, customerType: { required: false, enum: require("../shopping-cart/shopping-cart.constants").CustomerType }, state: { required: true, enum: require("../../bss/constants/bp.constants").AccountState }, firstName: { required: false, type: () => String }, lastName: { required: false, type: () => String }, identification: { required: false, type: () => require("../../common/edge-bss/customer/req/create.entity").ArsCustomerAccountIdentificationDto }, mobileNumber: { required: false, type: () => String }, voipNumber: { required: false, type: () => String }, email: { required: false, type: () => String } };
|
|
142
|
+
return { customerId: { required: true, type: () => String }, customerType: { required: false, enum: require("../shopping-cart/shopping-cart.constants").CustomerType }, state: { required: true, enum: require("../../bss/constants/bp.constants").AccountState }, firstName: { required: false, type: () => String }, lastName: { required: false, type: () => String }, identification: { required: false, type: () => require("../../common/edge-bss/customer/req/create.entity").ArsCustomerAccountIdentificationDto }, mobileNumber: { required: false, type: () => String }, voipNumber: { required: false, type: () => String }, email: { required: false, type: () => String }, address: { required: false, type: () => String } };
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
exports.DashboardCustomerDto = DashboardCustomerDto;
|
|
146
146
|
class DashboardCustomerCsvDto {
|
|
147
147
|
static _OPENAPI_METADATA_FACTORY() {
|
|
148
|
-
return { customerId: { required: true, type: () => String }, customerType: { required: false, enum: require("../shopping-cart/shopping-cart.constants").CustomerType }, state: { required: true, enum: require("../../bss/constants/bp.constants").AccountState }, firstName: { required: false, type: () => String }, lastName: { required: false, type: () => String }, identificationType: { required: false, type: () => String }, identificationNumber: { required: false, type: () => String }, identificationCountry: { required: false, type: () => String }, contactMobileNumber: { required: false, type: () => String }, contactVoipNumber: { required: false, type: () => String }, contactEmail: { required: false, type: () => String } };
|
|
148
|
+
return { customerId: { required: true, type: () => String }, customerType: { required: false, enum: require("../shopping-cart/shopping-cart.constants").CustomerType }, state: { required: true, enum: require("../../bss/constants/bp.constants").AccountState }, firstName: { required: false, type: () => String }, lastName: { required: false, type: () => String }, identificationType: { required: false, type: () => String }, identificationNumber: { required: false, type: () => String }, identificationCountry: { required: false, type: () => String }, contactMobileNumber: { required: false, type: () => String }, contactVoipNumber: { required: false, type: () => String }, contactEmail: { required: false, type: () => String }, contactAddress: { required: false, type: () => String } };
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
151
|
exports.DashboardCustomerCsvDto = DashboardCustomerCsvDto;
|