gr4vy 1.5.2__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/actions.py +307 -0
- gr4vy/all.py +4 -2
- gr4vy/audit_logs.py +4 -2
- gr4vy/balances.py +4 -2
- gr4vy/basesdk.py +6 -0
- gr4vy/buyers_gift_cards.py +4 -2
- gr4vy/buyers_payment_methods.py +4 -2
- gr4vy/buyers_sdk.py +28 -18
- gr4vy/buyers_shipping_details.py +20 -10
- gr4vy/card_scheme_definitions_sdk.py +4 -2
- gr4vy/checkout_sessions.py +40 -14
- gr4vy/digital_wallets_sdk.py +20 -10
- gr4vy/domains.py +8 -4
- gr4vy/errors/apierror.py +1 -1
- gr4vy/errors/error400.py +1 -5
- gr4vy/errors/error401.py +1 -5
- gr4vy/errors/error403.py +1 -5
- gr4vy/errors/error404.py +1 -5
- gr4vy/errors/error405.py +1 -5
- gr4vy/errors/error409.py +1 -5
- gr4vy/errors/error425.py +1 -5
- gr4vy/errors/error429.py +1 -5
- gr4vy/errors/error500.py +1 -5
- gr4vy/errors/error502.py +1 -5
- gr4vy/errors/error504.py +1 -5
- gr4vy/errors/gr4vyerror.py +1 -1
- gr4vy/errors/httpvalidationerror.py +1 -1
- gr4vy/errors/no_response_error.py +1 -1
- gr4vy/errors/responsevalidationerror.py +1 -1
- gr4vy/events.py +54 -7
- gr4vy/executions.py +12 -6
- gr4vy/gift_cards_sdk.py +16 -8
- gr4vy/jobs.py +4 -2
- gr4vy/merchant_accounts_sdk.py +16 -8
- gr4vy/models/__init__.py +103 -29
- gr4vy/models/adyencardoptions.py +1 -6
- gr4vy/models/adyensepaoptions.py +1 -6
- gr4vy/models/airline.py +2 -7
- gr4vy/models/airlineleg.py +2 -6
- gr4vy/models/airlinepassenger.py +2 -6
- 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 +2 -7
- gr4vy/models/browserinfo.py +2 -4
- gr4vy/models/buyer.py +3 -3
- gr4vy/models/buyercreate.py +3 -3
- gr4vy/models/buyerupdate.py +3 -3
- gr4vy/models/cartitem.py +9 -6
- 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/createsession.py +3 -3
- gr4vy/models/cybersourceoptions.py +7 -0
- gr4vy/models/definitionfield.py +1 -6
- gr4vy/models/digitalwallet.py +3 -5
- gr4vy/models/digitalwalletcreate.py +2 -6
- gr4vy/models/dlocalupirecurringinfooptions.py +13 -15
- gr4vy/models/errordetail.py +2 -4
- gr4vy/models/flow.py +16 -0
- gr4vy/models/flowaction.py +16 -0
- gr4vy/models/forterantifraudoptions.py +2 -7
- gr4vy/models/forterantifraudoptionscartitembasicitemdata.py +4 -8
- gr4vy/models/forterantifraudoptionscartitemdeliverydetails.py +3 -6
- gr4vy/models/giftcardredemption.py +4 -8
- gr4vy/models/giftcardservice.py +3 -5
- 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/list_all_report_executionsop.py +2 -14
- gr4vy/models/list_audit_logsop.py +2 -10
- gr4vy/models/list_buyer_payment_methodsop.py +2 -3
- 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 +4 -22
- gr4vy/models/merchantaccount.py +3 -5
- gr4vy/models/merchantaccountcreate.py +2 -6
- gr4vy/models/merchantaccountupdate.py +2 -6
- gr4vy/models/method.py +3 -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 +4 -8
- gr4vy/models/nuveiidealoptions.py +49 -0
- gr4vy/models/paymentlink.py +18 -7
- gr4vy/models/paymentlinkcreate.py +23 -37
- gr4vy/models/paymentmethod.py +7 -13
- gr4vy/models/paymentmethodcard.py +3 -5
- gr4vy/models/paymentmethoddetailscard.py +2 -6
- 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/paymentservicetoken.py +3 -3
- gr4vy/models/payoutcreate.py +5 -9
- 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 +3 -6
- gr4vy/models/refund.py +4 -4
- gr4vy/models/report.py +4 -6
- gr4vy/models/reportcreate.py +2 -3
- gr4vy/models/reportexecution.py +3 -3
- gr4vy/models/reportexecutionsummary.py +3 -3
- gr4vy/models/reportspec.py +2 -4
- gr4vy/models/reportsummary.py +3 -5
- gr4vy/models/taxid.py +2 -4
- gr4vy/models/taxidkind.py +6 -0
- gr4vy/models/threedsecuredatav1.py +2 -6
- gr4vy/models/threedsecuredatav2.py +2 -6
- gr4vy/models/transaction.py +74 -25
- gr4vy/models/transactionaction.py +48 -0
- gr4vy/models/transactionactions.py +17 -0
- gr4vy/models/transactionbuyer.py +3 -3
- gr4vy/models/transactioncancel.py +3 -3
- gr4vy/models/transactioncapture.py +3 -3
- gr4vy/models/transactionconnectionoptions.py +30 -0
- gr4vy/models/transactioncreate.py +27 -12
- gr4vy/models/transactionevent.py +5 -3
- gr4vy/models/transactionpaymentmethod.py +6 -12
- gr4vy/models/transactionpaymentservice.py +3 -3
- gr4vy/models/transactionrefundcreate.py +2 -6
- gr4vy/models/transactionsummary.py +6 -10
- gr4vy/models/transactionthreedsecuresummary.py +3 -9
- gr4vy/models/transactionvoid.py +3 -3
- gr4vy/models/trustlyoptions.py +2 -9
- gr4vy/network_tokens_cryptogram.py +4 -2
- gr4vy/payment_links_sdk.py +34 -14
- gr4vy/payment_methods_network_tokens.py +20 -10
- gr4vy/payment_methods_payment_service_tokens.py +12 -6
- gr4vy/payment_methods_sdk.py +16 -8
- gr4vy/payment_options_sdk.py +4 -2
- gr4vy/payment_service_definitions_sdk.py +12 -6
- gr4vy/payment_services_sdk.py +28 -14
- gr4vy/payouts.py +16 -10
- gr4vy/refunds_sdk.py +4 -2
- gr4vy/report_executions_sdk.py +4 -2
- gr4vy/reports_sdk.py +16 -8
- gr4vy/sessions.py +12 -6
- gr4vy/transactions.py +99 -28
- gr4vy/transactions_refunds.py +12 -6
- gr4vy/transactions_settlements.py +8 -4
- gr4vy/types/basemodel.py +41 -3
- gr4vy/utils/__init__.py +0 -3
- gr4vy/utils/enums.py +60 -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.5.2.dist-info → gr4vy-1.10.9.dist-info}/METADATA +39 -39
- {gr4vy-1.5.2.dist-info → gr4vy-1.10.9.dist-info}/RECORD +167 -155
- gr4vy/models/billingdetails_output.py +0 -87
- gr4vy/models/guestbuyer_output.py +0 -80
- {gr4vy-1.5.2.dist-info → gr4vy-1.10.9.dist-info}/WHEEL +0 -0
|
@@ -65,6 +65,7 @@ class PaymentMethodsPaymentServiceTokens(BaseSDK):
|
|
|
65
65
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
66
66
|
),
|
|
67
67
|
security=self.sdk_configuration.security,
|
|
68
|
+
allow_empty_value=None,
|
|
68
69
|
timeout_ms=timeout_ms,
|
|
69
70
|
)
|
|
70
71
|
|
|
@@ -85,7 +86,7 @@ class PaymentMethodsPaymentServiceTokens(BaseSDK):
|
|
|
85
86
|
config=self.sdk_configuration,
|
|
86
87
|
base_url=base_url or "",
|
|
87
88
|
operation_id="list_payment_method_payment_service_tokens",
|
|
88
|
-
oauth2_scopes=
|
|
89
|
+
oauth2_scopes=None,
|
|
89
90
|
security_source=get_security_from_env(
|
|
90
91
|
self.sdk_configuration.security, models.Security
|
|
91
92
|
),
|
|
@@ -215,6 +216,7 @@ class PaymentMethodsPaymentServiceTokens(BaseSDK):
|
|
|
215
216
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
216
217
|
),
|
|
217
218
|
security=self.sdk_configuration.security,
|
|
219
|
+
allow_empty_value=None,
|
|
218
220
|
timeout_ms=timeout_ms,
|
|
219
221
|
)
|
|
220
222
|
|
|
@@ -235,7 +237,7 @@ class PaymentMethodsPaymentServiceTokens(BaseSDK):
|
|
|
235
237
|
config=self.sdk_configuration,
|
|
236
238
|
base_url=base_url or "",
|
|
237
239
|
operation_id="list_payment_method_payment_service_tokens",
|
|
238
|
-
oauth2_scopes=
|
|
240
|
+
oauth2_scopes=None,
|
|
239
241
|
security_source=get_security_from_env(
|
|
240
242
|
self.sdk_configuration.security, models.Security
|
|
241
243
|
),
|
|
@@ -380,6 +382,7 @@ class PaymentMethodsPaymentServiceTokens(BaseSDK):
|
|
|
380
382
|
"json",
|
|
381
383
|
models.PaymentServiceTokenCreate,
|
|
382
384
|
),
|
|
385
|
+
allow_empty_value=None,
|
|
383
386
|
timeout_ms=timeout_ms,
|
|
384
387
|
)
|
|
385
388
|
|
|
@@ -396,7 +399,7 @@ class PaymentMethodsPaymentServiceTokens(BaseSDK):
|
|
|
396
399
|
config=self.sdk_configuration,
|
|
397
400
|
base_url=base_url or "",
|
|
398
401
|
operation_id="create_payment_method_payment_service_token",
|
|
399
|
-
oauth2_scopes=
|
|
402
|
+
oauth2_scopes=None,
|
|
400
403
|
security_source=get_security_from_env(
|
|
401
404
|
self.sdk_configuration.security, models.Security
|
|
402
405
|
),
|
|
@@ -541,6 +544,7 @@ class PaymentMethodsPaymentServiceTokens(BaseSDK):
|
|
|
541
544
|
"json",
|
|
542
545
|
models.PaymentServiceTokenCreate,
|
|
543
546
|
),
|
|
547
|
+
allow_empty_value=None,
|
|
544
548
|
timeout_ms=timeout_ms,
|
|
545
549
|
)
|
|
546
550
|
|
|
@@ -557,7 +561,7 @@ class PaymentMethodsPaymentServiceTokens(BaseSDK):
|
|
|
557
561
|
config=self.sdk_configuration,
|
|
558
562
|
base_url=base_url or "",
|
|
559
563
|
operation_id="create_payment_method_payment_service_token",
|
|
560
|
-
oauth2_scopes=
|
|
564
|
+
oauth2_scopes=None,
|
|
561
565
|
security_source=get_security_from_env(
|
|
562
566
|
self.sdk_configuration.security, models.Security
|
|
563
567
|
),
|
|
@@ -687,6 +691,7 @@ class PaymentMethodsPaymentServiceTokens(BaseSDK):
|
|
|
687
691
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
688
692
|
),
|
|
689
693
|
security=self.sdk_configuration.security,
|
|
694
|
+
allow_empty_value=None,
|
|
690
695
|
timeout_ms=timeout_ms,
|
|
691
696
|
)
|
|
692
697
|
|
|
@@ -703,7 +708,7 @@ class PaymentMethodsPaymentServiceTokens(BaseSDK):
|
|
|
703
708
|
config=self.sdk_configuration,
|
|
704
709
|
base_url=base_url or "",
|
|
705
710
|
operation_id="delete_payment_method_payment_service_token",
|
|
706
|
-
oauth2_scopes=
|
|
711
|
+
oauth2_scopes=None,
|
|
707
712
|
security_source=get_security_from_env(
|
|
708
713
|
self.sdk_configuration.security, models.Security
|
|
709
714
|
),
|
|
@@ -833,6 +838,7 @@ class PaymentMethodsPaymentServiceTokens(BaseSDK):
|
|
|
833
838
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
834
839
|
),
|
|
835
840
|
security=self.sdk_configuration.security,
|
|
841
|
+
allow_empty_value=None,
|
|
836
842
|
timeout_ms=timeout_ms,
|
|
837
843
|
)
|
|
838
844
|
|
|
@@ -849,7 +855,7 @@ class PaymentMethodsPaymentServiceTokens(BaseSDK):
|
|
|
849
855
|
config=self.sdk_configuration,
|
|
850
856
|
base_url=base_url or "",
|
|
851
857
|
operation_id="delete_payment_method_payment_service_token",
|
|
852
|
-
oauth2_scopes=
|
|
858
|
+
oauth2_scopes=None,
|
|
853
859
|
security_source=get_security_from_env(
|
|
854
860
|
self.sdk_configuration.security, models.Security
|
|
855
861
|
),
|
gr4vy/payment_methods_sdk.py
CHANGED
|
@@ -101,6 +101,7 @@ class PaymentMethodsSDK(BaseSDK):
|
|
|
101
101
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
102
102
|
),
|
|
103
103
|
security=self.sdk_configuration.security,
|
|
104
|
+
allow_empty_value=None,
|
|
104
105
|
timeout_ms=timeout_ms,
|
|
105
106
|
)
|
|
106
107
|
|
|
@@ -121,7 +122,7 @@ class PaymentMethodsSDK(BaseSDK):
|
|
|
121
122
|
config=self.sdk_configuration,
|
|
122
123
|
base_url=base_url or "",
|
|
123
124
|
operation_id="list_payment_methods",
|
|
124
|
-
oauth2_scopes=
|
|
125
|
+
oauth2_scopes=None,
|
|
125
126
|
security_source=get_security_from_env(
|
|
126
127
|
self.sdk_configuration.security, models.Security
|
|
127
128
|
),
|
|
@@ -288,6 +289,7 @@ class PaymentMethodsSDK(BaseSDK):
|
|
|
288
289
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
289
290
|
),
|
|
290
291
|
security=self.sdk_configuration.security,
|
|
292
|
+
allow_empty_value=None,
|
|
291
293
|
timeout_ms=timeout_ms,
|
|
292
294
|
)
|
|
293
295
|
|
|
@@ -308,7 +310,7 @@ class PaymentMethodsSDK(BaseSDK):
|
|
|
308
310
|
config=self.sdk_configuration,
|
|
309
311
|
base_url=base_url or "",
|
|
310
312
|
operation_id="list_payment_methods",
|
|
311
|
-
oauth2_scopes=
|
|
313
|
+
oauth2_scopes=None,
|
|
312
314
|
security_source=get_security_from_env(
|
|
313
315
|
self.sdk_configuration.security, models.Security
|
|
314
316
|
),
|
|
@@ -463,6 +465,7 @@ class PaymentMethodsSDK(BaseSDK):
|
|
|
463
465
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
464
466
|
request.request_body, False, False, "json", models.Body
|
|
465
467
|
),
|
|
468
|
+
allow_empty_value=None,
|
|
466
469
|
timeout_ms=timeout_ms,
|
|
467
470
|
)
|
|
468
471
|
|
|
@@ -479,7 +482,7 @@ class PaymentMethodsSDK(BaseSDK):
|
|
|
479
482
|
config=self.sdk_configuration,
|
|
480
483
|
base_url=base_url or "",
|
|
481
484
|
operation_id="create_payment_method",
|
|
482
|
-
oauth2_scopes=
|
|
485
|
+
oauth2_scopes=None,
|
|
483
486
|
security_source=get_security_from_env(
|
|
484
487
|
self.sdk_configuration.security, models.Security
|
|
485
488
|
),
|
|
@@ -609,6 +612,7 @@ class PaymentMethodsSDK(BaseSDK):
|
|
|
609
612
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
610
613
|
request.request_body, False, False, "json", models.Body
|
|
611
614
|
),
|
|
615
|
+
allow_empty_value=None,
|
|
612
616
|
timeout_ms=timeout_ms,
|
|
613
617
|
)
|
|
614
618
|
|
|
@@ -625,7 +629,7 @@ class PaymentMethodsSDK(BaseSDK):
|
|
|
625
629
|
config=self.sdk_configuration,
|
|
626
630
|
base_url=base_url or "",
|
|
627
631
|
operation_id="create_payment_method",
|
|
628
|
-
oauth2_scopes=
|
|
632
|
+
oauth2_scopes=None,
|
|
629
633
|
security_source=get_security_from_env(
|
|
630
634
|
self.sdk_configuration.security, models.Security
|
|
631
635
|
),
|
|
@@ -752,6 +756,7 @@ class PaymentMethodsSDK(BaseSDK):
|
|
|
752
756
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
753
757
|
),
|
|
754
758
|
security=self.sdk_configuration.security,
|
|
759
|
+
allow_empty_value=None,
|
|
755
760
|
timeout_ms=timeout_ms,
|
|
756
761
|
)
|
|
757
762
|
|
|
@@ -772,7 +777,7 @@ class PaymentMethodsSDK(BaseSDK):
|
|
|
772
777
|
config=self.sdk_configuration,
|
|
773
778
|
base_url=base_url or "",
|
|
774
779
|
operation_id="get_payment_method",
|
|
775
|
-
oauth2_scopes=
|
|
780
|
+
oauth2_scopes=None,
|
|
776
781
|
security_source=get_security_from_env(
|
|
777
782
|
self.sdk_configuration.security, models.Security
|
|
778
783
|
),
|
|
@@ -899,6 +904,7 @@ class PaymentMethodsSDK(BaseSDK):
|
|
|
899
904
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
900
905
|
),
|
|
901
906
|
security=self.sdk_configuration.security,
|
|
907
|
+
allow_empty_value=None,
|
|
902
908
|
timeout_ms=timeout_ms,
|
|
903
909
|
)
|
|
904
910
|
|
|
@@ -919,7 +925,7 @@ class PaymentMethodsSDK(BaseSDK):
|
|
|
919
925
|
config=self.sdk_configuration,
|
|
920
926
|
base_url=base_url or "",
|
|
921
927
|
operation_id="get_payment_method",
|
|
922
|
-
oauth2_scopes=
|
|
928
|
+
oauth2_scopes=None,
|
|
923
929
|
security_source=get_security_from_env(
|
|
924
930
|
self.sdk_configuration.security, models.Security
|
|
925
931
|
),
|
|
@@ -1046,6 +1052,7 @@ class PaymentMethodsSDK(BaseSDK):
|
|
|
1046
1052
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
1047
1053
|
),
|
|
1048
1054
|
security=self.sdk_configuration.security,
|
|
1055
|
+
allow_empty_value=None,
|
|
1049
1056
|
timeout_ms=timeout_ms,
|
|
1050
1057
|
)
|
|
1051
1058
|
|
|
@@ -1062,7 +1069,7 @@ class PaymentMethodsSDK(BaseSDK):
|
|
|
1062
1069
|
config=self.sdk_configuration,
|
|
1063
1070
|
base_url=base_url or "",
|
|
1064
1071
|
operation_id="delete_payment_method",
|
|
1065
|
-
oauth2_scopes=
|
|
1072
|
+
oauth2_scopes=None,
|
|
1066
1073
|
security_source=get_security_from_env(
|
|
1067
1074
|
self.sdk_configuration.security, models.Security
|
|
1068
1075
|
),
|
|
@@ -1189,6 +1196,7 @@ class PaymentMethodsSDK(BaseSDK):
|
|
|
1189
1196
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
1190
1197
|
),
|
|
1191
1198
|
security=self.sdk_configuration.security,
|
|
1199
|
+
allow_empty_value=None,
|
|
1192
1200
|
timeout_ms=timeout_ms,
|
|
1193
1201
|
)
|
|
1194
1202
|
|
|
@@ -1205,7 +1213,7 @@ class PaymentMethodsSDK(BaseSDK):
|
|
|
1205
1213
|
config=self.sdk_configuration,
|
|
1206
1214
|
base_url=base_url or "",
|
|
1207
1215
|
operation_id="delete_payment_method",
|
|
1208
|
-
oauth2_scopes=
|
|
1216
|
+
oauth2_scopes=None,
|
|
1209
1217
|
security_source=get_security_from_env(
|
|
1210
1218
|
self.sdk_configuration.security, models.Security
|
|
1211
1219
|
),
|
gr4vy/payment_options_sdk.py
CHANGED
|
@@ -90,6 +90,7 @@ class PaymentOptionsSDK(BaseSDK):
|
|
|
90
90
|
"json",
|
|
91
91
|
models.PaymentOptionRequest,
|
|
92
92
|
),
|
|
93
|
+
allow_empty_value=None,
|
|
93
94
|
timeout_ms=timeout_ms,
|
|
94
95
|
)
|
|
95
96
|
|
|
@@ -106,7 +107,7 @@ class PaymentOptionsSDK(BaseSDK):
|
|
|
106
107
|
config=self.sdk_configuration,
|
|
107
108
|
base_url=base_url or "",
|
|
108
109
|
operation_id="list_payment_options",
|
|
109
|
-
oauth2_scopes=
|
|
110
|
+
oauth2_scopes=None,
|
|
110
111
|
security_source=get_security_from_env(
|
|
111
112
|
self.sdk_configuration.security, models.Security
|
|
112
113
|
),
|
|
@@ -261,6 +262,7 @@ class PaymentOptionsSDK(BaseSDK):
|
|
|
261
262
|
"json",
|
|
262
263
|
models.PaymentOptionRequest,
|
|
263
264
|
),
|
|
265
|
+
allow_empty_value=None,
|
|
264
266
|
timeout_ms=timeout_ms,
|
|
265
267
|
)
|
|
266
268
|
|
|
@@ -277,7 +279,7 @@ class PaymentOptionsSDK(BaseSDK):
|
|
|
277
279
|
config=self.sdk_configuration,
|
|
278
280
|
base_url=base_url or "",
|
|
279
281
|
operation_id="list_payment_options",
|
|
280
|
-
oauth2_scopes=
|
|
282
|
+
oauth2_scopes=None,
|
|
281
283
|
security_source=get_security_from_env(
|
|
282
284
|
self.sdk_configuration.security, models.Security
|
|
283
285
|
),
|
|
@@ -60,6 +60,7 @@ class PaymentServiceDefinitionsSDK(BaseSDK):
|
|
|
60
60
|
accept_header_value="application/json",
|
|
61
61
|
http_headers=http_headers,
|
|
62
62
|
security=self.sdk_configuration.security,
|
|
63
|
+
allow_empty_value=None,
|
|
63
64
|
timeout_ms=timeout_ms,
|
|
64
65
|
)
|
|
65
66
|
|
|
@@ -80,7 +81,7 @@ class PaymentServiceDefinitionsSDK(BaseSDK):
|
|
|
80
81
|
config=self.sdk_configuration,
|
|
81
82
|
base_url=base_url or "",
|
|
82
83
|
operation_id="list_payment_service_definitions",
|
|
83
|
-
oauth2_scopes=
|
|
84
|
+
oauth2_scopes=None,
|
|
84
85
|
security_source=get_security_from_env(
|
|
85
86
|
self.sdk_configuration.security, models.Security
|
|
86
87
|
),
|
|
@@ -226,6 +227,7 @@ class PaymentServiceDefinitionsSDK(BaseSDK):
|
|
|
226
227
|
accept_header_value="application/json",
|
|
227
228
|
http_headers=http_headers,
|
|
228
229
|
security=self.sdk_configuration.security,
|
|
230
|
+
allow_empty_value=None,
|
|
229
231
|
timeout_ms=timeout_ms,
|
|
230
232
|
)
|
|
231
233
|
|
|
@@ -246,7 +248,7 @@ class PaymentServiceDefinitionsSDK(BaseSDK):
|
|
|
246
248
|
config=self.sdk_configuration,
|
|
247
249
|
base_url=base_url or "",
|
|
248
250
|
operation_id="list_payment_service_definitions",
|
|
249
|
-
oauth2_scopes=
|
|
251
|
+
oauth2_scopes=None,
|
|
250
252
|
security_source=get_security_from_env(
|
|
251
253
|
self.sdk_configuration.security, models.Security
|
|
252
254
|
),
|
|
@@ -389,6 +391,7 @@ class PaymentServiceDefinitionsSDK(BaseSDK):
|
|
|
389
391
|
accept_header_value="application/json",
|
|
390
392
|
http_headers=http_headers,
|
|
391
393
|
security=self.sdk_configuration.security,
|
|
394
|
+
allow_empty_value=None,
|
|
392
395
|
timeout_ms=timeout_ms,
|
|
393
396
|
)
|
|
394
397
|
|
|
@@ -409,7 +412,7 @@ class PaymentServiceDefinitionsSDK(BaseSDK):
|
|
|
409
412
|
config=self.sdk_configuration,
|
|
410
413
|
base_url=base_url or "",
|
|
411
414
|
operation_id="get_payment_service_definition",
|
|
412
|
-
oauth2_scopes=
|
|
415
|
+
oauth2_scopes=None,
|
|
413
416
|
security_source=get_security_from_env(
|
|
414
417
|
self.sdk_configuration.security, models.Security
|
|
415
418
|
),
|
|
@@ -530,6 +533,7 @@ class PaymentServiceDefinitionsSDK(BaseSDK):
|
|
|
530
533
|
accept_header_value="application/json",
|
|
531
534
|
http_headers=http_headers,
|
|
532
535
|
security=self.sdk_configuration.security,
|
|
536
|
+
allow_empty_value=None,
|
|
533
537
|
timeout_ms=timeout_ms,
|
|
534
538
|
)
|
|
535
539
|
|
|
@@ -550,7 +554,7 @@ class PaymentServiceDefinitionsSDK(BaseSDK):
|
|
|
550
554
|
config=self.sdk_configuration,
|
|
551
555
|
base_url=base_url or "",
|
|
552
556
|
operation_id="get_payment_service_definition",
|
|
553
|
-
oauth2_scopes=
|
|
557
|
+
oauth2_scopes=None,
|
|
554
558
|
security_source=get_security_from_env(
|
|
555
559
|
self.sdk_configuration.security, models.Security
|
|
556
560
|
),
|
|
@@ -677,6 +681,7 @@ class PaymentServiceDefinitionsSDK(BaseSDK):
|
|
|
677
681
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
678
682
|
request.request_body, False, False, "json", Dict[str, Any]
|
|
679
683
|
),
|
|
684
|
+
allow_empty_value=None,
|
|
680
685
|
timeout_ms=timeout_ms,
|
|
681
686
|
)
|
|
682
687
|
|
|
@@ -693,7 +698,7 @@ class PaymentServiceDefinitionsSDK(BaseSDK):
|
|
|
693
698
|
config=self.sdk_configuration,
|
|
694
699
|
base_url=base_url or "",
|
|
695
700
|
operation_id="create_payment_service_definition_session",
|
|
696
|
-
oauth2_scopes=
|
|
701
|
+
oauth2_scopes=None,
|
|
697
702
|
security_source=get_security_from_env(
|
|
698
703
|
self.sdk_configuration.security, models.Security
|
|
699
704
|
),
|
|
@@ -820,6 +825,7 @@ class PaymentServiceDefinitionsSDK(BaseSDK):
|
|
|
820
825
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
821
826
|
request.request_body, False, False, "json", Dict[str, Any]
|
|
822
827
|
),
|
|
828
|
+
allow_empty_value=None,
|
|
823
829
|
timeout_ms=timeout_ms,
|
|
824
830
|
)
|
|
825
831
|
|
|
@@ -836,7 +842,7 @@ class PaymentServiceDefinitionsSDK(BaseSDK):
|
|
|
836
842
|
config=self.sdk_configuration,
|
|
837
843
|
base_url=base_url or "",
|
|
838
844
|
operation_id="create_payment_service_definition_session",
|
|
839
|
-
oauth2_scopes=
|
|
845
|
+
oauth2_scopes=None,
|
|
840
846
|
security_source=get_security_from_env(
|
|
841
847
|
self.sdk_configuration.security, models.Security
|
|
842
848
|
),
|
gr4vy/payment_services_sdk.py
CHANGED
|
@@ -72,6 +72,7 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
72
72
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
73
73
|
),
|
|
74
74
|
security=self.sdk_configuration.security,
|
|
75
|
+
allow_empty_value=None,
|
|
75
76
|
timeout_ms=timeout_ms,
|
|
76
77
|
)
|
|
77
78
|
|
|
@@ -92,7 +93,7 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
92
93
|
config=self.sdk_configuration,
|
|
93
94
|
base_url=base_url or "",
|
|
94
95
|
operation_id="list_payment_services",
|
|
95
|
-
oauth2_scopes=
|
|
96
|
+
oauth2_scopes=None,
|
|
96
97
|
security_source=get_security_from_env(
|
|
97
98
|
self.sdk_configuration.security, models.Security
|
|
98
99
|
),
|
|
@@ -251,6 +252,7 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
251
252
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
252
253
|
),
|
|
253
254
|
security=self.sdk_configuration.security,
|
|
255
|
+
allow_empty_value=None,
|
|
254
256
|
timeout_ms=timeout_ms,
|
|
255
257
|
)
|
|
256
258
|
|
|
@@ -271,7 +273,7 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
271
273
|
config=self.sdk_configuration,
|
|
272
274
|
base_url=base_url or "",
|
|
273
275
|
operation_id="list_payment_services",
|
|
274
|
-
oauth2_scopes=
|
|
276
|
+
oauth2_scopes=None,
|
|
275
277
|
security_source=get_security_from_env(
|
|
276
278
|
self.sdk_configuration.security, models.Security
|
|
277
279
|
),
|
|
@@ -481,6 +483,7 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
481
483
|
"json",
|
|
482
484
|
models.PaymentServiceCreate,
|
|
483
485
|
),
|
|
486
|
+
allow_empty_value=None,
|
|
484
487
|
timeout_ms=timeout_ms,
|
|
485
488
|
)
|
|
486
489
|
|
|
@@ -497,7 +500,7 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
497
500
|
config=self.sdk_configuration,
|
|
498
501
|
base_url=base_url or "",
|
|
499
502
|
operation_id="update_payment_service",
|
|
500
|
-
oauth2_scopes=
|
|
503
|
+
oauth2_scopes=None,
|
|
501
504
|
security_source=get_security_from_env(
|
|
502
505
|
self.sdk_configuration.security, models.Security
|
|
503
506
|
),
|
|
@@ -684,6 +687,7 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
684
687
|
"json",
|
|
685
688
|
models.PaymentServiceCreate,
|
|
686
689
|
),
|
|
690
|
+
allow_empty_value=None,
|
|
687
691
|
timeout_ms=timeout_ms,
|
|
688
692
|
)
|
|
689
693
|
|
|
@@ -700,7 +704,7 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
700
704
|
config=self.sdk_configuration,
|
|
701
705
|
base_url=base_url or "",
|
|
702
706
|
operation_id="update_payment_service",
|
|
703
|
-
oauth2_scopes=
|
|
707
|
+
oauth2_scopes=None,
|
|
704
708
|
security_source=get_security_from_env(
|
|
705
709
|
self.sdk_configuration.security, models.Security
|
|
706
710
|
),
|
|
@@ -827,6 +831,7 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
827
831
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
828
832
|
),
|
|
829
833
|
security=self.sdk_configuration.security,
|
|
834
|
+
allow_empty_value=None,
|
|
830
835
|
timeout_ms=timeout_ms,
|
|
831
836
|
)
|
|
832
837
|
|
|
@@ -847,7 +852,7 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
847
852
|
config=self.sdk_configuration,
|
|
848
853
|
base_url=base_url or "",
|
|
849
854
|
operation_id="get_payment_service",
|
|
850
|
-
oauth2_scopes=
|
|
855
|
+
oauth2_scopes=None,
|
|
851
856
|
security_source=get_security_from_env(
|
|
852
857
|
self.sdk_configuration.security, models.Security
|
|
853
858
|
),
|
|
@@ -974,6 +979,7 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
974
979
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
975
980
|
),
|
|
976
981
|
security=self.sdk_configuration.security,
|
|
982
|
+
allow_empty_value=None,
|
|
977
983
|
timeout_ms=timeout_ms,
|
|
978
984
|
)
|
|
979
985
|
|
|
@@ -994,7 +1000,7 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
994
1000
|
config=self.sdk_configuration,
|
|
995
1001
|
base_url=base_url or "",
|
|
996
1002
|
operation_id="get_payment_service",
|
|
997
|
-
oauth2_scopes=
|
|
1003
|
+
oauth2_scopes=None,
|
|
998
1004
|
security_source=get_security_from_env(
|
|
999
1005
|
self.sdk_configuration.security, models.Security
|
|
1000
1006
|
),
|
|
@@ -1185,6 +1191,7 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
1185
1191
|
"json",
|
|
1186
1192
|
models.PaymentServiceUpdate,
|
|
1187
1193
|
),
|
|
1194
|
+
allow_empty_value=None,
|
|
1188
1195
|
timeout_ms=timeout_ms,
|
|
1189
1196
|
)
|
|
1190
1197
|
|
|
@@ -1201,7 +1208,7 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
1201
1208
|
config=self.sdk_configuration,
|
|
1202
1209
|
base_url=base_url or "",
|
|
1203
1210
|
operation_id="create_payment_service",
|
|
1204
|
-
oauth2_scopes=
|
|
1211
|
+
oauth2_scopes=None,
|
|
1205
1212
|
security_source=get_security_from_env(
|
|
1206
1213
|
self.sdk_configuration.security, models.Security
|
|
1207
1214
|
),
|
|
@@ -1392,6 +1399,7 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
1392
1399
|
"json",
|
|
1393
1400
|
models.PaymentServiceUpdate,
|
|
1394
1401
|
),
|
|
1402
|
+
allow_empty_value=None,
|
|
1395
1403
|
timeout_ms=timeout_ms,
|
|
1396
1404
|
)
|
|
1397
1405
|
|
|
@@ -1408,7 +1416,7 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
1408
1416
|
config=self.sdk_configuration,
|
|
1409
1417
|
base_url=base_url or "",
|
|
1410
1418
|
operation_id="create_payment_service",
|
|
1411
|
-
oauth2_scopes=
|
|
1419
|
+
oauth2_scopes=None,
|
|
1412
1420
|
security_source=get_security_from_env(
|
|
1413
1421
|
self.sdk_configuration.security, models.Security
|
|
1414
1422
|
),
|
|
@@ -1535,6 +1543,7 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
1535
1543
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
1536
1544
|
),
|
|
1537
1545
|
security=self.sdk_configuration.security,
|
|
1546
|
+
allow_empty_value=None,
|
|
1538
1547
|
timeout_ms=timeout_ms,
|
|
1539
1548
|
)
|
|
1540
1549
|
|
|
@@ -1551,7 +1560,7 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
1551
1560
|
config=self.sdk_configuration,
|
|
1552
1561
|
base_url=base_url or "",
|
|
1553
1562
|
operation_id="delete_payment_service",
|
|
1554
|
-
oauth2_scopes=
|
|
1563
|
+
oauth2_scopes=None,
|
|
1555
1564
|
security_source=get_security_from_env(
|
|
1556
1565
|
self.sdk_configuration.security, models.Security
|
|
1557
1566
|
),
|
|
@@ -1678,6 +1687,7 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
1678
1687
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
1679
1688
|
),
|
|
1680
1689
|
security=self.sdk_configuration.security,
|
|
1690
|
+
allow_empty_value=None,
|
|
1681
1691
|
timeout_ms=timeout_ms,
|
|
1682
1692
|
)
|
|
1683
1693
|
|
|
@@ -1694,7 +1704,7 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
1694
1704
|
config=self.sdk_configuration,
|
|
1695
1705
|
base_url=base_url or "",
|
|
1696
1706
|
operation_id="delete_payment_service",
|
|
1697
|
-
oauth2_scopes=
|
|
1707
|
+
oauth2_scopes=None,
|
|
1698
1708
|
security_source=get_security_from_env(
|
|
1699
1709
|
self.sdk_configuration.security, models.Security
|
|
1700
1710
|
),
|
|
@@ -1836,6 +1846,7 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
1836
1846
|
"json",
|
|
1837
1847
|
models.VerifyCredentials,
|
|
1838
1848
|
),
|
|
1849
|
+
allow_empty_value=None,
|
|
1839
1850
|
timeout_ms=timeout_ms,
|
|
1840
1851
|
)
|
|
1841
1852
|
|
|
@@ -1852,7 +1863,7 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
1852
1863
|
config=self.sdk_configuration,
|
|
1853
1864
|
base_url=base_url or "",
|
|
1854
1865
|
operation_id="verify_payment_service_credentials",
|
|
1855
|
-
oauth2_scopes=
|
|
1866
|
+
oauth2_scopes=None,
|
|
1856
1867
|
security_source=get_security_from_env(
|
|
1857
1868
|
self.sdk_configuration.security, models.Security
|
|
1858
1869
|
),
|
|
@@ -1994,6 +2005,7 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
1994
2005
|
"json",
|
|
1995
2006
|
models.VerifyCredentials,
|
|
1996
2007
|
),
|
|
2008
|
+
allow_empty_value=None,
|
|
1997
2009
|
timeout_ms=timeout_ms,
|
|
1998
2010
|
)
|
|
1999
2011
|
|
|
@@ -2010,7 +2022,7 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
2010
2022
|
config=self.sdk_configuration,
|
|
2011
2023
|
base_url=base_url or "",
|
|
2012
2024
|
operation_id="verify_payment_service_credentials",
|
|
2013
|
-
oauth2_scopes=
|
|
2025
|
+
oauth2_scopes=None,
|
|
2014
2026
|
security_source=get_security_from_env(
|
|
2015
2027
|
self.sdk_configuration.security, models.Security
|
|
2016
2028
|
),
|
|
@@ -2143,6 +2155,7 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
2143
2155
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
2144
2156
|
request.request_body, False, False, "json", Dict[str, Any]
|
|
2145
2157
|
),
|
|
2158
|
+
allow_empty_value=None,
|
|
2146
2159
|
timeout_ms=timeout_ms,
|
|
2147
2160
|
)
|
|
2148
2161
|
|
|
@@ -2159,7 +2172,7 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
2159
2172
|
config=self.sdk_configuration,
|
|
2160
2173
|
base_url=base_url or "",
|
|
2161
2174
|
operation_id="create_payment_service_session",
|
|
2162
|
-
oauth2_scopes=
|
|
2175
|
+
oauth2_scopes=None,
|
|
2163
2176
|
security_source=get_security_from_env(
|
|
2164
2177
|
self.sdk_configuration.security, models.Security
|
|
2165
2178
|
),
|
|
@@ -2292,6 +2305,7 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
2292
2305
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
2293
2306
|
request.request_body, False, False, "json", Dict[str, Any]
|
|
2294
2307
|
),
|
|
2308
|
+
allow_empty_value=None,
|
|
2295
2309
|
timeout_ms=timeout_ms,
|
|
2296
2310
|
)
|
|
2297
2311
|
|
|
@@ -2308,7 +2322,7 @@ class PaymentServicesSDK(BaseSDK):
|
|
|
2308
2322
|
config=self.sdk_configuration,
|
|
2309
2323
|
base_url=base_url or "",
|
|
2310
2324
|
operation_id="create_payment_service_session",
|
|
2311
|
-
oauth2_scopes=
|
|
2325
|
+
oauth2_scopes=None,
|
|
2312
2326
|
security_source=get_security_from_env(
|
|
2313
2327
|
self.sdk_configuration.security, models.Security
|
|
2314
2328
|
),
|