adamo-types 1.2.116-sit → 1.2.118-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/database/product-transition-configuration.entity.js +2 -1
- package/dist/sys03/customer/customer-product.entity.d.ts +9 -0
- package/dist/sys03/customer/customer-product.entity.js +13 -1
- package/dist/sys03/customer-product-multiple-transition-process/customer-product-multiple-transition-process.entity.d.ts +2 -1
- package/dist/sys03/customer-product-multiple-transition-process/customer-product-multiple-transition-process.entity.js +1 -1
- package/dist/sys03/updowngrade/product-transition.entity.d.ts +2 -1
- package/dist/sys03/updowngrade/product-transition.entity.js +1 -1
- package/dist/sys03/updowngrade/updowngrade.constants.d.ts +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -116,7 +116,8 @@ __decorate([
|
|
|
116
116
|
__metadata("design:type", Boolean)
|
|
117
117
|
], ProductTransitionCombinationEntity.prototype, "active", void 0);
|
|
118
118
|
ProductTransitionCombinationEntity = __decorate([
|
|
119
|
-
(0, typeorm_1.Entity)({ name: 'product-transition-combination' })
|
|
119
|
+
(0, typeorm_1.Entity)({ name: 'product-transition-combination' }),
|
|
120
|
+
(0, typeorm_1.Index)('product_UNIQUE', ['product', 'fiberProduct', 'mobileProduct'], { unique: true })
|
|
120
121
|
], ProductTransitionCombinationEntity);
|
|
121
122
|
exports.ProductTransitionCombinationEntity = ProductTransitionCombinationEntity;
|
|
122
123
|
let ProductTransitionConfigurationEntity = class ProductTransitionConfigurationEntity {
|
|
@@ -101,6 +101,15 @@ export declare class CustomerProductModificationDto {
|
|
|
101
101
|
bundles: CustomerProductModificationBundleDto[];
|
|
102
102
|
parameters?: ShoppingCartParametersDto;
|
|
103
103
|
}
|
|
104
|
+
export declare class CustomerProductMultipleTransitionBundleDto extends CustomerProductModificationBundleDto {
|
|
105
|
+
isComplementaryBundle: boolean;
|
|
106
|
+
}
|
|
107
|
+
export declare class CustomerProductMultipleTransitionDto {
|
|
108
|
+
shoppingCartId: string;
|
|
109
|
+
customerId: string;
|
|
110
|
+
bundles: CustomerProductMultipleTransitionBundleDto[];
|
|
111
|
+
parameters?: ShoppingCartParametersDto;
|
|
112
|
+
}
|
|
104
113
|
export declare class CheckCustomerProductModificationProductInstanceDto {
|
|
105
114
|
id: string;
|
|
106
115
|
action: CustomerProductInstanceAction;
|
|
@@ -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.TerminateCustomerProductDto = exports.CheckCustomerProductTransitionWithAdditionalBundleResDto = exports.CheckCustomerProductActionResDto = exports.CustomerProductTransitionWithAdditionalBundleStepResDto = exports.CheckCustomerProductTransitionWithMultipleBundlesDto = exports.CheckCustomerProductModificationDto = exports.CheckCustomerProductModificationBundleDto = exports.CheckCustomerProductModificationProductGroupDto = exports.CheckCustomerProductModificationProductDto = exports.CheckCustomerProductModificationProductInstanceDto = exports.CustomerProductModificationDto = exports.CustomerProductModificationBundleDto = exports.CustomerProductModificationProductGroupDto = exports.CustomerProductModificationProductDto = exports.CustomerProductModificationProductInstanceDto = exports.CheckCustomerProductTransitionDto = exports.CustomerProductTransitionCombinationDto = exports.CheckCustomerProductTransitionMobileDto = exports.CheckCustomerProductTransitionVoipDto = exports.CheckCustomerProductTransitionFiberDto = exports.CustomerProductWithApartmentDto = exports.CustomerBundleDto = exports.CustomerBundleProductDto = exports.CustomerProductsDto = void 0;
|
|
12
|
+
exports.TerminateCustomerProductDto = exports.CheckCustomerProductTransitionWithAdditionalBundleResDto = exports.CheckCustomerProductActionResDto = exports.CustomerProductTransitionWithAdditionalBundleStepResDto = exports.CheckCustomerProductTransitionWithMultipleBundlesDto = exports.CheckCustomerProductModificationDto = exports.CheckCustomerProductModificationBundleDto = exports.CheckCustomerProductModificationProductGroupDto = exports.CheckCustomerProductModificationProductDto = exports.CheckCustomerProductModificationProductInstanceDto = exports.CustomerProductMultipleTransitionDto = exports.CustomerProductMultipleTransitionBundleDto = exports.CustomerProductModificationDto = exports.CustomerProductModificationBundleDto = exports.CustomerProductModificationProductGroupDto = exports.CustomerProductModificationProductDto = exports.CustomerProductModificationProductInstanceDto = exports.CheckCustomerProductTransitionDto = exports.CustomerProductTransitionCombinationDto = exports.CheckCustomerProductTransitionMobileDto = exports.CheckCustomerProductTransitionVoipDto = exports.CheckCustomerProductTransitionFiberDto = exports.CustomerProductWithApartmentDto = exports.CustomerBundleDto = exports.CustomerBundleProductDto = exports.CustomerProductsDto = void 0;
|
|
13
13
|
const openapi = require("@nestjs/swagger");
|
|
14
14
|
const customer_1 = require("../../bss/customer");
|
|
15
15
|
const _validators_1 = require("../../validators/index");
|
|
@@ -151,6 +151,18 @@ class CustomerProductModificationDto {
|
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
153
|
exports.CustomerProductModificationDto = CustomerProductModificationDto;
|
|
154
|
+
class CustomerProductMultipleTransitionBundleDto extends CustomerProductModificationBundleDto {
|
|
155
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
156
|
+
return { isComplementaryBundle: { required: true, type: () => Boolean } };
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
exports.CustomerProductMultipleTransitionBundleDto = CustomerProductMultipleTransitionBundleDto;
|
|
160
|
+
class CustomerProductMultipleTransitionDto {
|
|
161
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
162
|
+
return { shoppingCartId: { required: true, type: () => String }, customerId: { required: true, type: () => String }, bundles: { required: true, type: () => [require("./customer-product.entity").CustomerProductMultipleTransitionBundleDto] }, parameters: { required: false, type: () => require("../../bss/bearingpoint/shopping-cart/shopping-cart-parameters.entity").ShoppingCartParametersDto } };
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
exports.CustomerProductMultipleTransitionDto = CustomerProductMultipleTransitionDto;
|
|
154
166
|
class CheckCustomerProductModificationProductInstanceDto {
|
|
155
167
|
static _OPENAPI_METADATA_FACTORY() {
|
|
156
168
|
return { id: { required: true, type: () => String }, action: { required: true, enum: require("./customer.constants").CustomerProductInstanceAction }, referenceProductId: { required: false, type: () => String }, referenceProductName: { required: false, type: () => String } };
|
|
@@ -28,8 +28,9 @@ export declare class PatchCustomerProductMultipleTransitionProcessOrderDataSaved
|
|
|
28
28
|
notes?: string;
|
|
29
29
|
}
|
|
30
30
|
export declare class CustomerProductMultipleTransitionProcessStepRelatedProductDto {
|
|
31
|
-
originalId: string;
|
|
32
31
|
id: string;
|
|
32
|
+
name: string;
|
|
33
|
+
originalId: string;
|
|
33
34
|
}
|
|
34
35
|
export declare class CustomerProductMultipleTransitionProcessStepDto {
|
|
35
36
|
id?: number;
|
|
@@ -138,7 +138,7 @@ __decorate([
|
|
|
138
138
|
exports.PatchCustomerProductMultipleTransitionProcessOrderDataSavedDto = PatchCustomerProductMultipleTransitionProcessOrderDataSavedDto;
|
|
139
139
|
class CustomerProductMultipleTransitionProcessStepRelatedProductDto {
|
|
140
140
|
static _OPENAPI_METADATA_FACTORY() {
|
|
141
|
-
return {
|
|
141
|
+
return { id: { required: true, type: () => String }, name: { required: true, type: () => String }, originalId: { required: true, type: () => String } };
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
exports.CustomerProductMultipleTransitionProcessStepRelatedProductDto = CustomerProductMultipleTransitionProcessStepRelatedProductDto;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ProductTransitionCombinationEntity } from '../../database/index';
|
|
2
2
|
import { CustomerType } from '../shopping-cart';
|
|
3
|
+
import { ProductTransitionGroupName } from './updowngrade.constants';
|
|
3
4
|
export declare class ProductTransitionGroupOptionsFiberDto {
|
|
4
5
|
bandwidths: string[];
|
|
5
6
|
}
|
|
@@ -13,7 +14,7 @@ export declare class ProductTransitionGroupOptionsMobileDto {
|
|
|
13
14
|
}
|
|
14
15
|
export declare class ProductTransitionGroupOptionsDto {
|
|
15
16
|
id: number;
|
|
16
|
-
name:
|
|
17
|
+
name: ProductTransitionGroupName;
|
|
17
18
|
onlyMobilesProductName: string;
|
|
18
19
|
sharedMobilesProductName: string;
|
|
19
20
|
intermediateProductName: string;
|
|
@@ -22,7 +22,7 @@ class ProductTransitionGroupOptionsMobileDto {
|
|
|
22
22
|
exports.ProductTransitionGroupOptionsMobileDto = ProductTransitionGroupOptionsMobileDto;
|
|
23
23
|
class ProductTransitionGroupOptionsDto {
|
|
24
24
|
static _OPENAPI_METADATA_FACTORY() {
|
|
25
|
-
return { id: { required: true, type: () => Number }, name: { required: true, type: () =>
|
|
25
|
+
return { id: { required: true, type: () => Number }, name: { required: true, type: () => Object }, onlyMobilesProductName: { required: true, type: () => String }, sharedMobilesProductName: { required: true, type: () => String }, intermediateProductName: { required: true, type: () => String }, displayName: { required: true, type: () => String }, customerType: { required: true, enum: require("../shopping-cart/shopping-cart.constants").CustomerType }, fiber: { required: false, type: () => require("./product-transition.entity").ProductTransitionGroupOptionsFiberDto }, voip: { required: true, type: () => require("./product-transition.entity").ProductTransitionGroupOptionsVoipDto }, mobile: { required: true, type: () => [require("./product-transition.entity").ProductTransitionGroupOptionsMobileDto] }, combinations: { required: false, type: () => [require("../../database/product-transition-configuration.entity").ProductTransitionCombinationEntity] } };
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
exports.ProductTransitionGroupOptionsDto = ProductTransitionGroupOptionsDto;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export declare type ProductTransitionGroupName = '2nd-residence' | 'easy' | 'essential' | 'fast' | 'super-fast' | 'basic-asturias' | 'basic' | 'start' | 'plus' | 'pro' | 'pyme-fast' | 'pyme-start' | 'relax' | 'relax-total';
|
|
1
2
|
export declare enum ProductTransitionCombinationMobileType {
|
|
2
3
|
SHARED_DATA = "SHARED_DATA",
|
|
3
4
|
UNLIMITED_DATA = "UNLIMITED_DATA"
|