adamo-types 2.0.105-sit → 2.0.107-sit
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bss/customer/customer-work-task.entity.d.ts +56 -0
- package/dist/bss/customer/customer-work-task.entity.js +43 -1
- package/dist/bss/order/order.entity.d.ts +1 -0
- package/dist/bss/order/order.entity.js +1 -1
- package/dist/common/constants/common.constants.d.ts +3 -0
- package/dist/common/constants/common.constants.js +5 -1
- package/dist/database/lead/index.d.ts +3 -3
- package/dist/database/lead/index.js +3 -3
- package/dist/database/lead/{leads-additional-contact.entity.d.ts → lead-additional-contact.entity.d.ts} +4 -4
- package/dist/database/lead/{leads-additional-contact.entity.js → lead-additional-contact.entity.js} +26 -26
- package/dist/database/lead/{lead-transactions.entity.d.ts → lead-transaction.entity.d.ts} +1 -1
- package/dist/database/lead/{lead-transactions.entity.js → lead-transaction.entity.js} +12 -12
- package/dist/database/lead/lead.entity.d.ts +2 -2
- package/dist/database/lead/lead.entity.js +3 -3
- package/dist/sys03/address/address.constants.d.ts +1 -0
- package/dist/sys03/address/address.constants.js +2 -1
- package/dist/sys03/address/address.entity.d.ts +4 -0
- package/dist/sys03/address/address.entity.js +7 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/database/portanet/index.d.ts +0 -1
- package/dist/database/portanet/index.js +0 -17
- package/dist/database/portanet/portanet-db.entity.d.ts +0 -57
- package/dist/database/portanet/portanet-db.entity.js +0 -248
- package/dist/database/provision/index.d.ts +0 -1
- package/dist/database/provision/index.js +0 -17
- package/dist/database/provision/provision-db.entity.d.ts +0 -34
- package/dist/database/provision/provision-db.entity.js +0 -135
|
@@ -111,3 +111,59 @@ export declare class CustomerWorkTaskDto {
|
|
|
111
111
|
lastRemark: string;
|
|
112
112
|
forms?: CustomerWorkTaskFormDto[];
|
|
113
113
|
}
|
|
114
|
+
export declare class CustomerGrupoAireWorkTaskDetailsRequestCoordinatorDto {
|
|
115
|
+
fullName: string;
|
|
116
|
+
mainPhone: string;
|
|
117
|
+
secondaryPhone: string;
|
|
118
|
+
email: string;
|
|
119
|
+
}
|
|
120
|
+
export declare class CustomerGrupoAireWorkTaskDetailsRequestDto {
|
|
121
|
+
id: number;
|
|
122
|
+
createdAt: Date;
|
|
123
|
+
orderNumber: number;
|
|
124
|
+
suborderNumber: number;
|
|
125
|
+
description: string;
|
|
126
|
+
coordinator: CustomerGrupoAireWorkTaskDetailsRequestCoordinatorDto;
|
|
127
|
+
}
|
|
128
|
+
export declare class CustomerGrupoAireWorkTaskDetailsCustomerDto {
|
|
129
|
+
fullName: string;
|
|
130
|
+
address: string;
|
|
131
|
+
mainPhone: string;
|
|
132
|
+
secondaryPhone: string;
|
|
133
|
+
}
|
|
134
|
+
export declare class CustomerGrupoAireWorkTaskDetailsTechDataDto {
|
|
135
|
+
opVlan: string;
|
|
136
|
+
cVlan: string;
|
|
137
|
+
sVlan: string;
|
|
138
|
+
cae: boolean;
|
|
139
|
+
originSystem: string;
|
|
140
|
+
administrativeNumberLagl: string;
|
|
141
|
+
ontId: string;
|
|
142
|
+
}
|
|
143
|
+
export declare class CustomerGrupoAireWorkTaskDetailsNetworkDataDto {
|
|
144
|
+
interfaceTagAndUnit: string;
|
|
145
|
+
riTag: string;
|
|
146
|
+
riUnit: string;
|
|
147
|
+
}
|
|
148
|
+
export declare class CustomerGrupoAireWorkTaskDetailsDto {
|
|
149
|
+
modifiedAt: Date;
|
|
150
|
+
customer: CustomerGrupoAireWorkTaskDetailsCustomerDto;
|
|
151
|
+
techData: CustomerGrupoAireWorkTaskDetailsTechDataDto;
|
|
152
|
+
networkData: CustomerGrupoAireWorkTaskDetailsNetworkDataDto;
|
|
153
|
+
requests: CustomerGrupoAireWorkTaskDetailsRequestDto[];
|
|
154
|
+
}
|
|
155
|
+
export declare class CustomerGrupoAireWorkTaskDto {
|
|
156
|
+
id: string;
|
|
157
|
+
status: string;
|
|
158
|
+
modality: string;
|
|
159
|
+
createdAt: Date;
|
|
160
|
+
activatedAt: Date;
|
|
161
|
+
installedAt: Date;
|
|
162
|
+
endedAt: Date;
|
|
163
|
+
province: string;
|
|
164
|
+
operator: string;
|
|
165
|
+
administrativeNumber: string;
|
|
166
|
+
iua: string;
|
|
167
|
+
description: string;
|
|
168
|
+
details: CustomerGrupoAireWorkTaskDetailsDto;
|
|
169
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CustomerWorkTaskDto = exports.CustomerWorkTaskFormDto = exports.CustomerWorkTaskFormCheckDto = exports.CustomerWorkTaskFormTechDataDto = exports.CustomerWorkTaskFormTechInfoDto = exports.CustomerWorkTaskFormInstallationDto = exports.CustomerWorkTaskFormAppointmentDto = exports.CustomerWorkTaskFormAddressDto = exports.CustomerWorkTaskFormCustomerDto = exports.CustomerWorkTaskFormFieldDto = void 0;
|
|
3
|
+
exports.CustomerGrupoAireWorkTaskDto = exports.CustomerGrupoAireWorkTaskDetailsDto = exports.CustomerGrupoAireWorkTaskDetailsNetworkDataDto = exports.CustomerGrupoAireWorkTaskDetailsTechDataDto = exports.CustomerGrupoAireWorkTaskDetailsCustomerDto = exports.CustomerGrupoAireWorkTaskDetailsRequestDto = exports.CustomerGrupoAireWorkTaskDetailsRequestCoordinatorDto = exports.CustomerWorkTaskDto = exports.CustomerWorkTaskFormDto = exports.CustomerWorkTaskFormCheckDto = exports.CustomerWorkTaskFormTechDataDto = exports.CustomerWorkTaskFormTechInfoDto = exports.CustomerWorkTaskFormInstallationDto = exports.CustomerWorkTaskFormAppointmentDto = exports.CustomerWorkTaskFormAddressDto = exports.CustomerWorkTaskFormCustomerDto = exports.CustomerWorkTaskFormFieldDto = void 0;
|
|
4
4
|
const openapi = require("@nestjs/swagger");
|
|
5
5
|
class CustomerWorkTaskFormFieldDto {
|
|
6
6
|
static _OPENAPI_METADATA_FACTORY() {
|
|
@@ -62,3 +62,45 @@ class CustomerWorkTaskDto {
|
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
exports.CustomerWorkTaskDto = CustomerWorkTaskDto;
|
|
65
|
+
class CustomerGrupoAireWorkTaskDetailsRequestCoordinatorDto {
|
|
66
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
67
|
+
return { fullName: { required: true, type: () => String }, mainPhone: { required: true, type: () => String }, secondaryPhone: { required: true, type: () => String }, email: { required: true, type: () => String } };
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
exports.CustomerGrupoAireWorkTaskDetailsRequestCoordinatorDto = CustomerGrupoAireWorkTaskDetailsRequestCoordinatorDto;
|
|
71
|
+
class CustomerGrupoAireWorkTaskDetailsRequestDto {
|
|
72
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
73
|
+
return { id: { required: true, type: () => Number }, createdAt: { required: true, type: () => Date }, orderNumber: { required: true, type: () => Number }, suborderNumber: { required: true, type: () => Number }, description: { required: true, type: () => String }, coordinator: { required: true, type: () => require("./customer-work-task.entity").CustomerGrupoAireWorkTaskDetailsRequestCoordinatorDto } };
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
exports.CustomerGrupoAireWorkTaskDetailsRequestDto = CustomerGrupoAireWorkTaskDetailsRequestDto;
|
|
77
|
+
class CustomerGrupoAireWorkTaskDetailsCustomerDto {
|
|
78
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
79
|
+
return { fullName: { required: true, type: () => String }, address: { required: true, type: () => String }, mainPhone: { required: true, type: () => String }, secondaryPhone: { required: true, type: () => String } };
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
exports.CustomerGrupoAireWorkTaskDetailsCustomerDto = CustomerGrupoAireWorkTaskDetailsCustomerDto;
|
|
83
|
+
class CustomerGrupoAireWorkTaskDetailsTechDataDto {
|
|
84
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
85
|
+
return { opVlan: { required: true, type: () => String }, cVlan: { required: true, type: () => String }, sVlan: { required: true, type: () => String }, cae: { required: true, type: () => Boolean }, originSystem: { required: true, type: () => String }, administrativeNumberLagl: { required: true, type: () => String }, ontId: { required: true, type: () => String } };
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
exports.CustomerGrupoAireWorkTaskDetailsTechDataDto = CustomerGrupoAireWorkTaskDetailsTechDataDto;
|
|
89
|
+
class CustomerGrupoAireWorkTaskDetailsNetworkDataDto {
|
|
90
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
91
|
+
return { interfaceTagAndUnit: { required: true, type: () => String }, riTag: { required: true, type: () => String }, riUnit: { required: true, type: () => String } };
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
exports.CustomerGrupoAireWorkTaskDetailsNetworkDataDto = CustomerGrupoAireWorkTaskDetailsNetworkDataDto;
|
|
95
|
+
class CustomerGrupoAireWorkTaskDetailsDto {
|
|
96
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
97
|
+
return { modifiedAt: { required: true, type: () => Date }, customer: { required: true, type: () => require("./customer-work-task.entity").CustomerGrupoAireWorkTaskDetailsCustomerDto }, techData: { required: true, type: () => require("./customer-work-task.entity").CustomerGrupoAireWorkTaskDetailsTechDataDto }, networkData: { required: true, type: () => require("./customer-work-task.entity").CustomerGrupoAireWorkTaskDetailsNetworkDataDto }, requests: { required: true, type: () => [require("./customer-work-task.entity").CustomerGrupoAireWorkTaskDetailsRequestDto] } };
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
exports.CustomerGrupoAireWorkTaskDetailsDto = CustomerGrupoAireWorkTaskDetailsDto;
|
|
101
|
+
class CustomerGrupoAireWorkTaskDto {
|
|
102
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
103
|
+
return { id: { required: true, type: () => String }, status: { required: true, type: () => String }, modality: { required: true, type: () => String }, createdAt: { required: true, type: () => Date }, activatedAt: { required: true, type: () => Date }, installedAt: { required: true, type: () => Date }, endedAt: { required: true, type: () => Date }, province: { required: true, type: () => String }, operator: { required: true, type: () => String }, administrativeNumber: { required: true, type: () => String }, iua: { required: true, type: () => String }, description: { required: true, type: () => String }, details: { required: true, type: () => require("./customer-work-task.entity").CustomerGrupoAireWorkTaskDetailsDto } };
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
exports.CustomerGrupoAireWorkTaskDto = CustomerGrupoAireWorkTaskDto;
|
|
@@ -4,7 +4,7 @@ exports.OrderHierarchyItemDto = exports.OrderDto = void 0;
|
|
|
4
4
|
const openapi = require("@nestjs/swagger");
|
|
5
5
|
class OrderDto {
|
|
6
6
|
static _OPENAPI_METADATA_FACTORY() {
|
|
7
|
-
return { id: { required: true, type: () => String }, workOrderId: { required: false, type: () => String }, createdAt: { required: true, type: () => String }, completionDate: { required: true, type: () => String }, type: { required: true, type: () => String }, description: { required: true, type: () => String }, state: { required: true, type: () => String } };
|
|
7
|
+
return { id: { required: true, type: () => String }, workOrderId: { required: false, type: () => String }, mayHaveGrupoAireWorkTask: { required: true, type: () => Boolean }, createdAt: { required: true, type: () => String }, completionDate: { required: true, type: () => String }, type: { required: true, type: () => String }, description: { required: true, type: () => String }, state: { required: true, type: () => String } };
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
exports.OrderDto = OrderDto;
|
|
@@ -67,6 +67,9 @@ export declare enum BssDropDownKeys {
|
|
|
67
67
|
TASK_CATEGORY_TYPES = "TASK_CATEGORY_TYPES",
|
|
68
68
|
TRANSITION_DOWNGRADE_REASON_TYPES = "TRANSITION_DOWNGRADE_REASON_TYPES"
|
|
69
69
|
}
|
|
70
|
+
export declare enum GrupoAireDropDownKeys {
|
|
71
|
+
GRUPO_AIRE_CONNECTION_STATUS_TYEPS = "GRUPO_AIRE_CONNECTION_STATUS_TYEPS"
|
|
72
|
+
}
|
|
70
73
|
export declare enum BssLookupKeys {
|
|
71
74
|
COUNTRY_STATE_TYPES = "COUNTRY_STATES",
|
|
72
75
|
SALES_PERSON_TYPES = "ADAMO_SALES_PERSONS",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PaginateSortType = exports.KNOWN_ERRORS = exports.FeatureGroupType = exports.CoverageSearchType = exports.StorageDropdown = exports.Templates = exports.MicroserviceType = exports.BssLookupKeys = exports.BssDropDownKeys = exports.StorageConfiguration = exports.ShoppingCartProductTypeDisplayOrder = exports.ShoppingCartProductType = exports.BusinessCustomerType = exports.CustomerType = exports.ClientType = exports.ArsTenant = void 0;
|
|
3
|
+
exports.PaginateSortType = exports.KNOWN_ERRORS = exports.FeatureGroupType = exports.CoverageSearchType = exports.StorageDropdown = exports.Templates = exports.MicroserviceType = exports.BssLookupKeys = exports.GrupoAireDropDownKeys = exports.BssDropDownKeys = exports.StorageConfiguration = exports.ShoppingCartProductTypeDisplayOrder = exports.ShoppingCartProductType = exports.BusinessCustomerType = exports.CustomerType = exports.ClientType = exports.ArsTenant = void 0;
|
|
4
4
|
const error_constants_1 = require("./error.constants");
|
|
5
5
|
var ArsTenant;
|
|
6
6
|
(function (ArsTenant) {
|
|
@@ -87,6 +87,10 @@ var BssDropDownKeys;
|
|
|
87
87
|
BssDropDownKeys["TASK_CATEGORY_TYPES"] = "TASK_CATEGORY_TYPES";
|
|
88
88
|
BssDropDownKeys["TRANSITION_DOWNGRADE_REASON_TYPES"] = "TRANSITION_DOWNGRADE_REASON_TYPES";
|
|
89
89
|
})(BssDropDownKeys || (exports.BssDropDownKeys = BssDropDownKeys = {}));
|
|
90
|
+
var GrupoAireDropDownKeys;
|
|
91
|
+
(function (GrupoAireDropDownKeys) {
|
|
92
|
+
GrupoAireDropDownKeys["GRUPO_AIRE_CONNECTION_STATUS_TYEPS"] = "GRUPO_AIRE_CONNECTION_STATUS_TYEPS";
|
|
93
|
+
})(GrupoAireDropDownKeys || (exports.GrupoAireDropDownKeys = GrupoAireDropDownKeys = {}));
|
|
90
94
|
var BssLookupKeys;
|
|
91
95
|
(function (BssLookupKeys) {
|
|
92
96
|
BssLookupKeys["COUNTRY_STATE_TYPES"] = "COUNTRY_STATES";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export * from './apartment-whitelist.entity';
|
|
2
2
|
export * from './approval.entity';
|
|
3
|
+
export * from './lead-additional-contact.entity';
|
|
3
4
|
export * from './lead-credit-bureau-validation.entity';
|
|
4
|
-
export * from './lead-
|
|
5
|
+
export * from './lead-file.entity';
|
|
6
|
+
export * from './lead-transaction.entity';
|
|
5
7
|
export * from './lead.entity';
|
|
6
|
-
export * from './leads-additional-contact.entity';
|
|
7
8
|
export * from './leads-consent-data.entity';
|
|
8
|
-
export * from './lead-file.entity';
|
|
@@ -16,9 +16,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./apartment-whitelist.entity"), exports);
|
|
18
18
|
__exportStar(require("./approval.entity"), exports);
|
|
19
|
+
__exportStar(require("./lead-additional-contact.entity"), exports);
|
|
19
20
|
__exportStar(require("./lead-credit-bureau-validation.entity"), exports);
|
|
20
|
-
__exportStar(require("./lead-
|
|
21
|
+
__exportStar(require("./lead-file.entity"), exports);
|
|
22
|
+
__exportStar(require("./lead-transaction.entity"), exports);
|
|
21
23
|
__exportStar(require("./lead.entity"), exports);
|
|
22
|
-
__exportStar(require("./leads-additional-contact.entity"), exports);
|
|
23
24
|
__exportStar(require("./leads-consent-data.entity"), exports);
|
|
24
|
-
__exportStar(require("./lead-file.entity"), exports);
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { LeadEntity } from './lead.entity';
|
|
2
|
-
export declare class
|
|
2
|
+
export declare class LeadAdditionalContactEntity {
|
|
3
3
|
id?: number;
|
|
4
4
|
lead?: LeadEntity;
|
|
5
5
|
partyId?: string;
|
|
6
6
|
firstName?: string;
|
|
7
7
|
lastName?: string;
|
|
8
8
|
role?: string;
|
|
9
|
-
contactMediums?:
|
|
9
|
+
contactMediums?: LeadAdditionalContactMediumEntity[];
|
|
10
10
|
}
|
|
11
|
-
export declare class
|
|
11
|
+
export declare class LeadAdditionalContactMediumEntity {
|
|
12
12
|
id?: number;
|
|
13
|
-
leadAdditionalContact:
|
|
13
|
+
leadAdditionalContact: LeadAdditionalContactEntity;
|
|
14
14
|
type: string;
|
|
15
15
|
value: string;
|
|
16
16
|
preferred: boolean;
|
package/dist/database/lead/{leads-additional-contact.entity.js → lead-additional-contact.entity.js}
RENAMED
|
@@ -9,73 +9,73 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.LeadAdditionalContactMediumEntity = exports.LeadAdditionalContactEntity = void 0;
|
|
13
13
|
const openapi = require("@nestjs/swagger");
|
|
14
14
|
const typeorm_1 = require("typeorm");
|
|
15
15
|
const lead_entity_1 = require("./lead.entity");
|
|
16
|
-
let
|
|
16
|
+
let LeadAdditionalContactEntity = class LeadAdditionalContactEntity {
|
|
17
17
|
static _OPENAPI_METADATA_FACTORY() {
|
|
18
|
-
return { id: { required: false, type: () => Number }, lead: { required: false, type: () => require("./lead.entity").LeadEntity }, partyId: { required: false, type: () => String }, firstName: { required: false, type: () => String }, lastName: { required: false, type: () => String }, role: { required: false, type: () => String }, contactMediums: { required: false, type: () => [require("./
|
|
18
|
+
return { id: { required: false, type: () => Number }, lead: { required: false, type: () => require("./lead.entity").LeadEntity }, partyId: { required: false, type: () => String }, firstName: { required: false, type: () => String }, lastName: { required: false, type: () => String }, role: { required: false, type: () => String }, contactMediums: { required: false, type: () => [require("./lead-additional-contact.entity").LeadAdditionalContactMediumEntity] } };
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
|
-
exports.
|
|
21
|
+
exports.LeadAdditionalContactEntity = LeadAdditionalContactEntity;
|
|
22
22
|
__decorate([
|
|
23
23
|
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
24
24
|
__metadata("design:type", Number)
|
|
25
|
-
],
|
|
25
|
+
], LeadAdditionalContactEntity.prototype, "id", void 0);
|
|
26
26
|
__decorate([
|
|
27
27
|
(0, typeorm_1.ManyToOne)(() => lead_entity_1.LeadEntity),
|
|
28
28
|
(0, typeorm_1.JoinColumn)({ name: 'lead', referencedColumnName: 'id' }),
|
|
29
29
|
__metadata("design:type", lead_entity_1.LeadEntity)
|
|
30
|
-
],
|
|
30
|
+
], LeadAdditionalContactEntity.prototype, "lead", void 0);
|
|
31
31
|
__decorate([
|
|
32
32
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
33
33
|
__metadata("design:type", String)
|
|
34
|
-
],
|
|
34
|
+
], LeadAdditionalContactEntity.prototype, "partyId", void 0);
|
|
35
35
|
__decorate([
|
|
36
36
|
(0, typeorm_1.Column)({ nullable: false }),
|
|
37
37
|
__metadata("design:type", String)
|
|
38
|
-
],
|
|
38
|
+
], LeadAdditionalContactEntity.prototype, "firstName", void 0);
|
|
39
39
|
__decorate([
|
|
40
40
|
(0, typeorm_1.Column)({ nullable: false }),
|
|
41
41
|
__metadata("design:type", String)
|
|
42
|
-
],
|
|
42
|
+
], LeadAdditionalContactEntity.prototype, "lastName", void 0);
|
|
43
43
|
__decorate([
|
|
44
44
|
(0, typeorm_1.Column)({ nullable: false }),
|
|
45
45
|
__metadata("design:type", String)
|
|
46
|
-
],
|
|
46
|
+
], LeadAdditionalContactEntity.prototype, "role", void 0);
|
|
47
47
|
__decorate([
|
|
48
|
-
(0, typeorm_1.OneToMany)(() =>
|
|
48
|
+
(0, typeorm_1.OneToMany)(() => LeadAdditionalContactMediumEntity, (data) => data.leadAdditionalContact, {
|
|
49
49
|
cascade: ['insert', 'update']
|
|
50
50
|
}),
|
|
51
51
|
__metadata("design:type", Array)
|
|
52
|
-
],
|
|
53
|
-
exports.
|
|
52
|
+
], LeadAdditionalContactEntity.prototype, "contactMediums", void 0);
|
|
53
|
+
exports.LeadAdditionalContactEntity = LeadAdditionalContactEntity = __decorate([
|
|
54
54
|
(0, typeorm_1.Entity)({ name: 'leads-additional-contact' })
|
|
55
|
-
],
|
|
56
|
-
let
|
|
55
|
+
], LeadAdditionalContactEntity);
|
|
56
|
+
let LeadAdditionalContactMediumEntity = class LeadAdditionalContactMediumEntity {
|
|
57
57
|
static _OPENAPI_METADATA_FACTORY() {
|
|
58
|
-
return { id: { required: false, type: () => Number }, leadAdditionalContact: { required: true, type: () => require("./
|
|
58
|
+
return { id: { required: false, type: () => Number }, leadAdditionalContact: { required: true, type: () => require("./lead-additional-contact.entity").LeadAdditionalContactEntity }, type: { required: true, type: () => String }, value: { required: true, type: () => String }, preferred: { required: true, type: () => Boolean } };
|
|
59
59
|
}
|
|
60
60
|
};
|
|
61
|
-
exports.
|
|
61
|
+
exports.LeadAdditionalContactMediumEntity = LeadAdditionalContactMediumEntity;
|
|
62
62
|
__decorate([
|
|
63
63
|
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
64
64
|
__metadata("design:type", Number)
|
|
65
|
-
],
|
|
65
|
+
], LeadAdditionalContactMediumEntity.prototype, "id", void 0);
|
|
66
66
|
__decorate([
|
|
67
|
-
(0, typeorm_1.ManyToOne)(() =>
|
|
67
|
+
(0, typeorm_1.ManyToOne)(() => LeadAdditionalContactEntity),
|
|
68
68
|
(0, typeorm_1.JoinColumn)({ name: 'leadAdditionalContact', referencedColumnName: 'id' }),
|
|
69
|
-
__metadata("design:type",
|
|
70
|
-
],
|
|
69
|
+
__metadata("design:type", LeadAdditionalContactEntity)
|
|
70
|
+
], LeadAdditionalContactMediumEntity.prototype, "leadAdditionalContact", void 0);
|
|
71
71
|
__decorate([
|
|
72
72
|
(0, typeorm_1.Column)({ nullable: false }),
|
|
73
73
|
__metadata("design:type", String)
|
|
74
|
-
],
|
|
74
|
+
], LeadAdditionalContactMediumEntity.prototype, "type", void 0);
|
|
75
75
|
__decorate([
|
|
76
76
|
(0, typeorm_1.Column)({ nullable: false }),
|
|
77
77
|
__metadata("design:type", String)
|
|
78
|
-
],
|
|
78
|
+
], LeadAdditionalContactMediumEntity.prototype, "value", void 0);
|
|
79
79
|
__decorate([
|
|
80
80
|
(0, typeorm_1.Column)({
|
|
81
81
|
default: 0,
|
|
@@ -90,7 +90,7 @@ __decorate([
|
|
|
90
90
|
}
|
|
91
91
|
}),
|
|
92
92
|
__metadata("design:type", Boolean)
|
|
93
|
-
],
|
|
94
|
-
exports.
|
|
93
|
+
], LeadAdditionalContactMediumEntity.prototype, "preferred", void 0);
|
|
94
|
+
exports.LeadAdditionalContactMediumEntity = LeadAdditionalContactMediumEntity = __decorate([
|
|
95
95
|
(0, typeorm_1.Entity)({ name: 'leads-additional-contact-medium' })
|
|
96
|
-
],
|
|
96
|
+
], LeadAdditionalContactMediumEntity);
|
|
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.LeadTransactionEntity = void 0;
|
|
13
13
|
const openapi = require("@nestjs/swagger");
|
|
14
14
|
const PrimaryGeneratedColumn_1 = require("typeorm/decorator/columns/PrimaryGeneratedColumn");
|
|
15
15
|
const Entity_1 = require("typeorm/decorator/entity/Entity");
|
|
@@ -17,41 +17,41 @@ const lead_entity_1 = require("./lead.entity");
|
|
|
17
17
|
const JoinColumn_1 = require("typeorm/decorator/relations/JoinColumn");
|
|
18
18
|
const Column_1 = require("typeorm/decorator/columns/Column");
|
|
19
19
|
const OneToOne_1 = require("typeorm/decorator/relations/OneToOne");
|
|
20
|
-
let
|
|
20
|
+
let LeadTransactionEntity = class LeadTransactionEntity {
|
|
21
21
|
static _OPENAPI_METADATA_FACTORY() {
|
|
22
22
|
return { id: { required: false, type: () => Number }, lead: { required: false, type: () => require("./lead.entity").LeadEntity }, dtsTransactionId: { required: false, type: () => String }, createdBy: { required: false, type: () => String }, createdAt: { required: false, type: () => Date }, updatedBy: { required: false, type: () => String }, updatedAt: { required: false, type: () => Date } };
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
|
-
exports.
|
|
25
|
+
exports.LeadTransactionEntity = LeadTransactionEntity;
|
|
26
26
|
__decorate([
|
|
27
27
|
(0, PrimaryGeneratedColumn_1.PrimaryGeneratedColumn)(),
|
|
28
28
|
__metadata("design:type", Number)
|
|
29
|
-
],
|
|
29
|
+
], LeadTransactionEntity.prototype, "id", void 0);
|
|
30
30
|
__decorate([
|
|
31
31
|
(0, OneToOne_1.OneToOne)(() => lead_entity_1.LeadEntity),
|
|
32
32
|
(0, JoinColumn_1.JoinColumn)({ name: 'lead', referencedColumnName: 'id' }),
|
|
33
33
|
__metadata("design:type", lead_entity_1.LeadEntity)
|
|
34
|
-
],
|
|
34
|
+
], LeadTransactionEntity.prototype, "lead", void 0);
|
|
35
35
|
__decorate([
|
|
36
36
|
(0, Column_1.Column)({ nullable: false }),
|
|
37
37
|
__metadata("design:type", String)
|
|
38
|
-
],
|
|
38
|
+
], LeadTransactionEntity.prototype, "dtsTransactionId", void 0);
|
|
39
39
|
__decorate([
|
|
40
40
|
(0, Column_1.Column)({ nullable: true }),
|
|
41
41
|
__metadata("design:type", String)
|
|
42
|
-
],
|
|
42
|
+
], LeadTransactionEntity.prototype, "createdBy", void 0);
|
|
43
43
|
__decorate([
|
|
44
44
|
(0, Column_1.Column)({ type: 'datetime', default: () => 'CURRENT_TIMESTAMP' }),
|
|
45
45
|
__metadata("design:type", Date)
|
|
46
|
-
],
|
|
46
|
+
], LeadTransactionEntity.prototype, "createdAt", void 0);
|
|
47
47
|
__decorate([
|
|
48
48
|
(0, Column_1.Column)({ nullable: true }),
|
|
49
49
|
__metadata("design:type", String)
|
|
50
|
-
],
|
|
50
|
+
], LeadTransactionEntity.prototype, "updatedBy", void 0);
|
|
51
51
|
__decorate([
|
|
52
52
|
(0, Column_1.Column)({ type: 'datetime', default: () => 'CURRENT_TIMESTAMP', onUpdate: 'CURRENT_TIMESTAMP' }),
|
|
53
53
|
__metadata("design:type", Date)
|
|
54
|
-
],
|
|
55
|
-
exports.
|
|
54
|
+
], LeadTransactionEntity.prototype, "updatedAt", void 0);
|
|
55
|
+
exports.LeadTransactionEntity = LeadTransactionEntity = __decorate([
|
|
56
56
|
(0, Entity_1.Entity)({ name: 'leads-transactions' })
|
|
57
|
-
],
|
|
57
|
+
], LeadTransactionEntity);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { LeadAdditionalContactEntity } from './lead-additional-contact.entity';
|
|
2
2
|
import { LeadFileEntity } from './lead-file.entity';
|
|
3
3
|
import { LeadsConsentData } from './leads-consent-data.entity';
|
|
4
4
|
import { ApprovalEntity } from './approval.entity';
|
|
@@ -93,7 +93,7 @@ export declare class LeadEntity extends LeadColumns {
|
|
|
93
93
|
data?: LeadDataEntity[];
|
|
94
94
|
approvals?: ApprovalEntity[];
|
|
95
95
|
files?: LeadFileEntity[];
|
|
96
|
-
additionalContacts?:
|
|
96
|
+
additionalContacts?: LeadAdditionalContactEntity[];
|
|
97
97
|
consents?: LeadsConsentData[];
|
|
98
98
|
}
|
|
99
99
|
export type CreateLeadReferenceEntity = Pick<LeadEntity, 'id'>;
|
|
@@ -12,7 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.LeadDataZohoEntity = exports.SaleEntity = exports.LeadDataEntity = exports.LeadEntity = exports.LeadColumns = void 0;
|
|
13
13
|
const openapi = require("@nestjs/swagger");
|
|
14
14
|
const typeorm_1 = require("typeorm");
|
|
15
|
-
const
|
|
15
|
+
const lead_additional_contact_entity_1 = require("./lead-additional-contact.entity");
|
|
16
16
|
const lead_file_entity_1 = require("./lead-file.entity");
|
|
17
17
|
const leads_consent_data_entity_1 = require("./leads-consent-data.entity");
|
|
18
18
|
const approval_entity_1 = require("./approval.entity");
|
|
@@ -361,7 +361,7 @@ __decorate([
|
|
|
361
361
|
], LeadColumns.prototype, "updateByUserChannel", void 0);
|
|
362
362
|
let LeadEntity = class LeadEntity extends LeadColumns {
|
|
363
363
|
static _OPENAPI_METADATA_FACTORY() {
|
|
364
|
-
return { data: { required: false, type: () => [require("./lead.entity").LeadDataEntity] }, approvals: { required: false, type: () => [require("./approval.entity").ApprovalEntity] }, files: { required: false, type: () => [require("./lead-file.entity").LeadFileEntity] }, additionalContacts: { required: false, type: () => [require("./
|
|
364
|
+
return { data: { required: false, type: () => [require("./lead.entity").LeadDataEntity] }, approvals: { required: false, type: () => [require("./approval.entity").ApprovalEntity] }, files: { required: false, type: () => [require("./lead-file.entity").LeadFileEntity] }, additionalContacts: { required: false, type: () => [require("./lead-additional-contact.entity").LeadAdditionalContactEntity] }, consents: { required: false, type: () => [require("./leads-consent-data.entity").LeadsConsentData] } };
|
|
365
365
|
}
|
|
366
366
|
};
|
|
367
367
|
exports.LeadEntity = LeadEntity;
|
|
@@ -378,7 +378,7 @@ __decorate([
|
|
|
378
378
|
__metadata("design:type", Array)
|
|
379
379
|
], LeadEntity.prototype, "files", void 0);
|
|
380
380
|
__decorate([
|
|
381
|
-
(0, typeorm_1.OneToMany)(() =>
|
|
381
|
+
(0, typeorm_1.OneToMany)(() => lead_additional_contact_entity_1.LeadAdditionalContactEntity, (data) => data.lead),
|
|
382
382
|
__metadata("design:type", Array)
|
|
383
383
|
], LeadEntity.prototype, "additionalContacts", void 0);
|
|
384
384
|
__decorate([
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ApartmentNetworkType = exports.AreaAddressesOrderBy = void 0;
|
|
3
|
+
exports.GRUPO_AIRE_ADDRESS_APARMENT_ID_PREFIX = exports.ApartmentNetworkType = exports.AreaAddressesOrderBy = void 0;
|
|
4
4
|
var AreaAddressesOrderBy;
|
|
5
5
|
(function (AreaAddressesOrderBy) {
|
|
6
6
|
AreaAddressesOrderBy["ADDRESS"] = "address";
|
|
@@ -10,3 +10,4 @@ var ApartmentNetworkType;
|
|
|
10
10
|
(function (ApartmentNetworkType) {
|
|
11
11
|
ApartmentNetworkType["GRUPO_AIRE"] = "AIRE NETWORKS";
|
|
12
12
|
})(ApartmentNetworkType || (exports.ApartmentNetworkType = ApartmentNetworkType = {}));
|
|
13
|
+
exports.GRUPO_AIRE_ADDRESS_APARMENT_ID_PREFIX = 'T';
|
|
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.SearchByAreaParamsDto = exports.AreaAddressesQueryDto = exports.BaseAreaAddressesQueryDto = exports.ApartmentDto = exports.AreaAddressDto = exports.AddressApartmentDto = exports.AddressDto = void 0;
|
|
12
|
+
exports.WholesaleApartmentDto = exports.SearchByAreaParamsDto = exports.AreaAddressesQueryDto = exports.BaseAreaAddressesQueryDto = exports.ApartmentDto = exports.AreaAddressDto = exports.AddressApartmentDto = exports.AddressDto = void 0;
|
|
13
13
|
const openapi = require("@nestjs/swagger");
|
|
14
14
|
const _validators_1 = require("../../validators/index");
|
|
15
15
|
const class_validator_1 = require("class-validator");
|
|
@@ -73,3 +73,9 @@ class SearchByAreaParamsDto {
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
exports.SearchByAreaParamsDto = SearchByAreaParamsDto;
|
|
76
|
+
class WholesaleApartmentDto {
|
|
77
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
78
|
+
return { apartmentId: { required: true, type: () => String }, blacklisted: { required: true, type: () => Boolean } };
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
exports.WholesaleApartmentDto = WholesaleApartmentDto;
|