@alba-cars/common-modules 1.10.30 → 1.10.32

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.
@@ -5,6 +5,7 @@ export declare enum Designation {
5
5
  CO_FOUNDER = "co-founder",
6
6
  CHIEF_SALES_OFFICER = "chief sales officer",
7
7
  CHIEF_PURCHASING_OFFICER = "Chief Purchasing Officer",
8
+ PURCHASE_MANAGER = "Purchase Manager",
8
9
  PURCHASER = "Purchaser",
9
10
  FINANCE_MANAGER = "Finance Manager",
10
11
  HEAD_OF_ACCOUNTS = "Head of Accounts",
@@ -66,6 +67,7 @@ export declare class SalesAgentFilterDTO {
66
67
  status?: number;
67
68
  teamCategory?: TeamCategory;
68
69
  designation?: Designation;
70
+ sortOrder?: number;
69
71
  languages?: Languages[];
70
72
  isActive?: boolean;
71
73
  createdAtStart?: Date;
@@ -20,6 +20,7 @@ var Designation;
20
20
  Designation["CO_FOUNDER"] = "co-founder";
21
21
  Designation["CHIEF_SALES_OFFICER"] = "chief sales officer";
22
22
  Designation["CHIEF_PURCHASING_OFFICER"] = "Chief Purchasing Officer";
23
+ Designation["PURCHASE_MANAGER"] = "Purchase Manager";
23
24
  Designation["PURCHASER"] = "Purchaser";
24
25
  Designation["FINANCE_MANAGER"] = "Finance Manager";
25
26
  Designation["HEAD_OF_ACCOUNTS"] = "Head of Accounts";
@@ -127,6 +128,11 @@ __decorate([
127
128
  (0, class_validator_1.IsEnum)(Designation),
128
129
  __metadata("design:type", String)
129
130
  ], SalesAgentFilterDTO.prototype, "designation", void 0);
131
+ __decorate([
132
+ (0, class_validator_1.IsNumber)(),
133
+ (0, class_validator_1.IsOptional)(),
134
+ __metadata("design:type", Number)
135
+ ], SalesAgentFilterDTO.prototype, "sortOrder", void 0);
130
136
  __decorate([
131
137
  (0, class_validator_1.IsOptional)(),
132
138
  (0, class_validator_1.IsArray)(),
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.10.30",
6
+ "version": "1.10.32",
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",