@autologix-engineering/shared 1.0.310 → 1.0.311
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 +1 -1
- package/src/lib/data-transfer-objects/src/client.persona.custom.dto.d.ts +4 -0
- package/src/lib/data-transfer-objects/src/client.persona.custom.dto.js +17 -1
- package/src/lib/data-transfer-objects/src/client.persona.custom.dto.js.map +1 -1
- package/src/lib/data-transfer-objects/src/create.request.new.dto.js +2 -0
- package/src/lib/data-transfer-objects/src/create.request.new.dto.js.map +1 -1
- package/src/lib/data-transfer-objects/src/driver.persona.custom.dto.d.ts +5 -0
- package/src/lib/data-transfer-objects/src/driver.persona.custom.dto.js +22 -1
- package/src/lib/data-transfer-objects/src/driver.persona.custom.dto.js.map +1 -1
- package/src/lib/data-transfer-objects/src/get.clients.of.vendor.dto.d.ts +1 -1
- package/src/lib/data-transfer-objects/src/get.clients.of.vendor.dto.js +4 -3
- package/src/lib/data-transfer-objects/src/get.clients.of.vendor.dto.js.map +1 -1
- package/src/lib/data-transfer-objects/src/get.master.city.dto.d.ts +5 -0
- package/src/lib/data-transfer-objects/src/get.master.city.dto.js +22 -1
- package/src/lib/data-transfer-objects/src/get.master.city.dto.js.map +1 -1
- package/src/lib/data-transfer-objects/src/get.organization.place.custom.dto.d.ts +3 -0
- package/src/lib/data-transfer-objects/src/get.organization.place.custom.dto.js +10 -1
- package/src/lib/data-transfer-objects/src/get.organization.place.custom.dto.js.map +1 -1
- package/src/lib/data-transfer-objects/src/vehicle.custom.query.dto.d.ts +9 -4
- package/src/lib/data-transfer-objects/src/vehicle.custom.query.dto.js +33 -9
- package/src/lib/data-transfer-objects/src/vehicle.custom.query.dto.js.map +1 -1
- package/src/lib/enums/src/city.state.mapping.js +1 -1
package/package.json
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
|
+
import { Industry } from '@autologix/shared/enums';
|
|
1
2
|
export declare class ClientPersonaCustomDTO {
|
|
2
3
|
vendorBco: string;
|
|
3
4
|
clntPerIds?: string[];
|
|
4
5
|
atDuty?: boolean;
|
|
5
6
|
skip: number;
|
|
6
7
|
take: number;
|
|
8
|
+
status?: string[];
|
|
9
|
+
industry?: Industry[];
|
|
10
|
+
ctype?: string[];
|
|
7
11
|
constructor(obj?: Partial<ClientPersonaCustomDTO>);
|
|
8
12
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { __decorate, __metadata } from "tslib";
|
|
2
|
+
import { Industry } from '@autologix/shared/enums';
|
|
2
3
|
import { Transform } from 'class-transformer';
|
|
3
|
-
import { IsArray, IsBoolean, IsNumber, IsOptional, IsUUID, } from 'class-validator';
|
|
4
|
+
import { IsArray, IsBoolean, IsEnum, IsNumber, IsOptional, IsUUID, } from 'class-validator';
|
|
4
5
|
export class ClientPersonaCustomDTO {
|
|
5
6
|
constructor(obj) {
|
|
6
7
|
Object.assign(this, obj);
|
|
@@ -33,4 +34,19 @@ __decorate([
|
|
|
33
34
|
Transform(Number),
|
|
34
35
|
__metadata("design:type", Number)
|
|
35
36
|
], ClientPersonaCustomDTO.prototype, "take", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
IsOptional(),
|
|
39
|
+
IsArray(),
|
|
40
|
+
__metadata("design:type", Array)
|
|
41
|
+
], ClientPersonaCustomDTO.prototype, "status", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
IsOptional(),
|
|
44
|
+
IsEnum(Industry, { each: true }),
|
|
45
|
+
__metadata("design:type", Array)
|
|
46
|
+
], ClientPersonaCustomDTO.prototype, "industry", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
IsOptional(),
|
|
49
|
+
IsArray(),
|
|
50
|
+
__metadata("design:type", Array)
|
|
51
|
+
], ClientPersonaCustomDTO.prototype, "ctype", void 0);
|
|
36
52
|
//# sourceMappingURL=client.persona.custom.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.persona.custom.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/client.persona.custom.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EACN,OAAO,EACP,SAAS,EACT,QAAQ,EACR,UAAU,EACV,MAAM,GAEN,MAAM,iBAAiB,CAAC;AAEzB,MAAM,OAAO,sBAAsB;
|
|
1
|
+
{"version":3,"file":"client.persona.custom.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/client.persona.custom.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EACN,OAAO,EACP,SAAS,EACT,MAAM,EACN,QAAQ,EACR,UAAU,EACV,MAAM,GAEN,MAAM,iBAAiB,CAAC;AAEzB,MAAM,OAAO,sBAAsB;IAmClC,YAAY,GAAqC;QAChD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC1B,CAAC;CACD;AApCA;IADC,MAAM,EAAE;;yDACS;AAIlB;IAFC,UAAU,EAAE;IACZ,OAAO,EAAE;;0DACY;AAKtB;IAHC,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC;;sDACtB;AAKjB;IAHC,UAAU,EAAE;IACZ,QAAQ,EAAE;IACV,SAAS,CAAC,MAAM,CAAC;;oDACL;AAKb;IAHC,UAAU,EAAE;IACZ,QAAQ,EAAE;IACV,SAAS,CAAC,MAAM,CAAC;;oDACL;AAIb;IAFC,UAAU,EAAE;IACZ,OAAO,EAAE;;sDACQ;AAIlB;IAFC,UAAU,EAAE;IACZ,MAAM,CAAC,QAAQ,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;wDACX;AAItB;IAFC,UAAU,EAAE;IACZ,OAAO,EAAE;;qDACO"}
|
|
@@ -77,6 +77,7 @@ __decorate([
|
|
|
77
77
|
ValidateIf((_o) => _o.requestType !== RequestType.Rental &&
|
|
78
78
|
_o.requestType !== RequestType.OutstationRide),
|
|
79
79
|
IsUUID(),
|
|
80
|
+
IsOptional(),
|
|
80
81
|
__metadata("design:type", String)
|
|
81
82
|
], CreateRequestDTO.prototype, "dropPlaceId", void 0);
|
|
82
83
|
__decorate([
|
|
@@ -124,6 +125,7 @@ __decorate([
|
|
|
124
125
|
ValidateIf((_o) => _o.requestType !== RequestType.Rental &&
|
|
125
126
|
_o.requestType !== RequestType.OutstationRide),
|
|
126
127
|
IsString(),
|
|
128
|
+
IsOptional(),
|
|
127
129
|
__metadata("design:type", String)
|
|
128
130
|
], CreateRequestDTO.prototype, "distanceMatrixResponse", void 0);
|
|
129
131
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.request.new.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/create.request.new.dto.ts"],"names":[],"mappings":";;AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EACN,YAAY,EACZ,OAAO,EACP,SAAS,EACT,MAAM,EACN,MAAM,EACN,UAAU,EACV,QAAQ,EACR,MAAM,EACN,UAAU,EACV,cAAc,GACd,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AACzE,OAAO,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAChE,OAAO,EAEN,uBAAuB,GACvB,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAE,MAAM,8CAA8C,CAAC;AACrF,OAAO,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAEhE,MAAM,OAAO,SAAS;IASrB,YAAY,IAAyB;QACpC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC3B,CAAC;CACD;AAVA;IADC,MAAM,EAAE;;gDACa;AAKtB;IAHC,OAAO,EAAE;IACT,YAAY,CAAC,CAAC,CAAC;IACf,QAAQ,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;+CACF;AAOxB,MAAM,OAAO,QAAQ;IAQpB,YAAY,IAAwB;QACnC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC3B,CAAC;CACD;AATA;IADC,MAAM,EAAE;;+CACa;AAItB;IAFC,UAAU,EAAE;IACZ,OAAO,EAAE;;8CACc;AAOzB,MAAM,OAAO,kBAAkB;IAO9B,YAAY,IAAkC;QAC7C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC3B,CAAC;CACD;KARC,uBAAuB,CAAC,OAAO,OAG/B,uBAAuB,CAAC,WAAW;AAHpC;IADC,MAAM,CAAC,qBAAqB,CAAC;;4CAC2B;AAGzD;IADC,QAAQ,EAAE;;4CACmC;AAO/C,MAAM,OAAO,gBAAgB;
|
|
1
|
+
{"version":3,"file":"create.request.new.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/create.request.new.dto.ts"],"names":[],"mappings":";;AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EACN,YAAY,EACZ,OAAO,EACP,SAAS,EACT,MAAM,EACN,MAAM,EACN,UAAU,EACV,QAAQ,EACR,MAAM,EACN,UAAU,EACV,cAAc,GACd,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AACzE,OAAO,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAChE,OAAO,EAEN,uBAAuB,G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: number;
|
|
4
5
|
take: number;
|
|
5
6
|
searchText?: string;
|
|
6
7
|
driverPersonId?: string;
|
|
8
|
+
status?: string[];
|
|
9
|
+
city?: City[];
|
|
10
|
+
employer?: string[];
|
|
11
|
+
licence?: DrivingLicenceType[];
|
|
7
12
|
constructor(obj?: Partial<DriverPersonaCustomDTO>);
|
|
8
13
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { __decorate, __metadata } from "tslib";
|
|
2
|
+
import { City, DrivingLicenceType } from '@autologix/shared/enums';
|
|
2
3
|
import { Transform } from 'class-transformer';
|
|
3
|
-
import { IsNumber, IsOptional, IsUUID } from 'class-validator';
|
|
4
|
+
import { IsArray, IsEnum, IsNumber, IsOptional, IsUUID } from 'class-validator';
|
|
4
5
|
export class DriverPersonaCustomDTO {
|
|
5
6
|
constructor(obj) {
|
|
6
7
|
Object.assign(this, obj);
|
|
@@ -30,4 +31,24 @@ __decorate([
|
|
|
30
31
|
IsUUID(),
|
|
31
32
|
__metadata("design:type", String)
|
|
32
33
|
], DriverPersonaCustomDTO.prototype, "driverPersonId", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
IsOptional(),
|
|
36
|
+
IsArray(),
|
|
37
|
+
__metadata("design:type", Array)
|
|
38
|
+
], DriverPersonaCustomDTO.prototype, "status", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
IsOptional(),
|
|
41
|
+
IsEnum(City, { each: true }),
|
|
42
|
+
__metadata("design:type", Array)
|
|
43
|
+
], DriverPersonaCustomDTO.prototype, "city", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
IsOptional(),
|
|
46
|
+
IsArray(),
|
|
47
|
+
__metadata("design:type", Array)
|
|
48
|
+
], DriverPersonaCustomDTO.prototype, "employer", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
IsOptional(),
|
|
51
|
+
IsEnum(DrivingLicenceType, { each: true }),
|
|
52
|
+
__metadata("design:type", Array)
|
|
53
|
+
], DriverPersonaCustomDTO.prototype, "licence", void 0);
|
|
33
54
|
//# sourceMappingURL=driver.persona.custom.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"driver.persona.custom.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/driver.persona.custom.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"driver.persona.custom.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/driver.persona.custom.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEhF,MAAM,OAAO,sBAAsB;IAoClC,YAAY,GAAqC;QAChD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC1B,CAAC;CACD;AApCA;IAFC,UAAU,EAAE;IACZ,MAAM,EAAE;;yDACU;AAInB;IAFC,QAAQ,EAAE;IACV,SAAS,CAAC,MAAM,CAAC;;oDACL;AAIb;IAFC,QAAQ,EAAE;IACV,SAAS,CAAC,MAAM,CAAC;;oDACL;AAGb;IADC,UAAU,EAAE;;0DACO;AAIpB;IAFC,UAAU,EAAE;IACZ,MAAM,EAAE;;8DACe;AAIxB;IAFC,UAAU,EAAE;IACZ,OAAO,EAAE;;sDACQ;AAIlB;IAFC,UAAU,EAAE;IACZ,MAAM,CAAC,IAAI,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;oDACf;AAId;IAFC,UAAU,EAAE;IACZ,OAAO,EAAE;;wDACU;AAIpB;IAFC,UAAU,EAAE;IACZ,MAAM,CAAC,kBAAkB,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;uDACZ"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __decorate, __metadata } from "tslib";
|
|
2
2
|
import { Transform } from 'class-transformer';
|
|
3
|
-
import { IsNumber, IsOptional, IsString, IsUUID, IsEnum, } from 'class-validator';
|
|
3
|
+
import { IsNumber, IsOptional, IsString, IsUUID, IsEnum, IsArray, } from 'class-validator';
|
|
4
4
|
import { City, VendorCategory } from '../../enums/src/index';
|
|
5
5
|
export class GetClientsOfVendorDto {
|
|
6
6
|
constructor(obj) {
|
|
@@ -30,8 +30,8 @@ __decorate([
|
|
|
30
30
|
], GetClientsOfVendorDto.prototype, "searchText", void 0);
|
|
31
31
|
__decorate([
|
|
32
32
|
IsOptional(),
|
|
33
|
-
|
|
34
|
-
__metadata("design:type",
|
|
33
|
+
IsArray(),
|
|
34
|
+
__metadata("design:type", Array)
|
|
35
35
|
], GetClientsOfVendorDto.prototype, "statusParam", void 0);
|
|
36
36
|
__decorate([
|
|
37
37
|
IsOptional(),
|
|
@@ -45,6 +45,7 @@ __decorate([
|
|
|
45
45
|
], GetClientsOfVendorDto.prototype, "category", void 0);
|
|
46
46
|
__decorate([
|
|
47
47
|
IsOptional(),
|
|
48
|
+
IsArray(),
|
|
48
49
|
__metadata("design:type", Array)
|
|
49
50
|
], GetClientsOfVendorDto.prototype, "msme", void 0);
|
|
50
51
|
//# sourceMappingURL=get.clients.of.vendor.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.clients.of.vendor.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/get.clients.of.vendor.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EACN,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,MAAM,EACN,MAAM,
|
|
1
|
+
{"version":3,"file":"get.clients.of.vendor.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/get.clients.of.vendor.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EACN,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,MAAM,EACN,MAAM,EACN,OAAO,GAEP,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE7D,MAAM,OAAO,qBAAqB;IAkCjC,YAAY,GAAoC;QAC/C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC1B,CAAC;CACD;AAnCA;IADC,MAAM,EAAE;;0DACW;AAKpB;IAHC,UAAU,EAAE;IACZ,QAAQ,EAAE;IACV,SAAS,CAAC,MAAM,CAAC;;mDACL;AAKb;IAHC,UAAU,EAAE;IACZ,QAAQ,EAAE;IACV,SAAS,CAAC,MAAM,CAAC;;mDACL;AAIb;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;yDACQ;AAInB;IAFC,UAAU,EAAE;IACZ,OAAO,EAAE;;0DACa;AAIvB;IAFC,UAAU,EAAE;IACZ,MAAM,CAAC,IAAI,CAAC;;mDACC;AAId;IAFC,UAAU,EAAE;IACZ,MAAM,CAAC,cAAc,CAAC;;uDACK;AAI5B;IAFC,UAAU,EAAE;IACZ,OAAO,EAAE;;mDACM"}
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
+
import { cityServiceType } from '@autologix/shared/enums';
|
|
1
2
|
export declare class GetMasterCityDTO {
|
|
2
3
|
skip?: number;
|
|
3
4
|
take?: number;
|
|
4
5
|
searchText?: string;
|
|
5
6
|
contextId: string;
|
|
7
|
+
cityType?: cityServiceType[];
|
|
8
|
+
bgv?: string[];
|
|
9
|
+
pv?: string[];
|
|
10
|
+
status?: string[];
|
|
6
11
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { __decorate, __metadata } from "tslib";
|
|
2
|
-
import { IsOptional, IsString, IsUUID } from 'class-validator';
|
|
2
|
+
import { IsArray, IsEnum, IsOptional, IsString, IsUUID, } from 'class-validator';
|
|
3
3
|
import { Transform } from 'class-transformer';
|
|
4
|
+
import { cityServiceType } from '@autologix/shared/enums';
|
|
4
5
|
export class GetMasterCityDTO {
|
|
5
6
|
}
|
|
6
7
|
__decorate([
|
|
@@ -22,4 +23,24 @@ __decorate([
|
|
|
22
23
|
IsUUID(),
|
|
23
24
|
__metadata("design:type", String)
|
|
24
25
|
], GetMasterCityDTO.prototype, "contextId", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
IsOptional(),
|
|
28
|
+
IsEnum(cityServiceType, { each: true }),
|
|
29
|
+
__metadata("design:type", Array)
|
|
30
|
+
], GetMasterCityDTO.prototype, "cityType", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
IsOptional(),
|
|
33
|
+
IsArray(),
|
|
34
|
+
__metadata("design:type", Array)
|
|
35
|
+
], GetMasterCityDTO.prototype, "bgv", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
IsOptional(),
|
|
38
|
+
IsArray(),
|
|
39
|
+
__metadata("design:type", Array)
|
|
40
|
+
], GetMasterCityDTO.prototype, "pv", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
IsOptional(),
|
|
43
|
+
IsArray(),
|
|
44
|
+
__metadata("design:type", Array)
|
|
45
|
+
], GetMasterCityDTO.prototype, "status", void 0);
|
|
25
46
|
//# sourceMappingURL=get.master.city.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.master.city.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/get.master.city.dto.ts"],"names":[],"mappings":";AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"get.master.city.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/get.master.city.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EACN,OAAO,EAEP,MAAM,EACN,UAAU,EACV,QAAQ,EACR,MAAM,GACN,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAiB,MAAM,yBAAyB,CAAC;AAEzE,MAAM,OAAO,gBAAgB;CA+B5B;AA5BA;IAFC,UAAU,EAAE;IACZ,SAAS,CAAC,MAAM,CAAC;;8CACJ;AAId;IAFC,UAAU,EAAE;IACZ,SAAS,CAAC,MAAM,CAAC;;8CACJ;AAId;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;oDACS;AAGpB;IADC,MAAM,EAAE;;mDACS;AAIlB;IAFC,UAAU,EAAE;IACZ,MAAM,CAAC,eAAe,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;kDACX;AAI7B;IAFC,UAAU,EAAE;IACZ,OAAO,EAAE;;6CACK;AAIf;IAFC,UAAU,EAAE;IACZ,OAAO,EAAE;;4CACI;AAId;IAFC,UAAU,EAAE;IACZ,OAAO,EAAE;;gDACQ"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __decorate, __metadata } from "tslib";
|
|
2
|
-
import { IsOptional, IsString, IsUUID } from 'class-validator';
|
|
2
|
+
import { IsArray, IsOptional, IsString, IsUUID } from 'class-validator';
|
|
3
3
|
export class GetOrgPlaceCustomDTO {
|
|
4
4
|
constructor(obj) {
|
|
5
5
|
Object.assign(this, obj);
|
|
@@ -14,4 +14,13 @@ __decorate([
|
|
|
14
14
|
IsString(),
|
|
15
15
|
__metadata("design:type", String)
|
|
16
16
|
], GetOrgPlaceCustomDTO.prototype, "searchTerm", void 0);
|
|
17
|
+
__decorate([
|
|
18
|
+
IsOptional(),
|
|
19
|
+
IsArray(),
|
|
20
|
+
__metadata("design:type", Array)
|
|
21
|
+
], GetOrgPlaceCustomDTO.prototype, "status", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
IsOptional(),
|
|
24
|
+
__metadata("design:type", Array)
|
|
25
|
+
], GetOrgPlaceCustomDTO.prototype, "city", void 0);
|
|
17
26
|
//# sourceMappingURL=get.organization.place.custom.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.organization.place.custom.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/get.organization.place.custom.dto.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"get.organization.place.custom.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/get.organization.place.custom.dto.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAExE,MAAM,OAAO,oBAAoB;IAehC,YAAY,GAAmC;QAC9C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC1B,CAAC;CACD;AAhBA;IADC,MAAM,EAAE;;mDACK;AAId;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;wDACS;AAIpB;IAFC,UAAU,EAAE;IACZ,OAAO,EAAE;;oDACQ;AAGlB;IADC,UAAU,EAAE;;kDACC"}
|
|
@@ -1,12 +1,17 @@
|
|
|
1
|
-
import { City, GenericStatus, VehicleClass, VehicleType } from '../../enums/src/index';
|
|
1
|
+
import { City, FuelType, GenericStatus, OwnershipType, VehicleClass, VehicleType } from '../../enums/src/index';
|
|
2
2
|
export declare class VehicleCustomQueryDTO {
|
|
3
3
|
contextOwnerId: string;
|
|
4
|
-
status?: GenericStatus;
|
|
5
|
-
vehicleType?: VehicleType;
|
|
4
|
+
status?: GenericStatus[];
|
|
5
|
+
vehicleType?: VehicleType[];
|
|
6
6
|
vehicleClass?: VehicleClass;
|
|
7
7
|
searchText?: string;
|
|
8
8
|
skip?: number;
|
|
9
9
|
limit?: number;
|
|
10
|
-
|
|
10
|
+
fuelType?: FuelType[];
|
|
11
|
+
vehicleGroup?: string[];
|
|
12
|
+
businessType?: OwnershipType[];
|
|
13
|
+
maker?: string[];
|
|
14
|
+
model?: string[];
|
|
15
|
+
city?: City[];
|
|
11
16
|
constructor(obj?: Partial<VehicleCustomQueryDTO>);
|
|
12
17
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __decorate, __metadata } from "tslib";
|
|
2
|
-
import { City, GenericStatus, VehicleClass, VehicleType, } from '../../enums/src/index';
|
|
3
|
-
import { IsEnum, IsNumber, IsOptional, IsString, IsUUID, } from 'class-validator';
|
|
2
|
+
import { City, FuelType, GenericStatus, OwnershipType, VehicleClass, VehicleType, } from '../../enums/src/index';
|
|
3
|
+
import { IsArray, IsEnum, IsNumber, IsOptional, IsString, IsUUID, } from 'class-validator';
|
|
4
4
|
export class VehicleCustomQueryDTO {
|
|
5
5
|
constructor(obj) {
|
|
6
6
|
Object.assign(this, obj);
|
|
@@ -12,17 +12,16 @@ __decorate([
|
|
|
12
12
|
], VehicleCustomQueryDTO.prototype, "contextOwnerId", void 0);
|
|
13
13
|
__decorate([
|
|
14
14
|
IsOptional(),
|
|
15
|
-
IsEnum(GenericStatus),
|
|
16
|
-
__metadata("design:type",
|
|
15
|
+
IsEnum(GenericStatus, { each: true }),
|
|
16
|
+
__metadata("design:type", Array)
|
|
17
17
|
], VehicleCustomQueryDTO.prototype, "status", void 0);
|
|
18
18
|
__decorate([
|
|
19
19
|
IsOptional(),
|
|
20
|
-
IsEnum(VehicleType),
|
|
21
|
-
__metadata("design:type",
|
|
20
|
+
IsEnum(VehicleType, { each: true }),
|
|
21
|
+
__metadata("design:type", Array)
|
|
22
22
|
], VehicleCustomQueryDTO.prototype, "vehicleType", void 0);
|
|
23
23
|
__decorate([
|
|
24
24
|
IsOptional(),
|
|
25
|
-
IsEnum(VehicleClass),
|
|
26
25
|
__metadata("design:type", String)
|
|
27
26
|
], VehicleCustomQueryDTO.prototype, "vehicleClass", void 0);
|
|
28
27
|
__decorate([
|
|
@@ -42,7 +41,32 @@ __decorate([
|
|
|
42
41
|
], VehicleCustomQueryDTO.prototype, "limit", void 0);
|
|
43
42
|
__decorate([
|
|
44
43
|
IsOptional(),
|
|
45
|
-
IsEnum(
|
|
46
|
-
__metadata("design:type",
|
|
44
|
+
IsEnum(FuelType, { each: true }),
|
|
45
|
+
__metadata("design:type", Array)
|
|
46
|
+
], VehicleCustomQueryDTO.prototype, "fuelType", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
IsOptional(),
|
|
49
|
+
IsArray(),
|
|
50
|
+
__metadata("design:type", Array)
|
|
51
|
+
], VehicleCustomQueryDTO.prototype, "vehicleGroup", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
IsOptional(),
|
|
54
|
+
IsEnum(OwnershipType, { each: true }),
|
|
55
|
+
__metadata("design:type", Array)
|
|
56
|
+
], VehicleCustomQueryDTO.prototype, "businessType", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
IsOptional(),
|
|
59
|
+
IsArray(),
|
|
60
|
+
__metadata("design:type", Array)
|
|
61
|
+
], VehicleCustomQueryDTO.prototype, "maker", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
IsOptional(),
|
|
64
|
+
IsArray(),
|
|
65
|
+
__metadata("design:type", Array)
|
|
66
|
+
], VehicleCustomQueryDTO.prototype, "model", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
IsOptional(),
|
|
69
|
+
IsEnum(City, { each: true }),
|
|
70
|
+
__metadata("design:type", Array)
|
|
47
71
|
], VehicleCustomQueryDTO.prototype, "city", void 0);
|
|
48
72
|
//# sourceMappingURL=vehicle.custom.query.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vehicle.custom.query.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/vehicle.custom.query.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EACN,IAAI,EACJ,aAAa,EACb,YAAY,EACZ,WAAW,GACX,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACN,MAAM,EACN,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,MAAM,GACN,MAAM,iBAAiB,CAAC;AAEzB,MAAM,OAAO,qBAAqB;
|
|
1
|
+
{"version":3,"file":"vehicle.custom.query.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/vehicle.custom.query.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EACN,IAAI,EACJ,QAAQ,EACR,aAAa,EACb,aAAa,EACb,YAAY,EACZ,WAAW,GACX,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACN,OAAO,EACP,MAAM,EACN,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,MAAM,GACN,MAAM,iBAAiB,CAAC;AAEzB,MAAM,OAAO,qBAAqB;IAmDjC,YAAY,GAAoC;QAC/C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC1B,CAAC;CACD;AApDA;IADC,MAAM,EAAE;;6DACc;AAIvB;IAFC,UAAU,EAAE;IACZ,MAAM,CAAC,aAAa,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;qDACb;AAIzB;IAFC,UAAU,EAAE;IACZ,MAAM,CAAC,WAAW,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;0DACR;AAG5B;IADC,UAAU,EAAE;;2DACe;AAI5B;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;yDACS;AAIpB;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;mDACG;AAId;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;oDACI;AAIf;IAFC,UAAU,EAAE;IACZ,MAAM,CAAC,QAAQ,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;uDACX;AAItB;IAFC,UAAU,EAAE;IACZ,OAAO,EAAE;;2DACc;AAIxB;IAFC,UAAU,EAAE;IACZ,MAAM,CAAC,aAAa,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;2DACP;AAI/B;IAFC,UAAU,EAAE;IACZ,OAAO,EAAE;;oDACO;AAIjB;IAFC,UAAU,EAAE;IACZ,OAAO,EAAE;;oDACO;AAIjB;IAFC,UAAU,EAAE;IACZ,MAAM,CAAC,IAAI,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;mDACf"}
|
|
@@ -33,7 +33,7 @@ export const CityStateMapping = {
|
|
|
33
33
|
[City.Chennai]: State.TN,
|
|
34
34
|
[City.Coimbatore]: State.TN,
|
|
35
35
|
[City.Vellore]: State.TN,
|
|
36
|
-
[City.Hyderabad]: State.
|
|
36
|
+
[City.Hyderabad]: State.TS,
|
|
37
37
|
[City.Noida]: State.UP,
|
|
38
38
|
[City['Greater Noida']]: State.UP,
|
|
39
39
|
[City.Agra]: State.UP,
|