gr4vy 1.7.17__py3-none-any.whl → 1.8.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 +3 -3
- gr4vy/buyers_sdk.py +8 -8
- gr4vy/checkout_sessions.py +4 -4
- gr4vy/models/__init__.py +92 -113
- gr4vy/models/auditlogentries.py +3 -3
- gr4vy/models/{auditlogentry_output.py → auditlogentry.py} +2 -2
- gr4vy/models/{billingdetails_input.py → billingdetails.py} +2 -2
- gr4vy/models/buyer.py +3 -3
- gr4vy/models/buyercreate.py +3 -3
- gr4vy/models/buyerupdate.py +3 -3
- gr4vy/models/capture_transactionop.py +16 -19
- gr4vy/models/checkoutsession.py +8 -8
- gr4vy/models/checkoutsessioncreate.py +3 -3
- gr4vy/models/{checkoutsessionpaymentmethod_output.py → checkoutsessionpaymentmethod.py} +2 -2
- gr4vy/models/{guestbuyer_input.py → guestbuyer.py} +5 -5
- gr4vy/models/paymentlink.py +3 -6
- gr4vy/models/paymentlinkcreate.py +3 -3
- gr4vy/models/paymentmethodsummaries.py +3 -6
- gr4vy/models/{paymentmethodsummary_output.py → paymentmethodsummary.py} +2 -2
- gr4vy/models/{paymentoption_output.py → paymentoption.py} +2 -2
- gr4vy/models/paymentoptions.py +3 -3
- gr4vy/models/payoutcreate.py +3 -3
- gr4vy/models/payoutsummary.py +8 -11
- gr4vy/models/{transaction_output.py → transaction.py} +15 -18
- gr4vy/models/{transactionbuyer_output.py → transactionbuyer.py} +5 -5
- gr4vy/models/transactioncancel.py +3 -3
- gr4vy/models/{transactioncapture_output.py → transactioncapture.py} +5 -5
- gr4vy/models/transactioncreate.py +3 -3
- gr4vy/models/{transactionevent_output.py → transactionevent.py} +9 -5
- gr4vy/models/transactioneventcontext.py +32 -0
- gr4vy/models/transactionevents.py +3 -6
- gr4vy/models/{transactionpaymentmethod_output.py → transactionpaymentmethod.py} +2 -2
- gr4vy/models/transactionsummaries.py +3 -6
- gr4vy/models/{transactionsummary_output.py → transactionsummary.py} +10 -13
- gr4vy/models/{transactionthreedsecuresummary_output.py → transactionthreedsecuresummary.py} +2 -2
- gr4vy/models/{transactionvoid_output.py → transactionvoid.py} +5 -5
- gr4vy/models/void_transactionop.py +16 -19
- gr4vy/payment_links_sdk.py +4 -4
- gr4vy/payouts.py +4 -4
- gr4vy/transactions.py +20 -20
- {gr4vy-1.7.17.dist-info → gr4vy-1.8.0.dist-info}/METADATA +1 -1
- {gr4vy-1.7.17.dist-info → gr4vy-1.8.0.dist-info}/RECORD +43 -44
- gr4vy/models/billingdetails_output.py +0 -87
- gr4vy/models/guestbuyer_output.py +0 -80
- {gr4vy-1.7.17.dist-info → gr4vy-1.8.0.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
|
+
__version__: str = "1.8.0"
|
|
7
7
|
__openapi_doc_version__: str = "1.0.0"
|
|
8
|
-
__gen_version__: str = "2.763.
|
|
9
|
-
__user_agent__: str = "speakeasy-sdk/python 1.
|
|
8
|
+
__gen_version__: str = "2.763.3"
|
|
9
|
+
__user_agent__: str = "speakeasy-sdk/python 1.8.0 2.763.3 1.0.0 gr4vy"
|
|
10
10
|
|
|
11
11
|
try:
|
|
12
12
|
if __package__ is not None:
|
gr4vy/buyers_sdk.py
CHANGED
|
@@ -400,7 +400,7 @@ class BuyersSDK(BaseSDK):
|
|
|
400
400
|
display_name: OptionalNullable[str] = UNSET,
|
|
401
401
|
external_identifier: OptionalNullable[str] = UNSET,
|
|
402
402
|
billing_details: OptionalNullable[
|
|
403
|
-
Union[models.
|
|
403
|
+
Union[models.BillingDetails, models.BillingDetailsTypedDict]
|
|
404
404
|
] = UNSET,
|
|
405
405
|
account_number: OptionalNullable[str] = UNSET,
|
|
406
406
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
@@ -438,7 +438,7 @@ class BuyersSDK(BaseSDK):
|
|
|
438
438
|
display_name=display_name,
|
|
439
439
|
external_identifier=external_identifier,
|
|
440
440
|
billing_details=utils.get_pydantic_model(
|
|
441
|
-
billing_details, OptionalNullable[models.
|
|
441
|
+
billing_details, OptionalNullable[models.BillingDetails]
|
|
442
442
|
),
|
|
443
443
|
account_number=account_number,
|
|
444
444
|
),
|
|
@@ -561,7 +561,7 @@ class BuyersSDK(BaseSDK):
|
|
|
561
561
|
display_name: OptionalNullable[str] = UNSET,
|
|
562
562
|
external_identifier: OptionalNullable[str] = UNSET,
|
|
563
563
|
billing_details: OptionalNullable[
|
|
564
|
-
Union[models.
|
|
564
|
+
Union[models.BillingDetails, models.BillingDetailsTypedDict]
|
|
565
565
|
] = UNSET,
|
|
566
566
|
account_number: OptionalNullable[str] = UNSET,
|
|
567
567
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
@@ -599,7 +599,7 @@ class BuyersSDK(BaseSDK):
|
|
|
599
599
|
display_name=display_name,
|
|
600
600
|
external_identifier=external_identifier,
|
|
601
601
|
billing_details=utils.get_pydantic_model(
|
|
602
|
-
billing_details, OptionalNullable[models.
|
|
602
|
+
billing_details, OptionalNullable[models.BillingDetails]
|
|
603
603
|
),
|
|
604
604
|
account_number=account_number,
|
|
605
605
|
),
|
|
@@ -1018,7 +1018,7 @@ class BuyersSDK(BaseSDK):
|
|
|
1018
1018
|
external_identifier: OptionalNullable[str] = UNSET,
|
|
1019
1019
|
account_number: OptionalNullable[str] = UNSET,
|
|
1020
1020
|
billing_details: OptionalNullable[
|
|
1021
|
-
Union[models.
|
|
1021
|
+
Union[models.BillingDetails, models.BillingDetailsTypedDict]
|
|
1022
1022
|
] = UNSET,
|
|
1023
1023
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
1024
1024
|
server_url: Optional[str] = None,
|
|
@@ -1058,7 +1058,7 @@ class BuyersSDK(BaseSDK):
|
|
|
1058
1058
|
external_identifier=external_identifier,
|
|
1059
1059
|
account_number=account_number,
|
|
1060
1060
|
billing_details=utils.get_pydantic_model(
|
|
1061
|
-
billing_details, OptionalNullable[models.
|
|
1061
|
+
billing_details, OptionalNullable[models.BillingDetails]
|
|
1062
1062
|
),
|
|
1063
1063
|
),
|
|
1064
1064
|
)
|
|
@@ -1182,7 +1182,7 @@ class BuyersSDK(BaseSDK):
|
|
|
1182
1182
|
external_identifier: OptionalNullable[str] = UNSET,
|
|
1183
1183
|
account_number: OptionalNullable[str] = UNSET,
|
|
1184
1184
|
billing_details: OptionalNullable[
|
|
1185
|
-
Union[models.
|
|
1185
|
+
Union[models.BillingDetails, models.BillingDetailsTypedDict]
|
|
1186
1186
|
] = UNSET,
|
|
1187
1187
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
1188
1188
|
server_url: Optional[str] = None,
|
|
@@ -1222,7 +1222,7 @@ class BuyersSDK(BaseSDK):
|
|
|
1222
1222
|
external_identifier=external_identifier,
|
|
1223
1223
|
account_number=account_number,
|
|
1224
1224
|
billing_details=utils.get_pydantic_model(
|
|
1225
|
-
billing_details, OptionalNullable[models.
|
|
1225
|
+
billing_details, OptionalNullable[models.BillingDetails]
|
|
1226
1226
|
),
|
|
1227
1227
|
),
|
|
1228
1228
|
)
|
gr4vy/checkout_sessions.py
CHANGED
|
@@ -328,7 +328,7 @@ class CheckoutSessions(BaseSDK):
|
|
|
328
328
|
] = UNSET,
|
|
329
329
|
metadata: OptionalNullable[Dict[str, str]] = UNSET,
|
|
330
330
|
buyer: OptionalNullable[
|
|
331
|
-
Union[models.
|
|
331
|
+
Union[models.GuestBuyer, models.GuestBuyerTypedDict]
|
|
332
332
|
] = UNSET,
|
|
333
333
|
airline: OptionalNullable[
|
|
334
334
|
Union[models.Airline, models.AirlineTypedDict]
|
|
@@ -380,7 +380,7 @@ class CheckoutSessions(BaseSDK):
|
|
|
380
380
|
),
|
|
381
381
|
metadata=metadata,
|
|
382
382
|
buyer=utils.get_pydantic_model(
|
|
383
|
-
buyer, OptionalNullable[models.
|
|
383
|
+
buyer, OptionalNullable[models.GuestBuyer]
|
|
384
384
|
),
|
|
385
385
|
airline=utils.get_pydantic_model(
|
|
386
386
|
airline, OptionalNullable[models.Airline]
|
|
@@ -516,7 +516,7 @@ class CheckoutSessions(BaseSDK):
|
|
|
516
516
|
] = UNSET,
|
|
517
517
|
metadata: OptionalNullable[Dict[str, str]] = UNSET,
|
|
518
518
|
buyer: OptionalNullable[
|
|
519
|
-
Union[models.
|
|
519
|
+
Union[models.GuestBuyer, models.GuestBuyerTypedDict]
|
|
520
520
|
] = UNSET,
|
|
521
521
|
airline: OptionalNullable[
|
|
522
522
|
Union[models.Airline, models.AirlineTypedDict]
|
|
@@ -568,7 +568,7 @@ class CheckoutSessions(BaseSDK):
|
|
|
568
568
|
),
|
|
569
569
|
metadata=metadata,
|
|
570
570
|
buyer=utils.get_pydantic_model(
|
|
571
|
-
buyer, OptionalNullable[models.
|
|
571
|
+
buyer, OptionalNullable[models.GuestBuyer]
|
|
572
572
|
),
|
|
573
573
|
airline=utils.get_pydantic_model(
|
|
574
574
|
airline, OptionalNullable[models.Airline]
|
gr4vy/models/__init__.py
CHANGED
|
@@ -74,18 +74,14 @@ 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 import AuditLogEntry, AuditLogEntryTypedDict
|
|
78
78
|
from .auditlogentryresource import (
|
|
79
79
|
AuditLogEntryResource,
|
|
80
80
|
AuditLogEntryResourceTypedDict,
|
|
81
81
|
)
|
|
82
82
|
from .auditlogentryuser import AuditLogEntryUser, AuditLogEntryUserTypedDict
|
|
83
83
|
from .avsresponsecode import AVSResponseCode
|
|
84
|
-
from .
|
|
85
|
-
from .billingdetails_output import (
|
|
86
|
-
BillingDetailsOutput,
|
|
87
|
-
BillingDetailsOutputTypedDict,
|
|
88
|
-
)
|
|
84
|
+
from .billingdetails import BillingDetails, BillingDetailsTypedDict
|
|
89
85
|
from .braintreedynamicdatafieldsoptions import (
|
|
90
86
|
BraintreeDynamicDataFieldsOptions,
|
|
91
87
|
BraintreeDynamicDataFieldsOptionsTypedDict,
|
|
@@ -141,9 +137,9 @@ if TYPE_CHECKING:
|
|
|
141
137
|
CheckoutSessionCreate,
|
|
142
138
|
CheckoutSessionCreateTypedDict,
|
|
143
139
|
)
|
|
144
|
-
from .
|
|
145
|
-
|
|
146
|
-
|
|
140
|
+
from .checkoutsessionpaymentmethod import (
|
|
141
|
+
CheckoutSessionPaymentMethod,
|
|
142
|
+
CheckoutSessionPaymentMethodTypedDict,
|
|
147
143
|
)
|
|
148
144
|
from .checkoutsessionpaymentmethodcreate import (
|
|
149
145
|
CheckoutSessionPaymentMethodCreate,
|
|
@@ -579,8 +575,7 @@ if TYPE_CHECKING:
|
|
|
579
575
|
GooglePaySessionRequest,
|
|
580
576
|
GooglePaySessionRequestTypedDict,
|
|
581
577
|
)
|
|
582
|
-
from .
|
|
583
|
-
from .guestbuyer_output import GuestBuyerOutput, GuestBuyerOutputTypedDict
|
|
578
|
+
from .guestbuyer import GuestBuyer, GuestBuyerTypedDict
|
|
584
579
|
from .instrumenttype import InstrumentType
|
|
585
580
|
from .integrationclient import IntegrationClient
|
|
586
581
|
from .latitudeoptions import LatitudeOptions, LatitudeOptionsTypedDict
|
|
@@ -821,15 +816,15 @@ if TYPE_CHECKING:
|
|
|
821
816
|
PaymentMethodSummaries,
|
|
822
817
|
PaymentMethodSummariesTypedDict,
|
|
823
818
|
)
|
|
824
|
-
from .
|
|
825
|
-
|
|
826
|
-
|
|
819
|
+
from .paymentmethodsummary import (
|
|
820
|
+
PaymentMethodSummary,
|
|
821
|
+
PaymentMethodSummaryTypedDict,
|
|
827
822
|
)
|
|
828
|
-
from .
|
|
823
|
+
from .paymentoption import (
|
|
829
824
|
Context,
|
|
830
825
|
ContextTypedDict,
|
|
831
|
-
|
|
832
|
-
|
|
826
|
+
PaymentOption,
|
|
827
|
+
PaymentOptionTypedDict,
|
|
833
828
|
)
|
|
834
829
|
from .paymentoptioncontext import (
|
|
835
830
|
PaymentOptionContext,
|
|
@@ -1017,16 +1012,10 @@ if TYPE_CHECKING:
|
|
|
1017
1012
|
TokenPaymentMethodCreate,
|
|
1018
1013
|
TokenPaymentMethodCreateTypedDict,
|
|
1019
1014
|
)
|
|
1020
|
-
from .
|
|
1021
|
-
from .
|
|
1022
|
-
TransactionBuyerOutput,
|
|
1023
|
-
TransactionBuyerOutputTypedDict,
|
|
1024
|
-
)
|
|
1015
|
+
from .transaction import Transaction, TransactionTypedDict
|
|
1016
|
+
from .transactionbuyer import TransactionBuyer, TransactionBuyerTypedDict
|
|
1025
1017
|
from .transactioncancel import TransactionCancel, TransactionCancelTypedDict
|
|
1026
|
-
from .
|
|
1027
|
-
TransactionCaptureOutput,
|
|
1028
|
-
TransactionCaptureOutputTypedDict,
|
|
1029
|
-
)
|
|
1018
|
+
from .transactioncapture import TransactionCapture, TransactionCaptureTypedDict
|
|
1030
1019
|
from .transactioncapturecreate import (
|
|
1031
1020
|
TransactionCaptureCreate,
|
|
1032
1021
|
TransactionCaptureCreateTypedDict,
|
|
@@ -1045,18 +1034,18 @@ if TYPE_CHECKING:
|
|
|
1045
1034
|
TransactionCreatePaymentMethodTypedDict,
|
|
1046
1035
|
TransactionCreateTypedDict,
|
|
1047
1036
|
)
|
|
1048
|
-
from .
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1037
|
+
from .transactionevent import Name, TransactionEvent, TransactionEventTypedDict
|
|
1038
|
+
from .transactioneventcontext import (
|
|
1039
|
+
TransactionEventContext,
|
|
1040
|
+
TransactionEventContextTypedDict,
|
|
1052
1041
|
)
|
|
1053
1042
|
from .transactionevents import TransactionEvents, TransactionEventsTypedDict
|
|
1054
1043
|
from .transactiongiftcard import TransactionGiftCard, TransactionGiftCardTypedDict
|
|
1055
1044
|
from .transactionintent import TransactionIntent
|
|
1056
1045
|
from .transactionintentoutcome import TransactionIntentOutcome
|
|
1057
|
-
from .
|
|
1058
|
-
|
|
1059
|
-
|
|
1046
|
+
from .transactionpaymentmethod import (
|
|
1047
|
+
TransactionPaymentMethod,
|
|
1048
|
+
TransactionPaymentMethodTypedDict,
|
|
1060
1049
|
)
|
|
1061
1050
|
from .transactionpaymentservice import (
|
|
1062
1051
|
TransactionPaymentService,
|
|
@@ -1084,21 +1073,15 @@ if TYPE_CHECKING:
|
|
|
1084
1073
|
TransactionSummaries,
|
|
1085
1074
|
TransactionSummariesTypedDict,
|
|
1086
1075
|
)
|
|
1087
|
-
from .
|
|
1088
|
-
|
|
1089
|
-
TransactionSummaryOutputTypedDict,
|
|
1090
|
-
)
|
|
1091
|
-
from .transactionthreedsecuresummary_output import (
|
|
1076
|
+
from .transactionsummary import TransactionSummary, TransactionSummaryTypedDict
|
|
1077
|
+
from .transactionthreedsecuresummary import (
|
|
1092
1078
|
ResponseData,
|
|
1093
1079
|
ResponseDataTypedDict,
|
|
1094
|
-
|
|
1095
|
-
|
|
1080
|
+
TransactionThreeDSecureSummary,
|
|
1081
|
+
TransactionThreeDSecureSummaryTypedDict,
|
|
1096
1082
|
)
|
|
1097
1083
|
from .transactionupdate import TransactionUpdate, TransactionUpdateTypedDict
|
|
1098
|
-
from .
|
|
1099
|
-
TransactionVoidOutput,
|
|
1100
|
-
TransactionVoidOutputTypedDict,
|
|
1101
|
-
)
|
|
1084
|
+
from .transactionvoid import TransactionVoid, TransactionVoidTypedDict
|
|
1102
1085
|
from .travelhubcustomdata import TravelHubCustomData, TravelHubCustomDataTypedDict
|
|
1103
1086
|
from .travelhuboptions import TravelhubOptions, TravelhubOptionsTypedDict
|
|
1104
1087
|
from .trustlyoptions import TrustlyOptions, TrustlyOptionsTypedDict
|
|
@@ -1256,16 +1239,14 @@ __all__ = [
|
|
|
1256
1239
|
"AuditLogAction",
|
|
1257
1240
|
"AuditLogEntries",
|
|
1258
1241
|
"AuditLogEntriesTypedDict",
|
|
1259
|
-
"
|
|
1260
|
-
"AuditLogEntryOutputTypedDict",
|
|
1242
|
+
"AuditLogEntry",
|
|
1261
1243
|
"AuditLogEntryResource",
|
|
1262
1244
|
"AuditLogEntryResourceTypedDict",
|
|
1245
|
+
"AuditLogEntryTypedDict",
|
|
1263
1246
|
"AuditLogEntryUser",
|
|
1264
1247
|
"AuditLogEntryUserTypedDict",
|
|
1265
|
-
"
|
|
1266
|
-
"
|
|
1267
|
-
"BillingDetailsOutput",
|
|
1268
|
-
"BillingDetailsOutputTypedDict",
|
|
1248
|
+
"BillingDetails",
|
|
1249
|
+
"BillingDetailsTypedDict",
|
|
1269
1250
|
"Body",
|
|
1270
1251
|
"BodyTypedDict",
|
|
1271
1252
|
"BraintreeDynamicDataFieldsOptions",
|
|
@@ -1311,12 +1292,12 @@ __all__ = [
|
|
|
1311
1292
|
"CheckoutSession",
|
|
1312
1293
|
"CheckoutSessionCreate",
|
|
1313
1294
|
"CheckoutSessionCreateTypedDict",
|
|
1295
|
+
"CheckoutSessionPaymentMethod",
|
|
1314
1296
|
"CheckoutSessionPaymentMethodCreate",
|
|
1315
1297
|
"CheckoutSessionPaymentMethodCreateTypedDict",
|
|
1316
1298
|
"CheckoutSessionPaymentMethodDetails",
|
|
1317
1299
|
"CheckoutSessionPaymentMethodDetailsTypedDict",
|
|
1318
|
-
"
|
|
1319
|
-
"CheckoutSessionPaymentMethodOutputTypedDict",
|
|
1300
|
+
"CheckoutSessionPaymentMethodTypedDict",
|
|
1320
1301
|
"CheckoutSessionTypedDict",
|
|
1321
1302
|
"CheckoutSessionWithURLPaymentMethodCreate",
|
|
1322
1303
|
"CheckoutSessionWithURLPaymentMethodCreateTypedDict",
|
|
@@ -1620,10 +1601,8 @@ __all__ = [
|
|
|
1620
1601
|
"GooglePaySessionRequest",
|
|
1621
1602
|
"GooglePaySessionRequestTypedDict",
|
|
1622
1603
|
"GooglePaySessionTypedDict",
|
|
1623
|
-
"
|
|
1624
|
-
"
|
|
1625
|
-
"GuestBuyerOutput",
|
|
1626
|
-
"GuestBuyerOutputTypedDict",
|
|
1604
|
+
"GuestBuyer",
|
|
1605
|
+
"GuestBuyerTypedDict",
|
|
1627
1606
|
"InstrumentType",
|
|
1628
1607
|
"IntegrationClient",
|
|
1629
1608
|
"Item",
|
|
@@ -1814,19 +1793,19 @@ __all__ = [
|
|
|
1814
1793
|
"PaymentMethodStoredCardTypedDict",
|
|
1815
1794
|
"PaymentMethodSummaries",
|
|
1816
1795
|
"PaymentMethodSummariesTypedDict",
|
|
1817
|
-
"
|
|
1818
|
-
"
|
|
1796
|
+
"PaymentMethodSummary",
|
|
1797
|
+
"PaymentMethodSummaryTypedDict",
|
|
1819
1798
|
"PaymentMethodTypedDict",
|
|
1820
1799
|
"PaymentMethods",
|
|
1821
1800
|
"PaymentMethodsTypedDict",
|
|
1801
|
+
"PaymentOption",
|
|
1822
1802
|
"PaymentOptionContext",
|
|
1823
1803
|
"PaymentOptionContextApprovalUI",
|
|
1824
1804
|
"PaymentOptionContextApprovalUITypedDict",
|
|
1825
1805
|
"PaymentOptionContextTypedDict",
|
|
1826
|
-
"PaymentOptionOutput",
|
|
1827
|
-
"PaymentOptionOutputTypedDict",
|
|
1828
1806
|
"PaymentOptionRequest",
|
|
1829
1807
|
"PaymentOptionRequestTypedDict",
|
|
1808
|
+
"PaymentOptionTypedDict",
|
|
1830
1809
|
"PaymentOptions",
|
|
1831
1810
|
"PaymentOptionsTypedDict",
|
|
1832
1811
|
"PaymentService",
|
|
@@ -1993,32 +1972,33 @@ __all__ = [
|
|
|
1993
1972
|
"TokenPaymentMethodCreate",
|
|
1994
1973
|
"TokenPaymentMethodCreateTypedDict",
|
|
1995
1974
|
"TokenTypedDict",
|
|
1996
|
-
"
|
|
1997
|
-
"
|
|
1975
|
+
"Transaction",
|
|
1976
|
+
"TransactionBuyer",
|
|
1977
|
+
"TransactionBuyerTypedDict",
|
|
1998
1978
|
"TransactionCancel",
|
|
1999
1979
|
"TransactionCancelTypedDict",
|
|
1980
|
+
"TransactionCapture",
|
|
2000
1981
|
"TransactionCaptureCreate",
|
|
2001
1982
|
"TransactionCaptureCreateTypedDict",
|
|
2002
|
-
"
|
|
2003
|
-
"TransactionCaptureOutputTypedDict",
|
|
1983
|
+
"TransactionCaptureTypedDict",
|
|
2004
1984
|
"TransactionConnectionOptions",
|
|
2005
1985
|
"TransactionConnectionOptionsTypedDict",
|
|
2006
1986
|
"TransactionCreate",
|
|
2007
1987
|
"TransactionCreatePaymentMethod",
|
|
2008
1988
|
"TransactionCreatePaymentMethodTypedDict",
|
|
2009
1989
|
"TransactionCreateTypedDict",
|
|
2010
|
-
"
|
|
2011
|
-
"
|
|
1990
|
+
"TransactionEvent",
|
|
1991
|
+
"TransactionEventContext",
|
|
1992
|
+
"TransactionEventContextTypedDict",
|
|
1993
|
+
"TransactionEventTypedDict",
|
|
2012
1994
|
"TransactionEvents",
|
|
2013
1995
|
"TransactionEventsTypedDict",
|
|
2014
1996
|
"TransactionGiftCard",
|
|
2015
1997
|
"TransactionGiftCardTypedDict",
|
|
2016
1998
|
"TransactionIntent",
|
|
2017
1999
|
"TransactionIntentOutcome",
|
|
2018
|
-
"
|
|
2019
|
-
"
|
|
2020
|
-
"TransactionPaymentMethodOutput",
|
|
2021
|
-
"TransactionPaymentMethodOutputTypedDict",
|
|
2000
|
+
"TransactionPaymentMethod",
|
|
2001
|
+
"TransactionPaymentMethodTypedDict",
|
|
2022
2002
|
"TransactionPaymentService",
|
|
2023
2003
|
"TransactionPaymentServiceTypedDict",
|
|
2024
2004
|
"TransactionPaymentSource",
|
|
@@ -2031,14 +2011,15 @@ __all__ = [
|
|
|
2031
2011
|
"TransactionStatus",
|
|
2032
2012
|
"TransactionSummaries",
|
|
2033
2013
|
"TransactionSummariesTypedDict",
|
|
2034
|
-
"
|
|
2035
|
-
"
|
|
2036
|
-
"
|
|
2037
|
-
"
|
|
2014
|
+
"TransactionSummary",
|
|
2015
|
+
"TransactionSummaryTypedDict",
|
|
2016
|
+
"TransactionThreeDSecureSummary",
|
|
2017
|
+
"TransactionThreeDSecureSummaryTypedDict",
|
|
2018
|
+
"TransactionTypedDict",
|
|
2038
2019
|
"TransactionUpdate",
|
|
2039
2020
|
"TransactionUpdateTypedDict",
|
|
2040
|
-
"
|
|
2041
|
-
"
|
|
2021
|
+
"TransactionVoid",
|
|
2022
|
+
"TransactionVoidTypedDict",
|
|
2042
2023
|
"TransactionsReportSpec",
|
|
2043
2024
|
"TransactionsReportSpecTypedDict",
|
|
2044
2025
|
"TravelHubCustomData",
|
|
@@ -2172,17 +2153,15 @@ _dynamic_imports: dict[str, str] = {
|
|
|
2172
2153
|
"AuditLogAction": ".auditlogaction",
|
|
2173
2154
|
"AuditLogEntries": ".auditlogentries",
|
|
2174
2155
|
"AuditLogEntriesTypedDict": ".auditlogentries",
|
|
2175
|
-
"
|
|
2176
|
-
"
|
|
2156
|
+
"AuditLogEntry": ".auditlogentry",
|
|
2157
|
+
"AuditLogEntryTypedDict": ".auditlogentry",
|
|
2177
2158
|
"AuditLogEntryResource": ".auditlogentryresource",
|
|
2178
2159
|
"AuditLogEntryResourceTypedDict": ".auditlogentryresource",
|
|
2179
2160
|
"AuditLogEntryUser": ".auditlogentryuser",
|
|
2180
2161
|
"AuditLogEntryUserTypedDict": ".auditlogentryuser",
|
|
2181
2162
|
"AVSResponseCode": ".avsresponsecode",
|
|
2182
|
-
"
|
|
2183
|
-
"
|
|
2184
|
-
"BillingDetailsOutput": ".billingdetails_output",
|
|
2185
|
-
"BillingDetailsOutputTypedDict": ".billingdetails_output",
|
|
2163
|
+
"BillingDetails": ".billingdetails",
|
|
2164
|
+
"BillingDetailsTypedDict": ".billingdetails",
|
|
2186
2165
|
"BraintreeDynamicDataFieldsOptions": ".braintreedynamicdatafieldsoptions",
|
|
2187
2166
|
"BraintreeDynamicDataFieldsOptionsTypedDict": ".braintreedynamicdatafieldsoptions",
|
|
2188
2167
|
"VaultPaymentMethodCriteria": ".braintreedynamicdatafieldsoptions",
|
|
@@ -2229,8 +2208,8 @@ _dynamic_imports: dict[str, str] = {
|
|
|
2229
2208
|
"CheckoutSessionTypedDict": ".checkoutsession",
|
|
2230
2209
|
"CheckoutSessionCreate": ".checkoutsessioncreate",
|
|
2231
2210
|
"CheckoutSessionCreateTypedDict": ".checkoutsessioncreate",
|
|
2232
|
-
"
|
|
2233
|
-
"
|
|
2211
|
+
"CheckoutSessionPaymentMethod": ".checkoutsessionpaymentmethod",
|
|
2212
|
+
"CheckoutSessionPaymentMethodTypedDict": ".checkoutsessionpaymentmethod",
|
|
2234
2213
|
"CheckoutSessionPaymentMethodCreate": ".checkoutsessionpaymentmethodcreate",
|
|
2235
2214
|
"CheckoutSessionPaymentMethodCreateTypedDict": ".checkoutsessionpaymentmethodcreate",
|
|
2236
2215
|
"CheckoutSessionPaymentMethodDetails": ".checkoutsessionpaymentmethoddetails",
|
|
@@ -2541,10 +2520,8 @@ _dynamic_imports: dict[str, str] = {
|
|
|
2541
2520
|
"GooglePaySessionTypedDict": ".googlepaysession",
|
|
2542
2521
|
"GooglePaySessionRequest": ".googlepaysessionrequest",
|
|
2543
2522
|
"GooglePaySessionRequestTypedDict": ".googlepaysessionrequest",
|
|
2544
|
-
"
|
|
2545
|
-
"
|
|
2546
|
-
"GuestBuyerOutput": ".guestbuyer_output",
|
|
2547
|
-
"GuestBuyerOutputTypedDict": ".guestbuyer_output",
|
|
2523
|
+
"GuestBuyer": ".guestbuyer",
|
|
2524
|
+
"GuestBuyerTypedDict": ".guestbuyer",
|
|
2548
2525
|
"InstrumentType": ".instrumenttype",
|
|
2549
2526
|
"IntegrationClient": ".integrationclient",
|
|
2550
2527
|
"LatitudeOptions": ".latitudeoptions",
|
|
@@ -2734,12 +2711,12 @@ _dynamic_imports: dict[str, str] = {
|
|
|
2734
2711
|
"PaymentMethodStoredCardTypedDict": ".paymentmethodstoredcard",
|
|
2735
2712
|
"PaymentMethodSummaries": ".paymentmethodsummaries",
|
|
2736
2713
|
"PaymentMethodSummariesTypedDict": ".paymentmethodsummaries",
|
|
2737
|
-
"
|
|
2738
|
-
"
|
|
2739
|
-
"Context": ".
|
|
2740
|
-
"ContextTypedDict": ".
|
|
2741
|
-
"
|
|
2742
|
-
"
|
|
2714
|
+
"PaymentMethodSummary": ".paymentmethodsummary",
|
|
2715
|
+
"PaymentMethodSummaryTypedDict": ".paymentmethodsummary",
|
|
2716
|
+
"Context": ".paymentoption",
|
|
2717
|
+
"ContextTypedDict": ".paymentoption",
|
|
2718
|
+
"PaymentOption": ".paymentoption",
|
|
2719
|
+
"PaymentOptionTypedDict": ".paymentoption",
|
|
2743
2720
|
"PaymentOptionContext": ".paymentoptioncontext",
|
|
2744
2721
|
"PaymentOptionContextTypedDict": ".paymentoptioncontext",
|
|
2745
2722
|
"RequiredFields1": ".paymentoptioncontext",
|
|
@@ -2899,14 +2876,14 @@ _dynamic_imports: dict[str, str] = {
|
|
|
2899
2876
|
"ThreeDSecureV2TypedDict": ".threedsecurev2",
|
|
2900
2877
|
"TokenPaymentMethodCreate": ".tokenpaymentmethodcreate",
|
|
2901
2878
|
"TokenPaymentMethodCreateTypedDict": ".tokenpaymentmethodcreate",
|
|
2902
|
-
"
|
|
2903
|
-
"
|
|
2904
|
-
"
|
|
2905
|
-
"
|
|
2879
|
+
"Transaction": ".transaction",
|
|
2880
|
+
"TransactionTypedDict": ".transaction",
|
|
2881
|
+
"TransactionBuyer": ".transactionbuyer",
|
|
2882
|
+
"TransactionBuyerTypedDict": ".transactionbuyer",
|
|
2906
2883
|
"TransactionCancel": ".transactioncancel",
|
|
2907
2884
|
"TransactionCancelTypedDict": ".transactioncancel",
|
|
2908
|
-
"
|
|
2909
|
-
"
|
|
2885
|
+
"TransactionCapture": ".transactioncapture",
|
|
2886
|
+
"TransactionCaptureTypedDict": ".transactioncapture",
|
|
2910
2887
|
"TransactionCaptureCreate": ".transactioncapturecreate",
|
|
2911
2888
|
"TransactionCaptureCreateTypedDict": ".transactioncapturecreate",
|
|
2912
2889
|
"TransactionConnectionOptions": ".transactionconnectionoptions",
|
|
@@ -2919,17 +2896,19 @@ _dynamic_imports: dict[str, str] = {
|
|
|
2919
2896
|
"TransactionCreatePaymentMethod": ".transactioncreate",
|
|
2920
2897
|
"TransactionCreatePaymentMethodTypedDict": ".transactioncreate",
|
|
2921
2898
|
"TransactionCreateTypedDict": ".transactioncreate",
|
|
2922
|
-
"Name": ".
|
|
2923
|
-
"
|
|
2924
|
-
"
|
|
2899
|
+
"Name": ".transactionevent",
|
|
2900
|
+
"TransactionEvent": ".transactionevent",
|
|
2901
|
+
"TransactionEventTypedDict": ".transactionevent",
|
|
2902
|
+
"TransactionEventContext": ".transactioneventcontext",
|
|
2903
|
+
"TransactionEventContextTypedDict": ".transactioneventcontext",
|
|
2925
2904
|
"TransactionEvents": ".transactionevents",
|
|
2926
2905
|
"TransactionEventsTypedDict": ".transactionevents",
|
|
2927
2906
|
"TransactionGiftCard": ".transactiongiftcard",
|
|
2928
2907
|
"TransactionGiftCardTypedDict": ".transactiongiftcard",
|
|
2929
2908
|
"TransactionIntent": ".transactionintent",
|
|
2930
2909
|
"TransactionIntentOutcome": ".transactionintentoutcome",
|
|
2931
|
-
"
|
|
2932
|
-
"
|
|
2910
|
+
"TransactionPaymentMethod": ".transactionpaymentmethod",
|
|
2911
|
+
"TransactionPaymentMethodTypedDict": ".transactionpaymentmethod",
|
|
2933
2912
|
"TransactionPaymentService": ".transactionpaymentservice",
|
|
2934
2913
|
"TransactionPaymentServiceTypedDict": ".transactionpaymentservice",
|
|
2935
2914
|
"TransactionPaymentSource": ".transactionpaymentsource",
|
|
@@ -2944,16 +2923,16 @@ _dynamic_imports: dict[str, str] = {
|
|
|
2944
2923
|
"TransactionStatus": ".transactionstatus",
|
|
2945
2924
|
"TransactionSummaries": ".transactionsummaries",
|
|
2946
2925
|
"TransactionSummariesTypedDict": ".transactionsummaries",
|
|
2947
|
-
"
|
|
2948
|
-
"
|
|
2949
|
-
"ResponseData": ".
|
|
2950
|
-
"ResponseDataTypedDict": ".
|
|
2951
|
-
"
|
|
2952
|
-
"
|
|
2926
|
+
"TransactionSummary": ".transactionsummary",
|
|
2927
|
+
"TransactionSummaryTypedDict": ".transactionsummary",
|
|
2928
|
+
"ResponseData": ".transactionthreedsecuresummary",
|
|
2929
|
+
"ResponseDataTypedDict": ".transactionthreedsecuresummary",
|
|
2930
|
+
"TransactionThreeDSecureSummary": ".transactionthreedsecuresummary",
|
|
2931
|
+
"TransactionThreeDSecureSummaryTypedDict": ".transactionthreedsecuresummary",
|
|
2953
2932
|
"TransactionUpdate": ".transactionupdate",
|
|
2954
2933
|
"TransactionUpdateTypedDict": ".transactionupdate",
|
|
2955
|
-
"
|
|
2956
|
-
"
|
|
2934
|
+
"TransactionVoid": ".transactionvoid",
|
|
2935
|
+
"TransactionVoidTypedDict": ".transactionvoid",
|
|
2957
2936
|
"TravelHubCustomData": ".travelhubcustomdata",
|
|
2958
2937
|
"TravelHubCustomDataTypedDict": ".travelhubcustomdata",
|
|
2959
2938
|
"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 import AuditLogEntry, AuditLogEntryTypedDict
|
|
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[AuditLogEntryTypedDict]
|
|
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[AuditLogEntry]
|
|
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 AuditLogEntryTypedDict(TypedDict):
|
|
18
18
|
resource: AuditLogEntryResourceTypedDict
|
|
19
19
|
action: AuditLogAction
|
|
20
20
|
user: AuditLogEntryUserTypedDict
|
|
@@ -28,7 +28,7 @@ class AuditLogEntryOutputTypedDict(TypedDict):
|
|
|
28
28
|
r"""The ID of the merchant account this entry was created for."""
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
class
|
|
31
|
+
class AuditLogEntry(BaseModel):
|
|
32
32
|
resource: AuditLogEntryResource
|
|
33
33
|
|
|
34
34
|
action: Annotated[AuditLogAction, PlainValidator(validate_open_enum(False))]
|
|
@@ -8,7 +8,7 @@ from pydantic import model_serializer
|
|
|
8
8
|
from typing_extensions import NotRequired, TypedDict
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
class
|
|
11
|
+
class BillingDetailsTypedDict(TypedDict):
|
|
12
12
|
first_name: NotRequired[Nullable[str]]
|
|
13
13
|
r"""The first name(s) or given name for the buyer."""
|
|
14
14
|
last_name: NotRequired[Nullable[str]]
|
|
@@ -23,7 +23,7 @@ class BillingDetailsInputTypedDict(TypedDict):
|
|
|
23
23
|
r"""The tax ID information associated with the billing details."""
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
class
|
|
26
|
+
class BillingDetails(BaseModel):
|
|
27
27
|
first_name: OptionalNullable[str] = UNSET
|
|
28
28
|
r"""The first name(s) or given name for the buyer."""
|
|
29
29
|
|
gr4vy/models/buyer.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 .billingdetails import BillingDetails, BillingDetailsTypedDict
|
|
5
5
|
from datetime import datetime
|
|
6
6
|
from gr4vy.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL
|
|
7
7
|
from gr4vy.utils import validate_const
|
|
@@ -27,7 +27,7 @@ class BuyerTypedDict(TypedDict):
|
|
|
27
27
|
r"""The display name for the buyer."""
|
|
28
28
|
external_identifier: NotRequired[Nullable[str]]
|
|
29
29
|
r"""The merchant identifier for this buyer."""
|
|
30
|
-
billing_details: NotRequired[Nullable[
|
|
30
|
+
billing_details: NotRequired[Nullable[BillingDetailsTypedDict]]
|
|
31
31
|
r"""The billing name, address, email, and other fields for this buyer."""
|
|
32
32
|
account_number: NotRequired[Nullable[str]]
|
|
33
33
|
r"""The buyer account number"""
|
|
@@ -58,7 +58,7 @@ class Buyer(BaseModel):
|
|
|
58
58
|
external_identifier: OptionalNullable[str] = UNSET
|
|
59
59
|
r"""The merchant identifier for this buyer."""
|
|
60
60
|
|
|
61
|
-
billing_details: OptionalNullable[
|
|
61
|
+
billing_details: OptionalNullable[BillingDetails] = UNSET
|
|
62
62
|
r"""The billing name, address, email, and other fields for this buyer."""
|
|
63
63
|
|
|
64
64
|
account_number: OptionalNullable[str] = UNSET
|
gr4vy/models/buyercreate.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 .billingdetails import BillingDetails, BillingDetailsTypedDict
|
|
5
5
|
from gr4vy.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL
|
|
6
6
|
from pydantic import model_serializer
|
|
7
7
|
from typing_extensions import NotRequired, TypedDict
|
|
@@ -14,7 +14,7 @@ class BuyerCreateTypedDict(TypedDict):
|
|
|
14
14
|
r"""The display name for the buyer."""
|
|
15
15
|
external_identifier: NotRequired[Nullable[str]]
|
|
16
16
|
r"""The merchant identifier for this buyer."""
|
|
17
|
-
billing_details: NotRequired[Nullable[
|
|
17
|
+
billing_details: NotRequired[Nullable[BillingDetailsTypedDict]]
|
|
18
18
|
r"""The billing name, address, email, and other fields for this buyer."""
|
|
19
19
|
account_number: NotRequired[Nullable[str]]
|
|
20
20
|
r"""The buyer account number"""
|
|
@@ -29,7 +29,7 @@ class BuyerCreate(BaseModel):
|
|
|
29
29
|
external_identifier: OptionalNullable[str] = UNSET
|
|
30
30
|
r"""The merchant identifier for this buyer."""
|
|
31
31
|
|
|
32
|
-
billing_details: OptionalNullable[
|
|
32
|
+
billing_details: OptionalNullable[BillingDetails] = UNSET
|
|
33
33
|
r"""The billing name, address, email, and other fields for this buyer."""
|
|
34
34
|
|
|
35
35
|
account_number: OptionalNullable[str] = UNSET
|