gr4vy 1.6.3__py3-none-any.whl → 1.6.4__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.
- gr4vy/_version.py +3 -3
- gr4vy/models/__init__.py +91 -75
- gr4vy/models/auditlogentries.py +3 -3
- gr4vy/models/{auditlogentry.py → auditlogentry_output.py} +2 -2
- gr4vy/models/capture_transactionop.py +7 -4
- gr4vy/models/checkoutsession.py +5 -5
- gr4vy/models/{checkoutsessionpaymentmethod.py → checkoutsessionpaymentmethod_output.py} +2 -2
- gr4vy/models/paymentlink.py +6 -3
- gr4vy/models/paymentmethodsummaries.py +6 -3
- gr4vy/models/{paymentmethodsummary.py → paymentmethodsummary_output.py} +2 -2
- gr4vy/models/{paymentoption.py → paymentoption_output.py} +2 -2
- gr4vy/models/paymentoptions.py +3 -3
- gr4vy/models/payoutsummary.py +11 -8
- gr4vy/models/{transaction.py → transaction_output.py} +18 -15
- gr4vy/models/{transactionbuyer.py → transactionbuyer_output.py} +2 -2
- gr4vy/models/transactioncancel.py +3 -3
- gr4vy/models/{transactioncapture.py → transactioncapture_output.py} +5 -5
- gr4vy/models/{transactionevent.py → transactionevent_output.py} +2 -2
- gr4vy/models/transactionevents.py +6 -3
- gr4vy/models/{transactionpaymentmethod.py → transactionpaymentmethod_output.py} +2 -2
- gr4vy/models/transactionsummaries.py +6 -3
- gr4vy/models/{transactionsummary.py → transactionsummary_output.py} +13 -10
- gr4vy/models/{transactionthreedsecuresummary.py → transactionthreedsecuresummary_output.py} +2 -2
- gr4vy/models/{transactionvoid.py → transactionvoid_output.py} +5 -5
- gr4vy/models/void_transactionop.py +7 -4
- gr4vy/transactions.py +16 -16
- {gr4vy-1.6.3.dist-info → gr4vy-1.6.4.dist-info}/METADATA +1 -1
- {gr4vy-1.6.3.dist-info → gr4vy-1.6.4.dist-info}/RECORD +29 -29
- {gr4vy-1.6.3.dist-info → gr4vy-1.6.4.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.
|
|
6
|
+
__version__: str = "1.6.4"
|
|
7
7
|
__openapi_doc_version__: str = "1.0.0"
|
|
8
|
-
__gen_version__: str = "2.731.
|
|
9
|
-
__user_agent__: str = "speakeasy-sdk/python 1.6.
|
|
8
|
+
__gen_version__: str = "2.731.6"
|
|
9
|
+
__user_agent__: str = "speakeasy-sdk/python 1.6.4 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 .
|
|
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 .
|
|
145
|
-
|
|
146
|
-
|
|
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 .
|
|
823
|
-
|
|
824
|
-
|
|
822
|
+
from .paymentmethodsummary_output import (
|
|
823
|
+
PaymentMethodSummaryOutput,
|
|
824
|
+
PaymentMethodSummaryOutputTypedDict,
|
|
825
825
|
)
|
|
826
|
-
from .
|
|
826
|
+
from .paymentoption_output import (
|
|
827
827
|
Context,
|
|
828
828
|
ContextTypedDict,
|
|
829
|
-
|
|
830
|
-
|
|
829
|
+
PaymentOptionOutput,
|
|
830
|
+
PaymentOptionOutputTypedDict,
|
|
831
831
|
)
|
|
832
832
|
from .paymentoptioncontext import (
|
|
833
833
|
PaymentOptionContext,
|
|
@@ -1011,10 +1011,16 @@ if TYPE_CHECKING:
|
|
|
1011
1011
|
TokenPaymentMethodCreate,
|
|
1012
1012
|
TokenPaymentMethodCreateTypedDict,
|
|
1013
1013
|
)
|
|
1014
|
-
from .
|
|
1015
|
-
from .
|
|
1014
|
+
from .transaction_output import TransactionOutput, TransactionOutputTypedDict
|
|
1015
|
+
from .transactionbuyer_output import (
|
|
1016
|
+
TransactionBuyerOutput,
|
|
1017
|
+
TransactionBuyerOutputTypedDict,
|
|
1018
|
+
)
|
|
1016
1019
|
from .transactioncancel import TransactionCancel, TransactionCancelTypedDict
|
|
1017
|
-
from .
|
|
1020
|
+
from .transactioncapture_output import (
|
|
1021
|
+
TransactionCaptureOutput,
|
|
1022
|
+
TransactionCaptureOutputTypedDict,
|
|
1023
|
+
)
|
|
1018
1024
|
from .transactioncapturecreate import (
|
|
1019
1025
|
TransactionCaptureCreate,
|
|
1020
1026
|
TransactionCaptureCreateTypedDict,
|
|
@@ -1033,14 +1039,18 @@ if TYPE_CHECKING:
|
|
|
1033
1039
|
TransactionCreatePaymentMethodTypedDict,
|
|
1034
1040
|
TransactionCreateTypedDict,
|
|
1035
1041
|
)
|
|
1036
|
-
from .
|
|
1042
|
+
from .transactionevent_output import (
|
|
1043
|
+
Name,
|
|
1044
|
+
TransactionEventOutput,
|
|
1045
|
+
TransactionEventOutputTypedDict,
|
|
1046
|
+
)
|
|
1037
1047
|
from .transactionevents import TransactionEvents, TransactionEventsTypedDict
|
|
1038
1048
|
from .transactiongiftcard import TransactionGiftCard, TransactionGiftCardTypedDict
|
|
1039
1049
|
from .transactionintent import TransactionIntent
|
|
1040
1050
|
from .transactionintentoutcome import TransactionIntentOutcome
|
|
1041
|
-
from .
|
|
1042
|
-
|
|
1043
|
-
|
|
1051
|
+
from .transactionpaymentmethod_output import (
|
|
1052
|
+
TransactionPaymentMethodOutput,
|
|
1053
|
+
TransactionPaymentMethodOutputTypedDict,
|
|
1044
1054
|
)
|
|
1045
1055
|
from .transactionpaymentservice import (
|
|
1046
1056
|
TransactionPaymentService,
|
|
@@ -1068,15 +1078,21 @@ if TYPE_CHECKING:
|
|
|
1068
1078
|
TransactionSummaries,
|
|
1069
1079
|
TransactionSummariesTypedDict,
|
|
1070
1080
|
)
|
|
1071
|
-
from .
|
|
1072
|
-
|
|
1081
|
+
from .transactionsummary_output import (
|
|
1082
|
+
TransactionSummaryOutput,
|
|
1083
|
+
TransactionSummaryOutputTypedDict,
|
|
1084
|
+
)
|
|
1085
|
+
from .transactionthreedsecuresummary_output import (
|
|
1073
1086
|
ResponseData,
|
|
1074
1087
|
ResponseDataTypedDict,
|
|
1075
|
-
|
|
1076
|
-
|
|
1088
|
+
TransactionThreeDSecureSummaryOutput,
|
|
1089
|
+
TransactionThreeDSecureSummaryOutputTypedDict,
|
|
1077
1090
|
)
|
|
1078
1091
|
from .transactionupdate import TransactionUpdate, TransactionUpdateTypedDict
|
|
1079
|
-
from .
|
|
1092
|
+
from .transactionvoid_output import (
|
|
1093
|
+
TransactionVoidOutput,
|
|
1094
|
+
TransactionVoidOutputTypedDict,
|
|
1095
|
+
)
|
|
1080
1096
|
from .travelhubcustomdata import TravelHubCustomData, TravelHubCustomDataTypedDict
|
|
1081
1097
|
from .travelhuboptions import TravelhubOptions, TravelhubOptionsTypedDict
|
|
1082
1098
|
from .trustlyoptions import TrustlyOptions, TrustlyOptionsTypedDict
|
|
@@ -1234,10 +1250,10 @@ __all__ = [
|
|
|
1234
1250
|
"AuditLogAction",
|
|
1235
1251
|
"AuditLogEntries",
|
|
1236
1252
|
"AuditLogEntriesTypedDict",
|
|
1237
|
-
"
|
|
1253
|
+
"AuditLogEntryOutput",
|
|
1254
|
+
"AuditLogEntryOutputTypedDict",
|
|
1238
1255
|
"AuditLogEntryResource",
|
|
1239
1256
|
"AuditLogEntryResourceTypedDict",
|
|
1240
|
-
"AuditLogEntryTypedDict",
|
|
1241
1257
|
"AuditLogEntryUser",
|
|
1242
1258
|
"AuditLogEntryUserTypedDict",
|
|
1243
1259
|
"BillingDetailsInput",
|
|
@@ -1289,12 +1305,12 @@ __all__ = [
|
|
|
1289
1305
|
"CheckoutSession",
|
|
1290
1306
|
"CheckoutSessionCreate",
|
|
1291
1307
|
"CheckoutSessionCreateTypedDict",
|
|
1292
|
-
"CheckoutSessionPaymentMethod",
|
|
1293
1308
|
"CheckoutSessionPaymentMethodCreate",
|
|
1294
1309
|
"CheckoutSessionPaymentMethodCreateTypedDict",
|
|
1295
1310
|
"CheckoutSessionPaymentMethodDetails",
|
|
1296
1311
|
"CheckoutSessionPaymentMethodDetailsTypedDict",
|
|
1297
|
-
"
|
|
1312
|
+
"CheckoutSessionPaymentMethodOutput",
|
|
1313
|
+
"CheckoutSessionPaymentMethodOutputTypedDict",
|
|
1298
1314
|
"CheckoutSessionTypedDict",
|
|
1299
1315
|
"CheckoutSessionWithURLPaymentMethodCreate",
|
|
1300
1316
|
"CheckoutSessionWithURLPaymentMethodCreateTypedDict",
|
|
@@ -1788,19 +1804,19 @@ __all__ = [
|
|
|
1788
1804
|
"PaymentMethodStoredCardTypedDict",
|
|
1789
1805
|
"PaymentMethodSummaries",
|
|
1790
1806
|
"PaymentMethodSummariesTypedDict",
|
|
1791
|
-
"
|
|
1792
|
-
"
|
|
1807
|
+
"PaymentMethodSummaryOutput",
|
|
1808
|
+
"PaymentMethodSummaryOutputTypedDict",
|
|
1793
1809
|
"PaymentMethodTypedDict",
|
|
1794
1810
|
"PaymentMethods",
|
|
1795
1811
|
"PaymentMethodsTypedDict",
|
|
1796
|
-
"PaymentOption",
|
|
1797
1812
|
"PaymentOptionContext",
|
|
1798
1813
|
"PaymentOptionContextApprovalUI",
|
|
1799
1814
|
"PaymentOptionContextApprovalUITypedDict",
|
|
1800
1815
|
"PaymentOptionContextTypedDict",
|
|
1816
|
+
"PaymentOptionOutput",
|
|
1817
|
+
"PaymentOptionOutputTypedDict",
|
|
1801
1818
|
"PaymentOptionRequest",
|
|
1802
1819
|
"PaymentOptionRequestTypedDict",
|
|
1803
|
-
"PaymentOptionTypedDict",
|
|
1804
1820
|
"PaymentOptions",
|
|
1805
1821
|
"PaymentOptionsTypedDict",
|
|
1806
1822
|
"PaymentService",
|
|
@@ -1965,31 +1981,32 @@ __all__ = [
|
|
|
1965
1981
|
"TokenPaymentMethodCreate",
|
|
1966
1982
|
"TokenPaymentMethodCreateTypedDict",
|
|
1967
1983
|
"TokenTypedDict",
|
|
1968
|
-
"
|
|
1969
|
-
"
|
|
1970
|
-
"TransactionBuyerTypedDict",
|
|
1984
|
+
"TransactionBuyerOutput",
|
|
1985
|
+
"TransactionBuyerOutputTypedDict",
|
|
1971
1986
|
"TransactionCancel",
|
|
1972
1987
|
"TransactionCancelTypedDict",
|
|
1973
|
-
"TransactionCapture",
|
|
1974
1988
|
"TransactionCaptureCreate",
|
|
1975
1989
|
"TransactionCaptureCreateTypedDict",
|
|
1976
|
-
"
|
|
1990
|
+
"TransactionCaptureOutput",
|
|
1991
|
+
"TransactionCaptureOutputTypedDict",
|
|
1977
1992
|
"TransactionConnectionOptions",
|
|
1978
1993
|
"TransactionConnectionOptionsTypedDict",
|
|
1979
1994
|
"TransactionCreate",
|
|
1980
1995
|
"TransactionCreatePaymentMethod",
|
|
1981
1996
|
"TransactionCreatePaymentMethodTypedDict",
|
|
1982
1997
|
"TransactionCreateTypedDict",
|
|
1983
|
-
"
|
|
1984
|
-
"
|
|
1998
|
+
"TransactionEventOutput",
|
|
1999
|
+
"TransactionEventOutputTypedDict",
|
|
1985
2000
|
"TransactionEvents",
|
|
1986
2001
|
"TransactionEventsTypedDict",
|
|
1987
2002
|
"TransactionGiftCard",
|
|
1988
2003
|
"TransactionGiftCardTypedDict",
|
|
1989
2004
|
"TransactionIntent",
|
|
1990
2005
|
"TransactionIntentOutcome",
|
|
1991
|
-
"
|
|
1992
|
-
"
|
|
2006
|
+
"TransactionOutput",
|
|
2007
|
+
"TransactionOutputTypedDict",
|
|
2008
|
+
"TransactionPaymentMethodOutput",
|
|
2009
|
+
"TransactionPaymentMethodOutputTypedDict",
|
|
1993
2010
|
"TransactionPaymentService",
|
|
1994
2011
|
"TransactionPaymentServiceTypedDict",
|
|
1995
2012
|
"TransactionPaymentSource",
|
|
@@ -2002,15 +2019,14 @@ __all__ = [
|
|
|
2002
2019
|
"TransactionStatus",
|
|
2003
2020
|
"TransactionSummaries",
|
|
2004
2021
|
"TransactionSummariesTypedDict",
|
|
2005
|
-
"
|
|
2006
|
-
"
|
|
2007
|
-
"
|
|
2008
|
-
"
|
|
2009
|
-
"TransactionTypedDict",
|
|
2022
|
+
"TransactionSummaryOutput",
|
|
2023
|
+
"TransactionSummaryOutputTypedDict",
|
|
2024
|
+
"TransactionThreeDSecureSummaryOutput",
|
|
2025
|
+
"TransactionThreeDSecureSummaryOutputTypedDict",
|
|
2010
2026
|
"TransactionUpdate",
|
|
2011
2027
|
"TransactionUpdateTypedDict",
|
|
2012
|
-
"
|
|
2013
|
-
"
|
|
2028
|
+
"TransactionVoidOutput",
|
|
2029
|
+
"TransactionVoidOutputTypedDict",
|
|
2014
2030
|
"TransactionsReportSpec",
|
|
2015
2031
|
"TransactionsReportSpecTypedDict",
|
|
2016
2032
|
"TravelHubCustomData",
|
|
@@ -2144,8 +2160,8 @@ _dynamic_imports: dict[str, str] = {
|
|
|
2144
2160
|
"AuditLogAction": ".auditlogaction",
|
|
2145
2161
|
"AuditLogEntries": ".auditlogentries",
|
|
2146
2162
|
"AuditLogEntriesTypedDict": ".auditlogentries",
|
|
2147
|
-
"
|
|
2148
|
-
"
|
|
2163
|
+
"AuditLogEntryOutput": ".auditlogentry_output",
|
|
2164
|
+
"AuditLogEntryOutputTypedDict": ".auditlogentry_output",
|
|
2149
2165
|
"AuditLogEntryResource": ".auditlogentryresource",
|
|
2150
2166
|
"AuditLogEntryResourceTypedDict": ".auditlogentryresource",
|
|
2151
2167
|
"AuditLogEntryUser": ".auditlogentryuser",
|
|
@@ -2201,8 +2217,8 @@ _dynamic_imports: dict[str, str] = {
|
|
|
2201
2217
|
"CheckoutSessionTypedDict": ".checkoutsession",
|
|
2202
2218
|
"CheckoutSessionCreate": ".checkoutsessioncreate",
|
|
2203
2219
|
"CheckoutSessionCreateTypedDict": ".checkoutsessioncreate",
|
|
2204
|
-
"
|
|
2205
|
-
"
|
|
2220
|
+
"CheckoutSessionPaymentMethodOutput": ".checkoutsessionpaymentmethod_output",
|
|
2221
|
+
"CheckoutSessionPaymentMethodOutputTypedDict": ".checkoutsessionpaymentmethod_output",
|
|
2206
2222
|
"CheckoutSessionPaymentMethodCreate": ".checkoutsessionpaymentmethodcreate",
|
|
2207
2223
|
"CheckoutSessionPaymentMethodCreateTypedDict": ".checkoutsessionpaymentmethodcreate",
|
|
2208
2224
|
"CheckoutSessionPaymentMethodDetails": ".checkoutsessionpaymentmethoddetails",
|
|
@@ -2702,12 +2718,12 @@ _dynamic_imports: dict[str, str] = {
|
|
|
2702
2718
|
"PaymentMethodStoredCardTypedDict": ".paymentmethodstoredcard",
|
|
2703
2719
|
"PaymentMethodSummaries": ".paymentmethodsummaries",
|
|
2704
2720
|
"PaymentMethodSummariesTypedDict": ".paymentmethodsummaries",
|
|
2705
|
-
"
|
|
2706
|
-
"
|
|
2707
|
-
"Context": ".
|
|
2708
|
-
"ContextTypedDict": ".
|
|
2709
|
-
"
|
|
2710
|
-
"
|
|
2721
|
+
"PaymentMethodSummaryOutput": ".paymentmethodsummary_output",
|
|
2722
|
+
"PaymentMethodSummaryOutputTypedDict": ".paymentmethodsummary_output",
|
|
2723
|
+
"Context": ".paymentoption_output",
|
|
2724
|
+
"ContextTypedDict": ".paymentoption_output",
|
|
2725
|
+
"PaymentOptionOutput": ".paymentoption_output",
|
|
2726
|
+
"PaymentOptionOutputTypedDict": ".paymentoption_output",
|
|
2711
2727
|
"PaymentOptionContext": ".paymentoptioncontext",
|
|
2712
2728
|
"PaymentOptionContextTypedDict": ".paymentoptioncontext",
|
|
2713
2729
|
"RequiredFields1": ".paymentoptioncontext",
|
|
@@ -2865,14 +2881,14 @@ _dynamic_imports: dict[str, str] = {
|
|
|
2865
2881
|
"ThreeDSecureV2TypedDict": ".threedsecurev2",
|
|
2866
2882
|
"TokenPaymentMethodCreate": ".tokenpaymentmethodcreate",
|
|
2867
2883
|
"TokenPaymentMethodCreateTypedDict": ".tokenpaymentmethodcreate",
|
|
2868
|
-
"
|
|
2869
|
-
"
|
|
2870
|
-
"
|
|
2871
|
-
"
|
|
2884
|
+
"TransactionOutput": ".transaction_output",
|
|
2885
|
+
"TransactionOutputTypedDict": ".transaction_output",
|
|
2886
|
+
"TransactionBuyerOutput": ".transactionbuyer_output",
|
|
2887
|
+
"TransactionBuyerOutputTypedDict": ".transactionbuyer_output",
|
|
2872
2888
|
"TransactionCancel": ".transactioncancel",
|
|
2873
2889
|
"TransactionCancelTypedDict": ".transactioncancel",
|
|
2874
|
-
"
|
|
2875
|
-
"
|
|
2890
|
+
"TransactionCaptureOutput": ".transactioncapture_output",
|
|
2891
|
+
"TransactionCaptureOutputTypedDict": ".transactioncapture_output",
|
|
2876
2892
|
"TransactionCaptureCreate": ".transactioncapturecreate",
|
|
2877
2893
|
"TransactionCaptureCreateTypedDict": ".transactioncapturecreate",
|
|
2878
2894
|
"TransactionConnectionOptions": ".transactionconnectionoptions",
|
|
@@ -2885,17 +2901,17 @@ _dynamic_imports: dict[str, str] = {
|
|
|
2885
2901
|
"TransactionCreatePaymentMethod": ".transactioncreate",
|
|
2886
2902
|
"TransactionCreatePaymentMethodTypedDict": ".transactioncreate",
|
|
2887
2903
|
"TransactionCreateTypedDict": ".transactioncreate",
|
|
2888
|
-
"Name": ".
|
|
2889
|
-
"
|
|
2890
|
-
"
|
|
2904
|
+
"Name": ".transactionevent_output",
|
|
2905
|
+
"TransactionEventOutput": ".transactionevent_output",
|
|
2906
|
+
"TransactionEventOutputTypedDict": ".transactionevent_output",
|
|
2891
2907
|
"TransactionEvents": ".transactionevents",
|
|
2892
2908
|
"TransactionEventsTypedDict": ".transactionevents",
|
|
2893
2909
|
"TransactionGiftCard": ".transactiongiftcard",
|
|
2894
2910
|
"TransactionGiftCardTypedDict": ".transactiongiftcard",
|
|
2895
2911
|
"TransactionIntent": ".transactionintent",
|
|
2896
2912
|
"TransactionIntentOutcome": ".transactionintentoutcome",
|
|
2897
|
-
"
|
|
2898
|
-
"
|
|
2913
|
+
"TransactionPaymentMethodOutput": ".transactionpaymentmethod_output",
|
|
2914
|
+
"TransactionPaymentMethodOutputTypedDict": ".transactionpaymentmethod_output",
|
|
2899
2915
|
"TransactionPaymentService": ".transactionpaymentservice",
|
|
2900
2916
|
"TransactionPaymentServiceTypedDict": ".transactionpaymentservice",
|
|
2901
2917
|
"TransactionPaymentSource": ".transactionpaymentsource",
|
|
@@ -2910,16 +2926,16 @@ _dynamic_imports: dict[str, str] = {
|
|
|
2910
2926
|
"TransactionStatus": ".transactionstatus",
|
|
2911
2927
|
"TransactionSummaries": ".transactionsummaries",
|
|
2912
2928
|
"TransactionSummariesTypedDict": ".transactionsummaries",
|
|
2913
|
-
"
|
|
2914
|
-
"
|
|
2915
|
-
"ResponseData": ".
|
|
2916
|
-
"ResponseDataTypedDict": ".
|
|
2917
|
-
"
|
|
2918
|
-
"
|
|
2929
|
+
"TransactionSummaryOutput": ".transactionsummary_output",
|
|
2930
|
+
"TransactionSummaryOutputTypedDict": ".transactionsummary_output",
|
|
2931
|
+
"ResponseData": ".transactionthreedsecuresummary_output",
|
|
2932
|
+
"ResponseDataTypedDict": ".transactionthreedsecuresummary_output",
|
|
2933
|
+
"TransactionThreeDSecureSummaryOutput": ".transactionthreedsecuresummary_output",
|
|
2934
|
+
"TransactionThreeDSecureSummaryOutputTypedDict": ".transactionthreedsecuresummary_output",
|
|
2919
2935
|
"TransactionUpdate": ".transactionupdate",
|
|
2920
2936
|
"TransactionUpdateTypedDict": ".transactionupdate",
|
|
2921
|
-
"
|
|
2922
|
-
"
|
|
2937
|
+
"TransactionVoidOutput": ".transactionvoid_output",
|
|
2938
|
+
"TransactionVoidOutputTypedDict": ".transactionvoid_output",
|
|
2923
2939
|
"TravelHubCustomData": ".travelhubcustomdata",
|
|
2924
2940
|
"TravelHubCustomDataTypedDict": ".travelhubcustomdata",
|
|
2925
2941
|
"TravelhubOptions": ".travelhuboptions",
|
gr4vy/models/auditlogentries.py
CHANGED
|
@@ -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 .
|
|
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[
|
|
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[
|
|
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
|
|
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
|
|
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 .
|
|
5
|
-
from .
|
|
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[
|
|
107
|
+
Union[TransactionCaptureOutputTypedDict, TransactionOutputTypedDict],
|
|
105
108
|
)
|
|
106
109
|
r"""Successful Response"""
|
|
107
110
|
|
|
108
111
|
|
|
109
112
|
ResponseCaptureTransaction = TypeAliasType(
|
|
110
|
-
"ResponseCaptureTransaction", Union[
|
|
113
|
+
"ResponseCaptureTransaction", Union[TransactionCaptureOutput, TransactionOutput]
|
|
111
114
|
)
|
|
112
115
|
r"""Successful Response"""
|
gr4vy/models/checkoutsession.py
CHANGED
|
@@ -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 .
|
|
7
|
-
|
|
8
|
-
|
|
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[
|
|
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[
|
|
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
|
|
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
|
|
35
|
+
class CheckoutSessionPaymentMethodOutput(BaseModel):
|
|
36
36
|
TYPE: Annotated[
|
|
37
37
|
Annotated[
|
|
38
38
|
Optional[Literal["payment-method"]],
|
gr4vy/models/paymentlink.py
CHANGED
|
@@ -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 .
|
|
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[
|
|
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[
|
|
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 .
|
|
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[
|
|
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[
|
|
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
|
|
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
|
|
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
|
|
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
|
|
52
|
+
class PaymentOptionOutput(BaseModel):
|
|
53
53
|
method: str
|
|
54
54
|
|
|
55
55
|
mode: Annotated[Mode, PlainValidator(validate_open_enum(False))]
|
gr4vy/models/paymentoptions.py
CHANGED
|
@@ -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 .
|
|
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[
|
|
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[
|
|
16
|
+
items: List[PaymentOptionOutput]
|
|
17
17
|
r"""A list of items returned for this request."""
|
gr4vy/models/payoutsummary.py
CHANGED
|
@@ -5,10 +5,13 @@ from .payoutcategory import PayoutCategory
|
|
|
5
5
|
from .payoutmerchantsummary import PayoutMerchantSummary, PayoutMerchantSummaryTypedDict
|
|
6
6
|
from .payoutpaymentservice import PayoutPaymentService, PayoutPaymentServiceTypedDict
|
|
7
7
|
from .payoutstatus import PayoutStatus
|
|
8
|
-
from .
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
from .transactionbuyer_output import (
|
|
9
|
+
TransactionBuyerOutput,
|
|
10
|
+
TransactionBuyerOutputTypedDict,
|
|
11
|
+
)
|
|
12
|
+
from .transactionpaymentmethod_output import (
|
|
13
|
+
TransactionPaymentMethodOutput,
|
|
14
|
+
TransactionPaymentMethodOutputTypedDict,
|
|
12
15
|
)
|
|
13
16
|
from datetime import datetime
|
|
14
17
|
from gr4vy.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL
|
|
@@ -32,7 +35,7 @@ class PayoutSummaryTypedDict(TypedDict):
|
|
|
32
35
|
r"""The date this payout was created at."""
|
|
33
36
|
currency: str
|
|
34
37
|
r"""A supported ISO-4217 currency code."""
|
|
35
|
-
payment_method:
|
|
38
|
+
payment_method: TransactionPaymentMethodOutputTypedDict
|
|
36
39
|
payment_service: PayoutPaymentServiceTypedDict
|
|
37
40
|
status: PayoutStatus
|
|
38
41
|
updated_at: datetime
|
|
@@ -41,7 +44,7 @@ class PayoutSummaryTypedDict(TypedDict):
|
|
|
41
44
|
r"""Always `payout`."""
|
|
42
45
|
id: NotRequired[Nullable[str]]
|
|
43
46
|
r"""The ID for the payout."""
|
|
44
|
-
buyer: NotRequired[Nullable[
|
|
47
|
+
buyer: NotRequired[Nullable[TransactionBuyerOutputTypedDict]]
|
|
45
48
|
r"""The buyer used for this payout."""
|
|
46
49
|
category: NotRequired[Nullable[PayoutCategory]]
|
|
47
50
|
r"""The type of payout to process."""
|
|
@@ -70,7 +73,7 @@ class PayoutSummary(BaseModel):
|
|
|
70
73
|
currency: str
|
|
71
74
|
r"""A supported ISO-4217 currency code."""
|
|
72
75
|
|
|
73
|
-
payment_method:
|
|
76
|
+
payment_method: TransactionPaymentMethodOutput
|
|
74
77
|
|
|
75
78
|
payment_service: PayoutPaymentService
|
|
76
79
|
|
|
@@ -90,7 +93,7 @@ class PayoutSummary(BaseModel):
|
|
|
90
93
|
id: OptionalNullable[str] = UNSET
|
|
91
94
|
r"""The ID for the payout."""
|
|
92
95
|
|
|
93
|
-
buyer: OptionalNullable[
|
|
96
|
+
buyer: OptionalNullable[TransactionBuyerOutput] = UNSET
|
|
94
97
|
r"""The buyer used for this payout."""
|
|
95
98
|
|
|
96
99
|
category: Annotated[
|