gr4vy 1.1.29__py3-none-any.whl → 1.10.9__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/account_updater.py +6 -3
- gr4vy/actions.py +307 -0
- gr4vy/all.py +4 -2
- gr4vy/audit_logs.py +6 -4
- gr4vy/balances.py +4 -2
- gr4vy/basesdk.py +17 -1
- gr4vy/buyers_gift_cards.py +4 -2
- gr4vy/buyers_payment_methods.py +4 -2
- gr4vy/buyers_sdk.py +43 -25
- gr4vy/buyers_shipping_details.py +26 -16
- gr4vy/card_scheme_definitions_sdk.py +4 -2
- gr4vy/checkout_sessions.py +40 -14
- gr4vy/digital_wallets_sdk.py +32 -20
- gr4vy/domains.py +14 -10
- gr4vy/errors/__init__.py +15 -3
- gr4vy/errors/apierror.py +2 -0
- gr4vy/errors/error400.py +4 -6
- gr4vy/errors/error401.py +4 -6
- gr4vy/errors/error403.py +4 -6
- gr4vy/errors/error404.py +4 -6
- gr4vy/errors/error405.py +4 -6
- gr4vy/errors/error409.py +4 -6
- gr4vy/errors/error425.py +4 -6
- gr4vy/errors/error429.py +4 -6
- gr4vy/errors/error500.py +4 -6
- gr4vy/errors/error502.py +4 -6
- gr4vy/errors/error504.py +4 -6
- gr4vy/errors/gr4vyerror.py +11 -7
- gr4vy/errors/httpvalidationerror.py +4 -2
- gr4vy/errors/no_response_error.py +5 -1
- gr4vy/errors/responsevalidationerror.py +2 -0
- gr4vy/events.py +54 -7
- gr4vy/executions.py +38 -8
- gr4vy/gift_cards_sdk.py +29 -19
- gr4vy/httpclient.py +0 -1
- gr4vy/jobs.py +4 -2
- gr4vy/merchant_accounts_sdk.py +30 -10
- gr4vy/models/__init__.py +184 -30
- gr4vy/models/adyenautorescuesepascenariosenum.py +3 -1
- gr4vy/models/adyencardoptions.py +9 -6
- gr4vy/models/adyensepaoptions.py +1 -6
- gr4vy/models/adyensplitsoptions.py +57 -0
- gr4vy/models/airline.py +9 -8
- gr4vy/models/airlineleg.py +9 -7
- gr4vy/models/airlinepassenger.py +9 -7
- gr4vy/models/antifrauddecision.py +9 -1
- gr4vy/models/approvaltarget.py +7 -1
- gr4vy/models/auditlogaction.py +9 -1
- gr4vy/models/auditlogentry.py +3 -3
- gr4vy/models/auditlogentryuser.py +3 -3
- gr4vy/models/{billingdetails_input.py → billingdetails.py} +2 -2
- gr4vy/models/braintreedynamicdatafieldsoptions.py +33 -3
- gr4vy/models/browserinfo.py +9 -5
- gr4vy/models/buyer.py +3 -3
- gr4vy/models/buyercreate.py +3 -3
- gr4vy/models/buyerupdate.py +3 -3
- gr4vy/models/cancel_transactionop.py +43 -0
- gr4vy/models/cancelstatus.py +15 -0
- gr4vy/models/capturestatus.py +7 -1
- gr4vy/models/cardtype.py +8 -1
- gr4vy/models/cartitem.py +53 -8
- gr4vy/models/chaseoptions.py +46 -0
- gr4vy/models/checkoutsession.py +24 -3
- gr4vy/models/checkoutsessioncreate.py +39 -5
- gr4vy/models/checkoutsessionpaymentmethod.py +3 -5
- gr4vy/models/checkoutsessionpaymentmethoddetails.py +2 -6
- gr4vy/models/create_payment_methodop.py +6 -0
- gr4vy/models/create_report_execution_urlop.py +16 -1
- gr4vy/models/createsession.py +3 -3
- gr4vy/models/createsessionstatus.py +7 -1
- gr4vy/models/cvvresponsecode.py +7 -1
- gr4vy/models/cybersourceoptions.py +7 -0
- gr4vy/models/definitionfield.py +1 -6
- gr4vy/models/definitionfieldformat.py +8 -1
- gr4vy/models/digitalwallet.py +3 -5
- gr4vy/models/digitalwalletcreate.py +2 -6
- gr4vy/models/digitalwalletprovider.py +6 -1
- gr4vy/models/dlocalupioptions.py +50 -0
- gr4vy/models/dlocalupirecurringinfooptions.py +47 -0
- gr4vy/models/dlocalupiwalletoptions.py +89 -0
- gr4vy/models/errordetail.py +2 -4
- gr4vy/models/errorlocation.py +8 -1
- gr4vy/models/flow.py +16 -0
- gr4vy/models/flowaction.py +16 -0
- gr4vy/models/forterantifraudoptions.py +8 -8
- gr4vy/models/forterantifraudoptionscartitembasicitemdata.py +10 -8
- gr4vy/models/forterantifraudoptionscartitemdeliverydetails.py +9 -7
- gr4vy/models/giftcardredemption.py +4 -8
- gr4vy/models/giftcardredemptionstatus.py +7 -1
- gr4vy/models/giftcardservice.py +3 -5
- gr4vy/models/giftcardserviceprovider.py +5 -1
- gr4vy/models/giftcardsummary.py +3 -5
- gr4vy/models/{guestbuyer_input.py → guestbuyer.py} +5 -5
- gr4vy/models/instrumenttype.py +1 -0
- gr4vy/models/integrationclient.py +16 -0
- gr4vy/models/internal/__init__.py +14 -1
- gr4vy/models/list_all_report_executionsop.py +2 -14
- gr4vy/models/list_audit_logsop.py +2 -10
- gr4vy/models/list_buyer_payment_methodsop.py +9 -4
- gr4vy/models/list_payment_methodsop.py +2 -14
- gr4vy/models/list_payment_servicesop.py +2 -8
- gr4vy/models/list_reportsop.py +2 -10
- gr4vy/models/list_transaction_actionsop.py +43 -0
- gr4vy/models/list_transaction_eventsop.py +12 -1
- gr4vy/models/list_transactionsop.py +14 -22
- gr4vy/models/merchantaccount.py +9 -5
- gr4vy/models/merchantaccountcreate.py +8 -6
- gr4vy/models/merchantaccountupdate.py +8 -6
- gr4vy/models/merchantprofilescheme.py +7 -7
- gr4vy/models/merchantprofileschemesummary.py +7 -7
- gr4vy/models/method.py +4 -0
- gr4vy/models/mockcardoptions.py +7 -2
- gr4vy/models/mode.py +1 -0
- gr4vy/models/monatospeioptions.py +15 -0
- gr4vy/models/networktoken.py +3 -3
- gr4vy/models/networktokenpaymentmethodcreate.py +11 -9
- gr4vy/models/networktokenstatus.py +7 -1
- gr4vy/models/nuveiidealoptions.py +49 -0
- gr4vy/models/nuveipseoptions.py +70 -0
- gr4vy/models/paymentlink.py +25 -7
- gr4vy/models/paymentlinkcreate.py +23 -28
- gr4vy/models/paymentlinkstatus.py +7 -1
- gr4vy/models/paymentmethod.py +7 -13
- gr4vy/models/paymentmethodcard.py +3 -5
- gr4vy/models/paymentmethoddetailscard.py +2 -6
- gr4vy/models/paymentmethodstatus.py +7 -1
- gr4vy/models/paymentmethodsummary.py +6 -12
- gr4vy/models/paymentoption.py +3 -3
- gr4vy/models/paymentservice.py +4 -6
- gr4vy/models/paymentserviceconfiguration.py +2 -6
- gr4vy/models/paymentservicedefinition.py +11 -5
- gr4vy/models/paymentservicestatus.py +8 -1
- gr4vy/models/paymentservicetoken.py +3 -3
- gr4vy/models/payoutcategory.py +1 -1
- gr4vy/models/payoutcreate.py +5 -9
- gr4vy/models/payoutstatus.py +7 -1
- gr4vy/models/payoutsummary.py +4 -6
- gr4vy/models/paypaloptions.py +8 -2
- gr4vy/models/paypalshippingoptions.py +51 -0
- gr4vy/models/paypalshippingoptionsitem.py +89 -0
- gr4vy/models/paypalshippingoptionsitemamount.py +20 -0
- gr4vy/models/plaidpaymentmethodcreate.py +106 -0
- gr4vy/models/redirectpaymentmethodcreate.py +4 -6
- gr4vy/models/refund.py +4 -4
- gr4vy/models/refundstatus.py +8 -1
- gr4vy/models/refundtargettype.py +5 -1
- gr4vy/models/report.py +4 -6
- gr4vy/models/reportcreate.py +2 -3
- gr4vy/models/reportcreatortype.py +7 -1
- gr4vy/models/reportexecution.py +3 -3
- gr4vy/models/reportexecutionstatus.py +7 -1
- gr4vy/models/reportexecutionsummary.py +3 -3
- gr4vy/models/reportexecutionurlgenerate.py +16 -0
- gr4vy/models/reportschedule.py +9 -1
- gr4vy/models/reportspec.py +2 -4
- gr4vy/models/reportsummary.py +3 -5
- gr4vy/models/settlement.py +32 -32
- gr4vy/models/statementdescriptor.py +7 -0
- gr4vy/models/stripeconnectoptions.py +7 -0
- gr4vy/models/taxid.py +2 -4
- gr4vy/models/taxidkind.py +7 -0
- gr4vy/models/threedsecuredatav1.py +2 -6
- gr4vy/models/threedsecuredatav2.py +2 -6
- gr4vy/models/threedsecuremethod.py +7 -1
- gr4vy/models/threedsecurestatus.py +7 -1
- gr4vy/models/transaction.py +86 -25
- gr4vy/models/transactionaction.py +48 -0
- gr4vy/models/transactionactions.py +17 -0
- gr4vy/models/transactionbuyer.py +3 -3
- gr4vy/models/transactioncancel.py +81 -0
- gr4vy/models/transactioncapture.py +3 -3
- gr4vy/models/transactionconnectionoptions.py +50 -0
- gr4vy/models/transactioncreate.py +76 -12
- gr4vy/models/transactionevent.py +10 -3
- gr4vy/models/transactionintent.py +7 -1
- gr4vy/models/transactionintentoutcome.py +6 -1
- gr4vy/models/transactionpaymentmethod.py +6 -12
- gr4vy/models/transactionpaymentservice.py +3 -3
- gr4vy/models/transactionpaymentsource.py +7 -1
- gr4vy/models/transactionrefundcreate.py +2 -6
- gr4vy/models/transactionsummary.py +11 -10
- gr4vy/models/transactionthreedsecuresummary.py +3 -9
- gr4vy/models/transactionvoid.py +3 -3
- gr4vy/models/userstatus.py +8 -1
- gr4vy/models/voidstatus.py +7 -1
- gr4vy/network_tokens_cryptogram.py +4 -2
- gr4vy/payment_links_sdk.py +36 -16
- gr4vy/payment_methods_network_tokens.py +27 -13
- gr4vy/payment_methods_payment_service_tokens.py +12 -6
- gr4vy/payment_methods_sdk.py +26 -14
- gr4vy/payment_options_sdk.py +4 -2
- gr4vy/payment_service_definitions_sdk.py +14 -8
- gr4vy/payment_services_sdk.py +36 -22
- gr4vy/payouts.py +18 -12
- gr4vy/refunds_sdk.py +4 -2
- gr4vy/report_executions_sdk.py +6 -4
- gr4vy/reports_sdk.py +23 -13
- gr4vy/sdk.py +17 -4
- gr4vy/sessions.py +12 -6
- gr4vy/transactions.py +446 -33
- gr4vy/transactions_refunds.py +17 -9
- gr4vy/transactions_settlements.py +8 -4
- gr4vy/types/basemodel.py +41 -3
- gr4vy/utils/__init__.py +15 -6
- gr4vy/utils/annotations.py +32 -8
- gr4vy/utils/enums.py +60 -0
- gr4vy/utils/eventstreaming.py +10 -0
- gr4vy/utils/forms.py +21 -10
- gr4vy/utils/queryparams.py +14 -2
- gr4vy/utils/requestbodies.py +1 -1
- gr4vy/utils/retries.py +69 -5
- gr4vy/utils/serializers.py +0 -20
- gr4vy/utils/unmarshal_json_response.py +15 -1
- {gr4vy-1.1.29.dist-info → gr4vy-1.10.9.dist-info}/METADATA +43 -41
- {gr4vy-1.1.29.dist-info → gr4vy-1.10.9.dist-info}/RECORD +217 -196
- {gr4vy-1.1.29.dist-info → gr4vy-1.10.9.dist-info}/WHEEL +1 -1
- gr4vy/models/billingdetails_output.py +0 -87
- gr4vy/models/guestbuyer_output.py +0 -80
gr4vy/models/__init__.py
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
from typing import TYPE_CHECKING
|
|
4
4
|
from importlib import import_module
|
|
5
5
|
import builtins
|
|
6
|
+
import sys
|
|
6
7
|
|
|
7
8
|
if TYPE_CHECKING:
|
|
8
9
|
from .accountsreceivablesreportspec import (
|
|
@@ -52,6 +53,7 @@ if TYPE_CHECKING:
|
|
|
52
53
|
from .adyencardoptions import AdyenCardOptions, AdyenCardOptionsTypedDict
|
|
53
54
|
from .adyenoptions import AdyenOptions, AdyenOptionsTypedDict
|
|
54
55
|
from .adyensepaoptions import AdyenSepaOptions, AdyenSepaOptionsTypedDict
|
|
56
|
+
from .adyensplitsoptions import AdyenSplitsOptions, AdyenSplitsOptionsTypedDict
|
|
55
57
|
from .affirmitineraryoptions import (
|
|
56
58
|
AffirmItineraryOptions,
|
|
57
59
|
AffirmItineraryOptionsTypedDict,
|
|
@@ -79,14 +81,11 @@ if TYPE_CHECKING:
|
|
|
79
81
|
)
|
|
80
82
|
from .auditlogentryuser import AuditLogEntryUser, AuditLogEntryUserTypedDict
|
|
81
83
|
from .avsresponsecode import AVSResponseCode
|
|
82
|
-
from .
|
|
83
|
-
from .billingdetails_output import (
|
|
84
|
-
BillingDetailsOutput,
|
|
85
|
-
BillingDetailsOutputTypedDict,
|
|
86
|
-
)
|
|
84
|
+
from .billingdetails import BillingDetails, BillingDetailsTypedDict
|
|
87
85
|
from .braintreedynamicdatafieldsoptions import (
|
|
88
86
|
BraintreeDynamicDataFieldsOptions,
|
|
89
87
|
BraintreeDynamicDataFieldsOptionsTypedDict,
|
|
88
|
+
VaultPaymentMethodCriteria,
|
|
90
89
|
)
|
|
91
90
|
from .braintreeoptions import BraintreeOptions, BraintreeOptionsTypedDict
|
|
92
91
|
from .browserinfo import BrowserInfo, BrowserInfoTypedDict, UserDevice
|
|
@@ -94,6 +93,13 @@ if TYPE_CHECKING:
|
|
|
94
93
|
from .buyercreate import BuyerCreate, BuyerCreateTypedDict
|
|
95
94
|
from .buyers import Buyers, BuyersTypedDict
|
|
96
95
|
from .buyerupdate import BuyerUpdate, BuyerUpdateTypedDict
|
|
96
|
+
from .cancel_transactionop import (
|
|
97
|
+
CancelTransactionGlobals,
|
|
98
|
+
CancelTransactionGlobalsTypedDict,
|
|
99
|
+
CancelTransactionRequest,
|
|
100
|
+
CancelTransactionRequestTypedDict,
|
|
101
|
+
)
|
|
102
|
+
from .cancelstatus import CancelStatus
|
|
97
103
|
from .capture_transactionop import (
|
|
98
104
|
CaptureTransactionGlobals,
|
|
99
105
|
CaptureTransactionGlobalsTypedDict,
|
|
@@ -122,6 +128,7 @@ if TYPE_CHECKING:
|
|
|
122
128
|
CardWithURLPaymentMethodCreateTypedDict,
|
|
123
129
|
)
|
|
124
130
|
from .cartitem import CartItem, CartItemTypedDict
|
|
131
|
+
from .chaseoptions import ChaseOptions, ChaseOptionsTypedDict
|
|
125
132
|
from .checkoutpayoutoptions import (
|
|
126
133
|
CheckoutPayoutOptions,
|
|
127
134
|
CheckoutPayoutOptionsTypedDict,
|
|
@@ -346,6 +353,16 @@ if TYPE_CHECKING:
|
|
|
346
353
|
from .digitalwallets import DigitalWallets, DigitalWalletsTypedDict
|
|
347
354
|
from .digitalwalletupdate import DigitalWalletUpdate, DigitalWalletUpdateTypedDict
|
|
348
355
|
from .dlocaloptions import DlocalOptions, DlocalOptionsTypedDict
|
|
356
|
+
from .dlocalupioptions import DlocalUPIOptions, DlocalUPIOptionsTypedDict
|
|
357
|
+
from .dlocalupirecurringinfooptions import (
|
|
358
|
+
DlocalUPIRecurringInfoOptions,
|
|
359
|
+
DlocalUPIRecurringInfoOptionsTypedDict,
|
|
360
|
+
SubscriptionFrequencyUnit,
|
|
361
|
+
)
|
|
362
|
+
from .dlocalupiwalletoptions import (
|
|
363
|
+
DlocalUPIWalletOptions,
|
|
364
|
+
DlocalUPIWalletOptionsTypedDict,
|
|
365
|
+
)
|
|
349
366
|
from .dlocalwalletoptions import DlocalWalletOptions, DlocalWalletOptionsTypedDict
|
|
350
367
|
from .errordetail import ErrorDetail, ErrorDetailTypedDict
|
|
351
368
|
from .errorlocation import ErrorLocation
|
|
@@ -361,6 +378,8 @@ if TYPE_CHECKING:
|
|
|
361
378
|
FiservInstallmentOptionsTypedDict,
|
|
362
379
|
)
|
|
363
380
|
from .fiservoptions import FiservOptions, FiservOptionsTypedDict
|
|
381
|
+
from .flow import Flow
|
|
382
|
+
from .flowaction import FlowAction
|
|
364
383
|
from .forterantifraudoptions import (
|
|
365
384
|
ForterAntiFraudOptions,
|
|
366
385
|
ForterAntiFraudOptionsDeliveryType,
|
|
@@ -372,8 +391,8 @@ if TYPE_CHECKING:
|
|
|
372
391
|
)
|
|
373
392
|
from .forterantifraudoptionscartitembasicitemdata import (
|
|
374
393
|
ForterAntiFraudOptionsCartItemBasicItemData,
|
|
394
|
+
ForterAntiFraudOptionsCartItemBasicItemDataType,
|
|
375
395
|
ForterAntiFraudOptionsCartItemBasicItemDataTypedDict,
|
|
376
|
-
Type,
|
|
377
396
|
)
|
|
378
397
|
from .forterantifraudoptionscartitembeneficiary import (
|
|
379
398
|
ForterAntiFraudOptionsCartItemBeneficiary,
|
|
@@ -559,9 +578,9 @@ if TYPE_CHECKING:
|
|
|
559
578
|
GooglePaySessionRequest,
|
|
560
579
|
GooglePaySessionRequestTypedDict,
|
|
561
580
|
)
|
|
562
|
-
from .
|
|
563
|
-
from .guestbuyer_output import GuestBuyerOutput, GuestBuyerOutputTypedDict
|
|
581
|
+
from .guestbuyer import GuestBuyer, GuestBuyerTypedDict
|
|
564
582
|
from .instrumenttype import InstrumentType
|
|
583
|
+
from .integrationclient import IntegrationClient
|
|
565
584
|
from .latitudeoptions import LatitudeOptions, LatitudeOptionsTypedDict
|
|
566
585
|
from .list_all_report_executionsop import (
|
|
567
586
|
ListAllReportExecutionsGlobals,
|
|
@@ -710,11 +729,19 @@ if TYPE_CHECKING:
|
|
|
710
729
|
ListReportsResponse,
|
|
711
730
|
ListReportsResponseTypedDict,
|
|
712
731
|
)
|
|
732
|
+
from .list_transaction_actionsop import (
|
|
733
|
+
ListTransactionActionsGlobals,
|
|
734
|
+
ListTransactionActionsGlobalsTypedDict,
|
|
735
|
+
ListTransactionActionsRequest,
|
|
736
|
+
ListTransactionActionsRequestTypedDict,
|
|
737
|
+
)
|
|
713
738
|
from .list_transaction_eventsop import (
|
|
714
739
|
ListTransactionEventsGlobals,
|
|
715
740
|
ListTransactionEventsGlobalsTypedDict,
|
|
716
741
|
ListTransactionEventsRequest,
|
|
717
742
|
ListTransactionEventsRequestTypedDict,
|
|
743
|
+
ListTransactionEventsResponse,
|
|
744
|
+
ListTransactionEventsResponseTypedDict,
|
|
718
745
|
)
|
|
719
746
|
from .list_transaction_refundsop import (
|
|
720
747
|
ListTransactionRefundsGlobals,
|
|
@@ -762,6 +789,7 @@ if TYPE_CHECKING:
|
|
|
762
789
|
)
|
|
763
790
|
from .mockcardoptions import MockCardOptions, MockCardOptionsTypedDict
|
|
764
791
|
from .mode import Mode
|
|
792
|
+
from .monatospeioptions import MonatoSpeiOptions, MonatoSpeiOptionsTypedDict
|
|
765
793
|
from .networktoken import NetworkToken, NetworkTokenTypedDict
|
|
766
794
|
from .networktokencreate import NetworkTokenCreate, NetworkTokenCreateTypedDict
|
|
767
795
|
from .networktokenpaymentmethodcreate import (
|
|
@@ -775,10 +803,12 @@ if TYPE_CHECKING:
|
|
|
775
803
|
NuveiAirlineDataOptions,
|
|
776
804
|
NuveiAirlineDataOptionsTypedDict,
|
|
777
805
|
)
|
|
806
|
+
from .nuveiidealoptions import NuveiIDealOptions, NuveiIDealOptionsTypedDict
|
|
778
807
|
from .nuveioptions import NuveiOptions, NuveiOptionsTypedDict
|
|
808
|
+
from .nuveipseoptions import NuveiPSEOptions, NuveiPSEOptionsTypedDict
|
|
779
809
|
from .oxxooptions import OxxoOptions, OxxoOptionsTypedDict
|
|
780
810
|
from .paymentlink import PaymentLink, PaymentLinkTypedDict
|
|
781
|
-
from .paymentlinkcreate import
|
|
811
|
+
from .paymentlinkcreate import PaymentLinkCreate, PaymentLinkCreateTypedDict
|
|
782
812
|
from .paymentlinks import PaymentLinks, PaymentLinksTypedDict
|
|
783
813
|
from .paymentlinkstatus import PaymentLinkStatus
|
|
784
814
|
from .paymentmethod import PaymentMethod, PaymentMethodTypedDict
|
|
@@ -880,6 +910,23 @@ if TYPE_CHECKING:
|
|
|
880
910
|
from .payoutsummaries import PayoutSummaries, PayoutSummariesTypedDict
|
|
881
911
|
from .payoutsummary import PayoutSummary, PayoutSummaryTypedDict
|
|
882
912
|
from .paypaloptions import PaypalOptions, PaypalOptionsTypedDict
|
|
913
|
+
from .paypalshippingoptions import (
|
|
914
|
+
PaypalShippingOptions,
|
|
915
|
+
PaypalShippingOptionsTypedDict,
|
|
916
|
+
)
|
|
917
|
+
from .paypalshippingoptionsitem import (
|
|
918
|
+
PaypalShippingOptionsItem,
|
|
919
|
+
PaypalShippingOptionsItemType,
|
|
920
|
+
PaypalShippingOptionsItemTypedDict,
|
|
921
|
+
)
|
|
922
|
+
from .paypalshippingoptionsitemamount import (
|
|
923
|
+
PaypalShippingOptionsItemAmount,
|
|
924
|
+
PaypalShippingOptionsItemAmountTypedDict,
|
|
925
|
+
)
|
|
926
|
+
from .plaidpaymentmethodcreate import (
|
|
927
|
+
PlaidPaymentMethodCreate,
|
|
928
|
+
PlaidPaymentMethodCreateTypedDict,
|
|
929
|
+
)
|
|
883
930
|
from .powertranzoptions import PowertranzOptions, PowertranzOptionsTypedDict
|
|
884
931
|
from .producttype import ProductType
|
|
885
932
|
from .recipient import Recipient, RecipientTypedDict
|
|
@@ -913,6 +960,10 @@ if TYPE_CHECKING:
|
|
|
913
960
|
ReportExecutionSummaryTypedDict,
|
|
914
961
|
)
|
|
915
962
|
from .reportexecutionurl import ReportExecutionURL, ReportExecutionURLTypedDict
|
|
963
|
+
from .reportexecutionurlgenerate import (
|
|
964
|
+
ReportExecutionURLGenerate,
|
|
965
|
+
ReportExecutionURLGenerateTypedDict,
|
|
966
|
+
)
|
|
916
967
|
from .reports import Reports, ReportsTypedDict
|
|
917
968
|
from .reportschedule import ReportSchedule
|
|
918
969
|
from .reportspec import ReportSpec, ReportSpecTypedDict
|
|
@@ -973,7 +1024,10 @@ if TYPE_CHECKING:
|
|
|
973
1024
|
TokenPaymentMethodCreateTypedDict,
|
|
974
1025
|
)
|
|
975
1026
|
from .transaction import Transaction, TransactionTypedDict
|
|
1027
|
+
from .transactionaction import TransactionAction, TransactionActionTypedDict
|
|
1028
|
+
from .transactionactions import TransactionActions, TransactionActionsTypedDict
|
|
976
1029
|
from .transactionbuyer import TransactionBuyer, TransactionBuyerTypedDict
|
|
1030
|
+
from .transactioncancel import TransactionCancel, TransactionCancelTypedDict
|
|
977
1031
|
from .transactioncapture import TransactionCapture, TransactionCaptureTypedDict
|
|
978
1032
|
from .transactioncapturecreate import (
|
|
979
1033
|
TransactionCaptureCreate,
|
|
@@ -1172,6 +1226,8 @@ __all__ = [
|
|
|
1172
1226
|
"AdyenOptionsTypedDict",
|
|
1173
1227
|
"AdyenSepaOptions",
|
|
1174
1228
|
"AdyenSepaOptionsTypedDict",
|
|
1229
|
+
"AdyenSplitsOptions",
|
|
1230
|
+
"AdyenSplitsOptionsTypedDict",
|
|
1175
1231
|
"AffirmItineraryOptions",
|
|
1176
1232
|
"AffirmItineraryOptionsTypedDict",
|
|
1177
1233
|
"AffirmOptions",
|
|
@@ -1198,10 +1254,8 @@ __all__ = [
|
|
|
1198
1254
|
"AuditLogEntryTypedDict",
|
|
1199
1255
|
"AuditLogEntryUser",
|
|
1200
1256
|
"AuditLogEntryUserTypedDict",
|
|
1201
|
-
"
|
|
1202
|
-
"
|
|
1203
|
-
"BillingDetailsOutput",
|
|
1204
|
-
"BillingDetailsOutputTypedDict",
|
|
1257
|
+
"BillingDetails",
|
|
1258
|
+
"BillingDetailsTypedDict",
|
|
1205
1259
|
"Body",
|
|
1206
1260
|
"BodyTypedDict",
|
|
1207
1261
|
"BraintreeDynamicDataFieldsOptions",
|
|
@@ -1219,6 +1273,11 @@ __all__ = [
|
|
|
1219
1273
|
"Buyers",
|
|
1220
1274
|
"BuyersTypedDict",
|
|
1221
1275
|
"CVVResponseCode",
|
|
1276
|
+
"CancelStatus",
|
|
1277
|
+
"CancelTransactionGlobals",
|
|
1278
|
+
"CancelTransactionGlobalsTypedDict",
|
|
1279
|
+
"CancelTransactionRequest",
|
|
1280
|
+
"CancelTransactionRequestTypedDict",
|
|
1222
1281
|
"CaptureStatus",
|
|
1223
1282
|
"CaptureTransactionGlobals",
|
|
1224
1283
|
"CaptureTransactionGlobalsTypedDict",
|
|
@@ -1237,6 +1296,8 @@ __all__ = [
|
|
|
1237
1296
|
"CardWithURLPaymentMethodCreateTypedDict",
|
|
1238
1297
|
"CartItem",
|
|
1239
1298
|
"CartItemTypedDict",
|
|
1299
|
+
"ChaseOptions",
|
|
1300
|
+
"ChaseOptionsTypedDict",
|
|
1240
1301
|
"CheckoutPayoutOptions",
|
|
1241
1302
|
"CheckoutPayoutOptionsTypedDict",
|
|
1242
1303
|
"CheckoutSession",
|
|
@@ -1398,6 +1459,12 @@ __all__ = [
|
|
|
1398
1459
|
"DigitalWalletsTypedDict",
|
|
1399
1460
|
"DlocalOptions",
|
|
1400
1461
|
"DlocalOptionsTypedDict",
|
|
1462
|
+
"DlocalUPIOptions",
|
|
1463
|
+
"DlocalUPIOptionsTypedDict",
|
|
1464
|
+
"DlocalUPIRecurringInfoOptions",
|
|
1465
|
+
"DlocalUPIRecurringInfoOptionsTypedDict",
|
|
1466
|
+
"DlocalUPIWalletOptions",
|
|
1467
|
+
"DlocalUPIWalletOptionsTypedDict",
|
|
1401
1468
|
"DlocalWalletOptions",
|
|
1402
1469
|
"DlocalWalletOptionsTypedDict",
|
|
1403
1470
|
"ErrorDetail",
|
|
@@ -1413,9 +1480,12 @@ __all__ = [
|
|
|
1413
1480
|
"FiservInstallmentOptionsTypedDict",
|
|
1414
1481
|
"FiservOptions",
|
|
1415
1482
|
"FiservOptionsTypedDict",
|
|
1483
|
+
"Flow",
|
|
1484
|
+
"FlowAction",
|
|
1416
1485
|
"ForterAntiFraudOptions",
|
|
1417
1486
|
"ForterAntiFraudOptionsCartItem",
|
|
1418
1487
|
"ForterAntiFraudOptionsCartItemBasicItemData",
|
|
1488
|
+
"ForterAntiFraudOptionsCartItemBasicItemDataType",
|
|
1419
1489
|
"ForterAntiFraudOptionsCartItemBasicItemDataTypedDict",
|
|
1420
1490
|
"ForterAntiFraudOptionsCartItemBeneficiary",
|
|
1421
1491
|
"ForterAntiFraudOptionsCartItemBeneficiaryAddress",
|
|
@@ -1544,11 +1614,10 @@ __all__ = [
|
|
|
1544
1614
|
"GooglePaySessionRequest",
|
|
1545
1615
|
"GooglePaySessionRequestTypedDict",
|
|
1546
1616
|
"GooglePaySessionTypedDict",
|
|
1547
|
-
"
|
|
1548
|
-
"
|
|
1549
|
-
"GuestBuyerOutput",
|
|
1550
|
-
"GuestBuyerOutputTypedDict",
|
|
1617
|
+
"GuestBuyer",
|
|
1618
|
+
"GuestBuyerTypedDict",
|
|
1551
1619
|
"InstrumentType",
|
|
1620
|
+
"IntegrationClient",
|
|
1552
1621
|
"Item",
|
|
1553
1622
|
"ItemTypedDict",
|
|
1554
1623
|
"LatitudeOptions",
|
|
@@ -1657,10 +1726,16 @@ __all__ = [
|
|
|
1657
1726
|
"ListReportsRequestTypedDict",
|
|
1658
1727
|
"ListReportsResponse",
|
|
1659
1728
|
"ListReportsResponseTypedDict",
|
|
1729
|
+
"ListTransactionActionsGlobals",
|
|
1730
|
+
"ListTransactionActionsGlobalsTypedDict",
|
|
1731
|
+
"ListTransactionActionsRequest",
|
|
1732
|
+
"ListTransactionActionsRequestTypedDict",
|
|
1660
1733
|
"ListTransactionEventsGlobals",
|
|
1661
1734
|
"ListTransactionEventsGlobalsTypedDict",
|
|
1662
1735
|
"ListTransactionEventsRequest",
|
|
1663
1736
|
"ListTransactionEventsRequestTypedDict",
|
|
1737
|
+
"ListTransactionEventsResponse",
|
|
1738
|
+
"ListTransactionEventsResponseTypedDict",
|
|
1664
1739
|
"ListTransactionRefundsGlobals",
|
|
1665
1740
|
"ListTransactionRefundsGlobalsTypedDict",
|
|
1666
1741
|
"ListTransactionRefundsRequest",
|
|
@@ -1677,7 +1752,6 @@ __all__ = [
|
|
|
1677
1752
|
"ListTransactionsResponseTypedDict",
|
|
1678
1753
|
"Loc",
|
|
1679
1754
|
"LocTypedDict",
|
|
1680
|
-
"Locale",
|
|
1681
1755
|
"MattildaTapiOptions",
|
|
1682
1756
|
"MattildaTapiOptionsTypedDict",
|
|
1683
1757
|
"MerchantAccount",
|
|
@@ -1698,6 +1772,8 @@ __all__ = [
|
|
|
1698
1772
|
"MockCardOptions",
|
|
1699
1773
|
"MockCardOptionsTypedDict",
|
|
1700
1774
|
"Mode",
|
|
1775
|
+
"MonatoSpeiOptions",
|
|
1776
|
+
"MonatoSpeiOptionsTypedDict",
|
|
1701
1777
|
"Name",
|
|
1702
1778
|
"NetworkToken",
|
|
1703
1779
|
"NetworkTokenCreate",
|
|
@@ -1710,8 +1786,12 @@ __all__ = [
|
|
|
1710
1786
|
"NetworkTokensTypedDict",
|
|
1711
1787
|
"NuveiAirlineDataOptions",
|
|
1712
1788
|
"NuveiAirlineDataOptionsTypedDict",
|
|
1789
|
+
"NuveiIDealOptions",
|
|
1790
|
+
"NuveiIDealOptionsTypedDict",
|
|
1713
1791
|
"NuveiOptions",
|
|
1714
1792
|
"NuveiOptionsTypedDict",
|
|
1793
|
+
"NuveiPSEOptions",
|
|
1794
|
+
"NuveiPSEOptionsTypedDict",
|
|
1715
1795
|
"OrderBy",
|
|
1716
1796
|
"OxxoOptions",
|
|
1717
1797
|
"OxxoOptionsTypedDict",
|
|
@@ -1788,6 +1868,15 @@ __all__ = [
|
|
|
1788
1868
|
"PayoutSummaryTypedDict",
|
|
1789
1869
|
"PaypalOptions",
|
|
1790
1870
|
"PaypalOptionsTypedDict",
|
|
1871
|
+
"PaypalShippingOptions",
|
|
1872
|
+
"PaypalShippingOptionsItem",
|
|
1873
|
+
"PaypalShippingOptionsItemAmount",
|
|
1874
|
+
"PaypalShippingOptionsItemAmountTypedDict",
|
|
1875
|
+
"PaypalShippingOptionsItemType",
|
|
1876
|
+
"PaypalShippingOptionsItemTypedDict",
|
|
1877
|
+
"PaypalShippingOptionsTypedDict",
|
|
1878
|
+
"PlaidPaymentMethodCreate",
|
|
1879
|
+
"PlaidPaymentMethodCreateTypedDict",
|
|
1791
1880
|
"PowertranzOptions",
|
|
1792
1881
|
"PowertranzOptionsTypedDict",
|
|
1793
1882
|
"ProductType",
|
|
@@ -1818,6 +1907,8 @@ __all__ = [
|
|
|
1818
1907
|
"ReportExecutionSummaryTypedDict",
|
|
1819
1908
|
"ReportExecutionTypedDict",
|
|
1820
1909
|
"ReportExecutionURL",
|
|
1910
|
+
"ReportExecutionURLGenerate",
|
|
1911
|
+
"ReportExecutionURLGenerateTypedDict",
|
|
1821
1912
|
"ReportExecutionURLTypedDict",
|
|
1822
1913
|
"ReportExecutions",
|
|
1823
1914
|
"ReportExecutionsTypedDict",
|
|
@@ -1871,6 +1962,7 @@ __all__ = [
|
|
|
1871
1962
|
"StripeConnectOptionsTypedDict",
|
|
1872
1963
|
"StripeOptions",
|
|
1873
1964
|
"StripeOptionsTypedDict",
|
|
1965
|
+
"SubscriptionFrequencyUnit",
|
|
1874
1966
|
"SuspendPaymentMethodNetworkTokenGlobals",
|
|
1875
1967
|
"SuspendPaymentMethodNetworkTokenGlobalsTypedDict",
|
|
1876
1968
|
"SuspendPaymentMethodNetworkTokenRequest",
|
|
@@ -1900,8 +1992,14 @@ __all__ = [
|
|
|
1900
1992
|
"TokenPaymentMethodCreateTypedDict",
|
|
1901
1993
|
"TokenTypedDict",
|
|
1902
1994
|
"Transaction",
|
|
1995
|
+
"TransactionAction",
|
|
1996
|
+
"TransactionActionTypedDict",
|
|
1997
|
+
"TransactionActions",
|
|
1998
|
+
"TransactionActionsTypedDict",
|
|
1903
1999
|
"TransactionBuyer",
|
|
1904
2000
|
"TransactionBuyerTypedDict",
|
|
2001
|
+
"TransactionCancel",
|
|
2002
|
+
"TransactionCancelTypedDict",
|
|
1905
2003
|
"TransactionCapture",
|
|
1906
2004
|
"TransactionCaptureCreate",
|
|
1907
2005
|
"TransactionCaptureCreateTypedDict",
|
|
@@ -1951,7 +2049,6 @@ __all__ = [
|
|
|
1951
2049
|
"TravelhubOptionsTypedDict",
|
|
1952
2050
|
"TrustlyOptions",
|
|
1953
2051
|
"TrustlyOptionsTypedDict",
|
|
1954
|
-
"Type",
|
|
1955
2052
|
"UnregisterDigitalWalletDomainGlobals",
|
|
1956
2053
|
"UnregisterDigitalWalletDomainGlobalsTypedDict",
|
|
1957
2054
|
"UnregisterDigitalWalletDomainRequest",
|
|
@@ -1990,6 +2087,7 @@ __all__ = [
|
|
|
1990
2087
|
"UserStatus",
|
|
1991
2088
|
"ValidationError",
|
|
1992
2089
|
"ValidationErrorTypedDict",
|
|
2090
|
+
"VaultPaymentMethodCriteria",
|
|
1993
2091
|
"VerifyCredentials",
|
|
1994
2092
|
"VerifyCredentialsTypedDict",
|
|
1995
2093
|
"VerifyPaymentServiceCredentialsGlobals",
|
|
@@ -2052,6 +2150,8 @@ _dynamic_imports: dict[str, str] = {
|
|
|
2052
2150
|
"AdyenOptionsTypedDict": ".adyenoptions",
|
|
2053
2151
|
"AdyenSepaOptions": ".adyensepaoptions",
|
|
2054
2152
|
"AdyenSepaOptionsTypedDict": ".adyensepaoptions",
|
|
2153
|
+
"AdyenSplitsOptions": ".adyensplitsoptions",
|
|
2154
|
+
"AdyenSplitsOptionsTypedDict": ".adyensplitsoptions",
|
|
2055
2155
|
"AffirmItineraryOptions": ".affirmitineraryoptions",
|
|
2056
2156
|
"AffirmItineraryOptionsTypedDict": ".affirmitineraryoptions",
|
|
2057
2157
|
"AffirmOptions": ".affirmoptions",
|
|
@@ -2081,12 +2181,11 @@ _dynamic_imports: dict[str, str] = {
|
|
|
2081
2181
|
"AuditLogEntryUser": ".auditlogentryuser",
|
|
2082
2182
|
"AuditLogEntryUserTypedDict": ".auditlogentryuser",
|
|
2083
2183
|
"AVSResponseCode": ".avsresponsecode",
|
|
2084
|
-
"
|
|
2085
|
-
"
|
|
2086
|
-
"BillingDetailsOutput": ".billingdetails_output",
|
|
2087
|
-
"BillingDetailsOutputTypedDict": ".billingdetails_output",
|
|
2184
|
+
"BillingDetails": ".billingdetails",
|
|
2185
|
+
"BillingDetailsTypedDict": ".billingdetails",
|
|
2088
2186
|
"BraintreeDynamicDataFieldsOptions": ".braintreedynamicdatafieldsoptions",
|
|
2089
2187
|
"BraintreeDynamicDataFieldsOptionsTypedDict": ".braintreedynamicdatafieldsoptions",
|
|
2188
|
+
"VaultPaymentMethodCriteria": ".braintreedynamicdatafieldsoptions",
|
|
2090
2189
|
"BraintreeOptions": ".braintreeoptions",
|
|
2091
2190
|
"BraintreeOptionsTypedDict": ".braintreeoptions",
|
|
2092
2191
|
"BrowserInfo": ".browserinfo",
|
|
@@ -2100,6 +2199,11 @@ _dynamic_imports: dict[str, str] = {
|
|
|
2100
2199
|
"BuyersTypedDict": ".buyers",
|
|
2101
2200
|
"BuyerUpdate": ".buyerupdate",
|
|
2102
2201
|
"BuyerUpdateTypedDict": ".buyerupdate",
|
|
2202
|
+
"CancelTransactionGlobals": ".cancel_transactionop",
|
|
2203
|
+
"CancelTransactionGlobalsTypedDict": ".cancel_transactionop",
|
|
2204
|
+
"CancelTransactionRequest": ".cancel_transactionop",
|
|
2205
|
+
"CancelTransactionRequestTypedDict": ".cancel_transactionop",
|
|
2206
|
+
"CancelStatus": ".cancelstatus",
|
|
2103
2207
|
"CaptureTransactionGlobals": ".capture_transactionop",
|
|
2104
2208
|
"CaptureTransactionGlobalsTypedDict": ".capture_transactionop",
|
|
2105
2209
|
"CaptureTransactionRequest": ".capture_transactionop",
|
|
@@ -2119,6 +2223,8 @@ _dynamic_imports: dict[str, str] = {
|
|
|
2119
2223
|
"CardWithURLPaymentMethodCreateTypedDict": ".cardwithurlpaymentmethodcreate",
|
|
2120
2224
|
"CartItem": ".cartitem",
|
|
2121
2225
|
"CartItemTypedDict": ".cartitem",
|
|
2226
|
+
"ChaseOptions": ".chaseoptions",
|
|
2227
|
+
"ChaseOptionsTypedDict": ".chaseoptions",
|
|
2122
2228
|
"CheckoutPayoutOptions": ".checkoutpayoutoptions",
|
|
2123
2229
|
"CheckoutPayoutOptionsTypedDict": ".checkoutpayoutoptions",
|
|
2124
2230
|
"CheckoutSession": ".checkoutsession",
|
|
@@ -2281,6 +2387,13 @@ _dynamic_imports: dict[str, str] = {
|
|
|
2281
2387
|
"DigitalWalletUpdateTypedDict": ".digitalwalletupdate",
|
|
2282
2388
|
"DlocalOptions": ".dlocaloptions",
|
|
2283
2389
|
"DlocalOptionsTypedDict": ".dlocaloptions",
|
|
2390
|
+
"DlocalUPIOptions": ".dlocalupioptions",
|
|
2391
|
+
"DlocalUPIOptionsTypedDict": ".dlocalupioptions",
|
|
2392
|
+
"DlocalUPIRecurringInfoOptions": ".dlocalupirecurringinfooptions",
|
|
2393
|
+
"DlocalUPIRecurringInfoOptionsTypedDict": ".dlocalupirecurringinfooptions",
|
|
2394
|
+
"SubscriptionFrequencyUnit": ".dlocalupirecurringinfooptions",
|
|
2395
|
+
"DlocalUPIWalletOptions": ".dlocalupiwalletoptions",
|
|
2396
|
+
"DlocalUPIWalletOptionsTypedDict": ".dlocalupiwalletoptions",
|
|
2284
2397
|
"DlocalWalletOptions": ".dlocalwalletoptions",
|
|
2285
2398
|
"DlocalWalletOptionsTypedDict": ".dlocalwalletoptions",
|
|
2286
2399
|
"ErrorDetail": ".errordetail",
|
|
@@ -2296,14 +2409,16 @@ _dynamic_imports: dict[str, str] = {
|
|
|
2296
2409
|
"FiservInstallmentOptionsTypedDict": ".fiservinstallmentoptions",
|
|
2297
2410
|
"FiservOptions": ".fiservoptions",
|
|
2298
2411
|
"FiservOptionsTypedDict": ".fiservoptions",
|
|
2412
|
+
"Flow": ".flow",
|
|
2413
|
+
"FlowAction": ".flowaction",
|
|
2299
2414
|
"ForterAntiFraudOptions": ".forterantifraudoptions",
|
|
2300
2415
|
"ForterAntiFraudOptionsDeliveryType": ".forterantifraudoptions",
|
|
2301
2416
|
"ForterAntiFraudOptionsTypedDict": ".forterantifraudoptions",
|
|
2302
2417
|
"ForterAntiFraudOptionsCartItem": ".forterantifraudoptionscartitem",
|
|
2303
2418
|
"ForterAntiFraudOptionsCartItemTypedDict": ".forterantifraudoptionscartitem",
|
|
2304
2419
|
"ForterAntiFraudOptionsCartItemBasicItemData": ".forterantifraudoptionscartitembasicitemdata",
|
|
2420
|
+
"ForterAntiFraudOptionsCartItemBasicItemDataType": ".forterantifraudoptionscartitembasicitemdata",
|
|
2305
2421
|
"ForterAntiFraudOptionsCartItemBasicItemDataTypedDict": ".forterantifraudoptionscartitembasicitemdata",
|
|
2306
|
-
"Type": ".forterantifraudoptionscartitembasicitemdata",
|
|
2307
2422
|
"ForterAntiFraudOptionsCartItemBeneficiary": ".forterantifraudoptionscartitembeneficiary",
|
|
2308
2423
|
"ForterAntiFraudOptionsCartItemBeneficiaryTypedDict": ".forterantifraudoptionscartitembeneficiary",
|
|
2309
2424
|
"ForterAntiFraudOptionsCartItemBeneficiaryAddress": ".forterantifraudoptionscartitembeneficiaryaddress",
|
|
@@ -2430,11 +2545,10 @@ _dynamic_imports: dict[str, str] = {
|
|
|
2430
2545
|
"GooglePaySessionTypedDict": ".googlepaysession",
|
|
2431
2546
|
"GooglePaySessionRequest": ".googlepaysessionrequest",
|
|
2432
2547
|
"GooglePaySessionRequestTypedDict": ".googlepaysessionrequest",
|
|
2433
|
-
"
|
|
2434
|
-
"
|
|
2435
|
-
"GuestBuyerOutput": ".guestbuyer_output",
|
|
2436
|
-
"GuestBuyerOutputTypedDict": ".guestbuyer_output",
|
|
2548
|
+
"GuestBuyer": ".guestbuyer",
|
|
2549
|
+
"GuestBuyerTypedDict": ".guestbuyer",
|
|
2437
2550
|
"InstrumentType": ".instrumenttype",
|
|
2551
|
+
"IntegrationClient": ".integrationclient",
|
|
2438
2552
|
"LatitudeOptions": ".latitudeoptions",
|
|
2439
2553
|
"LatitudeOptionsTypedDict": ".latitudeoptions",
|
|
2440
2554
|
"ListAllReportExecutionsGlobals": ".list_all_report_executionsop",
|
|
@@ -2542,10 +2656,16 @@ _dynamic_imports: dict[str, str] = {
|
|
|
2542
2656
|
"ListReportsRequestTypedDict": ".list_reportsop",
|
|
2543
2657
|
"ListReportsResponse": ".list_reportsop",
|
|
2544
2658
|
"ListReportsResponseTypedDict": ".list_reportsop",
|
|
2659
|
+
"ListTransactionActionsGlobals": ".list_transaction_actionsop",
|
|
2660
|
+
"ListTransactionActionsGlobalsTypedDict": ".list_transaction_actionsop",
|
|
2661
|
+
"ListTransactionActionsRequest": ".list_transaction_actionsop",
|
|
2662
|
+
"ListTransactionActionsRequestTypedDict": ".list_transaction_actionsop",
|
|
2545
2663
|
"ListTransactionEventsGlobals": ".list_transaction_eventsop",
|
|
2546
2664
|
"ListTransactionEventsGlobalsTypedDict": ".list_transaction_eventsop",
|
|
2547
2665
|
"ListTransactionEventsRequest": ".list_transaction_eventsop",
|
|
2548
2666
|
"ListTransactionEventsRequestTypedDict": ".list_transaction_eventsop",
|
|
2667
|
+
"ListTransactionEventsResponse": ".list_transaction_eventsop",
|
|
2668
|
+
"ListTransactionEventsResponseTypedDict": ".list_transaction_eventsop",
|
|
2549
2669
|
"ListTransactionRefundsGlobals": ".list_transaction_refundsop",
|
|
2550
2670
|
"ListTransactionRefundsGlobalsTypedDict": ".list_transaction_refundsop",
|
|
2551
2671
|
"ListTransactionRefundsRequest": ".list_transaction_refundsop",
|
|
@@ -2580,6 +2700,8 @@ _dynamic_imports: dict[str, str] = {
|
|
|
2580
2700
|
"MockCardOptions": ".mockcardoptions",
|
|
2581
2701
|
"MockCardOptionsTypedDict": ".mockcardoptions",
|
|
2582
2702
|
"Mode": ".mode",
|
|
2703
|
+
"MonatoSpeiOptions": ".monatospeioptions",
|
|
2704
|
+
"MonatoSpeiOptionsTypedDict": ".monatospeioptions",
|
|
2583
2705
|
"NetworkToken": ".networktoken",
|
|
2584
2706
|
"NetworkTokenTypedDict": ".networktoken",
|
|
2585
2707
|
"NetworkTokenCreate": ".networktokencreate",
|
|
@@ -2592,13 +2714,16 @@ _dynamic_imports: dict[str, str] = {
|
|
|
2592
2714
|
"NetworkTokenStatus": ".networktokenstatus",
|
|
2593
2715
|
"NuveiAirlineDataOptions": ".nuveiairlinedataoptions",
|
|
2594
2716
|
"NuveiAirlineDataOptionsTypedDict": ".nuveiairlinedataoptions",
|
|
2717
|
+
"NuveiIDealOptions": ".nuveiidealoptions",
|
|
2718
|
+
"NuveiIDealOptionsTypedDict": ".nuveiidealoptions",
|
|
2595
2719
|
"NuveiOptions": ".nuveioptions",
|
|
2596
2720
|
"NuveiOptionsTypedDict": ".nuveioptions",
|
|
2721
|
+
"NuveiPSEOptions": ".nuveipseoptions",
|
|
2722
|
+
"NuveiPSEOptionsTypedDict": ".nuveipseoptions",
|
|
2597
2723
|
"OxxoOptions": ".oxxooptions",
|
|
2598
2724
|
"OxxoOptionsTypedDict": ".oxxooptions",
|
|
2599
2725
|
"PaymentLink": ".paymentlink",
|
|
2600
2726
|
"PaymentLinkTypedDict": ".paymentlink",
|
|
2601
|
-
"Locale": ".paymentlinkcreate",
|
|
2602
2727
|
"PaymentLinkCreate": ".paymentlinkcreate",
|
|
2603
2728
|
"PaymentLinkCreateTypedDict": ".paymentlinkcreate",
|
|
2604
2729
|
"PaymentLinks": ".paymentlinks",
|
|
@@ -2676,6 +2801,15 @@ _dynamic_imports: dict[str, str] = {
|
|
|
2676
2801
|
"PayoutSummaryTypedDict": ".payoutsummary",
|
|
2677
2802
|
"PaypalOptions": ".paypaloptions",
|
|
2678
2803
|
"PaypalOptionsTypedDict": ".paypaloptions",
|
|
2804
|
+
"PaypalShippingOptions": ".paypalshippingoptions",
|
|
2805
|
+
"PaypalShippingOptionsTypedDict": ".paypalshippingoptions",
|
|
2806
|
+
"PaypalShippingOptionsItem": ".paypalshippingoptionsitem",
|
|
2807
|
+
"PaypalShippingOptionsItemType": ".paypalshippingoptionsitem",
|
|
2808
|
+
"PaypalShippingOptionsItemTypedDict": ".paypalshippingoptionsitem",
|
|
2809
|
+
"PaypalShippingOptionsItemAmount": ".paypalshippingoptionsitemamount",
|
|
2810
|
+
"PaypalShippingOptionsItemAmountTypedDict": ".paypalshippingoptionsitemamount",
|
|
2811
|
+
"PlaidPaymentMethodCreate": ".plaidpaymentmethodcreate",
|
|
2812
|
+
"PlaidPaymentMethodCreateTypedDict": ".plaidpaymentmethodcreate",
|
|
2679
2813
|
"PowertranzOptions": ".powertranzoptions",
|
|
2680
2814
|
"PowertranzOptionsTypedDict": ".powertranzoptions",
|
|
2681
2815
|
"ProductType": ".producttype",
|
|
@@ -2712,6 +2846,8 @@ _dynamic_imports: dict[str, str] = {
|
|
|
2712
2846
|
"ReportExecutionSummaryTypedDict": ".reportexecutionsummary",
|
|
2713
2847
|
"ReportExecutionURL": ".reportexecutionurl",
|
|
2714
2848
|
"ReportExecutionURLTypedDict": ".reportexecutionurl",
|
|
2849
|
+
"ReportExecutionURLGenerate": ".reportexecutionurlgenerate",
|
|
2850
|
+
"ReportExecutionURLGenerateTypedDict": ".reportexecutionurlgenerate",
|
|
2715
2851
|
"Reports": ".reports",
|
|
2716
2852
|
"ReportsTypedDict": ".reports",
|
|
2717
2853
|
"ReportSchedule": ".reportschedule",
|
|
@@ -2773,8 +2909,14 @@ _dynamic_imports: dict[str, str] = {
|
|
|
2773
2909
|
"TokenPaymentMethodCreateTypedDict": ".tokenpaymentmethodcreate",
|
|
2774
2910
|
"Transaction": ".transaction",
|
|
2775
2911
|
"TransactionTypedDict": ".transaction",
|
|
2912
|
+
"TransactionAction": ".transactionaction",
|
|
2913
|
+
"TransactionActionTypedDict": ".transactionaction",
|
|
2914
|
+
"TransactionActions": ".transactionactions",
|
|
2915
|
+
"TransactionActionsTypedDict": ".transactionactions",
|
|
2776
2916
|
"TransactionBuyer": ".transactionbuyer",
|
|
2777
2917
|
"TransactionBuyerTypedDict": ".transactionbuyer",
|
|
2918
|
+
"TransactionCancel": ".transactioncancel",
|
|
2919
|
+
"TransactionCancelTypedDict": ".transactioncancel",
|
|
2778
2920
|
"TransactionCapture": ".transactioncapture",
|
|
2779
2921
|
"TransactionCaptureTypedDict": ".transactioncapture",
|
|
2780
2922
|
"TransactionCaptureCreate": ".transactioncapturecreate",
|
|
@@ -2897,6 +3039,18 @@ _dynamic_imports: dict[str, str] = {
|
|
|
2897
3039
|
}
|
|
2898
3040
|
|
|
2899
3041
|
|
|
3042
|
+
def dynamic_import(modname, retries=3):
|
|
3043
|
+
for attempt in range(retries):
|
|
3044
|
+
try:
|
|
3045
|
+
return import_module(modname, __package__)
|
|
3046
|
+
except KeyError:
|
|
3047
|
+
# Clear any half-initialized module and retry
|
|
3048
|
+
sys.modules.pop(modname, None)
|
|
3049
|
+
if attempt == retries - 1:
|
|
3050
|
+
break
|
|
3051
|
+
raise KeyError(f"Failed to import module '{modname}' after {retries} attempts")
|
|
3052
|
+
|
|
3053
|
+
|
|
2900
3054
|
def __getattr__(attr_name: str) -> object:
|
|
2901
3055
|
module_name = _dynamic_imports.get(attr_name)
|
|
2902
3056
|
if module_name is None:
|
|
@@ -2905,7 +3059,7 @@ def __getattr__(attr_name: str) -> object:
|
|
|
2905
3059
|
)
|
|
2906
3060
|
|
|
2907
3061
|
try:
|
|
2908
|
-
module =
|
|
3062
|
+
module = dynamic_import(module_name)
|
|
2909
3063
|
result = getattr(module, attr_name)
|
|
2910
3064
|
return result
|
|
2911
3065
|
except ImportError as e:
|
|
@@ -7,7 +7,9 @@ from typing import Literal, Union
|
|
|
7
7
|
|
|
8
8
|
AdyenAutoRescueSepaScenariosEnum = Union[
|
|
9
9
|
Literal[
|
|
10
|
-
"AutoRescueSuccessfulFirst",
|
|
10
|
+
"AutoRescueSuccessfulFirst",
|
|
11
|
+
"AutoRescueSuccessfulSecond",
|
|
12
|
+
"AutoRescueFailed",
|
|
11
13
|
],
|
|
12
14
|
UnrecognizedStr,
|
|
13
15
|
]
|
gr4vy/models/adyencardoptions.py
CHANGED
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from .adyencardautorescuescenariosenum import AdyenCardAutoRescueScenariosEnum
|
|
5
|
+
from .adyensplitsoptions import AdyenSplitsOptions, AdyenSplitsOptionsTypedDict
|
|
5
6
|
from gr4vy.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL
|
|
6
|
-
from gr4vy.utils import validate_open_enum
|
|
7
7
|
import pydantic
|
|
8
8
|
from pydantic import model_serializer
|
|
9
|
-
from pydantic.functional_validators import PlainValidator
|
|
10
9
|
from typing import Dict
|
|
11
10
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
12
11
|
|
|
@@ -22,6 +21,8 @@ class AdyenCardOptionsTypedDict(TypedDict):
|
|
|
22
21
|
r"""The rescue scenario to simulate for a transaction, when `autoRescue` is set to `true`."""
|
|
23
22
|
window_origin: NotRequired[Nullable[str]]
|
|
24
23
|
r"""The origin of the window where the payment is initiated, used for 3D Secure authentication."""
|
|
24
|
+
splits: NotRequired[Nullable[AdyenSplitsOptionsTypedDict]]
|
|
25
|
+
r"""Passes information of splitting payment amounts to the Adyen API."""
|
|
25
26
|
|
|
26
27
|
|
|
27
28
|
class AdyenCardOptions(BaseModel):
|
|
@@ -41,10 +42,7 @@ class AdyenCardOptions(BaseModel):
|
|
|
41
42
|
r"""Passes additional data to the Adyen API when creating a transaction."""
|
|
42
43
|
|
|
43
44
|
auto_rescue_scenario: Annotated[
|
|
44
|
-
|
|
45
|
-
OptionalNullable[AdyenCardAutoRescueScenariosEnum],
|
|
46
|
-
PlainValidator(validate_open_enum(False)),
|
|
47
|
-
],
|
|
45
|
+
OptionalNullable[AdyenCardAutoRescueScenariosEnum],
|
|
48
46
|
pydantic.Field(alias="autoRescueScenario"),
|
|
49
47
|
] = UNSET
|
|
50
48
|
r"""The rescue scenario to simulate for a transaction, when `autoRescue` is set to `true`."""
|
|
@@ -52,6 +50,9 @@ class AdyenCardOptions(BaseModel):
|
|
|
52
50
|
window_origin: OptionalNullable[str] = UNSET
|
|
53
51
|
r"""The origin of the window where the payment is initiated, used for 3D Secure authentication."""
|
|
54
52
|
|
|
53
|
+
splits: OptionalNullable[AdyenSplitsOptions] = UNSET
|
|
54
|
+
r"""Passes information of splitting payment amounts to the Adyen API."""
|
|
55
|
+
|
|
55
56
|
@model_serializer(mode="wrap")
|
|
56
57
|
def serialize_model(self, handler):
|
|
57
58
|
optional_fields = [
|
|
@@ -60,6 +61,7 @@ class AdyenCardOptions(BaseModel):
|
|
|
60
61
|
"additionalData",
|
|
61
62
|
"autoRescueScenario",
|
|
62
63
|
"window_origin",
|
|
64
|
+
"splits",
|
|
63
65
|
]
|
|
64
66
|
nullable_fields = [
|
|
65
67
|
"autoRescue",
|
|
@@ -67,6 +69,7 @@ class AdyenCardOptions(BaseModel):
|
|
|
67
69
|
"additionalData",
|
|
68
70
|
"autoRescueScenario",
|
|
69
71
|
"window_origin",
|
|
72
|
+
"splits",
|
|
70
73
|
]
|
|
71
74
|
null_default_fields = []
|
|
72
75
|
|
gr4vy/models/adyensepaoptions.py
CHANGED
|
@@ -3,10 +3,8 @@
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from .adyenautorescuesepascenariosenum import AdyenAutoRescueSepaScenariosEnum
|
|
5
5
|
from gr4vy.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL
|
|
6
|
-
from gr4vy.utils import validate_open_enum
|
|
7
6
|
import pydantic
|
|
8
7
|
from pydantic import model_serializer
|
|
9
|
-
from pydantic.functional_validators import PlainValidator
|
|
10
8
|
from typing import Dict
|
|
11
9
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
12
10
|
|
|
@@ -41,10 +39,7 @@ class AdyenSepaOptions(BaseModel):
|
|
|
41
39
|
r"""Passes additional data to the Adyen API when creating a transaction."""
|
|
42
40
|
|
|
43
41
|
auto_rescue_sepa_scenario: Annotated[
|
|
44
|
-
|
|
45
|
-
OptionalNullable[AdyenAutoRescueSepaScenariosEnum],
|
|
46
|
-
PlainValidator(validate_open_enum(False)),
|
|
47
|
-
],
|
|
42
|
+
OptionalNullable[AdyenAutoRescueSepaScenariosEnum],
|
|
48
43
|
pydantic.Field(alias="autoRescueSepaScenario"),
|
|
49
44
|
] = UNSET
|
|
50
45
|
r"""The rescue scenario to simulate for a transaction, when `autoRescue` is set to `true`."""
|