@ferryrsvp/liknoss-client 1.0.3

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.
@@ -0,0 +1,3085 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+ export interface paths {
6
+ "/web-services/v200/b2c/locations-with-filter": {
7
+ parameters: {
8
+ query?: never;
9
+ header?: never;
10
+ path?: never;
11
+ cookie?: never;
12
+ };
13
+ /** The method is used to search within the locations. Search can be performed on the Location Code, the Location Description and and Country Code. A full match is required for any of these fields. */
14
+ get: operations["doLocationsFilter"];
15
+ put?: never;
16
+ post?: never;
17
+ delete?: never;
18
+ options?: never;
19
+ head?: never;
20
+ patch?: never;
21
+ trace?: never;
22
+ };
23
+ "/web-services/v200/b2c/trips": {
24
+ parameters: {
25
+ query?: never;
26
+ header?: never;
27
+ path?: never;
28
+ cookie?: never;
29
+ };
30
+ get?: never;
31
+ put?: never;
32
+ /** This method provides with trips for specific criteria. The criteria entity is called “Time table” request. */
33
+ post: operations["doTrips"];
34
+ delete?: never;
35
+ options?: never;
36
+ head?: never;
37
+ patch?: never;
38
+ trace?: never;
39
+ };
40
+ "/web-services/v200/b2c/list-of-trips": {
41
+ parameters: {
42
+ query?: never;
43
+ header?: never;
44
+ path?: never;
45
+ cookie?: never;
46
+ };
47
+ get?: never;
48
+ put?: never;
49
+ /** This method provides with list of trips for specific criteria. The criteria entity is called “Time table” request. */
50
+ post: operations["doTrips_1"];
51
+ delete?: never;
52
+ options?: never;
53
+ head?: never;
54
+ patch?: never;
55
+ trace?: never;
56
+ };
57
+ "/web-services/v200/b2c/insurance-retrieve": {
58
+ parameters: {
59
+ query?: never;
60
+ header?: never;
61
+ path?: never;
62
+ cookie?: never;
63
+ };
64
+ get?: never;
65
+ put?: never;
66
+ /** This method retrieves the bought insurance */
67
+ post: operations["doInsuranceRetrieve"];
68
+ delete?: never;
69
+ options?: never;
70
+ head?: never;
71
+ patch?: never;
72
+ trace?: never;
73
+ };
74
+ "/web-services/v200/b2c/routes-with-filter": {
75
+ parameters: {
76
+ query?: never;
77
+ header?: never;
78
+ path?: never;
79
+ cookie?: never;
80
+ };
81
+ /** This method fetches all the possible routes from a selected Origin. The Origin is given in the SearchText parameter and can be either the Location Code or Description. The response of the method, is a list of “Transportation” entities, in JSON format. */
82
+ get: operations["doRoutesFilter"];
83
+ put?: never;
84
+ post?: never;
85
+ delete?: never;
86
+ options?: never;
87
+ head?: never;
88
+ patch?: never;
89
+ trace?: never;
90
+ };
91
+ "/web-services/v200/b2c/locations": {
92
+ parameters: {
93
+ query?: never;
94
+ header?: never;
95
+ path?: never;
96
+ cookie?: never;
97
+ };
98
+ /** The response of the method, contains two lists of “Area” entities, in JSON format. The structure of the entity can be found on the table, below. */
99
+ get: operations["doLocations"];
100
+ put?: never;
101
+ post?: never;
102
+ delete?: never;
103
+ options?: never;
104
+ head?: never;
105
+ patch?: never;
106
+ trace?: never;
107
+ };
108
+ "/web-services/v200/b2c/analytic-routes": {
109
+ parameters: {
110
+ query?: never;
111
+ header?: never;
112
+ path?: never;
113
+ cookie?: never;
114
+ };
115
+ /** This method fetches all the possible routes for each transportation type. Specifically for the bus transportation part, data fetched include only those bus operators, who support this functionality. The integrators should contact Liknoss about the companies that support the functionality. The response of the method, is a list of “Transportation” entities, in JSON format. */
116
+ get: operations["doAnalyticRoutes"];
117
+ put?: never;
118
+ post?: never;
119
+ delete?: never;
120
+ options?: never;
121
+ head?: never;
122
+ patch?: never;
123
+ trace?: never;
124
+ };
125
+ "/web-services/v200/b2c/session": {
126
+ parameters: {
127
+ query?: never;
128
+ header?: never;
129
+ path?: never;
130
+ cookie?: never;
131
+ };
132
+ /** The method is used to get a user's session or create a new one */
133
+ get: operations["doSession"];
134
+ put?: never;
135
+ post?: never;
136
+ delete?: never;
137
+ options?: never;
138
+ head?: never;
139
+ patch?: never;
140
+ trace?: never;
141
+ };
142
+ "/web-services/v200/b2c/trips-with-conjunction": {
143
+ parameters: {
144
+ query?: never;
145
+ header?: never;
146
+ path?: never;
147
+ cookie?: never;
148
+ };
149
+ get?: never;
150
+ put?: never;
151
+ /** This method provides trips on combined itineraries. */
152
+ post: operations["doTripWithConjunction"];
153
+ delete?: never;
154
+ options?: never;
155
+ head?: never;
156
+ patch?: never;
157
+ trace?: never;
158
+ };
159
+ "/web-services/v200/b2c/validate-resident-data": {
160
+ parameters: {
161
+ query?: never;
162
+ header?: never;
163
+ path?: never;
164
+ cookie?: never;
165
+ };
166
+ get?: never;
167
+ put?: never;
168
+ /** This method Validate resident MAN code */
169
+ post: operations["doValidateResidentMethod"];
170
+ delete?: never;
171
+ options?: never;
172
+ head?: never;
173
+ patch?: never;
174
+ trace?: never;
175
+ };
176
+ "/web-services/v200/b2c/company-redirection": {
177
+ parameters: {
178
+ query?: never;
179
+ header?: never;
180
+ path?: never;
181
+ cookie?: never;
182
+ };
183
+ /** This method shows the available redirection options */
184
+ get: operations["doCompanyRedirectionMethod"];
185
+ put?: never;
186
+ post?: never;
187
+ delete?: never;
188
+ options?: never;
189
+ head?: never;
190
+ patch?: never;
191
+ trace?: never;
192
+ };
193
+ "/web-services/v200/b2c/insurance-offer": {
194
+ parameters: {
195
+ query?: never;
196
+ header?: never;
197
+ path?: never;
198
+ cookie?: never;
199
+ };
200
+ get?: never;
201
+ put?: never;
202
+ /** This method requests an insurance offer for the booking */
203
+ post: operations["doInsuranceOffer"];
204
+ delete?: never;
205
+ options?: never;
206
+ head?: never;
207
+ patch?: never;
208
+ trace?: never;
209
+ };
210
+ "/web-services/v200/b2c/multi-pricing": {
211
+ parameters: {
212
+ query?: never;
213
+ header?: never;
214
+ path?: never;
215
+ cookie?: never;
216
+ };
217
+ get?: never;
218
+ put?: never;
219
+ /** This method provides pricing for a specific quote. The criteria entity is called “Pricing request”. */
220
+ post: operations["doMultiPrices"];
221
+ delete?: never;
222
+ options?: never;
223
+ head?: never;
224
+ patch?: never;
225
+ trace?: never;
226
+ };
227
+ "/web-services/v200/b2c/trips-per-day": {
228
+ parameters: {
229
+ query?: never;
230
+ header?: never;
231
+ path?: never;
232
+ cookie?: never;
233
+ };
234
+ get?: never;
235
+ put?: never;
236
+ /** This method provides with timetable data grouped by day. Field “daysToSearch” stores the number of days to search prior and after “departureDate”. The entity used, for posting data, is “Time table”, in JSON format. This method does not fetch availability data and route analysis. */
237
+ post: operations["doTripsPerDay"];
238
+ delete?: never;
239
+ options?: never;
240
+ head?: never;
241
+ patch?: never;
242
+ trace?: never;
243
+ };
244
+ "/web-services/v200/b2c/pricing": {
245
+ parameters: {
246
+ query?: never;
247
+ header?: never;
248
+ path?: never;
249
+ cookie?: never;
250
+ };
251
+ get?: never;
252
+ put?: never;
253
+ /** This method provides pricing for a specific quote. The criteria entity is called “Pricing request”. */
254
+ post: operations["doPrices"];
255
+ delete?: never;
256
+ options?: never;
257
+ head?: never;
258
+ patch?: never;
259
+ trace?: never;
260
+ };
261
+ "/web-services/v200/b2c/booking": {
262
+ parameters: {
263
+ query?: never;
264
+ header?: never;
265
+ path?: never;
266
+ cookie?: never;
267
+ };
268
+ get?: never;
269
+ put?: never;
270
+ /** This method books a specific quote. The criteria entity is called “Booking request”. The structure of the entity can be found on the table, below. */
271
+ post: operations["doFinalizeBooking"];
272
+ delete?: never;
273
+ options?: never;
274
+ head?: never;
275
+ patch?: never;
276
+ trace?: never;
277
+ };
278
+ "/web-services/v200/b2c/booking-identifier": {
279
+ parameters: {
280
+ query?: never;
281
+ header?: never;
282
+ path?: never;
283
+ cookie?: never;
284
+ };
285
+ get?: never;
286
+ put?: never;
287
+ /** This method creates a booking identifier, useful for tracing the booking */
288
+ post: operations["doCreateBookingIdentifier"];
289
+ delete?: never;
290
+ options?: never;
291
+ head?: never;
292
+ patch?: never;
293
+ trace?: never;
294
+ };
295
+ "/web-services/v200/b2c/financial-data/{company_abbreviation}": {
296
+ parameters: {
297
+ query?: never;
298
+ header?: never;
299
+ path?: never;
300
+ cookie?: never;
301
+ };
302
+ /** The method responds with agency's financial data at a specific company */
303
+ get: operations["doCompanyFinancialDetails"];
304
+ put?: never;
305
+ post?: never;
306
+ delete?: never;
307
+ options?: never;
308
+ head?: never;
309
+ patch?: never;
310
+ trace?: never;
311
+ };
312
+ "/web-services/v200/b2c/countries": {
313
+ parameters: {
314
+ query?: never;
315
+ header?: never;
316
+ path?: never;
317
+ cookie?: never;
318
+ };
319
+ /** The method responds with the list of countries. It can be used for filling nationality combos. */
320
+ get: operations["doCountries"];
321
+ put?: never;
322
+ post?: never;
323
+ delete?: never;
324
+ options?: never;
325
+ head?: never;
326
+ patch?: never;
327
+ trace?: never;
328
+ };
329
+ "/web-services/v200/b2c/resident-static-data": {
330
+ parameters: {
331
+ query?: never;
332
+ header?: never;
333
+ path?: never;
334
+ cookie?: never;
335
+ };
336
+ /** The method responds with the list of cities and identity types of specific residents. It can be used for filling combos for resident type discounts. */
337
+ get: operations["doResidentStaticData"];
338
+ put?: never;
339
+ post?: never;
340
+ delete?: never;
341
+ options?: never;
342
+ head?: never;
343
+ patch?: never;
344
+ trace?: never;
345
+ };
346
+ "/web-services/v200/b2c/availability": {
347
+ parameters: {
348
+ query?: never;
349
+ header?: never;
350
+ path?: never;
351
+ cookie?: never;
352
+ };
353
+ get?: never;
354
+ put?: never;
355
+ /** This method provides a trip with availability. You can optionally fetch intermediary stops and extra services */
356
+ post: operations["doAvailability"];
357
+ delete?: never;
358
+ options?: never;
359
+ head?: never;
360
+ patch?: never;
361
+ trace?: never;
362
+ };
363
+ "/web-services/v200/b2c/simple-trips": {
364
+ parameters: {
365
+ query?: never;
366
+ header?: never;
367
+ path?: never;
368
+ cookie?: never;
369
+ };
370
+ get?: never;
371
+ put?: never;
372
+ /** This method provides with trips for specific criteria. The criteria entity is called “Time table” request. */
373
+ post: operations["doSimpleTrips"];
374
+ delete?: never;
375
+ options?: never;
376
+ head?: never;
377
+ patch?: never;
378
+ trace?: never;
379
+ };
380
+ "/web-services/v200/b2c/cancellation/{crs_reservation_id}": {
381
+ parameters: {
382
+ query?: never;
383
+ header?: never;
384
+ path?: never;
385
+ cookie?: never;
386
+ };
387
+ /** This method is used for cancelling a previously ticketed booking. The cancellation is done in one step by applying Liknoss’ unique identification number. The method responds with “Cancellation response” entity. */
388
+ get: operations["doCancellation"];
389
+ put?: never;
390
+ post?: never;
391
+ delete?: never;
392
+ options?: never;
393
+ head?: never;
394
+ patch?: never;
395
+ trace?: never;
396
+ };
397
+ "/web-services/v200/b2c/route-frequency": {
398
+ parameters: {
399
+ query?: never;
400
+ header?: never;
401
+ path?: never;
402
+ cookie?: never;
403
+ };
404
+ get?: never;
405
+ put?: never;
406
+ /** This method is used to fetch the dates of trip execution, starting from the current date. The criteria entity is called “Route frequency request”. */
407
+ post: operations["doRouteFrequencies"];
408
+ delete?: never;
409
+ options?: never;
410
+ head?: never;
411
+ patch?: never;
412
+ trace?: never;
413
+ };
414
+ "/web-services/v200/b2c/multi-booking": {
415
+ parameters: {
416
+ query?: never;
417
+ header?: never;
418
+ path?: never;
419
+ cookie?: never;
420
+ };
421
+ get?: never;
422
+ put?: never;
423
+ /** This method books a specific quote. The criteria entity is called “Booking request”. The structure of the entity can be found on the table, below. */
424
+ post: operations["doFinalizeMultiBooking"];
425
+ delete?: never;
426
+ options?: never;
427
+ head?: never;
428
+ patch?: never;
429
+ trace?: never;
430
+ };
431
+ "/web-services/v200/b2c/cancel-multi-booking/{crs_reservation_id}": {
432
+ parameters: {
433
+ query?: never;
434
+ header?: never;
435
+ path?: never;
436
+ cookie?: never;
437
+ };
438
+ /** This method cancels the tickets of a multi booking */
439
+ get: operations["doMultiCancellationBooking"];
440
+ put?: never;
441
+ post?: never;
442
+ delete?: never;
443
+ options?: never;
444
+ head?: never;
445
+ patch?: never;
446
+ trace?: never;
447
+ };
448
+ "/web-services/v200/b2c/accommodation-plan": {
449
+ parameters: {
450
+ query?: never;
451
+ header?: never;
452
+ path?: never;
453
+ cookie?: never;
454
+ };
455
+ get?: never;
456
+ put?: never;
457
+ /** This method is used for retrieving the dynamic seat plan of a vessel at a specific trip. The method responds with “AccommodationPlanResponse” entity. */
458
+ post: operations["doAccommodationPlan"];
459
+ delete?: never;
460
+ options?: never;
461
+ head?: never;
462
+ patch?: never;
463
+ trace?: never;
464
+ };
465
+ "/web-services/v200/b2c/lock-accommodation-space": {
466
+ parameters: {
467
+ query?: never;
468
+ header?: never;
469
+ path?: never;
470
+ cookie?: never;
471
+ };
472
+ get?: never;
473
+ put?: never;
474
+ /** This method is used for temporary locking space of a specific accommodation item. The method responds with “AccommodationSpaceResponse” entity. */
475
+ post: operations["doLockAccommodationSpace"];
476
+ delete?: never;
477
+ options?: never;
478
+ head?: never;
479
+ patch?: never;
480
+ trace?: never;
481
+ };
482
+ "/web-services/v200/b2c/unlock-accommodation-space": {
483
+ parameters: {
484
+ query?: never;
485
+ header?: never;
486
+ path?: never;
487
+ cookie?: never;
488
+ };
489
+ get?: never;
490
+ put?: never;
491
+ /** This method is used for unlocking space that was previously locked via doLockAccommodationSpace method. The method responds with “AccommodationSpaceResponse” entity. */
492
+ post: operations["doUnlockAccommodationSpace"];
493
+ delete?: never;
494
+ options?: never;
495
+ head?: never;
496
+ patch?: never;
497
+ trace?: never;
498
+ };
499
+ "/web-services/v200/b2c/retrieve-booking-leader/{crs_reservation_id}": {
500
+ parameters: {
501
+ query?: never;
502
+ header?: never;
503
+ path?: never;
504
+ cookie?: never;
505
+ };
506
+ /** This method is used for retrieving the details of the booking leader. */
507
+ get: operations["doRetrieveBookingLeader"];
508
+ put?: never;
509
+ post?: never;
510
+ delete?: never;
511
+ options?: never;
512
+ head?: never;
513
+ patch?: never;
514
+ trace?: never;
515
+ };
516
+ "/web-services/v200/b2c/validate-loyalty-data": {
517
+ parameters: {
518
+ query?: never;
519
+ header?: never;
520
+ path?: never;
521
+ cookie?: never;
522
+ };
523
+ get?: never;
524
+ put?: never;
525
+ /** This method validates a single loyalty code for a specific company */
526
+ post: operations["doValidateLoyaltyMethod"];
527
+ delete?: never;
528
+ options?: never;
529
+ head?: never;
530
+ patch?: never;
531
+ trace?: never;
532
+ };
533
+ "/web-services/v200/b2c/generate-voucher/{crs_reservation_id}": {
534
+ parameters: {
535
+ query?: never;
536
+ header?: never;
537
+ path?: never;
538
+ cookie?: never;
539
+ };
540
+ /** The method responds with the voucher of the booking. */
541
+ get: operations["generateVoucher"];
542
+ put?: never;
543
+ post?: never;
544
+ delete?: never;
545
+ options?: never;
546
+ head?: never;
547
+ patch?: never;
548
+ trace?: never;
549
+ };
550
+ "/web-services/v200/b2c/companies": {
551
+ parameters: {
552
+ query?: never;
553
+ header?: never;
554
+ path?: never;
555
+ cookie?: never;
556
+ };
557
+ /** The method responds with a list of companies associated to the specific agency. */
558
+ get: operations["doCompanies"];
559
+ put?: never;
560
+ post?: never;
561
+ delete?: never;
562
+ options?: never;
563
+ head?: never;
564
+ patch?: never;
565
+ trace?: never;
566
+ };
567
+ "/web-services/v200/b2c/routes": {
568
+ parameters: {
569
+ query?: never;
570
+ header?: never;
571
+ path?: never;
572
+ cookie?: never;
573
+ };
574
+ /** This method fetches all the possible routes for each transportation type. Specifically for the bus transportation part, data fetched include only those bus operators, who support this functionality. The integrators should contact Liknoss about the companies that support the functionality. The response of the method, is a list of “Transportation” entities, in JSON format. */
575
+ get: operations["doRoutes"];
576
+ put?: never;
577
+ post?: never;
578
+ delete?: never;
579
+ options?: never;
580
+ head?: never;
581
+ patch?: never;
582
+ trace?: never;
583
+ };
584
+ "/web-services/v200/b2c/confirm-payment": {
585
+ parameters: {
586
+ query?: never;
587
+ header?: never;
588
+ path?: never;
589
+ cookie?: never;
590
+ };
591
+ get?: never;
592
+ put?: never;
593
+ /** This method is used for confirming a payment */
594
+ post: operations["doConfirmPayment"];
595
+ delete?: never;
596
+ options?: never;
597
+ head?: never;
598
+ patch?: never;
599
+ trace?: never;
600
+ };
601
+ }
602
+ export type webhooks = Record<string, never>;
603
+ export interface components {
604
+ schemas: {
605
+ Area: {
606
+ /** @description The area’s id or code. */
607
+ idOrCode?: string;
608
+ /** @description The area’s name. */
609
+ name?: string;
610
+ };
611
+ Country: {
612
+ /** @description The country’s id or code. */
613
+ idOrCode?: string;
614
+ /** @description The country’s name. */
615
+ name?: string;
616
+ /** @description The nationality. */
617
+ nationalityName?: string;
618
+ /** @description The phone code. */
619
+ telephonePrefix?: string[];
620
+ /**
621
+ * Format: int32
622
+ * @description Min Phone Number Length.
623
+ */
624
+ minPhoneLength?: number;
625
+ /**
626
+ * Format: int32
627
+ * @description Max Phone Number Length.
628
+ */
629
+ maxPhoneLength?: number;
630
+ /** @description An image of the flag */
631
+ flagImpageUrl?: string;
632
+ };
633
+ Language: {
634
+ /** Format: int32 */
635
+ id?: number;
636
+ code?: string;
637
+ name?: string;
638
+ };
639
+ Location: {
640
+ /** @description The location’s id or code. */
641
+ idOrCode?: string;
642
+ /** @description The location’s name. */
643
+ name?: string;
644
+ country?: components["schemas"]["Country"];
645
+ /**
646
+ * @description The location’s type. Possible values are HARBOUR, GENERIC_LOCATION, BUS_STOP etc.
647
+ * @enum {string}
648
+ */
649
+ locationType?: "AIRPORT" | "HARBOUR" | "RAILWAY" | "COUNTRY" | "AREA" | "HOTEL" | "GENERIC_LOCATION" | "BUS_STOP";
650
+ /**
651
+ * Format: double
652
+ * @description The location’s latitude.
653
+ */
654
+ latitude?: number;
655
+ /**
656
+ * Format: double
657
+ * @description The location’s longitude.
658
+ */
659
+ longitude?: number;
660
+ /** @description The location’s languages. For Admin usage */
661
+ locationLanguages?: components["schemas"]["LocationLanguage"][];
662
+ areas?: components["schemas"]["Area"][];
663
+ locationInformation?: components["schemas"]["LocationInformation"];
664
+ companies?: string[];
665
+ };
666
+ LocationInformation: {
667
+ /** @description The location station’s code. */
668
+ stationCode?: string;
669
+ /** @description The location station’s name. */
670
+ stationName?: string;
671
+ /** @description The location station's detailed information. */
672
+ stationDetails?: string;
673
+ /**
674
+ * Format: double
675
+ * @description The location station's latitude.
676
+ */
677
+ latitude?: number;
678
+ /**
679
+ * Format: double
680
+ * @description The location station's longitude.
681
+ */
682
+ longitude?: number;
683
+ };
684
+ LocationLanguage: {
685
+ /** Format: int32 */
686
+ id?: number;
687
+ location?: components["schemas"]["Location"];
688
+ language?: components["schemas"]["Language"];
689
+ name?: string;
690
+ channel?: string;
691
+ /** Format: int32 */
692
+ displayOrder?: number;
693
+ };
694
+ Accommodation: {
695
+ images?: components["schemas"]["Image"][];
696
+ idOrCode?: string;
697
+ abbreviation?: string;
698
+ name?: string;
699
+ description?: string;
700
+ type?: string;
701
+ specificType?: string;
702
+ /** Format: int32 */
703
+ capacity?: number;
704
+ /** Format: int32 */
705
+ length?: number;
706
+ /** Format: int32 */
707
+ maxLength?: number;
708
+ /** Format: int32 */
709
+ height?: number;
710
+ tripKindAllowed?: string;
711
+ pricingPerMeter?: boolean;
712
+ company?: components["schemas"]["Company"];
713
+ number?: string;
714
+ bed?: string;
715
+ exclusiveUse?: boolean;
716
+ group?: string;
717
+ external?: boolean;
718
+ supportsTemplate?: boolean;
719
+ needFuelType?: boolean;
720
+ crsCode?: string;
721
+ cabinIdentity?: string;
722
+ fareCode?: string;
723
+ };
724
+ AccommodationAvailability: {
725
+ accommodation?: components["schemas"]["Accommodation"];
726
+ /** @enum {string} */
727
+ availabilityType?: "CABIN" | "SEAT" | "GARAGE";
728
+ /** @enum {string} */
729
+ specificType?: "CABINS" | "CABIN" | "BED" | "PET_CABINS" | "PET" | "SANITAS_CABINS" | "DECK" | "ATS" | "EC_ECT" | "INFANT" | "DEFAULT" | "CHAIR" | "PURE_CABIN" | "SPECIAL_NEEDS_CABIN" | "PET_CABINS_NO" | "BUSINESS" | "BUSINESS_ATS" | "VIP" | "VIP_ATS" | "PASSENGER" | "EXTRA_SEVICES" | "MOTO" | "CAMPER" | "DOG" | "BICYCLE";
730
+ /** Format: int32 */
731
+ adultBasePrice?: number;
732
+ /** Format: int32 */
733
+ wholeBerthAvailability?: number;
734
+ /** Format: int32 */
735
+ maleBerthAvailability?: number;
736
+ /** Format: int32 */
737
+ femaleBerthAvailability?: number;
738
+ priceList1?: string;
739
+ priceList2?: string;
740
+ fareCode?: string;
741
+ passengerType?: components["schemas"]["PassengerType"];
742
+ };
743
+ AccommodationDictionary: {
744
+ passengers?: {
745
+ [key: string]: components["schemas"]["Accommodation"];
746
+ };
747
+ vehicles?: {
748
+ [key: string]: components["schemas"]["Accommodation"];
749
+ };
750
+ };
751
+ AccommodationRequest: {
752
+ idOrCode?: string;
753
+ /** @enum {string} */
754
+ accommodationRequestType?: "MALE_BERTH" | "FEMALE_BERTH" | "COMPLETE" | "VEHICLE";
755
+ /** Format: int32 */
756
+ quantity?: number;
757
+ /** @enum {string} */
758
+ bedType?: "NO_PREFERENCE" | "UPPER_BED" | "LOWER_BED";
759
+ completeWithExtraBed?: boolean;
760
+ fareCode?: string;
761
+ accommodationRequestAnalysises?: components["schemas"]["AccommodationRequestAnalysis"][];
762
+ };
763
+ AccommodationRequestAnalysis: {
764
+ /** Format: int32 */
765
+ index?: number;
766
+ discountIdOrCode?: string;
767
+ discountDocument?: string;
768
+ specialType?: string;
769
+ loyaltyCard?: string;
770
+ promotionalCode?: string;
771
+ fareIdOrCode?: string;
772
+ passengerData?: components["schemas"]["PassengerData"];
773
+ vehicleData?: components["schemas"]["VehicleData"];
774
+ };
775
+ AdditionalService: {
776
+ /** @description The service’s general category. */
777
+ name?: string;
778
+ /** @description The list of the items, of the same category. */
779
+ items?: components["schemas"]["AdditionalServiceItem"][];
780
+ };
781
+ AdditionalServiceItem: {
782
+ /** @description The id or code of the service item. */
783
+ idOrCode?: string;
784
+ /** @description The service item’s name. */
785
+ name?: string;
786
+ /** @description Defines the charge type of the item. Possible values are PER_UNIT, PER_BOOKING, etc. */
787
+ chargeType?: string;
788
+ /**
789
+ * Format: int32
790
+ * @description The number of available units.
791
+ */
792
+ availableUnits?: number;
793
+ /**
794
+ * Format: int32
795
+ * @description The item’s price. Value multiplied by 100.
796
+ */
797
+ price?: number;
798
+ /** @description Ticket Letter used for billing reconciliation. */
799
+ ticketLetter?: string;
800
+ /** @description Ticket number or voucher used for billing reconciliation */
801
+ ticketNumberOrVoucher?: string;
802
+ ticket?: components["schemas"]["Ticket"];
803
+ itemDetail?: components["schemas"]["ItemDetail"];
804
+ effectiveTicketLetter?: string;
805
+ effectiveTicketNumberOrVoucher?: string;
806
+ };
807
+ BookingStatusPerCompany: {
808
+ company?: components["schemas"]["Company"];
809
+ /** @description The result of the booking FAILURE / SUCCESS */
810
+ status?: string;
811
+ };
812
+ BookingValidation: {
813
+ nationalityCheck?: boolean;
814
+ birthDateCheck?: boolean;
815
+ birthPlaceCheck?: boolean;
816
+ idOrPassportCheck?: boolean;
817
+ expirationOfDocumentCheck?: boolean;
818
+ askForDetails?: boolean;
819
+ mandatorySex?: boolean;
820
+ mandatoryPassengerType?: boolean;
821
+ mandatorySurname?: boolean;
822
+ mandatoryName?: boolean;
823
+ mandatoryDocument?: boolean;
824
+ mandatoryPlateNumber?: boolean;
825
+ mandatoryVehicleLength?: boolean;
826
+ mandatoryVehicleHeight?: boolean;
827
+ mandatoryDriverName?: boolean;
828
+ mandatoryBrandName?: boolean;
829
+ mandatoryModelName?: boolean;
830
+ mandatoryVehicleExistence?: boolean;
831
+ allowsMoreThanTwoTrips?: boolean;
832
+ hidePassengerDetails?: boolean;
833
+ supportsDifferentBookingPerTrip?: boolean;
834
+ /** Format: int32 */
835
+ passengerLimitPerTrip?: number;
836
+ /** Format: int32 */
837
+ vehicleLimitPerTrip?: number;
838
+ /** Format: int32 */
839
+ maxNumberOfExtraBeds?: number;
840
+ supportsLoyaltyCard?: boolean;
841
+ supportsLoyaltyValidation?: boolean;
842
+ supportsBirthDateOnPricing?: boolean;
843
+ supportsResidentLoyalty?: boolean;
844
+ supportsDoGenerateVoucherMethod?: boolean;
845
+ supportsOptionalBooking?: boolean;
846
+ supportsAccommodationPlan?: boolean;
847
+ mandatoryCabinAccommodation?: boolean;
848
+ supportsHMEOVoucher?: boolean;
849
+ supportsWebCheckin?: boolean;
850
+ supportsExtraBed?: boolean;
851
+ mandatoryMail?: boolean;
852
+ mandatoryPhone?: boolean;
853
+ mandatoryVehicleWidth?: boolean;
854
+ mandatoryVehicleDocumentNumber?: boolean;
855
+ supportsFareCodeInAvailability?: boolean;
856
+ defaultEticket?: boolean;
857
+ };
858
+ Company: {
859
+ /** Format: int32 */
860
+ id?: number;
861
+ abbreviation?: string;
862
+ description?: string;
863
+ imageUrl?: string;
864
+ siteUrl?: string;
865
+ /** @description This field is only returned in the response */
866
+ readonly vehicleAvailability?: boolean;
867
+ };
868
+ CompanyDictionary: {
869
+ name?: string;
870
+ imageUrl?: string;
871
+ accommodations?: components["schemas"]["AccommodationDictionary"];
872
+ discounts?: components["schemas"]["DiscountDictionary"];
873
+ fareCodes?: {
874
+ [key: string]: components["schemas"]["Fare"];
875
+ };
876
+ fareCodesPerRoute?: {
877
+ [key: string]: {
878
+ [key: string]: components["schemas"]["Fare"];
879
+ };
880
+ };
881
+ passengerTypes?: {
882
+ [key: string]: components["schemas"]["PassengerType"];
883
+ };
884
+ fuelTypes?: {
885
+ [key: string]: components["schemas"]["FuelType"];
886
+ };
887
+ vessels?: {
888
+ [key: string]: components["schemas"]["VesselDictionary"];
889
+ };
890
+ yenCodesByType?: {
891
+ [key: string]: components["schemas"]["YenCode"][];
892
+ };
893
+ identityTypesByPassengerType?: {
894
+ [key: string]: components["schemas"]["IdentityType"][];
895
+ };
896
+ /** Format: int32 */
897
+ paymentFlowId?: number;
898
+ };
899
+ CrmInfo: {
900
+ crmId?: string;
901
+ readonly isBooker?: boolean;
902
+ };
903
+ Discount: {
904
+ /** @description The discount’s crs code. */
905
+ crsCode?: string;
906
+ /** @description The discount’s unique id or code. */
907
+ idOrCode?: string;
908
+ /** @description The discount’s abbreviation. */
909
+ abbreviation?: string;
910
+ /** @description The discount’s name. */
911
+ name?: string;
912
+ type?: string;
913
+ /** @description whether the discount must be associated with a document number */
914
+ needsMandatoryData?: boolean;
915
+ /** @description whether the discount must be associated with a loyalty card */
916
+ needsMandatoryLoyaltyCard?: boolean;
917
+ /** @description The discount’s description. */
918
+ description?: string;
919
+ /** @description whether the discount is used for loyalty redemption */
920
+ useForRedeem?: boolean;
921
+ /** @description whether the discount is used for gift */
922
+ useForGift?: boolean;
923
+ company?: components["schemas"]["Company"];
924
+ autoApply?: boolean;
925
+ /**
926
+ * @description Values are FREE, MILITARY, OAED and NONE_OF_THE_ABOVE
927
+ * @enum {string}
928
+ */
929
+ justifiedType?: "FREE" | "MILITARY" | "NONE_OF_THE_ABOVE" | "OAED";
930
+ /** @description Used for resident */
931
+ usedForResident?: boolean;
932
+ /** @description Needs type of supporting document */
933
+ needsTypeOfSupportingDocument?: boolean;
934
+ /** @description Needs locality */
935
+ needsLocality?: boolean;
936
+ /** @description Discount applicable with early booking */
937
+ useForEarlybooking?: boolean;
938
+ };
939
+ DiscountDictionary: {
940
+ vehicles?: {
941
+ [key: string]: components["schemas"]["Discount"];
942
+ };
943
+ passengers?: {
944
+ [key: string]: components["schemas"]["Discount"];
945
+ };
946
+ };
947
+ ErrorDetail: {
948
+ code?: string;
949
+ description?: string;
950
+ severity?: string;
951
+ };
952
+ Fare: {
953
+ /** @description The fare’s id or code. */
954
+ idOrCode?: string;
955
+ /** @description The fare’s name. */
956
+ name?: string;
957
+ /** @description The fare’s description. */
958
+ description?: string;
959
+ /** @description The fare must be associated with the code number */
960
+ needsMandatoryData?: boolean;
961
+ };
962
+ FuelType: {
963
+ /** @description Fuel's type. */
964
+ type?: string;
965
+ /** @description Fuel's description. */
966
+ description?: string;
967
+ };
968
+ IdentityType: {
969
+ company?: components["schemas"]["Company"];
970
+ /** @description CRS code type */
971
+ crsPassengerType?: string;
972
+ /** @description CRS name */
973
+ crsName?: string;
974
+ /** @description Language of name translation */
975
+ language?: string;
976
+ /** @description Company code */
977
+ cmpIdOrCode?: string;
978
+ };
979
+ Image: {
980
+ /** Format: int32 */
981
+ id?: number;
982
+ url?: string;
983
+ };
984
+ IntermediateStop: {
985
+ /** @description The abbreviation of the origin’s location (Location#idOrCode). */
986
+ originIdOrCode?: string;
987
+ /** @description The abbreviation of the destination’s location (Location#idOrCode). */
988
+ destinationIdOrCode?: string;
989
+ /** @description The format is YYYY-MM-DD HH:MM. */
990
+ departureDateTime?: string;
991
+ /** @description The format is YYYY-MM-DD'T'HH:MM:SS.SSZZ. */
992
+ departureDateTimeWithTimezone?: string;
993
+ /** @description The format is YYYY-MM-DD HH:MM. */
994
+ arrivalDateTime?: string;
995
+ /** @description The format is YYYY-MM-DD'T'HH:MM:SS.SSZZ. */
996
+ arrivalDateTimeWithTimezone?: string;
997
+ /**
998
+ * Format: int32
999
+ * @description The duration of the trip, in minutes
1000
+ */
1001
+ duration?: number;
1002
+ vessel?: components["schemas"]["Vessel"];
1003
+ };
1004
+ ItemDetail: {
1005
+ /**
1006
+ * Format: int32
1007
+ * @description The passenger index this service belongs to. One based.
1008
+ * @example 1
1009
+ */
1010
+ passengerIndex?: number;
1011
+ /** @description The identity number */
1012
+ identityNumber?: string;
1013
+ /** @description The identity type */
1014
+ identityType?: string;
1015
+ /** @description The ministry code of the service */
1016
+ yenCode?: string;
1017
+ /** @description Is it a big animal */
1018
+ bigAnimal?: boolean;
1019
+ };
1020
+ Passenger: {
1021
+ /**
1022
+ * @description The passenger’s sex. Possible values are M, F.
1023
+ * @enum {string}
1024
+ */
1025
+ sex: "MALE" | "FEMALE";
1026
+ /** @description The passenger’s type. Possible values are AD, CH, IN, ST, JU, SE, etc. */
1027
+ type: string;
1028
+ /** @description The passenger’s surname. */
1029
+ surname: string;
1030
+ /** @description The passenger’s name. */
1031
+ name: string;
1032
+ /** @description Indicator on whether the passenger has special needs. */
1033
+ ssr: boolean;
1034
+ discount: components["schemas"]["Discount"];
1035
+ /** @description Optional. The fare code. */
1036
+ fare?: string;
1037
+ /** @description Optional. The passenger’s document number. */
1038
+ documentNumber?: string;
1039
+ /** @description Optional. The document type. */
1040
+ documentType?: string;
1041
+ /** @description Optional. The passenger’s document’s expiration date. The format is YYYY-MM-DD. */
1042
+ documentExpirationDate?: string;
1043
+ /** @description Optional. The passenger’s birth date. */
1044
+ birthDate?: string;
1045
+ /** @description Optional. The passenger’s birth place. */
1046
+ birthPlace?: string;
1047
+ /** @description Optional. The passenger’s loyalty number. */
1048
+ loyaltyNumber?: string;
1049
+ /** @description Optional. The passenger’s nationality. */
1050
+ nationality?: string;
1051
+ residentIdOrCode?: string;
1052
+ price?: components["schemas"]["Price"];
1053
+ accommodation?: components["schemas"]["Accommodation"];
1054
+ ticket?: components["schemas"]["Ticket"];
1055
+ /**
1056
+ * @description Used for booking modification. Values: I (Insert), D (Delete), no value indicates item should be as is
1057
+ * @enum {string}
1058
+ */
1059
+ action?: "I" | "D";
1060
+ /** @description Oaed Voucher */
1061
+ hmeoVoucher?: string;
1062
+ crmInfo?: components["schemas"]["CrmInfo"];
1063
+ };
1064
+ PassengerData: {
1065
+ surname?: string;
1066
+ name?: string;
1067
+ specialNeeds?: boolean;
1068
+ nationality?: string;
1069
+ birthDate?: string;
1070
+ birthPlace?: string;
1071
+ documentNumber?: string;
1072
+ documentType?: string;
1073
+ documentExpirationDate?: string;
1074
+ /** @enum {string} */
1075
+ sexType?: "MALE" | "FEMALE";
1076
+ type?: string;
1077
+ accommodationNumber?: string;
1078
+ accommodationBed?: string;
1079
+ residentIdOrCode?: string;
1080
+ email?: string;
1081
+ hmeoVoucher?: string;
1082
+ ticket?: components["schemas"]["Ticket"];
1083
+ mobileNumber?: string;
1084
+ cardNumber?: string;
1085
+ /** Format: int32 */
1086
+ rewardMiles?: number;
1087
+ /** Format: int32 */
1088
+ statusMiles?: number;
1089
+ tier?: string;
1090
+ message?: string;
1091
+ citizenshipNumber?: string;
1092
+ residentCity?: string;
1093
+ militaryCardNumber?: string;
1094
+ largeFamilyNumber?: string;
1095
+ light?: boolean;
1096
+ };
1097
+ PassengerType: {
1098
+ /** @description Passenger's type. */
1099
+ type?: string;
1100
+ /** @description Passenger's type name. */
1101
+ name?: string;
1102
+ /** @description Passenger's type description. */
1103
+ description?: string;
1104
+ /**
1105
+ * Format: int32
1106
+ * @description Passenger's type minimum age.
1107
+ */
1108
+ minAge?: number;
1109
+ /**
1110
+ * Format: int32
1111
+ * @description Passenger's type maximum age.
1112
+ */
1113
+ maxAge?: number;
1114
+ /** @description Passenger's accomodations */
1115
+ accomodations?: components["schemas"]["Accommodation"][];
1116
+ /** @description Passenger's associated discounts. */
1117
+ discounts?: components["schemas"]["Discount"][];
1118
+ };
1119
+ Price: {
1120
+ /**
1121
+ * Format: int32
1122
+ * @description Used in doPricing and Method. The price of the item.
1123
+ */
1124
+ total?: number;
1125
+ /** Format: int32 */
1126
+ net?: number;
1127
+ /** Format: int32 */
1128
+ tax?: number;
1129
+ /** Format: int32 */
1130
+ vat?: number;
1131
+ /** Format: int32 */
1132
+ surcharge?: number;
1133
+ description?: string;
1134
+ fareIdOrCode?: string;
1135
+ additionFees?: number[];
1136
+ chargeAnalysis?: {
1137
+ [key: string]: number;
1138
+ };
1139
+ /** @description Optional. The accommodation number. Used in pricing method, for ForthCRS’ native ferry companies when the request has keepSeats value set to true. */
1140
+ accommodationNumber?: string;
1141
+ /**
1142
+ * @description Refers to the type of the item. Possible values are PASSENGER, VEHICLE, EXTRA_SERVICE.
1143
+ * @enum {string}
1144
+ */
1145
+ priceAccommodationType?: "PASSENGER" | "VEHICLE" | "EXTRA_SERVICE" | "EXTRA_BED" | "SURCHARGE";
1146
+ /** @description Optional. The item's id or code for matching the request's data. Used when displaying analytical pricing. */
1147
+ itemIdOrCode?: string;
1148
+ /** @description Optional. The item's CRS code for matching the request's data. Used when displaying analytical pricing. */
1149
+ crsCode?: string;
1150
+ /** @description Optional. The currency of the price. */
1151
+ currency?: string;
1152
+ };
1153
+ PriceAnalysis: {
1154
+ /**
1155
+ * Format: int32
1156
+ * @description The total price of the passengers.
1157
+ */
1158
+ totalPriceOfPassengers?: number;
1159
+ /**
1160
+ * Format: int32
1161
+ * @description The total price of the vehicles.
1162
+ */
1163
+ totalPriceOfVehicles?: number;
1164
+ };
1165
+ Ticket: {
1166
+ /**
1167
+ * Format: int32
1168
+ * @description Used in doPricing and Method. The price of the item.
1169
+ */
1170
+ total?: number;
1171
+ /** Format: int32 */
1172
+ net?: number;
1173
+ /** Format: int32 */
1174
+ tax?: number;
1175
+ /** Format: int32 */
1176
+ vat?: number;
1177
+ /** Format: int32 */
1178
+ surcharge?: number;
1179
+ description?: string;
1180
+ fareIdOrCode?: string;
1181
+ additionFees?: number[];
1182
+ chargeAnalysis?: {
1183
+ [key: string]: number;
1184
+ };
1185
+ /** @description Optional. The accommodation number. Used in pricing method, for ForthCRS’ native ferry companies when the request has keepSeats value set to true. */
1186
+ accommodationNumber?: string;
1187
+ /**
1188
+ * @description Refers to the type of the item. Possible values are PASSENGER, VEHICLE, EXTRA_SERVICE.
1189
+ * @enum {string}
1190
+ */
1191
+ priceAccommodationType?: "PASSENGER" | "VEHICLE" | "EXTRA_SERVICE" | "EXTRA_BED" | "SURCHARGE";
1192
+ /** @description Optional. The item's id or code for matching the request's data. Used when displaying analytical pricing. */
1193
+ itemIdOrCode?: string;
1194
+ /** @description Optional. The item's CRS code for matching the request's data. Used when displaying analytical pricing. */
1195
+ crsCode?: string;
1196
+ /** @description Optional. The currency of the price. */
1197
+ currency?: string;
1198
+ /** @description Optional. Indicates the priority number. */
1199
+ priorityNumber?: string;
1200
+ /** @description The ticket letter. */
1201
+ letter: string;
1202
+ /** @description The ticket number. */
1203
+ number: string;
1204
+ /** @description Optional. Indicates the passenger cabin or seat details. */
1205
+ cabinSeatNumber?: string;
1206
+ specialDiscountIdOrCode?: string;
1207
+ /** @description The ticket's qr-code. */
1208
+ qrCode: string;
1209
+ /** @description Status for ticket */
1210
+ status?: string;
1211
+ /** @description The company ticket number */
1212
+ companyTicketNumber?: string;
1213
+ checkedIn?: boolean;
1214
+ };
1215
+ Trip: {
1216
+ code?: string;
1217
+ message?: string;
1218
+ abbreviation?: string;
1219
+ bookingStatusesPerCompany?: components["schemas"]["BookingStatusPerCompany"][];
1220
+ /** @description If an error is returned, it shows whether is severe or not. */
1221
+ severeError?: boolean;
1222
+ /** @description Error details per company */
1223
+ perCompanyErrorDetails?: {
1224
+ [key: string]: components["schemas"]["ErrorDetail"][];
1225
+ };
1226
+ /** @description The format is YYYY-MM-DD HH:MM. */
1227
+ departureDateTime?: string;
1228
+ /** @description The format is YYYY-MM-DD'T'HH:MM:SS.SSZZ. */
1229
+ departureDateTimeWithTimezone?: string;
1230
+ /** @description The format is YYYY-MM-DD HH:MM. */
1231
+ arrivalDateTime?: string;
1232
+ /** @description The format is YYYY-MM-DD'T'HH:MM:SS.SSZZ. */
1233
+ arrivalDateTimeWithTimezone?: string;
1234
+ /**
1235
+ * Format: int32
1236
+ * @description The duration of the trip, in minutes
1237
+ */
1238
+ duration?: number;
1239
+ origin?: components["schemas"]["Location"];
1240
+ destination?: components["schemas"]["Location"];
1241
+ vessel?: components["schemas"]["Vessel"];
1242
+ /** @description Optional. The trip’s seasonality data. */
1243
+ seasonName?: string;
1244
+ /**
1245
+ * @description Reservation Status, PRINTED, OPTIONAL, PTA
1246
+ * @enum {string}
1247
+ */
1248
+ reservationStatus?: "PRINTED" | "PTA" | "OPTIONAL" | "CANCELLED";
1249
+ /** @description Optional. The accommodation data. */
1250
+ accommodationAvailabilities?: components["schemas"]["AccommodationAvailability"][];
1251
+ /** @description Optional. The trip analysis. */
1252
+ intermediateStops?: components["schemas"]["IntermediateStop"][];
1253
+ /** @description Optional. The list of additional services. */
1254
+ additionalServices?: components["schemas"]["AdditionalService"][];
1255
+ /** @description Optional. The list of passengers. Used in doBooking method. */
1256
+ accommodationRequests?: components["schemas"]["AccommodationRequest"][];
1257
+ /** @description Optional. Used in doPricing method. */
1258
+ prices?: components["schemas"]["Price"][];
1259
+ /** @description Optional. Used in doPricing method. */
1260
+ discountPrices?: components["schemas"]["Price"][];
1261
+ /** @description Optional. The booking’s ticket details. Used in doBooking method. */
1262
+ tickets?: components["schemas"]["Ticket"][];
1263
+ /** @description Optional. The booking’s unique identification number at the operator’s system. Used in doBooking method. */
1264
+ companyReservationCode?: string;
1265
+ /** @description Optional. Used in doBooking method for some companies. The access code of the booking in the operator's system. */
1266
+ companyReservationCodeAccessCode?: string;
1267
+ /** @description Optional. Used in doBooking method for the companies that support web checkin */
1268
+ webCheckinUrl?: string;
1269
+ remarks?: string;
1270
+ optionDateTime?: string;
1271
+ passengers?: components["schemas"]["Passenger"][];
1272
+ vehicles?: components["schemas"]["Vehicle"][];
1273
+ /**
1274
+ * Format: int32
1275
+ * @description basic price of the quote
1276
+ */
1277
+ basicPrice?: number;
1278
+ basicPriceAnalysis?: components["schemas"]["PriceAnalysis"];
1279
+ /**
1280
+ * Format: int32
1281
+ * @description price of the quote with possible discount
1282
+ */
1283
+ discountPrice?: number;
1284
+ discountPriceAnalysis?: components["schemas"]["PriceAnalysis"];
1285
+ bookingValidation?: components["schemas"]["BookingValidation"];
1286
+ /** @description Attica project code */
1287
+ projectCode?: string;
1288
+ /** @description Attica project description */
1289
+ projectDescription?: string;
1290
+ /** @description Attica project group description */
1291
+ projectGroupDescription?: string;
1292
+ /** @description used in accordance with fetchMinimumPrice for showing which trip achieved the pricing */
1293
+ achievedPricing?: boolean;
1294
+ fareIdOrCode?: string;
1295
+ };
1296
+ TripsWithDictionary: {
1297
+ code?: string;
1298
+ message?: string;
1299
+ abbreviation?: string;
1300
+ bookingStatusesPerCompany?: components["schemas"]["BookingStatusPerCompany"][];
1301
+ /** @description If an error is returned, it shows whether is severe or not. */
1302
+ severeError?: boolean;
1303
+ /** @description Error details per company */
1304
+ perCompanyErrorDetails?: {
1305
+ [key: string]: components["schemas"]["ErrorDetail"][];
1306
+ };
1307
+ trips?: components["schemas"]["Trip"][];
1308
+ locations?: {
1309
+ [key: string]: components["schemas"]["Location"];
1310
+ };
1311
+ companies?: {
1312
+ [key: string]: components["schemas"]["CompanyDictionary"];
1313
+ };
1314
+ };
1315
+ Vehicle: {
1316
+ /** @description The vehicle’s priority number, in garage. */
1317
+ priorityNumber: string;
1318
+ /** @description The vehicle’s length. */
1319
+ length: string;
1320
+ /** @description The vehicle’s plate number. */
1321
+ plateNumber: string;
1322
+ /** @description The driver's name. */
1323
+ driverName: string;
1324
+ /** @description The driver's surname. */
1325
+ driverSurname: string;
1326
+ /** @description Optional. The vehicle’s driver cabin. */
1327
+ driverCabin?: string;
1328
+ /** @description Optional. The vehicle’s driver bed. */
1329
+ driverBed?: string;
1330
+ /** @description Optional. The fare code. */
1331
+ fare?: string;
1332
+ /** @description Optional. The vehicle’s brand. */
1333
+ brand?: string;
1334
+ /** @description Optional. The nationality vehicle’s owner. */
1335
+ nationality?: string;
1336
+ /** @description Optional. The vehicle’s loyalty number. */
1337
+ loyaltyNumber?: string;
1338
+ /** @description Optional. The vehicle’s model. */
1339
+ model?: string;
1340
+ /** @description Optional. The vehicle’s identification number. */
1341
+ identificationNumber?: string;
1342
+ /** @description Optional. The vehicle’s height. */
1343
+ height?: string;
1344
+ /** @description Optional. The vehicle’s fuel type. */
1345
+ fuelType?: string;
1346
+ /** @description Optional. The vehicle’s fuel type description. */
1347
+ fuelTypeDescription?: string;
1348
+ price?: components["schemas"]["Price"];
1349
+ ticket?: components["schemas"]["Ticket"];
1350
+ accommodation?: components["schemas"]["Accommodation"];
1351
+ discount?: components["schemas"]["Discount"];
1352
+ /**
1353
+ * @description Used for booking modification. Values: I (Insert), D (Delete), no value indicates item should be as is
1354
+ * @enum {string}
1355
+ */
1356
+ action?: "I" | "D";
1357
+ crmInfo?: components["schemas"]["CrmInfo"];
1358
+ };
1359
+ VehicleData: {
1360
+ priorityNumber?: string;
1361
+ plateNumber?: string;
1362
+ nationality?: string;
1363
+ /** Format: int32 */
1364
+ length?: number;
1365
+ /** Format: int32 */
1366
+ height?: number;
1367
+ make?: string;
1368
+ model?: string;
1369
+ registrationNumber?: string;
1370
+ driverName?: string;
1371
+ driverSurname?: string;
1372
+ email?: string;
1373
+ ticket?: components["schemas"]["Ticket"];
1374
+ cardNumber?: string;
1375
+ /** Format: int32 */
1376
+ rewardMiles?: number;
1377
+ /** Format: int32 */
1378
+ statusMiles?: number;
1379
+ tier?: string;
1380
+ message?: string;
1381
+ fuelType?: string;
1382
+ light?: boolean;
1383
+ };
1384
+ Vessel: {
1385
+ idOrCode?: string;
1386
+ name?: string;
1387
+ company?: components["schemas"]["Company"];
1388
+ hasGarage?: boolean;
1389
+ hasCabins?: boolean;
1390
+ type?: string;
1391
+ infantAccommodationIdOrCode?: string;
1392
+ crsInfantAccommodationIdOrCode?: string;
1393
+ };
1394
+ VesselDictionary: {
1395
+ name?: string;
1396
+ details?: {
1397
+ [key: string]: string;
1398
+ };
1399
+ accommodationFacilities?: {
1400
+ [key: string]: string;
1401
+ };
1402
+ hasGarage?: boolean;
1403
+ hasCabins?: boolean;
1404
+ kind?: string;
1405
+ infantDefaultAccommodation?: string;
1406
+ };
1407
+ YenCode: {
1408
+ company?: components["schemas"]["Company"];
1409
+ /** @description CRS code type */
1410
+ crsCodeType?: string;
1411
+ /** @description CRS name */
1412
+ crsName?: string;
1413
+ /** @description Language of name translation */
1414
+ language?: string;
1415
+ /** @description Company code */
1416
+ cmpIdOrCode?: string;
1417
+ /** @description Company real code */
1418
+ realIdOrCode?: string;
1419
+ };
1420
+ QuoteRequest: {
1421
+ /** Format: int32 */
1422
+ passengers?: number;
1423
+ /** Format: int32 */
1424
+ vehicles?: number;
1425
+ /** Format: int32 */
1426
+ pets?: number;
1427
+ };
1428
+ TimetableRequest: {
1429
+ /** @description The format is YYYY-MM-DD. */
1430
+ departureDate: string;
1431
+ /** @description Optional. The hour of date, to search. Possible values are 0 to 23 for search with hourly range or specific time in the format HH:MM */
1432
+ departureTime?: string;
1433
+ /** @description The abbreviation of the origin’s location (Location#idOrCode). */
1434
+ originIdOrCode: string;
1435
+ /** @description The abbreviation of the destination’s location (Location#idOrCode). */
1436
+ destinationIdOrCode: string;
1437
+ company?: components["schemas"]["Company"];
1438
+ /** @description Optional. The companies to exclude */
1439
+ excludeCompanies?: components["schemas"]["Company"][];
1440
+ /**
1441
+ * @description Sets the sorting type of results. Possible values are: BY_DEPARTURE_TIME, BY_ARRIVAL_TIME, BY_FASTEST_ROUTE.
1442
+ * @enum {string}
1443
+ */
1444
+ sorting: "BY_DEPARTURE_TIME" | "BY_ARRIVAL_TIME" | "BY_FASTEST_ROUTE";
1445
+ /** @description Optional. Used, only, in doTrips method. Indicates on whether availability data and route analysis, is to be fetched. Valid values are 0 to 9. */
1446
+ availabilityInformation?: boolean;
1447
+ /** @description Optional. Used only if availabilityInformation is set to false. Will fetch only minimum price to improve performance. */
1448
+ fetchMinimumPrice?: boolean;
1449
+ /** @description Used for fetching vehicle accommodations, if the operator supports it */
1450
+ fetchVehicleAccommodations?: boolean;
1451
+ /** @description Used for fetching infant accommodations, if the operator supports it */
1452
+ fetchInfantAccommodations?: boolean;
1453
+ quoteRequest?: components["schemas"]["QuoteRequest"];
1454
+ hermes?: boolean;
1455
+ };
1456
+ ListOfTripsWithDictionaryResponse: {
1457
+ code?: string;
1458
+ message?: string;
1459
+ abbreviation?: string;
1460
+ bookingStatusesPerCompany?: components["schemas"]["BookingStatusPerCompany"][];
1461
+ /** @description If an error is returned, it shows whether is severe or not. */
1462
+ severeError?: boolean;
1463
+ /** @description Error details per company */
1464
+ perCompanyErrorDetails?: {
1465
+ [key: string]: components["schemas"]["ErrorDetail"][];
1466
+ };
1467
+ tripsWithDictionary?: components["schemas"]["TripsWithDictionary"][];
1468
+ };
1469
+ Communications: {
1470
+ marketingtext?: string;
1471
+ productdescription?: string;
1472
+ productname?: string;
1473
+ readmore?: string;
1474
+ };
1475
+ Component: {
1476
+ marketingDescription?: string;
1477
+ marketingTitle?: string;
1478
+ productType?: string;
1479
+ };
1480
+ Documentation: {
1481
+ termsAndConditionsURL?: string;
1482
+ scheduleURL?: string;
1483
+ wordingURL?: string;
1484
+ ipidURL?: string;
1485
+ };
1486
+ InsuranceProductsItem: {
1487
+ displayName?: string;
1488
+ productName?: string;
1489
+ mustAccept?: boolean;
1490
+ readmoreURL?: string;
1491
+ /** Format: int32 */
1492
+ grossValue?: number;
1493
+ /** Format: int32 */
1494
+ netValue?: number;
1495
+ /** Format: int32 */
1496
+ vatValue?: number;
1497
+ /** Format: int32 */
1498
+ iptValue?: number;
1499
+ /** Format: int32 */
1500
+ feeValue?: number;
1501
+ /** Format: int32 */
1502
+ refundValue?: number;
1503
+ productOfferId?: string;
1504
+ productId?: string;
1505
+ reservationCode?: string;
1506
+ cancelationCode?: string;
1507
+ cancelationDescription?: string;
1508
+ offerInfo?: components["schemas"]["OfferInfo"];
1509
+ documentation?: components["schemas"]["Documentation"];
1510
+ components?: components["schemas"]["Component"][];
1511
+ };
1512
+ InsurancePurchasePerCompanyResponse: {
1513
+ company?: string;
1514
+ insuranceProducts?: components["schemas"]["InsuranceProductsItem"][];
1515
+ resultMessage?: string;
1516
+ errorCode?: string;
1517
+ };
1518
+ InsurancePurchaseResponse: {
1519
+ code?: string;
1520
+ message?: string;
1521
+ abbreviation?: string;
1522
+ bookingStatusesPerCompany?: components["schemas"]["BookingStatusPerCompany"][];
1523
+ /** @description If an error is returned, it shows whether is severe or not. */
1524
+ severeError?: boolean;
1525
+ /** @description Error details per company */
1526
+ perCompanyErrorDetails?: {
1527
+ [key: string]: components["schemas"]["ErrorDetail"][];
1528
+ };
1529
+ /** Format: int32 */
1530
+ totalRefundValue?: number;
1531
+ allProducts?: components["schemas"]["InsuranceProductsItem"][];
1532
+ /** Format: int32 */
1533
+ totalGrossValue?: number;
1534
+ empty?: boolean;
1535
+ insurancesPerCompany?: components["schemas"]["InsurancePurchasePerCompanyResponse"][];
1536
+ };
1537
+ OfferInfo: {
1538
+ communications?: components["schemas"]["Communications"];
1539
+ spName?: string;
1540
+ additionalInfo?: Record<string, never>;
1541
+ };
1542
+ InsuranceRetrievalRequest: {
1543
+ crsReservationCode?: string;
1544
+ insuranceProductId?: string;
1545
+ };
1546
+ Route: {
1547
+ origin?: components["schemas"]["Location"];
1548
+ /** @description Destination locations. */
1549
+ destinations?: components["schemas"]["Location"][];
1550
+ };
1551
+ TransportationType: {
1552
+ /** @description Transportation type. Possible values are SEA_TRANSPORT, BUS_TRANSPORT. */
1553
+ type?: string;
1554
+ /** @description The list of routes per transportation type. */
1555
+ routes?: components["schemas"]["Route"][];
1556
+ };
1557
+ AnalyticRoute: {
1558
+ description?: string;
1559
+ origin?: components["schemas"]["Location"];
1560
+ destination?: components["schemas"]["Location"];
1561
+ };
1562
+ User: {
1563
+ code?: string;
1564
+ message?: string;
1565
+ abbreviation?: string;
1566
+ bookingStatusesPerCompany?: components["schemas"]["BookingStatusPerCompany"][];
1567
+ /** @description If an error is returned, it shows whether is severe or not. */
1568
+ severeError?: boolean;
1569
+ /** @description Error details per company */
1570
+ perCompanyErrorDetails?: {
1571
+ [key: string]: components["schemas"]["ErrorDetail"][];
1572
+ };
1573
+ /** Format: int32 */
1574
+ agencyCode?: number;
1575
+ userName?: string;
1576
+ password?: string;
1577
+ signature?: string;
1578
+ language?: string;
1579
+ incomingHost?: string;
1580
+ session?: string;
1581
+ memberIdOrCode?: string;
1582
+ channel?: string;
1583
+ bookingIdentifier?: string;
1584
+ icpId?: string;
1585
+ configurationCode?: string;
1586
+ versions?: string[];
1587
+ };
1588
+ TimetableConjunctionRequest: {
1589
+ /** @description The format is YYYY-MM-DD. */
1590
+ departureDate: string;
1591
+ /** @description Optional. The hour of date, to search. Possible values are 0 to 23 for search with hourly range or specific time in the format HH:MM */
1592
+ departureTime?: string;
1593
+ /** @description The abbreviation of the origin’s location (Location#idOrCode). */
1594
+ originIdOrCode: string;
1595
+ /** @description The abbreviation of the destination’s location (Location#idOrCode). */
1596
+ destinationIdOrCode: string;
1597
+ company?: components["schemas"]["Company"];
1598
+ /** @description Optional. The companies to exclude */
1599
+ excludeCompanies?: components["schemas"]["Company"][];
1600
+ /**
1601
+ * @description Sets the sorting type of results. Possible values are: BY_DEPARTURE_TIME, BY_ARRIVAL_TIME, BY_FASTEST_ROUTE.
1602
+ * @enum {string}
1603
+ */
1604
+ sorting: "BY_DEPARTURE_TIME" | "BY_ARRIVAL_TIME" | "BY_FASTEST_ROUTE";
1605
+ /**
1606
+ * Format: int32
1607
+ * @description Maximum number of hops
1608
+ */
1609
+ maxConjunctions?: number;
1610
+ /**
1611
+ * Format: int32
1612
+ * @description Minimum transition gap time in minutes
1613
+ */
1614
+ minTransitionGap?: number;
1615
+ /**
1616
+ * Format: int32
1617
+ * @description Maximum transition gap time in minutes
1618
+ */
1619
+ "max\u03A4ransitionGap"?: number;
1620
+ };
1621
+ ResidentValidationResponse: {
1622
+ code?: string;
1623
+ message?: string;
1624
+ abbreviation?: string;
1625
+ bookingStatusesPerCompany?: components["schemas"]["BookingStatusPerCompany"][];
1626
+ /** @description If an error is returned, it shows whether is severe or not. */
1627
+ severeError?: boolean;
1628
+ /** @description Error details per company */
1629
+ perCompanyErrorDetails?: {
1630
+ [key: string]: components["schemas"]["ErrorDetail"][];
1631
+ };
1632
+ company?: components["schemas"]["Company"];
1633
+ /** @description The Passenger List Data. */
1634
+ passengerData?: components["schemas"]["PassengerData"][];
1635
+ };
1636
+ ResidentValidationRequest: {
1637
+ company?: components["schemas"]["Company"];
1638
+ passengerData?: components["schemas"]["PassengerData"][];
1639
+ };
1640
+ CompanyRedirection: {
1641
+ company?: components["schemas"]["Company"];
1642
+ channel?: string;
1643
+ redirectionUrl?: string;
1644
+ urlParameters?: string;
1645
+ methodType?: string;
1646
+ };
1647
+ CompanyRedirectionResponse: {
1648
+ code?: string;
1649
+ message?: string;
1650
+ abbreviation?: string;
1651
+ bookingStatusesPerCompany?: components["schemas"]["BookingStatusPerCompany"][];
1652
+ /** @description If an error is returned, it shows whether is severe or not. */
1653
+ severeError?: boolean;
1654
+ /** @description Error details per company */
1655
+ perCompanyErrorDetails?: {
1656
+ [key: string]: components["schemas"]["ErrorDetail"][];
1657
+ };
1658
+ companyRedirections?: components["schemas"]["CompanyRedirection"][];
1659
+ };
1660
+ InsuranceOfferResponse: {
1661
+ code?: string;
1662
+ message?: string;
1663
+ abbreviation?: string;
1664
+ bookingStatusesPerCompany?: components["schemas"]["BookingStatusPerCompany"][];
1665
+ /** @description If an error is returned, it shows whether is severe or not. */
1666
+ severeError?: boolean;
1667
+ /** @description Error details per company */
1668
+ perCompanyErrorDetails?: {
1669
+ [key: string]: components["schemas"]["ErrorDetail"][];
1670
+ };
1671
+ readonly insuranceOfferPerCompanyResponses?: components["schemas"]["InsurancePerCompanyResponse"][];
1672
+ };
1673
+ InsurancePerCompanyResponse: {
1674
+ code?: string;
1675
+ message?: string;
1676
+ abbreviation?: string;
1677
+ bookingStatusesPerCompany?: components["schemas"]["BookingStatusPerCompany"][];
1678
+ /** @description If an error is returned, it shows whether is severe or not. */
1679
+ severeError?: boolean;
1680
+ /** @description Error details per company */
1681
+ perCompanyErrorDetails?: {
1682
+ [key: string]: components["schemas"]["ErrorDetail"][];
1683
+ };
1684
+ company?: string;
1685
+ requestId?: string;
1686
+ responseCode?: string;
1687
+ responseDesciption?: string;
1688
+ insuranceProducts?: components["schemas"]["InsuranceProductsItem"][];
1689
+ };
1690
+ Address: {
1691
+ line?: string;
1692
+ zipCode?: string;
1693
+ city?: string;
1694
+ country?: string;
1695
+ };
1696
+ AgencyService: {
1697
+ deliveryAddress?: components["schemas"]["Address"];
1698
+ /**
1699
+ * Format: int32
1700
+ * @description Service Fee booking’s.
1701
+ */
1702
+ serviceFee?: number;
1703
+ /** @description Delivery booking remarks */
1704
+ remarks?: string;
1705
+ /**
1706
+ * @description Possible values are: COURIER, KIOSK, AGENCY_OFFICE, OTHER
1707
+ * @enum {string}
1708
+ */
1709
+ deliveryType?: "COURIER" | "KIOSK" | "AGENCY_OFFICE" | "OTHER";
1710
+ /** @description Description of Delivery Option */
1711
+ deliveryOptionDescription?: string;
1712
+ /**
1713
+ * Format: int32
1714
+ * @description Delivery Price booking’s.
1715
+ */
1716
+ deliveryPrice?: number;
1717
+ /** @description Additional Service Description */
1718
+ additionalServiceDescription?: string;
1719
+ /**
1720
+ * Format: int32
1721
+ * @description Additional Service Price
1722
+ */
1723
+ additionalServicePrice?: number;
1724
+ /** @description Optional, List of Agency Service Detail */
1725
+ serviceDetails?: components["schemas"]["AgencyServiceDetail"][];
1726
+ };
1727
+ AgencyServiceDetail: {
1728
+ /**
1729
+ * Format: int32
1730
+ * @description Service Id.
1731
+ */
1732
+ serviceId?: number;
1733
+ /**
1734
+ * Format: int32
1735
+ * @description Service Detail Id.
1736
+ */
1737
+ serviceDetailId?: number;
1738
+ /** @description Service Description. */
1739
+ serviceDescription?: string;
1740
+ /** @description Service Detail Description. */
1741
+ serviceDetailDescription?: string;
1742
+ /** @description Service Language Code. */
1743
+ serviceLanguageCode?: string;
1744
+ /**
1745
+ * Format: int32
1746
+ * @description Service Fee booking’s.
1747
+ */
1748
+ serviceFee?: number;
1749
+ };
1750
+ BookingLeader: {
1751
+ /** @description Firstname of the booking’s leader. */
1752
+ firstName?: string;
1753
+ /** @description Lastname of the booking’s leader. */
1754
+ lastName?: string;
1755
+ address?: components["schemas"]["Address"];
1756
+ /** @description Optional. The booking’s leader phone. */
1757
+ phone?: string;
1758
+ /** @description Optional. The booking’s leader mobile. */
1759
+ mobile?: string;
1760
+ /** @description Optional. The booking's leader emergency phone. */
1761
+ emergencyPhone?: string;
1762
+ /** @description Optional. The booking’s leader email. */
1763
+ email?: string;
1764
+ };
1765
+ BookingPaymentMethodCompany: {
1766
+ company?: components["schemas"]["Company"];
1767
+ /**
1768
+ * @description Possible values are CASH, CREDIT_CARD, OTHER. OTHER is not currently used.
1769
+ * @enum {string}
1770
+ */
1771
+ paymentMethod?: "CASH" | "CREDIT_CARD" | "OTHER";
1772
+ /**
1773
+ * Format: int32
1774
+ * @description The price of the booking, in cents. If the company is not null, then the price refers to the specific company of the booking. Used in request.
1775
+ */
1776
+ total?: number;
1777
+ };
1778
+ BookingRequest: {
1779
+ /** @description Optional. The fare code of the quote. */
1780
+ fareIdOrCode?: string;
1781
+ /** @description Optional. Check on whether there is actual availability for the quote. */
1782
+ checkForAvailability?: boolean;
1783
+ leader?: components["schemas"]["BookingLeader"];
1784
+ /** @description The trips of the quote. */
1785
+ trips?: components["schemas"]["Trip"][];
1786
+ /** @description Optional. A flag that indicates whether the booking has an open return. */
1787
+ openReturn?: boolean;
1788
+ /** @description Optional. A flag that indicates whether the booking is made by a member or not. */
1789
+ member?: boolean;
1790
+ /** @description User selected to print eTicket. */
1791
+ userSelectedEticket?: boolean;
1792
+ /** @description Booking payment methods per company. */
1793
+ bookingPaymentMethods?: components["schemas"]["BookingPaymentMethodCompany"][];
1794
+ farePerCompanies?: components["schemas"]["FarePerCompany"][];
1795
+ goToPayment?: boolean;
1796
+ approvalCode?: string;
1797
+ agencyService?: components["schemas"]["AgencyService"];
1798
+ /**
1799
+ * @description Payment method type, 0 for Piraeus, 1 for Paypal
1800
+ * @enum {string}
1801
+ */
1802
+ atticaPaymentType?: "PIRAEUS" | "PAYPAL";
1803
+ addingItemsToBooking?: boolean;
1804
+ convertingBookingToOpen?: boolean;
1805
+ pta?: boolean;
1806
+ /** @description Insurance products to purchase for this booking. */
1807
+ insurances?: components["schemas"]["InsurancesItem"][];
1808
+ };
1809
+ FarePerCompany: {
1810
+ /** @description The fare’s id or code. */
1811
+ idOrCode?: string;
1812
+ /** @description The fare’s name. */
1813
+ name?: string;
1814
+ /** @description The fare’s description. */
1815
+ description?: string;
1816
+ /** @description The fare must be associated with the code number */
1817
+ needsMandatoryData?: boolean;
1818
+ company?: components["schemas"]["Company"];
1819
+ };
1820
+ InsurancesItem: {
1821
+ company?: string;
1822
+ productOfferIds?: string[];
1823
+ };
1824
+ PricingAgencyServiceFeeResponse: {
1825
+ code?: string;
1826
+ message?: string;
1827
+ abbreviation?: string;
1828
+ bookingStatusesPerCompany?: components["schemas"]["BookingStatusPerCompany"][];
1829
+ /** @description If an error is returned, it shows whether is severe or not. */
1830
+ severeError?: boolean;
1831
+ /** @description Error details per company */
1832
+ perCompanyErrorDetails?: {
1833
+ [key: string]: components["schemas"]["ErrorDetail"][];
1834
+ };
1835
+ /** @description Company */
1836
+ company?: string;
1837
+ /**
1838
+ * Format: int32
1839
+ * @description ageny service fee for company
1840
+ */
1841
+ totalServiceFee?: number;
1842
+ };
1843
+ PricingResponse: {
1844
+ code?: string;
1845
+ message?: string;
1846
+ abbreviation?: string;
1847
+ bookingStatusesPerCompany?: components["schemas"]["BookingStatusPerCompany"][];
1848
+ /** @description If an error is returned, it shows whether is severe or not. */
1849
+ severeError?: boolean;
1850
+ /** @description Error details per company */
1851
+ perCompanyErrorDetails?: {
1852
+ [key: string]: components["schemas"]["ErrorDetail"][];
1853
+ };
1854
+ /** @description Optional. The fare code of the quote. */
1855
+ fareIdOrCode?: string;
1856
+ /** @description The trips of the quote. */
1857
+ trips?: components["schemas"]["Trip"][];
1858
+ /** @description The agency service fee */
1859
+ agencyServiceFeeResponses?: components["schemas"]["PricingAgencyServiceFeeResponse"][];
1860
+ bookingIdentifier?: string;
1861
+ };
1862
+ TripsOfDay: {
1863
+ /** @description The format is YYYY-MM-DD. */
1864
+ departureDate?: string;
1865
+ /** @description The trips departing on “departureDate”. */
1866
+ trips?: components["schemas"]["Trip"][];
1867
+ };
1868
+ TripsOfDayWithDictionary: {
1869
+ code?: string;
1870
+ message?: string;
1871
+ abbreviation?: string;
1872
+ bookingStatusesPerCompany?: components["schemas"]["BookingStatusPerCompany"][];
1873
+ /** @description If an error is returned, it shows whether is severe or not. */
1874
+ severeError?: boolean;
1875
+ /** @description Error details per company */
1876
+ perCompanyErrorDetails?: {
1877
+ [key: string]: components["schemas"]["ErrorDetail"][];
1878
+ };
1879
+ trips?: components["schemas"]["TripsOfDay"][];
1880
+ names?: {
1881
+ [key: string]: Record<string, never>;
1882
+ };
1883
+ };
1884
+ TimetablePerDayRequest: {
1885
+ /** @description The format is YYYY-MM-DD. */
1886
+ departureDate: string;
1887
+ /** @description Optional. The hour of date, to search. Possible values are 0 to 23 for search with hourly range or specific time in the format HH:MM */
1888
+ departureTime?: string;
1889
+ /** @description The abbreviation of the origin’s location (Location#idOrCode). */
1890
+ originIdOrCode: string;
1891
+ /** @description The abbreviation of the destination’s location (Location#idOrCode). */
1892
+ destinationIdOrCode: string;
1893
+ company?: components["schemas"]["Company"];
1894
+ /** @description Optional. The companies to exclude */
1895
+ excludeCompanies?: components["schemas"]["Company"][];
1896
+ /**
1897
+ * @description Sets the sorting type of results. Possible values are: BY_DEPARTURE_TIME, BY_ARRIVAL_TIME, BY_FASTEST_ROUTE.
1898
+ * @enum {string}
1899
+ */
1900
+ sorting: "BY_DEPARTURE_TIME" | "BY_ARRIVAL_TIME" | "BY_FASTEST_ROUTE";
1901
+ /**
1902
+ * Format: int32
1903
+ * @description Optional. Used, only, in doTripsPerDay method. Sets the number of days to search for trips, prior and after “departureDate”.
1904
+ */
1905
+ daysToSearch?: number;
1906
+ };
1907
+ BookingFailureDetail: {
1908
+ trip?: components["schemas"]["Trip"];
1909
+ /** @description Error Code of Booking */
1910
+ errorCode?: string;
1911
+ /** @description Error message of Booking */
1912
+ errorMessage?: string;
1913
+ /**
1914
+ * @description Status of Booking
1915
+ * @enum {string}
1916
+ */
1917
+ statusEnum?: "ACTIVE" | "CANCELLED_WITH_FEES" | "CANCELLED_FREE_OF_CHARGE" | "NEVER_BOOKED";
1918
+ };
1919
+ BookingResponse: {
1920
+ code?: string;
1921
+ message?: string;
1922
+ abbreviation?: string;
1923
+ bookingStatusesPerCompany?: components["schemas"]["BookingStatusPerCompany"][];
1924
+ /** @description If an error is returned, it shows whether is severe or not. */
1925
+ severeError?: boolean;
1926
+ /** @description Error details per company */
1927
+ perCompanyErrorDetails?: {
1928
+ [key: string]: components["schemas"]["ErrorDetail"][];
1929
+ };
1930
+ /**
1931
+ * Format: int32
1932
+ * @description Liknoss’ unique identification number.
1933
+ */
1934
+ crsReservationId?: number;
1935
+ /** @description Seanthesis CRM ID. */
1936
+ crmId?: string;
1937
+ /** @description The format is YYYY-MM-DD HH:MM. */
1938
+ createdDateTime?: string;
1939
+ /**
1940
+ * @description Reservation Status, PRINTED, OPTIONAL, PTA
1941
+ * @enum {string}
1942
+ */
1943
+ reservationStatus?: "PRINTED" | "PTA" | "OPTIONAL" | "CANCELLED";
1944
+ errorCode?: string;
1945
+ /** @description Optional. The booking’s fare code. */
1946
+ fareIdOrCode?: string;
1947
+ paymentType?: string;
1948
+ leader?: components["schemas"]["BookingLeader"];
1949
+ priceOfBooking?: components["schemas"]["Price"];
1950
+ /** @description Total Price for Passengers And Vehicles per ferry operator */
1951
+ priceOfBookingPerCompany?: {
1952
+ [key: string]: components["schemas"]["Price"];
1953
+ };
1954
+ /** @description The booking’s trips. */
1955
+ trips?: components["schemas"]["Trip"][];
1956
+ user?: components["schemas"]["User"];
1957
+ agencyService?: components["schemas"]["AgencyService"];
1958
+ /** @description Used in booking retrieval. Holds value of true in case of ticketed booking */
1959
+ ticketed?: boolean;
1960
+ /** @description Used only if at least one of the companies support the generate-voucher method */
1961
+ supportsVoucherGeneration?: boolean;
1962
+ pdfVoucher?: components["schemas"]["PdfVoucher"];
1963
+ /** @description If the entity is not empty, it contains the list with the web checkin sites */
1964
+ webCheckins?: components["schemas"]["WebCheckin"][];
1965
+ /** @description Booking Failure Details */
1966
+ bookingFailureDetail?: components["schemas"]["BookingFailureDetail"][];
1967
+ bookingServices?: components["schemas"]["BookingServices"];
1968
+ };
1969
+ BookingServices: {
1970
+ code?: string;
1971
+ message?: string;
1972
+ abbreviation?: string;
1973
+ bookingStatusesPerCompany?: components["schemas"]["BookingStatusPerCompany"][];
1974
+ /** @description If an error is returned, it shows whether is severe or not. */
1975
+ severeError?: boolean;
1976
+ /** @description Error details per company */
1977
+ perCompanyErrorDetails?: {
1978
+ [key: string]: components["schemas"]["ErrorDetail"][];
1979
+ };
1980
+ insurances?: components["schemas"]["InsurancePurchaseResponse"];
1981
+ };
1982
+ PdfVoucher: {
1983
+ /** @description The endpoint to get the pdf voucher of the booking */
1984
+ endpoint?: string;
1985
+ /** @description the list of companies that are contained in the pdf */
1986
+ supportedCompanies?: components["schemas"]["Company"][];
1987
+ };
1988
+ WebCheckin: {
1989
+ /** @description The endpoint of the company's web checkin site */
1990
+ endpoint?: string;
1991
+ company?: components["schemas"]["Company"];
1992
+ };
1993
+ BookingIdentifierResponse: {
1994
+ code?: string;
1995
+ message?: string;
1996
+ abbreviation?: string;
1997
+ bookingStatusesPerCompany?: components["schemas"]["BookingStatusPerCompany"][];
1998
+ /** @description If an error is returned, it shows whether is severe or not. */
1999
+ severeError?: boolean;
2000
+ /** @description Error details per company */
2001
+ perCompanyErrorDetails?: {
2002
+ [key: string]: components["schemas"]["ErrorDetail"][];
2003
+ };
2004
+ /** @description Unique booking identifier. */
2005
+ bookingIdentifier?: string;
2006
+ };
2007
+ ResidentCity: {
2008
+ /** @description The resident’s city id or code. */
2009
+ idOrCode?: string;
2010
+ /** @description The resident’s city name. */
2011
+ name?: string;
2012
+ };
2013
+ ResidentStaticData: {
2014
+ residentCities?: components["schemas"]["ResidentCity"][];
2015
+ identityTypes?: components["schemas"]["IdentityType"][];
2016
+ };
2017
+ AvailabilityRequest: {
2018
+ vessel: components["schemas"]["Vessel"];
2019
+ /** @description Optional. Used, only, in doTrips method. Fetch intermediary stops */
2020
+ fetchIntermediaryStops?: boolean;
2021
+ /** @description Optional. Fetch Extra Services */
2022
+ fetchExtraServices?: boolean;
2023
+ /** @description The format is YYYY-MM-DD. */
2024
+ departureDate: string;
2025
+ /** @description Optional. The hour of date, to search. Possible values are 0 to 23 for search with hourly range or specific time in the format HH:MM */
2026
+ departureTime?: string;
2027
+ /** @description The abbreviation of the origin’s location (Location#idOrCode). */
2028
+ originIdOrCode: string;
2029
+ /** @description The abbreviation of the destination’s location (Location#idOrCode). */
2030
+ destinationIdOrCode: string;
2031
+ };
2032
+ CancellationResponse: {
2033
+ code?: string;
2034
+ message?: string;
2035
+ abbreviation?: string;
2036
+ bookingStatusesPerCompany?: components["schemas"]["BookingStatusPerCompany"][];
2037
+ /** @description If an error is returned, it shows whether is severe or not. */
2038
+ severeError?: boolean;
2039
+ /** @description Error details per company */
2040
+ perCompanyErrorDetails?: {
2041
+ [key: string]: components["schemas"]["ErrorDetail"][];
2042
+ };
2043
+ /**
2044
+ * Format: int32
2045
+ * @description FOTHcrs’ unique identification number.
2046
+ */
2047
+ crsReservationId?: number;
2048
+ /**
2049
+ * Format: int32
2050
+ * @description Booking’s refund value. Value multiplied by 100.
2051
+ */
2052
+ refundValue?: number;
2053
+ /**
2054
+ * Format: int32
2055
+ * @description Booking’s cancellation value. Value multiplied by 100.
2056
+ */
2057
+ cancellationFeesValue?: number;
2058
+ /** @description Usage on specific companies where asking for fees might actually cancel the booking. */
2059
+ cancelledWhileAskingForFees?: boolean;
2060
+ };
2061
+ RouteFrequency: {
2062
+ /** @description The format is YYYY-MM-DD */
2063
+ departureDate?: string;
2064
+ /** @description Optional. The companies operating the trip. */
2065
+ companies?: components["schemas"]["Company"][];
2066
+ };
2067
+ RouteFrequencyRequest: {
2068
+ /** @description if the value is set to true, the corresponding company data will be displayed in the result data. */
2069
+ fetchCompanies?: boolean;
2070
+ origin?: components["schemas"]["Location"];
2071
+ destination?: components["schemas"]["Location"];
2072
+ /** @description Optional. The format is YYYY-MM-DD */
2073
+ departureDate?: string;
2074
+ /** @description Optional. The companies to search data for. */
2075
+ companies?: components["schemas"]["Company"][];
2076
+ };
2077
+ AccommodationPlanResponse: {
2078
+ code?: string;
2079
+ message?: string;
2080
+ abbreviation?: string;
2081
+ bookingStatusesPerCompany?: components["schemas"]["BookingStatusPerCompany"][];
2082
+ /** @description If an error is returned, it shows whether is severe or not. */
2083
+ severeError?: boolean;
2084
+ /** @description Error details per company */
2085
+ perCompanyErrorDetails?: {
2086
+ [key: string]: components["schemas"]["ErrorDetail"][];
2087
+ };
2088
+ decks?: components["schemas"]["Deck"][];
2089
+ };
2090
+ Deck: {
2091
+ /** @description The deck's name. */
2092
+ name?: string;
2093
+ /** @description The deck's rows. */
2094
+ rows?: {
2095
+ [key: string]: components["schemas"]["PlanItem"][];
2096
+ };
2097
+ };
2098
+ PlanItem: {
2099
+ /**
2100
+ * Format: int32
2101
+ * @description The id of the row. Zero based starting from the top.
2102
+ */
2103
+ rowId?: number;
2104
+ /**
2105
+ * Format: int32
2106
+ * @description The id of the column. Zero based starting from the left.
2107
+ */
2108
+ colId?: number;
2109
+ /**
2110
+ * @description PlanItem's type. Possible values are SEAT, BERTH, CORRIDOR, TABLE
2111
+ * @enum {string}
2112
+ */
2113
+ type?: "SEAT" | "BERTH" | "CORRIDOR" | "TABLE";
2114
+ accommodation?: components["schemas"]["Accommodation"];
2115
+ /** @description The accommodation's number. It will be used in doPricing and booking methods. */
2116
+ accommodationNumber?: string;
2117
+ /**
2118
+ * @description The accommodation's position on x-axis. Possible values are WINDOW, MIDDLE, CORRIDOR.
2119
+ * @enum {string}
2120
+ */
2121
+ getxPositioning?: "WINDOW" | "MIDDLE" | "CORRIDOR";
2122
+ /**
2123
+ * @description The accommodation's position on y-axis. Possible values are FRONT, MIDDLE, BACK.
2124
+ * @enum {string}
2125
+ */
2126
+ getyPositioning?: "FRONT" | "MIDDLE" | "BACK";
2127
+ smoking?: boolean;
2128
+ reverseOrientation?: boolean;
2129
+ /** @description The accommodation's status. Indicates whether the item is occupied or available for locking */
2130
+ occupied?: boolean;
2131
+ };
2132
+ AccommodationPlanRequest: {
2133
+ trip?: components["schemas"]["Trip"];
2134
+ /** @description Optional. One or more specific decks to search for. */
2135
+ deckNames?: string[];
2136
+ /** @description Optional. Used in lock/unlock space methods */
2137
+ planItems?: components["schemas"]["PlanItem"][];
2138
+ /** @description Optional. If Accommodation Plan is returned or Not. */
2139
+ returnPlan?: boolean;
2140
+ };
2141
+ AccommodationSpaceResponse: {
2142
+ code?: string;
2143
+ message?: string;
2144
+ abbreviation?: string;
2145
+ bookingStatusesPerCompany?: components["schemas"]["BookingStatusPerCompany"][];
2146
+ /** @description If an error is returned, it shows whether is severe or not. */
2147
+ severeError?: boolean;
2148
+ /** @description Error details per company */
2149
+ perCompanyErrorDetails?: {
2150
+ [key: string]: components["schemas"]["ErrorDetail"][];
2151
+ };
2152
+ decks?: components["schemas"]["Deck"][];
2153
+ items?: components["schemas"]["PlanItem"][];
2154
+ };
2155
+ BookingLeaderResponse: {
2156
+ code?: string;
2157
+ message?: string;
2158
+ abbreviation?: string;
2159
+ bookingStatusesPerCompany?: components["schemas"]["BookingStatusPerCompany"][];
2160
+ /** @description If an error is returned, it shows whether is severe or not. */
2161
+ severeError?: boolean;
2162
+ /** @description Error details per company */
2163
+ perCompanyErrorDetails?: {
2164
+ [key: string]: components["schemas"]["ErrorDetail"][];
2165
+ };
2166
+ /**
2167
+ * Format: int32
2168
+ * @description Liknoss’ unique identification number.
2169
+ */
2170
+ crsReservationId?: number;
2171
+ leader?: components["schemas"]["BookingLeader"];
2172
+ };
2173
+ LoyaltyValidationResponse: {
2174
+ code?: string;
2175
+ message?: string;
2176
+ abbreviation?: string;
2177
+ bookingStatusesPerCompany?: components["schemas"]["BookingStatusPerCompany"][];
2178
+ /** @description If an error is returned, it shows whether is severe or not. */
2179
+ severeError?: boolean;
2180
+ /** @description Error details per company */
2181
+ perCompanyErrorDetails?: {
2182
+ [key: string]: components["schemas"]["ErrorDetail"][];
2183
+ };
2184
+ company?: components["schemas"]["Company"];
2185
+ passengerData?: components["schemas"]["PassengerData"];
2186
+ };
2187
+ LoyaltyValidationRequest: {
2188
+ company?: components["schemas"]["Company"];
2189
+ /** @description Loyalty card data for validation. */
2190
+ loyaltyCard?: string;
2191
+ };
2192
+ VoucherOfBooking: {
2193
+ code?: string;
2194
+ message?: string;
2195
+ abbreviation?: string;
2196
+ bookingStatusesPerCompany?: components["schemas"]["BookingStatusPerCompany"][];
2197
+ /** @description If an error is returned, it shows whether is severe or not. */
2198
+ severeError?: boolean;
2199
+ /** @description Error details per company */
2200
+ perCompanyErrorDetails?: {
2201
+ [key: string]: components["schemas"]["ErrorDetail"][];
2202
+ };
2203
+ voucher?: string[];
2204
+ };
2205
+ ConfirmPaymentResponse: {
2206
+ code?: string;
2207
+ message?: string;
2208
+ abbreviation?: string;
2209
+ bookingStatusesPerCompany?: components["schemas"]["BookingStatusPerCompany"][];
2210
+ /** @description If an error is returned, it shows whether is severe or not. */
2211
+ severeError?: boolean;
2212
+ /** @description Error details per company */
2213
+ perCompanyErrorDetails?: {
2214
+ [key: string]: components["schemas"]["ErrorDetail"][];
2215
+ };
2216
+ /**
2217
+ * Format: int32
2218
+ * @description FOTHcrs’ unique identification number.
2219
+ */
2220
+ crsReservationId?: number;
2221
+ };
2222
+ CompanyReservationCodeDetail: {
2223
+ company?: components["schemas"]["Company"];
2224
+ /** @description The booking’s unique identification number at the operator’s system. Used in doBooking method. */
2225
+ companyReservationCode?: string;
2226
+ /**
2227
+ * Format: int32
2228
+ * @description price of the quote. Optional
2229
+ */
2230
+ price?: number;
2231
+ };
2232
+ ConfirmPaymentRequest: {
2233
+ /**
2234
+ * Format: int32
2235
+ * @description Liknoss’ unique identification number.
2236
+ */
2237
+ crsReservationId?: number;
2238
+ leader?: components["schemas"]["BookingLeader"];
2239
+ approvalCode?: string;
2240
+ transactionCode?: string;
2241
+ companyReservationCodeDetails?: components["schemas"]["CompanyReservationCodeDetail"][];
2242
+ /**
2243
+ * @description Possible values are: COURIER, KIOSK, AGENCY_OFFICE, OTHER
2244
+ * @enum {string}
2245
+ */
2246
+ deliveryType?: "COURIER" | "KIOSK" | "AGENCY_OFFICE" | "OTHER";
2247
+ };
2248
+ };
2249
+ responses: never;
2250
+ parameters: never;
2251
+ requestBodies: {
2252
+ /** @description The criteria entity is called “Time table” request. */
2253
+ TimetableRequest: {
2254
+ content: {
2255
+ "application/json": components["schemas"]["TimetableRequest"];
2256
+ };
2257
+ };
2258
+ /** @description The criteria entity is called “Pricing request”. */
2259
+ BookingRequest: {
2260
+ content: {
2261
+ "application/json": components["schemas"]["BookingRequest"];
2262
+ };
2263
+ };
2264
+ /** @description The criteria entity is called “Booking request”. */
2265
+ BookingRequest2: {
2266
+ content: {
2267
+ "application/json": components["schemas"]["BookingRequest"];
2268
+ };
2269
+ };
2270
+ };
2271
+ headers: never;
2272
+ pathItems: never;
2273
+ }
2274
+ export type $defs = Record<string, never>;
2275
+ export interface operations {
2276
+ doLocationsFilter: {
2277
+ parameters: {
2278
+ query: {
2279
+ /** @description A list of comma separated company abbreviations. */
2280
+ companyAbbreviations?: string[];
2281
+ /** @description Possible values are HARBOUR, GENERIC_LOCATION, BUS_STOP etc. */
2282
+ locationType?: string;
2283
+ /** @description A String to search for within Location Code, Location Description or Country Code. */
2284
+ searchText: string;
2285
+ };
2286
+ header?: never;
2287
+ path?: never;
2288
+ cookie?: never;
2289
+ };
2290
+ requestBody?: never;
2291
+ responses: {
2292
+ /** @description successful operation */
2293
+ 200: {
2294
+ headers: {
2295
+ [name: string]: unknown;
2296
+ };
2297
+ content: {
2298
+ "application/json": components["schemas"]["Location"][];
2299
+ };
2300
+ };
2301
+ };
2302
+ };
2303
+ doTrips: {
2304
+ parameters: {
2305
+ query?: never;
2306
+ header?: never;
2307
+ path?: never;
2308
+ cookie?: never;
2309
+ };
2310
+ requestBody: components["requestBodies"]["TimetableRequest"];
2311
+ responses: {
2312
+ /** @description successful operation */
2313
+ 200: {
2314
+ headers: {
2315
+ [name: string]: unknown;
2316
+ };
2317
+ content: {
2318
+ "application/json": components["schemas"]["TripsWithDictionary"];
2319
+ };
2320
+ };
2321
+ };
2322
+ };
2323
+ doTrips_1: {
2324
+ parameters: {
2325
+ query?: never;
2326
+ header?: never;
2327
+ path?: never;
2328
+ cookie?: never;
2329
+ };
2330
+ /** @description The criteria entity is called “Time table” request. Actually, it is a list of requests */
2331
+ requestBody: {
2332
+ content: {
2333
+ "application/json": components["schemas"]["TimetableRequest"][];
2334
+ };
2335
+ };
2336
+ responses: {
2337
+ /** @description successful operation */
2338
+ 200: {
2339
+ headers: {
2340
+ [name: string]: unknown;
2341
+ };
2342
+ content: {
2343
+ "application/json": components["schemas"]["ListOfTripsWithDictionaryResponse"];
2344
+ };
2345
+ };
2346
+ };
2347
+ };
2348
+ doInsuranceRetrieve: {
2349
+ parameters: {
2350
+ query?: never;
2351
+ header?: never;
2352
+ path?: never;
2353
+ cookie?: never;
2354
+ };
2355
+ requestBody?: {
2356
+ content: {
2357
+ "application/json": components["schemas"]["InsuranceRetrievalRequest"];
2358
+ };
2359
+ };
2360
+ responses: {
2361
+ /** @description successful operation */
2362
+ 200: {
2363
+ headers: {
2364
+ [name: string]: unknown;
2365
+ };
2366
+ content: {
2367
+ "application/json": components["schemas"]["InsurancePurchaseResponse"];
2368
+ };
2369
+ };
2370
+ };
2371
+ };
2372
+ doRoutesFilter: {
2373
+ parameters: {
2374
+ query: {
2375
+ /** @description A list of comma separated company abbreviations. */
2376
+ companyAbbreviations?: string[];
2377
+ /** @description Possible values are HARBOUR, GENERIC_LOCATION, BUS_STOP etc. */
2378
+ transportationType?: string;
2379
+ /** @description The Origin Location To Search for. Can be either Location Code or Description. */
2380
+ searchText: string;
2381
+ /** @description The destination Location To Search for. Can be either Location Code or Description. */
2382
+ destination: string;
2383
+ };
2384
+ header?: never;
2385
+ path?: never;
2386
+ cookie?: never;
2387
+ };
2388
+ requestBody?: never;
2389
+ responses: {
2390
+ /** @description successful operation */
2391
+ 200: {
2392
+ headers: {
2393
+ [name: string]: unknown;
2394
+ };
2395
+ content: {
2396
+ "application/json": components["schemas"]["TransportationType"][];
2397
+ };
2398
+ };
2399
+ };
2400
+ };
2401
+ doLocations: {
2402
+ parameters: {
2403
+ query?: {
2404
+ /** @description A list of comma separated company abbreviations. */
2405
+ companyAbbreviations?: string[];
2406
+ /** @description Possible values are HARBOUR, GENERIC_LOCATION, BUS_STOP etc. */
2407
+ locationType?: string;
2408
+ };
2409
+ header?: never;
2410
+ path?: never;
2411
+ cookie?: never;
2412
+ };
2413
+ requestBody?: never;
2414
+ responses: {
2415
+ /** @description successful operation */
2416
+ 200: {
2417
+ headers: {
2418
+ [name: string]: unknown;
2419
+ };
2420
+ content: {
2421
+ "application/json": components["schemas"]["Location"][];
2422
+ };
2423
+ };
2424
+ };
2425
+ };
2426
+ doAnalyticRoutes: {
2427
+ parameters: {
2428
+ query?: {
2429
+ /** @description A list of comma separated company abbreviations. */
2430
+ companyAbbreviations?: string[];
2431
+ /** @description Possible values are BT (data for bus transportation), ST (data for sea transportation) and AT (data for both sea and bus transportation). Default value, is AT. */
2432
+ transportationType?: string;
2433
+ };
2434
+ header?: never;
2435
+ path?: never;
2436
+ cookie?: never;
2437
+ };
2438
+ requestBody?: never;
2439
+ responses: {
2440
+ /** @description successful operation */
2441
+ 200: {
2442
+ headers: {
2443
+ [name: string]: unknown;
2444
+ };
2445
+ content: {
2446
+ "application/json": components["schemas"]["AnalyticRoute"][];
2447
+ };
2448
+ };
2449
+ };
2450
+ };
2451
+ doSession: {
2452
+ parameters: {
2453
+ query?: never;
2454
+ header?: never;
2455
+ path?: never;
2456
+ cookie?: never;
2457
+ };
2458
+ requestBody?: never;
2459
+ responses: {
2460
+ /** @description successful operation */
2461
+ 200: {
2462
+ headers: {
2463
+ [name: string]: unknown;
2464
+ };
2465
+ content: {
2466
+ "application/json": components["schemas"]["User"];
2467
+ };
2468
+ };
2469
+ };
2470
+ };
2471
+ doTripWithConjunction: {
2472
+ parameters: {
2473
+ query?: never;
2474
+ header?: never;
2475
+ path?: never;
2476
+ cookie?: never;
2477
+ };
2478
+ /** @description The criteria entity is called “Time table” request. */
2479
+ requestBody: {
2480
+ content: {
2481
+ "application/json": components["schemas"]["TimetableConjunctionRequest"];
2482
+ };
2483
+ };
2484
+ responses: {
2485
+ /** @description successful operation */
2486
+ 200: {
2487
+ headers: {
2488
+ [name: string]: unknown;
2489
+ };
2490
+ content: {
2491
+ "application/json": components["schemas"]["TripsWithDictionary"];
2492
+ };
2493
+ };
2494
+ };
2495
+ };
2496
+ doValidateResidentMethod: {
2497
+ parameters: {
2498
+ query?: never;
2499
+ header?: never;
2500
+ path?: never;
2501
+ cookie?: never;
2502
+ };
2503
+ requestBody?: {
2504
+ content: {
2505
+ "application/json": components["schemas"]["ResidentValidationRequest"];
2506
+ };
2507
+ };
2508
+ responses: {
2509
+ /** @description successful operation */
2510
+ 200: {
2511
+ headers: {
2512
+ [name: string]: unknown;
2513
+ };
2514
+ content: {
2515
+ "application/json": components["schemas"]["ResidentValidationResponse"];
2516
+ };
2517
+ };
2518
+ };
2519
+ };
2520
+ doCompanyRedirectionMethod: {
2521
+ parameters: {
2522
+ query?: never;
2523
+ header?: never;
2524
+ path?: never;
2525
+ cookie?: never;
2526
+ };
2527
+ requestBody?: never;
2528
+ responses: {
2529
+ /** @description successful operation */
2530
+ 200: {
2531
+ headers: {
2532
+ [name: string]: unknown;
2533
+ };
2534
+ content: {
2535
+ "application/json": components["schemas"]["CompanyRedirectionResponse"];
2536
+ };
2537
+ };
2538
+ };
2539
+ };
2540
+ doInsuranceOffer: {
2541
+ parameters: {
2542
+ query?: never;
2543
+ header?: never;
2544
+ path?: never;
2545
+ cookie?: never;
2546
+ };
2547
+ requestBody?: {
2548
+ content: {
2549
+ "application/json": components["schemas"]["BookingRequest"];
2550
+ };
2551
+ };
2552
+ responses: {
2553
+ /** @description successful operation */
2554
+ 200: {
2555
+ headers: {
2556
+ [name: string]: unknown;
2557
+ };
2558
+ content: {
2559
+ "application/json": components["schemas"]["InsuranceOfferResponse"];
2560
+ };
2561
+ };
2562
+ };
2563
+ };
2564
+ doMultiPrices: {
2565
+ parameters: {
2566
+ query?: never;
2567
+ header?: never;
2568
+ path?: never;
2569
+ cookie?: never;
2570
+ };
2571
+ requestBody: components["requestBodies"]["BookingRequest"];
2572
+ responses: {
2573
+ /** @description successful operation */
2574
+ 200: {
2575
+ headers: {
2576
+ [name: string]: unknown;
2577
+ };
2578
+ content: {
2579
+ "application/json": components["schemas"]["PricingResponse"];
2580
+ };
2581
+ };
2582
+ };
2583
+ };
2584
+ doTripsPerDay: {
2585
+ parameters: {
2586
+ query?: never;
2587
+ header?: never;
2588
+ path?: never;
2589
+ cookie?: never;
2590
+ };
2591
+ /** @description The criteria entity is called “Time table” request. */
2592
+ requestBody: {
2593
+ content: {
2594
+ "application/json": components["schemas"]["TimetablePerDayRequest"];
2595
+ };
2596
+ };
2597
+ responses: {
2598
+ /** @description successful operation */
2599
+ 200: {
2600
+ headers: {
2601
+ [name: string]: unknown;
2602
+ };
2603
+ content: {
2604
+ "application/json": components["schemas"]["TripsOfDayWithDictionary"];
2605
+ };
2606
+ };
2607
+ };
2608
+ };
2609
+ doPrices: {
2610
+ parameters: {
2611
+ query?: never;
2612
+ header?: never;
2613
+ path?: never;
2614
+ cookie?: never;
2615
+ };
2616
+ requestBody: components["requestBodies"]["BookingRequest"];
2617
+ responses: {
2618
+ /** @description successful operation */
2619
+ 200: {
2620
+ headers: {
2621
+ [name: string]: unknown;
2622
+ };
2623
+ content: {
2624
+ "application/json": components["schemas"]["PricingResponse"];
2625
+ };
2626
+ };
2627
+ };
2628
+ };
2629
+ doFinalizeBooking: {
2630
+ parameters: {
2631
+ query?: never;
2632
+ header?: never;
2633
+ path?: never;
2634
+ cookie?: never;
2635
+ };
2636
+ requestBody: components["requestBodies"]["BookingRequest2"];
2637
+ responses: {
2638
+ /** @description successful operation */
2639
+ 200: {
2640
+ headers: {
2641
+ [name: string]: unknown;
2642
+ };
2643
+ content: {
2644
+ "application/json": components["schemas"]["BookingResponse"];
2645
+ };
2646
+ };
2647
+ };
2648
+ };
2649
+ doCreateBookingIdentifier: {
2650
+ parameters: {
2651
+ query?: never;
2652
+ header?: never;
2653
+ path?: never;
2654
+ cookie?: never;
2655
+ };
2656
+ requestBody: components["requestBodies"]["BookingRequest2"];
2657
+ responses: {
2658
+ /** @description successful operation */
2659
+ 200: {
2660
+ headers: {
2661
+ [name: string]: unknown;
2662
+ };
2663
+ content: {
2664
+ "application/json": components["schemas"]["BookingIdentifierResponse"];
2665
+ };
2666
+ };
2667
+ };
2668
+ };
2669
+ doCompanyFinancialDetails: {
2670
+ parameters: {
2671
+ query?: never;
2672
+ header?: never;
2673
+ path: {
2674
+ /** @description company abbreviation */
2675
+ company_abbreviation: string;
2676
+ };
2677
+ cookie?: never;
2678
+ };
2679
+ requestBody?: never;
2680
+ responses: {
2681
+ /** @description successful operation */
2682
+ 200: {
2683
+ headers: {
2684
+ [name: string]: unknown;
2685
+ };
2686
+ content: {
2687
+ "application/json": string[];
2688
+ };
2689
+ };
2690
+ };
2691
+ };
2692
+ doCountries: {
2693
+ parameters: {
2694
+ query?: never;
2695
+ header?: never;
2696
+ path?: never;
2697
+ cookie?: never;
2698
+ };
2699
+ requestBody?: never;
2700
+ responses: {
2701
+ /** @description successful operation */
2702
+ 200: {
2703
+ headers: {
2704
+ [name: string]: unknown;
2705
+ };
2706
+ content: {
2707
+ "application/json": components["schemas"]["Country"][];
2708
+ };
2709
+ };
2710
+ };
2711
+ };
2712
+ doResidentStaticData: {
2713
+ parameters: {
2714
+ query?: {
2715
+ /** @description The company that will be used to search the resident data */
2716
+ "company-abbreviation"?: string;
2717
+ };
2718
+ header?: never;
2719
+ path?: never;
2720
+ cookie?: never;
2721
+ };
2722
+ requestBody?: never;
2723
+ responses: {
2724
+ /** @description successful operation */
2725
+ 200: {
2726
+ headers: {
2727
+ [name: string]: unknown;
2728
+ };
2729
+ content: {
2730
+ "application/json": components["schemas"]["ResidentStaticData"];
2731
+ };
2732
+ };
2733
+ };
2734
+ };
2735
+ doAvailability: {
2736
+ parameters: {
2737
+ query?: never;
2738
+ header?: never;
2739
+ path?: never;
2740
+ cookie?: never;
2741
+ };
2742
+ /** @description The criteria entity is called “Time table” request. */
2743
+ requestBody: {
2744
+ content: {
2745
+ "application/json": components["schemas"]["AvailabilityRequest"];
2746
+ };
2747
+ };
2748
+ responses: {
2749
+ /** @description successful operation */
2750
+ 200: {
2751
+ headers: {
2752
+ [name: string]: unknown;
2753
+ };
2754
+ content: {
2755
+ "application/json": components["schemas"]["TripsWithDictionary"];
2756
+ };
2757
+ };
2758
+ };
2759
+ };
2760
+ doSimpleTrips: {
2761
+ parameters: {
2762
+ query?: never;
2763
+ header?: never;
2764
+ path?: never;
2765
+ cookie?: never;
2766
+ };
2767
+ requestBody: components["requestBodies"]["TimetableRequest"];
2768
+ responses: {
2769
+ /** @description successful operation */
2770
+ 200: {
2771
+ headers: {
2772
+ [name: string]: unknown;
2773
+ };
2774
+ content: {
2775
+ "application/json": components["schemas"]["TripsWithDictionary"];
2776
+ };
2777
+ };
2778
+ };
2779
+ };
2780
+ doCancellation: {
2781
+ parameters: {
2782
+ query?: never;
2783
+ header?: never;
2784
+ path: {
2785
+ /** @description Liknoss’ unique identification number. */
2786
+ crs_reservation_id: number;
2787
+ };
2788
+ cookie?: never;
2789
+ };
2790
+ requestBody?: never;
2791
+ responses: {
2792
+ /** @description successful operation */
2793
+ 200: {
2794
+ headers: {
2795
+ [name: string]: unknown;
2796
+ };
2797
+ content: {
2798
+ "application/json": components["schemas"]["CancellationResponse"];
2799
+ };
2800
+ };
2801
+ };
2802
+ };
2803
+ doRouteFrequencies: {
2804
+ parameters: {
2805
+ query?: never;
2806
+ header?: never;
2807
+ path?: never;
2808
+ cookie?: never;
2809
+ };
2810
+ /** @description The criteria entity is called “Route frequency request” */
2811
+ requestBody: {
2812
+ content: {
2813
+ "application/json": components["schemas"]["RouteFrequencyRequest"];
2814
+ };
2815
+ };
2816
+ responses: {
2817
+ /** @description successful operation */
2818
+ 200: {
2819
+ headers: {
2820
+ [name: string]: unknown;
2821
+ };
2822
+ content: {
2823
+ "application/json": components["schemas"]["RouteFrequency"][];
2824
+ };
2825
+ };
2826
+ };
2827
+ };
2828
+ doFinalizeMultiBooking: {
2829
+ parameters: {
2830
+ query?: never;
2831
+ header?: never;
2832
+ path?: never;
2833
+ cookie?: never;
2834
+ };
2835
+ requestBody: components["requestBodies"]["BookingRequest2"];
2836
+ responses: {
2837
+ /** @description successful operation */
2838
+ 200: {
2839
+ headers: {
2840
+ [name: string]: unknown;
2841
+ };
2842
+ content: {
2843
+ "application/json": components["schemas"]["BookingResponse"];
2844
+ };
2845
+ };
2846
+ };
2847
+ };
2848
+ doMultiCancellationBooking: {
2849
+ parameters: {
2850
+ query?: never;
2851
+ header?: never;
2852
+ path: {
2853
+ /** @description Liknoss’ unique identification number. */
2854
+ crs_reservation_id: number;
2855
+ };
2856
+ cookie?: never;
2857
+ };
2858
+ requestBody?: never;
2859
+ responses: {
2860
+ /** @description successful operation */
2861
+ 200: {
2862
+ headers: {
2863
+ [name: string]: unknown;
2864
+ };
2865
+ content: {
2866
+ "application/json": components["schemas"]["CancellationResponse"];
2867
+ };
2868
+ };
2869
+ };
2870
+ };
2871
+ doAccommodationPlan: {
2872
+ parameters: {
2873
+ query?: never;
2874
+ header?: never;
2875
+ path?: never;
2876
+ cookie?: never;
2877
+ };
2878
+ /** @description In this method, only the trip should be filled. */
2879
+ requestBody: {
2880
+ content: {
2881
+ "application/json": components["schemas"]["AccommodationPlanRequest"];
2882
+ };
2883
+ };
2884
+ responses: {
2885
+ /** @description successful operation */
2886
+ 200: {
2887
+ headers: {
2888
+ [name: string]: unknown;
2889
+ };
2890
+ content: {
2891
+ "application/json": components["schemas"]["AccommodationPlanResponse"];
2892
+ };
2893
+ };
2894
+ };
2895
+ };
2896
+ doLockAccommodationSpace: {
2897
+ parameters: {
2898
+ query?: never;
2899
+ header?: never;
2900
+ path?: never;
2901
+ cookie?: never;
2902
+ };
2903
+ /** @description In this method, the trip should be filled as well as planItems with the items for locking. */
2904
+ requestBody: {
2905
+ content: {
2906
+ "application/json": components["schemas"]["AccommodationPlanRequest"];
2907
+ };
2908
+ };
2909
+ responses: {
2910
+ /** @description successful operation */
2911
+ 200: {
2912
+ headers: {
2913
+ [name: string]: unknown;
2914
+ };
2915
+ content: {
2916
+ "application/json": components["schemas"]["AccommodationSpaceResponse"];
2917
+ };
2918
+ };
2919
+ };
2920
+ };
2921
+ doUnlockAccommodationSpace: {
2922
+ parameters: {
2923
+ query?: never;
2924
+ header?: never;
2925
+ path?: never;
2926
+ cookie?: never;
2927
+ };
2928
+ /** @description In this method, the trip should be filled as well as planItems with the items for unlocking. */
2929
+ requestBody: {
2930
+ content: {
2931
+ "application/json": components["schemas"]["AccommodationPlanRequest"];
2932
+ };
2933
+ };
2934
+ responses: {
2935
+ /** @description successful operation */
2936
+ 200: {
2937
+ headers: {
2938
+ [name: string]: unknown;
2939
+ };
2940
+ content: {
2941
+ "application/json": components["schemas"]["AccommodationSpaceResponse"];
2942
+ };
2943
+ };
2944
+ };
2945
+ };
2946
+ doRetrieveBookingLeader: {
2947
+ parameters: {
2948
+ query?: never;
2949
+ header?: never;
2950
+ path: {
2951
+ /** @description Liknoss’ unique identification number. */
2952
+ crs_reservation_id: number;
2953
+ };
2954
+ cookie?: never;
2955
+ };
2956
+ requestBody?: never;
2957
+ responses: {
2958
+ /** @description successful operation */
2959
+ 200: {
2960
+ headers: {
2961
+ [name: string]: unknown;
2962
+ };
2963
+ content: {
2964
+ "application/json": components["schemas"]["BookingLeaderResponse"];
2965
+ };
2966
+ };
2967
+ };
2968
+ };
2969
+ doValidateLoyaltyMethod: {
2970
+ parameters: {
2971
+ query?: never;
2972
+ header?: never;
2973
+ path?: never;
2974
+ cookie?: never;
2975
+ };
2976
+ requestBody?: {
2977
+ content: {
2978
+ "application/json": components["schemas"]["LoyaltyValidationRequest"];
2979
+ };
2980
+ };
2981
+ responses: {
2982
+ /** @description successful operation */
2983
+ 200: {
2984
+ headers: {
2985
+ [name: string]: unknown;
2986
+ };
2987
+ content: {
2988
+ "application/json": components["schemas"]["LoyaltyValidationResponse"];
2989
+ };
2990
+ };
2991
+ };
2992
+ };
2993
+ generateVoucher: {
2994
+ parameters: {
2995
+ query?: never;
2996
+ header?: never;
2997
+ path: {
2998
+ /** @description Liknoss’ unique identification number. */
2999
+ crs_reservation_id: number;
3000
+ };
3001
+ cookie?: never;
3002
+ };
3003
+ requestBody?: never;
3004
+ responses: {
3005
+ /** @description successful operation */
3006
+ 200: {
3007
+ headers: {
3008
+ [name: string]: unknown;
3009
+ };
3010
+ content: {
3011
+ "application/json": components["schemas"]["VoucherOfBooking"];
3012
+ };
3013
+ };
3014
+ };
3015
+ };
3016
+ doCompanies: {
3017
+ parameters: {
3018
+ query?: never;
3019
+ header?: never;
3020
+ path?: never;
3021
+ cookie?: never;
3022
+ };
3023
+ requestBody?: never;
3024
+ responses: {
3025
+ /** @description successful operation */
3026
+ 200: {
3027
+ headers: {
3028
+ [name: string]: unknown;
3029
+ };
3030
+ content: {
3031
+ "application/json": components["schemas"]["Company"][];
3032
+ };
3033
+ };
3034
+ };
3035
+ };
3036
+ doRoutes: {
3037
+ parameters: {
3038
+ query?: {
3039
+ /** @description A list of comma separated company abbreviations. */
3040
+ companyAbbreviations?: string[];
3041
+ /** @description Possible values are BT (data for bus transportation), ST (data for sea transportation) and AT (data for both sea and bus transportation). Default value, is AT. */
3042
+ transportationType?: string;
3043
+ };
3044
+ header?: never;
3045
+ path?: never;
3046
+ cookie?: never;
3047
+ };
3048
+ requestBody?: never;
3049
+ responses: {
3050
+ /** @description successful operation */
3051
+ 200: {
3052
+ headers: {
3053
+ [name: string]: unknown;
3054
+ };
3055
+ content: {
3056
+ "application/json": components["schemas"]["TransportationType"][];
3057
+ };
3058
+ };
3059
+ };
3060
+ };
3061
+ doConfirmPayment: {
3062
+ parameters: {
3063
+ query?: never;
3064
+ header?: never;
3065
+ path?: never;
3066
+ cookie?: never;
3067
+ };
3068
+ requestBody?: {
3069
+ content: {
3070
+ "application/json": components["schemas"]["ConfirmPaymentRequest"];
3071
+ };
3072
+ };
3073
+ responses: {
3074
+ /** @description successful operation */
3075
+ 200: {
3076
+ headers: {
3077
+ [name: string]: unknown;
3078
+ };
3079
+ content: {
3080
+ "application/json": components["schemas"]["ConfirmPaymentResponse"];
3081
+ };
3082
+ };
3083
+ };
3084
+ };
3085
+ }