Skip to content

Commit f9939dd

Browse files
chore: Rework event type generation to support spec splitting
1 parent 941a2e3 commit f9939dd

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 175
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-64e9dd6979ae45f1bb6e77b40e8244ee46673332112ebf33fe2f3a287467ce85.yml
3-
openapi_spec_hash: ce885445b66e95c5671ee72c01882d79
4-
config_hash: 07f0e0f3036a4a5825cee527bc46b0b6
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-6e800837b020104545778d65b7b16bae277e6667d98044e83f3bfeacebdb489b.yml
3+
openapi_spec_hash: 94788968e119e8665a1b0d4742565984
4+
config_hash: 2af43c32faa12490c9c9caa2ce62bccb

src/lithic/types/payment_create_params.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
from __future__ import annotations
44

55
from typing import Optional
6-
from typing_extensions import Literal, Required, TypedDict
6+
from typing_extensions import Literal, Required, Annotated, TypedDict
7+
8+
from .._utils import PropertyInfo
79

810
__all__ = ["PaymentCreateParams", "MethodAttributes"]
911

@@ -35,7 +37,7 @@ class PaymentCreateParams(TypedDict, total=False):
3537
class MethodAttributes(TypedDict, total=False):
3638
sec_code: Required[Literal["CCD", "PPD", "WEB"]]
3739

38-
ach_hold_period: int
40+
ach_hold_period: Annotated[int, PropertyInfo(alias="ach_hold__period")]
3941
"""Number of days to hold the ACH payment"""
4042

4143
addenda: Optional[str]

0 commit comments

Comments
 (0)