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
gr4vy/payouts.py
CHANGED
|
@@ -66,6 +66,7 @@ class Payouts(BaseSDK):
|
|
|
66
66
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
67
67
|
),
|
|
68
68
|
security=self.sdk_configuration.security,
|
|
69
|
+
allow_empty_value=None,
|
|
69
70
|
timeout_ms=timeout_ms,
|
|
70
71
|
)
|
|
71
72
|
|
|
@@ -86,7 +87,7 @@ class Payouts(BaseSDK):
|
|
|
86
87
|
config=self.sdk_configuration,
|
|
87
88
|
base_url=base_url or "",
|
|
88
89
|
operation_id="list_payouts",
|
|
89
|
-
oauth2_scopes=
|
|
90
|
+
oauth2_scopes=None,
|
|
90
91
|
security_source=get_security_from_env(
|
|
91
92
|
self.sdk_configuration.security, models.Security
|
|
92
93
|
),
|
|
@@ -237,6 +238,7 @@ class Payouts(BaseSDK):
|
|
|
237
238
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
238
239
|
),
|
|
239
240
|
security=self.sdk_configuration.security,
|
|
241
|
+
allow_empty_value=None,
|
|
240
242
|
timeout_ms=timeout_ms,
|
|
241
243
|
)
|
|
242
244
|
|
|
@@ -257,7 +259,7 @@ class Payouts(BaseSDK):
|
|
|
257
259
|
config=self.sdk_configuration,
|
|
258
260
|
base_url=base_url or "",
|
|
259
261
|
operation_id="list_payouts",
|
|
260
|
-
oauth2_scopes=
|
|
262
|
+
oauth2_scopes=None,
|
|
261
263
|
security_source=get_security_from_env(
|
|
262
264
|
self.sdk_configuration.security, models.Security
|
|
263
265
|
),
|
|
@@ -367,7 +369,7 @@ class Payouts(BaseSDK):
|
|
|
367
369
|
external_identifier: OptionalNullable[str] = UNSET,
|
|
368
370
|
buyer_id: OptionalNullable[str] = UNSET,
|
|
369
371
|
buyer: OptionalNullable[
|
|
370
|
-
Union[models.
|
|
372
|
+
Union[models.GuestBuyer, models.GuestBuyerTypedDict]
|
|
371
373
|
] = UNSET,
|
|
372
374
|
buyer_external_identifier: OptionalNullable[str] = UNSET,
|
|
373
375
|
merchant: OptionalNullable[
|
|
@@ -427,7 +429,7 @@ class Payouts(BaseSDK):
|
|
|
427
429
|
external_identifier=external_identifier,
|
|
428
430
|
buyer_id=buyer_id,
|
|
429
431
|
buyer=utils.get_pydantic_model(
|
|
430
|
-
buyer, OptionalNullable[models.
|
|
432
|
+
buyer, OptionalNullable[models.GuestBuyer]
|
|
431
433
|
),
|
|
432
434
|
buyer_external_identifier=buyer_external_identifier,
|
|
433
435
|
merchant=utils.get_pydantic_model(
|
|
@@ -458,6 +460,7 @@ class Payouts(BaseSDK):
|
|
|
458
460
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
459
461
|
request.payout_create, False, False, "json", models.PayoutCreate
|
|
460
462
|
),
|
|
463
|
+
allow_empty_value=None,
|
|
461
464
|
timeout_ms=timeout_ms,
|
|
462
465
|
)
|
|
463
466
|
|
|
@@ -474,7 +477,7 @@ class Payouts(BaseSDK):
|
|
|
474
477
|
config=self.sdk_configuration,
|
|
475
478
|
base_url=base_url or "",
|
|
476
479
|
operation_id="create_payout",
|
|
477
|
-
oauth2_scopes=
|
|
480
|
+
oauth2_scopes=None,
|
|
478
481
|
security_source=get_security_from_env(
|
|
479
482
|
self.sdk_configuration.security, models.Security
|
|
480
483
|
),
|
|
@@ -563,7 +566,7 @@ class Payouts(BaseSDK):
|
|
|
563
566
|
external_identifier: OptionalNullable[str] = UNSET,
|
|
564
567
|
buyer_id: OptionalNullable[str] = UNSET,
|
|
565
568
|
buyer: OptionalNullable[
|
|
566
|
-
Union[models.
|
|
569
|
+
Union[models.GuestBuyer, models.GuestBuyerTypedDict]
|
|
567
570
|
] = UNSET,
|
|
568
571
|
buyer_external_identifier: OptionalNullable[str] = UNSET,
|
|
569
572
|
merchant: OptionalNullable[
|
|
@@ -623,7 +626,7 @@ class Payouts(BaseSDK):
|
|
|
623
626
|
external_identifier=external_identifier,
|
|
624
627
|
buyer_id=buyer_id,
|
|
625
628
|
buyer=utils.get_pydantic_model(
|
|
626
|
-
buyer, OptionalNullable[models.
|
|
629
|
+
buyer, OptionalNullable[models.GuestBuyer]
|
|
627
630
|
),
|
|
628
631
|
buyer_external_identifier=buyer_external_identifier,
|
|
629
632
|
merchant=utils.get_pydantic_model(
|
|
@@ -654,6 +657,7 @@ class Payouts(BaseSDK):
|
|
|
654
657
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
655
658
|
request.payout_create, False, False, "json", models.PayoutCreate
|
|
656
659
|
),
|
|
660
|
+
allow_empty_value=None,
|
|
657
661
|
timeout_ms=timeout_ms,
|
|
658
662
|
)
|
|
659
663
|
|
|
@@ -670,7 +674,7 @@ class Payouts(BaseSDK):
|
|
|
670
674
|
config=self.sdk_configuration,
|
|
671
675
|
base_url=base_url or "",
|
|
672
676
|
operation_id="create_payout",
|
|
673
|
-
oauth2_scopes=
|
|
677
|
+
oauth2_scopes=None,
|
|
674
678
|
security_source=get_security_from_env(
|
|
675
679
|
self.sdk_configuration.security, models.Security
|
|
676
680
|
),
|
|
@@ -797,6 +801,7 @@ class Payouts(BaseSDK):
|
|
|
797
801
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
798
802
|
),
|
|
799
803
|
security=self.sdk_configuration.security,
|
|
804
|
+
allow_empty_value=None,
|
|
800
805
|
timeout_ms=timeout_ms,
|
|
801
806
|
)
|
|
802
807
|
|
|
@@ -817,7 +822,7 @@ class Payouts(BaseSDK):
|
|
|
817
822
|
config=self.sdk_configuration,
|
|
818
823
|
base_url=base_url or "",
|
|
819
824
|
operation_id="get_payout",
|
|
820
|
-
oauth2_scopes=
|
|
825
|
+
oauth2_scopes=None,
|
|
821
826
|
security_source=get_security_from_env(
|
|
822
827
|
self.sdk_configuration.security, models.Security
|
|
823
828
|
),
|
|
@@ -944,6 +949,7 @@ class Payouts(BaseSDK):
|
|
|
944
949
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
945
950
|
),
|
|
946
951
|
security=self.sdk_configuration.security,
|
|
952
|
+
allow_empty_value=None,
|
|
947
953
|
timeout_ms=timeout_ms,
|
|
948
954
|
)
|
|
949
955
|
|
|
@@ -964,7 +970,7 @@ class Payouts(BaseSDK):
|
|
|
964
970
|
config=self.sdk_configuration,
|
|
965
971
|
base_url=base_url or "",
|
|
966
972
|
operation_id="get_payout",
|
|
967
|
-
oauth2_scopes=
|
|
973
|
+
oauth2_scopes=None,
|
|
968
974
|
security_source=get_security_from_env(
|
|
969
975
|
self.sdk_configuration.security, models.Security
|
|
970
976
|
),
|
gr4vy/refunds_sdk.py
CHANGED
|
@@ -62,6 +62,7 @@ class RefundsSDK(BaseSDK):
|
|
|
62
62
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
63
63
|
),
|
|
64
64
|
security=self.sdk_configuration.security,
|
|
65
|
+
allow_empty_value=None,
|
|
65
66
|
timeout_ms=timeout_ms,
|
|
66
67
|
)
|
|
67
68
|
|
|
@@ -82,7 +83,7 @@ class RefundsSDK(BaseSDK):
|
|
|
82
83
|
config=self.sdk_configuration,
|
|
83
84
|
base_url=base_url or "",
|
|
84
85
|
operation_id="get_refund",
|
|
85
|
-
oauth2_scopes=
|
|
86
|
+
oauth2_scopes=None,
|
|
86
87
|
security_source=get_security_from_env(
|
|
87
88
|
self.sdk_configuration.security, models.Security
|
|
88
89
|
),
|
|
@@ -209,6 +210,7 @@ class RefundsSDK(BaseSDK):
|
|
|
209
210
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
210
211
|
),
|
|
211
212
|
security=self.sdk_configuration.security,
|
|
213
|
+
allow_empty_value=None,
|
|
212
214
|
timeout_ms=timeout_ms,
|
|
213
215
|
)
|
|
214
216
|
|
|
@@ -229,7 +231,7 @@ class RefundsSDK(BaseSDK):
|
|
|
229
231
|
config=self.sdk_configuration,
|
|
230
232
|
base_url=base_url or "",
|
|
231
233
|
operation_id="get_refund",
|
|
232
|
-
oauth2_scopes=
|
|
234
|
+
oauth2_scopes=None,
|
|
233
235
|
security_source=get_security_from_env(
|
|
234
236
|
self.sdk_configuration.security, models.Security
|
|
235
237
|
),
|
gr4vy/report_executions_sdk.py
CHANGED
|
@@ -82,6 +82,7 @@ class ReportExecutionsSDK(BaseSDK):
|
|
|
82
82
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
83
83
|
),
|
|
84
84
|
security=self.sdk_configuration.security,
|
|
85
|
+
allow_empty_value=None,
|
|
85
86
|
timeout_ms=timeout_ms,
|
|
86
87
|
)
|
|
87
88
|
|
|
@@ -102,7 +103,7 @@ class ReportExecutionsSDK(BaseSDK):
|
|
|
102
103
|
config=self.sdk_configuration,
|
|
103
104
|
base_url=base_url or "",
|
|
104
105
|
operation_id="list_all_report_executions",
|
|
105
|
-
oauth2_scopes=
|
|
106
|
+
oauth2_scopes=None,
|
|
106
107
|
security_source=get_security_from_env(
|
|
107
108
|
self.sdk_configuration.security, models.Security
|
|
108
109
|
),
|
|
@@ -273,6 +274,7 @@ class ReportExecutionsSDK(BaseSDK):
|
|
|
273
274
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
274
275
|
),
|
|
275
276
|
security=self.sdk_configuration.security,
|
|
277
|
+
allow_empty_value=None,
|
|
276
278
|
timeout_ms=timeout_ms,
|
|
277
279
|
)
|
|
278
280
|
|
|
@@ -293,7 +295,7 @@ class ReportExecutionsSDK(BaseSDK):
|
|
|
293
295
|
config=self.sdk_configuration,
|
|
294
296
|
base_url=base_url or "",
|
|
295
297
|
operation_id="list_all_report_executions",
|
|
296
|
-
oauth2_scopes=
|
|
298
|
+
oauth2_scopes=None,
|
|
297
299
|
security_source=get_security_from_env(
|
|
298
300
|
self.sdk_configuration.security, models.Security
|
|
299
301
|
),
|
gr4vy/reports_sdk.py
CHANGED
|
@@ -89,6 +89,7 @@ class ReportsSDK(BaseSDK):
|
|
|
89
89
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
90
90
|
),
|
|
91
91
|
security=self.sdk_configuration.security,
|
|
92
|
+
allow_empty_value=None,
|
|
92
93
|
timeout_ms=timeout_ms,
|
|
93
94
|
)
|
|
94
95
|
|
|
@@ -109,7 +110,7 @@ class ReportsSDK(BaseSDK):
|
|
|
109
110
|
config=self.sdk_configuration,
|
|
110
111
|
base_url=base_url or "",
|
|
111
112
|
operation_id="list_reports",
|
|
112
|
-
oauth2_scopes=
|
|
113
|
+
oauth2_scopes=None,
|
|
113
114
|
security_source=get_security_from_env(
|
|
114
115
|
self.sdk_configuration.security, models.Security
|
|
115
116
|
),
|
|
@@ -271,6 +272,7 @@ class ReportsSDK(BaseSDK):
|
|
|
271
272
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
272
273
|
),
|
|
273
274
|
security=self.sdk_configuration.security,
|
|
275
|
+
allow_empty_value=None,
|
|
274
276
|
timeout_ms=timeout_ms,
|
|
275
277
|
)
|
|
276
278
|
|
|
@@ -291,7 +293,7 @@ class ReportsSDK(BaseSDK):
|
|
|
291
293
|
config=self.sdk_configuration,
|
|
292
294
|
base_url=base_url or "",
|
|
293
295
|
operation_id="list_reports",
|
|
294
|
-
oauth2_scopes=
|
|
296
|
+
oauth2_scopes=None,
|
|
295
297
|
security_source=get_security_from_env(
|
|
296
298
|
self.sdk_configuration.security, models.Security
|
|
297
299
|
),
|
|
@@ -461,6 +463,7 @@ class ReportsSDK(BaseSDK):
|
|
|
461
463
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
462
464
|
request.report_create, False, False, "json", models.ReportCreate
|
|
463
465
|
),
|
|
466
|
+
allow_empty_value=None,
|
|
464
467
|
timeout_ms=timeout_ms,
|
|
465
468
|
)
|
|
466
469
|
|
|
@@ -477,7 +480,7 @@ class ReportsSDK(BaseSDK):
|
|
|
477
480
|
config=self.sdk_configuration,
|
|
478
481
|
base_url=base_url or "",
|
|
479
482
|
operation_id="add_report",
|
|
480
|
-
oauth2_scopes=
|
|
483
|
+
oauth2_scopes=None,
|
|
481
484
|
security_source=get_security_from_env(
|
|
482
485
|
self.sdk_configuration.security, models.Security
|
|
483
486
|
),
|
|
@@ -624,6 +627,7 @@ class ReportsSDK(BaseSDK):
|
|
|
624
627
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
625
628
|
request.report_create, False, False, "json", models.ReportCreate
|
|
626
629
|
),
|
|
630
|
+
allow_empty_value=None,
|
|
627
631
|
timeout_ms=timeout_ms,
|
|
628
632
|
)
|
|
629
633
|
|
|
@@ -640,7 +644,7 @@ class ReportsSDK(BaseSDK):
|
|
|
640
644
|
config=self.sdk_configuration,
|
|
641
645
|
base_url=base_url or "",
|
|
642
646
|
operation_id="add_report",
|
|
643
|
-
oauth2_scopes=
|
|
647
|
+
oauth2_scopes=None,
|
|
644
648
|
security_source=get_security_from_env(
|
|
645
649
|
self.sdk_configuration.security, models.Security
|
|
646
650
|
),
|
|
@@ -767,6 +771,7 @@ class ReportsSDK(BaseSDK):
|
|
|
767
771
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
768
772
|
),
|
|
769
773
|
security=self.sdk_configuration.security,
|
|
774
|
+
allow_empty_value=None,
|
|
770
775
|
timeout_ms=timeout_ms,
|
|
771
776
|
)
|
|
772
777
|
|
|
@@ -787,7 +792,7 @@ class ReportsSDK(BaseSDK):
|
|
|
787
792
|
config=self.sdk_configuration,
|
|
788
793
|
base_url=base_url or "",
|
|
789
794
|
operation_id="get_report",
|
|
790
|
-
oauth2_scopes=
|
|
795
|
+
oauth2_scopes=None,
|
|
791
796
|
security_source=get_security_from_env(
|
|
792
797
|
self.sdk_configuration.security, models.Security
|
|
793
798
|
),
|
|
@@ -914,6 +919,7 @@ class ReportsSDK(BaseSDK):
|
|
|
914
919
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
915
920
|
),
|
|
916
921
|
security=self.sdk_configuration.security,
|
|
922
|
+
allow_empty_value=None,
|
|
917
923
|
timeout_ms=timeout_ms,
|
|
918
924
|
)
|
|
919
925
|
|
|
@@ -934,7 +940,7 @@ class ReportsSDK(BaseSDK):
|
|
|
934
940
|
config=self.sdk_configuration,
|
|
935
941
|
base_url=base_url or "",
|
|
936
942
|
operation_id="get_report",
|
|
937
|
-
oauth2_scopes=
|
|
943
|
+
oauth2_scopes=None,
|
|
938
944
|
security_source=get_security_from_env(
|
|
939
945
|
self.sdk_configuration.security, models.Security
|
|
940
946
|
),
|
|
@@ -1075,6 +1081,7 @@ class ReportsSDK(BaseSDK):
|
|
|
1075
1081
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
1076
1082
|
request.report_update, False, False, "json", models.ReportUpdate
|
|
1077
1083
|
),
|
|
1084
|
+
allow_empty_value=None,
|
|
1078
1085
|
timeout_ms=timeout_ms,
|
|
1079
1086
|
)
|
|
1080
1087
|
|
|
@@ -1091,7 +1098,7 @@ class ReportsSDK(BaseSDK):
|
|
|
1091
1098
|
config=self.sdk_configuration,
|
|
1092
1099
|
base_url=base_url or "",
|
|
1093
1100
|
operation_id="update_report",
|
|
1094
|
-
oauth2_scopes=
|
|
1101
|
+
oauth2_scopes=None,
|
|
1095
1102
|
security_source=get_security_from_env(
|
|
1096
1103
|
self.sdk_configuration.security, models.Security
|
|
1097
1104
|
),
|
|
@@ -1232,6 +1239,7 @@ class ReportsSDK(BaseSDK):
|
|
|
1232
1239
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
1233
1240
|
request.report_update, False, False, "json", models.ReportUpdate
|
|
1234
1241
|
),
|
|
1242
|
+
allow_empty_value=None,
|
|
1235
1243
|
timeout_ms=timeout_ms,
|
|
1236
1244
|
)
|
|
1237
1245
|
|
|
@@ -1248,7 +1256,7 @@ class ReportsSDK(BaseSDK):
|
|
|
1248
1256
|
config=self.sdk_configuration,
|
|
1249
1257
|
base_url=base_url or "",
|
|
1250
1258
|
operation_id="update_report",
|
|
1251
|
-
oauth2_scopes=
|
|
1259
|
+
oauth2_scopes=None,
|
|
1252
1260
|
security_source=get_security_from_env(
|
|
1253
1261
|
self.sdk_configuration.security, models.Security
|
|
1254
1262
|
),
|
gr4vy/sessions.py
CHANGED
|
@@ -71,6 +71,7 @@ class Sessions(BaseSDK):
|
|
|
71
71
|
"json",
|
|
72
72
|
models.GooglePaySessionRequest,
|
|
73
73
|
),
|
|
74
|
+
allow_empty_value=None,
|
|
74
75
|
timeout_ms=timeout_ms,
|
|
75
76
|
)
|
|
76
77
|
|
|
@@ -87,7 +88,7 @@ class Sessions(BaseSDK):
|
|
|
87
88
|
config=self.sdk_configuration,
|
|
88
89
|
base_url=base_url or "",
|
|
89
90
|
operation_id="create_google_pay_digital_wallet_session",
|
|
90
|
-
oauth2_scopes=
|
|
91
|
+
oauth2_scopes=None,
|
|
91
92
|
security_source=get_security_from_env(
|
|
92
93
|
self.sdk_configuration.security, models.Security
|
|
93
94
|
),
|
|
@@ -223,6 +224,7 @@ class Sessions(BaseSDK):
|
|
|
223
224
|
"json",
|
|
224
225
|
models.GooglePaySessionRequest,
|
|
225
226
|
),
|
|
227
|
+
allow_empty_value=None,
|
|
226
228
|
timeout_ms=timeout_ms,
|
|
227
229
|
)
|
|
228
230
|
|
|
@@ -239,7 +241,7 @@ class Sessions(BaseSDK):
|
|
|
239
241
|
config=self.sdk_configuration,
|
|
240
242
|
base_url=base_url or "",
|
|
241
243
|
operation_id="create_google_pay_digital_wallet_session",
|
|
242
|
-
oauth2_scopes=
|
|
244
|
+
oauth2_scopes=None,
|
|
243
245
|
security_source=get_security_from_env(
|
|
244
246
|
self.sdk_configuration.security, models.Security
|
|
245
247
|
),
|
|
@@ -378,6 +380,7 @@ class Sessions(BaseSDK):
|
|
|
378
380
|
"json",
|
|
379
381
|
models.ApplePaySessionRequest,
|
|
380
382
|
),
|
|
383
|
+
allow_empty_value=None,
|
|
381
384
|
timeout_ms=timeout_ms,
|
|
382
385
|
)
|
|
383
386
|
|
|
@@ -394,7 +397,7 @@ class Sessions(BaseSDK):
|
|
|
394
397
|
config=self.sdk_configuration,
|
|
395
398
|
base_url=base_url or "",
|
|
396
399
|
operation_id="create_apple_pay_digital_wallet_session",
|
|
397
|
-
oauth2_scopes=
|
|
400
|
+
oauth2_scopes=None,
|
|
398
401
|
security_source=get_security_from_env(
|
|
399
402
|
self.sdk_configuration.security, models.Security
|
|
400
403
|
),
|
|
@@ -533,6 +536,7 @@ class Sessions(BaseSDK):
|
|
|
533
536
|
"json",
|
|
534
537
|
models.ApplePaySessionRequest,
|
|
535
538
|
),
|
|
539
|
+
allow_empty_value=None,
|
|
536
540
|
timeout_ms=timeout_ms,
|
|
537
541
|
)
|
|
538
542
|
|
|
@@ -549,7 +553,7 @@ class Sessions(BaseSDK):
|
|
|
549
553
|
config=self.sdk_configuration,
|
|
550
554
|
base_url=base_url or "",
|
|
551
555
|
operation_id="create_apple_pay_digital_wallet_session",
|
|
552
|
-
oauth2_scopes=
|
|
556
|
+
oauth2_scopes=None,
|
|
553
557
|
security_source=get_security_from_env(
|
|
554
558
|
self.sdk_configuration.security, models.Security
|
|
555
559
|
),
|
|
@@ -673,6 +677,7 @@ class Sessions(BaseSDK):
|
|
|
673
677
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
674
678
|
request, False, False, "json", models.ClickToPaySessionRequest
|
|
675
679
|
),
|
|
680
|
+
allow_empty_value=None,
|
|
676
681
|
timeout_ms=timeout_ms,
|
|
677
682
|
)
|
|
678
683
|
|
|
@@ -689,7 +694,7 @@ class Sessions(BaseSDK):
|
|
|
689
694
|
config=self.sdk_configuration,
|
|
690
695
|
base_url=base_url or "",
|
|
691
696
|
operation_id="create_click_to_pay_digital_wallet_session",
|
|
692
|
-
oauth2_scopes=
|
|
697
|
+
oauth2_scopes=None,
|
|
693
698
|
security_source=get_security_from_env(
|
|
694
699
|
self.sdk_configuration.security, models.Security
|
|
695
700
|
),
|
|
@@ -813,6 +818,7 @@ class Sessions(BaseSDK):
|
|
|
813
818
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
814
819
|
request, False, False, "json", models.ClickToPaySessionRequest
|
|
815
820
|
),
|
|
821
|
+
allow_empty_value=None,
|
|
816
822
|
timeout_ms=timeout_ms,
|
|
817
823
|
)
|
|
818
824
|
|
|
@@ -829,7 +835,7 @@ class Sessions(BaseSDK):
|
|
|
829
835
|
config=self.sdk_configuration,
|
|
830
836
|
base_url=base_url or "",
|
|
831
837
|
operation_id="create_click_to_pay_digital_wallet_session",
|
|
832
|
-
oauth2_scopes=
|
|
838
|
+
oauth2_scopes=None,
|
|
833
839
|
security_source=get_security_from_env(
|
|
834
840
|
self.sdk_configuration.security, models.Security
|
|
835
841
|
),
|