adamo-types 2.0.100-sit → 2.0.101-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/ams/ams.entity.d.ts +0 -7
- package/dist/bss/bearingpoint/shopping-cart/shopping-cart-parameters.entity.d.ts +0 -1
- package/dist/bss/bearingpoint/shopping-cart/shopping-cart-parameters.entity.js +1 -2
- package/dist/common/constants/customer.error.constants.d.ts +1 -0
- package/dist/common/constants/customer.error.constants.js +3 -2
- package/dist/database/ars/index.d.ts +0 -1
- package/dist/database/ars/index.js +0 -1
- package/dist/database/lead/index.d.ts +1 -0
- package/dist/database/lead/index.js +1 -0
- package/dist/sys03/address/address.entity.d.ts +1 -6
- package/dist/sys03/address/address.entity.js +2 -2
- package/dist/sys03/apartment-whitelist/apartment-whitelist.entity.d.ts +1 -1
- package/dist/sys03/configuration/configuration.entity.d.ts +10 -1
- package/dist/sys03/configuration/configuration.entity.js +51 -2
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- /package/dist/database/{ars → lead}/apartment-whitelist.entity.d.ts +0 -0
- /package/dist/database/{ars → lead}/apartment-whitelist.entity.js +0 -0
package/dist/ams/ams.entity.d.ts
CHANGED
|
@@ -9,7 +9,6 @@ export interface AmsApartment {
|
|
|
9
9
|
notes: string;
|
|
10
10
|
competition: string;
|
|
11
11
|
serviceable_status: string;
|
|
12
|
-
serviceable: string;
|
|
13
12
|
technology: string;
|
|
14
13
|
lng: string;
|
|
15
14
|
lat: string;
|
|
@@ -42,17 +41,11 @@ export interface AmsAddress {
|
|
|
42
41
|
priority_sales_area: string;
|
|
43
42
|
note: string;
|
|
44
43
|
zone: string;
|
|
45
|
-
servicable: string;
|
|
46
44
|
serviceable_date: string;
|
|
47
45
|
serviceable_age: number;
|
|
48
46
|
lng: string;
|
|
49
47
|
lat: string;
|
|
50
48
|
gescal24: string;
|
|
51
|
-
external_ok: boolean;
|
|
52
|
-
external_msg: string;
|
|
53
|
-
external_email: string;
|
|
54
|
-
can_order: boolean;
|
|
55
|
-
planned_deploy_date?: string;
|
|
56
49
|
apartments: AmsAddressApartment[];
|
|
57
50
|
}
|
|
58
51
|
export interface AmsAddressApartment {
|
|
@@ -34,7 +34,7 @@ class ShoppingCartEntityParametersDto {
|
|
|
34
34
|
exports.ShoppingCartEntityParametersDto = ShoppingCartEntityParametersDto;
|
|
35
35
|
class ShoppingCartParametersDto {
|
|
36
36
|
static _OPENAPI_METADATA_FACTORY() {
|
|
37
|
-
return { cartCreatedBy: { required: false, type: () => String }, referenceCartCreatedBy: { required: false, type: () => String }, salesPerson: { required: false, type: () => String }, addressInfo: { required: false, type: () => String }, apartmentId: { required: false, type: () => String }, block: { 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 }, 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 },
|
|
37
|
+
return { cartCreatedBy: { required: false, type: () => String }, referenceCartCreatedBy: { required: false, type: () => String }, salesPerson: { required: false, type: () => String }, addressInfo: { required: false, type: () => String }, apartmentId: { required: false, type: () => String }, block: { 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 }, 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 }, 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, enum: require("./shopping-cart-parameters.entity").ShoppingCartParametersShoppingCartProcess }, shoppingCartReplicaType: { required: false, enum: require("./shopping-cart-parameters.entity").ShoppingCartParametersShoppingCartReplicaType }, 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 }, originalProducts: { 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 }, referenceProductMobileServiceProfile: { required: false, type: () => String } };
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
exports.ShoppingCartParametersDto = ShoppingCartParametersDto;
|
|
@@ -61,7 +61,6 @@ class ShoppingCartParametersDtoBuilder extends helpers_1.Builder {
|
|
|
61
61
|
projectId: '22189',
|
|
62
62
|
province: 'BARCELONA',
|
|
63
63
|
salesAreaId: '28',
|
|
64
|
-
serviceable: '2022-07-14',
|
|
65
64
|
salesAreaName: 'Area A00',
|
|
66
65
|
serviceableAge: '735',
|
|
67
66
|
serviceableStatus: 'SERVICIABLE',
|
|
@@ -33,6 +33,7 @@ export declare const E_CUSTOMER_UNKNOWN_OWNER_RELATED_PARTY = "E_CUSTOMER_UNKNOW
|
|
|
33
33
|
export declare const E_CUSTOMER_WITHOUT_OWNER_RELATED_PARTY = "E_CUSTOMER_WITHOUT_OWNER_RELATED_PARTY";
|
|
34
34
|
export declare const E_CUSTOMER_WITHOUT_RELATED_PARTY = "E_CUSTOMER_WITHOUT_RELATED_PARTY";
|
|
35
35
|
export declare const E_CUSTOMER_WITHOUT_VALID_APARTMENT = "E_CUSTOMER_WITHOUT_VALID_APARTMENT";
|
|
36
|
+
export declare const E_CUSTOMER_WITHOUT_IDENTIFICATION = "E_CUSTOMER_WITHOUT_IDENTIFICATION";
|
|
36
37
|
export declare const E_FETCH_CUSTOMER_ACCOUNT = "E_FETCH_CUSTOMER_ACCOUNT";
|
|
37
38
|
export declare const E_FETCH_CUSTOMER_ACCOUNT_FINANCE_BALANCES = "E_FETCH_CUSTOMER_ACCOUNT_FINANCE_BALANCES";
|
|
38
39
|
export declare const E_FETCH_CUSTOMER_NOTES = "E_FETCH_CUSTOMER_NOTES";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.E_CUSTOMER_HAS_DEBT = exports.E_CUSTOMER_HAS_DRAFT_ORDER = exports.E_CUSTOMERS_TO_CHECK_LIMIT_REACHED = exports.E_REVIEW_CREATED_CUSTOMER_AGRRUPATION_DIRECT_SEND_TO_BSS_WITHOUT_SIGNATURE = exports.E_REVIEW_CUSTOMER_AGRRUPATION_DIRECT_SEND_TO_BSS_MULTIPLE_FIBER_BUNDLES = exports.E_REVIEW_CUSTOMER_AGRRUPATION_DIRECT_SEND_TO_BSS_DEACTIVATE = exports.E_REVIEW_MULTIPLE_FIBER_BUNDLES_CUSTOMER_AGRRUPATION_CREATED_DIRECT_SEND_TO_BSS = exports.E_REVIEW_DEACTIVATE_CUSTOMER_AGRRUPATION_CREATED_DIRECT_SEND_TO_BSS = void 0;
|
|
3
|
+
exports.E_UPLOAD_CUSTOMER_ACCOUNT_DOCUMENT = exports.E_UPDATE_CUSTOMER_POSTAL_AND_BILLING_ADDRESS_FROM_APARTMENT_ID = exports.E_UPDATE_CUSTOMER_ACCOUNT = exports.E_SEARCH_CUSTOMERS = exports.E_REVIEW_CUSTOMER_CHARGES_AND_CREDITS_NEGATIVE_INVOICE = exports.E_REVIEW_CUSTOMER_CHARGES_AND_CREDITS = exports.E_REVIEW_CUSTOMER_AGRRUPATION_DIRECT_SEND_TO_BSS_WITHOUT_SIGNATURE = exports.E_ORDER_NOT_BELONG_TO_CUSTOMER = exports.E_FETCH_CUSTOMERS = exports.E_FETCH_CUSTOMER_WORK_TASKS = exports.E_FETCH_CUSTOMER_PRODUCTS = exports.E_FETCH_CUSTOMER_NOTES = exports.E_FETCH_CUSTOMER_ACCOUNT_FINANCE_BALANCES = exports.E_FETCH_CUSTOMER_ACCOUNT = exports.E_CUSTOMER_WITHOUT_IDENTIFICATION = exports.E_CUSTOMER_WITHOUT_VALID_APARTMENT = exports.E_CUSTOMER_WITHOUT_RELATED_PARTY = exports.E_CUSTOMER_WITHOUT_OWNER_RELATED_PARTY = exports.E_CUSTOMER_UNKNOWN_OWNER_RELATED_PARTY = exports.E_CUSTOMER_PRODUCT_TRANSITION_PROCESS_OWNER_MISMATCHING = exports.E_CUSTOMER_PRODUCT_TRANSITION_PROCESS_ALREADY_EXISTS = exports.E_CUSTOMER_PRODUCT_TERMINATION_PROCESS_OWNER_MISMATCHING = exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_WITHOUT_STEPS = exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_UNKNOWN_STEP = exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_STEP_UNSTARTED = exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_ALREADY_EXISTS = exports.E_CUSTOMER_PRODUCT_MODIFICATION_PROCESS_OWNER_MISMATCHING = exports.E_CUSTOMER_PRODUCT_MODIFICATION_PROCESS_ALREADY_EXISTS = exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_WITHOUT_STEPS = exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_VOIP_NUMBER_POOL = exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_UNKNOWN_STEP = exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_STEP_UNSTARTED = exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_INVALID_PRODUCT = exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_FORBIDDEN_STATUS = exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_ALREADY_EXISTS = exports.E_CUSTOMER_ORGANIZATION_OWNER_WITHOUT_CONTACT_PARTY = exports.E_CUSTOMER_NEW_EXTRAS_PROCESS_OWNER_MISMATCHING = exports.E_CUSTOMER_NEW_EXTRAS_PROCESS_ALREADY_EXISTS = exports.E_CUSTOMER_HAS_ALL_EXTRAS = exports.E_CUSTOMER_HANDOVER_PROCESS_VOIP_NUMBER_POOL = exports.E_CUSTOMER_HANDOVER_PROCESS_STEP_UNSTARTED = exports.E_CUSTOMER_HANDOVER_EXISTS_WITH_STATUS = exports.E_CUSTOMER_CHECK_DEBT = exports.E_CUSTOMER_AGGRUPATION_UNHAPPY_RUNNING = exports.E_CUSTOMER_AGGRUPATION_HAPPY_RUNNING = exports.E_CREATE_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS = exports.E_CREATE_CUSTOMER_ACCOUNT_PRODUCT_TRANSFER = exports.E_CREATE_CUSTOMER_ACCOUNT_NOTE = exports.E_CREATE_CUSTOMER_ACCOUNT_HISTORY = exports.E_CREATE_CUSTOMER_ACCOUNT = void 0;
|
|
4
|
+
exports.E_CUSTOMER_HAS_DEBT = exports.E_CUSTOMER_HAS_DRAFT_ORDER = exports.E_CUSTOMERS_TO_CHECK_LIMIT_REACHED = exports.E_REVIEW_CREATED_CUSTOMER_AGRRUPATION_DIRECT_SEND_TO_BSS_WITHOUT_SIGNATURE = exports.E_REVIEW_CUSTOMER_AGRRUPATION_DIRECT_SEND_TO_BSS_MULTIPLE_FIBER_BUNDLES = exports.E_REVIEW_CUSTOMER_AGRRUPATION_DIRECT_SEND_TO_BSS_DEACTIVATE = exports.E_REVIEW_MULTIPLE_FIBER_BUNDLES_CUSTOMER_AGRRUPATION_CREATED_DIRECT_SEND_TO_BSS = exports.E_REVIEW_DEACTIVATE_CUSTOMER_AGRRUPATION_CREATED_DIRECT_SEND_TO_BSS = exports.E_CUSTOMER_TYPE_WITHOUT_BILLING_CYCLE = void 0;
|
|
5
5
|
exports.E_CREATE_CUSTOMER_ACCOUNT = 'E_CREATE_CUSTOMER_ACCOUNT';
|
|
6
6
|
exports.E_CREATE_CUSTOMER_ACCOUNT_HISTORY = 'E_CREATE_CUSTOMER_ACCOUNT_HISTORY';
|
|
7
7
|
exports.E_CREATE_CUSTOMER_ACCOUNT_NOTE = 'E_CREATE_CUSTOMER_ACCOUNT_NOTE';
|
|
@@ -37,6 +37,7 @@ exports.E_CUSTOMER_UNKNOWN_OWNER_RELATED_PARTY = 'E_CUSTOMER_UNKNOWN_OWNER_RELAT
|
|
|
37
37
|
exports.E_CUSTOMER_WITHOUT_OWNER_RELATED_PARTY = 'E_CUSTOMER_WITHOUT_OWNER_RELATED_PARTY';
|
|
38
38
|
exports.E_CUSTOMER_WITHOUT_RELATED_PARTY = 'E_CUSTOMER_WITHOUT_RELATED_PARTY';
|
|
39
39
|
exports.E_CUSTOMER_WITHOUT_VALID_APARTMENT = 'E_CUSTOMER_WITHOUT_VALID_APARTMENT';
|
|
40
|
+
exports.E_CUSTOMER_WITHOUT_IDENTIFICATION = 'E_CUSTOMER_WITHOUT_IDENTIFICATION';
|
|
40
41
|
exports.E_FETCH_CUSTOMER_ACCOUNT = 'E_FETCH_CUSTOMER_ACCOUNT';
|
|
41
42
|
exports.E_FETCH_CUSTOMER_ACCOUNT_FINANCE_BALANCES = 'E_FETCH_CUSTOMER_ACCOUNT_FINANCE_BALANCES';
|
|
42
43
|
exports.E_FETCH_CUSTOMER_NOTES = 'E_FETCH_CUSTOMER_NOTES';
|
|
@@ -2,7 +2,6 @@ export * from './aggrupation.entity';
|
|
|
2
2
|
export * from './aggrupations-consent-data.entity';
|
|
3
3
|
export * from './aggrupations-file.entity';
|
|
4
4
|
export * from './aggrupations-transactions.entity';
|
|
5
|
-
export * from './apartment-whitelist.entity';
|
|
6
5
|
export * from './batch-process-definition.entity';
|
|
7
6
|
export * from './bundle-products.entity';
|
|
8
7
|
export * from './bundle-type-configuration.entity';
|
|
@@ -18,7 +18,6 @@ __exportStar(require("./aggrupation.entity"), exports);
|
|
|
18
18
|
__exportStar(require("./aggrupations-consent-data.entity"), exports);
|
|
19
19
|
__exportStar(require("./aggrupations-file.entity"), exports);
|
|
20
20
|
__exportStar(require("./aggrupations-transactions.entity"), exports);
|
|
21
|
-
__exportStar(require("./apartment-whitelist.entity"), exports);
|
|
22
21
|
__exportStar(require("./batch-process-definition.entity"), exports);
|
|
23
22
|
__exportStar(require("./bundle-products.entity"), exports);
|
|
24
23
|
__exportStar(require("./bundle-type-configuration.entity"), exports);
|
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./apartment-whitelist.entity"), exports);
|
|
17
18
|
__exportStar(require("./approval.entity"), exports);
|
|
18
19
|
__exportStar(require("./lead-credit-bureau-validation.entity"), exports);
|
|
19
20
|
__exportStar(require("./lead-transactions.entity"), exports);
|
|
@@ -8,14 +8,10 @@ export declare class AddressDto {
|
|
|
8
8
|
salesArea: string;
|
|
9
9
|
note?: string;
|
|
10
10
|
zone?: string;
|
|
11
|
-
|
|
11
|
+
serviceableDate: Date;
|
|
12
12
|
serviceableAge: number;
|
|
13
13
|
lng: string;
|
|
14
14
|
lat: string;
|
|
15
|
-
externalOk: boolean;
|
|
16
|
-
externalMsg?: string;
|
|
17
|
-
externalEmail?: string;
|
|
18
|
-
canOrder: boolean;
|
|
19
15
|
apartments: AddressApartmentDto[];
|
|
20
16
|
}
|
|
21
17
|
export declare class AddressApartmentDto {
|
|
@@ -48,7 +44,6 @@ export declare class ApartmentDto {
|
|
|
48
44
|
projectCode: string;
|
|
49
45
|
competition: string;
|
|
50
46
|
serviceableStatus: string;
|
|
51
|
-
serviceable: string;
|
|
52
47
|
technology: string;
|
|
53
48
|
lng: string;
|
|
54
49
|
lat: string;
|
|
@@ -15,7 +15,7 @@ const _validators_1 = require("../../validators/index");
|
|
|
15
15
|
const class_validator_1 = require("class-validator");
|
|
16
16
|
class AddressDto {
|
|
17
17
|
static _OPENAPI_METADATA_FACTORY() {
|
|
18
|
-
return { id: { required: true, type: () => String }, address: { required: true, type: () => String }, city: { required: true, type: () => String }, province: { required: true, type: () => String }, postcode: { required: true, type: () => String }, status: { required: true, type: () => String }, salesArea: { required: true, type: () => String }, note: { required: false, type: () => String }, zone: { required: false, type: () => String },
|
|
18
|
+
return { id: { required: true, type: () => String }, address: { required: true, type: () => String }, city: { required: true, type: () => String }, province: { required: true, type: () => String }, postcode: { required: true, type: () => String }, status: { required: true, type: () => String }, salesArea: { required: true, type: () => String }, note: { required: false, type: () => String }, zone: { required: false, type: () => String }, serviceableDate: { required: true, type: () => Date }, serviceableAge: { required: true, type: () => Number }, lng: { required: true, type: () => String }, lat: { required: true, type: () => String }, apartments: { required: true, type: () => [require("./address.entity").AddressApartmentDto] } };
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
exports.AddressDto = AddressDto;
|
|
@@ -33,7 +33,7 @@ class AreaAddressDto {
|
|
|
33
33
|
exports.AreaAddressDto = AreaAddressDto;
|
|
34
34
|
class ApartmentDto {
|
|
35
35
|
static _OPENAPI_METADATA_FACTORY() {
|
|
36
|
-
return { apartmentId: { required: true, type: () => String }, streetAddressId: { required: true, type: () => String }, salesAreaId: { required: true, type: () => Number }, salesAreaName: { required: true, type: () => String }, projectId: { required: true, type: () => Number }, projectCode: { required: true, type: () => String }, competition: { required: true, type: () => String }, serviceableStatus: { required: true, type: () => String },
|
|
36
|
+
return { apartmentId: { required: true, type: () => String }, streetAddressId: { required: true, type: () => String }, salesAreaId: { required: true, type: () => Number }, salesAreaName: { required: true, type: () => String }, projectId: { required: true, type: () => Number }, projectCode: { required: true, type: () => String }, competition: { required: true, type: () => String }, serviceableStatus: { required: true, type: () => String }, technology: { required: true, type: () => String }, lng: { required: true, type: () => String }, lat: { required: true, type: () => String }, country: { required: true, type: () => String }, province: { required: true, type: () => String }, municipality: { required: true, type: () => String }, city: { required: true, type: () => String }, postcode: { required: true, type: () => String }, streetName: { required: true, type: () => String }, streetType: { required: true, type: () => String }, streetNumber: { required: true, type: () => String }, block: { required: true, type: () => String }, entrance: { required: true, type: () => String }, floor: { required: true, type: () => String }, door: { required: true, type: () => String }, serviceableAge: { required: true, type: () => Number }, network: { required: true, type: () => String }, fiberhood: { required: true, type: () => String } };
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
exports.ApartmentDto = ApartmentDto;
|
|
@@ -7,7 +7,7 @@ export declare class ApartmentWhitelistDto {
|
|
|
7
7
|
created: AuditFieldsDto;
|
|
8
8
|
updated: AuditFieldsDto;
|
|
9
9
|
}
|
|
10
|
-
declare const CreateApartmentWhitelistDto_base: import("@nestjs/common").Type<Omit<ApartmentWhitelistDto, "id" | "
|
|
10
|
+
declare const CreateApartmentWhitelistDto_base: import("@nestjs/common").Type<Omit<ApartmentWhitelistDto, "id" | "updated" | "used">>;
|
|
11
11
|
export declare class CreateApartmentWhitelistDto extends CreateApartmentWhitelistDto_base {
|
|
12
12
|
}
|
|
13
13
|
declare const PatchApartmentWhitelistDto_base: import("@nestjs/common").Type<Omit<ApartmentWhitelistDto, "id" | "apartmentId" | "created">>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StorageConfiguration } from '../../common/constants';
|
|
1
|
+
import { BusinessCustomerType, StorageConfiguration } from '../../common/constants';
|
|
2
2
|
import { ApprovalIndividualIdentificationDto } from '../approval';
|
|
3
3
|
import { AuditFieldsDto } from '../common';
|
|
4
4
|
import { IbanValidationStatus } from '../iban-validation';
|
|
@@ -54,6 +54,15 @@ export declare class BillingCyclesDto {
|
|
|
54
54
|
[CustomerType.BUSINESS]: string;
|
|
55
55
|
[CustomerType.RESIDENTIAL]: string;
|
|
56
56
|
}
|
|
57
|
+
export declare class BusinessSegmentDto {
|
|
58
|
+
segment: string;
|
|
59
|
+
default?: boolean;
|
|
60
|
+
channels: string[];
|
|
61
|
+
}
|
|
62
|
+
export declare class BusinessSegmentsDto {
|
|
63
|
+
[BusinessCustomerType.COMPANY]: BusinessSegmentDto[];
|
|
64
|
+
[BusinessCustomerType.INDIVIDUAL]: BusinessSegmentDto[];
|
|
65
|
+
}
|
|
57
66
|
export declare class ProductMandatoryDocumentsDto {
|
|
58
67
|
key: string;
|
|
59
68
|
documents: string[];
|
|
@@ -8,9 +8,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
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
|
-
var _a, _b, _c;
|
|
11
|
+
var _a, _b, _c, _d, _e;
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
exports.SaleProcessJobConfigurationDto = exports.IbanValidationMockValueDto = exports.GdprClauseDto = exports.DigitelDefaultUserDto = exports.SimDeliveryInfoDto = exports.SimDeliveryDto = exports.ApprovalValidationUrlsDto = exports.ApprovalValidationUrlDto = exports.DigitelCircuitInfoDto = exports.DigitelCircuitDto = exports.ProductMandatoryDocumentsItemsDto = exports.ProductMandatoryDocumentsDto = exports.BillingCyclesDto = exports.RetailExclusivityRulesItemsDto = exports.ConfigurationRetailExclusivityDto = exports.ConfigurationServiceableAgeDto = exports.ConfigurationSegmentsDictionaryDto = exports.ConfigurationSegmentWithChannelsDto = exports.FeatureGroupsItemsDto = exports.FeatureGroupDto = exports.ReferenceDateDto = exports.ConfigurationArrayItemDto = exports.UpdateConfigurationDto = exports.ConfigurationDto = void 0;
|
|
13
|
+
exports.SaleProcessJobConfigurationDto = exports.IbanValidationMockValueDto = exports.GdprClauseDto = exports.DigitelDefaultUserDto = exports.SimDeliveryInfoDto = exports.SimDeliveryDto = exports.ApprovalValidationUrlsDto = exports.ApprovalValidationUrlDto = exports.DigitelCircuitInfoDto = exports.DigitelCircuitDto = exports.ProductMandatoryDocumentsItemsDto = exports.ProductMandatoryDocumentsDto = exports.BusinessSegmentsDto = exports.BusinessSegmentDto = exports.BillingCyclesDto = exports.RetailExclusivityRulesItemsDto = exports.ConfigurationRetailExclusivityDto = exports.ConfigurationServiceableAgeDto = exports.ConfigurationSegmentsDictionaryDto = exports.ConfigurationSegmentWithChannelsDto = exports.FeatureGroupsItemsDto = exports.FeatureGroupDto = exports.ReferenceDateDto = exports.ConfigurationArrayItemDto = exports.UpdateConfigurationDto = exports.ConfigurationDto = void 0;
|
|
14
14
|
const openapi = require("@nestjs/swagger");
|
|
15
15
|
const constants_1 = require("../../common/constants");
|
|
16
16
|
const swagger_1 = require("@nestjs/swagger");
|
|
@@ -221,6 +221,55 @@ __decorate([
|
|
|
221
221
|
(0, class_transformer_1.Expose)(),
|
|
222
222
|
__metadata("design:type", String)
|
|
223
223
|
], BillingCyclesDto.prototype, _c, void 0);
|
|
224
|
+
class BusinessSegmentDto {
|
|
225
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
226
|
+
return { segment: { required: true, type: () => String }, default: { required: false, type: () => Boolean }, channels: { required: true, type: () => [String], minItems: 1 } };
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
exports.BusinessSegmentDto = BusinessSegmentDto;
|
|
230
|
+
__decorate([
|
|
231
|
+
(0, class_validator_1.IsString)(),
|
|
232
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
233
|
+
(0, _validators_1.IsNotBlank)(),
|
|
234
|
+
(0, class_transformer_1.Expose)(),
|
|
235
|
+
__metadata("design:type", String)
|
|
236
|
+
], BusinessSegmentDto.prototype, "segment", void 0);
|
|
237
|
+
__decorate([
|
|
238
|
+
(0, class_validator_1.IsBoolean)(),
|
|
239
|
+
(0, class_validator_1.IsOptional)(),
|
|
240
|
+
(0, class_transformer_1.Expose)(),
|
|
241
|
+
__metadata("design:type", Boolean)
|
|
242
|
+
], BusinessSegmentDto.prototype, "default", void 0);
|
|
243
|
+
__decorate([
|
|
244
|
+
(0, class_validator_1.IsArray)(),
|
|
245
|
+
(0, class_validator_1.ArrayNotEmpty)(),
|
|
246
|
+
(0, class_validator_1.IsString)({ each: true }),
|
|
247
|
+
(0, class_validator_1.IsNotEmpty)({ each: true }),
|
|
248
|
+
(0, _validators_1.IsNotBlank)({ each: true }),
|
|
249
|
+
(0, class_transformer_1.Expose)(),
|
|
250
|
+
__metadata("design:type", Array)
|
|
251
|
+
], BusinessSegmentDto.prototype, "channels", void 0);
|
|
252
|
+
class BusinessSegmentsDto {
|
|
253
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
254
|
+
return {};
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
exports.BusinessSegmentsDto = BusinessSegmentsDto;
|
|
258
|
+
_d = constants_1.BusinessCustomerType.COMPANY, _e = constants_1.BusinessCustomerType.INDIVIDUAL;
|
|
259
|
+
__decorate([
|
|
260
|
+
(0, class_validator_1.IsArray)(),
|
|
261
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
262
|
+
(0, class_transformer_1.Type)(() => BusinessSegmentDto),
|
|
263
|
+
(0, class_transformer_1.Expose)(),
|
|
264
|
+
__metadata("design:type", Array)
|
|
265
|
+
], BusinessSegmentsDto.prototype, _d, void 0);
|
|
266
|
+
__decorate([
|
|
267
|
+
(0, class_validator_1.IsArray)(),
|
|
268
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
269
|
+
(0, class_transformer_1.Type)(() => BusinessSegmentDto),
|
|
270
|
+
(0, class_transformer_1.Expose)(),
|
|
271
|
+
__metadata("design:type", Array)
|
|
272
|
+
], BusinessSegmentsDto.prototype, _e, void 0);
|
|
224
273
|
class ProductMandatoryDocumentsDto {
|
|
225
274
|
static _OPENAPI_METADATA_FACTORY() {
|
|
226
275
|
return { key: { required: true, type: () => String }, documents: { required: true, type: () => [String], minItems: 1 } };
|