@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.
@@ -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;
@@ -6,4 +6,9 @@ export declare class SaveLeadRequest {
6
6
  company?: string;
7
7
  notes?: string;
8
8
  source?: LeadSourceEnum;
9
+ companyEmail?: string;
10
+ companyAddress?: string;
11
+ facebook?: string;
12
+ instagram?: string;
13
+ jobTitle?: string;
9
14
  }
@@ -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);
@@ -6,4 +6,9 @@ export declare class UpdateLeadRequest {
6
6
  company?: string;
7
7
  notes?: string;
8
8
  status?: LeadStatusEnum;
9
+ companyEmail?: string;
10
+ companyAddress?: string;
11
+ facebook?: string;
12
+ instagram?: string;
13
+ jobTitle?: string;
9
14
  }
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/type-kit",
3
- "version": "3.103.0",
3
+ "version": "3.104.0",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -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
  }