gr4vy 1.8.0__py3-none-any.whl → 1.9.0__py3-none-any.whl

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.
gr4vy/_version.py CHANGED
@@ -3,10 +3,10 @@
3
3
  import importlib.metadata
4
4
 
5
5
  __title__: str = "gr4vy"
6
- __version__: str = "1.8.0"
6
+ __version__: str = "1.9.0"
7
7
  __openapi_doc_version__: str = "1.0.0"
8
8
  __gen_version__: str = "2.763.3"
9
- __user_agent__: str = "speakeasy-sdk/python 1.8.0 2.763.3 1.0.0 gr4vy"
9
+ __user_agent__: str = "speakeasy-sdk/python 1.9.0 2.763.3 1.0.0 gr4vy"
10
10
 
11
11
  try:
12
12
  if __package__ is not None:
gr4vy/models/__init__.py CHANGED
@@ -1035,10 +1035,6 @@ if TYPE_CHECKING:
1035
1035
  TransactionCreateTypedDict,
1036
1036
  )
1037
1037
  from .transactionevent import Name, TransactionEvent, TransactionEventTypedDict
1038
- from .transactioneventcontext import (
1039
- TransactionEventContext,
1040
- TransactionEventContextTypedDict,
1041
- )
1042
1038
  from .transactionevents import TransactionEvents, TransactionEventsTypedDict
1043
1039
  from .transactiongiftcard import TransactionGiftCard, TransactionGiftCardTypedDict
1044
1040
  from .transactionintent import TransactionIntent
@@ -1988,8 +1984,6 @@ __all__ = [
1988
1984
  "TransactionCreatePaymentMethodTypedDict",
1989
1985
  "TransactionCreateTypedDict",
1990
1986
  "TransactionEvent",
1991
- "TransactionEventContext",
1992
- "TransactionEventContextTypedDict",
1993
1987
  "TransactionEventTypedDict",
1994
1988
  "TransactionEvents",
1995
1989
  "TransactionEventsTypedDict",
@@ -2899,8 +2893,6 @@ _dynamic_imports: dict[str, str] = {
2899
2893
  "Name": ".transactionevent",
2900
2894
  "TransactionEvent": ".transactionevent",
2901
2895
  "TransactionEventTypedDict": ".transactionevent",
2902
- "TransactionEventContext": ".transactioneventcontext",
2903
- "TransactionEventContextTypedDict": ".transactioneventcontext",
2904
2896
  "TransactionEvents": ".transactionevents",
2905
2897
  "TransactionEventsTypedDict": ".transactionevents",
2906
2898
  "TransactionGiftCard": ".transactiongiftcard",
@@ -1,16 +1,12 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from .transactioneventcontext import (
5
- TransactionEventContext,
6
- TransactionEventContextTypedDict,
7
- )
8
4
  from datetime import datetime
9
5
  from gr4vy.types import BaseModel, UnrecognizedStr
10
6
  from gr4vy.utils import validate_const, validate_open_enum
11
7
  import pydantic
12
8
  from pydantic.functional_validators import AfterValidator, PlainValidator
13
- from typing import Literal, Optional, Union
9
+ from typing import Any, Dict, Literal, Optional, Union
14
10
  from typing_extensions import Annotated, TypedDict
15
11
 
16
12
 
@@ -80,7 +76,7 @@ class TransactionEventTypedDict(TypedDict):
80
76
  r"""The specific event name."""
81
77
  created_at: datetime
82
78
  r"""The date this event was created at."""
83
- context: TransactionEventContextTypedDict
79
+ context: Dict[str, Any]
84
80
  type: Literal["transaction-event"]
85
81
  r"""Always `transaction-event`."""
86
82
 
@@ -95,7 +91,7 @@ class TransactionEvent(BaseModel):
95
91
  created_at: datetime
96
92
  r"""The date this event was created at."""
97
93
 
98
- context: TransactionEventContext
94
+ context: Dict[str, Any]
99
95
 
100
96
  TYPE: Annotated[
101
97
  Annotated[
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gr4vy
3
- Version: 1.8.0
3
+ Version: 1.9.0
4
4
  Summary: Python Client SDK Generated by Speakeasy.
5
5
  Author: Gr4vy
6
6
  Requires-Python: >=3.9.2
@@ -2,7 +2,7 @@ gr4vy/__init__.py,sha256=w2u919V3Tzv4zEPQ-OYJ79gQ_4_SyW7GOFFoHtqXDFA,401
2
2
  gr4vy/_hooks/__init__.py,sha256=p5J13DeYuISQyQWirjJAObHIf2VtIlOtFqnIpvjjVwk,118
3
3
  gr4vy/_hooks/sdkhooks.py,sha256=3jKTs2B1lcAxBMJge9C-qL0RGbKGLcrHvikzi67Tbdo,2493
4
4
  gr4vy/_hooks/types.py,sha256=0O7dbbolkiFAnHkNULvwoLsiXJu0_Wmhev163bvZbW8,3039
5
- gr4vy/_version.py,sha256=tuf6vZALTXJIi9rn94K5iSeCEyUogfsQrKNuI24gnH0,452
5
+ gr4vy/_version.py,sha256=s0bLCdk2BvwAcJNqZQVJj7fhYUbA0_8l9tAyKakbItg,452
6
6
  gr4vy/account_updater.py,sha256=mmTd25Oap80PBqQ3p4MvZ_buT5VS0zWc8s8cqfI7iyA,607
7
7
  gr4vy/all.py,sha256=jZtRqz8D1xGrylI95KA2XNwWLVAID1o_AYxA9wpXTzs,15176
8
8
  gr4vy/audit_logs.py,sha256=U16uKNF7H514ZBM0cAeSz2U2JT4P-SPGIJU6d6KOH34,17087
@@ -40,7 +40,7 @@ gr4vy/gift_cards_sdk.py,sha256=bVotXOI7TX5r32YIivU2_6eANtXdekxYbqeYK8MdzGA,57427
40
40
  gr4vy/httpclient.py,sha256=dqTPONDBpRn4ktXfcetQiRXnG93f0pJkFhqsYFhLUac,3945
41
41
  gr4vy/jobs.py,sha256=-UcByXMOnDc5cEiaBaXB_0S5eT2WdRWYcytE2p2j8WE,14569
42
42
  gr4vy/merchant_accounts_sdk.py,sha256=tGPWxXP7IOKeZ1Gh8LJ4yTpkSnsL-C56aXKfTCf4z9E,82263
43
- gr4vy/models/__init__.py,sha256=bGeD7OPvg28nJEg03-MLH_V3H4vRpgj1vCfAHTwmJIo,134887
43
+ gr4vy/models/__init__.py,sha256=Sut0aPvwlhJK2KFA2YtUXbIlwAGCq7isQBGegTJQXfo,134565
44
44
  gr4vy/models/accountsreceivablesreportspec.py,sha256=X4YKJ5TII4KFi1I47BYt1Egxsfs84EaqXsb7g90IpLw,1012
45
45
  gr4vy/models/accountupdaterinquirysummary.py,sha256=rOJn5uG7cNFUkd6BbsAve6ueUlAJzU5_d_zeDu6RBTg,1097
46
46
  gr4vy/models/accountupdaterjob.py,sha256=JKuRwrc5yYSAQ9lD5Ta4MALtfXBF7tn_37lllQsH2B0,1972
@@ -357,8 +357,7 @@ gr4vy/models/transactioncapture.py,sha256=7WD3uoUyDJ1sejtjIb7b5B5BFtpKEi7KkegVtB
357
357
  gr4vy/models/transactioncapturecreate.py,sha256=Hs8tTi8iG3xUBptznKHfUD7rvcGZX0OwDzpXOBegd8E,2188
358
358
  gr4vy/models/transactionconnectionoptions.py,sha256=SjwcEvJc1wKBe3Bqu9CySf9AtkuO3QKJRh7-5JIXYe8,20051
359
359
  gr4vy/models/transactioncreate.py,sha256=HWsWkpdYUVdbrUfbjagwrKVuvp4BrWcQofZQ8cxVI_Y,27526
360
- gr4vy/models/transactionevent.py,sha256=UCcDka-dZP2Fk5J5OvRKv8Vj8MO-sHlupHNbPwUfwgI,4026
361
- gr4vy/models/transactioneventcontext.py,sha256=y6snSpyOz1pyQ4jeY4S-ymuydRcALrIgGtnMqsrUr8U,891
360
+ gr4vy/models/transactionevent.py,sha256=206mMW32EO7Fpyah2r8_Skw4Cpl-MgVPCzBTz4e-PYI,3902
362
361
  gr4vy/models/transactionevents.py,sha256=5l2Yc69SMePDlFtcby4i3BxGBkbT62SWQf4X5Xvfypw,2210
363
362
  gr4vy/models/transactiongiftcard.py,sha256=E4f_76ezJJdPlW9kIbrXt-PIx2Zgg3bhqPjVzhWdjpM,2329
364
363
  gr4vy/models/transactionintent.py,sha256=RS4C1XxvLSJqHF9iBtyvX5y6kCHOqlcUz7MTQuyMSM8,294
@@ -439,6 +438,6 @@ gr4vy/utils/unmarshal_json_response.py,sha256=G4h8gLOK09kjhPiUZjgIMm6zntcbxpvb_m
439
438
  gr4vy/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
440
439
  gr4vy/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
441
440
  gr4vy/webhooks.py,sha256=2L-ZhdK-XU2X0AkVqgZvhfRqDCKUVs7R4UNCmZJR78w,1359
442
- gr4vy-1.8.0.dist-info/METADATA,sha256=k81zn7vYTnoi1A5ueVyT0q9FeOHVw0zx5MpHFuaHxdk,44092
443
- gr4vy-1.8.0.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
444
- gr4vy-1.8.0.dist-info/RECORD,,
441
+ gr4vy-1.9.0.dist-info/METADATA,sha256=CHvbOYaJFx9KmkrLJ-a70ztW1fRV2glyKedyD1CESBc,44092
442
+ gr4vy-1.9.0.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
443
+ gr4vy-1.9.0.dist-info/RECORD,,
@@ -1,32 +0,0 @@
1
- """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
-
3
- from __future__ import annotations
4
- from gr4vy.types import BaseModel
5
- import pydantic
6
- from pydantic import ConfigDict
7
- from typing import Any, Dict
8
- from typing_extensions import TypedDict
9
-
10
-
11
- class TransactionEventContextTypedDict(TypedDict):
12
- transaction_id: Any
13
- created_at: Any
14
-
15
-
16
- class TransactionEventContext(BaseModel):
17
- model_config = ConfigDict(
18
- populate_by_name=True, arbitrary_types_allowed=True, extra="allow"
19
- )
20
- __pydantic_extra__: Dict[str, Any] = pydantic.Field(init=False)
21
-
22
- transaction_id: Any
23
-
24
- created_at: Any
25
-
26
- @property
27
- def additional_properties(self):
28
- return self.__pydantic_extra__
29
-
30
- @additional_properties.setter
31
- def additional_properties(self, value):
32
- self.__pydantic_extra__ = value # pyright: ignore[reportIncompatibleVariableOverride]
File without changes