@caronashow/api 0.8.1 → 0.10.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 +41 -23
- package/dist/gen/caronashow/service/v1/organization_pb.d.ts +168 -0
- package/dist/gen/caronashow/types/v1/address_pb.d.ts +5 -5
- package/dist/gen/caronashow/types/v1/user_pb.d.ts +38 -3
- package/dist/index.cjs +65 -8
- package/dist/index.d.ts +3 -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";
|
|
@@ -98,6 +98,7 @@ export type CompleteOnboardingRequest = Message<"caronashow.service.v1.CompleteO
|
|
|
98
98
|
export declare const CompleteOnboardingRequestSchema: GenMessage<CompleteOnboardingRequest>;
|
|
99
99
|
/**
|
|
100
100
|
* Driver's vehicle and route preferences set during onboarding.
|
|
101
|
+
* Arrival and departure shift IDs may independently reference different paired shifts.
|
|
101
102
|
*
|
|
102
103
|
* @generated from message caronashow.service.v1.DriverOfferSetup
|
|
103
104
|
*/
|
|
@@ -129,21 +130,15 @@ export type DriverOfferSetup = Message<"caronashow.service.v1.DriverOfferSetup">
|
|
|
129
130
|
/**
|
|
130
131
|
* Street address or landmark where the driver picks up passengers.
|
|
131
132
|
*
|
|
132
|
-
* @generated from field: caronashow.types.v1.
|
|
133
|
+
* @generated from field: caronashow.types.v1.FullAddress origin_address = 5;
|
|
133
134
|
*/
|
|
134
|
-
originAddress?:
|
|
135
|
+
originAddress?: FullAddress;
|
|
135
136
|
/**
|
|
136
|
-
*
|
|
137
|
+
* Exact time the driver departs from the origin toward the organization.
|
|
137
138
|
*
|
|
138
|
-
* @generated from field: caronashow.types.v1.TimeOfDay
|
|
139
|
+
* @generated from field: caronashow.types.v1.TimeOfDay departure_from_origin = 6;
|
|
139
140
|
*/
|
|
140
|
-
|
|
141
|
-
/**
|
|
142
|
-
* Time the driver leaves the organization to return home.
|
|
143
|
-
*
|
|
144
|
-
* @generated from field: caronashow.types.v1.TimeOfDay return_time = 7;
|
|
145
|
-
*/
|
|
146
|
-
returnTime?: TimeOfDay;
|
|
141
|
+
departureFromOrigin?: TimeOfDay;
|
|
147
142
|
/**
|
|
148
143
|
* Whether the driver is currently accepting ride requests.
|
|
149
144
|
*
|
|
@@ -157,6 +152,20 @@ export type DriverOfferSetup = Message<"caronashow.service.v1.DriverOfferSetup">
|
|
|
157
152
|
* @generated from field: bool restricted_to_vulnerable_group = 9;
|
|
158
153
|
*/
|
|
159
154
|
restrictedToVulnerableGroup: boolean;
|
|
155
|
+
/**
|
|
156
|
+
* Shift whose arrival window applies to the driver's organization arrival.
|
|
157
|
+
* This selects only the arrival half of the referenced paired shift.
|
|
158
|
+
*
|
|
159
|
+
* @generated from field: string arrival_shift_id = 10;
|
|
160
|
+
*/
|
|
161
|
+
arrivalShiftId: string;
|
|
162
|
+
/**
|
|
163
|
+
* Shift whose departure window applies to the driver's organization departure.
|
|
164
|
+
* This selects only the departure half of the referenced paired shift.
|
|
165
|
+
*
|
|
166
|
+
* @generated from field: string departure_shift_id = 11;
|
|
167
|
+
*/
|
|
168
|
+
departureShiftId: string;
|
|
160
169
|
};
|
|
161
170
|
/**
|
|
162
171
|
* Describes the message caronashow.service.v1.DriverOfferSetup.
|
|
@@ -165,6 +174,7 @@ export type DriverOfferSetup = Message<"caronashow.service.v1.DriverOfferSetup">
|
|
|
165
174
|
export declare const DriverOfferSetupSchema: GenMessage<DriverOfferSetup>;
|
|
166
175
|
/**
|
|
167
176
|
* Passenger's route and preference data set during onboarding.
|
|
177
|
+
* Arrival and departure shift IDs may independently reference different paired shifts.
|
|
168
178
|
*
|
|
169
179
|
* @generated from message caronashow.service.v1.PassengerSearchSetup
|
|
170
180
|
*/
|
|
@@ -172,27 +182,35 @@ export type PassengerSearchSetup = Message<"caronashow.service.v1.PassengerSearc
|
|
|
172
182
|
/**
|
|
173
183
|
* Street address or landmark where the passenger wants to be picked up.
|
|
174
184
|
*
|
|
175
|
-
* @generated from field: caronashow.types.v1.
|
|
185
|
+
* @generated from field: caronashow.types.v1.FullAddress origin_address = 1;
|
|
176
186
|
*/
|
|
177
|
-
originAddress?:
|
|
187
|
+
originAddress?: FullAddress;
|
|
178
188
|
/**
|
|
179
|
-
*
|
|
189
|
+
* Exact time the passenger departs from the origin toward the organization.
|
|
180
190
|
*
|
|
181
|
-
* @generated from field: caronashow.types.v1.TimeOfDay
|
|
191
|
+
* @generated from field: caronashow.types.v1.TimeOfDay departure_from_origin = 2;
|
|
182
192
|
*/
|
|
183
|
-
|
|
184
|
-
/**
|
|
185
|
-
* Preferred time the passenger wants to leave the organization to return home.
|
|
186
|
-
*
|
|
187
|
-
* @generated from field: caronashow.types.v1.TimeOfDay return_time = 3;
|
|
188
|
-
*/
|
|
189
|
-
returnTime?: TimeOfDay;
|
|
193
|
+
departureFromOrigin?: TimeOfDay;
|
|
190
194
|
/**
|
|
191
195
|
* Passenger's conversation preference during the ride.
|
|
192
196
|
*
|
|
193
197
|
* @generated from field: caronashow.types.v1.ChatPreference chat_preference = 4;
|
|
194
198
|
*/
|
|
195
199
|
chatPreference: ChatPreference;
|
|
200
|
+
/**
|
|
201
|
+
* Shift whose arrival window applies to the passenger's organization arrival.
|
|
202
|
+
* This selects only the arrival half of the referenced paired shift.
|
|
203
|
+
*
|
|
204
|
+
* @generated from field: string arrival_shift_id = 5;
|
|
205
|
+
*/
|
|
206
|
+
arrivalShiftId: string;
|
|
207
|
+
/**
|
|
208
|
+
* Shift whose departure window applies to the passenger's organization departure.
|
|
209
|
+
* This selects only the departure half of the referenced paired shift.
|
|
210
|
+
*
|
|
211
|
+
* @generated from field: string departure_shift_id = 6;
|
|
212
|
+
*/
|
|
213
|
+
departureShiftId: string;
|
|
196
214
|
};
|
|
197
215
|
/**
|
|
198
216
|
* Describes the message caronashow.service.v1.PassengerSearchSetup.
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
import type { 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 { Message } from "@bufbuild/protobuf";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file caronashow/service/v1/organization.proto.
|
|
7
|
+
*/
|
|
8
|
+
export declare const file_caronashow_service_v1_organization: GenFile;
|
|
9
|
+
/**
|
|
10
|
+
* Empty because the authenticated user's organization is inferred from the session.
|
|
11
|
+
*
|
|
12
|
+
* @generated from message caronashow.service.v1.GetMyOrganizationRequest
|
|
13
|
+
*/
|
|
14
|
+
export type GetMyOrganizationRequest = Message<"caronashow.service.v1.GetMyOrganizationRequest"> & {};
|
|
15
|
+
/**
|
|
16
|
+
* Describes the message caronashow.service.v1.GetMyOrganizationRequest.
|
|
17
|
+
* Use `create(GetMyOrganizationRequestSchema)` to create a new message.
|
|
18
|
+
*/
|
|
19
|
+
export declare const GetMyOrganizationRequestSchema: GenMessage<GetMyOrganizationRequest>;
|
|
20
|
+
/**
|
|
21
|
+
* Contains the authenticated user's organization public profile.
|
|
22
|
+
*
|
|
23
|
+
* @generated from message caronashow.service.v1.GetMyOrganizationResponse
|
|
24
|
+
*/
|
|
25
|
+
export type GetMyOrganizationResponse = Message<"caronashow.service.v1.GetMyOrganizationResponse"> & {
|
|
26
|
+
/**
|
|
27
|
+
* Public organization data available to the authenticated user.
|
|
28
|
+
*
|
|
29
|
+
* @generated from field: caronashow.service.v1.Organization organization = 1;
|
|
30
|
+
*/
|
|
31
|
+
organization?: Organization;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Describes the message caronashow.service.v1.GetMyOrganizationResponse.
|
|
35
|
+
* Use `create(GetMyOrganizationResponseSchema)` to create a new message.
|
|
36
|
+
*/
|
|
37
|
+
export declare const GetMyOrganizationResponseSchema: GenMessage<GetMyOrganizationResponse>;
|
|
38
|
+
/**
|
|
39
|
+
* Public organization data and active shifts used by member workflows.
|
|
40
|
+
*
|
|
41
|
+
* @generated from message caronashow.service.v1.Organization
|
|
42
|
+
*/
|
|
43
|
+
export type Organization = Message<"caronashow.service.v1.Organization"> & {
|
|
44
|
+
/**
|
|
45
|
+
* Internal stable identifier for the organization.
|
|
46
|
+
*
|
|
47
|
+
* @generated from field: string id = 1;
|
|
48
|
+
*/
|
|
49
|
+
id: string;
|
|
50
|
+
/**
|
|
51
|
+
* Human-readable organization name.
|
|
52
|
+
*
|
|
53
|
+
* @generated from field: string name = 2;
|
|
54
|
+
*/
|
|
55
|
+
name: string;
|
|
56
|
+
/**
|
|
57
|
+
* Full structured address of the organization.
|
|
58
|
+
*
|
|
59
|
+
* @generated from field: caronashow.types.v1.FullAddress address = 3;
|
|
60
|
+
*/
|
|
61
|
+
address?: FullAddress;
|
|
62
|
+
/**
|
|
63
|
+
* IANA time zone identifier used to interpret shift-local times.
|
|
64
|
+
*
|
|
65
|
+
* @generated from field: string time_zone = 4;
|
|
66
|
+
*/
|
|
67
|
+
timeZone: string;
|
|
68
|
+
/**
|
|
69
|
+
* Optional identifier of the organization's logo asset; empty when absent.
|
|
70
|
+
*
|
|
71
|
+
* @generated from field: string logo_id = 5;
|
|
72
|
+
*/
|
|
73
|
+
logoId: string;
|
|
74
|
+
/**
|
|
75
|
+
* Active named shifts available for onboarding selections.
|
|
76
|
+
*
|
|
77
|
+
* @generated from field: repeated caronashow.service.v1.OrganizationShift shifts = 6;
|
|
78
|
+
*/
|
|
79
|
+
shifts: OrganizationShift[];
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* Describes the message caronashow.service.v1.Organization.
|
|
83
|
+
* Use `create(OrganizationSchema)` to create a new message.
|
|
84
|
+
*/
|
|
85
|
+
export declare const OrganizationSchema: GenMessage<Organization>;
|
|
86
|
+
/**
|
|
87
|
+
* A named shift pairing one arrival window with one departure window.
|
|
88
|
+
* Arrival and departure selections may independently reference different shifts.
|
|
89
|
+
*
|
|
90
|
+
* @generated from message caronashow.service.v1.OrganizationShift
|
|
91
|
+
*/
|
|
92
|
+
export type OrganizationShift = Message<"caronashow.service.v1.OrganizationShift"> & {
|
|
93
|
+
/**
|
|
94
|
+
* Internal stable identifier for the shift.
|
|
95
|
+
*
|
|
96
|
+
* @generated from field: string id = 1;
|
|
97
|
+
*/
|
|
98
|
+
id: string;
|
|
99
|
+
/**
|
|
100
|
+
* Human-readable shift name.
|
|
101
|
+
*
|
|
102
|
+
* @generated from field: string name = 2;
|
|
103
|
+
*/
|
|
104
|
+
name: string;
|
|
105
|
+
/**
|
|
106
|
+
* Window used when this shift is selected as an organization arrival shift.
|
|
107
|
+
*
|
|
108
|
+
* @generated from field: caronashow.service.v1.TimeWindow arrival_window = 3;
|
|
109
|
+
*/
|
|
110
|
+
arrivalWindow?: TimeWindow;
|
|
111
|
+
/**
|
|
112
|
+
* Window used when this shift is selected as an organization departure shift.
|
|
113
|
+
*
|
|
114
|
+
* @generated from field: caronashow.service.v1.TimeWindow departure_window = 4;
|
|
115
|
+
*/
|
|
116
|
+
departureWindow?: TimeWindow;
|
|
117
|
+
};
|
|
118
|
+
/**
|
|
119
|
+
* Describes the message caronashow.service.v1.OrganizationShift.
|
|
120
|
+
* Use `create(OrganizationShiftSchema)` to create a new message.
|
|
121
|
+
*/
|
|
122
|
+
export declare const OrganizationShiftSchema: GenMessage<OrganizationShift>;
|
|
123
|
+
/**
|
|
124
|
+
* A recurring local-time window with minute precision.
|
|
125
|
+
* An end before the start wraps into the following day; equal bounds are invalid.
|
|
126
|
+
*
|
|
127
|
+
* @generated from message caronashow.service.v1.TimeWindow
|
|
128
|
+
*/
|
|
129
|
+
export type TimeWindow = Message<"caronashow.service.v1.TimeWindow"> & {
|
|
130
|
+
/**
|
|
131
|
+
* Inclusive local start time of the window.
|
|
132
|
+
*
|
|
133
|
+
* @generated from field: caronashow.types.v1.TimeOfDay start_time = 1;
|
|
134
|
+
*/
|
|
135
|
+
startTime?: TimeOfDay;
|
|
136
|
+
/**
|
|
137
|
+
* Inclusive local end time of the window.
|
|
138
|
+
*
|
|
139
|
+
* @generated from field: caronashow.types.v1.TimeOfDay end_time = 2;
|
|
140
|
+
*/
|
|
141
|
+
endTime?: TimeOfDay;
|
|
142
|
+
};
|
|
143
|
+
/**
|
|
144
|
+
* Describes the message caronashow.service.v1.TimeWindow.
|
|
145
|
+
* Use `create(TimeWindowSchema)` to create a new message.
|
|
146
|
+
*/
|
|
147
|
+
export declare const TimeWindowSchema: GenMessage<TimeWindow>;
|
|
148
|
+
/**
|
|
149
|
+
* OrganizationService exposes organization data for the authenticated user.
|
|
150
|
+
*
|
|
151
|
+
* @generated from service caronashow.service.v1.OrganizationService
|
|
152
|
+
*/
|
|
153
|
+
export declare const OrganizationService: GenService<{
|
|
154
|
+
/**
|
|
155
|
+
* Returns the public profile of the authenticated user's organization.
|
|
156
|
+
* The organization is derived from the authenticated session; callers cannot
|
|
157
|
+
* select another organization through the request.
|
|
158
|
+
* Returns UNAUTHENTICATED when no authenticated user is present and
|
|
159
|
+
* FAILED_PRECONDITION when required organization data is incomplete.
|
|
160
|
+
*
|
|
161
|
+
* @generated from rpc caronashow.service.v1.OrganizationService.GetMyOrganization
|
|
162
|
+
*/
|
|
163
|
+
getMyOrganization: {
|
|
164
|
+
methodKind: "unary";
|
|
165
|
+
input: typeof GetMyOrganizationRequestSchema;
|
|
166
|
+
output: typeof GetMyOrganizationResponseSchema;
|
|
167
|
+
};
|
|
168
|
+
}>;
|
|
@@ -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
|
*
|
|
@@ -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,28 @@ __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,
|
|
46
|
+
file_caronashow_service_v1_organization: () => file_caronashow_service_v1_organization,
|
|
45
47
|
file_caronashow_service_v1_onboarding: () => file_caronashow_service_v1_onboarding,
|
|
46
|
-
|
|
48
|
+
file_caronashow_service_v1_home: () => file_caronashow_service_v1_home,
|
|
47
49
|
file_caronashow_pooler_v1_pooler: () => file_caronashow_pooler_v1_pooler,
|
|
48
50
|
file_caronashow_poc_v1_routes: () => file_caronashow_poc_v1_routes,
|
|
49
51
|
file_caronashow_poc_v1_points: () => file_caronashow_poc_v1_points,
|
|
50
52
|
file_caronashow_poc_v1_poc: () => file_caronashow_poc_v1_poc,
|
|
51
53
|
file_caronashow_poc_v1_groups: () => file_caronashow_poc_v1_groups,
|
|
54
|
+
VehicleSummarySchema: () => VehicleSummarySchema,
|
|
52
55
|
VehicleSchema: () => VehicleSchema,
|
|
53
56
|
UserSchema: () => UserSchema,
|
|
57
|
+
UserRankSchema: () => UserRankSchema,
|
|
58
|
+
UserRank: () => UserRank,
|
|
59
|
+
TimeWindowSchema: () => TimeWindowSchema,
|
|
54
60
|
TimeOfDaySchema: () => TimeOfDaySchema,
|
|
61
|
+
SeatAvailabilitySchema: () => SeatAvailabilitySchema,
|
|
55
62
|
RouteTargetTypeSchema: () => RouteTargetTypeSchema,
|
|
56
63
|
RouteTargetType: () => RouteTargetType,
|
|
64
|
+
RouteGeometrySchema: () => RouteGeometrySchema,
|
|
65
|
+
RouteBoundsSchema: () => RouteBoundsSchema,
|
|
66
|
+
RankedRideSuggestionSchema: () => RankedRideSuggestionSchema,
|
|
57
67
|
PoolerService: () => PoolerService,
|
|
58
68
|
PocService: () => PocService,
|
|
59
69
|
PersonSchema: () => PersonSchema,
|
|
@@ -65,16 +75,23 @@ __export(exports_src, {
|
|
|
65
75
|
PassengerPointSchema: () => PassengerPointSchema,
|
|
66
76
|
ParticipationModeSchema: () => ParticipationModeSchema,
|
|
67
77
|
ParticipationMode: () => ParticipationMode,
|
|
78
|
+
OrganizationShiftSchema: () => OrganizationShiftSchema,
|
|
79
|
+
OrganizationService: () => OrganizationService,
|
|
80
|
+
OrganizationSchema: () => OrganizationSchema,
|
|
68
81
|
OrganizationPointSchema: () => OrganizationPointSchema,
|
|
69
82
|
OptimizedRouteSchema: () => OptimizedRouteSchema,
|
|
70
83
|
OperationStateSchema: () => OperationStateSchema,
|
|
71
84
|
OperationState: () => OperationState,
|
|
72
85
|
OperationSchema: () => OperationSchema,
|
|
73
86
|
OnboardingService: () => OnboardingService,
|
|
87
|
+
MatchingService: () => MatchingService,
|
|
74
88
|
MatchingAlgorithmSchema: () => MatchingAlgorithmSchema,
|
|
75
89
|
MatchingAlgorithm: () => MatchingAlgorithm,
|
|
76
90
|
MatchGroupSchema: () => MatchGroupSchema,
|
|
77
|
-
|
|
91
|
+
MapViewportSchema: () => MapViewportSchema,
|
|
92
|
+
MapRideSuggestionSchema: () => MapRideSuggestionSchema,
|
|
93
|
+
ListRideSuggestionsResponseSchema: () => ListRideSuggestionsResponseSchema,
|
|
94
|
+
ListRideSuggestionsRequestSchema: () => ListRideSuggestionsRequestSchema,
|
|
78
95
|
ListOperationsResponseSchema: () => ListOperationsResponseSchema,
|
|
79
96
|
ListOperationsRequestSchema: () => ListOperationsRequestSchema,
|
|
80
97
|
LatLngSchema: () => LatLngSchema,
|
|
@@ -84,14 +101,18 @@ __export(exports_src, {
|
|
|
84
101
|
GetOptimizedRoutesRequestSchema: () => GetOptimizedRoutesRequestSchema,
|
|
85
102
|
GetOnboardingStatusResponseSchema: () => GetOnboardingStatusResponseSchema,
|
|
86
103
|
GetOnboardingStatusRequestSchema: () => GetOnboardingStatusRequestSchema,
|
|
104
|
+
GetMyOrganizationResponseSchema: () => GetMyOrganizationResponseSchema,
|
|
105
|
+
GetMyOrganizationRequestSchema: () => GetMyOrganizationRequestSchema,
|
|
87
106
|
GetMapPointsResponseSchema: () => GetMapPointsResponseSchema,
|
|
88
107
|
GetMapPointsRequestSchema: () => GetMapPointsRequestSchema,
|
|
89
108
|
GetMapPointGroupsResponseSchema: () => GetMapPointGroupsResponseSchema,
|
|
90
109
|
GetMapPointGroupsRequestSchema: () => GetMapPointGroupsRequestSchema,
|
|
91
110
|
GetDirectRoutesResponseSchema: () => GetDirectRoutesResponseSchema,
|
|
92
111
|
GetDirectRoutesRequestSchema: () => GetDirectRoutesRequestSchema,
|
|
112
|
+
FullAddressSchema: () => FullAddressSchema,
|
|
93
113
|
ExecuteMatchingAlgorithmOnDatasetResponseSchema: () => ExecuteMatchingAlgorithmOnDatasetResponseSchema,
|
|
94
114
|
ExecuteMatchingAlgorithmOnDatasetRequestSchema: () => ExecuteMatchingAlgorithmOnDatasetRequestSchema,
|
|
115
|
+
DriverSummarySchema: () => DriverSummarySchema,
|
|
95
116
|
DriverPointSchema: () => DriverPointSchema,
|
|
96
117
|
DriverOfferSetupSchema: () => DriverOfferSetupSchema,
|
|
97
118
|
DirectRouteSchema: () => DirectRouteSchema,
|
|
@@ -101,6 +122,8 @@ __export(exports_src, {
|
|
|
101
122
|
Dataset: () => Dataset,
|
|
102
123
|
CompleteOnboardingResponseSchema: () => CompleteOnboardingResponseSchema,
|
|
103
124
|
CompleteOnboardingRequestSchema: () => CompleteOnboardingRequestSchema,
|
|
125
|
+
CommuteDirectionSchema: () => CommuteDirectionSchema,
|
|
126
|
+
CommuteDirection: () => CommuteDirection,
|
|
104
127
|
ChatPreferenceSchema: () => ChatPreferenceSchema,
|
|
105
128
|
ChatPreference: () => ChatPreference,
|
|
106
129
|
AddressSchema: () => AddressSchema
|
|
@@ -3112,11 +3135,9 @@ var OperationState;
|
|
|
3112
3135
|
})(OperationState ||= {});
|
|
3113
3136
|
var OperationStateSchema = /* @__PURE__ */ enumDesc(file_caronashow_pooler_v1_pooler, 1);
|
|
3114
3137
|
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
3138
|
// src/gen/caronashow/types/v1/address_pb.ts
|
|
3119
|
-
var file_caronashow_types_v1_address = /* @__PURE__ */ fileDesc("
|
|
3139
|
+
var file_caronashow_types_v1_address = /* @__PURE__ */ fileDesc("CiFjYXJvbmFzaG93L3R5cGVzL3YxL2FkZHJlc3MucHJvdG8SE2Nhcm9uYXNob3cudHlwZXMudjEi7gEKC0Z1bGxBZGRyZXNzEhAKCHBsYWNlX2lkGAEgASgJEhkKEWZvcm1hdHRlZF9hZGRyZXNzGAIgASgJEg4KBnN0cmVldBgDIAEoCRIOCgZudW1iZXIYBCABKAkSEgoKY29tcGxlbWVudBgFIAEoCRIUCgxuZWlnaGJvcmhvb2QYBiABKAkSDAoEY2l0eRgHIAEoCRINCgVzdGF0ZRgIIAEoCRITCgtwb3N0YWxfY29kZRgJIAEoCRIPCgdjb3VudHJ5GAogASgJEiUKCGxvY2F0aW9uGAsgASgLMhMuZ29vZ2xlLnR5cGUuTGF0TG5nQtMBChdjb20uY2Fyb25hc2hvdy50eXBlcy52MUIMQWRkcmVzc1Byb3RvUAFaPGdpdGxhYi5jb20vY2Fyb25hc2hvdy9hcGkvZ28vZ2VuL2Nhcm9uYXNob3cvdHlwZXMvdjE7dHlwZXN2MaICA0NUWKoCE0Nhcm9uYXNob3cuVHlwZXMuVjHKAhNDYXJvbmFzaG93XFR5cGVzXFYx4gIfQ2Fyb25hc2hvd1xUeXBlc1xWMVxHUEJNZXRhZGF0YeoCFUNhcm9uYXNob3c6OlR5cGVzOjpWMWIGcHJvdG8z", [file_google_type_latlng]);
|
|
3140
|
+
var FullAddressSchema = /* @__PURE__ */ messageDesc(file_caronashow_types_v1_address, 0);
|
|
3120
3141
|
|
|
3121
3142
|
// src/gen/caronashow/types/v1/common_pb.ts
|
|
3122
3143
|
var file_caronashow_types_v1_common = /* @__PURE__ */ fileDesc("CiBjYXJvbmFzaG93L3R5cGVzL3YxL2NvbW1vbi5wcm90bxITY2Fyb25hc2hvdy50eXBlcy52MSIrCglUaW1lT2ZEYXkSDQoFaG91cnMYASABKAUSDwoHbWludXRlcxgCIAEoBSrYAQoJRGF5T2ZXZWVrEhsKF0RBWV9PRl9XRUVLX1VOU1BFQ0lGSUVEEAASFgoSREFZX09GX1dFRUtfTU9OREFZEAESFwoTREFZX09GX1dFRUtfVFVFU0RBWRACEhkKFURBWV9PRl9XRUVLX1dFRE5FU0RBWRADEhgKFERBWV9PRl9XRUVLX1RIVVJTREFZEAQSFgoSREFZX09GX1dFRUtfRlJJREFZEAUSGAoUREFZX09GX1dFRUtfU0FUVVJEQVkQBhIWChJEQVlfT0ZfV0VFS19TVU5EQVkQByqHAQoOQ2hhdFByZWZlcmVuY2USHwobQ0hBVF9QUkVGRVJFTkNFX1VOU1BFQ0lGSUVEEAASGAoUQ0hBVF9QUkVGRVJFTkNFX09QRU4QARIZChVDSEFUX1BSRUZFUkVOQ0VfUVVJRVQQAhIfChtDSEFUX1BSRUZFUkVOQ0VfSU5ESUZGRVJFTlQQA0LSAQoXY29tLmNhcm9uYXNob3cudHlwZXMudjFCC0NvbW1vblByb3RvUAFaPGdpdGxhYi5jb20vY2Fyb25hc2hvdy9hcGkvZ28vZ2VuL2Nhcm9uYXNob3cvdHlwZXMvdjE7dHlwZXN2MaICA0NUWKoCE0Nhcm9uYXNob3cuVHlwZXMuVjHKAhNDYXJvbmFzaG93XFR5cGVzXFYx4gIfQ2Fyb25hc2hvd1xUeXBlc1xWMVxHUEJNZXRhZGF0YeoCFUNhcm9uYXNob3c6OlR5cGVzOjpWMWIGcHJvdG8z");
|
|
@@ -3143,7 +3164,7 @@ var ChatPreference;
|
|
|
3143
3164
|
var ChatPreferenceSchema = /* @__PURE__ */ enumDesc(file_caronashow_types_v1_common, 1);
|
|
3144
3165
|
|
|
3145
3166
|
// src/gen/caronashow/types/v1/user_pb.ts
|
|
3146
|
-
var file_caronashow_types_v1_user = /* @__PURE__ */ fileDesc("
|
|
3167
|
+
var file_caronashow_types_v1_user = /* @__PURE__ */ fileDesc("Ch5jYXJvbmFzaG93L3R5cGVzL3YxL3VzZXIucHJvdG8SE2Nhcm9uYXNob3cudHlwZXMudjEirQIKBFVzZXISCgoCaWQYASABKAkSEgoKZmlyc3RfbmFtZRgCIAEoCRIRCglsYXN0X25hbWUYAyABKAkSDQoFZW1haWwYBCABKAkSKAogZW5yb2xsZWRfaW5fdnVsbmVyYWJpbGl0eV9maWx0ZXIYBSABKAgSSgoaY3VycmVudF9wYXJ0aWNpcGF0aW9uX21vZGUYBiABKA4yJi5jYXJvbmFzaG93LnR5cGVzLnYxLlBhcnRpY2lwYXRpb25Nb2RlEisKBHJhbmsYByABKA4yHS5jYXJvbmFzaG93LnR5cGVzLnYxLlVzZXJSYW5rEhIKCmF2YXRhcl91cmwYCCABKAkSDgoGb3JnX2lkGAkgASgJEhwKFG9uYm9hcmRpbmdfY29tcGxldGVkGAogASgIKpQBChFQYXJ0aWNpcGF0aW9uTW9kZRIiCh5QQVJUSUNJUEFUSU9OX01PREVfVU5TUEVDSUZJRUQQABIcChhQQVJUSUNJUEFUSU9OX01PREVfT0ZGRVIQARIdChlQQVJUSUNJUEFUSU9OX01PREVfU0VBUkNIEAISHgoaUEFSVElDSVBBVElPTl9NT0RFX0VYUExPUkUQAyplCghVc2VyUmFuaxIZChVVU0VSX1JBTktfVU5TUEVDSUZJRUQQABIUChBVU0VSX1JBTktfQlJPTlpFEAESFAoQVVNFUl9SQU5LX1NJTFZFUhACEhIKDlVTRVJfUkFOS19HT0xEEANC0AEKF2NvbS5jYXJvbmFzaG93LnR5cGVzLnYxQglVc2VyUHJvdG9QAVo8Z2l0bGFiLmNvbS9jYXJvbmFzaG93L2FwaS9nby9nZW4vY2Fyb25hc2hvdy90eXBlcy92MTt0eXBlc3YxogIDQ1RYqgITQ2Fyb25hc2hvdy5UeXBlcy5WMcoCE0Nhcm9uYXNob3dcVHlwZXNcVjHiAh9DYXJvbmFzaG93XFR5cGVzXFYxXEdQQk1ldGFkYXRh6gIVQ2Fyb25hc2hvdzo6VHlwZXM6OlYxYgZwcm90bzM");
|
|
3147
3168
|
var UserSchema = /* @__PURE__ */ messageDesc(file_caronashow_types_v1_user, 0);
|
|
3148
3169
|
var ParticipationMode;
|
|
3149
3170
|
((ParticipationMode2) => {
|
|
@@ -3153,9 +3174,17 @@ var ParticipationMode;
|
|
|
3153
3174
|
ParticipationMode2[ParticipationMode2["EXPLORE"] = 3] = "EXPLORE";
|
|
3154
3175
|
})(ParticipationMode ||= {});
|
|
3155
3176
|
var ParticipationModeSchema = /* @__PURE__ */ enumDesc(file_caronashow_types_v1_user, 0);
|
|
3177
|
+
var UserRank;
|
|
3178
|
+
((UserRank2) => {
|
|
3179
|
+
UserRank2[UserRank2["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
3180
|
+
UserRank2[UserRank2["BRONZE"] = 1] = "BRONZE";
|
|
3181
|
+
UserRank2[UserRank2["SILVER"] = 2] = "SILVER";
|
|
3182
|
+
UserRank2[UserRank2["GOLD"] = 3] = "GOLD";
|
|
3183
|
+
})(UserRank ||= {});
|
|
3184
|
+
var UserRankSchema = /* @__PURE__ */ enumDesc(file_caronashow_types_v1_user, 1);
|
|
3156
3185
|
|
|
3157
3186
|
// src/gen/caronashow/service/v1/onboarding_pb.ts
|
|
3158
|
-
var file_caronashow_service_v1_onboarding = /* @__PURE__ */ fileDesc("
|
|
3187
|
+
var file_caronashow_service_v1_onboarding = /* @__PURE__ */ fileDesc("CiZjYXJvbmFzaG93L3NlcnZpY2UvdjEvb25ib2FyZGluZy5wcm90bxIVY2Fyb25hc2hvdy5zZXJ2aWNlLnYxIhwKGkdldE9uYm9hcmRpbmdTdGF0dXNSZXF1ZXN0IjsKG0dldE9uYm9hcmRpbmdTdGF0dXNSZXNwb25zZRIcChRvbmJvYXJkaW5nX2NvbXBsZXRlZBgBIAEoCCKjAgoZQ29tcGxldGVPbmJvYXJkaW5nUmVxdWVzdBIoCiBlbnJvbGxlZF9pbl92dWxuZXJhYmlsaXR5X2ZpbHRlchgBIAEoCBIWCg50ZXJtc19hY2NlcHRlZBgCIAEoCBJCChJwYXJ0aWNpcGF0aW9uX21vZGUYAyABKA4yJi5jYXJvbmFzaG93LnR5cGVzLnYxLlBhcnRpY2lwYXRpb25Nb2RlEjgKBW9mZmVyGAQgASgLMicuY2Fyb25hc2hvdy5zZXJ2aWNlLnYxLkRyaXZlck9mZmVyU2V0dXBIABI9CgZzZWFyY2gYBSABKAsyKy5jYXJvbmFzaG93LnNlcnZpY2UudjEuUGFzc2VuZ2VyU2VhcmNoU2V0dXBIAEIHCgVzZXR1cCL0AgoQRHJpdmVyT2ZmZXJTZXR1cBIVCg12ZWhpY2xlX21vZGVsGAEgASgJEhUKDXZlaGljbGVfY29sb3IYAiABKAkSFQoNdmVoaWNsZV9wbGF0ZRgDIAEoCRIVCg1vZmZlcmVkX3NlYXRzGAQgASgFEjgKDm9yaWdpbl9hZGRyZXNzGAUgASgLMiAuY2Fyb25hc2hvdy50eXBlcy52MS5GdWxsQWRkcmVzcxI9ChVkZXBhcnR1cmVfZnJvbV9vcmlnaW4YBiABKAsyHi5jYXJvbmFzaG93LnR5cGVzLnYxLlRpbWVPZkRheRIaChJhY2NlcHRpbmdfcmVxdWVzdHMYCCABKAgSJgoecmVzdHJpY3RlZF90b192dWxuZXJhYmxlX2dyb3VwGAkgASgIEhgKEGFycml2YWxfc2hpZnRfaWQYCiABKAkSGgoSZGVwYXJ0dXJlX3NoaWZ0X2lkGAsgASgJSgQIBxAIUgtyZXR1cm5fdGltZSKWAgoUUGFzc2VuZ2VyU2VhcmNoU2V0dXASOAoOb3JpZ2luX2FkZHJlc3MYASABKAsyIC5jYXJvbmFzaG93LnR5cGVzLnYxLkZ1bGxBZGRyZXNzEj0KFWRlcGFydHVyZV9mcm9tX29yaWdpbhgCIAEoCzIeLmNhcm9uYXNob3cudHlwZXMudjEuVGltZU9mRGF5EjwKD2NoYXRfcHJlZmVyZW5jZRgEIAEoDjIjLmNhcm9uYXNob3cudHlwZXMudjEuQ2hhdFByZWZlcmVuY2USGAoQYXJyaXZhbF9zaGlmdF9pZBgFIAEoCRIaChJkZXBhcnR1cmVfc2hpZnRfaWQYBiABKAlKBAgDEARSC3JldHVybl90aW1lIhwKGkNvbXBsZXRlT25ib2FyZGluZ1Jlc3BvbnNlMowCChFPbmJvYXJkaW5nU2VydmljZRJ8ChNHZXRPbmJvYXJkaW5nU3RhdHVzEjEuY2Fyb25hc2hvdy5zZXJ2aWNlLnYxLkdldE9uYm9hcmRpbmdTdGF0dXNSZXF1ZXN0GjIuY2Fyb25hc2hvdy5zZXJ2aWNlLnYxLkdldE9uYm9hcmRpbmdTdGF0dXNSZXNwb25zZRJ5ChJDb21wbGV0ZU9uYm9hcmRpbmcSMC5jYXJvbmFzaG93LnNlcnZpY2UudjEuQ29tcGxldGVPbmJvYXJkaW5nUmVxdWVzdBoxLmNhcm9uYXNob3cuc2VydmljZS52MS5Db21wbGV0ZU9uYm9hcmRpbmdSZXNwb25zZULkAQoZY29tLmNhcm9uYXNob3cuc2VydmljZS52MUIPT25ib2FyZGluZ1Byb3RvUAFaQGdpdGxhYi5jb20vY2Fyb25hc2hvdy9hcGkvZ28vZ2VuL2Nhcm9uYXNob3cvc2VydmljZS92MTtzZXJ2aWNldjGiAgNDU1iqAhVDYXJvbmFzaG93LlNlcnZpY2UuVjHKAhVDYXJvbmFzaG93XFNlcnZpY2VcVjHiAiFDYXJvbmFzaG93XFNlcnZpY2VcVjFcR1BCTWV0YWRhdGHqAhdDYXJvbmFzaG93OjpTZXJ2aWNlOjpWMWIGcHJvdG8z", [file_caronashow_types_v1_address, file_caronashow_types_v1_common, file_caronashow_types_v1_user]);
|
|
3159
3188
|
var GetOnboardingStatusRequestSchema = /* @__PURE__ */ messageDesc(file_caronashow_service_v1_onboarding, 0);
|
|
3160
3189
|
var GetOnboardingStatusResponseSchema = /* @__PURE__ */ messageDesc(file_caronashow_service_v1_onboarding, 1);
|
|
3161
3190
|
var CompleteOnboardingRequestSchema = /* @__PURE__ */ messageDesc(file_caronashow_service_v1_onboarding, 2);
|
|
@@ -3163,3 +3192,31 @@ var DriverOfferSetupSchema = /* @__PURE__ */ messageDesc(file_caronashow_service
|
|
|
3163
3192
|
var PassengerSearchSetupSchema = /* @__PURE__ */ messageDesc(file_caronashow_service_v1_onboarding, 4);
|
|
3164
3193
|
var CompleteOnboardingResponseSchema = /* @__PURE__ */ messageDesc(file_caronashow_service_v1_onboarding, 5);
|
|
3165
3194
|
var OnboardingService = /* @__PURE__ */ serviceDesc(file_caronashow_service_v1_onboarding, 0);
|
|
3195
|
+
// src/gen/caronashow/service/v1/home_pb.ts
|
|
3196
|
+
var file_caronashow_service_v1_home = /* @__PURE__ */ fileDesc("CiBjYXJvbmFzaG93L3NlcnZpY2UvdjEvaG9tZS5wcm90bxIVY2Fyb25hc2hvdy5zZXJ2aWNlLnYxIo4BChpMaXN0UmlkZVN1Z2dlc3Rpb25zUmVxdWVzdBI0Cgh2aWV3cG9ydBgBIAEoCzIiLmNhcm9uYXNob3cuc2VydmljZS52MS5NYXBWaWV3cG9ydBI6CglkaXJlY3Rpb24YAiABKA4yJy5jYXJvbmFzaG93LnNlcnZpY2UudjEuQ29tbXV0ZURpcmVjdGlvbiLyAQobTGlzdFJpZGVTdWdnZXN0aW9uc1Jlc3BvbnNlEhUKDXJlc3VsdF9zZXRfaWQYASABKAkSQQoPbWFwX3N1Z2dlc3Rpb25zGAIgAygLMiguY2Fyb25hc2hvdy5zZXJ2aWNlLnYxLk1hcFJpZGVTdWdnZXN0aW9uEkcKEnJhbmtlZF9zdWdnZXN0aW9ucxgDIAMoCzIrLmNhcm9uYXNob3cuc2VydmljZS52MS5SYW5rZWRSaWRlU3VnZ2VzdGlvbhIwCgxnZW5lcmF0ZWRfYXQYBCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wImsKC01hcFZpZXdwb3J0EiYKCXNvdXRod2VzdBgBIAEoCzITLmdvb2dsZS50eXBlLkxhdExuZxImCglub3J0aGVhc3QYAiABKAsyEy5nb29nbGUudHlwZS5MYXRMbmcSDAoEem9vbRgDIAEoASKtAQoRTWFwUmlkZVN1Z2dlc3Rpb24SFQoNc3VnZ2VzdGlvbl9pZBgBIAEoCRIMCgRyYW5rGAIgASgFEjUKGGRyaXZlcl9lbmRwb2ludF9sb2NhdGlvbhgDIAEoCzITLmdvb2dsZS50eXBlLkxhdExuZxI8Cg5yb3V0ZV9nZW9tZXRyeRgEIAEoCzIkLmNhcm9uYXNob3cuc2VydmljZS52MS5Sb3V0ZUdlb21ldHJ5IngKDVJvdXRlR2VvbWV0cnkSGQoRcm91dGVfZ2VvbWV0cnlfaWQYASABKAkSGAoQZW5jb2RlZF9wb2x5bGluZRgCIAEoCRIyCgZib3VuZHMYAyABKAsyIi5jYXJvbmFzaG93LnNlcnZpY2UudjEuUm91dGVCb3VuZHMiXQoLUm91dGVCb3VuZHMSJgoJc291dGh3ZXN0GAEgASgLMhMuZ29vZ2xlLnR5cGUuTGF0TG5nEiYKCW5vcnRoZWFzdBgCIAEoCzITLmdvb2dsZS50eXBlLkxhdExuZyKHAwoUUmFua2VkUmlkZVN1Z2dlc3Rpb24SFQoNc3VnZ2VzdGlvbl9pZBgBIAEoCRIMCgRyYW5rGAIgASgFEjQKBmRyaXZlchgDIAEoCzIkLmNhcm9uYXNob3cuc2VydmljZS52MS5Ecml2ZXJTdW1tYXJ5EjYKB3ZlaGljbGUYBCABKAsyJS5jYXJvbmFzaG93LnNlcnZpY2UudjEuVmVoaWNsZVN1bW1hcnkSQQoXZHJpdmVyX2VuZHBvaW50X2FkZHJlc3MYBSABKAsyIC5jYXJvbmFzaG93LnR5cGVzLnYxLkZ1bGxBZGRyZXNzEjYKBXNlYXRzGAYgASgLMicuY2Fyb25hc2hvdy5zZXJ2aWNlLnYxLlNlYXRBdmFpbGFiaWxpdHkSOQoRb3JnYW5pemF0aW9uX3RpbWUYByABKAsyHi5jYXJvbmFzaG93LnR5cGVzLnYxLlRpbWVPZkRheRImCh5yZXN0cmljdGVkX3RvX3Z1bG5lcmFibGVfZ3JvdXAYCCABKAgitgEKDURyaXZlclN1bW1hcnkSEQoJZHJpdmVyX2lkGAEgASgJEhIKCmZpcnN0X25hbWUYAiABKAkSEgoKYXZhdGFyX3VybBgDIAEoCRIrCgRyYW5rGAQgASgOMh0uY2Fyb25hc2hvdy50eXBlcy52MS5Vc2VyUmFuaxIOCgZyYXRpbmcYBSABKAESFAoMcmF0aW5nX2NvdW50GAYgASgFEhcKD2NvbXBsZXRlZF9yaWRlcxgHIAEoBSIuCg5WZWhpY2xlU3VtbWFyeRINCgVtb2RlbBgBIAEoCRINCgVjb2xvchgCIAEoCSJCChBTZWF0QXZhaWxhYmlsaXR5EhUKDW9mZmVyZWRfc2VhdHMYASABKAUSFwoPYXZhaWxhYmxlX3NlYXRzGAIgASgFKoUBChBDb21tdXRlRGlyZWN0aW9uEiEKHUNPTU1VVEVfRElSRUNUSU9OX1VOU1BFQ0lGSUVEEAASJQohQ09NTVVURV9ESVJFQ1RJT05fVE9fT1JHQU5JWkFUSU9OEAESJwojQ09NTVVURV9ESVJFQ1RJT05fRlJPTV9PUkdBTklaQVRJT04QAjKPAQoPTWF0Y2hpbmdTZXJ2aWNlEnwKE0xpc3RSaWRlU3VnZ2VzdGlvbnMSMS5jYXJvbmFzaG93LnNlcnZpY2UudjEuTGlzdFJpZGVTdWdnZXN0aW9uc1JlcXVlc3QaMi5jYXJvbmFzaG93LnNlcnZpY2UudjEuTGlzdFJpZGVTdWdnZXN0aW9uc1Jlc3BvbnNlQt4BChljb20uY2Fyb25hc2hvdy5zZXJ2aWNlLnYxQglIb21lUHJvdG9QAVpAZ2l0bGFiLmNvbS9jYXJvbmFzaG93L2FwaS9nby9nZW4vY2Fyb25hc2hvdy9zZXJ2aWNlL3YxO3NlcnZpY2V2MaICA0NTWKoCFUNhcm9uYXNob3cuU2VydmljZS5WMcoCFUNhcm9uYXNob3dcU2VydmljZVxWMeICIUNhcm9uYXNob3dcU2VydmljZVxWMVxHUEJNZXRhZGF0YeoCF0Nhcm9uYXNob3c6OlNlcnZpY2U6OlYxYgZwcm90bzM", [file_caronashow_types_v1_address, file_caronashow_types_v1_common, file_caronashow_types_v1_user, file_google_protobuf_timestamp, file_google_type_latlng]);
|
|
3197
|
+
var ListRideSuggestionsRequestSchema = /* @__PURE__ */ messageDesc(file_caronashow_service_v1_home, 0);
|
|
3198
|
+
var ListRideSuggestionsResponseSchema = /* @__PURE__ */ messageDesc(file_caronashow_service_v1_home, 1);
|
|
3199
|
+
var MapViewportSchema = /* @__PURE__ */ messageDesc(file_caronashow_service_v1_home, 2);
|
|
3200
|
+
var MapRideSuggestionSchema = /* @__PURE__ */ messageDesc(file_caronashow_service_v1_home, 3);
|
|
3201
|
+
var RouteGeometrySchema = /* @__PURE__ */ messageDesc(file_caronashow_service_v1_home, 4);
|
|
3202
|
+
var RouteBoundsSchema = /* @__PURE__ */ messageDesc(file_caronashow_service_v1_home, 5);
|
|
3203
|
+
var RankedRideSuggestionSchema = /* @__PURE__ */ messageDesc(file_caronashow_service_v1_home, 6);
|
|
3204
|
+
var DriverSummarySchema = /* @__PURE__ */ messageDesc(file_caronashow_service_v1_home, 7);
|
|
3205
|
+
var VehicleSummarySchema = /* @__PURE__ */ messageDesc(file_caronashow_service_v1_home, 8);
|
|
3206
|
+
var SeatAvailabilitySchema = /* @__PURE__ */ messageDesc(file_caronashow_service_v1_home, 9);
|
|
3207
|
+
var CommuteDirection;
|
|
3208
|
+
((CommuteDirection2) => {
|
|
3209
|
+
CommuteDirection2[CommuteDirection2["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
3210
|
+
CommuteDirection2[CommuteDirection2["TO_ORGANIZATION"] = 1] = "TO_ORGANIZATION";
|
|
3211
|
+
CommuteDirection2[CommuteDirection2["FROM_ORGANIZATION"] = 2] = "FROM_ORGANIZATION";
|
|
3212
|
+
})(CommuteDirection ||= {});
|
|
3213
|
+
var CommuteDirectionSchema = /* @__PURE__ */ enumDesc(file_caronashow_service_v1_home, 0);
|
|
3214
|
+
var MatchingService = /* @__PURE__ */ serviceDesc(file_caronashow_service_v1_home, 0);
|
|
3215
|
+
// src/gen/caronashow/service/v1/organization_pb.ts
|
|
3216
|
+
var file_caronashow_service_v1_organization = /* @__PURE__ */ fileDesc("CihjYXJvbmFzaG93L3NlcnZpY2UvdjEvb3JnYW5pemF0aW9uLnByb3RvEhVjYXJvbmFzaG93LnNlcnZpY2UudjEiGgoYR2V0TXlPcmdhbml6YXRpb25SZXF1ZXN0IlYKGUdldE15T3JnYW5pemF0aW9uUmVzcG9uc2USOQoMb3JnYW5pemF0aW9uGAEgASgLMiMuY2Fyb25hc2hvdy5zZXJ2aWNlLnYxLk9yZ2FuaXphdGlvbiK5AQoMT3JnYW5pemF0aW9uEgoKAmlkGAEgASgJEgwKBG5hbWUYAiABKAkSMQoHYWRkcmVzcxgDIAEoCzIgLmNhcm9uYXNob3cudHlwZXMudjEuRnVsbEFkZHJlc3MSEQoJdGltZV96b25lGAQgASgJEg8KB2xvZ29faWQYBSABKAkSOAoGc2hpZnRzGAYgAygLMiguY2Fyb25hc2hvdy5zZXJ2aWNlLnYxLk9yZ2FuaXphdGlvblNoaWZ0IqUBChFPcmdhbml6YXRpb25TaGlmdBIKCgJpZBgBIAEoCRIMCgRuYW1lGAIgASgJEjkKDmFycml2YWxfd2luZG93GAMgASgLMiEuY2Fyb25hc2hvdy5zZXJ2aWNlLnYxLlRpbWVXaW5kb3cSOwoQZGVwYXJ0dXJlX3dpbmRvdxgEIAEoCzIhLmNhcm9uYXNob3cuc2VydmljZS52MS5UaW1lV2luZG93InIKClRpbWVXaW5kb3cSMgoKc3RhcnRfdGltZRgBIAEoCzIeLmNhcm9uYXNob3cudHlwZXMudjEuVGltZU9mRGF5EjAKCGVuZF90aW1lGAIgASgLMh4uY2Fyb25hc2hvdy50eXBlcy52MS5UaW1lT2ZEYXkyjQEKE09yZ2FuaXphdGlvblNlcnZpY2USdgoRR2V0TXlPcmdhbml6YXRpb24SLy5jYXJvbmFzaG93LnNlcnZpY2UudjEuR2V0TXlPcmdhbml6YXRpb25SZXF1ZXN0GjAuY2Fyb25hc2hvdy5zZXJ2aWNlLnYxLkdldE15T3JnYW5pemF0aW9uUmVzcG9uc2VC5gEKGWNvbS5jYXJvbmFzaG93LnNlcnZpY2UudjFCEU9yZ2FuaXphdGlvblByb3RvUAFaQGdpdGxhYi5jb20vY2Fyb25hc2hvdy9hcGkvZ28vZ2VuL2Nhcm9uYXNob3cvc2VydmljZS92MTtzZXJ2aWNldjGiAgNDU1iqAhVDYXJvbmFzaG93LlNlcnZpY2UuVjHKAhVDYXJvbmFzaG93XFNlcnZpY2VcVjHiAiFDYXJvbmFzaG93XFNlcnZpY2VcVjFcR1BCTWV0YWRhdGHqAhdDYXJvbmFzaG93OjpTZXJ2aWNlOjpWMWIGcHJvdG8z", [file_caronashow_types_v1_address, file_caronashow_types_v1_common]);
|
|
3217
|
+
var GetMyOrganizationRequestSchema = /* @__PURE__ */ messageDesc(file_caronashow_service_v1_organization, 0);
|
|
3218
|
+
var GetMyOrganizationResponseSchema = /* @__PURE__ */ messageDesc(file_caronashow_service_v1_organization, 1);
|
|
3219
|
+
var OrganizationSchema = /* @__PURE__ */ messageDesc(file_caronashow_service_v1_organization, 2);
|
|
3220
|
+
var OrganizationShiftSchema = /* @__PURE__ */ messageDesc(file_caronashow_service_v1_organization, 3);
|
|
3221
|
+
var TimeWindowSchema = /* @__PURE__ */ messageDesc(file_caronashow_service_v1_organization, 4);
|
|
3222
|
+
var OrganizationService = /* @__PURE__ */ serviceDesc(file_caronashow_service_v1_organization, 0);
|
package/dist/index.d.ts
CHANGED
|
@@ -3,8 +3,10 @@ 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/service/v1/organization_pb";
|
|
9
|
+
export * from "./gen/caronashow/types/v1/address_pb";
|
|
8
10
|
export * from "./gen/caronashow/types/v1/common_pb";
|
|
9
11
|
export * from "./gen/caronashow/types/v1/user_pb";
|
|
10
12
|
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<{}>;
|