@alba-cars/common-modules 1.7.4 → 1.7.5

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.
@@ -2,7 +2,7 @@ import { Role } from "../../../models/Roles";
2
2
  export declare class UserGetDTO {
3
3
  id: string;
4
4
  refId: number;
5
- email: string;
5
+ email?: string;
6
6
  name?: string;
7
7
  phone?: string;
8
8
  photo?: string;
@@ -1,8 +1,5 @@
1
1
  export declare enum FaqCategory {
2
2
  FINANCE = "FINANCE",
3
- BUY_CAR = "BUY_CAR",
4
3
  SELL_CAR = "SELL_CAR",
5
- MAINTENANCE = "MAINTENANCE",
6
- INSURANCE = "INSURANCE",
7
- GENERAL = "GENERAL"
4
+ HOME_PAGE = "HOME_PAGE"
8
5
  }
@@ -4,9 +4,6 @@ exports.FaqCategory = void 0;
4
4
  var FaqCategory;
5
5
  (function (FaqCategory) {
6
6
  FaqCategory["FINANCE"] = "FINANCE";
7
- FaqCategory["BUY_CAR"] = "BUY_CAR";
8
7
  FaqCategory["SELL_CAR"] = "SELL_CAR";
9
- FaqCategory["MAINTENANCE"] = "MAINTENANCE";
10
- FaqCategory["INSURANCE"] = "INSURANCE";
11
- FaqCategory["GENERAL"] = "GENERAL";
8
+ FaqCategory["HOME_PAGE"] = "HOME_PAGE";
12
9
  })(FaqCategory = exports.FaqCategory || (exports.FaqCategory = {}));
@@ -1,4 +1,5 @@
1
1
  import { TicketRequestType, TicketStatusType } from '../enums';
2
+ import { User } from '../../../models';
2
3
  export declare class CreateTicketDto {
3
4
  userId: string;
4
5
  requestType: TicketRequestType;
@@ -21,6 +22,8 @@ export declare class TicketDto {
21
22
  requestType: TicketRequestType;
22
23
  message: string;
23
24
  assignedSalesAgentId?: string;
25
+ assignedSalesAgent?: User;
26
+ user?: User;
24
27
  agentName?: string;
25
28
  agentPhoneNumber?: string;
26
29
  status: TicketStatusType;
@@ -99,6 +99,14 @@ __decorate([
99
99
  (0, class_validator_1.IsOptional)(),
100
100
  __metadata("design:type", String)
101
101
  ], TicketDto.prototype, "assignedSalesAgentId", void 0);
102
+ __decorate([
103
+ (0, class_validator_1.IsOptional)(),
104
+ __metadata("design:type", Object)
105
+ ], TicketDto.prototype, "assignedSalesAgent", void 0);
106
+ __decorate([
107
+ (0, class_validator_1.IsOptional)(),
108
+ __metadata("design:type", Object)
109
+ ], TicketDto.prototype, "user", void 0);
102
110
  __decorate([
103
111
  (0, class_validator_1.IsString)(),
104
112
  (0, class_validator_1.IsOptional)(),
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.7.4",
6
+ "version": "1.7.5",
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",