@vulog/aima-booking 1.2.30 → 1.2.31

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/index.d.mts CHANGED
@@ -1,348 +1,362 @@
1
- import { Client } from '@vulog/aima-client';
2
- import { PaginableOptions, PaginableResponse } from '@vulog/aima-core';
3
- import z$1, { z } from 'zod';
4
- import { UUID } from 'crypto';
1
+ import { PaginableOptions, PaginableResponse } from "@vulog/aima-core";
2
+ import z$1, { z } from "zod";
3
+ import { Client } from "@vulog/aima-client";
4
+ import { UUID } from "crypto";
5
5
 
6
+ //#region src/types.d.ts
6
7
  type PaymentReceipts = {
7
- id: string;
8
- pspName: string;
9
- pspReference: string;
10
- amount: number;
11
- currency: string;
12
- date: string;
13
- status: string;
14
- paymentMethodType: string;
15
- paymentIntentPspReference?: string;
16
- number: number;
17
- metadatas: {
18
- scope: string;
19
- };
8
+ id: string;
9
+ pspName: string;
10
+ pspReference: string;
11
+ amount: number;
12
+ currency: string;
13
+ date: string;
14
+ status: string;
15
+ paymentMethodType: string;
16
+ paymentIntentPspReference?: string;
17
+ number: number;
18
+ metadatas: {
19
+ scope: string;
20
+ };
20
21
  };
21
22
  /** Payment intent or receipt item as returned by trigger BR payment (and similar payment endpoints). */
22
23
  type BRPaymentItem = {
23
- id: string;
24
- pspName: string;
25
- pspReference: string;
26
- pspPublishableKey: string;
27
- amount: number;
28
- currency: string;
29
- date: string;
30
- captureBefore: string;
31
- status: string;
32
- paymentMethodType: string;
33
- paymentMethodPspReference: string;
34
- paymentIntentPspReference: string;
35
- number: number;
36
- code?: string;
37
- declineCode?: string;
38
- pspClientSecret?: string;
39
- reason?: string;
40
- note?: string;
41
- nextAction?: {
42
- nextActionRedirectUrl: {
43
- url: string;
44
- method: string;
45
- data: Record<string, string>;
46
- };
47
- type: string;
24
+ id: string;
25
+ pspName: string;
26
+ pspReference: string;
27
+ pspPublishableKey: string;
28
+ amount: number;
29
+ currency: string;
30
+ date: string;
31
+ captureBefore: string;
32
+ status: string;
33
+ paymentMethodType: string;
34
+ paymentMethodPspReference: string;
35
+ paymentIntentPspReference: string;
36
+ number: number;
37
+ code?: string;
38
+ declineCode?: string;
39
+ pspClientSecret?: string;
40
+ reason?: string;
41
+ note?: string;
42
+ nextAction?: {
43
+ nextActionRedirectUrl: {
44
+ url: string;
45
+ method: string;
46
+ data: Record<string, string>;
48
47
  };
49
- metadatas: Record<string, string>;
48
+ type: string;
49
+ };
50
+ metadatas: Record<string, string>;
50
51
  };
51
52
  /** Credit entry in a booking request (e.g. trigger BR payment response). */
52
53
  type BookingCredit = {
53
- id: string;
54
- fleetId: string;
55
- amount: number;
56
- availableAmount: number;
57
- status: string;
58
- walletId: string;
59
- date: string;
54
+ id: string;
55
+ fleetId: string;
56
+ amount: number;
57
+ availableAmount: number;
58
+ status: string;
59
+ walletId: string;
60
+ date: string;
60
61
  };
61
62
  /** Preferred payment method entry in request/response. */
62
63
  type PreferredPaymentMethod = {
63
- pspReference: string;
64
- amount: number;
64
+ pspReference: string;
65
+ amount: number;
65
66
  };
66
67
  type CustomPrice = {
67
- id: string;
68
- fleetId: string;
69
- type: 'CUSTOM_FIXED_PRICE' | 'EXTENDED_FIXED_PRICE';
70
- amount: number;
71
- reason: string;
72
- pricingReferenceId: string | null;
68
+ id: string;
69
+ fleetId: string;
70
+ type: 'CUSTOM_FIXED_PRICE' | 'EXTENDED_FIXED_PRICE';
71
+ amount: number;
72
+ reason: string;
73
+ pricingReferenceId: string | null;
73
74
  };
74
75
  type BaseBookingRequest = {
75
- bookingReferenceId?: string;
76
- cityId: string;
77
- completed: boolean;
78
- contractType?: string;
79
- creationDate: string;
80
- customPrice: CustomPrice | null;
81
- deliveryAddress?: string;
82
- deliveryAddressAdditionalInfo?: string;
83
- deliveryCity?: string;
84
- deliveryPostalCode?: string;
85
- dropOffStation?: string;
86
- fleetId: string;
87
- id: string;
88
- notes?: string;
89
- planDurationInMonths?: number;
90
- plannedReturnDate?: string;
91
- pricingDetails: {
92
- pricingId: string;
93
- providerType: string;
94
- }[];
95
- productIds: string[];
96
- profileId: string;
97
- rollingContract: boolean;
98
- serviceId: string;
99
- startDate: string;
100
- status: string;
101
- userId: string;
76
+ bookingReferenceId?: string;
77
+ cityId: string;
78
+ completed: boolean;
79
+ contractType?: string;
80
+ creationDate: string;
81
+ customPrice: CustomPrice | null;
82
+ deliveryAddress?: string;
83
+ deliveryAddressAdditionalInfo?: string;
84
+ deliveryCity?: string;
85
+ deliveryPostalCode?: string;
86
+ dropOffStation?: string;
87
+ fleetId: string;
88
+ id: string;
89
+ notes?: string;
90
+ planDurationInMonths?: number;
91
+ plannedReturnDate?: string;
92
+ pricingDetails: {
93
+ pricingId: string;
94
+ providerType: string;
95
+ }[];
96
+ productIds: string[];
97
+ profileId: string;
98
+ rollingContract: boolean;
99
+ serviceId: string;
100
+ startDate: string;
101
+ status: string;
102
+ userId: string;
102
103
  };
103
104
  type BookingRequest = BaseBookingRequest & {
104
- [key: string]: any;
105
- cancellationDate?: string;
106
- cancelledBy?: string;
107
- credit?: string;
108
- endDate: string;
109
- entityName?: string;
110
- journeyId?: string;
111
- modelId: number;
112
- modelName?: string;
113
- paymentReceipts?: PaymentReceipts[];
114
- pricePerUnit?: string;
115
- profileType?: 'Single' | 'Business';
116
- realStartDate?: string;
117
- returnedDate?: string;
118
- station: string;
119
- vehicleId?: string;
120
- vehicleResidualValue?: number;
121
- warning?: string;
105
+ [key: string]: any;
106
+ cancellationDate?: string;
107
+ cancelledBy?: string;
108
+ credit?: string;
109
+ endDate: string;
110
+ entityName?: string;
111
+ journeyId?: string;
112
+ modelId: number;
113
+ modelName?: string;
114
+ paymentReceipts?: PaymentReceipts[];
115
+ pricePerUnit?: string;
116
+ profileType?: 'Single' | 'Business';
117
+ realStartDate?: string;
118
+ returnedDate?: string;
119
+ station: string;
120
+ vehicleId?: string;
121
+ vehicleResidualValue?: number;
122
+ warning?: string;
122
123
  };
123
124
  type SATBookingRequest = BaseBookingRequest & {
124
- cancellationDate: string | null;
125
- cancelledBy: string | null;
126
- endDate: string | null;
127
- entityName: string | null;
128
- journeyId: string | null;
129
- modelId: number | null;
130
- profileType: string | null;
131
- realStartDate: string | null;
132
- returnedDate: string | null;
133
- station: string | null;
134
- vehicleId: string | null;
135
- cancellationFeeAmount: number | null;
136
- credits: string | null;
137
- earlyCancelledByUser: boolean;
138
- email: string | null;
139
- failureReason: string | null;
140
- latitude: number;
141
- longitude: number;
142
- parentId: string | null;
143
- planName: string | null;
144
- preallocatedVehicleId: string | null;
145
- previous: any | null;
146
- price: any | null;
147
- radius: number;
148
- requiresActionReturnURL: string | null;
149
- thresholdDateLimit: string | null;
150
- trip: any | null;
151
- warning: string | null;
125
+ cancellationDate: string | null;
126
+ cancelledBy: string | null;
127
+ endDate: string | null;
128
+ entityName: string | null;
129
+ journeyId: string | null;
130
+ modelId: number | null;
131
+ profileType: string | null;
132
+ realStartDate: string | null;
133
+ returnedDate: string | null;
134
+ station: string | null;
135
+ vehicleId: string | null;
136
+ cancellationFeeAmount: number | null;
137
+ credits: string | null;
138
+ earlyCancelledByUser: boolean;
139
+ email: string | null;
140
+ failureReason: string | null;
141
+ latitude: number;
142
+ longitude: number;
143
+ parentId: string | null;
144
+ planName: string | null;
145
+ preallocatedVehicleId: string | null;
146
+ previous: any | null;
147
+ price: any | null;
148
+ radius: number;
149
+ requiresActionReturnURL: string | null;
150
+ thresholdDateLimit: string | null;
151
+ trip: any | null;
152
+ warning: string | null;
152
153
  };
153
154
  /** Response of the trigger BR payment endpoint (booking request + payment intents/receipts). */
154
155
  type TriggerBRPaymentResponse = Omit<SATBookingRequest, 'credits'> & {
155
- paymentIntents: BRPaymentItem[];
156
- paymentReceipts: BRPaymentItem[];
157
- credits: BookingCredit[];
158
- preferredPaymentMethods?: PreferredPaymentMethod[];
156
+ paymentIntents: BRPaymentItem[];
157
+ paymentReceipts: BRPaymentItem[];
158
+ credits: BookingCredit[];
159
+ preferredPaymentMethods?: PreferredPaymentMethod[];
159
160
  };
160
161
  type GeoInfo = {
161
- name: string;
162
- coordinates: {
163
- latitude: number;
164
- longitude: number;
165
- };
166
- geoProperties: {
167
- [key: string]: any;
168
- };
162
+ name: string;
163
+ coordinates: {
164
+ latitude: number;
165
+ longitude: number;
166
+ };
167
+ geoProperties: {
168
+ [key: string]: any;
169
+ };
169
170
  };
170
171
  type Service = {
171
- id: string;
172
- models: {
173
- id: number;
174
- vehicles: string[];
175
- }[];
172
+ id: string;
173
+ models: {
174
+ id: number;
175
+ vehicles: string[];
176
+ }[];
176
177
  };
177
178
  type ServiceInfo = {
178
- services: Service[];
179
+ services: Service[];
179
180
  };
180
181
  type Days = 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' | 'SUNDAY';
181
182
  type DayOpeningHours = {
182
- id: number;
183
- closed: boolean;
184
- openAt: string;
185
- closeAt: string;
183
+ id: number;
184
+ closed: boolean;
185
+ openAt: string;
186
+ closeAt: string;
186
187
  };
187
188
  type Timetable = Record<Days, DayOpeningHours[]>;
188
189
  type OpeningHours = {
189
- alwaysOpen: boolean;
190
- timetable: Timetable;
190
+ alwaysOpen: boolean;
191
+ timetable: Timetable;
191
192
  };
192
193
  type Station = Partial<GeoInfo> & Partial<ServiceInfo> & {
193
- id: string;
194
- zoneId: string;
195
- poiId: string;
196
- modificationDate: string;
197
- fleetId: string;
198
- openingHours?: OpeningHours;
199
- [key: string]: any;
194
+ id: string;
195
+ zoneId: string;
196
+ poiId: string;
197
+ modificationDate: string;
198
+ fleetId: string;
199
+ openingHours?: OpeningHours;
200
+ [key: string]: any;
200
201
  };
201
202
  /** Vehicle as returned by the available vehicles endpoint. */
202
203
  type Vehicle = {
203
- vehicleId: string;
204
- [key: string]: unknown;
204
+ vehicleId: string;
205
+ [key: string]: unknown;
205
206
  };
206
207
  /** Response of the subscription stations vehicles/available endpoint. */
207
208
  type AvailableVehiclesResponse = {
208
- stationId: string;
209
- vehicles: Vehicle[];
209
+ stationId: string;
210
+ vehicles: Vehicle[];
210
211
  };
211
-
212
+ //#endregion
213
+ //#region src/getBookingRequests.d.ts
212
214
  declare const BookingRequestStatusSchema: z.ZodEnum<["ALERT", "UPCOMING", "ONGOING", "COMPLETED", "CANCELLED", "PENDING_APPROVAL", "CONFIRMED", "PENDING", "LATE"]>;
213
215
  type BookingRequestStatus = z.infer<typeof BookingRequestStatusSchema>;
214
216
  declare const ServiceTypeSchema: z.ZodEnum<["SUBSCRIPTION", "ROUND_TRIP_BOOKING", "SCHEDULED_BOOKING_STATION"]>;
215
217
  type ServiceType = z.infer<typeof ServiceTypeSchema>;
216
218
  type SpecificBookingRequestFilters = {
217
- serviceIds?: string[];
218
- userId?: string;
219
- modelId?: number;
220
- vehicleId?: string;
221
- stationId?: string;
222
- /**
223
- * Format: yyyy-MM-dd
224
- */
225
- creationDate?: string;
226
- /**
227
- * Format: yyyy-MM-dd'T'HH:mm:ssZ
228
- * default now
229
- */
230
- startDate?: string;
231
- /**
232
- * Format: yyyy-MM-dd'T'HH:mm:ssZ
233
- * default now plus 2 months
234
- */
235
- endDate?: string;
236
- includeProducts?: 'true' | 'false';
219
+ serviceIds?: string[];
220
+ userId?: string;
221
+ modelId?: number;
222
+ vehicleId?: string;
223
+ stationId?: string;
224
+ /**
225
+ * Format: yyyy-MM-dd
226
+ */
227
+ creationDate?: string;
228
+ /**
229
+ * Format: yyyy-MM-dd'T'HH:mm:ssZ
230
+ * default now
231
+ */
232
+ startDate?: string;
233
+ /**
234
+ * Format: yyyy-MM-dd'T'HH:mm:ssZ
235
+ * default now plus 2 months
236
+ */
237
+ endDate?: string;
238
+ includeProducts?: 'true' | 'false';
237
239
  };
238
240
  type BookingRequestFilters = SpecificBookingRequestFilters & {
239
- serviceTypes?: ServiceType[];
241
+ serviceTypes?: ServiceType[];
240
242
  };
241
243
  declare const getBookingRequests: (client: Client, status: BookingRequestStatus, options?: PaginableOptions<BookingRequestFilters>) => Promise<PaginableResponse<BookingRequest>>;
242
244
  declare const getScheduleBookingRequests: (client: Client, status: BookingRequestStatus, options?: PaginableOptions<SpecificBookingRequestFilters>) => Promise<PaginableResponse<BookingRequest>>;
243
245
  declare const getSubscriptionBookingRequests: (client: Client, status: BookingRequestStatus, options?: PaginableOptions<SpecificBookingRequestFilters>) => Promise<PaginableResponse<BookingRequest>>;
244
-
246
+ //#endregion
247
+ //#region src/getSATBookingRequests.d.ts
245
248
  declare const SATBookingRequestStatusSchema: z.ZodEnum<["ALERT", "CANCELLED", "COMPLETED", "CONFIRMED", "LATE_RETURN", "ONGOING", "PENDING_PAYMENT", "PENDING", "UPCOMING_ALLOCATED", "UPCOMING_NOT_ALLOCATED"]>;
246
249
  type SATBookingRequestStatus = z.infer<typeof SATBookingRequestStatusSchema>;
247
250
  declare const getSATBookingRequests: (client: Client, status: SATBookingRequestStatus, options?: PaginableOptions<void, keyof SATBookingRequest>) => Promise<PaginableResponse<SATBookingRequest>>;
248
-
251
+ //#endregion
252
+ //#region src/getBookingRequest.d.ts
249
253
  declare const getBookingRequestById: (client: Client, id: string) => Promise<BookingRequest>;
250
254
  declare const getBookingRequestByTrip: (client: Client, tripId: string) => Promise<BookingRequest>;
251
255
  declare const getSubscriptionBookingRequestById: (client: Client, id: string) => Promise<BookingRequest>;
252
-
256
+ //#endregion
257
+ //#region src/getAvailableVehicles.d.ts
253
258
  declare const getAvailableVehicles: (client: Client, stationId: string, startDate: string) => Promise<AvailableVehiclesResponse>;
254
-
259
+ //#endregion
260
+ //#region src/getStations.d.ts
255
261
  declare const IncludeSchema$1: z.ZodEnum<["INFO", "OPEN_HOUR", "SERVICES"]>;
256
262
  type Include = z.infer<typeof IncludeSchema$1>;
257
263
  declare const getStations: (client: Client, includes?: Include[]) => Promise<Station[]>;
258
-
264
+ //#endregion
265
+ //#region src/getStation.d.ts
259
266
  declare const IncludeSchema: z.ZodEnum<["INFO", "SERVICES"]>;
260
267
  type IncludeStation = z.infer<typeof IncludeSchema>;
261
268
  declare const getStationById: (client: Client, id: string, includes?: IncludeStation[]) => Promise<Station | null>;
262
-
269
+ //#endregion
270
+ //#region src/allocateVehicle.d.ts
263
271
  declare const allocateVehicle: (client: Client, bookingRequestId: UUID, vehicleId: UUID, serviceId: UUID) => Promise<SATBookingRequest>;
264
-
272
+ //#endregion
273
+ //#region src/deallocateVehicle.d.ts
265
274
  declare const deallocateVehicle: (client: Client, bookingRequestId: UUID, vehicleId: UUID) => Promise<SATBookingRequest>;
266
-
275
+ //#endregion
276
+ //#region src/updateScheduleBooking.d.ts
267
277
  declare const updateScheduleBooking: (client: Client, bookingRequestId: string, updateData: Record<string, unknown>) => Promise<SATBookingRequest>;
268
-
278
+ //#endregion
279
+ //#region src/triggerBRPayment.d.ts
269
280
  declare const triggerBRPaymentSchema: z$1.ZodObject<{
270
- bookingRequestId: z$1.ZodString;
271
- body: z$1.ZodObject<{
272
- scope: z$1.ZodEnum<["RENTAL", "DEPOSIT"]>;
273
- requiresActionReturnURL: z$1.ZodOptional<z$1.ZodString>;
274
- online: z$1.ZodBoolean;
275
- amountType: z$1.ZodEnum<["FIXED", "PERCENTAGE"]>;
276
- amountValue: z$1.ZodNumber;
277
- preferredPaymentMethods: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
278
- pspReference: z$1.ZodString;
279
- amount: z$1.ZodDefault<z$1.ZodNumber>;
280
- }, "strip", z$1.ZodTypeAny, {
281
- pspReference: string;
282
- amount: number;
283
- }, {
284
- pspReference: string;
285
- amount?: number | undefined;
286
- }>, "many">>;
287
- profileId: z$1.ZodString;
281
+ bookingRequestId: z$1.ZodString;
282
+ body: z$1.ZodObject<{
283
+ scope: z$1.ZodEnum<["RENTAL", "DEPOSIT"]>;
284
+ requiresActionReturnURL: z$1.ZodOptional<z$1.ZodString>;
285
+ online: z$1.ZodBoolean;
286
+ amountType: z$1.ZodEnum<["FIXED", "PERCENTAGE"]>;
287
+ amountValue: z$1.ZodNumber;
288
+ preferredPaymentMethods: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
289
+ pspReference: z$1.ZodString;
290
+ amount: z$1.ZodDefault<z$1.ZodNumber>;
288
291
  }, "strip", z$1.ZodTypeAny, {
289
- profileId: string;
290
- scope: "RENTAL" | "DEPOSIT";
291
- online: boolean;
292
- amountType: "FIXED" | "PERCENTAGE";
293
- amountValue: number;
294
- requiresActionReturnURL?: string | undefined;
295
- preferredPaymentMethods?: {
296
- pspReference: string;
297
- amount: number;
298
- }[] | undefined;
292
+ pspReference: string;
293
+ amount: number;
299
294
  }, {
300
- profileId: string;
301
- scope: "RENTAL" | "DEPOSIT";
302
- online: boolean;
303
- amountType: "FIXED" | "PERCENTAGE";
304
- amountValue: number;
305
- requiresActionReturnURL?: string | undefined;
306
- preferredPaymentMethods?: {
307
- pspReference: string;
308
- amount?: number | undefined;
309
- }[] | undefined;
310
- }>;
295
+ pspReference: string;
296
+ amount?: number | undefined;
297
+ }>, "many">>;
298
+ profileId: z$1.ZodString;
299
+ }, "strip", z$1.ZodTypeAny, {
300
+ scope: "RENTAL" | "DEPOSIT";
301
+ online: boolean;
302
+ amountType: "FIXED" | "PERCENTAGE";
303
+ amountValue: number;
304
+ profileId: string;
305
+ requiresActionReturnURL?: string | undefined;
306
+ preferredPaymentMethods?: {
307
+ pspReference: string;
308
+ amount: number;
309
+ }[] | undefined;
310
+ }, {
311
+ scope: "RENTAL" | "DEPOSIT";
312
+ online: boolean;
313
+ amountType: "FIXED" | "PERCENTAGE";
314
+ amountValue: number;
315
+ profileId: string;
316
+ requiresActionReturnURL?: string | undefined;
317
+ preferredPaymentMethods?: {
318
+ pspReference: string;
319
+ amount?: number | undefined;
320
+ }[] | undefined;
321
+ }>;
311
322
  }, "strip", z$1.ZodTypeAny, {
312
- body: {
313
- profileId: string;
314
- scope: "RENTAL" | "DEPOSIT";
315
- online: boolean;
316
- amountType: "FIXED" | "PERCENTAGE";
317
- amountValue: number;
318
- requiresActionReturnURL?: string | undefined;
319
- preferredPaymentMethods?: {
320
- pspReference: string;
321
- amount: number;
322
- }[] | undefined;
323
- };
324
- bookingRequestId: string;
323
+ bookingRequestId: string;
324
+ body: {
325
+ scope: "RENTAL" | "DEPOSIT";
326
+ online: boolean;
327
+ amountType: "FIXED" | "PERCENTAGE";
328
+ amountValue: number;
329
+ profileId: string;
330
+ requiresActionReturnURL?: string | undefined;
331
+ preferredPaymentMethods?: {
332
+ pspReference: string;
333
+ amount: number;
334
+ }[] | undefined;
335
+ };
325
336
  }, {
326
- body: {
327
- profileId: string;
328
- scope: "RENTAL" | "DEPOSIT";
329
- online: boolean;
330
- amountType: "FIXED" | "PERCENTAGE";
331
- amountValue: number;
332
- requiresActionReturnURL?: string | undefined;
333
- preferredPaymentMethods?: {
334
- pspReference: string;
335
- amount?: number | undefined;
336
- }[] | undefined;
337
- };
338
- bookingRequestId: string;
337
+ bookingRequestId: string;
338
+ body: {
339
+ scope: "RENTAL" | "DEPOSIT";
340
+ online: boolean;
341
+ amountType: "FIXED" | "PERCENTAGE";
342
+ amountValue: number;
343
+ profileId: string;
344
+ requiresActionReturnURL?: string | undefined;
345
+ preferredPaymentMethods?: {
346
+ pspReference: string;
347
+ amount?: number | undefined;
348
+ }[] | undefined;
349
+ };
339
350
  }>;
340
351
  declare const triggerBRPayment: (client: Client, bookingRequestId: UUID, body: z$1.infer<typeof triggerBRPaymentSchema>["body"]) => Promise<TriggerBRPaymentResponse>;
341
-
352
+ //#endregion
353
+ //#region src/getBookingRequestsByUserId.d.ts
342
354
  declare const getBookingRequestsByUserId: (client: Client, userId: string) => Promise<BookingRequest[]>;
343
-
355
+ //#endregion
356
+ //#region src/releaseBRPayment.d.ts
344
357
  declare const releaseBRPayment: (client: Client, bookingRequestId: UUID, pspReference: string) => Promise<SATBookingRequest>;
345
-
358
+ //#endregion
359
+ //#region src/cancelBookingRequest.d.ts
346
360
  declare const cancelBookingRequest: (client: Client, id: string) => Promise<SATBookingRequest>;
347
-
348
- export { type AvailableVehiclesResponse, type BRPaymentItem, type BaseBookingRequest, type BookingCredit, type BookingRequest, type BookingRequestFilters, type BookingRequestStatus, type CustomPrice, type DayOpeningHours, type Days, type GeoInfo, type Include, type IncludeStation, type OpeningHours, type PaymentReceipts, type PreferredPaymentMethod, type SATBookingRequest, type SATBookingRequestStatus, type Service, type ServiceInfo, type ServiceType, type Station, type Timetable, type TriggerBRPaymentResponse, type Vehicle, allocateVehicle, cancelBookingRequest, deallocateVehicle, getAvailableVehicles, getBookingRequestById, getBookingRequestByTrip, getBookingRequests, getBookingRequestsByUserId, getSATBookingRequests, getScheduleBookingRequests, getStationById, getStations, getSubscriptionBookingRequestById, getSubscriptionBookingRequests, releaseBRPayment, triggerBRPayment, updateScheduleBooking };
361
+ //#endregion
362
+ export { AvailableVehiclesResponse, BRPaymentItem, BaseBookingRequest, BookingCredit, BookingRequest, type BookingRequestFilters, type BookingRequestStatus, CustomPrice, DayOpeningHours, Days, GeoInfo, type Include, type IncludeStation, OpeningHours, PaymentReceipts, PreferredPaymentMethod, SATBookingRequest, type SATBookingRequestStatus, Service, ServiceInfo, type ServiceType, Station, Timetable, TriggerBRPaymentResponse, Vehicle, allocateVehicle, cancelBookingRequest, deallocateVehicle, getAvailableVehicles, getBookingRequestById, getBookingRequestByTrip, getBookingRequests, getBookingRequestsByUserId, getSATBookingRequests, getScheduleBookingRequests, getStationById, getStations, getSubscriptionBookingRequestById, getSubscriptionBookingRequests, releaseBRPayment, triggerBRPayment, updateScheduleBooking };