@devline-smart-taxi/common 2.3.37 → 2.3.39

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.
@@ -7,4 +7,5 @@ export declare class CreateTripDto {
7
7
  carClassId: string;
8
8
  paymentMethod: PaymentMethod;
9
9
  useBonuses?: boolean;
10
+ pickupAddress?: string;
10
11
  }
@@ -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);
@@ -3,4 +3,5 @@ export declare class TripActionDto {
3
3
  driverId: string;
4
4
  latitude: number;
5
5
  longitude: number;
6
+ destinationAddress?: string;
6
7
  }
@@ -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);
@@ -160,6 +160,7 @@ message UpdateDriverPersonalInfoRequest {
160
160
  optional string cardFrontId = 5;
161
161
  optional string cardBackId = 6;
162
162
  optional string selfieWithCardId = 7;
163
+ optional string lang = 8;
163
164
  }
164
165
 
165
166
  message UpdateDriverCarInfoRequest {
@@ -311,6 +312,7 @@ message DriverData {
311
312
  optional string branchId = 20;
312
313
  optional float rating = 21;
313
314
  optional string fcm_token = 22;
315
+ optional string lang = 23;
314
316
  }
315
317
 
316
318
  // Haydovchining hujjatlari (ID karta, selfi, haydovchilik guvohnomasi)
@@ -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
  }
@@ -46,6 +46,7 @@ message UserData {
46
46
  optional string referralCode = 15;
47
47
  optional string referredById = 16;
48
48
  optional string fcmToken = 17;
49
+ optional string lang = 18;
49
50
  }
50
51
 
51
52
  message Id{
@@ -82,6 +83,7 @@ message CreateUserRequest {
82
83
  optional string address = 5;
83
84
  bool hasDataConsent = 6;
84
85
  optional string userImageId = 7;
86
+ optional string lang = 8;
85
87
  }
86
88
 
87
89
  message GetAllWithPaginationRequest {
@@ -99,6 +101,7 @@ message UpdateUserRequest {
99
101
  string id = 6;
100
102
  optional string userImageId = 7;
101
103
  optional float rating = 8;
104
+ optional string lang = 9;
102
105
  }
103
106
 
104
107
  message RefreshTokenRequest {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devline-smart-taxi/common",
3
- "version": "2.3.37",
3
+ "version": "2.3.39",
4
4
  "description": "Reusable NestJS common library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",