adamo-types 1.2.66 → 1.2.67-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/common/edge-bss/shopping-cart/res/other.entity.d.ts +1 -0
- package/dist/common/edge-bss/shopping-cart/res/other.entity.js +1 -1
- package/dist/sys03/shopping-cart/shopping-cart.entity.d.ts +1 -0
- package/dist/sys03/shopping-cart/shopping-cart.entity.js +6 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -117,6 +117,7 @@ export declare class ShoppingCartConfigurationPriceResDto {
|
|
|
117
117
|
bindingDate?: string;
|
|
118
118
|
}
|
|
119
119
|
export declare class ShoppingCartConfigurationCharacteristicResDto {
|
|
120
|
+
id?: string;
|
|
120
121
|
name: string;
|
|
121
122
|
displayName: string;
|
|
122
123
|
displayDescription: string;
|
|
@@ -129,7 +129,7 @@ class ShoppingCartConfigurationPriceResDto {
|
|
|
129
129
|
exports.ShoppingCartConfigurationPriceResDto = ShoppingCartConfigurationPriceResDto;
|
|
130
130
|
class ShoppingCartConfigurationCharacteristicResDto {
|
|
131
131
|
static _OPENAPI_METADATA_FACTORY() {
|
|
132
|
-
return { name: { required: true, type: () => String }, displayName: { required: true, type: () => String }, displayDescription: { required: true, type: () => String }, type: { required: false, type: () => [String] }, min: { required: true, type: () => Number }, max: { required: true, type: () => Number }, qty: { required: true, type: () => Number }, enabled: { required: true, type: () => Boolean }, configurationAttributes: { required: true, type: () => [require("./other.entity").ShoppingCartConfigurationAttributeDto] }, charge: { required: false, type: () => require("./other.entity").ShoppingCartConfigurationChargeResDto }, prices: { required: false, type: () => [require("./other.entity").ShoppingCartConfigurationPriceResDto] }, activatedAt: { required: false, type: () => String }, terminatedAt: { required: false, type: () => String }, completedPercentage: { required: false, type: () => Number } };
|
|
132
|
+
return { id: { required: false, type: () => String }, name: { required: true, type: () => String }, displayName: { required: true, type: () => String }, displayDescription: { required: true, type: () => String }, type: { required: false, type: () => [String] }, min: { required: true, type: () => Number }, max: { required: true, type: () => Number }, qty: { required: true, type: () => Number }, enabled: { required: true, type: () => Boolean }, configurationAttributes: { required: true, type: () => [require("./other.entity").ShoppingCartConfigurationAttributeDto] }, charge: { required: false, type: () => require("./other.entity").ShoppingCartConfigurationChargeResDto }, prices: { required: false, type: () => [require("./other.entity").ShoppingCartConfigurationPriceResDto] }, activatedAt: { required: false, type: () => String }, terminatedAt: { required: false, type: () => String }, completedPercentage: { required: false, type: () => Number } };
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
135
|
exports.ShoppingCartConfigurationCharacteristicResDto = ShoppingCartConfigurationCharacteristicResDto;
|
|
@@ -16,6 +16,7 @@ export declare class UpdateShoppingCartPromotionsDto {
|
|
|
16
16
|
}
|
|
17
17
|
export declare class UpdateShoppingCartBundleContractDto {
|
|
18
18
|
name: string;
|
|
19
|
+
override?: boolean;
|
|
19
20
|
contract: UpdateShoppingCartCharacteristicDto;
|
|
20
21
|
}
|
|
21
22
|
export declare class UpdateShoppingCartContractsDto {
|
|
@@ -82,7 +82,7 @@ __decorate([
|
|
|
82
82
|
exports.UpdateShoppingCartPromotionsDto = UpdateShoppingCartPromotionsDto;
|
|
83
83
|
class UpdateShoppingCartBundleContractDto {
|
|
84
84
|
static _OPENAPI_METADATA_FACTORY() {
|
|
85
|
-
return { name: { required: true, type: () => String }, contract: { required: true, type: () => require("../../common/edge-bss/shopping-cart/req/other.entity").UpdateShoppingCartCharacteristicDto } };
|
|
85
|
+
return { name: { required: true, type: () => String }, override: { required: false, type: () => Boolean }, contract: { required: true, type: () => require("../../common/edge-bss/shopping-cart/req/other.entity").UpdateShoppingCartCharacteristicDto } };
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
__decorate([
|
|
@@ -91,6 +91,11 @@ __decorate([
|
|
|
91
91
|
(0, _validators_1.IsNotBlank)(),
|
|
92
92
|
__metadata("design:type", String)
|
|
93
93
|
], UpdateShoppingCartBundleContractDto.prototype, "name", void 0);
|
|
94
|
+
__decorate([
|
|
95
|
+
(0, class_validator_1.IsBoolean)(),
|
|
96
|
+
(0, class_validator_1.IsOptional)(),
|
|
97
|
+
__metadata("design:type", Boolean)
|
|
98
|
+
], UpdateShoppingCartBundleContractDto.prototype, "override", void 0);
|
|
94
99
|
__decorate([
|
|
95
100
|
(0, class_validator_1.ValidateNested)(),
|
|
96
101
|
(0, class_transformer_1.Type)(() => edge_bss_1.UpdateShoppingCartCharacteristicDto),
|