adamo-types 1.1.164 → 1.1.166
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/product/internal/internal.entity.d.ts +1 -0
- package/dist/common/edge-bss/product/res/other.entity.d.ts +2 -0
- package/dist/common/edge-bss/product/res/other.entity.js +2 -2
- package/dist/common/edge-database/sales/sales.entity.d.ts +2 -2
- package/dist/common/edge-database/sales/sales.entity.js +1 -1
- package/dist/digitel/pdf.entity.d.ts +6 -0
- package/dist/digitel/pdf.entity.js +1 -1
- package/dist/sys03/charge/index.d.ts +28 -0
- package/dist/sys03/charge/index.js +105 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/admin/bill/csv-charges.entity.d.ts +0 -24
- package/dist/admin/bill/csv-charges.entity.js +0 -10
- package/dist/admin/bill/index.d.ts +0 -1
- package/dist/admin/bill/index.js +0 -17
|
@@ -21,6 +21,7 @@ export interface DefaultSummaryProduct {
|
|
|
21
21
|
displayName: string;
|
|
22
22
|
displayDescription: string;
|
|
23
23
|
type: ShoppingCartConfigurationProductType;
|
|
24
|
+
configurationAttributes: ConfigurationAttributeDto[];
|
|
24
25
|
promotions: DefaultSummaryCharacteristic[];
|
|
25
26
|
characteristics: DefaultSummaryCharacteristic[];
|
|
26
27
|
servicesCharacteristics: ShoppingCartInfoServiceCharacteristicDto[];
|
|
@@ -16,6 +16,7 @@ export declare class ProductSummaryResDto {
|
|
|
16
16
|
promotions: ProductSummaryCharacteristicResDto[];
|
|
17
17
|
installationCosts?: ProductSummaryCharacteristicResDto[];
|
|
18
18
|
contract: ProductSummaryContractResDto;
|
|
19
|
+
configurationAttributes?: ShoppingCartConfigurationAttributeDto[];
|
|
19
20
|
products: ProductSummaryProductResDto[];
|
|
20
21
|
prices: ProductSummaryPriceResDto[];
|
|
21
22
|
}
|
|
@@ -30,6 +31,7 @@ export declare class ProductSummaryProductResDto {
|
|
|
30
31
|
displayName: string;
|
|
31
32
|
displayDescription: string;
|
|
32
33
|
type: ShoppingCartConfigurationProductType;
|
|
34
|
+
configurationAttributes?: ShoppingCartConfigurationAttributeDto[];
|
|
33
35
|
promotions: ProductSummaryCharacteristicResDto[];
|
|
34
36
|
characteristics: ProductSummaryCharacteristicResDto[];
|
|
35
37
|
servicesCharacteristics: ShoppingCartInfoServiceCharacteristicDto[];
|
|
@@ -16,7 +16,7 @@ class DefaultBundlesSummaryResDto {
|
|
|
16
16
|
exports.DefaultBundlesSummaryResDto = DefaultBundlesSummaryResDto;
|
|
17
17
|
class ProductSummaryResDto {
|
|
18
18
|
static _OPENAPI_METADATA_FACTORY() {
|
|
19
|
-
return { name: { required: true, type: () => String }, displayName: { required: true, type: () => String }, displayDescription: { required: true, type: () => String }, promotions: { required: true, type: () => [require("./other.entity").ProductSummaryCharacteristicResDto] }, installationCosts: { required: false, type: () => [require("./other.entity").ProductSummaryCharacteristicResDto] }, contract: { required: true, type: () => require("./other.entity").ProductSummaryContractResDto }, products: { required: true, type: () => [require("./other.entity").ProductSummaryProductResDto] }, prices: { required: true, type: () => [require("./other.entity").ProductSummaryPriceResDto] } };
|
|
19
|
+
return { name: { required: true, type: () => String }, displayName: { required: true, type: () => String }, displayDescription: { required: true, type: () => String }, promotions: { required: true, type: () => [require("./other.entity").ProductSummaryCharacteristicResDto] }, installationCosts: { required: false, type: () => [require("./other.entity").ProductSummaryCharacteristicResDto] }, contract: { required: true, type: () => require("./other.entity").ProductSummaryContractResDto }, configurationAttributes: { required: false, type: () => [require("../../shopping-cart/res/other.entity").ShoppingCartConfigurationAttributeDto] }, products: { required: true, type: () => [require("./other.entity").ProductSummaryProductResDto] }, prices: { required: true, type: () => [require("./other.entity").ProductSummaryPriceResDto] } };
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
exports.ProductSummaryResDto = ProductSummaryResDto;
|
|
@@ -28,7 +28,7 @@ class BundlesSummaryResDto {
|
|
|
28
28
|
exports.BundlesSummaryResDto = BundlesSummaryResDto;
|
|
29
29
|
class ProductSummaryProductResDto {
|
|
30
30
|
static _OPENAPI_METADATA_FACTORY() {
|
|
31
|
-
return { name: { required: true, type: () => String }, index: { required: true, type: () => Number }, displayName: { required: true, type: () => String }, displayDescription: { required: true, type: () => String }, type: { required: true, enum: require("../../../constants/common.constants").ShoppingCartConfigurationProductType }, promotions: { required: true, type: () => [require("./other.entity").ProductSummaryCharacteristicResDto] }, characteristics: { required: true, type: () => [require("./other.entity").ProductSummaryCharacteristicResDto] }, servicesCharacteristics: { required: true, type: () => [require("../../shopping-cart/res/other.entity").ShoppingCartInfoServiceCharacteristicDto] }, total: { required: true, type: () => Number } };
|
|
31
|
+
return { name: { required: true, type: () => String }, index: { required: true, type: () => Number }, displayName: { required: true, type: () => String }, displayDescription: { required: true, type: () => String }, type: { required: true, enum: require("../../../constants/common.constants").ShoppingCartConfigurationProductType }, configurationAttributes: { required: false, type: () => [require("../../shopping-cart/res/other.entity").ShoppingCartConfigurationAttributeDto] }, promotions: { required: true, type: () => [require("./other.entity").ProductSummaryCharacteristicResDto] }, characteristics: { required: true, type: () => [require("./other.entity").ProductSummaryCharacteristicResDto] }, servicesCharacteristics: { required: true, type: () => [require("../../shopping-cart/res/other.entity").ShoppingCartInfoServiceCharacteristicDto] }, total: { required: true, type: () => Number } };
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
exports.ProductSummaryProductResDto = ProductSummaryProductResDto;
|
|
@@ -4,7 +4,7 @@ exports.DashboardSalesDto = void 0;
|
|
|
4
4
|
const openapi = require("@nestjs/swagger");
|
|
5
5
|
class DashboardSalesDto {
|
|
6
6
|
static _OPENAPI_METADATA_FACTORY() {
|
|
7
|
-
return { sales: { required: true, type: () => [require("../../../
|
|
7
|
+
return { sales: { required: true, type: () => [require("../../../zoho/sale-process/sale-process.entity").SaleProcessDto] }, total: { required: true, type: () => Number } };
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
exports.DashboardSalesDto = DashboardSalesDto;
|
|
@@ -14,6 +14,7 @@ export declare class PortInOperator {
|
|
|
14
14
|
}
|
|
15
15
|
export declare class TVBundle {
|
|
16
16
|
displayName: string;
|
|
17
|
+
displayNameB2B: string;
|
|
17
18
|
}
|
|
18
19
|
export declare class ContractPrice {
|
|
19
20
|
promoFirstMonth: number;
|
|
@@ -68,3 +69,8 @@ export interface AdditionalMobileBundle {
|
|
|
68
69
|
donorOperator: string;
|
|
69
70
|
};
|
|
70
71
|
}
|
|
72
|
+
export declare class VoipProduct {
|
|
73
|
+
displayName: string;
|
|
74
|
+
displayValue: string;
|
|
75
|
+
rentingValue: string;
|
|
76
|
+
}
|
|
@@ -10,7 +10,7 @@ class PortInOperator {
|
|
|
10
10
|
exports.PortInOperator = PortInOperator;
|
|
11
11
|
class TVBundle {
|
|
12
12
|
static _OPENAPI_METADATA_FACTORY() {
|
|
13
|
-
return { displayName: { required: true, type: () => String } };
|
|
13
|
+
return { displayName: { required: true, type: () => String }, displayNameB2B: { required: true, type: () => String } };
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
exports.TVBundle = TVBundle;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export declare class CsvChargeDto {
|
|
2
|
+
billingAccountId: string;
|
|
3
|
+
invoiceText: string;
|
|
4
|
+
startDate: string;
|
|
5
|
+
netCharge: string;
|
|
6
|
+
}
|
|
7
|
+
export declare class CsvChargeResDto {
|
|
8
|
+
input: CsvChargeDto;
|
|
9
|
+
error: boolean;
|
|
10
|
+
output?: unknown;
|
|
11
|
+
}
|
|
12
|
+
export declare class InfonovaApplyChargePayloadDto {
|
|
13
|
+
billingAccountId: string;
|
|
14
|
+
name: string;
|
|
15
|
+
validFor: ValidFor;
|
|
16
|
+
prices: Price;
|
|
17
|
+
}
|
|
18
|
+
export declare class ValidFor {
|
|
19
|
+
start: string;
|
|
20
|
+
}
|
|
21
|
+
export declare class Price {
|
|
22
|
+
name: string;
|
|
23
|
+
priceAdjustment: PriceAdjustment;
|
|
24
|
+
}
|
|
25
|
+
export declare class PriceAdjustment {
|
|
26
|
+
netCharge: string;
|
|
27
|
+
invoiceText: string;
|
|
28
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.PriceAdjustment = exports.Price = exports.ValidFor = exports.InfonovaApplyChargePayloadDto = exports.CsvChargeResDto = exports.CsvChargeDto = void 0;
|
|
13
|
+
const _validators_1 = require("../../validators/index");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const class_validator_1 = require("class-validator");
|
|
16
|
+
class CsvChargeDto {
|
|
17
|
+
}
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsNumberString)({ no_symbols: true }),
|
|
20
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
21
|
+
(0, _validators_1.IsNotBlank)(),
|
|
22
|
+
(0, class_transformer_1.Expose)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], CsvChargeDto.prototype, "billingAccountId", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_1.IsString)(),
|
|
27
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
28
|
+
(0, _validators_1.IsNotBlank)(),
|
|
29
|
+
(0, class_transformer_1.Expose)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], CsvChargeDto.prototype, "invoiceText", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsString)(),
|
|
34
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
35
|
+
(0, _validators_1.IsNotBlank)(),
|
|
36
|
+
(0, class_validator_1.Matches)(/^[0-9]{4}-(01|02|03|04|05|06|07|08|09|10|11|12)-[0-9]{2}$/),
|
|
37
|
+
(0, class_transformer_1.Expose)(),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], CsvChargeDto.prototype, "startDate", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_validator_1.IsNumberString)({ no_symbols: true }),
|
|
42
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
43
|
+
(0, _validators_1.IsNotBlank)(),
|
|
44
|
+
(0, class_transformer_1.Expose)(),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], CsvChargeDto.prototype, "netCharge", void 0);
|
|
47
|
+
exports.CsvChargeDto = CsvChargeDto;
|
|
48
|
+
class CsvChargeResDto {
|
|
49
|
+
}
|
|
50
|
+
exports.CsvChargeResDto = CsvChargeResDto;
|
|
51
|
+
class InfonovaApplyChargePayloadDto {
|
|
52
|
+
}
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, class_validator_1.IsNumberString)({ no_symbols: true }),
|
|
55
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
56
|
+
(0, _validators_1.IsNotBlank)(),
|
|
57
|
+
(0, class_transformer_1.Expose)(),
|
|
58
|
+
__metadata("design:type", String)
|
|
59
|
+
], InfonovaApplyChargePayloadDto.prototype, "billingAccountId", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, class_validator_1.IsString)(),
|
|
62
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
63
|
+
(0, _validators_1.IsNotBlank)(),
|
|
64
|
+
(0, class_transformer_1.Expose)(),
|
|
65
|
+
__metadata("design:type", String)
|
|
66
|
+
], InfonovaApplyChargePayloadDto.prototype, "name", void 0);
|
|
67
|
+
exports.InfonovaApplyChargePayloadDto = InfonovaApplyChargePayloadDto;
|
|
68
|
+
class ValidFor {
|
|
69
|
+
}
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, class_validator_1.IsString)(),
|
|
72
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
73
|
+
(0, _validators_1.IsNotBlank)(),
|
|
74
|
+
(0, class_validator_1.Matches)(/^[0-9]{4}-(01|02|03|04|05|06|07|08|09|10|11|12)-[0-9]{2}$/),
|
|
75
|
+
(0, class_transformer_1.Expose)(),
|
|
76
|
+
__metadata("design:type", String)
|
|
77
|
+
], ValidFor.prototype, "start", void 0);
|
|
78
|
+
exports.ValidFor = ValidFor;
|
|
79
|
+
class Price {
|
|
80
|
+
}
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, class_validator_1.IsString)(),
|
|
83
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
84
|
+
(0, _validators_1.IsNotBlank)(),
|
|
85
|
+
(0, class_transformer_1.Expose)(),
|
|
86
|
+
__metadata("design:type", String)
|
|
87
|
+
], Price.prototype, "name", void 0);
|
|
88
|
+
exports.Price = Price;
|
|
89
|
+
class PriceAdjustment {
|
|
90
|
+
}
|
|
91
|
+
__decorate([
|
|
92
|
+
(0, class_validator_1.IsNumberString)({ no_symbols: true }),
|
|
93
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
94
|
+
(0, _validators_1.IsNotBlank)(),
|
|
95
|
+
(0, class_transformer_1.Expose)(),
|
|
96
|
+
__metadata("design:type", String)
|
|
97
|
+
], PriceAdjustment.prototype, "netCharge", void 0);
|
|
98
|
+
__decorate([
|
|
99
|
+
(0, class_validator_1.IsString)(),
|
|
100
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
101
|
+
(0, _validators_1.IsNotBlank)(),
|
|
102
|
+
(0, class_transformer_1.Expose)(),
|
|
103
|
+
__metadata("design:type", String)
|
|
104
|
+
], PriceAdjustment.prototype, "invoiceText", void 0);
|
|
105
|
+
exports.PriceAdjustment = PriceAdjustment;
|