@caronashow/api 0.4.0 → 0.4.1
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/groups_pb.d.ts +29 -0
- package/dist/gen/caronashow/poc/v1/poc_pb.d.ts +191 -0
- package/dist/gen/caronashow/poc/v1/points_pb.d.ts +240 -0
- package/dist/gen/caronashow/poc/v1/routes_pb.d.ts +109 -0
- package/dist/gen/caronashow/pooler/v1/pooler_pb.d.ts +219 -0
- package/dist/gen/caronashow/service/v1/map_pb.d.ts +9 -0
- package/dist/gen/caronashow/types/v1/user_pb.d.ts +36 -0
- package/dist/gen/google/type/latlng_pb.d.ts +34 -0
- package/dist/index.cjs +3099 -0
- package/dist/index.d.ts +8 -0
- package/package.json +1 -1
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { DriverPoint, PassengerPoint } from "./points_pb";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file caronashow/poc/v1/groups.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_caronashow_poc_v1_groups: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* @generated from message caronashow.poc.v1.MatchGroup
|
|
10
|
+
*/
|
|
11
|
+
export type MatchGroup = Message<"caronashow.poc.v1.MatchGroup"> & {
|
|
12
|
+
/**
|
|
13
|
+
* @generated from field: string id = 1;
|
|
14
|
+
*/
|
|
15
|
+
id: string;
|
|
16
|
+
/**
|
|
17
|
+
* @generated from field: repeated caronashow.poc.v1.DriverPoint driver = 2;
|
|
18
|
+
*/
|
|
19
|
+
driver: DriverPoint[];
|
|
20
|
+
/**
|
|
21
|
+
* @generated from field: repeated caronashow.poc.v1.PassengerPoint passengers = 3;
|
|
22
|
+
*/
|
|
23
|
+
passengers: PassengerPoint[];
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Describes the message caronashow.poc.v1.MatchGroup.
|
|
27
|
+
* Use `create(MatchGroupSchema)` to create a new message.
|
|
28
|
+
*/
|
|
29
|
+
export declare const MatchGroupSchema: GenMessage<MatchGroup>;
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { MatchGroup } from "./groups_pb";
|
|
3
|
+
import type { DriverPoint, OrganizationPoint, PassengerPoint } from "./points_pb";
|
|
4
|
+
import type { DirectRoute, OptimizedRoute } from "./routes_pb";
|
|
5
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
6
|
+
/**
|
|
7
|
+
* Describes the file caronashow/poc/v1/poc.proto.
|
|
8
|
+
*/
|
|
9
|
+
export declare const file_caronashow_poc_v1_poc: GenFile;
|
|
10
|
+
/**
|
|
11
|
+
* @generated from message caronashow.poc.v1.GetMapPointsRequest
|
|
12
|
+
*/
|
|
13
|
+
export type GetMapPointsRequest = Message<"caronashow.poc.v1.GetMapPointsRequest"> & {
|
|
14
|
+
/**
|
|
15
|
+
* @generated from field: caronashow.poc.v1.Dataset dataset = 1;
|
|
16
|
+
*/
|
|
17
|
+
dataset: Dataset;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Describes the message caronashow.poc.v1.GetMapPointsRequest.
|
|
21
|
+
* Use `create(GetMapPointsRequestSchema)` to create a new message.
|
|
22
|
+
*/
|
|
23
|
+
export declare const GetMapPointsRequestSchema: GenMessage<GetMapPointsRequest>;
|
|
24
|
+
/**
|
|
25
|
+
* @generated from message caronashow.poc.v1.GetMapPointsResponse
|
|
26
|
+
*/
|
|
27
|
+
export type GetMapPointsResponse = Message<"caronashow.poc.v1.GetMapPointsResponse"> & {
|
|
28
|
+
/**
|
|
29
|
+
* @generated from field: repeated caronashow.poc.v1.PassengerPoint passengers = 1;
|
|
30
|
+
*/
|
|
31
|
+
passengers: PassengerPoint[];
|
|
32
|
+
/**
|
|
33
|
+
* @generated from field: repeated caronashow.poc.v1.DriverPoint drivers = 2;
|
|
34
|
+
*/
|
|
35
|
+
drivers: DriverPoint[];
|
|
36
|
+
/**
|
|
37
|
+
* @generated from field: caronashow.poc.v1.OrganizationPoint organization = 3;
|
|
38
|
+
*/
|
|
39
|
+
organization?: OrganizationPoint;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Describes the message caronashow.poc.v1.GetMapPointsResponse.
|
|
43
|
+
* Use `create(GetMapPointsResponseSchema)` to create a new message.
|
|
44
|
+
*/
|
|
45
|
+
export declare const GetMapPointsResponseSchema: GenMessage<GetMapPointsResponse>;
|
|
46
|
+
/**
|
|
47
|
+
* @generated from message caronashow.poc.v1.GetDirectRoutesRequest
|
|
48
|
+
*/
|
|
49
|
+
export type GetDirectRoutesRequest = Message<"caronashow.poc.v1.GetDirectRoutesRequest"> & {
|
|
50
|
+
/**
|
|
51
|
+
* @generated from field: caronashow.poc.v1.Dataset dataset = 1;
|
|
52
|
+
*/
|
|
53
|
+
dataset: Dataset;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* Describes the message caronashow.poc.v1.GetDirectRoutesRequest.
|
|
57
|
+
* Use `create(GetDirectRoutesRequestSchema)` to create a new message.
|
|
58
|
+
*/
|
|
59
|
+
export declare const GetDirectRoutesRequestSchema: GenMessage<GetDirectRoutesRequest>;
|
|
60
|
+
/**
|
|
61
|
+
* @generated from message caronashow.poc.v1.GetDirectRoutesResponse
|
|
62
|
+
*/
|
|
63
|
+
export type GetDirectRoutesResponse = Message<"caronashow.poc.v1.GetDirectRoutesResponse"> & {
|
|
64
|
+
/**
|
|
65
|
+
* @generated from field: repeated caronashow.poc.v1.DirectRoute routes = 1;
|
|
66
|
+
*/
|
|
67
|
+
routes: DirectRoute[];
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* Describes the message caronashow.poc.v1.GetDirectRoutesResponse.
|
|
71
|
+
* Use `create(GetDirectRoutesResponseSchema)` to create a new message.
|
|
72
|
+
*/
|
|
73
|
+
export declare const GetDirectRoutesResponseSchema: GenMessage<GetDirectRoutesResponse>;
|
|
74
|
+
/**
|
|
75
|
+
* @generated from message caronashow.poc.v1.GetMapPointGroupsRequest
|
|
76
|
+
*/
|
|
77
|
+
export type GetMapPointGroupsRequest = Message<"caronashow.poc.v1.GetMapPointGroupsRequest"> & {
|
|
78
|
+
/**
|
|
79
|
+
* @generated from field: caronashow.poc.v1.Dataset dataset = 1;
|
|
80
|
+
*/
|
|
81
|
+
dataset: Dataset;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* Describes the message caronashow.poc.v1.GetMapPointGroupsRequest.
|
|
85
|
+
* Use `create(GetMapPointGroupsRequestSchema)` to create a new message.
|
|
86
|
+
*/
|
|
87
|
+
export declare const GetMapPointGroupsRequestSchema: GenMessage<GetMapPointGroupsRequest>;
|
|
88
|
+
/**
|
|
89
|
+
* @generated from message caronashow.poc.v1.GetMapPointGroupsResponse
|
|
90
|
+
*/
|
|
91
|
+
export type GetMapPointGroupsResponse = Message<"caronashow.poc.v1.GetMapPointGroupsResponse"> & {
|
|
92
|
+
/**
|
|
93
|
+
* @generated from field: repeated caronashow.poc.v1.MatchGroup groups = 1;
|
|
94
|
+
*/
|
|
95
|
+
groups: MatchGroup[];
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* Describes the message caronashow.poc.v1.GetMapPointGroupsResponse.
|
|
99
|
+
* Use `create(GetMapPointGroupsResponseSchema)` to create a new message.
|
|
100
|
+
*/
|
|
101
|
+
export declare const GetMapPointGroupsResponseSchema: GenMessage<GetMapPointGroupsResponse>;
|
|
102
|
+
/**
|
|
103
|
+
* @generated from message caronashow.poc.v1.GetOptimizedRoutesRequest
|
|
104
|
+
*/
|
|
105
|
+
export type GetOptimizedRoutesRequest = Message<"caronashow.poc.v1.GetOptimizedRoutesRequest"> & {
|
|
106
|
+
/**
|
|
107
|
+
* @generated from field: caronashow.poc.v1.Dataset dataset = 1;
|
|
108
|
+
*/
|
|
109
|
+
dataset: Dataset;
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* Describes the message caronashow.poc.v1.GetOptimizedRoutesRequest.
|
|
113
|
+
* Use `create(GetOptimizedRoutesRequestSchema)` to create a new message.
|
|
114
|
+
*/
|
|
115
|
+
export declare const GetOptimizedRoutesRequestSchema: GenMessage<GetOptimizedRoutesRequest>;
|
|
116
|
+
/**
|
|
117
|
+
* @generated from message caronashow.poc.v1.GetOptimizedRoutesResponse
|
|
118
|
+
*/
|
|
119
|
+
export type GetOptimizedRoutesResponse = Message<"caronashow.poc.v1.GetOptimizedRoutesResponse"> & {
|
|
120
|
+
/**
|
|
121
|
+
* @generated from field: repeated caronashow.poc.v1.OptimizedRoute routes = 1;
|
|
122
|
+
*/
|
|
123
|
+
routes: OptimizedRoute[];
|
|
124
|
+
};
|
|
125
|
+
/**
|
|
126
|
+
* Describes the message caronashow.poc.v1.GetOptimizedRoutesResponse.
|
|
127
|
+
* Use `create(GetOptimizedRoutesResponseSchema)` to create a new message.
|
|
128
|
+
*/
|
|
129
|
+
export declare const GetOptimizedRoutesResponseSchema: GenMessage<GetOptimizedRoutesResponse>;
|
|
130
|
+
/**
|
|
131
|
+
* @generated from enum caronashow.poc.v1.Dataset
|
|
132
|
+
*/
|
|
133
|
+
export declare enum Dataset {
|
|
134
|
+
/**
|
|
135
|
+
* @generated from enum value: DATASET_UNSPECIFIED = 0;
|
|
136
|
+
*/
|
|
137
|
+
UNSPECIFIED = 0,
|
|
138
|
+
/**
|
|
139
|
+
* @generated from enum value: DATASET_ATLANTA_10 = 1;
|
|
140
|
+
*/
|
|
141
|
+
ATLANTA_10 = 1,
|
|
142
|
+
/**
|
|
143
|
+
* @generated from enum value: DATASET_ATLANTA_25 = 2;
|
|
144
|
+
*/
|
|
145
|
+
ATLANTA_25 = 2,
|
|
146
|
+
/**
|
|
147
|
+
* @generated from enum value: DATASET_ATLANTA_50 = 3;
|
|
148
|
+
*/
|
|
149
|
+
ATLANTA_50 = 3
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* Describes the enum caronashow.poc.v1.Dataset.
|
|
153
|
+
*/
|
|
154
|
+
export declare const DatasetSchema: GenEnum<Dataset>;
|
|
155
|
+
/**
|
|
156
|
+
* @generated from service caronashow.poc.v1.PocService
|
|
157
|
+
*/
|
|
158
|
+
export declare const PocService: GenService<{
|
|
159
|
+
/**
|
|
160
|
+
* @generated from rpc caronashow.poc.v1.PocService.GetMapPoints
|
|
161
|
+
*/
|
|
162
|
+
getMapPoints: {
|
|
163
|
+
methodKind: "unary";
|
|
164
|
+
input: typeof GetMapPointsRequestSchema;
|
|
165
|
+
output: typeof GetMapPointsResponseSchema;
|
|
166
|
+
};
|
|
167
|
+
/**
|
|
168
|
+
* @generated from rpc caronashow.poc.v1.PocService.GetDirectRoutes
|
|
169
|
+
*/
|
|
170
|
+
getDirectRoutes: {
|
|
171
|
+
methodKind: "unary";
|
|
172
|
+
input: typeof GetDirectRoutesRequestSchema;
|
|
173
|
+
output: typeof GetDirectRoutesResponseSchema;
|
|
174
|
+
};
|
|
175
|
+
/**
|
|
176
|
+
* @generated from rpc caronashow.poc.v1.PocService.GetMapPointGroups
|
|
177
|
+
*/
|
|
178
|
+
getMapPointGroups: {
|
|
179
|
+
methodKind: "unary";
|
|
180
|
+
input: typeof GetMapPointGroupsRequestSchema;
|
|
181
|
+
output: typeof GetMapPointGroupsResponseSchema;
|
|
182
|
+
};
|
|
183
|
+
/**
|
|
184
|
+
* @generated from rpc caronashow.poc.v1.PocService.GetOptimizedRoutes
|
|
185
|
+
*/
|
|
186
|
+
getOptimizedRoutes: {
|
|
187
|
+
methodKind: "unary";
|
|
188
|
+
input: typeof GetOptimizedRoutesRequestSchema;
|
|
189
|
+
output: typeof GetOptimizedRoutesResponseSchema;
|
|
190
|
+
};
|
|
191
|
+
}>;
|
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Duration, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { LatLng } from "../../../google/type/latlng_pb";
|
|
4
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file caronashow/poc/v1/points.proto.
|
|
7
|
+
*/
|
|
8
|
+
export declare const file_caronashow_poc_v1_points: GenFile;
|
|
9
|
+
/**
|
|
10
|
+
* @generated from message caronashow.poc.v1.Address
|
|
11
|
+
*/
|
|
12
|
+
export type Address = Message<"caronashow.poc.v1.Address"> & {
|
|
13
|
+
/**
|
|
14
|
+
* @generated from field: google.type.LatLng position = 1;
|
|
15
|
+
*/
|
|
16
|
+
position?: LatLng;
|
|
17
|
+
/**
|
|
18
|
+
* @generated from field: string full_address = 2;
|
|
19
|
+
*/
|
|
20
|
+
fullAddress: string;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message caronashow.poc.v1.Address.
|
|
24
|
+
* Use `create(AddressSchema)` to create a new message.
|
|
25
|
+
*/
|
|
26
|
+
export declare const AddressSchema: GenMessage<Address>;
|
|
27
|
+
/**
|
|
28
|
+
* @generated from message caronashow.poc.v1.Vehicle
|
|
29
|
+
*/
|
|
30
|
+
export type Vehicle = Message<"caronashow.poc.v1.Vehicle"> & {
|
|
31
|
+
/**
|
|
32
|
+
* @generated from field: string license_plate = 1;
|
|
33
|
+
*/
|
|
34
|
+
licensePlate: string;
|
|
35
|
+
/**
|
|
36
|
+
* @generated from field: string model = 2;
|
|
37
|
+
*/
|
|
38
|
+
model: string;
|
|
39
|
+
/**
|
|
40
|
+
* @generated from field: string color = 3;
|
|
41
|
+
*/
|
|
42
|
+
color: string;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Describes the message caronashow.poc.v1.Vehicle.
|
|
46
|
+
* Use `create(VehicleSchema)` to create a new message.
|
|
47
|
+
*/
|
|
48
|
+
export declare const VehicleSchema: GenMessage<Vehicle>;
|
|
49
|
+
/**
|
|
50
|
+
* @generated from message caronashow.poc.v1.Person
|
|
51
|
+
*/
|
|
52
|
+
export type Person = Message<"caronashow.poc.v1.Person"> & {
|
|
53
|
+
/**
|
|
54
|
+
* @generated from field: string id = 1;
|
|
55
|
+
*/
|
|
56
|
+
id: string;
|
|
57
|
+
/**
|
|
58
|
+
* @generated from field: string name = 2;
|
|
59
|
+
*/
|
|
60
|
+
name: string;
|
|
61
|
+
/**
|
|
62
|
+
* from 0.0 to 5.0
|
|
63
|
+
*
|
|
64
|
+
* @generated from field: double rating = 3;
|
|
65
|
+
*/
|
|
66
|
+
rating: number;
|
|
67
|
+
/**
|
|
68
|
+
* @generated from field: caronashow.poc.v1.PersonRank rank = 4;
|
|
69
|
+
*/
|
|
70
|
+
rank: PersonRank;
|
|
71
|
+
/**
|
|
72
|
+
* @generated from field: caronashow.poc.v1.PersonIcon icon = 5;
|
|
73
|
+
*/
|
|
74
|
+
icon: PersonIcon;
|
|
75
|
+
/**
|
|
76
|
+
* @generated from field: google.protobuf.Timestamp departure_from_org = 6;
|
|
77
|
+
*/
|
|
78
|
+
departureFromOrg?: Timestamp;
|
|
79
|
+
/**
|
|
80
|
+
* @generated from field: google.protobuf.Duration departure_window_from_org = 7;
|
|
81
|
+
*/
|
|
82
|
+
departureWindowFromOrg?: Duration;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* Describes the message caronashow.poc.v1.Person.
|
|
86
|
+
* Use `create(PersonSchema)` to create a new message.
|
|
87
|
+
*/
|
|
88
|
+
export declare const PersonSchema: GenMessage<Person>;
|
|
89
|
+
/**
|
|
90
|
+
* @generated from message caronashow.poc.v1.PassengerPoint
|
|
91
|
+
*/
|
|
92
|
+
export type PassengerPoint = Message<"caronashow.poc.v1.PassengerPoint"> & {
|
|
93
|
+
/**
|
|
94
|
+
* @generated from field: string id = 1;
|
|
95
|
+
*/
|
|
96
|
+
id: string;
|
|
97
|
+
/**
|
|
98
|
+
* @generated from field: caronashow.poc.v1.Address address = 2;
|
|
99
|
+
*/
|
|
100
|
+
address?: Address;
|
|
101
|
+
/**
|
|
102
|
+
* @generated from field: caronashow.poc.v1.Person person = 3;
|
|
103
|
+
*/
|
|
104
|
+
person?: Person;
|
|
105
|
+
/**
|
|
106
|
+
* @generated from field: string comment = 4;
|
|
107
|
+
*/
|
|
108
|
+
comment: string;
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* Describes the message caronashow.poc.v1.PassengerPoint.
|
|
112
|
+
* Use `create(PassengerPointSchema)` to create a new message.
|
|
113
|
+
*/
|
|
114
|
+
export declare const PassengerPointSchema: GenMessage<PassengerPoint>;
|
|
115
|
+
/**
|
|
116
|
+
* @generated from message caronashow.poc.v1.DriverPoint
|
|
117
|
+
*/
|
|
118
|
+
export type DriverPoint = Message<"caronashow.poc.v1.DriverPoint"> & {
|
|
119
|
+
/**
|
|
120
|
+
* @generated from field: string id = 1;
|
|
121
|
+
*/
|
|
122
|
+
id: string;
|
|
123
|
+
/**
|
|
124
|
+
* @generated from field: caronashow.poc.v1.Address address = 2;
|
|
125
|
+
*/
|
|
126
|
+
address?: Address;
|
|
127
|
+
/**
|
|
128
|
+
* @generated from field: caronashow.poc.v1.Person person = 3;
|
|
129
|
+
*/
|
|
130
|
+
person?: Person;
|
|
131
|
+
/**
|
|
132
|
+
* @generated from field: caronashow.poc.v1.Vehicle vehicle = 4;
|
|
133
|
+
*/
|
|
134
|
+
vehicle?: Vehicle;
|
|
135
|
+
/**
|
|
136
|
+
* @generated from field: string comment = 5;
|
|
137
|
+
*/
|
|
138
|
+
comment: string;
|
|
139
|
+
/**
|
|
140
|
+
* @generated from field: int32 seats_offered = 6;
|
|
141
|
+
*/
|
|
142
|
+
seatsOffered: number;
|
|
143
|
+
/**
|
|
144
|
+
* @generated from field: int32 seats_available = 7;
|
|
145
|
+
*/
|
|
146
|
+
seatsAvailable: number;
|
|
147
|
+
};
|
|
148
|
+
/**
|
|
149
|
+
* Describes the message caronashow.poc.v1.DriverPoint.
|
|
150
|
+
* Use `create(DriverPointSchema)` to create a new message.
|
|
151
|
+
*/
|
|
152
|
+
export declare const DriverPointSchema: GenMessage<DriverPoint>;
|
|
153
|
+
/**
|
|
154
|
+
* @generated from message caronashow.poc.v1.OrganizationPoint
|
|
155
|
+
*/
|
|
156
|
+
export type OrganizationPoint = Message<"caronashow.poc.v1.OrganizationPoint"> & {
|
|
157
|
+
/**
|
|
158
|
+
* @generated from field: string id = 1;
|
|
159
|
+
*/
|
|
160
|
+
id: string;
|
|
161
|
+
/**
|
|
162
|
+
* @generated from field: caronashow.poc.v1.Address address = 2;
|
|
163
|
+
*/
|
|
164
|
+
address?: Address;
|
|
165
|
+
/**
|
|
166
|
+
* @generated from field: string name = 3;
|
|
167
|
+
*/
|
|
168
|
+
name: string;
|
|
169
|
+
};
|
|
170
|
+
/**
|
|
171
|
+
* Describes the message caronashow.poc.v1.OrganizationPoint.
|
|
172
|
+
* Use `create(OrganizationPointSchema)` to create a new message.
|
|
173
|
+
*/
|
|
174
|
+
export declare const OrganizationPointSchema: GenMessage<OrganizationPoint>;
|
|
175
|
+
/**
|
|
176
|
+
* @generated from enum caronashow.poc.v1.PersonRank
|
|
177
|
+
*/
|
|
178
|
+
export declare enum PersonRank {
|
|
179
|
+
/**
|
|
180
|
+
* @generated from enum value: PERSON_RANK_UNSPECIFIED = 0;
|
|
181
|
+
*/
|
|
182
|
+
UNSPECIFIED = 0,
|
|
183
|
+
/**
|
|
184
|
+
* @generated from enum value: PERSON_RANK_BRONZE = 1;
|
|
185
|
+
*/
|
|
186
|
+
BRONZE = 1,
|
|
187
|
+
/**
|
|
188
|
+
* @generated from enum value: PERSON_RANK_SILVER = 2;
|
|
189
|
+
*/
|
|
190
|
+
SILVER = 2,
|
|
191
|
+
/**
|
|
192
|
+
* @generated from enum value: PERSON_RANK_GOLD = 3;
|
|
193
|
+
*/
|
|
194
|
+
GOLD = 3,
|
|
195
|
+
/**
|
|
196
|
+
* @generated from enum value: PERSON_RANK_PLATINUM = 4;
|
|
197
|
+
*/
|
|
198
|
+
PLATINUM = 4,
|
|
199
|
+
/**
|
|
200
|
+
* @generated from enum value: PERSON_RANK_DIAMOND = 5;
|
|
201
|
+
*/
|
|
202
|
+
DIAMOND = 5
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* Describes the enum caronashow.poc.v1.PersonRank.
|
|
206
|
+
*/
|
|
207
|
+
export declare const PersonRankSchema: GenEnum<PersonRank>;
|
|
208
|
+
/**
|
|
209
|
+
* @generated from enum caronashow.poc.v1.PersonIcon
|
|
210
|
+
*/
|
|
211
|
+
export declare enum PersonIcon {
|
|
212
|
+
/**
|
|
213
|
+
* @generated from enum value: PERSON_ICON_UNSPECIFIED = 0;
|
|
214
|
+
*/
|
|
215
|
+
UNSPECIFIED = 0,
|
|
216
|
+
/**
|
|
217
|
+
* @generated from enum value: PERSON_ICON_MALE_1 = 1;
|
|
218
|
+
*/
|
|
219
|
+
MALE_1 = 1,
|
|
220
|
+
/**
|
|
221
|
+
* @generated from enum value: PERSON_ICON_MALE_2 = 2;
|
|
222
|
+
*/
|
|
223
|
+
MALE_2 = 2,
|
|
224
|
+
/**
|
|
225
|
+
* @generated from enum value: PERSON_ICON_FEMALE_1 = 3;
|
|
226
|
+
*/
|
|
227
|
+
FEMALE_1 = 3,
|
|
228
|
+
/**
|
|
229
|
+
* @generated from enum value: PERSON_ICON_FEMALE_2 = 4;
|
|
230
|
+
*/
|
|
231
|
+
FEMALE_2 = 4,
|
|
232
|
+
/**
|
|
233
|
+
* @generated from enum value: PERSON_ICON_FEMALE_3 = 5;
|
|
234
|
+
*/
|
|
235
|
+
FEMALE_3 = 5
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* Describes the enum caronashow.poc.v1.PersonIcon.
|
|
239
|
+
*/
|
|
240
|
+
export declare const PersonIconSchema: GenEnum<PersonIcon>;
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Duration, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file caronashow/poc/v1/routes.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_caronashow_poc_v1_routes: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* @generated from message caronashow.poc.v1.DirectRoute
|
|
10
|
+
*/
|
|
11
|
+
export type DirectRoute = Message<"caronashow.poc.v1.DirectRoute"> & {
|
|
12
|
+
/**
|
|
13
|
+
* The ID matching the PassengerPoint.id or DriverPoint.id
|
|
14
|
+
*
|
|
15
|
+
* @generated from field: string target_id = 1;
|
|
16
|
+
*/
|
|
17
|
+
targetId: string;
|
|
18
|
+
/**
|
|
19
|
+
* @generated from field: caronashow.poc.v1.RouteTargetType target_type = 2;
|
|
20
|
+
*/
|
|
21
|
+
targetType: RouteTargetType;
|
|
22
|
+
/**
|
|
23
|
+
* @generated from field: int32 distance_meters = 3;
|
|
24
|
+
*/
|
|
25
|
+
distanceMeters: number;
|
|
26
|
+
/**
|
|
27
|
+
* @generated from field: google.protobuf.Duration duration = 4;
|
|
28
|
+
*/
|
|
29
|
+
duration?: Duration;
|
|
30
|
+
/**
|
|
31
|
+
* @generated from field: google.protobuf.Timestamp departure_from_org = 5;
|
|
32
|
+
*/
|
|
33
|
+
departureFromOrg?: Timestamp;
|
|
34
|
+
/**
|
|
35
|
+
* @generated from field: google.protobuf.Duration departure_window_from_org = 6;
|
|
36
|
+
*/
|
|
37
|
+
departureWindowFromOrg?: Duration;
|
|
38
|
+
/**
|
|
39
|
+
* The visual path to draw on the map (Google Maps Encoded Polyline format)
|
|
40
|
+
*
|
|
41
|
+
* @generated from field: string encoded_polyline = 7;
|
|
42
|
+
*/
|
|
43
|
+
encodedPolyline: string;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Describes the message caronashow.poc.v1.DirectRoute.
|
|
47
|
+
* Use `create(DirectRouteSchema)` to create a new message.
|
|
48
|
+
*/
|
|
49
|
+
export declare const DirectRouteSchema: GenMessage<DirectRoute>;
|
|
50
|
+
/**
|
|
51
|
+
* @generated from message caronashow.poc.v1.OptimizedRoute
|
|
52
|
+
*/
|
|
53
|
+
export type OptimizedRoute = Message<"caronashow.poc.v1.OptimizedRoute"> & {
|
|
54
|
+
/**
|
|
55
|
+
* The IDs matching the PassengerPoint.id or DriverPoint.id
|
|
56
|
+
* The last ID is the DriverPoint.
|
|
57
|
+
*
|
|
58
|
+
* @generated from field: repeated string target_passenger_ids = 1;
|
|
59
|
+
*/
|
|
60
|
+
targetPassengerIds: string[];
|
|
61
|
+
/**
|
|
62
|
+
* @generated from field: int32 distance_meters = 3;
|
|
63
|
+
*/
|
|
64
|
+
distanceMeters: number;
|
|
65
|
+
/**
|
|
66
|
+
* @generated from field: google.protobuf.Duration duration = 4;
|
|
67
|
+
*/
|
|
68
|
+
duration?: Duration;
|
|
69
|
+
/**
|
|
70
|
+
* @generated from field: google.protobuf.Timestamp departure_from_org = 5;
|
|
71
|
+
*/
|
|
72
|
+
departureFromOrg?: Timestamp;
|
|
73
|
+
/**
|
|
74
|
+
* @generated from field: google.protobuf.Duration departure_window_from_org = 6;
|
|
75
|
+
*/
|
|
76
|
+
departureWindowFromOrg?: Duration;
|
|
77
|
+
/**
|
|
78
|
+
* The visual path to draw on the map (Google Maps Encoded Polyline format)
|
|
79
|
+
*
|
|
80
|
+
* @generated from field: string encoded_polyline = 7;
|
|
81
|
+
*/
|
|
82
|
+
encodedPolyline: string;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* Describes the message caronashow.poc.v1.OptimizedRoute.
|
|
86
|
+
* Use `create(OptimizedRouteSchema)` to create a new message.
|
|
87
|
+
*/
|
|
88
|
+
export declare const OptimizedRouteSchema: GenMessage<OptimizedRoute>;
|
|
89
|
+
/**
|
|
90
|
+
* @generated from enum caronashow.poc.v1.RouteTargetType
|
|
91
|
+
*/
|
|
92
|
+
export declare enum RouteTargetType {
|
|
93
|
+
/**
|
|
94
|
+
* @generated from enum value: ROUTE_TARGET_TYPE_UNSPECIFIED = 0;
|
|
95
|
+
*/
|
|
96
|
+
UNSPECIFIED = 0,
|
|
97
|
+
/**
|
|
98
|
+
* @generated from enum value: ROUTE_TARGET_TYPE_PASSENGER = 1;
|
|
99
|
+
*/
|
|
100
|
+
PASSENGER = 1,
|
|
101
|
+
/**
|
|
102
|
+
* @generated from enum value: ROUTE_TARGET_TYPE_DRIVER = 2;
|
|
103
|
+
*/
|
|
104
|
+
DRIVER = 2
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* Describes the enum caronashow.poc.v1.RouteTargetType.
|
|
108
|
+
*/
|
|
109
|
+
export declare const RouteTargetTypeSchema: GenEnum<RouteTargetType>;
|