Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ generation:
oAuth2ClientCredentialsEnabled: false
oAuth2PasswordEnabled: false
python:
version: 1.0.0-beta.5
version: 1.0.0-beta.6
additionalDependencies:
dev:
freezegun: ^1.5.1
Expand Down
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@ speakeasyVersion: 1.545.0
sources:
openapi:
sourceNamespace: openapi
sourceRevisionDigest: sha256:ebc1d709096533e6e35417ed8045aea04a79680840aea7503f26d2c83c2f2e76
sourceBlobDigest: sha256:829dafb0ea4f20a71ab1ec278d1dcc9f00d3756a4df3faeee2962c181e52d20e
sourceRevisionDigest: sha256:a13e3fb29dd9350c13a7fc5565d8dab163c27ebc379dd24c7d173d06b8c9f82a
sourceBlobDigest: sha256:e61cb351f757d275c72b7d8f17a42285f569b21f95831057dbc42f3caea1b0e2
tags:
- latest
- speakeasy-sdk-regen-1747268910
- speakeasy-sdk-regen-1747355374
- 1.0.0
targets:
python:
source: openapi
sourceNamespace: openapi
sourceRevisionDigest: sha256:ebc1d709096533e6e35417ed8045aea04a79680840aea7503f26d2c83c2f2e76
sourceBlobDigest: sha256:829dafb0ea4f20a71ab1ec278d1dcc9f00d3756a4df3faeee2962c181e52d20e
sourceRevisionDigest: sha256:a13e3fb29dd9350c13a7fc5565d8dab163c27ebc379dd24c7d173d06b8c9f82a
sourceBlobDigest: sha256:e61cb351f757d275c72b7d8f17a42285f569b21f95831057dbc42f3caea1b0e2
codeSamplesNamespace: oas-python-code-samples
codeSamplesRevisionDigest: sha256:825b8d9e05d88f1580d7b130c63fe56af4e8ddaaecb67a724ac52ed446666485
codeSamplesRevisionDigest: sha256:fc09847b168d53844266c2522531708795f144176d4aa94ccb0a75ba0ba5e61c
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,14 @@ Based on:
### Generated
- [python v1.0.0-beta.5] .
### Releases
- [PyPI v1.0.0-beta.5] https://pypi.org/project/gr4vy/1.0.0-beta.5 - .
- [PyPI v1.0.0-beta.5] https://pypi.org/project/gr4vy/1.0.0-beta.5 - .

## 2025-05-16 00:29:19
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.545.0 (2.599.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v1.0.0-beta.6] .
### Releases
- [PyPI v1.0.0-beta.6] https://pypi.org/project/gr4vy/1.0.0-beta.6 - .
1 change: 1 addition & 0 deletions docs/models/airlineleg.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,6 @@
| `flight_class` | *OptionalNullable[str]* | :heavy_minus_sign: | Indicates service class (first class, business class, etc.). | E |
| `flight_number` | *OptionalNullable[str]* | :heavy_minus_sign: | Unique identifier of the flight number. | 101 |
| `route_type` | [OptionalNullable[models.RouteType]](../models/routetype.md) | :heavy_minus_sign: | The route type of the flight. | round_trip |
| `seat_class` | *OptionalNullable[str]* | :heavy_minus_sign: | Indicates seat class (first class, business class, etc.). | F |
| `stop_over` | *OptionalNullable[bool]* | :heavy_minus_sign: | Indicates whether a stopover is allowed on this ticket. | false |
| `tax_amount` | *OptionalNullable[int]* | :heavy_minus_sign: | Amount of the taxes for current leg of the trip. | 1200 |
5 changes: 5 additions & 0 deletions docs/sdks/checkoutsessions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ with Gr4vy(
flight_class="E",
flight_number="101",
route_type="round_trip",
seat_class="F",
stop_over=False,
tax_amount=1200,
),
Expand All @@ -167,6 +168,7 @@ with Gr4vy(
flight_class="E",
flight_number="101",
route_type="round_trip",
seat_class="F",
stop_over=False,
tax_amount=1200,
),
Expand All @@ -191,6 +193,7 @@ with Gr4vy(
flight_class="E",
flight_number="101",
route_type="round_trip",
seat_class="F",
stop_over=False,
tax_amount=1200,
),
Expand Down Expand Up @@ -433,6 +436,7 @@ with Gr4vy(
"flight_class": "E",
"flight_number": "101",
"route_type": "round_trip",
"seat_class": "F",
"stop_over": False,
"tax_amount": 1200,
},
Expand All @@ -457,6 +461,7 @@ with Gr4vy(
"flight_class": "E",
"flight_number": "101",
"route_type": "round_trip",
"seat_class": "F",
"stop_over": False,
"tax_amount": 1200,
},
Expand Down
4 changes: 4 additions & 0 deletions docs/sdks/transactions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ with Gr4vy(
"flight_class": "E",
"flight_number": "101",
"route_type": "round_trip",
"seat_class": "F",
"stop_over": False,
"tax_amount": 1200,
},
Expand All @@ -261,6 +262,7 @@ with Gr4vy(
"flight_class": "E",
"flight_number": "101",
"route_type": "round_trip",
"seat_class": "F",
"stop_over": False,
"tax_amount": 1200,
},
Expand All @@ -285,6 +287,7 @@ with Gr4vy(
"flight_class": "E",
"flight_number": "101",
"route_type": "round_trip",
"seat_class": "F",
"stop_over": False,
"tax_amount": 1200,
},
Expand Down Expand Up @@ -538,6 +541,7 @@ with Gr4vy(
"flight_class": "E",
"flight_number": "101",
"route_type": "round_trip",
"seat_class": "F",
"stop_over": False,
"tax_amount": 1200,
},
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "gr4vy"
version = "1.0.0-beta.5"
version = "1.0.0-beta.6"
description = "Python Client SDK Generated by Speakeasy."
authors = [{ name = "Gr4vy" },]
readme = "README-PYPI.md"
Expand Down
4 changes: 2 additions & 2 deletions src/gr4vy/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
import importlib.metadata

__title__: str = "gr4vy"
__version__: str = "1.0.0-beta.5"
__version__: str = "1.0.0-beta.6"
__openapi_doc_version__: str = "1.0.0"
__gen_version__: str = "2.599.0"
__user_agent__: str = "speakeasy-sdk/python 1.0.0-beta.5 2.599.0 1.0.0 gr4vy"
__user_agent__: str = "speakeasy-sdk/python 1.0.0-beta.6 2.599.0 1.0.0 gr4vy"

try:
if __package__ is not None:
Expand Down
7 changes: 7 additions & 0 deletions src/gr4vy/models/airlineleg.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ class AirlineLegTypedDict(TypedDict):
r"""Unique identifier of the flight number."""
route_type: NotRequired[Nullable[RouteType]]
r"""The route type of the flight."""
seat_class: NotRequired[Nullable[str]]
r"""Indicates seat class (first class, business class, etc.)."""
stop_over: NotRequired[Nullable[bool]]
r"""Indicates whether a stopover is allowed on this ticket."""
tax_amount: NotRequired[Nullable[int]]
Expand Down Expand Up @@ -130,6 +132,9 @@ class AirlineLeg(BaseModel):
] = UNSET
r"""The route type of the flight."""

seat_class: OptionalNullable[str] = UNSET
r"""Indicates seat class (first class, business class, etc.)."""

stop_over: OptionalNullable[bool] = UNSET
r"""Indicates whether a stopover is allowed on this ticket."""

Expand Down Expand Up @@ -159,6 +164,7 @@ def serialize_model(self, handler):
"flight_class",
"flight_number",
"route_type",
"seat_class",
"stop_over",
"tax_amount",
]
Expand All @@ -183,6 +189,7 @@ def serialize_model(self, handler):
"flight_class",
"flight_number",
"route_type",
"seat_class",
"stop_over",
"tax_amount",
]
Expand Down