gr4vy 1.7.17__py3-none-any.whl → 1.9.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- gr4vy/_version.py +3 -3
- gr4vy/buyers_sdk.py +8 -8
- gr4vy/checkout_sessions.py +4 -4
- gr4vy/models/__init__.py +85 -114
- 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} +2 -2
- 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.9.0.dist-info}/METADATA +1 -1
- {gr4vy-1.7.17.dist-info → gr4vy-1.9.0.dist-info}/RECORD +42 -44
- gr4vy/models/billingdetails_output.py +0 -87
- gr4vy/models/guestbuyer_output.py +0 -80
- {gr4vy-1.7.17.dist-info → gr4vy-1.9.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.9.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.9.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,14 @@ if TYPE_CHECKING:
|
|
|
1045
1034
|
TransactionCreatePaymentMethodTypedDict,
|
|
1046
1035
|
TransactionCreateTypedDict,
|
|
1047
1036
|
)
|
|
1048
|
-
from .
|
|
1049
|
-
Name,
|
|
1050
|
-
TransactionEventOutput,
|
|
1051
|
-
TransactionEventOutputTypedDict,
|
|
1052
|
-
)
|
|
1037
|
+
from .transactionevent import Name, TransactionEvent, TransactionEventTypedDict
|
|
1053
1038
|
from .transactionevents import TransactionEvents, TransactionEventsTypedDict
|
|
1054
1039
|
from .transactiongiftcard import TransactionGiftCard, TransactionGiftCardTypedDict
|
|
1055
1040
|
from .transactionintent import TransactionIntent
|
|
1056
1041
|
from .transactionintentoutcome import TransactionIntentOutcome
|
|
1057
|
-
from .
|
|
1058
|
-
|
|
1059
|
-
|
|
1042
|
+
from .transactionpaymentmethod import (
|
|
1043
|
+
TransactionPaymentMethod,
|
|
1044
|
+
TransactionPaymentMethodTypedDict,
|
|
1060
1045
|
)
|
|
1061
1046
|
from .transactionpaymentservice import (
|
|
1062
1047
|
TransactionPaymentService,
|
|
@@ -1084,21 +1069,15 @@ if TYPE_CHECKING:
|
|
|
1084
1069
|
TransactionSummaries,
|
|
1085
1070
|
TransactionSummariesTypedDict,
|
|
1086
1071
|
)
|
|
1087
|
-
from .
|
|
1088
|
-
|
|
1089
|
-
TransactionSummaryOutputTypedDict,
|
|
1090
|
-
)
|
|
1091
|
-
from .transactionthreedsecuresummary_output import (
|
|
1072
|
+
from .transactionsummary import TransactionSummary, TransactionSummaryTypedDict
|
|
1073
|
+
from .transactionthreedsecuresummary import (
|
|
1092
1074
|
ResponseData,
|
|
1093
1075
|
ResponseDataTypedDict,
|
|
1094
|
-
|
|
1095
|
-
|
|
1076
|
+
TransactionThreeDSecureSummary,
|
|
1077
|
+
TransactionThreeDSecureSummaryTypedDict,
|
|
1096
1078
|
)
|
|
1097
1079
|
from .transactionupdate import TransactionUpdate, TransactionUpdateTypedDict
|
|
1098
|
-
from .
|
|
1099
|
-
TransactionVoidOutput,
|
|
1100
|
-
TransactionVoidOutputTypedDict,
|
|
1101
|
-
)
|
|
1080
|
+
from .transactionvoid import TransactionVoid, TransactionVoidTypedDict
|
|
1102
1081
|
from .travelhubcustomdata import TravelHubCustomData, TravelHubCustomDataTypedDict
|
|
1103
1082
|
from .travelhuboptions import TravelhubOptions, TravelhubOptionsTypedDict
|
|
1104
1083
|
from .trustlyoptions import TrustlyOptions, TrustlyOptionsTypedDict
|
|
@@ -1256,16 +1235,14 @@ __all__ = [
|
|
|
1256
1235
|
"AuditLogAction",
|
|
1257
1236
|
"AuditLogEntries",
|
|
1258
1237
|
"AuditLogEntriesTypedDict",
|
|
1259
|
-
"
|
|
1260
|
-
"AuditLogEntryOutputTypedDict",
|
|
1238
|
+
"AuditLogEntry",
|
|
1261
1239
|
"AuditLogEntryResource",
|
|
1262
1240
|
"AuditLogEntryResourceTypedDict",
|
|
1241
|
+
"AuditLogEntryTypedDict",
|
|
1263
1242
|
"AuditLogEntryUser",
|
|
1264
1243
|
"AuditLogEntryUserTypedDict",
|
|
1265
|
-
"
|
|
1266
|
-
"
|
|
1267
|
-
"BillingDetailsOutput",
|
|
1268
|
-
"BillingDetailsOutputTypedDict",
|
|
1244
|
+
"BillingDetails",
|
|
1245
|
+
"BillingDetailsTypedDict",
|
|
1269
1246
|
"Body",
|
|
1270
1247
|
"BodyTypedDict",
|
|
1271
1248
|
"BraintreeDynamicDataFieldsOptions",
|
|
@@ -1311,12 +1288,12 @@ __all__ = [
|
|
|
1311
1288
|
"CheckoutSession",
|
|
1312
1289
|
"CheckoutSessionCreate",
|
|
1313
1290
|
"CheckoutSessionCreateTypedDict",
|
|
1291
|
+
"CheckoutSessionPaymentMethod",
|
|
1314
1292
|
"CheckoutSessionPaymentMethodCreate",
|
|
1315
1293
|
"CheckoutSessionPaymentMethodCreateTypedDict",
|
|
1316
1294
|
"CheckoutSessionPaymentMethodDetails",
|
|
1317
1295
|
"CheckoutSessionPaymentMethodDetailsTypedDict",
|
|
1318
|
-
"
|
|
1319
|
-
"CheckoutSessionPaymentMethodOutputTypedDict",
|
|
1296
|
+
"CheckoutSessionPaymentMethodTypedDict",
|
|
1320
1297
|
"CheckoutSessionTypedDict",
|
|
1321
1298
|
"CheckoutSessionWithURLPaymentMethodCreate",
|
|
1322
1299
|
"CheckoutSessionWithURLPaymentMethodCreateTypedDict",
|
|
@@ -1620,10 +1597,8 @@ __all__ = [
|
|
|
1620
1597
|
"GooglePaySessionRequest",
|
|
1621
1598
|
"GooglePaySessionRequestTypedDict",
|
|
1622
1599
|
"GooglePaySessionTypedDict",
|
|
1623
|
-
"
|
|
1624
|
-
"
|
|
1625
|
-
"GuestBuyerOutput",
|
|
1626
|
-
"GuestBuyerOutputTypedDict",
|
|
1600
|
+
"GuestBuyer",
|
|
1601
|
+
"GuestBuyerTypedDict",
|
|
1627
1602
|
"InstrumentType",
|
|
1628
1603
|
"IntegrationClient",
|
|
1629
1604
|
"Item",
|
|
@@ -1814,19 +1789,19 @@ __all__ = [
|
|
|
1814
1789
|
"PaymentMethodStoredCardTypedDict",
|
|
1815
1790
|
"PaymentMethodSummaries",
|
|
1816
1791
|
"PaymentMethodSummariesTypedDict",
|
|
1817
|
-
"
|
|
1818
|
-
"
|
|
1792
|
+
"PaymentMethodSummary",
|
|
1793
|
+
"PaymentMethodSummaryTypedDict",
|
|
1819
1794
|
"PaymentMethodTypedDict",
|
|
1820
1795
|
"PaymentMethods",
|
|
1821
1796
|
"PaymentMethodsTypedDict",
|
|
1797
|
+
"PaymentOption",
|
|
1822
1798
|
"PaymentOptionContext",
|
|
1823
1799
|
"PaymentOptionContextApprovalUI",
|
|
1824
1800
|
"PaymentOptionContextApprovalUITypedDict",
|
|
1825
1801
|
"PaymentOptionContextTypedDict",
|
|
1826
|
-
"PaymentOptionOutput",
|
|
1827
|
-
"PaymentOptionOutputTypedDict",
|
|
1828
1802
|
"PaymentOptionRequest",
|
|
1829
1803
|
"PaymentOptionRequestTypedDict",
|
|
1804
|
+
"PaymentOptionTypedDict",
|
|
1830
1805
|
"PaymentOptions",
|
|
1831
1806
|
"PaymentOptionsTypedDict",
|
|
1832
1807
|
"PaymentService",
|
|
@@ -1993,32 +1968,31 @@ __all__ = [
|
|
|
1993
1968
|
"TokenPaymentMethodCreate",
|
|
1994
1969
|
"TokenPaymentMethodCreateTypedDict",
|
|
1995
1970
|
"TokenTypedDict",
|
|
1996
|
-
"
|
|
1997
|
-
"
|
|
1971
|
+
"Transaction",
|
|
1972
|
+
"TransactionBuyer",
|
|
1973
|
+
"TransactionBuyerTypedDict",
|
|
1998
1974
|
"TransactionCancel",
|
|
1999
1975
|
"TransactionCancelTypedDict",
|
|
1976
|
+
"TransactionCapture",
|
|
2000
1977
|
"TransactionCaptureCreate",
|
|
2001
1978
|
"TransactionCaptureCreateTypedDict",
|
|
2002
|
-
"
|
|
2003
|
-
"TransactionCaptureOutputTypedDict",
|
|
1979
|
+
"TransactionCaptureTypedDict",
|
|
2004
1980
|
"TransactionConnectionOptions",
|
|
2005
1981
|
"TransactionConnectionOptionsTypedDict",
|
|
2006
1982
|
"TransactionCreate",
|
|
2007
1983
|
"TransactionCreatePaymentMethod",
|
|
2008
1984
|
"TransactionCreatePaymentMethodTypedDict",
|
|
2009
1985
|
"TransactionCreateTypedDict",
|
|
2010
|
-
"
|
|
2011
|
-
"
|
|
1986
|
+
"TransactionEvent",
|
|
1987
|
+
"TransactionEventTypedDict",
|
|
2012
1988
|
"TransactionEvents",
|
|
2013
1989
|
"TransactionEventsTypedDict",
|
|
2014
1990
|
"TransactionGiftCard",
|
|
2015
1991
|
"TransactionGiftCardTypedDict",
|
|
2016
1992
|
"TransactionIntent",
|
|
2017
1993
|
"TransactionIntentOutcome",
|
|
2018
|
-
"
|
|
2019
|
-
"
|
|
2020
|
-
"TransactionPaymentMethodOutput",
|
|
2021
|
-
"TransactionPaymentMethodOutputTypedDict",
|
|
1994
|
+
"TransactionPaymentMethod",
|
|
1995
|
+
"TransactionPaymentMethodTypedDict",
|
|
2022
1996
|
"TransactionPaymentService",
|
|
2023
1997
|
"TransactionPaymentServiceTypedDict",
|
|
2024
1998
|
"TransactionPaymentSource",
|
|
@@ -2031,14 +2005,15 @@ __all__ = [
|
|
|
2031
2005
|
"TransactionStatus",
|
|
2032
2006
|
"TransactionSummaries",
|
|
2033
2007
|
"TransactionSummariesTypedDict",
|
|
2034
|
-
"
|
|
2035
|
-
"
|
|
2036
|
-
"
|
|
2037
|
-
"
|
|
2008
|
+
"TransactionSummary",
|
|
2009
|
+
"TransactionSummaryTypedDict",
|
|
2010
|
+
"TransactionThreeDSecureSummary",
|
|
2011
|
+
"TransactionThreeDSecureSummaryTypedDict",
|
|
2012
|
+
"TransactionTypedDict",
|
|
2038
2013
|
"TransactionUpdate",
|
|
2039
2014
|
"TransactionUpdateTypedDict",
|
|
2040
|
-
"
|
|
2041
|
-
"
|
|
2015
|
+
"TransactionVoid",
|
|
2016
|
+
"TransactionVoidTypedDict",
|
|
2042
2017
|
"TransactionsReportSpec",
|
|
2043
2018
|
"TransactionsReportSpecTypedDict",
|
|
2044
2019
|
"TravelHubCustomData",
|
|
@@ -2172,17 +2147,15 @@ _dynamic_imports: dict[str, str] = {
|
|
|
2172
2147
|
"AuditLogAction": ".auditlogaction",
|
|
2173
2148
|
"AuditLogEntries": ".auditlogentries",
|
|
2174
2149
|
"AuditLogEntriesTypedDict": ".auditlogentries",
|
|
2175
|
-
"
|
|
2176
|
-
"
|
|
2150
|
+
"AuditLogEntry": ".auditlogentry",
|
|
2151
|
+
"AuditLogEntryTypedDict": ".auditlogentry",
|
|
2177
2152
|
"AuditLogEntryResource": ".auditlogentryresource",
|
|
2178
2153
|
"AuditLogEntryResourceTypedDict": ".auditlogentryresource",
|
|
2179
2154
|
"AuditLogEntryUser": ".auditlogentryuser",
|
|
2180
2155
|
"AuditLogEntryUserTypedDict": ".auditlogentryuser",
|
|
2181
2156
|
"AVSResponseCode": ".avsresponsecode",
|
|
2182
|
-
"
|
|
2183
|
-
"
|
|
2184
|
-
"BillingDetailsOutput": ".billingdetails_output",
|
|
2185
|
-
"BillingDetailsOutputTypedDict": ".billingdetails_output",
|
|
2157
|
+
"BillingDetails": ".billingdetails",
|
|
2158
|
+
"BillingDetailsTypedDict": ".billingdetails",
|
|
2186
2159
|
"BraintreeDynamicDataFieldsOptions": ".braintreedynamicdatafieldsoptions",
|
|
2187
2160
|
"BraintreeDynamicDataFieldsOptionsTypedDict": ".braintreedynamicdatafieldsoptions",
|
|
2188
2161
|
"VaultPaymentMethodCriteria": ".braintreedynamicdatafieldsoptions",
|
|
@@ -2229,8 +2202,8 @@ _dynamic_imports: dict[str, str] = {
|
|
|
2229
2202
|
"CheckoutSessionTypedDict": ".checkoutsession",
|
|
2230
2203
|
"CheckoutSessionCreate": ".checkoutsessioncreate",
|
|
2231
2204
|
"CheckoutSessionCreateTypedDict": ".checkoutsessioncreate",
|
|
2232
|
-
"
|
|
2233
|
-
"
|
|
2205
|
+
"CheckoutSessionPaymentMethod": ".checkoutsessionpaymentmethod",
|
|
2206
|
+
"CheckoutSessionPaymentMethodTypedDict": ".checkoutsessionpaymentmethod",
|
|
2234
2207
|
"CheckoutSessionPaymentMethodCreate": ".checkoutsessionpaymentmethodcreate",
|
|
2235
2208
|
"CheckoutSessionPaymentMethodCreateTypedDict": ".checkoutsessionpaymentmethodcreate",
|
|
2236
2209
|
"CheckoutSessionPaymentMethodDetails": ".checkoutsessionpaymentmethoddetails",
|
|
@@ -2541,10 +2514,8 @@ _dynamic_imports: dict[str, str] = {
|
|
|
2541
2514
|
"GooglePaySessionTypedDict": ".googlepaysession",
|
|
2542
2515
|
"GooglePaySessionRequest": ".googlepaysessionrequest",
|
|
2543
2516
|
"GooglePaySessionRequestTypedDict": ".googlepaysessionrequest",
|
|
2544
|
-
"
|
|
2545
|
-
"
|
|
2546
|
-
"GuestBuyerOutput": ".guestbuyer_output",
|
|
2547
|
-
"GuestBuyerOutputTypedDict": ".guestbuyer_output",
|
|
2517
|
+
"GuestBuyer": ".guestbuyer",
|
|
2518
|
+
"GuestBuyerTypedDict": ".guestbuyer",
|
|
2548
2519
|
"InstrumentType": ".instrumenttype",
|
|
2549
2520
|
"IntegrationClient": ".integrationclient",
|
|
2550
2521
|
"LatitudeOptions": ".latitudeoptions",
|
|
@@ -2734,12 +2705,12 @@ _dynamic_imports: dict[str, str] = {
|
|
|
2734
2705
|
"PaymentMethodStoredCardTypedDict": ".paymentmethodstoredcard",
|
|
2735
2706
|
"PaymentMethodSummaries": ".paymentmethodsummaries",
|
|
2736
2707
|
"PaymentMethodSummariesTypedDict": ".paymentmethodsummaries",
|
|
2737
|
-
"
|
|
2738
|
-
"
|
|
2739
|
-
"Context": ".
|
|
2740
|
-
"ContextTypedDict": ".
|
|
2741
|
-
"
|
|
2742
|
-
"
|
|
2708
|
+
"PaymentMethodSummary": ".paymentmethodsummary",
|
|
2709
|
+
"PaymentMethodSummaryTypedDict": ".paymentmethodsummary",
|
|
2710
|
+
"Context": ".paymentoption",
|
|
2711
|
+
"ContextTypedDict": ".paymentoption",
|
|
2712
|
+
"PaymentOption": ".paymentoption",
|
|
2713
|
+
"PaymentOptionTypedDict": ".paymentoption",
|
|
2743
2714
|
"PaymentOptionContext": ".paymentoptioncontext",
|
|
2744
2715
|
"PaymentOptionContextTypedDict": ".paymentoptioncontext",
|
|
2745
2716
|
"RequiredFields1": ".paymentoptioncontext",
|
|
@@ -2899,14 +2870,14 @@ _dynamic_imports: dict[str, str] = {
|
|
|
2899
2870
|
"ThreeDSecureV2TypedDict": ".threedsecurev2",
|
|
2900
2871
|
"TokenPaymentMethodCreate": ".tokenpaymentmethodcreate",
|
|
2901
2872
|
"TokenPaymentMethodCreateTypedDict": ".tokenpaymentmethodcreate",
|
|
2902
|
-
"
|
|
2903
|
-
"
|
|
2904
|
-
"
|
|
2905
|
-
"
|
|
2873
|
+
"Transaction": ".transaction",
|
|
2874
|
+
"TransactionTypedDict": ".transaction",
|
|
2875
|
+
"TransactionBuyer": ".transactionbuyer",
|
|
2876
|
+
"TransactionBuyerTypedDict": ".transactionbuyer",
|
|
2906
2877
|
"TransactionCancel": ".transactioncancel",
|
|
2907
2878
|
"TransactionCancelTypedDict": ".transactioncancel",
|
|
2908
|
-
"
|
|
2909
|
-
"
|
|
2879
|
+
"TransactionCapture": ".transactioncapture",
|
|
2880
|
+
"TransactionCaptureTypedDict": ".transactioncapture",
|
|
2910
2881
|
"TransactionCaptureCreate": ".transactioncapturecreate",
|
|
2911
2882
|
"TransactionCaptureCreateTypedDict": ".transactioncapturecreate",
|
|
2912
2883
|
"TransactionConnectionOptions": ".transactionconnectionoptions",
|
|
@@ -2919,17 +2890,17 @@ _dynamic_imports: dict[str, str] = {
|
|
|
2919
2890
|
"TransactionCreatePaymentMethod": ".transactioncreate",
|
|
2920
2891
|
"TransactionCreatePaymentMethodTypedDict": ".transactioncreate",
|
|
2921
2892
|
"TransactionCreateTypedDict": ".transactioncreate",
|
|
2922
|
-
"Name": ".
|
|
2923
|
-
"
|
|
2924
|
-
"
|
|
2893
|
+
"Name": ".transactionevent",
|
|
2894
|
+
"TransactionEvent": ".transactionevent",
|
|
2895
|
+
"TransactionEventTypedDict": ".transactionevent",
|
|
2925
2896
|
"TransactionEvents": ".transactionevents",
|
|
2926
2897
|
"TransactionEventsTypedDict": ".transactionevents",
|
|
2927
2898
|
"TransactionGiftCard": ".transactiongiftcard",
|
|
2928
2899
|
"TransactionGiftCardTypedDict": ".transactiongiftcard",
|
|
2929
2900
|
"TransactionIntent": ".transactionintent",
|
|
2930
2901
|
"TransactionIntentOutcome": ".transactionintentoutcome",
|
|
2931
|
-
"
|
|
2932
|
-
"
|
|
2902
|
+
"TransactionPaymentMethod": ".transactionpaymentmethod",
|
|
2903
|
+
"TransactionPaymentMethodTypedDict": ".transactionpaymentmethod",
|
|
2933
2904
|
"TransactionPaymentService": ".transactionpaymentservice",
|
|
2934
2905
|
"TransactionPaymentServiceTypedDict": ".transactionpaymentservice",
|
|
2935
2906
|
"TransactionPaymentSource": ".transactionpaymentsource",
|
|
@@ -2944,16 +2915,16 @@ _dynamic_imports: dict[str, str] = {
|
|
|
2944
2915
|
"TransactionStatus": ".transactionstatus",
|
|
2945
2916
|
"TransactionSummaries": ".transactionsummaries",
|
|
2946
2917
|
"TransactionSummariesTypedDict": ".transactionsummaries",
|
|
2947
|
-
"
|
|
2948
|
-
"
|
|
2949
|
-
"ResponseData": ".
|
|
2950
|
-
"ResponseDataTypedDict": ".
|
|
2951
|
-
"
|
|
2952
|
-
"
|
|
2918
|
+
"TransactionSummary": ".transactionsummary",
|
|
2919
|
+
"TransactionSummaryTypedDict": ".transactionsummary",
|
|
2920
|
+
"ResponseData": ".transactionthreedsecuresummary",
|
|
2921
|
+
"ResponseDataTypedDict": ".transactionthreedsecuresummary",
|
|
2922
|
+
"TransactionThreeDSecureSummary": ".transactionthreedsecuresummary",
|
|
2923
|
+
"TransactionThreeDSecureSummaryTypedDict": ".transactionthreedsecuresummary",
|
|
2953
2924
|
"TransactionUpdate": ".transactionupdate",
|
|
2954
2925
|
"TransactionUpdateTypedDict": ".transactionupdate",
|
|
2955
|
-
"
|
|
2956
|
-
"
|
|
2926
|
+
"TransactionVoid": ".transactionvoid",
|
|
2927
|
+
"TransactionVoidTypedDict": ".transactionvoid",
|
|
2957
2928
|
"TravelHubCustomData": ".travelhubcustomdata",
|
|
2958
2929
|
"TravelHubCustomDataTypedDict": ".travelhubcustomdata",
|
|
2959
2930
|
"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
|