adamo-types 1.2.110-sit → 1.2.112-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/shopping-cart/shopping-cart-parameters.entity.d.ts +2 -0
- package/dist/bss/bearingpoint/shopping-cart/shopping-cart-parameters.entity.js +1 -1
- package/dist/common/common.entity.js +2 -1
- package/dist/common/constants/common.constants.d.ts +2 -1
- package/dist/common/constants/common.constants.js +1 -0
- package/dist/common/edge-zoho/sale-process/req/other.entity.d.ts +2 -3
- package/dist/common/edge-zoho/sale-process/req/other.entity.js +3 -16
- package/dist/database/index.d.ts +1 -1
- package/dist/database/index.js +1 -1
- package/dist/sys03/approval/approval.entity.d.ts +2 -3
- package/dist/sys03/approval/approval.entity.js +3 -16
- package/dist/sys03/customer/customer.entity.d.ts +4 -9
- package/dist/sys03/customer/customer.entity.js +7 -49
- package/dist/sys03/updowngrade/internal.d.ts +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/zoho/sale-process/sale-process.entity.d.ts +1 -0
- package/dist/zoho/sale-process/sale-process.entity.js +7 -1
- package/dist/zoho/sale-process/zoho-lead.entity.d.ts +5 -0
- package/dist/zoho/sale-process/zoho-lead.entity.js +32 -0
- package/package.json +1 -1
- package/dist/database/sales.entity.d.ts +0 -3
- package/dist/database/sales.entity.js +0 -21
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CustomerProductInstanceAction } from '../../../sys03/customer';
|
|
2
|
+
export declare type ShoppingCartParametersShoppingCartProcess = 'sale' | 'new-extras' | 'modification' | 'termination' | 'transition' | 'transition-only-mobiles' | 'transition-shared-mobiles';
|
|
2
3
|
export declare type ShoppingCartParametersTransitionShoppingCartType = 'original-to-unbundle' | 'original-to-create' | 'original-to-delete' | 'clone' | 'configured';
|
|
3
4
|
export declare class ShoppingCartEntityParametersDto {
|
|
4
5
|
originalId?: string;
|
|
@@ -38,6 +39,7 @@ export declare class ShoppingCartParametersDto {
|
|
|
38
39
|
streetNumber?: string;
|
|
39
40
|
streetType?: string;
|
|
40
41
|
technology?: string;
|
|
42
|
+
shoppingCartProcess?: ShoppingCartParametersShoppingCartProcess;
|
|
41
43
|
transitionShoppingCartType?: ShoppingCartParametersTransitionShoppingCartType;
|
|
42
44
|
originalId?: string;
|
|
43
45
|
originalAction?: string;
|
|
@@ -10,7 +10,7 @@ class ShoppingCartEntityParametersDto {
|
|
|
10
10
|
exports.ShoppingCartEntityParametersDto = ShoppingCartEntityParametersDto;
|
|
11
11
|
class ShoppingCartParametersDto {
|
|
12
12
|
static _OPENAPI_METADATA_FACTORY() {
|
|
13
|
-
return { addressInfo: { required: false, type: () => String }, apartmentId: { required: false, type: () => String }, block: { required: false, type: () => String }, cartCreatedBy: { required: false, type: () => String }, city: { required: false, type: () => String }, competition: { required: false, type: () => String }, country: { required: false, type: () => String }, customerType: { required: false, type: () => String }, door: { required: false, type: () => String }, entrance: { required: false, type: () => String }, fiberhood: { required: false, type: () => String }, floor: { required: false, type: () => String }, lat: { required: false, type: () => String }, lng: { required: false, type: () => String }, migrationCartCreatedBy: { required: false, type: () => String }, municipality: { required: false, type: () => String }, network: { required: false, type: () => String }, postcode: { required: false, type: () => String }, projectCode: { required: false, type: () => String }, projectId: { required: false, type: () => String }, province: { required: false, type: () => String }, salesAreaId: { required: false, type: () => String }, salesAreaName: { required: false, type: () => String }, salesPerson: { required: false, type: () => String }, serviceable: { required: false, type: () => String }, serviceableAge: { required: false, type: () => String }, serviceableStatus: { required: false, type: () => String }, streetAddressId: { required: false, type: () => String }, streetName: { required: false, type: () => String }, streetNumber: { required: false, type: () => String }, streetType: { required: false, type: () => String }, technology: { required: false, type: () => String }, transitionShoppingCartType: { required: false, type: () => Object }, originalId: { required: false, type: () => String }, originalAction: { required: false, type: () => String }, originalSourceProduct: { required: false, type: () => String }, originalProductOffering: { required: false, type: () => String }, originalReason: { required: false, type: () => String }, originalProductCharacteristics: { required: false, type: () => String }, originalServices: { required: false, type: () => String }, referenceProductId: { required: false, type: () => String }, referenceProductName: { required: false, type: () => String }, referenceProductServiceCharacteristicName: { required: false, type: () => String }, referenceProductServiceCharacteristicValue: { required: false, type: () => String }, referenceInstanceAction: { required: false, enum: require("../../../sys03/customer/customer.constants").CustomerProductInstanceAction } };
|
|
13
|
+
return { addressInfo: { required: false, type: () => String }, apartmentId: { required: false, type: () => String }, block: { required: false, type: () => String }, cartCreatedBy: { required: false, type: () => String }, city: { required: false, type: () => String }, competition: { required: false, type: () => String }, country: { required: false, type: () => String }, customerType: { required: false, type: () => String }, door: { required: false, type: () => String }, entrance: { required: false, type: () => String }, fiberhood: { required: false, type: () => String }, floor: { required: false, type: () => String }, lat: { required: false, type: () => String }, lng: { required: false, type: () => String }, migrationCartCreatedBy: { required: false, type: () => String }, municipality: { required: false, type: () => String }, network: { required: false, type: () => String }, postcode: { required: false, type: () => String }, projectCode: { required: false, type: () => String }, projectId: { required: false, type: () => String }, province: { required: false, type: () => String }, salesAreaId: { required: false, type: () => String }, salesAreaName: { required: false, type: () => String }, salesPerson: { required: false, type: () => String }, serviceable: { required: false, type: () => String }, serviceableAge: { required: false, type: () => String }, serviceableStatus: { required: false, type: () => String }, streetAddressId: { required: false, type: () => String }, streetName: { required: false, type: () => String }, streetNumber: { required: false, type: () => String }, streetType: { required: false, type: () => String }, technology: { required: false, type: () => String }, shoppingCartProcess: { required: false, type: () => Object }, transitionShoppingCartType: { required: false, type: () => Object }, originalId: { required: false, type: () => String }, originalAction: { required: false, type: () => String }, originalSourceProduct: { required: false, type: () => String }, originalProductOffering: { required: false, type: () => String }, originalReason: { required: false, type: () => String }, originalProductCharacteristics: { required: false, type: () => String }, originalServices: { required: false, type: () => String }, referenceProductId: { required: false, type: () => String }, referenceProductName: { required: false, type: () => String }, referenceProductServiceCharacteristicName: { required: false, type: () => String }, referenceProductServiceCharacteristicValue: { required: false, type: () => String }, referenceInstanceAction: { required: false, enum: require("../../../sys03/customer/customer.constants").CustomerProductInstanceAction } };
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
exports.ShoppingCartParametersDto = ShoppingCartParametersDto;
|
|
@@ -15,7 +15,7 @@ const class_transformer_1 = require("class-transformer");
|
|
|
15
15
|
const class_validator_1 = require("class-validator");
|
|
16
16
|
class PaginationQueryDto {
|
|
17
17
|
static _OPENAPI_METADATA_FACTORY() {
|
|
18
|
-
return { page: { required: false, type: () => Number, minimum: 1 }, limit: { required: false, type: () => Number, minimum: 1 } };
|
|
18
|
+
return { page: { required: false, type: () => Number, minimum: 1 }, limit: { required: false, type: () => Number, minimum: 1, maximum: 250 } };
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
__decorate([
|
|
@@ -28,6 +28,7 @@ __decorate([
|
|
|
28
28
|
__decorate([
|
|
29
29
|
(0, class_validator_1.IsInt)(),
|
|
30
30
|
(0, class_validator_1.Min)(1),
|
|
31
|
+
(0, class_validator_1.Max)(250),
|
|
31
32
|
(0, class_validator_1.IsOptional)(),
|
|
32
33
|
(0, class_transformer_1.Transform)(({ value }) => Number(value)),
|
|
33
34
|
__metadata("design:type", Number)
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
+
import { PaginationQueryDto } from '../../../common.entity';
|
|
1
2
|
import { CustomerType } from '../../../../sys03/shopping-cart';
|
|
2
|
-
export declare class DashboardQueryDto {
|
|
3
|
+
export declare class DashboardQueryDto extends PaginationQueryDto {
|
|
3
4
|
id?: number;
|
|
4
|
-
page?: number;
|
|
5
|
-
limit?: number;
|
|
6
5
|
phone?: string;
|
|
7
6
|
smsPhone?: string;
|
|
8
7
|
dateFrom?: string;
|
|
@@ -11,13 +11,14 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.DashboardQueryDto = void 0;
|
|
13
13
|
const openapi = require("@nestjs/swagger");
|
|
14
|
+
const common_entity_1 = require("../../../common.entity");
|
|
14
15
|
const shopping_cart_1 = require("../../../../sys03/shopping-cart");
|
|
15
16
|
const _validators_1 = require("../../../../validators/index");
|
|
16
17
|
const class_transformer_1 = require("class-transformer");
|
|
17
18
|
const class_validator_1 = require("class-validator");
|
|
18
|
-
class DashboardQueryDto {
|
|
19
|
+
class DashboardQueryDto extends common_entity_1.PaginationQueryDto {
|
|
19
20
|
static _OPENAPI_METADATA_FACTORY() {
|
|
20
|
-
return { id: { required: false, type: () => Number, minimum: 1 },
|
|
21
|
+
return { id: { required: false, type: () => Number, minimum: 1 }, phone: { required: false, type: () => String }, smsPhone: { required: false, type: () => String }, dateFrom: { required: false, type: () => String }, dateTo: { required: false, type: () => String }, owner: { required: false, type: () => String }, lastChangeMadeBy: { required: false, type: () => String }, status: { required: false, type: () => String }, channel: { required: false, type: () => String }, lastChannel: { required: false, type: () => String }, customerType: { required: false, enum: require("../../../../sys03/shopping-cart/shopping-cart.constants").CustomerType }, customerId: { required: false, type: () => String } };
|
|
21
22
|
}
|
|
22
23
|
}
|
|
23
24
|
__decorate([
|
|
@@ -27,20 +28,6 @@ __decorate([
|
|
|
27
28
|
(0, class_transformer_1.Transform)(({ value }) => Number(value)),
|
|
28
29
|
__metadata("design:type", Number)
|
|
29
30
|
], DashboardQueryDto.prototype, "id", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, class_validator_1.IsInt)(),
|
|
32
|
-
(0, class_validator_1.Min)(1),
|
|
33
|
-
(0, class_validator_1.IsOptional)(),
|
|
34
|
-
(0, class_transformer_1.Transform)(({ value }) => Number(value)),
|
|
35
|
-
__metadata("design:type", Number)
|
|
36
|
-
], DashboardQueryDto.prototype, "page", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, class_validator_1.IsInt)(),
|
|
39
|
-
(0, class_validator_1.Min)(1),
|
|
40
|
-
(0, class_validator_1.IsOptional)(),
|
|
41
|
-
(0, class_transformer_1.Transform)(({ value }) => Number(value)),
|
|
42
|
-
__metadata("design:type", Number)
|
|
43
|
-
], DashboardQueryDto.prototype, "limit", void 0);
|
|
44
31
|
__decorate([
|
|
45
32
|
(0, class_validator_1.IsString)(),
|
|
46
33
|
(0, class_validator_1.IsNotEmpty)(),
|
package/dist/database/index.d.ts
CHANGED
|
@@ -19,6 +19,6 @@ export * from './leads-file.entity';
|
|
|
19
19
|
export * from './product-characteristic-equivalence.entity';
|
|
20
20
|
export * from './product-transition-configuration.entity';
|
|
21
21
|
export * from './provision-db.entity';
|
|
22
|
-
export * from './
|
|
22
|
+
export * from './leads-data-extensions.entity';
|
|
23
23
|
export * from './template.entity';
|
|
24
24
|
export * from './user.entity';
|
package/dist/database/index.js
CHANGED
|
@@ -35,6 +35,6 @@ __exportStar(require("./leads-file.entity"), exports);
|
|
|
35
35
|
__exportStar(require("./product-characteristic-equivalence.entity"), exports);
|
|
36
36
|
__exportStar(require("./product-transition-configuration.entity"), exports);
|
|
37
37
|
__exportStar(require("./provision-db.entity"), exports);
|
|
38
|
-
__exportStar(require("./
|
|
38
|
+
__exportStar(require("./leads-data-extensions.entity"), exports);
|
|
39
39
|
__exportStar(require("./template.entity"), exports);
|
|
40
40
|
__exportStar(require("./user.entity"), exports);
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { CustomerType } from '../shopping-cart';
|
|
2
2
|
import { ApprovalDataDto, ApprovalDto } from '../../database/approval.entity';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
limit?: number;
|
|
3
|
+
import { PaginationQueryDto } from '../../common/common.entity';
|
|
4
|
+
export declare class DashboardApprovalFilterDto extends PaginationQueryDto {
|
|
6
5
|
dateFrom?: string;
|
|
7
6
|
dateTo?: string;
|
|
8
7
|
leadId?: number;
|
|
@@ -17,25 +17,12 @@ const _validators_1 = require("../../validators/index");
|
|
|
17
17
|
const class_transformer_1 = require("class-transformer");
|
|
18
18
|
const class_validator_1 = require("class-validator");
|
|
19
19
|
const approval_entity_1 = require("../../database/approval.entity");
|
|
20
|
-
|
|
20
|
+
const common_entity_1 = require("../../common/common.entity");
|
|
21
|
+
class DashboardApprovalFilterDto extends common_entity_1.PaginationQueryDto {
|
|
21
22
|
static _OPENAPI_METADATA_FACTORY() {
|
|
22
|
-
return {
|
|
23
|
+
return { dateFrom: { required: false, type: () => String }, dateTo: { required: false, type: () => String }, leadId: { required: false, type: () => Number, minimum: 1 }, phone: { required: false, type: () => String }, shoppingCartPhone: { required: false, type: () => String }, owner: { required: false, type: () => String }, channel: { required: false, type: () => String }, customerType: { required: false, enum: require("../shopping-cart/shopping-cart.constants").CustomerType }, id: { required: false, type: () => Number, minimum: 1 }, approvedBy: { required: false, type: () => String }, approved: { required: false, type: () => Object }, validation: { required: false, type: () => String } };
|
|
23
24
|
}
|
|
24
25
|
}
|
|
25
|
-
__decorate([
|
|
26
|
-
(0, class_validator_1.IsInt)(),
|
|
27
|
-
(0, class_validator_1.Min)(1),
|
|
28
|
-
(0, class_validator_1.IsOptional)(),
|
|
29
|
-
(0, class_transformer_1.Transform)(({ value }) => Number(value)),
|
|
30
|
-
__metadata("design:type", Number)
|
|
31
|
-
], DashboardApprovalFilterDto.prototype, "page", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
(0, class_validator_1.IsInt)(),
|
|
34
|
-
(0, class_validator_1.Min)(1),
|
|
35
|
-
(0, class_validator_1.IsOptional)(),
|
|
36
|
-
(0, class_transformer_1.Transform)(({ value }) => Number(value)),
|
|
37
|
-
__metadata("design:type", Number)
|
|
38
|
-
], DashboardApprovalFilterDto.prototype, "limit", void 0);
|
|
39
26
|
__decorate([
|
|
40
27
|
(0, class_validator_1.IsDateString)(),
|
|
41
28
|
(0, class_validator_1.IsNotEmpty)(),
|
|
@@ -3,6 +3,7 @@ import { AccountState, BusinessSegmentType, CustomerAccountOrganizationEntityTyp
|
|
|
3
3
|
import { CustomerAccountNoteDto, CustomerOrdersDto as BssCustomerOrdersDto, CustomerTasksDto as BssCustomerTasksDto, CustomerChargesAndCreditsDto as BssCustomerChargesAndCreditsDto } from '../../bss/customer';
|
|
4
4
|
import { OrderHierarchyItemDto } from '../../bss/order';
|
|
5
5
|
import { TaskDto } from '../../bss/task';
|
|
6
|
+
import { PaginationQueryDto } from '../../common/common.entity';
|
|
6
7
|
import { ArsCustomerAccountIdentificationDto, ArsFinancialAccountBalancesDto, ArsIndividualCustomerDto, ArsOrganizationCustomerDto } from '../../common/edge-bss';
|
|
7
8
|
import { CustomerType } from '../shopping-cart';
|
|
8
9
|
export declare class CustomerDto {
|
|
@@ -19,9 +20,7 @@ export declare class CustomerDto {
|
|
|
19
20
|
balances: ArsFinancialAccountBalancesDto;
|
|
20
21
|
debt: boolean;
|
|
21
22
|
}
|
|
22
|
-
export declare class DashboardCustomersFiltersDto {
|
|
23
|
-
page?: number;
|
|
24
|
-
limit?: number;
|
|
23
|
+
export declare class DashboardCustomersFiltersDto extends PaginationQueryDto {
|
|
25
24
|
firstName?: string;
|
|
26
25
|
lastName?: string;
|
|
27
26
|
identificationNumber?: string;
|
|
@@ -30,9 +29,7 @@ export declare class DashboardCustomersFiltersDto {
|
|
|
30
29
|
customerId?: string;
|
|
31
30
|
email?: string;
|
|
32
31
|
}
|
|
33
|
-
export declare class CustomerNotesFiltersDto {
|
|
34
|
-
page?: number;
|
|
35
|
-
limit?: number;
|
|
32
|
+
export declare class CustomerNotesFiltersDto extends PaginationQueryDto {
|
|
36
33
|
}
|
|
37
34
|
export declare class CustomerTasksFiltersDto extends CustomerNotesFiltersDto {
|
|
38
35
|
}
|
|
@@ -96,9 +93,7 @@ export declare class CustomerFinanceDto {
|
|
|
96
93
|
balance: number;
|
|
97
94
|
invoices: BillDto[];
|
|
98
95
|
}
|
|
99
|
-
export declare class CustomerDashboardFiltersDto {
|
|
100
|
-
page?: number;
|
|
101
|
-
limit?: number;
|
|
96
|
+
export declare class CustomerDashboardFiltersDto extends PaginationQueryDto {
|
|
102
97
|
customerId?: string;
|
|
103
98
|
id?: string;
|
|
104
99
|
dateFrom?: string;
|
|
@@ -13,9 +13,9 @@ exports.CustomerDashboardFiltersDto = exports.CustomerFinanceDto = exports.Custo
|
|
|
13
13
|
const openapi = require("@nestjs/swagger");
|
|
14
14
|
const customer_1 = require("../../bss/customer");
|
|
15
15
|
const task_1 = require("../../bss/task");
|
|
16
|
+
const common_entity_1 = require("../../common/common.entity");
|
|
16
17
|
const swagger_1 = require("@nestjs/swagger");
|
|
17
18
|
const _validators_1 = require("../../validators/index");
|
|
18
|
-
const class_transformer_1 = require("class-transformer");
|
|
19
19
|
const class_validator_1 = require("class-validator");
|
|
20
20
|
const SEARCH_FIELD_REGEX = /^([a-zA-Z0-9\u00C0-\u024F ]{3,}\*?|\*?[a-zA-Z0-9\u00C0-\u024F ]{3,}|[a-zA-Z0-9\u00C0-\u024F ]{1,}\*[a-zA-Z0-9\u00C0-\u024F ]{2,}|[a-zA-Z0-9\u00C0-\u024F ]{2,}\*[a-zA-Z0-9\u00C0-\u024F ]{1,})$/;
|
|
21
21
|
class CustomerDto {
|
|
@@ -24,25 +24,11 @@ class CustomerDto {
|
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
exports.CustomerDto = CustomerDto;
|
|
27
|
-
class DashboardCustomersFiltersDto {
|
|
27
|
+
class DashboardCustomersFiltersDto extends common_entity_1.PaginationQueryDto {
|
|
28
28
|
static _OPENAPI_METADATA_FACTORY() {
|
|
29
|
-
return {
|
|
29
|
+
return { firstName: { required: false, type: () => String, pattern: SEARCH_FIELD_REGEX }, lastName: { required: false, type: () => String, pattern: SEARCH_FIELD_REGEX }, identificationNumber: { required: false, type: () => String, pattern: SEARCH_FIELD_REGEX }, mobileNumber: { required: false, type: () => String, minLength: 9 }, voipNumber: { required: false, type: () => String, minLength: 9 }, customerId: { required: false, type: () => String }, email: { required: false, type: () => String } };
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
-
__decorate([
|
|
33
|
-
(0, class_validator_1.IsInt)(),
|
|
34
|
-
(0, class_validator_1.Min)(1),
|
|
35
|
-
(0, class_validator_1.IsOptional)(),
|
|
36
|
-
(0, class_transformer_1.Transform)(({ value }) => Number(value)),
|
|
37
|
-
__metadata("design:type", Number)
|
|
38
|
-
], DashboardCustomersFiltersDto.prototype, "page", void 0);
|
|
39
|
-
__decorate([
|
|
40
|
-
(0, class_validator_1.IsInt)(),
|
|
41
|
-
(0, class_validator_1.Min)(1),
|
|
42
|
-
(0, class_validator_1.IsOptional)(),
|
|
43
|
-
(0, class_transformer_1.Transform)(({ value }) => Number(value)),
|
|
44
|
-
__metadata("design:type", Number)
|
|
45
|
-
], DashboardCustomersFiltersDto.prototype, "limit", void 0);
|
|
46
32
|
__decorate([
|
|
47
33
|
(0, class_validator_1.IsString)(),
|
|
48
34
|
(0, class_validator_1.IsNotEmpty)(),
|
|
@@ -99,25 +85,11 @@ __decorate([
|
|
|
99
85
|
__metadata("design:type", String)
|
|
100
86
|
], DashboardCustomersFiltersDto.prototype, "email", void 0);
|
|
101
87
|
exports.DashboardCustomersFiltersDto = DashboardCustomersFiltersDto;
|
|
102
|
-
class CustomerNotesFiltersDto {
|
|
88
|
+
class CustomerNotesFiltersDto extends common_entity_1.PaginationQueryDto {
|
|
103
89
|
static _OPENAPI_METADATA_FACTORY() {
|
|
104
|
-
return {
|
|
90
|
+
return {};
|
|
105
91
|
}
|
|
106
92
|
}
|
|
107
|
-
__decorate([
|
|
108
|
-
(0, class_validator_1.IsInt)(),
|
|
109
|
-
(0, class_validator_1.Min)(1),
|
|
110
|
-
(0, class_validator_1.IsOptional)(),
|
|
111
|
-
(0, class_transformer_1.Transform)(({ value }) => Number(value)),
|
|
112
|
-
__metadata("design:type", Number)
|
|
113
|
-
], CustomerNotesFiltersDto.prototype, "page", void 0);
|
|
114
|
-
__decorate([
|
|
115
|
-
(0, class_validator_1.IsInt)(),
|
|
116
|
-
(0, class_validator_1.Min)(1),
|
|
117
|
-
(0, class_validator_1.IsOptional)(),
|
|
118
|
-
(0, class_transformer_1.Transform)(({ value }) => Number(value)),
|
|
119
|
-
__metadata("design:type", Number)
|
|
120
|
-
], CustomerNotesFiltersDto.prototype, "limit", void 0);
|
|
121
93
|
exports.CustomerNotesFiltersDto = CustomerNotesFiltersDto;
|
|
122
94
|
class CustomerTasksFiltersDto extends CustomerNotesFiltersDto {
|
|
123
95
|
static _OPENAPI_METADATA_FACTORY() {
|
|
@@ -203,25 +175,11 @@ class CustomerFinanceDto {
|
|
|
203
175
|
}
|
|
204
176
|
}
|
|
205
177
|
exports.CustomerFinanceDto = CustomerFinanceDto;
|
|
206
|
-
class CustomerDashboardFiltersDto {
|
|
178
|
+
class CustomerDashboardFiltersDto extends common_entity_1.PaginationQueryDto {
|
|
207
179
|
static _OPENAPI_METADATA_FACTORY() {
|
|
208
|
-
return {
|
|
180
|
+
return { customerId: { required: false, type: () => String }, id: { required: false, type: () => String }, dateFrom: { required: false, type: () => String }, dateTo: { required: false, type: () => String }, createdBy: { required: false, type: () => String }, updatedBy: { required: false, type: () => String }, status: { required: false, type: () => String }, channel: { required: false, type: () => String }, productDisplayName: { required: false, type: () => String } };
|
|
209
181
|
}
|
|
210
182
|
}
|
|
211
|
-
__decorate([
|
|
212
|
-
(0, class_validator_1.IsInt)(),
|
|
213
|
-
(0, class_validator_1.Min)(1),
|
|
214
|
-
(0, class_validator_1.IsOptional)(),
|
|
215
|
-
(0, class_transformer_1.Transform)(({ value }) => Number(value)),
|
|
216
|
-
__metadata("design:type", Number)
|
|
217
|
-
], CustomerDashboardFiltersDto.prototype, "page", void 0);
|
|
218
|
-
__decorate([
|
|
219
|
-
(0, class_validator_1.IsInt)(),
|
|
220
|
-
(0, class_validator_1.Min)(1),
|
|
221
|
-
(0, class_validator_1.IsOptional)(),
|
|
222
|
-
(0, class_transformer_1.Transform)(({ value }) => Number(value)),
|
|
223
|
-
__metadata("design:type", Number)
|
|
224
|
-
], CustomerDashboardFiltersDto.prototype, "limit", void 0);
|
|
225
183
|
__decorate([
|
|
226
184
|
(0, class_validator_1.IsNumberString)({ no_symbols: true }),
|
|
227
185
|
(0, class_validator_1.IsNotEmpty)(),
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceSpecificationCharacteristicValueDto } from '../../bss/bearingpoint';
|
|
2
2
|
export interface ServiceSpecificationCharacteristic {
|
|
3
3
|
name: string;
|
|
4
|
+
defaultValue?: string;
|
|
4
5
|
serviceSpecificationCharacteristicValues: ServiceSpecificationCharacteristicValueDto[];
|
|
5
6
|
}
|
|
6
7
|
export interface ServiceSpecification {
|