adamo-types 2.0.106-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.
- package/dist/bss/constants/bss.constants.d.ts +0 -3
- package/dist/bss/constants/bss.constants.js +0 -6
- package/dist/bss/customer/customer-work-task.entity.d.ts +56 -0
- package/dist/bss/customer/customer-work-task.entity.js +43 -1
- package/dist/bss/order/order.entity.d.ts +1 -0
- package/dist/bss/order/order.entity.js +1 -1
- package/dist/common/constants/common.constants.d.ts +3 -0
- package/dist/common/constants/common.constants.js +5 -1
- package/dist/sys03/address/address.constants.d.ts +1 -0
- package/dist/sys03/address/address.constants.js +2 -1
- package/dist/sys03/shopping-cart/shopping-cart.entity.d.ts +1 -7
- package/dist/sys03/shopping-cart/shopping-cart.entity.js +1 -30
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -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,
|
|
@@ -111,3 +111,59 @@ export declare class CustomerWorkTaskDto {
|
|
|
111
111
|
lastRemark: string;
|
|
112
112
|
forms?: CustomerWorkTaskFormDto[];
|
|
113
113
|
}
|
|
114
|
+
export declare class CustomerGrupoAireWorkTaskDetailsRequestCoordinatorDto {
|
|
115
|
+
fullName: string;
|
|
116
|
+
mainPhone: string;
|
|
117
|
+
secondaryPhone: string;
|
|
118
|
+
email: string;
|
|
119
|
+
}
|
|
120
|
+
export declare class CustomerGrupoAireWorkTaskDetailsRequestDto {
|
|
121
|
+
id: number;
|
|
122
|
+
createdAt: Date;
|
|
123
|
+
orderNumber: number;
|
|
124
|
+
suborderNumber: number;
|
|
125
|
+
description: string;
|
|
126
|
+
coordinator: CustomerGrupoAireWorkTaskDetailsRequestCoordinatorDto;
|
|
127
|
+
}
|
|
128
|
+
export declare class CustomerGrupoAireWorkTaskDetailsCustomerDto {
|
|
129
|
+
fullName: string;
|
|
130
|
+
address: string;
|
|
131
|
+
mainPhone: string;
|
|
132
|
+
secondaryPhone: string;
|
|
133
|
+
}
|
|
134
|
+
export declare class CustomerGrupoAireWorkTaskDetailsTechDataDto {
|
|
135
|
+
opVlan: string;
|
|
136
|
+
cVlan: string;
|
|
137
|
+
sVlan: string;
|
|
138
|
+
cae: boolean;
|
|
139
|
+
originSystem: string;
|
|
140
|
+
administrativeNumberLagl: string;
|
|
141
|
+
ontId: string;
|
|
142
|
+
}
|
|
143
|
+
export declare class CustomerGrupoAireWorkTaskDetailsNetworkDataDto {
|
|
144
|
+
interfaceTagAndUnit: string;
|
|
145
|
+
riTag: string;
|
|
146
|
+
riUnit: string;
|
|
147
|
+
}
|
|
148
|
+
export declare class CustomerGrupoAireWorkTaskDetailsDto {
|
|
149
|
+
modifiedAt: Date;
|
|
150
|
+
customer: CustomerGrupoAireWorkTaskDetailsCustomerDto;
|
|
151
|
+
techData: CustomerGrupoAireWorkTaskDetailsTechDataDto;
|
|
152
|
+
networkData: CustomerGrupoAireWorkTaskDetailsNetworkDataDto;
|
|
153
|
+
requests: CustomerGrupoAireWorkTaskDetailsRequestDto[];
|
|
154
|
+
}
|
|
155
|
+
export declare class CustomerGrupoAireWorkTaskDto {
|
|
156
|
+
id: string;
|
|
157
|
+
status: string;
|
|
158
|
+
modality: string;
|
|
159
|
+
createdAt: Date;
|
|
160
|
+
activatedAt: Date;
|
|
161
|
+
installedAt: Date;
|
|
162
|
+
endedAt: Date;
|
|
163
|
+
province: string;
|
|
164
|
+
operator: string;
|
|
165
|
+
administrativeNumber: string;
|
|
166
|
+
iua: string;
|
|
167
|
+
description: string;
|
|
168
|
+
details: CustomerGrupoAireWorkTaskDetailsDto;
|
|
169
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CustomerWorkTaskDto = exports.CustomerWorkTaskFormDto = exports.CustomerWorkTaskFormCheckDto = exports.CustomerWorkTaskFormTechDataDto = exports.CustomerWorkTaskFormTechInfoDto = exports.CustomerWorkTaskFormInstallationDto = exports.CustomerWorkTaskFormAppointmentDto = exports.CustomerWorkTaskFormAddressDto = exports.CustomerWorkTaskFormCustomerDto = exports.CustomerWorkTaskFormFieldDto = void 0;
|
|
3
|
+
exports.CustomerGrupoAireWorkTaskDto = exports.CustomerGrupoAireWorkTaskDetailsDto = exports.CustomerGrupoAireWorkTaskDetailsNetworkDataDto = exports.CustomerGrupoAireWorkTaskDetailsTechDataDto = exports.CustomerGrupoAireWorkTaskDetailsCustomerDto = exports.CustomerGrupoAireWorkTaskDetailsRequestDto = exports.CustomerGrupoAireWorkTaskDetailsRequestCoordinatorDto = exports.CustomerWorkTaskDto = exports.CustomerWorkTaskFormDto = exports.CustomerWorkTaskFormCheckDto = exports.CustomerWorkTaskFormTechDataDto = exports.CustomerWorkTaskFormTechInfoDto = exports.CustomerWorkTaskFormInstallationDto = exports.CustomerWorkTaskFormAppointmentDto = exports.CustomerWorkTaskFormAddressDto = exports.CustomerWorkTaskFormCustomerDto = exports.CustomerWorkTaskFormFieldDto = void 0;
|
|
4
4
|
const openapi = require("@nestjs/swagger");
|
|
5
5
|
class CustomerWorkTaskFormFieldDto {
|
|
6
6
|
static _OPENAPI_METADATA_FACTORY() {
|
|
@@ -62,3 +62,45 @@ class CustomerWorkTaskDto {
|
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
exports.CustomerWorkTaskDto = CustomerWorkTaskDto;
|
|
65
|
+
class CustomerGrupoAireWorkTaskDetailsRequestCoordinatorDto {
|
|
66
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
67
|
+
return { fullName: { required: true, type: () => String }, mainPhone: { required: true, type: () => String }, secondaryPhone: { required: true, type: () => String }, email: { required: true, type: () => String } };
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
exports.CustomerGrupoAireWorkTaskDetailsRequestCoordinatorDto = CustomerGrupoAireWorkTaskDetailsRequestCoordinatorDto;
|
|
71
|
+
class CustomerGrupoAireWorkTaskDetailsRequestDto {
|
|
72
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
73
|
+
return { id: { required: true, type: () => Number }, createdAt: { required: true, type: () => Date }, orderNumber: { required: true, type: () => Number }, suborderNumber: { required: true, type: () => Number }, description: { required: true, type: () => String }, coordinator: { required: true, type: () => require("./customer-work-task.entity").CustomerGrupoAireWorkTaskDetailsRequestCoordinatorDto } };
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
exports.CustomerGrupoAireWorkTaskDetailsRequestDto = CustomerGrupoAireWorkTaskDetailsRequestDto;
|
|
77
|
+
class CustomerGrupoAireWorkTaskDetailsCustomerDto {
|
|
78
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
79
|
+
return { fullName: { required: true, type: () => String }, address: { required: true, type: () => String }, mainPhone: { required: true, type: () => String }, secondaryPhone: { required: true, type: () => String } };
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
exports.CustomerGrupoAireWorkTaskDetailsCustomerDto = CustomerGrupoAireWorkTaskDetailsCustomerDto;
|
|
83
|
+
class CustomerGrupoAireWorkTaskDetailsTechDataDto {
|
|
84
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
85
|
+
return { opVlan: { required: true, type: () => String }, cVlan: { required: true, type: () => String }, sVlan: { required: true, type: () => String }, cae: { required: true, type: () => Boolean }, originSystem: { required: true, type: () => String }, administrativeNumberLagl: { required: true, type: () => String }, ontId: { required: true, type: () => String } };
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
exports.CustomerGrupoAireWorkTaskDetailsTechDataDto = CustomerGrupoAireWorkTaskDetailsTechDataDto;
|
|
89
|
+
class CustomerGrupoAireWorkTaskDetailsNetworkDataDto {
|
|
90
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
91
|
+
return { interfaceTagAndUnit: { required: true, type: () => String }, riTag: { required: true, type: () => String }, riUnit: { required: true, type: () => String } };
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
exports.CustomerGrupoAireWorkTaskDetailsNetworkDataDto = CustomerGrupoAireWorkTaskDetailsNetworkDataDto;
|
|
95
|
+
class CustomerGrupoAireWorkTaskDetailsDto {
|
|
96
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
97
|
+
return { modifiedAt: { required: true, type: () => Date }, customer: { required: true, type: () => require("./customer-work-task.entity").CustomerGrupoAireWorkTaskDetailsCustomerDto }, techData: { required: true, type: () => require("./customer-work-task.entity").CustomerGrupoAireWorkTaskDetailsTechDataDto }, networkData: { required: true, type: () => require("./customer-work-task.entity").CustomerGrupoAireWorkTaskDetailsNetworkDataDto }, requests: { required: true, type: () => [require("./customer-work-task.entity").CustomerGrupoAireWorkTaskDetailsRequestDto] } };
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
exports.CustomerGrupoAireWorkTaskDetailsDto = CustomerGrupoAireWorkTaskDetailsDto;
|
|
101
|
+
class CustomerGrupoAireWorkTaskDto {
|
|
102
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
103
|
+
return { id: { required: true, type: () => String }, status: { required: true, type: () => String }, modality: { required: true, type: () => String }, createdAt: { required: true, type: () => Date }, activatedAt: { required: true, type: () => Date }, installedAt: { required: true, type: () => Date }, endedAt: { required: true, type: () => Date }, province: { required: true, type: () => String }, operator: { required: true, type: () => String }, administrativeNumber: { required: true, type: () => String }, iua: { required: true, type: () => String }, description: { required: true, type: () => String }, details: { required: true, type: () => require("./customer-work-task.entity").CustomerGrupoAireWorkTaskDetailsDto } };
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
exports.CustomerGrupoAireWorkTaskDto = CustomerGrupoAireWorkTaskDto;
|
|
@@ -4,7 +4,7 @@ exports.OrderHierarchyItemDto = exports.OrderDto = void 0;
|
|
|
4
4
|
const openapi = require("@nestjs/swagger");
|
|
5
5
|
class OrderDto {
|
|
6
6
|
static _OPENAPI_METADATA_FACTORY() {
|
|
7
|
-
return { id: { required: true, type: () => String }, workOrderId: { required: false, type: () => String }, createdAt: { required: true, type: () => String }, completionDate: { required: true, type: () => String }, type: { required: true, type: () => String }, description: { required: true, type: () => String }, state: { required: true, type: () => String } };
|
|
7
|
+
return { id: { required: true, type: () => String }, workOrderId: { required: false, type: () => String }, mayHaveGrupoAireWorkTask: { required: true, type: () => Boolean }, createdAt: { required: true, type: () => String }, completionDate: { required: true, type: () => String }, type: { required: true, type: () => String }, description: { required: true, type: () => String }, state: { required: true, type: () => String } };
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
exports.OrderDto = OrderDto;
|
|
@@ -67,6 +67,9 @@ export declare enum BssDropDownKeys {
|
|
|
67
67
|
TASK_CATEGORY_TYPES = "TASK_CATEGORY_TYPES",
|
|
68
68
|
TRANSITION_DOWNGRADE_REASON_TYPES = "TRANSITION_DOWNGRADE_REASON_TYPES"
|
|
69
69
|
}
|
|
70
|
+
export declare enum GrupoAireDropDownKeys {
|
|
71
|
+
GRUPO_AIRE_CONNECTION_STATUS_TYEPS = "GRUPO_AIRE_CONNECTION_STATUS_TYEPS"
|
|
72
|
+
}
|
|
70
73
|
export declare enum BssLookupKeys {
|
|
71
74
|
COUNTRY_STATE_TYPES = "COUNTRY_STATES",
|
|
72
75
|
SALES_PERSON_TYPES = "ADAMO_SALES_PERSONS",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PaginateSortType = exports.KNOWN_ERRORS = exports.FeatureGroupType = exports.CoverageSearchType = exports.StorageDropdown = exports.Templates = exports.MicroserviceType = exports.BssLookupKeys = exports.BssDropDownKeys = exports.StorageConfiguration = exports.ShoppingCartProductTypeDisplayOrder = exports.ShoppingCartProductType = exports.BusinessCustomerType = exports.CustomerType = exports.ClientType = exports.ArsTenant = void 0;
|
|
3
|
+
exports.PaginateSortType = exports.KNOWN_ERRORS = exports.FeatureGroupType = exports.CoverageSearchType = exports.StorageDropdown = exports.Templates = exports.MicroserviceType = exports.BssLookupKeys = exports.GrupoAireDropDownKeys = exports.BssDropDownKeys = exports.StorageConfiguration = exports.ShoppingCartProductTypeDisplayOrder = exports.ShoppingCartProductType = exports.BusinessCustomerType = exports.CustomerType = exports.ClientType = exports.ArsTenant = void 0;
|
|
4
4
|
const error_constants_1 = require("./error.constants");
|
|
5
5
|
var ArsTenant;
|
|
6
6
|
(function (ArsTenant) {
|
|
@@ -87,6 +87,10 @@ var BssDropDownKeys;
|
|
|
87
87
|
BssDropDownKeys["TASK_CATEGORY_TYPES"] = "TASK_CATEGORY_TYPES";
|
|
88
88
|
BssDropDownKeys["TRANSITION_DOWNGRADE_REASON_TYPES"] = "TRANSITION_DOWNGRADE_REASON_TYPES";
|
|
89
89
|
})(BssDropDownKeys || (exports.BssDropDownKeys = BssDropDownKeys = {}));
|
|
90
|
+
var GrupoAireDropDownKeys;
|
|
91
|
+
(function (GrupoAireDropDownKeys) {
|
|
92
|
+
GrupoAireDropDownKeys["GRUPO_AIRE_CONNECTION_STATUS_TYEPS"] = "GRUPO_AIRE_CONNECTION_STATUS_TYEPS";
|
|
93
|
+
})(GrupoAireDropDownKeys || (exports.GrupoAireDropDownKeys = GrupoAireDropDownKeys = {}));
|
|
90
94
|
var BssLookupKeys;
|
|
91
95
|
(function (BssLookupKeys) {
|
|
92
96
|
BssLookupKeys["COUNTRY_STATE_TYPES"] = "COUNTRY_STATES";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ApartmentNetworkType = exports.AreaAddressesOrderBy = void 0;
|
|
3
|
+
exports.GRUPO_AIRE_ADDRESS_APARMENT_ID_PREFIX = exports.ApartmentNetworkType = exports.AreaAddressesOrderBy = void 0;
|
|
4
4
|
var AreaAddressesOrderBy;
|
|
5
5
|
(function (AreaAddressesOrderBy) {
|
|
6
6
|
AreaAddressesOrderBy["ADDRESS"] = "address";
|
|
@@ -10,3 +10,4 @@ var ApartmentNetworkType;
|
|
|
10
10
|
(function (ApartmentNetworkType) {
|
|
11
11
|
ApartmentNetworkType["GRUPO_AIRE"] = "AIRE NETWORKS";
|
|
12
12
|
})(ApartmentNetworkType || (exports.ApartmentNetworkType = ApartmentNetworkType = {}));
|
|
13
|
+
exports.GRUPO_AIRE_ADDRESS_APARMENT_ID_PREFIX = 'T';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CustomerType } from '../../common/constants';
|
|
2
|
-
import { ShoppingCartConfigurationCharacteristicResDto, ShoppingCartConfigurationServiceSpecificationItemResDto,
|
|
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.
|
|
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] } };
|