adamo-types 1.2.51 → 1.2.53-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.
Files changed (41) hide show
  1. package/dist/bss/bearingpoint/billing/customer-bill-details.entity.js +1 -1
  2. package/dist/bss/bearingpoint/shopping-cart/shopping-cart-recurring-currency-sum.entity.js +1 -1
  3. package/dist/bss/constants/bss.constants.js +0 -1
  4. package/dist/bss/customer/customer.entity.d.ts +2 -0
  5. package/dist/bss/customer/customer.entity.js +1 -1
  6. package/dist/common/edge-bss/address/req/create.entity.d.ts +4 -4
  7. package/dist/common/edge-bss/address/req/create.entity.js +39 -1
  8. package/dist/common/edge-bss/shopping-cart/req/other.entity.js +3 -3
  9. package/dist/common/edge-bss/shopping-cart/res/other.entity.js +1 -1
  10. package/dist/common/edge-sendgrid/mail/req/mail.entity.d.ts +1 -1
  11. package/dist/common/edge-zoho/sale-process/req/create.entity.js +1 -1
  12. package/dist/common/edge-zoho/sale-process/req/other.entity.js +1 -1
  13. package/dist/common/edge-zoho/sale-process/req/patch.entity.d.ts +5 -4
  14. package/dist/common/edge-zoho/sale-process/req/patch.entity.js +50 -8
  15. package/dist/common/edge-zoho/sale-process/res/other.entity.js +1 -1
  16. package/dist/database/lead.entity.d.ts +1 -0
  17. package/dist/database/lead.entity.js +5 -1
  18. package/dist/database/leads-data.entity.d.ts +2 -0
  19. package/dist/database/leads-data.entity.js +6 -2
  20. package/dist/digitel/pdf.entity.d.ts +1 -1
  21. package/dist/digitel/template.contract.entity.d.ts +3 -3
  22. package/dist/index.d.ts +1 -1
  23. package/dist/sys03/approval/approval.entity.js +2 -2
  24. package/dist/sys03/customer/customer-product.entity.js +5 -5
  25. package/dist/sys03/customer/customer.entity.d.ts +2 -0
  26. package/dist/sys03/customer/customer.entity.js +5 -5
  27. package/dist/sys03/customer-new-extras-process/customer-new-extras-process.entity.js +1 -1
  28. package/dist/sys03/customer-product-modification-process/customer-product-modification-process.entity.js +1 -1
  29. package/dist/sys03/customer-product-transition-process/customer-product-transition-process.entity.js +1 -1
  30. package/dist/sys03/sale-process/internal/internal.entity.d.ts +1 -0
  31. package/dist/sys03/sale-process/internal/internal.entity.js +1 -1
  32. package/dist/tsconfig.build.tsbuildinfo +1 -1
  33. package/dist/zoho/sale-process/business-identification.entity.js +3 -0
  34. package/dist/zoho/sale-process/customer-identification.entity.js +3 -0
  35. package/dist/zoho/sale-process/customer.entity.d.ts +1 -0
  36. package/dist/zoho/sale-process/customer.entity.js +7 -1
  37. package/package.json +2 -2
  38. package/dist/admin/bill/csv-charges.entity.d.ts +0 -24
  39. package/dist/admin/bill/csv-charges.entity.js +0 -10
  40. package/dist/admin/bill/index.d.ts +0 -1
  41. package/dist/admin/bill/index.js +0 -17
@@ -16,7 +16,7 @@ const _validators_1 = require("../../../validators/index");
16
16
  const class_validator_1 = require("class-validator");
17
17
  class BpCustomerBillDetailsDto {
18
18
  static _OPENAPI_METADATA_FACTORY() {
19
- return { billingAccount: { required: false, type: () => String }, priceDisplayIncludingTax: { required: true, type: () => Boolean }, displayItemized: { required: true, type: () => Boolean }, deliveryMethod: { required: true, enum: require("../../constants/bp.constants").DeliveryMethod }, interval: { required: true, type: () => Number, minimum: 1, maximum: 12 }, startMonth: { required: false, type: () => String }, currency: { required: true, type: () => String }, validFor: { required: false, type: () => require("../common/common.entity").BpValidForDto } };
19
+ return { billingAccount: { required: false, type: () => String }, priceDisplayIncludingTax: { required: true, type: () => Boolean }, displayItemized: { required: true, type: () => Boolean }, deliveryMethod: { required: true, enum: require("../../constants/bp.constants").DeliveryMethod }, interval: { required: true, type: () => Number }, startMonth: { required: false, type: () => String }, currency: { required: true, type: () => String }, validFor: { required: false, type: () => require("../common/common.entity").BpValidForDto } };
20
20
  }
21
21
  }
22
22
  __decorate([
@@ -16,7 +16,7 @@ const class_validator_1 = require("class-validator");
16
16
  const shopping_cart_currency_sum_entity_1 = require("./shopping-cart-currency-sum.entity");
17
17
  class ShoppingCartRecurringCurrencySumDto {
18
18
  static _OPENAPI_METADATA_FACTORY() {
19
- return { frequency: { required: true, type: () => Number, minimum: 1 }, currencySums: { required: true, type: () => [require("./shopping-cart-currency-sum.entity").ShoppingCartCurrencySumDto] } };
19
+ return { frequency: { required: true, type: () => Number }, currencySums: { required: true, type: () => [require("./shopping-cart-currency-sum.entity").ShoppingCartCurrencySumDto] } };
20
20
  }
21
21
  }
22
22
  __decorate([
@@ -84,7 +84,6 @@ exports.CacheKeyTypeTtl = {
84
84
  [CacheKeyType.BSS_INSTALMENT_CHARGE]: 0,
85
85
  [CacheKeyType.BSS_ONCE_ONLY_CHARGE]: 0,
86
86
  [CacheKeyType.BSS_RECURRING_CHARGE]: 0,
87
- [CacheKeyType.BSS_CUSTOMER]: 60 * 60,
88
87
  [CacheKeyType.BSS_SETTLEMENT]: 60 * 15,
89
88
  [CacheKeyType.BSS_TERMINATION_CHARGE]: 0,
90
89
  [CacheKeyType.BSS_SHOPPING_CART]: 60 * 60 * 24,
@@ -7,6 +7,7 @@ import { OrderDto } from '../order';
7
7
  import { BillDto } from '../billing';
8
8
  import { BaseTaskDto } from '../task';
9
9
  import { ChargeAndCreditDto } from '../charge';
10
+ import { ArsAddressDto } from '../../common/edge-bss';
10
11
  export interface CustomerAccountDocument {
11
12
  stream: PassThrough;
12
13
  fileName: string;
@@ -43,6 +44,7 @@ export declare class OrganizationPartyDto {
43
44
  }
44
45
  export declare class CustomerAccountDto {
45
46
  state: AccountState;
47
+ address?: ArsAddressDto;
46
48
  individual?: IndividualPartyDto;
47
49
  organization?: OrganizationPartyDto;
48
50
  }
@@ -29,7 +29,7 @@ class OrganizationPartyDto {
29
29
  exports.OrganizationPartyDto = OrganizationPartyDto;
30
30
  class CustomerAccountDto {
31
31
  static _OPENAPI_METADATA_FACTORY() {
32
- return { state: { required: true, enum: require("../constants/bp.constants").AccountState }, individual: { required: false, type: () => require("./customer.entity").IndividualPartyDto }, organization: { required: false, type: () => require("./customer.entity").OrganizationPartyDto } };
32
+ return { state: { required: true, enum: require("../constants/bp.constants").AccountState }, address: { required: false, type: () => require("../../common/edge-bss/address/req/create.entity").ArsAddressDto }, individual: { required: false, type: () => require("./customer.entity").IndividualPartyDto }, organization: { required: false, type: () => require("./customer.entity").OrganizationPartyDto } };
33
33
  }
34
34
  }
35
35
  exports.CustomerAccountDto = CustomerAccountDto;
@@ -7,10 +7,10 @@ export declare class ArsAddressDto {
7
7
  streetType: string;
8
8
  streetName: string;
9
9
  streetNumber: string;
10
- block: string;
11
- floor: string;
12
- door: string;
13
- entrance: string;
10
+ block?: string;
11
+ floor?: string;
12
+ door?: string;
13
+ entrance?: string;
14
14
  apartmentId?: string;
15
15
  serviceableStatus?: string;
16
16
  salesAreaId?: string;
@@ -21,7 +21,7 @@ class ArsAddressDto {
21
21
  this.entrance = '';
22
22
  }
23
23
  static _OPENAPI_METADATA_FACTORY() {
24
- return { id: { required: false, type: () => String }, country: { required: false, type: () => String }, postcode: { required: true, type: () => String, pattern: /^[0-9]{1,5}$/ }, province: { required: true, type: () => String }, city: { required: true, type: () => String }, streetType: { required: true, type: () => String }, streetName: { required: true, type: () => String }, streetNumber: { required: true, type: () => String }, block: { required: true, type: () => Object, default: '' }, floor: { required: true, type: () => Object, default: '' }, door: { required: true, type: () => Object, default: '' }, entrance: { required: true, type: () => Object, default: '' }, apartmentId: { required: false, type: () => String }, serviceableStatus: { required: false, type: () => String }, salesAreaId: { required: false, type: () => String }, projectCode: { required: false, type: () => String }, competition: { required: false, type: () => String } };
24
+ return { id: { required: false, type: () => String }, country: { required: false, type: () => String }, postcode: { required: true, type: () => String }, province: { required: true, type: () => String }, city: { required: true, type: () => String }, streetType: { required: true, type: () => String }, streetName: { required: true, type: () => String }, streetNumber: { required: true, type: () => String }, block: { required: false, type: () => Object, default: '' }, floor: { required: false, type: () => Object, default: '' }, door: { required: false, type: () => Object, default: '' }, entrance: { required: false, type: () => Object, default: '' }, apartmentId: { required: false, type: () => String }, serviceableStatus: { required: false, type: () => String }, salesAreaId: { required: false, type: () => String }, projectCode: { required: false, type: () => String }, competition: { required: false, type: () => String } };
25
25
  }
26
26
  }
27
27
  __decorate([
@@ -33,47 +33,85 @@ __decorate([
33
33
  }
34
34
  return value;
35
35
  }),
36
+ (0, class_transformer_1.Expose)(),
36
37
  __metadata("design:type", String)
37
38
  ], ArsAddressDto.prototype, "postcode", void 0);
38
39
  __decorate([
39
40
  (0, class_validator_1.IsString)(),
40
41
  (0, class_validator_1.IsNotEmpty)(),
42
+ (0, class_transformer_1.Expose)(),
41
43
  __metadata("design:type", String)
42
44
  ], ArsAddressDto.prototype, "province", void 0);
43
45
  __decorate([
44
46
  (0, class_validator_1.IsString)(),
45
47
  (0, class_validator_1.IsNotEmpty)(),
48
+ (0, class_transformer_1.Expose)(),
46
49
  __metadata("design:type", String)
47
50
  ], ArsAddressDto.prototype, "city", void 0);
48
51
  __decorate([
49
52
  (0, class_validator_1.IsString)(),
50
53
  (0, class_validator_1.IsNotEmpty)(),
54
+ (0, class_transformer_1.Expose)(),
51
55
  __metadata("design:type", String)
52
56
  ], ArsAddressDto.prototype, "streetType", void 0);
53
57
  __decorate([
54
58
  (0, class_validator_1.IsString)(),
55
59
  (0, class_validator_1.IsNotEmpty)(),
60
+ (0, class_transformer_1.Expose)(),
56
61
  __metadata("design:type", String)
57
62
  ], ArsAddressDto.prototype, "streetName", void 0);
58
63
  __decorate([
59
64
  (0, class_validator_1.IsString)(),
60
65
  (0, class_validator_1.IsNotEmpty)(),
66
+ (0, class_transformer_1.Expose)(),
61
67
  __metadata("design:type", String)
62
68
  ], ArsAddressDto.prototype, "streetNumber", void 0);
63
69
  __decorate([
64
70
  (0, class_validator_1.IsString)(),
71
+ (0, class_validator_1.IsOptional)(),
72
+ (0, class_transformer_1.Transform)(({ value }) => {
73
+ if (!value) {
74
+ return '';
75
+ }
76
+ return value;
77
+ }),
78
+ (0, class_transformer_1.Expose)(),
65
79
  __metadata("design:type", Object)
66
80
  ], ArsAddressDto.prototype, "block", void 0);
67
81
  __decorate([
68
82
  (0, class_validator_1.IsString)(),
83
+ (0, class_validator_1.IsOptional)(),
84
+ (0, class_transformer_1.Transform)(({ value }) => {
85
+ if (!value) {
86
+ return '';
87
+ }
88
+ return value;
89
+ }),
90
+ (0, class_transformer_1.Expose)(),
69
91
  __metadata("design:type", Object)
70
92
  ], ArsAddressDto.prototype, "floor", void 0);
71
93
  __decorate([
72
94
  (0, class_validator_1.IsString)(),
95
+ (0, class_validator_1.IsOptional)(),
96
+ (0, class_transformer_1.Transform)(({ value }) => {
97
+ if (!value) {
98
+ return '';
99
+ }
100
+ return value;
101
+ }),
102
+ (0, class_transformer_1.Expose)(),
73
103
  __metadata("design:type", Object)
74
104
  ], ArsAddressDto.prototype, "door", void 0);
75
105
  __decorate([
76
106
  (0, class_validator_1.IsString)(),
107
+ (0, class_validator_1.IsOptional)(),
108
+ (0, class_transformer_1.Transform)(({ value }) => {
109
+ if (!value) {
110
+ return '';
111
+ }
112
+ return value;
113
+ }),
114
+ (0, class_transformer_1.Expose)(),
77
115
  __metadata("design:type", Object)
78
116
  ], ArsAddressDto.prototype, "entrance", void 0);
79
117
  exports.ArsAddressDto = ArsAddressDto;
@@ -100,7 +100,7 @@ class UpdateShoppingCartBundlesExtraDto {
100
100
  exports.UpdateShoppingCartBundlesExtraDto = UpdateShoppingCartBundlesExtraDto;
101
101
  class UpdateShoppingCartExtraDto {
102
102
  static _OPENAPI_METADATA_FACTORY() {
103
- return { name: { required: true, type: () => String }, qty: { required: true, type: () => Number, minimum: 0, maximum: 99 } };
103
+ return { name: { required: true, type: () => String }, qty: { required: true, type: () => Number } };
104
104
  }
105
105
  }
106
106
  __decorate([
@@ -147,7 +147,7 @@ class UpdateShoppingCartContractDto {
147
147
  exports.UpdateShoppingCartContractDto = UpdateShoppingCartContractDto;
148
148
  class UpdateShoppingCartCharacteristicPriceDto {
149
149
  static _OPENAPI_METADATA_FACTORY() {
150
- return { name: { required: true, type: () => String }, displayName: { required: false, type: () => String }, amount: { required: false, type: () => Number }, bindingDate: { required: false, type: () => String, maxLength: 10 } };
150
+ return { name: { required: true, type: () => String }, displayName: { required: false, type: () => String }, amount: { required: false, type: () => Number }, bindingDate: { required: false, type: () => String } };
151
151
  }
152
152
  }
153
153
  __decorate([
@@ -179,7 +179,7 @@ __decorate([
179
179
  exports.UpdateShoppingCartCharacteristicPriceDto = UpdateShoppingCartCharacteristicPriceDto;
180
180
  class UpdateShoppingCartCharacteristicDto {
181
181
  static _OPENAPI_METADATA_FACTORY() {
182
- return { name: { required: true, type: () => String }, qty: { required: true, type: () => Number, minimum: 0, maximum: 99 }, prices: { required: false, type: () => [require("./other.entity").UpdateShoppingCartCharacteristicPriceDto] } };
182
+ return { name: { required: true, type: () => String }, qty: { required: true, type: () => Number }, prices: { required: false, type: () => [require("./other.entity").UpdateShoppingCartCharacteristicPriceDto] } };
183
183
  }
184
184
  }
185
185
  __decorate([
@@ -201,7 +201,7 @@ class ShoppingCartConfigurationAddressResDto {
201
201
  this.entrance = '';
202
202
  }
203
203
  static _OPENAPI_METADATA_FACTORY() {
204
- return { country: { required: false, type: () => String }, postcode: { required: true, type: () => String, pattern: /^[0-9]{1,5}$/ }, province: { required: true, type: () => String }, city: { required: true, type: () => String }, streetType: { required: true, type: () => String }, streetName: { required: true, type: () => String }, streetNumber: { required: true, type: () => String }, block: { required: true, type: () => Object, default: '' }, floor: { required: true, type: () => Object, default: '' }, door: { required: true, type: () => Object, default: '' }, entrance: { required: true, type: () => Object, default: '' }, apartmentId: { required: false, type: () => String } };
204
+ return { country: { required: false, type: () => String }, postcode: { required: true, type: () => String }, province: { required: true, type: () => String }, city: { required: true, type: () => String }, streetType: { required: true, type: () => String }, streetName: { required: true, type: () => String }, streetNumber: { required: true, type: () => String }, block: { required: true, type: () => Object, default: '' }, floor: { required: true, type: () => Object, default: '' }, door: { required: true, type: () => Object, default: '' }, entrance: { required: true, type: () => Object, default: '' }, apartmentId: { required: false, type: () => String } };
205
205
  }
206
206
  }
207
207
  __decorate([
@@ -1,4 +1,4 @@
1
- export declare type SendGridContentType = 'text/txt' | 'text/html' | 'application/json';
1
+ export type SendGridContentType = 'text/txt' | 'text/html' | 'application/json';
2
2
  export declare class SendGridUserDto {
3
3
  email: string;
4
4
  name: string;
@@ -19,7 +19,7 @@ const sale_process_1 = require("../../../../zoho/sale-process");
19
19
  const _validators_1 = require("../../../../validators/index");
20
20
  class ArsSaleProcessDocumentDto {
21
21
  static _OPENAPI_METADATA_FACTORY() {
22
- return { fileName: { required: true, type: () => String }, type: { required: true, enum: require("../../../../bss/constants/bp.constants").DocumentType }, comment: { required: false, type: () => String, maxLength: 1000 }, transactionId: { required: false, type: () => String, maxLength: 1000 } };
22
+ return { fileName: { required: true, type: () => String }, type: { required: true, enum: require("../../../../bss/constants/bp.constants").DocumentType }, comment: { required: false, type: () => String }, transactionId: { required: false, type: () => String } };
23
23
  }
24
24
  }
25
25
  __decorate([
@@ -17,7 +17,7 @@ const class_transformer_1 = require("class-transformer");
17
17
  const class_validator_1 = require("class-validator");
18
18
  class DashboardQueryDto {
19
19
  static _OPENAPI_METADATA_FACTORY() {
20
- return { id: { required: false, type: () => Number, minimum: 1 }, page: { required: false, type: () => Number, minimum: 1 }, limit: { required: false, type: () => Number, minimum: 1 }, phone: { required: false, type: () => String }, smsPhone: { required: false, type: () => String }, dateFrom: { required: false, type: () => String }, dateTo: { required: false, type: () => String }, owner: { required: false, type: () => String }, lastChangeMadeBy: { required: false, type: () => String }, status: { required: false, type: () => String }, channel: { required: false, type: () => String }, lastChannel: { required: false, type: () => String }, customerType: { required: false, enum: require("../../../../sys03/shopping-cart/shopping-cart.constants").CustomerType }, customerId: { required: false, type: () => String } };
20
+ return { id: { required: false, type: () => Number }, page: { required: false, type: () => Number }, limit: { required: false, type: () => Number }, phone: { required: false, type: () => String }, smsPhone: { required: false, type: () => String }, dateFrom: { required: false, type: () => String }, dateTo: { required: false, type: () => String }, owner: { required: false, type: () => String }, lastChangeMadeBy: { required: false, type: () => String }, status: { required: false, type: () => String }, channel: { required: false, type: () => String }, lastChannel: { required: false, type: () => String }, customerType: { required: false, enum: require("../../../../sys03/shopping-cart/shopping-cart.constants").CustomerType }, customerId: { required: false, type: () => String } };
21
21
  }
22
22
  }
23
23
  __decorate([
@@ -38,6 +38,7 @@ export declare class PartialSaleProcessContractCustomerDto {
38
38
  preferredContactTime: PreferredContactTime;
39
39
  customerVulnerable: boolean;
40
40
  preferredContactLanguage?: string;
41
+ customerAssociation?: string;
41
42
  }
42
43
  export declare class PartialSaleProcessBusinessInfoDto {
43
44
  tradingName: string;
@@ -109,8 +110,8 @@ export declare class PartialNearByFhContactNoCoverageCustomerDto {
109
110
  email?: string;
110
111
  }
111
112
  export declare class PartialNearByFhContactNoCoverageAddressSearchDto {
112
- nearestCoverageId: string;
113
- nearestCoverageDistance: string;
113
+ nearestCoverageId?: string;
114
+ nearestCoverageDistance?: string;
114
115
  }
115
116
  export declare class PatchSaleProcessAddressSearchDto {
116
117
  status: SaleProcessStatusType;
@@ -147,10 +148,10 @@ export declare class PatchSaleProcessFhContactDto {
147
148
  status: SaleProcessStatusType;
148
149
  fiberhoodId: number;
149
150
  customer?: PartialNearByFhContactNoCoverageCustomerDto;
150
- addressSearch: PartialNearByFhContactNoCoverageAddressSearchDto;
151
+ addressSearch?: PartialNearByFhContactNoCoverageAddressSearchDto;
151
152
  }
152
153
  export declare class PatchSaleProcessNoCoverageWebDto {
153
154
  status: SaleProcessStatusType;
154
155
  customer?: PartialNearByFhContactNoCoverageCustomerDto;
155
- addressSearch: PartialNearByFhContactNoCoverageAddressSearchDto;
156
+ addressSearch?: PartialNearByFhContactNoCoverageAddressSearchDto;
156
157
  }
@@ -98,44 +98,48 @@ class PartialSaleProcessBillingInfoDto {
98
98
  __decorate([
99
99
  (0, class_validator_1.IsString)(),
100
100
  (0, class_validator_1.IsNotEmpty)(),
101
+ (0, class_transformer_1.Expose)(),
101
102
  __metadata("design:type", String)
102
103
  ], PartialSaleProcessBillingInfoDto.prototype, "firstName", void 0);
103
104
  __decorate([
104
105
  (0, class_validator_1.IsString)(),
105
106
  (0, class_validator_1.IsNotEmpty)(),
107
+ (0, class_transformer_1.Expose)(),
106
108
  __metadata("design:type", String)
107
109
  ], PartialSaleProcessBillingInfoDto.prototype, "lastName", void 0);
108
110
  __decorate([
109
111
  (0, class_validator_1.ValidateNested)(),
110
112
  (0, class_transformer_1.Type)(() => edge_bss_1.ArsAddressDto),
113
+ (0, class_transformer_1.Expose)(),
111
114
  __metadata("design:type", edge_bss_1.ArsAddressDto)
112
115
  ], PartialSaleProcessBillingInfoDto.prototype, "billingAddressData", void 0);
113
116
  exports.PartialSaleProcessBillingInfoDto = PartialSaleProcessBillingInfoDto;
114
117
  class PartialSaleProcessContractCustomerDto {
115
- constructor() {
116
- this.preferredContactLanguage = 'es';
117
- }
118
118
  static _OPENAPI_METADATA_FACTORY() {
119
- return { customerType: { required: true, enum: require("../../../../sys03/shopping-cart/shopping-cart.constants").CustomerType }, title: { required: true, enum: require("../../../../bss/constants/bp.constants").PersonTitle }, firstName: { required: true, type: () => String }, lastName: { required: true, type: () => String }, birthDate: { required: true, type: () => String, maxLength: 10 }, email: { required: true, type: () => String }, contactPhone: { required: false, type: () => String }, additionalContactPhone: { required: false, type: () => String }, identification: { required: true, type: () => require("../../../../zoho/sale-process/customer-identification.entity").CustomerIdentificationDto }, preferredContactTime: { required: true, enum: require("../../../../bss/constants/bp.constants").PreferredContactTime }, customerVulnerable: { required: true, type: () => Boolean }, preferredContactLanguage: { required: false, type: () => String, default: 'es' } };
119
+ return { customerType: { required: true, enum: require("../../../../sys03/shopping-cart/shopping-cart.constants").CustomerType }, title: { required: true, enum: require("../../../../bss/constants/bp.constants").PersonTitle }, firstName: { required: true, type: () => String }, lastName: { required: true, type: () => String }, birthDate: { required: true, type: () => String }, email: { required: true, type: () => String }, contactPhone: { required: false, type: () => String }, additionalContactPhone: { required: false, type: () => String }, identification: { required: true, type: () => require("../../../../zoho/sale-process/customer-identification.entity").CustomerIdentificationDto }, preferredContactTime: { required: true, enum: require("../../../../bss/constants/bp.constants").PreferredContactTime }, customerVulnerable: { required: true, type: () => Boolean }, preferredContactLanguage: { required: false, type: () => String }, customerAssociation: { required: false, type: () => String } };
120
120
  }
121
121
  }
122
122
  __decorate([
123
123
  (0, _validators_1.IsEnum)(shopping_cart_1.CustomerType),
124
+ (0, class_transformer_1.Expose)(),
124
125
  __metadata("design:type", String)
125
126
  ], PartialSaleProcessContractCustomerDto.prototype, "customerType", void 0);
126
127
  __decorate([
127
128
  (0, class_validator_1.ValidateIf)((o) => o.customerType === shopping_cart_1.CustomerType.RESIDENTIAL || (o.customerType === shopping_cart_1.CustomerType.BUSINESS && o.title != null)),
128
129
  (0, _validators_1.IsEnum)(constants_1.PersonTitle),
130
+ (0, class_transformer_1.Expose)(),
129
131
  __metadata("design:type", String)
130
132
  ], PartialSaleProcessContractCustomerDto.prototype, "title", void 0);
131
133
  __decorate([
132
134
  (0, class_validator_1.IsString)(),
133
135
  (0, class_validator_1.IsNotEmpty)(),
136
+ (0, class_transformer_1.Expose)(),
134
137
  __metadata("design:type", String)
135
138
  ], PartialSaleProcessContractCustomerDto.prototype, "firstName", void 0);
136
139
  __decorate([
137
140
  (0, class_validator_1.IsString)(),
138
141
  (0, class_validator_1.IsNotEmpty)(),
142
+ (0, class_transformer_1.Expose)(),
139
143
  __metadata("design:type", String)
140
144
  ], PartialSaleProcessContractCustomerDto.prototype, "lastName", void 0);
141
145
  __decorate([
@@ -143,6 +147,7 @@ __decorate([
143
147
  (0, class_validator_1.IsISO8601)({}),
144
148
  (0, class_validator_1.MaxLength)(10),
145
149
  (0, class_validator_1.IsNotEmpty)(),
150
+ (0, class_transformer_1.Expose)(),
146
151
  __metadata("design:type", String)
147
152
  ], PartialSaleProcessContractCustomerDto.prototype, "birthDate", void 0);
148
153
  __decorate([
@@ -153,18 +158,21 @@ __decorate([
153
158
  return value.toString().toLowerCase();
154
159
  return value;
155
160
  }),
161
+ (0, class_transformer_1.Expose)(),
156
162
  __metadata("design:type", String)
157
163
  ], PartialSaleProcessContractCustomerDto.prototype, "email", void 0);
158
164
  __decorate([
159
165
  (0, class_validator_1.IsString)(),
160
166
  (0, class_validator_1.IsNotEmpty)(),
161
167
  (0, class_validator_1.IsOptional)(),
168
+ (0, class_transformer_1.Expose)(),
162
169
  __metadata("design:type", String)
163
170
  ], PartialSaleProcessContractCustomerDto.prototype, "contactPhone", void 0);
164
171
  __decorate([
165
172
  (0, class_validator_1.IsString)(),
166
173
  (0, class_validator_1.IsNotEmpty)(),
167
174
  (0, class_validator_1.IsOptional)(),
175
+ (0, class_transformer_1.Expose)(),
168
176
  __metadata("design:type", String)
169
177
  ], PartialSaleProcessContractCustomerDto.prototype, "additionalContactPhone", void 0);
170
178
  __decorate([
@@ -172,23 +180,40 @@ __decorate([
172
180
  (0, class_validator_1.IsDefined)(),
173
181
  (0, class_validator_1.ValidateNested)(),
174
182
  (0, class_transformer_1.Type)(() => sale_process_1.CustomerIdentificationDto),
183
+ (0, class_transformer_1.Expose)(),
175
184
  __metadata("design:type", sale_process_1.CustomerIdentificationDto)
176
185
  ], PartialSaleProcessContractCustomerDto.prototype, "identification", void 0);
177
186
  __decorate([
178
187
  (0, _validators_1.IsEnum)(constants_1.PreferredContactTime),
188
+ (0, class_transformer_1.Expose)(),
179
189
  __metadata("design:type", String)
180
190
  ], PartialSaleProcessContractCustomerDto.prototype, "preferredContactTime", void 0);
181
191
  __decorate([
182
192
  (0, class_validator_1.IsBoolean)(),
183
193
  (0, class_validator_1.IsOptional)(),
194
+ (0, class_transformer_1.Expose)(),
184
195
  __metadata("design:type", Boolean)
185
196
  ], PartialSaleProcessContractCustomerDto.prototype, "customerVulnerable", void 0);
186
197
  __decorate([
187
198
  (0, class_validator_1.IsString)(),
188
199
  (0, class_validator_1.IsNotEmpty)(),
189
200
  (0, _validators_1.IsNotBlank)(),
201
+ (0, class_transformer_1.Transform)(({ value }) => {
202
+ if (!value)
203
+ return 'es';
204
+ return value;
205
+ }),
206
+ (0, class_transformer_1.Expose)(),
190
207
  __metadata("design:type", String)
191
208
  ], PartialSaleProcessContractCustomerDto.prototype, "preferredContactLanguage", void 0);
209
+ __decorate([
210
+ (0, class_validator_1.IsString)(),
211
+ (0, class_validator_1.IsNotEmpty)(),
212
+ (0, _validators_1.IsNotBlank)(),
213
+ (0, class_validator_1.IsOptional)(),
214
+ (0, class_transformer_1.Expose)(),
215
+ __metadata("design:type", String)
216
+ ], PartialSaleProcessContractCustomerDto.prototype, "customerAssociation", void 0);
192
217
  exports.PartialSaleProcessContractCustomerDto = PartialSaleProcessContractCustomerDto;
193
218
  class PartialSaleProcessBusinessInfoDto {
194
219
  static _OPENAPI_METADATA_FACTORY() {
@@ -198,15 +223,18 @@ class PartialSaleProcessBusinessInfoDto {
198
223
  __decorate([
199
224
  (0, class_validator_1.IsString)(),
200
225
  (0, class_validator_1.IsNotEmpty)(),
226
+ (0, class_transformer_1.Expose)(),
201
227
  __metadata("design:type", String)
202
228
  ], PartialSaleProcessBusinessInfoDto.prototype, "tradingName", void 0);
203
229
  __decorate([
204
230
  (0, class_validator_1.IsString)(),
205
231
  (0, class_validator_1.IsNotEmpty)(),
232
+ (0, class_transformer_1.Expose)(),
206
233
  __metadata("design:type", String)
207
234
  ], PartialSaleProcessBusinessInfoDto.prototype, "legalName", void 0);
208
235
  __decorate([
209
236
  (0, _validators_1.IsEnum)(constants_1.CustomerAccountOrganizationEntityType),
237
+ (0, class_transformer_1.Expose)(),
210
238
  __metadata("design:type", String)
211
239
  ], PartialSaleProcessBusinessInfoDto.prototype, "companyType", void 0);
212
240
  __decorate([
@@ -214,27 +242,31 @@ __decorate([
214
242
  (0, class_validator_1.IsDefined)(),
215
243
  (0, class_validator_1.ValidateNested)(),
216
244
  (0, class_transformer_1.Type)(() => sale_process_1.BusinessIdentificationDto),
245
+ (0, class_transformer_1.Expose)(),
217
246
  __metadata("design:type", sale_process_1.BusinessIdentificationDto)
218
247
  ], PartialSaleProcessBusinessInfoDto.prototype, "identification", void 0);
219
248
  exports.PartialSaleProcessBusinessInfoDto = PartialSaleProcessBusinessInfoDto;
220
249
  class PatchSaleProcessContractDataSavedDto {
221
250
  static _OPENAPI_METADATA_FACTORY() {
222
- return { status: { required: true, enum: require("../../../../zoho/constants/zoho.constants").SaleProcessStatusType }, mobilePhone: { required: true, type: () => String }, iban: { required: true, type: () => String, pattern: /^[A-Za-z0-9]+$/ }, notes: { required: false, type: () => String, maxLength: 1000 }, billingInfo: { required: false, type: () => require("./patch.entity").PartialSaleProcessBillingInfoDto }, customer: { required: false, type: () => require("./patch.entity").PartialSaleProcessContractCustomerDto }, businessInfo: { required: false, type: () => require("./patch.entity").PartialSaleProcessBusinessInfoDto } };
251
+ return { status: { required: true, enum: require("../../../../zoho/constants/zoho.constants").SaleProcessStatusType }, mobilePhone: { required: true, type: () => String }, iban: { required: true, type: () => String }, notes: { required: false, type: () => String }, billingInfo: { required: false, type: () => require("./patch.entity").PartialSaleProcessBillingInfoDto }, customer: { required: false, type: () => require("./patch.entity").PartialSaleProcessContractCustomerDto }, businessInfo: { required: false, type: () => require("./patch.entity").PartialSaleProcessBusinessInfoDto } };
223
252
  }
224
253
  }
225
254
  __decorate([
226
255
  (0, _validators_1.IsEnum)(constants_2.SaleProcessStatusType),
256
+ (0, class_transformer_1.Expose)(),
227
257
  __metadata("design:type", String)
228
258
  ], PatchSaleProcessContractDataSavedDto.prototype, "status", void 0);
229
259
  __decorate([
230
260
  (0, class_validator_1.IsString)(),
231
261
  (0, class_validator_1.IsNotEmpty)(),
262
+ (0, class_transformer_1.Expose)(),
232
263
  __metadata("design:type", String)
233
264
  ], PatchSaleProcessContractDataSavedDto.prototype, "mobilePhone", void 0);
234
265
  __decorate([
235
266
  (0, class_validator_1.IsString)(),
236
267
  (0, class_validator_1.IsNotEmpty)(),
237
268
  (0, class_validator_1.Matches)(/^[A-Za-z0-9]+$/),
269
+ (0, class_transformer_1.Expose)(),
238
270
  __metadata("design:type", String)
239
271
  ], PatchSaleProcessContractDataSavedDto.prototype, "iban", void 0);
240
272
  __decorate([
@@ -242,18 +274,21 @@ __decorate([
242
274
  (0, class_validator_1.IsNotEmpty)(),
243
275
  (0, class_validator_1.MaxLength)(1000),
244
276
  (0, class_validator_1.IsOptional)(),
277
+ (0, class_transformer_1.Expose)(),
245
278
  __metadata("design:type", String)
246
279
  ], PatchSaleProcessContractDataSavedDto.prototype, "notes", void 0);
247
280
  __decorate([
248
281
  (0, class_validator_1.IsDefined)(),
249
282
  (0, class_validator_1.ValidateNested)(),
250
283
  (0, class_transformer_1.Type)(() => PartialSaleProcessBillingInfoDto),
284
+ (0, class_transformer_1.Expose)(),
251
285
  __metadata("design:type", PartialSaleProcessBillingInfoDto)
252
286
  ], PatchSaleProcessContractDataSavedDto.prototype, "billingInfo", void 0);
253
287
  __decorate([
254
288
  (0, class_validator_1.ValidateNested)(),
255
289
  (0, class_validator_1.IsOptional)(),
256
290
  (0, class_transformer_1.Type)(() => PartialSaleProcessContractCustomerDto),
291
+ (0, class_transformer_1.Expose)(),
257
292
  __metadata("design:type", PartialSaleProcessContractCustomerDto)
258
293
  ], PatchSaleProcessContractDataSavedDto.prototype, "customer", void 0);
259
294
  __decorate([
@@ -261,6 +296,7 @@ __decorate([
261
296
  (0, class_validator_1.IsDefined)(),
262
297
  (0, class_validator_1.ValidateNested)(),
263
298
  (0, class_transformer_1.Type)(() => PartialSaleProcessBusinessInfoDto),
299
+ (0, class_transformer_1.Expose)(),
264
300
  __metadata("design:type", PartialSaleProcessBusinessInfoDto)
265
301
  ], PatchSaleProcessContractDataSavedDto.prototype, "businessInfo", void 0);
266
302
  exports.PatchSaleProcessContractDataSavedDto = PatchSaleProcessContractDataSavedDto;
@@ -505,17 +541,21 @@ __decorate([
505
541
  exports.PartialNearByFhContactNoCoverageCustomerDto = PartialNearByFhContactNoCoverageCustomerDto;
506
542
  class PartialNearByFhContactNoCoverageAddressSearchDto {
507
543
  static _OPENAPI_METADATA_FACTORY() {
508
- return { nearestCoverageId: { required: true, type: () => String }, nearestCoverageDistance: { required: true, type: () => String } };
544
+ return { nearestCoverageId: { required: false, type: () => String }, nearestCoverageDistance: { required: false, type: () => String } };
509
545
  }
510
546
  }
511
547
  __decorate([
512
548
  (0, class_validator_1.IsString)(),
513
549
  (0, class_validator_1.IsNotEmpty)(),
550
+ (0, _validators_1.IsNotBlank)(),
551
+ (0, class_validator_1.IsOptional)(),
514
552
  __metadata("design:type", String)
515
553
  ], PartialNearByFhContactNoCoverageAddressSearchDto.prototype, "nearestCoverageId", void 0);
516
554
  __decorate([
517
555
  (0, class_validator_1.IsString)(),
518
556
  (0, class_validator_1.IsNotEmpty)(),
557
+ (0, _validators_1.IsNotBlank)(),
558
+ (0, class_validator_1.IsOptional)(),
519
559
  __metadata("design:type", String)
520
560
  ], PartialNearByFhContactNoCoverageAddressSearchDto.prototype, "nearestCoverageDistance", void 0);
521
561
  exports.PartialNearByFhContactNoCoverageAddressSearchDto = PartialNearByFhContactNoCoverageAddressSearchDto;
@@ -653,7 +693,7 @@ __decorate([
653
693
  exports.PatchSaleProcessNearByDto = PatchSaleProcessNearByDto;
654
694
  class PatchSaleProcessFhContactDto {
655
695
  static _OPENAPI_METADATA_FACTORY() {
656
- return { status: { required: true, enum: require("../../../../zoho/constants/zoho.constants").SaleProcessStatusType }, fiberhoodId: { required: true, type: () => Number }, customer: { required: false, type: () => require("./patch.entity").PartialNearByFhContactNoCoverageCustomerDto }, addressSearch: { required: true, type: () => require("./patch.entity").PartialNearByFhContactNoCoverageAddressSearchDto } };
696
+ return { status: { required: true, enum: require("../../../../zoho/constants/zoho.constants").SaleProcessStatusType }, fiberhoodId: { required: true, type: () => Number }, customer: { required: false, type: () => require("./patch.entity").PartialNearByFhContactNoCoverageCustomerDto }, addressSearch: { required: false, type: () => require("./patch.entity").PartialNearByFhContactNoCoverageAddressSearchDto } };
657
697
  }
658
698
  }
659
699
  __decorate([
@@ -675,12 +715,13 @@ __decorate([
675
715
  (0, class_validator_1.IsDefined)(),
676
716
  (0, class_validator_1.ValidateNested)(),
677
717
  (0, class_transformer_1.Type)(() => PartialNearByFhContactNoCoverageAddressSearchDto),
718
+ (0, class_validator_1.IsOptional)(),
678
719
  __metadata("design:type", PartialNearByFhContactNoCoverageAddressSearchDto)
679
720
  ], PatchSaleProcessFhContactDto.prototype, "addressSearch", void 0);
680
721
  exports.PatchSaleProcessFhContactDto = PatchSaleProcessFhContactDto;
681
722
  class PatchSaleProcessNoCoverageWebDto {
682
723
  static _OPENAPI_METADATA_FACTORY() {
683
- return { status: { required: true, enum: require("../../../../zoho/constants/zoho.constants").SaleProcessStatusType }, customer: { required: false, type: () => require("./patch.entity").PartialNearByFhContactNoCoverageCustomerDto }, addressSearch: { required: true, type: () => require("./patch.entity").PartialNearByFhContactNoCoverageAddressSearchDto } };
724
+ return { status: { required: true, enum: require("../../../../zoho/constants/zoho.constants").SaleProcessStatusType }, customer: { required: false, type: () => require("./patch.entity").PartialNearByFhContactNoCoverageCustomerDto }, addressSearch: { required: false, type: () => require("./patch.entity").PartialNearByFhContactNoCoverageAddressSearchDto } };
684
725
  }
685
726
  }
686
727
  __decorate([
@@ -698,6 +739,7 @@ __decorate([
698
739
  (0, class_validator_1.IsDefined)(),
699
740
  (0, class_validator_1.ValidateNested)(),
700
741
  (0, class_transformer_1.Type)(() => PartialNearByFhContactNoCoverageAddressSearchDto),
742
+ (0, class_validator_1.IsOptional)(),
701
743
  __metadata("design:type", PartialNearByFhContactNoCoverageAddressSearchDto)
702
744
  ], PatchSaleProcessNoCoverageWebDto.prototype, "addressSearch", void 0);
703
745
  exports.PatchSaleProcessNoCoverageWebDto = PatchSaleProcessNoCoverageWebDto;
@@ -20,7 +20,7 @@ class DashboardDto {
20
20
  exports.DashboardDto = DashboardDto;
21
21
  class DashboardGenericDto {
22
22
  static _OPENAPI_METADATA_FACTORY() {
23
- return { total: { required: true, type: () => Number } };
23
+ return { records: { required: true }, total: { required: true, type: () => Number } };
24
24
  }
25
25
  }
26
26
  __decorate([
@@ -93,4 +93,5 @@ export declare class Lead {
93
93
  additionalContactPhone?: string;
94
94
  customerVulnerable?: boolean;
95
95
  preferredContactLanguage?: string;
96
+ customerAssociation?: string;
96
97
  }
@@ -19,7 +19,7 @@ const leads_consent_data_entity_1 = require("./leads-consent-data.entity");
19
19
  const approval_entity_1 = require("./approval.entity");
20
20
  let Lead = class Lead {
21
21
  static _OPENAPI_METADATA_FACTORY() {
22
- return { id: { required: false, type: () => Number }, data: { required: false, type: () => [require("./leads-data.entity").LeadsData] }, approvals: { required: false, type: () => [require("./approval.entity").ApprovalDto] }, files: { required: false, type: () => [require("./leads-file.entity").LeadsFile] }, additionalContacts: { required: false, type: () => [require("./leads-additional-contact.entity").LeadsAdditionalContact] }, consents: { required: false, type: () => [require("./leads-consent-data.entity").LeadsConsentData] }, phone: { required: false, type: () => String }, channel: { required: false, type: () => String }, user: { required: false, type: () => String }, userIp: { required: false, type: () => String }, source: { required: false, type: () => String }, softDeleted: { required: false, type: () => Boolean }, createdAt: { required: false, type: () => String }, updatedAt: { required: false, type: () => String }, softDeletedBy: { required: false, type: () => String }, softDeletedAt: { required: false, type: () => String }, updateByUser: { required: false, type: () => String }, updateByUserIp: { required: false, type: () => String }, updateByUserChannel: { required: false, type: () => String }, scoring: { required: false, type: () => Number }, status: { required: false, 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 }, searchType: { required: false, 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 } };
22
+ return { id: { required: false, type: () => Number }, data: { required: false, type: () => [require("./leads-data.entity").LeadsData] }, approvals: { required: false, type: () => [require("./approval.entity").ApprovalDto] }, files: { required: false, type: () => [require("./leads-file.entity").LeadsFile] }, additionalContacts: { required: false, type: () => [require("./leads-additional-contact.entity").LeadsAdditionalContact] }, consents: { required: false, type: () => [require("./leads-consent-data.entity").LeadsConsentData] }, phone: { required: false, type: () => String }, channel: { required: false, type: () => String }, user: { required: false, type: () => String }, userIp: { required: false, type: () => String }, source: { required: false, type: () => String }, softDeleted: { required: false, type: () => Boolean }, createdAt: { required: false, type: () => String }, updatedAt: { required: false, type: () => String }, softDeletedBy: { required: false, type: () => String }, softDeletedAt: { required: false, type: () => String }, updateByUser: { required: false, type: () => String }, updateByUserIp: { required: false, type: () => String }, updateByUserChannel: { required: false, type: () => String }, scoring: { required: false, type: () => Number }, status: { required: false, 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 }, searchType: { required: false, 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 } };
23
23
  }
24
24
  };
25
25
  __decorate([
@@ -378,6 +378,10 @@ __decorate([
378
378
  (0, typeorm_1.Column)({ nullable: true }),
379
379
  __metadata("design:type", String)
380
380
  ], Lead.prototype, "preferredContactLanguage", void 0);
381
+ __decorate([
382
+ (0, typeorm_1.Column)({ nullable: true }),
383
+ __metadata("design:type", String)
384
+ ], Lead.prototype, "customerAssociation", void 0);
381
385
  Lead = __decorate([
382
386
  (0, typeorm_1.Entity)({ name: 'leads' })
383
387
  ], Lead);
@@ -77,6 +77,7 @@ export declare class LeadsData {
77
77
  additionalContactPhone?: string;
78
78
  customerVulnerable?: boolean;
79
79
  preferredContactLanguage?: string;
80
+ customerAssociation?: string;
80
81
  }
81
82
  export declare class CreateNewLeadDto {
82
83
  id?: number;
@@ -154,4 +155,5 @@ export declare class CreateNewLeadDto {
154
155
  additionalContactPhone?: string;
155
156
  customerVulnerable?: boolean;
156
157
  preferredContactLanguage?: string;
158
+ customerAssociation?: string;
157
159
  }