adamo-types 1.1.0 → 1.1.1
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/constants/common.constants.d.ts +3 -1
- package/dist/common/constants/common.constants.js +2 -0
- package/dist/common/constants/error.constants.d.ts +1 -0
- package/dist/common/constants/error.constants.js +2 -1
- package/dist/common/edge-bss/shopping-cart/req/other.entity.d.ts +2 -0
- package/dist/common/edge-bss/shopping-cart/req/other.entity.js +1 -1
- package/dist/common/edge-bss/shopping-cart/res/other.entity.d.ts +2 -0
- package/dist/common/edge-bss/shopping-cart/res/other.entity.js +2 -2
- package/dist/database/blacklist-address.entity.d.ts +3 -0
- package/dist/database/blacklist-address.entity.js +7 -1
- package/dist/database/dropdown_data.entity.js +1 -1
- package/dist/database/index.d.ts +3 -0
- package/dist/database/index.js +3 -0
- package/dist/database/lead.entity.d.ts +12 -0
- package/dist/database/lead.entity.js +63 -0
- package/dist/database/leads-data.entity.d.ts +76 -0
- package/dist/database/leads-data.entity.js +317 -0
- package/dist/database/provision-db.entity.d.ts +32 -0
- package/dist/database/provision-db.entity.js +129 -0
- package/dist/sys03/constants/sys03.constants.d.ts +1 -0
- package/dist/sys03/constants/sys03.constants.js +2 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -78,5 +78,7 @@ export declare enum StorageConfiguration {
|
|
|
78
78
|
DEPENDENCY_GROUPS = "DEPENDENCY_GROUPS",
|
|
79
79
|
SEND_BSS_SERVICIABLE_STATUSES = "SEND_BSS_SERVICIABLE_STATUSES",
|
|
80
80
|
PROVINCE_PREFIXES = "PROVINCE_PREFIXES",
|
|
81
|
-
IBAN_SUPPORTED_COUNTRIES = "IBAN_SUPPORTED_COUNTRIES"
|
|
81
|
+
IBAN_SUPPORTED_COUNTRIES = "IBAN_SUPPORTED_COUNTRIES",
|
|
82
|
+
BLACKLISTED_APARTMENTS_CHANNELS = "BLACKLISTED_APARTMENTS_CHANNELS",
|
|
83
|
+
BLACKLISTED_APARTMENTS_OPERATORS = "BLACKLISTED_APARTMENTS_OPERATORS"
|
|
82
84
|
}
|
|
@@ -87,4 +87,6 @@ var StorageConfiguration;
|
|
|
87
87
|
StorageConfiguration["SEND_BSS_SERVICIABLE_STATUSES"] = "SEND_BSS_SERVICIABLE_STATUSES";
|
|
88
88
|
StorageConfiguration["PROVINCE_PREFIXES"] = "PROVINCE_PREFIXES";
|
|
89
89
|
StorageConfiguration["IBAN_SUPPORTED_COUNTRIES"] = "IBAN_SUPPORTED_COUNTRIES";
|
|
90
|
+
StorageConfiguration["BLACKLISTED_APARTMENTS_CHANNELS"] = "BLACKLISTED_APARTMENTS_CHANNELS";
|
|
91
|
+
StorageConfiguration["BLACKLISTED_APARTMENTS_OPERATORS"] = "BLACKLISTED_APARTMENTS_OPERATORS";
|
|
90
92
|
})(StorageConfiguration = exports.StorageConfiguration || (exports.StorageConfiguration = {}));
|
|
@@ -80,3 +80,4 @@ export declare const E_UPDATE_PRODUCT_CATALOG = "E_UPDATE_PRODUCT_CATALOG";
|
|
|
80
80
|
export declare const E_DELETE_CACHE_RECORD = "E_DELETE_CACHE_RECORD";
|
|
81
81
|
export declare const E_UPDATE_CACHE_RECORD = "E_UPDATE_CACHE_RECORD";
|
|
82
82
|
export declare const E_USER_SALE_PROCESS_PERMISSION = "E_USER_SALE_PROCESS_PERMISSION";
|
|
83
|
+
export declare const E_WHOLESALE_APARTMENT_BLACKLISTED = "E_WHOLESALE_APARTMENT_BLACKLISTED";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
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 = exports.E_UPDATE_CUSTOMER_ACCOUNT = exports.E_CREATE_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_PROVIDED = exports.E_NO_SELECTED_CHANNEL = exports.E_CHANGE_CHANNEL = exports.E_BP_INTERNAL_SERVER_ERROR = exports.E_UPDATE_SHOPPING_CART_EXTRAS = exports.E_EMPTY_SHOPPING_CART = exports.E_SHOPPING_CART_NOT_FOUND = exports.E_BUNDLE_CONFIGURATION_ATTRIBUTE_MISMATCHING = exports.E_SAVE_SHOPPING_CART = exports.E_CREATE_SHOPPING_CART = exports.E_FETCH_PRODUCT_DEFAULT_SUMMARY = 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_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_MOD = exports.E_INVALID_IBAN_FORMAT = exports.E_INVALID_IBAN_LENGTH = exports.E_INVALID_IBAN_ISO_CODE = 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 = void 0;
|
|
4
|
+
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_MOD = exports.E_INVALID_IBAN_FORMAT = exports.E_INVALID_IBAN_LENGTH = exports.E_INVALID_IBAN_ISO_CODE = 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 = void 0;
|
|
5
5
|
exports.E_LOGIN = 'E_LOGIN';
|
|
6
6
|
exports.E_ASSIGN_CHANNELS = 'E_ASSIGN_CHANNELS';
|
|
7
7
|
exports.E_UPDATE_PASSWORD = 'E_UPDATE_PASSWORD';
|
|
@@ -84,3 +84,4 @@ exports.E_UPDATE_PRODUCT_CATALOG = 'E_UPDATE_PRODUCT_CATALOG';
|
|
|
84
84
|
exports.E_DELETE_CACHE_RECORD = 'E_DELETE_CACHE_RECORD';
|
|
85
85
|
exports.E_UPDATE_CACHE_RECORD = 'E_UPDATE_CACHE_RECORD';
|
|
86
86
|
exports.E_USER_SALE_PROCESS_PERMISSION = 'E_USER_SALE_PROCESS_PERMISSION';
|
|
87
|
+
exports.E_WHOLESALE_APARTMENT_BLACKLISTED = 'E_WHOLESALE_APARTMENT_BLACKLISTED';
|
|
@@ -2,6 +2,7 @@ import { ClientType, SalesArea } from '@common/constants/common.constants';
|
|
|
2
2
|
import { ShoppingCartConfigurationProductType } from '@common/constants';
|
|
3
3
|
import { ServiceSpecificationType } from '@bss/constants';
|
|
4
4
|
import { ShoppingCartConfigurationAddressResDto } from '..';
|
|
5
|
+
import { ShoppingCartParametersDto } from '@bss/bearingpoint';
|
|
5
6
|
export declare class ConfigurationAttributeValuesDto {
|
|
6
7
|
businessType?: ClientType;
|
|
7
8
|
competition?: string;
|
|
@@ -35,6 +36,7 @@ export declare class UpdateShoppingCartCharacteristicDto {
|
|
|
35
36
|
}
|
|
36
37
|
export declare class UpdateShoppingCartConfigurationDto {
|
|
37
38
|
products: UpdateShoppingCartConfigurationProductDto[];
|
|
39
|
+
parameters: ShoppingCartParametersDto;
|
|
38
40
|
}
|
|
39
41
|
export declare class UpdateShoppingCartConfigurationProductDto {
|
|
40
42
|
name: string;
|
|
@@ -114,7 +114,7 @@ __decorate([
|
|
|
114
114
|
exports.UpdateShoppingCartCharacteristicDto = UpdateShoppingCartCharacteristicDto;
|
|
115
115
|
class UpdateShoppingCartConfigurationDto {
|
|
116
116
|
static _OPENAPI_METADATA_FACTORY() {
|
|
117
|
-
return { products: { required: true, type: () => [require("./other.entity").UpdateShoppingCartConfigurationProductDto] } };
|
|
117
|
+
return { products: { required: true, type: () => [require("./other.entity").UpdateShoppingCartConfigurationProductDto] }, parameters: { required: true, type: () => require("../../../../bss/bearingpoint/shopping-cart/shopping-cart-parameters.entity").ShoppingCartParametersDto } };
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
exports.UpdateShoppingCartConfigurationDto = UpdateShoppingCartConfigurationDto;
|
|
@@ -15,12 +15,14 @@ export declare class ShoppingCartConfigurationBssResDto {
|
|
|
15
15
|
promotions: ShoppingCartConfigurationFeaturesResDto;
|
|
16
16
|
contracts: ShoppingCartConfigurationCharacteristicResDto[];
|
|
17
17
|
products: ShoppingCartConfigurationProductBssResDto[];
|
|
18
|
+
parameters: ShoppingCartParametersDto;
|
|
18
19
|
}
|
|
19
20
|
export declare class ShoppingCartConfigurationResDto {
|
|
20
21
|
id: string;
|
|
21
22
|
promotions: ShoppingCartConfigurationFeaturesResDto;
|
|
22
23
|
contracts: ShoppingCartConfigurationCharacteristicResDto[];
|
|
23
24
|
products: ShoppingCartConfigurationProductResDto[];
|
|
25
|
+
parameters: ShoppingCartParametersDto;
|
|
24
26
|
}
|
|
25
27
|
export declare class ShoppingCartConfigurationFeaturesResDto {
|
|
26
28
|
characteristicGroups?: ShoppingCartConfigurationCharacteristicGroupResDto[];
|
|
@@ -26,13 +26,13 @@ class ShoppingCartExtrasResDto {
|
|
|
26
26
|
exports.ShoppingCartExtrasResDto = ShoppingCartExtrasResDto;
|
|
27
27
|
class ShoppingCartConfigurationBssResDto {
|
|
28
28
|
static _OPENAPI_METADATA_FACTORY() {
|
|
29
|
-
return { promotions: { required: true, type: () => require("./other.entity").ShoppingCartConfigurationFeaturesResDto }, contracts: { required: true, type: () => [require("./other.entity").ShoppingCartConfigurationCharacteristicResDto] }, products: { required: true, type: () => [require("./other.entity").ShoppingCartConfigurationProductBssResDto] } };
|
|
29
|
+
return { promotions: { required: true, type: () => require("./other.entity").ShoppingCartConfigurationFeaturesResDto }, contracts: { required: true, type: () => [require("./other.entity").ShoppingCartConfigurationCharacteristicResDto] }, products: { required: true, type: () => [require("./other.entity").ShoppingCartConfigurationProductBssResDto] }, parameters: { required: true, type: () => require("../../../../bss/bearingpoint/shopping-cart/shopping-cart-parameters.entity").ShoppingCartParametersDto } };
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
exports.ShoppingCartConfigurationBssResDto = ShoppingCartConfigurationBssResDto;
|
|
33
33
|
class ShoppingCartConfigurationResDto {
|
|
34
34
|
static _OPENAPI_METADATA_FACTORY() {
|
|
35
|
-
return { id: { required: true, type: () => String }, promotions: { required: true, type: () => require("./other.entity").ShoppingCartConfigurationFeaturesResDto }, contracts: { required: true, type: () => [require("./other.entity").ShoppingCartConfigurationCharacteristicResDto] }, products: { required: true, type: () => [require("./other.entity").ShoppingCartConfigurationProductResDto] } };
|
|
35
|
+
return { id: { required: true, type: () => String }, promotions: { required: true, type: () => require("./other.entity").ShoppingCartConfigurationFeaturesResDto }, contracts: { required: true, type: () => [require("./other.entity").ShoppingCartConfigurationCharacteristicResDto] }, products: { required: true, type: () => [require("./other.entity").ShoppingCartConfigurationProductResDto] }, parameters: { required: true, type: () => require("../../../../bss/bearingpoint/shopping-cart/shopping-cart-parameters.entity").ShoppingCartParametersDto } };
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.ShoppingCartConfigurationResDto = ShoppingCartConfigurationResDto;
|
|
@@ -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.BlacklistAddressDto = void 0;
|
|
12
|
+
exports.ParamSidsDto = exports.BlacklistAddressDto = void 0;
|
|
13
13
|
const openapi = require("@nestjs/swagger");
|
|
14
14
|
const typeorm_1 = require("typeorm");
|
|
15
15
|
let BlacklistAddressDto = class BlacklistAddressDto {
|
|
@@ -33,3 +33,9 @@ BlacklistAddressDto = __decorate([
|
|
|
33
33
|
(0, typeorm_1.Entity)({ name: 'blacklist-addresses' })
|
|
34
34
|
], BlacklistAddressDto);
|
|
35
35
|
exports.BlacklistAddressDto = BlacklistAddressDto;
|
|
36
|
+
class ParamSidsDto {
|
|
37
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
38
|
+
return { sids: { required: true, type: () => [String] } };
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
exports.ParamSidsDto = ParamSidsDto;
|
|
@@ -23,7 +23,7 @@ __decorate([
|
|
|
23
23
|
__metadata("design:type", Number)
|
|
24
24
|
], DropdownDataDto.prototype, "id", void 0);
|
|
25
25
|
__decorate([
|
|
26
|
-
(0, typeorm_1.ManyToOne)(type => dropdown_entity_1.DropdownDto),
|
|
26
|
+
(0, typeorm_1.ManyToOne)((type) => dropdown_entity_1.DropdownDto),
|
|
27
27
|
(0, typeorm_1.JoinColumn)({ name: 'dropdown', referencedColumnName: 'id' }),
|
|
28
28
|
__metadata("design:type", dropdown_entity_1.DropdownDto)
|
|
29
29
|
], DropdownDataDto.prototype, "dropdown", void 0);
|
package/dist/database/index.d.ts
CHANGED
package/dist/database/index.js
CHANGED
|
@@ -17,3 +17,6 @@ __exportStar(require("./user.entity"), exports);
|
|
|
17
17
|
__exportStar(require("./configuration.entity"), exports);
|
|
18
18
|
__exportStar(require("./channel.entity"), exports);
|
|
19
19
|
__exportStar(require("./blacklist-address.entity"), exports);
|
|
20
|
+
__exportStar(require("./provision-db.entity"), exports);
|
|
21
|
+
__exportStar(require("./lead.entity"), exports);
|
|
22
|
+
__exportStar(require("./leads-data.entity"), exports);
|
|
@@ -0,0 +1,63 @@
|
|
|
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.Lead = void 0;
|
|
13
|
+
const openapi = require("@nestjs/swagger");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
let Lead = class Lead {
|
|
16
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
17
|
+
return { id: { required: true, type: () => Number }, phone: { required: true, type: () => String }, channel: { required: true, type: () => String }, user: { required: true, type: () => String }, softDeletedBy: { required: false, type: () => String }, softDeletedAt: { required: false, type: () => String }, userIp: { required: false, type: () => String }, source: { required: true, type: () => String }, softDeleted: { required: true, type: () => Boolean }, createdAt: { required: true, type: () => String } };
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
22
|
+
__metadata("design:type", Number)
|
|
23
|
+
], Lead.prototype, "id", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.Column)({ nullable: false }),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], Lead.prototype, "phone", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)({ nullable: false }),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], Lead.prototype, "channel", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.Column)({ nullable: false }),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], Lead.prototype, "user", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], Lead.prototype, "softDeletedBy", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], Lead.prototype, "softDeletedAt", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], Lead.prototype, "userIp", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, typeorm_1.Column)({ nullable: false }),
|
|
50
|
+
__metadata("design:type", String)
|
|
51
|
+
], Lead.prototype, "source", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, typeorm_1.Column)({ nullable: false }),
|
|
54
|
+
__metadata("design:type", Boolean)
|
|
55
|
+
], Lead.prototype, "softDeleted", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, typeorm_1.Column)({ nullable: false }),
|
|
58
|
+
__metadata("design:type", String)
|
|
59
|
+
], Lead.prototype, "createdAt", void 0);
|
|
60
|
+
Lead = __decorate([
|
|
61
|
+
(0, typeorm_1.Entity)({ name: 'leads' })
|
|
62
|
+
], Lead);
|
|
63
|
+
exports.Lead = Lead;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { Lead } from './lead.entity';
|
|
2
|
+
export declare class LeadsData {
|
|
3
|
+
id: number;
|
|
4
|
+
lead: Lead;
|
|
5
|
+
user: string;
|
|
6
|
+
userIp?: string;
|
|
7
|
+
channel: string;
|
|
8
|
+
scoring?: number;
|
|
9
|
+
status: string;
|
|
10
|
+
contactPhone?: string;
|
|
11
|
+
campaign?: string;
|
|
12
|
+
intent?: string;
|
|
13
|
+
shoppingCartId?: string;
|
|
14
|
+
customerId?: number;
|
|
15
|
+
billingAccountId?: number;
|
|
16
|
+
coberturaId?: number;
|
|
17
|
+
addressId?: number;
|
|
18
|
+
coberturaPisoPortaId?: number;
|
|
19
|
+
apartmentId?: number;
|
|
20
|
+
email?: string;
|
|
21
|
+
cifNumber?: string;
|
|
22
|
+
cifType?: string;
|
|
23
|
+
cifCountry?: string;
|
|
24
|
+
birthDate?: string;
|
|
25
|
+
title?: string;
|
|
26
|
+
firstName?: string;
|
|
27
|
+
lastName?: string;
|
|
28
|
+
token?: string;
|
|
29
|
+
googleStreet?: string;
|
|
30
|
+
googleLatitude?: string;
|
|
31
|
+
googleLongitude?: string;
|
|
32
|
+
search?: string;
|
|
33
|
+
createdAt: string;
|
|
34
|
+
notes?: string;
|
|
35
|
+
internalNotes?: string;
|
|
36
|
+
callbackLeadId?: string;
|
|
37
|
+
tradingName?: string;
|
|
38
|
+
legalName?: string;
|
|
39
|
+
industryType?: string;
|
|
40
|
+
customerType?: string;
|
|
41
|
+
companyType?: string;
|
|
42
|
+
legalEntity?: boolean;
|
|
43
|
+
deliveryMethod?: string;
|
|
44
|
+
contactType?: string;
|
|
45
|
+
billingAddress?: string;
|
|
46
|
+
postalAddress?: string;
|
|
47
|
+
serviceAddress?: string;
|
|
48
|
+
selectedBundle?: string;
|
|
49
|
+
businessSize?: string;
|
|
50
|
+
iban?: string;
|
|
51
|
+
identificationType?: string;
|
|
52
|
+
identificationCountry?: string;
|
|
53
|
+
identificationNumber?: string;
|
|
54
|
+
billingFirstName?: string;
|
|
55
|
+
billingLastName?: string;
|
|
56
|
+
utmContent?: string;
|
|
57
|
+
utmCampaign?: string;
|
|
58
|
+
utmMedium?: string;
|
|
59
|
+
utmSource?: string;
|
|
60
|
+
callType?: string;
|
|
61
|
+
ambassador?: number;
|
|
62
|
+
fiberhoodId?: number;
|
|
63
|
+
paymentMethodAdded?: string;
|
|
64
|
+
smsResponse?: string;
|
|
65
|
+
smsVerified?: boolean;
|
|
66
|
+
smsPDF?: string;
|
|
67
|
+
smsSentAt?: string;
|
|
68
|
+
smsPhone?: string;
|
|
69
|
+
fiberhoodStatus?: string;
|
|
70
|
+
nearestCoverageDistance?: string;
|
|
71
|
+
nearestCoverageId?: string;
|
|
72
|
+
googleProvince?: string;
|
|
73
|
+
googleZip?: string;
|
|
74
|
+
googleCity?: string;
|
|
75
|
+
customerAccountBehaviour?: string;
|
|
76
|
+
}
|
|
@@ -0,0 +1,317 @@
|
|
|
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.LeadsData = void 0;
|
|
13
|
+
const openapi = require("@nestjs/swagger");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const lead_entity_1 = require("./lead.entity");
|
|
16
|
+
let LeadsData = class LeadsData {
|
|
17
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
18
|
+
return { id: { required: true, type: () => Number }, lead: { required: true, type: () => require("./lead.entity").Lead }, user: { required: true, 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: () => Number }, addressId: { required: false, type: () => Number }, coberturaPisoPortaId: { required: false, type: () => Number }, apartmentId: { required: false, type: () => Number }, 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 } };
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], LeadsData.prototype, "id", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.ManyToOne)((type) => lead_entity_1.Lead),
|
|
27
|
+
(0, typeorm_1.JoinColumn)({ name: 'lead', referencedColumnName: 'id' }),
|
|
28
|
+
__metadata("design:type", lead_entity_1.Lead)
|
|
29
|
+
], LeadsData.prototype, "lead", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, typeorm_1.Column)({ nullable: false }),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], LeadsData.prototype, "user", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], LeadsData.prototype, "userIp", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, typeorm_1.Column)({ nullable: false }),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], LeadsData.prototype, "channel", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
44
|
+
__metadata("design:type", Number)
|
|
45
|
+
], LeadsData.prototype, "scoring", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, typeorm_1.Column)({ nullable: false }),
|
|
48
|
+
__metadata("design:type", String)
|
|
49
|
+
], LeadsData.prototype, "status", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
52
|
+
__metadata("design:type", String)
|
|
53
|
+
], LeadsData.prototype, "contactPhone", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
56
|
+
__metadata("design:type", String)
|
|
57
|
+
], LeadsData.prototype, "campaign", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
60
|
+
__metadata("design:type", String)
|
|
61
|
+
], LeadsData.prototype, "intent", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
64
|
+
__metadata("design:type", String)
|
|
65
|
+
], LeadsData.prototype, "shoppingCartId", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
68
|
+
__metadata("design:type", Number)
|
|
69
|
+
], LeadsData.prototype, "customerId", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
72
|
+
__metadata("design:type", Number)
|
|
73
|
+
], LeadsData.prototype, "billingAccountId", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
76
|
+
__metadata("design:type", Number)
|
|
77
|
+
], LeadsData.prototype, "coberturaId", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
80
|
+
__metadata("design:type", Number)
|
|
81
|
+
], LeadsData.prototype, "addressId", void 0);
|
|
82
|
+
__decorate([
|
|
83
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
84
|
+
__metadata("design:type", Number)
|
|
85
|
+
], LeadsData.prototype, "coberturaPisoPortaId", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
88
|
+
__metadata("design:type", Number)
|
|
89
|
+
], LeadsData.prototype, "apartmentId", void 0);
|
|
90
|
+
__decorate([
|
|
91
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
92
|
+
__metadata("design:type", String)
|
|
93
|
+
], LeadsData.prototype, "email", void 0);
|
|
94
|
+
__decorate([
|
|
95
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
96
|
+
__metadata("design:type", String)
|
|
97
|
+
], LeadsData.prototype, "cifNumber", void 0);
|
|
98
|
+
__decorate([
|
|
99
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
100
|
+
__metadata("design:type", String)
|
|
101
|
+
], LeadsData.prototype, "cifType", void 0);
|
|
102
|
+
__decorate([
|
|
103
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
104
|
+
__metadata("design:type", String)
|
|
105
|
+
], LeadsData.prototype, "cifCountry", void 0);
|
|
106
|
+
__decorate([
|
|
107
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
108
|
+
__metadata("design:type", String)
|
|
109
|
+
], LeadsData.prototype, "birthDate", void 0);
|
|
110
|
+
__decorate([
|
|
111
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
112
|
+
__metadata("design:type", String)
|
|
113
|
+
], LeadsData.prototype, "title", void 0);
|
|
114
|
+
__decorate([
|
|
115
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
116
|
+
__metadata("design:type", String)
|
|
117
|
+
], LeadsData.prototype, "firstName", void 0);
|
|
118
|
+
__decorate([
|
|
119
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
120
|
+
__metadata("design:type", String)
|
|
121
|
+
], LeadsData.prototype, "lastName", void 0);
|
|
122
|
+
__decorate([
|
|
123
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
124
|
+
__metadata("design:type", String)
|
|
125
|
+
], LeadsData.prototype, "token", void 0);
|
|
126
|
+
__decorate([
|
|
127
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
128
|
+
__metadata("design:type", String)
|
|
129
|
+
], LeadsData.prototype, "googleStreet", void 0);
|
|
130
|
+
__decorate([
|
|
131
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
132
|
+
__metadata("design:type", String)
|
|
133
|
+
], LeadsData.prototype, "googleLatitude", void 0);
|
|
134
|
+
__decorate([
|
|
135
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
136
|
+
__metadata("design:type", String)
|
|
137
|
+
], LeadsData.prototype, "googleLongitude", void 0);
|
|
138
|
+
__decorate([
|
|
139
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
140
|
+
__metadata("design:type", String)
|
|
141
|
+
], LeadsData.prototype, "search", void 0);
|
|
142
|
+
__decorate([
|
|
143
|
+
(0, typeorm_1.Column)({ nullable: false, type: 'datetime', default: Date.now() }),
|
|
144
|
+
__metadata("design:type", String)
|
|
145
|
+
], LeadsData.prototype, "createdAt", void 0);
|
|
146
|
+
__decorate([
|
|
147
|
+
(0, typeorm_1.Column)({ nullable: true, type: 'longtext' }),
|
|
148
|
+
__metadata("design:type", String)
|
|
149
|
+
], LeadsData.prototype, "notes", void 0);
|
|
150
|
+
__decorate([
|
|
151
|
+
(0, typeorm_1.Column)({ nullable: true, type: 'longtext' }),
|
|
152
|
+
__metadata("design:type", String)
|
|
153
|
+
], LeadsData.prototype, "internalNotes", void 0);
|
|
154
|
+
__decorate([
|
|
155
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
156
|
+
__metadata("design:type", String)
|
|
157
|
+
], LeadsData.prototype, "callbackLeadId", void 0);
|
|
158
|
+
__decorate([
|
|
159
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
160
|
+
__metadata("design:type", String)
|
|
161
|
+
], LeadsData.prototype, "tradingName", void 0);
|
|
162
|
+
__decorate([
|
|
163
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
164
|
+
__metadata("design:type", String)
|
|
165
|
+
], LeadsData.prototype, "legalName", void 0);
|
|
166
|
+
__decorate([
|
|
167
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
168
|
+
__metadata("design:type", String)
|
|
169
|
+
], LeadsData.prototype, "industryType", void 0);
|
|
170
|
+
__decorate([
|
|
171
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
172
|
+
__metadata("design:type", String)
|
|
173
|
+
], LeadsData.prototype, "customerType", void 0);
|
|
174
|
+
__decorate([
|
|
175
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
176
|
+
__metadata("design:type", String)
|
|
177
|
+
], LeadsData.prototype, "companyType", void 0);
|
|
178
|
+
__decorate([
|
|
179
|
+
(0, typeorm_1.Column)({ nullable: true, type: 'tinyint' }),
|
|
180
|
+
__metadata("design:type", Boolean)
|
|
181
|
+
], LeadsData.prototype, "legalEntity", void 0);
|
|
182
|
+
__decorate([
|
|
183
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
184
|
+
__metadata("design:type", String)
|
|
185
|
+
], LeadsData.prototype, "deliveryMethod", void 0);
|
|
186
|
+
__decorate([
|
|
187
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
188
|
+
__metadata("design:type", String)
|
|
189
|
+
], LeadsData.prototype, "contactType", void 0);
|
|
190
|
+
__decorate([
|
|
191
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
192
|
+
__metadata("design:type", String)
|
|
193
|
+
], LeadsData.prototype, "billingAddress", void 0);
|
|
194
|
+
__decorate([
|
|
195
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
196
|
+
__metadata("design:type", String)
|
|
197
|
+
], LeadsData.prototype, "postalAddress", void 0);
|
|
198
|
+
__decorate([
|
|
199
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
200
|
+
__metadata("design:type", String)
|
|
201
|
+
], LeadsData.prototype, "serviceAddress", void 0);
|
|
202
|
+
__decorate([
|
|
203
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
204
|
+
__metadata("design:type", String)
|
|
205
|
+
], LeadsData.prototype, "selectedBundle", void 0);
|
|
206
|
+
__decorate([
|
|
207
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
208
|
+
__metadata("design:type", String)
|
|
209
|
+
], LeadsData.prototype, "businessSize", void 0);
|
|
210
|
+
__decorate([
|
|
211
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
212
|
+
__metadata("design:type", String)
|
|
213
|
+
], LeadsData.prototype, "iban", void 0);
|
|
214
|
+
__decorate([
|
|
215
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
216
|
+
__metadata("design:type", String)
|
|
217
|
+
], LeadsData.prototype, "identificationType", void 0);
|
|
218
|
+
__decorate([
|
|
219
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
220
|
+
__metadata("design:type", String)
|
|
221
|
+
], LeadsData.prototype, "identificationCountry", void 0);
|
|
222
|
+
__decorate([
|
|
223
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
224
|
+
__metadata("design:type", String)
|
|
225
|
+
], LeadsData.prototype, "identificationNumber", void 0);
|
|
226
|
+
__decorate([
|
|
227
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
228
|
+
__metadata("design:type", String)
|
|
229
|
+
], LeadsData.prototype, "billingFirstName", void 0);
|
|
230
|
+
__decorate([
|
|
231
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
232
|
+
__metadata("design:type", String)
|
|
233
|
+
], LeadsData.prototype, "billingLastName", void 0);
|
|
234
|
+
__decorate([
|
|
235
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
236
|
+
__metadata("design:type", String)
|
|
237
|
+
], LeadsData.prototype, "utmContent", void 0);
|
|
238
|
+
__decorate([
|
|
239
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
240
|
+
__metadata("design:type", String)
|
|
241
|
+
], LeadsData.prototype, "utmCampaign", void 0);
|
|
242
|
+
__decorate([
|
|
243
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
244
|
+
__metadata("design:type", String)
|
|
245
|
+
], LeadsData.prototype, "utmMedium", void 0);
|
|
246
|
+
__decorate([
|
|
247
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
248
|
+
__metadata("design:type", String)
|
|
249
|
+
], LeadsData.prototype, "utmSource", void 0);
|
|
250
|
+
__decorate([
|
|
251
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
252
|
+
__metadata("design:type", String)
|
|
253
|
+
], LeadsData.prototype, "callType", void 0);
|
|
254
|
+
__decorate([
|
|
255
|
+
(0, typeorm_1.Column)({ nullable: true, type: 'tinyint' }),
|
|
256
|
+
__metadata("design:type", Number)
|
|
257
|
+
], LeadsData.prototype, "ambassador", void 0);
|
|
258
|
+
__decorate([
|
|
259
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
260
|
+
__metadata("design:type", Number)
|
|
261
|
+
], LeadsData.prototype, "fiberhoodId", void 0);
|
|
262
|
+
__decorate([
|
|
263
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
264
|
+
__metadata("design:type", String)
|
|
265
|
+
], LeadsData.prototype, "paymentMethodAdded", void 0);
|
|
266
|
+
__decorate([
|
|
267
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
268
|
+
__metadata("design:type", String)
|
|
269
|
+
], LeadsData.prototype, "smsResponse", void 0);
|
|
270
|
+
__decorate([
|
|
271
|
+
(0, typeorm_1.Column)({ nullable: true, type: 'tinyint' }),
|
|
272
|
+
__metadata("design:type", Boolean)
|
|
273
|
+
], LeadsData.prototype, "smsVerified", void 0);
|
|
274
|
+
__decorate([
|
|
275
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
276
|
+
__metadata("design:type", String)
|
|
277
|
+
], LeadsData.prototype, "smsPDF", void 0);
|
|
278
|
+
__decorate([
|
|
279
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
280
|
+
__metadata("design:type", String)
|
|
281
|
+
], LeadsData.prototype, "smsSentAt", void 0);
|
|
282
|
+
__decorate([
|
|
283
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
284
|
+
__metadata("design:type", String)
|
|
285
|
+
], LeadsData.prototype, "smsPhone", void 0);
|
|
286
|
+
__decorate([
|
|
287
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
288
|
+
__metadata("design:type", String)
|
|
289
|
+
], LeadsData.prototype, "fiberhoodStatus", void 0);
|
|
290
|
+
__decorate([
|
|
291
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
292
|
+
__metadata("design:type", String)
|
|
293
|
+
], LeadsData.prototype, "nearestCoverageDistance", void 0);
|
|
294
|
+
__decorate([
|
|
295
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
296
|
+
__metadata("design:type", String)
|
|
297
|
+
], LeadsData.prototype, "nearestCoverageId", void 0);
|
|
298
|
+
__decorate([
|
|
299
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
300
|
+
__metadata("design:type", String)
|
|
301
|
+
], LeadsData.prototype, "googleProvince", void 0);
|
|
302
|
+
__decorate([
|
|
303
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
304
|
+
__metadata("design:type", String)
|
|
305
|
+
], LeadsData.prototype, "googleZip", void 0);
|
|
306
|
+
__decorate([
|
|
307
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
308
|
+
__metadata("design:type", String)
|
|
309
|
+
], LeadsData.prototype, "googleCity", void 0);
|
|
310
|
+
__decorate([
|
|
311
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
312
|
+
__metadata("design:type", String)
|
|
313
|
+
], LeadsData.prototype, "customerAccountBehaviour", void 0);
|
|
314
|
+
LeadsData = __decorate([
|
|
315
|
+
(0, typeorm_1.Entity)({ name: 'leads-data' })
|
|
316
|
+
], LeadsData);
|
|
317
|
+
exports.LeadsData = LeadsData;
|