@caronashow/api 0.8.0 → 0.9.0
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/gen/caronashow/service/v1/home_pb.d.ts +416 -0
- package/dist/gen/caronashow/service/v1/onboarding_pb.d.ts +5 -5
- package/dist/gen/caronashow/types/v1/address_pb.d.ts +6 -6
- package/dist/gen/caronashow/types/v1/user_pb.d.ts +38 -3
- package/dist/index.cjs +50 -8
- package/dist/index.d.ts +2 -1
- package/package.json +1 -1
- package/dist/gen/caronashow/service/v1/map_pb.d.ts +0 -9
|
@@ -0,0 +1,416 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { FullAddress } from "../../types/v1/address_pb";
|
|
3
|
+
import type { TimeOfDay } from "../../types/v1/common_pb";
|
|
4
|
+
import type { UserRank } from "../../types/v1/user_pb";
|
|
5
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
6
|
+
import type { LatLng } from "../../../google/type/latlng_pb";
|
|
7
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file caronashow/service/v1/home.proto.
|
|
10
|
+
*/
|
|
11
|
+
export declare const file_caronashow_service_v1_home: GenFile;
|
|
12
|
+
/**
|
|
13
|
+
* Requests one coordinated map and ranked-list matching snapshot.
|
|
14
|
+
*
|
|
15
|
+
* @generated from message caronashow.service.v1.ListRideSuggestionsRequest
|
|
16
|
+
*/
|
|
17
|
+
export type ListRideSuggestionsRequest = Message<"caronashow.service.v1.ListRideSuggestionsRequest"> & {
|
|
18
|
+
/**
|
|
19
|
+
* Visible map area used to select route geometries and ride offers.
|
|
20
|
+
*
|
|
21
|
+
* @generated from field: caronashow.service.v1.MapViewport viewport = 1;
|
|
22
|
+
*/
|
|
23
|
+
viewport?: MapViewport;
|
|
24
|
+
/**
|
|
25
|
+
* Commute leg for which routes, seat inventory, and estimates are requested.
|
|
26
|
+
*
|
|
27
|
+
* @generated from field: caronashow.service.v1.CommuteDirection direction = 2;
|
|
28
|
+
*/
|
|
29
|
+
direction: CommuteDirection;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Describes the message caronashow.service.v1.ListRideSuggestionsRequest.
|
|
33
|
+
* Use `create(ListRideSuggestionsRequestSchema)` to create a new message.
|
|
34
|
+
*/
|
|
35
|
+
export declare const ListRideSuggestionsRequestSchema: GenMessage<ListRideSuggestionsRequest>;
|
|
36
|
+
/**
|
|
37
|
+
* Contains complete synchronized map and drawer projections of one matching
|
|
38
|
+
* result set. The service returns an error rather than either partial projection.
|
|
39
|
+
*
|
|
40
|
+
* @generated from message caronashow.service.v1.ListRideSuggestionsResponse
|
|
41
|
+
*/
|
|
42
|
+
export type ListRideSuggestionsResponse = Message<"caronashow.service.v1.ListRideSuggestionsResponse"> & {
|
|
43
|
+
/**
|
|
44
|
+
* Opaque identifier for this immutable matching snapshot. It identifies the
|
|
45
|
+
* result but does not provide chronological ordering between responses.
|
|
46
|
+
*
|
|
47
|
+
* @generated from field: string result_set_id = 1;
|
|
48
|
+
*/
|
|
49
|
+
resultSetId: string;
|
|
50
|
+
/**
|
|
51
|
+
* Compact map projection for every matching route intersecting the viewport.
|
|
52
|
+
* Its suggestion IDs and ranks exactly match ranked_suggestions.
|
|
53
|
+
*
|
|
54
|
+
* @generated from field: repeated caronashow.service.v1.MapRideSuggestion map_suggestions = 2;
|
|
55
|
+
*/
|
|
56
|
+
mapSuggestions: MapRideSuggestion[];
|
|
57
|
+
/**
|
|
58
|
+
* Rich drawer projection for every map suggestion, ordered by ascending rank.
|
|
59
|
+
* Each suggestion ID occurs exactly once in each response projection.
|
|
60
|
+
*
|
|
61
|
+
* @generated from field: repeated caronashow.service.v1.RankedRideSuggestion ranked_suggestions = 3;
|
|
62
|
+
*/
|
|
63
|
+
rankedSuggestions: RankedRideSuggestion[];
|
|
64
|
+
/**
|
|
65
|
+
* Server time at which this matching snapshot was produced.
|
|
66
|
+
*
|
|
67
|
+
* @generated from field: google.protobuf.Timestamp generated_at = 4;
|
|
68
|
+
*/
|
|
69
|
+
generatedAt?: Timestamp;
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* Describes the message caronashow.service.v1.ListRideSuggestionsResponse.
|
|
73
|
+
* Use `create(ListRideSuggestionsResponseSchema)` to create a new message.
|
|
74
|
+
*/
|
|
75
|
+
export declare const ListRideSuggestionsResponseSchema: GenMessage<ListRideSuggestionsResponse>;
|
|
76
|
+
/**
|
|
77
|
+
* Geographic rectangle currently visible on the passenger's map.
|
|
78
|
+
*
|
|
79
|
+
* @generated from message caronashow.service.v1.MapViewport
|
|
80
|
+
*/
|
|
81
|
+
export type MapViewport = Message<"caronashow.service.v1.MapViewport"> & {
|
|
82
|
+
/**
|
|
83
|
+
* Southwest corner of the visible rectangle. Both coordinates are required
|
|
84
|
+
* and must use valid latitude and longitude ranges.
|
|
85
|
+
*
|
|
86
|
+
* @generated from field: google.type.LatLng southwest = 1;
|
|
87
|
+
*/
|
|
88
|
+
southwest?: LatLng;
|
|
89
|
+
/**
|
|
90
|
+
* Northeast corner of the visible rectangle. The rectangle must not cross
|
|
91
|
+
* the antimeridian and must fit the server's supported maximum search area.
|
|
92
|
+
*
|
|
93
|
+
* @generated from field: google.type.LatLng northeast = 2;
|
|
94
|
+
*/
|
|
95
|
+
northeast?: LatLng;
|
|
96
|
+
/**
|
|
97
|
+
* Finite map zoom level within the server-supported range, used to select an
|
|
98
|
+
* appropriately simplified route. Invalid viewports return INVALID_ARGUMENT.
|
|
99
|
+
*
|
|
100
|
+
* @generated from field: double zoom = 3;
|
|
101
|
+
*/
|
|
102
|
+
zoom: number;
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* Describes the message caronashow.service.v1.MapViewport.
|
|
106
|
+
* Use `create(MapViewportSchema)` to create a new message.
|
|
107
|
+
*/
|
|
108
|
+
export declare const MapViewportSchema: GenMessage<MapViewport>;
|
|
109
|
+
/**
|
|
110
|
+
* Compact representation used to draw one suggestion on the map.
|
|
111
|
+
*
|
|
112
|
+
* @generated from message caronashow.service.v1.MapRideSuggestion
|
|
113
|
+
*/
|
|
114
|
+
export type MapRideSuggestion = Message<"caronashow.service.v1.MapRideSuggestion"> & {
|
|
115
|
+
/**
|
|
116
|
+
* Opaque passenger-scoped identifier shared with the ranked projection. It
|
|
117
|
+
* remains stable while the matched offer and commute direction are unchanged.
|
|
118
|
+
*
|
|
119
|
+
* @generated from field: string suggestion_id = 1;
|
|
120
|
+
*/
|
|
121
|
+
suggestionId: string;
|
|
122
|
+
/**
|
|
123
|
+
* One-based positive match position used to keep map styling deterministic.
|
|
124
|
+
*
|
|
125
|
+
* @generated from field: int32 rank = 2;
|
|
126
|
+
*/
|
|
127
|
+
rank: number;
|
|
128
|
+
/**
|
|
129
|
+
* Driver-side route endpoint shown by the marker. This is the route start
|
|
130
|
+
* toward the organization and the route end when leaving the organization.
|
|
131
|
+
*
|
|
132
|
+
* @generated from field: google.type.LatLng driver_endpoint_location = 3;
|
|
133
|
+
*/
|
|
134
|
+
driverEndpointLocation?: LatLng;
|
|
135
|
+
/**
|
|
136
|
+
* Route path and cache identity used by the map renderer.
|
|
137
|
+
*
|
|
138
|
+
* @generated from field: caronashow.service.v1.RouteGeometry route_geometry = 4;
|
|
139
|
+
*/
|
|
140
|
+
routeGeometry?: RouteGeometry;
|
|
141
|
+
};
|
|
142
|
+
/**
|
|
143
|
+
* Describes the message caronashow.service.v1.MapRideSuggestion.
|
|
144
|
+
* Use `create(MapRideSuggestionSchema)` to create a new message.
|
|
145
|
+
*/
|
|
146
|
+
export declare const MapRideSuggestionSchema: GenMessage<MapRideSuggestion>;
|
|
147
|
+
/**
|
|
148
|
+
* Map-ready geometry for one direction of a driver's organization commute.
|
|
149
|
+
*
|
|
150
|
+
* @generated from message caronashow.service.v1.RouteGeometry
|
|
151
|
+
*/
|
|
152
|
+
export type RouteGeometry = Message<"caronashow.service.v1.RouteGeometry"> & {
|
|
153
|
+
/**
|
|
154
|
+
* Cache identifier for this exact encoded path, precision, direction, and
|
|
155
|
+
* simplification level. Any encoded-polyline change produces a new ID.
|
|
156
|
+
*
|
|
157
|
+
* @generated from field: string route_geometry_id = 1;
|
|
158
|
+
*/
|
|
159
|
+
routeGeometryId: string;
|
|
160
|
+
/**
|
|
161
|
+
* Google Encoded Polyline Algorithm Format path at precision 5.
|
|
162
|
+
*
|
|
163
|
+
* @generated from field: string encoded_polyline = 2;
|
|
164
|
+
*/
|
|
165
|
+
encodedPolyline: string;
|
|
166
|
+
/**
|
|
167
|
+
* Bounds of the complete route, including portions outside the viewport.
|
|
168
|
+
*
|
|
169
|
+
* @generated from field: caronashow.service.v1.RouteBounds bounds = 3;
|
|
170
|
+
*/
|
|
171
|
+
bounds?: RouteBounds;
|
|
172
|
+
};
|
|
173
|
+
/**
|
|
174
|
+
* Describes the message caronashow.service.v1.RouteGeometry.
|
|
175
|
+
* Use `create(RouteGeometrySchema)` to create a new message.
|
|
176
|
+
*/
|
|
177
|
+
export declare const RouteGeometrySchema: GenMessage<RouteGeometry>;
|
|
178
|
+
/**
|
|
179
|
+
* Geographic bounds enclosing a complete route geometry.
|
|
180
|
+
*
|
|
181
|
+
* @generated from message caronashow.service.v1.RouteBounds
|
|
182
|
+
*/
|
|
183
|
+
export type RouteBounds = Message<"caronashow.service.v1.RouteBounds"> & {
|
|
184
|
+
/**
|
|
185
|
+
* Southwest corner of the route bounds.
|
|
186
|
+
*
|
|
187
|
+
* @generated from field: google.type.LatLng southwest = 1;
|
|
188
|
+
*/
|
|
189
|
+
southwest?: LatLng;
|
|
190
|
+
/**
|
|
191
|
+
* Northeast corner of the route bounds.
|
|
192
|
+
*
|
|
193
|
+
* @generated from field: google.type.LatLng northeast = 2;
|
|
194
|
+
*/
|
|
195
|
+
northeast?: LatLng;
|
|
196
|
+
};
|
|
197
|
+
/**
|
|
198
|
+
* Describes the message caronashow.service.v1.RouteBounds.
|
|
199
|
+
* Use `create(RouteBoundsSchema)` to create a new message.
|
|
200
|
+
*/
|
|
201
|
+
export declare const RouteBoundsSchema: GenMessage<RouteBounds>;
|
|
202
|
+
/**
|
|
203
|
+
* Rich ride card shown in the passenger's ranked suggestions drawer.
|
|
204
|
+
*
|
|
205
|
+
* @generated from message caronashow.service.v1.RankedRideSuggestion
|
|
206
|
+
*/
|
|
207
|
+
export type RankedRideSuggestion = Message<"caronashow.service.v1.RankedRideSuggestion"> & {
|
|
208
|
+
/**
|
|
209
|
+
* Opaque passenger-scoped identifier shared with the map projection. It
|
|
210
|
+
* remains stable while the matched offer and commute direction are unchanged.
|
|
211
|
+
*
|
|
212
|
+
* @generated from field: string suggestion_id = 1;
|
|
213
|
+
*/
|
|
214
|
+
suggestionId: string;
|
|
215
|
+
/**
|
|
216
|
+
* One-based positive position in the server-computed matching order.
|
|
217
|
+
*
|
|
218
|
+
* @generated from field: int32 rank = 2;
|
|
219
|
+
*/
|
|
220
|
+
rank: number;
|
|
221
|
+
/**
|
|
222
|
+
* Public driver profile data needed by the suggestion card.
|
|
223
|
+
*
|
|
224
|
+
* @generated from field: caronashow.service.v1.DriverSummary driver = 3;
|
|
225
|
+
*/
|
|
226
|
+
driver?: DriverSummary;
|
|
227
|
+
/**
|
|
228
|
+
* Vehicle details safe to display while browsing this ride offer.
|
|
229
|
+
*
|
|
230
|
+
* @generated from field: caronashow.service.v1.VehicleSummary vehicle = 4;
|
|
231
|
+
*/
|
|
232
|
+
vehicle?: VehicleSummary;
|
|
233
|
+
/**
|
|
234
|
+
* Driver-side route endpoint opposite the organization. This is the route
|
|
235
|
+
* start toward the organization and the route end when leaving it.
|
|
236
|
+
*
|
|
237
|
+
* @generated from field: caronashow.types.v1.FullAddress driver_endpoint_address = 5;
|
|
238
|
+
*/
|
|
239
|
+
driverEndpointAddress?: FullAddress;
|
|
240
|
+
/**
|
|
241
|
+
* Offer-specific seat inventory for this direction of travel.
|
|
242
|
+
*
|
|
243
|
+
* @generated from field: caronashow.service.v1.SeatAvailability seats = 6;
|
|
244
|
+
*/
|
|
245
|
+
seats?: SeatAvailability;
|
|
246
|
+
/**
|
|
247
|
+
* Driver's usual arrival time at the organization for
|
|
248
|
+
* COMMUTE_DIRECTION_TO_ORGANIZATION, or departure time from the organization
|
|
249
|
+
* for COMMUTE_DIRECTION_FROM_ORGANIZATION. Interpreted in the organization's
|
|
250
|
+
* local timezone.
|
|
251
|
+
*
|
|
252
|
+
* @generated from field: caronashow.types.v1.TimeOfDay organization_time = 7;
|
|
253
|
+
*/
|
|
254
|
+
organizationTime?: TimeOfDay;
|
|
255
|
+
/**
|
|
256
|
+
* True when this offer is visible only to passengers enrolled in the
|
|
257
|
+
* organization's vulnerability group.
|
|
258
|
+
*
|
|
259
|
+
* @generated from field: bool restricted_to_vulnerable_group = 8;
|
|
260
|
+
*/
|
|
261
|
+
restrictedToVulnerableGroup: boolean;
|
|
262
|
+
};
|
|
263
|
+
/**
|
|
264
|
+
* Describes the message caronashow.service.v1.RankedRideSuggestion.
|
|
265
|
+
* Use `create(RankedRideSuggestionSchema)` to create a new message.
|
|
266
|
+
*/
|
|
267
|
+
export declare const RankedRideSuggestionSchema: GenMessage<RankedRideSuggestion>;
|
|
268
|
+
/**
|
|
269
|
+
* Public driver identity and trust signals displayed before a ride request.
|
|
270
|
+
*
|
|
271
|
+
* @generated from message caronashow.service.v1.DriverSummary
|
|
272
|
+
*/
|
|
273
|
+
export type DriverSummary = Message<"caronashow.service.v1.DriverSummary"> & {
|
|
274
|
+
/**
|
|
275
|
+
* Stable driver identifier used to open the public driver profile.
|
|
276
|
+
*
|
|
277
|
+
* @generated from field: string driver_id = 1;
|
|
278
|
+
*/
|
|
279
|
+
driverId: string;
|
|
280
|
+
/**
|
|
281
|
+
* Driver's given name.
|
|
282
|
+
*
|
|
283
|
+
* @generated from field: string first_name = 2;
|
|
284
|
+
*/
|
|
285
|
+
firstName: string;
|
|
286
|
+
/**
|
|
287
|
+
* URL of the driver's profile avatar.
|
|
288
|
+
*
|
|
289
|
+
* @generated from field: string avatar_url = 3;
|
|
290
|
+
*/
|
|
291
|
+
avatarUrl: string;
|
|
292
|
+
/**
|
|
293
|
+
* Driver's earned loyalty and reputation rank.
|
|
294
|
+
*
|
|
295
|
+
* @generated from field: caronashow.types.v1.UserRank rank = 4;
|
|
296
|
+
*/
|
|
297
|
+
rank: UserRank;
|
|
298
|
+
/**
|
|
299
|
+
* Aggregate passenger rating from 0.0 to 5.0; zero when not yet rated.
|
|
300
|
+
*
|
|
301
|
+
* @generated from field: double rating = 5;
|
|
302
|
+
*/
|
|
303
|
+
rating: number;
|
|
304
|
+
/**
|
|
305
|
+
* Nonnegative number of ratings included in rating; zero when not yet rated.
|
|
306
|
+
*
|
|
307
|
+
* @generated from field: int32 rating_count = 6;
|
|
308
|
+
*/
|
|
309
|
+
ratingCount: number;
|
|
310
|
+
/**
|
|
311
|
+
* Nonnegative number of completed rides used as an additional trust signal.
|
|
312
|
+
*
|
|
313
|
+
* @generated from field: int32 completed_rides = 7;
|
|
314
|
+
*/
|
|
315
|
+
completedRides: number;
|
|
316
|
+
};
|
|
317
|
+
/**
|
|
318
|
+
* Describes the message caronashow.service.v1.DriverSummary.
|
|
319
|
+
* Use `create(DriverSummarySchema)` to create a new message.
|
|
320
|
+
*/
|
|
321
|
+
export declare const DriverSummarySchema: GenMessage<DriverSummary>;
|
|
322
|
+
/**
|
|
323
|
+
* Vehicle details safe to display while browsing ride suggestions.
|
|
324
|
+
*
|
|
325
|
+
* @generated from message caronashow.service.v1.VehicleSummary
|
|
326
|
+
*/
|
|
327
|
+
export type VehicleSummary = Message<"caronashow.service.v1.VehicleSummary"> & {
|
|
328
|
+
/**
|
|
329
|
+
* Vehicle make and model (e.g. "Honda Fit 2019").
|
|
330
|
+
*
|
|
331
|
+
* @generated from field: string model = 1;
|
|
332
|
+
*/
|
|
333
|
+
model: string;
|
|
334
|
+
/**
|
|
335
|
+
* Vehicle exterior color (e.g. "Prata").
|
|
336
|
+
*
|
|
337
|
+
* @generated from field: string color = 2;
|
|
338
|
+
*/
|
|
339
|
+
color: string;
|
|
340
|
+
};
|
|
341
|
+
/**
|
|
342
|
+
* Describes the message caronashow.service.v1.VehicleSummary.
|
|
343
|
+
* Use `create(VehicleSummarySchema)` to create a new message.
|
|
344
|
+
*/
|
|
345
|
+
export declare const VehicleSummarySchema: GenMessage<VehicleSummary>;
|
|
346
|
+
/**
|
|
347
|
+
* Offer-specific seat inventory for one directional ride suggestion.
|
|
348
|
+
*
|
|
349
|
+
* @generated from message caronashow.service.v1.SeatAvailability
|
|
350
|
+
*/
|
|
351
|
+
export type SeatAvailability = Message<"caronashow.service.v1.SeatAvailability"> & {
|
|
352
|
+
/**
|
|
353
|
+
* Positive number of passenger seats offered for this commute leg.
|
|
354
|
+
*
|
|
355
|
+
* @generated from field: int32 offered_seats = 1;
|
|
356
|
+
*/
|
|
357
|
+
offeredSeats: number;
|
|
358
|
+
/**
|
|
359
|
+
* Currently available seats, from zero through offered_seats.
|
|
360
|
+
*
|
|
361
|
+
* @generated from field: int32 available_seats = 2;
|
|
362
|
+
*/
|
|
363
|
+
availableSeats: number;
|
|
364
|
+
};
|
|
365
|
+
/**
|
|
366
|
+
* Describes the message caronashow.service.v1.SeatAvailability.
|
|
367
|
+
* Use `create(SeatAvailabilitySchema)` to create a new message.
|
|
368
|
+
*/
|
|
369
|
+
export declare const SeatAvailabilitySchema: GenMessage<SeatAvailability>;
|
|
370
|
+
/**
|
|
371
|
+
* Direction of the organization commute represented by a ride suggestion.
|
|
372
|
+
*
|
|
373
|
+
* @generated from enum caronashow.service.v1.CommuteDirection
|
|
374
|
+
*/
|
|
375
|
+
export declare enum CommuteDirection {
|
|
376
|
+
/**
|
|
377
|
+
* Default value; requests using it are rejected with INVALID_ARGUMENT.
|
|
378
|
+
*
|
|
379
|
+
* @generated from enum value: COMMUTE_DIRECTION_UNSPECIFIED = 0;
|
|
380
|
+
*/
|
|
381
|
+
UNSPECIFIED = 0,
|
|
382
|
+
/**
|
|
383
|
+
* Driver and passenger travel toward the organization.
|
|
384
|
+
*
|
|
385
|
+
* @generated from enum value: COMMUTE_DIRECTION_TO_ORGANIZATION = 1;
|
|
386
|
+
*/
|
|
387
|
+
TO_ORGANIZATION = 1,
|
|
388
|
+
/**
|
|
389
|
+
* Driver and passenger leave the organization for their return trip.
|
|
390
|
+
*
|
|
391
|
+
* @generated from enum value: COMMUTE_DIRECTION_FROM_ORGANIZATION = 2;
|
|
392
|
+
*/
|
|
393
|
+
FROM_ORGANIZATION = 2
|
|
394
|
+
}
|
|
395
|
+
/**
|
|
396
|
+
* Describes the enum caronashow.service.v1.CommuteDirection.
|
|
397
|
+
*/
|
|
398
|
+
export declare const CommuteDirectionSchema: GenEnum<CommuteDirection>;
|
|
399
|
+
/**
|
|
400
|
+
* @generated from service caronashow.service.v1.MatchingService
|
|
401
|
+
*/
|
|
402
|
+
export declare const MatchingService: GenService<{
|
|
403
|
+
/**
|
|
404
|
+
* Lists ride offers whose routes intersect the requested map viewport.
|
|
405
|
+
* The authenticated passenger and their saved search setup are inferred
|
|
406
|
+
* from the session token. Returns UNAUTHENTICATED without a valid session and
|
|
407
|
+
* INVALID_ARGUMENT for an invalid viewport or commute direction.
|
|
408
|
+
*
|
|
409
|
+
* @generated from rpc caronashow.service.v1.MatchingService.ListRideSuggestions
|
|
410
|
+
*/
|
|
411
|
+
listRideSuggestions: {
|
|
412
|
+
methodKind: "unary";
|
|
413
|
+
input: typeof ListRideSuggestionsRequestSchema;
|
|
414
|
+
output: typeof ListRideSuggestionsResponseSchema;
|
|
415
|
+
};
|
|
416
|
+
}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
-
import type {
|
|
2
|
+
import type { FullAddress } from "../../types/v1/address_pb";
|
|
3
3
|
import type { ChatPreference, TimeOfDay } from "../../types/v1/common_pb";
|
|
4
4
|
import type { ParticipationMode } from "../../types/v1/user_pb";
|
|
5
5
|
import type { Message } from "@bufbuild/protobuf";
|
|
@@ -129,9 +129,9 @@ export type DriverOfferSetup = Message<"caronashow.service.v1.DriverOfferSetup">
|
|
|
129
129
|
/**
|
|
130
130
|
* Street address or landmark where the driver picks up passengers.
|
|
131
131
|
*
|
|
132
|
-
* @generated from field: caronashow.types.v1.
|
|
132
|
+
* @generated from field: caronashow.types.v1.FullAddress origin_address = 5;
|
|
133
133
|
*/
|
|
134
|
-
originAddress?:
|
|
134
|
+
originAddress?: FullAddress;
|
|
135
135
|
/**
|
|
136
136
|
* Time the driver departs from the origin toward the organization.
|
|
137
137
|
*
|
|
@@ -172,9 +172,9 @@ export type PassengerSearchSetup = Message<"caronashow.service.v1.PassengerSearc
|
|
|
172
172
|
/**
|
|
173
173
|
* Street address or landmark where the passenger wants to be picked up.
|
|
174
174
|
*
|
|
175
|
-
* @generated from field: caronashow.types.v1.
|
|
175
|
+
* @generated from field: caronashow.types.v1.FullAddress origin_address = 1;
|
|
176
176
|
*/
|
|
177
|
-
originAddress?:
|
|
177
|
+
originAddress?: FullAddress;
|
|
178
178
|
/**
|
|
179
179
|
* Preferred time the passenger wants to depart toward the organization.
|
|
180
180
|
*
|
|
@@ -8,9 +8,9 @@ export declare const file_caronashow_types_v1_address: GenFile;
|
|
|
8
8
|
/**
|
|
9
9
|
* A physical address enriched with Google Places data.
|
|
10
10
|
*
|
|
11
|
-
* @generated from message caronashow.types.v1.
|
|
11
|
+
* @generated from message caronashow.types.v1.FullAddress
|
|
12
12
|
*/
|
|
13
|
-
export type
|
|
13
|
+
export type FullAddress = Message<"caronashow.types.v1.FullAddress"> & {
|
|
14
14
|
/**
|
|
15
15
|
* Google-assigned stable identifier for the place.
|
|
16
16
|
*
|
|
@@ -66,7 +66,7 @@ export type Address = Message<"caronashow.types.v1.Address"> & {
|
|
|
66
66
|
*/
|
|
67
67
|
postalCode: string;
|
|
68
68
|
/**
|
|
69
|
-
* Country component
|
|
69
|
+
* Country component following ISO 3166-1 alpha-2.
|
|
70
70
|
*
|
|
71
71
|
* @generated from field: string country = 10;
|
|
72
72
|
*/
|
|
@@ -79,7 +79,7 @@ export type Address = Message<"caronashow.types.v1.Address"> & {
|
|
|
79
79
|
location?: LatLng;
|
|
80
80
|
};
|
|
81
81
|
/**
|
|
82
|
-
* Describes the message caronashow.types.v1.
|
|
83
|
-
* Use `create(
|
|
82
|
+
* Describes the message caronashow.types.v1.FullAddress.
|
|
83
|
+
* Use `create(FullAddressSchema)` to create a new message.
|
|
84
84
|
*/
|
|
85
|
-
export declare const
|
|
85
|
+
export declare const FullAddressSchema: GenMessage<FullAddress>;
|
|
@@ -49,11 +49,11 @@ export type User = Message<"caronashow.types.v1.User"> & {
|
|
|
49
49
|
*/
|
|
50
50
|
currentParticipationMode: ParticipationMode;
|
|
51
51
|
/**
|
|
52
|
-
* User's loyalty
|
|
52
|
+
* User's earned loyalty and reputation rank.
|
|
53
53
|
*
|
|
54
|
-
* @generated from field:
|
|
54
|
+
* @generated from field: caronashow.types.v1.UserRank rank = 7;
|
|
55
55
|
*/
|
|
56
|
-
|
|
56
|
+
rank: UserRank;
|
|
57
57
|
/**
|
|
58
58
|
* URL of the user's uploaded profile avatar photo.
|
|
59
59
|
*
|
|
@@ -111,3 +111,38 @@ export declare enum ParticipationMode {
|
|
|
111
111
|
* Describes the enum caronashow.types.v1.ParticipationMode.
|
|
112
112
|
*/
|
|
113
113
|
export declare const ParticipationModeSchema: GenEnum<ParticipationMode>;
|
|
114
|
+
/**
|
|
115
|
+
* Loyalty and reputation rank earned by a user.
|
|
116
|
+
*
|
|
117
|
+
* @generated from enum caronashow.types.v1.UserRank
|
|
118
|
+
*/
|
|
119
|
+
export declare enum UserRank {
|
|
120
|
+
/**
|
|
121
|
+
* Default value when no rank has been assigned.
|
|
122
|
+
*
|
|
123
|
+
* @generated from enum value: USER_RANK_UNSPECIFIED = 0;
|
|
124
|
+
*/
|
|
125
|
+
UNSPECIFIED = 0,
|
|
126
|
+
/**
|
|
127
|
+
* Entry rank for new users.
|
|
128
|
+
*
|
|
129
|
+
* @generated from enum value: USER_RANK_BRONZE = 1;
|
|
130
|
+
*/
|
|
131
|
+
BRONZE = 1,
|
|
132
|
+
/**
|
|
133
|
+
* Intermediate rank for established users.
|
|
134
|
+
*
|
|
135
|
+
* @generated from enum value: USER_RANK_SILVER = 2;
|
|
136
|
+
*/
|
|
137
|
+
SILVER = 2,
|
|
138
|
+
/**
|
|
139
|
+
* Highest rank for trusted users.
|
|
140
|
+
*
|
|
141
|
+
* @generated from enum value: USER_RANK_GOLD = 3;
|
|
142
|
+
*/
|
|
143
|
+
GOLD = 3
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* Describes the enum caronashow.types.v1.UserRank.
|
|
147
|
+
*/
|
|
148
|
+
export declare const UserRankSchema: GenEnum<UserRank>;
|
package/dist/index.cjs
CHANGED
|
@@ -42,18 +42,26 @@ __export(exports_src, {
|
|
|
42
42
|
file_google_type_latlng: () => file_google_type_latlng,
|
|
43
43
|
file_caronashow_types_v1_user: () => file_caronashow_types_v1_user,
|
|
44
44
|
file_caronashow_types_v1_common: () => file_caronashow_types_v1_common,
|
|
45
|
+
file_caronashow_types_v1_address: () => file_caronashow_types_v1_address,
|
|
45
46
|
file_caronashow_service_v1_onboarding: () => file_caronashow_service_v1_onboarding,
|
|
46
|
-
|
|
47
|
+
file_caronashow_service_v1_home: () => file_caronashow_service_v1_home,
|
|
47
48
|
file_caronashow_pooler_v1_pooler: () => file_caronashow_pooler_v1_pooler,
|
|
48
49
|
file_caronashow_poc_v1_routes: () => file_caronashow_poc_v1_routes,
|
|
49
50
|
file_caronashow_poc_v1_points: () => file_caronashow_poc_v1_points,
|
|
50
51
|
file_caronashow_poc_v1_poc: () => file_caronashow_poc_v1_poc,
|
|
51
52
|
file_caronashow_poc_v1_groups: () => file_caronashow_poc_v1_groups,
|
|
53
|
+
VehicleSummarySchema: () => VehicleSummarySchema,
|
|
52
54
|
VehicleSchema: () => VehicleSchema,
|
|
53
55
|
UserSchema: () => UserSchema,
|
|
56
|
+
UserRankSchema: () => UserRankSchema,
|
|
57
|
+
UserRank: () => UserRank,
|
|
54
58
|
TimeOfDaySchema: () => TimeOfDaySchema,
|
|
59
|
+
SeatAvailabilitySchema: () => SeatAvailabilitySchema,
|
|
55
60
|
RouteTargetTypeSchema: () => RouteTargetTypeSchema,
|
|
56
61
|
RouteTargetType: () => RouteTargetType,
|
|
62
|
+
RouteGeometrySchema: () => RouteGeometrySchema,
|
|
63
|
+
RouteBoundsSchema: () => RouteBoundsSchema,
|
|
64
|
+
RankedRideSuggestionSchema: () => RankedRideSuggestionSchema,
|
|
57
65
|
PoolerService: () => PoolerService,
|
|
58
66
|
PocService: () => PocService,
|
|
59
67
|
PersonSchema: () => PersonSchema,
|
|
@@ -71,10 +79,14 @@ __export(exports_src, {
|
|
|
71
79
|
OperationState: () => OperationState,
|
|
72
80
|
OperationSchema: () => OperationSchema,
|
|
73
81
|
OnboardingService: () => OnboardingService,
|
|
82
|
+
MatchingService: () => MatchingService,
|
|
74
83
|
MatchingAlgorithmSchema: () => MatchingAlgorithmSchema,
|
|
75
84
|
MatchingAlgorithm: () => MatchingAlgorithm,
|
|
76
85
|
MatchGroupSchema: () => MatchGroupSchema,
|
|
77
|
-
|
|
86
|
+
MapViewportSchema: () => MapViewportSchema,
|
|
87
|
+
MapRideSuggestionSchema: () => MapRideSuggestionSchema,
|
|
88
|
+
ListRideSuggestionsResponseSchema: () => ListRideSuggestionsResponseSchema,
|
|
89
|
+
ListRideSuggestionsRequestSchema: () => ListRideSuggestionsRequestSchema,
|
|
78
90
|
ListOperationsResponseSchema: () => ListOperationsResponseSchema,
|
|
79
91
|
ListOperationsRequestSchema: () => ListOperationsRequestSchema,
|
|
80
92
|
LatLngSchema: () => LatLngSchema,
|
|
@@ -90,8 +102,10 @@ __export(exports_src, {
|
|
|
90
102
|
GetMapPointGroupsRequestSchema: () => GetMapPointGroupsRequestSchema,
|
|
91
103
|
GetDirectRoutesResponseSchema: () => GetDirectRoutesResponseSchema,
|
|
92
104
|
GetDirectRoutesRequestSchema: () => GetDirectRoutesRequestSchema,
|
|
105
|
+
FullAddressSchema: () => FullAddressSchema,
|
|
93
106
|
ExecuteMatchingAlgorithmOnDatasetResponseSchema: () => ExecuteMatchingAlgorithmOnDatasetResponseSchema,
|
|
94
107
|
ExecuteMatchingAlgorithmOnDatasetRequestSchema: () => ExecuteMatchingAlgorithmOnDatasetRequestSchema,
|
|
108
|
+
DriverSummarySchema: () => DriverSummarySchema,
|
|
95
109
|
DriverPointSchema: () => DriverPointSchema,
|
|
96
110
|
DriverOfferSetupSchema: () => DriverOfferSetupSchema,
|
|
97
111
|
DirectRouteSchema: () => DirectRouteSchema,
|
|
@@ -101,6 +115,8 @@ __export(exports_src, {
|
|
|
101
115
|
Dataset: () => Dataset,
|
|
102
116
|
CompleteOnboardingResponseSchema: () => CompleteOnboardingResponseSchema,
|
|
103
117
|
CompleteOnboardingRequestSchema: () => CompleteOnboardingRequestSchema,
|
|
118
|
+
CommuteDirectionSchema: () => CommuteDirectionSchema,
|
|
119
|
+
CommuteDirection: () => CommuteDirection,
|
|
104
120
|
ChatPreferenceSchema: () => ChatPreferenceSchema,
|
|
105
121
|
ChatPreference: () => ChatPreference,
|
|
106
122
|
AddressSchema: () => AddressSchema
|
|
@@ -3112,11 +3128,9 @@ var OperationState;
|
|
|
3112
3128
|
})(OperationState ||= {});
|
|
3113
3129
|
var OperationStateSchema = /* @__PURE__ */ enumDesc(file_caronashow_pooler_v1_pooler, 1);
|
|
3114
3130
|
var PoolerService = /* @__PURE__ */ serviceDesc(file_caronashow_pooler_v1_pooler, 0);
|
|
3115
|
-
// src/gen/caronashow/service/v1/map_pb.ts
|
|
3116
|
-
var file_caronashow_service_v1_map = /* @__PURE__ */ fileDesc("Ch9jYXJvbmFzaG93L3NlcnZpY2UvdjEvbWFwLnByb3RvEhVjYXJvbmFzaG93LnNlcnZpY2UudjEyDAoKTWFwU2VydmljZULdAQoZY29tLmNhcm9uYXNob3cuc2VydmljZS52MUIITWFwUHJvdG9QAVpAZ2l0bGFiLmNvbS9jYXJvbmFzaG93L2FwaS9nby9nZW4vY2Fyb25hc2hvdy9zZXJ2aWNlL3YxO3NlcnZpY2V2MaICA0NTWKoCFUNhcm9uYXNob3cuU2VydmljZS5WMcoCFUNhcm9uYXNob3dcU2VydmljZVxWMeICIUNhcm9uYXNob3dcU2VydmljZVxWMVxHUEJNZXRhZGF0YeoCF0Nhcm9uYXNob3c6OlNlcnZpY2U6OlYxYgZwcm90bzM");
|
|
3117
|
-
var MapService = /* @__PURE__ */ serviceDesc(file_caronashow_service_v1_map, 0);
|
|
3118
3131
|
// src/gen/caronashow/types/v1/address_pb.ts
|
|
3119
|
-
var file_caronashow_types_v1_address = /* @__PURE__ */ fileDesc("
|
|
3132
|
+
var file_caronashow_types_v1_address = /* @__PURE__ */ fileDesc("CiFjYXJvbmFzaG93L3R5cGVzL3YxL2FkZHJlc3MucHJvdG8SE2Nhcm9uYXNob3cudHlwZXMudjEi7gEKC0Z1bGxBZGRyZXNzEhAKCHBsYWNlX2lkGAEgASgJEhkKEWZvcm1hdHRlZF9hZGRyZXNzGAIgASgJEg4KBnN0cmVldBgDIAEoCRIOCgZudW1iZXIYBCABKAkSEgoKY29tcGxlbWVudBgFIAEoCRIUCgxuZWlnaGJvcmhvb2QYBiABKAkSDAoEY2l0eRgHIAEoCRINCgVzdGF0ZRgIIAEoCRITCgtwb3N0YWxfY29kZRgJIAEoCRIPCgdjb3VudHJ5GAogASgJEiUKCGxvY2F0aW9uGAsgASgLMhMuZ29vZ2xlLnR5cGUuTGF0TG5nQtMBChdjb20uY2Fyb25hc2hvdy50eXBlcy52MUIMQWRkcmVzc1Byb3RvUAFaPGdpdGxhYi5jb20vY2Fyb25hc2hvdy9hcGkvZ28vZ2VuL2Nhcm9uYXNob3cvdHlwZXMvdjE7dHlwZXN2MaICA0NUWKoCE0Nhcm9uYXNob3cuVHlwZXMuVjHKAhNDYXJvbmFzaG93XFR5cGVzXFYx4gIfQ2Fyb25hc2hvd1xUeXBlc1xWMVxHUEJNZXRhZGF0YeoCFUNhcm9uYXNob3c6OlR5cGVzOjpWMWIGcHJvdG8z", [file_google_type_latlng]);
|
|
3133
|
+
var FullAddressSchema = /* @__PURE__ */ messageDesc(file_caronashow_types_v1_address, 0);
|
|
3120
3134
|
|
|
3121
3135
|
// src/gen/caronashow/types/v1/common_pb.ts
|
|
3122
3136
|
var file_caronashow_types_v1_common = /* @__PURE__ */ fileDesc("CiBjYXJvbmFzaG93L3R5cGVzL3YxL2NvbW1vbi5wcm90bxITY2Fyb25hc2hvdy50eXBlcy52MSIrCglUaW1lT2ZEYXkSDQoFaG91cnMYASABKAUSDwoHbWludXRlcxgCIAEoBSrYAQoJRGF5T2ZXZWVrEhsKF0RBWV9PRl9XRUVLX1VOU1BFQ0lGSUVEEAASFgoSREFZX09GX1dFRUtfTU9OREFZEAESFwoTREFZX09GX1dFRUtfVFVFU0RBWRACEhkKFURBWV9PRl9XRUVLX1dFRE5FU0RBWRADEhgKFERBWV9PRl9XRUVLX1RIVVJTREFZEAQSFgoSREFZX09GX1dFRUtfRlJJREFZEAUSGAoUREFZX09GX1dFRUtfU0FUVVJEQVkQBhIWChJEQVlfT0ZfV0VFS19TVU5EQVkQByqHAQoOQ2hhdFByZWZlcmVuY2USHwobQ0hBVF9QUkVGRVJFTkNFX1VOU1BFQ0lGSUVEEAASGAoUQ0hBVF9QUkVGRVJFTkNFX09QRU4QARIZChVDSEFUX1BSRUZFUkVOQ0VfUVVJRVQQAhIfChtDSEFUX1BSRUZFUkVOQ0VfSU5ESUZGRVJFTlQQA0LSAQoXY29tLmNhcm9uYXNob3cudHlwZXMudjFCC0NvbW1vblByb3RvUAFaPGdpdGxhYi5jb20vY2Fyb25hc2hvdy9hcGkvZ28vZ2VuL2Nhcm9uYXNob3cvdHlwZXMvdjE7dHlwZXN2MaICA0NUWKoCE0Nhcm9uYXNob3cuVHlwZXMuVjHKAhNDYXJvbmFzaG93XFR5cGVzXFYx4gIfQ2Fyb25hc2hvd1xUeXBlc1xWMVxHUEJNZXRhZGF0YeoCFUNhcm9uYXNob3c6OlR5cGVzOjpWMWIGcHJvdG8z");
|
|
@@ -3143,7 +3157,7 @@ var ChatPreference;
|
|
|
3143
3157
|
var ChatPreferenceSchema = /* @__PURE__ */ enumDesc(file_caronashow_types_v1_common, 1);
|
|
3144
3158
|
|
|
3145
3159
|
// src/gen/caronashow/types/v1/user_pb.ts
|
|
3146
|
-
var file_caronashow_types_v1_user = /* @__PURE__ */ fileDesc("
|
|
3160
|
+
var file_caronashow_types_v1_user = /* @__PURE__ */ fileDesc("Ch5jYXJvbmFzaG93L3R5cGVzL3YxL3VzZXIucHJvdG8SE2Nhcm9uYXNob3cudHlwZXMudjEirQIKBFVzZXISCgoCaWQYASABKAkSEgoKZmlyc3RfbmFtZRgCIAEoCRIRCglsYXN0X25hbWUYAyABKAkSDQoFZW1haWwYBCABKAkSKAogZW5yb2xsZWRfaW5fdnVsbmVyYWJpbGl0eV9maWx0ZXIYBSABKAgSSgoaY3VycmVudF9wYXJ0aWNpcGF0aW9uX21vZGUYBiABKA4yJi5jYXJvbmFzaG93LnR5cGVzLnYxLlBhcnRpY2lwYXRpb25Nb2RlEisKBHJhbmsYByABKA4yHS5jYXJvbmFzaG93LnR5cGVzLnYxLlVzZXJSYW5rEhIKCmF2YXRhcl91cmwYCCABKAkSDgoGb3JnX2lkGAkgASgJEhwKFG9uYm9hcmRpbmdfY29tcGxldGVkGAogASgIKpQBChFQYXJ0aWNpcGF0aW9uTW9kZRIiCh5QQVJUSUNJUEFUSU9OX01PREVfVU5TUEVDSUZJRUQQABIcChhQQVJUSUNJUEFUSU9OX01PREVfT0ZGRVIQARIdChlQQVJUSUNJUEFUSU9OX01PREVfU0VBUkNIEAISHgoaUEFSVElDSVBBVElPTl9NT0RFX0VYUExPUkUQAyplCghVc2VyUmFuaxIZChVVU0VSX1JBTktfVU5TUEVDSUZJRUQQABIUChBVU0VSX1JBTktfQlJPTlpFEAESFAoQVVNFUl9SQU5LX1NJTFZFUhACEhIKDlVTRVJfUkFOS19HT0xEEANC0AEKF2NvbS5jYXJvbmFzaG93LnR5cGVzLnYxQglVc2VyUHJvdG9QAVo8Z2l0bGFiLmNvbS9jYXJvbmFzaG93L2FwaS9nby9nZW4vY2Fyb25hc2hvdy90eXBlcy92MTt0eXBlc3YxogIDQ1RYqgITQ2Fyb25hc2hvdy5UeXBlcy5WMcoCE0Nhcm9uYXNob3dcVHlwZXNcVjHiAh9DYXJvbmFzaG93XFR5cGVzXFYxXEdQQk1ldGFkYXRh6gIVQ2Fyb25hc2hvdzo6VHlwZXM6OlYxYgZwcm90bzM");
|
|
3147
3161
|
var UserSchema = /* @__PURE__ */ messageDesc(file_caronashow_types_v1_user, 0);
|
|
3148
3162
|
var ParticipationMode;
|
|
3149
3163
|
((ParticipationMode2) => {
|
|
@@ -3153,9 +3167,17 @@ var ParticipationMode;
|
|
|
3153
3167
|
ParticipationMode2[ParticipationMode2["EXPLORE"] = 3] = "EXPLORE";
|
|
3154
3168
|
})(ParticipationMode ||= {});
|
|
3155
3169
|
var ParticipationModeSchema = /* @__PURE__ */ enumDesc(file_caronashow_types_v1_user, 0);
|
|
3170
|
+
var UserRank;
|
|
3171
|
+
((UserRank2) => {
|
|
3172
|
+
UserRank2[UserRank2["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
3173
|
+
UserRank2[UserRank2["BRONZE"] = 1] = "BRONZE";
|
|
3174
|
+
UserRank2[UserRank2["SILVER"] = 2] = "SILVER";
|
|
3175
|
+
UserRank2[UserRank2["GOLD"] = 3] = "GOLD";
|
|
3176
|
+
})(UserRank ||= {});
|
|
3177
|
+
var UserRankSchema = /* @__PURE__ */ enumDesc(file_caronashow_types_v1_user, 1);
|
|
3156
3178
|
|
|
3157
3179
|
// src/gen/caronashow/service/v1/onboarding_pb.ts
|
|
3158
|
-
var file_caronashow_service_v1_onboar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ZpY2VcVjFcR1BCTWV0YWRhdGHqAhdDYXJvbmFzaG93OjpTZXJ2aWNlOjpWMWIGcHJvdG8z", [file_caronashow_types_v1_address, file_caronashow_types_v1_common, file_caronashow_types_v1_user]);
|
|
3159
3181
|
var GetOnboardingStatusRequestSchema = /* @__PURE__ */ messageDesc(file_caronashow_service_v1_onboarding, 0);
|
|
3160
3182
|
var GetOnboardingStatusResponseSchema = /* @__PURE__ */ messageDesc(file_caronashow_service_v1_onboarding, 1);
|
|
3161
3183
|
var CompleteOnboardingRequestSchema = /* @__PURE__ */ messageDesc(file_caronashow_service_v1_onboarding, 2);
|
|
@@ -3163,3 +3185,23 @@ var DriverOfferSetupSchema = /* @__PURE__ */ messageDesc(file_caronashow_service
|
|
|
3163
3185
|
var PassengerSearchSetupSchema = /* @__PURE__ */ messageDesc(file_caronashow_service_v1_onboarding, 4);
|
|
3164
3186
|
var CompleteOnboardingResponseSchema = /* @__PURE__ */ messageDesc(file_caronashow_service_v1_onboarding, 5);
|
|
3165
3187
|
var OnboardingService = /* @__PURE__ */ serviceDesc(file_caronashow_service_v1_onboarding, 0);
|
|
3188
|
+
// src/gen/caronashow/service/v1/home_pb.ts
|
|
3189
|
+
var file_caronashow_service_v1_home = /* @__PURE__ */ fileDesc("CiBjYXJvbmFzaG93L3NlcnZpY2UvdjEvaG9tZS5wcm90bxIVY2Fyb25hc2hvdy5zZXJ2aWNlLnYxIo4BChpMaXN0UmlkZVN1Z2dlc3Rpb25zUmVxdWVzdBI0Cgh2aWV3cG9ydBgBIAEoCzIiLmNhcm9uYXNob3cuc2VydmljZS52MS5NYXBWaWV3cG9ydBI6CglkaXJlY3Rpb24YAiABKA4yJy5jYXJvbmFzaG93LnNlcnZpY2UudjEuQ29tbXV0ZURpcmVjdGlvbiLyAQobTGlzdFJpZGVTdWdnZXN0aW9uc1Jlc3BvbnNlEhUKDXJlc3VsdF9zZXRfaWQYASABKAkSQQoPbWFwX3N1Z2dlc3Rpb25zGAIgAygLMiguY2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G93LnNlcnZpY2UudjEuTGlzdFJpZGVTdWdnZXN0aW9uc1Jlc3BvbnNlQt4BChljb20uY2Fyb25hc2hvdy5zZXJ2aWNlLnYxQglIb21lUHJvdG9QAVpAZ2l0bGFiLmNvbS9jYXJvbmFzaG93L2FwaS9nby9nZW4vY2Fyb25hc2hvdy9zZXJ2aWNlL3YxO3NlcnZpY2V2MaICA0NTWKoCFUNhcm9uYXNob3cuU2VydmljZS5WMcoCFUNhcm9uYXNob3dcU2VydmljZVxWMeICIUNhcm9uYXNob3dcU2VydmljZVxWMVxHUEJNZXRhZGF0YeoCF0Nhcm9uYXNob3c6OlNlcnZpY2U6OlYxYgZwcm90bzM", [file_caronashow_types_v1_address, file_caronashow_types_v1_common, file_caronashow_types_v1_user, file_google_protobuf_timestamp, file_google_type_latlng]);
|
|
3190
|
+
var ListRideSuggestionsRequestSchema = /* @__PURE__ */ messageDesc(file_caronashow_service_v1_home, 0);
|
|
3191
|
+
var ListRideSuggestionsResponseSchema = /* @__PURE__ */ messageDesc(file_caronashow_service_v1_home, 1);
|
|
3192
|
+
var MapViewportSchema = /* @__PURE__ */ messageDesc(file_caronashow_service_v1_home, 2);
|
|
3193
|
+
var MapRideSuggestionSchema = /* @__PURE__ */ messageDesc(file_caronashow_service_v1_home, 3);
|
|
3194
|
+
var RouteGeometrySchema = /* @__PURE__ */ messageDesc(file_caronashow_service_v1_home, 4);
|
|
3195
|
+
var RouteBoundsSchema = /* @__PURE__ */ messageDesc(file_caronashow_service_v1_home, 5);
|
|
3196
|
+
var RankedRideSuggestionSchema = /* @__PURE__ */ messageDesc(file_caronashow_service_v1_home, 6);
|
|
3197
|
+
var DriverSummarySchema = /* @__PURE__ */ messageDesc(file_caronashow_service_v1_home, 7);
|
|
3198
|
+
var VehicleSummarySchema = /* @__PURE__ */ messageDesc(file_caronashow_service_v1_home, 8);
|
|
3199
|
+
var SeatAvailabilitySchema = /* @__PURE__ */ messageDesc(file_caronashow_service_v1_home, 9);
|
|
3200
|
+
var CommuteDirection;
|
|
3201
|
+
((CommuteDirection2) => {
|
|
3202
|
+
CommuteDirection2[CommuteDirection2["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
3203
|
+
CommuteDirection2[CommuteDirection2["TO_ORGANIZATION"] = 1] = "TO_ORGANIZATION";
|
|
3204
|
+
CommuteDirection2[CommuteDirection2["FROM_ORGANIZATION"] = 2] = "FROM_ORGANIZATION";
|
|
3205
|
+
})(CommuteDirection ||= {});
|
|
3206
|
+
var CommuteDirectionSchema = /* @__PURE__ */ enumDesc(file_caronashow_service_v1_home, 0);
|
|
3207
|
+
var MatchingService = /* @__PURE__ */ serviceDesc(file_caronashow_service_v1_home, 0);
|
package/dist/index.d.ts
CHANGED
|
@@ -3,8 +3,9 @@ export * from "./gen/caronashow/poc/v1/poc_pb";
|
|
|
3
3
|
export * from "./gen/caronashow/poc/v1/points_pb";
|
|
4
4
|
export * from "./gen/caronashow/poc/v1/routes_pb";
|
|
5
5
|
export * from "./gen/caronashow/pooler/v1/pooler_pb";
|
|
6
|
-
export * from "./gen/caronashow/service/v1/map_pb";
|
|
7
6
|
export * from "./gen/caronashow/service/v1/onboarding_pb";
|
|
7
|
+
export * from "./gen/caronashow/service/v1/home_pb";
|
|
8
|
+
export * from "./gen/caronashow/types/v1/address_pb";
|
|
8
9
|
export * from "./gen/caronashow/types/v1/common_pb";
|
|
9
10
|
export * from "./gen/caronashow/types/v1/user_pb";
|
|
10
11
|
export * from "./gen/google/type/latlng_pb";
|
package/package.json
CHANGED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
-
/**
|
|
3
|
-
* Describes the file caronashow/service/v1/map.proto.
|
|
4
|
-
*/
|
|
5
|
-
export declare const file_caronashow_service_v1_map: GenFile;
|
|
6
|
-
/**
|
|
7
|
-
* @generated from service caronashow.service.v1.MapService
|
|
8
|
-
*/
|
|
9
|
-
export declare const MapService: GenService<{}>;
|