adamo-types 2.1.0-uat → 2.1.1-uat
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bss/shopping-cart/index.d.ts +1 -0
- package/dist/bss/shopping-cart/index.js +1 -0
- package/dist/bss/shopping-cart/internal.entity.d.ts +0 -5
- package/dist/bss/shopping-cart/shopping-cart-configuration.entity.d.ts +22 -0
- package/dist/bss/shopping-cart/shopping-cart-configuration.entity.js +23 -0
- package/dist/common/constants/common.constants.d.ts +1 -0
- package/dist/common/constants/common.constants.js +1 -0
- package/dist/common/constants/common.error.constants.d.ts +1 -0
- package/dist/common/constants/common.error.constants.js +6 -4
- package/dist/common/constants/not-found.error.constants.d.ts +1 -0
- package/dist/common/constants/not-found.error.constants.js +2 -1
- package/dist/common/edge-bss/shopping-cart/res/other.entity.d.ts +4 -28
- package/dist/common/edge-bss/shopping-cart/res/other.entity.js +3 -21
- package/dist/common/exception/service.exception.entity.d.ts +16 -0
- package/dist/common/exception/service.exception.entity.js +2 -1
- package/dist/sys03/customer/customer-ticket.entity.d.ts +35 -0
- package/dist/sys03/customer/customer-ticket.entity.js +28 -0
- package/dist/sys03/customer/customer.constants.d.ts +5 -0
- package/dist/sys03/customer/customer.constants.js +7 -1
- package/dist/sys03/customer/customer.entity.d.ts +4 -0
- package/dist/sys03/customer/customer.entity.js +13 -1
- package/dist/sys03/customer/index.d.ts +1 -0
- package/dist/sys03/customer/index.js +1 -0
- package/dist/sys03/shopping-cart/shopping-cart.entity.d.ts +3 -2
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./internal.entity"), exports);
|
|
18
|
+
__exportStar(require("./shopping-cart-configuration.entity"), exports);
|
|
18
19
|
__exportStar(require("./shopping-cart.entity"), exports);
|
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
import { BpProductOfferingCharacteristic } from '../bearingpoint/product-offering';
|
|
2
2
|
import { ShoppingCartDto } from '../bearingpoint/shopping-cart';
|
|
3
3
|
import { BssChargeType } from '../constants';
|
|
4
|
-
import { ShoppingCartConfigurationCharacteristicResDto, ShoppingCartConfigurationServiceSpecificationItemResDto } from '../../common/edge-bss';
|
|
5
4
|
export declare class BpShoppingCartCreatedResDto extends ShoppingCartDto {
|
|
6
5
|
id: string;
|
|
7
6
|
}
|
|
8
|
-
export interface ShoppingCartConfigurationWithCharacteristic {
|
|
9
|
-
characteristic?: ShoppingCartConfigurationCharacteristicResDto;
|
|
10
|
-
configuration: ShoppingCartConfigurationServiceSpecificationItemResDto[];
|
|
11
|
-
}
|
|
12
7
|
export declare class BpShoppingCartSaveResDto {
|
|
13
8
|
id: string;
|
|
14
9
|
draftId: string;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ShoppingCartConfigurationAddressResDto } from '../../common/edge-bss';
|
|
2
|
+
import { ServiceSpecificationType } from '..';
|
|
3
|
+
export declare class ShoppingCartConfigurationServiceSpecificationSelectCharacteristicOptionDto {
|
|
4
|
+
name: string;
|
|
5
|
+
displayName: string;
|
|
6
|
+
}
|
|
7
|
+
export declare class ShoppingCartConfigurationServiceSpecificationCharacteristicDto {
|
|
8
|
+
name: string;
|
|
9
|
+
displayName: string;
|
|
10
|
+
type: ServiceSpecificationType;
|
|
11
|
+
required: boolean;
|
|
12
|
+
enabled: boolean;
|
|
13
|
+
included: boolean;
|
|
14
|
+
value?: string | ShoppingCartConfigurationAddressResDto;
|
|
15
|
+
values?: ShoppingCartConfigurationServiceSpecificationSelectCharacteristicOptionDto[];
|
|
16
|
+
}
|
|
17
|
+
declare const ExtendedShoppingCartConfigurationServiceSpecificationCharacteristicDto_base: import("@nestjs/common").Type<Omit<ShoppingCartConfigurationServiceSpecificationCharacteristicDto, "included">>;
|
|
18
|
+
export declare class ExtendedShoppingCartConfigurationServiceSpecificationCharacteristicDto extends ExtendedShoppingCartConfigurationServiceSpecificationCharacteristicDto_base {
|
|
19
|
+
group: string;
|
|
20
|
+
hidden: boolean;
|
|
21
|
+
}
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ExtendedShoppingCartConfigurationServiceSpecificationCharacteristicDto = exports.ShoppingCartConfigurationServiceSpecificationCharacteristicDto = exports.ShoppingCartConfigurationServiceSpecificationSelectCharacteristicOptionDto = void 0;
|
|
4
|
+
const openapi = require("@nestjs/swagger");
|
|
5
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
6
|
+
class ShoppingCartConfigurationServiceSpecificationSelectCharacteristicOptionDto {
|
|
7
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
8
|
+
return { name: { required: true, type: () => String }, displayName: { required: true, type: () => String } };
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.ShoppingCartConfigurationServiceSpecificationSelectCharacteristicOptionDto = ShoppingCartConfigurationServiceSpecificationSelectCharacteristicOptionDto;
|
|
12
|
+
class ShoppingCartConfigurationServiceSpecificationCharacteristicDto {
|
|
13
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
14
|
+
return { name: { required: true, type: () => String }, displayName: { required: true, type: () => String }, type: { required: true, enum: require("../constants/bp.constants").ServiceSpecificationType }, required: { required: true, type: () => Boolean }, enabled: { required: true, type: () => Boolean }, included: { required: true, type: () => Boolean }, value: { required: false, type: () => Object }, values: { required: false, type: () => [require("./shopping-cart-configuration.entity").ShoppingCartConfigurationServiceSpecificationSelectCharacteristicOptionDto] } };
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.ShoppingCartConfigurationServiceSpecificationCharacteristicDto = ShoppingCartConfigurationServiceSpecificationCharacteristicDto;
|
|
18
|
+
class ExtendedShoppingCartConfigurationServiceSpecificationCharacteristicDto extends (0, swagger_1.OmitType)(ShoppingCartConfigurationServiceSpecificationCharacteristicDto, ['included']) {
|
|
19
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
20
|
+
return { group: { required: true, type: () => String }, hidden: { required: true, type: () => Boolean } };
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.ExtendedShoppingCartConfigurationServiceSpecificationCharacteristicDto = ExtendedShoppingCartConfigurationServiceSpecificationCharacteristicDto;
|
|
@@ -112,6 +112,7 @@ var MicroserviceType;
|
|
|
112
112
|
MicroserviceType["FTP"] = "FTP";
|
|
113
113
|
MicroserviceType["GRUPO_AIRE"] = "GRUPO AIRE";
|
|
114
114
|
MicroserviceType["INFONOVA"] = "INFONOVA";
|
|
115
|
+
MicroserviceType["JIRA"] = "JIRA";
|
|
115
116
|
MicroserviceType["MESSAGE_MEDIA"] = "MESSAGE MEDIA";
|
|
116
117
|
MicroserviceType["OTRS"] = "OTRS";
|
|
117
118
|
MicroserviceType["RETAIL_BATCH_HUB"] = "RETAIL BATCH HUB";
|
|
@@ -24,6 +24,7 @@ export declare const E_UPDATE_SHOPPING_CART_EXTRAS = "E_UPDATE_SHOPPING_CART_EXT
|
|
|
24
24
|
export declare const E_BP_INTERNAL_SERVER_ERROR = "E_BP_INTERNAL_SERVER_ERROR";
|
|
25
25
|
export declare const E_INFONOVA = "E_INFONOVA";
|
|
26
26
|
export declare const E_TASK4WORK = "E_TASK4WORK";
|
|
27
|
+
export declare const E_JIRA = "E_JIRA";
|
|
27
28
|
export declare const E_INVALID_USER_CREDENTIALS = "E_INVALID_USER_CREDENTIALS";
|
|
28
29
|
export declare const E_SERVICE_UNAVAILABLE = "E_SERVICE_UNAVAILABLE";
|
|
29
30
|
export declare const E_CHANGE_CHANNEL = "E_CHANGE_CHANNEL";
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
3
|
+
exports.E_UPDATE_BILLING_ACCOUNT = exports.E_CREATE_BILLING_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_SERVICE_UNAVAILABLE = exports.E_INVALID_USER_CREDENTIALS = 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_ASSIGN_SALESPERSON = exports.E_ASSIGN_ROLE_TENENT = exports.E_CREATE_USER = exports.E_UPDATE_PASSWORD = exports.E_ASSIGN_CHANNELS = exports.E_ENTRAID_LOGIN = exports.E_LOGIN = exports.E_TIMEOUT = void 0;
|
|
4
|
+
exports.E_INVALID_SALE_PROCESS_STATUS = exports.E_USER_ROLE_UNKNOWN = exports.E_USER_WITHOUT_ROLE = exports.E_RESERVE_NUMBER_FROM_POOL = exports.E_FETCH_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_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_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_CREATE_PAYMENT = exports.E_UPDATE_PAYMENT_METHOD = exports.E_CREATE_PAYMENT_METHOD = exports.E_UPDATE_MANDATE = exports.E_CREATE_MANDATE = void 0;
|
|
5
|
+
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_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 = exports.E_UPDATE_PRODUCT_CATALOG_CACHE = exports.E_ENTRY_FOREIGN_KEY_CONSTRAINT = exports.E_DUPLICATE_ENTRY = exports.E_UNHANDLED_KEY = 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_NOT_FOUND_WITHOUT_CHANNELS = exports.E_USER_WITHOUT_CHANNELS = 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 = void 0;
|
|
6
|
+
exports.E_PRODUCT_TRANSITION_GROUP_AGGRUPATION_BUNDLE_TYPE_CONFIGURATION_NOT_MAIN_BUNDLE = 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 = exports.E_SALE_PROCESS_IBAN_VALIDATION_REJECTED = 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_PATCH_BILLING_STATE = 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_DIGITEL_PROCESS_ERROR = void 0;
|
|
7
|
+
exports.E_SALE_PROCESS_FILE_WITHOUT_APPROVAL = void 0;
|
|
7
8
|
exports.E_TIMEOUT = 'E_TIMEOUT';
|
|
8
9
|
exports.E_LOGIN = 'E_LOGIN';
|
|
9
10
|
exports.E_ENTRAID_LOGIN = 'E_ENTRAID_LOGIN';
|
|
@@ -30,6 +31,7 @@ exports.E_UPDATE_SHOPPING_CART_EXTRAS = 'E_UPDATE_SHOPPING_CART_EXTRAS';
|
|
|
30
31
|
exports.E_BP_INTERNAL_SERVER_ERROR = 'E_BP_INTERNAL_SERVER_ERROR';
|
|
31
32
|
exports.E_INFONOVA = 'E_INFONOVA';
|
|
32
33
|
exports.E_TASK4WORK = 'E_TASK4WORK';
|
|
34
|
+
exports.E_JIRA = 'E_JIRA';
|
|
33
35
|
exports.E_INVALID_USER_CREDENTIALS = 'E_INVALID_USER_CREDENTIALS';
|
|
34
36
|
exports.E_SERVICE_UNAVAILABLE = 'E_SERVICE_UNAVAILABLE';
|
|
35
37
|
exports.E_CHANGE_CHANNEL = 'E_CHANGE_CHANNEL';
|
|
@@ -27,6 +27,7 @@ export declare const E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_NOT_FOUND = "E_CUSTO
|
|
|
27
27
|
export declare const E_CUSTOMER_PRODUCT_TRANSITION_NOT_FOUND = "E_CUSTOMER_PRODUCT_TRANSITION_NOT_FOUND";
|
|
28
28
|
export declare const E_DROPDOWN_DATA_NOT_FOUND = "E_DROPDOWN_DATA_NOT_FOUND";
|
|
29
29
|
export declare const E_DROPDOWN_NOT_FOUND = "E_DROPDOWN_NOT_FOUND";
|
|
30
|
+
export declare const E_JIRA_ISSUE_NOT_FOUND = "E_JIRA_ISSUE_NOT_FOUND";
|
|
30
31
|
export declare const E_LEAD_FILE_NOT_FOUND = "E_LEAD_FILE_NOT_FOUND";
|
|
31
32
|
export declare const E_LEAD_NOT_FOUND = "E_LEAD_NOT_FOUND";
|
|
32
33
|
export declare const E_NOT_FOUND = "E_NOT_FOUND";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.E_ZIP_ADDRESSES_NOT_FOUND = exports.E_WORKGROUP_NOT_FOUND = exports.E_WORK_ORDER_NOT_FOUND = exports.E_USER_NOT_FOUND = 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_DROPDOWN_NOT_FOUND = exports.E_DROPDOWN_DATA_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_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_WITHOUT_VOIP_AND_MOBILE_PRODUCTS_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_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;
|
|
3
|
+
exports.E_ZIP_ADDRESSES_NOT_FOUND = exports.E_WORKGROUP_NOT_FOUND = exports.E_WORK_ORDER_NOT_FOUND = exports.E_USER_NOT_FOUND = 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_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_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_WITHOUT_VOIP_AND_MOBILE_PRODUCTS_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_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';
|
|
@@ -30,6 +30,7 @@ exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_NOT_FOUND = 'E_CUSTOMER_PRODUCT_M
|
|
|
30
30
|
exports.E_CUSTOMER_PRODUCT_TRANSITION_NOT_FOUND = 'E_CUSTOMER_PRODUCT_TRANSITION_NOT_FOUND';
|
|
31
31
|
exports.E_DROPDOWN_DATA_NOT_FOUND = 'E_DROPDOWN_DATA_NOT_FOUND';
|
|
32
32
|
exports.E_DROPDOWN_NOT_FOUND = 'E_DROPDOWN_NOT_FOUND';
|
|
33
|
+
exports.E_JIRA_ISSUE_NOT_FOUND = 'E_JIRA_ISSUE_NOT_FOUND';
|
|
33
34
|
exports.E_LEAD_FILE_NOT_FOUND = 'E_LEAD_FILE_NOT_FOUND';
|
|
34
35
|
exports.E_LEAD_NOT_FOUND = 'E_LEAD_NOT_FOUND';
|
|
35
36
|
exports.E_NOT_FOUND = 'E_NOT_FOUND';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ShoppingCartEntityParametersDto, ShoppingCartParametersDto } from '../../../../bss/bearingpoint';
|
|
2
|
-
import { BssChargeType,
|
|
2
|
+
import { BssChargeType, ShoppingCartProductAction } from '../../../../bss/constants';
|
|
3
|
+
import { ExtendedShoppingCartConfigurationServiceSpecificationCharacteristicDto, ShoppingCartConfigurationServiceSpecificationCharacteristicDto } from '../../../../bss/shopping-cart';
|
|
3
4
|
import { ShoppingCartProductType } from '../../../constants';
|
|
4
5
|
import { Builder } from '../../../helpers/helpers';
|
|
5
6
|
import { ShoppingCartConfigurationAttributeDto } from '../../../../sys03/shopping-cart';
|
|
@@ -155,7 +156,7 @@ export declare class ShoppingCartConfigurationProductBssResDto {
|
|
|
155
156
|
enabled: boolean;
|
|
156
157
|
characteristicGroups?: ShoppingCartConfigurationCharacteristicGroupResDto[];
|
|
157
158
|
characteristics: ShoppingCartConfigurationCharacteristicResDto[];
|
|
158
|
-
serviceSpecification?:
|
|
159
|
+
serviceSpecification?: ShoppingCartConfigurationServiceSpecificationCharacteristicDto[];
|
|
159
160
|
serviceCharacteristicName?: string;
|
|
160
161
|
serviceCharacteristicValue?: string | ShoppingCartConfigurationAddressResDto;
|
|
161
162
|
serviceParameters?: ShoppingCartEntityParametersDto;
|
|
@@ -171,32 +172,11 @@ export declare class ShoppingCartConfigurationProductResDto {
|
|
|
171
172
|
enabled: boolean;
|
|
172
173
|
characteristicGroups?: ShoppingCartConfigurationCharacteristicGroupResDto[];
|
|
173
174
|
characteristics: ShoppingCartConfigurationCharacteristicResDto[];
|
|
174
|
-
serviceSpecification?:
|
|
175
|
+
serviceSpecification?: ExtendedShoppingCartConfigurationServiceSpecificationCharacteristicDto[];
|
|
175
176
|
serviceCharacteristicName?: string;
|
|
176
177
|
serviceCharacteristicValue?: string | ShoppingCartConfigurationAddressResDto;
|
|
177
178
|
parameters?: ShoppingCartParametersDto;
|
|
178
179
|
}
|
|
179
|
-
export declare class ShoppingCartConfigurationServiceSpecificationItemBssResDto {
|
|
180
|
-
name: string;
|
|
181
|
-
displayName: string;
|
|
182
|
-
type: ServiceSpecificationType;
|
|
183
|
-
required: boolean;
|
|
184
|
-
enabled: boolean;
|
|
185
|
-
included: boolean;
|
|
186
|
-
value?: string | ShoppingCartConfigurationAddressResDto;
|
|
187
|
-
values?: ShoppingCartConfigurationServiceValueResDto[];
|
|
188
|
-
}
|
|
189
|
-
export declare class ShoppingCartConfigurationServiceSpecificationItemResDto {
|
|
190
|
-
name: string;
|
|
191
|
-
displayName: string;
|
|
192
|
-
type: ServiceSpecificationType;
|
|
193
|
-
required: boolean;
|
|
194
|
-
enabled: boolean;
|
|
195
|
-
group: string;
|
|
196
|
-
hidden: boolean;
|
|
197
|
-
value?: string | ShoppingCartConfigurationAddressResDto;
|
|
198
|
-
values?: ShoppingCartConfigurationServiceValueResDto[];
|
|
199
|
-
}
|
|
200
180
|
export declare class ShoppingCartConfigurationAddressResDto {
|
|
201
181
|
country?: string;
|
|
202
182
|
postcode: string;
|
|
@@ -214,10 +194,6 @@ export declare class ShoppingCartConfigurationAddressResDto {
|
|
|
214
194
|
export declare class ShoppingCartConfigurationAddressResDtoBuilder extends Builder<ShoppingCartConfigurationAddressResDto> {
|
|
215
195
|
setDefaults(): ShoppingCartConfigurationAddressResDto;
|
|
216
196
|
}
|
|
217
|
-
export declare class ShoppingCartConfigurationServiceValueResDto {
|
|
218
|
-
name: string;
|
|
219
|
-
displayName: string;
|
|
220
|
-
}
|
|
221
197
|
export declare class ShoppingCartInfoDto {
|
|
222
198
|
name: string;
|
|
223
199
|
internalName: string;
|
|
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.ShoppingCartInfoServiceCharacteristicDto = exports.ShoppingCartInfoServiceDto = exports.ShoppingCartInfoCharacteristicDto = exports.ShoppingCartInfoProductDto = exports.ShoppingCartBundleInfoDto = exports.ShoppingCartBundlesInfoDto = exports.ShoppingCartInfoDto = exports.
|
|
12
|
+
exports.ShoppingCartInfoServiceCharacteristicDto = exports.ShoppingCartInfoServiceDto = exports.ShoppingCartInfoCharacteristicDto = exports.ShoppingCartInfoProductDto = exports.ShoppingCartBundleInfoDto = exports.ShoppingCartBundlesInfoDto = exports.ShoppingCartInfoDto = exports.ShoppingCartConfigurationAddressResDtoBuilder = exports.ShoppingCartConfigurationAddressResDto = exports.ShoppingCartConfigurationProductResDto = exports.ShoppingCartConfigurationProductBssResDto = exports.ShoppingCartConfigurationChargeResDto = exports.ShoppingCartConfigurationCharacteristicResDto = exports.ShoppingCartConfigurationPriceResDto = exports.ShoppingCartConfigurationCharacteristicGroupResDto = exports.ShoppingCartConfigurationFeaturesResDto = exports.ShoppingCartBundlesConfigurationResDto = exports.ShoppingCartConfigurationResDto = exports.ShoppingCartFeaturesResDto = exports.ShoppingCartConfigurationBundleResDto = exports.ShoppingCartConfigurationBundleBssResDto = exports.ShoppingCartBundlesConfigurationBssResDto = exports.ShoppingCartConfigurationBssResDto = exports.ShoppingCartAvailableProductWithIdAndInfoResDto = exports.ShoppingCartAvailableProductWithIdResDto = exports.ShoppingCartAvailableProductBundleProductsDto = exports.ShoppingCartAvailableProductBundleProductsMobileDto = exports.ShoppingCartAvailableProductBundleProductsMobileProductDto = exports.ShoppingCartAvailableProductBundleProductsFiberDto = exports.ShoppingCartAvailableProductBundleProductsFiberProductDto = exports.ShoppingCartAvailableProductBundleProductsFiberProductBandwidthDto = exports.ShoppingCartAvailableProductInfoDto = exports.ShoppingCartAvailableProductResDto = void 0;
|
|
13
13
|
const openapi = require("@nestjs/swagger");
|
|
14
14
|
const helpers_1 = require("../../../helpers/helpers");
|
|
15
15
|
const class_transformer_1 = require("class-transformer");
|
|
@@ -148,28 +148,16 @@ class ShoppingCartConfigurationChargeResDto {
|
|
|
148
148
|
exports.ShoppingCartConfigurationChargeResDto = ShoppingCartConfigurationChargeResDto;
|
|
149
149
|
class ShoppingCartConfigurationProductBssResDto {
|
|
150
150
|
static _OPENAPI_METADATA_FACTORY() {
|
|
151
|
-
return { id: { required: true, type: () => String }, name: { required: true, type: () => String }, action: { required: false, enum: require("../../../../bss/constants/bss.constants").ShoppingCartProductAction }, displayName: { required: true, type: () => String }, displayDescription: { required: true, type: () => String }, type: { required: true, enum: require("../../../constants/common.constants").ShoppingCartProductType }, enabled: { required: true, type: () => Boolean }, characteristicGroups: { required: false, type: () => [require("./other.entity").ShoppingCartConfigurationCharacteristicGroupResDto] }, characteristics: { required: true, type: () => [require("./other.entity").ShoppingCartConfigurationCharacteristicResDto] }, serviceSpecification: { required: false, type: () => [require("
|
|
151
|
+
return { id: { required: true, type: () => String }, name: { required: true, type: () => String }, action: { required: false, enum: require("../../../../bss/constants/bss.constants").ShoppingCartProductAction }, displayName: { required: true, type: () => String }, displayDescription: { required: true, type: () => String }, type: { required: true, enum: require("../../../constants/common.constants").ShoppingCartProductType }, enabled: { required: true, type: () => Boolean }, characteristicGroups: { required: false, type: () => [require("./other.entity").ShoppingCartConfigurationCharacteristicGroupResDto] }, characteristics: { required: true, type: () => [require("./other.entity").ShoppingCartConfigurationCharacteristicResDto] }, serviceSpecification: { required: false, type: () => [require("../../../../bss/shopping-cart/shopping-cart-configuration.entity").ShoppingCartConfigurationServiceSpecificationCharacteristicDto] }, serviceCharacteristicName: { required: false, type: () => String }, serviceCharacteristicValue: { required: false, type: () => Object }, serviceParameters: { required: false, type: () => require("../../../../bss/bearingpoint/shopping-cart/shopping-cart-parameters.entity").ShoppingCartEntityParametersDto }, parameters: { required: false, type: () => require("../../../../bss/bearingpoint/shopping-cart/shopping-cart-parameters.entity").ShoppingCartParametersDto } };
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
154
|
exports.ShoppingCartConfigurationProductBssResDto = ShoppingCartConfigurationProductBssResDto;
|
|
155
155
|
class ShoppingCartConfigurationProductResDto {
|
|
156
156
|
static _OPENAPI_METADATA_FACTORY() {
|
|
157
|
-
return { id: { required: true, type: () => String }, name: { required: true, type: () => String }, action: { required: false, enum: require("../../../../bss/constants/bss.constants").ShoppingCartProductAction }, displayName: { required: true, type: () => String }, displayDescription: { required: true, type: () => String }, type: { required: true, enum: require("../../../constants/common.constants").ShoppingCartProductType }, enabled: { required: true, type: () => Boolean }, characteristicGroups: { required: false, type: () => [require("./other.entity").ShoppingCartConfigurationCharacteristicGroupResDto] }, characteristics: { required: true, type: () => [require("./other.entity").ShoppingCartConfigurationCharacteristicResDto] }, serviceSpecification: { required: false, type: () => [require("
|
|
157
|
+
return { id: { required: true, type: () => String }, name: { required: true, type: () => String }, action: { required: false, enum: require("../../../../bss/constants/bss.constants").ShoppingCartProductAction }, displayName: { required: true, type: () => String }, displayDescription: { required: true, type: () => String }, type: { required: true, enum: require("../../../constants/common.constants").ShoppingCartProductType }, enabled: { required: true, type: () => Boolean }, characteristicGroups: { required: false, type: () => [require("./other.entity").ShoppingCartConfigurationCharacteristicGroupResDto] }, characteristics: { required: true, type: () => [require("./other.entity").ShoppingCartConfigurationCharacteristicResDto] }, serviceSpecification: { required: false, type: () => [require("../../../../bss/shopping-cart/shopping-cart-configuration.entity").ExtendedShoppingCartConfigurationServiceSpecificationCharacteristicDto] }, serviceCharacteristicName: { required: false, type: () => String }, serviceCharacteristicValue: { required: false, type: () => Object }, parameters: { required: false, type: () => require("../../../../bss/bearingpoint/shopping-cart/shopping-cart-parameters.entity").ShoppingCartParametersDto } };
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
160
|
exports.ShoppingCartConfigurationProductResDto = ShoppingCartConfigurationProductResDto;
|
|
161
|
-
class ShoppingCartConfigurationServiceSpecificationItemBssResDto {
|
|
162
|
-
static _OPENAPI_METADATA_FACTORY() {
|
|
163
|
-
return { name: { required: true, type: () => String }, displayName: { required: true, type: () => String }, type: { required: true, enum: require("../../../../bss/constants/bp.constants").ServiceSpecificationType }, required: { required: true, type: () => Boolean }, enabled: { required: true, type: () => Boolean }, included: { required: true, type: () => Boolean }, value: { required: false, type: () => Object }, values: { required: false, type: () => [require("./other.entity").ShoppingCartConfigurationServiceValueResDto] } };
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
exports.ShoppingCartConfigurationServiceSpecificationItemBssResDto = ShoppingCartConfigurationServiceSpecificationItemBssResDto;
|
|
167
|
-
class ShoppingCartConfigurationServiceSpecificationItemResDto {
|
|
168
|
-
static _OPENAPI_METADATA_FACTORY() {
|
|
169
|
-
return { name: { required: true, type: () => String }, displayName: { required: true, type: () => String }, type: { required: true, enum: require("../../../../bss/constants/bp.constants").ServiceSpecificationType }, required: { required: true, type: () => Boolean }, enabled: { required: true, type: () => Boolean }, group: { required: true, type: () => String }, hidden: { required: true, type: () => Boolean }, value: { required: false, type: () => Object }, values: { required: false, type: () => [require("./other.entity").ShoppingCartConfigurationServiceValueResDto] } };
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
exports.ShoppingCartConfigurationServiceSpecificationItemResDto = ShoppingCartConfigurationServiceSpecificationItemResDto;
|
|
173
161
|
class ShoppingCartConfigurationAddressResDto {
|
|
174
162
|
constructor() {
|
|
175
163
|
this.block = '';
|
|
@@ -256,12 +244,6 @@ class ShoppingCartConfigurationAddressResDtoBuilder extends helpers_1.Builder {
|
|
|
256
244
|
}
|
|
257
245
|
}
|
|
258
246
|
exports.ShoppingCartConfigurationAddressResDtoBuilder = ShoppingCartConfigurationAddressResDtoBuilder;
|
|
259
|
-
class ShoppingCartConfigurationServiceValueResDto {
|
|
260
|
-
static _OPENAPI_METADATA_FACTORY() {
|
|
261
|
-
return { name: { required: true, type: () => String }, displayName: { required: true, type: () => String } };
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
exports.ShoppingCartConfigurationServiceValueResDto = ShoppingCartConfigurationServiceValueResDto;
|
|
265
247
|
class ShoppingCartInfoDto {
|
|
266
248
|
static _OPENAPI_METADATA_FACTORY() {
|
|
267
249
|
return { name: { required: true, type: () => String }, internalName: { required: true, type: () => String }, billText: { required: true, type: () => String }, products: { required: true, type: () => [require("./other.entity").ShoppingCartInfoProductDto] }, characteristics: { required: true, type: () => [require("./other.entity").ShoppingCartInfoCharacteristicDto] }, parameters: { required: false, type: () => require("../../../../bss/bearingpoint/shopping-cart/shopping-cart-parameters.entity").ShoppingCartParametersDto } };
|
|
@@ -232,4 +232,20 @@ export declare const SftpError: {
|
|
|
232
232
|
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
|
233
233
|
stackTraceLimit: number;
|
|
234
234
|
};
|
|
235
|
+
export declare const JiraError: {
|
|
236
|
+
new (errorArgs: ErrorArgs): {
|
|
237
|
+
code: string;
|
|
238
|
+
source: MicroserviceType;
|
|
239
|
+
statusCode?: number;
|
|
240
|
+
parameters?: ErrorParameters;
|
|
241
|
+
superMessage: string;
|
|
242
|
+
messages?: MessagePayloadDto[];
|
|
243
|
+
name: string;
|
|
244
|
+
message: string;
|
|
245
|
+
stack?: string;
|
|
246
|
+
};
|
|
247
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
248
|
+
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
|
249
|
+
stackTraceLimit: number;
|
|
250
|
+
};
|
|
235
251
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SftpError = exports.SendGridError = exports.OtrsError = exports.MsgMediaError = exports.FtpError = exports.DigitelError = exports.GrupoAireError = exports.AmsError = exports.RetailBatchHubError = exports.DigitelBridgeError = exports.DbBridgeError = exports.BssBridgeError = exports.ArsEdgeError = exports.AcsEdgeError = void 0;
|
|
3
|
+
exports.JiraError = exports.SftpError = exports.SendGridError = exports.OtrsError = exports.MsgMediaError = exports.FtpError = exports.DigitelError = exports.GrupoAireError = exports.AmsError = exports.RetailBatchHubError = exports.DigitelBridgeError = exports.DbBridgeError = exports.BssBridgeError = 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");
|
|
@@ -61,3 +61,4 @@ exports.MsgMediaError = createErrorFactory({ name: 'MsgMediaError', source: cons
|
|
|
61
61
|
exports.OtrsError = createErrorFactory({ name: 'OtrsError', source: constants_1.MicroserviceType.OTRS });
|
|
62
62
|
exports.SendGridError = createErrorFactory({ name: 'SendGridError', source: constants_1.MicroserviceType.SENDGRID });
|
|
63
63
|
exports.SftpError = createErrorFactory({ name: 'SftpError', source: constants_1.MicroserviceType.SFTP });
|
|
64
|
+
exports.JiraError = createErrorFactory({ name: 'JiraError', source: constants_1.MicroserviceType.JIRA });
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export declare class CustomerJiraTicketChangelogDto {
|
|
2
|
+
author: string;
|
|
3
|
+
createdAt: Date;
|
|
4
|
+
field: string;
|
|
5
|
+
fromValueString: string;
|
|
6
|
+
toValueString: string;
|
|
7
|
+
}
|
|
8
|
+
export declare class CustomerJiraTicketCommentDto {
|
|
9
|
+
author: string;
|
|
10
|
+
createdAt: Date;
|
|
11
|
+
description: string;
|
|
12
|
+
}
|
|
13
|
+
export declare class CustomerJiraTicketAppointmentDto {
|
|
14
|
+
code: string;
|
|
15
|
+
madeOn: Date;
|
|
16
|
+
t4wStatus: string;
|
|
17
|
+
description: string;
|
|
18
|
+
solution: string;
|
|
19
|
+
changelog: CustomerJiraTicketChangelogDto[];
|
|
20
|
+
}
|
|
21
|
+
export declare class CustomerJiraTicketDto {
|
|
22
|
+
code: string;
|
|
23
|
+
type: string;
|
|
24
|
+
sid: string;
|
|
25
|
+
status: string;
|
|
26
|
+
product: string;
|
|
27
|
+
schamanDiagnosis: string;
|
|
28
|
+
description: string;
|
|
29
|
+
appointment?: CustomerJiraTicketAppointmentDto;
|
|
30
|
+
changelog: CustomerJiraTicketChangelogDto[];
|
|
31
|
+
comments: CustomerJiraTicketCommentDto[];
|
|
32
|
+
createdAt: Date;
|
|
33
|
+
resolvedAt: Date;
|
|
34
|
+
resolvedLabel: string;
|
|
35
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CustomerJiraTicketDto = exports.CustomerJiraTicketAppointmentDto = exports.CustomerJiraTicketCommentDto = exports.CustomerJiraTicketChangelogDto = void 0;
|
|
4
|
+
const openapi = require("@nestjs/swagger");
|
|
5
|
+
class CustomerJiraTicketChangelogDto {
|
|
6
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
7
|
+
return { author: { required: true, type: () => String }, createdAt: { required: true, type: () => Date }, field: { required: true, type: () => String }, fromValueString: { required: true, type: () => String }, toValueString: { required: true, type: () => String } };
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
exports.CustomerJiraTicketChangelogDto = CustomerJiraTicketChangelogDto;
|
|
11
|
+
class CustomerJiraTicketCommentDto {
|
|
12
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
13
|
+
return { author: { required: true, type: () => String }, createdAt: { required: true, type: () => Date }, description: { required: true, type: () => String } };
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.CustomerJiraTicketCommentDto = CustomerJiraTicketCommentDto;
|
|
17
|
+
class CustomerJiraTicketAppointmentDto {
|
|
18
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
19
|
+
return { code: { required: true, type: () => String }, madeOn: { required: true, type: () => Date }, t4wStatus: { required: true, type: () => String }, description: { required: true, type: () => String }, solution: { required: true, type: () => String }, changelog: { required: true, type: () => [require("./customer-ticket.entity").CustomerJiraTicketChangelogDto] } };
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.CustomerJiraTicketAppointmentDto = CustomerJiraTicketAppointmentDto;
|
|
23
|
+
class CustomerJiraTicketDto {
|
|
24
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
25
|
+
return { code: { required: true, type: () => String }, type: { required: true, type: () => String }, sid: { required: true, type: () => String }, status: { required: true, type: () => String }, product: { required: true, type: () => String }, schamanDiagnosis: { required: true, type: () => String }, description: { required: true, type: () => String }, appointment: { required: false, type: () => require("./customer-ticket.entity").CustomerJiraTicketAppointmentDto }, changelog: { required: true, type: () => [require("./customer-ticket.entity").CustomerJiraTicketChangelogDto] }, comments: { required: true, type: () => [require("./customer-ticket.entity").CustomerJiraTicketCommentDto] }, createdAt: { required: true, type: () => Date }, resolvedAt: { required: true, type: () => Date }, resolvedLabel: { required: true, type: () => String } };
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
exports.CustomerJiraTicketDto = CustomerJiraTicketDto;
|
|
@@ -41,3 +41,8 @@ export declare const CustomerAccountAdditionalContactContactMediumType: Pick<{
|
|
|
41
41
|
readonly POSTAL_ADDRESS: "POSTAL_ADDRESS";
|
|
42
42
|
}, "MOBILE" | "FIXED_LINE" | "EMAIL">;
|
|
43
43
|
export type CustomerAccountAdditionalContactContactMediumType = (typeof CustomerAccountAdditionalContactContactMediumType)[keyof typeof CustomerAccountAdditionalContactContactMediumType];
|
|
44
|
+
export declare enum CustomerJiraTicketStatusType {
|
|
45
|
+
ALL = "ALL",
|
|
46
|
+
IN_PROGRESS = "IN_PROGRESS",
|
|
47
|
+
COMPLETED = "COMPLETED"
|
|
48
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CustomerAccountAdditionalContactContactMediumType = exports.CustomerAccountContactMediumType = exports.CustomerAccountAdditionalContactRelatedPartyRoleType = exports.CustomerAccountRelatedPartyRoleType = exports.CustomerProductInstanceAction = void 0;
|
|
3
|
+
exports.CustomerJiraTicketStatusType = exports.CustomerAccountAdditionalContactContactMediumType = exports.CustomerAccountContactMediumType = exports.CustomerAccountAdditionalContactRelatedPartyRoleType = exports.CustomerAccountRelatedPartyRoleType = exports.CustomerProductInstanceAction = void 0;
|
|
4
4
|
const helpers_1 = require("../../common/helpers/helpers");
|
|
5
5
|
var CustomerProductInstanceAction;
|
|
6
6
|
(function (CustomerProductInstanceAction) {
|
|
@@ -34,3 +34,9 @@ exports.CustomerAccountContactMediumType = {
|
|
|
34
34
|
POSTAL_ADDRESS: 'POSTAL_ADDRESS'
|
|
35
35
|
};
|
|
36
36
|
exports.CustomerAccountAdditionalContactContactMediumType = (0, helpers_1.pickConst)(exports.CustomerAccountContactMediumType, ['EMAIL', 'FIXED_LINE', 'MOBILE']);
|
|
37
|
+
var CustomerJiraTicketStatusType;
|
|
38
|
+
(function (CustomerJiraTicketStatusType) {
|
|
39
|
+
CustomerJiraTicketStatusType["ALL"] = "ALL";
|
|
40
|
+
CustomerJiraTicketStatusType["IN_PROGRESS"] = "IN_PROGRESS";
|
|
41
|
+
CustomerJiraTicketStatusType["COMPLETED"] = "COMPLETED";
|
|
42
|
+
})(CustomerJiraTicketStatusType || (exports.CustomerJiraTicketStatusType = CustomerJiraTicketStatusType = {}));
|
|
@@ -6,6 +6,7 @@ import { PaginationQueryDto } from '../../common/common.entity';
|
|
|
6
6
|
import { CustomerType } from '../../common/constants';
|
|
7
7
|
import { CustomerAccountIdentificationDto } from './customer-account.entitty';
|
|
8
8
|
import { CustomerFinancialBalancesDto } from '../../bss/customer';
|
|
9
|
+
import { CustomerJiraTicketStatusType } from './customer.constants';
|
|
9
10
|
export declare class CustomerBalancesAndDebtDto {
|
|
10
11
|
balances: CustomerFinancialBalancesDto;
|
|
11
12
|
debt: boolean;
|
|
@@ -31,6 +32,9 @@ export declare class CustomerBillsFiltersDto extends CustomerNotesFiltersDto {
|
|
|
31
32
|
}
|
|
32
33
|
export declare class CustomerFinanceFiltersDto extends PaginationQueryDto {
|
|
33
34
|
}
|
|
35
|
+
export declare class CustomerJiraTicketsFiltersDto extends PaginationQueryDto {
|
|
36
|
+
status?: CustomerJiraTicketStatusType;
|
|
37
|
+
}
|
|
34
38
|
export declare class DashboardCustomerDto {
|
|
35
39
|
customerId: string;
|
|
36
40
|
customerType?: CustomerType;
|
|
@@ -9,13 +9,14 @@ 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.CreateCustomerCharacteristicReqDto = exports.CustomerDashboardFiltersDto = exports.CustomerFinanceDto = exports.CustomerTaskDto = exports.CustomerOrderDto = exports.CustomerTaskAdditionalFieldsDto = exports.DashboardCustomerCsvDto = exports.DashboardCustomerDto = exports.CustomerFinanceFiltersDto = exports.CustomerBillsFiltersDto = exports.CustomerOrdersFiltersDto = exports.CustomerTasksFiltersDto = exports.CustomerNotesFiltersDto = exports.DashboardCustomersFiltersDto = exports.CustomerBalancesAndDebtDto = void 0;
|
|
12
|
+
exports.CreateCustomerCharacteristicReqDto = exports.CustomerDashboardFiltersDto = exports.CustomerFinanceDto = exports.CustomerTaskDto = exports.CustomerOrderDto = exports.CustomerTaskAdditionalFieldsDto = exports.DashboardCustomerCsvDto = exports.DashboardCustomerDto = exports.CustomerJiraTicketsFiltersDto = exports.CustomerFinanceFiltersDto = exports.CustomerBillsFiltersDto = exports.CustomerOrdersFiltersDto = exports.CustomerTasksFiltersDto = exports.CustomerNotesFiltersDto = exports.DashboardCustomersFiltersDto = exports.CustomerBalancesAndDebtDto = void 0;
|
|
13
13
|
const openapi = require("@nestjs/swagger");
|
|
14
14
|
const task_1 = require("../../bss/task");
|
|
15
15
|
const common_entity_1 = require("../../common/common.entity");
|
|
16
16
|
const swagger_1 = require("@nestjs/swagger");
|
|
17
17
|
const _validators_1 = require("../../validators/index");
|
|
18
18
|
const class_validator_1 = require("class-validator");
|
|
19
|
+
const customer_constants_1 = require("./customer.constants");
|
|
19
20
|
const SEARCH_FIELD_ALLOWED_CHARS = '[a-zA-Z0-9\\u00C0-\\u024F \\-+_/.,`´&]';
|
|
20
21
|
const SEARCH_FIELD_REGEX = new RegExp(`^(${SEARCH_FIELD_ALLOWED_CHARS}{3,}\\*?|${SEARCH_FIELD_ALLOWED_CHARS}+\\*${SEARCH_FIELD_ALLOWED_CHARS}{2,}|${SEARCH_FIELD_ALLOWED_CHARS}{2}\\*${SEARCH_FIELD_ALLOWED_CHARS}{1,})$`);
|
|
21
22
|
class CustomerBalancesAndDebtDto {
|
|
@@ -131,6 +132,17 @@ class CustomerFinanceFiltersDto extends common_entity_1.PaginationQueryDto {
|
|
|
131
132
|
}
|
|
132
133
|
}
|
|
133
134
|
exports.CustomerFinanceFiltersDto = CustomerFinanceFiltersDto;
|
|
135
|
+
class CustomerJiraTicketsFiltersDto extends common_entity_1.PaginationQueryDto {
|
|
136
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
137
|
+
return { status: { required: false, enum: require("./customer.constants").CustomerJiraTicketStatusType } };
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
exports.CustomerJiraTicketsFiltersDto = CustomerJiraTicketsFiltersDto;
|
|
141
|
+
__decorate([
|
|
142
|
+
(0, class_validator_1.IsEnum)(customer_constants_1.CustomerJiraTicketStatusType),
|
|
143
|
+
(0, class_validator_1.IsOptional)(),
|
|
144
|
+
__metadata("design:type", String)
|
|
145
|
+
], CustomerJiraTicketsFiltersDto.prototype, "status", void 0);
|
|
134
146
|
class DashboardCustomerDto {
|
|
135
147
|
static _OPENAPI_METADATA_FACTORY() {
|
|
136
148
|
return { customerId: { required: true, type: () => String }, customerType: { required: false, enum: require("../../common/constants/common.constants").CustomerType }, state: { required: true, enum: require("../../bss/constants/bp.constants").BpAccountStateType }, firstName: { required: false, type: () => String }, lastName: { required: false, type: () => String }, legalName: { required: false, type: () => String }, tradingName: { required: false, type: () => String }, identification: { required: false, type: () => require("./customer-account.entitty").CustomerAccountIdentificationDto }, mobileNumber: { required: false, type: () => String }, voipNumber: { required: false, type: () => String }, email: { required: false, type: () => String }, address: { required: false, type: () => String } };
|
|
@@ -7,6 +7,7 @@ export * from './customer-billing-payment-method.entity';
|
|
|
7
7
|
export * from './customer-billing-account.entity';
|
|
8
8
|
export * from './customer-product.constants';
|
|
9
9
|
export * from './customer-product.entity';
|
|
10
|
+
export * from './customer-ticket.entity';
|
|
10
11
|
export * from './customer.constants';
|
|
11
12
|
export * from './customer.entity';
|
|
12
13
|
export * from './customer.process.entity';
|
|
@@ -23,6 +23,7 @@ __exportStar(require("./customer-billing-payment-method.entity"), exports);
|
|
|
23
23
|
__exportStar(require("./customer-billing-account.entity"), exports);
|
|
24
24
|
__exportStar(require("./customer-product.constants"), exports);
|
|
25
25
|
__exportStar(require("./customer-product.entity"), exports);
|
|
26
|
+
__exportStar(require("./customer-ticket.entity"), exports);
|
|
26
27
|
__exportStar(require("./customer.constants"), exports);
|
|
27
28
|
__exportStar(require("./customer.entity"), exports);
|
|
28
29
|
__exportStar(require("./customer.process.entity"), exports);
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { CustomerType } from '../../common/constants';
|
|
2
|
-
import { ShoppingCartConfigurationCharacteristicResDto,
|
|
2
|
+
import { ShoppingCartConfigurationCharacteristicResDto, UpdateShoppingCartCharacteristicDto } from '../../common/edge-bss';
|
|
3
3
|
import { ShoppingCartItemAction } from '../../bss/constants';
|
|
4
4
|
import { ShoppingCartParametersDto, ShoppingCartProductCharacteristicDto, ShoppingCartProductDto, ShoppingCartProductOfferingDto } from '../../bss/bearingpoint';
|
|
5
|
+
import { ExtendedShoppingCartConfigurationServiceSpecificationCharacteristicDto } from '../../bss/shopping-cart';
|
|
5
6
|
export declare class CreateShoppingCartFromApartmentIdAndCustomerTypeDto {
|
|
6
7
|
apartmentId: string;
|
|
7
8
|
customerType: CustomerType;
|
|
@@ -32,5 +33,5 @@ export declare class UpdateShoppingCartContractsDto {
|
|
|
32
33
|
}
|
|
33
34
|
export interface ShoppingCartServiceSpecificationWithCharacteristics {
|
|
34
35
|
characteristics?: ShoppingCartConfigurationCharacteristicResDto[];
|
|
35
|
-
serviceSpecification:
|
|
36
|
+
serviceSpecification: ExtendedShoppingCartConfigurationServiceSpecificationCharacteristicDto[];
|
|
36
37
|
}
|