@autologix-engineering/shared 1.0.421 → 1.0.422
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@autologix-engineering/shared",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.422",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"tslib": "^2.3.0"
|
|
6
6
|
},
|
|
@@ -12,6 +12,6 @@
|
|
|
12
12
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
13
13
|
},
|
|
14
14
|
"author": "autologix-engineering",
|
|
15
|
-
"
|
|
16
|
-
"
|
|
15
|
+
"module": "./src/index.js",
|
|
16
|
+
"types": "./src/index.d.ts"
|
|
17
17
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BookingStatus } from '../../enums/src/booking.status.enum';
|
|
2
2
|
import { SortOrder } from '../../enums/src/sort.order.enum';
|
|
3
|
+
import { RequestType, VehicleType } from '../../enums/src';
|
|
3
4
|
export declare class DutiesQueryDTO {
|
|
4
5
|
contextId?: string;
|
|
5
6
|
fromDate?: string;
|
|
@@ -16,5 +17,14 @@ export declare class DutiesQueryDTO {
|
|
|
16
17
|
isClient?: boolean;
|
|
17
18
|
ctxPersonaId?: string;
|
|
18
19
|
vaId?: string;
|
|
20
|
+
clientPersonaIds?: string[];
|
|
21
|
+
subClientOfId?: string[];
|
|
22
|
+
cities?: string[];
|
|
23
|
+
garageIds?: string[];
|
|
24
|
+
requestType?: RequestType[];
|
|
25
|
+
vehicleGroupIds?: string[];
|
|
26
|
+
vehicleType?: VehicleType[];
|
|
27
|
+
createdFrom?: string;
|
|
28
|
+
createdTill?: string;
|
|
19
29
|
constructor(obj?: Partial<DutiesQueryDTO>);
|
|
20
30
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __decorate, __metadata } from "tslib";
|
|
2
|
-
import { IsArray, IsBoolean, IsDateString, IsEnum, IsNumber, IsOptional, IsString, IsUUID, } from 'class-validator';
|
|
2
|
+
import { ArrayMinSize, IsArray, IsBoolean, IsDateString, IsEnum, IsNumber, IsOptional, IsString, IsUUID, } from 'class-validator';
|
|
3
3
|
import { BookingStatus } from '../../enums/src/booking.status.enum';
|
|
4
4
|
import { SortOrder } from '../../enums/src/sort.order.enum';
|
|
5
5
|
export class DutiesQueryDTO {
|
|
@@ -83,4 +83,56 @@ __decorate([
|
|
|
83
83
|
IsString(),
|
|
84
84
|
__metadata("design:type", String)
|
|
85
85
|
], DutiesQueryDTO.prototype, "vaId", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
IsOptional(),
|
|
88
|
+
IsArray(),
|
|
89
|
+
ArrayMinSize(1),
|
|
90
|
+
__metadata("design:type", Array)
|
|
91
|
+
], DutiesQueryDTO.prototype, "clientPersonaIds", void 0);
|
|
92
|
+
__decorate([
|
|
93
|
+
IsOptional(),
|
|
94
|
+
IsArray(),
|
|
95
|
+
ArrayMinSize(1),
|
|
96
|
+
__metadata("design:type", Array)
|
|
97
|
+
], DutiesQueryDTO.prototype, "subClientOfId", void 0);
|
|
98
|
+
__decorate([
|
|
99
|
+
IsOptional(),
|
|
100
|
+
IsArray(),
|
|
101
|
+
ArrayMinSize(1),
|
|
102
|
+
__metadata("design:type", Array)
|
|
103
|
+
], DutiesQueryDTO.prototype, "cities", void 0);
|
|
104
|
+
__decorate([
|
|
105
|
+
IsOptional(),
|
|
106
|
+
IsArray(),
|
|
107
|
+
ArrayMinSize(1),
|
|
108
|
+
__metadata("design:type", Array)
|
|
109
|
+
], DutiesQueryDTO.prototype, "garageIds", void 0);
|
|
110
|
+
__decorate([
|
|
111
|
+
IsOptional(),
|
|
112
|
+
IsArray(),
|
|
113
|
+
ArrayMinSize(1),
|
|
114
|
+
__metadata("design:type", Array)
|
|
115
|
+
], DutiesQueryDTO.prototype, "requestType", void 0);
|
|
116
|
+
__decorate([
|
|
117
|
+
IsOptional(),
|
|
118
|
+
IsArray(),
|
|
119
|
+
ArrayMinSize(1),
|
|
120
|
+
__metadata("design:type", Array)
|
|
121
|
+
], DutiesQueryDTO.prototype, "vehicleGroupIds", void 0);
|
|
122
|
+
__decorate([
|
|
123
|
+
IsOptional(),
|
|
124
|
+
IsArray(),
|
|
125
|
+
ArrayMinSize(1),
|
|
126
|
+
__metadata("design:type", Array)
|
|
127
|
+
], DutiesQueryDTO.prototype, "vehicleType", void 0);
|
|
128
|
+
__decorate([
|
|
129
|
+
IsOptional(),
|
|
130
|
+
IsDateString(),
|
|
131
|
+
__metadata("design:type", String)
|
|
132
|
+
], DutiesQueryDTO.prototype, "createdFrom", void 0);
|
|
133
|
+
__decorate([
|
|
134
|
+
IsOptional(),
|
|
135
|
+
IsDateString(),
|
|
136
|
+
__metadata("design:type", String)
|
|
137
|
+
], DutiesQueryDTO.prototype, "createdTill", void 0);
|
|
86
138
|
//# sourceMappingURL=duties.query.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"duties.query.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/duties.query.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EACN,OAAO,EACP,SAAS,EACT,YAAY,EACZ,MAAM,EACN,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,MAAM,GACN,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"duties.query.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/duties.query.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EACN,YAAY,EACZ,OAAO,EACP,SAAS,EACT,YAAY,EACZ,MAAM,EACN,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,MAAM,GACN,MAAM,iBAAiB,CAAC;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