@alba-cars/common-modules 1.10.0 → 1.10.1

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.
@@ -53,7 +53,7 @@ export declare class LeadUpdateDTO {
53
53
  export declare class LeadCreateDTO {
54
54
  firstName: string;
55
55
  lastName: string;
56
- email: string;
56
+ email?: string;
57
57
  phone: string;
58
58
  alternatePhone?: string;
59
59
  address?: string;
@@ -230,6 +230,7 @@ __decorate([
230
230
  __decorate([
231
231
  (0, class_validator_1.IsString)(),
232
232
  (0, class_validator_1.IsEmail)(),
233
+ (0, class_validator_1.IsOptional)(),
233
234
  __metadata("design:type", String)
234
235
  ], LeadCreateDTO.prototype, "email", void 0);
235
236
  __decorate([
@@ -1,5 +1,9 @@
1
1
  export declare enum LeadSource {
2
2
  WEBSITE = "WEBSITE",
3
+ TEST_DRIVE_REQUEST = "TEST_DRIVE_REQUEST",
4
+ SELL_CAR_REQUEST = "SELL_CAR_REQUEST",
5
+ SHOWROOM_VISIT = "SHOWROOM_VISIT",
6
+ FINANCE_ELIGIBILITY_REQUEST = "FINANCE_ELIGIBILITY_REQUEST",
3
7
  PHONE = "PHONE",
4
8
  WALK_IN = "WALK_IN",
5
9
  REFERRAL = "REFERRAL",
@@ -4,6 +4,10 @@ exports.LeadSource = void 0;
4
4
  var LeadSource;
5
5
  (function (LeadSource) {
6
6
  LeadSource["WEBSITE"] = "WEBSITE";
7
+ LeadSource["TEST_DRIVE_REQUEST"] = "TEST_DRIVE_REQUEST";
8
+ LeadSource["SELL_CAR_REQUEST"] = "SELL_CAR_REQUEST";
9
+ LeadSource["SHOWROOM_VISIT"] = "SHOWROOM_VISIT";
10
+ LeadSource["FINANCE_ELIGIBILITY_REQUEST"] = "FINANCE_ELIGIBILITY_REQUEST";
7
11
  LeadSource["PHONE"] = "PHONE";
8
12
  LeadSource["WALK_IN"] = "WALK_IN";
9
13
  LeadSource["REFERRAL"] = "REFERRAL";
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.10.0",
6
+ "version": "1.10.1",
7
7
  "description": "A package containing DTOs, validation classes and common modules and interfaces for Alba Cars",
8
8
  "main": "dist/index.js",
9
9
  "types": "dist/index.d.ts",