@gojinko/api-client 2.26.0 → 2.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +18 -2
- package/dist/client.js.map +1 -1
- package/dist/errors.d.ts +7 -0
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js.map +1 -1
- package/dist/types/generated.d.ts +0 -37
- package/dist/types/generated.d.ts.map +1 -1
- package/package.json +1 -1
- package/public-api.yaml +92 -143
package/public-api.yaml
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
# synced from jinko-api@
|
|
1
|
+
# synced from jinko-api@c46664fb52f2597644c841a14abe5a1eb80cee21 (c46664fb)
|
|
2
2
|
# Vendored copy of the canonical public contract. Do not hand-edit: change it in
|
|
3
3
|
# jinko-api, then `pnpm sync:api-spec <ref>` here, which also runs `pnpm generate:api-types`.
|
|
4
4
|
openapi: 3.0.0
|
|
5
5
|
info:
|
|
6
6
|
title: Jinko Public API
|
|
7
|
-
version: 0.
|
|
7
|
+
version: 0.10.0
|
|
8
8
|
description: >-
|
|
9
9
|
Curated public REST surface for Jinko. Authenticated with jnk_ API keys. See
|
|
10
10
|
https://docs.gojinko.com for guides.
|
|
@@ -458,26 +458,6 @@ components:
|
|
|
458
458
|
direct_only:
|
|
459
459
|
type: boolean
|
|
460
460
|
example: false
|
|
461
|
-
include_carriers:
|
|
462
|
-
type: array
|
|
463
|
-
items:
|
|
464
|
-
type: string
|
|
465
|
-
pattern: ^[A-Za-z0-9]{2,3}$
|
|
466
|
-
description: Keep only itineraries whose VALIDATING (ticketing) carrier is in
|
|
467
|
-
this list — the only carrier field the flight cache carries, unlike
|
|
468
|
-
the marketing-carrier match on flight_search. 2-3 character
|
|
469
|
-
IATA/ICAO codes. Must not overlap `exclude_carriers`.
|
|
470
|
-
example: &a8
|
|
471
|
-
- UA
|
|
472
|
-
exclude_carriers:
|
|
473
|
-
type: array
|
|
474
|
-
items:
|
|
475
|
-
type: string
|
|
476
|
-
pattern: ^[A-Za-z0-9]{2,3}$
|
|
477
|
-
description: Drop itineraries whose VALIDATING (ticketing) carrier is in this
|
|
478
|
-
list. Same semantics as `include_carriers`; must not overlap it.
|
|
479
|
-
example: &a9
|
|
480
|
-
- NK
|
|
481
461
|
adults:
|
|
482
462
|
type: integer
|
|
483
463
|
minimum: 0
|
|
@@ -528,7 +508,7 @@ components:
|
|
|
528
508
|
default: 0
|
|
529
509
|
sort_by:
|
|
530
510
|
type: string
|
|
531
|
-
enum: &
|
|
511
|
+
enum: &a8
|
|
532
512
|
- lowest
|
|
533
513
|
- recommendation
|
|
534
514
|
default: lowest
|
|
@@ -565,19 +545,6 @@ components:
|
|
|
565
545
|
next_page_token:
|
|
566
546
|
type: string
|
|
567
547
|
example: eyJvZmZzZXQiOjIwfQ==
|
|
568
|
-
available_airlines:
|
|
569
|
-
type: array
|
|
570
|
-
items:
|
|
571
|
-
type: string
|
|
572
|
-
description: VALIDATING (ticketing) carrier codes present across the WHOLE
|
|
573
|
-
cached match set — not just this page — ordered by itinerary count
|
|
574
|
-
descending. Lets a caller discover which airlines are available
|
|
575
|
-
(e.g. to retry with `include_carriers`) without paging through every
|
|
576
|
-
result. Absent when the platform reports no facet data.
|
|
577
|
-
example:
|
|
578
|
-
- UA
|
|
579
|
-
- DL
|
|
580
|
-
- AA
|
|
581
548
|
required:
|
|
582
549
|
- itineraries
|
|
583
550
|
FlightDiscoveryRequest:
|
|
@@ -648,24 +615,6 @@ components:
|
|
|
648
615
|
direct_only:
|
|
649
616
|
type: boolean
|
|
650
617
|
example: false
|
|
651
|
-
include_carriers:
|
|
652
|
-
type: array
|
|
653
|
-
items:
|
|
654
|
-
type: string
|
|
655
|
-
pattern: ^[A-Za-z0-9]{2,3}$
|
|
656
|
-
description: Keep only itineraries whose VALIDATING (ticketing) carrier is in
|
|
657
|
-
this list — the only carrier field the flight cache carries, unlike
|
|
658
|
-
the marketing-carrier match on flight_search. 2-3 character
|
|
659
|
-
IATA/ICAO codes. Must not overlap `exclude_carriers`.
|
|
660
|
-
example: *a8
|
|
661
|
-
exclude_carriers:
|
|
662
|
-
type: array
|
|
663
|
-
items:
|
|
664
|
-
type: string
|
|
665
|
-
pattern: ^[A-Za-z0-9]{2,3}$
|
|
666
|
-
description: Drop itineraries whose VALIDATING (ticketing) carrier is in this
|
|
667
|
-
list. Same semantics as `include_carriers`; must not overlap it.
|
|
668
|
-
example: *a9
|
|
669
618
|
adults:
|
|
670
619
|
type: integer
|
|
671
620
|
minimum: 0
|
|
@@ -716,7 +665,7 @@ components:
|
|
|
716
665
|
default: 0
|
|
717
666
|
sort_by:
|
|
718
667
|
type: string
|
|
719
|
-
enum: *
|
|
668
|
+
enum: *a8
|
|
720
669
|
default: lowest
|
|
721
670
|
intent:
|
|
722
671
|
$ref: "#/components/schemas/IntentInput"
|
|
@@ -1558,12 +1507,12 @@ components:
|
|
|
1558
1507
|
pattern: ^\d{4}-\d{2}-\d{2}$
|
|
1559
1508
|
origin_type:
|
|
1560
1509
|
type: string
|
|
1561
|
-
enum: &
|
|
1510
|
+
enum: &a9
|
|
1562
1511
|
- city
|
|
1563
1512
|
- airport
|
|
1564
1513
|
destination_type:
|
|
1565
1514
|
type: string
|
|
1566
|
-
enum: *
|
|
1515
|
+
enum: *a9
|
|
1567
1516
|
cabin_class:
|
|
1568
1517
|
type: string
|
|
1569
1518
|
enum: *a7
|
|
@@ -1980,7 +1929,7 @@ components:
|
|
|
1980
1929
|
example: trip_1048576
|
|
1981
1930
|
status:
|
|
1982
1931
|
type: string
|
|
1983
|
-
enum: &
|
|
1932
|
+
enum: &a10
|
|
1984
1933
|
- draft
|
|
1985
1934
|
- quoting
|
|
1986
1935
|
- quoted
|
|
@@ -2060,7 +2009,7 @@ components:
|
|
|
2060
2009
|
- message
|
|
2061
2010
|
status:
|
|
2062
2011
|
type: string
|
|
2063
|
-
enum: *
|
|
2012
|
+
enum: *a10
|
|
2064
2013
|
description: The trip state that refused the write. `expired` on TRIP_EXPIRED;
|
|
2065
2014
|
on TRIP_STATE_CONFLICT it is whichever state the trip is actually
|
|
2066
2015
|
in. Nothing was changed, so re-reading the trip returns this same
|
|
@@ -2265,7 +2214,7 @@ components:
|
|
|
2265
2214
|
example: trip_1048576
|
|
2266
2215
|
status:
|
|
2267
2216
|
type: string
|
|
2268
|
-
enum: *
|
|
2217
|
+
enum: *a10
|
|
2269
2218
|
description: "Where the trip is in its lifecycle. `expired` is the 24-hour
|
|
2270
2219
|
lapse: it is evaluated LAZILY, on the read that first observes it,
|
|
2271
2220
|
so this call is where a dead trip becomes visible. Once a trip is
|
|
@@ -3714,7 +3663,7 @@ components:
|
|
|
3714
3663
|
required:
|
|
3715
3664
|
- booking_ref
|
|
3716
3665
|
- last_name
|
|
3717
|
-
example: &
|
|
3666
|
+
example: &a11
|
|
3718
3667
|
booking_ref: JNK-8PT9VS
|
|
3719
3668
|
last_name: Carrard
|
|
3720
3669
|
CarCancelCommitResponse:
|
|
@@ -3819,7 +3768,7 @@ components:
|
|
|
3819
3768
|
required:
|
|
3820
3769
|
- booking_ref
|
|
3821
3770
|
- last_name
|
|
3822
|
-
example: *
|
|
3771
|
+
example: *a11
|
|
3823
3772
|
CarExchangeVehicle:
|
|
3824
3773
|
type: object
|
|
3825
3774
|
properties:
|
|
@@ -4173,7 +4122,7 @@ components:
|
|
|
4173
4122
|
required:
|
|
4174
4123
|
- booking_ref
|
|
4175
4124
|
- last_name
|
|
4176
|
-
example: *
|
|
4125
|
+
example: *a11
|
|
4177
4126
|
DestinationSnapshotRow:
|
|
4178
4127
|
type: object
|
|
4179
4128
|
properties:
|
|
@@ -4499,7 +4448,7 @@ components:
|
|
|
4499
4448
|
required:
|
|
4500
4449
|
- booking_ref
|
|
4501
4450
|
- last_name
|
|
4502
|
-
example: &
|
|
4451
|
+
example: &a12
|
|
4503
4452
|
booking_ref: JNK-A0AUR2
|
|
4504
4453
|
last_name: Carrard
|
|
4505
4454
|
ServicingState:
|
|
@@ -4632,7 +4581,7 @@ components:
|
|
|
4632
4581
|
required:
|
|
4633
4582
|
- booking_ref
|
|
4634
4583
|
- last_name
|
|
4635
|
-
example: *
|
|
4584
|
+
example: *a12
|
|
4636
4585
|
RefundStatusResponse:
|
|
4637
4586
|
type: object
|
|
4638
4587
|
properties:
|
|
@@ -4693,7 +4642,7 @@ components:
|
|
|
4693
4642
|
required:
|
|
4694
4643
|
- booking_ref
|
|
4695
4644
|
- last_name
|
|
4696
|
-
example: *
|
|
4645
|
+
example: *a12
|
|
4697
4646
|
ExchangeOffer:
|
|
4698
4647
|
type: object
|
|
4699
4648
|
properties:
|
|
@@ -4754,7 +4703,7 @@ components:
|
|
|
4754
4703
|
required:
|
|
4755
4704
|
- booking_ref
|
|
4756
4705
|
- last_name
|
|
4757
|
-
example: *
|
|
4706
|
+
example: *a12
|
|
4758
4707
|
ExchangePriceResponse:
|
|
4759
4708
|
type: object
|
|
4760
4709
|
properties:
|
|
@@ -4901,7 +4850,7 @@ components:
|
|
|
4901
4850
|
required:
|
|
4902
4851
|
- booking_ref
|
|
4903
4852
|
- last_name
|
|
4904
|
-
example: *
|
|
4853
|
+
example: *a12
|
|
4905
4854
|
ProviderFigures:
|
|
4906
4855
|
type: object
|
|
4907
4856
|
properties:
|
|
@@ -5670,7 +5619,7 @@ components:
|
|
|
5670
5619
|
example: Carrard
|
|
5671
5620
|
intent:
|
|
5672
5621
|
$ref: "#/components/schemas/IntentInput"
|
|
5673
|
-
example: *
|
|
5622
|
+
example: *a12
|
|
5674
5623
|
FlightRefundCommitResponse:
|
|
5675
5624
|
type: object
|
|
5676
5625
|
properties:
|
|
@@ -6312,7 +6261,7 @@ paths:
|
|
|
6312
6261
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
6313
6262
|
"503":
|
|
6314
6263
|
description: No travel provider can serve the request right now
|
|
6315
|
-
headers: &
|
|
6264
|
+
headers: &a13
|
|
6316
6265
|
Retry-After:
|
|
6317
6266
|
description: Seconds to wait before retrying, forwarded verbatim from the
|
|
6318
6267
|
upstream service. Absent when the upstream named no interval.
|
|
@@ -6453,7 +6402,7 @@ paths:
|
|
|
6453
6402
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
6454
6403
|
"503":
|
|
6455
6404
|
description: No travel provider can serve the request right now
|
|
6456
|
-
headers: *
|
|
6405
|
+
headers: *a13
|
|
6457
6406
|
content:
|
|
6458
6407
|
application/json:
|
|
6459
6408
|
schema:
|
|
@@ -6595,7 +6544,7 @@ paths:
|
|
|
6595
6544
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
6596
6545
|
"503":
|
|
6597
6546
|
description: No travel provider can serve the request right now
|
|
6598
|
-
headers: *
|
|
6547
|
+
headers: *a13
|
|
6599
6548
|
content:
|
|
6600
6549
|
application/json:
|
|
6601
6550
|
schema:
|
|
@@ -6736,7 +6685,7 @@ paths:
|
|
|
6736
6685
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
6737
6686
|
"503":
|
|
6738
6687
|
description: No travel provider can serve the request right now
|
|
6739
|
-
headers: *
|
|
6688
|
+
headers: *a13
|
|
6740
6689
|
content:
|
|
6741
6690
|
application/json:
|
|
6742
6691
|
schema:
|
|
@@ -6876,7 +6825,7 @@ paths:
|
|
|
6876
6825
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
6877
6826
|
"503":
|
|
6878
6827
|
description: No travel provider can serve the request right now
|
|
6879
|
-
headers: *
|
|
6828
|
+
headers: *a13
|
|
6880
6829
|
content:
|
|
6881
6830
|
application/json:
|
|
6882
6831
|
schema:
|
|
@@ -7012,7 +6961,7 @@ paths:
|
|
|
7012
6961
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
7013
6962
|
"503":
|
|
7014
6963
|
description: No travel provider can serve the request right now
|
|
7015
|
-
headers: *
|
|
6964
|
+
headers: *a13
|
|
7016
6965
|
content:
|
|
7017
6966
|
application/json:
|
|
7018
6967
|
schema:
|
|
@@ -7165,7 +7114,7 @@ paths:
|
|
|
7165
7114
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
7166
7115
|
"503":
|
|
7167
7116
|
description: No travel provider can serve the request right now
|
|
7168
|
-
headers: *
|
|
7117
|
+
headers: *a13
|
|
7169
7118
|
content:
|
|
7170
7119
|
application/json:
|
|
7171
7120
|
schema:
|
|
@@ -7303,7 +7252,7 @@ paths:
|
|
|
7303
7252
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
7304
7253
|
"503":
|
|
7305
7254
|
description: No travel provider can serve the request right now
|
|
7306
|
-
headers: *
|
|
7255
|
+
headers: *a13
|
|
7307
7256
|
content:
|
|
7308
7257
|
application/json:
|
|
7309
7258
|
schema:
|
|
@@ -7451,7 +7400,7 @@ paths:
|
|
|
7451
7400
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
7452
7401
|
"503":
|
|
7453
7402
|
description: No travel provider can serve the request right now
|
|
7454
|
-
headers: *
|
|
7403
|
+
headers: *a13
|
|
7455
7404
|
content:
|
|
7456
7405
|
application/json:
|
|
7457
7406
|
schema:
|
|
@@ -7587,7 +7536,7 @@ paths:
|
|
|
7587
7536
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
7588
7537
|
"503":
|
|
7589
7538
|
description: No travel provider can serve the request right now
|
|
7590
|
-
headers: *
|
|
7539
|
+
headers: *a13
|
|
7591
7540
|
content:
|
|
7592
7541
|
application/json:
|
|
7593
7542
|
schema:
|
|
@@ -7689,7 +7638,7 @@ paths:
|
|
|
7689
7638
|
anyOf:
|
|
7690
7639
|
- $ref: "#/components/schemas/TripStateResponse"
|
|
7691
7640
|
- $ref: "#/components/schemas/ErrorResponse"
|
|
7692
|
-
example: &
|
|
7641
|
+
example: &a14
|
|
7693
7642
|
error:
|
|
7694
7643
|
code: CONFLICT
|
|
7695
7644
|
message: This trip is already being checked out; no second checkout was started.
|
|
@@ -7741,7 +7690,7 @@ paths:
|
|
|
7741
7690
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
7742
7691
|
"503":
|
|
7743
7692
|
description: No travel provider can serve the request right now
|
|
7744
|
-
headers: *
|
|
7693
|
+
headers: *a13
|
|
7745
7694
|
content:
|
|
7746
7695
|
application/json:
|
|
7747
7696
|
schema:
|
|
@@ -7850,7 +7799,7 @@ paths:
|
|
|
7850
7799
|
anyOf:
|
|
7851
7800
|
- $ref: "#/components/schemas/TripStateResponse"
|
|
7852
7801
|
- $ref: "#/components/schemas/ErrorResponse"
|
|
7853
|
-
example: *
|
|
7802
|
+
example: *a14
|
|
7854
7803
|
"410":
|
|
7855
7804
|
description: The resource this request names no longer exists
|
|
7856
7805
|
content:
|
|
@@ -7898,7 +7847,7 @@ paths:
|
|
|
7898
7847
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
7899
7848
|
"503":
|
|
7900
7849
|
description: No travel provider can serve the request right now
|
|
7901
|
-
headers: *
|
|
7850
|
+
headers: *a13
|
|
7902
7851
|
content:
|
|
7903
7852
|
application/json:
|
|
7904
7853
|
schema:
|
|
@@ -8050,7 +7999,7 @@ paths:
|
|
|
8050
7999
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
8051
8000
|
"503":
|
|
8052
8001
|
description: No travel provider can serve the request right now
|
|
8053
|
-
headers: *
|
|
8002
|
+
headers: *a13
|
|
8054
8003
|
content:
|
|
8055
8004
|
application/json:
|
|
8056
8005
|
schema:
|
|
@@ -8186,7 +8135,7 @@ paths:
|
|
|
8186
8135
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
8187
8136
|
"503":
|
|
8188
8137
|
description: No travel provider can serve the request right now
|
|
8189
|
-
headers: *
|
|
8138
|
+
headers: *a13
|
|
8190
8139
|
content:
|
|
8191
8140
|
application/json:
|
|
8192
8141
|
schema:
|
|
@@ -8334,7 +8283,7 @@ paths:
|
|
|
8334
8283
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
8335
8284
|
"503":
|
|
8336
8285
|
description: No travel provider can serve the request right now
|
|
8337
|
-
headers: *
|
|
8286
|
+
headers: *a13
|
|
8338
8287
|
content:
|
|
8339
8288
|
application/json:
|
|
8340
8289
|
schema:
|
|
@@ -8475,7 +8424,7 @@ paths:
|
|
|
8475
8424
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
8476
8425
|
"503":
|
|
8477
8426
|
description: No travel provider can serve the request right now
|
|
8478
|
-
headers: *
|
|
8427
|
+
headers: *a13
|
|
8479
8428
|
content:
|
|
8480
8429
|
application/json:
|
|
8481
8430
|
schema:
|
|
@@ -8621,7 +8570,7 @@ paths:
|
|
|
8621
8570
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
8622
8571
|
"503":
|
|
8623
8572
|
description: No travel provider can serve the request right now
|
|
8624
|
-
headers: *
|
|
8573
|
+
headers: *a13
|
|
8625
8574
|
content:
|
|
8626
8575
|
application/json:
|
|
8627
8576
|
schema:
|
|
@@ -8774,7 +8723,7 @@ paths:
|
|
|
8774
8723
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
8775
8724
|
"503":
|
|
8776
8725
|
description: No travel provider can serve the request right now
|
|
8777
|
-
headers: *
|
|
8726
|
+
headers: *a13
|
|
8778
8727
|
content:
|
|
8779
8728
|
application/json:
|
|
8780
8729
|
schema:
|
|
@@ -8927,7 +8876,7 @@ paths:
|
|
|
8927
8876
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
8928
8877
|
"503":
|
|
8929
8878
|
description: No travel provider can serve the request right now
|
|
8930
|
-
headers: *
|
|
8879
|
+
headers: *a13
|
|
8931
8880
|
content:
|
|
8932
8881
|
application/json:
|
|
8933
8882
|
schema:
|
|
@@ -9079,7 +9028,7 @@ paths:
|
|
|
9079
9028
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
9080
9029
|
"503":
|
|
9081
9030
|
description: No travel provider can serve the request right now
|
|
9082
|
-
headers: *
|
|
9031
|
+
headers: *a13
|
|
9083
9032
|
content:
|
|
9084
9033
|
application/json:
|
|
9085
9034
|
schema:
|
|
@@ -9239,7 +9188,7 @@ paths:
|
|
|
9239
9188
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
9240
9189
|
"503":
|
|
9241
9190
|
description: No travel provider can serve the request right now
|
|
9242
|
-
headers: *
|
|
9191
|
+
headers: *a13
|
|
9243
9192
|
content:
|
|
9244
9193
|
application/json:
|
|
9245
9194
|
schema:
|
|
@@ -9398,7 +9347,7 @@ paths:
|
|
|
9398
9347
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
9399
9348
|
"503":
|
|
9400
9349
|
description: No travel provider can serve the request right now
|
|
9401
|
-
headers: *
|
|
9350
|
+
headers: *a13
|
|
9402
9351
|
content:
|
|
9403
9352
|
application/json:
|
|
9404
9353
|
schema:
|
|
@@ -9552,7 +9501,7 @@ paths:
|
|
|
9552
9501
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
9553
9502
|
"503":
|
|
9554
9503
|
description: No travel provider can serve the request right now
|
|
9555
|
-
headers: *
|
|
9504
|
+
headers: *a13
|
|
9556
9505
|
content:
|
|
9557
9506
|
application/json:
|
|
9558
9507
|
schema:
|
|
@@ -9618,7 +9567,7 @@ paths:
|
|
|
9618
9567
|
in: query
|
|
9619
9568
|
- schema:
|
|
9620
9569
|
type: string
|
|
9621
|
-
enum: &
|
|
9570
|
+
enum: &a15
|
|
9622
9571
|
- Solo
|
|
9623
9572
|
- Couple
|
|
9624
9573
|
- Group
|
|
@@ -9629,7 +9578,7 @@ paths:
|
|
|
9629
9578
|
in: query
|
|
9630
9579
|
- schema:
|
|
9631
9580
|
type: string
|
|
9632
|
-
enum: &
|
|
9581
|
+
enum: &a16
|
|
9633
9582
|
- One-Way
|
|
9634
9583
|
- Round-Trip
|
|
9635
9584
|
example: Round-Trip
|
|
@@ -9699,7 +9648,7 @@ paths:
|
|
|
9699
9648
|
in: query
|
|
9700
9649
|
- schema:
|
|
9701
9650
|
type: string
|
|
9702
|
-
enum: &
|
|
9651
|
+
enum: &a17
|
|
9703
9652
|
- country
|
|
9704
9653
|
- city
|
|
9705
9654
|
description: "Ranked output granularity: country (default) or city. Applies to
|
|
@@ -9818,7 +9767,7 @@ paths:
|
|
|
9818
9767
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
9819
9768
|
"503":
|
|
9820
9769
|
description: No travel provider can serve the request right now
|
|
9821
|
-
headers: *
|
|
9770
|
+
headers: *a13
|
|
9822
9771
|
content:
|
|
9823
9772
|
application/json:
|
|
9824
9773
|
schema:
|
|
@@ -9884,14 +9833,14 @@ paths:
|
|
|
9884
9833
|
in: query
|
|
9885
9834
|
- schema:
|
|
9886
9835
|
type: string
|
|
9887
|
-
enum: *
|
|
9836
|
+
enum: *a15
|
|
9888
9837
|
example: Couple
|
|
9889
9838
|
required: false
|
|
9890
9839
|
name: traveler_type
|
|
9891
9840
|
in: query
|
|
9892
9841
|
- schema:
|
|
9893
9842
|
type: string
|
|
9894
|
-
enum: *
|
|
9843
|
+
enum: *a16
|
|
9895
9844
|
example: Round-Trip
|
|
9896
9845
|
required: false
|
|
9897
9846
|
name: trip_type
|
|
@@ -9959,7 +9908,7 @@ paths:
|
|
|
9959
9908
|
in: query
|
|
9960
9909
|
- schema:
|
|
9961
9910
|
type: string
|
|
9962
|
-
enum: *
|
|
9911
|
+
enum: *a17
|
|
9963
9912
|
description: "Ranked output granularity: country (default) or city. Applies to
|
|
9964
9913
|
destination/market (not audience)."
|
|
9965
9914
|
example: city
|
|
@@ -10076,7 +10025,7 @@ paths:
|
|
|
10076
10025
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
10077
10026
|
"503":
|
|
10078
10027
|
description: No travel provider can serve the request right now
|
|
10079
|
-
headers: *
|
|
10028
|
+
headers: *a13
|
|
10080
10029
|
content:
|
|
10081
10030
|
application/json:
|
|
10082
10031
|
schema:
|
|
@@ -10148,14 +10097,14 @@ paths:
|
|
|
10148
10097
|
in: query
|
|
10149
10098
|
- schema:
|
|
10150
10099
|
type: string
|
|
10151
|
-
enum: *
|
|
10100
|
+
enum: *a15
|
|
10152
10101
|
example: Couple
|
|
10153
10102
|
required: false
|
|
10154
10103
|
name: traveler_type
|
|
10155
10104
|
in: query
|
|
10156
10105
|
- schema:
|
|
10157
10106
|
type: string
|
|
10158
|
-
enum: *
|
|
10107
|
+
enum: *a16
|
|
10159
10108
|
example: Round-Trip
|
|
10160
10109
|
required: false
|
|
10161
10110
|
name: trip_type
|
|
@@ -10321,7 +10270,7 @@ paths:
|
|
|
10321
10270
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
10322
10271
|
"503":
|
|
10323
10272
|
description: No travel provider can serve the request right now
|
|
10324
|
-
headers: *
|
|
10273
|
+
headers: *a13
|
|
10325
10274
|
content:
|
|
10326
10275
|
application/json:
|
|
10327
10276
|
schema:
|
|
@@ -10399,14 +10348,14 @@ paths:
|
|
|
10399
10348
|
in: query
|
|
10400
10349
|
- schema:
|
|
10401
10350
|
type: string
|
|
10402
|
-
enum: *
|
|
10351
|
+
enum: *a15
|
|
10403
10352
|
example: Couple
|
|
10404
10353
|
required: false
|
|
10405
10354
|
name: traveler_type
|
|
10406
10355
|
in: query
|
|
10407
10356
|
- schema:
|
|
10408
10357
|
type: string
|
|
10409
|
-
enum: *
|
|
10358
|
+
enum: *a16
|
|
10410
10359
|
example: Round-Trip
|
|
10411
10360
|
required: false
|
|
10412
10361
|
name: trip_type
|
|
@@ -10458,7 +10407,7 @@ paths:
|
|
|
10458
10407
|
in: query
|
|
10459
10408
|
- schema:
|
|
10460
10409
|
type: string
|
|
10461
|
-
enum: &
|
|
10410
|
+
enum: &a18
|
|
10462
10411
|
- day
|
|
10463
10412
|
- week
|
|
10464
10413
|
- month
|
|
@@ -10568,7 +10517,7 @@ paths:
|
|
|
10568
10517
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
10569
10518
|
"503":
|
|
10570
10519
|
description: No travel provider can serve the request right now
|
|
10571
|
-
headers: *
|
|
10520
|
+
headers: *a13
|
|
10572
10521
|
content:
|
|
10573
10522
|
application/json:
|
|
10574
10523
|
schema:
|
|
@@ -10636,14 +10585,14 @@ paths:
|
|
|
10636
10585
|
in: query
|
|
10637
10586
|
- schema:
|
|
10638
10587
|
type: string
|
|
10639
|
-
enum: *
|
|
10588
|
+
enum: *a15
|
|
10640
10589
|
example: Couple
|
|
10641
10590
|
required: false
|
|
10642
10591
|
name: traveler_type
|
|
10643
10592
|
in: query
|
|
10644
10593
|
- schema:
|
|
10645
10594
|
type: string
|
|
10646
|
-
enum: *
|
|
10595
|
+
enum: *a16
|
|
10647
10596
|
example: Round-Trip
|
|
10648
10597
|
required: false
|
|
10649
10598
|
name: trip_type
|
|
@@ -10695,7 +10644,7 @@ paths:
|
|
|
10695
10644
|
in: query
|
|
10696
10645
|
- schema:
|
|
10697
10646
|
type: string
|
|
10698
|
-
enum: *
|
|
10647
|
+
enum: *a18
|
|
10699
10648
|
description: "Bucket size for the returned series: week (default), day, or
|
|
10700
10649
|
month."
|
|
10701
10650
|
example: week
|
|
@@ -10704,7 +10653,7 @@ paths:
|
|
|
10704
10653
|
in: query
|
|
10705
10654
|
- schema:
|
|
10706
10655
|
type: string
|
|
10707
|
-
enum: *
|
|
10656
|
+
enum: *a17
|
|
10708
10657
|
description: "Ranked output granularity: country (default) or city. Applies to
|
|
10709
10658
|
destination/market (not audience)."
|
|
10710
10659
|
example: city
|
|
@@ -10831,7 +10780,7 @@ paths:
|
|
|
10831
10780
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
10832
10781
|
"503":
|
|
10833
10782
|
description: No travel provider can serve the request right now
|
|
10834
|
-
headers: *
|
|
10783
|
+
headers: *a13
|
|
10835
10784
|
content:
|
|
10836
10785
|
application/json:
|
|
10837
10786
|
schema:
|
|
@@ -10899,14 +10848,14 @@ paths:
|
|
|
10899
10848
|
in: query
|
|
10900
10849
|
- schema:
|
|
10901
10850
|
type: string
|
|
10902
|
-
enum: *
|
|
10851
|
+
enum: *a15
|
|
10903
10852
|
example: Couple
|
|
10904
10853
|
required: false
|
|
10905
10854
|
name: traveler_type
|
|
10906
10855
|
in: query
|
|
10907
10856
|
- schema:
|
|
10908
10857
|
type: string
|
|
10909
|
-
enum: *
|
|
10858
|
+
enum: *a16
|
|
10910
10859
|
example: Round-Trip
|
|
10911
10860
|
required: false
|
|
10912
10861
|
name: trip_type
|
|
@@ -10958,7 +10907,7 @@ paths:
|
|
|
10958
10907
|
in: query
|
|
10959
10908
|
- schema:
|
|
10960
10909
|
type: string
|
|
10961
|
-
enum: *
|
|
10910
|
+
enum: *a18
|
|
10962
10911
|
description: "Bucket size for the returned series: week (default), day, or
|
|
10963
10912
|
month."
|
|
10964
10913
|
example: week
|
|
@@ -10967,7 +10916,7 @@ paths:
|
|
|
10967
10916
|
in: query
|
|
10968
10917
|
- schema:
|
|
10969
10918
|
type: string
|
|
10970
|
-
enum: *
|
|
10919
|
+
enum: *a17
|
|
10971
10920
|
description: "Ranked output granularity: country (default) or city. Applies to
|
|
10972
10921
|
destination/market (not audience)."
|
|
10973
10922
|
example: city
|
|
@@ -11094,7 +11043,7 @@ paths:
|
|
|
11094
11043
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
11095
11044
|
"503":
|
|
11096
11045
|
description: No travel provider can serve the request right now
|
|
11097
|
-
headers: *
|
|
11046
|
+
headers: *a13
|
|
11098
11047
|
content:
|
|
11099
11048
|
application/json:
|
|
11100
11049
|
schema:
|
|
@@ -11168,14 +11117,14 @@ paths:
|
|
|
11168
11117
|
in: query
|
|
11169
11118
|
- schema:
|
|
11170
11119
|
type: string
|
|
11171
|
-
enum: *
|
|
11120
|
+
enum: *a15
|
|
11172
11121
|
example: Couple
|
|
11173
11122
|
required: false
|
|
11174
11123
|
name: traveler_type
|
|
11175
11124
|
in: query
|
|
11176
11125
|
- schema:
|
|
11177
11126
|
type: string
|
|
11178
|
-
enum: *
|
|
11127
|
+
enum: *a16
|
|
11179
11128
|
example: Round-Trip
|
|
11180
11129
|
required: false
|
|
11181
11130
|
name: trip_type
|
|
@@ -11227,7 +11176,7 @@ paths:
|
|
|
11227
11176
|
in: query
|
|
11228
11177
|
- schema:
|
|
11229
11178
|
type: string
|
|
11230
|
-
enum: *
|
|
11179
|
+
enum: *a18
|
|
11231
11180
|
description: "Bucket size for the returned series: week (default), day, or
|
|
11232
11181
|
month."
|
|
11233
11182
|
example: week
|
|
@@ -11344,7 +11293,7 @@ paths:
|
|
|
11344
11293
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
11345
11294
|
"503":
|
|
11346
11295
|
description: No travel provider can serve the request right now
|
|
11347
|
-
headers: *
|
|
11296
|
+
headers: *a13
|
|
11348
11297
|
content:
|
|
11349
11298
|
application/json:
|
|
11350
11299
|
schema:
|
|
@@ -11482,7 +11431,7 @@ paths:
|
|
|
11482
11431
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
11483
11432
|
"503":
|
|
11484
11433
|
description: No travel provider can serve the request right now
|
|
11485
|
-
headers: *
|
|
11434
|
+
headers: *a13
|
|
11486
11435
|
content:
|
|
11487
11436
|
application/json:
|
|
11488
11437
|
schema:
|
|
@@ -11618,7 +11567,7 @@ paths:
|
|
|
11618
11567
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
11619
11568
|
"503":
|
|
11620
11569
|
description: No travel provider can serve the request right now
|
|
11621
|
-
headers: *
|
|
11570
|
+
headers: *a13
|
|
11622
11571
|
content:
|
|
11623
11572
|
application/json:
|
|
11624
11573
|
schema:
|
|
@@ -11754,7 +11703,7 @@ paths:
|
|
|
11754
11703
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
11755
11704
|
"503":
|
|
11756
11705
|
description: No travel provider can serve the request right now
|
|
11757
|
-
headers: *
|
|
11706
|
+
headers: *a13
|
|
11758
11707
|
content:
|
|
11759
11708
|
application/json:
|
|
11760
11709
|
schema:
|
|
@@ -11901,7 +11850,7 @@ paths:
|
|
|
11901
11850
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
11902
11851
|
"503":
|
|
11903
11852
|
description: No travel provider can serve the request right now
|
|
11904
|
-
headers: *
|
|
11853
|
+
headers: *a13
|
|
11905
11854
|
content:
|
|
11906
11855
|
application/json:
|
|
11907
11856
|
schema:
|
|
@@ -12037,7 +11986,7 @@ paths:
|
|
|
12037
11986
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
12038
11987
|
"503":
|
|
12039
11988
|
description: No travel provider can serve the request right now
|
|
12040
|
-
headers: *
|
|
11989
|
+
headers: *a13
|
|
12041
11990
|
content:
|
|
12042
11991
|
application/json:
|
|
12043
11992
|
schema:
|
|
@@ -12173,7 +12122,7 @@ paths:
|
|
|
12173
12122
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
12174
12123
|
"503":
|
|
12175
12124
|
description: No travel provider can serve the request right now
|
|
12176
|
-
headers: *
|
|
12125
|
+
headers: *a13
|
|
12177
12126
|
content:
|
|
12178
12127
|
application/json:
|
|
12179
12128
|
schema:
|
|
@@ -12309,7 +12258,7 @@ paths:
|
|
|
12309
12258
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
12310
12259
|
"503":
|
|
12311
12260
|
description: No travel provider can serve the request right now
|
|
12312
|
-
headers: *
|
|
12261
|
+
headers: *a13
|
|
12313
12262
|
content:
|
|
12314
12263
|
application/json:
|
|
12315
12264
|
schema:
|
|
@@ -12445,7 +12394,7 @@ paths:
|
|
|
12445
12394
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
12446
12395
|
"503":
|
|
12447
12396
|
description: No travel provider can serve the request right now
|
|
12448
|
-
headers: *
|
|
12397
|
+
headers: *a13
|
|
12449
12398
|
content:
|
|
12450
12399
|
application/json:
|
|
12451
12400
|
schema:
|
|
@@ -12603,7 +12552,7 @@ paths:
|
|
|
12603
12552
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
12604
12553
|
"503":
|
|
12605
12554
|
description: No travel provider can serve the request right now
|
|
12606
|
-
headers: *
|
|
12555
|
+
headers: *a13
|
|
12607
12556
|
content:
|
|
12608
12557
|
application/json:
|
|
12609
12558
|
schema:
|
|
@@ -12761,7 +12710,7 @@ paths:
|
|
|
12761
12710
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
12762
12711
|
"503":
|
|
12763
12712
|
description: No travel provider can serve the request right now
|
|
12764
|
-
headers: *
|
|
12713
|
+
headers: *a13
|
|
12765
12714
|
content:
|
|
12766
12715
|
application/json:
|
|
12767
12716
|
schema:
|
|
@@ -12936,7 +12885,7 @@ paths:
|
|
|
12936
12885
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
12937
12886
|
"503":
|
|
12938
12887
|
description: No travel provider can serve the request right now
|
|
12939
|
-
headers: *
|
|
12888
|
+
headers: *a13
|
|
12940
12889
|
content:
|
|
12941
12890
|
application/json:
|
|
12942
12891
|
schema:
|
|
@@ -13091,7 +13040,7 @@ paths:
|
|
|
13091
13040
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
13092
13041
|
"503":
|
|
13093
13042
|
description: No travel provider can serve the request right now
|
|
13094
|
-
headers: *
|
|
13043
|
+
headers: *a13
|
|
13095
13044
|
content:
|
|
13096
13045
|
application/json:
|
|
13097
13046
|
schema:
|
|
@@ -13258,7 +13207,7 @@ paths:
|
|
|
13258
13207
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
13259
13208
|
"503":
|
|
13260
13209
|
description: No travel provider can serve the request right now
|
|
13261
|
-
headers: *
|
|
13210
|
+
headers: *a13
|
|
13262
13211
|
content:
|
|
13263
13212
|
application/json:
|
|
13264
13213
|
schema:
|
|
@@ -13439,7 +13388,7 @@ paths:
|
|
|
13439
13388
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
13440
13389
|
"503":
|
|
13441
13390
|
description: No travel provider can serve the request right now
|
|
13442
|
-
headers: *
|
|
13391
|
+
headers: *a13
|
|
13443
13392
|
content:
|
|
13444
13393
|
application/json:
|
|
13445
13394
|
schema:
|
|
@@ -13598,7 +13547,7 @@ paths:
|
|
|
13598
13547
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
13599
13548
|
"503":
|
|
13600
13549
|
description: No travel provider can serve the request right now
|
|
13601
|
-
headers: *
|
|
13550
|
+
headers: *a13
|
|
13602
13551
|
content:
|
|
13603
13552
|
application/json:
|
|
13604
13553
|
schema:
|
|
@@ -13738,7 +13687,7 @@ paths:
|
|
|
13738
13687
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
13739
13688
|
"503":
|
|
13740
13689
|
description: No travel provider can serve the request right now
|
|
13741
|
-
headers: *
|
|
13690
|
+
headers: *a13
|
|
13742
13691
|
content:
|
|
13743
13692
|
application/json:
|
|
13744
13693
|
schema:
|
|
@@ -13868,7 +13817,7 @@ paths:
|
|
|
13868
13817
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
13869
13818
|
"503":
|
|
13870
13819
|
description: No travel provider can serve the request right now
|
|
13871
|
-
headers: *
|
|
13820
|
+
headers: *a13
|
|
13872
13821
|
content:
|
|
13873
13822
|
application/json:
|
|
13874
13823
|
schema:
|
|
@@ -14006,7 +13955,7 @@ paths:
|
|
|
14006
13955
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
14007
13956
|
"503":
|
|
14008
13957
|
description: No travel provider can serve the request right now
|
|
14009
|
-
headers: *
|
|
13958
|
+
headers: *a13
|
|
14010
13959
|
content:
|
|
14011
13960
|
application/json:
|
|
14012
13961
|
schema:
|
|
@@ -14143,7 +14092,7 @@ paths:
|
|
|
14143
14092
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
14144
14093
|
"503":
|
|
14145
14094
|
description: No travel provider can serve the request right now
|
|
14146
|
-
headers: *
|
|
14095
|
+
headers: *a13
|
|
14147
14096
|
content:
|
|
14148
14097
|
application/json:
|
|
14149
14098
|
schema:
|
|
@@ -14283,7 +14232,7 @@ paths:
|
|
|
14283
14232
|
doc_url: https://docs.gojinko.com/concepts/errors
|
|
14284
14233
|
"503":
|
|
14285
14234
|
description: No travel provider can serve the request right now
|
|
14286
|
-
headers: *
|
|
14235
|
+
headers: *a13
|
|
14287
14236
|
content:
|
|
14288
14237
|
application/json:
|
|
14289
14238
|
schema:
|