@caronashow/api 0.11.0 → 0.13.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/README.md +1 -0
- package/dist/gen/caronashow/poc/v1/poc_pb.d.ts +1 -1
- package/dist/gen/caronashow/poc/v1/points_pb.d.ts +9 -9
- package/dist/gen/caronashow/poc/v1/routes_pb.d.ts +6 -6
- package/dist/gen/caronashow/pooler/v1/pooler_pb.d.ts +6 -6
- package/dist/gen/caronashow/service/v1/home_pb.d.ts +14 -14
- package/dist/gen/caronashow/service/v1/onboarding_pb.d.ts +93 -17
- package/dist/gen/caronashow/service/v1/organization_pb.d.ts +7 -7
- package/dist/gen/caronashow/types/v1/address_pb.d.ts +1 -1
- package/dist/index.cjs +6 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -49,6 +49,7 @@ The package includes the following type definitions:
|
|
|
49
49
|
- `ParticipationMode` - User's role in the system (offer, search, explore)
|
|
50
50
|
- `DriverOfferSetup` - Driver's vehicle and route preferences
|
|
51
51
|
- `PassengerSearchSetup` - Passenger's pickup and schedule preferences
|
|
52
|
+
- `ShiftSelection` - One named organization shift or a custom arrival/departure schedule
|
|
52
53
|
|
|
53
54
|
#### Services
|
|
54
55
|
|
|
@@ -36,7 +36,7 @@ export type GetMapPointsResponse = Message<"caronashow.poc.v1.GetMapPointsRespon
|
|
|
36
36
|
/**
|
|
37
37
|
* @generated from field: caronashow.poc.v1.OrganizationPoint organization = 3;
|
|
38
38
|
*/
|
|
39
|
-
organization?: OrganizationPoint;
|
|
39
|
+
organization?: OrganizationPoint | undefined;
|
|
40
40
|
};
|
|
41
41
|
/**
|
|
42
42
|
* Describes the message caronashow.poc.v1.GetMapPointsResponse.
|
|
@@ -13,7 +13,7 @@ export type Address = Message<"caronashow.poc.v1.Address"> & {
|
|
|
13
13
|
/**
|
|
14
14
|
* @generated from field: google.type.LatLng position = 1;
|
|
15
15
|
*/
|
|
16
|
-
position?: LatLng;
|
|
16
|
+
position?: LatLng | undefined;
|
|
17
17
|
/**
|
|
18
18
|
* @generated from field: string full_address = 2;
|
|
19
19
|
*/
|
|
@@ -75,11 +75,11 @@ export type Person = Message<"caronashow.poc.v1.Person"> & {
|
|
|
75
75
|
/**
|
|
76
76
|
* @generated from field: google.protobuf.Timestamp departure_from_org = 6;
|
|
77
77
|
*/
|
|
78
|
-
departureFromOrg?: Timestamp;
|
|
78
|
+
departureFromOrg?: Timestamp | undefined;
|
|
79
79
|
/**
|
|
80
80
|
* @generated from field: google.protobuf.Duration departure_window_from_org = 7;
|
|
81
81
|
*/
|
|
82
|
-
departureWindowFromOrg?: Duration;
|
|
82
|
+
departureWindowFromOrg?: Duration | undefined;
|
|
83
83
|
};
|
|
84
84
|
/**
|
|
85
85
|
* Describes the message caronashow.poc.v1.Person.
|
|
@@ -97,11 +97,11 @@ export type PassengerPoint = Message<"caronashow.poc.v1.PassengerPoint"> & {
|
|
|
97
97
|
/**
|
|
98
98
|
* @generated from field: caronashow.poc.v1.Address address = 2;
|
|
99
99
|
*/
|
|
100
|
-
address?: Address;
|
|
100
|
+
address?: Address | undefined;
|
|
101
101
|
/**
|
|
102
102
|
* @generated from field: caronashow.poc.v1.Person person = 3;
|
|
103
103
|
*/
|
|
104
|
-
person?: Person;
|
|
104
|
+
person?: Person | undefined;
|
|
105
105
|
/**
|
|
106
106
|
* @generated from field: string comment = 4;
|
|
107
107
|
*/
|
|
@@ -123,15 +123,15 @@ export type DriverPoint = Message<"caronashow.poc.v1.DriverPoint"> & {
|
|
|
123
123
|
/**
|
|
124
124
|
* @generated from field: caronashow.poc.v1.Address address = 2;
|
|
125
125
|
*/
|
|
126
|
-
address?: Address;
|
|
126
|
+
address?: Address | undefined;
|
|
127
127
|
/**
|
|
128
128
|
* @generated from field: caronashow.poc.v1.Person person = 3;
|
|
129
129
|
*/
|
|
130
|
-
person?: Person;
|
|
130
|
+
person?: Person | undefined;
|
|
131
131
|
/**
|
|
132
132
|
* @generated from field: caronashow.poc.v1.Vehicle vehicle = 4;
|
|
133
133
|
*/
|
|
134
|
-
vehicle?: Vehicle;
|
|
134
|
+
vehicle?: Vehicle | undefined;
|
|
135
135
|
/**
|
|
136
136
|
* @generated from field: string comment = 5;
|
|
137
137
|
*/
|
|
@@ -161,7 +161,7 @@ export type OrganizationPoint = Message<"caronashow.poc.v1.OrganizationPoint"> &
|
|
|
161
161
|
/**
|
|
162
162
|
* @generated from field: caronashow.poc.v1.Address address = 2;
|
|
163
163
|
*/
|
|
164
|
-
address?: Address;
|
|
164
|
+
address?: Address | undefined;
|
|
165
165
|
/**
|
|
166
166
|
* @generated from field: string name = 3;
|
|
167
167
|
*/
|
|
@@ -26,15 +26,15 @@ export type DirectRoute = Message<"caronashow.poc.v1.DirectRoute"> & {
|
|
|
26
26
|
/**
|
|
27
27
|
* @generated from field: google.protobuf.Duration duration = 4;
|
|
28
28
|
*/
|
|
29
|
-
duration?: Duration;
|
|
29
|
+
duration?: Duration | undefined;
|
|
30
30
|
/**
|
|
31
31
|
* @generated from field: google.protobuf.Timestamp departure_from_org = 5;
|
|
32
32
|
*/
|
|
33
|
-
departureFromOrg?: Timestamp;
|
|
33
|
+
departureFromOrg?: Timestamp | undefined;
|
|
34
34
|
/**
|
|
35
35
|
* @generated from field: google.protobuf.Duration departure_window_from_org = 6;
|
|
36
36
|
*/
|
|
37
|
-
departureWindowFromOrg?: Duration;
|
|
37
|
+
departureWindowFromOrg?: Duration | undefined;
|
|
38
38
|
/**
|
|
39
39
|
* @generated from field: int32 co2_emissions_grams = 8;
|
|
40
40
|
*/
|
|
@@ -73,15 +73,15 @@ export type OptimizedRoute = Message<"caronashow.poc.v1.OptimizedRoute"> & {
|
|
|
73
73
|
/**
|
|
74
74
|
* @generated from field: google.protobuf.Duration duration = 4;
|
|
75
75
|
*/
|
|
76
|
-
duration?: Duration;
|
|
76
|
+
duration?: Duration | undefined;
|
|
77
77
|
/**
|
|
78
78
|
* @generated from field: google.protobuf.Timestamp departure_from_org = 5;
|
|
79
79
|
*/
|
|
80
|
-
departureFromOrg?: Timestamp;
|
|
80
|
+
departureFromOrg?: Timestamp | undefined;
|
|
81
81
|
/**
|
|
82
82
|
* @generated from field: google.protobuf.Duration departure_window_from_org = 6;
|
|
83
83
|
*/
|
|
84
|
-
departureWindowFromOrg?: Duration;
|
|
84
|
+
departureWindowFromOrg?: Duration | undefined;
|
|
85
85
|
/**
|
|
86
86
|
* @generated from field: int32 co2_emissions_grams = 8;
|
|
87
87
|
*/
|
|
@@ -20,11 +20,11 @@ export type Operation = Message<"caronashow.pooler.v1.Operation"> & {
|
|
|
20
20
|
/**
|
|
21
21
|
* @generated from field: google.protobuf.Timestamp started_at = 3;
|
|
22
22
|
*/
|
|
23
|
-
startedAt?: Timestamp;
|
|
23
|
+
startedAt?: Timestamp | undefined;
|
|
24
24
|
/**
|
|
25
25
|
* @generated from field: google.protobuf.Duration time_elapsed = 4;
|
|
26
26
|
*/
|
|
27
|
-
timeElapsed?: Duration;
|
|
27
|
+
timeElapsed?: Duration | undefined;
|
|
28
28
|
/**
|
|
29
29
|
* @generated from field: caronashow.pooler.v1.OperationState state = 5;
|
|
30
30
|
*/
|
|
@@ -60,7 +60,7 @@ export type ExecuteMatchingAlgorithmOnDatasetResponse = Message<"caronashow.pool
|
|
|
60
60
|
/**
|
|
61
61
|
* @generated from field: caronashow.pooler.v1.Operation operation = 1;
|
|
62
62
|
*/
|
|
63
|
-
operation?: Operation;
|
|
63
|
+
operation?: Operation | undefined;
|
|
64
64
|
};
|
|
65
65
|
/**
|
|
66
66
|
* Describes the message caronashow.pooler.v1.ExecuteMatchingAlgorithmOnDatasetResponse.
|
|
@@ -74,11 +74,11 @@ export type ListOperationsRequest = Message<"caronashow.pooler.v1.ListOperations
|
|
|
74
74
|
/**
|
|
75
75
|
* @generated from field: optional int32 limit = 1;
|
|
76
76
|
*/
|
|
77
|
-
limit?: number;
|
|
77
|
+
limit?: number | undefined;
|
|
78
78
|
/**
|
|
79
79
|
* @generated from field: optional caronashow.pooler.v1.OperationState state = 2;
|
|
80
80
|
*/
|
|
81
|
-
state?: OperationState;
|
|
81
|
+
state?: OperationState | undefined;
|
|
82
82
|
};
|
|
83
83
|
/**
|
|
84
84
|
* Describes the message caronashow.pooler.v1.ListOperationsRequest.
|
|
@@ -120,7 +120,7 @@ export type GetStateOfOperationResponse = Message<"caronashow.pooler.v1.GetState
|
|
|
120
120
|
/**
|
|
121
121
|
* @generated from field: caronashow.pooler.v1.Operation operation = 1;
|
|
122
122
|
*/
|
|
123
|
-
operation?: Operation;
|
|
123
|
+
operation?: Operation | undefined;
|
|
124
124
|
};
|
|
125
125
|
/**
|
|
126
126
|
* Describes the message caronashow.pooler.v1.GetStateOfOperationResponse.
|
|
@@ -20,7 +20,7 @@ export type ListRideSuggestionsRequest = Message<"caronashow.service.v1.ListRide
|
|
|
20
20
|
*
|
|
21
21
|
* @generated from field: caronashow.service.v1.MapViewport viewport = 1;
|
|
22
22
|
*/
|
|
23
|
-
viewport?: MapViewport;
|
|
23
|
+
viewport?: MapViewport | undefined;
|
|
24
24
|
/**
|
|
25
25
|
* Commute leg for which routes, seat inventory, and estimates are requested.
|
|
26
26
|
*
|
|
@@ -66,7 +66,7 @@ export type ListRideSuggestionsResponse = Message<"caronashow.service.v1.ListRid
|
|
|
66
66
|
*
|
|
67
67
|
* @generated from field: google.protobuf.Timestamp generated_at = 4;
|
|
68
68
|
*/
|
|
69
|
-
generatedAt?: Timestamp;
|
|
69
|
+
generatedAt?: Timestamp | undefined;
|
|
70
70
|
};
|
|
71
71
|
/**
|
|
72
72
|
* Describes the message caronashow.service.v1.ListRideSuggestionsResponse.
|
|
@@ -85,14 +85,14 @@ export type MapViewport = Message<"caronashow.service.v1.MapViewport"> & {
|
|
|
85
85
|
*
|
|
86
86
|
* @generated from field: google.type.LatLng southwest = 1;
|
|
87
87
|
*/
|
|
88
|
-
southwest?: LatLng;
|
|
88
|
+
southwest?: LatLng | undefined;
|
|
89
89
|
/**
|
|
90
90
|
* Northeast corner of the visible rectangle. The rectangle must not cross
|
|
91
91
|
* the antimeridian and must fit the server's supported maximum search area.
|
|
92
92
|
*
|
|
93
93
|
* @generated from field: google.type.LatLng northeast = 2;
|
|
94
94
|
*/
|
|
95
|
-
northeast?: LatLng;
|
|
95
|
+
northeast?: LatLng | undefined;
|
|
96
96
|
/**
|
|
97
97
|
* Finite map zoom level within the server-supported range, used to select an
|
|
98
98
|
* appropriately simplified route. Invalid viewports return INVALID_ARGUMENT.
|
|
@@ -131,13 +131,13 @@ export type MapRideSuggestion = Message<"caronashow.service.v1.MapRideSuggestion
|
|
|
131
131
|
*
|
|
132
132
|
* @generated from field: google.type.LatLng driver_endpoint_location = 3;
|
|
133
133
|
*/
|
|
134
|
-
driverEndpointLocation?: LatLng;
|
|
134
|
+
driverEndpointLocation?: LatLng | undefined;
|
|
135
135
|
/**
|
|
136
136
|
* Route path and cache identity used by the map renderer.
|
|
137
137
|
*
|
|
138
138
|
* @generated from field: caronashow.service.v1.RouteGeometry route_geometry = 4;
|
|
139
139
|
*/
|
|
140
|
-
routeGeometry?: RouteGeometry;
|
|
140
|
+
routeGeometry?: RouteGeometry | undefined;
|
|
141
141
|
};
|
|
142
142
|
/**
|
|
143
143
|
* Describes the message caronashow.service.v1.MapRideSuggestion.
|
|
@@ -168,7 +168,7 @@ export type RouteGeometry = Message<"caronashow.service.v1.RouteGeometry"> & {
|
|
|
168
168
|
*
|
|
169
169
|
* @generated from field: caronashow.service.v1.RouteBounds bounds = 3;
|
|
170
170
|
*/
|
|
171
|
-
bounds?: RouteBounds;
|
|
171
|
+
bounds?: RouteBounds | undefined;
|
|
172
172
|
};
|
|
173
173
|
/**
|
|
174
174
|
* Describes the message caronashow.service.v1.RouteGeometry.
|
|
@@ -186,13 +186,13 @@ export type RouteBounds = Message<"caronashow.service.v1.RouteBounds"> & {
|
|
|
186
186
|
*
|
|
187
187
|
* @generated from field: google.type.LatLng southwest = 1;
|
|
188
188
|
*/
|
|
189
|
-
southwest?: LatLng;
|
|
189
|
+
southwest?: LatLng | undefined;
|
|
190
190
|
/**
|
|
191
191
|
* Northeast corner of the route bounds.
|
|
192
192
|
*
|
|
193
193
|
* @generated from field: google.type.LatLng northeast = 2;
|
|
194
194
|
*/
|
|
195
|
-
northeast?: LatLng;
|
|
195
|
+
northeast?: LatLng | undefined;
|
|
196
196
|
};
|
|
197
197
|
/**
|
|
198
198
|
* Describes the message caronashow.service.v1.RouteBounds.
|
|
@@ -223,26 +223,26 @@ export type RankedRideSuggestion = Message<"caronashow.service.v1.RankedRideSugg
|
|
|
223
223
|
*
|
|
224
224
|
* @generated from field: caronashow.service.v1.DriverSummary driver = 3;
|
|
225
225
|
*/
|
|
226
|
-
driver?: DriverSummary;
|
|
226
|
+
driver?: DriverSummary | undefined;
|
|
227
227
|
/**
|
|
228
228
|
* Vehicle details safe to display while browsing this ride offer.
|
|
229
229
|
*
|
|
230
230
|
* @generated from field: caronashow.service.v1.VehicleSummary vehicle = 4;
|
|
231
231
|
*/
|
|
232
|
-
vehicle?: VehicleSummary;
|
|
232
|
+
vehicle?: VehicleSummary | undefined;
|
|
233
233
|
/**
|
|
234
234
|
* Driver-side route endpoint opposite the organization. This is the route
|
|
235
235
|
* start toward the organization and the route end when leaving it.
|
|
236
236
|
*
|
|
237
237
|
* @generated from field: caronashow.types.v1.FullAddress driver_endpoint_address = 5;
|
|
238
238
|
*/
|
|
239
|
-
driverEndpointAddress?: FullAddress;
|
|
239
|
+
driverEndpointAddress?: FullAddress | undefined;
|
|
240
240
|
/**
|
|
241
241
|
* Offer-specific seat inventory for this direction of travel.
|
|
242
242
|
*
|
|
243
243
|
* @generated from field: caronashow.service.v1.SeatAvailability seats = 6;
|
|
244
244
|
*/
|
|
245
|
-
seats?: SeatAvailability;
|
|
245
|
+
seats?: SeatAvailability | undefined;
|
|
246
246
|
/**
|
|
247
247
|
* Driver's usual arrival time at the organization for
|
|
248
248
|
* COMMUTE_DIRECTION_TO_ORGANIZATION, or departure time from the organization
|
|
@@ -251,7 +251,7 @@ export type RankedRideSuggestion = Message<"caronashow.service.v1.RankedRideSugg
|
|
|
251
251
|
*
|
|
252
252
|
* @generated from field: caronashow.types.v1.TimeOfDay organization_time = 7;
|
|
253
253
|
*/
|
|
254
|
-
organizationTime?: TimeOfDay;
|
|
254
|
+
organizationTime?: TimeOfDay | undefined;
|
|
255
255
|
/**
|
|
256
256
|
* True when this offer is visible only to passengers enrolled in the
|
|
257
257
|
* organization's vulnerability group.
|
|
@@ -98,7 +98,6 @@ 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.
|
|
102
101
|
*
|
|
103
102
|
* @generated from message caronashow.service.v1.DriverOfferSetup
|
|
104
103
|
*/
|
|
@@ -132,13 +131,13 @@ export type DriverOfferSetup = Message<"caronashow.service.v1.DriverOfferSetup">
|
|
|
132
131
|
*
|
|
133
132
|
* @generated from field: caronashow.types.v1.FullAddress origin_address = 5;
|
|
134
133
|
*/
|
|
135
|
-
originAddress?: FullAddress;
|
|
134
|
+
originAddress?: FullAddress | undefined;
|
|
136
135
|
/**
|
|
137
136
|
* Exact time the driver departs from the origin toward the organization.
|
|
138
137
|
*
|
|
139
138
|
* @generated from field: caronashow.types.v1.TimeOfDay departure_from_origin = 6;
|
|
140
139
|
*/
|
|
141
|
-
departureFromOrigin?: TimeOfDay;
|
|
140
|
+
departureFromOrigin?: TimeOfDay | undefined;
|
|
142
141
|
/**
|
|
143
142
|
* Whether the driver is currently accepting ride requests.
|
|
144
143
|
*
|
|
@@ -153,19 +152,27 @@ export type DriverOfferSetup = Message<"caronashow.service.v1.DriverOfferSetup">
|
|
|
153
152
|
*/
|
|
154
153
|
restrictedToVulnerableGroup: boolean;
|
|
155
154
|
/**
|
|
156
|
-
*
|
|
157
|
-
*
|
|
155
|
+
* Legacy shift whose arrival window applies to the driver's organization arrival.
|
|
156
|
+
* Deprecated: use schedule instead.
|
|
158
157
|
*
|
|
159
|
-
* @generated from field: string arrival_shift_id = 10;
|
|
158
|
+
* @generated from field: string arrival_shift_id = 10 [deprecated = true];
|
|
159
|
+
* @deprecated
|
|
160
160
|
*/
|
|
161
161
|
arrivalShiftId: string;
|
|
162
162
|
/**
|
|
163
|
-
*
|
|
164
|
-
*
|
|
163
|
+
* Legacy shift whose departure window applies to the driver's organization departure.
|
|
164
|
+
* Deprecated: use schedule instead.
|
|
165
165
|
*
|
|
166
|
-
* @generated from field: string departure_shift_id = 11;
|
|
166
|
+
* @generated from field: string departure_shift_id = 11 [deprecated = true];
|
|
167
|
+
* @deprecated
|
|
167
168
|
*/
|
|
168
169
|
departureShiftId: string;
|
|
170
|
+
/**
|
|
171
|
+
* Organization shift selection. New clients must use this field.
|
|
172
|
+
*
|
|
173
|
+
* @generated from field: caronashow.service.v1.ShiftSelection schedule = 12;
|
|
174
|
+
*/
|
|
175
|
+
schedule?: ShiftSelection | undefined;
|
|
169
176
|
};
|
|
170
177
|
/**
|
|
171
178
|
* Describes the message caronashow.service.v1.DriverOfferSetup.
|
|
@@ -174,7 +181,6 @@ export type DriverOfferSetup = Message<"caronashow.service.v1.DriverOfferSetup">
|
|
|
174
181
|
export declare const DriverOfferSetupSchema: GenMessage<DriverOfferSetup>;
|
|
175
182
|
/**
|
|
176
183
|
* Passenger's route and preference data set during onboarding.
|
|
177
|
-
* Arrival and departure shift IDs may independently reference different paired shifts.
|
|
178
184
|
*
|
|
179
185
|
* @generated from message caronashow.service.v1.PassengerSearchSetup
|
|
180
186
|
*/
|
|
@@ -184,7 +190,7 @@ export type PassengerSearchSetup = Message<"caronashow.service.v1.PassengerSearc
|
|
|
184
190
|
*
|
|
185
191
|
* @generated from field: caronashow.types.v1.FullAddress origin_address = 1;
|
|
186
192
|
*/
|
|
187
|
-
originAddress?: FullAddress;
|
|
193
|
+
originAddress?: FullAddress | undefined;
|
|
188
194
|
/**
|
|
189
195
|
* Passenger's conversation preference during the ride.
|
|
190
196
|
*
|
|
@@ -192,25 +198,95 @@ export type PassengerSearchSetup = Message<"caronashow.service.v1.PassengerSearc
|
|
|
192
198
|
*/
|
|
193
199
|
chatPreference: ChatPreference;
|
|
194
200
|
/**
|
|
195
|
-
*
|
|
196
|
-
*
|
|
201
|
+
* Legacy shift whose arrival window applies to the passenger's organization arrival.
|
|
202
|
+
* Deprecated: use schedule instead.
|
|
197
203
|
*
|
|
198
|
-
* @generated from field: string arrival_shift_id = 5;
|
|
204
|
+
* @generated from field: string arrival_shift_id = 5 [deprecated = true];
|
|
205
|
+
* @deprecated
|
|
199
206
|
*/
|
|
200
207
|
arrivalShiftId: string;
|
|
201
208
|
/**
|
|
202
|
-
*
|
|
203
|
-
*
|
|
209
|
+
* Legacy shift whose departure window applies to the passenger's organization departure.
|
|
210
|
+
* Deprecated: use schedule instead.
|
|
204
211
|
*
|
|
205
|
-
* @generated from field: string departure_shift_id = 6;
|
|
212
|
+
* @generated from field: string departure_shift_id = 6 [deprecated = true];
|
|
213
|
+
* @deprecated
|
|
206
214
|
*/
|
|
207
215
|
departureShiftId: string;
|
|
216
|
+
/**
|
|
217
|
+
* Organization shift selection. New clients must use this field.
|
|
218
|
+
*
|
|
219
|
+
* @generated from field: caronashow.service.v1.ShiftSelection schedule = 7;
|
|
220
|
+
*/
|
|
221
|
+
schedule?: ShiftSelection | undefined;
|
|
208
222
|
};
|
|
209
223
|
/**
|
|
210
224
|
* Describes the message caronashow.service.v1.PassengerSearchSetup.
|
|
211
225
|
* Use `create(PassengerSearchSetupSchema)` to create a new message.
|
|
212
226
|
*/
|
|
213
227
|
export declare const PassengerSearchSetupSchema: GenMessage<PassengerSearchSetup>;
|
|
228
|
+
/**
|
|
229
|
+
* Selects one organization shift or defines a custom recurring schedule.
|
|
230
|
+
* Exactly one selection must be set.
|
|
231
|
+
*
|
|
232
|
+
* @generated from message caronashow.service.v1.ShiftSelection
|
|
233
|
+
*/
|
|
234
|
+
export type ShiftSelection = Message<"caronashow.service.v1.ShiftSelection"> & {
|
|
235
|
+
/**
|
|
236
|
+
* @generated from oneof caronashow.service.v1.ShiftSelection.selection
|
|
237
|
+
*/
|
|
238
|
+
selection: {
|
|
239
|
+
/**
|
|
240
|
+
* ID of one active organization shift. Its arrival and departure windows
|
|
241
|
+
* are used together.
|
|
242
|
+
*
|
|
243
|
+
* @generated from field: string organization_shift_id = 1;
|
|
244
|
+
*/
|
|
245
|
+
value: string;
|
|
246
|
+
case: "organizationShiftId";
|
|
247
|
+
} | {
|
|
248
|
+
/**
|
|
249
|
+
* Explicit organization arrival and departure times for users whose
|
|
250
|
+
* schedule does not match a named organization shift.
|
|
251
|
+
*
|
|
252
|
+
* @generated from field: caronashow.service.v1.CustomShift custom_shift = 2;
|
|
253
|
+
*/
|
|
254
|
+
value: CustomShift;
|
|
255
|
+
case: "customShift";
|
|
256
|
+
} | {
|
|
257
|
+
case: undefined;
|
|
258
|
+
value?: undefined;
|
|
259
|
+
};
|
|
260
|
+
};
|
|
261
|
+
/**
|
|
262
|
+
* Describes the message caronashow.service.v1.ShiftSelection.
|
|
263
|
+
* Use `create(ShiftSelectionSchema)` to create a new message.
|
|
264
|
+
*/
|
|
265
|
+
export declare const ShiftSelectionSchema: GenMessage<ShiftSelection>;
|
|
266
|
+
/**
|
|
267
|
+
* Custom recurring organization schedule.
|
|
268
|
+
*
|
|
269
|
+
* @generated from message caronashow.service.v1.CustomShift
|
|
270
|
+
*/
|
|
271
|
+
export type CustomShift = Message<"caronashow.service.v1.CustomShift"> & {
|
|
272
|
+
/**
|
|
273
|
+
* Exact local time of arrival at the organization.
|
|
274
|
+
*
|
|
275
|
+
* @generated from field: caronashow.types.v1.TimeOfDay arrival_time = 1;
|
|
276
|
+
*/
|
|
277
|
+
arrivalTime?: TimeOfDay | undefined;
|
|
278
|
+
/**
|
|
279
|
+
* Exact local time of departure from the organization.
|
|
280
|
+
*
|
|
281
|
+
* @generated from field: caronashow.types.v1.TimeOfDay departure_time = 2;
|
|
282
|
+
*/
|
|
283
|
+
departureTime?: TimeOfDay | undefined;
|
|
284
|
+
};
|
|
285
|
+
/**
|
|
286
|
+
* Describes the message caronashow.service.v1.CustomShift.
|
|
287
|
+
* Use `create(CustomShiftSchema)` to create a new message.
|
|
288
|
+
*/
|
|
289
|
+
export declare const CustomShiftSchema: GenMessage<CustomShift>;
|
|
214
290
|
/**
|
|
215
291
|
* Empty — a successful response means onboarding data was persisted.
|
|
216
292
|
* Errors are communicated via the standard gRPC error model.
|
|
@@ -28,7 +28,7 @@ export type GetMyOrganizationResponse = Message<"caronashow.service.v1.GetMyOrga
|
|
|
28
28
|
*
|
|
29
29
|
* @generated from field: caronashow.service.v1.Organization organization = 1;
|
|
30
30
|
*/
|
|
31
|
-
organization?: Organization;
|
|
31
|
+
organization?: Organization | undefined;
|
|
32
32
|
};
|
|
33
33
|
/**
|
|
34
34
|
* Describes the message caronashow.service.v1.GetMyOrganizationResponse.
|
|
@@ -58,7 +58,7 @@ export type Organization = Message<"caronashow.service.v1.Organization"> & {
|
|
|
58
58
|
*
|
|
59
59
|
* @generated from field: caronashow.types.v1.FullAddress address = 3;
|
|
60
60
|
*/
|
|
61
|
-
address?: FullAddress;
|
|
61
|
+
address?: FullAddress | undefined;
|
|
62
62
|
/**
|
|
63
63
|
* IANA time zone identifier used to interpret shift-local times.
|
|
64
64
|
*
|
|
@@ -85,7 +85,7 @@ export type Organization = Message<"caronashow.service.v1.Organization"> & {
|
|
|
85
85
|
export declare const OrganizationSchema: GenMessage<Organization>;
|
|
86
86
|
/**
|
|
87
87
|
* A named shift pairing one arrival window with one departure window.
|
|
88
|
-
*
|
|
88
|
+
* Onboarding selects the pair as one schedule.
|
|
89
89
|
*
|
|
90
90
|
* @generated from message caronashow.service.v1.OrganizationShift
|
|
91
91
|
*/
|
|
@@ -107,13 +107,13 @@ export type OrganizationShift = Message<"caronashow.service.v1.OrganizationShift
|
|
|
107
107
|
*
|
|
108
108
|
* @generated from field: caronashow.service.v1.TimeWindow arrival_window = 3;
|
|
109
109
|
*/
|
|
110
|
-
arrivalWindow?: TimeWindow;
|
|
110
|
+
arrivalWindow?: TimeWindow | undefined;
|
|
111
111
|
/**
|
|
112
112
|
* Window used when this shift is selected as an organization departure shift.
|
|
113
113
|
*
|
|
114
114
|
* @generated from field: caronashow.service.v1.TimeWindow departure_window = 4;
|
|
115
115
|
*/
|
|
116
|
-
departureWindow?: TimeWindow;
|
|
116
|
+
departureWindow?: TimeWindow | undefined;
|
|
117
117
|
};
|
|
118
118
|
/**
|
|
119
119
|
* Describes the message caronashow.service.v1.OrganizationShift.
|
|
@@ -132,13 +132,13 @@ export type TimeWindow = Message<"caronashow.service.v1.TimeWindow"> & {
|
|
|
132
132
|
*
|
|
133
133
|
* @generated from field: caronashow.types.v1.TimeOfDay start_time = 1;
|
|
134
134
|
*/
|
|
135
|
-
startTime?: TimeOfDay;
|
|
135
|
+
startTime?: TimeOfDay | undefined;
|
|
136
136
|
/**
|
|
137
137
|
* Inclusive local end time of the window.
|
|
138
138
|
*
|
|
139
139
|
* @generated from field: caronashow.types.v1.TimeOfDay end_time = 2;
|
|
140
140
|
*/
|
|
141
|
-
endTime?: TimeOfDay;
|
|
141
|
+
endTime?: TimeOfDay | undefined;
|
|
142
142
|
};
|
|
143
143
|
/**
|
|
144
144
|
* Describes the message caronashow.service.v1.TimeWindow.
|
|
@@ -76,7 +76,7 @@ export type FullAddress = Message<"caronashow.types.v1.FullAddress"> & {
|
|
|
76
76
|
*
|
|
77
77
|
* @generated from field: google.type.LatLng location = 11;
|
|
78
78
|
*/
|
|
79
|
-
location?: LatLng;
|
|
79
|
+
location?: LatLng | undefined;
|
|
80
80
|
};
|
|
81
81
|
/**
|
|
82
82
|
* Describes the message caronashow.types.v1.FullAddress.
|
package/dist/index.cjs
CHANGED
|
@@ -58,6 +58,7 @@ __export(exports_src, {
|
|
|
58
58
|
UserRank: () => UserRank,
|
|
59
59
|
TimeWindowSchema: () => TimeWindowSchema,
|
|
60
60
|
TimeOfDaySchema: () => TimeOfDaySchema,
|
|
61
|
+
ShiftSelectionSchema: () => ShiftSelectionSchema,
|
|
61
62
|
SeatAvailabilitySchema: () => SeatAvailabilitySchema,
|
|
62
63
|
RouteTargetTypeSchema: () => RouteTargetTypeSchema,
|
|
63
64
|
RouteTargetType: () => RouteTargetType,
|
|
@@ -120,6 +121,7 @@ __export(exports_src, {
|
|
|
120
121
|
DayOfWeek: () => DayOfWeek,
|
|
121
122
|
DatasetSchema: () => DatasetSchema,
|
|
122
123
|
Dataset: () => Dataset,
|
|
124
|
+
CustomShiftSchema: () => CustomShiftSchema,
|
|
123
125
|
CompleteOnboardingResponseSchema: () => CompleteOnboardingResponseSchema,
|
|
124
126
|
CompleteOnboardingRequestSchema: () => CompleteOnboardingRequestSchema,
|
|
125
127
|
CommuteDirectionSchema: () => CommuteDirectionSchema,
|
|
@@ -3184,13 +3186,15 @@ var UserRank;
|
|
|
3184
3186
|
var UserRankSchema = /* @__PURE__ */ enumDesc(file_caronashow_types_v1_user, 1);
|
|
3185
3187
|
|
|
3186
3188
|
// src/gen/caronashow/service/v1/onboarding_pb.ts
|
|
3187
|
-
var file_caronashow_service_v1_onboarding = /* @__PURE__ */ fileDesc("
|
|
3189
|
+
var file_caronashow_service_v1_onboarding = /* @__PURE__ */ fileDesc("CiZjYXJvbmFzaG93L3NlcnZpY2UvdjEvb25ib2FyZGluZy5wcm90bxIVY2Fyb25hc2hvdy5zZXJ2aWNlLnYxIhwKGkdldE9uYm9hcmRpbmdTdGF0dXNSZXF1ZXN0IjsKG0dldE9uYm9hcmRpbmdTdGF0dXNSZXNwb25zZRIcChRvbmJvYXJkaW5nX2NvbXBsZXRlZBgBIAEoCCKjAgoZQ29tcGxldGVPbmJvYXJkaW5nUmVxdWVzdBIoCiBlbnJvbGxlZF9pbl92dWxuZXJhYmlsaXR5X2ZpbHRlchgBIAEo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dy9hcGkvZ28vZ2VuL2Nhcm9uYXNob3cvc2VydmljZS92MTtzZXJ2aWNldjGiAgNDU1iqAhVDYXJvbmFzaG93LlNlcnZpY2UuVjHKAhVDYXJvbmFzaG93XFNlcnZpY2VcVjHiAiFDYXJvbmFzaG93XFNlcnZpY2VcVjFcR1BCTWV0YWRhdGHqAhdDYXJvbmFzaG93OjpTZXJ2aWNlOjpWMWIGcHJvdG8z", [file_caronashow_types_v1_address, file_caronashow_types_v1_common, file_caronashow_types_v1_user]);
|
|
3188
3190
|
var GetOnboardingStatusRequestSchema = /* @__PURE__ */ messageDesc(file_caronashow_service_v1_onboarding, 0);
|
|
3189
3191
|
var GetOnboardingStatusResponseSchema = /* @__PURE__ */ messageDesc(file_caronashow_service_v1_onboarding, 1);
|
|
3190
3192
|
var CompleteOnboardingRequestSchema = /* @__PURE__ */ messageDesc(file_caronashow_service_v1_onboarding, 2);
|
|
3191
3193
|
var DriverOfferSetupSchema = /* @__PURE__ */ messageDesc(file_caronashow_service_v1_onboarding, 3);
|
|
3192
3194
|
var PassengerSearchSetupSchema = /* @__PURE__ */ messageDesc(file_caronashow_service_v1_onboarding, 4);
|
|
3193
|
-
var
|
|
3195
|
+
var ShiftSelectionSchema = /* @__PURE__ */ messageDesc(file_caronashow_service_v1_onboarding, 5);
|
|
3196
|
+
var CustomShiftSchema = /* @__PURE__ */ messageDesc(file_caronashow_service_v1_onboarding, 6);
|
|
3197
|
+
var CompleteOnboardingResponseSchema = /* @__PURE__ */ messageDesc(file_caronashow_service_v1_onboarding, 7);
|
|
3194
3198
|
var OnboardingService = /* @__PURE__ */ serviceDesc(file_caronashow_service_v1_onboarding, 0);
|
|
3195
3199
|
// src/gen/caronashow/service/v1/home_pb.ts
|
|
3196
3200
|
var file_caronashow_service_v1_home = /* @__PURE__ */ fileDesc("CiBjYXJvbmFzaG93L3NlcnZpY2UvdjEvaG9tZS5wcm90bxIVY2Fyb25hc2hvdy5zZXJ2aWNlLnYxIo4BChpMaXN0U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iEKHUNPTU1VVEVfRElSRUNUSU9OX1VOU1BFQ0lGSUVEEAASJQohQ09NTVVURV9ESVJFQ1RJT05fVE9fT1JHQU5JWkFUSU9OEAESJwojQ09NTVVURV9ESVJFQ1RJT05fRlJPTV9PUkdBTklaQVRJT04QAjKPAQoPTWF0Y2hpbmdTZXJ2aWNlEnwKE0xpc3RSaWRlU3VnZ2VzdGlvbnMSMS5jYXJvbmFzaG93LnNlcnZpY2UudjEuTGlzdFJpZGVTdWdnZXN0aW9uc1JlcXVlc3QaMi5jYXJvbmFzaG93LnNlcnZpY2UudjEuTGlzdFJpZGVTdWdnZXN0aW9uc1Jlc3BvbnNlQt4BChljb20uY2Fyb25hc2hvdy5zZXJ2aWNlLnYxQglIb21lUHJvdG9QAVpAZ2l0bGFiLmNvbS9jYXJvbmFzaG93L2FwaS9nby9nZW4vY2Fyb25hc2hvdy9zZXJ2aWNlL3YxO3NlcnZpY2V2MaICA0NTWKoCFUNhcm9uYXNob3cuU2VydmljZS5WMcoCFUNhcm9uYXNob3dcU2VydmljZVxWMeICIUNhcm9uYXNob3dcU2VydmljZVxWMVxHUEJNZXRhZGF0YeoCF0Nhcm9uYXNob3c6OlNlcnZpY2U6OlYxYgZwcm90bzM", [file_caronashow_types_v1_address, file_caronashow_types_v1_common, file_caronashow_types_v1_user, file_google_protobuf_timestamp, file_google_type_latlng]);
|
package/package.json
CHANGED