gr4vy 1.6.3__py3-none-any.whl → 1.6.5__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.

Potentially problematic release.


This version of gr4vy might be problematic. Click here for more details.

Files changed (32) hide show
  1. gr4vy/_version.py +3 -3
  2. gr4vy/models/__init__.py +99 -75
  3. gr4vy/models/auditlogentries.py +3 -3
  4. gr4vy/models/{auditlogentry.py → auditlogentry_output.py} +2 -2
  5. gr4vy/models/capture_transactionop.py +7 -4
  6. gr4vy/models/checkoutsession.py +5 -5
  7. gr4vy/models/{checkoutsessionpaymentmethod.py → checkoutsessionpaymentmethod_output.py} +2 -2
  8. gr4vy/models/create_payment_methodop.py +6 -0
  9. gr4vy/models/paymentlink.py +6 -3
  10. gr4vy/models/paymentmethodsummaries.py +6 -3
  11. gr4vy/models/{paymentmethodsummary.py → paymentmethodsummary_output.py} +2 -2
  12. gr4vy/models/{paymentoption.py → paymentoption_output.py} +2 -2
  13. gr4vy/models/paymentoptions.py +3 -3
  14. gr4vy/models/payoutsummary.py +11 -8
  15. gr4vy/models/plaidpaymentmethodcreate.py +99 -0
  16. gr4vy/models/{transaction.py → transaction_output.py} +18 -15
  17. gr4vy/models/{transactionbuyer.py → transactionbuyer_output.py} +2 -2
  18. gr4vy/models/transactioncancel.py +3 -3
  19. gr4vy/models/{transactioncapture.py → transactioncapture_output.py} +5 -5
  20. gr4vy/models/transactioncreate.py +6 -0
  21. gr4vy/models/{transactionevent.py → transactionevent_output.py} +2 -2
  22. gr4vy/models/transactionevents.py +6 -3
  23. gr4vy/models/{transactionpaymentmethod.py → transactionpaymentmethod_output.py} +2 -2
  24. gr4vy/models/transactionsummaries.py +6 -3
  25. gr4vy/models/{transactionsummary.py → transactionsummary_output.py} +13 -10
  26. gr4vy/models/{transactionthreedsecuresummary.py → transactionthreedsecuresummary_output.py} +2 -2
  27. gr4vy/models/{transactionvoid.py → transactionvoid_output.py} +5 -5
  28. gr4vy/models/void_transactionop.py +7 -4
  29. gr4vy/transactions.py +16 -16
  30. {gr4vy-1.6.3.dist-info → gr4vy-1.6.5.dist-info}/METADATA +1 -1
  31. {gr4vy-1.6.3.dist-info → gr4vy-1.6.5.dist-info}/RECORD +32 -31
  32. {gr4vy-1.6.3.dist-info → gr4vy-1.6.5.dist-info}/WHEEL +0 -0
gr4vy/_version.py CHANGED
@@ -3,10 +3,10 @@
3
3
  import importlib.metadata
4
4
 
5
5
  __title__: str = "gr4vy"
6
- __version__: str = "1.6.3"
6
+ __version__: str = "1.6.5"
7
7
  __openapi_doc_version__: str = "1.0.0"
8
- __gen_version__: str = "2.731.4"
9
- __user_agent__: str = "speakeasy-sdk/python 1.6.3 2.731.4 1.0.0 gr4vy"
8
+ __gen_version__: str = "2.731.6"
9
+ __user_agent__: str = "speakeasy-sdk/python 1.6.5 2.731.6 1.0.0 gr4vy"
10
10
 
11
11
  try:
12
12
  if __package__ is not None:
gr4vy/models/__init__.py CHANGED
@@ -74,7 +74,7 @@ if TYPE_CHECKING:
74
74
  from .approvaltarget import ApprovalTarget
75
75
  from .auditlogaction import AuditLogAction
76
76
  from .auditlogentries import AuditLogEntries, AuditLogEntriesTypedDict
77
- from .auditlogentry import AuditLogEntry, AuditLogEntryTypedDict
77
+ from .auditlogentry_output import AuditLogEntryOutput, AuditLogEntryOutputTypedDict
78
78
  from .auditlogentryresource import (
79
79
  AuditLogEntryResource,
80
80
  AuditLogEntryResourceTypedDict,
@@ -141,9 +141,9 @@ if TYPE_CHECKING:
141
141
  CheckoutSessionCreate,
142
142
  CheckoutSessionCreateTypedDict,
143
143
  )
144
- from .checkoutsessionpaymentmethod import (
145
- CheckoutSessionPaymentMethod,
146
- CheckoutSessionPaymentMethodTypedDict,
144
+ from .checkoutsessionpaymentmethod_output import (
145
+ CheckoutSessionPaymentMethodOutput,
146
+ CheckoutSessionPaymentMethodOutputTypedDict,
147
147
  )
148
148
  from .checkoutsessionpaymentmethodcreate import (
149
149
  CheckoutSessionPaymentMethodCreate,
@@ -819,15 +819,15 @@ if TYPE_CHECKING:
819
819
  PaymentMethodSummaries,
820
820
  PaymentMethodSummariesTypedDict,
821
821
  )
822
- from .paymentmethodsummary import (
823
- PaymentMethodSummary,
824
- PaymentMethodSummaryTypedDict,
822
+ from .paymentmethodsummary_output import (
823
+ PaymentMethodSummaryOutput,
824
+ PaymentMethodSummaryOutputTypedDict,
825
825
  )
826
- from .paymentoption import (
826
+ from .paymentoption_output import (
827
827
  Context,
828
828
  ContextTypedDict,
829
- PaymentOption,
830
- PaymentOptionTypedDict,
829
+ PaymentOptionOutput,
830
+ PaymentOptionOutputTypedDict,
831
831
  )
832
832
  from .paymentoptioncontext import (
833
833
  PaymentOptionContext,
@@ -915,6 +915,10 @@ if TYPE_CHECKING:
915
915
  PaypalShippingOptionsItemAmount,
916
916
  PaypalShippingOptionsItemAmountTypedDict,
917
917
  )
918
+ from .plaidpaymentmethodcreate import (
919
+ PlaidPaymentMethodCreate,
920
+ PlaidPaymentMethodCreateTypedDict,
921
+ )
918
922
  from .powertranzoptions import PowertranzOptions, PowertranzOptionsTypedDict
919
923
  from .producttype import ProductType
920
924
  from .recipient import Recipient, RecipientTypedDict
@@ -1011,10 +1015,16 @@ if TYPE_CHECKING:
1011
1015
  TokenPaymentMethodCreate,
1012
1016
  TokenPaymentMethodCreateTypedDict,
1013
1017
  )
1014
- from .transaction import Transaction, TransactionTypedDict
1015
- from .transactionbuyer import TransactionBuyer, TransactionBuyerTypedDict
1018
+ from .transaction_output import TransactionOutput, TransactionOutputTypedDict
1019
+ from .transactionbuyer_output import (
1020
+ TransactionBuyerOutput,
1021
+ TransactionBuyerOutputTypedDict,
1022
+ )
1016
1023
  from .transactioncancel import TransactionCancel, TransactionCancelTypedDict
1017
- from .transactioncapture import TransactionCapture, TransactionCaptureTypedDict
1024
+ from .transactioncapture_output import (
1025
+ TransactionCaptureOutput,
1026
+ TransactionCaptureOutputTypedDict,
1027
+ )
1018
1028
  from .transactioncapturecreate import (
1019
1029
  TransactionCaptureCreate,
1020
1030
  TransactionCaptureCreateTypedDict,
@@ -1033,14 +1043,18 @@ if TYPE_CHECKING:
1033
1043
  TransactionCreatePaymentMethodTypedDict,
1034
1044
  TransactionCreateTypedDict,
1035
1045
  )
1036
- from .transactionevent import Name, TransactionEvent, TransactionEventTypedDict
1046
+ from .transactionevent_output import (
1047
+ Name,
1048
+ TransactionEventOutput,
1049
+ TransactionEventOutputTypedDict,
1050
+ )
1037
1051
  from .transactionevents import TransactionEvents, TransactionEventsTypedDict
1038
1052
  from .transactiongiftcard import TransactionGiftCard, TransactionGiftCardTypedDict
1039
1053
  from .transactionintent import TransactionIntent
1040
1054
  from .transactionintentoutcome import TransactionIntentOutcome
1041
- from .transactionpaymentmethod import (
1042
- TransactionPaymentMethod,
1043
- TransactionPaymentMethodTypedDict,
1055
+ from .transactionpaymentmethod_output import (
1056
+ TransactionPaymentMethodOutput,
1057
+ TransactionPaymentMethodOutputTypedDict,
1044
1058
  )
1045
1059
  from .transactionpaymentservice import (
1046
1060
  TransactionPaymentService,
@@ -1068,15 +1082,21 @@ if TYPE_CHECKING:
1068
1082
  TransactionSummaries,
1069
1083
  TransactionSummariesTypedDict,
1070
1084
  )
1071
- from .transactionsummary import TransactionSummary, TransactionSummaryTypedDict
1072
- from .transactionthreedsecuresummary import (
1085
+ from .transactionsummary_output import (
1086
+ TransactionSummaryOutput,
1087
+ TransactionSummaryOutputTypedDict,
1088
+ )
1089
+ from .transactionthreedsecuresummary_output import (
1073
1090
  ResponseData,
1074
1091
  ResponseDataTypedDict,
1075
- TransactionThreeDSecureSummary,
1076
- TransactionThreeDSecureSummaryTypedDict,
1092
+ TransactionThreeDSecureSummaryOutput,
1093
+ TransactionThreeDSecureSummaryOutputTypedDict,
1077
1094
  )
1078
1095
  from .transactionupdate import TransactionUpdate, TransactionUpdateTypedDict
1079
- from .transactionvoid import TransactionVoid, TransactionVoidTypedDict
1096
+ from .transactionvoid_output import (
1097
+ TransactionVoidOutput,
1098
+ TransactionVoidOutputTypedDict,
1099
+ )
1080
1100
  from .travelhubcustomdata import TravelHubCustomData, TravelHubCustomDataTypedDict
1081
1101
  from .travelhuboptions import TravelhubOptions, TravelhubOptionsTypedDict
1082
1102
  from .trustlyoptions import TrustlyOptions, TrustlyOptionsTypedDict
@@ -1234,10 +1254,10 @@ __all__ = [
1234
1254
  "AuditLogAction",
1235
1255
  "AuditLogEntries",
1236
1256
  "AuditLogEntriesTypedDict",
1237
- "AuditLogEntry",
1257
+ "AuditLogEntryOutput",
1258
+ "AuditLogEntryOutputTypedDict",
1238
1259
  "AuditLogEntryResource",
1239
1260
  "AuditLogEntryResourceTypedDict",
1240
- "AuditLogEntryTypedDict",
1241
1261
  "AuditLogEntryUser",
1242
1262
  "AuditLogEntryUserTypedDict",
1243
1263
  "BillingDetailsInput",
@@ -1289,12 +1309,12 @@ __all__ = [
1289
1309
  "CheckoutSession",
1290
1310
  "CheckoutSessionCreate",
1291
1311
  "CheckoutSessionCreateTypedDict",
1292
- "CheckoutSessionPaymentMethod",
1293
1312
  "CheckoutSessionPaymentMethodCreate",
1294
1313
  "CheckoutSessionPaymentMethodCreateTypedDict",
1295
1314
  "CheckoutSessionPaymentMethodDetails",
1296
1315
  "CheckoutSessionPaymentMethodDetailsTypedDict",
1297
- "CheckoutSessionPaymentMethodTypedDict",
1316
+ "CheckoutSessionPaymentMethodOutput",
1317
+ "CheckoutSessionPaymentMethodOutputTypedDict",
1298
1318
  "CheckoutSessionTypedDict",
1299
1319
  "CheckoutSessionWithURLPaymentMethodCreate",
1300
1320
  "CheckoutSessionWithURLPaymentMethodCreateTypedDict",
@@ -1788,19 +1808,19 @@ __all__ = [
1788
1808
  "PaymentMethodStoredCardTypedDict",
1789
1809
  "PaymentMethodSummaries",
1790
1810
  "PaymentMethodSummariesTypedDict",
1791
- "PaymentMethodSummary",
1792
- "PaymentMethodSummaryTypedDict",
1811
+ "PaymentMethodSummaryOutput",
1812
+ "PaymentMethodSummaryOutputTypedDict",
1793
1813
  "PaymentMethodTypedDict",
1794
1814
  "PaymentMethods",
1795
1815
  "PaymentMethodsTypedDict",
1796
- "PaymentOption",
1797
1816
  "PaymentOptionContext",
1798
1817
  "PaymentOptionContextApprovalUI",
1799
1818
  "PaymentOptionContextApprovalUITypedDict",
1800
1819
  "PaymentOptionContextTypedDict",
1820
+ "PaymentOptionOutput",
1821
+ "PaymentOptionOutputTypedDict",
1801
1822
  "PaymentOptionRequest",
1802
1823
  "PaymentOptionRequestTypedDict",
1803
- "PaymentOptionTypedDict",
1804
1824
  "PaymentOptions",
1805
1825
  "PaymentOptionsTypedDict",
1806
1826
  "PaymentService",
@@ -1851,6 +1871,8 @@ __all__ = [
1851
1871
  "PaypalShippingOptionsItemType",
1852
1872
  "PaypalShippingOptionsItemTypedDict",
1853
1873
  "PaypalShippingOptionsTypedDict",
1874
+ "PlaidPaymentMethodCreate",
1875
+ "PlaidPaymentMethodCreateTypedDict",
1854
1876
  "PowertranzOptions",
1855
1877
  "PowertranzOptionsTypedDict",
1856
1878
  "ProductType",
@@ -1965,31 +1987,32 @@ __all__ = [
1965
1987
  "TokenPaymentMethodCreate",
1966
1988
  "TokenPaymentMethodCreateTypedDict",
1967
1989
  "TokenTypedDict",
1968
- "Transaction",
1969
- "TransactionBuyer",
1970
- "TransactionBuyerTypedDict",
1990
+ "TransactionBuyerOutput",
1991
+ "TransactionBuyerOutputTypedDict",
1971
1992
  "TransactionCancel",
1972
1993
  "TransactionCancelTypedDict",
1973
- "TransactionCapture",
1974
1994
  "TransactionCaptureCreate",
1975
1995
  "TransactionCaptureCreateTypedDict",
1976
- "TransactionCaptureTypedDict",
1996
+ "TransactionCaptureOutput",
1997
+ "TransactionCaptureOutputTypedDict",
1977
1998
  "TransactionConnectionOptions",
1978
1999
  "TransactionConnectionOptionsTypedDict",
1979
2000
  "TransactionCreate",
1980
2001
  "TransactionCreatePaymentMethod",
1981
2002
  "TransactionCreatePaymentMethodTypedDict",
1982
2003
  "TransactionCreateTypedDict",
1983
- "TransactionEvent",
1984
- "TransactionEventTypedDict",
2004
+ "TransactionEventOutput",
2005
+ "TransactionEventOutputTypedDict",
1985
2006
  "TransactionEvents",
1986
2007
  "TransactionEventsTypedDict",
1987
2008
  "TransactionGiftCard",
1988
2009
  "TransactionGiftCardTypedDict",
1989
2010
  "TransactionIntent",
1990
2011
  "TransactionIntentOutcome",
1991
- "TransactionPaymentMethod",
1992
- "TransactionPaymentMethodTypedDict",
2012
+ "TransactionOutput",
2013
+ "TransactionOutputTypedDict",
2014
+ "TransactionPaymentMethodOutput",
2015
+ "TransactionPaymentMethodOutputTypedDict",
1993
2016
  "TransactionPaymentService",
1994
2017
  "TransactionPaymentServiceTypedDict",
1995
2018
  "TransactionPaymentSource",
@@ -2002,15 +2025,14 @@ __all__ = [
2002
2025
  "TransactionStatus",
2003
2026
  "TransactionSummaries",
2004
2027
  "TransactionSummariesTypedDict",
2005
- "TransactionSummary",
2006
- "TransactionSummaryTypedDict",
2007
- "TransactionThreeDSecureSummary",
2008
- "TransactionThreeDSecureSummaryTypedDict",
2009
- "TransactionTypedDict",
2028
+ "TransactionSummaryOutput",
2029
+ "TransactionSummaryOutputTypedDict",
2030
+ "TransactionThreeDSecureSummaryOutput",
2031
+ "TransactionThreeDSecureSummaryOutputTypedDict",
2010
2032
  "TransactionUpdate",
2011
2033
  "TransactionUpdateTypedDict",
2012
- "TransactionVoid",
2013
- "TransactionVoidTypedDict",
2034
+ "TransactionVoidOutput",
2035
+ "TransactionVoidOutputTypedDict",
2014
2036
  "TransactionsReportSpec",
2015
2037
  "TransactionsReportSpecTypedDict",
2016
2038
  "TravelHubCustomData",
@@ -2144,8 +2166,8 @@ _dynamic_imports: dict[str, str] = {
2144
2166
  "AuditLogAction": ".auditlogaction",
2145
2167
  "AuditLogEntries": ".auditlogentries",
2146
2168
  "AuditLogEntriesTypedDict": ".auditlogentries",
2147
- "AuditLogEntry": ".auditlogentry",
2148
- "AuditLogEntryTypedDict": ".auditlogentry",
2169
+ "AuditLogEntryOutput": ".auditlogentry_output",
2170
+ "AuditLogEntryOutputTypedDict": ".auditlogentry_output",
2149
2171
  "AuditLogEntryResource": ".auditlogentryresource",
2150
2172
  "AuditLogEntryResourceTypedDict": ".auditlogentryresource",
2151
2173
  "AuditLogEntryUser": ".auditlogentryuser",
@@ -2201,8 +2223,8 @@ _dynamic_imports: dict[str, str] = {
2201
2223
  "CheckoutSessionTypedDict": ".checkoutsession",
2202
2224
  "CheckoutSessionCreate": ".checkoutsessioncreate",
2203
2225
  "CheckoutSessionCreateTypedDict": ".checkoutsessioncreate",
2204
- "CheckoutSessionPaymentMethod": ".checkoutsessionpaymentmethod",
2205
- "CheckoutSessionPaymentMethodTypedDict": ".checkoutsessionpaymentmethod",
2226
+ "CheckoutSessionPaymentMethodOutput": ".checkoutsessionpaymentmethod_output",
2227
+ "CheckoutSessionPaymentMethodOutputTypedDict": ".checkoutsessionpaymentmethod_output",
2206
2228
  "CheckoutSessionPaymentMethodCreate": ".checkoutsessionpaymentmethodcreate",
2207
2229
  "CheckoutSessionPaymentMethodCreateTypedDict": ".checkoutsessionpaymentmethodcreate",
2208
2230
  "CheckoutSessionPaymentMethodDetails": ".checkoutsessionpaymentmethoddetails",
@@ -2702,12 +2724,12 @@ _dynamic_imports: dict[str, str] = {
2702
2724
  "PaymentMethodStoredCardTypedDict": ".paymentmethodstoredcard",
2703
2725
  "PaymentMethodSummaries": ".paymentmethodsummaries",
2704
2726
  "PaymentMethodSummariesTypedDict": ".paymentmethodsummaries",
2705
- "PaymentMethodSummary": ".paymentmethodsummary",
2706
- "PaymentMethodSummaryTypedDict": ".paymentmethodsummary",
2707
- "Context": ".paymentoption",
2708
- "ContextTypedDict": ".paymentoption",
2709
- "PaymentOption": ".paymentoption",
2710
- "PaymentOptionTypedDict": ".paymentoption",
2727
+ "PaymentMethodSummaryOutput": ".paymentmethodsummary_output",
2728
+ "PaymentMethodSummaryOutputTypedDict": ".paymentmethodsummary_output",
2729
+ "Context": ".paymentoption_output",
2730
+ "ContextTypedDict": ".paymentoption_output",
2731
+ "PaymentOptionOutput": ".paymentoption_output",
2732
+ "PaymentOptionOutputTypedDict": ".paymentoption_output",
2711
2733
  "PaymentOptionContext": ".paymentoptioncontext",
2712
2734
  "PaymentOptionContextTypedDict": ".paymentoptioncontext",
2713
2735
  "RequiredFields1": ".paymentoptioncontext",
@@ -2768,6 +2790,8 @@ _dynamic_imports: dict[str, str] = {
2768
2790
  "PaypalShippingOptionsItemTypedDict": ".paypalshippingoptionsitem",
2769
2791
  "PaypalShippingOptionsItemAmount": ".paypalshippingoptionsitemamount",
2770
2792
  "PaypalShippingOptionsItemAmountTypedDict": ".paypalshippingoptionsitemamount",
2793
+ "PlaidPaymentMethodCreate": ".plaidpaymentmethodcreate",
2794
+ "PlaidPaymentMethodCreateTypedDict": ".plaidpaymentmethodcreate",
2771
2795
  "PowertranzOptions": ".powertranzoptions",
2772
2796
  "PowertranzOptionsTypedDict": ".powertranzoptions",
2773
2797
  "ProductType": ".producttype",
@@ -2865,14 +2889,14 @@ _dynamic_imports: dict[str, str] = {
2865
2889
  "ThreeDSecureV2TypedDict": ".threedsecurev2",
2866
2890
  "TokenPaymentMethodCreate": ".tokenpaymentmethodcreate",
2867
2891
  "TokenPaymentMethodCreateTypedDict": ".tokenpaymentmethodcreate",
2868
- "Transaction": ".transaction",
2869
- "TransactionTypedDict": ".transaction",
2870
- "TransactionBuyer": ".transactionbuyer",
2871
- "TransactionBuyerTypedDict": ".transactionbuyer",
2892
+ "TransactionOutput": ".transaction_output",
2893
+ "TransactionOutputTypedDict": ".transaction_output",
2894
+ "TransactionBuyerOutput": ".transactionbuyer_output",
2895
+ "TransactionBuyerOutputTypedDict": ".transactionbuyer_output",
2872
2896
  "TransactionCancel": ".transactioncancel",
2873
2897
  "TransactionCancelTypedDict": ".transactioncancel",
2874
- "TransactionCapture": ".transactioncapture",
2875
- "TransactionCaptureTypedDict": ".transactioncapture",
2898
+ "TransactionCaptureOutput": ".transactioncapture_output",
2899
+ "TransactionCaptureOutputTypedDict": ".transactioncapture_output",
2876
2900
  "TransactionCaptureCreate": ".transactioncapturecreate",
2877
2901
  "TransactionCaptureCreateTypedDict": ".transactioncapturecreate",
2878
2902
  "TransactionConnectionOptions": ".transactionconnectionoptions",
@@ -2885,17 +2909,17 @@ _dynamic_imports: dict[str, str] = {
2885
2909
  "TransactionCreatePaymentMethod": ".transactioncreate",
2886
2910
  "TransactionCreatePaymentMethodTypedDict": ".transactioncreate",
2887
2911
  "TransactionCreateTypedDict": ".transactioncreate",
2888
- "Name": ".transactionevent",
2889
- "TransactionEvent": ".transactionevent",
2890
- "TransactionEventTypedDict": ".transactionevent",
2912
+ "Name": ".transactionevent_output",
2913
+ "TransactionEventOutput": ".transactionevent_output",
2914
+ "TransactionEventOutputTypedDict": ".transactionevent_output",
2891
2915
  "TransactionEvents": ".transactionevents",
2892
2916
  "TransactionEventsTypedDict": ".transactionevents",
2893
2917
  "TransactionGiftCard": ".transactiongiftcard",
2894
2918
  "TransactionGiftCardTypedDict": ".transactiongiftcard",
2895
2919
  "TransactionIntent": ".transactionintent",
2896
2920
  "TransactionIntentOutcome": ".transactionintentoutcome",
2897
- "TransactionPaymentMethod": ".transactionpaymentmethod",
2898
- "TransactionPaymentMethodTypedDict": ".transactionpaymentmethod",
2921
+ "TransactionPaymentMethodOutput": ".transactionpaymentmethod_output",
2922
+ "TransactionPaymentMethodOutputTypedDict": ".transactionpaymentmethod_output",
2899
2923
  "TransactionPaymentService": ".transactionpaymentservice",
2900
2924
  "TransactionPaymentServiceTypedDict": ".transactionpaymentservice",
2901
2925
  "TransactionPaymentSource": ".transactionpaymentsource",
@@ -2910,16 +2934,16 @@ _dynamic_imports: dict[str, str] = {
2910
2934
  "TransactionStatus": ".transactionstatus",
2911
2935
  "TransactionSummaries": ".transactionsummaries",
2912
2936
  "TransactionSummariesTypedDict": ".transactionsummaries",
2913
- "TransactionSummary": ".transactionsummary",
2914
- "TransactionSummaryTypedDict": ".transactionsummary",
2915
- "ResponseData": ".transactionthreedsecuresummary",
2916
- "ResponseDataTypedDict": ".transactionthreedsecuresummary",
2917
- "TransactionThreeDSecureSummary": ".transactionthreedsecuresummary",
2918
- "TransactionThreeDSecureSummaryTypedDict": ".transactionthreedsecuresummary",
2937
+ "TransactionSummaryOutput": ".transactionsummary_output",
2938
+ "TransactionSummaryOutputTypedDict": ".transactionsummary_output",
2939
+ "ResponseData": ".transactionthreedsecuresummary_output",
2940
+ "ResponseDataTypedDict": ".transactionthreedsecuresummary_output",
2941
+ "TransactionThreeDSecureSummaryOutput": ".transactionthreedsecuresummary_output",
2942
+ "TransactionThreeDSecureSummaryOutputTypedDict": ".transactionthreedsecuresummary_output",
2919
2943
  "TransactionUpdate": ".transactionupdate",
2920
2944
  "TransactionUpdateTypedDict": ".transactionupdate",
2921
- "TransactionVoid": ".transactionvoid",
2922
- "TransactionVoidTypedDict": ".transactionvoid",
2945
+ "TransactionVoidOutput": ".transactionvoid_output",
2946
+ "TransactionVoidOutputTypedDict": ".transactionvoid_output",
2923
2947
  "TravelHubCustomData": ".travelhubcustomdata",
2924
2948
  "TravelHubCustomDataTypedDict": ".travelhubcustomdata",
2925
2949
  "TravelhubOptions": ".travelhuboptions",
@@ -1,7 +1,7 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from .auditlogentry import AuditLogEntry, AuditLogEntryTypedDict
4
+ from .auditlogentry_output import AuditLogEntryOutput, AuditLogEntryOutputTypedDict
5
5
  from gr4vy.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL
6
6
  from pydantic import model_serializer
7
7
  from typing import List, Optional
@@ -9,7 +9,7 @@ from typing_extensions import NotRequired, TypedDict
9
9
 
10
10
 
11
11
  class AuditLogEntriesTypedDict(TypedDict):
12
- items: List[AuditLogEntryTypedDict]
12
+ items: List[AuditLogEntryOutputTypedDict]
13
13
  r"""A list of items returned for this request."""
14
14
  limit: NotRequired[int]
15
15
  r"""The number of items for this page."""
@@ -20,7 +20,7 @@ class AuditLogEntriesTypedDict(TypedDict):
20
20
 
21
21
 
22
22
  class AuditLogEntries(BaseModel):
23
- items: List[AuditLogEntry]
23
+ items: List[AuditLogEntryOutput]
24
24
  r"""A list of items returned for this request."""
25
25
 
26
26
  limit: Optional[int] = 20
@@ -14,7 +14,7 @@ from typing import Literal, Optional
14
14
  from typing_extensions import Annotated, NotRequired, TypedDict
15
15
 
16
16
 
17
- class AuditLogEntryTypedDict(TypedDict):
17
+ class AuditLogEntryOutputTypedDict(TypedDict):
18
18
  resource: AuditLogEntryResourceTypedDict
19
19
  action: AuditLogAction
20
20
  user: AuditLogEntryUserTypedDict
@@ -28,7 +28,7 @@ class AuditLogEntryTypedDict(TypedDict):
28
28
  r"""The ID of the merchant account this entry was created for."""
29
29
 
30
30
 
31
- class AuditLogEntry(BaseModel):
31
+ class AuditLogEntryOutput(BaseModel):
32
32
  resource: AuditLogEntryResource
33
33
 
34
34
  action: Annotated[AuditLogAction, PlainValidator(validate_open_enum(False))]
@@ -1,8 +1,11 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from .transaction import Transaction, TransactionTypedDict
5
- from .transactioncapture import TransactionCapture, TransactionCaptureTypedDict
4
+ from .transaction_output import TransactionOutput, TransactionOutputTypedDict
5
+ from .transactioncapture_output import (
6
+ TransactionCaptureOutput,
7
+ TransactionCaptureOutputTypedDict,
8
+ )
6
9
  from .transactioncapturecreate import (
7
10
  TransactionCaptureCreate,
8
11
  TransactionCaptureCreateTypedDict,
@@ -101,12 +104,12 @@ class CaptureTransactionRequest(BaseModel):
101
104
 
102
105
  ResponseCaptureTransactionTypedDict = TypeAliasType(
103
106
  "ResponseCaptureTransactionTypedDict",
104
- Union[TransactionCaptureTypedDict, TransactionTypedDict],
107
+ Union[TransactionCaptureOutputTypedDict, TransactionOutputTypedDict],
105
108
  )
106
109
  r"""Successful Response"""
107
110
 
108
111
 
109
112
  ResponseCaptureTransaction = TypeAliasType(
110
- "ResponseCaptureTransaction", Union[TransactionCapture, Transaction]
113
+ "ResponseCaptureTransaction", Union[TransactionCaptureOutput, TransactionOutput]
111
114
  )
112
115
  r"""Successful Response"""
@@ -3,9 +3,9 @@
3
3
  from __future__ import annotations
4
4
  from .airline import Airline, AirlineTypedDict
5
5
  from .cartitem import CartItem, CartItemTypedDict
6
- from .checkoutsessionpaymentmethod import (
7
- CheckoutSessionPaymentMethod,
8
- CheckoutSessionPaymentMethodTypedDict,
6
+ from .checkoutsessionpaymentmethod_output import (
7
+ CheckoutSessionPaymentMethodOutput,
8
+ CheckoutSessionPaymentMethodOutputTypedDict,
9
9
  )
10
10
  from .guestbuyer_output import GuestBuyerOutput, GuestBuyerOutputTypedDict
11
11
  from datetime import datetime
@@ -33,7 +33,7 @@ class CheckoutSessionTypedDict(TypedDict):
33
33
  r"""The airline addendum data which describes the airline booking associated with this transaction."""
34
34
  type: Literal["checkout-session"]
35
35
  r"""Always `checkout-session`"""
36
- payment_method: NotRequired[Nullable[CheckoutSessionPaymentMethodTypedDict]]
36
+ payment_method: NotRequired[Nullable[CheckoutSessionPaymentMethodOutputTypedDict]]
37
37
  r"""Information about the payment method stored on the checkout session."""
38
38
 
39
39
 
@@ -65,7 +65,7 @@ class CheckoutSession(BaseModel):
65
65
  ] = "checkout-session"
66
66
  r"""Always `checkout-session`"""
67
67
 
68
- payment_method: OptionalNullable[CheckoutSessionPaymentMethod] = UNSET
68
+ payment_method: OptionalNullable[CheckoutSessionPaymentMethodOutput] = UNSET
69
69
  r"""Information about the payment method stored on the checkout session."""
70
70
 
71
71
  @model_serializer(mode="wrap")
@@ -15,7 +15,7 @@ from typing import Literal, Optional
15
15
  from typing_extensions import Annotated, NotRequired, TypedDict
16
16
 
17
17
 
18
- class CheckoutSessionPaymentMethodTypedDict(TypedDict):
18
+ class CheckoutSessionPaymentMethodOutputTypedDict(TypedDict):
19
19
  type: Literal["payment-method"]
20
20
  r"""Always `payment-method`"""
21
21
  id: NotRequired[Nullable[str]]
@@ -32,7 +32,7 @@ class CheckoutSessionPaymentMethodTypedDict(TypedDict):
32
32
  r"""The unique hash derived from the card number."""
33
33
 
34
34
 
35
- class CheckoutSessionPaymentMethod(BaseModel):
35
+ class CheckoutSessionPaymentMethodOutput(BaseModel):
36
36
  TYPE: Annotated[
37
37
  Annotated[
38
38
  Optional[Literal["payment-method"]],
@@ -9,6 +9,10 @@ from .checkoutsessionpaymentmethodcreate import (
9
9
  CheckoutSessionPaymentMethodCreate,
10
10
  CheckoutSessionPaymentMethodCreateTypedDict,
11
11
  )
12
+ from .plaidpaymentmethodcreate import (
13
+ PlaidPaymentMethodCreate,
14
+ PlaidPaymentMethodCreateTypedDict,
15
+ )
12
16
  from .redirectpaymentmethodcreate import (
13
17
  RedirectPaymentMethodCreate,
14
18
  RedirectPaymentMethodCreateTypedDict,
@@ -38,6 +42,7 @@ BodyTypedDict = TypeAliasType(
38
42
  "BodyTypedDict",
39
43
  Union[
40
44
  CheckoutSessionPaymentMethodCreateTypedDict,
45
+ PlaidPaymentMethodCreateTypedDict,
41
46
  RedirectPaymentMethodCreateTypedDict,
42
47
  CardPaymentMethodCreateTypedDict,
43
48
  ],
@@ -48,6 +53,7 @@ Body = TypeAliasType(
48
53
  "Body",
49
54
  Union[
50
55
  CheckoutSessionPaymentMethodCreate,
56
+ PlaidPaymentMethodCreate,
51
57
  RedirectPaymentMethodCreate,
52
58
  CardPaymentMethodCreate,
53
59
  ],
@@ -5,7 +5,10 @@ from .cartitem import CartItem, CartItemTypedDict
5
5
  from .paymentlinkstatus import PaymentLinkStatus
6
6
  from .shippingdetails import ShippingDetails, ShippingDetailsTypedDict
7
7
  from .statementdescriptor import StatementDescriptor, StatementDescriptorTypedDict
8
- from .transactionbuyer import TransactionBuyer, TransactionBuyerTypedDict
8
+ from .transactionbuyer_output import (
9
+ TransactionBuyerOutput,
10
+ TransactionBuyerOutputTypedDict,
11
+ )
9
12
  from .transactionintent import TransactionIntent
10
13
  from .transactionpaymentsource import TransactionPaymentSource
11
14
  from datetime import datetime
@@ -67,7 +70,7 @@ class PaymentLinkTypedDict(TypedDict):
67
70
  r"""The return URL after payment completion."""
68
71
  metadata: NotRequired[Nullable[Dict[str, Any]]]
69
72
  r"""Arbitrary metadata for the payment link."""
70
- buyer: NotRequired[Nullable[TransactionBuyerTypedDict]]
73
+ buyer: NotRequired[Nullable[TransactionBuyerOutputTypedDict]]
71
74
  r"""The buyer associated with the payment link."""
72
75
  shipping_details: NotRequired[Nullable[ShippingDetailsTypedDict]]
73
76
  r"""The shipping details for the payment link."""
@@ -157,7 +160,7 @@ class PaymentLink(BaseModel):
157
160
  metadata: OptionalNullable[Dict[str, Any]] = UNSET
158
161
  r"""Arbitrary metadata for the payment link."""
159
162
 
160
- buyer: OptionalNullable[TransactionBuyer] = UNSET
163
+ buyer: OptionalNullable[TransactionBuyerOutput] = UNSET
161
164
  r"""The buyer associated with the payment link."""
162
165
 
163
166
  shipping_details: OptionalNullable[ShippingDetails] = UNSET
@@ -1,17 +1,20 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from .paymentmethodsummary import PaymentMethodSummary, PaymentMethodSummaryTypedDict
4
+ from .paymentmethodsummary_output import (
5
+ PaymentMethodSummaryOutput,
6
+ PaymentMethodSummaryOutputTypedDict,
7
+ )
5
8
  from gr4vy.types import BaseModel
6
9
  from typing import List
7
10
  from typing_extensions import TypedDict
8
11
 
9
12
 
10
13
  class PaymentMethodSummariesTypedDict(TypedDict):
11
- items: List[PaymentMethodSummaryTypedDict]
14
+ items: List[PaymentMethodSummaryOutputTypedDict]
12
15
  r"""A list of items returned for this request."""
13
16
 
14
17
 
15
18
  class PaymentMethodSummaries(BaseModel):
16
- items: List[PaymentMethodSummary]
19
+ items: List[PaymentMethodSummaryOutput]
17
20
  r"""A list of items returned for this request."""
@@ -18,7 +18,7 @@ from typing import List, Literal, Optional
18
18
  from typing_extensions import Annotated, NotRequired, TypedDict
19
19
 
20
20
 
21
- class PaymentMethodSummaryTypedDict(TypedDict):
21
+ class PaymentMethodSummaryOutputTypedDict(TypedDict):
22
22
  r"""Payment Method
23
23
 
24
24
  A summary of a payment method.
@@ -65,7 +65,7 @@ class PaymentMethodSummaryTypedDict(TypedDict):
65
65
  r"""The timestamp when this payment method was last used in a transaction."""
66
66
 
67
67
 
68
- class PaymentMethodSummary(BaseModel):
68
+ class PaymentMethodSummaryOutput(BaseModel):
69
69
  r"""Payment Method
70
70
 
71
71
  A summary of a payment method.
@@ -38,7 +38,7 @@ Context = TypeAliasType(
38
38
  )
39
39
 
40
40
 
41
- class PaymentOptionTypedDict(TypedDict):
41
+ class PaymentOptionOutputTypedDict(TypedDict):
42
42
  method: str
43
43
  mode: Mode
44
44
  can_store_payment_method: bool
@@ -49,7 +49,7 @@ class PaymentOptionTypedDict(TypedDict):
49
49
  context: NotRequired[Nullable[ContextTypedDict]]
50
50
 
51
51
 
52
- class PaymentOption(BaseModel):
52
+ class PaymentOptionOutput(BaseModel):
53
53
  method: str
54
54
 
55
55
  mode: Annotated[Mode, PlainValidator(validate_open_enum(False))]
@@ -1,17 +1,17 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from .paymentoption import PaymentOption, PaymentOptionTypedDict
4
+ from .paymentoption_output import PaymentOptionOutput, PaymentOptionOutputTypedDict
5
5
  from gr4vy.types import BaseModel
6
6
  from typing import List
7
7
  from typing_extensions import TypedDict
8
8
 
9
9
 
10
10
  class PaymentOptionsTypedDict(TypedDict):
11
- items: List[PaymentOptionTypedDict]
11
+ items: List[PaymentOptionOutputTypedDict]
12
12
  r"""A list of items returned for this request."""
13
13
 
14
14
 
15
15
  class PaymentOptions(BaseModel):
16
- items: List[PaymentOption]
16
+ items: List[PaymentOptionOutput]
17
17
  r"""A list of items returned for this request."""