adamo-types 2.1.22-sit → 2.1.23-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 +7 -0
- package/dist/bss/bearingpoint/shopping-cart/shopping-cart-parameters.entity.js +7 -2
- package/dist/common/constants/common.constants.d.ts +3 -1
- package/dist/common/constants/common.constants.js +2 -0
- package/dist/common/constants/common.error.constants.d.ts +0 -1
- package/dist/common/constants/common.error.constants.js +2 -3
- package/dist/common/constants/digitel.error.constants.d.ts +3 -0
- package/dist/common/constants/digitel.error.constants.js +6 -0
- package/dist/common/constants/index.d.ts +1 -0
- package/dist/common/constants/index.js +1 -0
- package/dist/common/constants/not-found.error.constants.d.ts +2 -0
- package/dist/common/constants/not-found.error.constants.js +4 -2
- package/dist/common/exception/service.exception.entity.d.ts +20 -4
- package/dist/common/exception/service.exception.entity.js +4 -3
- package/dist/sys03/configuration/configuration.entity.d.ts +0 -9
- package/dist/sys03/configuration/configuration.entity.js +1 -47
- package/dist/sys03/configuration/digitel.entity.d.ts +18 -0
- package/dist/sys03/configuration/digitel.entity.js +109 -0
- package/dist/sys03/configuration/index.d.ts +1 -0
- package/dist/sys03/configuration/index.js +1 -0
- package/dist/sys03/customer-product-change-of-address-process/customer-product-change-of-address-process.entity.d.ts +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -22,6 +22,10 @@ export declare enum ShoppingCartParametersShoppingCartReplicaType {
|
|
|
22
22
|
CLONE = "clone",
|
|
23
23
|
CONFIGURED = "configured"
|
|
24
24
|
}
|
|
25
|
+
export declare enum ShoppingCartParametersOffnetType {
|
|
26
|
+
FREE = "par_vacante",
|
|
27
|
+
BUSY = "par_ocupado"
|
|
28
|
+
}
|
|
25
29
|
export declare class ShoppingCartEntityParametersDto {
|
|
26
30
|
originalId?: string;
|
|
27
31
|
originalAction?: string;
|
|
@@ -60,6 +64,8 @@ export declare class ShoppingCartParametersDto {
|
|
|
60
64
|
streetNumber?: string;
|
|
61
65
|
streetType?: string;
|
|
62
66
|
technology?: string;
|
|
67
|
+
iuaDonor?: string;
|
|
68
|
+
offnet?: ShoppingCartParametersOffnetType;
|
|
63
69
|
shoppingCartProcess?: ShoppingCartParametersShoppingCartProcess;
|
|
64
70
|
shoppingCartReplicaType?: ShoppingCartParametersShoppingCartReplicaType;
|
|
65
71
|
originalId?: string;
|
|
@@ -77,6 +83,7 @@ export declare class ShoppingCartParametersDto {
|
|
|
77
83
|
referenceInstanceAction?: CustomerProductInstanceAction;
|
|
78
84
|
referenceProductMobileServiceProfile?: string;
|
|
79
85
|
}
|
|
86
|
+
export type ShoppingCartParametersOffnetDetails = Pick<ShoppingCartParametersDto, 'offnet' | 'iuaDonor'>;
|
|
80
87
|
export declare class ShoppingCartParametersDtoBuilder extends Builder<ShoppingCartParametersDto> {
|
|
81
88
|
setDefaults(): ShoppingCartParametersDto;
|
|
82
89
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ShoppingCartParametersDtoBuilder = exports.ShoppingCartParametersDto = exports.ShoppingCartEntityParametersDto = exports.ShoppingCartParametersShoppingCartReplicaType = exports.ShoppingCartParametersShoppingCartProcess = void 0;
|
|
3
|
+
exports.ShoppingCartParametersDtoBuilder = exports.ShoppingCartParametersDto = exports.ShoppingCartEntityParametersDto = exports.ShoppingCartParametersOffnetType = exports.ShoppingCartParametersShoppingCartReplicaType = exports.ShoppingCartParametersShoppingCartProcess = void 0;
|
|
4
4
|
const openapi = require("@nestjs/swagger");
|
|
5
5
|
const helpers_1 = require("../../../common/helpers/helpers");
|
|
6
6
|
var ShoppingCartParametersShoppingCartProcess;
|
|
@@ -27,6 +27,11 @@ var ShoppingCartParametersShoppingCartReplicaType;
|
|
|
27
27
|
ShoppingCartParametersShoppingCartReplicaType["CLONE"] = "clone";
|
|
28
28
|
ShoppingCartParametersShoppingCartReplicaType["CONFIGURED"] = "configured";
|
|
29
29
|
})(ShoppingCartParametersShoppingCartReplicaType || (exports.ShoppingCartParametersShoppingCartReplicaType = ShoppingCartParametersShoppingCartReplicaType = {}));
|
|
30
|
+
var ShoppingCartParametersOffnetType;
|
|
31
|
+
(function (ShoppingCartParametersOffnetType) {
|
|
32
|
+
ShoppingCartParametersOffnetType["FREE"] = "par_vacante";
|
|
33
|
+
ShoppingCartParametersOffnetType["BUSY"] = "par_ocupado";
|
|
34
|
+
})(ShoppingCartParametersOffnetType || (exports.ShoppingCartParametersOffnetType = ShoppingCartParametersOffnetType = {}));
|
|
30
35
|
class ShoppingCartEntityParametersDto {
|
|
31
36
|
static _OPENAPI_METADATA_FACTORY() {
|
|
32
37
|
return { originalId: { required: false, type: () => String }, originalAction: { required: false, type: () => String }, originalServiceCharacteristics: { required: false, type: () => String } };
|
|
@@ -35,7 +40,7 @@ class ShoppingCartEntityParametersDto {
|
|
|
35
40
|
exports.ShoppingCartEntityParametersDto = ShoppingCartEntityParametersDto;
|
|
36
41
|
class ShoppingCartParametersDto {
|
|
37
42
|
static _OPENAPI_METADATA_FACTORY() {
|
|
38
|
-
return { cartCreatedBy: { required: false, type: () => String }, referenceCartCreatedBy: { required: false, type: () => String }, salesPerson: { required: false, type: () => String }, addressInfo: { required: false, type: () => String }, apartmentId: { required: false, type: () => String }, gescal37: { required: false, type: () => String }, block: { required: false, type: () => String }, city: { required: false, type: () => String }, competition: { required: false, type: () => String }, country: { required: false, type: () => String }, customerType: { required: false, type: () => String }, door: { required: false, type: () => String }, entrance: { required: false, type: () => String }, fiberhood: { required: false, type: () => String }, floor: { required: false, type: () => String }, lat: { required: false, type: () => String }, lng: { required: false, type: () => String }, municipality: { required: false, type: () => String }, network: { required: false, type: () => String }, postcode: { required: false, type: () => String }, projectCode: { required: false, type: () => String }, projectId: { required: false, type: () => String }, province: { required: false, type: () => String }, salesAreaId: { required: false, type: () => String }, salesAreaName: { required: false, type: () => String }, serviceableAge: { required: false, type: () => String }, serviceableStatus: { required: false, type: () => String }, streetAddressId: { required: false, type: () => String }, streetName: { required: false, type: () => String }, streetNumber: { required: false, type: () => String }, streetType: { required: false, type: () => String }, technology: { required: false, type: () => String }, shoppingCartProcess: { required: false, enum: require("./shopping-cart-parameters.entity").ShoppingCartParametersShoppingCartProcess }, shoppingCartReplicaType: { required: false, enum: require("./shopping-cart-parameters.entity").ShoppingCartParametersShoppingCartReplicaType }, originalId: { required: false, type: () => String }, originalAction: { required: false, type: () => String }, originalSourceProduct: { required: false, type: () => String }, originalProductOffering: { required: false, type: () => String }, originalReason: { required: false, type: () => String }, originalProducts: { required: false, type: () => String }, originalProductCharacteristics: { required: false, type: () => String }, originalServices: { required: false, type: () => String }, referenceProductId: { required: false, type: () => String }, referenceProductName: { required: false, type: () => String }, referenceProductServiceCharacteristicName: { required: false, type: () => String }, referenceProductServiceCharacteristicValue: { required: false, type: () => String }, referenceInstanceAction: { required: false, enum: require("../../../sys03/customer/customer.constants").CustomerProductInstanceAction }, referenceProductMobileServiceProfile: { required: false, type: () => String } };
|
|
43
|
+
return { cartCreatedBy: { required: false, type: () => String }, referenceCartCreatedBy: { required: false, type: () => String }, salesPerson: { required: false, type: () => String }, addressInfo: { required: false, type: () => String }, apartmentId: { required: false, type: () => String }, gescal37: { required: false, type: () => String }, block: { required: false, type: () => String }, city: { required: false, type: () => String }, competition: { required: false, type: () => String }, country: { required: false, type: () => String }, customerType: { required: false, type: () => String }, door: { required: false, type: () => String }, entrance: { required: false, type: () => String }, fiberhood: { required: false, type: () => String }, floor: { required: false, type: () => String }, lat: { required: false, type: () => String }, lng: { required: false, type: () => String }, municipality: { required: false, type: () => String }, network: { required: false, type: () => String }, postcode: { required: false, type: () => String }, projectCode: { required: false, type: () => String }, projectId: { required: false, type: () => String }, province: { required: false, type: () => String }, salesAreaId: { required: false, type: () => String }, salesAreaName: { required: false, type: () => String }, serviceableAge: { required: false, type: () => String }, serviceableStatus: { required: false, type: () => String }, streetAddressId: { required: false, type: () => String }, streetName: { required: false, type: () => String }, streetNumber: { required: false, type: () => String }, streetType: { required: false, type: () => String }, technology: { required: false, type: () => String }, iuaDonor: { required: false, type: () => String }, offnet: { required: false, enum: require("./shopping-cart-parameters.entity").ShoppingCartParametersOffnetType }, shoppingCartProcess: { required: false, enum: require("./shopping-cart-parameters.entity").ShoppingCartParametersShoppingCartProcess }, shoppingCartReplicaType: { required: false, enum: require("./shopping-cart-parameters.entity").ShoppingCartParametersShoppingCartReplicaType }, originalId: { required: false, type: () => String }, originalAction: { required: false, type: () => String }, originalSourceProduct: { required: false, type: () => String }, originalProductOffering: { required: false, type: () => String }, originalReason: { required: false, type: () => String }, originalProducts: { required: false, type: () => String }, originalProductCharacteristics: { required: false, type: () => String }, originalServices: { required: false, type: () => String }, referenceProductId: { required: false, type: () => String }, referenceProductName: { required: false, type: () => String }, referenceProductServiceCharacteristicName: { required: false, type: () => String }, referenceProductServiceCharacteristicValue: { required: false, type: () => String }, referenceInstanceAction: { required: false, enum: require("../../../sys03/customer/customer.constants").CustomerProductInstanceAction }, referenceProductMobileServiceProfile: { required: false, type: () => String } };
|
|
39
44
|
}
|
|
40
45
|
}
|
|
41
46
|
exports.ShoppingCartParametersDto = ShoppingCartParametersDto;
|
|
@@ -44,6 +44,7 @@ export declare enum StorageConfiguration {
|
|
|
44
44
|
CUSTOMER_PRODUCT_ACTION_OMIT_DEBT_VALIDATION_CHANNELS = "CUSTOMER_PRODUCT_ACTION_OMIT_DEBT_VALIDATION_CHANNELS",
|
|
45
45
|
DEPENDENCY_GROUPS = "DEPENDENCY_GROUPS",
|
|
46
46
|
DIGITEL_CIRCUITS_CONFIG = "DIGITEL_CIRCUITS_CONFIG",
|
|
47
|
+
DIGITEL_SIGN_FLOWS_CONFIG = "DIGITEL_SIGN_FLOWS_CONFIG",
|
|
47
48
|
DIGITEL_CLAUSES_CONFIG = "GDPR_CLAUSES",
|
|
48
49
|
DIGITEL_CONTRACT_CHANNELS_B2B = "DIGITEL_CONTRACT_CHANNELS_B2B",
|
|
49
50
|
DIGITEL_CONTRACT_CHANNELS_B2C = "DIGITEL_CONTRACT_CHANNELS_B2C",
|
|
@@ -106,7 +107,8 @@ export declare enum MicroserviceType {
|
|
|
106
107
|
RETAIL_BATCH_HUB = "RETAIL BATCH HUB",
|
|
107
108
|
SENDGRID = "SENDGRID",
|
|
108
109
|
SFTP = "SFTP",
|
|
109
|
-
TASK4WORK = "TASK4WORK"
|
|
110
|
+
TASK4WORK = "TASK4WORK",
|
|
111
|
+
TESA = "TESA"
|
|
110
112
|
}
|
|
111
113
|
export declare enum Templates {
|
|
112
114
|
ADMIN_NOTIFICATION_TEMPLATE = "ADMIN_NOTIFICATION_TEMPLATE",
|
|
@@ -65,6 +65,7 @@ var StorageConfiguration;
|
|
|
65
65
|
StorageConfiguration["CUSTOMER_PRODUCT_ACTION_OMIT_DEBT_VALIDATION_CHANNELS"] = "CUSTOMER_PRODUCT_ACTION_OMIT_DEBT_VALIDATION_CHANNELS";
|
|
66
66
|
StorageConfiguration["DEPENDENCY_GROUPS"] = "DEPENDENCY_GROUPS";
|
|
67
67
|
StorageConfiguration["DIGITEL_CIRCUITS_CONFIG"] = "DIGITEL_CIRCUITS_CONFIG";
|
|
68
|
+
StorageConfiguration["DIGITEL_SIGN_FLOWS_CONFIG"] = "DIGITEL_SIGN_FLOWS_CONFIG";
|
|
68
69
|
StorageConfiguration["DIGITEL_CLAUSES_CONFIG"] = "GDPR_CLAUSES";
|
|
69
70
|
StorageConfiguration["DIGITEL_CONTRACT_CHANNELS_B2B"] = "DIGITEL_CONTRACT_CHANNELS_B2B";
|
|
70
71
|
StorageConfiguration["DIGITEL_CONTRACT_CHANNELS_B2C"] = "DIGITEL_CONTRACT_CHANNELS_B2C";
|
|
@@ -132,6 +133,7 @@ var MicroserviceType;
|
|
|
132
133
|
MicroserviceType["SENDGRID"] = "SENDGRID";
|
|
133
134
|
MicroserviceType["SFTP"] = "SFTP";
|
|
134
135
|
MicroserviceType["TASK4WORK"] = "TASK4WORK";
|
|
136
|
+
MicroserviceType["TESA"] = "TESA";
|
|
135
137
|
})(MicroserviceType || (exports.MicroserviceType = MicroserviceType = {}));
|
|
136
138
|
var Templates;
|
|
137
139
|
(function (Templates) {
|
|
@@ -126,7 +126,6 @@ export declare const E_APPROVAL_DATA_WITHOUT_RESPONSE = "E_APPROVAL_DATA_WITHOUT
|
|
|
126
126
|
export declare const E_APPROVAL_DATA_WITHOUT_CHANGES = "E_APPROVAL_DATA_WITHOUT_CHANGES";
|
|
127
127
|
export declare const E_APPROVAL_FORBIDDEN_STATUS = "E_APPROVAL_FORBIDDEN_STATUS";
|
|
128
128
|
export declare const E_APPROVAL_FORBIDDEN_VALIDATION = "E_APPROVAL_FORBIDDEN_VALIDATION";
|
|
129
|
-
export declare const E_DIGITEL_PROCESS_ERROR = "E_DIGITEL_PROCESS_ERROR";
|
|
130
129
|
export declare const E_CREATE_TASK = "E_CREATE_TASK";
|
|
131
130
|
export declare const E_FETCH_TASK = "E_FETCH_TASK";
|
|
132
131
|
export declare const E_PATCH_TASK = "E_PATCH_TASK";
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.E_FTP_DOWNLOAD = exports.E_FTP_UPLOAD = exports.E_SUBMIT_SHOPPING_CART = exports.E_FETCH_SHOPPING_CART = exports.E_CREATE_PAYMENT = exports.E_UPDATE_PAYMENT_METHOD = exports.E_CREATE_PAYMENT_METHOD = exports.E_UPDATE_MANDATE = exports.E_CREATE_MANDATE = 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_SERVICE_UNAVAILABLE = exports.E_JIRA = exports.E_TASK4WORK = exports.E_INFONOVA = 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_FORBIDDEN = exports.E_TIMEOUT = void 0;
|
|
4
4
|
exports.E_ADDRESS_WITHOUT_APARTMENTS = exports.E_UPDATE_PRODUCT_CATALOG_CACHE = exports.E_ENTRY_FOREIGN_KEY_CONSTRAINT = exports.E_DUPLICATE_ENTRY = exports.E_UNHANDLED_KEY = exports.E_TOO_MANY_REQUESTS = exports.E_UPLOAD_SALE_PROCESS_CONTRACT = exports.E_UNAUTHORIZED = exports.E_FETCH_SHOPPING_CART_PROMOTIONS_AND_CONTRACTS = exports.E_FETCH_SHOPPING_CART_FEATURES = exports.E_NOT_IMPLEMENTED = exports.E_NOT_BASE_BUNDLE = exports.E_NO_SELECTED_CHANNEL = exports.E_FETCH_LOOKUP_OPTIONS = exports.E_INVALID_SALE_PROCESS_STATUS = exports.E_RESERVE_NUMBER_FROM_POOL = exports.E_FETCH_NUMBER_FROM_POOL = exports.E_WHOLESALE_APARTMENT_BLACKLISTED = exports.E_UPDATE_CACHE_RECORD = exports.E_DELETE_CACHE_RECORD = exports.E_UPDATE_PRODUCT_CATALOG = exports.E_DELETE_PRODUCT_CATALOG = exports.E_FETCH_ORGANIZATION_PARTY = exports.E_FETCH_INDIVIDUAL_PARTY = exports.E_DELETE_PAYMENT_METHOD = exports.E_FETCH_PAYMENT_METHOD = exports.E_DELETE_MANDATE = exports.E_FETCH_MANDATE = exports.E_FETCH_PRODUCT_INVENTORY = exports.E_FETCH_ORGANIZATION_PARTIES = exports.E_FETCH_INDIVIDUAL_PARTIES = 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_SFTP_DOWNLOAD = exports.E_SFTP_UPLOAD = exports.E_SFTP_LIST = exports.E_SFTP_CONNECT = exports.E_FTP_RENAME = exports.E_FTP_REMOVE = void 0;
|
|
5
|
-
exports.E_SERVICE_CHARACTERISTIC_NOT_AVAILABLE = exports.E_SERVICE_CHARACTERISTIC_VALUE_MANDATORY = exports.E_CHARACTERISTIC_NOT_CHANGEABLE = exports.E_BUNDLE_NOT_AVAILABLE_IN_CHANNEL = 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_ENCRYPTION_KEY = exports.E_FETCH_BILLS = exports.E_FETCH_ORDER_HIERARCHY = exports.E_FETCH_WORK_ORDERS = exports.E_FETCH_ORDERS = exports.E_FILTERS_REQUIRED = exports.E_RESOLVE_TASKS = exports.E_FETCH_TASKS = exports.E_FETCH_TASK_NOTES = exports.E_PATCH_TASK = exports.E_FETCH_TASK = exports.E_CREATE_TASK = exports.
|
|
6
|
-
exports.E_SALE_PROCESS_FILE_WITHOUT_APPROVAL = exports.E_PRODUCT_TRANSITION_GROUP_AGGRUPATION_BUNDLE_TYPE_CONFIGURATION_NOT_MAIN_BUNDLE = exports.E_SEARCH_TRANSFERED_PRODUCTS = exports.E_PRODUCT_TRANSITION_GROUP_AGGRUPATION_BUNDLE_TYPE_CONFIGURATION_CONFLICT = exports.E_DROPDOWN_BY_FIELD_VALUE_TYPE_MISMATCHING = exports.E_CREATE_PRODUCT_ORDER = exports.E_ENUM_VALUE_EQUIVALENCE = exports.E_SHOPPING_CART_CONFIGURATION_FEATURE_GROUP_INCONSISTENT_MIN_MAX = exports.E_SALE_PROCESS_CREDIT_BUREAU_VALIDATION_REJECTED = exports.E_CHANGE_OF_ADDRESS_INTERMEDIATE_BUNDLE_CONFIGURATION_ATTRIBUTE_MISMATCHING = exports.E_PRODUCT_ACTION_DISABLED_CHANGE_OF_ADDRESS_2ND_PHASE_IN_PROGRESS = exports.E_PRODUCT_ACTION_DISABLED_NOT_INTERMEDIATE_PRODUCT = exports.E_HANDLE_SHOPPING_CART_BUNDLE_VOIP_PRODUCT_AGAINST_NUMBER_POOL = exports.E_SHOPPING_CART_WITHOUT_PROVINCE_PARAMETER = exports.E_AGGRUPATION_CREATION_NOT_ALLOWED = 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 =
|
|
5
|
+
exports.E_SALE_PROCESS_IBAN_VALIDATION_REJECTED = exports.E_SERVICE_CHARACTERISTIC_NOT_AVAILABLE = exports.E_SERVICE_CHARACTERISTIC_VALUE_MANDATORY = exports.E_CHARACTERISTIC_NOT_CHANGEABLE = exports.E_BUNDLE_NOT_AVAILABLE_IN_CHANNEL = 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_ENCRYPTION_KEY = exports.E_FETCH_BILLS = exports.E_FETCH_ORDER_HIERARCHY = exports.E_FETCH_WORK_ORDERS = exports.E_FETCH_ORDERS = exports.E_FILTERS_REQUIRED = exports.E_RESOLVE_TASKS = exports.E_FETCH_TASKS = exports.E_FETCH_TASK_NOTES = exports.E_PATCH_TASK = exports.E_FETCH_TASK = exports.E_CREATE_TASK = 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_BI_SALES_EXTRACTION = exports.E_FETCH_AVAILABLE_CHARGES_AND_CREDITS = 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 = void 0;
|
|
6
|
+
exports.E_SALE_PROCESS_FILE_WITHOUT_APPROVAL = exports.E_PRODUCT_TRANSITION_GROUP_AGGRUPATION_BUNDLE_TYPE_CONFIGURATION_NOT_MAIN_BUNDLE = exports.E_SEARCH_TRANSFERED_PRODUCTS = exports.E_PRODUCT_TRANSITION_GROUP_AGGRUPATION_BUNDLE_TYPE_CONFIGURATION_CONFLICT = exports.E_DROPDOWN_BY_FIELD_VALUE_TYPE_MISMATCHING = exports.E_CREATE_PRODUCT_ORDER = exports.E_ENUM_VALUE_EQUIVALENCE = exports.E_SHOPPING_CART_CONFIGURATION_FEATURE_GROUP_INCONSISTENT_MIN_MAX = exports.E_SALE_PROCESS_CREDIT_BUREAU_VALIDATION_REJECTED = exports.E_CHANGE_OF_ADDRESS_INTERMEDIATE_BUNDLE_CONFIGURATION_ATTRIBUTE_MISMATCHING = exports.E_PRODUCT_ACTION_DISABLED_CHANGE_OF_ADDRESS_2ND_PHASE_IN_PROGRESS = exports.E_PRODUCT_ACTION_DISABLED_NOT_INTERMEDIATE_PRODUCT = exports.E_HANDLE_SHOPPING_CART_BUNDLE_VOIP_PRODUCT_AGAINST_NUMBER_POOL = exports.E_SHOPPING_CART_WITHOUT_PROVINCE_PARAMETER = exports.E_AGGRUPATION_CREATION_NOT_ALLOWED = 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 = void 0;
|
|
7
7
|
exports.E_TIMEOUT = 'E_TIMEOUT';
|
|
8
8
|
exports.E_FORBIDDEN = 'E_FORBIDDEN';
|
|
9
9
|
exports.E_FETCH_PRODUCT_OFFERINGS = 'E_FETCH_PRODUCT_OFFERINGS';
|
|
@@ -132,7 +132,6 @@ exports.E_APPROVAL_DATA_WITHOUT_RESPONSE = 'E_APPROVAL_DATA_WITHOUT_RESPONSE';
|
|
|
132
132
|
exports.E_APPROVAL_DATA_WITHOUT_CHANGES = 'E_APPROVAL_DATA_WITHOUT_CHANGES';
|
|
133
133
|
exports.E_APPROVAL_FORBIDDEN_STATUS = 'E_APPROVAL_FORBIDDEN_STATUS';
|
|
134
134
|
exports.E_APPROVAL_FORBIDDEN_VALIDATION = 'E_APPROVAL_FORBIDDEN_VALIDATION';
|
|
135
|
-
exports.E_DIGITEL_PROCESS_ERROR = 'E_DIGITEL_PROCESS_ERROR';
|
|
136
135
|
exports.E_CREATE_TASK = 'E_CREATE_TASK';
|
|
137
136
|
exports.E_FETCH_TASK = 'E_FETCH_TASK';
|
|
138
137
|
exports.E_PATCH_TASK = 'E_PATCH_TASK';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.E_DIGITEL_PLATFORM_UNAVAILABLE = exports.E_DIGITEL_SIGN_PROCESS_FORBIDDEN_STATUS = exports.E_DIGITEL_PROCESS_ERROR = void 0;
|
|
4
|
+
exports.E_DIGITEL_PROCESS_ERROR = 'E_DIGITEL_PROCESS_ERROR';
|
|
5
|
+
exports.E_DIGITEL_SIGN_PROCESS_FORBIDDEN_STATUS = 'E_DIGITEL_SIGN_PROCESS_FORBIDDEN_STATUS';
|
|
6
|
+
exports.E_DIGITEL_PLATFORM_UNAVAILABLE = 'E_DIGITEL_PLATFORM_UNAVAILABLE';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './billing.error.constants';
|
|
2
2
|
export * from './bundle-type-configuration.error.constants';
|
|
3
3
|
export * from './common.constants';
|
|
4
|
+
export * from './digitel.error.constants';
|
|
4
5
|
export * from './error.constants';
|
|
5
6
|
export * from './iban-validation.error.constants';
|
|
6
7
|
export * from './not-found.error.constants';
|
|
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./billing.error.constants"), exports);
|
|
18
18
|
__exportStar(require("./bundle-type-configuration.error.constants"), exports);
|
|
19
19
|
__exportStar(require("./common.constants"), exports);
|
|
20
|
+
__exportStar(require("./digitel.error.constants"), exports);
|
|
20
21
|
__exportStar(require("./error.constants"), exports);
|
|
21
22
|
__exportStar(require("./iban-validation.error.constants"), exports);
|
|
22
23
|
__exportStar(require("./not-found.error.constants"), exports);
|
|
@@ -31,6 +31,8 @@ export declare const E_CUSTOMER_PRODUCT_FIBER_PRODUCT_NOT_FOUND = "E_CUSTOMER_PR
|
|
|
31
31
|
export declare const E_CUSTOMER_PRODUCT_MODIFICATION_NOT_FOUND = "E_CUSTOMER_PRODUCT_MODIFICATION_NOT_FOUND";
|
|
32
32
|
export declare const E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_NOT_FOUND = "E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_NOT_FOUND";
|
|
33
33
|
export declare const E_CUSTOMER_PRODUCT_TRANSITION_NOT_FOUND = "E_CUSTOMER_PRODUCT_TRANSITION_NOT_FOUND";
|
|
34
|
+
export declare const E_DIGITEL_DEFAULT_USER_NOT_FOUND = "E_DIGITEL_DEFAULT_USER_NOT_FOUND";
|
|
35
|
+
export declare const E_DIGITEL_SIGN_FLOW_CONFIG_NOT_FOUND = "E_DIGITEL_SIGN_FLOW_CONFIG_NOT_FOUND";
|
|
34
36
|
export declare const E_DROPDOWN_DATA_NOT_FOUND = "E_DROPDOWN_DATA_NOT_FOUND";
|
|
35
37
|
export declare const E_DROPDOWN_NOT_FOUND = "E_DROPDOWN_NOT_FOUND";
|
|
36
38
|
export declare const E_JIRA_ISSUE_NOT_FOUND = "E_JIRA_ISSUE_NOT_FOUND";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.E_ZIP_ADDRESSES_NOT_FOUND = exports.E_WORKGROUP_NOT_FOUND = void 0;
|
|
3
|
+
exports.E_TEMPLATE_NOT_FOUND = exports.E_TASK_NOT_FOUND = exports.E_SHOPPING_CART_NOT_FOUND = exports.E_SALE_PROCESS_NOT_FOUND = exports.E_PRODUCT_TRANSITION_GROUP_NOT_FOUND = exports.E_PRODUCT_TRANSITION_CONFIGURATION_NOT_FOUND = exports.E_PRODUCT_MOBILE_PROFILE_EQUIVALENCE_NOT_FOUND = exports.E_PRODUCT_CHARACTERISITC_EQUIVALENCE_NOT_FOUND = exports.E_NUMBER_FROM_POOL_NOT_FOUND = exports.E_NOT_FOUND = exports.E_LEAD_NOT_FOUND = exports.E_LEAD_FILE_NOT_FOUND = exports.E_JIRA_ISSUE_NOT_FOUND = exports.E_DROPDOWN_NOT_FOUND = exports.E_DROPDOWN_DATA_NOT_FOUND = exports.E_DIGITEL_SIGN_FLOW_CONFIG_NOT_FOUND = exports.E_DIGITEL_DEFAULT_USER_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_TRANSITION_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_MODIFICATION_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_FIBER_PRODUCT_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_DEACTIVATION_NOT_FOUND = exports.E_CUSTOMER_PRODUCT_CHANGE_OF_ADDRESS_NOT_FOUND = exports.E_CUSTOMER_NOT_FOUND = exports.E_CUSTOMER_NEW_EXTRAS_NOT_FOUND = exports.E_CUSTOMER_HANDOVER_NOT_FOUND = exports.E_CUSTOMER_HANDOVER_FILE_NOT_FOUND = exports.E_CUSTOMER_DOCUMENT_NOT_FOUND = exports.E_CUSTOMER_BILLING_PAYMENT_METHODS_NOT_FOUND = exports.E_CUSTOMER_BILLING_DIRECT_DEBIT_PAYMENT_METHOD_NOT_FOUND = exports.E_CUSTOMER_BILLING_DIRECT_DEBIT_MANDATE_NOT_FOUND = exports.E_CUSTOMER_AGGRUPATION_NOT_FOUND = exports.E_CONFIGURATION_NOT_FOUND = exports.E_CHANGE_OF_ADDRESS_CHARACTERISTIC_NOT_FOUND = exports.E_BUNDLES_PRODUCTS_WITH_VOIP_OR_WITHOUT_VOIP_PRODUCT_NOT_FOUND = exports.E_BUNDLES_PRODUCTS_WITHOUT_MOBILE_PRODUCT_NOT_FOUND = exports.E_BUNDLES_PRODUCTS_WITHOUT_VOIP_AND_MOBILE_PRODUCTS_NOT_FOUND = exports.E_BUNDLES_PRODUCTS_WITH_ANY_VOIP_PRODUCT_NOT_FOUND = exports.E_BUNDLE_TYPE_CONFIGURATION_NOT_FOUND = exports.E_BUNDLE_PRODUCTS_NOT_FOUND = exports.E_BATCH_PROCESS_DEFINITION_NOT_FOUND = exports.E_AUTH_WORKGROUP_NOT_FOUND = exports.E_AUTH_CLIENT_NOT_FOUND = exports.E_AUTH_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
|
+
exports.E_ZIP_ADDRESSES_NOT_FOUND = exports.E_WORKGROUP_NOT_FOUND = exports.E_WORK_ORDER_NOT_FOUND = exports.E_USER_NOT_FOUND = void 0;
|
|
5
5
|
exports.E_ADDRESS_NOT_FOUND = 'E_ADDRESS_NOT_FOUND';
|
|
6
6
|
exports.E_APARTMENT_NOT_FOUND = 'E_APARTMENT_NOT_FOUND';
|
|
7
7
|
exports.E_APPROVAL_DATA_NOT_FOUND = 'E_APPROVAL_DATA_NOT_FOUND';
|
|
@@ -35,6 +35,8 @@ exports.E_CUSTOMER_PRODUCT_FIBER_PRODUCT_NOT_FOUND = 'E_CUSTOMER_PRODUCT_FIBER_P
|
|
|
35
35
|
exports.E_CUSTOMER_PRODUCT_MODIFICATION_NOT_FOUND = 'E_CUSTOMER_PRODUCT_MODIFICATION_NOT_FOUND';
|
|
36
36
|
exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_NOT_FOUND = 'E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_NOT_FOUND';
|
|
37
37
|
exports.E_CUSTOMER_PRODUCT_TRANSITION_NOT_FOUND = 'E_CUSTOMER_PRODUCT_TRANSITION_NOT_FOUND';
|
|
38
|
+
exports.E_DIGITEL_DEFAULT_USER_NOT_FOUND = 'E_DIGITEL_DEFAULT_USER_NOT_FOUND';
|
|
39
|
+
exports.E_DIGITEL_SIGN_FLOW_CONFIG_NOT_FOUND = 'E_DIGITEL_SIGN_FLOW_CONFIG_NOT_FOUND';
|
|
38
40
|
exports.E_DROPDOWN_DATA_NOT_FOUND = 'E_DROPDOWN_DATA_NOT_FOUND';
|
|
39
41
|
exports.E_DROPDOWN_NOT_FOUND = 'E_DROPDOWN_NOT_FOUND';
|
|
40
42
|
exports.E_JIRA_ISSUE_NOT_FOUND = 'E_JIRA_ISSUE_NOT_FOUND';
|
|
@@ -136,7 +136,7 @@ export declare const AmsError: {
|
|
|
136
136
|
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
|
137
137
|
stackTraceLimit: number;
|
|
138
138
|
};
|
|
139
|
-
export declare const
|
|
139
|
+
export declare const DigitelError: {
|
|
140
140
|
new (errorArgs: ErrorArgs): {
|
|
141
141
|
code: string;
|
|
142
142
|
source: MicroserviceType;
|
|
@@ -152,7 +152,7 @@ export declare const GrupoAireError: {
|
|
|
152
152
|
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
|
153
153
|
stackTraceLimit: number;
|
|
154
154
|
};
|
|
155
|
-
export declare const
|
|
155
|
+
export declare const FtpError: {
|
|
156
156
|
new (errorArgs: ErrorArgs): {
|
|
157
157
|
code: string;
|
|
158
158
|
source: MicroserviceType;
|
|
@@ -168,7 +168,23 @@ export declare const DigitelError: {
|
|
|
168
168
|
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
|
169
169
|
stackTraceLimit: number;
|
|
170
170
|
};
|
|
171
|
-
export declare const
|
|
171
|
+
export declare const GrupoAireError: {
|
|
172
|
+
new (errorArgs: ErrorArgs): {
|
|
173
|
+
code: string;
|
|
174
|
+
source: MicroserviceType;
|
|
175
|
+
statusCode?: number;
|
|
176
|
+
parameters?: ErrorParameters;
|
|
177
|
+
superMessage: string;
|
|
178
|
+
messages?: MessagePayloadDto[];
|
|
179
|
+
name: string;
|
|
180
|
+
message: string;
|
|
181
|
+
stack?: string;
|
|
182
|
+
};
|
|
183
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
184
|
+
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
|
185
|
+
stackTraceLimit: number;
|
|
186
|
+
};
|
|
187
|
+
export declare const JiraError: {
|
|
172
188
|
new (errorArgs: ErrorArgs): {
|
|
173
189
|
code: string;
|
|
174
190
|
source: MicroserviceType;
|
|
@@ -248,7 +264,7 @@ export declare const SftpError: {
|
|
|
248
264
|
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
|
249
265
|
stackTraceLimit: number;
|
|
250
266
|
};
|
|
251
|
-
export declare const
|
|
267
|
+
export declare const TesaError: {
|
|
252
268
|
new (errorArgs: ErrorArgs): {
|
|
253
269
|
code: string;
|
|
254
270
|
source: MicroserviceType;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.TesaError = exports.SftpError = exports.SendGridError = exports.OtrsError = exports.MsgMediaError = exports.JiraError = exports.GrupoAireError = exports.FtpError = exports.DigitelError = exports.AmsError = exports.RetailBatchHubError = exports.DigitelBridgeError = exports.DbBridgeError = exports.BssBridgeError = exports.ArsEventEdgeError = exports.ArsEdgeError = exports.AcsEdgeError = void 0;
|
|
4
4
|
const openapi = require("@nestjs/swagger");
|
|
5
5
|
const constants_1 = require("../constants");
|
|
6
6
|
const exception_entity_1 = require("./exception.entity");
|
|
@@ -55,11 +55,12 @@ exports.DbBridgeError = createErrorFactory({ name: 'DbBridgeError', source: cons
|
|
|
55
55
|
exports.DigitelBridgeError = createErrorFactory({ name: 'DigitelBridgeError', source: constants_1.MicroserviceType.DIGITEL_BRIDGE });
|
|
56
56
|
exports.RetailBatchHubError = createErrorFactory({ name: 'RetailBatchHubError', source: constants_1.MicroserviceType.RETAIL_BATCH_HUB });
|
|
57
57
|
exports.AmsError = createErrorFactory({ name: 'AmsError', source: constants_1.MicroserviceType.AMS });
|
|
58
|
-
exports.GrupoAireError = createErrorFactory({ name: 'GrupoAireError', source: constants_1.MicroserviceType.GRUPO_AIRE });
|
|
59
58
|
exports.DigitelError = createErrorFactory({ name: 'DigitelError', source: constants_1.MicroserviceType.DIGITEL });
|
|
60
59
|
exports.FtpError = createErrorFactory({ name: 'FtpError', source: constants_1.MicroserviceType.FTP });
|
|
60
|
+
exports.GrupoAireError = createErrorFactory({ name: 'GrupoAireError', source: constants_1.MicroserviceType.GRUPO_AIRE });
|
|
61
|
+
exports.JiraError = createErrorFactory({ name: 'JiraError', source: constants_1.MicroserviceType.JIRA });
|
|
61
62
|
exports.MsgMediaError = createErrorFactory({ name: 'MsgMediaError', source: constants_1.MicroserviceType.MESSAGE_MEDIA });
|
|
62
63
|
exports.OtrsError = createErrorFactory({ name: 'OtrsError', source: constants_1.MicroserviceType.OTRS });
|
|
63
64
|
exports.SendGridError = createErrorFactory({ name: 'SendGridError', source: constants_1.MicroserviceType.SENDGRID });
|
|
64
65
|
exports.SftpError = createErrorFactory({ name: 'SftpError', source: constants_1.MicroserviceType.SFTP });
|
|
65
|
-
exports.
|
|
66
|
+
exports.TesaError = createErrorFactory({ name: 'TesaError', source: constants_1.MicroserviceType.TESA });
|
|
@@ -84,15 +84,6 @@ export declare class ProductMandatoryDocumentsDto {
|
|
|
84
84
|
export declare class ProductMandatoryDocumentsItemsDto {
|
|
85
85
|
items: ProductMandatoryDocumentsDto[];
|
|
86
86
|
}
|
|
87
|
-
export declare class DigitelCircuitsConfigDto {
|
|
88
|
-
circuits: DigitelCircuitConfigDto[];
|
|
89
|
-
}
|
|
90
|
-
export declare class DigitelCircuitConfigDto {
|
|
91
|
-
circuitId?: number;
|
|
92
|
-
type: string;
|
|
93
|
-
ocr?: boolean;
|
|
94
|
-
channels: string[];
|
|
95
|
-
}
|
|
96
87
|
export declare class ApprovalValidationUrlDto {
|
|
97
88
|
validation: string;
|
|
98
89
|
templateUrl: string;
|
|
@@ -10,7 +10,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
var _a, _b, _c, _d, _e;
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
exports.SaleProcessJobConfigurationDto = exports.DigitelClausesConfigDto = exports.DigitelClauseConfigDto = exports.DigitelDefaultUsersDto = exports.DigitelDefaultUserDto = exports.ApprovalValidationUrlsDto = exports.ApprovalValidationUrlDto = exports.
|
|
13
|
+
exports.SaleProcessJobConfigurationDto = exports.DigitelClausesConfigDto = exports.DigitelClauseConfigDto = exports.DigitelDefaultUsersDto = exports.DigitelDefaultUserDto = exports.ApprovalValidationUrlsDto = exports.ApprovalValidationUrlDto = exports.ProductMandatoryDocumentsItemsDto = exports.ProductMandatoryDocumentsDto = exports.BusinessSegmentsDto = exports.BusinessSegmentDto = exports.BillingPaymentDaysDto = exports.BillingPaymentMethodPaymentDaysConfigDto = exports.BillingPaymentMethodPaymentDaysSegmentConfigDto = exports.BillingPaymentMethodPaymentDaysBaseConfigDto = exports.BillingCyclesDto = exports.RetailExclusivityRulesItemsDto = exports.ConfigurationRetailExclusivityDto = exports.ConfigurationServiceableAgeDto = exports.ConfigurationSegmentsDictionaryDto = exports.ConfigurationSegmentWithChannelsDto = exports.FeatureGroupsItemsDto = exports.FeatureGroupDto = exports.ReferenceDateDto = exports.ConfigurationArrayItemDto = exports.UpdateConfigurationDto = exports.ConfigurationDto = void 0;
|
|
14
14
|
const openapi = require("@nestjs/swagger");
|
|
15
15
|
const constants_1 = require("../../common/constants");
|
|
16
16
|
const swagger_1 = require("@nestjs/swagger");
|
|
@@ -330,52 +330,6 @@ __decorate([
|
|
|
330
330
|
(0, class_transformer_1.Expose)(),
|
|
331
331
|
__metadata("design:type", Array)
|
|
332
332
|
], ProductMandatoryDocumentsItemsDto.prototype, "items", void 0);
|
|
333
|
-
class DigitelCircuitsConfigDto {
|
|
334
|
-
static _OPENAPI_METADATA_FACTORY() {
|
|
335
|
-
return { circuits: { required: true, type: () => [require("./configuration.entity").DigitelCircuitConfigDto] } };
|
|
336
|
-
}
|
|
337
|
-
}
|
|
338
|
-
exports.DigitelCircuitsConfigDto = DigitelCircuitsConfigDto;
|
|
339
|
-
__decorate([
|
|
340
|
-
(0, class_validator_1.IsArray)(),
|
|
341
|
-
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
342
|
-
(0, class_transformer_1.Type)(() => DigitelCircuitConfigDto),
|
|
343
|
-
(0, class_transformer_1.Expose)(),
|
|
344
|
-
__metadata("design:type", Array)
|
|
345
|
-
], DigitelCircuitsConfigDto.prototype, "circuits", void 0);
|
|
346
|
-
class DigitelCircuitConfigDto {
|
|
347
|
-
static _OPENAPI_METADATA_FACTORY() {
|
|
348
|
-
return { circuitId: { required: false, type: () => Number }, type: { required: true, type: () => String }, ocr: { required: false, type: () => Boolean }, channels: { required: true, type: () => [String], minItems: 1 } };
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
exports.DigitelCircuitConfigDto = DigitelCircuitConfigDto;
|
|
352
|
-
__decorate([
|
|
353
|
-
(0, class_validator_1.IsInt)(),
|
|
354
|
-
(0, class_transformer_1.Expose)(),
|
|
355
|
-
__metadata("design:type", Number)
|
|
356
|
-
], DigitelCircuitConfigDto.prototype, "circuitId", void 0);
|
|
357
|
-
__decorate([
|
|
358
|
-
(0, class_validator_1.IsString)(),
|
|
359
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
360
|
-
(0, _validators_1.IsNotBlank)(),
|
|
361
|
-
(0, class_transformer_1.Expose)(),
|
|
362
|
-
__metadata("design:type", String)
|
|
363
|
-
], DigitelCircuitConfigDto.prototype, "type", void 0);
|
|
364
|
-
__decorate([
|
|
365
|
-
(0, class_validator_1.IsBoolean)(),
|
|
366
|
-
(0, class_transformer_1.Expose)(),
|
|
367
|
-
(0, class_validator_1.IsOptional)(),
|
|
368
|
-
__metadata("design:type", Boolean)
|
|
369
|
-
], DigitelCircuitConfigDto.prototype, "ocr", void 0);
|
|
370
|
-
__decorate([
|
|
371
|
-
(0, class_validator_1.IsArray)(),
|
|
372
|
-
(0, class_validator_1.ArrayMinSize)(1),
|
|
373
|
-
(0, class_validator_1.IsString)({ each: true }),
|
|
374
|
-
(0, class_validator_1.IsNotEmpty)({ each: true }),
|
|
375
|
-
(0, _validators_1.IsNotBlank)({ each: true }),
|
|
376
|
-
(0, class_transformer_1.Expose)(),
|
|
377
|
-
__metadata("design:type", Array)
|
|
378
|
-
], DigitelCircuitConfigDto.prototype, "channels", void 0);
|
|
379
333
|
class ApprovalValidationUrlDto {
|
|
380
334
|
static _OPENAPI_METADATA_FACTORY() {
|
|
381
335
|
return { validation: { required: true, type: () => String }, templateUrl: { required: true, type: () => String } };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare class DigitelCircuitConfigDto {
|
|
2
|
+
circuitId?: number;
|
|
3
|
+
type: string;
|
|
4
|
+
ocr?: boolean;
|
|
5
|
+
channels: string[];
|
|
6
|
+
}
|
|
7
|
+
export declare class DigitelCircuitsConfigDto {
|
|
8
|
+
circuits: DigitelCircuitConfigDto[];
|
|
9
|
+
}
|
|
10
|
+
export declare class DigitelSignFlowConfigDto {
|
|
11
|
+
name: string;
|
|
12
|
+
type: string;
|
|
13
|
+
ocr: boolean;
|
|
14
|
+
channels: string[];
|
|
15
|
+
}
|
|
16
|
+
export declare class DigitelSignFlowsConfigDto {
|
|
17
|
+
signFlows: DigitelSignFlowConfigDto[];
|
|
18
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
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.DigitelSignFlowsConfigDto = exports.DigitelSignFlowConfigDto = exports.DigitelCircuitsConfigDto = exports.DigitelCircuitConfigDto = void 0;
|
|
13
|
+
const openapi = require("@nestjs/swagger");
|
|
14
|
+
const _validators_1 = require("../../validators/index");
|
|
15
|
+
const class_transformer_1 = require("class-transformer");
|
|
16
|
+
const class_validator_1 = require("class-validator");
|
|
17
|
+
class DigitelCircuitConfigDto {
|
|
18
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
19
|
+
return { circuitId: { required: false, type: () => Number }, type: { required: true, type: () => String }, ocr: { required: false, type: () => Boolean }, channels: { required: true, type: () => [String], minItems: 1 } };
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.DigitelCircuitConfigDto = DigitelCircuitConfigDto;
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsInt)(),
|
|
25
|
+
(0, class_transformer_1.Expose)(),
|
|
26
|
+
__metadata("design:type", Number)
|
|
27
|
+
], DigitelCircuitConfigDto.prototype, "circuitId", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsString)(),
|
|
30
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
31
|
+
(0, _validators_1.IsNotBlank)(),
|
|
32
|
+
(0, class_transformer_1.Expose)(),
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], DigitelCircuitConfigDto.prototype, "type", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, class_validator_1.IsBoolean)(),
|
|
37
|
+
(0, class_transformer_1.Expose)(),
|
|
38
|
+
(0, class_validator_1.IsOptional)(),
|
|
39
|
+
__metadata("design:type", Boolean)
|
|
40
|
+
], DigitelCircuitConfigDto.prototype, "ocr", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_validator_1.IsArray)(),
|
|
43
|
+
(0, class_validator_1.ArrayMinSize)(1),
|
|
44
|
+
(0, class_validator_1.IsString)({ each: true }),
|
|
45
|
+
(0, class_validator_1.IsNotEmpty)({ each: true }),
|
|
46
|
+
(0, _validators_1.IsNotBlank)({ each: true }),
|
|
47
|
+
(0, class_transformer_1.Expose)(),
|
|
48
|
+
__metadata("design:type", Array)
|
|
49
|
+
], DigitelCircuitConfigDto.prototype, "channels", void 0);
|
|
50
|
+
class DigitelCircuitsConfigDto {
|
|
51
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
52
|
+
return { circuits: { required: true, type: () => [require("./digitel.entity").DigitelCircuitConfigDto] } };
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
exports.DigitelCircuitsConfigDto = DigitelCircuitsConfigDto;
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, class_validator_1.IsArray)(),
|
|
58
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
59
|
+
(0, class_transformer_1.Type)(() => DigitelCircuitConfigDto),
|
|
60
|
+
(0, class_transformer_1.Expose)(),
|
|
61
|
+
__metadata("design:type", Array)
|
|
62
|
+
], DigitelCircuitsConfigDto.prototype, "circuits", void 0);
|
|
63
|
+
class DigitelSignFlowConfigDto {
|
|
64
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
65
|
+
return { name: { required: true, type: () => String }, type: { required: true, type: () => String }, ocr: { required: true, type: () => Boolean }, channels: { required: true, type: () => [String], minItems: 1 } };
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
exports.DigitelSignFlowConfigDto = DigitelSignFlowConfigDto;
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, class_validator_1.IsString)(),
|
|
71
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
72
|
+
(0, _validators_1.IsNotBlank)(),
|
|
73
|
+
(0, class_transformer_1.Expose)(),
|
|
74
|
+
__metadata("design:type", String)
|
|
75
|
+
], DigitelSignFlowConfigDto.prototype, "name", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
(0, class_validator_1.IsString)(),
|
|
78
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
79
|
+
(0, _validators_1.IsNotBlank)(),
|
|
80
|
+
(0, class_transformer_1.Expose)(),
|
|
81
|
+
__metadata("design:type", String)
|
|
82
|
+
], DigitelSignFlowConfigDto.prototype, "type", void 0);
|
|
83
|
+
__decorate([
|
|
84
|
+
(0, class_validator_1.IsBoolean)(),
|
|
85
|
+
(0, class_transformer_1.Expose)(),
|
|
86
|
+
__metadata("design:type", Boolean)
|
|
87
|
+
], DigitelSignFlowConfigDto.prototype, "ocr", void 0);
|
|
88
|
+
__decorate([
|
|
89
|
+
(0, class_validator_1.IsArray)(),
|
|
90
|
+
(0, class_validator_1.ArrayMinSize)(1),
|
|
91
|
+
(0, class_validator_1.IsString)({ each: true }),
|
|
92
|
+
(0, class_validator_1.IsNotEmpty)({ each: true }),
|
|
93
|
+
(0, _validators_1.IsNotBlank)({ each: true }),
|
|
94
|
+
(0, class_transformer_1.Expose)(),
|
|
95
|
+
__metadata("design:type", Array)
|
|
96
|
+
], DigitelSignFlowConfigDto.prototype, "channels", void 0);
|
|
97
|
+
class DigitelSignFlowsConfigDto {
|
|
98
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
99
|
+
return { signFlows: { required: true, type: () => [require("./digitel.entity").DigitelSignFlowConfigDto] } };
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
exports.DigitelSignFlowsConfigDto = DigitelSignFlowsConfigDto;
|
|
103
|
+
__decorate([
|
|
104
|
+
(0, class_validator_1.IsArray)(),
|
|
105
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
106
|
+
(0, class_transformer_1.Type)(() => DigitelSignFlowConfigDto),
|
|
107
|
+
(0, class_transformer_1.Expose)(),
|
|
108
|
+
__metadata("design:type", Array)
|
|
109
|
+
], DigitelSignFlowsConfigDto.prototype, "signFlows", void 0);
|
|
@@ -55,7 +55,7 @@ export declare class CustomerProductChangeOfAddressProcessDto {
|
|
|
55
55
|
created: ProcessAuditFieldsDto;
|
|
56
56
|
updated: ProcessAuditFieldsDto;
|
|
57
57
|
}
|
|
58
|
-
declare const CreateCustomerProductChangeOfAddressProcessDto_base: import("@nestjs/common").Type<Pick<CustomerProductChangeOfAddressProcessDto, "product" | "
|
|
58
|
+
declare const CreateCustomerProductChangeOfAddressProcessDto_base: import("@nestjs/common").Type<Pick<CustomerProductChangeOfAddressProcessDto, "product" | "salesPerson" | "customerId" | "status" | "created">>;
|
|
59
59
|
export declare class CreateCustomerProductChangeOfAddressProcessDto extends CreateCustomerProductChangeOfAddressProcessDto_base {
|
|
60
60
|
}
|
|
61
61
|
declare const UpdateCustomerProductChangeOfAddressProcessDto_base: import("@nestjs/common").Type<Omit<CustomerProductChangeOfAddressProcessDto, "product" | "id" | "customerId" | "created" | "steps">>;
|