adamo-types 2.1.1-sit → 2.1.2-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.
@@ -2,6 +2,7 @@ import { BpCustomerAccountIndividual, BpCustomerAccountOrganization, BpCustomerA
2
2
  import { SearchType } from './search.constants';
3
3
  import { BpBillingAccount } from '../billing';
4
4
  import { BpAccountStateType, BpCustomerAccountType, BpAccountPreferredLanguageType, BpTimezoneType } from '../../constants';
5
+ import { BpProductInventory } from '../product-offering';
5
6
  export declare class BpPutParamsDto {
6
7
  keepExisting: boolean;
7
8
  }
@@ -44,6 +45,7 @@ export declare class BpSearchCustomerAccountDto {
44
45
  preferredLanguage: BpAccountPreferredLanguageType;
45
46
  timezone: BpTimezoneType;
46
47
  }
48
+ export type BpSearchProductRes = Pick<BpProductInventory, 'id' | 'billingAccount' | 'bundle' | 'wholesale' | 'wholesaleAgreement' | 'state' | 'completenessState' | 'productOffering' | 'displayName' | 'productRelationships' | 'searchableServiceCharacteristicValues' | 'searchableServiceCharacteristics' | 'serviceIdentifiers' | 'activation' | 'parameters'>;
47
49
  export declare class BpSearchItemDto {
48
50
  id: string;
49
51
  score: number;
@@ -51,4 +53,5 @@ export declare class BpSearchItemDto {
51
53
  version: number;
52
54
  customerAccount?: BpSearchCustomerAccountDto;
53
55
  billingAccount?: BpBillingAccount;
56
+ product?: BpSearchProductRes;
54
57
  }
@@ -40,7 +40,7 @@ class BpSearchCustomerAccountDto {
40
40
  exports.BpSearchCustomerAccountDto = BpSearchCustomerAccountDto;
41
41
  class BpSearchItemDto {
42
42
  static _OPENAPI_METADATA_FACTORY() {
43
- return { id: { required: true, type: () => String }, score: { required: true, type: () => Number }, type: { required: true, enum: require("./search.constants").SearchType }, version: { required: true, type: () => Number }, customerAccount: { required: false, type: () => require("./search.entity").BpSearchCustomerAccountDto }, billingAccount: { required: false, type: () => Object } };
43
+ return { id: { required: true, type: () => String }, score: { required: true, type: () => Number }, type: { required: true, enum: require("./search.constants").SearchType }, version: { required: true, type: () => Number }, customerAccount: { required: false, type: () => require("./search.entity").BpSearchCustomerAccountDto }, billingAccount: { required: false, type: () => Object }, product: { required: false, type: () => Object } };
44
44
  }
45
45
  }
46
46
  exports.BpSearchItemDto = BpSearchItemDto;
@@ -4,6 +4,7 @@ export declare enum ProductInventoryStateType {
4
4
  PENDING_ACTIVATE = "PENDING_ACTIVATE",
5
5
  ACTIVE = "ACTIVE",
6
6
  TERMINATED = "TERMINATED",
7
+ TRANSFERED = "TRANSFERED",
7
8
  UNKNOWN = "UNKNOWN"
8
9
  }
9
10
  export declare enum ProductInventoryCompletenessStateType {
@@ -7,6 +7,7 @@ var ProductInventoryStateType;
7
7
  ProductInventoryStateType["PENDING_ACTIVATE"] = "PENDING_ACTIVATE";
8
8
  ProductInventoryStateType["ACTIVE"] = "ACTIVE";
9
9
  ProductInventoryStateType["TERMINATED"] = "TERMINATED";
10
+ ProductInventoryStateType["TRANSFERED"] = "TRANSFERED";
10
11
  ProductInventoryStateType["UNKNOWN"] = "UNKNOWN";
11
12
  })(ProductInventoryStateType || (exports.ProductInventoryStateType = ProductInventoryStateType = {}));
12
13
  var ProductInventoryCompletenessStateType;
@@ -1,9 +1,41 @@
1
- import { ShoppingCartConfigurationAddressResDto } from '../../common/edge-bss';
2
1
  import { ServiceSpecificationType } from '..';
2
+ import { Builder } from '../../common/helpers/helpers';
3
+ export declare class ShoppingCartConfigurationServiceSpecificationAddressCharacteristicValueDto {
4
+ country: string;
5
+ postcode: string;
6
+ province: string;
7
+ city: string;
8
+ streetType: string;
9
+ streetName: string;
10
+ streetNumber: string;
11
+ floor: string;
12
+ door: string;
13
+ block: string;
14
+ entrance: string;
15
+ apartmentId?: string;
16
+ }
17
+ export declare class CreateShoppingCartConfigurationServiceSpecificationAddressCharacteristicValueDto {
18
+ postcode: string;
19
+ province: string;
20
+ city: string;
21
+ streetType: string;
22
+ streetName: string;
23
+ streetNumber: string;
24
+ floor?: string;
25
+ door?: string;
26
+ block?: string;
27
+ entrance?: string;
28
+ apartmentId?: string;
29
+ }
30
+ export declare class CreateShoppingCartConfigurationServiceSpecificationAddressCharacteristicValueDtoBuilder extends Builder<CreateShoppingCartConfigurationServiceSpecificationAddressCharacteristicValueDto> {
31
+ setDefaults(): CreateShoppingCartConfigurationServiceSpecificationAddressCharacteristicValueDto;
32
+ }
3
33
  export declare class ShoppingCartConfigurationServiceSpecificationSelectCharacteristicOptionDto {
4
34
  name: string;
5
35
  displayName: string;
6
36
  }
37
+ export type ShoppingCartConfigurationServiceSpecificationCharacteristicValue = string | ShoppingCartConfigurationServiceSpecificationAddressCharacteristicValueDto;
38
+ export type CreateShoppingCartConfigurationServiceSpecificationCharacteristicValue = string | CreateShoppingCartConfigurationServiceSpecificationAddressCharacteristicValueDto;
7
39
  export declare class ShoppingCartConfigurationServiceSpecificationCharacteristicDto {
8
40
  name: string;
9
41
  displayName: string;
@@ -11,7 +43,7 @@ export declare class ShoppingCartConfigurationServiceSpecificationCharacteristic
11
43
  required: boolean;
12
44
  enabled: boolean;
13
45
  included: boolean;
14
- value?: string | ShoppingCartConfigurationAddressResDto;
46
+ value?: ShoppingCartConfigurationServiceSpecificationCharacteristicValue;
15
47
  values?: ShoppingCartConfigurationServiceSpecificationSelectCharacteristicOptionDto[];
16
48
  }
17
49
  declare const ExtendedShoppingCartConfigurationServiceSpecificationCharacteristicDto_base: import("@nestjs/common").Type<Omit<ShoppingCartConfigurationServiceSpecificationCharacteristicDto, "included">>;
@@ -1,8 +1,148 @@
1
1
  "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
2
11
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ExtendedShoppingCartConfigurationServiceSpecificationCharacteristicDto = exports.ShoppingCartConfigurationServiceSpecificationCharacteristicDto = exports.ShoppingCartConfigurationServiceSpecificationSelectCharacteristicOptionDto = void 0;
12
+ exports.ExtendedShoppingCartConfigurationServiceSpecificationCharacteristicDto = exports.ShoppingCartConfigurationServiceSpecificationCharacteristicDto = exports.ShoppingCartConfigurationServiceSpecificationSelectCharacteristicOptionDto = exports.CreateShoppingCartConfigurationServiceSpecificationAddressCharacteristicValueDtoBuilder = exports.CreateShoppingCartConfigurationServiceSpecificationAddressCharacteristicValueDto = exports.ShoppingCartConfigurationServiceSpecificationAddressCharacteristicValueDto = void 0;
4
13
  const openapi = require("@nestjs/swagger");
14
+ const class_validator_1 = require("class-validator");
5
15
  const swagger_1 = require("@nestjs/swagger");
16
+ const class_transformer_1 = require("class-transformer");
17
+ const helpers_1 = require("../../common/helpers/helpers");
18
+ const _validators_1 = require("../../validators/index");
19
+ class ShoppingCartConfigurationServiceSpecificationAddressCharacteristicValueDto {
20
+ static _OPENAPI_METADATA_FACTORY() {
21
+ return { country: { required: true, type: () => String }, postcode: { required: true, type: () => String }, province: { required: true, type: () => String }, city: { required: true, type: () => String }, streetType: { required: true, type: () => String }, streetName: { required: true, type: () => String }, streetNumber: { required: true, type: () => String }, floor: { required: true, type: () => String }, door: { required: true, type: () => String }, block: { required: true, type: () => String }, entrance: { required: true, type: () => String }, apartmentId: { required: false, type: () => String } };
22
+ }
23
+ }
24
+ exports.ShoppingCartConfigurationServiceSpecificationAddressCharacteristicValueDto = ShoppingCartConfigurationServiceSpecificationAddressCharacteristicValueDto;
25
+ class CreateShoppingCartConfigurationServiceSpecificationAddressCharacteristicValueDto {
26
+ static _OPENAPI_METADATA_FACTORY() {
27
+ return { postcode: { required: true, type: () => String, pattern: "/^[0-9]{1,5}$/" }, province: { required: true, type: () => String }, city: { required: true, type: () => String }, streetType: { required: true, type: () => String }, streetName: { required: true, type: () => String }, streetNumber: { required: true, type: () => String }, floor: { required: false, type: () => String }, door: { required: false, type: () => String }, block: { required: false, type: () => String }, entrance: { required: false, type: () => String }, apartmentId: { required: false, type: () => String } };
28
+ }
29
+ }
30
+ exports.CreateShoppingCartConfigurationServiceSpecificationAddressCharacteristicValueDto = CreateShoppingCartConfigurationServiceSpecificationAddressCharacteristicValueDto;
31
+ __decorate([
32
+ (0, class_validator_1.IsString)(),
33
+ (0, class_validator_1.IsNotEmpty)(),
34
+ (0, _validators_1.IsNotBlank)(),
35
+ (0, class_validator_1.Matches)(/^[0-9]{1,5}$/),
36
+ (0, class_transformer_1.Transform)(({ value }) => {
37
+ if (value && value.length < 5) {
38
+ return value.toString().padStart(5, '0');
39
+ }
40
+ return value;
41
+ }),
42
+ __metadata("design:type", String)
43
+ ], CreateShoppingCartConfigurationServiceSpecificationAddressCharacteristicValueDto.prototype, "postcode", void 0);
44
+ __decorate([
45
+ (0, class_validator_1.IsString)(),
46
+ (0, class_validator_1.IsNotEmpty)(),
47
+ (0, _validators_1.IsNotBlank)(),
48
+ __metadata("design:type", String)
49
+ ], CreateShoppingCartConfigurationServiceSpecificationAddressCharacteristicValueDto.prototype, "province", void 0);
50
+ __decorate([
51
+ (0, class_validator_1.IsString)(),
52
+ (0, class_validator_1.IsNotEmpty)(),
53
+ (0, _validators_1.IsNotBlank)(),
54
+ __metadata("design:type", String)
55
+ ], CreateShoppingCartConfigurationServiceSpecificationAddressCharacteristicValueDto.prototype, "city", void 0);
56
+ __decorate([
57
+ (0, class_validator_1.IsString)(),
58
+ (0, class_validator_1.IsNotEmpty)(),
59
+ (0, _validators_1.IsNotBlank)(),
60
+ __metadata("design:type", String)
61
+ ], CreateShoppingCartConfigurationServiceSpecificationAddressCharacteristicValueDto.prototype, "streetType", void 0);
62
+ __decorate([
63
+ (0, class_validator_1.IsString)(),
64
+ (0, class_validator_1.IsNotEmpty)(),
65
+ (0, _validators_1.IsNotBlank)(),
66
+ __metadata("design:type", String)
67
+ ], CreateShoppingCartConfigurationServiceSpecificationAddressCharacteristicValueDto.prototype, "streetName", void 0);
68
+ __decorate([
69
+ (0, class_validator_1.IsString)(),
70
+ (0, class_validator_1.IsNotEmpty)(),
71
+ (0, _validators_1.IsNotBlank)(),
72
+ __metadata("design:type", String)
73
+ ], CreateShoppingCartConfigurationServiceSpecificationAddressCharacteristicValueDto.prototype, "streetNumber", void 0);
74
+ __decorate([
75
+ (0, class_validator_1.IsString)(),
76
+ (0, class_validator_1.IsOptional)(),
77
+ (0, class_transformer_1.Transform)(({ value }) => {
78
+ if (value) {
79
+ return value;
80
+ }
81
+ return '';
82
+ }),
83
+ __metadata("design:type", String)
84
+ ], CreateShoppingCartConfigurationServiceSpecificationAddressCharacteristicValueDto.prototype, "floor", void 0);
85
+ __decorate([
86
+ (0, class_validator_1.IsString)(),
87
+ (0, class_validator_1.IsOptional)(),
88
+ (0, class_transformer_1.Transform)(({ value }) => {
89
+ if (value) {
90
+ return value;
91
+ }
92
+ return '';
93
+ }),
94
+ __metadata("design:type", String)
95
+ ], CreateShoppingCartConfigurationServiceSpecificationAddressCharacteristicValueDto.prototype, "door", void 0);
96
+ __decorate([
97
+ (0, class_validator_1.IsString)(),
98
+ (0, class_validator_1.IsOptional)(),
99
+ (0, class_transformer_1.Transform)(({ value }) => {
100
+ if (value) {
101
+ return value;
102
+ }
103
+ return '';
104
+ }),
105
+ __metadata("design:type", String)
106
+ ], CreateShoppingCartConfigurationServiceSpecificationAddressCharacteristicValueDto.prototype, "block", void 0);
107
+ __decorate([
108
+ (0, class_validator_1.IsString)(),
109
+ (0, class_validator_1.IsOptional)(),
110
+ (0, class_transformer_1.Transform)(({ value }) => {
111
+ if (value) {
112
+ return value;
113
+ }
114
+ return '';
115
+ }),
116
+ __metadata("design:type", String)
117
+ ], CreateShoppingCartConfigurationServiceSpecificationAddressCharacteristicValueDto.prototype, "entrance", void 0);
118
+ __decorate([
119
+ (0, class_validator_1.IsString)(),
120
+ (0, class_validator_1.IsNotEmpty)(),
121
+ (0, _validators_1.IsNotBlank)(),
122
+ (0, class_validator_1.IsOptional)(),
123
+ __metadata("design:type", String)
124
+ ], CreateShoppingCartConfigurationServiceSpecificationAddressCharacteristicValueDto.prototype, "apartmentId", void 0);
125
+ class CreateShoppingCartConfigurationServiceSpecificationAddressCharacteristicValueDtoBuilder extends helpers_1.Builder {
126
+ setDefaults() {
127
+ return {
128
+ postcode: '08506',
129
+ province: 'BARCELONA',
130
+ city: 'CALLDETENES',
131
+ streetType: 'CL',
132
+ streetName: 'UNIO',
133
+ streetNumber: '23',
134
+ block: '',
135
+ floor: 'BA ',
136
+ door: '',
137
+ entrance: '',
138
+ apartmentId: '937367'
139
+ };
140
+ }
141
+ static _OPENAPI_METADATA_FACTORY() {
142
+ return {};
143
+ }
144
+ }
145
+ exports.CreateShoppingCartConfigurationServiceSpecificationAddressCharacteristicValueDtoBuilder = CreateShoppingCartConfigurationServiceSpecificationAddressCharacteristicValueDtoBuilder;
6
146
  class ShoppingCartConfigurationServiceSpecificationSelectCharacteristicOptionDto {
7
147
  static _OPENAPI_METADATA_FACTORY() {
8
148
  return { name: { required: true, type: () => String }, displayName: { required: true, type: () => String } };
@@ -1,6 +1,6 @@
1
1
  import { ShoppingCartConfigurationCharacteristicResDto, ShoppingCartConfigurationFeaturesResDto, ShoppingCartUpdateInfoDto } from '../../common/edge-bss';
2
2
  import { ShoppingCartParametersDto } from '../bearingpoint/shopping-cart';
3
- import { UpdateShoppingCartContractsDto as ArsUpdateShoppingCartContractsDto, UpdateShoppingCartPromotionsDto as ArsUpdateShoppingCartPromotionsDto, ShoppingCartConfigurationAttributeDto } from '../../sys03/shopping-cart';
3
+ import { ShoppingCartConfigurationAttributeDto, UpdateShoppingCartBundleContractDto, UpdateShoppingCartBundlePromotionsDto } from '../../sys03/shopping-cart';
4
4
  import { ShoppingCartProductType } from '../../common/constants';
5
5
  export declare class ShoppingCartBundleExtraDataDto {
6
6
  name: string;
@@ -34,10 +34,12 @@ export declare class ShoppingCartBundlesPromotionsAndContractsDto {
34
34
  bundles: ShoppingCartBundlePromotionsAndContractsDto[];
35
35
  parameters: ShoppingCartParametersDto;
36
36
  }
37
- export declare class UpdateShoppingCartPromotionsDto extends ArsUpdateShoppingCartPromotionsDto {
37
+ export declare class UpdateShoppingCartPromotionsDto {
38
+ bundles: UpdateShoppingCartBundlePromotionsDto[];
38
39
  updateInfo: ShoppingCartUpdateInfoDto;
39
40
  }
40
- export declare class UpdateShoppingCartContractsDto extends ArsUpdateShoppingCartContractsDto {
41
+ export declare class UpdateShoppingCartContractsDto {
42
+ bundles: UpdateShoppingCartBundleContractDto[];
41
43
  updateInfo: ShoppingCartUpdateInfoDto;
42
44
  }
43
45
  export declare class ShoppingCartAvailableExtrasReqDto {
@@ -2,7 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ShoppingCartAvailableExtrasResDto = exports.ShoppingCartBundleExtraGroupsAndExtrasDto = exports.ShoppingCartExtraGroupsAndExtrasDto = exports.ShoppingCartAvailableExtrasReqDto = exports.UpdateShoppingCartContractsDto = exports.UpdateShoppingCartPromotionsDto = exports.ShoppingCartBundlesPromotionsAndContractsDto = exports.ShoppingCartBundlePromotionsAndContractsDto = exports.ShoppingCartBundleExtraGroupDto = exports.ShoppingCartBundleExtraDto = exports.ShoppingCartBundleExtraDataDto = void 0;
4
4
  const openapi = require("@nestjs/swagger");
5
- const shopping_cart_1 = require("../../sys03/shopping-cart");
6
5
  class ShoppingCartBundleExtraDataDto {
7
6
  static _OPENAPI_METADATA_FACTORY() {
8
7
  return { name: { required: true, type: () => String }, displayName: { required: true, type: () => String }, displayDescription: { required: false, type: () => String }, type: { required: false, enum: require("../../common/constants/common.constants").ShoppingCartProductType }, min: { required: true, type: () => Number }, qty: { required: true, type: () => Number }, max: { required: true, type: () => Number }, enabled: { required: true, type: () => Boolean } };
@@ -36,15 +35,15 @@ class ShoppingCartBundlesPromotionsAndContractsDto {
36
35
  }
37
36
  }
38
37
  exports.ShoppingCartBundlesPromotionsAndContractsDto = ShoppingCartBundlesPromotionsAndContractsDto;
39
- class UpdateShoppingCartPromotionsDto extends shopping_cart_1.UpdateShoppingCartPromotionsDto {
38
+ class UpdateShoppingCartPromotionsDto {
40
39
  static _OPENAPI_METADATA_FACTORY() {
41
- return { updateInfo: { required: true, type: () => require("../../common/edge-bss/shopping-cart/req/other.entity").ShoppingCartUpdateInfoDto } };
40
+ return { bundles: { required: true, type: () => [require("../../sys03/shopping-cart/shopping-cart.entity").UpdateShoppingCartBundlePromotionsDto] }, updateInfo: { required: true, type: () => require("../../common/edge-bss/shopping-cart/req/other.entity").ShoppingCartUpdateInfoDto } };
42
41
  }
43
42
  }
44
43
  exports.UpdateShoppingCartPromotionsDto = UpdateShoppingCartPromotionsDto;
45
- class UpdateShoppingCartContractsDto extends shopping_cart_1.UpdateShoppingCartContractsDto {
44
+ class UpdateShoppingCartContractsDto {
46
45
  static _OPENAPI_METADATA_FACTORY() {
47
- return { updateInfo: { required: true, type: () => require("../../common/edge-bss/shopping-cart/req/other.entity").ShoppingCartUpdateInfoDto } };
46
+ return { bundles: { required: true, type: () => [require("../../sys03/shopping-cart/shopping-cart.entity").UpdateShoppingCartBundleContractDto] }, updateInfo: { required: true, type: () => require("../../common/edge-bss/shopping-cart/req/other.entity").ShoppingCartUpdateInfoDto } };
48
47
  }
49
48
  }
50
49
  exports.UpdateShoppingCartContractsDto = UpdateShoppingCartContractsDto;
@@ -197,5 +197,6 @@ export declare const E_ENUM_VALUE_EQUIVALENCE = "E_ENUM_VALUE_EQUIVALENCE";
197
197
  export declare const E_CREATE_PRODUCT_ORDER = "E_CREATE_PRODUCT_ORDER";
198
198
  export declare const E_DROPDOWN_BY_FIELD_VALUE_TYPE_MISMATCHING = "E_DROPDOWN_BY_FIELD_VALUE_TYPE_MISMATCHING";
199
199
  export declare const E_PRODUCT_TRANSITION_GROUP_AGGRUPATION_BUNDLE_TYPE_CONFIGURATION_CONFLICT = "E_PRODUCT_TRANSITION_GROUP_AGGRUPATION_BUNDLE_TYPE_CONFIGURATION_CONFLICT";
200
+ export declare const E_SEARCH_TRANSFERED_PRODUCTS = "E_SEARCH_TRANSFERED_PRODUCTS";
200
201
  export declare const E_PRODUCT_TRANSITION_GROUP_AGGRUPATION_BUNDLE_TYPE_CONFIGURATION_NOT_MAIN_BUNDLE = "E_PRODUCT_TRANSITION_GROUP_AGGRUPATION_BUNDLE_TYPE_CONFIGURATION_NOT_MAIN_BUNDLE";
201
202
  export declare const E_SALE_PROCESS_FILE_WITHOUT_APPROVAL = "E_SALE_PROCESS_FILE_WITHOUT_APPROVAL";
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.E_UPDATE_BILLING_ACCOUNT = exports.E_CREATE_BILLING_ACCOUNT = exports.E_FETCH_ADDRESS = exports.E_CREATE_ADDRESS = exports.E_FIBER_NOT_AVAILABLE_FOR_THIS_NETWORK = exports.E_UPDATE_SHOPPING_CART_CONFIGURATION = exports.E_CIF_VALIDATION = exports.E_NIE_VALIDATION = exports.E_DNI_VALIDATION = exports.E_SET_SHOPPING_CART_PROMOTIONS = exports.E_SET_SHOPPING_CART_CONTRACT = exports.E_FETCH_AVAILABLE_NUMBERS_FROM_POOL = exports.E_PROVINCE_WITHOUT_PREFIXES = exports.E_SERVER = exports.E_CONNECTION_REFUSED = exports.E_VALIDATION = exports.E_BODY_NOT_OBJECT = exports.E_BODY_NOT_ARRAY = exports.E_BODY_NOT_PROVIDED = exports.E_NO_CHANNEL_SELECTED = exports.E_CHANGE_CHANNEL = exports.E_SERVICE_UNAVAILABLE = exports.E_INVALID_USER_CREDENTIALS = exports.E_JIRA = exports.E_TASK4WORK = exports.E_INFONOVA = exports.E_BP_INTERNAL_SERVER_ERROR = exports.E_UPDATE_SHOPPING_CART_EXTRAS = exports.E_EMPTY_SHOPPING_CART = exports.E_BUNDLE_CONFIGURATION_ATTRIBUTE_MISMATCHING = exports.E_PERSIST_SHOPPING_CART = exports.E_SAVE_SHOPPING_CART = exports.E_CREATE_SHOPPING_CART = exports.E_FETCH_PRODUCT_DEFAULT_SUMMARY = exports.E_FETCH_SHOPPING_CART_TRANSITION_ONLY_MOBILES = exports.E_FETCH_SHOPPING_CART_MODIFICATION = exports.E_FETCH_SHOPPING_CART_CONFIGURATION = exports.E_FETCH_SHOPPING_CART_SUMMARY = exports.E_FETCH_SHOPPING_CART_AVAILABLE_EXTRAS = exports.E_FETCH_SHOPPING_CART_AVAILABLE_PRODUCT = exports.E_FETCH_SHOPPING_CART_AVAILABLE_PRODUCTS = exports.E_FETCH_PRODUCT_OFFERINGS = exports.E_ASSIGN_SALESPERSON = exports.E_ASSIGN_ROLE_TENENT = exports.E_CREATE_USER = exports.E_UPDATE_PASSWORD = exports.E_ASSIGN_CHANNELS = exports.E_ENTRAID_LOGIN = exports.E_LOGIN = exports.E_TIMEOUT = void 0;
4
4
  exports.E_INVALID_SALE_PROCESS_STATUS = exports.E_USER_ROLE_UNKNOWN = exports.E_USER_WITHOUT_ROLE = exports.E_RESERVE_NUMBER_FROM_POOL = exports.E_FETCH_NUMBER_FROM_POOL = exports.E_WHOLESALE_APARTMENT_BLACKLISTED = exports.E_USER_SALE_PROCESS_PERMISSION = exports.E_UPDATE_CACHE_RECORD = exports.E_DELETE_CACHE_RECORD = exports.E_UPDATE_PRODUCT_CATALOG = exports.E_DELETE_PRODUCT_CATALOG = exports.E_FETCH_ORGANIZATION_PARTY = exports.E_FETCH_INDIVIDUAL_PARTY = exports.E_FETCH_PAYMENT_METHOD = exports.E_FETCH_MANDATE = exports.E_FETCH_BILLING_ACCOUNT = exports.E_FETCH_PRODUCT_INVENTORY = exports.E_FETCH_ORGANIZATION_PARTIES = exports.E_FETCH_INDIVIDUAL_PARTIES = exports.E_DOWNLOAD_INVOICE = exports.E_FETCH_BILLING_ACCOUNT_DETAILS = exports.E_INVALID_IBAN_ACCOUNT_NUMBER_CONTROL_CODE = exports.E_INVALID_IBAN_MOD = exports.E_INVALID_IBAN_FORMAT = exports.E_INVALID_IBAN_LENGTH = exports.E_INVALID_IBAN_ISO_CODE = exports.E_IBAN_SUPPORTED_COUNTRIES_ARE_REQUIRED = exports.E_IBAN_IS_REQUIRED = exports.E_IBAN_COUNTRY_NOT_SUPPORTED = exports.E_SPAIN_NOT_ALLOWED = exports.E_EMAIL_INVALID_FORMAT = exports.E_PHONE_INVALID_FORMAT = exports.E_PHONE_INVALID_LENGTH = exports.E_VALIDATE_SHOPPING_CART = exports.E_FETCH_CHANNEL_USERS = exports.E_SFTP_DOWNLOAD = exports.E_SFTP_UPLOAD = exports.E_SFTP_LIST = exports.E_SFTP_CONNECT = exports.E_FTP_RENAME = exports.E_FTP_REMOVE = exports.E_FTP_DOWNLOAD = exports.E_FTP_UPLOAD = exports.E_SUBMIT_SHOPPING_CART = exports.E_FETCH_SHOPPING_CART = exports.E_CREATE_PAYMENT = exports.E_UPDATE_PAYMENT_METHOD = exports.E_CREATE_PAYMENT_METHOD = exports.E_UPDATE_MANDATE = exports.E_CREATE_MANDATE = void 0;
5
5
  exports.E_APPROVAL_FORBIDDEN_VALIDATION = exports.E_APPROVAL_FORBIDDEN_STATUS = exports.E_APPROVAL_DATA_WITHOUT_CHANGES = exports.E_APPROVAL_DATA_WITHOUT_RESPONSE = exports.E_SALE_PROCESS_PENDING_APPROVAL_UNSOLVED = exports.E_SALE_PROCESS_PENDING_APPROVAL = exports.E_CSV_INVALID_RECORDS = exports.E_CSV_INVALID_RECORD_LENGTH = exports.E_PARSE_CSV = exports.E_PUT_LOOKUP_OPTIONS = exports.E_USER_INACTIVE = exports.E_USER_WITHOUT_TENANTS = exports.E_USER_WITH_EMPTY_WORKGROUP_PERMISSIONS = exports.E_USER_WITHOUT_WORKGROUPS = exports.E_USER_WITHOUT_AUTH = exports.E_BI_SALES_EXTRACTION = exports.E_FETCH_AVAILABLE_CHARGES_AND_CREDITS = exports.E_FETCH_PRODUCT_ORDER = exports.E_FETCH_PRODUCT_ORDERS = exports.E_SALE_PROCESS_DOCUMENTS_REQUIRED = exports.E_SALE_PROCESS_UNKNOWN_COMPANY_TYPE = exports.E_SALE_PROCESS_UNKNOWN_CUSTOMER_TYPE = exports.E_SALE_PROCESS_BUSINESS_CUSTOMER_WITHOUT_INFO = exports.E_SALE_PROCESS_BUSINESS_CUSTOMER_WITHOUT_IDENTIFICATION = exports.E_SALE_PROCESS_RESIDENTIAL_CUSTOMER_WITHOUT_IDENTIFICATION = exports.E_SALE_PROCESS_WITHOUT_CHANGES = exports.E_SALE_PROCESS_WITHOUT_IBAN_VALIDATION_ID = exports.E_SALE_PROCESS_WITHOUT_SHOPPING_CART = exports.E_APPLY_CHARGE = exports.E_PRODUCT_SERVICE_MISSING = exports.E_SALE_PROCESS_APARTMENT_BREACHES_RETAIL_EXCLUSIVITY_RULES = exports.E_APARTMENT_BREACHES_RETAIL_EXCLUSIVITY_RULES = exports.E_ADDRESS_BREACHES_RETAIL_EXCLUSIVITY_RULES = exports.E_UPDATE_PRODUCT_CATALOG_CACHE = exports.E_ENTRY_FOREIGN_KEY_CONSTRAINT = exports.E_DUPLICATE_ENTRY = exports.E_UNHANDLED_KEY = exports.E_LOGIN_MAX_ATTEMPTS_REACHED = exports.E_TOO_MANY_REQUESTS = exports.E_UPLOAD_SALE_PROCESS_CONTRACT = exports.E_FETCH_USER_CHANNELS = exports.E_UNAUTHORIZED = exports.E_USER_NOT_FOUND_WITHOUT_CHANNELS = exports.E_USER_WITHOUT_CHANNELS = exports.E_FETCH_SHOPPING_CART_PROMOTIONS_AND_CONTRACTS = exports.E_FETCH_SHOPPING_CART_FEATURES = exports.E_NOT_IMPLEMENTED = exports.E_NOT_BASE_BUNDLE = exports.E_NO_SELECTED_CHANNEL = exports.E_FETCH_LOOKUP_OPTIONS = void 0;
6
- exports.E_PRODUCT_TRANSITION_GROUP_AGGRUPATION_BUNDLE_TYPE_CONFIGURATION_NOT_MAIN_BUNDLE = exports.E_PRODUCT_TRANSITION_GROUP_AGGRUPATION_BUNDLE_TYPE_CONFIGURATION_CONFLICT = exports.E_DROPDOWN_BY_FIELD_VALUE_TYPE_MISMATCHING = exports.E_CREATE_PRODUCT_ORDER = exports.E_ENUM_VALUE_EQUIVALENCE = exports.E_SHOPPING_CART_CONFIGURATION_FEATURE_GROUP_INCONSISTENT_MIN_MAX = exports.E_SALE_PROCESS_CREDIT_BUREAU_VALIDATION_REJECTED = exports.E_CHANGE_OF_ADDRESS_INTERMEDIATE_BUNDLE_CONFIGURATION_ATTRIBUTE_MISMATCHING = exports.E_PRODUCT_ACTION_DISABLED_CHANGE_OF_ADDRESS_2ND_PHASE_IN_PROGRESS = exports.E_PRODUCT_ACTION_DISABLED_NOT_INTERMEDIATE_PRODUCT = exports.E_HANDLE_SHOPPING_CART_BUNDLE_VOIP_PRODUCT_AGAINST_NUMBER_POOL = exports.E_SHOPPING_CART_WITHOUT_PROVINCE_PARAMETER = exports.E_AGGRUPATION_CREATION_NOT_ALLOWED = exports.E_SHOPPING_CART_APARTMENT_BUSINESS_RULE = exports.E_PROVINCE_WITHOUT_AVAILABLE_VOIP_NUMBERS = exports.E_SHOPPING_CART_DEPRECATED = exports.E_APPROVAL_MODIFY_DISABLED_IBAN_VALIDATION_MAX_INTENTS_REACHED = exports.E_APPROVAL_WITHOUT_VALIDATION = exports.E_APPROVAL_IBAN_VALIDATION_UNHANDLED_STATUS = exports.E_APPROVAL_IBAN_VALIDATION_MAX_INTENTS_REACHED = exports.E_APPROVAL_IBAN_VALIDATION_PENDING = exports.E_APPROVAL_IBAN_VALIDATION_ERROR = exports.E_APPROVAL_IBAN_VALIDATION_UNSUPPORTED = exports.E_APPROVAL_IBAN_VALIDATION_REJECTED = exports.E_SALE_PROCESS_FORBIDDEN_APPROVAL = exports.E_SALE_PROCESS_FORBIDDEN_STATUS = exports.E_SALE_PROCESS_IBAN_VALIDATION_UNHANDLED_STATUS = exports.E_SALE_PROCESS_IBAN_VALIDATION_PENDING = exports.E_SALE_PROCESS_IBAN_VALIDATION_REJECTED = exports.E_CHARACTERISTIC_NOT_CHANGEABLE = exports.E_BUNDLE_NOT_AVAILABLE_IN_CHANNEL = exports.E_UNKNOWN_CACHE_KEY = exports.E_FILTER_PRODUCT_BY_PARAMETERS = exports.E_FETCH_CHARGES_AND_CREDITS = exports.E_FETCH_SERVICE_INVENTORY_BY_ID = exports.E_FETCH_PRODUCT_INVENTORY_BY_ID = exports.E_ENCRYPTION_KEY = exports.E_FETCH_BILLS = exports.E_PATCH_BILLING_STATE = exports.E_FETCH_ORDER_HIERARCHY = exports.E_FETCH_WORK_ORDERS = exports.E_FETCH_ORDERS = exports.E_FILTERS_REQUIRED = exports.E_RESOLVE_TASKS = exports.E_FETCH_TASKS = exports.E_FETCH_TASK_NOTES = exports.E_PATCH_TASK = exports.E_FETCH_TASK = exports.E_CREATE_TASK = exports.E_DIGITEL_PROCESS_ERROR = void 0;
7
- exports.E_SALE_PROCESS_FILE_WITHOUT_APPROVAL = void 0;
6
+ exports.E_SEARCH_TRANSFERED_PRODUCTS = exports.E_PRODUCT_TRANSITION_GROUP_AGGRUPATION_BUNDLE_TYPE_CONFIGURATION_CONFLICT = exports.E_DROPDOWN_BY_FIELD_VALUE_TYPE_MISMATCHING = exports.E_CREATE_PRODUCT_ORDER = exports.E_ENUM_VALUE_EQUIVALENCE = exports.E_SHOPPING_CART_CONFIGURATION_FEATURE_GROUP_INCONSISTENT_MIN_MAX = exports.E_SALE_PROCESS_CREDIT_BUREAU_VALIDATION_REJECTED = exports.E_CHANGE_OF_ADDRESS_INTERMEDIATE_BUNDLE_CONFIGURATION_ATTRIBUTE_MISMATCHING = exports.E_PRODUCT_ACTION_DISABLED_CHANGE_OF_ADDRESS_2ND_PHASE_IN_PROGRESS = exports.E_PRODUCT_ACTION_DISABLED_NOT_INTERMEDIATE_PRODUCT = exports.E_HANDLE_SHOPPING_CART_BUNDLE_VOIP_PRODUCT_AGAINST_NUMBER_POOL = exports.E_SHOPPING_CART_WITHOUT_PROVINCE_PARAMETER = exports.E_AGGRUPATION_CREATION_NOT_ALLOWED = exports.E_SHOPPING_CART_APARTMENT_BUSINESS_RULE = exports.E_PROVINCE_WITHOUT_AVAILABLE_VOIP_NUMBERS = exports.E_SHOPPING_CART_DEPRECATED = exports.E_APPROVAL_MODIFY_DISABLED_IBAN_VALIDATION_MAX_INTENTS_REACHED = exports.E_APPROVAL_WITHOUT_VALIDATION = exports.E_APPROVAL_IBAN_VALIDATION_UNHANDLED_STATUS = exports.E_APPROVAL_IBAN_VALIDATION_MAX_INTENTS_REACHED = exports.E_APPROVAL_IBAN_VALIDATION_PENDING = exports.E_APPROVAL_IBAN_VALIDATION_ERROR = exports.E_APPROVAL_IBAN_VALIDATION_UNSUPPORTED = exports.E_APPROVAL_IBAN_VALIDATION_REJECTED = exports.E_SALE_PROCESS_FORBIDDEN_APPROVAL = exports.E_SALE_PROCESS_FORBIDDEN_STATUS = exports.E_SALE_PROCESS_IBAN_VALIDATION_UNHANDLED_STATUS = exports.E_SALE_PROCESS_IBAN_VALIDATION_PENDING = exports.E_SALE_PROCESS_IBAN_VALIDATION_REJECTED = exports.E_CHARACTERISTIC_NOT_CHANGEABLE = exports.E_BUNDLE_NOT_AVAILABLE_IN_CHANNEL = exports.E_UNKNOWN_CACHE_KEY = exports.E_FILTER_PRODUCT_BY_PARAMETERS = exports.E_FETCH_CHARGES_AND_CREDITS = exports.E_FETCH_SERVICE_INVENTORY_BY_ID = exports.E_FETCH_PRODUCT_INVENTORY_BY_ID = exports.E_ENCRYPTION_KEY = exports.E_FETCH_BILLS = exports.E_PATCH_BILLING_STATE = exports.E_FETCH_ORDER_HIERARCHY = exports.E_FETCH_WORK_ORDERS = exports.E_FETCH_ORDERS = exports.E_FILTERS_REQUIRED = exports.E_RESOLVE_TASKS = exports.E_FETCH_TASKS = exports.E_FETCH_TASK_NOTES = exports.E_PATCH_TASK = exports.E_FETCH_TASK = exports.E_CREATE_TASK = exports.E_DIGITEL_PROCESS_ERROR = void 0;
7
+ exports.E_SALE_PROCESS_FILE_WITHOUT_APPROVAL = exports.E_PRODUCT_TRANSITION_GROUP_AGGRUPATION_BUNDLE_TYPE_CONFIGURATION_NOT_MAIN_BUNDLE = void 0;
8
8
  exports.E_TIMEOUT = 'E_TIMEOUT';
9
9
  exports.E_LOGIN = 'E_LOGIN';
10
10
  exports.E_ENTRAID_LOGIN = 'E_ENTRAID_LOGIN';
@@ -204,5 +204,6 @@ exports.E_ENUM_VALUE_EQUIVALENCE = 'E_ENUM_VALUE_EQUIVALENCE';
204
204
  exports.E_CREATE_PRODUCT_ORDER = 'E_CREATE_PRODUCT_ORDER';
205
205
  exports.E_DROPDOWN_BY_FIELD_VALUE_TYPE_MISMATCHING = 'E_DROPDOWN_BY_FIELD_VALUE_TYPE_MISMATCHING';
206
206
  exports.E_PRODUCT_TRANSITION_GROUP_AGGRUPATION_BUNDLE_TYPE_CONFIGURATION_CONFLICT = 'E_PRODUCT_TRANSITION_GROUP_AGGRUPATION_BUNDLE_TYPE_CONFIGURATION_CONFLICT';
207
+ exports.E_SEARCH_TRANSFERED_PRODUCTS = 'E_SEARCH_TRANSFERED_PRODUCTS';
207
208
  exports.E_PRODUCT_TRANSITION_GROUP_AGGRUPATION_BUNDLE_TYPE_CONFIGURATION_NOT_MAIN_BUNDLE = 'E_PRODUCT_TRANSITION_GROUP_AGGRUPATION_BUNDLE_TYPE_CONFIGURATION_NOT_MAIN_BUNDLE';
208
209
  exports.E_SALE_PROCESS_FILE_WITHOUT_APPROVAL = 'E_SALE_PROCESS_FILE_WITHOUT_APPROVAL';
@@ -1,6 +1,6 @@
1
- import { ShoppingCartConfigurationAddressResDto } from '..';
2
1
  import { ShoppingCartParametersDto } from '../../../../bss/bearingpoint';
3
2
  import { Builder } from '../../../helpers/helpers';
3
+ import { CreateShoppingCartConfigurationServiceSpecificationCharacteristicValue } from '../../../../bss/shopping-cart';
4
4
  export declare class ShoppingCartUpdateInfoDto {
5
5
  channel: string;
6
6
  username: string;
@@ -85,7 +85,7 @@ export declare class UpdateShoppingCartConfigurationProductDtoBuilder extends Bu
85
85
  }
86
86
  export declare class UpdateShoppingCartServiceSpecificationItemDto {
87
87
  name: string;
88
- value?: string | ShoppingCartConfigurationAddressResDto;
88
+ value?: CreateShoppingCartConfigurationServiceSpecificationCharacteristicValue;
89
89
  }
90
90
  export declare class UpdateShoppingCartServiceSpecificationItemDtoBuilder extends Builder<UpdateShoppingCartServiceSpecificationItemDto> {
91
91
  setDefaults(): UpdateShoppingCartServiceSpecificationItemDto;
@@ -13,11 +13,11 @@ exports.AvailableProductsQueryDto = exports.UpdateShoppingCartServiceSpecificati
13
13
  const openapi = require("@nestjs/swagger");
14
14
  const class_transformer_1 = require("class-transformer");
15
15
  const class_validator_1 = require("class-validator");
16
- const __1 = require("..");
17
16
  const bearingpoint_1 = require("../../../../bss/bearingpoint");
18
17
  const _validators_1 = require("../../../../validators/index");
19
18
  const helpers_1 = require("../../../helpers/helpers");
20
19
  const faker_1 = require("@faker-js/faker");
20
+ const shopping_cart_1 = require("../../../../bss/shopping-cart");
21
21
  class ShoppingCartUpdateInfoDto {
22
22
  static _OPENAPI_METADATA_FACTORY() {
23
23
  return { channel: { required: true, type: () => String }, username: { required: true, type: () => String } };
@@ -370,7 +370,7 @@ class UpdateShoppingCartServiceSpecificationItemDtoBuilder extends helpers_1.Bui
370
370
  const { key: name } = (0, helpers_1.fakerCommerceProductNameAndKey)();
371
371
  return {
372
372
  name,
373
- value: new __1.ShoppingCartConfigurationAddressResDtoBuilder().build()
373
+ value: new shopping_cart_1.CreateShoppingCartConfigurationServiceSpecificationAddressCharacteristicValueDtoBuilder().build()
374
374
  };
375
375
  }
376
376
  static _OPENAPI_METADATA_FACTORY() {
@@ -1,8 +1,7 @@
1
1
  import { ShoppingCartEntityParametersDto, ShoppingCartParametersDto } from '../../../../bss/bearingpoint';
2
2
  import { BssChargeType, ShoppingCartProductAction } from '../../../../bss/constants';
3
- import { ExtendedShoppingCartConfigurationServiceSpecificationCharacteristicDto, ShoppingCartConfigurationServiceSpecificationCharacteristicDto } from '../../../../bss/shopping-cart';
3
+ import { ExtendedShoppingCartConfigurationServiceSpecificationCharacteristicDto, ShoppingCartConfigurationServiceSpecificationCharacteristicDto, ShoppingCartConfigurationServiceSpecificationCharacteristicValue } from '../../../../bss/shopping-cart';
4
4
  import { ShoppingCartProductType } from '../../../constants';
5
- import { Builder } from '../../../helpers/helpers';
6
5
  import { ShoppingCartConfigurationAttributeDto } from '../../../../sys03/shopping-cart';
7
6
  export declare class ShoppingCartAvailableProductResDto {
8
7
  name: string;
@@ -158,7 +157,7 @@ export declare class ShoppingCartConfigurationProductBssResDto {
158
157
  characteristics: ShoppingCartConfigurationCharacteristicResDto[];
159
158
  serviceSpecification?: ShoppingCartConfigurationServiceSpecificationCharacteristicDto[];
160
159
  serviceCharacteristicName?: string;
161
- serviceCharacteristicValue?: string | ShoppingCartConfigurationAddressResDto;
160
+ serviceCharacteristicValue?: ShoppingCartConfigurationServiceSpecificationCharacteristicValue;
162
161
  serviceParameters?: ShoppingCartEntityParametersDto;
163
162
  parameters?: ShoppingCartParametersDto;
164
163
  }
@@ -174,26 +173,9 @@ export declare class ShoppingCartConfigurationProductResDto {
174
173
  characteristics: ShoppingCartConfigurationCharacteristicResDto[];
175
174
  serviceSpecification?: ExtendedShoppingCartConfigurationServiceSpecificationCharacteristicDto[];
176
175
  serviceCharacteristicName?: string;
177
- serviceCharacteristicValue?: string | ShoppingCartConfigurationAddressResDto;
176
+ serviceCharacteristicValue?: ShoppingCartConfigurationServiceSpecificationCharacteristicValue;
178
177
  parameters?: ShoppingCartParametersDto;
179
178
  }
180
- export declare class ShoppingCartConfigurationAddressResDto {
181
- country?: string;
182
- postcode: string;
183
- province: string;
184
- city: string;
185
- streetType: string;
186
- streetName: string;
187
- streetNumber: string;
188
- block?: string;
189
- floor: string;
190
- door: string;
191
- entrance?: string;
192
- apartmentId?: string;
193
- }
194
- export declare class ShoppingCartConfigurationAddressResDtoBuilder extends Builder<ShoppingCartConfigurationAddressResDto> {
195
- setDefaults(): ShoppingCartConfigurationAddressResDto;
196
- }
197
179
  export declare class ShoppingCartInfoDto {
198
180
  name: string;
199
181
  internalName: string;
@@ -1,19 +1,7 @@
1
1
  "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
2
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.ShoppingCartInfoServiceCharacteristicDto = exports.ShoppingCartInfoServiceDto = exports.ShoppingCartInfoCharacteristicDto = exports.ShoppingCartInfoProductDto = exports.ShoppingCartBundleInfoDto = exports.ShoppingCartBundlesInfoDto = exports.ShoppingCartInfoDto = exports.ShoppingCartConfigurationAddressResDtoBuilder = exports.ShoppingCartConfigurationAddressResDto = exports.ShoppingCartConfigurationProductResDto = exports.ShoppingCartConfigurationProductBssResDto = exports.ShoppingCartConfigurationChargeResDto = exports.ShoppingCartConfigurationCharacteristicResDto = exports.ShoppingCartConfigurationPriceResDto = exports.ShoppingCartConfigurationCharacteristicGroupResDto = exports.ShoppingCartConfigurationFeaturesResDto = exports.ShoppingCartBundlesConfigurationResDto = exports.ShoppingCartConfigurationResDto = exports.ShoppingCartFeaturesResDto = exports.ShoppingCartConfigurationBundleResDto = exports.ShoppingCartConfigurationBundleBssResDto = exports.ShoppingCartBundlesConfigurationBssResDto = exports.ShoppingCartConfigurationBssResDto = exports.ShoppingCartAvailableProductWithIdAndInfoResDto = exports.ShoppingCartAvailableProductWithIdResDto = exports.ShoppingCartAvailableProductBundleProductsDto = exports.ShoppingCartAvailableProductBundleProductsMobileDto = exports.ShoppingCartAvailableProductBundleProductsMobileProductDto = exports.ShoppingCartAvailableProductBundleProductsFiberDto = exports.ShoppingCartAvailableProductBundleProductsFiberProductDto = exports.ShoppingCartAvailableProductBundleProductsFiberProductBandwidthDto = exports.ShoppingCartAvailableProductInfoDto = exports.ShoppingCartAvailableProductResDto = void 0;
3
+ exports.ShoppingCartInfoServiceCharacteristicDto = exports.ShoppingCartInfoServiceDto = exports.ShoppingCartInfoCharacteristicDto = exports.ShoppingCartInfoProductDto = exports.ShoppingCartBundleInfoDto = exports.ShoppingCartBundlesInfoDto = exports.ShoppingCartInfoDto = exports.ShoppingCartConfigurationProductResDto = exports.ShoppingCartConfigurationProductBssResDto = exports.ShoppingCartConfigurationChargeResDto = exports.ShoppingCartConfigurationCharacteristicResDto = exports.ShoppingCartConfigurationPriceResDto = exports.ShoppingCartConfigurationCharacteristicGroupResDto = exports.ShoppingCartConfigurationFeaturesResDto = exports.ShoppingCartBundlesConfigurationResDto = exports.ShoppingCartConfigurationResDto = exports.ShoppingCartFeaturesResDto = exports.ShoppingCartConfigurationBundleResDto = exports.ShoppingCartConfigurationBundleBssResDto = exports.ShoppingCartBundlesConfigurationBssResDto = exports.ShoppingCartConfigurationBssResDto = exports.ShoppingCartAvailableProductWithIdAndInfoResDto = exports.ShoppingCartAvailableProductWithIdResDto = exports.ShoppingCartAvailableProductBundleProductsDto = exports.ShoppingCartAvailableProductBundleProductsMobileDto = exports.ShoppingCartAvailableProductBundleProductsMobileProductDto = exports.ShoppingCartAvailableProductBundleProductsFiberDto = exports.ShoppingCartAvailableProductBundleProductsFiberProductDto = exports.ShoppingCartAvailableProductBundleProductsFiberProductBandwidthDto = exports.ShoppingCartAvailableProductInfoDto = exports.ShoppingCartAvailableProductResDto = void 0;
13
4
  const openapi = require("@nestjs/swagger");
14
- const helpers_1 = require("../../../helpers/helpers");
15
- const class_transformer_1 = require("class-transformer");
16
- const class_validator_1 = require("class-validator");
17
5
  class ShoppingCartAvailableProductResDto {
18
6
  static _OPENAPI_METADATA_FACTORY() {
19
7
  return { name: { required: true, type: () => String }, displayName: { required: true, type: () => String }, displayDescription: { required: true, type: () => String }, configurationAttributes: { required: false, type: () => [require("../../../../sys03/shopping-cart/shopping-cart.common.entity").ShoppingCartConfigurationAttributeDto] } };
@@ -158,92 +146,6 @@ class ShoppingCartConfigurationProductResDto {
158
146
  }
159
147
  }
160
148
  exports.ShoppingCartConfigurationProductResDto = ShoppingCartConfigurationProductResDto;
161
- class ShoppingCartConfigurationAddressResDto {
162
- constructor() {
163
- this.block = '';
164
- this.floor = '';
165
- this.door = '';
166
- this.entrance = '';
167
- }
168
- static _OPENAPI_METADATA_FACTORY() {
169
- return { country: { required: false, type: () => String }, postcode: { required: true, type: () => String, pattern: "/^[0-9]{1,5}$/" }, province: { required: true, type: () => String }, city: { required: true, type: () => String }, streetType: { required: true, type: () => String }, streetName: { required: true, type: () => String }, streetNumber: { required: true, type: () => String }, block: { required: false, type: () => Object, default: "" }, floor: { required: true, type: () => Object, default: "" }, door: { required: true, type: () => Object, default: "" }, entrance: { required: false, type: () => Object, default: "" }, apartmentId: { required: false, type: () => String } };
170
- }
171
- }
172
- exports.ShoppingCartConfigurationAddressResDto = ShoppingCartConfigurationAddressResDto;
173
- __decorate([
174
- (0, class_validator_1.IsString)(),
175
- (0, class_validator_1.Matches)(/^[0-9]{1,5}$/),
176
- (0, class_transformer_1.Transform)(({ value }) => {
177
- if (value && value.length < 5) {
178
- return value.toString().padStart(5, '0');
179
- }
180
- return value;
181
- }),
182
- __metadata("design:type", String)
183
- ], ShoppingCartConfigurationAddressResDto.prototype, "postcode", void 0);
184
- __decorate([
185
- (0, class_validator_1.IsString)(),
186
- (0, class_validator_1.IsNotEmpty)(),
187
- __metadata("design:type", String)
188
- ], ShoppingCartConfigurationAddressResDto.prototype, "province", void 0);
189
- __decorate([
190
- (0, class_validator_1.IsString)(),
191
- (0, class_validator_1.IsNotEmpty)(),
192
- __metadata("design:type", String)
193
- ], ShoppingCartConfigurationAddressResDto.prototype, "city", void 0);
194
- __decorate([
195
- (0, class_validator_1.IsString)(),
196
- (0, class_validator_1.IsNotEmpty)(),
197
- __metadata("design:type", String)
198
- ], ShoppingCartConfigurationAddressResDto.prototype, "streetType", void 0);
199
- __decorate([
200
- (0, class_validator_1.IsString)(),
201
- (0, class_validator_1.IsNotEmpty)(),
202
- __metadata("design:type", String)
203
- ], ShoppingCartConfigurationAddressResDto.prototype, "streetName", void 0);
204
- __decorate([
205
- (0, class_validator_1.IsString)(),
206
- (0, class_validator_1.IsNotEmpty)(),
207
- __metadata("design:type", String)
208
- ], ShoppingCartConfigurationAddressResDto.prototype, "streetNumber", void 0);
209
- __decorate([
210
- (0, class_validator_1.IsString)(),
211
- __metadata("design:type", Object)
212
- ], ShoppingCartConfigurationAddressResDto.prototype, "block", void 0);
213
- __decorate([
214
- (0, class_validator_1.IsString)(),
215
- __metadata("design:type", Object)
216
- ], ShoppingCartConfigurationAddressResDto.prototype, "floor", void 0);
217
- __decorate([
218
- (0, class_validator_1.IsString)(),
219
- __metadata("design:type", Object)
220
- ], ShoppingCartConfigurationAddressResDto.prototype, "door", void 0);
221
- __decorate([
222
- (0, class_validator_1.IsString)(),
223
- __metadata("design:type", Object)
224
- ], ShoppingCartConfigurationAddressResDto.prototype, "entrance", void 0);
225
- class ShoppingCartConfigurationAddressResDtoBuilder extends helpers_1.Builder {
226
- setDefaults() {
227
- return {
228
- country: 'ES',
229
- postcode: '08506',
230
- province: 'BARCELONA',
231
- city: 'CALLDETENES',
232
- streetType: 'CL',
233
- streetName: 'UNIO',
234
- streetNumber: '23',
235
- block: '',
236
- floor: 'BA ',
237
- door: '',
238
- entrance: '',
239
- apartmentId: '937367'
240
- };
241
- }
242
- static _OPENAPI_METADATA_FACTORY() {
243
- return {};
244
- }
245
- }
246
- exports.ShoppingCartConfigurationAddressResDtoBuilder = ShoppingCartConfigurationAddressResDtoBuilder;
247
149
  class ShoppingCartInfoDto {
248
150
  static _OPENAPI_METADATA_FACTORY() {
249
151
  return { name: { required: true, type: () => String }, internalName: { required: true, type: () => String }, billText: { required: true, type: () => String }, products: { required: true, type: () => [require("./other.entity").ShoppingCartInfoProductDto] }, characteristics: { required: true, type: () => [require("./other.entity").ShoppingCartInfoCharacteristicDto] }, parameters: { required: false, type: () => require("../../../../bss/bearingpoint/shopping-cart/shopping-cart-parameters.entity").ShoppingCartParametersDto } };
@@ -1,9 +1,10 @@
1
1
  import { ShoppingCartDto, ShoppingCartParametersDto } from '../../bss/bearingpoint';
2
2
  import { BssChargeType, ShoppingCartProductAction } from '../../bss/constants';
3
3
  import { ShoppingCartProductType } from '../../common/constants';
4
- import { ShoppingCartConfigurationAddressResDto, ShoppingCartInfoServiceCharacteristicDto } from '../../common/edge-bss';
4
+ import { ShoppingCartInfoServiceCharacteristicDto } from '../../common/edge-bss';
5
5
  import { ShoppingCartConfigurationAttributeDto } from './shopping-cart.common.entity';
6
6
  import { ChargeAndCreditType } from '../../bss/charge/charge.constants';
7
+ import { ShoppingCartConfigurationServiceSpecificationCharacteristicValue } from '../../bss/shopping-cart';
7
8
  export declare class ShoppingCartSummaryContractResDto {
8
9
  name: string;
9
10
  months: number;
@@ -57,7 +58,7 @@ export declare class ShoppingCartSummaryBundleProductResDto {
57
58
  characteristics: ShoppingCartSummaryCharacteristicResDto[];
58
59
  servicesCharacteristics: ShoppingCartInfoServiceCharacteristicDto[];
59
60
  serviceCharacteristicName?: string;
60
- serviceCharacteristicValue?: string | ShoppingCartConfigurationAddressResDto;
61
+ serviceCharacteristicValue?: ShoppingCartConfigurationServiceSpecificationCharacteristicValue;
61
62
  total: number;
62
63
  isMandatory: boolean;
63
64
  prices: ShoppingCartSummaryPriceResDto[];