adamo-types 2.0.99-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.
@@ -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 {
@@ -51,7 +51,6 @@ export declare class ShoppingCartParametersDto {
51
51
  province?: string;
52
52
  salesAreaId?: string;
53
53
  salesAreaName?: string;
54
- serviceable?: string;
55
54
  serviceableAge?: string;
56
55
  serviceableStatus?: string;
57
56
  streetAddressId?: string;
@@ -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 }, 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, 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 } };
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',
@@ -20,6 +20,9 @@ export declare class CustomerProductCharacteristicDto {
20
20
  includedAmount?: number;
21
21
  excludedAmount?: number;
22
22
  }
23
+ declare const CustomerProductShoppingCartCharacteristicDto_base: import("@nestjs/common").Type<Pick<CustomerProductCharacteristicDto, "name" | "id" | "bindingDays" | "bindingMonths" | "activatedAt" | "terminatedAt" | "completedPercentage">>;
24
+ export declare class CustomerProductShoppingCartCharacteristicDto extends CustomerProductShoppingCartCharacteristicDto_base {
25
+ }
23
26
  export declare class CustomerProductServiceDataDto {
24
27
  type?: ShoppingCartProductType;
25
28
  serviceCharacteristicInstanceValue?: string;
@@ -61,15 +64,7 @@ export declare class CustomerProductDto extends CustomerProductServiceDataDto {
61
64
  characteristics?: CustomerProductCharacteristicDto[];
62
65
  products?: CustomerProductDto[];
63
66
  }
64
- export declare class CustomerProductContractDto {
65
- id: string;
66
- name: string;
67
- displayName?: string;
68
- bindingMonths?: number;
69
- bindingDays?: number;
70
- activatedAt: string;
71
- terminatedAt?: string;
72
- }
73
67
  export declare class CustomerProductDtoBuilder extends Builder<CustomerProductDto> {
74
68
  setDefaults(): CustomerProductDto;
75
69
  }
70
+ export {};
@@ -1,16 +1,31 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CustomerProductDtoBuilder = exports.CustomerProductContractDto = exports.CustomerProductDto = exports.CustomerProductServiceDto = exports.CustomerProductServiceCharacteristicDto = exports.CustomerProductServiceDataDto = exports.CustomerProductCharacteristicDto = void 0;
3
+ exports.CustomerProductDtoBuilder = exports.CustomerProductDto = exports.CustomerProductServiceDto = exports.CustomerProductServiceCharacteristicDto = exports.CustomerProductServiceDataDto = exports.CustomerProductShoppingCartCharacteristicDto = exports.CustomerProductCharacteristicDto = void 0;
4
4
  const openapi = require("@nestjs/swagger");
5
5
  const product_1 = require("../product");
6
6
  const helpers_1 = require("../../common/helpers/helpers");
7
7
  const faker_1 = require("@faker-js/faker");
8
+ const swagger_1 = require("@nestjs/swagger");
8
9
  class CustomerProductCharacteristicDto {
9
10
  static _OPENAPI_METADATA_FACTORY() {
10
11
  return { id: { required: true, type: () => String }, name: { required: true, type: () => String }, displayName: { required: false, type: () => String }, displayDescription: { required: false, type: () => String }, configurationAttributes: { required: false, type: () => [require("../../sys03/shopping-cart/shopping-cart.common.entity").ShoppingCartConfigurationAttributeDto] }, bindingMonths: { required: false, type: () => Number }, bindingDays: { required: false, type: () => Number }, activatedAt: { required: true, type: () => String }, terminatedAt: { required: false, type: () => String }, completedPercentage: { required: false, type: () => Number }, displayAmount: { required: false, type: () => Number }, includedAmount: { required: false, type: () => Number }, excludedAmount: { required: false, type: () => Number } };
11
12
  }
12
13
  }
13
14
  exports.CustomerProductCharacteristicDto = CustomerProductCharacteristicDto;
15
+ class CustomerProductShoppingCartCharacteristicDto extends (0, swagger_1.PickType)(CustomerProductCharacteristicDto, [
16
+ 'id',
17
+ 'name',
18
+ 'bindingDays',
19
+ 'bindingMonths',
20
+ 'activatedAt',
21
+ 'terminatedAt',
22
+ 'completedPercentage'
23
+ ]) {
24
+ static _OPENAPI_METADATA_FACTORY() {
25
+ return {};
26
+ }
27
+ }
28
+ exports.CustomerProductShoppingCartCharacteristicDto = CustomerProductShoppingCartCharacteristicDto;
14
29
  class CustomerProductServiceDataDto {
15
30
  static _OPENAPI_METADATA_FACTORY() {
16
31
  return { type: { required: false, enum: require("../../common/constants/common.constants").ShoppingCartProductType }, serviceCharacteristicInstanceValue: { required: false, type: () => String }, serviceCharacteristicName: { required: false, type: () => String }, serviceCharacteristicValue: { required: false, type: () => Object }, services: { required: false, type: () => [require("./customer-product.entity").CustomerProductServiceDto] } };
@@ -39,12 +54,6 @@ class CustomerProductDto extends CustomerProductServiceDataDto {
39
54
  }
40
55
  }
41
56
  exports.CustomerProductDto = CustomerProductDto;
42
- class CustomerProductContractDto {
43
- static _OPENAPI_METADATA_FACTORY() {
44
- return { id: { required: true, type: () => String }, name: { required: true, type: () => String }, displayName: { required: false, type: () => String }, bindingMonths: { required: false, type: () => Number }, bindingDays: { required: false, type: () => Number }, activatedAt: { required: true, type: () => String }, terminatedAt: { required: false, type: () => String } };
45
- }
46
- }
47
- exports.CustomerProductContractDto = CustomerProductContractDto;
48
57
  class CustomerProductDtoBuilder extends helpers_1.Builder {
49
58
  setDefaults() {
50
59
  const { key: name, productName: displayName } = (0, helpers_1.fakerCommerceProductNameAndKey)();
@@ -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.E_CUSTOMER_TYPE_WITHOUT_BILLING_CYCLE = 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_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 = 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);
@@ -1,3 +1,4 @@
1
+ export * from './apartment-whitelist.entity';
1
2
  export * from './approval.entity';
2
3
  export * from './lead-credit-bureau-validation.entity';
3
4
  export * from './lead-transactions.entity';
@@ -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
- serviceable: Date;
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 }, serviceable: { required: true, type: () => Date }, serviceableAge: { required: true, type: () => Number }, lng: { required: true, type: () => String }, lat: { required: true, type: () => String }, externalOk: { required: true, type: () => Boolean }, externalMsg: { required: false, type: () => String }, externalEmail: { required: false, type: () => String }, canOrder: { required: true, type: () => Boolean }, apartments: { required: true, type: () => [require("./address.entity").AddressApartmentDto] } };
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 }, serviceable: { 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 } };
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" | "used" | "updated">>;
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 } };
@@ -64,6 +64,7 @@ export declare class ShoppingCartSummaryBundleProductResDto {
64
64
  }
65
65
  export declare class ShoppingCartSummaryBundleResDto {
66
66
  name: string;
67
+ configurationType?: string;
67
68
  displayName: string;
68
69
  displayDescription: string;
69
70
  promotions: ShoppingCartSummaryCharacteristicResDto[];
@@ -79,6 +80,9 @@ export declare class ShoppingCartSummaryResDto {
79
80
  prices: ShoppingCartSummaryPriceResDto[];
80
81
  parameters?: ShoppingCartParametersDto;
81
82
  }
83
+ export declare class ShoppingCartDigitalContractSummaryResDto extends ShoppingCartSummaryResDto {
84
+ tvPrices: ShoppingCartSummaryPriceResDto[];
85
+ }
82
86
  export declare class DefaultShoppingCartSummaryBundleResDto {
83
87
  shoppingCart: ShoppingCartDto;
84
88
  summary: ShoppingCartSummaryBundleResDto;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ShoppingCartSummaryAggrupationResDto = exports.DefaultShoppingCartSummaryResDto = exports.DefaultShoppingCartSummaryBundleResDto = exports.ShoppingCartSummaryResDto = exports.ShoppingCartSummaryBundleResDto = exports.ShoppingCartSummaryBundleProductResDto = exports.ShoppingCartSummaryCharacteristicResDto = exports.ShoppingCartSummaryBundlePriceResDto = exports.ShoppingCartSummaryChargeAndCreditResDto = exports.ShoppingCartSummaryPriceResDto = exports.ShoppingCartSummaryContractResDto = void 0;
3
+ exports.ShoppingCartSummaryAggrupationResDto = exports.DefaultShoppingCartSummaryResDto = exports.DefaultShoppingCartSummaryBundleResDto = exports.ShoppingCartDigitalContractSummaryResDto = exports.ShoppingCartSummaryResDto = exports.ShoppingCartSummaryBundleResDto = exports.ShoppingCartSummaryBundleProductResDto = exports.ShoppingCartSummaryCharacteristicResDto = exports.ShoppingCartSummaryBundlePriceResDto = exports.ShoppingCartSummaryChargeAndCreditResDto = exports.ShoppingCartSummaryPriceResDto = exports.ShoppingCartSummaryContractResDto = void 0;
4
4
  const openapi = require("@nestjs/swagger");
5
5
  class ShoppingCartSummaryContractResDto {
6
6
  static _OPENAPI_METADATA_FACTORY() {
@@ -40,7 +40,7 @@ class ShoppingCartSummaryBundleProductResDto {
40
40
  exports.ShoppingCartSummaryBundleProductResDto = ShoppingCartSummaryBundleProductResDto;
41
41
  class ShoppingCartSummaryBundleResDto {
42
42
  static _OPENAPI_METADATA_FACTORY() {
43
- return { name: { required: true, type: () => String }, displayName: { required: true, type: () => String }, displayDescription: { required: true, type: () => String }, promotions: { required: true, type: () => [require("./shopping-cart-summary.entity").ShoppingCartSummaryCharacteristicResDto] }, installationCosts: { required: false, type: () => [require("./shopping-cart-summary.entity").ShoppingCartSummaryCharacteristicResDto] }, contract: { required: true, type: () => require("./shopping-cart-summary.entity").ShoppingCartSummaryContractResDto }, configurationAttributes: { required: false, type: () => [require("./shopping-cart.common.entity").ShoppingCartConfigurationAttributeDto] }, products: { required: true, type: () => [require("./shopping-cart-summary.entity").ShoppingCartSummaryBundleProductResDto] }, prices: { required: true, type: () => [require("./shopping-cart-summary.entity").ShoppingCartSummaryPriceResDto] } };
43
+ return { name: { required: true, type: () => String }, configurationType: { required: false, type: () => String }, displayName: { required: true, type: () => String }, displayDescription: { required: true, type: () => String }, promotions: { required: true, type: () => [require("./shopping-cart-summary.entity").ShoppingCartSummaryCharacteristicResDto] }, installationCosts: { required: false, type: () => [require("./shopping-cart-summary.entity").ShoppingCartSummaryCharacteristicResDto] }, contract: { required: true, type: () => require("./shopping-cart-summary.entity").ShoppingCartSummaryContractResDto }, configurationAttributes: { required: false, type: () => [require("./shopping-cart.common.entity").ShoppingCartConfigurationAttributeDto] }, products: { required: true, type: () => [require("./shopping-cart-summary.entity").ShoppingCartSummaryBundleProductResDto] }, prices: { required: true, type: () => [require("./shopping-cart-summary.entity").ShoppingCartSummaryPriceResDto] } };
44
44
  }
45
45
  }
46
46
  exports.ShoppingCartSummaryBundleResDto = ShoppingCartSummaryBundleResDto;
@@ -50,6 +50,12 @@ class ShoppingCartSummaryResDto {
50
50
  }
51
51
  }
52
52
  exports.ShoppingCartSummaryResDto = ShoppingCartSummaryResDto;
53
+ class ShoppingCartDigitalContractSummaryResDto extends ShoppingCartSummaryResDto {
54
+ static _OPENAPI_METADATA_FACTORY() {
55
+ return { tvPrices: { required: true, type: () => [require("./shopping-cart-summary.entity").ShoppingCartSummaryPriceResDto] } };
56
+ }
57
+ }
58
+ exports.ShoppingCartDigitalContractSummaryResDto = ShoppingCartDigitalContractSummaryResDto;
53
59
  class DefaultShoppingCartSummaryBundleResDto {
54
60
  static _OPENAPI_METADATA_FACTORY() {
55
61
  return { shoppingCart: { required: true, type: () => require("../../bss/bearingpoint/shopping-cart/shopping-cart.entity").ShoppingCartDto }, summary: { required: true, type: () => require("./shopping-cart-summary.entity").ShoppingCartSummaryBundleResDto } };