@devline-smart-taxi/common 2.3.37 → 2.3.38
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.
|
@@ -100,3 +100,13 @@ __decorate([
|
|
|
100
100
|
(0, class_validator_1.IsBoolean)(),
|
|
101
101
|
__metadata("design:type", Boolean)
|
|
102
102
|
], CreateTripDto.prototype, "useBonuses", void 0);
|
|
103
|
+
__decorate([
|
|
104
|
+
(0, swagger_1.ApiProperty)({
|
|
105
|
+
description: 'User turgan joy manzili (mobiledan)',
|
|
106
|
+
required: false,
|
|
107
|
+
example: 'Toshkent, Amir Temur xiyoboni',
|
|
108
|
+
}),
|
|
109
|
+
(0, class_validator_1.IsOptional)(),
|
|
110
|
+
(0, class_validator_1.IsString)(),
|
|
111
|
+
__metadata("design:type", String)
|
|
112
|
+
], CreateTripDto.prototype, "pickupAddress", void 0);
|
|
@@ -52,3 +52,13 @@ __decorate([
|
|
|
52
52
|
(0, class_validator_1.IsNumber)(),
|
|
53
53
|
__metadata("design:type", Number)
|
|
54
54
|
], TripActionDto.prototype, "longitude", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, swagger_1.ApiProperty)({
|
|
57
|
+
description: 'Borgan joy manzili (finish vaqtida mobiledan)',
|
|
58
|
+
required: false,
|
|
59
|
+
example: 'Toshkent, Chorsu bozori',
|
|
60
|
+
}),
|
|
61
|
+
(0, class_validator_1.IsOptional)(),
|
|
62
|
+
(0, class_validator_1.IsString)(),
|
|
63
|
+
__metadata("design:type", String)
|
|
64
|
+
], TripActionDto.prototype, "destinationAddress", void 0);
|
package/dist/proto/trip.proto
CHANGED
|
@@ -55,6 +55,7 @@ message CreateTripRequest {
|
|
|
55
55
|
string paymentMethod = 7;
|
|
56
56
|
string carClassId = 8;
|
|
57
57
|
optional bool useBonuses = 9;
|
|
58
|
+
optional string pickupAddress = 10;
|
|
58
59
|
}
|
|
59
60
|
|
|
60
61
|
message TripActionRequest {
|
|
@@ -65,6 +66,7 @@ message TripActionRequest {
|
|
|
65
66
|
optional string carModel = 6;
|
|
66
67
|
optional string carNumber = 7;
|
|
67
68
|
optional string carColor = 8;
|
|
69
|
+
optional string destinationAddress = 9;
|
|
68
70
|
}
|
|
69
71
|
|
|
70
72
|
message GetMyTripsRequest {
|
|
@@ -129,6 +131,12 @@ message TripListItem {
|
|
|
129
131
|
optional string carModel = 14;
|
|
130
132
|
optional string carNumber = 15;
|
|
131
133
|
optional string carColor = 16;
|
|
134
|
+
// Manzil nomlari
|
|
135
|
+
optional string pickupAddress = 17;
|
|
136
|
+
optional string destinationAddress = 18;
|
|
137
|
+
// Vaqtlar
|
|
138
|
+
optional string startedAt = 19;
|
|
139
|
+
optional string endedAt = 20;
|
|
132
140
|
}
|
|
133
141
|
|
|
134
142
|
message TripListResponse {
|
|
@@ -161,4 +169,7 @@ message TripDetailResponse {
|
|
|
161
169
|
optional string carColor = 18;
|
|
162
170
|
int32 statusCode = 19;
|
|
163
171
|
string message = 20;
|
|
172
|
+
// Manzil nomlari
|
|
173
|
+
optional string pickupAddress = 21;
|
|
174
|
+
optional string destinationAddress = 22;
|
|
164
175
|
}
|