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.
Files changed (46) hide show
  1. package/dist/bss/bearingpoint/shopping-cart/shopping-cart.entity.d.ts +1 -1
  2. package/dist/bss/bearingpoint/shopping-cart/shopping-cart.entity.js +3 -4
  3. package/dist/common/constants/error.constants.d.ts +2 -0
  4. package/dist/common/constants/error.constants.js +3 -1
  5. package/dist/common/edge-bss/billing/req/create.entity.d.ts +2 -2
  6. package/dist/common/edge-bss/billing/req/create.entity.js +2 -2
  7. package/dist/common/edge-bss/customer/req/create.entity.d.ts +1 -1
  8. package/dist/common/edge-bss/customer/req/create.entity.js +1 -1
  9. package/dist/common/edge-bss/product/res/other.entity.d.ts +2 -0
  10. package/dist/common/edge-bss/product/res/other.entity.js +1 -1
  11. package/dist/common/edge-bss/shopping-cart/req/create.entity.d.ts +1 -1
  12. package/dist/common/edge-bss/shopping-cart/req/create.entity.js +1 -1
  13. package/dist/common/edge-zoho/sale-process/req/create.entity.js +1 -2
  14. package/dist/common/edge-zoho/sale-process/req/patch.entity.js +4 -0
  15. package/dist/common/edge-zoho/sale-process/res/other.entity.d.ts +3 -0
  16. package/dist/common/edge-zoho/sale-process/res/other.entity.js +7 -1
  17. package/dist/common/entities/rest.entity.d.ts +4 -1
  18. package/dist/common/entities/rest.entity.js +8 -2
  19. package/dist/database/index.d.ts +2 -0
  20. package/dist/database/index.js +2 -0
  21. package/dist/database/lead.entity.d.ts +84 -8
  22. package/dist/database/lead.entity.js +304 -9
  23. package/dist/database/leads-additional-contact-medium.entity.d.ts +8 -0
  24. package/dist/database/leads-additional-contact-medium.entity.js +52 -0
  25. package/dist/database/leads-additional-contact.entity.d.ts +11 -0
  26. package/dist/database/leads-additional-contact.entity.js +56 -0
  27. package/dist/database/leads-data.entity.d.ts +1 -5
  28. package/dist/database/leads-data.entity.js +3 -11
  29. package/dist/database/leads-file.entity.d.ts +1 -1
  30. package/dist/database/leads-file.entity.js +1 -1
  31. package/dist/sys03/sale-process/internal/internal.entity.d.ts +22 -1
  32. package/dist/sys03/sale-process/internal/internal.entity.js +13 -1
  33. package/dist/tsconfig.build.tsbuildinfo +1 -1
  34. package/dist/zoho/sale-process/additonal-contact-medium.entity.d.ts +2 -1
  35. package/dist/zoho/sale-process/additonal-contact-medium.entity.js +1 -1
  36. package/dist/zoho/sale-process/additonal-contact.entity.d.ts +2 -1
  37. package/dist/zoho/sale-process/additonal-contact.entity.js +1 -1
  38. package/dist/zoho/sale-process/billing-info.entity.d.ts +1 -1
  39. package/dist/zoho/sale-process/billing-info.entity.js +3 -4
  40. package/dist/zoho/sale-process/customer.entity.d.ts +1 -1
  41. package/dist/zoho/sale-process/customer.entity.js +3 -4
  42. package/dist/zoho/sale-process/file.entity.d.ts +2 -1
  43. package/dist/zoho/sale-process/file.entity.js +1 -1
  44. package/dist/zoho/sale-process/sale-process.entity.d.ts +1 -1
  45. package/dist/zoho/sale-process/sale-process.entity.js +4 -4
  46. package/package.json +1 -1
@@ -4,6 +4,6 @@ export declare class ShoppingCartDto {
4
4
  id?: string;
5
5
  channel?: string;
6
6
  products?: ShoppingCartProductDto[];
7
- billingAccount?: string;
7
+ billingAccount?: number;
8
8
  parameters?: ShoppingCartParametersDto;
9
9
  }
@@ -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: () => String }, parameters: { required: false, type: () => require("./shopping-cart-parameters.entity").ShoppingCartParametersDto } };
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.IsString)(),
37
- (0, class_validator_1.IsNotEmpty)(),
36
+ (0, class_validator_1.IsInt)(),
38
37
  (0, class_validator_1.IsOptional)(),
39
- __metadata("design:type", String)
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: string;
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: string;
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: () => String }, 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 } };
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: () => String }, iban: { required: true, type: () => String }, owner: { required: true, type: () => String } };
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?: string;
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: () => String }, companyType: { required: false, enum: require("../../../../bss/constants/bp.constants").CustomerAccountOrganizationEntityType }, relatedParties: { required: false, type: () => [require("../../../../bss/bearingpoint/customer/related-party.entity").BpRelatedPartyDto] } };
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;
@@ -37,6 +37,8 @@ export declare class ProductSummaryCharacteristicResDto {
37
37
  displayName: string;
38
38
  defaultActive: boolean;
39
39
  amount: number;
40
+ months?: number;
41
+ frequency?: number;
40
42
  }
41
43
  export declare class ProductSummaryPriceResDto {
42
44
  total: number;
@@ -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;
@@ -3,5 +3,5 @@ export declare class ShoppingCartCreateDto {
3
3
  channel: string;
4
4
  products?: ShoppingCartProductDto[];
5
5
  parameters?: ShoppingCartParametersDto;
6
- billingAccount?: string;
6
+ billingAccount?: number;
7
7
  }
@@ -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: () => String } };
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.IsString)(),
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() {
@@ -3,3 +3,6 @@ export declare class DashboardDto {
3
3
  leads: SaleProcessDto[];
4
4
  total: number;
5
5
  }
6
+ export declare class DashboardCountDto {
7
+ count: number;
8
+ }
@@ -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,3 +1,6 @@
1
1
  export declare class CreatedIdDto {
2
- id: string;
2
+ id: string | number;
3
+ }
4
+ export declare class AlterDto {
5
+ rowsAffected: number;
3
6
  }
@@ -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: () => String } };
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;
@@ -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';
@@ -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: number;
3
- phone: string;
4
- channel: string;
5
- user: string;
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
- userIp?: string;
9
- source: string;
10
- softDeleted: boolean;
11
- createdAt: string;
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
  }