adamo-types 1.1.53 → 1.1.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bss/bearingpoint/shopping-cart/shopping-cart.entity.d.ts +1 -1
- package/dist/bss/bearingpoint/shopping-cart/shopping-cart.entity.js +3 -4
- package/dist/common/constants/error.constants.d.ts +2 -0
- package/dist/common/constants/error.constants.js +3 -1
- package/dist/common/edge-bss/billing/req/create.entity.d.ts +2 -2
- package/dist/common/edge-bss/billing/req/create.entity.js +2 -2
- package/dist/common/edge-bss/customer/req/create.entity.d.ts +1 -1
- package/dist/common/edge-bss/customer/req/create.entity.js +1 -1
- package/dist/common/edge-bss/product/res/other.entity.d.ts +2 -0
- package/dist/common/edge-bss/product/res/other.entity.js +1 -1
- package/dist/common/edge-bss/shopping-cart/req/create.entity.d.ts +1 -1
- package/dist/common/edge-bss/shopping-cart/req/create.entity.js +1 -1
- package/dist/common/edge-zoho/sale-process/req/create.entity.js +1 -2
- package/dist/common/edge-zoho/sale-process/req/patch.entity.js +4 -0
- package/dist/common/edge-zoho/sale-process/res/other.entity.d.ts +3 -0
- package/dist/common/edge-zoho/sale-process/res/other.entity.js +7 -1
- package/dist/common/entities/rest.entity.d.ts +4 -1
- package/dist/common/entities/rest.entity.js +8 -2
- package/dist/database/index.d.ts +2 -0
- package/dist/database/index.js +2 -0
- package/dist/database/lead.entity.d.ts +84 -8
- package/dist/database/lead.entity.js +304 -9
- package/dist/database/leads-additional-contact-medium.entity.d.ts +8 -0
- package/dist/database/leads-additional-contact-medium.entity.js +52 -0
- package/dist/database/leads-additional-contact.entity.d.ts +11 -0
- package/dist/database/leads-additional-contact.entity.js +56 -0
- package/dist/database/leads-data.entity.d.ts +1 -5
- package/dist/database/leads-data.entity.js +3 -11
- package/dist/database/leads-file.entity.d.ts +1 -1
- package/dist/database/leads-file.entity.js +1 -1
- package/dist/sys03/sale-process/internal/internal.entity.d.ts +22 -1
- package/dist/sys03/sale-process/internal/internal.entity.js +13 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/zoho/sale-process/additonal-contact-medium.entity.d.ts +2 -1
- package/dist/zoho/sale-process/additonal-contact-medium.entity.js +1 -1
- package/dist/zoho/sale-process/additonal-contact.entity.d.ts +2 -1
- package/dist/zoho/sale-process/additonal-contact.entity.js +1 -1
- package/dist/zoho/sale-process/billing-info.entity.d.ts +1 -1
- package/dist/zoho/sale-process/billing-info.entity.js +3 -4
- package/dist/zoho/sale-process/customer.entity.d.ts +1 -1
- package/dist/zoho/sale-process/customer.entity.js +3 -4
- package/dist/zoho/sale-process/file.entity.d.ts +2 -1
- package/dist/zoho/sale-process/file.entity.js +1 -1
- package/dist/zoho/sale-process/sale-process.entity.d.ts +1 -1
- package/dist/zoho/sale-process/sale-process.entity.js +4 -4
- package/package.json +1 -1
|
@@ -17,7 +17,7 @@ const _1 = require(".");
|
|
|
17
17
|
const shopping_cart_product_entity_1 = require("./shopping-cart-product.entity");
|
|
18
18
|
class ShoppingCartDto {
|
|
19
19
|
static _OPENAPI_METADATA_FACTORY() {
|
|
20
|
-
return { id: { required: false, type: () => String }, channel: { required: false, type: () => String }, products: { required: false, type: () => [require("./shopping-cart-product.entity").ShoppingCartProductDto] }, billingAccount: { required: false, type: () =>
|
|
20
|
+
return { id: { required: false, type: () => String }, channel: { required: false, type: () => String }, products: { required: false, type: () => [require("./shopping-cart-product.entity").ShoppingCartProductDto] }, billingAccount: { required: false, type: () => Number }, parameters: { required: false, type: () => require("./shopping-cart-parameters.entity").ShoppingCartParametersDto } };
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
__decorate([
|
|
@@ -33,10 +33,9 @@ __decorate([
|
|
|
33
33
|
__metadata("design:type", Array)
|
|
34
34
|
], ShoppingCartDto.prototype, "products", void 0);
|
|
35
35
|
__decorate([
|
|
36
|
-
(0, class_validator_1.
|
|
37
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
36
|
+
(0, class_validator_1.IsInt)(),
|
|
38
37
|
(0, class_validator_1.IsOptional)(),
|
|
39
|
-
__metadata("design:type",
|
|
38
|
+
__metadata("design:type", Number)
|
|
40
39
|
], ShoppingCartDto.prototype, "billingAccount", void 0);
|
|
41
40
|
__decorate([
|
|
42
41
|
(0, class_validator_1.IsObject)(),
|
|
@@ -100,3 +100,5 @@ export declare const E_FETCH_USER_CHANNELS = "E_FETCH_USER_CHANNELS";
|
|
|
100
100
|
export declare const E_UPLOAD_SALE_PROCESS_CONTRACT = "E_UPLOAD_SALE_PROCESS_CONTRACT";
|
|
101
101
|
export declare const E_TOO_MANY_REQUESTS = "E_TOO_MANY_REQUESTS";
|
|
102
102
|
export declare const E_LOGIN_MAX_ATTEMPTS_REACHED = "E_LOGIN_MAX_ATTEMPTS_REACHED";
|
|
103
|
+
export declare const E_LEAD_NOT_FOUND = "E_LEAD_NOT_FOUND";
|
|
104
|
+
export declare const E_LEAD_FILE_NOT_FOUND = "E_LEAD_FILE_NOT_FOUND";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
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_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_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
4
|
exports.E_UPLOAD_SALE_PROCESS_CONTRACT = exports.E_FETCH_USER_CHANNELS = exports.E_UNAUTHORIZED = exports.E_USER_WITHOUT_CHANNELS = 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 = 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_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 = void 0;
|
|
5
|
-
exports.E_LOGIN_MAX_ATTEMPTS_REACHED = exports.E_TOO_MANY_REQUESTS = void 0;
|
|
5
|
+
exports.E_LEAD_FILE_NOT_FOUND = exports.E_LEAD_NOT_FOUND = exports.E_LOGIN_MAX_ATTEMPTS_REACHED = exports.E_TOO_MANY_REQUESTS = void 0;
|
|
6
6
|
exports.E_LOGIN = 'E_LOGIN';
|
|
7
7
|
exports.E_ASSIGN_CHANNELS = 'E_ASSIGN_CHANNELS';
|
|
8
8
|
exports.E_UPDATE_PASSWORD = 'E_UPDATE_PASSWORD';
|
|
@@ -105,3 +105,5 @@ exports.E_FETCH_USER_CHANNELS = 'E_FETCH_USER_CHANNELS';
|
|
|
105
105
|
exports.E_UPLOAD_SALE_PROCESS_CONTRACT = 'E_UPLOAD_SALE_PROCESS_CONTRACT';
|
|
106
106
|
exports.E_TOO_MANY_REQUESTS = 'E_TOO_MANY_REQUESTS';
|
|
107
107
|
exports.E_LOGIN_MAX_ATTEMPTS_REACHED = 'E_LOGIN_MAX_ATTEMPTS_REACHED';
|
|
108
|
+
exports.E_LEAD_NOT_FOUND = 'E_LEAD_NOT_FOUND';
|
|
109
|
+
exports.E_LEAD_FILE_NOT_FOUND = 'E_LEAD_FILE_NOT_FOUND';
|
|
@@ -2,7 +2,7 @@ import { DeliveryMethod, PaymentMethodType, PreferredLanguage, Timezone } from '
|
|
|
2
2
|
export declare class ArsBillingAccountDto {
|
|
3
3
|
preferredLanguage?: PreferredLanguage;
|
|
4
4
|
timezone?: Timezone;
|
|
5
|
-
customerAccount:
|
|
5
|
+
customerAccount: number;
|
|
6
6
|
deliveryMethod: DeliveryMethod;
|
|
7
7
|
billingCycle: string;
|
|
8
8
|
firstName: string;
|
|
@@ -11,7 +11,7 @@ export declare class ArsBillingAccountDto {
|
|
|
11
11
|
}
|
|
12
12
|
export declare class ArsPaymentMethodDto {
|
|
13
13
|
type: PaymentMethodType;
|
|
14
|
-
billingAccount:
|
|
14
|
+
billingAccount: number;
|
|
15
15
|
iban: string;
|
|
16
16
|
owner: string;
|
|
17
17
|
}
|
|
@@ -4,13 +4,13 @@ exports.FetchBillPayload = exports.ArsPaymentMethodDto = exports.ArsBillingAccou
|
|
|
4
4
|
const openapi = require("@nestjs/swagger");
|
|
5
5
|
class ArsBillingAccountDto {
|
|
6
6
|
static _OPENAPI_METADATA_FACTORY() {
|
|
7
|
-
return { preferredLanguage: { required: false, enum: require("../../../../bss/constants/bp.constants").PreferredLanguage }, timezone: { required: false, enum: require("../../../../bss/constants/bp.constants").Timezone }, customerAccount: { required: true, type: () =>
|
|
7
|
+
return { preferredLanguage: { required: false, enum: require("../../../../bss/constants/bp.constants").PreferredLanguage }, timezone: { required: false, enum: require("../../../../bss/constants/bp.constants").Timezone }, customerAccount: { required: true, type: () => Number }, deliveryMethod: { required: true, enum: require("../../../../bss/constants/bp.constants").DeliveryMethod }, billingCycle: { required: true, type: () => String }, firstName: { required: true, type: () => String }, lastName: { required: true, type: () => String }, deliveryAddress: { required: true, type: () => String } };
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
exports.ArsBillingAccountDto = ArsBillingAccountDto;
|
|
11
11
|
class ArsPaymentMethodDto {
|
|
12
12
|
static _OPENAPI_METADATA_FACTORY() {
|
|
13
|
-
return { type: { required: true, type: () => String, enum: require("../../../../bss/constants/bp.constants").PaymentMethodType }, billingAccount: { required: true, type: () =>
|
|
13
|
+
return { type: { required: true, type: () => String, enum: require("../../../../bss/constants/bp.constants").PaymentMethodType }, billingAccount: { required: true, type: () => Number }, iban: { required: true, type: () => String }, owner: { required: true, type: () => String } };
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
exports.ArsPaymentMethodDto = ArsPaymentMethodDto;
|
|
@@ -4,7 +4,7 @@ export declare class ArsCustomerAccountDto {
|
|
|
4
4
|
preferredLanguage?: PreferredLanguage;
|
|
5
5
|
timezone?: Timezone;
|
|
6
6
|
channel: string;
|
|
7
|
-
billingAccount?:
|
|
7
|
+
billingAccount?: number;
|
|
8
8
|
companyType?: CustomerAccountOrganizationEntityType;
|
|
9
9
|
relatedParties?: BpRelatedPartyDto[];
|
|
10
10
|
}
|
|
@@ -4,7 +4,7 @@ exports.ArsCustomerAccountDocumentDto = exports.ArsCustomerAccountHistoryDto = e
|
|
|
4
4
|
const openapi = require("@nestjs/swagger");
|
|
5
5
|
class ArsCustomerAccountDto {
|
|
6
6
|
static _OPENAPI_METADATA_FACTORY() {
|
|
7
|
-
return { preferredLanguage: { required: false, enum: require("../../../../bss/constants/bp.constants").PreferredLanguage }, timezone: { required: false, enum: require("../../../../bss/constants/bp.constants").Timezone }, channel: { required: true, type: () => String }, billingAccount: { required: false, type: () =>
|
|
7
|
+
return { preferredLanguage: { required: false, enum: require("../../../../bss/constants/bp.constants").PreferredLanguage }, timezone: { required: false, enum: require("../../../../bss/constants/bp.constants").Timezone }, channel: { required: true, type: () => String }, billingAccount: { required: false, type: () => Number }, companyType: { required: false, enum: require("../../../../bss/constants/bp.constants").CustomerAccountOrganizationEntityType }, relatedParties: { required: false, type: () => [require("../../../../bss/bearingpoint/customer/related-party.entity").BpRelatedPartyDto] } };
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
exports.ArsCustomerAccountDto = ArsCustomerAccountDto;
|
|
@@ -34,7 +34,7 @@ class ProductSummaryProductResDto {
|
|
|
34
34
|
exports.ProductSummaryProductResDto = ProductSummaryProductResDto;
|
|
35
35
|
class ProductSummaryCharacteristicResDto {
|
|
36
36
|
static _OPENAPI_METADATA_FACTORY() {
|
|
37
|
-
return { name: { required: true, type: () => String }, displayName: { required: true, type: () => String }, defaultActive: { required: true, type: () => Boolean }, amount: { required: true, type: () => Number } };
|
|
37
|
+
return { name: { required: true, type: () => String }, displayName: { required: true, type: () => String }, defaultActive: { required: true, type: () => Boolean }, amount: { required: true, type: () => Number }, months: { required: false, type: () => Number }, frequency: { required: false, type: () => Number } };
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
exports.ProductSummaryCharacteristicResDto = ProductSummaryCharacteristicResDto;
|
|
@@ -4,7 +4,7 @@ exports.ShoppingCartCreateDto = void 0;
|
|
|
4
4
|
const openapi = require("@nestjs/swagger");
|
|
5
5
|
class ShoppingCartCreateDto {
|
|
6
6
|
static _OPENAPI_METADATA_FACTORY() {
|
|
7
|
-
return { channel: { required: true, type: () => String }, products: { required: false, type: () => [require("../../../../bss/bearingpoint/shopping-cart/shopping-cart-product.entity").ShoppingCartProductDto] }, parameters: { required: false, type: () => require("../../../../bss/bearingpoint/shopping-cart/shopping-cart-parameters.entity").ShoppingCartParametersDto }, billingAccount: { required: false, type: () =>
|
|
7
|
+
return { channel: { required: true, type: () => String }, products: { required: false, type: () => [require("../../../../bss/bearingpoint/shopping-cart/shopping-cart-product.entity").ShoppingCartProductDto] }, parameters: { required: false, type: () => require("../../../../bss/bearingpoint/shopping-cart/shopping-cart-parameters.entity").ShoppingCartParametersDto }, billingAccount: { required: false, type: () => Number } };
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
exports.ShoppingCartCreateDto = ShoppingCartCreateDto;
|
|
@@ -77,8 +77,7 @@ class ArsSaleProcessAdditionalContactMediumDto {
|
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
__decorate([
|
|
80
|
-
(0, class_validator_1.
|
|
81
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
80
|
+
(0, class_validator_1.IsInt)(),
|
|
82
81
|
(0, class_validator_1.IsOptional)(),
|
|
83
82
|
__metadata("design:type", String)
|
|
84
83
|
], ArsSaleProcessAdditionalContactMediumDto.prototype, "id", void 0);
|
|
@@ -339,6 +339,10 @@ class PartialAddressSelectedDto {
|
|
|
339
339
|
return { coberturaId: { required: true, type: () => String } };
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
|
+
__decorate([
|
|
343
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
344
|
+
__metadata("design:type", String)
|
|
345
|
+
], PartialAddressSelectedDto.prototype, "coberturaId", void 0);
|
|
342
346
|
exports.PartialAddressSelectedDto = PartialAddressSelectedDto;
|
|
343
347
|
class PartialApartmentSelectedDto {
|
|
344
348
|
static _OPENAPI_METADATA_FACTORY() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DashboardDto = void 0;
|
|
3
|
+
exports.DashboardCountDto = exports.DashboardDto = void 0;
|
|
4
4
|
const openapi = require("@nestjs/swagger");
|
|
5
5
|
class DashboardDto {
|
|
6
6
|
static _OPENAPI_METADATA_FACTORY() {
|
|
@@ -8,3 +8,9 @@ class DashboardDto {
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
exports.DashboardDto = DashboardDto;
|
|
11
|
+
class DashboardCountDto {
|
|
12
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
13
|
+
return { count: { required: true, type: () => Number } };
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.DashboardCountDto = DashboardCountDto;
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CreatedIdDto = void 0;
|
|
3
|
+
exports.AlterDto = exports.CreatedIdDto = void 0;
|
|
4
4
|
const openapi = require("@nestjs/swagger");
|
|
5
5
|
class CreatedIdDto {
|
|
6
6
|
static _OPENAPI_METADATA_FACTORY() {
|
|
7
|
-
return { id: { required: true, type: () =>
|
|
7
|
+
return { id: { required: true, type: () => Object } };
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
exports.CreatedIdDto = CreatedIdDto;
|
|
11
|
+
class AlterDto {
|
|
12
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
13
|
+
return { rowsAffected: { required: true, type: () => Number } };
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.AlterDto = AlterDto;
|
package/dist/database/index.d.ts
CHANGED
|
@@ -7,6 +7,8 @@ export * from './channel.entity';
|
|
|
7
7
|
export * from './blacklist-address.entity';
|
|
8
8
|
export * from './provision-db.entity';
|
|
9
9
|
export * from './lead.entity';
|
|
10
|
+
export * from './leads-additional-contact.entity';
|
|
11
|
+
export * from './leads-additional-contact-medium.entity';
|
|
10
12
|
export * from './leads-data.entity';
|
|
11
13
|
export * from './acl/user.entity';
|
|
12
14
|
export * from './leads-file.entity';
|
package/dist/database/index.js
CHANGED
|
@@ -23,6 +23,8 @@ __exportStar(require("./channel.entity"), exports);
|
|
|
23
23
|
__exportStar(require("./blacklist-address.entity"), exports);
|
|
24
24
|
__exportStar(require("./provision-db.entity"), exports);
|
|
25
25
|
__exportStar(require("./lead.entity"), exports);
|
|
26
|
+
__exportStar(require("./leads-additional-contact.entity"), exports);
|
|
27
|
+
__exportStar(require("./leads-additional-contact-medium.entity"), exports);
|
|
26
28
|
__exportStar(require("./leads-data.entity"), exports);
|
|
27
29
|
__exportStar(require("./acl/user.entity"), exports);
|
|
28
30
|
__exportStar(require("./leads-file.entity"), exports);
|
|
@@ -1,12 +1,88 @@
|
|
|
1
|
+
import { LeadsAdditionalContact } from './leads-additional-contact.entity';
|
|
2
|
+
import { LeadsData } from './leads-data.entity';
|
|
3
|
+
import { LeadsFile } from './leads-file.entity';
|
|
1
4
|
export declare class Lead {
|
|
2
|
-
id
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
id?: number;
|
|
6
|
+
data?: LeadsData[];
|
|
7
|
+
files?: LeadsFile[];
|
|
8
|
+
additionalContacts?: LeadsAdditionalContact[];
|
|
9
|
+
phone?: string;
|
|
10
|
+
channel?: string;
|
|
11
|
+
user?: string;
|
|
12
|
+
userIp?: string;
|
|
13
|
+
source?: string;
|
|
14
|
+
softDeleted?: boolean;
|
|
15
|
+
createdAt?: string;
|
|
16
|
+
updatedAt?: string;
|
|
6
17
|
softDeletedBy?: string;
|
|
7
18
|
softDeletedAt?: string;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
19
|
+
updateByUser?: string;
|
|
20
|
+
updateByUserIp?: string;
|
|
21
|
+
updateByUserChannel?: string;
|
|
22
|
+
scoring?: number;
|
|
23
|
+
status?: string;
|
|
24
|
+
contactPhone?: string;
|
|
25
|
+
campaign?: string;
|
|
26
|
+
intent?: string;
|
|
27
|
+
shoppingCartId?: string;
|
|
28
|
+
customerId?: number;
|
|
29
|
+
billingAccountId?: number;
|
|
30
|
+
coberturaId?: string;
|
|
31
|
+
coberturaPisoPortaId?: string;
|
|
32
|
+
email?: string;
|
|
33
|
+
cifNumber?: string;
|
|
34
|
+
cifType?: string;
|
|
35
|
+
cifCountry?: string;
|
|
36
|
+
birthDate?: string;
|
|
37
|
+
title?: string;
|
|
38
|
+
firstName?: string;
|
|
39
|
+
lastName?: string;
|
|
40
|
+
token?: string;
|
|
41
|
+
googleStreet?: string;
|
|
42
|
+
googleLatitude?: string;
|
|
43
|
+
googleLongitude?: string;
|
|
44
|
+
search?: string;
|
|
45
|
+
searchType?: string;
|
|
46
|
+
notes?: string;
|
|
47
|
+
internalNotes?: string;
|
|
48
|
+
callbackLeadId?: string;
|
|
49
|
+
tradingName?: string;
|
|
50
|
+
legalName?: string;
|
|
51
|
+
industryType?: string;
|
|
52
|
+
customerType?: string;
|
|
53
|
+
companyType?: string;
|
|
54
|
+
legalEntity?: boolean;
|
|
55
|
+
deliveryMethod?: string;
|
|
56
|
+
contactType?: string;
|
|
57
|
+
billingAddress?: string;
|
|
58
|
+
postalAddress?: string;
|
|
59
|
+
serviceAddress?: string;
|
|
60
|
+
selectedBundle?: string;
|
|
61
|
+
businessSize?: string;
|
|
62
|
+
iban?: string;
|
|
63
|
+
identificationType?: string;
|
|
64
|
+
identificationCountry?: string;
|
|
65
|
+
identificationNumber?: string;
|
|
66
|
+
billingFirstName?: string;
|
|
67
|
+
billingLastName?: string;
|
|
68
|
+
utmContent?: string;
|
|
69
|
+
utmCampaign?: string;
|
|
70
|
+
utmMedium?: string;
|
|
71
|
+
utmSource?: string;
|
|
72
|
+
callType?: string;
|
|
73
|
+
ambassador?: number;
|
|
74
|
+
fiberhoodId?: number;
|
|
75
|
+
paymentMethodAdded?: string;
|
|
76
|
+
smsResponse?: string;
|
|
77
|
+
smsVerified?: boolean;
|
|
78
|
+
smsPDF?: string;
|
|
79
|
+
smsSentAt?: string;
|
|
80
|
+
smsPhone?: string;
|
|
81
|
+
fiberhoodStatus?: string;
|
|
82
|
+
nearestCoverageDistance?: string;
|
|
83
|
+
nearestCoverageId?: string;
|
|
84
|
+
googleProvince?: string;
|
|
85
|
+
googleZip?: string;
|
|
86
|
+
googleCity?: string;
|
|
87
|
+
customerAccountBehaviour?: string;
|
|
12
88
|
}
|