adamo-types 2.0.3-uat → 2.0.4-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/bearingpoint/shopping-cart/shopping-cart-parameters.entity.d.ts +1 -1
- package/dist/bss/bearingpoint/task/task.constants.d.ts +2 -6
- package/dist/bss/bearingpoint/task/task.constants.js +0 -4
- package/dist/bss/bearingpoint/task/task.entity.js +2 -2
- package/dist/bss/billing/billing.constants.js +2 -1
- package/dist/bss/customer/customer.constants.d.ts +0 -1
- package/dist/bss/customer/customer.constants.js +1 -3
- package/dist/common/constants/common.constants.d.ts +0 -12
- package/dist/common/constants/common.constants.js +1 -15
- package/dist/common/constants/error.constants.d.ts +0 -5
- package/dist/common/constants/error.constants.js +1 -7
- package/dist/common/constants/not-found.error.constants.d.ts +0 -3
- package/dist/common/constants/not-found.error.constants.js +1 -4
- package/dist/database/bundle-products.entity.d.ts +0 -2
- package/dist/database/bundle-products.entity.js +1 -9
- package/dist/database/customer-product-deactivation.entity.js +2 -2
- package/dist/database/customer-product-modification.entity.js +2 -2
- package/dist/database/customer-product-multiple-transition.entity.js +3 -3
- package/dist/database/customer-product-transition.entity.js +2 -2
- package/dist/database/index.d.ts +0 -1
- package/dist/database/index.js +0 -1
- package/dist/sys03/approval/approval.entity.d.ts +2 -2
- package/dist/sys03/common/common.entity.d.ts +0 -5
- package/dist/sys03/common/common.entity.js +1 -7
- package/dist/sys03/customer-product-multiple-transition-process/customer-product-multiple-transition-process.entity.d.ts +8 -3
- package/dist/sys03/customer-product-multiple-transition-process/customer-product-multiple-transition-process.entity.js +9 -3
- 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.entity.d.ts +0 -14
- package/dist/sys03/shopping-cart/shopping-cart.entity.js +1 -59
- package/dist/sys03/updowngrade/bundle-products.entity.d.ts +0 -3
- package/dist/sys03/updowngrade/bundle-products.entity.js +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +5 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Builder } from '../../../common/helpers/helpers';
|
|
2
2
|
import { CustomerProductInstanceAction } from '../../../sys03/customer';
|
|
3
|
-
export type ShoppingCartParametersShoppingCartProcess = 'sale' | 'new-extras' | 'modification' | 'termination' | 'transition' | 'transition-only-mobiles' | 'transition-shared-mobiles'
|
|
3
|
+
export type ShoppingCartParametersShoppingCartProcess = 'sale' | 'new-extras' | 'modification' | 'termination' | 'transition' | 'transition-only-mobiles' | 'transition-shared-mobiles';
|
|
4
4
|
export type ShoppingCartParametersTransitionShoppingCartType = 'original-to-unbundle' | 'original-to-create' | 'original-to-delete' | 'clone' | 'configured';
|
|
5
5
|
export declare class ShoppingCartEntityParametersDto {
|
|
6
6
|
originalId?: string;
|
|
@@ -5,16 +5,13 @@ export declare enum BpTaskStateType {
|
|
|
5
5
|
RESOLVED = "Resolved"
|
|
6
6
|
}
|
|
7
7
|
export declare enum BpTaskParameterType {
|
|
8
|
-
BILLING = "Facturaci\u00F3n",
|
|
9
8
|
COMERCIAL = "Comercial"
|
|
10
9
|
}
|
|
11
10
|
export declare enum BpTaskParameterSubType {
|
|
12
|
-
MODIFY_CONTRACTED_SERVICE = "Modificar el servicio contratado"
|
|
13
|
-
CHANGE_OF_ADDRESS = "Cambio de domicilio"
|
|
11
|
+
MODIFY_CONTRACTED_SERVICE = "Modificar el servicio contratado"
|
|
14
12
|
}
|
|
15
13
|
export declare enum BpTaskParameterContactTypes {
|
|
16
|
-
NOTE_OTHERS = "Nota / Otros"
|
|
17
|
-
INBOUND_CALL = "Llamada entrante"
|
|
14
|
+
NOTE_OTHERS = "Nota / Otros"
|
|
18
15
|
}
|
|
19
16
|
export declare enum BpTaskParameterCategoryTypes {
|
|
20
17
|
INTERVENTION = "Actuaci\u00F3n"
|
|
@@ -26,7 +23,6 @@ export declare enum BpTaskPriority {
|
|
|
26
23
|
Low = 4
|
|
27
24
|
}
|
|
28
25
|
export declare enum BpTaskDefinitionTypes {
|
|
29
|
-
BILLING_ADDRESS_CHANGE = "BILLING_ADDRESS_CHANGE",
|
|
30
26
|
COMERCIAL_MODIFY_WITH_SERVICE = "COMMERCIAL_MODIFY_CON_SERVICE"
|
|
31
27
|
}
|
|
32
28
|
export declare enum BpTaskResolveResolutionActionTypes {
|
|
@@ -10,18 +10,15 @@ var BpTaskStateType;
|
|
|
10
10
|
})(BpTaskStateType || (exports.BpTaskStateType = BpTaskStateType = {}));
|
|
11
11
|
var BpTaskParameterType;
|
|
12
12
|
(function (BpTaskParameterType) {
|
|
13
|
-
BpTaskParameterType["BILLING"] = "Facturaci\u00F3n";
|
|
14
13
|
BpTaskParameterType["COMERCIAL"] = "Comercial";
|
|
15
14
|
})(BpTaskParameterType || (exports.BpTaskParameterType = BpTaskParameterType = {}));
|
|
16
15
|
var BpTaskParameterSubType;
|
|
17
16
|
(function (BpTaskParameterSubType) {
|
|
18
17
|
BpTaskParameterSubType["MODIFY_CONTRACTED_SERVICE"] = "Modificar el servicio contratado";
|
|
19
|
-
BpTaskParameterSubType["CHANGE_OF_ADDRESS"] = "Cambio de domicilio";
|
|
20
18
|
})(BpTaskParameterSubType || (exports.BpTaskParameterSubType = BpTaskParameterSubType = {}));
|
|
21
19
|
var BpTaskParameterContactTypes;
|
|
22
20
|
(function (BpTaskParameterContactTypes) {
|
|
23
21
|
BpTaskParameterContactTypes["NOTE_OTHERS"] = "Nota / Otros";
|
|
24
|
-
BpTaskParameterContactTypes["INBOUND_CALL"] = "Llamada entrante";
|
|
25
22
|
})(BpTaskParameterContactTypes || (exports.BpTaskParameterContactTypes = BpTaskParameterContactTypes = {}));
|
|
26
23
|
var BpTaskParameterCategoryTypes;
|
|
27
24
|
(function (BpTaskParameterCategoryTypes) {
|
|
@@ -36,7 +33,6 @@ var BpTaskPriority;
|
|
|
36
33
|
})(BpTaskPriority || (exports.BpTaskPriority = BpTaskPriority = {}));
|
|
37
34
|
var BpTaskDefinitionTypes;
|
|
38
35
|
(function (BpTaskDefinitionTypes) {
|
|
39
|
-
BpTaskDefinitionTypes["BILLING_ADDRESS_CHANGE"] = "BILLING_ADDRESS_CHANGE";
|
|
40
36
|
BpTaskDefinitionTypes["COMERCIAL_MODIFY_WITH_SERVICE"] = "COMMERCIAL_MODIFY_CON_SERVICE";
|
|
41
37
|
})(BpTaskDefinitionTypes || (exports.BpTaskDefinitionTypes = BpTaskDefinitionTypes = {}));
|
|
42
38
|
var BpTaskResolveResolutionActionTypes;
|
|
@@ -4,7 +4,7 @@ exports.BpTaskDefinitionDto = exports.BpTaskResolveResDto = exports.BpTaskResolv
|
|
|
4
4
|
const openapi = require("@nestjs/swagger");
|
|
5
5
|
class BpTaskParametersDto {
|
|
6
6
|
static _OPENAPI_METADATA_FACTORY() {
|
|
7
|
-
return { dueDate: { required: true, type: () => String }, creationDate: { required: true, type: () => String }, description: { required: true, type: () => String }, billingAccountId: { required: true, type: () => String }, priority: { required: true, type: () => Object }, type: { required: true, enum: require("./task.constants").BpTaskParameterType }, firstName: { required: false, type: () => String }, lastName: { required: false, type: () => String }, usersEmailAddress: { required: false, type: () => String }, requiredInOtrs: { required: false, type: () => String }, otrsQueueName: { required: false, type: () => String }, contact: { required: true, enum: require("./task.constants").BpTaskParameterContactTypes }, subType: { required: true, enum: require("./task.constants").BpTaskParameterSubType }, category: { required: true, type: () => String, enum: require("./task.constants").BpTaskParameterCategoryTypes }, operatorId: { required: true, type: () => String }, SERVICE_NAME: { required: false, type: () => String }, PROCESS_DATA: { required: false, type: () => String }, BILLING_ACCOUNT_ID: { required: false, type: () => String }, EXTERNAL_ID: { required: false, type: () => String }, PROCESS_QUEUE: { required: false, type: () => String }, ERROR_MSG: { required: false, type: () => String }, REQUEST_TYPE: { required: false, type: () => String }, PROVISIONING_ORDER_ID: { required: false, type: () => String }, SERVICE_STATUS: { required: false, type: () => String }, PROCESS_STEP: { required: false, type: () => String } };
|
|
7
|
+
return { dueDate: { required: true, type: () => String }, creationDate: { required: true, type: () => String }, description: { required: true, type: () => String }, billingAccountId: { required: true, type: () => String }, priority: { required: true, type: () => Object }, type: { required: true, type: () => String, enum: require("./task.constants").BpTaskParameterType }, firstName: { required: false, type: () => String }, lastName: { required: false, type: () => String }, usersEmailAddress: { required: false, type: () => String }, requiredInOtrs: { required: false, type: () => String }, otrsQueueName: { required: false, type: () => String }, contact: { required: true, type: () => String, enum: require("./task.constants").BpTaskParameterContactTypes }, subType: { required: true, type: () => String, enum: require("./task.constants").BpTaskParameterSubType }, category: { required: true, type: () => String, enum: require("./task.constants").BpTaskParameterCategoryTypes }, operatorId: { required: true, type: () => String }, SERVICE_NAME: { required: false, type: () => String }, PROCESS_DATA: { required: false, type: () => String }, BILLING_ACCOUNT_ID: { required: false, type: () => String }, EXTERNAL_ID: { required: false, type: () => String }, PROCESS_QUEUE: { required: false, type: () => String }, ERROR_MSG: { required: false, type: () => String }, REQUEST_TYPE: { required: false, type: () => String }, PROVISIONING_ORDER_ID: { required: false, type: () => String }, SERVICE_STATUS: { required: false, type: () => String }, PROCESS_STEP: { required: false, type: () => String } };
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
exports.BpTaskParametersDto = BpTaskParametersDto;
|
|
@@ -16,7 +16,7 @@ class BpRelatedProductOrderDto {
|
|
|
16
16
|
exports.BpRelatedProductOrderDto = BpRelatedProductOrderDto;
|
|
17
17
|
class BpTaskDto {
|
|
18
18
|
static _OPENAPI_METADATA_FACTORY() {
|
|
19
|
-
return { id: { required: false, type: () => String }, taskDefinition: { required: true, enum: require("./task.constants").BpTaskDefinitionTypes }, creator: { required: false, type: () => String }, assignee: { required: true, type: () => String }, billingAccount: { required: true, type: () => String }, state: { required: false, enum: require("./task.constants").BpTaskStateType }, priority: { required: true, enum: require("./task.constants").BpTaskPriority }, creationDate: { required: false, type: () => String }, category: { required: false, type: () => String }, tags: { required: true, type: () => [String] }, relatedProductOrders: { required: false, type: () => [require("./task.entity").BpRelatedProductOrderDto] }, parameters: { required: true, type: () => require("./task.entity").BpTaskParametersDto } };
|
|
19
|
+
return { id: { required: false, type: () => String }, taskDefinition: { required: true, type: () => String, enum: require("./task.constants").BpTaskDefinitionTypes }, creator: { required: false, type: () => String }, assignee: { required: true, type: () => String }, billingAccount: { required: true, type: () => String }, state: { required: false, enum: require("./task.constants").BpTaskStateType }, priority: { required: true, enum: require("./task.constants").BpTaskPriority }, creationDate: { required: false, type: () => String }, category: { required: false, type: () => String }, tags: { required: true, type: () => [String] }, relatedProductOrders: { required: false, type: () => [require("./task.entity").BpRelatedProductOrderDto] }, parameters: { required: true, type: () => require("./task.entity").BpTaskParametersDto } };
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
exports.BpTaskDto = BpTaskDto;
|
|
@@ -9,7 +9,6 @@ export declare enum ContactMediumType {
|
|
|
9
9
|
}
|
|
10
10
|
export declare enum CustomerProductActionType {
|
|
11
11
|
CHANGE = "CHANGE",
|
|
12
|
-
CHANGE_OF_ADDRESS = "CHANGE_OF_ADDRESS",
|
|
13
12
|
MIGRATE = "MIGRATE",
|
|
14
13
|
MIGRATE_ONLY_MOBILES = "MIGRATE_ONLY_MOBILES",
|
|
15
14
|
MIGRATE_SHARED_MOBILES = "MIGRATE_SHARED_MOBILES",
|
|
@@ -14,7 +14,6 @@ var ContactMediumType;
|
|
|
14
14
|
var CustomerProductActionType;
|
|
15
15
|
(function (CustomerProductActionType) {
|
|
16
16
|
CustomerProductActionType["CHANGE"] = "CHANGE";
|
|
17
|
-
CustomerProductActionType["CHANGE_OF_ADDRESS"] = "CHANGE_OF_ADDRESS";
|
|
18
17
|
CustomerProductActionType["MIGRATE"] = "MIGRATE";
|
|
19
18
|
CustomerProductActionType["MIGRATE_ONLY_MOBILES"] = "MIGRATE_ONLY_MOBILES";
|
|
20
19
|
CustomerProductActionType["MIGRATE_SHARED_MOBILES"] = "MIGRATE_SHARED_MOBILES";
|
|
@@ -25,8 +24,7 @@ exports.CustomerProductActionTypeDisplayOrder = {
|
|
|
25
24
|
[CustomerProductActionType.MIGRATE]: 2,
|
|
26
25
|
[CustomerProductActionType.MIGRATE_ONLY_MOBILES]: 3,
|
|
27
26
|
[CustomerProductActionType.MIGRATE_SHARED_MOBILES]: 4,
|
|
28
|
-
[CustomerProductActionType.
|
|
29
|
-
[CustomerProductActionType.TERMINATE]: 6
|
|
27
|
+
[CustomerProductActionType.TERMINATE]: 5
|
|
30
28
|
};
|
|
31
29
|
exports.CustomerProductTypeToServiceCharacteristicName = {
|
|
32
30
|
[constants_1.ShoppingCartProductType.FIBER]: ['SERVICE_ADDRESS'],
|
|
@@ -109,15 +109,3 @@ export interface AuthData {
|
|
|
109
109
|
session_state: string;
|
|
110
110
|
scope: string;
|
|
111
111
|
}
|
|
112
|
-
export declare enum CoverageSearchType {
|
|
113
|
-
GOOGLE = "GOOGLE",
|
|
114
|
-
COORDS = "COORDS",
|
|
115
|
-
ZIP = "ZIP",
|
|
116
|
-
ID = "ID"
|
|
117
|
-
}
|
|
118
|
-
export declare enum FeatureGroupType {
|
|
119
|
-
CAP = "CAP",
|
|
120
|
-
RET = "RET",
|
|
121
|
-
CAP_EXT = "CAP_EXT",
|
|
122
|
-
CHANGE_OF_ADDRESS = "CHANGE_OF_ADDRESS"
|
|
123
|
-
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.StorageDropdown = exports.Templates = exports.MicroserviceType = exports.BssLookupKeys = exports.BssDropDownKeys = exports.StorageConfiguration = exports.ShoppingCartProductTypeDisplayOrder = exports.ShoppingCartProductType = exports.ClientType = exports.ArsTenant = void 0;
|
|
4
4
|
var ArsTenant;
|
|
5
5
|
(function (ArsTenant) {
|
|
6
6
|
ArsTenant["ADMIN"] = "admin";
|
|
@@ -119,17 +119,3 @@ var StorageDropdown;
|
|
|
119
119
|
(function (StorageDropdown) {
|
|
120
120
|
StorageDropdown["APPROVAL_VALIDATION_TYPES"] = "APPROVAL_VALIDATION_TYPES";
|
|
121
121
|
})(StorageDropdown || (exports.StorageDropdown = StorageDropdown = {}));
|
|
122
|
-
var CoverageSearchType;
|
|
123
|
-
(function (CoverageSearchType) {
|
|
124
|
-
CoverageSearchType["GOOGLE"] = "GOOGLE";
|
|
125
|
-
CoverageSearchType["COORDS"] = "COORDS";
|
|
126
|
-
CoverageSearchType["ZIP"] = "ZIP";
|
|
127
|
-
CoverageSearchType["ID"] = "ID";
|
|
128
|
-
})(CoverageSearchType || (exports.CoverageSearchType = CoverageSearchType = {}));
|
|
129
|
-
var FeatureGroupType;
|
|
130
|
-
(function (FeatureGroupType) {
|
|
131
|
-
FeatureGroupType["CAP"] = "CAP";
|
|
132
|
-
FeatureGroupType["RET"] = "RET";
|
|
133
|
-
FeatureGroupType["CAP_EXT"] = "CAP_EXT";
|
|
134
|
-
FeatureGroupType["CHANGE_OF_ADDRESS"] = "CHANGE_OF_ADDRESS";
|
|
135
|
-
})(FeatureGroupType || (exports.FeatureGroupType = FeatureGroupType = {}));
|
|
@@ -167,7 +167,6 @@ export declare const E_UNKNOWN_CACHE_KEY = "E_UNKNOWN_CACHE_KEY";
|
|
|
167
167
|
export declare const E_CUSTOMER_PRODUCT_MODIFICATION_PROCESS_ALREADY_EXISTS = "E_CUSTOMER_PRODUCT_MODIFICATION_PROCESS_ALREADY_EXISTS";
|
|
168
168
|
export declare const E_CUSTOMER_PRODUCT_TRANSITION_PROCESS_ALREADY_EXISTS = "E_CUSTOMER_PRODUCT_TRANSITION_PROCESS_ALREADY_EXISTS";
|
|
169
169
|
export declare const E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_ALREADY_EXISTS = "E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_ALREADY_EXISTS";
|
|
170
|
-
export declare const E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_ALREADY_EXISTS = "E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_ALREADY_EXISTS";
|
|
171
170
|
export declare const E_CUSTOMER_NEW_EXTRAS_PROCESS_ALREADY_EXISTS = "E_CUSTOMER_NEW_EXTRAS_PROCESS_ALREADY_EXISTS";
|
|
172
171
|
export declare const E_CUSTOMER_HAS_ALL_EXTRAS = "E_CUSTOMER_HAS_ALL_EXTRAS";
|
|
173
172
|
export declare const E_CUSTOMER_WITHOUT_VALID_APARTMENT = "E_CUSTOMER_WITHOUT_VALID_APARTMENT";
|
|
@@ -198,7 +197,3 @@ export declare const E_APPROVAL_MODIFY_DISABLED_IBAN_VALIDATION_MAX_INTENTS_REAC
|
|
|
198
197
|
export declare const E_SHOPPING_CART_DEPRECATED = "E_SHOPPING_CART_DEPRECATED";
|
|
199
198
|
export declare const E_PROVINCE_WITHOUT_AVAILABLE_VOIP_NUMBERS = "E_PROVINCE_WITHOUT_AVAILABLE_VOIP_NUMBERS";
|
|
200
199
|
export declare const E_SHOPPING_CART_APARTMENT_BUSINESS_RULE = "E_SHOPPING_CART_APARTMENT_BUSINESS_RULE";
|
|
201
|
-
export declare const E_SHOPPING_CART_WITHOUT_PROVINCE_PARAMETER = "E_SHOPPING_CART_WITHOUT_PROVINCE_PARAMETER";
|
|
202
|
-
export declare const E_CREATE_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS = "E_CREATE_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS";
|
|
203
|
-
export declare const E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_INVALID_PRODUCT = "E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_INVALID_PRODUCT";
|
|
204
|
-
export declare const E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_FORBIDDEN_STATUS = "E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_FORBIDDEN_STATUS";
|
|
@@ -3,8 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.E_CREATE_MANDATE = exports.E_UPDATE_BILLING_ACCOUNT = exports.E_CREATE_BILLING_ACCOUNT = exports.E_UPLOAD_CUSTOMER_ACCOUNT_DOCUMENT = exports.E_CREATE_CUSTOMER_ACCOUNT_NOTE = exports.E_UPDATE_CUSTOMER_ACCOUNT = exports.E_CREATE_CUSTOMER_ACCOUNT = exports.E_FETCH_CUSTOMER_ACCOUNT = exports.E_FETCH_ADDRESS = exports.E_CREATE_ADDRESS = exports.E_FIBER_NOT_AVAILABLE_FOR_THIS_NETWORK = exports.E_UPDATE_SHOPPING_CART_CONFIGURATION = exports.E_CIF_VALIDATION = exports.E_NIE_VALIDATION = exports.E_DNI_VALIDATION = exports.E_SET_SHOPPING_CART_PROMOTIONS = exports.E_SET_SHOPPING_CART_CONTRACT = exports.E_FETCH_AVAILABLE_NUMBERS_FROM_POOL = exports.E_PROVINCE_WITHOUT_PREFIXES = exports.E_SERVER = exports.E_CONNECTION_REFUSED = exports.E_VALIDATION = exports.E_BODY_NOT_OBJECT = exports.E_BODY_NOT_ARRAY = exports.E_BODY_NOT_PROVIDED = exports.E_NO_CHANNEL_SELECTED = exports.E_CHANGE_CHANNEL = exports.E_BP = exports.E_BP_INTERNAL_SERVER_ERROR = exports.E_UPDATE_SHOPPING_CART_EXTRAS = exports.E_EMPTY_SHOPPING_CART = exports.E_BUNDLE_CONFIGURATION_ATTRIBUTE_MISMATCHING = exports.E_PERSIST_SHOPPING_CART = exports.E_SAVE_SHOPPING_CART = exports.E_CREATE_SHOPPING_CART = exports.E_FETCH_PRODUCT_DEFAULT_SUMMARY = exports.E_FETCH_SHOPPING_CART_TRANSITION_ONLY_MOBILES = exports.E_FETCH_SHOPPING_CART_MODIFICATION = exports.E_FETCH_SHOPPING_CART_CONFIGURATION = exports.E_FETCH_SHOPPING_CART_SUMMARY = exports.E_FETCH_SHOPPING_CART_AVAILABLE_EXTRAS = exports.E_FETCH_SHOPPING_CART_AVAILABLE_PRODUCT = exports.E_FETCH_SHOPPING_CART_AVAILABLE_PRODUCTS = exports.E_FETCH_PRODUCT_OFFERINGS = exports.E_ASSIGN_SALESPERSON = exports.E_ASSIGN_ROLE_TENENT = exports.E_CREATE_USER = exports.E_UPDATE_PASSWORD = exports.E_ASSIGN_CHANNELS = exports.E_LOGIN = void 0;
|
|
4
4
|
exports.E_FETCH_LOOKUP_OPTIONS = exports.E_INVALID_SALE_PROCESS_STATUS = exports.E_USER_ROLE_UNKNOWN = exports.E_USER_WITHOUT_ROLE = exports.E_RESERVE_NUMBER_FROM_POOL = exports.E_WHOLESALE_APARTMENT_BLACKLISTED = exports.E_USER_SALE_PROCESS_PERMISSION = exports.E_UPDATE_CACHE_RECORD = exports.E_DELETE_CACHE_RECORD = exports.E_UPDATE_PRODUCT_CATALOG = exports.E_DELETE_PRODUCT_CATALOG = exports.E_CREATE_CUSTOMER_ACCOUNT_HISTORY = exports.E_FETCH_ORGANIZATION_PARTY = exports.E_FETCH_INDIVIDUAL_PARTY = exports.E_FETCH_PAYMENT_METHOD = exports.E_FETCH_MANDATE = exports.E_FETCH_BILLING_ACCOUNT = exports.E_FETCH_PRODUCT_INVENTORY = exports.E_FETCH_CUSTOMERS = exports.E_FETCH_ORGANIZATION_PARTIES = exports.E_FETCH_INDIVIDUAL_PARTIES = exports.E_DOWNLOAD_INVOICE = exports.E_FETCH_BILLING_ACCOUNT_DETAILS = exports.E_INVALID_IBAN_ACCOUNT_NUMBER_CONTROL_CODE = exports.E_INVALID_IBAN_MOD = exports.E_INVALID_IBAN_FORMAT = exports.E_INVALID_IBAN_LENGTH = exports.E_INVALID_IBAN_ISO_CODE = exports.E_IBAN_SUPPORTED_COUNTRIES_ARE_REQUIRED = exports.E_IBAN_IS_REQUIRED = exports.E_IBAN_COUNTRY_NOT_SUPPORTED = exports.E_SPAIN_NOT_ALLOWED = exports.E_EMAIL_INVALID_FORMAT = exports.E_PHONE_INVALID_FORMAT = exports.E_PHONE_INVALID_LENGTH = exports.E_VALIDATE_SHOPPING_CART = exports.E_FETCH_CHANNEL_USERS = exports.E_SFTP_DOWNLOAD = exports.E_SFTP_UPLOAD = exports.E_SFTP_LIST = exports.E_SFTP_CONNECT = exports.E_FTP_RENAME = exports.E_FTP_REMOVE = exports.E_FTP_DOWNLOAD = exports.E_FTP_UPLOAD = exports.E_SUBMIT_SHOPPING_CART = exports.E_FETCH_SHOPPING_CART = exports.E_UPDATE_PAYMENT_METHOD = exports.E_CREATE_PAYMENT_METHOD = exports.E_UPDATE_MANDATE = void 0;
|
|
5
5
|
exports.E_FETCH_TASK = exports.E_CREATE_TASK = exports.E_DIGITEL_PROCESS_ERROR = exports.E_APPROVAL_FORBIDDEN_VALIDATION = exports.E_APPROVAL_FORBIDDEN_STATUS = exports.E_APPROVAL_DATA_WITHOUT_CHANGES = exports.E_APPROVAL_DATA_WITHOUT_RESPONSE = exports.E_SALE_PROCESS_PENDING_APPROVAL_UNSOLVED = exports.E_SALE_PROCESS_PENDING_APPROVAL = exports.E_CSV_INVALID_RECORDS = exports.E_CSV_INVALID_RECORD_LENGTH = exports.E_PARSE_CSV = exports.E_PUT_LOOKUP_OPTIONS = exports.E_USER_INACTIVE = exports.E_USER_WITHOUT_TENANTS = exports.E_USER_WITH_EMPTY_WORKGROUP_PERMISSIONS = exports.E_USER_WITHOUT_WORKGROUPS = exports.E_USER_WITHOUT_AUTH = exports.E_BI_SALES_EXTRACTION = exports.E_CUSTOMER_WITHOUT_RELATED_PARTY = exports.E_FETCH_PRODUCT_ORDER = exports.E_FETCH_PRODUCT_ORDERS = exports.E_SALE_PROCESS_DOCUMENTS_REQUIRED = exports.E_SALE_PROCESS_UNKNOWN_COMPANY_TYPE = exports.E_SALE_PROCESS_UNKNOWN_CUSTOMER_TYPE = exports.E_SALE_PROCESS_BUSINESS_CUSTOMER_WITHOUT_INFO = exports.E_SALE_PROCESS_BUSINESS_CUSTOMER_WITHOUT_IDENTIFICATION = exports.E_SALE_PROCESS_RESIDENTIAL_CUSTOMER_WITHOUT_IDENTIFICATION = exports.E_SALE_PROCESS_WITHOUT_CHANGES = exports.E_SALE_PROCESS_WITHOUT_IBAN_VALIDATION_ID = exports.E_SALE_PROCESS_WITHOUT_SHOPPING_CART = exports.E_APPLY_CHARGE = exports.E_PRODUCT_SERVICE_MISSING = exports.E_SALE_PROCESS_APARTMENT_BREACHES_RETAIL_EXCLUSIVITY_RULES = exports.E_APARTMENT_BREACHES_RETAIL_EXCLUSIVITY_RULES = exports.E_ADDRESS_BREACHES_RETAIL_EXCLUSIVITY_RULES = exports.E_UPDATE_PRODUCT_CATALOG_CACHE = exports.E_DUPLICATE_ENTRY = exports.E_UNHANDLED_KEY = exports.E_FETCH_CUSTOMER_ACCOUNT_FINANCE_BALANCES = exports.E_LOGIN_MAX_ATTEMPTS_REACHED = exports.E_TOO_MANY_REQUESTS = exports.E_UPLOAD_SALE_PROCESS_CONTRACT = exports.E_FETCH_USER_CHANNELS = exports.E_UNAUTHORIZED = exports.E_USER_WITHOUT_CHANNELS = exports.E_FETCH_SHOPPING_CART_PROMOTIONS_AND_CONTRACTS = exports.E_FETCH_SHOPPING_CART_FEATURES = exports.E_NOT_BASE_BUNDLE = exports.E_NO_SELECTED_CHANNEL = void 0;
|
|
6
|
-
exports.E_SHOPPING_CART_APARTMENT_BUSINESS_RULE = exports.E_PROVINCE_WITHOUT_AVAILABLE_VOIP_NUMBERS = exports.E_SHOPPING_CART_DEPRECATED = exports.E_APPROVAL_MODIFY_DISABLED_IBAN_VALIDATION_MAX_INTENTS_REACHED = exports.E_APPROVAL_WITHOUT_VALIDATION = exports.E_APPROVAL_IBAN_VALIDATION_UNHANDLED_STATUS = exports.E_APPROVAL_IBAN_VALIDATION_MAX_INTENTS_REACHED = exports.E_APPROVAL_IBAN_VALIDATION_PENDING = exports.E_APPROVAL_IBAN_VALIDATION_ERROR = exports.E_APPROVAL_IBAN_VALIDATION_UNSUPPORTED = exports.E_APPROVAL_IBAN_VALIDATION_REJECTED = exports.E_SALE_PROCESS_FORBIDDEN_APPROVAL = exports.E_SALE_PROCESS_FORBIDDEN_STATUS = exports.E_SALE_PROCESS_IBAN_VALIDATION_UNHANDLED_STATUS = exports.E_SALE_PROCESS_IBAN_VALIDATION_PENDING = exports.E_SALE_PROCESS_IBAN_VALIDATION_REJECTED = exports.E_ORDER_NOT_BELONG_TO_CUSTOMER = exports.E_CUSTOMER_CHECK_DEBT = exports.E_CHARACTERISTIC_NOT_CHANGEABLE = exports.E_BUNDLE_NOT_AVAILABLE_IN_CHANNEL = exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_UNKNOWN_STEP = exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_WITHOUT_STEPS = exports.E_CUSTOMER_NEW_EXTRAS_PROCESS_OWNER_MISMATCHING = exports.E_CUSTOMER_PRODUCT_TRANSITION_PROCESS_OWNER_MISMATCHING = exports.E_CUSTOMER_PRODUCT_MODIFICATION_PROCESS_OWNER_MISMATCHING = exports.E_REVIEW_CUSTOMER_CHARGES_AND_CREDITS_NEGATIVE_INVOICE = exports.E_REVIEW_CUSTOMER_CHARGES_AND_CREDITS = exports.E_CUSTOMER_WITHOUT_VALID_APARTMENT = exports.E_CUSTOMER_HAS_ALL_EXTRAS = exports.E_CUSTOMER_NEW_EXTRAS_PROCESS_ALREADY_EXISTS = exports.
|
|
7
|
-
exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_FORBIDDEN_STATUS = exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_INVALID_PRODUCT = exports.E_CREATE_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS = exports.E_SHOPPING_CART_WITHOUT_PROVINCE_PARAMETER = void 0;
|
|
6
|
+
exports.E_SHOPPING_CART_APARTMENT_BUSINESS_RULE = exports.E_PROVINCE_WITHOUT_AVAILABLE_VOIP_NUMBERS = exports.E_SHOPPING_CART_DEPRECATED = exports.E_APPROVAL_MODIFY_DISABLED_IBAN_VALIDATION_MAX_INTENTS_REACHED = exports.E_APPROVAL_WITHOUT_VALIDATION = exports.E_APPROVAL_IBAN_VALIDATION_UNHANDLED_STATUS = exports.E_APPROVAL_IBAN_VALIDATION_MAX_INTENTS_REACHED = exports.E_APPROVAL_IBAN_VALIDATION_PENDING = exports.E_APPROVAL_IBAN_VALIDATION_ERROR = exports.E_APPROVAL_IBAN_VALIDATION_UNSUPPORTED = exports.E_APPROVAL_IBAN_VALIDATION_REJECTED = exports.E_SALE_PROCESS_FORBIDDEN_APPROVAL = exports.E_SALE_PROCESS_FORBIDDEN_STATUS = exports.E_SALE_PROCESS_IBAN_VALIDATION_UNHANDLED_STATUS = exports.E_SALE_PROCESS_IBAN_VALIDATION_PENDING = exports.E_SALE_PROCESS_IBAN_VALIDATION_REJECTED = exports.E_ORDER_NOT_BELONG_TO_CUSTOMER = exports.E_CUSTOMER_CHECK_DEBT = exports.E_CHARACTERISTIC_NOT_CHANGEABLE = exports.E_BUNDLE_NOT_AVAILABLE_IN_CHANNEL = exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_UNKNOWN_STEP = exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_WITHOUT_STEPS = exports.E_CUSTOMER_NEW_EXTRAS_PROCESS_OWNER_MISMATCHING = exports.E_CUSTOMER_PRODUCT_TRANSITION_PROCESS_OWNER_MISMATCHING = exports.E_CUSTOMER_PRODUCT_MODIFICATION_PROCESS_OWNER_MISMATCHING = exports.E_REVIEW_CUSTOMER_CHARGES_AND_CREDITS_NEGATIVE_INVOICE = exports.E_REVIEW_CUSTOMER_CHARGES_AND_CREDITS = exports.E_CUSTOMER_WITHOUT_VALID_APARTMENT = exports.E_CUSTOMER_HAS_ALL_EXTRAS = exports.E_CUSTOMER_NEW_EXTRAS_PROCESS_ALREADY_EXISTS = exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_ALREADY_EXISTS = exports.E_CUSTOMER_PRODUCT_TRANSITION_PROCESS_ALREADY_EXISTS = exports.E_CUSTOMER_PRODUCT_MODIFICATION_PROCESS_ALREADY_EXISTS = exports.E_UNKNOWN_CACHE_KEY = exports.E_FILTER_PRODUCT_BY_PARAMETERS = exports.E_FETCH_CHARGES_AND_CREDITS = exports.E_FETCH_SERVICE_INVENTORY_BY_ID = exports.E_FETCH_PRODUCT_INVENTORY_BY_ID = exports.E_FETCH_CUSTOMER_PRODUCTS = exports.E_FETCH_BILLS = exports.E_PATCH_BILLING_STATE = exports.E_FETCH_ORDER_HIERARCHY = exports.E_FETCH_ORDERS = exports.E_FETCH_CUSTOMER_NOTES = exports.E_FILTERS_REQUIRED = exports.E_SEARCH_CUSTOMERS = exports.E_RESOLVE_TASKS = exports.E_FETCH_TASKS = exports.E_FETCH_TASK_NOTES = void 0;
|
|
8
7
|
exports.E_LOGIN = 'E_LOGIN';
|
|
9
8
|
exports.E_ASSIGN_CHANNELS = 'E_ASSIGN_CHANNELS';
|
|
10
9
|
exports.E_UPDATE_PASSWORD = 'E_UPDATE_PASSWORD';
|
|
@@ -174,7 +173,6 @@ exports.E_UNKNOWN_CACHE_KEY = 'E_UNKNOWN_CACHE_KEY';
|
|
|
174
173
|
exports.E_CUSTOMER_PRODUCT_MODIFICATION_PROCESS_ALREADY_EXISTS = 'E_CUSTOMER_PRODUCT_MODIFICATION_PROCESS_ALREADY_EXISTS';
|
|
175
174
|
exports.E_CUSTOMER_PRODUCT_TRANSITION_PROCESS_ALREADY_EXISTS = 'E_CUSTOMER_PRODUCT_TRANSITION_PROCESS_ALREADY_EXISTS';
|
|
176
175
|
exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_ALREADY_EXISTS = 'E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_ALREADY_EXISTS';
|
|
177
|
-
exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_ALREADY_EXISTS = 'E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_ALREADY_EXISTS';
|
|
178
176
|
exports.E_CUSTOMER_NEW_EXTRAS_PROCESS_ALREADY_EXISTS = 'E_CUSTOMER_NEW_EXTRAS_PROCESS_ALREADY_EXISTS';
|
|
179
177
|
exports.E_CUSTOMER_HAS_ALL_EXTRAS = 'E_CUSTOMER_HAS_ALL_EXTRAS';
|
|
180
178
|
exports.E_CUSTOMER_WITHOUT_VALID_APARTMENT = 'E_CUSTOMER_WITHOUT_VALID_APARTMENT';
|
|
@@ -205,7 +203,3 @@ exports.E_APPROVAL_MODIFY_DISABLED_IBAN_VALIDATION_MAX_INTENTS_REACHED = 'E_APPR
|
|
|
205
203
|
exports.E_SHOPPING_CART_DEPRECATED = 'E_SHOPPING_CART_DEPRECATED';
|
|
206
204
|
exports.E_PROVINCE_WITHOUT_AVAILABLE_VOIP_NUMBERS = 'E_PROVINCE_WITHOUT_AVAILABLE_VOIP_NUMBERS';
|
|
207
205
|
exports.E_SHOPPING_CART_APARTMENT_BUSINESS_RULE = 'E_SHOPPING_CART_APARTMENT_BUSINESS_RULE';
|
|
208
|
-
exports.E_SHOPPING_CART_WITHOUT_PROVINCE_PARAMETER = 'E_SHOPPING_CART_WITHOUT_PROVINCE_PARAMETER';
|
|
209
|
-
exports.E_CREATE_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS = 'E_CREATE_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS';
|
|
210
|
-
exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_INVALID_PRODUCT = 'E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_INVALID_PRODUCT';
|
|
211
|
-
exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_FORBIDDEN_STATUS = 'E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_FORBIDDEN_STATUS';
|
|
@@ -10,6 +10,3 @@ export declare const E_LEAD_NOT_FOUND = "E_LEAD_NOT_FOUND";
|
|
|
10
10
|
export declare const E_NOT_FOUND = "E_NOT_FOUND";
|
|
11
11
|
export declare const E_SHOPPING_CART_NOT_FOUND = "E_SHOPPING_CART_NOT_FOUND";
|
|
12
12
|
export declare const E_ZIP_ADDRESSES_NOT_FOUND = "E_ZIP_ADDRESSES_NOT_FOUND";
|
|
13
|
-
export declare const E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_NOT_FOUND = "E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_NOT_FOUND";
|
|
14
|
-
export declare const E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_FIBER_PRODUCT_NOT_FOUND = "E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_FIBER_PRODUCT_NOT_FOUND";
|
|
15
|
-
export declare const E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_INTERMEDIATE_BUNDLE_NOT_FOUND = "E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_INTERMEDIATE_BUNDLE_NOT_FOUND";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.E_ZIP_ADDRESSES_NOT_FOUND = exports.E_SHOPPING_CART_NOT_FOUND = exports.E_NOT_FOUND = exports.E_LEAD_NOT_FOUND = exports.E_LEAD_FILE_NOT_FOUND = exports.E_BUNDLE_PRODUCTS_NOT_FOUND = exports.E_AREA_ADDRESSES_NOT_FOUND = exports.E_APPROVAL_NOT_FOUND = exports.E_APPROVAL_DATA_TO_APPROVE_NOT_FOUND = exports.E_APPROVAL_DATA_NOT_FOUND = exports.E_APARTMENT_NOT_FOUND = exports.E_ADDRESS_NOT_FOUND = void 0;
|
|
4
4
|
exports.E_ADDRESS_NOT_FOUND = 'E_ADDRESS_NOT_FOUND';
|
|
5
5
|
exports.E_APARTMENT_NOT_FOUND = 'E_APARTMENT_NOT_FOUND';
|
|
6
6
|
exports.E_APPROVAL_DATA_NOT_FOUND = 'E_APPROVAL_DATA_NOT_FOUND';
|
|
@@ -13,6 +13,3 @@ exports.E_LEAD_NOT_FOUND = 'E_LEAD_NOT_FOUND';
|
|
|
13
13
|
exports.E_NOT_FOUND = 'E_NOT_FOUND';
|
|
14
14
|
exports.E_SHOPPING_CART_NOT_FOUND = 'E_SHOPPING_CART_NOT_FOUND';
|
|
15
15
|
exports.E_ZIP_ADDRESSES_NOT_FOUND = 'E_ZIP_ADDRESSES_NOT_FOUND';
|
|
16
|
-
exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_NOT_FOUND = 'E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_NOT_FOUND';
|
|
17
|
-
exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_FIBER_PRODUCT_NOT_FOUND = 'E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_FIBER_PRODUCT_NOT_FOUND';
|
|
18
|
-
exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_INTERMEDIATE_BUNDLE_NOT_FOUND = 'E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_PROCESS_INTERMEDIATE_BUNDLE_NOT_FOUND';
|
|
@@ -14,7 +14,7 @@ const openapi = require("@nestjs/swagger");
|
|
|
14
14
|
const typeorm_1 = require("typeorm");
|
|
15
15
|
let BundleProductsEntity = class BundleProductsEntity {
|
|
16
16
|
static _OPENAPI_METADATA_FACTORY() {
|
|
17
|
-
return { id: { required: false, type: () => Number }, bundleName: { required: true, type: () => String },
|
|
17
|
+
return { id: { required: false, type: () => Number }, bundleName: { required: true, type: () => String }, fiberProductName: { required: false, type: () => String }, mobileProductName: { required: false, type: () => String }, voipProductName: { required: false, type: () => String }, createdAt: { required: false, type: () => Date } };
|
|
18
18
|
}
|
|
19
19
|
};
|
|
20
20
|
exports.BundleProductsEntity = BundleProductsEntity;
|
|
@@ -26,14 +26,6 @@ __decorate([
|
|
|
26
26
|
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: false }),
|
|
27
27
|
__metadata("design:type", String)
|
|
28
28
|
], BundleProductsEntity.prototype, "bundleName", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
(0, typeorm_1.Column)({ type: 'datetime', nullable: true }),
|
|
31
|
-
__metadata("design:type", Date)
|
|
32
|
-
], BundleProductsEntity.prototype, "availableFrom", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 45, nullable: true }),
|
|
35
|
-
__metadata("design:type", String)
|
|
36
|
-
], BundleProductsEntity.prototype, "customerType", void 0);
|
|
37
29
|
__decorate([
|
|
38
30
|
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
39
31
|
__metadata("design:type", String)
|
|
@@ -31,11 +31,11 @@ __decorate([
|
|
|
31
31
|
__metadata("design:type", String)
|
|
32
32
|
], CustomerProductDeactivationEntity.prototype, "productId", void 0);
|
|
33
33
|
__decorate([
|
|
34
|
-
(0, typeorm_1.Column)({ type: 'varchar', length:
|
|
34
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 45, nullable: false }),
|
|
35
35
|
__metadata("design:type", String)
|
|
36
36
|
], CustomerProductDeactivationEntity.prototype, "productName", void 0);
|
|
37
37
|
__decorate([
|
|
38
|
-
(0, typeorm_1.Column)({ type: 'varchar', length:
|
|
38
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 45, nullable: false }),
|
|
39
39
|
__metadata("design:type", String)
|
|
40
40
|
], CustomerProductDeactivationEntity.prototype, "productDisplayName", void 0);
|
|
41
41
|
__decorate([
|
|
@@ -31,11 +31,11 @@ __decorate([
|
|
|
31
31
|
__metadata("design:type", String)
|
|
32
32
|
], CustomerProductModificationEntity.prototype, "productId", void 0);
|
|
33
33
|
__decorate([
|
|
34
|
-
(0, typeorm_1.Column)({ type: 'varchar', length:
|
|
34
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 45, nullable: false }),
|
|
35
35
|
__metadata("design:type", String)
|
|
36
36
|
], CustomerProductModificationEntity.prototype, "productName", void 0);
|
|
37
37
|
__decorate([
|
|
38
|
-
(0, typeorm_1.Column)({ type: 'varchar', length:
|
|
38
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 45, nullable: false }),
|
|
39
39
|
__metadata("design:type", String)
|
|
40
40
|
], CustomerProductModificationEntity.prototype, "productDisplayName", void 0);
|
|
41
41
|
__decorate([
|
|
@@ -31,11 +31,11 @@ __decorate([
|
|
|
31
31
|
__metadata("design:type", String)
|
|
32
32
|
], CustomerProductMultipleTransitionEntity.prototype, "productId", void 0);
|
|
33
33
|
__decorate([
|
|
34
|
-
(0, typeorm_1.Column)({ type: 'varchar', length:
|
|
34
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 45, nullable: false }),
|
|
35
35
|
__metadata("design:type", String)
|
|
36
36
|
], CustomerProductMultipleTransitionEntity.prototype, "productName", void 0);
|
|
37
37
|
__decorate([
|
|
38
|
-
(0, typeorm_1.Column)({ type: 'varchar', length:
|
|
38
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 45, nullable: false }),
|
|
39
39
|
__metadata("design:type", String)
|
|
40
40
|
], CustomerProductMultipleTransitionEntity.prototype, "productDisplayName", void 0);
|
|
41
41
|
__decorate([
|
|
@@ -132,7 +132,7 @@ __decorate([
|
|
|
132
132
|
], CustomerProductMultipleTransitionEntity.prototype, "updatedAt", void 0);
|
|
133
133
|
exports.CustomerProductMultipleTransitionEntity = CustomerProductMultipleTransitionEntity = __decorate([
|
|
134
134
|
(0, typeorm_1.Entity)({ name: 'customer-product-multiple-transition' }),
|
|
135
|
-
(0, typeorm_1.Unique)('
|
|
135
|
+
(0, typeorm_1.Unique)('productId_ additionalProductType_UNIQUE', ['productId', 'additionalProductType'])
|
|
136
136
|
], CustomerProductMultipleTransitionEntity);
|
|
137
137
|
let CustomerProductMultipleTransitionDataEntity = class CustomerProductMultipleTransitionDataEntity {
|
|
138
138
|
static _OPENAPI_METADATA_FACTORY() {
|
|
@@ -31,11 +31,11 @@ __decorate([
|
|
|
31
31
|
__metadata("design:type", String)
|
|
32
32
|
], CustomerProductTransitionEntity.prototype, "productId", void 0);
|
|
33
33
|
__decorate([
|
|
34
|
-
(0, typeorm_1.Column)({ type: 'varchar', length:
|
|
34
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 45, nullable: false }),
|
|
35
35
|
__metadata("design:type", String)
|
|
36
36
|
], CustomerProductTransitionEntity.prototype, "productName", void 0);
|
|
37
37
|
__decorate([
|
|
38
|
-
(0, typeorm_1.Column)({ type: 'varchar', length:
|
|
38
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 45, nullable: false }),
|
|
39
39
|
__metadata("design:type", String)
|
|
40
40
|
], CustomerProductTransitionEntity.prototype, "productDisplayName", void 0);
|
|
41
41
|
__decorate([
|
package/dist/database/index.d.ts
CHANGED
|
@@ -4,7 +4,6 @@ export * from './auth.entity';
|
|
|
4
4
|
export * from './bundle-products.entity';
|
|
5
5
|
export * from './configuration.entity';
|
|
6
6
|
export * from './customer-new-extras.entity';
|
|
7
|
-
export * from './customer-product-change-of-address.entity';
|
|
8
7
|
export * from './customer-product-deactivation.entity';
|
|
9
8
|
export * from './customer-product-modification.entity';
|
|
10
9
|
export * from './customer-product-multiple-transition.entity';
|
package/dist/database/index.js
CHANGED
|
@@ -20,7 +20,6 @@ __exportStar(require("./auth.entity"), exports);
|
|
|
20
20
|
__exportStar(require("./bundle-products.entity"), exports);
|
|
21
21
|
__exportStar(require("./configuration.entity"), exports);
|
|
22
22
|
__exportStar(require("./customer-new-extras.entity"), exports);
|
|
23
|
-
__exportStar(require("./customer-product-change-of-address.entity"), exports);
|
|
24
23
|
__exportStar(require("./customer-product-deactivation.entity"), exports);
|
|
25
24
|
__exportStar(require("./customer-product-modification.entity"), exports);
|
|
26
25
|
__exportStar(require("./customer-product-multiple-transition.entity"), exports);
|
|
@@ -80,7 +80,7 @@ export declare class ApprovalDto {
|
|
|
80
80
|
updated?: AuditFieldsDto;
|
|
81
81
|
approved?: AuditFieldsWithValueDto;
|
|
82
82
|
}
|
|
83
|
-
declare const CreateApprovalDto_base: import("@nestjs/common").Type<Omit<ApprovalDto, "id" | "
|
|
83
|
+
declare const CreateApprovalDto_base: import("@nestjs/common").Type<Omit<ApprovalDto, "id" | "approved" | "data" | "updated">>;
|
|
84
84
|
export declare class CreateApprovalDto extends CreateApprovalDto_base {
|
|
85
85
|
}
|
|
86
86
|
declare const PartialCreateApprovalDto_base: import("@nestjs/common").Type<Omit<CreateApprovalDto, "created">>;
|
|
@@ -95,7 +95,7 @@ export declare class UpdateApprovalBillingDto extends UpdateApprovalBillingDto_b
|
|
|
95
95
|
declare const UpdateApprovalBusinessDto_base: import("@nestjs/common").Type<Partial<ApprovalBusinessDto>>;
|
|
96
96
|
export declare class UpdateApprovalBusinessDto extends UpdateApprovalBusinessDto_base {
|
|
97
97
|
}
|
|
98
|
-
declare const UpdateApprovalDto_base: import("@nestjs/common").Type<Partial<Pick<ApprovalDto, "
|
|
98
|
+
declare const UpdateApprovalDto_base: import("@nestjs/common").Type<Partial<Pick<ApprovalDto, "validations" | "approved" | "updated">>>;
|
|
99
99
|
export declare class UpdateApprovalDto extends UpdateApprovalDto_base {
|
|
100
100
|
customer?: UpdateApprovalCustomerDto;
|
|
101
101
|
billing?: UpdateApprovalBillingDto;
|
|
@@ -19,11 +19,6 @@ export declare class CustomerProductActionProcessProductDto {
|
|
|
19
19
|
name: string;
|
|
20
20
|
displayName: string;
|
|
21
21
|
}
|
|
22
|
-
export declare class CustomerProductProcessRelatedProductDto {
|
|
23
|
-
id: string;
|
|
24
|
-
name: string;
|
|
25
|
-
originalId: string;
|
|
26
|
-
}
|
|
27
22
|
export declare class CustomerProductTransitionProcessTransitionDto extends CustomerProductTransitionCombinationDto {
|
|
28
23
|
type?: CustomerProductTransitionProcessTransitionType;
|
|
29
24
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CustomerProductTransitionProcessTransitionDto = exports.
|
|
3
|
+
exports.CustomerProductTransitionProcessTransitionDto = exports.CustomerProductActionProcessProductDto = exports.ProcessAuditFieldsDto = exports.AuditFieldsWithValueDto = exports.AuditFieldsDtoBuilder = exports.AuditFieldsDto = void 0;
|
|
4
4
|
const openapi = require("@nestjs/swagger");
|
|
5
5
|
const customer_1 = require("../customer");
|
|
6
6
|
const helpers_1 = require("../../common/helpers/helpers");
|
|
@@ -41,12 +41,6 @@ class CustomerProductActionProcessProductDto {
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
exports.CustomerProductActionProcessProductDto = CustomerProductActionProcessProductDto;
|
|
44
|
-
class CustomerProductProcessRelatedProductDto {
|
|
45
|
-
static _OPENAPI_METADATA_FACTORY() {
|
|
46
|
-
return { id: { required: true, type: () => String }, name: { required: true, type: () => String }, originalId: { required: true, type: () => String } };
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
exports.CustomerProductProcessRelatedProductDto = CustomerProductProcessRelatedProductDto;
|
|
50
44
|
class CustomerProductTransitionProcessTransitionDto extends customer_1.CustomerProductTransitionCombinationDto {
|
|
51
45
|
static _OPENAPI_METADATA_FACTORY() {
|
|
52
46
|
return { type: { required: false, enum: require("./common.constants").CustomerProductTransitionProcessTransitionType } };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CustomerProductTransitionCombinationDto } from '../customer';
|
|
2
2
|
import { CustomerProductMultipleTransitionProcessAdditionalProductType, CustomerProductMultipleTransitionProcessStatus, CustomerProductTransitionStep } from './customer-product-multiple-transition-process.constants';
|
|
3
|
-
import { ProcessAuditFieldsDto, CustomerProductActionProcessProductDto, CustomerProductTransitionProcessTransitionDto
|
|
3
|
+
import { ProcessAuditFieldsDto, CustomerProductActionProcessProductDto, CustomerProductTransitionProcessTransitionDto } from '../common';
|
|
4
4
|
export declare class CreateCustomerProductMultipleTransitionProcessDto {
|
|
5
5
|
productId: string;
|
|
6
6
|
shoppingCartId: string;
|
|
@@ -27,6 +27,11 @@ export declare class PatchCustomerProductMultipleTransitionProcessOrderDataSaved
|
|
|
27
27
|
chargeDate?: string;
|
|
28
28
|
notes?: string;
|
|
29
29
|
}
|
|
30
|
+
export declare class CustomerProductMultipleTransitionProcessStepRelatedProductDto {
|
|
31
|
+
id: string;
|
|
32
|
+
name: string;
|
|
33
|
+
originalId: string;
|
|
34
|
+
}
|
|
30
35
|
export declare class CustomerProductMultipleTransitionProcessStepDto {
|
|
31
36
|
id?: number;
|
|
32
37
|
customerProductMultipleTransitionId?: number;
|
|
@@ -34,7 +39,7 @@ export declare class CustomerProductMultipleTransitionProcessStepDto {
|
|
|
34
39
|
shoppingCartId: string;
|
|
35
40
|
totalProducts: number;
|
|
36
41
|
completedProducts?: number;
|
|
37
|
-
relatedProducts?:
|
|
42
|
+
relatedProducts?: CustomerProductMultipleTransitionProcessStepRelatedProductDto[];
|
|
38
43
|
createdAt?: Date;
|
|
39
44
|
updatedAt?: Date;
|
|
40
45
|
startedAt?: Date;
|
|
@@ -63,5 +68,5 @@ export declare class CustomerProductMultipleTransitionProcessStepCacheDto {
|
|
|
63
68
|
}
|
|
64
69
|
export declare class CustomerProductMultipleTransitionProcessStepCompletedProductDto {
|
|
65
70
|
step: CustomerProductTransitionStep;
|
|
66
|
-
relatedProduct?:
|
|
71
|
+
relatedProduct?: CustomerProductMultipleTransitionProcessStepRelatedProductDto;
|
|
67
72
|
}
|
|
@@ -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.CustomerProductMultipleTransitionProcessStepCompletedProductDto = exports.CustomerProductMultipleTransitionProcessStepCacheDto = exports.CustomerProductMultipleTransitionProcessDto = exports.CustomerProductMultipleTransitionProcessStepDto = exports.PatchCustomerProductMultipleTransitionProcessOrderDataSavedDto = exports.PatchCustomerProductMultipleTransitionProcessStatusWithShoppingCartIdDto = exports.PatchCustomerProductMultipleTransitionProcessTransitionSelectedDto = exports.PatchCustomerProductMultipleTransitionProcessFreshDto = exports.CreateCustomerProductMultipleTransitionProcessDto = void 0;
|
|
12
|
+
exports.CustomerProductMultipleTransitionProcessStepCompletedProductDto = exports.CustomerProductMultipleTransitionProcessStepCacheDto = exports.CustomerProductMultipleTransitionProcessDto = exports.CustomerProductMultipleTransitionProcessStepDto = exports.CustomerProductMultipleTransitionProcessStepRelatedProductDto = exports.PatchCustomerProductMultipleTransitionProcessOrderDataSavedDto = exports.PatchCustomerProductMultipleTransitionProcessStatusWithShoppingCartIdDto = exports.PatchCustomerProductMultipleTransitionProcessTransitionSelectedDto = exports.PatchCustomerProductMultipleTransitionProcessFreshDto = exports.CreateCustomerProductMultipleTransitionProcessDto = void 0;
|
|
13
13
|
const openapi = require("@nestjs/swagger");
|
|
14
14
|
const customer_1 = require("../customer");
|
|
15
15
|
const _validators_1 = require("../../validators/index");
|
|
@@ -136,9 +136,15 @@ __decorate([
|
|
|
136
136
|
(0, class_validator_1.IsOptional)({ always: true }),
|
|
137
137
|
__metadata("design:type", String)
|
|
138
138
|
], PatchCustomerProductMultipleTransitionProcessOrderDataSavedDto.prototype, "notes", void 0);
|
|
139
|
+
class CustomerProductMultipleTransitionProcessStepRelatedProductDto {
|
|
140
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
141
|
+
return { id: { required: true, type: () => String }, name: { required: true, type: () => String }, originalId: { required: true, type: () => String } };
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
exports.CustomerProductMultipleTransitionProcessStepRelatedProductDto = CustomerProductMultipleTransitionProcessStepRelatedProductDto;
|
|
139
145
|
class CustomerProductMultipleTransitionProcessStepDto {
|
|
140
146
|
static _OPENAPI_METADATA_FACTORY() {
|
|
141
|
-
return { id: { required: false, type: () => Number }, customerProductMultipleTransitionId: { required: false, type: () => Number }, step: { required: true, enum: require("./customer-product-multiple-transition-process.constants").CustomerProductTransitionStep }, shoppingCartId: { required: true, type: () => String }, totalProducts: { required: true, type: () => Number }, completedProducts: { required: false, type: () => Number }, relatedProducts: { required: false, type: () => [require("
|
|
147
|
+
return { id: { required: false, type: () => Number }, customerProductMultipleTransitionId: { required: false, type: () => Number }, step: { required: true, enum: require("./customer-product-multiple-transition-process.constants").CustomerProductTransitionStep }, shoppingCartId: { required: true, type: () => String }, totalProducts: { required: true, type: () => Number }, completedProducts: { required: false, type: () => Number }, relatedProducts: { required: false, type: () => [require("./customer-product-multiple-transition-process.entity").CustomerProductMultipleTransitionProcessStepRelatedProductDto] }, createdAt: { required: false, type: () => Date }, updatedAt: { required: false, type: () => Date }, startedAt: { required: false, type: () => Date }, completedAt: { required: false, type: () => Date } };
|
|
142
148
|
}
|
|
143
149
|
}
|
|
144
150
|
exports.CustomerProductMultipleTransitionProcessStepDto = CustomerProductMultipleTransitionProcessStepDto;
|
|
@@ -156,7 +162,7 @@ class CustomerProductMultipleTransitionProcessStepCacheDto {
|
|
|
156
162
|
exports.CustomerProductMultipleTransitionProcessStepCacheDto = CustomerProductMultipleTransitionProcessStepCacheDto;
|
|
157
163
|
class CustomerProductMultipleTransitionProcessStepCompletedProductDto {
|
|
158
164
|
static _OPENAPI_METADATA_FACTORY() {
|
|
159
|
-
return { step: { required: true, enum: require("./customer-product-multiple-transition-process.constants").CustomerProductTransitionStep }, relatedProduct: { required: false, type: () => require("
|
|
165
|
+
return { step: { required: true, enum: require("./customer-product-multiple-transition-process.constants").CustomerProductTransitionStep }, relatedProduct: { required: false, type: () => require("./customer-product-multiple-transition-process.entity").CustomerProductMultipleTransitionProcessStepRelatedProductDto } };
|
|
160
166
|
}
|
|
161
167
|
}
|
|
162
168
|
exports.CustomerProductMultipleTransitionProcessStepCompletedProductDto = CustomerProductMultipleTransitionProcessStepCompletedProductDto;
|
|
@@ -14,5 +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("./req/req.entity"), exports);
|
|
17
18
|
__exportStar(require("./shopping-cart.constants"), exports);
|
|
18
19
|
__exportStar(require("./shopping-cart.entity"), exports);
|
|
@@ -1,19 +1,5 @@
|
|
|
1
1
|
import { CustomerType } from './shopping-cart.constants';
|
|
2
2
|
import { ShoppingCartConfigurationCharacteristicResDto, ShoppingCartConfigurationServiceSpecificationItemResDto, UpdateShoppingCartBundleExtrasDto, UpdateShoppingCartCharacteristicDto } from '../../common/edge-bss';
|
|
3
|
-
import { ShoppingCartItemAction } from '../../bss/constants';
|
|
4
|
-
import { ShoppingCartParametersDto, ShoppingCartProductCharacteristicDto, ShoppingCartProductDto, ShoppingCartProductOfferingDto } from '../../bss/bearingpoint';
|
|
5
|
-
export declare class CreateShoppingCartFromApartmentIdAndCustomerTypeDto {
|
|
6
|
-
apartmentId: string;
|
|
7
|
-
customerType: CustomerType;
|
|
8
|
-
products?: CreateShoppingCartFromApartmentIdAndCustomerTypeBundleDto[];
|
|
9
|
-
}
|
|
10
|
-
export declare class CreateShoppingCartFromApartmentIdAndCustomerTypeBundleDto {
|
|
11
|
-
action: ShoppingCartItemAction;
|
|
12
|
-
productOffering?: ShoppingCartProductOfferingDto;
|
|
13
|
-
products: ShoppingCartProductDto[];
|
|
14
|
-
productCharacteristics?: ShoppingCartProductCharacteristicDto[];
|
|
15
|
-
parameters?: ShoppingCartParametersDto;
|
|
16
|
-
}
|
|
17
3
|
export declare class CreateShoppingCartAvailableBaseProductDto {
|
|
18
4
|
customerType: CustomerType;
|
|
19
5
|
apartmentId: string;
|