@autologix-engineering/shared 1.0.137 → 1.0.139
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/create.request.new.dto.d.ts +3 -3
- package/src/lib/data-transfer-objects/src/create.request.new.dto.js +10 -5
- package/src/lib/data-transfer-objects/src/create.request.new.dto.js.map +1 -1
- package/src/lib/enums/src/trip.billing.distance.new.enum.d.ts +1 -1
- package/src/lib/enums/src/trip.billing.distance.new.enum.js +1 -1
- package/src/lib/enums/src/trip.billing.distance.new.enum.js.map +1 -1
- package/src/lib/models/src/request.model.d.ts +1 -1
package/package.json
CHANGED
|
@@ -17,9 +17,9 @@ declare class SpecialInstruction implements ISpecialInstruction {
|
|
|
17
17
|
export declare class CreateRequestDTO {
|
|
18
18
|
requestType: RequestType;
|
|
19
19
|
pickup: PickupNew;
|
|
20
|
-
waypoints
|
|
20
|
+
waypoints?: PickupNew[];
|
|
21
21
|
dropPlaceId: string;
|
|
22
|
-
pickupTime: Date;
|
|
22
|
+
pickupTime: Date[];
|
|
23
23
|
pkgNewId: string;
|
|
24
24
|
vhlGroupId: string;
|
|
25
25
|
vehicleType: VehicleType;
|
|
@@ -35,7 +35,7 @@ export declare class CreateRequestDTO {
|
|
|
35
35
|
specialInstructions?: SpecialInstruction[];
|
|
36
36
|
state?: string;
|
|
37
37
|
city?: string;
|
|
38
|
-
addItionalPoc?: string;
|
|
38
|
+
addItionalPoc?: string[];
|
|
39
39
|
shareTripDetail?: boolean;
|
|
40
40
|
shareBillingDetail?: boolean;
|
|
41
41
|
constructor(_obj?: Partial<CreateRequestDTO>);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var _a, _b;
|
|
2
2
|
import { __decorate, __metadata } from "tslib";
|
|
3
3
|
import { Type } from 'class-transformer';
|
|
4
|
-
import { ArrayMinSize, IsArray, IsBoolean,
|
|
4
|
+
import { ArrayMinSize, IsArray, IsBoolean, IsEnum, IsOptional, IsString, IsUUID, ValidateIf, ValidateNested, } from 'class-validator';
|
|
5
5
|
import { RequestType } from '../../enums/src/request.type.enum';
|
|
6
6
|
import { RequestUserType } from '../../enums/src/request.user.type.enum';
|
|
7
7
|
import { BookingType } from '../../enums/src/booking.type.enum';
|
|
@@ -52,6 +52,7 @@ __decorate([
|
|
|
52
52
|
__metadata("design:type", PickupNew)
|
|
53
53
|
], CreateRequestDTO.prototype, "pickup", void 0);
|
|
54
54
|
__decorate([
|
|
55
|
+
IsOptional(),
|
|
55
56
|
IsArray(),
|
|
56
57
|
ArrayMinSize(1),
|
|
57
58
|
Type(() => PickupNew),
|
|
@@ -64,8 +65,10 @@ __decorate([
|
|
|
64
65
|
__metadata("design:type", String)
|
|
65
66
|
], CreateRequestDTO.prototype, "dropPlaceId", void 0);
|
|
66
67
|
__decorate([
|
|
67
|
-
|
|
68
|
-
|
|
68
|
+
IsArray(),
|
|
69
|
+
ArrayMinSize(1),
|
|
70
|
+
IsString({ each: true }),
|
|
71
|
+
__metadata("design:type", Array)
|
|
69
72
|
], CreateRequestDTO.prototype, "pickupTime", void 0);
|
|
70
73
|
__decorate([
|
|
71
74
|
IsUUID(),
|
|
@@ -142,8 +145,10 @@ __decorate([
|
|
|
142
145
|
], CreateRequestDTO.prototype, "city", void 0);
|
|
143
146
|
__decorate([
|
|
144
147
|
IsOptional(),
|
|
145
|
-
|
|
146
|
-
|
|
148
|
+
IsArray(),
|
|
149
|
+
ArrayMinSize(1),
|
|
150
|
+
IsString({ each: true }),
|
|
151
|
+
__metadata("design:type", Array)
|
|
147
152
|
], CreateRequestDTO.prototype, "addItionalPoc", void 0);
|
|
148
153
|
__decorate([
|
|
149
154
|
IsOptional(),
|
|
@@ -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,
|
|
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,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,kBAAkB;IAOvB,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,OA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I3B;IAFC,UAAU,EAAE;IACZ,MAAM,CAAC,WAAW,CAAC;;qDACM;AAI1B;IAFC,UAAU,EAAE;IACZ,SAAS,EAAE;;2DACgB;AAO5B;IALC,UAAU,EAAE;IACZ,OAAO,EAAE;IACT,YAAY,CAAC,CAAC,CAAC;IACf,IAAI,CAAC,GAAG,EAAE,CAAC,kBAAkB,CAAC;IAC9B,cAAc,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;6DACY;AAI3C;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;+CACI;AAIf;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;8CACG;AAMd;IAJC,UAAU,EAAE;IACZ,OAAO,EAAE;IACT,YAAY,CAAC,CAAC,CAAC;IACf,QAAQ,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;uDACA;AAIzB;IAFC,UAAU,EAAE;IACZ,SAAS,EAAE;;yDACc;AAI1B;IAFC,UAAU,EAAE;IACZ,SAAS,EAAE;;4DACiB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export var TripBillingDistanceNewEnum;
|
|
2
2
|
(function (TripBillingDistanceNewEnum) {
|
|
3
3
|
TripBillingDistanceNewEnum["AutomatedGtoG"] = "Automated G to G Billing";
|
|
4
|
-
TripBillingDistanceNewEnum["PtoPBilling"] = "P to P Billing with
|
|
4
|
+
TripBillingDistanceNewEnum["PtoPBilling"] = "P to P Billing with Extras";
|
|
5
5
|
})(TripBillingDistanceNewEnum || (TripBillingDistanceNewEnum = {}));
|
|
6
6
|
//# sourceMappingURL=trip.billing.distance.new.enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trip.billing.distance.new.enum.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/enums/src/trip.billing.distance.new.enum.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,0BAGX;AAHD,WAAY,0BAA0B;IACrC,wEAA0C,CAAA;IAC1C,
|
|
1
|
+
{"version":3,"file":"trip.billing.distance.new.enum.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/enums/src/trip.billing.distance.new.enum.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,0BAGX;AAHD,WAAY,0BAA0B;IACrC,wEAA0C,CAAA;IAC1C,wEAA0C,CAAA;AAC3C,CAAC,EAHW,0BAA0B,KAA1B,0BAA0B,QAGrC"}
|
|
@@ -240,7 +240,7 @@ export interface IRequest extends TypedModel {
|
|
|
240
240
|
[RequestField.PassengerDetails]?: IRequestPassenger[];
|
|
241
241
|
[RequestField.PackageDetailNew]?: IPackageDetailNew;
|
|
242
242
|
[RequestField.PackageDetailNewId]?: string;
|
|
243
|
-
[RequestField.AdditionalPoc]?: string;
|
|
243
|
+
[RequestField.AdditionalPoc]?: string[];
|
|
244
244
|
[RequestField.ShareTripDetail]?: boolean;
|
|
245
245
|
[RequestField.ShareBillDetail]?: boolean;
|
|
246
246
|
}
|