@voyantjs/flights-contracts 0.96.0 → 0.98.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/LICENSE +201 -0
- package/dist/contract/schemas.d.ts +75 -75
- package/package.json +50 -60
package/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for describing the origin of the Work and
|
|
141
|
+
reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may accept and charge a
|
|
167
|
+
fee for, the acceptance of support, warranty, indemnity, or
|
|
168
|
+
other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2026 PixelMakers Studio SRL
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
@@ -18,11 +18,11 @@ export declare const paymentIntentTypeSchema: z.ZodEnum<{
|
|
|
18
18
|
ticket_on_credit: "ticket_on_credit";
|
|
19
19
|
}>;
|
|
20
20
|
export declare const flightOrderStatusSchema: z.ZodEnum<{
|
|
21
|
-
|
|
21
|
+
failed: "failed";
|
|
22
22
|
confirmed: "confirmed";
|
|
23
|
+
pending: "pending";
|
|
23
24
|
ticketed: "ticketed";
|
|
24
25
|
cancelled: "cancelled";
|
|
25
|
-
failed: "failed";
|
|
26
26
|
}>;
|
|
27
27
|
export declare const flightCancelReasonSchema: z.ZodEnum<{
|
|
28
28
|
customer_request: "customer_request";
|
|
@@ -33,9 +33,9 @@ export declare const flightCancelReasonSchema: z.ZodEnum<{
|
|
|
33
33
|
export declare const flightModifyReasonSchema: z.ZodEnum<{
|
|
34
34
|
customer_request: "customer_request";
|
|
35
35
|
schedule_change: "schedule_change";
|
|
36
|
-
operational: "operational";
|
|
37
36
|
name_correction: "name_correction";
|
|
38
37
|
disruption: "disruption";
|
|
38
|
+
operational: "operational";
|
|
39
39
|
}>;
|
|
40
40
|
export declare const flightRefundReasonSchema: z.ZodEnum<{
|
|
41
41
|
customer_request: "customer_request";
|
|
@@ -61,9 +61,9 @@ export declare const ssrCodeSchema: z.ZodEnum<{
|
|
|
61
61
|
OTHER: "OTHER";
|
|
62
62
|
}>;
|
|
63
63
|
export declare const checkInStatusSchema: z.ZodEnum<{
|
|
64
|
-
failed: "failed";
|
|
65
64
|
initiated: "initiated";
|
|
66
65
|
checked_in: "checked_in";
|
|
66
|
+
failed: "failed";
|
|
67
67
|
}>;
|
|
68
68
|
export declare const flightAdapterEnvironmentSchema: z.ZodEnum<{
|
|
69
69
|
sandbox: "sandbox";
|
|
@@ -227,8 +227,8 @@ export declare const fareBundleInclusionsSchema: z.ZodObject<{
|
|
|
227
227
|
weightKg: z.ZodOptional<z.ZodNumber>;
|
|
228
228
|
}, z.core.$strip>>;
|
|
229
229
|
seatSelection: z.ZodOptional<z.ZodEnum<{
|
|
230
|
-
none: "none";
|
|
231
230
|
standard: "standard";
|
|
231
|
+
none: "none";
|
|
232
232
|
free: "free";
|
|
233
233
|
}>>;
|
|
234
234
|
priorityBoarding: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -241,8 +241,8 @@ export declare const fareBundleSchema: z.ZodObject<{
|
|
|
241
241
|
id: z.ZodString;
|
|
242
242
|
label: z.ZodString;
|
|
243
243
|
tier: z.ZodEnum<{
|
|
244
|
-
standard: "standard";
|
|
245
244
|
basic: "basic";
|
|
245
|
+
standard: "standard";
|
|
246
246
|
plus: "plus";
|
|
247
247
|
premium: "premium";
|
|
248
248
|
}>;
|
|
@@ -262,8 +262,8 @@ export declare const fareBundleSchema: z.ZodObject<{
|
|
|
262
262
|
weightKg: z.ZodOptional<z.ZodNumber>;
|
|
263
263
|
}, z.core.$strip>>;
|
|
264
264
|
seatSelection: z.ZodOptional<z.ZodEnum<{
|
|
265
|
-
none: "none";
|
|
266
265
|
standard: "standard";
|
|
266
|
+
none: "none";
|
|
267
267
|
free: "free";
|
|
268
268
|
}>>;
|
|
269
269
|
priorityBoarding: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -348,8 +348,8 @@ export declare const flightOfferSchema: z.ZodObject<{
|
|
|
348
348
|
id: z.ZodString;
|
|
349
349
|
label: z.ZodString;
|
|
350
350
|
tier: z.ZodEnum<{
|
|
351
|
-
standard: "standard";
|
|
352
351
|
basic: "basic";
|
|
352
|
+
standard: "standard";
|
|
353
353
|
plus: "plus";
|
|
354
354
|
premium: "premium";
|
|
355
355
|
}>;
|
|
@@ -369,8 +369,8 @@ export declare const flightOfferSchema: z.ZodObject<{
|
|
|
369
369
|
weightKg: z.ZodOptional<z.ZodNumber>;
|
|
370
370
|
}, z.core.$strip>>;
|
|
371
371
|
seatSelection: z.ZodOptional<z.ZodEnum<{
|
|
372
|
-
none: "none";
|
|
373
372
|
standard: "standard";
|
|
373
|
+
none: "none";
|
|
374
374
|
free: "free";
|
|
375
375
|
}>>;
|
|
376
376
|
priorityBoarding: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -523,8 +523,8 @@ export declare const flightSearchResponseSchema: z.ZodObject<{
|
|
|
523
523
|
id: z.ZodString;
|
|
524
524
|
label: z.ZodString;
|
|
525
525
|
tier: z.ZodEnum<{
|
|
526
|
-
standard: "standard";
|
|
527
526
|
basic: "basic";
|
|
527
|
+
standard: "standard";
|
|
528
528
|
plus: "plus";
|
|
529
529
|
premium: "premium";
|
|
530
530
|
}>;
|
|
@@ -544,8 +544,8 @@ export declare const flightSearchResponseSchema: z.ZodObject<{
|
|
|
544
544
|
weightKg: z.ZodOptional<z.ZodNumber>;
|
|
545
545
|
}, z.core.$strip>>;
|
|
546
546
|
seatSelection: z.ZodOptional<z.ZodEnum<{
|
|
547
|
-
none: "none";
|
|
548
547
|
standard: "standard";
|
|
548
|
+
none: "none";
|
|
549
549
|
free: "free";
|
|
550
550
|
}>>;
|
|
551
551
|
priorityBoarding: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -641,8 +641,8 @@ export declare const flightPriceRequestSchema: z.ZodObject<{
|
|
|
641
641
|
id: z.ZodString;
|
|
642
642
|
label: z.ZodString;
|
|
643
643
|
tier: z.ZodEnum<{
|
|
644
|
-
standard: "standard";
|
|
645
644
|
basic: "basic";
|
|
645
|
+
standard: "standard";
|
|
646
646
|
plus: "plus";
|
|
647
647
|
premium: "premium";
|
|
648
648
|
}>;
|
|
@@ -662,8 +662,8 @@ export declare const flightPriceRequestSchema: z.ZodObject<{
|
|
|
662
662
|
weightKg: z.ZodOptional<z.ZodNumber>;
|
|
663
663
|
}, z.core.$strip>>;
|
|
664
664
|
seatSelection: z.ZodOptional<z.ZodEnum<{
|
|
665
|
-
none: "none";
|
|
666
665
|
standard: "standard";
|
|
666
|
+
none: "none";
|
|
667
667
|
free: "free";
|
|
668
668
|
}>>;
|
|
669
669
|
priorityBoarding: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -752,8 +752,8 @@ export declare const flightPriceResponseSchema: z.ZodObject<{
|
|
|
752
752
|
id: z.ZodString;
|
|
753
753
|
label: z.ZodString;
|
|
754
754
|
tier: z.ZodEnum<{
|
|
755
|
-
standard: "standard";
|
|
756
755
|
basic: "basic";
|
|
756
|
+
standard: "standard";
|
|
757
757
|
plus: "plus";
|
|
758
758
|
premium: "premium";
|
|
759
759
|
}>;
|
|
@@ -773,8 +773,8 @@ export declare const flightPriceResponseSchema: z.ZodObject<{
|
|
|
773
773
|
weightKg: z.ZodOptional<z.ZodNumber>;
|
|
774
774
|
}, z.core.$strip>>;
|
|
775
775
|
seatSelection: z.ZodOptional<z.ZodEnum<{
|
|
776
|
-
none: "none";
|
|
777
776
|
standard: "standard";
|
|
777
|
+
none: "none";
|
|
778
778
|
free: "free";
|
|
779
779
|
}>>;
|
|
780
780
|
priorityBoarding: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -963,8 +963,8 @@ export declare const flightBookRequestSchema: z.ZodObject<{
|
|
|
963
963
|
id: z.ZodString;
|
|
964
964
|
label: z.ZodString;
|
|
965
965
|
tier: z.ZodEnum<{
|
|
966
|
-
standard: "standard";
|
|
967
966
|
basic: "basic";
|
|
967
|
+
standard: "standard";
|
|
968
968
|
plus: "plus";
|
|
969
969
|
premium: "premium";
|
|
970
970
|
}>;
|
|
@@ -984,8 +984,8 @@ export declare const flightBookRequestSchema: z.ZodObject<{
|
|
|
984
984
|
weightKg: z.ZodOptional<z.ZodNumber>;
|
|
985
985
|
}, z.core.$strip>>;
|
|
986
986
|
seatSelection: z.ZodOptional<z.ZodEnum<{
|
|
987
|
-
none: "none";
|
|
988
987
|
standard: "standard";
|
|
988
|
+
none: "none";
|
|
989
989
|
free: "free";
|
|
990
990
|
}>>;
|
|
991
991
|
priorityBoarding: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1091,11 +1091,11 @@ export declare const flightOrderSchema: z.ZodObject<{
|
|
|
1091
1091
|
orderId: z.ZodString;
|
|
1092
1092
|
pnr: z.ZodOptional<z.ZodString>;
|
|
1093
1093
|
status: z.ZodEnum<{
|
|
1094
|
-
|
|
1094
|
+
failed: "failed";
|
|
1095
1095
|
confirmed: "confirmed";
|
|
1096
|
+
pending: "pending";
|
|
1096
1097
|
ticketed: "ticketed";
|
|
1097
1098
|
cancelled: "cancelled";
|
|
1098
|
-
failed: "failed";
|
|
1099
1099
|
}>;
|
|
1100
1100
|
offer: z.ZodObject<{
|
|
1101
1101
|
offerId: z.ZodString;
|
|
@@ -1171,8 +1171,8 @@ export declare const flightOrderSchema: z.ZodObject<{
|
|
|
1171
1171
|
id: z.ZodString;
|
|
1172
1172
|
label: z.ZodString;
|
|
1173
1173
|
tier: z.ZodEnum<{
|
|
1174
|
-
standard: "standard";
|
|
1175
1174
|
basic: "basic";
|
|
1175
|
+
standard: "standard";
|
|
1176
1176
|
plus: "plus";
|
|
1177
1177
|
premium: "premium";
|
|
1178
1178
|
}>;
|
|
@@ -1192,8 +1192,8 @@ export declare const flightOrderSchema: z.ZodObject<{
|
|
|
1192
1192
|
weightKg: z.ZodOptional<z.ZodNumber>;
|
|
1193
1193
|
}, z.core.$strip>>;
|
|
1194
1194
|
seatSelection: z.ZodOptional<z.ZodEnum<{
|
|
1195
|
-
none: "none";
|
|
1196
1195
|
standard: "standard";
|
|
1196
|
+
none: "none";
|
|
1197
1197
|
free: "free";
|
|
1198
1198
|
}>>;
|
|
1199
1199
|
priorityBoarding: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1262,11 +1262,11 @@ export declare const flightBookResponseSchema: z.ZodObject<{
|
|
|
1262
1262
|
orderId: z.ZodString;
|
|
1263
1263
|
pnr: z.ZodOptional<z.ZodString>;
|
|
1264
1264
|
status: z.ZodEnum<{
|
|
1265
|
-
|
|
1265
|
+
failed: "failed";
|
|
1266
1266
|
confirmed: "confirmed";
|
|
1267
|
+
pending: "pending";
|
|
1267
1268
|
ticketed: "ticketed";
|
|
1268
1269
|
cancelled: "cancelled";
|
|
1269
|
-
failed: "failed";
|
|
1270
1270
|
}>;
|
|
1271
1271
|
offer: z.ZodObject<{
|
|
1272
1272
|
offerId: z.ZodString;
|
|
@@ -1342,8 +1342,8 @@ export declare const flightBookResponseSchema: z.ZodObject<{
|
|
|
1342
1342
|
id: z.ZodString;
|
|
1343
1343
|
label: z.ZodString;
|
|
1344
1344
|
tier: z.ZodEnum<{
|
|
1345
|
-
standard: "standard";
|
|
1346
1345
|
basic: "basic";
|
|
1346
|
+
standard: "standard";
|
|
1347
1347
|
plus: "plus";
|
|
1348
1348
|
premium: "premium";
|
|
1349
1349
|
}>;
|
|
@@ -1363,8 +1363,8 @@ export declare const flightBookResponseSchema: z.ZodObject<{
|
|
|
1363
1363
|
weightKg: z.ZodOptional<z.ZodNumber>;
|
|
1364
1364
|
}, z.core.$strip>>;
|
|
1365
1365
|
seatSelection: z.ZodOptional<z.ZodEnum<{
|
|
1366
|
-
none: "none";
|
|
1367
1366
|
standard: "standard";
|
|
1367
|
+
none: "none";
|
|
1368
1368
|
free: "free";
|
|
1369
1369
|
}>>;
|
|
1370
1370
|
priorityBoarding: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1434,11 +1434,11 @@ export declare const flightGetOrderResponseSchema: z.ZodObject<{
|
|
|
1434
1434
|
orderId: z.ZodString;
|
|
1435
1435
|
pnr: z.ZodOptional<z.ZodString>;
|
|
1436
1436
|
status: z.ZodEnum<{
|
|
1437
|
-
|
|
1437
|
+
failed: "failed";
|
|
1438
1438
|
confirmed: "confirmed";
|
|
1439
|
+
pending: "pending";
|
|
1439
1440
|
ticketed: "ticketed";
|
|
1440
1441
|
cancelled: "cancelled";
|
|
1441
|
-
failed: "failed";
|
|
1442
1442
|
}>;
|
|
1443
1443
|
offer: z.ZodObject<{
|
|
1444
1444
|
offerId: z.ZodString;
|
|
@@ -1514,8 +1514,8 @@ export declare const flightGetOrderResponseSchema: z.ZodObject<{
|
|
|
1514
1514
|
id: z.ZodString;
|
|
1515
1515
|
label: z.ZodString;
|
|
1516
1516
|
tier: z.ZodEnum<{
|
|
1517
|
-
standard: "standard";
|
|
1518
1517
|
basic: "basic";
|
|
1518
|
+
standard: "standard";
|
|
1519
1519
|
plus: "plus";
|
|
1520
1520
|
premium: "premium";
|
|
1521
1521
|
}>;
|
|
@@ -1535,8 +1535,8 @@ export declare const flightGetOrderResponseSchema: z.ZodObject<{
|
|
|
1535
1535
|
weightKg: z.ZodOptional<z.ZodNumber>;
|
|
1536
1536
|
}, z.core.$strip>>;
|
|
1537
1537
|
seatSelection: z.ZodOptional<z.ZodEnum<{
|
|
1538
|
-
none: "none";
|
|
1539
1538
|
standard: "standard";
|
|
1539
|
+
none: "none";
|
|
1540
1540
|
free: "free";
|
|
1541
1541
|
}>>;
|
|
1542
1542
|
priorityBoarding: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1606,11 +1606,11 @@ export declare const flightCancelResponseSchema: z.ZodObject<{
|
|
|
1606
1606
|
orderId: z.ZodString;
|
|
1607
1607
|
pnr: z.ZodOptional<z.ZodString>;
|
|
1608
1608
|
status: z.ZodEnum<{
|
|
1609
|
-
|
|
1609
|
+
failed: "failed";
|
|
1610
1610
|
confirmed: "confirmed";
|
|
1611
|
+
pending: "pending";
|
|
1611
1612
|
ticketed: "ticketed";
|
|
1612
1613
|
cancelled: "cancelled";
|
|
1613
|
-
failed: "failed";
|
|
1614
1614
|
}>;
|
|
1615
1615
|
offer: z.ZodObject<{
|
|
1616
1616
|
offerId: z.ZodString;
|
|
@@ -1686,8 +1686,8 @@ export declare const flightCancelResponseSchema: z.ZodObject<{
|
|
|
1686
1686
|
id: z.ZodString;
|
|
1687
1687
|
label: z.ZodString;
|
|
1688
1688
|
tier: z.ZodEnum<{
|
|
1689
|
-
standard: "standard";
|
|
1690
1689
|
basic: "basic";
|
|
1690
|
+
standard: "standard";
|
|
1691
1691
|
plus: "plus";
|
|
1692
1692
|
premium: "premium";
|
|
1693
1693
|
}>;
|
|
@@ -1707,8 +1707,8 @@ export declare const flightCancelResponseSchema: z.ZodObject<{
|
|
|
1707
1707
|
weightKg: z.ZodOptional<z.ZodNumber>;
|
|
1708
1708
|
}, z.core.$strip>>;
|
|
1709
1709
|
seatSelection: z.ZodOptional<z.ZodEnum<{
|
|
1710
|
-
none: "none";
|
|
1711
1710
|
standard: "standard";
|
|
1711
|
+
none: "none";
|
|
1712
1712
|
free: "free";
|
|
1713
1713
|
}>>;
|
|
1714
1714
|
priorityBoarding: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1781,11 +1781,11 @@ export declare const flightOrdersListQuerySchema: z.ZodObject<{
|
|
|
1781
1781
|
cursor: z.ZodOptional<z.ZodString>;
|
|
1782
1782
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
1783
1783
|
status: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1784
|
-
|
|
1784
|
+
failed: "failed";
|
|
1785
1785
|
confirmed: "confirmed";
|
|
1786
|
+
pending: "pending";
|
|
1786
1787
|
ticketed: "ticketed";
|
|
1787
1788
|
cancelled: "cancelled";
|
|
1788
|
-
failed: "failed";
|
|
1789
1789
|
}>>>;
|
|
1790
1790
|
search: z.ZodOptional<z.ZodString>;
|
|
1791
1791
|
}, z.core.$strip>;
|
|
@@ -1794,11 +1794,11 @@ export declare const flightOrdersListResponseSchema: z.ZodObject<{
|
|
|
1794
1794
|
orderId: z.ZodString;
|
|
1795
1795
|
pnr: z.ZodOptional<z.ZodString>;
|
|
1796
1796
|
status: z.ZodEnum<{
|
|
1797
|
-
|
|
1797
|
+
failed: "failed";
|
|
1798
1798
|
confirmed: "confirmed";
|
|
1799
|
+
pending: "pending";
|
|
1799
1800
|
ticketed: "ticketed";
|
|
1800
1801
|
cancelled: "cancelled";
|
|
1801
|
-
failed: "failed";
|
|
1802
1802
|
}>;
|
|
1803
1803
|
offer: z.ZodObject<{
|
|
1804
1804
|
offerId: z.ZodString;
|
|
@@ -1874,8 +1874,8 @@ export declare const flightOrdersListResponseSchema: z.ZodObject<{
|
|
|
1874
1874
|
id: z.ZodString;
|
|
1875
1875
|
label: z.ZodString;
|
|
1876
1876
|
tier: z.ZodEnum<{
|
|
1877
|
-
standard: "standard";
|
|
1878
1877
|
basic: "basic";
|
|
1878
|
+
standard: "standard";
|
|
1879
1879
|
plus: "plus";
|
|
1880
1880
|
premium: "premium";
|
|
1881
1881
|
}>;
|
|
@@ -1895,8 +1895,8 @@ export declare const flightOrdersListResponseSchema: z.ZodObject<{
|
|
|
1895
1895
|
weightKg: z.ZodOptional<z.ZodNumber>;
|
|
1896
1896
|
}, z.core.$strip>>;
|
|
1897
1897
|
seatSelection: z.ZodOptional<z.ZodEnum<{
|
|
1898
|
-
none: "none";
|
|
1899
1898
|
standard: "standard";
|
|
1899
|
+
none: "none";
|
|
1900
1900
|
free: "free";
|
|
1901
1901
|
}>>;
|
|
1902
1902
|
priorityBoarding: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1970,8 +1970,8 @@ export declare const ancillaryBaggageOptionSchema: z.ZodObject<{
|
|
|
1970
1970
|
id: z.ZodString;
|
|
1971
1971
|
label: z.ZodString;
|
|
1972
1972
|
category: z.ZodEnum<{
|
|
1973
|
-
cabin: "cabin";
|
|
1974
1973
|
checked: "checked";
|
|
1974
|
+
cabin: "cabin";
|
|
1975
1975
|
personal_item: "personal_item";
|
|
1976
1976
|
sports: "sports";
|
|
1977
1977
|
oversized: "oversized";
|
|
@@ -2024,8 +2024,8 @@ export declare const ancillaryCatalogSchema: z.ZodObject<{
|
|
|
2024
2024
|
id: z.ZodString;
|
|
2025
2025
|
label: z.ZodString;
|
|
2026
2026
|
category: z.ZodEnum<{
|
|
2027
|
-
cabin: "cabin";
|
|
2028
2027
|
checked: "checked";
|
|
2028
|
+
cabin: "cabin";
|
|
2029
2029
|
personal_item: "personal_item";
|
|
2030
2030
|
sports: "sports";
|
|
2031
2031
|
oversized: "oversized";
|
|
@@ -2150,8 +2150,8 @@ export declare const ancillaryRequestSchema: z.ZodObject<{
|
|
|
2150
2150
|
id: z.ZodString;
|
|
2151
2151
|
label: z.ZodString;
|
|
2152
2152
|
tier: z.ZodEnum<{
|
|
2153
|
-
standard: "standard";
|
|
2154
2153
|
basic: "basic";
|
|
2154
|
+
standard: "standard";
|
|
2155
2155
|
plus: "plus";
|
|
2156
2156
|
premium: "premium";
|
|
2157
2157
|
}>;
|
|
@@ -2171,8 +2171,8 @@ export declare const ancillaryRequestSchema: z.ZodObject<{
|
|
|
2171
2171
|
weightKg: z.ZodOptional<z.ZodNumber>;
|
|
2172
2172
|
}, z.core.$strip>>;
|
|
2173
2173
|
seatSelection: z.ZodOptional<z.ZodEnum<{
|
|
2174
|
-
none: "none";
|
|
2175
2174
|
standard: "standard";
|
|
2175
|
+
none: "none";
|
|
2176
2176
|
free: "free";
|
|
2177
2177
|
}>>;
|
|
2178
2178
|
priorityBoarding: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2192,8 +2192,8 @@ export declare const ancillaryResponseSchema: z.ZodObject<{
|
|
|
2192
2192
|
id: z.ZodString;
|
|
2193
2193
|
label: z.ZodString;
|
|
2194
2194
|
category: z.ZodEnum<{
|
|
2195
|
-
cabin: "cabin";
|
|
2196
2195
|
checked: "checked";
|
|
2196
|
+
cabin: "cabin";
|
|
2197
2197
|
personal_item: "personal_item";
|
|
2198
2198
|
sports: "sports";
|
|
2199
2199
|
oversized: "oversized";
|
|
@@ -2420,8 +2420,8 @@ export declare const seatMapRequestSchema: z.ZodObject<{
|
|
|
2420
2420
|
id: z.ZodString;
|
|
2421
2421
|
label: z.ZodString;
|
|
2422
2422
|
tier: z.ZodEnum<{
|
|
2423
|
-
standard: "standard";
|
|
2424
2423
|
basic: "basic";
|
|
2424
|
+
standard: "standard";
|
|
2425
2425
|
plus: "plus";
|
|
2426
2426
|
premium: "premium";
|
|
2427
2427
|
}>;
|
|
@@ -2441,8 +2441,8 @@ export declare const seatMapRequestSchema: z.ZodObject<{
|
|
|
2441
2441
|
weightKg: z.ZodOptional<z.ZodNumber>;
|
|
2442
2442
|
}, z.core.$strip>>;
|
|
2443
2443
|
seatSelection: z.ZodOptional<z.ZodEnum<{
|
|
2444
|
-
none: "none";
|
|
2445
2444
|
standard: "standard";
|
|
2445
|
+
none: "none";
|
|
2446
2446
|
free: "free";
|
|
2447
2447
|
}>>;
|
|
2448
2448
|
priorityBoarding: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2529,11 +2529,11 @@ export declare const seatSelectionResponseSchema: z.ZodObject<{
|
|
|
2529
2529
|
orderId: z.ZodString;
|
|
2530
2530
|
pnr: z.ZodOptional<z.ZodString>;
|
|
2531
2531
|
status: z.ZodEnum<{
|
|
2532
|
-
|
|
2532
|
+
failed: "failed";
|
|
2533
2533
|
confirmed: "confirmed";
|
|
2534
|
+
pending: "pending";
|
|
2534
2535
|
ticketed: "ticketed";
|
|
2535
2536
|
cancelled: "cancelled";
|
|
2536
|
-
failed: "failed";
|
|
2537
2537
|
}>;
|
|
2538
2538
|
offer: z.ZodObject<{
|
|
2539
2539
|
offerId: z.ZodString;
|
|
@@ -2609,8 +2609,8 @@ export declare const seatSelectionResponseSchema: z.ZodObject<{
|
|
|
2609
2609
|
id: z.ZodString;
|
|
2610
2610
|
label: z.ZodString;
|
|
2611
2611
|
tier: z.ZodEnum<{
|
|
2612
|
-
standard: "standard";
|
|
2613
2612
|
basic: "basic";
|
|
2613
|
+
standard: "standard";
|
|
2614
2614
|
plus: "plus";
|
|
2615
2615
|
premium: "premium";
|
|
2616
2616
|
}>;
|
|
@@ -2630,8 +2630,8 @@ export declare const seatSelectionResponseSchema: z.ZodObject<{
|
|
|
2630
2630
|
weightKg: z.ZodOptional<z.ZodNumber>;
|
|
2631
2631
|
}, z.core.$strip>>;
|
|
2632
2632
|
seatSelection: z.ZodOptional<z.ZodEnum<{
|
|
2633
|
-
none: "none";
|
|
2634
2633
|
standard: "standard";
|
|
2634
|
+
none: "none";
|
|
2635
2635
|
free: "free";
|
|
2636
2636
|
}>>;
|
|
2637
2637
|
priorityBoarding: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2729,11 +2729,11 @@ export declare const checkInResponseSchema: z.ZodObject<{
|
|
|
2729
2729
|
orderId: z.ZodString;
|
|
2730
2730
|
pnr: z.ZodOptional<z.ZodString>;
|
|
2731
2731
|
status: z.ZodEnum<{
|
|
2732
|
-
|
|
2732
|
+
failed: "failed";
|
|
2733
2733
|
confirmed: "confirmed";
|
|
2734
|
+
pending: "pending";
|
|
2734
2735
|
ticketed: "ticketed";
|
|
2735
2736
|
cancelled: "cancelled";
|
|
2736
|
-
failed: "failed";
|
|
2737
2737
|
}>;
|
|
2738
2738
|
offer: z.ZodObject<{
|
|
2739
2739
|
offerId: z.ZodString;
|
|
@@ -2809,8 +2809,8 @@ export declare const checkInResponseSchema: z.ZodObject<{
|
|
|
2809
2809
|
id: z.ZodString;
|
|
2810
2810
|
label: z.ZodString;
|
|
2811
2811
|
tier: z.ZodEnum<{
|
|
2812
|
-
standard: "standard";
|
|
2813
2812
|
basic: "basic";
|
|
2813
|
+
standard: "standard";
|
|
2814
2814
|
plus: "plus";
|
|
2815
2815
|
premium: "premium";
|
|
2816
2816
|
}>;
|
|
@@ -2830,8 +2830,8 @@ export declare const checkInResponseSchema: z.ZodObject<{
|
|
|
2830
2830
|
weightKg: z.ZodOptional<z.ZodNumber>;
|
|
2831
2831
|
}, z.core.$strip>>;
|
|
2832
2832
|
seatSelection: z.ZodOptional<z.ZodEnum<{
|
|
2833
|
-
none: "none";
|
|
2834
2833
|
standard: "standard";
|
|
2834
|
+
none: "none";
|
|
2835
2835
|
free: "free";
|
|
2836
2836
|
}>>;
|
|
2837
2837
|
priorityBoarding: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2896,9 +2896,9 @@ export declare const checkInResponseSchema: z.ZodObject<{
|
|
|
2896
2896
|
providerData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2897
2897
|
}, z.core.$strip>;
|
|
2898
2898
|
status: z.ZodEnum<{
|
|
2899
|
-
failed: "failed";
|
|
2900
2899
|
initiated: "initiated";
|
|
2901
2900
|
checked_in: "checked_in";
|
|
2901
|
+
failed: "failed";
|
|
2902
2902
|
}>;
|
|
2903
2903
|
boardingPasses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2904
2904
|
passengerId: z.ZodString;
|
|
@@ -2986,8 +2986,8 @@ export declare const flightModifyRequestSchema: z.ZodObject<{
|
|
|
2986
2986
|
id: z.ZodString;
|
|
2987
2987
|
label: z.ZodString;
|
|
2988
2988
|
tier: z.ZodEnum<{
|
|
2989
|
-
standard: "standard";
|
|
2990
2989
|
basic: "basic";
|
|
2990
|
+
standard: "standard";
|
|
2991
2991
|
plus: "plus";
|
|
2992
2992
|
premium: "premium";
|
|
2993
2993
|
}>;
|
|
@@ -3007,8 +3007,8 @@ export declare const flightModifyRequestSchema: z.ZodObject<{
|
|
|
3007
3007
|
weightKg: z.ZodOptional<z.ZodNumber>;
|
|
3008
3008
|
}, z.core.$strip>>;
|
|
3009
3009
|
seatSelection: z.ZodOptional<z.ZodEnum<{
|
|
3010
|
-
none: "none";
|
|
3011
3010
|
standard: "standard";
|
|
3011
|
+
none: "none";
|
|
3012
3012
|
free: "free";
|
|
3013
3013
|
}>>;
|
|
3014
3014
|
priorityBoarding: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3084,9 +3084,9 @@ export declare const flightModifyRequestSchema: z.ZodObject<{
|
|
|
3084
3084
|
reason: z.ZodOptional<z.ZodEnum<{
|
|
3085
3085
|
customer_request: "customer_request";
|
|
3086
3086
|
schedule_change: "schedule_change";
|
|
3087
|
-
operational: "operational";
|
|
3088
3087
|
name_correction: "name_correction";
|
|
3089
3088
|
disruption: "disruption";
|
|
3089
|
+
operational: "operational";
|
|
3090
3090
|
}>>;
|
|
3091
3091
|
}, z.core.$strip>;
|
|
3092
3092
|
export declare const flightModifyResponseSchema: z.ZodObject<{
|
|
@@ -3094,11 +3094,11 @@ export declare const flightModifyResponseSchema: z.ZodObject<{
|
|
|
3094
3094
|
orderId: z.ZodString;
|
|
3095
3095
|
pnr: z.ZodOptional<z.ZodString>;
|
|
3096
3096
|
status: z.ZodEnum<{
|
|
3097
|
-
|
|
3097
|
+
failed: "failed";
|
|
3098
3098
|
confirmed: "confirmed";
|
|
3099
|
+
pending: "pending";
|
|
3099
3100
|
ticketed: "ticketed";
|
|
3100
3101
|
cancelled: "cancelled";
|
|
3101
|
-
failed: "failed";
|
|
3102
3102
|
}>;
|
|
3103
3103
|
offer: z.ZodObject<{
|
|
3104
3104
|
offerId: z.ZodString;
|
|
@@ -3174,8 +3174,8 @@ export declare const flightModifyResponseSchema: z.ZodObject<{
|
|
|
3174
3174
|
id: z.ZodString;
|
|
3175
3175
|
label: z.ZodString;
|
|
3176
3176
|
tier: z.ZodEnum<{
|
|
3177
|
-
standard: "standard";
|
|
3178
3177
|
basic: "basic";
|
|
3178
|
+
standard: "standard";
|
|
3179
3179
|
plus: "plus";
|
|
3180
3180
|
premium: "premium";
|
|
3181
3181
|
}>;
|
|
@@ -3195,8 +3195,8 @@ export declare const flightModifyResponseSchema: z.ZodObject<{
|
|
|
3195
3195
|
weightKg: z.ZodOptional<z.ZodNumber>;
|
|
3196
3196
|
}, z.core.$strip>>;
|
|
3197
3197
|
seatSelection: z.ZodOptional<z.ZodEnum<{
|
|
3198
|
-
none: "none";
|
|
3199
3198
|
standard: "standard";
|
|
3199
|
+
none: "none";
|
|
3200
3200
|
free: "free";
|
|
3201
3201
|
}>>;
|
|
3202
3202
|
priorityBoarding: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3289,11 +3289,11 @@ export declare const flightRefundResponseSchema: z.ZodObject<{
|
|
|
3289
3289
|
orderId: z.ZodString;
|
|
3290
3290
|
pnr: z.ZodOptional<z.ZodString>;
|
|
3291
3291
|
status: z.ZodEnum<{
|
|
3292
|
-
|
|
3292
|
+
failed: "failed";
|
|
3293
3293
|
confirmed: "confirmed";
|
|
3294
|
+
pending: "pending";
|
|
3294
3295
|
ticketed: "ticketed";
|
|
3295
3296
|
cancelled: "cancelled";
|
|
3296
|
-
failed: "failed";
|
|
3297
3297
|
}>;
|
|
3298
3298
|
offer: z.ZodObject<{
|
|
3299
3299
|
offerId: z.ZodString;
|
|
@@ -3369,8 +3369,8 @@ export declare const flightRefundResponseSchema: z.ZodObject<{
|
|
|
3369
3369
|
id: z.ZodString;
|
|
3370
3370
|
label: z.ZodString;
|
|
3371
3371
|
tier: z.ZodEnum<{
|
|
3372
|
-
standard: "standard";
|
|
3373
3372
|
basic: "basic";
|
|
3373
|
+
standard: "standard";
|
|
3374
3374
|
plus: "plus";
|
|
3375
3375
|
premium: "premium";
|
|
3376
3376
|
}>;
|
|
@@ -3390,8 +3390,8 @@ export declare const flightRefundResponseSchema: z.ZodObject<{
|
|
|
3390
3390
|
weightKg: z.ZodOptional<z.ZodNumber>;
|
|
3391
3391
|
}, z.core.$strip>>;
|
|
3392
3392
|
seatSelection: z.ZodOptional<z.ZodEnum<{
|
|
3393
|
-
none: "none";
|
|
3394
3393
|
standard: "standard";
|
|
3394
|
+
none: "none";
|
|
3395
3395
|
free: "free";
|
|
3396
3396
|
}>>;
|
|
3397
3397
|
priorityBoarding: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3470,11 +3470,11 @@ export declare const flightVoidResponseSchema: z.ZodObject<{
|
|
|
3470
3470
|
orderId: z.ZodString;
|
|
3471
3471
|
pnr: z.ZodOptional<z.ZodString>;
|
|
3472
3472
|
status: z.ZodEnum<{
|
|
3473
|
-
|
|
3473
|
+
failed: "failed";
|
|
3474
3474
|
confirmed: "confirmed";
|
|
3475
|
+
pending: "pending";
|
|
3475
3476
|
ticketed: "ticketed";
|
|
3476
3477
|
cancelled: "cancelled";
|
|
3477
|
-
failed: "failed";
|
|
3478
3478
|
}>;
|
|
3479
3479
|
offer: z.ZodObject<{
|
|
3480
3480
|
offerId: z.ZodString;
|
|
@@ -3550,8 +3550,8 @@ export declare const flightVoidResponseSchema: z.ZodObject<{
|
|
|
3550
3550
|
id: z.ZodString;
|
|
3551
3551
|
label: z.ZodString;
|
|
3552
3552
|
tier: z.ZodEnum<{
|
|
3553
|
-
standard: "standard";
|
|
3554
3553
|
basic: "basic";
|
|
3554
|
+
standard: "standard";
|
|
3555
3555
|
plus: "plus";
|
|
3556
3556
|
premium: "premium";
|
|
3557
3557
|
}>;
|
|
@@ -3571,8 +3571,8 @@ export declare const flightVoidResponseSchema: z.ZodObject<{
|
|
|
3571
3571
|
weightKg: z.ZodOptional<z.ZodNumber>;
|
|
3572
3572
|
}, z.core.$strip>>;
|
|
3573
3573
|
seatSelection: z.ZodOptional<z.ZodEnum<{
|
|
3574
|
-
none: "none";
|
|
3575
3574
|
standard: "standard";
|
|
3575
|
+
none: "none";
|
|
3576
3576
|
free: "free";
|
|
3577
3577
|
}>>;
|
|
3578
3578
|
priorityBoarding: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3665,11 +3665,11 @@ export declare const ssrResponseSchema: z.ZodObject<{
|
|
|
3665
3665
|
orderId: z.ZodString;
|
|
3666
3666
|
pnr: z.ZodOptional<z.ZodString>;
|
|
3667
3667
|
status: z.ZodEnum<{
|
|
3668
|
-
|
|
3668
|
+
failed: "failed";
|
|
3669
3669
|
confirmed: "confirmed";
|
|
3670
|
+
pending: "pending";
|
|
3670
3671
|
ticketed: "ticketed";
|
|
3671
3672
|
cancelled: "cancelled";
|
|
3672
|
-
failed: "failed";
|
|
3673
3673
|
}>;
|
|
3674
3674
|
offer: z.ZodObject<{
|
|
3675
3675
|
offerId: z.ZodString;
|
|
@@ -3745,8 +3745,8 @@ export declare const ssrResponseSchema: z.ZodObject<{
|
|
|
3745
3745
|
id: z.ZodString;
|
|
3746
3746
|
label: z.ZodString;
|
|
3747
3747
|
tier: z.ZodEnum<{
|
|
3748
|
-
standard: "standard";
|
|
3749
3748
|
basic: "basic";
|
|
3749
|
+
standard: "standard";
|
|
3750
3750
|
plus: "plus";
|
|
3751
3751
|
premium: "premium";
|
|
3752
3752
|
}>;
|
|
@@ -3766,8 +3766,8 @@ export declare const ssrResponseSchema: z.ZodObject<{
|
|
|
3766
3766
|
weightKg: z.ZodOptional<z.ZodNumber>;
|
|
3767
3767
|
}, z.core.$strip>>;
|
|
3768
3768
|
seatSelection: z.ZodOptional<z.ZodEnum<{
|
|
3769
|
-
none: "none";
|
|
3770
3769
|
standard: "standard";
|
|
3770
|
+
none: "none";
|
|
3771
3771
|
free: "free";
|
|
3772
3772
|
}>>;
|
|
3773
3773
|
priorityBoarding: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3833,8 +3833,8 @@ export declare const ssrResponseSchema: z.ZodObject<{
|
|
|
3833
3833
|
}, z.core.$strip>;
|
|
3834
3834
|
ssrId: z.ZodOptional<z.ZodString>;
|
|
3835
3835
|
status: z.ZodEnum<{
|
|
3836
|
-
confirmed: "confirmed";
|
|
3837
3836
|
requested: "requested";
|
|
3837
|
+
confirmed: "confirmed";
|
|
3838
3838
|
rejected: "rejected";
|
|
3839
3839
|
}>;
|
|
3840
3840
|
}, z.core.$strip>;
|
package/package.json
CHANGED
|
@@ -1,81 +1,71 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/flights-contracts",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.98.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
7
|
-
".":
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"./
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
7
|
+
".": {
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"import": "./dist/index.js",
|
|
10
|
+
"default": "./dist/index.js"
|
|
11
|
+
},
|
|
12
|
+
"./contract/types": {
|
|
13
|
+
"types": "./dist/contract/types.d.ts",
|
|
14
|
+
"import": "./dist/contract/types.js",
|
|
15
|
+
"default": "./dist/contract/types.js"
|
|
16
|
+
},
|
|
17
|
+
"./contract/adapter": {
|
|
18
|
+
"types": "./dist/contract/adapter.d.ts",
|
|
19
|
+
"import": "./dist/contract/adapter.js",
|
|
20
|
+
"default": "./dist/contract/adapter.js"
|
|
21
|
+
},
|
|
22
|
+
"./contract/schemas": {
|
|
23
|
+
"types": "./dist/contract/schemas.d.ts",
|
|
24
|
+
"import": "./dist/contract/schemas.js",
|
|
25
|
+
"default": "./dist/contract/schemas.js"
|
|
26
|
+
},
|
|
27
|
+
"./contract/post-book-types": {
|
|
28
|
+
"types": "./dist/contract/post-book-types.d.ts",
|
|
29
|
+
"import": "./dist/contract/post-book-types.js",
|
|
30
|
+
"default": "./dist/contract/post-book-types.js"
|
|
31
|
+
},
|
|
32
|
+
"./reference/contract": {
|
|
33
|
+
"types": "./dist/reference/contract.d.ts",
|
|
34
|
+
"import": "./dist/reference/contract.js",
|
|
35
|
+
"default": "./dist/reference/contract.js"
|
|
36
|
+
},
|
|
37
|
+
"./reference/static-bundle": {
|
|
38
|
+
"types": "./dist/reference/static-bundle.d.ts",
|
|
39
|
+
"import": "./dist/reference/static-bundle.js",
|
|
40
|
+
"default": "./dist/reference/static-bundle.js"
|
|
41
|
+
}
|
|
22
42
|
},
|
|
23
43
|
"files": [
|
|
24
44
|
"dist"
|
|
25
45
|
],
|
|
26
46
|
"publishConfig": {
|
|
27
|
-
"access": "public"
|
|
28
|
-
"exports": {
|
|
29
|
-
".": {
|
|
30
|
-
"types": "./dist/index.d.ts",
|
|
31
|
-
"import": "./dist/index.js",
|
|
32
|
-
"default": "./dist/index.js"
|
|
33
|
-
},
|
|
34
|
-
"./contract/types": {
|
|
35
|
-
"types": "./dist/contract/types.d.ts",
|
|
36
|
-
"import": "./dist/contract/types.js",
|
|
37
|
-
"default": "./dist/contract/types.js"
|
|
38
|
-
},
|
|
39
|
-
"./contract/adapter": {
|
|
40
|
-
"types": "./dist/contract/adapter.d.ts",
|
|
41
|
-
"import": "./dist/contract/adapter.js",
|
|
42
|
-
"default": "./dist/contract/adapter.js"
|
|
43
|
-
},
|
|
44
|
-
"./contract/schemas": {
|
|
45
|
-
"types": "./dist/contract/schemas.d.ts",
|
|
46
|
-
"import": "./dist/contract/schemas.js",
|
|
47
|
-
"default": "./dist/contract/schemas.js"
|
|
48
|
-
},
|
|
49
|
-
"./contract/post-book-types": {
|
|
50
|
-
"types": "./dist/contract/post-book-types.d.ts",
|
|
51
|
-
"import": "./dist/contract/post-book-types.js",
|
|
52
|
-
"default": "./dist/contract/post-book-types.js"
|
|
53
|
-
},
|
|
54
|
-
"./reference/contract": {
|
|
55
|
-
"types": "./dist/reference/contract.d.ts",
|
|
56
|
-
"import": "./dist/reference/contract.js",
|
|
57
|
-
"default": "./dist/reference/contract.js"
|
|
58
|
-
},
|
|
59
|
-
"./reference/static-bundle": {
|
|
60
|
-
"types": "./dist/reference/static-bundle.d.ts",
|
|
61
|
-
"import": "./dist/reference/static-bundle.js",
|
|
62
|
-
"default": "./dist/reference/static-bundle.js"
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
"main": "./dist/index.js",
|
|
66
|
-
"types": "./dist/index.d.ts"
|
|
47
|
+
"access": "public"
|
|
67
48
|
},
|
|
68
49
|
"dependencies": {
|
|
69
50
|
"zod": "^4.3.6"
|
|
70
51
|
},
|
|
71
52
|
"devDependencies": {
|
|
72
|
-
"@voyantjs/voyant-typescript-config": "workspace:*",
|
|
73
53
|
"typescript": "^6.0.2",
|
|
74
|
-
"vitest": "^4.1.2"
|
|
54
|
+
"vitest": "^4.1.2",
|
|
55
|
+
"@voyantjs/voyant-typescript-config": "0.1.0"
|
|
75
56
|
},
|
|
76
57
|
"repository": {
|
|
77
58
|
"type": "git",
|
|
78
59
|
"url": "https://github.com/voyantjs/voyant.git",
|
|
79
60
|
"directory": "packages/flights-contracts"
|
|
80
|
-
}
|
|
81
|
-
|
|
61
|
+
},
|
|
62
|
+
"scripts": {
|
|
63
|
+
"typecheck": "tsc --noEmit",
|
|
64
|
+
"lint": "biome check src/",
|
|
65
|
+
"test": "vitest run --passWithNoTests",
|
|
66
|
+
"build": "tsc -p tsconfig.json",
|
|
67
|
+
"clean": "rm -rf dist tsconfig.tsbuildinfo"
|
|
68
|
+
},
|
|
69
|
+
"main": "./dist/index.js",
|
|
70
|
+
"types": "./dist/index.d.ts"
|
|
71
|
+
}
|