@caronashow/api 0.12.0 → 0.14.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.
|
@@ -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
|
*/
|
|
@@ -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
|
*/
|
|
@@ -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.
|
|
@@ -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
|
*/
|