adamo-types 2.0.105-sit → 2.0.106-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/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.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
|
@@ -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([
|
|
@@ -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;
|