@devline-smart-taxi/common 2.3.36 → 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.
- package/dist/dto/create-trip.dto.d.ts +1 -0
- package/dist/dto/create-trip.dto.js +10 -0
- package/dist/dto/trip-action.dto.d.ts +1 -0
- package/dist/dto/trip-action.dto.js +10 -0
- package/dist/proto/driver.proto +2 -0
- package/dist/proto/trip.proto +11 -0
- package/dist/proto/user.proto +2 -0
- package/package.json +1 -1
|
@@ -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/driver.proto
CHANGED
|
@@ -77,6 +77,7 @@ message SendOtpRequest {
|
|
|
77
77
|
message VerifyOtpRequest {
|
|
78
78
|
string phoneNumber = 1;
|
|
79
79
|
int32 otp = 2;
|
|
80
|
+
optional string fcmToken = 3;
|
|
80
81
|
}
|
|
81
82
|
|
|
82
83
|
message SavePersonalRequest {
|
|
@@ -309,6 +310,7 @@ message DriverData {
|
|
|
309
310
|
repeated DriverCarData cars = 19;
|
|
310
311
|
optional string branchId = 20;
|
|
311
312
|
optional float rating = 21;
|
|
313
|
+
optional string fcm_token = 22;
|
|
312
314
|
}
|
|
313
315
|
|
|
314
316
|
// Haydovchining hujjatlari (ID karta, selfi, haydovchilik guvohnomasi)
|
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
|
}
|
package/dist/proto/user.proto
CHANGED
|
@@ -45,6 +45,7 @@ message UserData {
|
|
|
45
45
|
optional string profilePhotoUrl = 14;
|
|
46
46
|
optional string referralCode = 15;
|
|
47
47
|
optional string referredById = 16;
|
|
48
|
+
optional string fcmToken = 17;
|
|
48
49
|
}
|
|
49
50
|
|
|
50
51
|
message Id{
|
|
@@ -70,6 +71,7 @@ message SendOtpRequest {
|
|
|
70
71
|
message VerifyOtpRequest {
|
|
71
72
|
string phoneNumber = 1;
|
|
72
73
|
int32 otp = 2;
|
|
74
|
+
optional string fcmToken = 3;
|
|
73
75
|
}
|
|
74
76
|
|
|
75
77
|
message CreateUserRequest {
|