@caronashow/api 0.11.0 → 0.12.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/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 +3 -3
- package/dist/gen/caronashow/service/v1/organization_pb.d.ts +6 -6
- package/dist/gen/caronashow/types/v1/address_pb.d.ts +1 -1
- package/package.json +1 -1
|
@@ -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.
|
|
@@ -132,13 +132,13 @@ export type DriverOfferSetup = Message<"caronashow.service.v1.DriverOfferSetup">
|
|
|
132
132
|
*
|
|
133
133
|
* @generated from field: caronashow.types.v1.FullAddress origin_address = 5;
|
|
134
134
|
*/
|
|
135
|
-
originAddress?: FullAddress;
|
|
135
|
+
originAddress?: FullAddress | undefined;
|
|
136
136
|
/**
|
|
137
137
|
* Exact time the driver departs from the origin toward the organization.
|
|
138
138
|
*
|
|
139
139
|
* @generated from field: caronashow.types.v1.TimeOfDay departure_from_origin = 6;
|
|
140
140
|
*/
|
|
141
|
-
departureFromOrigin?: TimeOfDay;
|
|
141
|
+
departureFromOrigin?: TimeOfDay | undefined;
|
|
142
142
|
/**
|
|
143
143
|
* Whether the driver is currently accepting ride requests.
|
|
144
144
|
*
|
|
@@ -184,7 +184,7 @@ export type PassengerSearchSetup = Message<"caronashow.service.v1.PassengerSearc
|
|
|
184
184
|
*
|
|
185
185
|
* @generated from field: caronashow.types.v1.FullAddress origin_address = 1;
|
|
186
186
|
*/
|
|
187
|
-
originAddress?: FullAddress;
|
|
187
|
+
originAddress?: FullAddress | undefined;
|
|
188
188
|
/**
|
|
189
189
|
* Passenger's conversation preference during the ride.
|
|
190
190
|
*
|
|
@@ -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
|
*
|
|
@@ -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/package.json
CHANGED