@fiado/type-kit 3.103.0 → 3.104.0
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/bin/networkConnector/dtos/LeadResponse.d.ts +5 -0
- package/bin/networkConnector/dtos/SaveLeadRequest.d.ts +5 -0
- package/bin/networkConnector/dtos/SaveLeadRequest.js +30 -0
- package/bin/networkConnector/dtos/UpdateLeadRequest.d.ts +5 -0
- package/bin/networkConnector/dtos/UpdateLeadRequest.js +30 -0
- package/package.json +1 -1
- package/src/networkConnector/dtos/LeadResponse.ts +5 -0
- package/src/networkConnector/dtos/SaveLeadRequest.ts +5 -0
- package/src/networkConnector/dtos/UpdateLeadRequest.ts +5 -0
|
@@ -9,6 +9,11 @@ export interface LeadResponse {
|
|
|
9
9
|
company?: string;
|
|
10
10
|
notes?: string;
|
|
11
11
|
source: LeadSourceEnum;
|
|
12
|
+
companyEmail?: string;
|
|
13
|
+
companyAddress?: string;
|
|
14
|
+
facebook?: string;
|
|
15
|
+
instagram?: string;
|
|
16
|
+
jobTitle?: string;
|
|
12
17
|
status: LeadStatusEnum;
|
|
13
18
|
groupId?: string;
|
|
14
19
|
createdAt: number;
|
|
@@ -55,3 +55,33 @@ __decorate([
|
|
|
55
55
|
(0, class_validator_1.IsEnum)(LeadSourceEnum_1.LeadSourceEnum),
|
|
56
56
|
__metadata("design:type", String)
|
|
57
57
|
], SaveLeadRequest.prototype, "source", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, class_transformer_1.Expose)(),
|
|
60
|
+
(0, class_validator_1.IsOptional)(),
|
|
61
|
+
(0, class_validator_1.IsString)(),
|
|
62
|
+
__metadata("design:type", String)
|
|
63
|
+
], SaveLeadRequest.prototype, "companyEmail", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, class_transformer_1.Expose)(),
|
|
66
|
+
(0, class_validator_1.IsOptional)(),
|
|
67
|
+
(0, class_validator_1.IsString)(),
|
|
68
|
+
__metadata("design:type", String)
|
|
69
|
+
], SaveLeadRequest.prototype, "companyAddress", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, class_transformer_1.Expose)(),
|
|
72
|
+
(0, class_validator_1.IsOptional)(),
|
|
73
|
+
(0, class_validator_1.IsString)(),
|
|
74
|
+
__metadata("design:type", String)
|
|
75
|
+
], SaveLeadRequest.prototype, "facebook", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
(0, class_transformer_1.Expose)(),
|
|
78
|
+
(0, class_validator_1.IsOptional)(),
|
|
79
|
+
(0, class_validator_1.IsString)(),
|
|
80
|
+
__metadata("design:type", String)
|
|
81
|
+
], SaveLeadRequest.prototype, "instagram", void 0);
|
|
82
|
+
__decorate([
|
|
83
|
+
(0, class_transformer_1.Expose)(),
|
|
84
|
+
(0, class_validator_1.IsOptional)(),
|
|
85
|
+
(0, class_validator_1.IsString)(),
|
|
86
|
+
__metadata("design:type", String)
|
|
87
|
+
], SaveLeadRequest.prototype, "jobTitle", void 0);
|
|
@@ -55,3 +55,33 @@ __decorate([
|
|
|
55
55
|
(0, class_validator_1.IsEnum)(LeadStatusEnum_1.LeadStatusEnum),
|
|
56
56
|
__metadata("design:type", String)
|
|
57
57
|
], UpdateLeadRequest.prototype, "status", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, class_transformer_1.Expose)(),
|
|
60
|
+
(0, class_validator_1.IsOptional)(),
|
|
61
|
+
(0, class_validator_1.IsString)(),
|
|
62
|
+
__metadata("design:type", String)
|
|
63
|
+
], UpdateLeadRequest.prototype, "companyEmail", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, class_transformer_1.Expose)(),
|
|
66
|
+
(0, class_validator_1.IsOptional)(),
|
|
67
|
+
(0, class_validator_1.IsString)(),
|
|
68
|
+
__metadata("design:type", String)
|
|
69
|
+
], UpdateLeadRequest.prototype, "companyAddress", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, class_transformer_1.Expose)(),
|
|
72
|
+
(0, class_validator_1.IsOptional)(),
|
|
73
|
+
(0, class_validator_1.IsString)(),
|
|
74
|
+
__metadata("design:type", String)
|
|
75
|
+
], UpdateLeadRequest.prototype, "facebook", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
(0, class_transformer_1.Expose)(),
|
|
78
|
+
(0, class_validator_1.IsOptional)(),
|
|
79
|
+
(0, class_validator_1.IsString)(),
|
|
80
|
+
__metadata("design:type", String)
|
|
81
|
+
], UpdateLeadRequest.prototype, "instagram", void 0);
|
|
82
|
+
__decorate([
|
|
83
|
+
(0, class_transformer_1.Expose)(),
|
|
84
|
+
(0, class_validator_1.IsOptional)(),
|
|
85
|
+
(0, class_validator_1.IsString)(),
|
|
86
|
+
__metadata("design:type", String)
|
|
87
|
+
], UpdateLeadRequest.prototype, "jobTitle", void 0);
|
package/package.json
CHANGED
|
@@ -10,6 +10,11 @@ export interface LeadResponse {
|
|
|
10
10
|
company?: string;
|
|
11
11
|
notes?: string;
|
|
12
12
|
source: LeadSourceEnum;
|
|
13
|
+
companyEmail?: string;
|
|
14
|
+
companyAddress?: string;
|
|
15
|
+
facebook?: string;
|
|
16
|
+
instagram?: string;
|
|
17
|
+
jobTitle?: string;
|
|
13
18
|
status: LeadStatusEnum;
|
|
14
19
|
groupId?: string;
|
|
15
20
|
createdAt: number;
|
|
@@ -9,4 +9,9 @@ export class SaveLeadRequest {
|
|
|
9
9
|
@Expose() @IsOptional() @IsString() @MaxLength(200) company?: string;
|
|
10
10
|
@Expose() @IsOptional() @IsString() @MaxLength(500) notes?: string;
|
|
11
11
|
@Expose() @IsOptional() @IsEnum(LeadSourceEnum) source?: LeadSourceEnum;
|
|
12
|
+
@Expose() @IsOptional() @IsString() companyEmail?: string;
|
|
13
|
+
@Expose() @IsOptional() @IsString() companyAddress?: string;
|
|
14
|
+
@Expose() @IsOptional() @IsString() facebook?: string;
|
|
15
|
+
@Expose() @IsOptional() @IsString() instagram?: string;
|
|
16
|
+
@Expose() @IsOptional() @IsString() jobTitle?: string;
|
|
12
17
|
}
|
|
@@ -9,4 +9,9 @@ export class UpdateLeadRequest {
|
|
|
9
9
|
@Expose() @IsOptional() @IsString() @MaxLength(200) company?: string;
|
|
10
10
|
@Expose() @IsOptional() @IsString() @MaxLength(500) notes?: string;
|
|
11
11
|
@Expose() @IsOptional() @IsEnum(LeadStatusEnum) status?: LeadStatusEnum;
|
|
12
|
+
@Expose() @IsOptional() @IsString() companyEmail?: string;
|
|
13
|
+
@Expose() @IsOptional() @IsString() companyAddress?: string;
|
|
14
|
+
@Expose() @IsOptional() @IsString() facebook?: string;
|
|
15
|
+
@Expose() @IsOptional() @IsString() instagram?: string;
|
|
16
|
+
@Expose() @IsOptional() @IsString() jobTitle?: string;
|
|
12
17
|
}
|