adamo-types 1.1.25 → 1.1.28

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.
@@ -5,6 +5,7 @@ export declare enum ConfigurationAttributeType {
5
5
  COMPETITION = "COMPETITION",
6
6
  FIBERHOOD = "FIBERHOOD",
7
7
  INSTALLATION_COST = "INSTALLATION_COST",
8
+ MOBILE_VISIBILITY = "MOBILE_VISIBILITY",
8
9
  NETWORK = "NETWORK",
9
10
  PROJECT_CODE = "PROJECT_CODE",
10
11
  PROMOTION = "PROMOTION",
@@ -13,6 +14,11 @@ export declare enum ConfigurationAttributeType {
13
14
  SERVICEABLE_AGE = "SERVICEABLE_AGE",
14
15
  SYS02 = "SYS02"
15
16
  }
17
+ export declare enum MobileVisibilityType {
18
+ ONLY_MOBILE = "ONLY_MOBILE",
19
+ SHARED_DATA = "SHARED_DATA",
20
+ MAIN_SHARED_DATA = "MAIN_SHARED_DATA"
21
+ }
16
22
  export declare enum ProductCatalogItemState {
17
23
  ACTIVE = "Active",
18
24
  PENDING_ACTIVE = "PendingActive",
@@ -265,6 +271,7 @@ export declare enum IndustryType {
265
271
  export declare enum RelatedPartyRoleType {
266
272
  CUSTOMER_ACCOUNT_OWNER = "CUSTOMER_ACCOUNT_OWNER",
267
273
  CUSTOMER_ACCOUNT_CONTACT = "CUSTOMER_ACCOUNT_CONTACT",
274
+ ORGANIZATION_CONTACT = "ORGANIZATION_CONTACT",
268
275
  LEGAL_REPRESENTATIVE = "LEGAL_REPRESENTATIVE",
269
276
  INVOICE = "INVOICE",
270
277
  TECH = "TECH",
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CustomerAccountHistoryType = exports.PaymentMethodType = exports.DeliveryMethod = exports.DocumentType = exports.PartyStateType = exports.RelatedPartyRoleType = exports.IndustryType = exports.CustomerAccountOrganizationEntityType = exports.IdentificationType = exports.ContactMediumTelephoneType = exports.CustomerAccountContactMediumRoleType = exports.CustomerAccountContactMediumContactType = exports.CustomerAccountContactMediumType = exports.CustomerAccountParametersAdamoCustomerIdRep = exports.ContactType = exports.AccountState = exports.PersonTitle = exports.Timezone = exports.PreferredLanguage = exports.EntityType = exports.PartyType = exports.CustomerType = exports.BpPronvinceToArs = exports.ArsPronvinceToBp = exports.ServiceSpecificationDictionary = exports.ServiceSpecificationType = exports.ShoppingCartItemAction = exports.ProrationConditionType = exports.ProrationModeType = exports.AssignmentType = exports.CurrencyType = exports.TaxType = exports.DependencySourceTargetType = exports.DependencyType = exports.ProductCatalogItemState = exports.ConfigurationAttributeType = void 0;
3
+ exports.CustomerAccountHistoryType = exports.PaymentMethodType = exports.DeliveryMethod = exports.DocumentType = exports.PartyStateType = exports.RelatedPartyRoleType = exports.IndustryType = exports.CustomerAccountOrganizationEntityType = exports.IdentificationType = exports.ContactMediumTelephoneType = exports.CustomerAccountContactMediumRoleType = exports.CustomerAccountContactMediumContactType = exports.CustomerAccountContactMediumType = exports.CustomerAccountParametersAdamoCustomerIdRep = exports.ContactType = exports.AccountState = exports.PersonTitle = exports.Timezone = exports.PreferredLanguage = exports.EntityType = exports.PartyType = exports.CustomerType = exports.BpPronvinceToArs = exports.ArsPronvinceToBp = exports.ServiceSpecificationDictionary = exports.ServiceSpecificationType = exports.ShoppingCartItemAction = exports.ProrationConditionType = exports.ProrationModeType = exports.AssignmentType = exports.CurrencyType = exports.TaxType = exports.DependencySourceTargetType = exports.DependencyType = exports.ProductCatalogItemState = exports.MobileVisibilityType = exports.ConfigurationAttributeType = void 0;
4
4
  var ConfigurationAttributeType;
5
5
  (function (ConfigurationAttributeType) {
6
6
  ConfigurationAttributeType["BINDING_PERIOD"] = "BINDING_PERIOD";
@@ -9,6 +9,7 @@ var ConfigurationAttributeType;
9
9
  ConfigurationAttributeType["COMPETITION"] = "COMPETITION";
10
10
  ConfigurationAttributeType["FIBERHOOD"] = "FIBERHOOD";
11
11
  ConfigurationAttributeType["INSTALLATION_COST"] = "INSTALLATION_COST";
12
+ ConfigurationAttributeType["MOBILE_VISIBILITY"] = "MOBILE_VISIBILITY";
12
13
  ConfigurationAttributeType["NETWORK"] = "NETWORK";
13
14
  ConfigurationAttributeType["PROJECT_CODE"] = "PROJECT_CODE";
14
15
  ConfigurationAttributeType["PROMOTION"] = "PROMOTION";
@@ -17,6 +18,12 @@ var ConfigurationAttributeType;
17
18
  ConfigurationAttributeType["SERVICEABLE_AGE"] = "SERVICEABLE_AGE";
18
19
  ConfigurationAttributeType["SYS02"] = "SYS02";
19
20
  })(ConfigurationAttributeType = exports.ConfigurationAttributeType || (exports.ConfigurationAttributeType = {}));
21
+ var MobileVisibilityType;
22
+ (function (MobileVisibilityType) {
23
+ MobileVisibilityType["ONLY_MOBILE"] = "ONLY_MOBILE";
24
+ MobileVisibilityType["SHARED_DATA"] = "SHARED_DATA";
25
+ MobileVisibilityType["MAIN_SHARED_DATA"] = "MAIN_SHARED_DATA";
26
+ })(MobileVisibilityType = exports.MobileVisibilityType || (exports.MobileVisibilityType = {}));
20
27
  var ProductCatalogItemState;
21
28
  (function (ProductCatalogItemState) {
22
29
  ProductCatalogItemState["ACTIVE"] = "Active";
@@ -299,6 +306,7 @@ var RelatedPartyRoleType;
299
306
  (function (RelatedPartyRoleType) {
300
307
  RelatedPartyRoleType["CUSTOMER_ACCOUNT_OWNER"] = "CUSTOMER_ACCOUNT_OWNER";
301
308
  RelatedPartyRoleType["CUSTOMER_ACCOUNT_CONTACT"] = "CUSTOMER_ACCOUNT_CONTACT";
309
+ RelatedPartyRoleType["ORGANIZATION_CONTACT"] = "ORGANIZATION_CONTACT";
302
310
  RelatedPartyRoleType["LEGAL_REPRESENTATIVE"] = "LEGAL_REPRESENTATIVE";
303
311
  RelatedPartyRoleType["INVOICE"] = "INVOICE";
304
312
  RelatedPartyRoleType["TECH"] = "TECH";
@@ -91,3 +91,5 @@ export declare const E_NOT_FOUND = "E_NOT_FOUND";
91
91
  export declare const E_INVALID_SALE_PROCESS_STATUS = "E_INVALID_SALE_PROCESS_STATUS";
92
92
  export declare const E_FETCH_LOOKUP_OPTIONS = "E_FETCH_LOOKUP_OPTIONS";
93
93
  export declare const E_NO_SELECTED_CHANNEL = "E_NO_SELECTED_CHANNEL";
94
+ export declare const E_NOT_BASE_BUNDLE = "E_NOT_BASE_BUNDLE";
95
+ export declare const E_FETCH_SHOPPING_CART_FEATURES = "E_FETCH_SHOPPING_CART_FEATURES";
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.E_UPDATE_PAYMENT_METHOD = exports.E_CREATE_PAYMENT_METHOD = exports.E_UPDATE_MANDATE = exports.E_CREATE_MANDATE = exports.E_UPDATE_BILLING_ACCOUNT = exports.E_CREATE_BILLING_ACCOUNT = exports.E_UPLOAD_CUSTOMER_ACCOUNT_DOCUMENT = exports.E_CREATE_CUSTOMER_ACCOUNT_NOTE = exports.E_UPDATE_CUSTOMER_ACCOUNT = exports.E_CREATE_CUSTOMER_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_BP = exports.E_BP_INTERNAL_SERVER_ERROR = exports.E_UPDATE_SHOPPING_CART_EXTRAS = exports.E_EMPTY_SHOPPING_CART = exports.E_SHOPPING_CART_NOT_FOUND = exports.E_BUNDLE_CONFIGURATION_ATTRIBUTE_MISMATCHING = exports.E_SAVE_SHOPPING_CART = exports.E_CREATE_SHOPPING_CART = exports.E_FETCH_PRODUCT_DEFAULT_SUMMARY = 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_LOGIN = void 0;
4
- exports.E_NO_SELECTED_CHANNEL = exports.E_FETCH_LOOKUP_OPTIONS = exports.E_INVALID_SALE_PROCESS_STATUS = exports.E_NOT_FOUND = exports.E_USER_ROLE_UNKNOWN = exports.E_USER_WITHOUT_ROLE = exports.E_RESERVE_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_CREATE_CUSTOMER_ACCOUNT_HISTORY = 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_CUSTOMERS = exports.E_FETCH_ORGANIZATION_PARTIES = exports.E_FETCH_INDIVIDUAL_PARTIES = exports.E_DOWNLOAD_INVOICE = exports.E_FETCH_BILLING_ACCOUNT_DETAILS = exports.E_INVALID_IBAN_MOD = exports.E_INVALID_IBAN_FORMAT = exports.E_INVALID_IBAN_LENGTH = exports.E_INVALID_IBAN_ISO_CODE = 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_FTP_RENAME = exports.E_FTP_REMOVE = exports.E_FTP_DOWNLOAD = exports.E_FTP_UPLOAD = exports.E_SUBMIT_SHOPPING_CART = exports.E_FETCH_SHOPPING_CART = void 0;
4
+ exports.E_FETCH_SHOPPING_CART_FEATURES = exports.E_NOT_BASE_BUNDLE = exports.E_NO_SELECTED_CHANNEL = exports.E_FETCH_LOOKUP_OPTIONS = exports.E_INVALID_SALE_PROCESS_STATUS = exports.E_NOT_FOUND = exports.E_USER_ROLE_UNKNOWN = exports.E_USER_WITHOUT_ROLE = exports.E_RESERVE_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_CREATE_CUSTOMER_ACCOUNT_HISTORY = 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_CUSTOMERS = exports.E_FETCH_ORGANIZATION_PARTIES = exports.E_FETCH_INDIVIDUAL_PARTIES = exports.E_DOWNLOAD_INVOICE = exports.E_FETCH_BILLING_ACCOUNT_DETAILS = exports.E_INVALID_IBAN_MOD = exports.E_INVALID_IBAN_FORMAT = exports.E_INVALID_IBAN_LENGTH = exports.E_INVALID_IBAN_ISO_CODE = 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_FTP_RENAME = exports.E_FTP_REMOVE = exports.E_FTP_DOWNLOAD = exports.E_FTP_UPLOAD = exports.E_SUBMIT_SHOPPING_CART = exports.E_FETCH_SHOPPING_CART = void 0;
5
5
  exports.E_LOGIN = 'E_LOGIN';
6
6
  exports.E_ASSIGN_CHANNELS = 'E_ASSIGN_CHANNELS';
7
7
  exports.E_UPDATE_PASSWORD = 'E_UPDATE_PASSWORD';
@@ -95,3 +95,5 @@ exports.E_NOT_FOUND = 'E_NOT_FOUND';
95
95
  exports.E_INVALID_SALE_PROCESS_STATUS = 'E_INVALID_SALE_PROCESS_STATUS';
96
96
  exports.E_FETCH_LOOKUP_OPTIONS = 'E_FETCH_LOOKUP_OPTIONS';
97
97
  exports.E_NO_SELECTED_CHANNEL = 'E_NO_SELECTED_CHANNEL';
98
+ exports.E_NOT_BASE_BUNDLE = 'E_NOT_BASE_BUNDLE';
99
+ exports.E_FETCH_SHOPPING_CART_FEATURES = 'E_FETCH_SHOPPING_CART_FEATURES';
@@ -4,6 +4,10 @@ export declare class DefaultSummaryResDto {
4
4
  shoppingCart: ShoppingCartDto;
5
5
  summary: ProductSummaryResDto;
6
6
  }
7
+ export declare class DefaultBundlesSummaryResDto {
8
+ shoppingCart: ShoppingCartDto;
9
+ summary: BundlesSummaryResDto;
10
+ }
7
11
  export declare class ProductSummaryResDto {
8
12
  name: string;
9
13
  displayName: string;
@@ -14,6 +18,11 @@ export declare class ProductSummaryResDto {
14
18
  products: ProductSummaryProductResDto[];
15
19
  prices: ProductSummaryPriceResDto[];
16
20
  }
21
+ export declare class BundlesSummaryResDto {
22
+ bundles: ProductSummaryResDto[];
23
+ contract: ProductSummaryContractResDto;
24
+ prices: ProductSummaryPriceResDto[];
25
+ }
17
26
  export declare class ProductSummaryProductResDto {
18
27
  name: string;
19
28
  index: number;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ProductSummaryContractResDto = exports.ProductSummaryPriceResDto = exports.ProductSummaryCharacteristicResDto = exports.ProductSummaryProductResDto = exports.ProductSummaryResDto = exports.DefaultSummaryResDto = void 0;
3
+ exports.ProductSummaryContractResDto = exports.ProductSummaryPriceResDto = exports.ProductSummaryCharacteristicResDto = exports.ProductSummaryProductResDto = exports.BundlesSummaryResDto = exports.ProductSummaryResDto = exports.DefaultBundlesSummaryResDto = exports.DefaultSummaryResDto = void 0;
4
4
  const openapi = require("@nestjs/swagger");
5
5
  class DefaultSummaryResDto {
6
6
  static _OPENAPI_METADATA_FACTORY() {
@@ -8,12 +8,24 @@ class DefaultSummaryResDto {
8
8
  }
9
9
  }
10
10
  exports.DefaultSummaryResDto = DefaultSummaryResDto;
11
+ class DefaultBundlesSummaryResDto {
12
+ static _OPENAPI_METADATA_FACTORY() {
13
+ return { shoppingCart: { required: true, type: () => require("../../../../bss/bearingpoint/shopping-cart/shopping-cart.entity").ShoppingCartDto }, summary: { required: true, type: () => require("./other.entity").BundlesSummaryResDto } };
14
+ }
15
+ }
16
+ exports.DefaultBundlesSummaryResDto = DefaultBundlesSummaryResDto;
11
17
  class ProductSummaryResDto {
12
18
  static _OPENAPI_METADATA_FACTORY() {
13
19
  return { name: { required: true, type: () => String }, displayName: { required: true, type: () => String }, displayDescription: { required: true, type: () => String }, promotions: { required: true, type: () => [require("./other.entity").ProductSummaryCharacteristicResDto] }, installationCosts: { required: false, type: () => [require("./other.entity").ProductSummaryCharacteristicResDto] }, contract: { required: true, type: () => require("./other.entity").ProductSummaryContractResDto }, products: { required: true, type: () => [require("./other.entity").ProductSummaryProductResDto] }, prices: { required: true, type: () => [require("./other.entity").ProductSummaryPriceResDto] } };
14
20
  }
15
21
  }
16
22
  exports.ProductSummaryResDto = ProductSummaryResDto;
23
+ class BundlesSummaryResDto {
24
+ static _OPENAPI_METADATA_FACTORY() {
25
+ return { bundles: { required: true, type: () => [require("./other.entity").ProductSummaryResDto] }, contract: { required: true, type: () => require("./other.entity").ProductSummaryContractResDto }, prices: { required: true, type: () => [require("./other.entity").ProductSummaryPriceResDto] } };
26
+ }
27
+ }
28
+ exports.BundlesSummaryResDto = BundlesSummaryResDto;
17
29
  class ProductSummaryProductResDto {
18
30
  static _OPENAPI_METADATA_FACTORY() {
19
31
  return { name: { required: true, type: () => String }, index: { required: true, type: () => Number }, displayName: { required: true, type: () => String }, displayDescription: { required: true, type: () => String }, type: { required: true, enum: require("../../../constants/common.constants").ShoppingCartConfigurationProductType }, characteristics: { required: true, type: () => [require("./other.entity").ProductSummaryCharacteristicResDto] }, total: { required: true, type: () => Number } };
@@ -19,6 +19,11 @@ export declare class UpdateShoppingCartExtrasDto {
19
19
  extraGroups: UpdateShoppingCartExtraGroupDto[];
20
20
  extras: UpdateShoppingCartExtraDto[];
21
21
  }
22
+ export declare class UpdateShoppingCartBundleExtrasDto {
23
+ name: string;
24
+ extraGroups: UpdateShoppingCartExtraGroupDto[];
25
+ extras: UpdateShoppingCartExtraDto[];
26
+ }
22
27
  export declare class UpdateShoppingCartExtraDto {
23
28
  name: string;
24
29
  qty: number;
@@ -9,7 +9,7 @@ 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
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.UpdateShoppingCartServiceSpecificationItemDto = exports.UpdateShoppingCartConfigurationProductDto = exports.UpdateShoppingCartConfigurationDto = exports.UpdateShoppingCartCharacteristicDto = exports.SaveShoppingCartDto = exports.UpdateShoppingCartExtraGroupDto = exports.UpdateShoppingCartExtraDto = exports.UpdateShoppingCartExtrasDto = exports.ConfigurationAttributeValuesDto = void 0;
12
+ exports.UpdateShoppingCartServiceSpecificationItemDto = exports.UpdateShoppingCartConfigurationProductDto = exports.UpdateShoppingCartConfigurationDto = exports.UpdateShoppingCartCharacteristicDto = exports.SaveShoppingCartDto = exports.UpdateShoppingCartExtraGroupDto = exports.UpdateShoppingCartExtraDto = exports.UpdateShoppingCartBundleExtrasDto = exports.UpdateShoppingCartExtrasDto = exports.ConfigurationAttributeValuesDto = void 0;
13
13
  const openapi = require("@nestjs/swagger");
14
14
  const common_constants_1 = require("../../../constants/common.constants");
15
15
  const class_transformer_1 = require("class-transformer");
@@ -58,6 +58,31 @@ __decorate([
58
58
  __metadata("design:type", Array)
59
59
  ], UpdateShoppingCartExtrasDto.prototype, "extras", void 0);
60
60
  exports.UpdateShoppingCartExtrasDto = UpdateShoppingCartExtrasDto;
61
+ class UpdateShoppingCartBundleExtrasDto {
62
+ static _OPENAPI_METADATA_FACTORY() {
63
+ return { name: { required: true, type: () => String }, extraGroups: { required: true, type: () => [require("./other.entity").UpdateShoppingCartExtraGroupDto] }, extras: { required: true, type: () => [require("./other.entity").UpdateShoppingCartExtraDto] } };
64
+ }
65
+ }
66
+ __decorate([
67
+ (0, class_validator_1.IsString)(),
68
+ (0, class_validator_1.IsNotEmpty)(),
69
+ __metadata("design:type", String)
70
+ ], UpdateShoppingCartBundleExtrasDto.prototype, "name", void 0);
71
+ __decorate([
72
+ (0, class_validator_1.IsArray)(),
73
+ (0, class_validator_1.ValidateNested)({ each: true }),
74
+ (0, class_transformer_1.Type)(() => UpdateShoppingCartExtraGroupDto),
75
+ (0, class_validator_1.IsOptional)(),
76
+ __metadata("design:type", Array)
77
+ ], UpdateShoppingCartBundleExtrasDto.prototype, "extraGroups", void 0);
78
+ __decorate([
79
+ (0, class_validator_1.IsArray)(),
80
+ (0, class_validator_1.ValidateNested)({ each: true }),
81
+ (0, class_transformer_1.Type)(() => UpdateShoppingCartExtraDto),
82
+ (0, class_validator_1.ValidateIf)(o => o.extras || !o.extraGroups),
83
+ __metadata("design:type", Array)
84
+ ], UpdateShoppingCartBundleExtrasDto.prototype, "extras", void 0);
85
+ exports.UpdateShoppingCartBundleExtrasDto = UpdateShoppingCartBundleExtrasDto;
61
86
  class UpdateShoppingCartExtraDto {
62
87
  static _OPENAPI_METADATA_FACTORY() {
63
88
  return { name: { required: true, type: () => String }, qty: { required: true, type: () => Number, minimum: 0, maximum: 99 } };
@@ -12,7 +12,14 @@ export declare class ShoppingCartAvailableProductWithIdResDto {
12
12
  products: ShoppingCartAvailableProductResDto[];
13
13
  }
14
14
  export declare class ShoppingCartExtrasResDto {
15
- extrasGroups: ShoppingCartExtraGroup[];
15
+ extraGroups: ShoppingCartExtraGroup[];
16
+ extras: ShoppingCartExtra[];
17
+ }
18
+ export declare class ShoppingCartBundleExtrasResDto {
19
+ name: string;
20
+ displayName: string;
21
+ displayDescription: string;
22
+ extraGroups: ShoppingCartExtraGroup[];
16
23
  extras: ShoppingCartExtra[];
17
24
  }
18
25
  export declare class ShoppingCartConfigurationBssResDto {
@@ -21,6 +28,10 @@ export declare class ShoppingCartConfigurationBssResDto {
21
28
  products: ShoppingCartConfigurationProductBssResDto[];
22
29
  parameters: ShoppingCartParametersDto;
23
30
  }
31
+ export declare class ShoppingCartFeaturesResDto {
32
+ promotions: ShoppingCartConfigurationFeaturesResDto;
33
+ contracts: ShoppingCartConfigurationCharacteristicResDto[];
34
+ }
24
35
  export declare class ShoppingCartConfigurationResDto {
25
36
  id: string;
26
37
  promotions: ShoppingCartConfigurationFeaturesResDto;
@@ -153,6 +164,17 @@ export declare class ShoppingCartInfoDto {
153
164
  characteristics: ShoppingCartInfoCharacteristicDto[];
154
165
  parameters?: ShoppingCartParametersDto;
155
166
  }
167
+ export declare class ShoppingCartBundlesInfoDto {
168
+ bundles: ShoppingCartBundleInfoDto[];
169
+ parameters?: ShoppingCartParametersDto;
170
+ }
171
+ export declare class ShoppingCartBundleInfoDto {
172
+ name: string;
173
+ internalName: string;
174
+ billText: string;
175
+ products: ShoppingCartInfoProductDto[];
176
+ characteristics: ShoppingCartInfoCharacteristicDto[];
177
+ }
156
178
  export declare class ShoppingCartInfoProductDto {
157
179
  name: string;
158
180
  displayName: string;
@@ -9,7 +9,7 @@ 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
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.ShoppingCartInfoServiceCharacteristicDto = exports.ShoppingCartInfoServiceDto = exports.ShoppingCartInfoCharacteristicDto = exports.ShoppingCartInfoProductDto = exports.ShoppingCartInfoDto = exports.ShoppingCartConfigurationServiceValueResDto = exports.ShoppingCartConfigurationAddressResDto = exports.ShoppingCartConfigurationServiceSpecificationItemResDto = exports.ShoppingCartConfigurationServiceSpecificationItemBssResDto = exports.ShoppingCartConfigurationMobilePortinResDto = exports.ShoppingCartConfigurationMobileResDto = exports.ShoppingCartConfigurationVoipPortinResDto = exports.ShoppingCartConfigurationVoipResDto = exports.ShoppingCartConfigurationFibreResDto = exports.ShoppingCartConfigurationProductResDto = exports.ShoppingCartConfigurationProductBssResDto = exports.ShoppingCartConfigurationChargeResDto = exports.ShoppingCartConfigurationCharacteristicResDto = exports.ShoppingCartConfigurationCharacteristicGroupResDto = exports.ShoppingCartConfigurationFeaturesResDto = exports.ShoppingCartConfigurationResDto = exports.ShoppingCartConfigurationBssResDto = exports.ShoppingCartExtrasResDto = exports.ShoppingCartAvailableProductWithIdResDto = exports.ShoppingCartAvailableProductResDto = void 0;
12
+ exports.ShoppingCartInfoServiceCharacteristicDto = exports.ShoppingCartInfoServiceDto = exports.ShoppingCartInfoCharacteristicDto = exports.ShoppingCartInfoProductDto = exports.ShoppingCartBundleInfoDto = exports.ShoppingCartBundlesInfoDto = exports.ShoppingCartInfoDto = exports.ShoppingCartConfigurationServiceValueResDto = exports.ShoppingCartConfigurationAddressResDto = exports.ShoppingCartConfigurationServiceSpecificationItemResDto = exports.ShoppingCartConfigurationServiceSpecificationItemBssResDto = exports.ShoppingCartConfigurationMobilePortinResDto = exports.ShoppingCartConfigurationMobileResDto = exports.ShoppingCartConfigurationVoipPortinResDto = exports.ShoppingCartConfigurationVoipResDto = exports.ShoppingCartConfigurationFibreResDto = exports.ShoppingCartConfigurationProductResDto = exports.ShoppingCartConfigurationProductBssResDto = exports.ShoppingCartConfigurationChargeResDto = exports.ShoppingCartConfigurationCharacteristicResDto = exports.ShoppingCartConfigurationCharacteristicGroupResDto = exports.ShoppingCartConfigurationFeaturesResDto = exports.ShoppingCartConfigurationResDto = exports.ShoppingCartFeaturesResDto = exports.ShoppingCartConfigurationBssResDto = exports.ShoppingCartBundleExtrasResDto = exports.ShoppingCartExtrasResDto = exports.ShoppingCartAvailableProductWithIdResDto = exports.ShoppingCartAvailableProductResDto = void 0;
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");
@@ -27,16 +27,28 @@ class ShoppingCartAvailableProductWithIdResDto {
27
27
  exports.ShoppingCartAvailableProductWithIdResDto = ShoppingCartAvailableProductWithIdResDto;
28
28
  class ShoppingCartExtrasResDto {
29
29
  static _OPENAPI_METADATA_FACTORY() {
30
- return { extrasGroups: { required: true, type: () => [require("../../../../bss/shopping-cart/internal/internal.entity").ShoppingCartExtraGroup] }, extras: { required: true, type: () => [require("../../../../bss/shopping-cart/internal/internal.entity").ShoppingCartExtra] } };
30
+ return { extraGroups: { required: true, type: () => [require("../../../../bss/shopping-cart/internal/internal.entity").ShoppingCartExtraGroup] }, extras: { required: true, type: () => [require("../../../../bss/shopping-cart/internal/internal.entity").ShoppingCartExtra] } };
31
31
  }
32
32
  }
33
33
  exports.ShoppingCartExtrasResDto = ShoppingCartExtrasResDto;
34
+ class ShoppingCartBundleExtrasResDto {
35
+ static _OPENAPI_METADATA_FACTORY() {
36
+ return { name: { required: true, type: () => String }, displayName: { required: true, type: () => String }, displayDescription: { required: true, type: () => String }, extraGroups: { required: true, type: () => [require("../../../../bss/shopping-cart/internal/internal.entity").ShoppingCartExtraGroup] }, extras: { required: true, type: () => [require("../../../../bss/shopping-cart/internal/internal.entity").ShoppingCartExtra] } };
37
+ }
38
+ }
39
+ exports.ShoppingCartBundleExtrasResDto = ShoppingCartBundleExtrasResDto;
34
40
  class ShoppingCartConfigurationBssResDto {
35
41
  static _OPENAPI_METADATA_FACTORY() {
36
42
  return { promotions: { required: true, type: () => require("./other.entity").ShoppingCartConfigurationFeaturesResDto }, contracts: { required: true, type: () => [require("./other.entity").ShoppingCartConfigurationCharacteristicResDto] }, products: { required: true, type: () => [require("./other.entity").ShoppingCartConfigurationProductBssResDto] }, parameters: { required: true, type: () => require("../../../../bss/bearingpoint/shopping-cart/shopping-cart-parameters.entity").ShoppingCartParametersDto } };
37
43
  }
38
44
  }
39
45
  exports.ShoppingCartConfigurationBssResDto = ShoppingCartConfigurationBssResDto;
46
+ class ShoppingCartFeaturesResDto {
47
+ static _OPENAPI_METADATA_FACTORY() {
48
+ return { promotions: { required: true, type: () => require("./other.entity").ShoppingCartConfigurationFeaturesResDto }, contracts: { required: true, type: () => [require("./other.entity").ShoppingCartConfigurationCharacteristicResDto] } };
49
+ }
50
+ }
51
+ exports.ShoppingCartFeaturesResDto = ShoppingCartFeaturesResDto;
40
52
  class ShoppingCartConfigurationResDto {
41
53
  static _OPENAPI_METADATA_FACTORY() {
42
54
  return { id: { required: true, type: () => String }, promotions: { required: true, type: () => require("./other.entity").ShoppingCartConfigurationFeaturesResDto }, contracts: { required: true, type: () => [require("./other.entity").ShoppingCartConfigurationCharacteristicResDto] }, products: { required: true, type: () => [require("./other.entity").ShoppingCartConfigurationProductResDto] }, parameters: { required: true, type: () => require("../../../../bss/bearingpoint/shopping-cart/shopping-cart-parameters.entity").ShoppingCartParametersDto } };
@@ -197,6 +209,18 @@ class ShoppingCartInfoDto {
197
209
  }
198
210
  }
199
211
  exports.ShoppingCartInfoDto = ShoppingCartInfoDto;
212
+ class ShoppingCartBundlesInfoDto {
213
+ static _OPENAPI_METADATA_FACTORY() {
214
+ return { bundles: { required: true, type: () => [require("./other.entity").ShoppingCartBundleInfoDto] }, parameters: { required: false, type: () => require("../../../../bss/bearingpoint/shopping-cart/shopping-cart-parameters.entity").ShoppingCartParametersDto } };
215
+ }
216
+ }
217
+ exports.ShoppingCartBundlesInfoDto = ShoppingCartBundlesInfoDto;
218
+ class ShoppingCartBundleInfoDto {
219
+ static _OPENAPI_METADATA_FACTORY() {
220
+ 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] } };
221
+ }
222
+ }
223
+ exports.ShoppingCartBundleInfoDto = ShoppingCartBundleInfoDto;
200
224
  class ShoppingCartInfoProductDto {
201
225
  static _OPENAPI_METADATA_FACTORY() {
202
226
  return { name: { required: true, type: () => String }, displayName: { required: true, type: () => String }, internalName: { required: true, type: () => String }, billText: { required: true, type: () => String }, products: { required: false, type: () => [require("./other.entity").ShoppingCartInfoProductDto] }, characteristics: { required: true, type: () => [require("./other.entity").ShoppingCartInfoCharacteristicDto] }, services: { required: true, type: () => [require("./other.entity").ShoppingCartInfoServiceDto] } };
@@ -8,5 +8,6 @@ export declare class DashboardQueryDto {
8
8
  lastChangeMadeBy?: string;
9
9
  status?: string;
10
10
  channel?: string;
11
+ lastChannel?: string;
11
12
  customerType?: CustomerType;
12
13
  }
@@ -16,7 +16,7 @@ const class_transformer_1 = require("class-transformer");
16
16
  const class_validator_1 = require("class-validator");
17
17
  class DashboardQueryDto {
18
18
  static _OPENAPI_METADATA_FACTORY() {
19
- return { page: { required: false, type: () => Number, minimum: 1 }, limit: { required: false, type: () => Number, minimum: 1 }, phone: { required: false, type: () => String }, dateFrom: { required: false, type: () => String }, dateTo: { required: false, type: () => String }, lastChangeMadeBy: { required: false, type: () => String }, status: { required: false, type: () => String }, channel: { required: false, type: () => String }, customerType: { required: false, enum: require("../../../../sys03/shopping-cart/req/req.entity").CustomerType } };
19
+ return { page: { required: false, type: () => Number, minimum: 1 }, limit: { required: false, type: () => Number, minimum: 1 }, phone: { required: false, type: () => String }, dateFrom: { required: false, type: () => String }, dateTo: { required: false, type: () => String }, lastChangeMadeBy: { required: false, type: () => String }, status: { required: false, type: () => String }, channel: { required: false, type: () => String }, lastChannel: { required: false, type: () => String }, customerType: { required: false, enum: require("../../../../sys03/shopping-cart/req/req.entity").CustomerType } };
20
20
  }
21
21
  }
22
22
  __decorate([
@@ -68,6 +68,11 @@ __decorate([
68
68
  (0, class_validator_1.IsOptional)(),
69
69
  __metadata("design:type", String)
70
70
  ], DashboardQueryDto.prototype, "channel", void 0);
71
+ __decorate([
72
+ (0, class_validator_1.IsString)(),
73
+ (0, class_validator_1.IsOptional)(),
74
+ __metadata("design:type", String)
75
+ ], DashboardQueryDto.prototype, "lastChannel", void 0);
71
76
  __decorate([
72
77
  (0, class_validator_1.IsEnum)(shopping_cart_1.CustomerType),
73
78
  (0, class_validator_1.IsOptional)(),
@@ -20,6 +20,7 @@ export declare class DashboardFilterDto {
20
20
  lastChangeMadeBy?: string;
21
21
  status?: string;
22
22
  channel?: string[];
23
+ lastChannel?: string[];
23
24
  customerType?: CustomerType;
24
25
  softDeleted?: boolean;
25
26
  }
@@ -4,7 +4,7 @@ exports.SmsMessagePayloadDto = exports.DashboardFilterDto = void 0;
4
4
  const openapi = require("@nestjs/swagger");
5
5
  class DashboardFilterDto {
6
6
  static _OPENAPI_METADATA_FACTORY() {
7
- return { page: { required: false, type: () => Number }, limit: { required: false, type: () => Number }, phone: { required: false, type: () => String }, dateFrom: { required: false, type: () => String }, dateTo: { required: false, type: () => String }, lastChangeMadeBy: { required: false, type: () => String }, status: { required: false, type: () => String }, channel: { required: false, type: () => [String] }, customerType: { required: false, enum: require("../../shopping-cart/req/req.entity").CustomerType }, softDeleted: { required: false, type: () => Boolean } };
7
+ return { page: { required: false, type: () => Number }, limit: { required: false, type: () => Number }, phone: { required: false, type: () => String }, dateFrom: { required: false, type: () => String }, dateTo: { required: false, type: () => String }, lastChangeMadeBy: { required: false, type: () => String }, status: { required: false, type: () => String }, channel: { required: false, type: () => [String] }, lastChannel: { required: false, type: () => [String] }, customerType: { required: false, enum: require("../../shopping-cart/req/req.entity").CustomerType }, softDeleted: { required: false, type: () => Boolean } };
8
8
  }
9
9
  }
10
10
  exports.DashboardFilterDto = DashboardFilterDto;