adamo-types 1.2.109-sit → 1.2.110-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/{common/edge-ams/res/index.entity.d.ts → ams/ams.entity.d.ts} +14 -22
- package/dist/ams/ams.entity.js +3 -0
- package/dist/ams/index.d.ts +1 -1
- package/dist/ams/index.js +1 -1
- package/dist/bss/constants/bss.constants.js +4 -0
- package/dist/common/constants/error.constants.d.ts +5 -0
- package/dist/common/constants/error.constants.js +9 -4
- package/dist/database/leads-data.entity.d.ts +0 -79
- package/dist/database/leads-data.entity.js +1 -7
- package/dist/{ams/res/ams.entity.d.ts → sys03/address/address.entity.d.ts} +35 -5
- package/dist/sys03/address/address.entity.js +105 -0
- package/dist/sys03/address/index.d.ts +1 -2
- package/dist/sys03/address/index.js +1 -2
- package/dist/sys03/customer/customer-product.entity.d.ts +2 -2
- package/dist/sys03/customer/customer-product.entity.js +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/ams/req/ams.entity.d.ts +0 -0
- package/dist/ams/req/ams.entity.js +0 -1
- package/dist/ams/res/ams.entity.js +0 -28
- package/dist/common/edge-ams/index.d.ts +0 -1
- package/dist/common/edge-ams/index.js +0 -17
- package/dist/common/edge-ams/req/index.entity.d.ts +0 -0
- package/dist/common/edge-ams/req/index.entity.js +0 -1
- package/dist/common/edge-ams/res/index.entity.js +0 -40
- package/dist/sys03/address/req/address.entity.d.ts +0 -18
- package/dist/sys03/address/req/address.entity.js +0 -46
- package/dist/sys03/address/res/address.entity.d.ts +0 -31
- package/dist/sys03/address/res/address.entity.js +0 -15
|
@@ -1,18 +1,12 @@
|
|
|
1
|
-
export
|
|
2
|
-
id: number;
|
|
3
|
-
address: string;
|
|
4
|
-
status: string;
|
|
5
|
-
sales_area: string;
|
|
6
|
-
lng: string;
|
|
7
|
-
lat: string;
|
|
8
|
-
}
|
|
9
|
-
export declare class FetchAddressByApartmentIdAmsRes {
|
|
1
|
+
export interface AmsApartment {
|
|
10
2
|
apartment_id: string;
|
|
11
3
|
street_address_id: string;
|
|
12
4
|
sales_area_id: number;
|
|
13
5
|
sales_area_name: string;
|
|
14
6
|
project_id: number;
|
|
15
7
|
project_code: string;
|
|
8
|
+
main_partner: string;
|
|
9
|
+
notes: string;
|
|
16
10
|
competition: string;
|
|
17
11
|
serviceable_status: string;
|
|
18
12
|
serviceable: string;
|
|
@@ -33,9 +27,10 @@ export declare class FetchAddressByApartmentIdAmsRes {
|
|
|
33
27
|
door: string;
|
|
34
28
|
serviceable_age: number;
|
|
35
29
|
network: string;
|
|
36
|
-
fiberhood_status
|
|
30
|
+
fiberhood_status?: string;
|
|
31
|
+
maintenance_partner: string[];
|
|
37
32
|
}
|
|
38
|
-
export
|
|
33
|
+
export interface AmsAddress {
|
|
39
34
|
id: string;
|
|
40
35
|
address: string;
|
|
41
36
|
postal_code: string;
|
|
@@ -48,16 +43,19 @@ export declare class FetchAddressByIdAmsRes {
|
|
|
48
43
|
note: string;
|
|
49
44
|
zone: string;
|
|
50
45
|
servicable: string;
|
|
46
|
+
serviceable_date: string;
|
|
51
47
|
serviceable_age: number;
|
|
52
48
|
lng: string;
|
|
53
49
|
lat: string;
|
|
50
|
+
gescal24: string;
|
|
54
51
|
external_ok: boolean;
|
|
55
52
|
external_msg: string;
|
|
56
53
|
external_email: string;
|
|
57
54
|
can_order: boolean;
|
|
58
|
-
|
|
55
|
+
planned_deploy_date?: string;
|
|
56
|
+
apartments: AmsAddressApartment[];
|
|
59
57
|
}
|
|
60
|
-
export
|
|
58
|
+
export interface AmsAddressApartment {
|
|
61
59
|
id: string;
|
|
62
60
|
escalera: string;
|
|
63
61
|
piso: string;
|
|
@@ -68,7 +66,7 @@ export declare class Apartment {
|
|
|
68
66
|
serviceable_date: string;
|
|
69
67
|
serviceable_age: number;
|
|
70
68
|
}
|
|
71
|
-
export
|
|
69
|
+
export interface AmsAreaAddress {
|
|
72
70
|
id: string;
|
|
73
71
|
address: string;
|
|
74
72
|
status: string;
|
|
@@ -77,14 +75,8 @@ export declare class FetchAddressByAreaAmsRes {
|
|
|
77
75
|
priority_sales_area: string;
|
|
78
76
|
lng: string;
|
|
79
77
|
lat: string;
|
|
78
|
+
gescal24: string;
|
|
79
|
+
serviceable_date: string;
|
|
80
80
|
serviceable_age: number;
|
|
81
81
|
distance?: number;
|
|
82
82
|
}
|
|
83
|
-
export declare class FetchAddressNotFoundRes {
|
|
84
|
-
timestamp: Date;
|
|
85
|
-
status: number;
|
|
86
|
-
error: string;
|
|
87
|
-
code: string;
|
|
88
|
-
message: string;
|
|
89
|
-
path: string;
|
|
90
|
-
}
|
package/dist/ams/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './
|
|
1
|
+
export * from './ams.entity';
|
package/dist/ams/index.js
CHANGED
|
@@ -14,4 +14,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./
|
|
17
|
+
__exportStar(require("./ams.entity"), exports);
|
|
@@ -12,6 +12,10 @@ exports.BpMessageToI18n = [
|
|
|
12
12
|
{
|
|
13
13
|
regexp: /La\(s\) oferta\(s\) .* no figuran\(n\) +en la lista de ofertas disponibles en este momento\. Esto puede deberse a que no están asignadas a los canales de ventas proporcionados o a que no existen\./i,
|
|
14
14
|
i18n: constants_1.E_BUNDLE_NOT_AVAILABLE_IN_CHANNEL
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
regexp: /No puede cambiar la característica .*, ya que está marcada como no modificable\./i,
|
|
18
|
+
i18n: constants_1.E_CHARACTERISTIC_NOT_CHANGEABLE
|
|
15
19
|
}
|
|
16
20
|
];
|
|
17
21
|
var BssChargeType;
|
|
@@ -18,7 +18,10 @@ export declare const E_SAVE_SHOPPING_CART = "E_SAVE_SHOPPING_CART";
|
|
|
18
18
|
export declare const E_PERSIST_SHOPPING_CART = "E_PERSIST_SHOPPING_CART";
|
|
19
19
|
export declare const E_BUNDLE_CONFIGURATION_ATTRIBUTE_MISMATCHING = "E_BUNDLE_CONFIGURATION_ATTRIBUTE_MISMATCHING";
|
|
20
20
|
export declare const E_SHOPPING_CART_NOT_FOUND = "E_SHOPPING_CART_NOT_FOUND";
|
|
21
|
+
export declare const E_ADDRESS_NOT_FOUND = "E_ADDRESS_NOT_FOUND";
|
|
21
22
|
export declare const E_APARTMENT_NOT_FOUND = "E_APARTMENT_NOT_FOUND";
|
|
23
|
+
export declare const E_ZIP_ADDRESSES_NOT_FOUND = "E_ZIP_ADDRESSES_NOT_FOUND";
|
|
24
|
+
export declare const E_AREA_ADDRESSES_NOT_FOUND = "E_AREA_ADDRESSES_NOT_FOUND";
|
|
22
25
|
export declare const E_EMPTY_SHOPPING_CART = "E_EMPTY_SHOPPING_CART";
|
|
23
26
|
export declare const E_UPDATE_SHOPPING_CART_EXTRAS = "E_UPDATE_SHOPPING_CART_EXTRAS";
|
|
24
27
|
export declare const E_BP_INTERNAL_SERVER_ERROR = "E_BP_INTERNAL_SERVER_ERROR";
|
|
@@ -113,6 +116,7 @@ export declare const E_FETCH_CUSTOMER_ACCOUNT_FINANCE_BALANCES = "E_FETCH_CUSTOM
|
|
|
113
116
|
export declare const E_UNHANDLED_KEY = "E_UNHANDLED_KEY";
|
|
114
117
|
export declare const E_DUPLICATE_ENTRY = "E_DUPLICATE_ENTRY";
|
|
115
118
|
export declare const E_UPDATE_PRODUCT_CATALOG_CACHE = "E_UPDATE_PRODUCT_CATALOG_CACHE";
|
|
119
|
+
export declare const E_ADDRESS_BREACHES_RETAIL_EXCLUSIVITY_RULES = "E_ADDRESS_BREACHES_RETAIL_EXCLUSIVITY_RULES";
|
|
116
120
|
export declare const E_APARTMENT_BREACHES_RETAIL_EXCLUSIVITY_RULES = "E_APARTMENT_BREACHES_RETAIL_EXCLUSIVITY_RULES";
|
|
117
121
|
export declare const E_PRODUCT_SERVICE_MISSING = "E_PRODUCT_SERVICE_MISSING";
|
|
118
122
|
export declare const E_APPLY_CHARGE = "E_APPLY_CHARGE";
|
|
@@ -168,5 +172,6 @@ export declare const E_CUSTOMER_NEW_EXTRAS_PROCESS_OWNER_MISMATCHING = "E_CUSTOM
|
|
|
168
172
|
export declare const E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_WITHOUT_STEPS = "E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_WITHOUT_STEPS";
|
|
169
173
|
export declare const E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_UNKNOWN_STEP = "E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_UNKNOWN_STEP";
|
|
170
174
|
export declare const E_BUNDLE_NOT_AVAILABLE_IN_CHANNEL = "E_BUNDLE_NOT_AVAILABLE_IN_CHANNEL";
|
|
175
|
+
export declare const E_CHARACTERISTIC_NOT_CHANGEABLE = "E_CHARACTERISTIC_NOT_CHANGEABLE";
|
|
171
176
|
export declare const E_CUSTOMER_CHECK_DEBT = "E_CUSTOMER_CHECK_DEBT";
|
|
172
177
|
export declare const E_ORDER_NOT_BELONG_TO_CUSTOMER = "E_ORDER_NOT_BELONG_TO_CUSTOMER";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.E_ORDER_NOT_BELONG_TO_CUSTOMER = exports.E_CUSTOMER_CHECK_DEBT = exports.E_BUNDLE_NOT_AVAILABLE_IN_CHANNEL = exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_UNKNOWN_STEP = exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_WITHOUT_STEPS = exports.E_CUSTOMER_NEW_EXTRAS_PROCESS_OWNER_MISMATCHING = exports.E_CUSTOMER_PRODUCT_TRANSITION_PROCESS_OWNER_MISMATCHING = exports.E_CUSTOMER_PRODUCT_MODIFICATION_PROCESS_OWNER_MISMATCHING = exports.E_REVIEW_CUSTOMER_CHARGES_AND_CREDITS_NEGATIVE_INVOICE = exports.E_REVIEW_CUSTOMER_CHARGES_AND_CREDITS = exports.E_CUSTOMER_WITHOUT_VALID_APARTMENT = exports.E_CUSTOMER_HAS_ALL_EXTRAS = exports.E_CUSTOMER_NEW_EXTRAS_PROCESS_ALREADY_EXISTS = exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_ALREADY_EXISTS = exports.E_CUSTOMER_PRODUCT_TRANSITION_PROCESS_ALREADY_EXISTS = exports.E_CUSTOMER_PRODUCT_MODIFICATION_PROCESS_ALREADY_EXISTS = exports.E_UNKNOWN_CACHE_KEY = exports.E_FILTER_PRODUCT_BY_PARAMETERS = exports.E_FETCH_CHARGES_AND_CREDITS = exports.E_FETCH_SERVICE_INVENTORY_BY_ID = exports.E_FETCH_PRODUCT_INVENTORY_BY_ID = exports.E_FETCH_CUSTOMER_PRODUCTS = void 0;
|
|
3
|
+
exports.E_UPDATE_CUSTOMER_ACCOUNT = exports.E_CREATE_CUSTOMER_ACCOUNT = exports.E_FETCH_CUSTOMER_ACCOUNT = exports.E_FETCH_ADDRESS = exports.E_CREATE_ADDRESS = exports.E_FIBER_NOT_AVAILABLE_FOR_THIS_NETWORK = exports.E_UPDATE_SHOPPING_CART_CONFIGURATION = exports.E_CIF_VALIDATION = exports.E_NIE_VALIDATION = exports.E_DNI_VALIDATION = exports.E_SET_SHOPPING_CART_PROMOTIONS = exports.E_SET_SHOPPING_CART_CONTRACT = exports.E_FETCH_AVAILABLE_NUMBERS_FROM_POOL = exports.E_PROVINCE_WITHOUT_PREFIXES = exports.E_SERVER = exports.E_CONNECTION_REFUSED = exports.E_VALIDATION = exports.E_BODY_NOT_OBJECT = exports.E_BODY_NOT_ARRAY = exports.E_BODY_NOT_PROVIDED = exports.E_NO_CHANNEL_SELECTED = exports.E_CHANGE_CHANNEL = exports.E_BP = exports.E_BP_INTERNAL_SERVER_ERROR = exports.E_UPDATE_SHOPPING_CART_EXTRAS = exports.E_EMPTY_SHOPPING_CART = exports.E_AREA_ADDRESSES_NOT_FOUND = exports.E_ZIP_ADDRESSES_NOT_FOUND = exports.E_APARTMENT_NOT_FOUND = exports.E_ADDRESS_NOT_FOUND = exports.E_SHOPPING_CART_NOT_FOUND = exports.E_BUNDLE_CONFIGURATION_ATTRIBUTE_MISMATCHING = exports.E_PERSIST_SHOPPING_CART = exports.E_SAVE_SHOPPING_CART = exports.E_CREATE_SHOPPING_CART = exports.E_FETCH_PRODUCT_DEFAULT_SUMMARY = exports.E_FETCH_SHOPPING_CART_TRANSITION_ONLY_MOBILES = exports.E_FETCH_SHOPPING_CART_MODIFICATION = exports.E_FETCH_SHOPPING_CART_CONFIGURATION = exports.E_FETCH_SHOPPING_CART_SUMMARY = exports.E_FETCH_SHOPPING_CART_AVAILABLE_EXTRAS = exports.E_FETCH_SHOPPING_CART_AVAILABLE_PRODUCT = exports.E_FETCH_SHOPPING_CART_AVAILABLE_PRODUCTS = exports.E_FETCH_PRODUCT_OFFERINGS = exports.E_ASSIGN_SALESPERSON = exports.E_ASSIGN_ROLE_TENENT = exports.E_CREATE_USER = exports.E_UPDATE_PASSWORD = exports.E_ASSIGN_CHANNELS = exports.E_LOGIN = void 0;
|
|
4
|
+
exports.E_NOT_FOUND = exports.E_USER_ROLE_UNKNOWN = exports.E_USER_WITHOUT_ROLE = exports.E_RESERVE_NUMBER_FROM_POOL = exports.E_WHOLESALE_APARTMENT_BLACKLISTED = exports.E_USER_SALE_PROCESS_PERMISSION = exports.E_UPDATE_CACHE_RECORD = exports.E_DELETE_CACHE_RECORD = exports.E_UPDATE_PRODUCT_CATALOG = exports.E_DELETE_PRODUCT_CATALOG = exports.E_CREATE_CUSTOMER_ACCOUNT_HISTORY = exports.E_FETCH_ORGANIZATION_PARTY = exports.E_FETCH_INDIVIDUAL_PARTY = exports.E_FETCH_PAYMENT_METHOD = exports.E_FETCH_MANDATE = exports.E_FETCH_BILLING_ACCOUNT = exports.E_FETCH_PRODUCT_INVENTORY = exports.E_FETCH_CUSTOMERS = exports.E_FETCH_ORGANIZATION_PARTIES = exports.E_FETCH_INDIVIDUAL_PARTIES = exports.E_DOWNLOAD_INVOICE = exports.E_FETCH_BILLING_ACCOUNT_DETAILS = exports.E_INVALID_IBAN_ACCOUNT_NUMBER_CONTROL_CODE = exports.E_INVALID_IBAN_MOD = exports.E_INVALID_IBAN_FORMAT = exports.E_INVALID_IBAN_LENGTH = exports.E_INVALID_IBAN_ISO_CODE = exports.E_IBAN_SUPPORTED_COUNTRIES_ARE_REQUIRED = exports.E_IBAN_IS_REQUIRED = exports.E_IBAN_COUNTRY_NOT_SUPPORTED = exports.E_SPAIN_NOT_ALLOWED = exports.E_EMAIL_INVALID_FORMAT = exports.E_PHONE_INVALID_FORMAT = exports.E_PHONE_INVALID_LENGTH = exports.E_VALIDATE_SHOPPING_CART = exports.E_FETCH_CHANNEL_USERS = exports.E_FTP_RENAME = exports.E_FTP_REMOVE = exports.E_FTP_DOWNLOAD = exports.E_FTP_UPLOAD = exports.E_SUBMIT_SHOPPING_CART = exports.E_FETCH_SHOPPING_CART = exports.E_UPDATE_PAYMENT_METHOD = exports.E_CREATE_PAYMENT_METHOD = exports.E_UPDATE_MANDATE = exports.E_CREATE_MANDATE = exports.E_UPDATE_BILLING_ACCOUNT = exports.E_CREATE_BILLING_ACCOUNT = exports.E_UPLOAD_CUSTOMER_ACCOUNT_DOCUMENT = exports.E_CREATE_CUSTOMER_ACCOUNT_NOTE = void 0;
|
|
5
|
+
exports.E_FETCH_CUSTOMER_NOTES = exports.E_FILTERS_REQUIRED = exports.E_SEARCH_CUSTOMERS = exports.E_RESOLVE_TASKS = exports.E_FETCH_TASKS = exports.E_FETCH_TASK_NOTES = exports.E_FETCH_TASK = exports.E_CREATE_TASK = exports.E_DIGITEL_PROCESS_ERROR = exports.E_APPROVAL_DATA_WITHOUT_RESPONSE = exports.E_SALE_PROCESS_PENDING_APPROVAL_UNSOLVED = exports.E_SALE_PROCESS_PENDING_APPROVAL = exports.E_CSV_INVALID_RECORDS = exports.E_CSV_INVALID_RECORD_LENGTH = exports.E_PARSE_CSV = exports.E_PUT_LOOKUP_OPTIONS = exports.E_USER_INACTIVE = exports.E_USER_WITHOUT_TENANTS = exports.E_USER_WITH_EMPTY_WORKGROUP_PERMISSIONS = exports.E_USER_WITHOUT_WORKGROUPS = exports.E_USER_WITHOUT_AUTH = exports.E_BI_SALES_EXTRACTION = exports.E_CUSTOMER_WITHOUT_RELATED_PARTY = exports.E_FETCH_PRODUCT_ORDER = exports.E_FETCH_PRODUCT_ORDERS = exports.E_SALE_PROCESS_NO_IDENTIFICATION = exports.E_SALE_PROCESS_DOCUMENTS_REQUIRED = exports.E_SALE_PROCESS_WITHOUT_SHOPPING_CART = exports.E_APPLY_CHARGE = exports.E_PRODUCT_SERVICE_MISSING = exports.E_APARTMENT_BREACHES_RETAIL_EXCLUSIVITY_RULES = exports.E_ADDRESS_BREACHES_RETAIL_EXCLUSIVITY_RULES = exports.E_UPDATE_PRODUCT_CATALOG_CACHE = exports.E_DUPLICATE_ENTRY = exports.E_UNHANDLED_KEY = exports.E_FETCH_CUSTOMER_ACCOUNT_FINANCE_BALANCES = exports.E_LEAD_FILE_NOT_FOUND = exports.E_LEAD_NOT_FOUND = exports.E_LOGIN_MAX_ATTEMPTS_REACHED = exports.E_TOO_MANY_REQUESTS = exports.E_UPLOAD_SALE_PROCESS_CONTRACT = exports.E_FETCH_USER_CHANNELS = exports.E_UNAUTHORIZED = exports.E_USER_WITHOUT_CHANNELS = exports.E_FETCH_SHOPPING_CART_PROMOTIONS_AND_CONTRACTS = exports.E_FETCH_SHOPPING_CART_FEATURES = exports.E_NOT_BASE_BUNDLE = exports.E_NO_SELECTED_CHANNEL = exports.E_FETCH_LOOKUP_OPTIONS = exports.E_INVALID_SALE_PROCESS_STATUS = void 0;
|
|
6
|
+
exports.E_ORDER_NOT_BELONG_TO_CUSTOMER = exports.E_CUSTOMER_CHECK_DEBT = exports.E_CHARACTERISTIC_NOT_CHANGEABLE = exports.E_BUNDLE_NOT_AVAILABLE_IN_CHANNEL = exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_UNKNOWN_STEP = exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_WITHOUT_STEPS = exports.E_CUSTOMER_NEW_EXTRAS_PROCESS_OWNER_MISMATCHING = exports.E_CUSTOMER_PRODUCT_TRANSITION_PROCESS_OWNER_MISMATCHING = exports.E_CUSTOMER_PRODUCT_MODIFICATION_PROCESS_OWNER_MISMATCHING = exports.E_REVIEW_CUSTOMER_CHARGES_AND_CREDITS_NEGATIVE_INVOICE = exports.E_REVIEW_CUSTOMER_CHARGES_AND_CREDITS = exports.E_CUSTOMER_WITHOUT_VALID_APARTMENT = exports.E_CUSTOMER_HAS_ALL_EXTRAS = exports.E_CUSTOMER_NEW_EXTRAS_PROCESS_ALREADY_EXISTS = exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_ALREADY_EXISTS = exports.E_CUSTOMER_PRODUCT_TRANSITION_PROCESS_ALREADY_EXISTS = exports.E_CUSTOMER_PRODUCT_MODIFICATION_PROCESS_ALREADY_EXISTS = exports.E_UNKNOWN_CACHE_KEY = exports.E_FILTER_PRODUCT_BY_PARAMETERS = exports.E_FETCH_CHARGES_AND_CREDITS = exports.E_FETCH_SERVICE_INVENTORY_BY_ID = exports.E_FETCH_PRODUCT_INVENTORY_BY_ID = exports.E_FETCH_CUSTOMER_PRODUCTS = exports.E_FETCH_BILLS = exports.E_PATCH_BILLING_STATE = exports.E_FETCH_ORDER_HIERARCHY = exports.E_FETCH_ORDERS = void 0;
|
|
7
7
|
exports.E_LOGIN = 'E_LOGIN';
|
|
8
8
|
exports.E_ASSIGN_CHANNELS = 'E_ASSIGN_CHANNELS';
|
|
9
9
|
exports.E_UPDATE_PASSWORD = 'E_UPDATE_PASSWORD';
|
|
@@ -24,7 +24,10 @@ exports.E_SAVE_SHOPPING_CART = 'E_SAVE_SHOPPING_CART';
|
|
|
24
24
|
exports.E_PERSIST_SHOPPING_CART = 'E_PERSIST_SHOPPING_CART';
|
|
25
25
|
exports.E_BUNDLE_CONFIGURATION_ATTRIBUTE_MISMATCHING = 'E_BUNDLE_CONFIGURATION_ATTRIBUTE_MISMATCHING';
|
|
26
26
|
exports.E_SHOPPING_CART_NOT_FOUND = 'E_SHOPPING_CART_NOT_FOUND';
|
|
27
|
+
exports.E_ADDRESS_NOT_FOUND = 'E_ADDRESS_NOT_FOUND';
|
|
27
28
|
exports.E_APARTMENT_NOT_FOUND = 'E_APARTMENT_NOT_FOUND';
|
|
29
|
+
exports.E_ZIP_ADDRESSES_NOT_FOUND = 'E_ZIP_ADDRESSES_NOT_FOUND';
|
|
30
|
+
exports.E_AREA_ADDRESSES_NOT_FOUND = 'E_AREA_ADDRESSES_NOT_FOUND';
|
|
28
31
|
exports.E_EMPTY_SHOPPING_CART = 'E_EMPTY_SHOPPING_CART';
|
|
29
32
|
exports.E_UPDATE_SHOPPING_CART_EXTRAS = 'E_UPDATE_SHOPPING_CART_EXTRAS';
|
|
30
33
|
exports.E_BP_INTERNAL_SERVER_ERROR = 'E_BP_INTERNAL_SERVER_ERROR';
|
|
@@ -119,6 +122,7 @@ exports.E_FETCH_CUSTOMER_ACCOUNT_FINANCE_BALANCES = 'E_FETCH_CUSTOMER_ACCOUNT_FI
|
|
|
119
122
|
exports.E_UNHANDLED_KEY = 'E_UNHANDLED_KEY';
|
|
120
123
|
exports.E_DUPLICATE_ENTRY = 'E_DUPLICATE_ENTRY';
|
|
121
124
|
exports.E_UPDATE_PRODUCT_CATALOG_CACHE = 'E_UPDATE_PRODUCT_CATALOG_CACHE';
|
|
125
|
+
exports.E_ADDRESS_BREACHES_RETAIL_EXCLUSIVITY_RULES = 'E_ADDRESS_BREACHES_RETAIL_EXCLUSIVITY_RULES';
|
|
122
126
|
exports.E_APARTMENT_BREACHES_RETAIL_EXCLUSIVITY_RULES = 'E_APARTMENT_BREACHES_RETAIL_EXCLUSIVITY_RULES';
|
|
123
127
|
exports.E_PRODUCT_SERVICE_MISSING = 'E_PRODUCT_SERVICE_MISSING';
|
|
124
128
|
exports.E_APPLY_CHARGE = 'E_APPLY_CHARGE';
|
|
@@ -174,5 +178,6 @@ exports.E_CUSTOMER_NEW_EXTRAS_PROCESS_OWNER_MISMATCHING = 'E_CUSTOMER_NEW_EXTRAS
|
|
|
174
178
|
exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_WITHOUT_STEPS = 'E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_WITHOUT_STEPS';
|
|
175
179
|
exports.E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_UNKNOWN_STEP = 'E_CUSTOMER_PRODUCT_MULTIPLE_TRANSITION_PROCESS_UNKNOWN_STEP';
|
|
176
180
|
exports.E_BUNDLE_NOT_AVAILABLE_IN_CHANNEL = 'E_BUNDLE_NOT_AVAILABLE_IN_CHANNEL';
|
|
181
|
+
exports.E_CHARACTERISTIC_NOT_CHANGEABLE = 'E_CHARACTERISTIC_NOT_CHANGEABLE';
|
|
177
182
|
exports.E_CUSTOMER_CHECK_DEBT = 'E_CUSTOMER_CHECK_DEBT';
|
|
178
183
|
exports.E_ORDER_NOT_BELONG_TO_CUSTOMER = 'E_ORDER_NOT_BELONG_TO_CUSTOMER';
|
|
@@ -80,82 +80,3 @@ export declare class LeadsData {
|
|
|
80
80
|
customerAssociation?: string;
|
|
81
81
|
digitelCircuitType?: string;
|
|
82
82
|
}
|
|
83
|
-
export declare class CreateNewLeadDto {
|
|
84
|
-
id?: number;
|
|
85
|
-
lead?: Lead;
|
|
86
|
-
user?: string;
|
|
87
|
-
userIp?: string;
|
|
88
|
-
channel: string;
|
|
89
|
-
scoring?: number;
|
|
90
|
-
status: string;
|
|
91
|
-
contactPhone?: string;
|
|
92
|
-
campaign?: string;
|
|
93
|
-
intent?: string;
|
|
94
|
-
shoppingCartId?: string;
|
|
95
|
-
customerId?: number;
|
|
96
|
-
billingAccountId?: number;
|
|
97
|
-
coberturaId?: string;
|
|
98
|
-
coberturaPisoPortaId?: string;
|
|
99
|
-
email?: string;
|
|
100
|
-
cifNumber?: string;
|
|
101
|
-
cifType?: string;
|
|
102
|
-
cifCountry?: string;
|
|
103
|
-
birthDate?: string;
|
|
104
|
-
title?: string;
|
|
105
|
-
firstName?: string;
|
|
106
|
-
lastName?: string;
|
|
107
|
-
token?: string;
|
|
108
|
-
googleStreet?: string;
|
|
109
|
-
googleLatitude?: string;
|
|
110
|
-
googleLongitude?: string;
|
|
111
|
-
search?: string;
|
|
112
|
-
createdAt: string;
|
|
113
|
-
notes?: string;
|
|
114
|
-
internalNotes?: string;
|
|
115
|
-
callbackLeadId?: string;
|
|
116
|
-
tradingName?: string;
|
|
117
|
-
legalName?: string;
|
|
118
|
-
industryType?: string;
|
|
119
|
-
customerType?: string;
|
|
120
|
-
companyType?: string;
|
|
121
|
-
legalEntity?: boolean;
|
|
122
|
-
deliveryMethod?: string;
|
|
123
|
-
contactType?: string;
|
|
124
|
-
billingAddress?: string;
|
|
125
|
-
postalAddress?: string;
|
|
126
|
-
serviceAddress?: string;
|
|
127
|
-
selectedBundle?: string;
|
|
128
|
-
businessSize?: string;
|
|
129
|
-
iban?: string;
|
|
130
|
-
identificationType?: string;
|
|
131
|
-
identificationCountry?: string;
|
|
132
|
-
identificationNumber?: string;
|
|
133
|
-
billingFirstName?: string;
|
|
134
|
-
billingLastName?: string;
|
|
135
|
-
utmContent?: string;
|
|
136
|
-
utmCampaign?: string;
|
|
137
|
-
utmMedium?: string;
|
|
138
|
-
utmSource?: string;
|
|
139
|
-
callType?: string;
|
|
140
|
-
ambassador?: number;
|
|
141
|
-
fiberhoodId?: number;
|
|
142
|
-
paymentMethodAdded?: string;
|
|
143
|
-
smsResponse?: string;
|
|
144
|
-
smsVerified?: boolean;
|
|
145
|
-
smsPDF?: string;
|
|
146
|
-
smsSentAt?: string;
|
|
147
|
-
smsPhone?: string;
|
|
148
|
-
fiberhoodStatus?: string;
|
|
149
|
-
nearestCoverageDistance?: string;
|
|
150
|
-
nearestCoverageId?: string;
|
|
151
|
-
googleProvince?: string;
|
|
152
|
-
googleZip?: string;
|
|
153
|
-
googleCity?: string;
|
|
154
|
-
customerAccountBehaviour?: string;
|
|
155
|
-
preferredContactTime?: string;
|
|
156
|
-
additionalContactPhone?: string;
|
|
157
|
-
customerVulnerable?: boolean;
|
|
158
|
-
preferredContactLanguage?: string;
|
|
159
|
-
customerAssociation?: string;
|
|
160
|
-
digitelCircuitType?: string;
|
|
161
|
-
}
|
|
@@ -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.
|
|
12
|
+
exports.LeadsData = void 0;
|
|
13
13
|
const openapi = require("@nestjs/swagger");
|
|
14
14
|
const typeorm_1 = require("typeorm");
|
|
15
15
|
const lead_entity_1 = require("./lead.entity");
|
|
@@ -339,9 +339,3 @@ LeadsData = __decorate([
|
|
|
339
339
|
(0, typeorm_1.Entity)({ name: 'leads-data' })
|
|
340
340
|
], LeadsData);
|
|
341
341
|
exports.LeadsData = LeadsData;
|
|
342
|
-
class CreateNewLeadDto {
|
|
343
|
-
static _OPENAPI_METADATA_FACTORY() {
|
|
344
|
-
return { id: { required: false, type: () => Number }, lead: { required: false, type: () => require("./lead.entity").Lead }, user: { required: false, type: () => String }, userIp: { required: false, type: () => String }, channel: { required: true, type: () => String }, scoring: { required: false, type: () => Number }, status: { required: true, type: () => String }, contactPhone: { required: false, type: () => String }, campaign: { required: false, type: () => String }, intent: { required: false, type: () => String }, shoppingCartId: { required: false, type: () => String }, customerId: { required: false, type: () => Number }, billingAccountId: { required: false, type: () => Number }, coberturaId: { required: false, type: () => String }, coberturaPisoPortaId: { required: false, type: () => String }, email: { required: false, type: () => String }, cifNumber: { required: false, type: () => String }, cifType: { required: false, type: () => String }, cifCountry: { required: false, type: () => String }, birthDate: { required: false, type: () => String }, title: { required: false, type: () => String }, firstName: { required: false, type: () => String }, lastName: { required: false, type: () => String }, token: { required: false, type: () => String }, googleStreet: { required: false, type: () => String }, googleLatitude: { required: false, type: () => String }, googleLongitude: { required: false, type: () => String }, search: { required: false, type: () => String }, createdAt: { required: true, type: () => String }, notes: { required: false, type: () => String }, internalNotes: { required: false, type: () => String }, callbackLeadId: { required: false, type: () => String }, tradingName: { required: false, type: () => String }, legalName: { required: false, type: () => String }, industryType: { required: false, type: () => String }, customerType: { required: false, type: () => String }, companyType: { required: false, type: () => String }, legalEntity: { required: false, type: () => Boolean }, deliveryMethod: { required: false, type: () => String }, contactType: { required: false, type: () => String }, billingAddress: { required: false, type: () => String }, postalAddress: { required: false, type: () => String }, serviceAddress: { required: false, type: () => String }, selectedBundle: { required: false, type: () => String }, businessSize: { required: false, type: () => String }, iban: { required: false, type: () => String }, identificationType: { required: false, type: () => String }, identificationCountry: { required: false, type: () => String }, identificationNumber: { required: false, type: () => String }, billingFirstName: { required: false, type: () => String }, billingLastName: { required: false, type: () => String }, utmContent: { required: false, type: () => String }, utmCampaign: { required: false, type: () => String }, utmMedium: { required: false, type: () => String }, utmSource: { required: false, type: () => String }, callType: { required: false, type: () => String }, ambassador: { required: false, type: () => Number }, fiberhoodId: { required: false, type: () => Number }, paymentMethodAdded: { required: false, type: () => String }, smsResponse: { required: false, type: () => String }, smsVerified: { required: false, type: () => Boolean }, smsPDF: { required: false, type: () => String }, smsSentAt: { required: false, type: () => String }, smsPhone: { required: false, type: () => String }, fiberhoodStatus: { required: false, type: () => String }, nearestCoverageDistance: { required: false, type: () => String }, nearestCoverageId: { required: false, type: () => String }, googleProvince: { required: false, type: () => String }, googleZip: { required: false, type: () => String }, googleCity: { required: false, type: () => String }, customerAccountBehaviour: { required: false, type: () => String }, preferredContactTime: { required: false, type: () => String }, additionalContactPhone: { required: false, type: () => String }, customerVulnerable: { required: false, type: () => Boolean }, preferredContactLanguage: { required: false, type: () => String }, customerAssociation: { required: false, type: () => String }, digitelCircuitType: { required: false, type: () => String } };
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
exports.CreateNewLeadDto = CreateNewLeadDto;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export declare class
|
|
1
|
+
export declare class AddressDto {
|
|
2
2
|
id: string;
|
|
3
3
|
address: string;
|
|
4
4
|
city: string;
|
|
5
5
|
province: string;
|
|
6
|
+
postcode: string;
|
|
6
7
|
status: string;
|
|
7
8
|
salesArea: string;
|
|
8
9
|
note?: string;
|
|
@@ -15,9 +16,9 @@ export declare class FetchAddressByIdRes {
|
|
|
15
16
|
externalMsg?: string;
|
|
16
17
|
externalEmail?: string;
|
|
17
18
|
canOrder: boolean;
|
|
18
|
-
apartments:
|
|
19
|
+
apartments: AddressApartmentDto[];
|
|
19
20
|
}
|
|
20
|
-
export declare class
|
|
21
|
+
export declare class AddressApartmentDto {
|
|
21
22
|
id: string;
|
|
22
23
|
stair?: string;
|
|
23
24
|
floor?: string;
|
|
@@ -28,7 +29,7 @@ export declare class Apartment {
|
|
|
28
29
|
serviceableAge: number;
|
|
29
30
|
client?: number;
|
|
30
31
|
}
|
|
31
|
-
export declare class
|
|
32
|
+
export declare class AreaAddressDto {
|
|
32
33
|
id: string;
|
|
33
34
|
address: string;
|
|
34
35
|
status: string;
|
|
@@ -38,7 +39,7 @@ export declare class FetchAddressByAreaRes {
|
|
|
38
39
|
serviceableAge: number;
|
|
39
40
|
distance?: number;
|
|
40
41
|
}
|
|
41
|
-
export declare class
|
|
42
|
+
export declare class ApartmentDto {
|
|
42
43
|
apartmentId: string;
|
|
43
44
|
streetAddressId: string;
|
|
44
45
|
salesAreaId: number;
|
|
@@ -67,3 +68,32 @@ export declare class FetchAddressByApartmentIdRes {
|
|
|
67
68
|
network: string;
|
|
68
69
|
fiberhood: string;
|
|
69
70
|
}
|
|
71
|
+
export declare enum Field {
|
|
72
|
+
ID = "id",
|
|
73
|
+
ZIP = "zip",
|
|
74
|
+
AREA = "area",
|
|
75
|
+
APARTMENT_ID = "apartmentId"
|
|
76
|
+
}
|
|
77
|
+
export declare enum AreaAddressesOrderBy {
|
|
78
|
+
ADDRESS = "address",
|
|
79
|
+
DISTANCE = "distance"
|
|
80
|
+
}
|
|
81
|
+
export declare class BaseAreaAddressesQueryDto {
|
|
82
|
+
orderBy?: AreaAddressesOrderBy;
|
|
83
|
+
}
|
|
84
|
+
export declare class AreaAddressesQueryDto extends BaseAreaAddressesQueryDto {
|
|
85
|
+
lng: string;
|
|
86
|
+
lat: string;
|
|
87
|
+
}
|
|
88
|
+
export declare class FieldValueParams {
|
|
89
|
+
field: Field;
|
|
90
|
+
value: string;
|
|
91
|
+
}
|
|
92
|
+
export declare class SearchByAreaParams {
|
|
93
|
+
lng: string;
|
|
94
|
+
lat: string;
|
|
95
|
+
}
|
|
96
|
+
export declare class FetchAddressByQueryDto {
|
|
97
|
+
orderBy: AreaAddressesOrderBy;
|
|
98
|
+
allStatuses?: boolean;
|
|
99
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.FetchAddressByQueryDto = exports.SearchByAreaParams = exports.FieldValueParams = exports.AreaAddressesQueryDto = exports.BaseAreaAddressesQueryDto = exports.AreaAddressesOrderBy = exports.Field = exports.ApartmentDto = exports.AreaAddressDto = exports.AddressApartmentDto = exports.AddressDto = 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 AddressDto {
|
|
18
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
19
|
+
return { id: { required: true, type: () => String }, address: { required: true, type: () => String }, city: { required: true, type: () => String }, province: { required: true, type: () => String }, postcode: { required: true, type: () => String }, status: { required: true, type: () => String }, salesArea: { required: true, type: () => String }, note: { required: false, type: () => String }, zone: { required: false, type: () => String }, serviceable: { required: true, type: () => Date }, serviceableAge: { required: true, type: () => Number }, lng: { required: true, type: () => String }, lat: { required: true, type: () => String }, externalOk: { required: true, type: () => Boolean }, externalMsg: { required: false, type: () => String }, externalEmail: { required: false, type: () => String }, canOrder: { required: true, type: () => Boolean }, apartments: { required: true, type: () => [require("./address.entity").AddressApartmentDto] } };
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.AddressDto = AddressDto;
|
|
23
|
+
class AddressApartmentDto {
|
|
24
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
25
|
+
return { id: { required: true, type: () => String }, stair: { required: false, type: () => String }, floor: { required: false, type: () => String }, door: { required: true, type: () => String }, salesArea: { required: true, type: () => String }, status: { required: true, type: () => String }, serviceableDate: { required: true, type: () => Date }, serviceableAge: { required: true, type: () => Number }, client: { required: false, type: () => Number } };
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
exports.AddressApartmentDto = AddressApartmentDto;
|
|
29
|
+
class AreaAddressDto {
|
|
30
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
31
|
+
return { id: { required: true, type: () => String }, address: { required: true, type: () => String }, status: { required: true, type: () => String }, salesArea: { required: true, type: () => String }, lng: { required: true, type: () => String }, lat: { required: true, type: () => String }, serviceableAge: { required: true, type: () => Number }, distance: { required: false, type: () => Number } };
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.AreaAddressDto = AreaAddressDto;
|
|
35
|
+
class ApartmentDto {
|
|
36
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
37
|
+
return { apartmentId: { required: true, type: () => String }, streetAddressId: { required: true, type: () => String }, salesAreaId: { required: true, type: () => Number }, salesAreaName: { required: true, type: () => String }, projectId: { required: true, type: () => Number }, projectCode: { required: true, type: () => String }, competition: { required: true, type: () => String }, serviceableStatus: { required: true, type: () => String }, serviceable: { required: true, type: () => String }, technology: { required: true, type: () => String }, lng: { required: true, type: () => String }, lat: { required: true, type: () => String }, country: { required: true, type: () => String }, province: { required: true, type: () => String }, municipality: { required: true, type: () => String }, city: { required: true, type: () => String }, postcode: { required: true, type: () => String }, streetName: { required: true, type: () => String }, streetType: { required: true, type: () => String }, streetNumber: { required: true, type: () => String }, block: { required: true, type: () => String }, entrance: { required: true, type: () => String }, floor: { required: true, type: () => String }, door: { required: true, type: () => String }, serviceableAge: { required: true, type: () => Number }, network: { required: true, type: () => String }, fiberhood: { required: true, type: () => String } };
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
exports.ApartmentDto = ApartmentDto;
|
|
41
|
+
var Field;
|
|
42
|
+
(function (Field) {
|
|
43
|
+
Field["ID"] = "id";
|
|
44
|
+
Field["ZIP"] = "zip";
|
|
45
|
+
Field["AREA"] = "area";
|
|
46
|
+
Field["APARTMENT_ID"] = "apartmentId";
|
|
47
|
+
})(Field = exports.Field || (exports.Field = {}));
|
|
48
|
+
var AreaAddressesOrderBy;
|
|
49
|
+
(function (AreaAddressesOrderBy) {
|
|
50
|
+
AreaAddressesOrderBy["ADDRESS"] = "address";
|
|
51
|
+
AreaAddressesOrderBy["DISTANCE"] = "distance";
|
|
52
|
+
})(AreaAddressesOrderBy = exports.AreaAddressesOrderBy || (exports.AreaAddressesOrderBy = {}));
|
|
53
|
+
class BaseAreaAddressesQueryDto {
|
|
54
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
55
|
+
return { orderBy: { required: false, enum: require("./address.entity").AreaAddressesOrderBy } };
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, _validators_1.IsEnum)(AreaAddressesOrderBy),
|
|
60
|
+
(0, class_validator_1.IsOptional)(),
|
|
61
|
+
__metadata("design:type", String)
|
|
62
|
+
], BaseAreaAddressesQueryDto.prototype, "orderBy", void 0);
|
|
63
|
+
exports.BaseAreaAddressesQueryDto = BaseAreaAddressesQueryDto;
|
|
64
|
+
class AreaAddressesQueryDto extends BaseAreaAddressesQueryDto {
|
|
65
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
66
|
+
return { lng: { required: true, type: () => String }, lat: { required: true, type: () => String } };
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, class_validator_1.IsNumberString)(),
|
|
71
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
72
|
+
(0, _validators_1.IsNotBlank)(),
|
|
73
|
+
__metadata("design:type", String)
|
|
74
|
+
], AreaAddressesQueryDto.prototype, "lng", void 0);
|
|
75
|
+
__decorate([
|
|
76
|
+
(0, class_validator_1.IsNumberString)(),
|
|
77
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
78
|
+
(0, _validators_1.IsNotBlank)(),
|
|
79
|
+
__metadata("design:type", String)
|
|
80
|
+
], AreaAddressesQueryDto.prototype, "lat", void 0);
|
|
81
|
+
exports.AreaAddressesQueryDto = AreaAddressesQueryDto;
|
|
82
|
+
class FieldValueParams {
|
|
83
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
84
|
+
return { field: { required: true, enum: require("./address.entity").Field }, value: { required: true, type: () => String } };
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
exports.FieldValueParams = FieldValueParams;
|
|
88
|
+
class SearchByAreaParams {
|
|
89
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
90
|
+
return { lng: { required: true, type: () => String }, lat: { required: true, type: () => String } };
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
exports.SearchByAreaParams = SearchByAreaParams;
|
|
94
|
+
class FetchAddressByQueryDto {
|
|
95
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
96
|
+
return { orderBy: { required: true, enum: require("./address.entity").AreaAddressesOrderBy }, allStatuses: { required: false, type: () => Boolean } };
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
__decorate([
|
|
100
|
+
(0, class_validator_1.IsBoolean)(),
|
|
101
|
+
(0, class_validator_1.IsOptional)(),
|
|
102
|
+
(0, class_transformer_1.Transform)(({ value }) => (typeof value === 'string' ? (value === 'true' ? true : value === 'false' ? false : value) : value)),
|
|
103
|
+
__metadata("design:type", Boolean)
|
|
104
|
+
], FetchAddressByQueryDto.prototype, "allStatuses", void 0);
|
|
105
|
+
exports.FetchAddressByQueryDto = FetchAddressByQueryDto;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './res/address.entity';
|
|
1
|
+
export * from './address.entity';
|
|
@@ -14,5 +14,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./
|
|
18
|
-
__exportStar(require("./res/address.entity"), exports);
|
|
17
|
+
__exportStar(require("./address.entity"), exports);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { CustomerProductsDto as BssCustomerProductsDto, CustomerProductServiceDataDto, CustomerProductCharacteristicDto, CustomerProductServiceDto } from '../../bss/customer';
|
|
2
2
|
import { ShoppingCartProductType } from '../../common/constants';
|
|
3
3
|
import { ArsAddressDto } from '../../common/edge-bss';
|
|
4
|
-
import { FetchAddressByApartmentIdRes } from '../../ams/index';
|
|
5
4
|
import { ShoppingCartParametersDto } from '../../bss/bearingpoint';
|
|
6
5
|
import { CustomerProductInstanceAction } from './customer.constants';
|
|
7
6
|
import { CustomerProductTransitionStep } from '../customer-product-multiple-transition-process';
|
|
7
|
+
import { ApartmentDto } from '../address';
|
|
8
8
|
import { MobileVisibilityType } from '../../bss/constants';
|
|
9
9
|
export declare class CustomerProductsDto extends BssCustomerProductsDto {
|
|
10
10
|
}
|
|
@@ -26,7 +26,7 @@ export declare class CustomerBundleDto {
|
|
|
26
26
|
products: CustomerBundleProductDto[];
|
|
27
27
|
}
|
|
28
28
|
export declare class CustomerProductWithApartmentDto {
|
|
29
|
-
apartment?:
|
|
29
|
+
apartment?: ApartmentDto;
|
|
30
30
|
product: CustomerBundleDto;
|
|
31
31
|
}
|
|
32
32
|
export declare class CheckCustomerProductTransitionFiberDto {
|
|
@@ -36,7 +36,7 @@ class CustomerBundleDto {
|
|
|
36
36
|
exports.CustomerBundleDto = CustomerBundleDto;
|
|
37
37
|
class CustomerProductWithApartmentDto {
|
|
38
38
|
static _OPENAPI_METADATA_FACTORY() {
|
|
39
|
-
return { apartment: { required: false, type: () => require("
|
|
39
|
+
return { apartment: { required: false, type: () => require("../address/address.entity").ApartmentDto }, product: { required: true, type: () => require("./customer-product.entity").CustomerBundleDto } };
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
exports.CustomerProductWithApartmentDto = CustomerProductWithApartmentDto;
|