adamo-types 2.1.44 → 2.1.45-uat
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/bearingpoint/charge-catalog/bill-types.entity.d.ts +0 -7
- package/dist/bss/bearingpoint/charge-catalog/bill-types.entity.js +1 -10
- package/dist/bss/bearingpoint/payment/payment.entity.d.ts +0 -13
- package/dist/bss/bearingpoint/service-specification/service-specification.entity.d.ts +0 -19
- package/dist/bss/bearingpoint/shopping-cart/shopping-cart-parameters.entity.d.ts +0 -4
- package/dist/bss/bearingpoint/shopping-cart/shopping-cart-parameters.entity.js +1 -40
- package/dist/bss/customer/customer-product.entity.d.ts +0 -4
- package/dist/bss/customer/customer-product.entity.js +1 -32
- package/dist/bss/product/product-order.entity.d.ts +0 -4
- package/dist/bss/product/product-order.entity.js +1 -21
- package/dist/common/edge-bss/shopping-cart/res/other.entity.d.ts +0 -7
- package/dist/common/edge-bss/shopping-cart/res/other.entity.js +1 -12
- package/dist/digitel/index.d.ts +0 -1
- package/dist/digitel/index.js +0 -1
- package/dist/digitel/pdf.entity.d.ts +0 -35
- package/dist/digitel/pdf.entity.js +1 -44
- package/dist/digitel/recipient.entity.d.ts +0 -15
- package/dist/digitel/recipient.entity.js +1 -18
- package/dist/sys03/constants/sys03.constants.d.ts +0 -1
- package/dist/sys03/constants/sys03.constants.js +1 -2
- package/dist/sys03/customer/customer-product.entity.d.ts +0 -7
- package/dist/sys03/customer/customer-product.entity.js +11 -8
- package/dist/sys03/essential-premium-tag/essential-premium-tag-process-entity.d.ts +0 -11
- package/dist/sys03/essential-premium-tag/essential-premium-tag-process-entity.js +1 -13
- package/dist/sys03/robinson/robinson.constants.d.ts +0 -12
- package/dist/sys03/robinson/robinson.constants.js +1 -15
- package/dist/sys03/robinson/robinson.entity.d.ts +0 -10
- package/dist/sys03/robinson/robinson.entity.js +1 -19
- package/dist/sys03/updowngrade/product-transition-group.entity.d.ts +0 -12
- package/dist/sys03/updowngrade/product-transition-group.entity.js +1 -75
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/zoho/constants/zoho.constants.d.ts +0 -5
- package/dist/zoho/constants/zoho.constants.js +1 -7
- package/package.json +2 -2
- package/dist/digitel/circuit.entity.d.ts +0 -10
- package/dist/digitel/circuit.entity.js +0 -21
- package/dist/digitel/transaction-status.entity.d.ts +0 -4
- package/dist/digitel/transaction-status.entity.js +0 -12
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
import { TaxType } from '../../constants';
|
|
2
|
-
import { BpValidFor } from '../common';
|
|
3
|
-
export declare class BpBillTypeTimeLineItemDto {
|
|
4
|
-
taxType: TaxType;
|
|
5
|
-
loyaltyPointsDisabled: boolean;
|
|
6
|
-
validFor: BpValidFor;
|
|
7
|
-
}
|
|
8
1
|
export declare class BpBillTypeDto {
|
|
9
2
|
name: string;
|
|
10
3
|
description: string;
|
|
@@ -1,16 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BpBillTypeDto =
|
|
3
|
+
exports.BpBillTypeDto = void 0;
|
|
4
4
|
const openapi = require("@nestjs/swagger");
|
|
5
|
-
class BpBillTypeTimeLineItemDto {
|
|
6
|
-
taxType;
|
|
7
|
-
loyaltyPointsDisabled;
|
|
8
|
-
validFor;
|
|
9
|
-
static _OPENAPI_METADATA_FACTORY() {
|
|
10
|
-
return { taxType: { required: true, type: () => String, enum: require("../../constants/bp.constants").TaxType }, loyaltyPointsDisabled: { required: true, type: () => Boolean }, validFor: { required: true, type: () => Object } };
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
exports.BpBillTypeTimeLineItemDto = BpBillTypeTimeLineItemDto;
|
|
14
5
|
class BpBillTypeDto {
|
|
15
6
|
name;
|
|
16
7
|
description;
|
|
@@ -11,19 +11,6 @@ export interface BpPaymentMethod {
|
|
|
11
11
|
}
|
|
12
12
|
export type BpCreatePaymentMethod = Pick<BpPaymentMethod, 'billingAccount' | 'type' | 'uniqueReference'>;
|
|
13
13
|
export type BpCreatePaymentPaymentMethod = Pick<BpPaymentMethod, 'type'>;
|
|
14
|
-
export interface BpPayment {
|
|
15
|
-
id?: string;
|
|
16
|
-
externalId?: string;
|
|
17
|
-
paymentReference: string;
|
|
18
|
-
refundReference?: string;
|
|
19
|
-
state?: BpPaymentStateType;
|
|
20
|
-
amount: BpChargeValue;
|
|
21
|
-
paymentMethod: BpPaymentMethod;
|
|
22
|
-
creator?: string;
|
|
23
|
-
created?: string;
|
|
24
|
-
settled: string;
|
|
25
|
-
reason: string;
|
|
26
|
-
}
|
|
27
14
|
export interface BpCreatePayment {
|
|
28
15
|
paymentReference: string;
|
|
29
16
|
state: BpPaymentStateType;
|
|
@@ -42,25 +42,6 @@ export interface BpServiceSpecificationCharacteristic {
|
|
|
42
42
|
onceOnlyCharges?: BpOnceOnlyCharge;
|
|
43
43
|
recurringCharges?: BpRecurringCharge;
|
|
44
44
|
}
|
|
45
|
-
export interface BpServiceSpecificationAddress {
|
|
46
|
-
validated: boolean;
|
|
47
|
-
countryKey: string;
|
|
48
|
-
streetName: string;
|
|
49
|
-
postCode: string;
|
|
50
|
-
suburb: string;
|
|
51
|
-
referenceId: string;
|
|
52
|
-
streetTypeKey: string;
|
|
53
|
-
stateKey: string;
|
|
54
|
-
id: string;
|
|
55
|
-
parameters: BpServiceSpecificationAddressParameters;
|
|
56
|
-
}
|
|
57
|
-
export interface BpServiceSpecificationAddressParameters {
|
|
58
|
-
block: string;
|
|
59
|
-
entrance: string;
|
|
60
|
-
floor: string;
|
|
61
|
-
door: string;
|
|
62
|
-
street_number: string;
|
|
63
|
-
}
|
|
64
45
|
export interface BpServiceSpecification {
|
|
65
46
|
name: string;
|
|
66
47
|
serviceProvider: string;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Builder } from '../../../common/helpers/helpers';
|
|
2
1
|
import { CustomerProductInstanceAction } from '../../../sys03/customer';
|
|
3
2
|
export declare enum ShoppingCartParametersShoppingCartProcess {
|
|
4
3
|
AGGRUPATION = "aggrupation",
|
|
@@ -85,6 +84,3 @@ export declare class ShoppingCartParametersDto {
|
|
|
85
84
|
referenceProductMobileServiceProfile?: string;
|
|
86
85
|
}
|
|
87
86
|
export type ShoppingCartParametersOffnetDetails = Pick<ShoppingCartParametersDto, 'offnet' | 'iuaDonor'>;
|
|
88
|
-
export declare class ShoppingCartParametersDtoBuilder extends Builder<ShoppingCartParametersDto> {
|
|
89
|
-
setDefaults(): ShoppingCartParametersDto;
|
|
90
|
-
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.ShoppingCartParametersDto = exports.ShoppingCartEntityParametersDto = exports.ShoppingCartParametersOffnetType = exports.ShoppingCartParametersShoppingCartReplicaType = exports.ShoppingCartParametersShoppingCartProcess = void 0;
|
|
4
4
|
const openapi = require("@nestjs/swagger");
|
|
5
|
-
const helpers_1 = require("../../../common/helpers/helpers");
|
|
6
5
|
var ShoppingCartParametersShoppingCartProcess;
|
|
7
6
|
(function (ShoppingCartParametersShoppingCartProcess) {
|
|
8
7
|
ShoppingCartParametersShoppingCartProcess["AGGRUPATION"] = "aggrupation";
|
|
@@ -98,41 +97,3 @@ class ShoppingCartParametersDto {
|
|
|
98
97
|
}
|
|
99
98
|
}
|
|
100
99
|
exports.ShoppingCartParametersDto = ShoppingCartParametersDto;
|
|
101
|
-
class ShoppingCartParametersDtoBuilder extends helpers_1.Builder {
|
|
102
|
-
setDefaults() {
|
|
103
|
-
return {
|
|
104
|
-
addressInfo: 'Present',
|
|
105
|
-
apartmentId: '937367',
|
|
106
|
-
block: '',
|
|
107
|
-
cartCreatedBy: 'test@adamo.es',
|
|
108
|
-
city: 'CALLDETENES',
|
|
109
|
-
competition: 'TS',
|
|
110
|
-
country: 'ES',
|
|
111
|
-
customerType: 'Residential',
|
|
112
|
-
door: '',
|
|
113
|
-
entrance: '',
|
|
114
|
-
floor: 'BA ',
|
|
115
|
-
lat: '41.9276600000000000000000',
|
|
116
|
-
lng: '2.2841700000000000000000',
|
|
117
|
-
municipality: 'CALLDETENES',
|
|
118
|
-
network: 'Adamo',
|
|
119
|
-
postcode: '08506',
|
|
120
|
-
projectCode: 'BAR.CAL.1.G',
|
|
121
|
-
projectId: '22189',
|
|
122
|
-
province: 'BARCELONA',
|
|
123
|
-
salesAreaId: '28',
|
|
124
|
-
salesAreaName: 'Area A00',
|
|
125
|
-
serviceableAge: '735',
|
|
126
|
-
serviceableStatus: 'SERVICIABLE',
|
|
127
|
-
streetAddressId: '334073',
|
|
128
|
-
streetName: 'UNIO',
|
|
129
|
-
streetNumber: '23',
|
|
130
|
-
streetType: 'CL',
|
|
131
|
-
technology: 'FIBERHOME'
|
|
132
|
-
};
|
|
133
|
-
}
|
|
134
|
-
static _OPENAPI_METADATA_FACTORY() {
|
|
135
|
-
return {};
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
exports.ShoppingCartParametersDtoBuilder = ShoppingCartParametersDtoBuilder;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ProductInventoryCompletenessStateType, ProductInventoryStateType } from '../product';
|
|
2
2
|
import { ShoppingCartProductType } from '../../common/constants';
|
|
3
3
|
import { CustomerProductActionType } from './customer.constants';
|
|
4
|
-
import { Builder } from '../../common/helpers/helpers';
|
|
5
4
|
import { ShoppingCartConfigurationAttributeDto } from '../../sys03/shopping-cart';
|
|
6
5
|
import { ServiceInventoryServiceStateType } from '../service';
|
|
7
6
|
import { CustomerAccountAddressDto } from '../../sys03/customer';
|
|
@@ -64,9 +63,6 @@ export declare class CustomerProductDto extends CustomerProductServiceDataDto {
|
|
|
64
63
|
characteristics?: CustomerProductCharacteristicDto[];
|
|
65
64
|
products?: CustomerProductDto[];
|
|
66
65
|
}
|
|
67
|
-
export declare class CustomerProductDtoBuilder extends Builder<CustomerProductDto> {
|
|
68
|
-
setDefaults(): CustomerProductDto;
|
|
69
|
-
}
|
|
70
66
|
export declare class CustomerProductsMobileProviderDto {
|
|
71
67
|
totalMobileProducts: number;
|
|
72
68
|
productId?: string;
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CustomerProductsMobileProviderDto = exports.
|
|
3
|
+
exports.CustomerProductsMobileProviderDto = exports.CustomerProductDto = exports.CustomerProductServiceDto = exports.CustomerProductServiceCharacteristicDto = exports.CustomerProductServiceDataDto = exports.CustomerProductShoppingCartCharacteristicDto = exports.CustomerProductCharacteristicDto = void 0;
|
|
4
4
|
const openapi = require("@nestjs/swagger");
|
|
5
|
-
const product_1 = require("../product");
|
|
6
|
-
const helpers_1 = require("../../common/helpers/helpers");
|
|
7
|
-
const faker_1 = require("@faker-js/faker");
|
|
8
5
|
const swagger_1 = require("@nestjs/swagger");
|
|
9
6
|
class CustomerProductCharacteristicDto {
|
|
10
7
|
id;
|
|
@@ -96,34 +93,6 @@ class CustomerProductDto extends CustomerProductServiceDataDto {
|
|
|
96
93
|
}
|
|
97
94
|
}
|
|
98
95
|
exports.CustomerProductDto = CustomerProductDto;
|
|
99
|
-
class CustomerProductDtoBuilder extends helpers_1.Builder {
|
|
100
|
-
setDefaults() {
|
|
101
|
-
const { key: name, productName: displayName } = (0, helpers_1.fakerCommerceProductNameAndKey)();
|
|
102
|
-
const bundle = faker_1.faker.datatype.boolean({ probability: 0.9 });
|
|
103
|
-
const isMainBundle = bundle ? faker_1.faker.datatype.boolean({ probability: 0.75 }) : false;
|
|
104
|
-
const configurationType = bundle ? faker_1.faker.helpers.arrayElement([undefined, 'MAIN_RELAX', 'MAIN_RELAX_TOTAL', 'EASY', 'ELIGES']) : undefined;
|
|
105
|
-
return {
|
|
106
|
-
id: faker_1.faker.string.uuid(),
|
|
107
|
-
customerId: (0, helpers_1.fakerCustomerId)(),
|
|
108
|
-
instanceName: faker_1.faker.string.uuid(),
|
|
109
|
-
name,
|
|
110
|
-
displayName,
|
|
111
|
-
displayDescription: faker_1.faker.commerce.productDescription(),
|
|
112
|
-
bundle,
|
|
113
|
-
isMainBundle,
|
|
114
|
-
configurationType,
|
|
115
|
-
enabled: true,
|
|
116
|
-
actions: [],
|
|
117
|
-
state: faker_1.faker.helpers.enumValue(product_1.ProductInventoryStateType),
|
|
118
|
-
completenessState: faker_1.faker.helpers.enumValue(product_1.ProductInventoryCompletenessStateType),
|
|
119
|
-
activatedAt: faker_1.faker.date.anytime().toISOString()
|
|
120
|
-
};
|
|
121
|
-
}
|
|
122
|
-
static _OPENAPI_METADATA_FACTORY() {
|
|
123
|
-
return {};
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
exports.CustomerProductDtoBuilder = CustomerProductDtoBuilder;
|
|
127
96
|
class CustomerProductsMobileProviderDto {
|
|
128
97
|
totalMobileProducts;
|
|
129
98
|
productId;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Builder } from '../../common/helpers/helpers';
|
|
2
1
|
import { ShoppingCartProductDto } from '..';
|
|
3
2
|
import { ProductOrderType, ProductOrderStateType, ProductOrderItemActionType } from './product.constants';
|
|
4
3
|
import { BaseSearchFiltersDto } from '../search';
|
|
@@ -24,9 +23,6 @@ declare const CreateProductOrderDto_base: import("@nestjs/common").Type<Pick<Pro
|
|
|
24
23
|
export declare class CreateProductOrderDto extends CreateProductOrderDto_base {
|
|
25
24
|
items: CreateProductOrderItemDto[];
|
|
26
25
|
}
|
|
27
|
-
export declare class ProductOrderDtoBuilder extends Builder<ProductOrderDto> {
|
|
28
|
-
setDefaults(): ProductOrderDto;
|
|
29
|
-
}
|
|
30
26
|
export declare class ProductOrdersFiltersDto extends BaseSearchFiltersDto {
|
|
31
27
|
customerId?: string;
|
|
32
28
|
productId?: string;
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ProductOrdersFiltersDto = exports.
|
|
3
|
+
exports.ProductOrdersFiltersDto = exports.CreateProductOrderDto = exports.ProductOrderDto = exports.CreateProductOrderItemDto = exports.ProductOrderItemDto = void 0;
|
|
4
4
|
const openapi = require("@nestjs/swagger");
|
|
5
|
-
const helpers_1 = require("../../common/helpers/helpers");
|
|
6
|
-
const product_constants_1 = require("./product.constants");
|
|
7
|
-
const faker_1 = require("@faker-js/faker");
|
|
8
5
|
const swagger_1 = require("@nestjs/swagger");
|
|
9
6
|
const search_1 = require("../search");
|
|
10
7
|
class ProductOrderItemDto {
|
|
@@ -43,23 +40,6 @@ class CreateProductOrderDto extends (0, swagger_1.PickType)(ProductOrderDto, ['c
|
|
|
43
40
|
}
|
|
44
41
|
}
|
|
45
42
|
exports.CreateProductOrderDto = CreateProductOrderDto;
|
|
46
|
-
class ProductOrderDtoBuilder extends helpers_1.Builder {
|
|
47
|
-
setDefaults() {
|
|
48
|
-
const customerAccountId = (0, helpers_1.fakerCustomerId)();
|
|
49
|
-
return {
|
|
50
|
-
id: (0, helpers_1.fakerNumericStringLen)(6),
|
|
51
|
-
type: faker_1.faker.helpers.enumValue(product_constants_1.ProductOrderType),
|
|
52
|
-
state: faker_1.faker.helpers.enumValue(product_constants_1.ProductOrderStateType),
|
|
53
|
-
customerAccountId,
|
|
54
|
-
channel: faker_1.faker.string.alpha({ casing: 'upper' }),
|
|
55
|
-
items: []
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
static _OPENAPI_METADATA_FACTORY() {
|
|
59
|
-
return {};
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
exports.ProductOrderDtoBuilder = ProductOrderDtoBuilder;
|
|
63
43
|
class ProductOrdersFiltersDto extends search_1.BaseSearchFiltersDto {
|
|
64
44
|
customerId;
|
|
65
45
|
productId;
|
|
@@ -74,13 +74,6 @@ export declare class ShoppingCartFeaturesResDto {
|
|
|
74
74
|
promotions: ShoppingCartConfigurationFeaturesResDto;
|
|
75
75
|
contracts: ShoppingCartConfigurationCharacteristicResDto[];
|
|
76
76
|
}
|
|
77
|
-
export declare class ShoppingCartConfigurationResDto {
|
|
78
|
-
id: string;
|
|
79
|
-
promotions: ShoppingCartConfigurationFeaturesResDto;
|
|
80
|
-
contracts: ShoppingCartConfigurationCharacteristicResDto[];
|
|
81
|
-
products: ShoppingCartConfigurationProductResDto[];
|
|
82
|
-
parameters: ShoppingCartParametersDto;
|
|
83
|
-
}
|
|
84
77
|
export declare class ShoppingCartBundlesConfigurationResDto {
|
|
85
78
|
id: string;
|
|
86
79
|
bundles: ShoppingCartConfigurationBundleResDto[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ShoppingCartInfoServiceCharacteristicDto = exports.ShoppingCartInfoServiceDto = exports.ShoppingCartInfoCharacteristicDto = exports.ShoppingCartInfoProductDto = exports.ShoppingCartBundleInfoDto = exports.ShoppingCartBundlesInfoDto = exports.ShoppingCartInfoDto = exports.ShoppingCartConfigurationProductResDto = exports.ShoppingCartConfigurationProductBssResDto = exports.ShoppingCartConfigurationChargeResDto = exports.ShoppingCartConfigurationCharacteristicResDto = exports.ShoppingCartConfigurationPriceResDto = exports.ShoppingCartConfigurationCharacteristicGroupResDto = exports.ShoppingCartConfigurationFeaturesResDto = exports.ShoppingCartBundlesConfigurationResDto = exports.
|
|
3
|
+
exports.ShoppingCartInfoServiceCharacteristicDto = exports.ShoppingCartInfoServiceDto = exports.ShoppingCartInfoCharacteristicDto = exports.ShoppingCartInfoProductDto = exports.ShoppingCartBundleInfoDto = exports.ShoppingCartBundlesInfoDto = exports.ShoppingCartInfoDto = exports.ShoppingCartConfigurationProductResDto = exports.ShoppingCartConfigurationProductBssResDto = exports.ShoppingCartConfigurationChargeResDto = exports.ShoppingCartConfigurationCharacteristicResDto = exports.ShoppingCartConfigurationPriceResDto = exports.ShoppingCartConfigurationCharacteristicGroupResDto = exports.ShoppingCartConfigurationFeaturesResDto = exports.ShoppingCartBundlesConfigurationResDto = exports.ShoppingCartFeaturesResDto = exports.ShoppingCartConfigurationBundleResDto = exports.ShoppingCartConfigurationBundleBssResDto = exports.ShoppingCartBundlesConfigurationBssResDto = exports.ShoppingCartConfigurationBssResDto = exports.ShoppingCartAvailableProductWithIdAndInfoResDto = exports.ShoppingCartAvailableProductBundleProductsDto = exports.ShoppingCartAvailableProductBundleProductsMobileDto = exports.ShoppingCartAvailableProductBundleProductsMobileProductDto = exports.ShoppingCartAvailableProductBundleProductsFiberDto = exports.ShoppingCartAvailableProductBundleProductsFiberProductDto = exports.ShoppingCartAvailableProductBundleProductsFiberProductBandwidthDto = exports.ShoppingCartAvailableProductInfoDto = void 0;
|
|
4
4
|
const openapi = require("@nestjs/swagger");
|
|
5
5
|
class ShoppingCartAvailableProductInfoDto {
|
|
6
6
|
name;
|
|
@@ -125,17 +125,6 @@ class ShoppingCartFeaturesResDto {
|
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
127
|
exports.ShoppingCartFeaturesResDto = ShoppingCartFeaturesResDto;
|
|
128
|
-
class ShoppingCartConfigurationResDto {
|
|
129
|
-
id;
|
|
130
|
-
promotions;
|
|
131
|
-
contracts;
|
|
132
|
-
products;
|
|
133
|
-
parameters;
|
|
134
|
-
static _OPENAPI_METADATA_FACTORY() {
|
|
135
|
-
return { id: { required: true, type: () => String }, promotions: { required: true, type: () => require("./other.entity").ShoppingCartConfigurationFeaturesResDto }, contracts: { required: true, type: () => [require("./other.entity").ShoppingCartConfigurationCharacteristicResDto] }, products: { required: true, type: () => [require("./other.entity").ShoppingCartConfigurationProductResDto] }, parameters: { required: true, type: () => require("../../../../bss/bearingpoint/shopping-cart/shopping-cart-parameters.entity").ShoppingCartParametersDto } };
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
exports.ShoppingCartConfigurationResDto = ShoppingCartConfigurationResDto;
|
|
139
128
|
class ShoppingCartBundlesConfigurationResDto {
|
|
140
129
|
id;
|
|
141
130
|
bundles;
|
package/dist/digitel/index.d.ts
CHANGED
package/dist/digitel/index.js
CHANGED
|
@@ -14,7 +14,6 @@ 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("./circuit.entity"), exports);
|
|
18
17
|
__exportStar(require("./pdf.entity"), exports);
|
|
19
18
|
__exportStar(require("./template.contract.entity"), exports);
|
|
20
19
|
__exportStar(require("./constants"), exports);
|
|
@@ -1,41 +1,6 @@
|
|
|
1
|
-
import { SaleProcessDto } from '../zoho/sale-process';
|
|
2
|
-
export type SaleProcessWithPortinOperator = SaleProcessDto & {
|
|
3
|
-
portinOperator: PortInOperator;
|
|
4
|
-
};
|
|
5
|
-
export declare class PortInOperator {
|
|
6
|
-
id: number;
|
|
7
|
-
value: string;
|
|
8
|
-
displayName: string;
|
|
9
|
-
active: boolean;
|
|
10
|
-
createdAt: string;
|
|
11
|
-
createdBy: string;
|
|
12
|
-
updatedAt: string;
|
|
13
|
-
updatedBy: string;
|
|
14
|
-
}
|
|
15
1
|
export declare class TVBundle {
|
|
16
2
|
displayName: string;
|
|
17
3
|
}
|
|
18
|
-
export declare class ContractPrice {
|
|
19
|
-
promoFirstMonth: number;
|
|
20
|
-
promoMonthPrice: number;
|
|
21
|
-
promoDuration: number;
|
|
22
|
-
promoPrice: number;
|
|
23
|
-
}
|
|
24
|
-
export declare class MobileBundle {
|
|
25
|
-
displayName: string;
|
|
26
|
-
iccid: string;
|
|
27
|
-
profile: string;
|
|
28
|
-
portinNumber: string;
|
|
29
|
-
portinGb: string;
|
|
30
|
-
portinFirstName: string;
|
|
31
|
-
portinLastName: string;
|
|
32
|
-
portinId: string;
|
|
33
|
-
portinIcc: string;
|
|
34
|
-
portinOwnerId: string;
|
|
35
|
-
total: number;
|
|
36
|
-
portinOperator: string;
|
|
37
|
-
assignedNumber: string;
|
|
38
|
-
}
|
|
39
4
|
export declare class FiberBundle {
|
|
40
5
|
displayName: string;
|
|
41
6
|
type: string;
|
|
@@ -1,21 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VoipBundle = exports.FiberBundle = exports.
|
|
3
|
+
exports.VoipBundle = exports.FiberBundle = exports.TVBundle = void 0;
|
|
4
4
|
const openapi = require("@nestjs/swagger");
|
|
5
|
-
class PortInOperator {
|
|
6
|
-
id;
|
|
7
|
-
value;
|
|
8
|
-
displayName;
|
|
9
|
-
active;
|
|
10
|
-
createdAt;
|
|
11
|
-
createdBy;
|
|
12
|
-
updatedAt;
|
|
13
|
-
updatedBy;
|
|
14
|
-
static _OPENAPI_METADATA_FACTORY() {
|
|
15
|
-
return { id: { required: true, type: () => Number }, value: { required: true, type: () => String }, displayName: { required: true, type: () => String }, active: { required: true, type: () => Boolean }, createdAt: { required: true, type: () => String }, createdBy: { required: true, type: () => String }, updatedAt: { required: true, type: () => String }, updatedBy: { required: true, type: () => String } };
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
exports.PortInOperator = PortInOperator;
|
|
19
5
|
class TVBundle {
|
|
20
6
|
displayName;
|
|
21
7
|
static _OPENAPI_METADATA_FACTORY() {
|
|
@@ -23,35 +9,6 @@ class TVBundle {
|
|
|
23
9
|
}
|
|
24
10
|
}
|
|
25
11
|
exports.TVBundle = TVBundle;
|
|
26
|
-
class ContractPrice {
|
|
27
|
-
promoFirstMonth;
|
|
28
|
-
promoMonthPrice;
|
|
29
|
-
promoDuration;
|
|
30
|
-
promoPrice;
|
|
31
|
-
static _OPENAPI_METADATA_FACTORY() {
|
|
32
|
-
return { promoFirstMonth: { required: true, type: () => Number }, promoMonthPrice: { required: true, type: () => Number }, promoDuration: { required: true, type: () => Number }, promoPrice: { required: true, type: () => Number } };
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
exports.ContractPrice = ContractPrice;
|
|
36
|
-
class MobileBundle {
|
|
37
|
-
displayName;
|
|
38
|
-
iccid;
|
|
39
|
-
profile;
|
|
40
|
-
portinNumber;
|
|
41
|
-
portinGb;
|
|
42
|
-
portinFirstName;
|
|
43
|
-
portinLastName;
|
|
44
|
-
portinId;
|
|
45
|
-
portinIcc;
|
|
46
|
-
portinOwnerId;
|
|
47
|
-
total;
|
|
48
|
-
portinOperator;
|
|
49
|
-
assignedNumber;
|
|
50
|
-
static _OPENAPI_METADATA_FACTORY() {
|
|
51
|
-
return { displayName: { required: true, type: () => String }, iccid: { required: true, type: () => String }, profile: { required: true, type: () => String }, portinNumber: { required: true, type: () => String }, portinGb: { required: true, type: () => String }, portinFirstName: { required: true, type: () => String }, portinLastName: { required: true, type: () => String }, portinId: { required: true, type: () => String }, portinIcc: { required: true, type: () => String }, portinOwnerId: { required: true, type: () => String }, total: { required: true, type: () => Number }, portinOperator: { required: true, type: () => String }, assignedNumber: { required: true, type: () => String } };
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
exports.MobileBundle = MobileBundle;
|
|
55
12
|
class FiberBundle {
|
|
56
13
|
displayName;
|
|
57
14
|
type;
|
|
@@ -3,18 +3,3 @@ export declare class DTSAdHocClauseRequestDto {
|
|
|
3
3
|
connection_data: string;
|
|
4
4
|
device_data: string;
|
|
5
5
|
}
|
|
6
|
-
export declare class DTSAdHocClauseResponseDto {
|
|
7
|
-
clauses: Clause[];
|
|
8
|
-
}
|
|
9
|
-
export declare class Clause {
|
|
10
|
-
id: number;
|
|
11
|
-
title: string;
|
|
12
|
-
text: string;
|
|
13
|
-
terms: Term[];
|
|
14
|
-
}
|
|
15
|
-
export declare class Term {
|
|
16
|
-
check_id: string;
|
|
17
|
-
text: string;
|
|
18
|
-
include_in_cert: boolean;
|
|
19
|
-
mandatory: boolean;
|
|
20
|
-
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.DTSAdHocClauseRequestDto = void 0;
|
|
4
4
|
const openapi = require("@nestjs/swagger");
|
|
5
5
|
class DTSAdHocClauseRequestDto {
|
|
6
6
|
token;
|
|
@@ -11,20 +11,3 @@ class DTSAdHocClauseRequestDto {
|
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
exports.DTSAdHocClauseRequestDto = DTSAdHocClauseRequestDto;
|
|
14
|
-
class DTSAdHocClauseResponseDto {
|
|
15
|
-
clauses;
|
|
16
|
-
static _OPENAPI_METADATA_FACTORY() {
|
|
17
|
-
return { clauses: { required: true, type: () => [require("./recipient.entity").Clause] } };
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
exports.DTSAdHocClauseResponseDto = DTSAdHocClauseResponseDto;
|
|
21
|
-
class Clause {
|
|
22
|
-
id;
|
|
23
|
-
title;
|
|
24
|
-
text;
|
|
25
|
-
terms;
|
|
26
|
-
static _OPENAPI_METADATA_FACTORY() {
|
|
27
|
-
return { id: { required: true, type: () => Number }, title: { required: true, type: () => String }, text: { required: true, type: () => String }, terms: { required: true, type: () => [require("./recipient.entity").Term] } };
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
exports.Clause = Clause;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.SaleProcessValidationInternalNotes = exports.SaleProcessValidation = exports.SaleProcessApprovalValidation = exports.DEPENDENCY_GROUP_UNKNOWN = exports.DEPENDENCY_GROUP = void 0;
|
|
4
4
|
exports.DEPENDENCY_GROUP = 'DEPENDENCY_GROUP';
|
|
5
5
|
exports.DEPENDENCY_GROUP_UNKNOWN = 'DEPENDENCY_GROUP_UNKNOWN';
|
|
6
6
|
var SaleProcessApprovalValidation;
|
|
@@ -45,4 +45,3 @@ exports.SaleProcessValidationInternalNotes = {
|
|
|
45
45
|
[SaleProcessValidation.VALIDATION_0011]: 'Muchos clientes a comprobar para esta identificación #identificationNumber# de la portabilidad del número #phone#',
|
|
46
46
|
[SaleProcessValidation.VALIDATION_0012]: 'El cliente #customerId# de Infonova con la misma identificación de usuario que la portabilidad del número #phone# tiene DEUDA'
|
|
47
47
|
};
|
|
48
|
-
exports.OtrsVoipExcludedServiceSpecifications = ['PHONE_NUMBER', 'PORTIN_NUMBER', 'PORTIN_ADDRESS'];
|
|
@@ -132,9 +132,6 @@ export declare class CustomerProductTransitionWithAdditionalBundleStepResDto {
|
|
|
132
132
|
export declare class CheckCustomerProductActionResDto {
|
|
133
133
|
shoppingCartId: string;
|
|
134
134
|
}
|
|
135
|
-
export declare class CheckCustomerProductTransitionWithAdditionalBundleResDto extends CheckCustomerProductActionResDto {
|
|
136
|
-
steps: CustomerProductTransitionWithAdditionalBundleStepResDto[];
|
|
137
|
-
}
|
|
138
135
|
export declare class TerminateCustomerProductDto {
|
|
139
136
|
reason: string;
|
|
140
137
|
targetDate: string;
|
|
@@ -146,10 +143,6 @@ export declare class CustomerProductInProcessDto {
|
|
|
146
143
|
displayName: string;
|
|
147
144
|
processType: CustomerProductActionType;
|
|
148
145
|
}
|
|
149
|
-
export declare class CustomerProductInProcessInfoDto {
|
|
150
|
-
customerProducts: CustomerProductInProcessDto[];
|
|
151
|
-
total: number;
|
|
152
|
-
}
|
|
153
146
|
export declare class CreateCustomerProductTransferDto {
|
|
154
147
|
channel: string;
|
|
155
148
|
customerAccountId: string;
|
|
@@ -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.CreateCustomerProductTransferDto = exports.
|
|
12
|
+
exports.CreateCustomerProductTransferDto = exports.CustomerProductInProcessDto = exports.TerminateCustomerProductDto = 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.CustomerProductWithApartmentAndAddressDto = exports.CustomerBundleOrCustomerBundleProductDto = 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");
|
|
@@ -376,13 +376,6 @@ class CheckCustomerProductActionResDto {
|
|
|
376
376
|
}
|
|
377
377
|
}
|
|
378
378
|
exports.CheckCustomerProductActionResDto = CheckCustomerProductActionResDto;
|
|
379
|
-
class CheckCustomerProductTransitionWithAdditionalBundleResDto extends CheckCustomerProductActionResDto {
|
|
380
|
-
steps;
|
|
381
|
-
static _OPENAPI_METADATA_FACTORY() {
|
|
382
|
-
return { steps: { required: true, type: () => [require("./customer-product.entity").CustomerProductTransitionWithAdditionalBundleStepResDto] } };
|
|
383
|
-
}
|
|
384
|
-
}
|
|
385
|
-
exports.CheckCustomerProductTransitionWithAdditionalBundleResDto = CheckCustomerProductTransitionWithAdditionalBundleResDto;
|
|
386
379
|
class TerminateCustomerProductDto {
|
|
387
380
|
reason;
|
|
388
381
|
targetDate;
|
|
@@ -412,6 +405,16 @@ __decorate([
|
|
|
412
405
|
(0, class_validator_1.IsOptional)(),
|
|
413
406
|
__metadata("design:type", String)
|
|
414
407
|
], TerminateCustomerProductDto.prototype, "notes", void 0);
|
|
408
|
+
class CustomerProductInProcessDto {
|
|
409
|
+
id;
|
|
410
|
+
name;
|
|
411
|
+
displayName;
|
|
412
|
+
processType;
|
|
413
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
414
|
+
return { id: { required: true, type: () => String }, name: { required: true, type: () => String }, displayName: { required: true, type: () => String }, processType: { required: true, enum: require("../../bss/customer/customer.constants").CustomerProductActionType } };
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
exports.CustomerProductInProcessDto = CustomerProductInProcessDto;
|
|
415
418
|
class CreateCustomerProductTransferDto {
|
|
416
419
|
channel;
|
|
417
420
|
customerAccountId;
|
|
@@ -2,17 +2,6 @@ export declare enum BillingAccountParametersCustomerType {
|
|
|
2
2
|
ESSENTIAL = "ESSENTIAL",
|
|
3
3
|
PREMIUM = "PREMIUM"
|
|
4
4
|
}
|
|
5
|
-
export declare class EssentialPremiumTagProcessResultDto {
|
|
6
|
-
updated?: string;
|
|
7
|
-
size?: string;
|
|
8
|
-
storageClass?: string;
|
|
9
|
-
timeStorageClassUpdated?: string;
|
|
10
|
-
md5Hash?: string;
|
|
11
|
-
crc32c?: string;
|
|
12
|
-
selfLink?: string;
|
|
13
|
-
mediaLink?: string;
|
|
14
|
-
etag?: string;
|
|
15
|
-
}
|
|
16
5
|
export declare class UpdateEssentialPremiumCsvDto {
|
|
17
6
|
billingAccountId: string;
|
|
18
7
|
new_customer_type_ds: BillingAccountParametersCustomerType;
|
|
@@ -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.UpdateEssentialPremiumResDto = exports.UpdateEssentialPremiumDto = exports.UpdateEssentialPremiumCsvDto = exports.
|
|
12
|
+
exports.UpdateEssentialPremiumResDto = exports.UpdateEssentialPremiumDto = exports.UpdateEssentialPremiumCsvDto = exports.BillingAccountParametersCustomerType = void 0;
|
|
13
13
|
const _validators_1 = require("../../validators/index");
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
15
|
const class_validator_1 = require("class-validator");
|
|
@@ -18,18 +18,6 @@ var BillingAccountParametersCustomerType;
|
|
|
18
18
|
BillingAccountParametersCustomerType["ESSENTIAL"] = "ESSENTIAL";
|
|
19
19
|
BillingAccountParametersCustomerType["PREMIUM"] = "PREMIUM";
|
|
20
20
|
})(BillingAccountParametersCustomerType || (exports.BillingAccountParametersCustomerType = BillingAccountParametersCustomerType = {}));
|
|
21
|
-
class EssentialPremiumTagProcessResultDto {
|
|
22
|
-
updated;
|
|
23
|
-
size;
|
|
24
|
-
storageClass;
|
|
25
|
-
timeStorageClassUpdated;
|
|
26
|
-
md5Hash;
|
|
27
|
-
crc32c;
|
|
28
|
-
selfLink;
|
|
29
|
-
mediaLink;
|
|
30
|
-
etag;
|
|
31
|
-
}
|
|
32
|
-
exports.EssentialPremiumTagProcessResultDto = EssentialPremiumTagProcessResultDto;
|
|
33
21
|
class UpdateEssentialPremiumCsvDto {
|
|
34
22
|
billingAccountId;
|
|
35
23
|
new_customer_type_ds;
|
|
@@ -9,11 +9,6 @@ export declare enum RobinsonResultFileSufix {
|
|
|
9
9
|
EMAIL_ERROR = "EMA_ERROR.csv",
|
|
10
10
|
EMAIL_AUDIT = "EMA.lst"
|
|
11
11
|
}
|
|
12
|
-
export declare enum RobinsonProcessType {
|
|
13
|
-
TEL = "TEL",
|
|
14
|
-
SMS = "SMS",
|
|
15
|
-
EMA = "EMA"
|
|
16
|
-
}
|
|
17
12
|
export declare enum RobinsonProcessFileType {
|
|
18
13
|
TEL = "TEL",
|
|
19
14
|
EMA = "EMA"
|
|
@@ -22,13 +17,6 @@ export declare enum RobinsonInputFileHeaders {
|
|
|
22
17
|
HEADER_TEL = "identificador,telefono\n",
|
|
23
18
|
HEADER_EMA = "identificador,email\n"
|
|
24
19
|
}
|
|
25
|
-
export declare enum RobinsonAuditResultRecordsType {
|
|
26
|
-
TOTAL = "TOTAL",
|
|
27
|
-
PROCESSED = "PROCESSED",
|
|
28
|
-
ROBINSON_YES = "ROBINSON_YES",
|
|
29
|
-
ROBINSON_NO = "ROBINSON_NO",
|
|
30
|
-
ERROR = "ERROR"
|
|
31
|
-
}
|
|
32
20
|
export declare enum RobinsonValidationResult {
|
|
33
21
|
OK = "0",
|
|
34
22
|
KO = "1",
|