adamo-types 2.0.77-sit → 2.0.78-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/customer/customer-product.entity.d.ts +9 -0
- package/dist/bss/customer/customer-product.entity.js +7 -1
- package/dist/common/edge-bss/shopping-cart/req/other.entity.d.ts +0 -4
- package/dist/common/edge-bss/shopping-cart/req/other.entity.js +1 -7
- package/dist/sys03/shopping-cart/index.d.ts +1 -0
- package/dist/sys03/shopping-cart/index.js +1 -0
- package/dist/sys03/shopping-cart/shopping-cart-extras.entity.d.ts +4 -0
- package/dist/sys03/shopping-cart/shopping-cart-extras.entity.js +10 -0
- package/dist/sys03/shopping-cart/shopping-cart-summary.entity.d.ts +2 -0
- package/dist/sys03/shopping-cart/shopping-cart-summary.entity.js +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -61,6 +61,15 @@ export declare class CustomerProductDto extends CustomerProductServiceDataDto {
|
|
|
61
61
|
characteristics?: CustomerProductCharacteristicDto[];
|
|
62
62
|
products?: CustomerProductDto[];
|
|
63
63
|
}
|
|
64
|
+
export declare class CustomerProductContractDto {
|
|
65
|
+
id: string;
|
|
66
|
+
name: string;
|
|
67
|
+
displayName?: string;
|
|
68
|
+
bindingMonths?: number;
|
|
69
|
+
bindingDays?: number;
|
|
70
|
+
activatedAt: string;
|
|
71
|
+
terminatedAt?: string;
|
|
72
|
+
}
|
|
64
73
|
export declare class CustomerProductDtoBuilder extends Builder<CustomerProductDto> {
|
|
65
74
|
setDefaults(): CustomerProductDto;
|
|
66
75
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CustomerProductDtoBuilder = exports.CustomerProductDto = exports.CustomerProductServiceDto = exports.CustomerProductServiceCharacteristicDto = exports.CustomerProductServiceDataDto = exports.CustomerProductCharacteristicDto = void 0;
|
|
3
|
+
exports.CustomerProductDtoBuilder = exports.CustomerProductContractDto = exports.CustomerProductDto = exports.CustomerProductServiceDto = exports.CustomerProductServiceCharacteristicDto = exports.CustomerProductServiceDataDto = exports.CustomerProductCharacteristicDto = void 0;
|
|
4
4
|
const openapi = require("@nestjs/swagger");
|
|
5
5
|
const product_1 = require("../product");
|
|
6
6
|
const helpers_1 = require("../../common/helpers/helpers");
|
|
@@ -39,6 +39,12 @@ class CustomerProductDto extends CustomerProductServiceDataDto {
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
exports.CustomerProductDto = CustomerProductDto;
|
|
42
|
+
class CustomerProductContractDto {
|
|
43
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
44
|
+
return { id: { required: true, type: () => String }, name: { required: true, type: () => String }, displayName: { required: false, type: () => String }, bindingMonths: { required: false, type: () => Number }, bindingDays: { required: false, type: () => Number }, activatedAt: { required: true, type: () => String }, terminatedAt: { required: false, type: () => String } };
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.CustomerProductContractDto = CustomerProductContractDto;
|
|
42
48
|
class CustomerProductDtoBuilder extends helpers_1.Builder {
|
|
43
49
|
setDefaults() {
|
|
44
50
|
const { key: name, productName: displayName } = (0, helpers_1.fakerCommerceProductNameAndKey)();
|
|
@@ -94,7 +94,3 @@ export declare class UpdateShoppingCartServiceSpecificationItemDtoBuilder extend
|
|
|
94
94
|
export declare class AvailableProductsQueryDto {
|
|
95
95
|
configurationAttributes: boolean;
|
|
96
96
|
}
|
|
97
|
-
export declare class ExtrasQueryDto {
|
|
98
|
-
configurationAttributes: boolean;
|
|
99
|
-
extraTotal: boolean;
|
|
100
|
-
}
|
|
@@ -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.
|
|
12
|
+
exports.AvailableProductsQueryDto = exports.UpdateShoppingCartServiceSpecificationItemDtoBuilder = exports.UpdateShoppingCartServiceSpecificationItemDto = exports.UpdateShoppingCartConfigurationProductDtoBuilder = exports.UpdateShoppingCartConfigurationProductDto = exports.UpdateShoppingCartConfigurationBundleDtoBuilder = exports.UpdateShoppingCartConfigurationBundleDto = exports.UpdateShoppingCartBundlesConfigurationDtoBuilder = exports.UpdateShoppingCartBundlesConfigurationDto = exports.UpdateShoppingCartConfigurationDto = exports.UpdateShoppingCartOneBundlePromotionsDto = exports.UpdateShoppingCartCharacteristicDtoBuilder = exports.UpdateShoppingCartCharacteristicDto = exports.UpdateShoppingCartCharacteristicPriceDtoBuilder = exports.UpdateShoppingCartCharacteristicPriceDto = exports.UpdateShoppingCartContractDto = exports.SaveShoppingCartDto = exports.UpdateShoppingCartExtraGroupDto = exports.UpdateShoppingCartExtraDto = exports.UpdateShoppingCartBundlesExtraDto = exports.UpdateShoppingCartBundleExtrasDto = exports.UpdateShoppingCartExtrasDto = exports.ShoppingCartUpdateInfoDto = 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");
|
|
@@ -384,9 +384,3 @@ class AvailableProductsQueryDto {
|
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
386
|
exports.AvailableProductsQueryDto = AvailableProductsQueryDto;
|
|
387
|
-
class ExtrasQueryDto {
|
|
388
|
-
static _OPENAPI_METADATA_FACTORY() {
|
|
389
|
-
return { configurationAttributes: { required: true, type: () => Boolean }, extraTotal: { required: true, type: () => Boolean } };
|
|
390
|
-
}
|
|
391
|
-
}
|
|
392
|
-
exports.ExtrasQueryDto = ExtrasQueryDto;
|
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./shopping-cart-extras.entity"), exports);
|
|
17
18
|
__exportStar(require("./shopping-cart.common.entity"), exports);
|
|
18
19
|
__exportStar(require("./shopping-cart-summary.entity"), exports);
|
|
19
20
|
__exportStar(require("./shopping-cart.entity"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ShoppingCartExtrasQueryDto = void 0;
|
|
4
|
+
const openapi = require("@nestjs/swagger");
|
|
5
|
+
class ShoppingCartExtrasQueryDto {
|
|
6
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
7
|
+
return { configurationAttributes: { required: true, type: () => Boolean }, extraTotal: { required: true, type: () => Boolean } };
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
exports.ShoppingCartExtrasQueryDto = ShoppingCartExtrasQueryDto;
|
|
@@ -7,6 +7,8 @@ import { ChargeAndCreditType } from '../../bss/charge/charge.constants';
|
|
|
7
7
|
export declare class ShoppingCartSummaryContractResDto {
|
|
8
8
|
name: string;
|
|
9
9
|
months: number;
|
|
10
|
+
bindingMonths?: number;
|
|
11
|
+
bindingDate?: string;
|
|
10
12
|
configurationAttributes?: ShoppingCartConfigurationAttributeDto[];
|
|
11
13
|
}
|
|
12
14
|
export declare class ShoppingCartSummaryPriceResDto {
|
|
@@ -4,7 +4,7 @@ exports.ShoppingCartSummaryAggrupationResDto = exports.DefaultShoppingCartSummar
|
|
|
4
4
|
const openapi = require("@nestjs/swagger");
|
|
5
5
|
class ShoppingCartSummaryContractResDto {
|
|
6
6
|
static _OPENAPI_METADATA_FACTORY() {
|
|
7
|
-
return { name: { required: true, type: () => String }, months: { required: true, type: () => Number }, configurationAttributes: { required: false, type: () => [require("./shopping-cart.common.entity").ShoppingCartConfigurationAttributeDto] } };
|
|
7
|
+
return { name: { required: true, type: () => String }, months: { required: true, type: () => Number }, bindingMonths: { required: false, type: () => Number }, bindingDate: { required: false, type: () => String }, configurationAttributes: { required: false, type: () => [require("./shopping-cart.common.entity").ShoppingCartConfigurationAttributeDto] } };
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
exports.ShoppingCartSummaryContractResDto = ShoppingCartSummaryContractResDto;
|