adamo-types 2.0.107-sit → 2.0.108-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.
@@ -62,9 +62,6 @@ export declare enum CacheKeyType {
62
62
  SHOPPING_CART_EXTRAS = "shopping-cart-extras",
63
63
  SHOPPING_CART_EXTRAS_V2 = "v2:shopping-cart-extras",
64
64
  SHOPPING_CART_FEATURES_V2 = "v2:shopping-cart-features",
65
- SHOPPING_CART_NETWORK_AVAILABLE_PRODUCT = "shopping-cart-network-available-product",
66
- SHOPPING_CART_NETWORK_AVAILABLE_PRODUCT_EXTRAS = "shopping-cart-network-available-product-extras",
67
- SHOPPING_CART_NETWORK_AVAILABLE_PRODUCT_SUMMARY = "shopping-cart-network-available-product-summary",
68
65
  SHOPPING_CART_PROMOTIONS_AND_CONTRACTS = "shopping-cart-promotions-and-contracts",
69
66
  SHOPPING_CART_SUMMARY = "shopping-cart-summary",
70
67
  SHOPPING_CART_SUMMARY_V2 = "v2:shopping-cart-summary",
@@ -107,9 +107,6 @@ var CacheKeyType;
107
107
  CacheKeyType["SHOPPING_CART_EXTRAS"] = "shopping-cart-extras";
108
108
  CacheKeyType["SHOPPING_CART_EXTRAS_V2"] = "v2:shopping-cart-extras";
109
109
  CacheKeyType["SHOPPING_CART_FEATURES_V2"] = "v2:shopping-cart-features";
110
- CacheKeyType["SHOPPING_CART_NETWORK_AVAILABLE_PRODUCT"] = "shopping-cart-network-available-product";
111
- CacheKeyType["SHOPPING_CART_NETWORK_AVAILABLE_PRODUCT_EXTRAS"] = "shopping-cart-network-available-product-extras";
112
- CacheKeyType["SHOPPING_CART_NETWORK_AVAILABLE_PRODUCT_SUMMARY"] = "shopping-cart-network-available-product-summary";
113
110
  CacheKeyType["SHOPPING_CART_PROMOTIONS_AND_CONTRACTS"] = "shopping-cart-promotions-and-contracts";
114
111
  CacheKeyType["SHOPPING_CART_SUMMARY"] = "shopping-cart-summary";
115
112
  CacheKeyType["SHOPPING_CART_SUMMARY_V2"] = "v2:shopping-cart-summary";
@@ -158,9 +155,6 @@ exports.CacheKeyTypeTtl = {
158
155
  [CacheKeyType.SHOPPING_CART_AVAILABLE_PRODUCTS_V2]: 1000 * 60 * 60 * 24,
159
156
  [CacheKeyType.SHOPPING_CART_AVAILABLE_PRODUCT]: 1000 * 60 * 60 * 24,
160
157
  [CacheKeyType.SHOPPING_CART_AVAILABLE_PRODUCT_V2]: 1000 * 60 * 60 * 24,
161
- [CacheKeyType.SHOPPING_CART_NETWORK_AVAILABLE_PRODUCT]: 1000 * 60 * 60 * 24,
162
- [CacheKeyType.SHOPPING_CART_NETWORK_AVAILABLE_PRODUCT_EXTRAS]: 1000 * 60 * 60 * 24,
163
- [CacheKeyType.SHOPPING_CART_NETWORK_AVAILABLE_PRODUCT_SUMMARY]: 1000 * 60 * 60 * 24,
164
158
  [CacheKeyType.SHOPPING_CART_CONFIGURATION]: 1000 * 60 * 60 * 24,
165
159
  [CacheKeyType.SHOPPING_CART_CONFIGURATION_V2]: 1000 * 60 * 60 * 24,
166
160
  [CacheKeyType.SHOPPING_CART_EXTRAS]: 1000 * 60 * 60 * 24,
@@ -1,5 +1,5 @@
1
1
  import { CustomerType } from '../../common/constants';
2
- import { ShoppingCartConfigurationCharacteristicResDto, ShoppingCartConfigurationServiceSpecificationItemResDto, UpdateShoppingCartBundleExtrasDto, UpdateShoppingCartCharacteristicDto } from '../../common/edge-bss';
2
+ import { ShoppingCartConfigurationCharacteristicResDto, ShoppingCartConfigurationServiceSpecificationItemResDto, UpdateShoppingCartCharacteristicDto } from '../../common/edge-bss';
3
3
  import { ShoppingCartItemAction } from '../../bss/constants';
4
4
  import { ShoppingCartParametersDto, ShoppingCartProductCharacteristicDto, ShoppingCartProductDto, ShoppingCartProductOfferingDto } from '../../bss/bearingpoint';
5
5
  export declare class CreateShoppingCartFromApartmentIdAndCustomerTypeDto {
@@ -14,12 +14,6 @@ export declare class CreateShoppingCartFromApartmentIdAndCustomerTypeBundleDto {
14
14
  productCharacteristics?: ShoppingCartProductCharacteristicDto[];
15
15
  parameters?: ShoppingCartParametersDto;
16
16
  }
17
- export declare class CreateShoppingCartAvailableBaseProductDto {
18
- customerType: CustomerType;
19
- apartmentId: string;
20
- bundle: string;
21
- extras?: UpdateShoppingCartBundleExtrasDto[];
22
- }
23
17
  export declare class UpdateShoppingCartBundlePromotionsDto {
24
18
  name: string;
25
19
  applyDefaultContract: boolean;
@@ -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.UpdateShoppingCartContractsDto = exports.UpdateShoppingCartBundleContractDto = exports.UpdateShoppingCartPromotionsDto = exports.UpdateShoppingCartBundlePromotionsDto = exports.CreateShoppingCartAvailableBaseProductDto = exports.CreateShoppingCartFromApartmentIdAndCustomerTypeBundleDto = exports.CreateShoppingCartFromApartmentIdAndCustomerTypeDto = void 0;
12
+ exports.UpdateShoppingCartContractsDto = exports.UpdateShoppingCartBundleContractDto = exports.UpdateShoppingCartPromotionsDto = exports.UpdateShoppingCartBundlePromotionsDto = exports.CreateShoppingCartFromApartmentIdAndCustomerTypeBundleDto = exports.CreateShoppingCartFromApartmentIdAndCustomerTypeDto = void 0;
13
13
  const openapi = require("@nestjs/swagger");
14
14
  const _validators_1 = require("../../validators/index");
15
15
  const class_validator_1 = require("class-validator");
@@ -74,35 +74,6 @@ __decorate([
74
74
  (0, class_transformer_1.Exclude)(),
75
75
  __metadata("design:type", bearingpoint_1.ShoppingCartParametersDto)
76
76
  ], CreateShoppingCartFromApartmentIdAndCustomerTypeBundleDto.prototype, "parameters", void 0);
77
- class CreateShoppingCartAvailableBaseProductDto {
78
- static _OPENAPI_METADATA_FACTORY() {
79
- return { customerType: { required: true, enum: require("../../common/constants/common.constants").CustomerType }, apartmentId: { required: true, type: () => String }, bundle: { required: true, type: () => String }, extras: { required: false, type: () => [require("../../common/edge-bss/shopping-cart/req/other.entity").UpdateShoppingCartBundleExtrasDto] } };
80
- }
81
- }
82
- exports.CreateShoppingCartAvailableBaseProductDto = CreateShoppingCartAvailableBaseProductDto;
83
- __decorate([
84
- (0, class_validator_1.IsEnum)(constants_1.CustomerType),
85
- __metadata("design:type", String)
86
- ], CreateShoppingCartAvailableBaseProductDto.prototype, "customerType", void 0);
87
- __decorate([
88
- (0, class_validator_1.IsString)(),
89
- (0, class_validator_1.IsNotEmpty)(),
90
- (0, _validators_1.IsNotBlank)(),
91
- __metadata("design:type", String)
92
- ], CreateShoppingCartAvailableBaseProductDto.prototype, "apartmentId", void 0);
93
- __decorate([
94
- (0, class_validator_1.IsString)(),
95
- (0, class_validator_1.IsNotEmpty)(),
96
- (0, _validators_1.IsNotBlank)(),
97
- __metadata("design:type", String)
98
- ], CreateShoppingCartAvailableBaseProductDto.prototype, "bundle", void 0);
99
- __decorate([
100
- (0, class_validator_1.IsArray)(),
101
- (0, class_validator_1.ValidateNested)({ each: true }),
102
- (0, class_transformer_1.Type)(() => edge_bss_1.UpdateShoppingCartBundleExtrasDto),
103
- (0, class_validator_1.IsOptional)(),
104
- __metadata("design:type", Array)
105
- ], CreateShoppingCartAvailableBaseProductDto.prototype, "extras", void 0);
106
77
  class UpdateShoppingCartBundlePromotionsDto {
107
78
  static _OPENAPI_METADATA_FACTORY() {
108
79
  return { name: { required: true, type: () => String }, applyDefaultContract: { required: true, type: () => Boolean }, promotions: { required: true, type: () => [require("../../common/edge-bss/shopping-cart/req/other.entity").UpdateShoppingCartCharacteristicDto] } };